Just like dependency tracking don't disable precompiled headers if there is only...
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.68 for wxWidgets 2.9.5.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 #
9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # Foundation, Inc.
12 #
13 #
14 # This configure script is free software; the Free Software Foundation
15 # gives unlimited permission to copy, distribute and modify it.
16 ## -------------------- ##
17 ## M4sh Initialization. ##
18 ## -------------------- ##
19
20 # Be more Bourne compatible
21 DUALCASE=1; export DUALCASE # for MKS sh
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23   emulate sh
24   NULLCMD=:
25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26   # is contrary to our usage.  Disable this feature.
27   alias -g '${1+"$@"}'='"$@"'
28   setopt NO_GLOB_SUBST
29 else
30   case `(set -o) 2>/dev/null` in #(
31   *posix*) :
32     set -o posix ;; #(
33   *) :
34      ;;
35 esac
36 fi
37
38
39 as_nl='
40 '
41 export as_nl
42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
43 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 # Prefer a ksh shell builtin over an external printf program on Solaris,
47 # but without wasting forks for bash or zsh.
48 if test -z "$BASH_VERSION$ZSH_VERSION" \
49     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='print -r --'
51   as_echo_n='print -rn --'
52 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53   as_echo='printf %s\n'
54   as_echo_n='printf %s'
55 else
56   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58     as_echo_n='/usr/ucb/echo -n'
59   else
60     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
61     as_echo_n_body='eval
62       arg=$1;
63       case $arg in #(
64       *"$as_nl"*)
65         expr "X$arg" : "X\\(.*\\)$as_nl";
66         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67       esac;
68       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69     '
70     export as_echo_n_body
71     as_echo_n='sh -c $as_echo_n_body as_echo'
72   fi
73   export as_echo_body
74   as_echo='sh -c $as_echo_body as_echo'
75 fi
76
77 # The user is always right.
78 if test "${PATH_SEPARATOR+set}" != set; then
79   PATH_SEPARATOR=:
80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82       PATH_SEPARATOR=';'
83   }
84 fi
85
86
87 # IFS
88 # We need space, tab and new line, in precisely that order.  Quoting is
89 # there to prevent editors from complaining about space-tab.
90 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
91 # splitting by setting IFS to empty value.)
92 IFS=" ""        $as_nl"
93
94 # Find who we are.  Look in the path if we contain no directory separator.
95 as_myself=
96 case $0 in #((
97   *[\\/]* ) as_myself=$0 ;;
98   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 for as_dir in $PATH
100 do
101   IFS=$as_save_IFS
102   test -z "$as_dir" && as_dir=.
103     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104   done
105 IFS=$as_save_IFS
106
107      ;;
108 esac
109 # We did not find ourselves, most probably we were run as `sh COMMAND'
110 # in which case we are not to be found in the path.
111 if test "x$as_myself" = x; then
112   as_myself=$0
113 fi
114 if test ! -f "$as_myself"; then
115   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116   exit 1
117 fi
118
119 # Unset variables that we do not need and which cause bugs (e.g. in
120 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
121 # suppresses any "Segmentation fault" message there.  '((' could
122 # trigger a bug in pdksh 5.2.14.
123 for as_var in BASH_ENV ENV MAIL MAILPATH
124 do eval test x\${$as_var+set} = xset \
125   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
126 done
127 PS1='$ '
128 PS2='> '
129 PS4='+ '
130
131 # NLS nuisances.
132 LC_ALL=C
133 export LC_ALL
134 LANGUAGE=C
135 export LANGUAGE
136
137 # CDPATH.
138 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139
140 if test "x$CONFIG_SHELL" = x; then
141   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142   emulate sh
143   NULLCMD=:
144   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
145   # is contrary to our usage.  Disable this feature.
146   alias -g '\${1+\"\$@\"}'='\"\$@\"'
147   setopt NO_GLOB_SUBST
148 else
149   case \`(set -o) 2>/dev/null\` in #(
150   *posix*) :
151     set -o posix ;; #(
152   *) :
153      ;;
154 esac
155 fi
156 "
157   as_required="as_fn_return () { (exit \$1); }
158 as_fn_success () { as_fn_return 0; }
159 as_fn_failure () { as_fn_return 1; }
160 as_fn_ret_success () { return 0; }
161 as_fn_ret_failure () { return 1; }
162
163 exitcode=0
164 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
165 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
166 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
167 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
168 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
170 else
171   exitcode=1; echo positional parameters were not saved.
172 fi
173 test x\$exitcode = x0 || exit 1"
174   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
175   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
176   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
177   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test \$(( 1 + 1 )) = 2 || exit 1"
179   if (eval "$as_required") 2>/dev/null; then :
180   as_have_required=yes
181 else
182   as_have_required=no
183 fi
184   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185
186 else
187   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 as_found=false
189 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 do
191   IFS=$as_save_IFS
192   test -z "$as_dir" && as_dir=.
193   as_found=:
194   case $as_dir in #(
195          /*)
196            for as_base in sh bash ksh sh5; do
197              # Try only shells that exist, to save several forks.
198              as_shell=$as_dir/$as_base
199              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
200                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
201   CONFIG_SHELL=$as_shell as_have_required=yes
202                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
203   break 2
204 fi
205 fi
206            done;;
207        esac
208   as_found=false
209 done
210 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
211               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
212   CONFIG_SHELL=$SHELL as_have_required=yes
213 fi; }
214 IFS=$as_save_IFS
215
216
217       if test "x$CONFIG_SHELL" != x; then :
218   # We cannot yet assume a decent shell, so we have to provide a
219         # neutralization value for shells without unset; and this also
220         # works around shells that cannot unset nonexistent variables.
221         # Preserve -v and -x to the replacement shell.
222         BASH_ENV=/dev/null
223         ENV=/dev/null
224         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
225         export CONFIG_SHELL
226         case $- in # ((((
227           *v*x* | *x*v* ) as_opts=-vx ;;
228           *v* ) as_opts=-v ;;
229           *x* ) as_opts=-x ;;
230           * ) as_opts= ;;
231         esac
232         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
233 fi
234
235     if test x$as_have_required = xno; then :
236   $as_echo "$0: This script requires a shell more modern than all"
237   $as_echo "$0: the shells that I found on your system."
238   if test x${ZSH_VERSION+set} = xset ; then
239     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
240     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241   else
242     $as_echo "$0: Please tell bug-autoconf@gnu.org and
243 $0: wx-dev@lists.wxwidgets.org about your system, including
244 $0: any error possibly output before this message. Then
245 $0: install a modern shell, or manually run the script
246 $0: under such a shell if you do have one."
247   fi
248   exit 1
249 fi
250 fi
251 fi
252 SHELL=${CONFIG_SHELL-/bin/sh}
253 export SHELL
254 # Unset more variables known to interfere with behavior of common tools.
255 CLICOLOR_FORCE= GREP_OPTIONS=
256 unset CLICOLOR_FORCE GREP_OPTIONS
257
258 ## --------------------- ##
259 ## M4sh Shell Functions. ##
260 ## --------------------- ##
261 # as_fn_unset VAR
262 # ---------------
263 # Portably unset VAR.
264 as_fn_unset ()
265 {
266   { eval $1=; unset $1;}
267 }
268 as_unset=as_fn_unset
269
270 # as_fn_set_status STATUS
271 # -----------------------
272 # Set $? to STATUS, without forking.
273 as_fn_set_status ()
274 {
275   return $1
276 } # as_fn_set_status
277
278 # as_fn_exit STATUS
279 # -----------------
280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 as_fn_exit ()
282 {
283   set +e
284   as_fn_set_status $1
285   exit $1
286 } # as_fn_exit
287
288 # as_fn_mkdir_p
289 # -------------
290 # Create "$as_dir" as a directory, including parents if necessary.
291 as_fn_mkdir_p ()
292 {
293
294   case $as_dir in #(
295   -*) as_dir=./$as_dir;;
296   esac
297   test -d "$as_dir" || eval $as_mkdir_p || {
298     as_dirs=
299     while :; do
300       case $as_dir in #(
301       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
302       *) as_qdir=$as_dir;;
303       esac
304       as_dirs="'$as_qdir' $as_dirs"
305       as_dir=`$as_dirname -- "$as_dir" ||
306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
307          X"$as_dir" : 'X\(//\)[^/]' \| \
308          X"$as_dir" : 'X\(//\)$' \| \
309          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
310 $as_echo X"$as_dir" |
311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
312             s//\1/
313             q
314           }
315           /^X\(\/\/\)[^/].*/{
316             s//\1/
317             q
318           }
319           /^X\(\/\/\)$/{
320             s//\1/
321             q
322           }
323           /^X\(\/\).*/{
324             s//\1/
325             q
326           }
327           s/.*/./; q'`
328       test -d "$as_dir" && break
329     done
330     test -z "$as_dirs" || eval "mkdir $as_dirs"
331   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
332
333
334 } # as_fn_mkdir_p
335 # as_fn_append VAR VALUE
336 # ----------------------
337 # Append the text in VALUE to the end of the definition contained in VAR. Take
338 # advantage of any shell optimizations that allow amortized linear growth over
339 # repeated appends, instead of the typical quadratic growth present in naive
340 # implementations.
341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
342   eval 'as_fn_append ()
343   {
344     eval $1+=\$2
345   }'
346 else
347   as_fn_append ()
348   {
349     eval $1=\$$1\$2
350   }
351 fi # as_fn_append
352
353 # as_fn_arith ARG...
354 # ------------------
355 # Perform arithmetic evaluation on the ARGs, and store the result in the
356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
357 # must be portable across $(()) and expr.
358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
359   eval 'as_fn_arith ()
360   {
361     as_val=$(( $* ))
362   }'
363 else
364   as_fn_arith ()
365   {
366     as_val=`expr "$@" || test $? -eq 1`
367   }
368 fi # as_fn_arith
369
370
371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
372 # ----------------------------------------
373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
375 # script with STATUS, using 1 if that was 0.
376 as_fn_error ()
377 {
378   as_status=$1; test $as_status -eq 0 && as_status=1
379   if test "$4"; then
380     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
381     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382   fi
383   $as_echo "$as_me: error: $2" >&2
384   as_fn_exit $as_status
385 } # as_fn_error
386
387 if expr a : '\(a\)' >/dev/null 2>&1 &&
388    test "X`expr 00001 : '.*\(...\)'`" = X001; then
389   as_expr=expr
390 else
391   as_expr=false
392 fi
393
394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
395   as_basename=basename
396 else
397   as_basename=false
398 fi
399
400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
401   as_dirname=dirname
402 else
403   as_dirname=false
404 fi
405
406 as_me=`$as_basename -- "$0" ||
407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
408          X"$0" : 'X\(//\)$' \| \
409          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 $as_echo X/"$0" |
411     sed '/^.*\/\([^/][^/]*\)\/*$/{
412             s//\1/
413             q
414           }
415           /^X\/\(\/\/\)$/{
416             s//\1/
417             q
418           }
419           /^X\/\(\/\).*/{
420             s//\1/
421             q
422           }
423           s/.*/./; q'`
424
425 # Avoid depending upon Character Ranges.
426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
429 as_cr_digits='0123456789'
430 as_cr_alnum=$as_cr_Letters$as_cr_digits
431
432
433   as_lineno_1=$LINENO as_lineno_1a=$LINENO
434   as_lineno_2=$LINENO as_lineno_2a=$LINENO
435   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
436   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
437   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
438   sed -n '
439     p
440     /[$]LINENO/=
441   ' <$as_myself |
442     sed '
443       s/[$]LINENO.*/&-/
444       t lineno
445       b
446       :lineno
447       N
448       :loop
449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450       t loop
451       s/-\n.*//
452     ' >$as_me.lineno &&
453   chmod +x "$as_me.lineno" ||
454     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455
456   # Don't try to exec as it changes $[0], causing all sort of problems
457   # (the dirname of $[0] is not the place where we might find the
458   # original and so on.  Autoconf is especially sensitive to this).
459   . "./$as_me.lineno"
460   # Exit status is that of the last command.
461   exit
462 }
463
464 ECHO_C= ECHO_N= ECHO_T=
465 case `echo -n x` in #(((((
466 -n*)
467   case `echo 'xy\c'` in
468   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
469   xy)  ECHO_C='\c';;
470   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
471        ECHO_T=' ';;
472   esac;;
473 *)
474   ECHO_N='-n';;
475 esac
476
477 rm -f conf$$ conf$$.exe conf$$.file
478 if test -d conf$$.dir; then
479   rm -f conf$$.dir/conf$$.file
480 else
481   rm -f conf$$.dir
482   mkdir conf$$.dir 2>/dev/null
483 fi
484 if (echo >conf$$.file) 2>/dev/null; then
485   if ln -s conf$$.file conf$$ 2>/dev/null; then
486     as_ln_s='ln -s'
487     # ... but there are two gotchas:
488     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
489     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
490     # In both cases, we have to default to `cp -p'.
491     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492       as_ln_s='cp -p'
493   elif ln conf$$.file conf$$ 2>/dev/null; then
494     as_ln_s=ln
495   else
496     as_ln_s='cp -p'
497   fi
498 else
499   as_ln_s='cp -p'
500 fi
501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
502 rmdir conf$$.dir 2>/dev/null
503
504 if mkdir -p . 2>/dev/null; then
505   as_mkdir_p='mkdir -p "$as_dir"'
506 else
507   test -d ./-p && rmdir ./-p
508   as_mkdir_p=false
509 fi
510
511 if test -x / >/dev/null 2>&1; then
512   as_test_x='test -x'
513 else
514   if ls -dL / >/dev/null 2>&1; then
515     as_ls_L_option=L
516   else
517     as_ls_L_option=
518   fi
519   as_test_x='
520     eval sh -c '\''
521       if test -d "$1"; then
522         test -d "$1/.";
523       else
524         case $1 in #(
525         -*)set "./$1";;
526         esac;
527         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
528         ???[sx]*):;;*)false;;esac;fi
529     '\'' sh
530   '
531 fi
532 as_executable_p=$as_test_x
533
534 # Sed expression to map a string onto a valid CPP name.
535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536
537 # Sed expression to map a string onto a valid variable name.
538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539
540
541 test -n "$DJDIR" || exec 7<&0 </dev/null
542 exec 6>&1
543
544 # Name of the host.
545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
546 # so uname gets run too.
547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
548
549 #
550 # Initializations.
551 #
552 ac_default_prefix=/usr/local
553 ac_clean_files=
554 ac_config_libobj_dir=.
555 LIBOBJS=
556 cross_compiling=no
557 subdirs=
558 MFLAGS=
559 MAKEFLAGS=
560
561 # Identity of this package.
562 PACKAGE_NAME='wxWidgets'
563 PACKAGE_TARNAME='wxwidgets'
564 PACKAGE_VERSION='2.9.5'
565 PACKAGE_STRING='wxWidgets 2.9.5'
566 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
567 PACKAGE_URL=''
568
569 ac_unique_file="wx-config.in"
570 # Factoring default headers for most tests.
571 ac_includes_default="\
572 #include <stdio.h>
573 #ifdef HAVE_SYS_TYPES_H
574 # include <sys/types.h>
575 #endif
576 #ifdef HAVE_SYS_STAT_H
577 # include <sys/stat.h>
578 #endif
579 #ifdef STDC_HEADERS
580 # include <stdlib.h>
581 # include <stddef.h>
582 #else
583 # ifdef HAVE_STDLIB_H
584 #  include <stdlib.h>
585 # endif
586 #endif
587 #ifdef HAVE_STRING_H
588 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
589 #  include <memory.h>
590 # endif
591 # include <string.h>
592 #endif
593 #ifdef HAVE_STRINGS_H
594 # include <strings.h>
595 #endif
596 #ifdef HAVE_INTTYPES_H
597 # include <inttypes.h>
598 #endif
599 #ifdef HAVE_STDINT_H
600 # include <stdint.h>
601 #endif
602 #ifdef HAVE_UNISTD_H
603 # include <unistd.h>
604 #endif"
605
606 enable_option_checking=no
607 ac_subst_vars='LTLIBOBJS
608 LIBOBJS
609 CPPUNIT_CONFIG
610 DLLTOOL
611 GCC
612 MACSETFILE
613 POSTLINK_COMMAND
614 LIBWXMACRES
615 WX_RESOURCES_MACOSX_DATA
616 WX_RESOURCES_MACOSX_ASCII
617 RESPROGRAMOBJ
618 RESFLAGS
619 RESCOMP
620 WX_VERSION_TAG
621 DMALLOC_LIBS
622 OPENGL_LIBS
623 LDFLAGS_GL
624 SAMPLES_SUBDIRS
625 DISTDIR
626 GUIDIST
627 WXCONFIG_RESFLAGS
628 WXCONFIG_LDFLAGS_GUI
629 WXCONFIG_LDFLAGS
630 WXCONFIG_RPATH
631 WXCONFIG_LIBS
632 WXCONFIG_CXXFLAGS
633 WXCONFIG_CFLAGS
634 WXCONFIG_CPPFLAGS
635 WX_CHARTYPE
636 WX_SUBVERSION
637 WX_VERSION
638 WX_RELEASE
639 WIDGET_SET
640 cross_compiling
641 TOOLCHAIN_FULLNAME
642 TOOLCHAIN_NAME
643 TOOLKIT_DIR
644 TOOLKIT
645 WIN32INSTALL
646 AFMINSTALL
647 USE_GUI
648 WX_LIBRARY_BASENAME_GUI
649 WX_LIBRARY_BASENAME_NOGUI
650 SHARED
651 DEREZ
652 COND_wxUSE_ZLIB_builtin
653 COND_wxUSE_REGEX_builtin
654 COND_wxUSE_LIBTIFF_builtin
655 COND_wxUSE_LIBPNG_builtin
656 COND_wxUSE_LIBJPEG_builtin
657 COND_wxUSE_EXPAT_builtin
658 COND_WXUSE_ZLIB_BUILTIN
659 COND_WXUSE_REGEX_BUILTIN
660 COND_WXUSE_LIBTIFF_BUILTIN
661 COND_WXUSE_LIBPNG_BUILTIN
662 COND_WXUSE_LIBJPEG_BUILTIN
663 COND_WXUSE_EXPAT_BUILTIN
664 COND_WXUNIV_1
665 COND_WXUNIV_0
666 COND_WITH_PLUGIN_SDL_1
667 COND_WINDOWS_IMPLIB_1
668 COND_USE_XRC_1
669 COND_USE_THREADS_1
670 COND_USE_THREADS_0
671 COND_USE_STC_1
672 COND_USE_SOVERSOLARIS_1
673 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
674 COND_USE_SOVERSION_0
675 COND_USE_SOVERLINUX_1
676 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
677 COND_USE_SOTWOSYMLINKS_1
678 COND_USE_RTTI_1
679 COND_USE_RTTI_0
680 COND_USE_PLUGINS_0
681 COND_USE_PCH_1
682 COND_USE_OPENGL_1
683 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
684 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
685 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
686 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
687 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
688 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
689 COND_USE_GUI_1_WXUNIV_1
690 COND_USE_GUI_1_WXUNIV_0
691 COND_USE_GUI_1_USE_OPENGL_1
692 COND_USE_GUI_1
693 COND_USE_GUI_0
694 COND_USE_EXCEPTIONS_1
695 COND_USE_EXCEPTIONS_0
696 COND_USE_CAIRO_1
697 COND_UNICODE_1
698 COND_TOOLKIT_X11_USE_GUI_1
699 COND_TOOLKIT_X11
700 COND_TOOLKIT_WINCE_WXUNIV_0
701 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
702 COND_TOOLKIT_WINCE_USE_GUI_1
703 COND_TOOLKIT_WINCE
704 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
705 COND_TOOLKIT_PM_USE_GUI_1
706 COND_TOOLKIT_PM
707 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
708 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
709 COND_TOOLKIT_OSX_IPHONE
710 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
711 COND_TOOLKIT_OSX_COCOA
712 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
713 COND_TOOLKIT_OSX_CARBON
714 COND_TOOLKIT_MSW_WXUNIV_0
715 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
716 COND_TOOLKIT_MSW_USE_GUI_1
717 COND_TOOLKIT_MSW
718 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
719 COND_TOOLKIT_MOTIF_USE_GUI_1
720 COND_TOOLKIT_MOTIF
721 COND_TOOLKIT_MAC
722 COND_TOOLKIT_GTK_USE_GUI_1
723 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
724 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
725 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
726 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
727 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
728 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
729 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
730 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
731 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
732 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
733 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
734 COND_TOOLKIT_GTK
735 COND_TOOLKIT_DFB_USE_GUI_1
736 COND_TOOLKIT_DFB
737 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
738 COND_TOOLKIT_COCOA_USE_GUI_1
739 COND_TOOLKIT_COCOA
740 COND_TOOLKIT_
741 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
742 COND_SHARED_1
743 COND_SHARED_0_wxUSE_ZLIB_builtin
744 COND_SHARED_0_wxUSE_REGEX_builtin
745 COND_SHARED_0_wxUSE_EXPAT_builtin
746 COND_SHARED_0_USE_STC_1
747 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
748 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
749 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
750 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
751 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
752 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
753 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
754 COND_SHARED_0
755 COND_PLATFORM_WIN32_1_SHARED_0
756 COND_PLATFORM_WIN32_1
757 COND_PLATFORM_WIN32_0
758 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
759 COND_PLATFORM_UNIX_1_USE_GUI_1
760 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
761 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
762 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
763 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
764 COND_PLATFORM_UNIX_1
765 COND_PLATFORM_UNIX_0
766 COND_PLATFORM_OS2_1
767 COND_PLATFORM_MSDOS_1
768 COND_PLATFORM_MSDOS_0
769 COND_PLATFORM_MAC_1
770 COND_PLATFORM_MAC_0
771 COND_PLATFORM_MACOS_1
772 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
773 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
774 COND_PLATFORM_MACOSX_1_USE_GUI_1
775 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
776 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
777 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
778 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
779 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
780 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
781 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
782 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
783 COND_PLATFORM_MACOSX_1
784 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
785 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
786 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
787 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
788 COND_MONOLITHIC_1_SHARED_1
789 COND_MONOLITHIC_1_SHARED_0
790 COND_MONOLITHIC_1
791 COND_MONOLITHIC_0_USE_XRC_1
792 COND_MONOLITHIC_0_USE_WEBVIEW_1
793 COND_MONOLITHIC_0_USE_STC_1
794 COND_MONOLITHIC_0_USE_RICHTEXT_1
795 COND_MONOLITHIC_0_USE_RIBBON_1
796 COND_MONOLITHIC_0_USE_QA_1
797 COND_MONOLITHIC_0_USE_PROPGRID_1
798 COND_MONOLITHIC_0_USE_MEDIA_1
799 COND_MONOLITHIC_0_USE_HTML_1
800 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
801 COND_MONOLITHIC_0_USE_GUI_1
802 COND_MONOLITHIC_0_USE_AUI_1
803 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
804 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
805 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
806 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
807 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
808 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
809 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
810 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
811 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
812 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
813 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
814 COND_MONOLITHIC_0_SHARED_1
815 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
816 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
817 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
818 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
819 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
820 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
821 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
822 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
823 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
824 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
825 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
826 COND_MONOLITHIC_0_SHARED_0
827 COND_MONOLITHIC_0
828 COND_ICC_PCH_1
829 COND_GCC_PCH_1
830 COND_DEPS_TRACKING_1
831 COND_DEPS_TRACKING_0
832 COND_DEBUG_INFO_1
833 COND_DEBUG_INFO_0
834 COND_DEBUG_FLAG_1
835 COND_DEBUG_FLAG_0
836 COND_BUILD_release_UNICODE_1
837 COND_BUILD_release_UNICODE_0
838 COND_BUILD_release_DEBUG_INFO_default
839 COND_BUILD_release
840 COND_BUILD_debug_UNICODE_1
841 COND_BUILD_debug_UNICODE_0
842 COND_BUILD_debug_DEBUG_INFO_default
843 COND_BUILD_debug_DEBUG_FLAG_default
844 COND_BUILD_debug
845 COND_BUILD_RELEASE_UNICODE_1
846 COND_BUILD_RELEASE_UNICODE_0
847 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
848 COND_BUILD_RELEASE
849 COND_BUILD_DEBUG_UNICODE_1
850 COND_BUILD_DEBUG_UNICODE_0
851 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
852 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
853 COND_BUILD_DEBUG
854 BK_MAKE_PCH
855 ICC_PCH_USE_SWITCH
856 ICC_PCH_CREATE_SWITCH
857 ICC_PCH
858 GCC_PCH
859 OBJCXXFLAGS
860 SETFILE
861 REZ
862 WINDRES
863 BK_DEPS
864 DEPS_TRACKING
865 SONAME_FLAG
866 USE_SOTWOSYMLINKS
867 USE_MACVERSION
868 USE_SOVERCYGWIN
869 USE_SOVERSOLARIS
870 USE_SOVERLINUX
871 USE_SOVERSION
872 WINDOWS_IMPLIB
873 PIC_FLAG
874 SHARED_LD_MODULE_CXX
875 SHARED_LD_MODULE_CC
876 SHARED_LD_CXX
877 SHARED_LD_CC
878 AIX_CXX_LD
879 dlldir
880 DLLPREFIX_MODULE
881 DLLPREFIX
882 LIBEXT
883 LIBPREFIX
884 DLLIMP_SUFFIX
885 SO_SUFFIX_MODULE
886 SO_SUFFIX
887 PLATFORM_BEOS
888 PLATFORM_OS2
889 PLATFORM_MACOSX
890 PLATFORM_MACOS
891 PLATFORM_MAC
892 PLATFORM_MSDOS
893 PLATFORM_WIN32
894 PLATFORM_UNIX
895 IF_GNU_MAKE
896 LDFLAGS_GUI
897 INSTALL_DIR
898 NM
899 STRIP
900 AROPTIONS
901 MAKE_SET
902 SET_MAKE
903 LN_S
904 INSTALL_DATA
905 INSTALL_SCRIPT
906 INSTALL_PROGRAM
907 RANLIB
908 CPPUNIT_LIBS
909 CPPUNIT_CFLAGS
910 HOST_SUFFIX
911 HEADER_PAD_OPTION
912 SAMPLES_RPATH_FLAG
913 DYLIB_RPATH_POSTLINK
914 DYLIB_RPATH_INSTALL
915 TOOLKIT_VERSION
916 TOOLKIT_LOWERCASE
917 DEBUG_FLAG
918 DEBUG_INFO
919 UNICODE
920 EXTRALIBS_HILDON
921 EXTRALIBS_GNOMEVFS
922 EXTRALIBS_GNOMEPRINT
923 EXTRALIBS_GTKPRINT
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 GNOMEVFS_LIBS
964 GNOMEVFS_CFLAGS
965 LIBGNOMEPRINTUI_LIBS
966 LIBGNOMEPRINTUI_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_libxpm
1104 with_libiconv
1105 with_libmspack
1106 with_gtkprint
1107 with_gnomeprint
1108 with_gnomevfs
1109 with_hildon
1110 with_opengl
1111 with_dmalloc
1112 with_sdl
1113 with_regex
1114 with_zlib
1115 with_expat
1116 with_macosx_sdk
1117 with_macosx_version_min
1118 enable_debug
1119 enable_debug_flag
1120 enable_debug_info
1121 enable_debug_gdb
1122 enable_debug_cntxt
1123 enable_mem_tracing
1124 enable_shared
1125 enable_stl
1126 enable_std_containers
1127 enable_std_iostreams
1128 enable_std_string
1129 enable_std_string_conv_in_wxstring
1130 enable_unicode
1131 enable_mslu
1132 enable_utf8
1133 enable_utf8only
1134 enable_extended_rtti
1135 enable_omf
1136 enable_optimise
1137 enable_profile
1138 enable_no_rtti
1139 enable_no_exceptions
1140 enable_permissive
1141 enable_no_deps
1142 enable_vararg_macros
1143 enable_universal_binary
1144 enable_macosx_arch
1145 enable_compat26
1146 enable_compat28
1147 enable_rpath
1148 enable_objc_uniquifying
1149 enable_visibility
1150 enable_tls
1151 enable_intl
1152 enable_xlocale
1153 enable_config
1154 enable_protocols
1155 enable_ftp
1156 enable_http
1157 enable_fileproto
1158 enable_sockets
1159 enable_ipv6
1160 enable_ole
1161 enable_dataobj
1162 enable_ipc
1163 enable_baseevtloop
1164 enable_epollloop
1165 enable_selectloop
1166 enable_any
1167 enable_apple_ieee
1168 enable_arcstream
1169 enable_base64
1170 enable_backtrace
1171 enable_catch_segvs
1172 enable_cmdline
1173 enable_datetime
1174 enable_debugreport
1175 enable_dialupman
1176 enable_dynlib
1177 enable_dynamicloader
1178 enable_exceptions
1179 enable_ffile
1180 enable_file
1181 enable_filehistory
1182 enable_filesystem
1183 enable_fontenum
1184 enable_fontmap
1185 enable_fs_archive
1186 enable_fs_inet
1187 enable_fs_zip
1188 enable_fswatcher
1189 enable_geometry
1190 enable_log
1191 enable_longlong
1192 enable_mimetype
1193 enable_printfposparam
1194 enable_snglinst
1195 enable_sound
1196 enable_stdpaths
1197 enable_stopwatch
1198 enable_streams
1199 enable_sysoptions
1200 enable_tarstream
1201 enable_textbuf
1202 enable_textfile
1203 enable_timer
1204 enable_variant
1205 enable_zipstream
1206 enable_url
1207 enable_protocol
1208 enable_protocol_http
1209 enable_protocol_ftp
1210 enable_protocol_file
1211 enable_threads
1212 enable_iniconf
1213 enable_regkey
1214 enable_docview
1215 enable_help
1216 enable_mshtmlhelp
1217 enable_html
1218 enable_htmlhelp
1219 enable_xrc
1220 enable_aui
1221 enable_propgrid
1222 enable_ribbon
1223 enable_stc
1224 enable_constraints
1225 enable_loggui
1226 enable_logwin
1227 enable_logdialog
1228 enable_mdi
1229 enable_mdidoc
1230 enable_mediactrl
1231 enable_gstreamer8
1232 enable_richtext
1233 enable_postscript
1234 enable_printarch
1235 enable_svg
1236 enable_webkit
1237 enable_webview
1238 enable_graphics_ctx
1239 enable_clipboard
1240 enable_dnd
1241 enable_controls
1242 enable_markup
1243 enable_accel
1244 enable_animatectrl
1245 enable_bannerwindow
1246 enable_artstd
1247 enable_arttango
1248 enable_bmpbutton
1249 enable_bmpcombobox
1250 enable_button
1251 enable_calendar
1252 enable_caret
1253 enable_checkbox
1254 enable_checklst
1255 enable_choice
1256 enable_choicebook
1257 enable_collpane
1258 enable_colourpicker
1259 enable_combobox
1260 enable_comboctrl
1261 enable_commandlinkbutton
1262 enable_dataviewctrl
1263 enable_datepick
1264 enable_detect_sm
1265 enable_dirpicker
1266 enable_display
1267 enable_editablebox
1268 enable_filectrl
1269 enable_filepicker
1270 enable_fontpicker
1271 enable_gauge
1272 enable_grid
1273 enable_headerctrl
1274 enable_hyperlink
1275 enable_imaglist
1276 enable_infobar
1277 enable_listbook
1278 enable_listbox
1279 enable_listctrl
1280 enable_notebook
1281 enable_notifmsg
1282 enable_odcombobox
1283 enable_popupwin
1284 enable_radiobox
1285 enable_radiobtn
1286 enable_richmsgdlg
1287 enable_richtooltip
1288 enable_rearrangectrl
1289 enable_sash
1290 enable_scrollbar
1291 enable_searchctrl
1292 enable_slider
1293 enable_spinbtn
1294 enable_spinctrl
1295 enable_splitter
1296 enable_statbmp
1297 enable_statbox
1298 enable_statline
1299 enable_stattext
1300 enable_statusbar
1301 enable_taskbaricon
1302 enable_tbarnative
1303 enable_textctrl
1304 enable_tipwindow
1305 enable_togglebtn
1306 enable_toolbar
1307 enable_toolbook
1308 enable_treebook
1309 enable_treectrl
1310 enable_treelist
1311 enable_commondlg
1312 enable_aboutdlg
1313 enable_choicedlg
1314 enable_coldlg
1315 enable_filedlg
1316 enable_finddlg
1317 enable_fontdlg
1318 enable_dirdlg
1319 enable_msgdlg
1320 enable_numberdlg
1321 enable_splash
1322 enable_textdlg
1323 enable_tipdlg
1324 enable_progressdlg
1325 enable_wizarddlg
1326 enable_menus
1327 enable_miniframe
1328 enable_tooltips
1329 enable_splines
1330 enable_mousewheel
1331 enable_validators
1332 enable_busyinfo
1333 enable_hotkey
1334 enable_joystick
1335 enable_metafile
1336 enable_dragimage
1337 enable_accessibility
1338 enable_uiactionsim
1339 enable_dctransform
1340 enable_webviewwebkit
1341 enable_palette
1342 enable_image
1343 enable_gif
1344 enable_pcx
1345 enable_tga
1346 enable_iff
1347 enable_pnm
1348 enable_xpm
1349 enable_ico_cur
1350 enable_dccache
1351 enable_ps_in_msw
1352 enable_ownerdrawn
1353 enable_uxtheme
1354 enable_wxdib
1355 enable_webviewie
1356 enable_autoidman
1357 enable_largefile
1358 enable_gtktest
1359 with_gtk_prefix
1360 with_gtk_exec_prefix
1361 with_x
1362 with_libiconv_prefix
1363 with_sdl_prefix
1364 with_sdl_exec_prefix
1365 enable_sdltest
1366 enable_dependency_tracking
1367 enable_precomp_headers
1368 with_cppunit_prefix
1369 with_cppunit_exec_prefix
1370 '
1371       ac_precious_vars='build_alias
1372 host_alias
1373 target_alias
1374 CC
1375 CFLAGS
1376 LDFLAGS
1377 LIBS
1378 CPPFLAGS
1379 CPP
1380 CXX
1381 CXXFLAGS
1382 CCC
1383 CXXCPP
1384 PKG_CONFIG
1385 DIRECTFB_CFLAGS
1386 DIRECTFB_LIBS
1387 XMKMF
1388 PANGOX_CFLAGS
1389 PANGOX_LIBS
1390 PANGOFT2_CFLAGS
1391 PANGOFT2_LIBS
1392 PANGOXFT_CFLAGS
1393 PANGOXFT_LIBS
1394 Xinerama_CFLAGS
1395 Xinerama_LIBS
1396 Xxf86vm_CFLAGS
1397 Xxf86vm_LIBS
1398 SM_CFLAGS
1399 SM_LIBS
1400 GL_CFLAGS
1401 GL_LIBS
1402 GLU_CFLAGS
1403 GLU_LIBS
1404 MesaGL_CFLAGS
1405 MesaGL_LIBS
1406 GTKPRINT_CFLAGS
1407 GTKPRINT_LIBS
1408 LIBGNOMEPRINTUI_CFLAGS
1409 LIBGNOMEPRINTUI_LIBS
1410 GNOMEVFS_CFLAGS
1411 GNOMEVFS_LIBS
1412 HILDON_CFLAGS
1413 HILDON_LIBS
1414 HILDON2_CFLAGS
1415 HILDON2_LIBS
1416 WEBKIT_CFLAGS
1417 WEBKIT_LIBS
1418 CAIRO_CFLAGS
1419 CAIRO_LIBS
1420 GST_CFLAGS
1421 GST_LIBS'
1422 ac_subdirs_all='src/tiff
1423 src/expat'
1424
1425 # Initialize some variables set by options.
1426 ac_init_help=
1427 ac_init_version=false
1428 ac_unrecognized_opts=
1429 ac_unrecognized_sep=
1430 # The variables have the same names as the options, with
1431 # dashes changed to underlines.
1432 cache_file=/dev/null
1433 exec_prefix=NONE
1434 no_create=
1435 no_recursion=
1436 prefix=NONE
1437 program_prefix=NONE
1438 program_suffix=NONE
1439 program_transform_name=s,x,x,
1440 silent=
1441 site=
1442 srcdir=
1443 verbose=
1444 x_includes=NONE
1445 x_libraries=NONE
1446
1447 # Installation directory options.
1448 # These are left unexpanded so users can "make install exec_prefix=/foo"
1449 # and all the variables that are supposed to be based on exec_prefix
1450 # by default will actually change.
1451 # Use braces instead of parens because sh, perl, etc. also accept them.
1452 # (The list follows the same order as the GNU Coding Standards.)
1453 bindir='${exec_prefix}/bin'
1454 sbindir='${exec_prefix}/sbin'
1455 libexecdir='${exec_prefix}/libexec'
1456 datarootdir='${prefix}/share'
1457 datadir='${datarootdir}'
1458 sysconfdir='${prefix}/etc'
1459 sharedstatedir='${prefix}/com'
1460 localstatedir='${prefix}/var'
1461 includedir='${prefix}/include'
1462 oldincludedir='/usr/include'
1463 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1464 infodir='${datarootdir}/info'
1465 htmldir='${docdir}'
1466 dvidir='${docdir}'
1467 pdfdir='${docdir}'
1468 psdir='${docdir}'
1469 libdir='${exec_prefix}/lib'
1470 localedir='${datarootdir}/locale'
1471 mandir='${datarootdir}/man'
1472
1473 ac_prev=
1474 ac_dashdash=
1475 for ac_option
1476 do
1477   # If the previous option needs an argument, assign it.
1478   if test -n "$ac_prev"; then
1479     eval $ac_prev=\$ac_option
1480     ac_prev=
1481     continue
1482   fi
1483
1484   case $ac_option in
1485   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1486   *=)   ac_optarg= ;;
1487   *)    ac_optarg=yes ;;
1488   esac
1489
1490   # Accept the important Cygnus configure options, so we can diagnose typos.
1491
1492   case $ac_dashdash$ac_option in
1493   --)
1494     ac_dashdash=yes ;;
1495
1496   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1497     ac_prev=bindir ;;
1498   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1499     bindir=$ac_optarg ;;
1500
1501   -build | --build | --buil | --bui | --bu)
1502     ac_prev=build_alias ;;
1503   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1504     build_alias=$ac_optarg ;;
1505
1506   -cache-file | --cache-file | --cache-fil | --cache-fi \
1507   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1508     ac_prev=cache_file ;;
1509   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1510   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1511     cache_file=$ac_optarg ;;
1512
1513   --config-cache | -C)
1514     cache_file=config.cache ;;
1515
1516   -datadir | --datadir | --datadi | --datad)
1517     ac_prev=datadir ;;
1518   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1519     datadir=$ac_optarg ;;
1520
1521   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1522   | --dataroo | --dataro | --datar)
1523     ac_prev=datarootdir ;;
1524   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1525   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1526     datarootdir=$ac_optarg ;;
1527
1528   -disable-* | --disable-*)
1529     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1530     # Reject names that are not valid shell variable names.
1531     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1532       as_fn_error $? "invalid feature name: $ac_useropt"
1533     ac_useropt_orig=$ac_useropt
1534     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1535     case $ac_user_opts in
1536       *"
1537 "enable_$ac_useropt"
1538 "*) ;;
1539       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1540          ac_unrecognized_sep=', ';;
1541     esac
1542     eval enable_$ac_useropt=no ;;
1543
1544   -docdir | --docdir | --docdi | --doc | --do)
1545     ac_prev=docdir ;;
1546   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1547     docdir=$ac_optarg ;;
1548
1549   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1550     ac_prev=dvidir ;;
1551   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1552     dvidir=$ac_optarg ;;
1553
1554   -enable-* | --enable-*)
1555     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1556     # Reject names that are not valid shell variable names.
1557     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1558       as_fn_error $? "invalid feature name: $ac_useropt"
1559     ac_useropt_orig=$ac_useropt
1560     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1561     case $ac_user_opts in
1562       *"
1563 "enable_$ac_useropt"
1564 "*) ;;
1565       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1566          ac_unrecognized_sep=', ';;
1567     esac
1568     eval enable_$ac_useropt=\$ac_optarg ;;
1569
1570   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1571   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1572   | --exec | --exe | --ex)
1573     ac_prev=exec_prefix ;;
1574   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1575   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1576   | --exec=* | --exe=* | --ex=*)
1577     exec_prefix=$ac_optarg ;;
1578
1579   -gas | --gas | --ga | --g)
1580     # Obsolete; use --with-gas.
1581     with_gas=yes ;;
1582
1583   -help | --help | --hel | --he | -h)
1584     ac_init_help=long ;;
1585   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1586     ac_init_help=recursive ;;
1587   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1588     ac_init_help=short ;;
1589
1590   -host | --host | --hos | --ho)
1591     ac_prev=host_alias ;;
1592   -host=* | --host=* | --hos=* | --ho=*)
1593     host_alias=$ac_optarg ;;
1594
1595   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1596     ac_prev=htmldir ;;
1597   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1598   | --ht=*)
1599     htmldir=$ac_optarg ;;
1600
1601   -includedir | --includedir | --includedi | --included | --include \
1602   | --includ | --inclu | --incl | --inc)
1603     ac_prev=includedir ;;
1604   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1605   | --includ=* | --inclu=* | --incl=* | --inc=*)
1606     includedir=$ac_optarg ;;
1607
1608   -infodir | --infodir | --infodi | --infod | --info | --inf)
1609     ac_prev=infodir ;;
1610   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1611     infodir=$ac_optarg ;;
1612
1613   -libdir | --libdir | --libdi | --libd)
1614     ac_prev=libdir ;;
1615   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1616     libdir=$ac_optarg ;;
1617
1618   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1619   | --libexe | --libex | --libe)
1620     ac_prev=libexecdir ;;
1621   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1622   | --libexe=* | --libex=* | --libe=*)
1623     libexecdir=$ac_optarg ;;
1624
1625   -localedir | --localedir | --localedi | --localed | --locale)
1626     ac_prev=localedir ;;
1627   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1628     localedir=$ac_optarg ;;
1629
1630   -localstatedir | --localstatedir | --localstatedi | --localstated \
1631   | --localstate | --localstat | --localsta | --localst | --locals)
1632     ac_prev=localstatedir ;;
1633   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1634   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1635     localstatedir=$ac_optarg ;;
1636
1637   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1638     ac_prev=mandir ;;
1639   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1640     mandir=$ac_optarg ;;
1641
1642   -nfp | --nfp | --nf)
1643     # Obsolete; use --without-fp.
1644     with_fp=no ;;
1645
1646   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1647   | --no-cr | --no-c | -n)
1648     no_create=yes ;;
1649
1650   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1651   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1652     no_recursion=yes ;;
1653
1654   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1655   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1656   | --oldin | --oldi | --old | --ol | --o)
1657     ac_prev=oldincludedir ;;
1658   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1659   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1660   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1661     oldincludedir=$ac_optarg ;;
1662
1663   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1664     ac_prev=prefix ;;
1665   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1666     prefix=$ac_optarg ;;
1667
1668   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1669   | --program-pre | --program-pr | --program-p)
1670     ac_prev=program_prefix ;;
1671   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1672   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1673     program_prefix=$ac_optarg ;;
1674
1675   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1676   | --program-suf | --program-su | --program-s)
1677     ac_prev=program_suffix ;;
1678   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1679   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1680     program_suffix=$ac_optarg ;;
1681
1682   -program-transform-name | --program-transform-name \
1683   | --program-transform-nam | --program-transform-na \
1684   | --program-transform-n | --program-transform- \
1685   | --program-transform | --program-transfor \
1686   | --program-transfo | --program-transf \
1687   | --program-trans | --program-tran \
1688   | --progr-tra | --program-tr | --program-t)
1689     ac_prev=program_transform_name ;;
1690   -program-transform-name=* | --program-transform-name=* \
1691   | --program-transform-nam=* | --program-transform-na=* \
1692   | --program-transform-n=* | --program-transform-=* \
1693   | --program-transform=* | --program-transfor=* \
1694   | --program-transfo=* | --program-transf=* \
1695   | --program-trans=* | --program-tran=* \
1696   | --progr-tra=* | --program-tr=* | --program-t=*)
1697     program_transform_name=$ac_optarg ;;
1698
1699   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1700     ac_prev=pdfdir ;;
1701   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1702     pdfdir=$ac_optarg ;;
1703
1704   -psdir | --psdir | --psdi | --psd | --ps)
1705     ac_prev=psdir ;;
1706   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1707     psdir=$ac_optarg ;;
1708
1709   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1710   | -silent | --silent | --silen | --sile | --sil)
1711     silent=yes ;;
1712
1713   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1714     ac_prev=sbindir ;;
1715   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1716   | --sbi=* | --sb=*)
1717     sbindir=$ac_optarg ;;
1718
1719   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1720   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1721   | --sharedst | --shareds | --shared | --share | --shar \
1722   | --sha | --sh)
1723     ac_prev=sharedstatedir ;;
1724   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1725   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1726   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1727   | --sha=* | --sh=*)
1728     sharedstatedir=$ac_optarg ;;
1729
1730   -site | --site | --sit)
1731     ac_prev=site ;;
1732   -site=* | --site=* | --sit=*)
1733     site=$ac_optarg ;;
1734
1735   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1736     ac_prev=srcdir ;;
1737   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1738     srcdir=$ac_optarg ;;
1739
1740   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1741   | --syscon | --sysco | --sysc | --sys | --sy)
1742     ac_prev=sysconfdir ;;
1743   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1744   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1745     sysconfdir=$ac_optarg ;;
1746
1747   -target | --target | --targe | --targ | --tar | --ta | --t)
1748     ac_prev=target_alias ;;
1749   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1750     target_alias=$ac_optarg ;;
1751
1752   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1753     verbose=yes ;;
1754
1755   -version | --version | --versio | --versi | --vers | -V)
1756     ac_init_version=: ;;
1757
1758   -with-* | --with-*)
1759     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1760     # Reject names that are not valid shell variable names.
1761     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1762       as_fn_error $? "invalid package name: $ac_useropt"
1763     ac_useropt_orig=$ac_useropt
1764     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1765     case $ac_user_opts in
1766       *"
1767 "with_$ac_useropt"
1768 "*) ;;
1769       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1770          ac_unrecognized_sep=', ';;
1771     esac
1772     eval with_$ac_useropt=\$ac_optarg ;;
1773
1774   -without-* | --without-*)
1775     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1776     # Reject names that are not valid shell variable names.
1777     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1778       as_fn_error $? "invalid package name: $ac_useropt"
1779     ac_useropt_orig=$ac_useropt
1780     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1781     case $ac_user_opts in
1782       *"
1783 "with_$ac_useropt"
1784 "*) ;;
1785       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1786          ac_unrecognized_sep=', ';;
1787     esac
1788     eval with_$ac_useropt=no ;;
1789
1790   --x)
1791     # Obsolete; use --with-x.
1792     with_x=yes ;;
1793
1794   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1795   | --x-incl | --x-inc | --x-in | --x-i)
1796     ac_prev=x_includes ;;
1797   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1798   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1799     x_includes=$ac_optarg ;;
1800
1801   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1802   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1803     ac_prev=x_libraries ;;
1804   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1805   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1806     x_libraries=$ac_optarg ;;
1807
1808   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1809 Try \`$0 --help' for more information"
1810     ;;
1811
1812   *=*)
1813     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1814     # Reject names that are not valid shell variable names.
1815     case $ac_envvar in #(
1816       '' | [0-9]* | *[!_$as_cr_alnum]* )
1817       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1818     esac
1819     eval $ac_envvar=\$ac_optarg
1820     export $ac_envvar ;;
1821
1822   *)
1823     # FIXME: should be removed in autoconf 3.0.
1824     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1825     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1826       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1827     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1828     ;;
1829
1830   esac
1831 done
1832
1833 if test -n "$ac_prev"; then
1834   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1835   as_fn_error $? "missing argument to $ac_option"
1836 fi
1837
1838 if test -n "$ac_unrecognized_opts"; then
1839   case $enable_option_checking in
1840     no) ;;
1841     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1842     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1843   esac
1844 fi
1845
1846 # Check all directory arguments for consistency.
1847 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1848                 datadir sysconfdir sharedstatedir localstatedir includedir \
1849                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1850                 libdir localedir mandir
1851 do
1852   eval ac_val=\$$ac_var
1853   # Remove trailing slashes.
1854   case $ac_val in
1855     */ )
1856       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1857       eval $ac_var=\$ac_val;;
1858   esac
1859   # Be sure to have absolute directory names.
1860   case $ac_val in
1861     [\\/$]* | ?:[\\/]* )  continue;;
1862     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1863   esac
1864   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1865 done
1866
1867 # There might be people who depend on the old broken behavior: `$host'
1868 # used to hold the argument of --host etc.
1869 # FIXME: To remove some day.
1870 build=$build_alias
1871 host=$host_alias
1872 target=$target_alias
1873
1874 # FIXME: To remove some day.
1875 if test "x$host_alias" != x; then
1876   if test "x$build_alias" = x; then
1877     cross_compiling=maybe
1878     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1879     If a cross compiler is detected then cross compile mode will be used" >&2
1880   elif test "x$build_alias" != "x$host_alias"; then
1881     cross_compiling=yes
1882   fi
1883 fi
1884
1885 ac_tool_prefix=
1886 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1887
1888 test "$silent" = yes && exec 6>/dev/null
1889
1890
1891 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1892 ac_ls_di=`ls -di .` &&
1893 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1894   as_fn_error $? "working directory cannot be determined"
1895 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1896   as_fn_error $? "pwd does not report name of working directory"
1897
1898
1899 # Find the source files, if location was not specified.
1900 if test -z "$srcdir"; then
1901   ac_srcdir_defaulted=yes
1902   # Try the directory containing this script, then the parent directory.
1903   ac_confdir=`$as_dirname -- "$as_myself" ||
1904 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1905          X"$as_myself" : 'X\(//\)[^/]' \| \
1906          X"$as_myself" : 'X\(//\)$' \| \
1907          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1908 $as_echo X"$as_myself" |
1909     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1910             s//\1/
1911             q
1912           }
1913           /^X\(\/\/\)[^/].*/{
1914             s//\1/
1915             q
1916           }
1917           /^X\(\/\/\)$/{
1918             s//\1/
1919             q
1920           }
1921           /^X\(\/\).*/{
1922             s//\1/
1923             q
1924           }
1925           s/.*/./; q'`
1926   srcdir=$ac_confdir
1927   if test ! -r "$srcdir/$ac_unique_file"; then
1928     srcdir=..
1929   fi
1930 else
1931   ac_srcdir_defaulted=no
1932 fi
1933 if test ! -r "$srcdir/$ac_unique_file"; then
1934   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1935   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1936 fi
1937 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1938 ac_abs_confdir=`(
1939         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1940         pwd)`
1941 # When building in place, set srcdir=.
1942 if test "$ac_abs_confdir" = "$ac_pwd"; then
1943   srcdir=.
1944 fi
1945 # Remove unnecessary trailing slashes from srcdir.
1946 # Double slashes in file names in object file debugging info
1947 # mess up M-x gdb in Emacs.
1948 case $srcdir in
1949 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1950 esac
1951 for ac_var in $ac_precious_vars; do
1952   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1953   eval ac_env_${ac_var}_value=\$${ac_var}
1954   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1955   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1956 done
1957
1958 #
1959 # Report the --help message.
1960 #
1961 if test "$ac_init_help" = "long"; then
1962   # Omit some internal or obsolete options to make the list less imposing.
1963   # This message is too long to be a string in the A/UX 3.1 sh.
1964   cat <<_ACEOF
1965 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1966
1967 Usage: $0 [OPTION]... [VAR=VALUE]...
1968
1969 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1970 VAR=VALUE.  See below for descriptions of some of the useful variables.
1971
1972 Defaults for the options are specified in brackets.
1973
1974 Configuration:
1975   -h, --help              display this help and exit
1976       --help=short        display options specific to this package
1977       --help=recursive    display the short help of all the included packages
1978   -V, --version           display version information and exit
1979   -q, --quiet, --silent   do not print \`checking ...' messages
1980       --cache-file=FILE   cache test results in FILE [disabled]
1981   -C, --config-cache      alias for \`--cache-file=config.cache'
1982   -n, --no-create         do not create output files
1983       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1984
1985 Installation directories:
1986   --prefix=PREFIX         install architecture-independent files in PREFIX
1987                           [$ac_default_prefix]
1988   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1989                           [PREFIX]
1990
1991 By default, \`make install' will install all the files in
1992 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1993 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1994 for instance \`--prefix=\$HOME'.
1995
1996 For better control, use the options below.
1997
1998 Fine tuning of the installation directories:
1999   --bindir=DIR            user executables [EPREFIX/bin]
2000   --sbindir=DIR           system admin executables [EPREFIX/sbin]
2001   --libexecdir=DIR        program executables [EPREFIX/libexec]
2002   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
2003   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
2004   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
2005   --libdir=DIR            object code libraries [EPREFIX/lib]
2006   --includedir=DIR        C header files [PREFIX/include]
2007   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
2008   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
2009   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
2010   --infodir=DIR           info documentation [DATAROOTDIR/info]
2011   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
2012   --mandir=DIR            man documentation [DATAROOTDIR/man]
2013   --docdir=DIR            documentation root [DATAROOTDIR/doc/wxwidgets]
2014   --htmldir=DIR           html documentation [DOCDIR]
2015   --dvidir=DIR            dvi documentation [DOCDIR]
2016   --pdfdir=DIR            pdf documentation [DOCDIR]
2017   --psdir=DIR             ps documentation [DOCDIR]
2018 _ACEOF
2019
2020   cat <<\_ACEOF
2021
2022 X features:
2023   --x-includes=DIR    X include files are in DIR
2024   --x-libraries=DIR   X library files are in DIR
2025
2026 System types:
2027   --build=BUILD     configure for building on BUILD [guessed]
2028   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
2029 _ACEOF
2030 fi
2031
2032 if test -n "$ac_init_help"; then
2033   case $ac_init_help in
2034      short | recursive ) echo "Configuration of wxWidgets 2.9.5:";;
2035    esac
2036   cat <<\_ACEOF
2037
2038 Optional Features:
2039   --disable-option-checking  ignore unrecognized --enable/--with options
2040   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
2041   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
2042   --disable-gui           don't build GUI parts of the library
2043   --enable-monolithic     build wxWidgets as single library
2044   --enable-plugins        build parts of wxWidgets as loadable components
2045   --enable-official_build official build of wxWidgets (win32 DLL only)
2046   --enable-vendor=VENDOR  vendor name (win32 DLL only)
2047   --disable-all-features  disable all optional features to build minimal library
2048   --enable-universal      use wxWidgets GUI controls instead of native ones
2049   --enable-nanox          use NanoX
2050   --enable-gpe            use GNOME PDA Environment features if possible
2051   --enable-debug          build library for debugging
2052   --disable-debug_flag    disable all debugging support
2053   --enable-debug_info     generate debug information
2054   --enable-debug_gdb      create code with extra GDB debugging information
2055   --enable-debug_cntxt    obsolete, don't use: use wxDebugContext
2056   --enable-mem_tracing    obsolete, don't use: create code with memory tracing
2057   --disable-shared        create static library instead of shared
2058   --enable-stl            use standard C++ classes for everything
2059   --enable-std_containers use standard C++ container classes
2060   --enable-std_iostreams  use standard C++ stream classes
2061   --enable-std_string     use standard C++ string classes
2062  --enable-std_string_conv_in_wxstring     provide implicit conversion to std::string in wxString
2063   --disable-unicode       compile without Unicode support
2064   --enable-mslu           use MS Layer for Unicode on Windows 9x (Win32 only)
2065   --enable-utf8           use UTF-8 representation for strings (Unix only)
2066   --enable-utf8only       only support UTF-8 locales in UTF-8 build (Unix only)
2067   --enable-extended_rtti  use extended RTTI (XTI)
2068   --enable-omf            use OMF object format
2069   --disable-optimise      compile without optimisations
2070   --enable-profile        create code with profiling information
2071   --enable-no_rtti        create code without RTTI information
2072   --enable-no_exceptions  create code without C++ exceptions handling
2073   --enable-permissive     compile code disregarding strict ANSI
2074   --enable-no_deps        create code without dependency information
2075   --disable-vararg_macros don't use vararg macros, even if they are supported
2076   --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
2077   --enable-macosx_arch=ARCH  build for just the specified architecture
2078   --enable-compat26       enable wxWidgets 2.6 compatibility
2079   --disable-compat28      disable wxWidgets 2.8 compatibility
2080   --disable-rpath         disable use of rpath for uninstalled builds
2081   --enable-objc_uniquifying enable Objective-C class name uniquifying
2082   --disable-visibility    disable use of ELF symbols visibility even if supported
2083   --disable-tls           disable use of compiler TLS support
2084   --enable-intl           use internationalization system
2085   --enable-xlocale        use x-locale support (requires wxLocale)
2086   --enable-config         use wxConfig (and derived) classes
2087   --enable-protocols      use wxProtocol and derived classes
2088   --enable-ftp            use wxFTP (requires wxProtocol
2089   --enable-http           use wxHTTP (requires wxProtocol
2090   --enable-fileproto      use wxFileProto class (requires wxProtocol
2091   --enable-sockets        use socket/network classes
2092   --enable-ipv6           enable IPv6 support in wxSocket
2093   --enable-ole            use OLE classes (Win32 only)
2094   --enable-dataobj        use data object classes
2095   --enable-ipc            use interprocess communication (wxSocket etc.)
2096   --enable-baseevtloop    use event loop in console programs too
2097   --enable-epollloop      use wxEpollDispatcher class (Linux only)
2098   --enable-selectloop     use wxSelectDispatcher class
2099   --enable-any            use wxAny class
2100   --enable-apple_ieee     use the Apple IEEE codec
2101   --enable-arcstream      use wxArchive streams
2102   --enable-base64         use base64 encoding/decoding functions
2103   --enable-backtrace      use wxStackWalker class for getting backtraces
2104   --enable-catch_segvs    catch signals in wxApp::OnFatalException (Unix only)
2105   --enable-cmdline        use wxCmdLineParser class
2106   --enable-datetime       use wxDateTime class
2107   --enable-debugreport    use wxDebugReport class
2108   --enable-dialupman      use dialup network classes
2109   --enable-dynlib         use wxLibrary class for DLL loading
2110   --enable-dynamicloader  use (new) wxDynamicLibrary class
2111   --enable-exceptions     build exception-safe library
2112   --enable-ffile          use wxFFile class
2113   --enable-file           use wxFile class
2114   --enable-filehistory    use wxFileHistory class
2115   --enable-filesystem     use virtual file systems classes
2116   --enable-fontenum       use wxFontEnumerator class
2117   --enable-fontmap        use font encodings conversion classes
2118   --enable-fs_archive     use virtual archive filesystems
2119   --enable-fs_inet        use virtual HTTP/FTP filesystems
2120   --enable-fs_zip         now replaced by fs_archive
2121   --enable-fswatcher      use wxFileSystemWatcher class
2122   --enable-geometry       use geometry class
2123   --enable-log            use logging system
2124   --enable-longlong       use wxLongLong class
2125   --enable-mimetype       use wxMimeTypesManager
2126   --enable-printfposparam use wxVsnprintf() which supports positional parameters
2127   --enable-snglinst       use wxSingleInstanceChecker class
2128   --enable-sound          use wxSound class
2129   --enable-stdpaths       use wxStandardPaths class
2130   --enable-stopwatch      use wxStopWatch class
2131   --enable-streams        use wxStream etc classes
2132   --enable-sysoptions     use wxSystemOptions
2133   --enable-tarstream      use wxTar streams
2134   --enable-textbuf        use wxTextBuffer class
2135   --enable-textfile       use wxTextFile class
2136   --enable-timer          use wxTimer class
2137   --enable-variant        use wxVariant class
2138   --enable-zipstream      use wxZip streams
2139   --enable-url            use wxURL class
2140   --enable-protocol       use wxProtocol class
2141   --enable-protocol-http  HTTP support in wxProtocol
2142   --enable-protocol-ftp   FTP support in wxProtocol
2143   --enable-protocol-file  FILE support in wxProtocol
2144   --enable-threads        use threads
2145   --enable-iniconf        use wxIniConfig (Win32 only)
2146   --enable-regkey         use wxRegKey class (Win32 only)
2147   --enable-docview        use document view architecture
2148   --enable-help           use help subsystem
2149   --enable-mshtmlhelp     use MS HTML Help (win32)
2150   --enable-html           use wxHTML sub-library
2151   --enable-htmlhelp       use wxHTML-based help
2152   --enable-xrc            use XRC resources sub-library
2153   --enable-aui            use AUI docking library
2154   --enable-propgrid       use wxPropertyGrid library
2155   --enable-ribbon         use wxRibbon library
2156   --enable-stc            use wxStyledTextCtrl library
2157   --enable-constraints    use layout-constraints system
2158   --enable-loggui         use standard GUI logger
2159   --enable-logwin         use wxLogWindow
2160   --enable-logdialog      use wxLogDialog
2161   --enable-mdi            use multiple document interface architecture
2162   --enable-mdidoc         use docview architecture with MDI
2163   --enable-mediactrl      use wxMediaCtrl class
2164   --enable-gstreamer8     force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
2165   --enable-richtext       use wxRichTextCtrl
2166   --enable-postscript     use wxPostscriptDC device context (default for gtk+)
2167   --enable-printarch      use printing architecture
2168   --enable-svg            use wxSVGFileDC device context
2169   --enable-webkit         use wxWebKitCtrl (Mac-only, use wxWebView instead)
2170   --enable-webview        use wxWebView library
2171   --enable-graphics_ctx   use graphics context 2D drawing API
2172   --enable-clipboard      use wxClipboard class
2173   --enable-dnd            use Drag'n'Drop classes
2174   --disable-controls      disable compilation of all standard controls
2175   --enable-markup         support wxControl::SetLabelMarkup
2176   --enable-accel          use accelerators
2177   --enable-animatectrl    use wxAnimationCtrl class
2178   --enable-bannerwindow   use wxBannerWindow class
2179   --enable-artstd         use standard XPM icons in wxArtProvider
2180   --enable-arttango       use Tango icons in wxArtProvider
2181   --enable-bmpbutton      use wxBitmapButton class
2182   --enable-bmpcombobox    use wxBitmapComboBox class
2183   --enable-button         use wxButton class
2184   --enable-calendar       use wxCalendarCtrl class
2185   --enable-caret          use wxCaret class
2186   --enable-checkbox       use wxCheckBox class
2187   --enable-checklst       use wxCheckListBox (listbox with checkboxes) class
2188   --enable-choice         use wxChoice class
2189   --enable-choicebook     use wxChoicebook class
2190   --enable-collpane       use wxCollapsiblePane class
2191   --enable-colourpicker   use wxColourPickerCtrl class
2192   --enable-combobox       use wxComboBox class
2193   --enable-comboctrl      use wxComboCtrl class
2194   --enable-commandlinkbutton      use wxCommmandLinkButton class
2195   --enable-dataviewctrl   use wxDataViewCtrl class
2196   --enable-datepick       use wxDatePickerCtrl class
2197   --enable-detect_sm      use code to detect X11 session manager
2198   --enable-dirpicker      use wxDirPickerCtrl class
2199   --enable-display        use wxDisplay class
2200   --enable-editablebox    use wxEditableListBox class
2201   --enable-filectrl       use wxFileCtrl class
2202   --enable-filepicker     use wxFilePickerCtrl class
2203   --enable-fontpicker     use wxFontPickerCtrl class
2204   --enable-gauge          use wxGauge class
2205   --enable-grid           use wxGrid class
2206   --enable-headerctrl     use wxHeaderCtrl class
2207   --enable-hyperlink      use wxHyperlinkCtrl class
2208   --enable-imaglist       use wxImageList class
2209   --enable-infobar        use wxInfoBar class
2210   --enable-listbook       use wxListbook class
2211   --enable-listbox        use wxListBox class
2212   --enable-listctrl       use wxListCtrl class
2213   --enable-notebook       use wxNotebook class
2214   --enable-notifmsg       use wxNotificationMessage class
2215   --enable-odcombobox     use wxOwnerDrawnComboBox class
2216   --enable-popupwin       use wxPopUpWindow class
2217   --enable-radiobox       use wxRadioBox class
2218   --enable-radiobtn       use wxRadioButton class
2219   --enable-richmsgdlg     use wxRichMessageDialog class
2220   --enable-richtooltip    use wxRichToolTip class
2221   --enable-rearrangectrl  use wxRearrangeList/Ctrl/Dialog
2222   --enable-sash           use wxSashWindow class
2223   --enable-scrollbar      use wxScrollBar class and scrollable windows
2224   --enable-searchctrl     use wxSearchCtrl class
2225   --enable-slider         use wxSlider class
2226   --enable-spinbtn        use wxSpinButton class
2227   --enable-spinctrl       use wxSpinCtrl class
2228   --enable-splitter       use wxSplitterWindow class
2229   --enable-statbmp        use wxStaticBitmap class
2230   --enable-statbox        use wxStaticBox class
2231   --enable-statline       use wxStaticLine class
2232   --enable-stattext       use wxStaticText class
2233   --enable-statusbar      use wxStatusBar class
2234   --enable-taskbaricon    use wxTaskBarIcon class
2235   --enable-tbarnative     use native wxToolBar class
2236   --enable-textctrl       use wxTextCtrl class
2237   --enable-timepick       use wxTimePickerCtrl class
2238   --enable-tipwindow      use wxTipWindow class
2239   --enable-togglebtn      use wxToggleButton class
2240   --enable-toolbar        use wxToolBar class
2241   --enable-toolbook       use wxToolbook class
2242   --enable-treebook       use wxTreebook class
2243   --enable-treectrl       use wxTreeCtrl class
2244   --enable-treelist       use wxTreeListCtrl class
2245   --enable-commondlg      use all common dialogs
2246   --enable-aboutdlg       use wxAboutBox
2247   --enable-choicedlg      use wxChoiceDialog
2248   --enable-coldlg         use wxColourDialog
2249   --enable-filedlg        use wxFileDialog
2250   --enable-finddlg        use wxFindReplaceDialog
2251   --enable-fontdlg        use wxFontDialog
2252   --enable-dirdlg         use wxDirDialog
2253   --enable-msgdlg         use wxMessageDialog
2254   --enable-numberdlg      use wxNumberEntryDialog
2255   --enable-splash         use wxSplashScreen
2256   --enable-textdlg        use wxTextDialog
2257   --enable-tipdlg         use startup tips
2258   --enable-progressdlg    use wxProgressDialog
2259   --enable-wizarddlg      use wxWizard
2260   --enable-menus          use wxMenu/wxMenuBar/wxMenuItem classes
2261   --enable-miniframe      use wxMiniFrame class
2262   --enable-tooltips       use wxToolTip class
2263   --enable-splines        use spline drawing code
2264   --enable-mousewheel     use mousewheel
2265   --enable-validators     use wxValidator and derived classes
2266   --enable-busyinfo       use wxBusyInfo
2267   --enable-hotkey         use wxWindow::RegisterHotKey()
2268   --enable-joystick       use wxJoystick
2269   --enable-metafiles      use wxMetaFile
2270   --enable-dragimage      use wxDragImage
2271   --enable-accessibility  enable accessibility support
2272   --enable-uiactionsim    use wxUIActionSimulator (experimental)
2273   --enable-dctransform    use wxDC::SetTransformMatrix and related
2274   --enable-webview-webkit use wxWebView WebKit backend
2275   --enable-palette        use wxPalette class
2276   --enable-image          use wxImage class
2277   --enable-gif            use gif images (GIF file format)
2278   --enable-pcx            use pcx images (PCX file format)
2279   --enable-tga            use tga images (TGA file format)
2280   --enable-iff            use iff images (IFF file format)
2281   --enable-pnm            use pnm images (PNM file format)
2282   --enable-xpm            use xpm images (XPM file format)
2283   --enable-ico_cur        use Windows ICO and CUR formats
2284   --enable-dccache        cache temporary wxDC objects (Win32 only)
2285   --enable-ps-in-msw      use PS printing in wxMSW (Win32 only)
2286   --enable-ownerdrawn     use owner drawn controls (Win32 and OS/2 only)
2287   --enable-uxtheme        enable support for Windows XP themed look (Win32 only)
2288   --enable-wxdib          use wxDIB class (Win32 only)
2289   --enable-webview-ie     use wxWebView IE backend (Win32 only)
2290   --enable-autoidman      use automatic ids management
2291   --disable-largefile     omit support for large files
2292   --disable-gtktest       do not try to compile and run a test GTK+ program
2293   --disable-gtktest       Do not try to compile and run a test GTK program
2294   --disable-sdltest       Do not try to compile and run a test SDL program
2295   --enable-omf            use OMF object format (OS/2)
2296   --disable-dependency-tracking
2297                           don't use dependency tracking even if the compiler
2298                           can
2299   --disable-precomp-headers
2300                           don't use precompiled headers even if compiler can
2301
2302 Optional Packages:
2303   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
2304   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
2305   --without-subdirs       don't generate makefiles for samples/demos/...
2306   --with-flavour=NAME     specify a name to identify this build
2307   --with-themes=all|list  use only the specified comma-separated list of wxUniversal themes
2308   --with-gtk[=VERSION]    use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2309   --with-motif            use Motif/Lesstif
2310   --with-osx_carbon       use Mac OS X (Carbon)
2311   --with-osx_cocoa        use Mac OS X (Cocoa)
2312   --with-osx_iphone       use iPhone OS X port
2313   --with-osx              use Mac OS X (default port, currently Carbon)
2314   --with-carbon           same as --with-osx_carbon
2315   --with-cocoa            same as --with-osx_cocoa
2316   --with-iphone           same as --with-osx_iphone
2317   --with-mac              same as --with-osx
2318   --with-old_cocoa        use old, deprecated, Cocoa port
2319   --with-wine             use Wine
2320   --with-msw              use MS-Windows
2321   --with-pm               use OS/2 Presentation Manager
2322   --with-directfb         use DirectFB
2323   --with-microwin         use MicroWindows
2324   --with-x11              use X11
2325   --with-libpng           use libpng (PNG image format)
2326   --with-libjpeg          use libjpeg (JPEG file format)
2327   --with-libtiff          use libtiff (TIFF file format)
2328   --with-libxpm           use libxpm (XPM file format)
2329   --with-libiconv         use libiconv (character conversion)
2330   --with-libmspack        use libmspack (CHM help files loading)
2331   --without-gtkprint      don't use GTK printing support
2332   --without-gnomeprint    don't use GNOME printing libraries
2333   --with-gnomevfs         use GNOME VFS for associating MIME types
2334   --with-hildon           use Hildon framework for Nokia 770/800/810
2335   --with-opengl           use OpenGL (or Mesa)
2336   --with-dmalloc          use dmalloc library (http://dmalloc.com/)
2337   --with-sdl              use SDL for audio on Unix
2338   --with-regex            enable support for wxRegEx class
2339   --with-zlib             use zlib for LZW compression
2340   --with-expat            enable XML support using expat parser
2341   --with-macosx-sdk=PATH  use an OS X SDK at PATH
2342   --with-macosx-version-min=VER   build binaries which require at least this OS X version
2343   --with-gtk-prefix=PFX   Prefix where GTK is installed (optional)
2344   --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2345   --with-x                use the X Window System
2346   --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
2347   --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)
2348   --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2349   --with-cppunit-prefix=PFX   Prefix where CppUnit is installed (optional)
2350   --with-cppunit-exec-prefix=PFX  Exec prefix where CppUnit is installed (optional)
2351
2352 Some influential environment variables:
2353   CC          C compiler command
2354   CFLAGS      C compiler flags
2355   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
2356               nonstandard directory <lib dir>
2357   LIBS        libraries to pass to the linker, e.g. -l<library>
2358   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2359               you have headers in a nonstandard directory <include dir>
2360   CPP         C preprocessor
2361   CXX         C++ compiler command
2362   CXXFLAGS    C++ compiler flags
2363   CXXCPP      C++ preprocessor
2364   PKG_CONFIG  path to pkg-config utility
2365   DIRECTFB_CFLAGS
2366               C compiler flags for DIRECTFB, overriding pkg-config
2367   DIRECTFB_LIBS
2368               linker flags for DIRECTFB, overriding pkg-config
2369   XMKMF       Path to xmkmf, Makefile generator for X Window System
2370   PANGOX_CFLAGS
2371               C compiler flags for PANGOX, overriding pkg-config
2372   PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2373   PANGOFT2_CFLAGS
2374               C compiler flags for PANGOFT2, overriding pkg-config
2375   PANGOFT2_LIBS
2376               linker flags for PANGOFT2, overriding pkg-config
2377   PANGOXFT_CFLAGS
2378               C compiler flags for PANGOXFT, overriding pkg-config
2379   PANGOXFT_LIBS
2380               linker flags for PANGOXFT, overriding pkg-config
2381   Xinerama_CFLAGS
2382               C compiler flags for Xinerama, overriding pkg-config
2383   Xinerama_LIBS
2384               linker flags for Xinerama, overriding pkg-config
2385   Xxf86vm_CFLAGS
2386               C compiler flags for Xxf86vm, overriding pkg-config
2387   Xxf86vm_LIBS
2388               linker flags for Xxf86vm, overriding pkg-config
2389   SM_CFLAGS   C compiler flags for SM, overriding pkg-config
2390   SM_LIBS     linker flags for SM, overriding pkg-config
2391   GL_CFLAGS   C compiler flags for GL, overriding pkg-config
2392   GL_LIBS     linker flags for GL, overriding pkg-config
2393   GLU_CFLAGS  C compiler flags for GLU, overriding pkg-config
2394   GLU_LIBS    linker flags for GLU, overriding pkg-config
2395   MesaGL_CFLAGS
2396               C compiler flags for MesaGL, overriding pkg-config
2397   MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2398   GTKPRINT_CFLAGS
2399               C compiler flags for GTKPRINT, overriding pkg-config
2400   GTKPRINT_LIBS
2401               linker flags for GTKPRINT, overriding pkg-config
2402   LIBGNOMEPRINTUI_CFLAGS
2403               C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2404   LIBGNOMEPRINTUI_LIBS
2405               linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2406   GNOMEVFS_CFLAGS
2407               C compiler flags for GNOMEVFS, overriding pkg-config
2408   GNOMEVFS_LIBS
2409               linker flags for GNOMEVFS, overriding pkg-config
2410   HILDON_CFLAGS
2411               C compiler flags for HILDON, overriding pkg-config
2412   HILDON_LIBS linker flags for HILDON, overriding pkg-config
2413   HILDON2_CFLAGS
2414               C compiler flags for HILDON2, overriding pkg-config
2415   HILDON2_LIBS
2416               linker flags for HILDON2, overriding pkg-config
2417   WEBKIT_CFLAGS
2418               C compiler flags for WEBKIT, overriding pkg-config
2419   WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2420   CAIRO_CFLAGS
2421               C compiler flags for CAIRO, overriding pkg-config
2422   CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
2423   GST_CFLAGS  C compiler flags for GST, overriding pkg-config
2424   GST_LIBS    linker flags for GST, overriding pkg-config
2425
2426 Use these variables to override the choices made by `configure' or to help
2427 it to find libraries and programs with nonstandard names/locations.
2428
2429 Report bugs to <wx-dev@lists.wxwidgets.org>.
2430 _ACEOF
2431 ac_status=$?
2432 fi
2433
2434 if test "$ac_init_help" = "recursive"; then
2435   # If there are subdirs, report their specific --help.
2436   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2437     test -d "$ac_dir" ||
2438       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2439       continue
2440     ac_builddir=.
2441
2442 case "$ac_dir" in
2443 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2444 *)
2445   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2446   # A ".." for each directory in $ac_dir_suffix.
2447   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2448   case $ac_top_builddir_sub in
2449   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2450   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2451   esac ;;
2452 esac
2453 ac_abs_top_builddir=$ac_pwd
2454 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2455 # for backward compatibility:
2456 ac_top_builddir=$ac_top_build_prefix
2457
2458 case $srcdir in
2459   .)  # We are building in place.
2460     ac_srcdir=.
2461     ac_top_srcdir=$ac_top_builddir_sub
2462     ac_abs_top_srcdir=$ac_pwd ;;
2463   [\\/]* | ?:[\\/]* )  # Absolute name.
2464     ac_srcdir=$srcdir$ac_dir_suffix;
2465     ac_top_srcdir=$srcdir
2466     ac_abs_top_srcdir=$srcdir ;;
2467   *) # Relative name.
2468     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2469     ac_top_srcdir=$ac_top_build_prefix$srcdir
2470     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2471 esac
2472 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2473
2474     cd "$ac_dir" || { ac_status=$?; continue; }
2475     # Check for guested configure.
2476     if test -f "$ac_srcdir/configure.gnu"; then
2477       echo &&
2478       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2479     elif test -f "$ac_srcdir/configure"; then
2480       echo &&
2481       $SHELL "$ac_srcdir/configure" --help=recursive
2482     else
2483       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2484     fi || ac_status=$?
2485     cd "$ac_pwd" || { ac_status=$?; break; }
2486   done
2487 fi
2488
2489 test -n "$ac_init_help" && exit $ac_status
2490 if $ac_init_version; then
2491   cat <<\_ACEOF
2492 wxWidgets configure 2.9.5
2493 generated by GNU Autoconf 2.68
2494
2495 Copyright (C) 2010 Free Software Foundation, Inc.
2496 This configure script is free software; the Free Software Foundation
2497 gives unlimited permission to copy, distribute and modify it.
2498 _ACEOF
2499   exit
2500 fi
2501
2502 ## ------------------------ ##
2503 ## Autoconf initialization. ##
2504 ## ------------------------ ##
2505
2506 # ac_fn_c_try_compile LINENO
2507 # --------------------------
2508 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2509 ac_fn_c_try_compile ()
2510 {
2511   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2512   rm -f conftest.$ac_objext
2513   if { { ac_try="$ac_compile"
2514 case "(($ac_try" in
2515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2516   *) ac_try_echo=$ac_try;;
2517 esac
2518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2519 $as_echo "$ac_try_echo"; } >&5
2520   (eval "$ac_compile") 2>conftest.err
2521   ac_status=$?
2522   if test -s conftest.err; then
2523     grep -v '^ *+' conftest.err >conftest.er1
2524     cat conftest.er1 >&5
2525     mv -f conftest.er1 conftest.err
2526   fi
2527   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2528   test $ac_status = 0; } && {
2529          test -z "$ac_c_werror_flag" ||
2530          test ! -s conftest.err
2531        } && test -s conftest.$ac_objext; then :
2532   ac_retval=0
2533 else
2534   $as_echo "$as_me: failed program was:" >&5
2535 sed 's/^/| /' conftest.$ac_ext >&5
2536
2537         ac_retval=1
2538 fi
2539   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2540   as_fn_set_status $ac_retval
2541
2542 } # ac_fn_c_try_compile
2543
2544 # ac_fn_c_try_cpp LINENO
2545 # ----------------------
2546 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2547 ac_fn_c_try_cpp ()
2548 {
2549   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2550   if { { ac_try="$ac_cpp conftest.$ac_ext"
2551 case "(($ac_try" in
2552   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2553   *) ac_try_echo=$ac_try;;
2554 esac
2555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2556 $as_echo "$ac_try_echo"; } >&5
2557   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2558   ac_status=$?
2559   if test -s conftest.err; then
2560     grep -v '^ *+' conftest.err >conftest.er1
2561     cat conftest.er1 >&5
2562     mv -f conftest.er1 conftest.err
2563   fi
2564   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2565   test $ac_status = 0; } > conftest.i && {
2566          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2567          test ! -s conftest.err
2568        }; then :
2569   ac_retval=0
2570 else
2571   $as_echo "$as_me: failed program was:" >&5
2572 sed 's/^/| /' conftest.$ac_ext >&5
2573
2574     ac_retval=1
2575 fi
2576   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2577   as_fn_set_status $ac_retval
2578
2579 } # ac_fn_c_try_cpp
2580
2581 # ac_fn_cxx_try_compile LINENO
2582 # ----------------------------
2583 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2584 ac_fn_cxx_try_compile ()
2585 {
2586   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2587   rm -f conftest.$ac_objext
2588   if { { ac_try="$ac_compile"
2589 case "(($ac_try" in
2590   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2591   *) ac_try_echo=$ac_try;;
2592 esac
2593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2594 $as_echo "$ac_try_echo"; } >&5
2595   (eval "$ac_compile") 2>conftest.err
2596   ac_status=$?
2597   if test -s conftest.err; then
2598     grep -v '^ *+' conftest.err >conftest.er1
2599     cat conftest.er1 >&5
2600     mv -f conftest.er1 conftest.err
2601   fi
2602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2603   test $ac_status = 0; } && {
2604          test -z "$ac_cxx_werror_flag" ||
2605          test ! -s conftest.err
2606        } && test -s conftest.$ac_objext; then :
2607   ac_retval=0
2608 else
2609   $as_echo "$as_me: failed program was:" >&5
2610 sed 's/^/| /' conftest.$ac_ext >&5
2611
2612         ac_retval=1
2613 fi
2614   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2615   as_fn_set_status $ac_retval
2616
2617 } # ac_fn_cxx_try_compile
2618
2619 # ac_fn_c_try_link LINENO
2620 # -----------------------
2621 # Try to link conftest.$ac_ext, and return whether this succeeded.
2622 ac_fn_c_try_link ()
2623 {
2624   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2625   rm -f conftest.$ac_objext conftest$ac_exeext
2626   if { { ac_try="$ac_link"
2627 case "(($ac_try" in
2628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2629   *) ac_try_echo=$ac_try;;
2630 esac
2631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2632 $as_echo "$ac_try_echo"; } >&5
2633   (eval "$ac_link") 2>conftest.err
2634   ac_status=$?
2635   if test -s conftest.err; then
2636     grep -v '^ *+' conftest.err >conftest.er1
2637     cat conftest.er1 >&5
2638     mv -f conftest.er1 conftest.err
2639   fi
2640   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2641   test $ac_status = 0; } && {
2642          test -z "$ac_c_werror_flag" ||
2643          test ! -s conftest.err
2644        } && test -s conftest$ac_exeext && {
2645          test "$cross_compiling" = yes ||
2646          $as_test_x conftest$ac_exeext
2647        }; then :
2648   ac_retval=0
2649 else
2650   $as_echo "$as_me: failed program was:" >&5
2651 sed 's/^/| /' conftest.$ac_ext >&5
2652
2653         ac_retval=1
2654 fi
2655   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2656   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2657   # interfere with the next link command; also delete a directory that is
2658   # left behind by Apple's compiler.  We do this before executing the actions.
2659   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2660   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2661   as_fn_set_status $ac_retval
2662
2663 } # ac_fn_c_try_link
2664
2665 # ac_fn_cxx_try_link LINENO
2666 # -------------------------
2667 # Try to link conftest.$ac_ext, and return whether this succeeded.
2668 ac_fn_cxx_try_link ()
2669 {
2670   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2671   rm -f conftest.$ac_objext conftest$ac_exeext
2672   if { { ac_try="$ac_link"
2673 case "(($ac_try" in
2674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2675   *) ac_try_echo=$ac_try;;
2676 esac
2677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2678 $as_echo "$ac_try_echo"; } >&5
2679   (eval "$ac_link") 2>conftest.err
2680   ac_status=$?
2681   if test -s conftest.err; then
2682     grep -v '^ *+' conftest.err >conftest.er1
2683     cat conftest.er1 >&5
2684     mv -f conftest.er1 conftest.err
2685   fi
2686   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2687   test $ac_status = 0; } && {
2688          test -z "$ac_cxx_werror_flag" ||
2689          test ! -s conftest.err
2690        } && test -s conftest$ac_exeext && {
2691          test "$cross_compiling" = yes ||
2692          $as_test_x conftest$ac_exeext
2693        }; then :
2694   ac_retval=0
2695 else
2696   $as_echo "$as_me: failed program was:" >&5
2697 sed 's/^/| /' conftest.$ac_ext >&5
2698
2699         ac_retval=1
2700 fi
2701   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2702   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2703   # interfere with the next link command; also delete a directory that is
2704   # left behind by Apple's compiler.  We do this before executing the actions.
2705   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2706   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2707   as_fn_set_status $ac_retval
2708
2709 } # ac_fn_cxx_try_link
2710
2711 # ac_fn_c_try_run LINENO
2712 # ----------------------
2713 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2714 # that executables *can* be run.
2715 ac_fn_c_try_run ()
2716 {
2717   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2718   if { { ac_try="$ac_link"
2719 case "(($ac_try" in
2720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2721   *) ac_try_echo=$ac_try;;
2722 esac
2723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2724 $as_echo "$ac_try_echo"; } >&5
2725   (eval "$ac_link") 2>&5
2726   ac_status=$?
2727   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2728   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2729   { { case "(($ac_try" in
2730   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2731   *) ac_try_echo=$ac_try;;
2732 esac
2733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2734 $as_echo "$ac_try_echo"; } >&5
2735   (eval "$ac_try") 2>&5
2736   ac_status=$?
2737   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2738   test $ac_status = 0; }; }; then :
2739   ac_retval=0
2740 else
2741   $as_echo "$as_me: program exited with status $ac_status" >&5
2742        $as_echo "$as_me: failed program was:" >&5
2743 sed 's/^/| /' conftest.$ac_ext >&5
2744
2745        ac_retval=$ac_status
2746 fi
2747   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2748   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2749   as_fn_set_status $ac_retval
2750
2751 } # ac_fn_c_try_run
2752
2753 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2754 # -------------------------------------------------------
2755 # Tests whether HEADER exists and can be compiled using the include files in
2756 # INCLUDES, setting the cache variable VAR accordingly.
2757 ac_fn_c_check_header_compile ()
2758 {
2759   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2760   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2761 $as_echo_n "checking for $2... " >&6; }
2762 if eval \${$3+:} false; then :
2763   $as_echo_n "(cached) " >&6
2764 else
2765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2766 /* end confdefs.h.  */
2767 $4
2768 #include <$2>
2769 _ACEOF
2770 if ac_fn_c_try_compile "$LINENO"; then :
2771   eval "$3=yes"
2772 else
2773   eval "$3=no"
2774 fi
2775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2776 fi
2777 eval ac_res=\$$3
2778                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2779 $as_echo "$ac_res" >&6; }
2780   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2781
2782 } # ac_fn_c_check_header_compile
2783
2784 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2785 # --------------------------------------------
2786 # Tries to find the compile-time value of EXPR in a program that includes
2787 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2788 # computed
2789 ac_fn_c_compute_int ()
2790 {
2791   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2792   if test "$cross_compiling" = yes; then
2793     # Depending upon the size, compute the lo and hi bounds.
2794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2795 /* end confdefs.h.  */
2796 $4
2797 int
2798 main ()
2799 {
2800 static int test_array [1 - 2 * !(($2) >= 0)];
2801 test_array [0] = 0
2802
2803   ;
2804   return 0;
2805 }
2806 _ACEOF
2807 if ac_fn_c_try_compile "$LINENO"; then :
2808   ac_lo=0 ac_mid=0
2809   while :; do
2810     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2811 /* end confdefs.h.  */
2812 $4
2813 int
2814 main ()
2815 {
2816 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2817 test_array [0] = 0
2818
2819   ;
2820   return 0;
2821 }
2822 _ACEOF
2823 if ac_fn_c_try_compile "$LINENO"; then :
2824   ac_hi=$ac_mid; break
2825 else
2826   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2827                         if test $ac_lo -le $ac_mid; then
2828                           ac_lo= ac_hi=
2829                           break
2830                         fi
2831                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2832 fi
2833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2834   done
2835 else
2836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2837 /* end confdefs.h.  */
2838 $4
2839 int
2840 main ()
2841 {
2842 static int test_array [1 - 2 * !(($2) < 0)];
2843 test_array [0] = 0
2844
2845   ;
2846   return 0;
2847 }
2848 _ACEOF
2849 if ac_fn_c_try_compile "$LINENO"; then :
2850   ac_hi=-1 ac_mid=-1
2851   while :; do
2852     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2853 /* end confdefs.h.  */
2854 $4
2855 int
2856 main ()
2857 {
2858 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2859 test_array [0] = 0
2860
2861   ;
2862   return 0;
2863 }
2864 _ACEOF
2865 if ac_fn_c_try_compile "$LINENO"; then :
2866   ac_lo=$ac_mid; break
2867 else
2868   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2869                         if test $ac_mid -le $ac_hi; then
2870                           ac_lo= ac_hi=
2871                           break
2872                         fi
2873                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2874 fi
2875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2876   done
2877 else
2878   ac_lo= ac_hi=
2879 fi
2880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2881 fi
2882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2883 # Binary search between lo and hi bounds.
2884 while test "x$ac_lo" != "x$ac_hi"; do
2885   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h.  */
2888 $4
2889 int
2890 main ()
2891 {
2892 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2893 test_array [0] = 0
2894
2895   ;
2896   return 0;
2897 }
2898 _ACEOF
2899 if ac_fn_c_try_compile "$LINENO"; then :
2900   ac_hi=$ac_mid
2901 else
2902   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2903 fi
2904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2905 done
2906 case $ac_lo in #((
2907 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2908 '') ac_retval=1 ;;
2909 esac
2910   else
2911     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2912 /* end confdefs.h.  */
2913 $4
2914 static long int longval () { return $2; }
2915 static unsigned long int ulongval () { return $2; }
2916 #include <stdio.h>
2917 #include <stdlib.h>
2918 int
2919 main ()
2920 {
2921
2922   FILE *f = fopen ("conftest.val", "w");
2923   if (! f)
2924     return 1;
2925   if (($2) < 0)
2926     {
2927       long int i = longval ();
2928       if (i != ($2))
2929         return 1;
2930       fprintf (f, "%ld", i);
2931     }
2932   else
2933     {
2934       unsigned long int i = ulongval ();
2935       if (i != ($2))
2936         return 1;
2937       fprintf (f, "%lu", i);
2938     }
2939   /* Do not output a trailing newline, as this causes \r\n confusion
2940      on some platforms.  */
2941   return ferror (f) || fclose (f) != 0;
2942
2943   ;
2944   return 0;
2945 }
2946 _ACEOF
2947 if ac_fn_c_try_run "$LINENO"; then :
2948   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2949 else
2950   ac_retval=1
2951 fi
2952 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2953   conftest.$ac_objext conftest.beam conftest.$ac_ext
2954 rm -f conftest.val
2955
2956   fi
2957   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2958   as_fn_set_status $ac_retval
2959
2960 } # ac_fn_c_compute_int
2961
2962 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2963 # ---------------------------------------------------------
2964 # Tests whether HEADER exists and can be compiled using the include files in
2965 # INCLUDES, setting the cache variable VAR accordingly.
2966 ac_fn_cxx_check_header_compile ()
2967 {
2968   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2970 $as_echo_n "checking for $2... " >&6; }
2971 if eval \${$3+:} false; then :
2972   $as_echo_n "(cached) " >&6
2973 else
2974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2975 /* end confdefs.h.  */
2976 $4
2977 #include <$2>
2978 _ACEOF
2979 if ac_fn_cxx_try_compile "$LINENO"; then :
2980   eval "$3=yes"
2981 else
2982   eval "$3=no"
2983 fi
2984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2985 fi
2986 eval ac_res=\$$3
2987                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2988 $as_echo "$ac_res" >&6; }
2989   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2990
2991 } # ac_fn_cxx_check_header_compile
2992
2993 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2994 # ---------------------------------------------
2995 # Tests whether TYPE exists after having included INCLUDES, setting cache
2996 # variable VAR accordingly.
2997 ac_fn_cxx_check_type ()
2998 {
2999   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3001 $as_echo_n "checking for $2... " >&6; }
3002 if eval \${$3+:} false; then :
3003   $as_echo_n "(cached) " >&6
3004 else
3005   eval "$3=no"
3006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3007 /* end confdefs.h.  */
3008 $4
3009 int
3010 main ()
3011 {
3012 if (sizeof ($2))
3013          return 0;
3014   ;
3015   return 0;
3016 }
3017 _ACEOF
3018 if ac_fn_cxx_try_compile "$LINENO"; then :
3019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3020 /* end confdefs.h.  */
3021 $4
3022 int
3023 main ()
3024 {
3025 if (sizeof (($2)))
3026             return 0;
3027   ;
3028   return 0;
3029 }
3030 _ACEOF
3031 if ac_fn_cxx_try_compile "$LINENO"; then :
3032
3033 else
3034   eval "$3=yes"
3035 fi
3036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3037 fi
3038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3039 fi
3040 eval ac_res=\$$3
3041                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3042 $as_echo "$ac_res" >&6; }
3043   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3044
3045 } # ac_fn_cxx_check_type
3046
3047 # ac_fn_cxx_try_cpp LINENO
3048 # ------------------------
3049 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3050 ac_fn_cxx_try_cpp ()
3051 {
3052   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3053   if { { ac_try="$ac_cpp conftest.$ac_ext"
3054 case "(($ac_try" in
3055   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3056   *) ac_try_echo=$ac_try;;
3057 esac
3058 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3059 $as_echo "$ac_try_echo"; } >&5
3060   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3061   ac_status=$?
3062   if test -s conftest.err; then
3063     grep -v '^ *+' conftest.err >conftest.er1
3064     cat conftest.er1 >&5
3065     mv -f conftest.er1 conftest.err
3066   fi
3067   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3068   test $ac_status = 0; } > conftest.i && {
3069          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3070          test ! -s conftest.err
3071        }; then :
3072   ac_retval=0
3073 else
3074   $as_echo "$as_me: failed program was:" >&5
3075 sed 's/^/| /' conftest.$ac_ext >&5
3076
3077     ac_retval=1
3078 fi
3079   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3080   as_fn_set_status $ac_retval
3081
3082 } # ac_fn_cxx_try_cpp
3083
3084 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3085 # ---------------------------------------------------------
3086 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3087 # the include files in INCLUDES and setting the cache variable VAR
3088 # accordingly.
3089 ac_fn_cxx_check_header_mongrel ()
3090 {
3091   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3092   if eval \${$3+:} false; then :
3093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3094 $as_echo_n "checking for $2... " >&6; }
3095 if eval \${$3+:} false; then :
3096   $as_echo_n "(cached) " >&6
3097 fi
3098 eval ac_res=\$$3
3099                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3100 $as_echo "$ac_res" >&6; }
3101 else
3102   # Is the header compilable?
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3104 $as_echo_n "checking $2 usability... " >&6; }
3105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3106 /* end confdefs.h.  */
3107 $4
3108 #include <$2>
3109 _ACEOF
3110 if ac_fn_cxx_try_compile "$LINENO"; then :
3111   ac_header_compiler=yes
3112 else
3113   ac_header_compiler=no
3114 fi
3115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3117 $as_echo "$ac_header_compiler" >&6; }
3118
3119 # Is the header present?
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3121 $as_echo_n "checking $2 presence... " >&6; }
3122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3123 /* end confdefs.h.  */
3124 #include <$2>
3125 _ACEOF
3126 if ac_fn_cxx_try_cpp "$LINENO"; then :
3127   ac_header_preproc=yes
3128 else
3129   ac_header_preproc=no
3130 fi
3131 rm -f conftest.err conftest.i conftest.$ac_ext
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3133 $as_echo "$ac_header_preproc" >&6; }
3134
3135 # So?  What about this header?
3136 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3137   yes:no: )
3138     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3139 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3140     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3141 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3142     ;;
3143   no:yes:* )
3144     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3145 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3146     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
3147 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
3148     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3149 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3150     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
3151 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
3152     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3153 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3154 ( $as_echo "## ----------------------------------------- ##
3155 ## Report this to wx-dev@lists.wxwidgets.org ##
3156 ## ----------------------------------------- ##"
3157      ) | sed "s/^/$as_me: WARNING:     /" >&2
3158     ;;
3159 esac
3160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3161 $as_echo_n "checking for $2... " >&6; }
3162 if eval \${$3+:} false; then :
3163   $as_echo_n "(cached) " >&6
3164 else
3165   eval "$3=\$ac_header_compiler"
3166 fi
3167 eval ac_res=\$$3
3168                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3169 $as_echo "$ac_res" >&6; }
3170 fi
3171   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3172
3173 } # ac_fn_cxx_check_header_mongrel
3174
3175 # ac_fn_c_check_func LINENO FUNC VAR
3176 # ----------------------------------
3177 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3178 ac_fn_c_check_func ()
3179 {
3180   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3182 $as_echo_n "checking for $2... " >&6; }
3183 if eval \${$3+:} false; then :
3184   $as_echo_n "(cached) " >&6
3185 else
3186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3187 /* end confdefs.h.  */
3188 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3189    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3190 #define $2 innocuous_$2
3191
3192 /* System header to define __stub macros and hopefully few prototypes,
3193     which can conflict with char $2 (); below.
3194     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3195     <limits.h> exists even on freestanding compilers.  */
3196
3197 #ifdef __STDC__
3198 # include <limits.h>
3199 #else
3200 # include <assert.h>
3201 #endif
3202
3203 #undef $2
3204
3205 /* Override any GCC internal prototype to avoid an error.
3206    Use char because int might match the return type of a GCC
3207    builtin and then its argument prototype would still apply.  */
3208 #ifdef __cplusplus
3209 extern "C"
3210 #endif
3211 char $2 ();
3212 /* The GNU C library defines this for functions which it implements
3213     to always fail with ENOSYS.  Some functions are actually named
3214     something starting with __ and the normal name is an alias.  */
3215 #if defined __stub_$2 || defined __stub___$2
3216 choke me
3217 #endif
3218
3219 int
3220 main ()
3221 {
3222 return $2 ();
3223   ;
3224   return 0;
3225 }
3226 _ACEOF
3227 if ac_fn_c_try_link "$LINENO"; then :
3228   eval "$3=yes"
3229 else
3230   eval "$3=no"
3231 fi
3232 rm -f core conftest.err conftest.$ac_objext \
3233     conftest$ac_exeext conftest.$ac_ext
3234 fi
3235 eval ac_res=\$$3
3236                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3237 $as_echo "$ac_res" >&6; }
3238   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3239
3240 } # ac_fn_c_check_func
3241
3242 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3243 # -------------------------------------------
3244 # Tests whether TYPE exists after having included INCLUDES, setting cache
3245 # variable VAR accordingly.
3246 ac_fn_c_check_type ()
3247 {
3248   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3250 $as_echo_n "checking for $2... " >&6; }
3251 if eval \${$3+:} false; then :
3252   $as_echo_n "(cached) " >&6
3253 else
3254   eval "$3=no"
3255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3256 /* end confdefs.h.  */
3257 $4
3258 int
3259 main ()
3260 {
3261 if (sizeof ($2))
3262          return 0;
3263   ;
3264   return 0;
3265 }
3266 _ACEOF
3267 if ac_fn_c_try_compile "$LINENO"; then :
3268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3269 /* end confdefs.h.  */
3270 $4
3271 int
3272 main ()
3273 {
3274 if (sizeof (($2)))
3275             return 0;
3276   ;
3277   return 0;
3278 }
3279 _ACEOF
3280 if ac_fn_c_try_compile "$LINENO"; then :
3281
3282 else
3283   eval "$3=yes"
3284 fi
3285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3286 fi
3287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3288 fi
3289 eval ac_res=\$$3
3290                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3291 $as_echo "$ac_res" >&6; }
3292   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3293
3294 } # ac_fn_c_check_type
3295
3296 # ac_fn_cxx_try_run LINENO
3297 # ------------------------
3298 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3299 # that executables *can* be run.
3300 ac_fn_cxx_try_run ()
3301 {
3302   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3303   if { { ac_try="$ac_link"
3304 case "(($ac_try" in
3305   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3306   *) ac_try_echo=$ac_try;;
3307 esac
3308 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3309 $as_echo "$ac_try_echo"; } >&5
3310   (eval "$ac_link") 2>&5
3311   ac_status=$?
3312   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3313   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3314   { { case "(($ac_try" in
3315   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3316   *) ac_try_echo=$ac_try;;
3317 esac
3318 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3319 $as_echo "$ac_try_echo"; } >&5
3320   (eval "$ac_try") 2>&5
3321   ac_status=$?
3322   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3323   test $ac_status = 0; }; }; then :
3324   ac_retval=0
3325 else
3326   $as_echo "$as_me: program exited with status $ac_status" >&5
3327        $as_echo "$as_me: failed program was:" >&5
3328 sed 's/^/| /' conftest.$ac_ext >&5
3329
3330        ac_retval=$ac_status
3331 fi
3332   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3333   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3334   as_fn_set_status $ac_retval
3335
3336 } # ac_fn_cxx_try_run
3337 cat >config.log <<_ACEOF
3338 This file contains any messages produced by compilers while
3339 running configure, to aid debugging if configure makes a mistake.
3340
3341 It was created by wxWidgets $as_me 2.9.5, which was
3342 generated by GNU Autoconf 2.68.  Invocation command line was
3343
3344   $ $0 $@
3345
3346 _ACEOF
3347 exec 5>>config.log
3348 {
3349 cat <<_ASUNAME
3350 ## --------- ##
3351 ## Platform. ##
3352 ## --------- ##
3353
3354 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3355 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3356 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3357 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3358 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3359
3360 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3361 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
3362
3363 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
3364 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
3365 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3366 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
3367 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
3368 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
3369 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
3370
3371 _ASUNAME
3372
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374 for as_dir in $PATH
3375 do
3376   IFS=$as_save_IFS
3377   test -z "$as_dir" && as_dir=.
3378     $as_echo "PATH: $as_dir"
3379   done
3380 IFS=$as_save_IFS
3381
3382 } >&5
3383
3384 cat >&5 <<_ACEOF
3385
3386
3387 ## ----------- ##
3388 ## Core tests. ##
3389 ## ----------- ##
3390
3391 _ACEOF
3392
3393
3394 # Keep a trace of the command line.
3395 # Strip out --no-create and --no-recursion so they do not pile up.
3396 # Strip out --silent because we don't want to record it for future runs.
3397 # Also quote any args containing shell meta-characters.
3398 # Make two passes to allow for proper duplicate-argument suppression.
3399 ac_configure_args=
3400 ac_configure_args0=
3401 ac_configure_args1=
3402 ac_must_keep_next=false
3403 for ac_pass in 1 2
3404 do
3405   for ac_arg
3406   do
3407     case $ac_arg in
3408     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3409     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3410     | -silent | --silent | --silen | --sile | --sil)
3411       continue ;;
3412     *\'*)
3413       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3414     esac
3415     case $ac_pass in
3416     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3417     2)
3418       as_fn_append ac_configure_args1 " '$ac_arg'"
3419       if test $ac_must_keep_next = true; then
3420         ac_must_keep_next=false # Got value, back to normal.
3421       else
3422         case $ac_arg in
3423           *=* | --config-cache | -C | -disable-* | --disable-* \
3424           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3425           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3426           | -with-* | --with-* | -without-* | --without-* | --x)
3427             case "$ac_configure_args0 " in
3428               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3429             esac
3430             ;;
3431           -* ) ac_must_keep_next=true ;;
3432         esac
3433       fi
3434       as_fn_append ac_configure_args " '$ac_arg'"
3435       ;;
3436     esac
3437   done
3438 done
3439 { ac_configure_args0=; unset ac_configure_args0;}
3440 { ac_configure_args1=; unset ac_configure_args1;}
3441
3442 # When interrupted or exit'd, cleanup temporary files, and complete
3443 # config.log.  We remove comments because anyway the quotes in there
3444 # would cause problems or look ugly.
3445 # WARNING: Use '\'' to represent an apostrophe within the trap.
3446 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3447 trap 'exit_status=$?
3448   # Save into config.log some information that might help in debugging.
3449   {
3450     echo
3451
3452     $as_echo "## ---------------- ##
3453 ## Cache variables. ##
3454 ## ---------------- ##"
3455     echo
3456     # The following way of writing the cache mishandles newlines in values,
3457 (
3458   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3459     eval ac_val=\$$ac_var
3460     case $ac_val in #(
3461     *${as_nl}*)
3462       case $ac_var in #(
3463       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3464 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3465       esac
3466       case $ac_var in #(
3467       _ | IFS | as_nl) ;; #(
3468       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3469       *) { eval $ac_var=; unset $ac_var;} ;;
3470       esac ;;
3471     esac
3472   done
3473   (set) 2>&1 |
3474     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3475     *${as_nl}ac_space=\ *)
3476       sed -n \
3477         "s/'\''/'\''\\\\'\'''\''/g;
3478           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3479       ;; #(
3480     *)
3481       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3482       ;;
3483     esac |
3484     sort
3485 )
3486     echo
3487
3488     $as_echo "## ----------------- ##
3489 ## Output variables. ##
3490 ## ----------------- ##"
3491     echo
3492     for ac_var in $ac_subst_vars
3493     do
3494       eval ac_val=\$$ac_var
3495       case $ac_val in
3496       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3497       esac
3498       $as_echo "$ac_var='\''$ac_val'\''"
3499     done | sort
3500     echo
3501
3502     if test -n "$ac_subst_files"; then
3503       $as_echo "## ------------------- ##
3504 ## File substitutions. ##
3505 ## ------------------- ##"
3506       echo
3507       for ac_var in $ac_subst_files
3508       do
3509         eval ac_val=\$$ac_var
3510         case $ac_val in
3511         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3512         esac
3513         $as_echo "$ac_var='\''$ac_val'\''"
3514       done | sort
3515       echo
3516     fi
3517
3518     if test -s confdefs.h; then
3519       $as_echo "## ----------- ##
3520 ## confdefs.h. ##
3521 ## ----------- ##"
3522       echo
3523       cat confdefs.h
3524       echo
3525     fi
3526     test "$ac_signal" != 0 &&
3527       $as_echo "$as_me: caught signal $ac_signal"
3528     $as_echo "$as_me: exit $exit_status"
3529   } >&5
3530   rm -f core *.core core.conftest.* &&
3531     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3532     exit $exit_status
3533 ' 0
3534 for ac_signal in 1 2 13 15; do
3535   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3536 done
3537 ac_signal=0
3538
3539 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3540 rm -f -r conftest* confdefs.h
3541
3542 $as_echo "/* confdefs.h */" > confdefs.h
3543
3544 # Predefined preprocessor variables.
3545
3546 cat >>confdefs.h <<_ACEOF
3547 #define PACKAGE_NAME "$PACKAGE_NAME"
3548 _ACEOF
3549
3550 cat >>confdefs.h <<_ACEOF
3551 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3552 _ACEOF
3553
3554 cat >>confdefs.h <<_ACEOF
3555 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3556 _ACEOF
3557
3558 cat >>confdefs.h <<_ACEOF
3559 #define PACKAGE_STRING "$PACKAGE_STRING"
3560 _ACEOF
3561
3562 cat >>confdefs.h <<_ACEOF
3563 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3564 _ACEOF
3565
3566 cat >>confdefs.h <<_ACEOF
3567 #define PACKAGE_URL "$PACKAGE_URL"
3568 _ACEOF
3569
3570
3571 # Let the site file select an alternate cache file if it wants to.
3572 # Prefer an explicitly selected file to automatically selected ones.
3573 ac_site_file1=NONE
3574 ac_site_file2=NONE
3575 if test -n "$CONFIG_SITE"; then
3576   # We do not want a PATH search for config.site.
3577   case $CONFIG_SITE in #((
3578     -*)  ac_site_file1=./$CONFIG_SITE;;
3579     */*) ac_site_file1=$CONFIG_SITE;;
3580     *)   ac_site_file1=./$CONFIG_SITE;;
3581   esac
3582 elif test "x$prefix" != xNONE; then
3583   ac_site_file1=$prefix/share/config.site
3584   ac_site_file2=$prefix/etc/config.site
3585 else
3586   ac_site_file1=$ac_default_prefix/share/config.site
3587   ac_site_file2=$ac_default_prefix/etc/config.site
3588 fi
3589 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3590 do
3591   test "x$ac_site_file" = xNONE && continue
3592   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3593     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3594 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3595     sed 's/^/| /' "$ac_site_file" >&5
3596     . "$ac_site_file" \
3597       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3599 as_fn_error $? "failed to load site script $ac_site_file
3600 See \`config.log' for more details" "$LINENO" 5; }
3601   fi
3602 done
3603
3604 if test -r "$cache_file"; then
3605   # Some versions of bash will fail to source /dev/null (special files
3606   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3607   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3608     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3609 $as_echo "$as_me: loading cache $cache_file" >&6;}
3610     case $cache_file in
3611       [\\/]* | ?:[\\/]* ) . "$cache_file";;
3612       *)                      . "./$cache_file";;
3613     esac
3614   fi
3615 else
3616   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3617 $as_echo "$as_me: creating cache $cache_file" >&6;}
3618   >$cache_file
3619 fi
3620
3621 # Check that the precious variables saved in the cache have kept the same
3622 # value.
3623 ac_cache_corrupted=false
3624 for ac_var in $ac_precious_vars; do
3625   eval ac_old_set=\$ac_cv_env_${ac_var}_set
3626   eval ac_new_set=\$ac_env_${ac_var}_set
3627   eval ac_old_val=\$ac_cv_env_${ac_var}_value
3628   eval ac_new_val=\$ac_env_${ac_var}_value
3629   case $ac_old_set,$ac_new_set in
3630     set,)
3631       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3632 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3633       ac_cache_corrupted=: ;;
3634     ,set)
3635       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3636 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3637       ac_cache_corrupted=: ;;
3638     ,);;
3639     *)
3640       if test "x$ac_old_val" != "x$ac_new_val"; then
3641         # differences in whitespace do not lead to failure.
3642         ac_old_val_w=`echo x $ac_old_val`
3643         ac_new_val_w=`echo x $ac_new_val`
3644         if test "$ac_old_val_w" != "$ac_new_val_w"; then
3645           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3646 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3647           ac_cache_corrupted=:
3648         else
3649           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3650 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3651           eval $ac_var=\$ac_old_val
3652         fi
3653         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3654 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3655         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3656 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3657       fi;;
3658   esac
3659   # Pass precious variables to config.status.
3660   if test "$ac_new_set" = set; then
3661     case $ac_new_val in
3662     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3663     *) ac_arg=$ac_var=$ac_new_val ;;
3664     esac
3665     case " $ac_configure_args " in
3666       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3667       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3668     esac
3669   fi
3670 done
3671 if $ac_cache_corrupted; then
3672   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3674   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3675 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3676   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3677 fi
3678 ## -------------------- ##
3679 ## Main body of script. ##
3680 ## -------------------- ##
3681
3682 ac_ext=c
3683 ac_cpp='$CPP $CPPFLAGS'
3684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3687
3688
3689
3690
3691
3692 ac_aux_dir=
3693 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3694   if test -f "$ac_dir/install-sh"; then
3695     ac_aux_dir=$ac_dir
3696     ac_install_sh="$ac_aux_dir/install-sh -c"
3697     break
3698   elif test -f "$ac_dir/install.sh"; then
3699     ac_aux_dir=$ac_dir
3700     ac_install_sh="$ac_aux_dir/install.sh -c"
3701     break
3702   elif test -f "$ac_dir/shtool"; then
3703     ac_aux_dir=$ac_dir
3704     ac_install_sh="$ac_aux_dir/shtool install -c"
3705     break
3706   fi
3707 done
3708 if test -z "$ac_aux_dir"; then
3709   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3710 fi
3711
3712 # These three variables are undocumented and unsupported,
3713 # and are intended to be withdrawn in a future Autoconf release.
3714 # They can cause serious problems if a builder's source tree is in a directory
3715 # whose full name contains unusual characters.
3716 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3717 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3718 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3719
3720
3721 # Make sure we can run config.sub.
3722 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3723   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3724
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3726 $as_echo_n "checking build system type... " >&6; }
3727 if ${ac_cv_build+:} false; then :
3728   $as_echo_n "(cached) " >&6
3729 else
3730   ac_build_alias=$build_alias
3731 test "x$ac_build_alias" = x &&
3732   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3733 test "x$ac_build_alias" = x &&
3734   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3735 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3736   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3737
3738 fi
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3740 $as_echo "$ac_cv_build" >&6; }
3741 case $ac_cv_build in
3742 *-*-*) ;;
3743 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3744 esac
3745 build=$ac_cv_build
3746 ac_save_IFS=$IFS; IFS='-'
3747 set x $ac_cv_build
3748 shift
3749 build_cpu=$1
3750 build_vendor=$2
3751 shift; shift
3752 # Remember, the first character of IFS is used to create $*,
3753 # except with old shells:
3754 build_os=$*
3755 IFS=$ac_save_IFS
3756 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3757
3758
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3760 $as_echo_n "checking host system type... " >&6; }
3761 if ${ac_cv_host+:} false; then :
3762   $as_echo_n "(cached) " >&6
3763 else
3764   if test "x$host_alias" = x; then
3765   ac_cv_host=$ac_cv_build
3766 else
3767   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3768     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3769 fi
3770
3771 fi
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3773 $as_echo "$ac_cv_host" >&6; }
3774 case $ac_cv_host in
3775 *-*-*) ;;
3776 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3777 esac
3778 host=$ac_cv_host
3779 ac_save_IFS=$IFS; IFS='-'
3780 set x $ac_cv_host
3781 shift
3782 host_cpu=$1
3783 host_vendor=$2
3784 shift; shift
3785 # Remember, the first character of IFS is used to create $*,
3786 # except with old shells:
3787 host_os=$*
3788 IFS=$ac_save_IFS
3789 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3790
3791
3792
3793 if test "$cross_compiling" != "no"; then
3794     HOST_PREFIX="${host_alias}-"
3795     HOST_SUFFIX="-$host_alias"
3796 else
3797     HOST_PREFIX=
3798     HOST_SUFFIX=
3799 fi
3800
3801
3802 wx_major_version_number=2
3803 wx_minor_version_number=9
3804 wx_release_number=5
3805 wx_subrelease_number=0
3806
3807 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
3808 WX_VERSION=$WX_RELEASE.$wx_release_number
3809 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
3810
3811 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
3812
3813
3814 wx_top_builddir="`pwd`"
3815
3816
3817
3818
3819 USE_UNIX=1
3820 USE_OS2=0
3821 USE_WIN32=0
3822 USE_DOS=0
3823 USE_BEOS=0
3824 USE_MAC=0
3825
3826 USE_AIX=
3827 USE_BSD=                            USE_DARWIN=                         USE_FREEBSD=
3828 USE_GNU=                            USE_HPUX=
3829 USE_LINUX=
3830 USE_NETBSD=
3831 USE_OPENBSD=
3832 USE_OSF=                            USE_SGI=
3833 USE_SOLARIS=                        USE_SUN=                            USE_SUNOS=                          USE_SVR4=                           USE_SYSV=                           USE_VMS=
3834 USE_ULTRIX=
3835 USE_UNIXWARE=
3836
3837 USE_ALPHA=
3838
3839 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
3840
3841 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3842
3843 DEFAULT_wxUSE_OLD_COCOA=0
3844 DEFAULT_wxUSE_GTK=0
3845 DEFAULT_wxUSE_OSX_CARBON=0
3846 DEFAULT_wxUSE_OSX_COCOA=0
3847 DEFAULT_wxUSE_OSX_IPHONE=0
3848 DEFAULT_wxUSE_MICROWIN=0
3849 DEFAULT_wxUSE_MOTIF=0
3850 DEFAULT_wxUSE_MSW=0
3851 DEFAULT_wxUSE_PM=0
3852 DEFAULT_wxUSE_X11=0
3853 DEFAULT_wxUSE_DFB=0
3854
3855 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
3856 DEFAULT_DEFAULT_wxUSE_GTK=0
3857 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
3858 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
3859 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
3860 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
3861 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3862 DEFAULT_DEFAULT_wxUSE_MSW=0
3863 DEFAULT_DEFAULT_wxUSE_PM=0
3864 DEFAULT_DEFAULT_wxUSE_X11=0
3865 DEFAULT_DEFAULT_wxUSE_DFB=0
3866
3867 PROGRAM_EXT=
3868 SAMPLES_RPATH_FLAG=
3869 DYLIB_RPATH_INSTALL=
3870 DYLIB_RPATH_POSTLINK=
3871
3872 DEFAULT_STD_FLAG=yes
3873
3874 case "${host}" in
3875   *-hp-hpux* )
3876     USE_HPUX=1
3877     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3878     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3879     $as_echo "#define __HPUX__ 1" >>confdefs.h
3880
3881
3882             CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
3883   ;;
3884   *-*-linux* )
3885     USE_LINUX=1
3886     $as_echo "#define __LINUX__ 1" >>confdefs.h
3887
3888     TMP=`uname -m`
3889     if test "x$TMP" = "xalpha"; then
3890       USE_ALPHA=1
3891       $as_echo "#define __ALPHA__ 1" >>confdefs.h
3892
3893     fi
3894     DEFAULT_DEFAULT_wxUSE_GTK=1
3895   ;;
3896   *-*-gnu* | *-*-k*bsd*-gnu )
3897     USE_GNU=1
3898     TMP=`uname -m`
3899     if test "x$TMP" = "xalpha"; then
3900       USE_ALPHA=1
3901       $as_echo "#define __ALPHA__ 1" >>confdefs.h
3902
3903     fi
3904     DEFAULT_DEFAULT_wxUSE_GTK=1
3905   ;;
3906   *-*-irix5* | *-*-irix6* )
3907     USE_SGI=1
3908     USE_SVR4=1
3909     $as_echo "#define __SGI__ 1" >>confdefs.h
3910
3911     $as_echo "#define __SVR4__ 1" >>confdefs.h
3912
3913     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3914   ;;
3915   *-*-qnx*)
3916     USE_QNX=1
3917     $as_echo "#define __QNX__ 1" >>confdefs.h
3918
3919     DEFAULT_DEFAULT_wxUSE_X11=1
3920   ;;
3921   *-*-solaris2* )
3922     USE_SUN=1
3923     USE_SOLARIS=1
3924     USE_SVR4=1
3925     $as_echo "#define __SUN__ 1" >>confdefs.h
3926
3927     $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3928
3929     $as_echo "#define __SVR4__ 1" >>confdefs.h
3930
3931     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3932     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3933   ;;
3934   *-*-sunos4* )
3935     USE_SUN=1
3936     USE_SUNOS=1
3937     USE_BSD=1
3938     $as_echo "#define __SUN__ 1" >>confdefs.h
3939
3940     $as_echo "#define __SUNOS__ 1" >>confdefs.h
3941
3942     $as_echo "#define __BSD__ 1" >>confdefs.h
3943
3944     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3945   ;;
3946   *-*-freebsd*)
3947     USE_BSD=1
3948     USE_FREEBSD=1
3949     $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3950
3951     $as_echo "#define __BSD__ 1" >>confdefs.h
3952
3953     DEFAULT_DEFAULT_wxUSE_GTK=1
3954   ;;
3955   *-*-openbsd*|*-*-mirbsd*)
3956     USE_BSD=1
3957     USE_OPENBSD=1
3958     $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3959
3960     $as_echo "#define __BSD__ 1" >>confdefs.h
3961
3962     DEFAULT_DEFAULT_wxUSE_GTK=1
3963   ;;
3964   *-*-netbsd*)
3965     USE_BSD=1
3966     USE_NETBSD=1
3967     $as_echo "#define __NETBSD__ 1" >>confdefs.h
3968
3969     $as_echo "#define __BSD__ 1" >>confdefs.h
3970
3971     DEFAULT_DEFAULT_wxUSE_GTK=1
3972     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3973
3974             CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
3975   ;;
3976   *-*-osf* )
3977     USE_ALPHA=1
3978     USE_OSF=1
3979     $as_echo "#define __ALPHA__ 1" >>confdefs.h
3980
3981     $as_echo "#define __OSF__ 1" >>confdefs.h
3982
3983     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3984     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3985   ;;
3986   *-*-dgux5* )
3987     USE_ALPHA=1
3988     USE_SVR4=1
3989     $as_echo "#define __ALPHA__ 1" >>confdefs.h
3990
3991     $as_echo "#define __SVR4__ 1" >>confdefs.h
3992
3993     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3994   ;;
3995   *-*-sysv5* )
3996     USE_SYSV=1
3997     USE_SVR4=1
3998     $as_echo "#define __SYSV__ 1" >>confdefs.h
3999
4000     $as_echo "#define __SVR4__ 1" >>confdefs.h
4001
4002     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4003   ;;
4004   *-*-aix* )
4005     USE_AIX=1
4006     USE_SYSV=1
4007     USE_SVR4=1
4008     $as_echo "#define __AIX__ 1" >>confdefs.h
4009
4010     $as_echo "#define __SYSV__ 1" >>confdefs.h
4011
4012     $as_echo "#define __SVR4__ 1" >>confdefs.h
4013
4014     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4015   ;;
4016
4017   *-*-*UnixWare*)
4018     USE_SYSV=1
4019     USE_SVR4=1
4020     USE_UNIXWARE=1
4021     $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4022
4023   ;;
4024
4025   *-*-cygwin* | *-*-mingw32* )
4026                 PROGRAM_EXT=".exe"
4027     DEFAULT_DEFAULT_wxUSE_MSW=1
4028   ;;
4029
4030   *-pc-msdosdjgpp )
4031     USE_UNIX=0
4032     USE_DOS=1
4033     $as_echo "#define __DOS__ 1" >>confdefs.h
4034
4035     PROGRAM_EXT=".exe"
4036   ;;
4037
4038   *-pc-os2_emx | *-pc-os2-emx )
4039     $as_echo "#define __EMX__ 1" >>confdefs.h
4040
4041     USE_OS2=1
4042     $as_echo "#define __OS2__ 1" >>confdefs.h
4043
4044     PROGRAM_EXT=".exe"
4045     DEFAULT_DEFAULT_wxUSE_PM=1
4046         CXX=gcc
4047     LDFLAGS="$LDFLAGS -Zcrtdll"
4048                         ac_executable_extensions=".exe"
4049     export ac_executable_extensions
4050             ac_save_IFS="$IFS"
4051     IFS='\\'
4052     ac_TEMP_PATH=
4053     for ac_dir in $PATH; do
4054       IFS=$ac_save_IFS
4055       if test -z "$ac_TEMP_PATH"; then
4056         ac_TEMP_PATH="$ac_dir"
4057       else
4058         ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
4059       fi
4060     done
4061     export PATH="$ac_TEMP_PATH"
4062     unset ac_TEMP_PATH
4063     DEFAULT_STD_FLAG=no
4064   ;;
4065
4066   arm-apple-darwin*)
4067         USE_BSD=1
4068     USE_DARWIN=1
4069     $as_echo "#define __BSD__ 1" >>confdefs.h
4070
4071     $as_echo "#define __DARWIN__ 1" >>confdefs.h
4072
4073     DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
4074   ;;
4075
4076   *-*-darwin* )
4077         USE_BSD=1
4078     USE_DARWIN=1
4079     $as_echo "#define __BSD__ 1" >>confdefs.h
4080
4081     $as_echo "#define __DARWIN__ 1" >>confdefs.h
4082
4083     $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4084
4085     DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
4086   ;;
4087
4088   *-*-beos* )
4089         USE_BEOS=1
4090     $as_echo "#define __BEOS__ 1" >>confdefs.h
4091
4092   ;;
4093
4094   *)
4095     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4096 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4097     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4098 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4099
4100     DEFAULT_DEFAULT_wxUSE_X11=1
4101     DEFAULT_wxUSE_SHARED=no
4102 esac
4103
4104
4105
4106 DEFAULT_wxUSE_ALL_FEATURES=yes
4107
4108 DEFAULT_wxUSE_STD_CONTAINERS=no
4109 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
4110 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
4111
4112 DEFAULT_wxUSE_DMALLOC=no
4113 DEFAULT_wxUSE_LIBGNOMEVFS=no
4114 DEFAULT_wxUSE_LIBHILDON=no
4115 DEFAULT_wxUSE_LIBHILDON2=no
4116 DEFAULT_wxUSE_LIBMSPACK=no
4117 DEFAULT_wxUSE_LIBSDL=no
4118
4119 DEFAULT_wxUSE_ACCESSIBILITY=no
4120 DEFAULT_wxUSE_IPV6=no
4121 DEFAULT_wxUSE_GSTREAMER8=no
4122 DEFAULT_wxUSE_UNICODE_UTF8=no
4123 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
4124
4125 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
4126 DEFAULT_wxUSE_OPENGL=auto
4127 DEFAULT_wxUSE_MEDIACTRL=auto
4128 DEFAULT_wxUSE_COMPILER_TLS=auto
4129 DEFAULT_wxUSE_HOTKEY=auto
4130 DEFAULT_wxUSE_METAFILE=auto
4131
4132 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
4133 DEFAULT_wxUSE_MAC_ARCH=no
4134
4135 DEFAULT_wxUSE_OFFICIAL_BUILD=no
4136
4137 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
4138
4139
4140
4141
4142
4143           enablestring=disable
4144           defaultval=
4145           if test -z "$defaultval"; then
4146               if test x"$enablestring" = xdisable; then
4147                   defaultval=yes
4148               else
4149                   defaultval=no
4150               fi
4151           fi
4152
4153           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4154 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4155           # Check whether --enable-gui was given.
4156 if test "${enable_gui+set}" = set; then :
4157   enableval=$enable_gui;
4158                           if test "$enableval" = yes; then
4159                             wx_cv_use_gui='wxUSE_GUI=yes'
4160                           else
4161                             wx_cv_use_gui='wxUSE_GUI=no'
4162                           fi
4163
4164 else
4165
4166                           wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4167
4168 fi
4169
4170
4171           eval "$wx_cv_use_gui"
4172
4173           if test x"$enablestring" = xdisable; then
4174             if test $wxUSE_GUI = no; then
4175               result=yes
4176             else
4177               result=no
4178             fi
4179           else
4180             result=$wxUSE_GUI
4181           fi
4182
4183           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4184 $as_echo "$result" >&6; }
4185
4186
4187           enablestring=
4188           defaultval=
4189           if test -z "$defaultval"; then
4190               if test x"$enablestring" = xdisable; then
4191                   defaultval=yes
4192               else
4193                   defaultval=no
4194               fi
4195           fi
4196
4197           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4198 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4199           # Check whether --enable-monolithic was given.
4200 if test "${enable_monolithic+set}" = set; then :
4201   enableval=$enable_monolithic;
4202                           if test "$enableval" = yes; then
4203                             wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
4204                           else
4205                             wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
4206                           fi
4207
4208 else
4209
4210                           wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4211
4212 fi
4213
4214
4215           eval "$wx_cv_use_monolithic"
4216
4217           if test x"$enablestring" = xdisable; then
4218             if test $wxUSE_MONOLITHIC = no; then
4219               result=yes
4220             else
4221               result=no
4222             fi
4223           else
4224             result=$wxUSE_MONOLITHIC
4225           fi
4226
4227           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4228 $as_echo "$result" >&6; }
4229
4230
4231           enablestring=
4232           defaultval=
4233           if test -z "$defaultval"; then
4234               if test x"$enablestring" = xdisable; then
4235                   defaultval=yes
4236               else
4237                   defaultval=no
4238               fi
4239           fi
4240
4241           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-plugins" >&5
4242 $as_echo_n "checking for --${enablestring:-enable}-plugins... " >&6; }
4243           # Check whether --enable-plugins was given.
4244 if test "${enable_plugins+set}" = set; then :
4245   enableval=$enable_plugins;
4246                           if test "$enableval" = yes; then
4247                             wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4248                           else
4249                             wx_cv_use_plugins='wxUSE_PLUGINS=no'
4250                           fi
4251
4252 else
4253
4254                           wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4255
4256 fi
4257
4258
4259           eval "$wx_cv_use_plugins"
4260
4261           if test x"$enablestring" = xdisable; then
4262             if test $wxUSE_PLUGINS = no; then
4263               result=yes
4264             else
4265               result=no
4266             fi
4267           else
4268             result=$wxUSE_PLUGINS
4269           fi
4270
4271           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4272 $as_echo "$result" >&6; }
4273
4274
4275           withstring=without
4276           defaultval=$wxUSE_ALL_FEATURES
4277           if test -z "$defaultval"; then
4278               if test x"$withstring" = xwithout; then
4279                   defaultval=yes
4280               else
4281                   defaultval=no
4282               fi
4283           fi
4284           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4285 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4286
4287 # Check whether --with-subdirs was given.
4288 if test "${with_subdirs+set}" = set; then :
4289   withval=$with_subdirs;
4290                         if test "$withval" = yes; then
4291                           wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
4292                         else
4293                           wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
4294                         fi
4295
4296 else
4297
4298                         wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4299
4300 fi
4301
4302
4303           eval "$wx_cv_use_subdirs"
4304
4305           if test x"$withstring" = xwithout; then
4306             if test $wxWITH_SUBDIRS = yes; then
4307               result=no
4308             else
4309               result=yes
4310             fi
4311           else
4312             result=$wxWITH_SUBDIRS
4313           fi
4314
4315           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4316 $as_echo "$result" >&6; }
4317
4318
4319 # Check whether --with-flavour was given.
4320 if test "${with_flavour+set}" = set; then :
4321   withval=$with_flavour; WX_FLAVOUR="$withval"
4322 fi
4323
4324
4325           enablestring=
4326           defaultval=
4327           if test -z "$defaultval"; then
4328               if test x"$enablestring" = xdisable; then
4329                   defaultval=yes
4330               else
4331                   defaultval=no
4332               fi
4333           fi
4334
4335           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4336 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4337           # Check whether --enable-official_build was given.
4338 if test "${enable_official_build+set}" = set; then :
4339   enableval=$enable_official_build;
4340                           if test "$enableval" = yes; then
4341                             wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
4342                           else
4343                             wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
4344                           fi
4345
4346 else
4347
4348                           wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4349
4350 fi
4351
4352
4353           eval "$wx_cv_use_official_build"
4354
4355           if test x"$enablestring" = xdisable; then
4356             if test $wxUSE_OFFICIAL_BUILD = no; then
4357               result=yes
4358             else
4359               result=no
4360             fi
4361           else
4362             result=$wxUSE_OFFICIAL_BUILD
4363           fi
4364
4365           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4366 $as_echo "$result" >&6; }
4367
4368 # Check whether --enable-vendor was given.
4369 if test "${enable_vendor+set}" = set; then :
4370   enableval=$enable_vendor; VENDOR="$enableval"
4371 fi
4372
4373 if test "x$VENDOR" = "x"; then
4374     VENDOR="custom"
4375 fi
4376
4377
4378           enablestring=disable
4379           defaultval=
4380           if test -z "$defaultval"; then
4381               if test x"$enablestring" = xdisable; then
4382                   defaultval=yes
4383               else
4384                   defaultval=no
4385               fi
4386           fi
4387
4388           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-all-features" >&5
4389 $as_echo_n "checking for --${enablestring:-enable}-all-features... " >&6; }
4390           # Check whether --enable-all-features was given.
4391 if test "${enable_all_features+set}" = set; then :
4392   enableval=$enable_all_features;
4393                           if test "$enableval" = yes; then
4394                             wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4395                           else
4396                             wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4397                           fi
4398
4399 else
4400
4401                           wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4402
4403 fi
4404
4405
4406           eval "$wx_cv_use_all_features"
4407
4408           if test x"$enablestring" = xdisable; then
4409             if test $wxUSE_ALL_FEATURES = no; then
4410               result=yes
4411             else
4412               result=no
4413             fi
4414           else
4415             result=$wxUSE_ALL_FEATURES
4416           fi
4417
4418           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4419 $as_echo "$result" >&6; }
4420
4421
4422 if test "$wxUSE_ALL_FEATURES" = "no"; then
4423                     DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
4424     DEFAULT_wxUSE_MEDIACTRL=no
4425 fi
4426
4427
4428 if test "$wxUSE_GUI" = "yes"; then
4429
4430
4431           enablestring=
4432           defaultval=
4433           if test -z "$defaultval"; then
4434               if test x"$enablestring" = xdisable; then
4435                   defaultval=yes
4436               else
4437                   defaultval=no
4438               fi
4439           fi
4440
4441           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4442 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4443           # Check whether --enable-universal was given.
4444 if test "${enable_universal+set}" = set; then :
4445   enableval=$enable_universal;
4446                           if test "$enableval" = yes; then
4447                             wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
4448                           else
4449                             wx_cv_use_universal='wxUSE_UNIVERSAL=no'
4450                           fi
4451
4452 else
4453
4454                           wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4455
4456 fi
4457
4458
4459           eval "$wx_cv_use_universal"
4460
4461           if test x"$enablestring" = xdisable; then
4462             if test $wxUSE_UNIVERSAL = no; then
4463               result=yes
4464             else
4465               result=no
4466             fi
4467           else
4468             result=$wxUSE_UNIVERSAL
4469           fi
4470
4471           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4472 $as_echo "$result" >&6; }
4473
4474 if test "$wxUSE_UNIVERSAL" = "yes"; then
4475
4476 # Check whether --with-themes was given.
4477 if test "${with_themes+set}" = set; then :
4478   withval=$with_themes; wxUNIV_THEMES="$withval"
4479 fi
4480
4481 fi
4482
4483
4484 # Check whether --with-gtk was given.
4485 if test "${with_gtk+set}" = set; then :
4486   withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4487 fi
4488
4489
4490 # Check whether --with-motif was given.
4491 if test "${with_motif+set}" = set; then :
4492   withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4493 fi
4494
4495
4496 # Check whether --with-osx_carbon was given.
4497 if test "${with_osx_carbon+set}" = set; then :
4498   withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4499 fi
4500
4501
4502 # Check whether --with-osx_cocoa was given.
4503 if test "${with_osx_cocoa+set}" = set; then :
4504   withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4505 fi
4506
4507
4508 # Check whether --with-osx_iphone was given.
4509 if test "${with_osx_iphone+set}" = set; then :
4510   withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4511 fi
4512
4513
4514 # Check whether --with-osx was given.
4515 if test "${with_osx+set}" = set; then :
4516   withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4517 fi
4518
4519
4520 # Check whether --with-carbon was given.
4521 if test "${with_carbon+set}" = set; then :
4522   withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4523 fi
4524
4525
4526 # Check whether --with-cocoa was given.
4527 if test "${with_cocoa+set}" = set; then :
4528   withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4529 fi
4530
4531
4532 # Check whether --with-iphone was given.
4533 if test "${with_iphone+set}" = set; then :
4534   withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4535 fi
4536
4537
4538 # Check whether --with-mac was given.
4539 if test "${with_mac+set}" = set; then :
4540   withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4541 fi
4542
4543
4544 # Check whether --with-old_cocoa was given.
4545 if test "${with_old_cocoa+set}" = set; then :
4546   withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4547 fi
4548
4549
4550 # Check whether --with-wine was given.
4551 if test "${with_wine+set}" = set; then :
4552   withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4553 fi
4554
4555
4556 # Check whether --with-msw was given.
4557 if test "${with_msw+set}" = set; then :
4558   withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4559 fi
4560
4561
4562 # Check whether --with-pm was given.
4563 if test "${with_pm+set}" = set; then :
4564   withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4565 fi
4566
4567
4568 # Check whether --with-directfb was given.
4569 if test "${with_directfb+set}" = set; then :
4570   withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4571 fi
4572
4573
4574 # Check whether --with-microwin was given.
4575 if test "${with_microwin+set}" = set; then :
4576   withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4577 fi
4578
4579
4580 # Check whether --with-x11 was given.
4581 if test "${with_x11+set}" = set; then :
4582   withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4583 fi
4584
4585
4586           enablestring=
4587           defaultval=
4588           if test -z "$defaultval"; then
4589               if test x"$enablestring" = xdisable; then
4590                   defaultval=yes
4591               else
4592                   defaultval=no
4593               fi
4594           fi
4595
4596           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4597 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4598           # Check whether --enable-nanox was given.
4599 if test "${enable_nanox+set}" = set; then :
4600   enableval=$enable_nanox;
4601                           if test "$enableval" = yes; then
4602                             wx_cv_use_nanox='wxUSE_NANOX=yes'
4603                           else
4604                             wx_cv_use_nanox='wxUSE_NANOX=no'
4605                           fi
4606
4607 else
4608
4609                           wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4610
4611 fi
4612
4613
4614           eval "$wx_cv_use_nanox"
4615
4616           if test x"$enablestring" = xdisable; then
4617             if test $wxUSE_NANOX = no; then
4618               result=yes
4619             else
4620               result=no
4621             fi
4622           else
4623             result=$wxUSE_NANOX
4624           fi
4625
4626           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4627 $as_echo "$result" >&6; }
4628
4629
4630           enablestring=
4631           defaultval=
4632           if test -z "$defaultval"; then
4633               if test x"$enablestring" = xdisable; then
4634                   defaultval=yes
4635               else
4636                   defaultval=no
4637               fi
4638           fi
4639
4640           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gpe" >&5
4641 $as_echo_n "checking for --${enablestring:-enable}-gpe... " >&6; }
4642           # Check whether --enable-gpe was given.
4643 if test "${enable_gpe+set}" = set; then :
4644   enableval=$enable_gpe;
4645                           if test "$enableval" = yes; then
4646                             wx_cv_use_gpe='wxUSE_GPE=yes'
4647                           else
4648                             wx_cv_use_gpe='wxUSE_GPE=no'
4649                           fi
4650
4651 else
4652
4653                           wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4654
4655 fi
4656
4657
4658           eval "$wx_cv_use_gpe"
4659
4660           if test x"$enablestring" = xdisable; then
4661             if test $wxUSE_GPE = no; then
4662               result=yes
4663             else
4664               result=no
4665             fi
4666           else
4667             result=$wxUSE_GPE
4668           fi
4669
4670           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4671 $as_echo "$result" >&6; }
4672
4673
4674
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4676 $as_echo_n "checking for toolkit... " >&6; }
4677
4678
4679
4680 # In Wine, we need to default to MSW, not GTK or MOTIF
4681 if test "$wxUSE_WINE" = "yes"; then
4682     DEFAULT_DEFAULT_wxUSE_GTK=0
4683     DEFAULT_DEFAULT_wxUSE_MOTIF=0
4684     DEFAULT_DEFAULT_wxUSE_MSW=1
4685     wxUSE_SHARED=no
4686     CC=${CC:-winegcc}
4687     CXX=${CXX:-wineg++}
4688 fi
4689
4690
4691 if test "$wxUSE_GUI" = "yes"; then
4692
4693     if test "$USE_BEOS" = 1; then
4694         as_fn_error $? "BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4695     fi
4696
4697     if test "$TOOLKIT_GIVEN" = 1; then
4698             for toolkit in $ALL_TOOLKITS; do
4699         var=wxUSE_$toolkit
4700         eval "value=\$${var}"
4701         if test "x$value" = "xno"; then
4702           eval "$var=0"
4703         elif test "x$value" != "x"; then
4704           eval "$var=1"
4705         fi
4706
4707         if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4708           eval "wx${toolkit}_VERSION=$value"
4709         fi
4710       done
4711     else
4712             for toolkit in $ALL_TOOLKITS; do
4713         var=DEFAULT_DEFAULT_wxUSE_$toolkit
4714         eval "wxUSE_$toolkit=\$${var}"
4715       done
4716     fi
4717
4718             NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4719                   + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4720                   + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4721
4722         case "${host}" in
4723       *-pc-os2_emx | *-pc-os2-emx )
4724         NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4725     esac
4726
4727     case "$NUM_TOOLKITS" in
4728       1)
4729       ;;
4730       0)
4731         as_fn_error $? "Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4732       ;;
4733       *)
4734         as_fn_error $? "Please specify at most one toolkit" "$LINENO" 5
4735     esac
4736
4737     for toolkit in $ALL_TOOLKITS; do
4738         var=wxUSE_$toolkit
4739         eval "value=\$${var}"
4740         if test "$value" = 1; then
4741           toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4742           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4743 $as_echo "$toolkit_echo" >&6; }
4744         fi
4745     done
4746 else
4747     if test "x$host_alias" != "x"; then
4748         { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4749 $as_echo "base ($host_alias hosted) only" >&6; }
4750     else
4751         { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4752 $as_echo "base only" >&6; }
4753     fi
4754 fi
4755
4756 wxUSE_MAC=0
4757 if test "$wxUSE_OSX_CARBON" = 1 \
4758        -o "$wxUSE_OSX_COCOA" = 1 \
4759        -o "$wxUSE_OSX_IPHONE" = 1; then
4760     wxUSE_MAC=1
4761 fi
4762
4763
4764
4765           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4766 $as_echo_n "checking for --with-libpng... " >&6; }
4767
4768 # Check whether --with-libpng was given.
4769 if test "${with_libpng+set}" = set; then :
4770   withval=$with_libpng;
4771                         if test "$withval" = yes; then
4772                           wx_cv_use_libpng='wxUSE_LIBPNG=yes'
4773                         elif test "$withval" = no; then
4774                           wx_cv_use_libpng='wxUSE_LIBPNG=no'
4775                         elif test "$withval" = sys; then
4776                           wx_cv_use_libpng='wxUSE_LIBPNG=sys'
4777                         elif test "$withval" = builtin; then
4778                           wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
4779                         else
4780                           as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4781                         fi
4782
4783 else
4784
4785                         wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4786
4787 fi
4788
4789
4790           eval "$wx_cv_use_libpng"
4791
4792           if test "$wxUSE_LIBPNG" = yes; then
4793             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4794 $as_echo "yes" >&6; }
4795           elif test "$wxUSE_LIBPNG" = no; then
4796             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4797 $as_echo "no" >&6; }
4798           elif test "$wxUSE_LIBPNG" = sys; then
4799             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4800 $as_echo "system version" >&6; }
4801           elif test "$wxUSE_LIBPNG" = builtin; then
4802             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4803 $as_echo "builtin version" >&6; }
4804           else
4805             as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4806           fi
4807
4808
4809           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4810 $as_echo_n "checking for --with-libjpeg... " >&6; }
4811
4812 # Check whether --with-libjpeg was given.
4813 if test "${with_libjpeg+set}" = set; then :
4814   withval=$with_libjpeg;
4815                         if test "$withval" = yes; then
4816                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
4817                         elif test "$withval" = no; then
4818                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
4819                         elif test "$withval" = sys; then
4820                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
4821                         elif test "$withval" = builtin; then
4822                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
4823                         else
4824                           as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4825                         fi
4826
4827 else
4828
4829                         wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4830
4831 fi
4832
4833
4834           eval "$wx_cv_use_libjpeg"
4835
4836           if test "$wxUSE_LIBJPEG" = yes; then
4837             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4838 $as_echo "yes" >&6; }
4839           elif test "$wxUSE_LIBJPEG" = no; then
4840             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4841 $as_echo "no" >&6; }
4842           elif test "$wxUSE_LIBJPEG" = sys; then
4843             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4844 $as_echo "system version" >&6; }
4845           elif test "$wxUSE_LIBJPEG" = builtin; then
4846             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4847 $as_echo "builtin version" >&6; }
4848           else
4849             as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4850           fi
4851
4852
4853           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libtiff" >&5
4854 $as_echo_n "checking for --with-libtiff... " >&6; }
4855
4856 # Check whether --with-libtiff was given.
4857 if test "${with_libtiff+set}" = set; then :
4858   withval=$with_libtiff;
4859                         if test "$withval" = yes; then
4860                           wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4861                         elif test "$withval" = no; then
4862                           wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4863                         elif test "$withval" = sys; then
4864                           wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4865                         elif test "$withval" = builtin; then
4866                           wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4867                         else
4868                           as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4869                         fi
4870
4871 else
4872
4873                         wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4874
4875 fi
4876
4877
4878           eval "$wx_cv_use_libtiff"
4879
4880           if test "$wxUSE_LIBTIFF" = yes; then
4881             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4882 $as_echo "yes" >&6; }
4883           elif test "$wxUSE_LIBTIFF" = no; then
4884             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4885 $as_echo "no" >&6; }
4886           elif test "$wxUSE_LIBTIFF" = sys; then
4887             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4888 $as_echo "system version" >&6; }
4889           elif test "$wxUSE_LIBTIFF" = builtin; then
4890             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4891 $as_echo "builtin version" >&6; }
4892           else
4893             as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4894           fi
4895
4896
4897           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4898 $as_echo_n "checking for --with-libxpm... " >&6; }
4899
4900 # Check whether --with-libxpm was given.
4901 if test "${with_libxpm+set}" = set; then :
4902   withval=$with_libxpm;
4903                         if test "$withval" = yes; then
4904                           wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
4905                         elif test "$withval" = no; then
4906                           wx_cv_use_libxpm='wxUSE_LIBXPM=no'
4907                         elif test "$withval" = sys; then
4908                           wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
4909                         elif test "$withval" = builtin; then
4910                           wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
4911                         else
4912                           as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4913                         fi
4914
4915 else
4916
4917                         wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4918
4919 fi
4920
4921
4922           eval "$wx_cv_use_libxpm"
4923
4924           if test "$wxUSE_LIBXPM" = yes; then
4925             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4926 $as_echo "yes" >&6; }
4927           elif test "$wxUSE_LIBXPM" = no; then
4928             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4930           elif test "$wxUSE_LIBXPM" = sys; then
4931             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4932 $as_echo "system version" >&6; }
4933           elif test "$wxUSE_LIBXPM" = builtin; then
4934             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4935 $as_echo "builtin version" >&6; }
4936           else
4937             as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4938           fi
4939
4940
4941           withstring=
4942           defaultval=$wxUSE_ALL_FEATURES
4943           if test -z "$defaultval"; then
4944               if test x"$withstring" = xwithout; then
4945                   defaultval=yes
4946               else
4947                   defaultval=no
4948               fi
4949           fi
4950           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
4951 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4952
4953 # Check whether --with-libiconv was given.
4954 if test "${with_libiconv+set}" = set; then :
4955   withval=$with_libiconv;
4956                         if test "$withval" = yes; then
4957                           wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
4958                         else
4959                           wx_cv_use_libiconv='wxUSE_LIBICONV=no'
4960                         fi
4961
4962 else
4963
4964                         wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
4965
4966 fi
4967
4968
4969           eval "$wx_cv_use_libiconv"
4970
4971           if test x"$withstring" = xwithout; then
4972             if test $wxUSE_LIBICONV = yes; then
4973               result=no
4974             else
4975               result=yes
4976             fi
4977           else
4978             result=$wxUSE_LIBICONV
4979           fi
4980
4981           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4982 $as_echo "$result" >&6; }
4983
4984
4985           withstring=
4986           defaultval=$wxUSE_ALL_FEATURES
4987           if test -z "$defaultval"; then
4988               if test x"$withstring" = xwithout; then
4989                   defaultval=yes
4990               else
4991                   defaultval=no
4992               fi
4993           fi
4994           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
4995 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
4996
4997 # Check whether --with-libmspack was given.
4998 if test "${with_libmspack+set}" = set; then :
4999   withval=$with_libmspack;
5000                         if test "$withval" = yes; then
5001                           wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5002                         else
5003                           wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5004                         fi
5005
5006 else
5007
5008                         wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5009
5010 fi
5011
5012
5013           eval "$wx_cv_use_libmspack"
5014
5015           if test x"$withstring" = xwithout; then
5016             if test $wxUSE_LIBMSPACK = yes; then
5017               result=no
5018             else
5019               result=yes
5020             fi
5021           else
5022             result=$wxUSE_LIBMSPACK
5023           fi
5024
5025           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5026 $as_echo "$result" >&6; }
5027
5028
5029           withstring=without
5030           defaultval=$wxUSE_ALL_FEATURES
5031           if test -z "$defaultval"; then
5032               if test x"$withstring" = xwithout; then
5033                   defaultval=yes
5034               else
5035                   defaultval=no
5036               fi
5037           fi
5038           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5039 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5040
5041 # Check whether --with-gtkprint was given.
5042 if test "${with_gtkprint+set}" = set; then :
5043   withval=$with_gtkprint;
5044                         if test "$withval" = yes; then
5045                           wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5046                         else
5047                           wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5048                         fi
5049
5050 else
5051
5052                         wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5053
5054 fi
5055
5056
5057           eval "$wx_cv_use_gtkprint"
5058
5059           if test x"$withstring" = xwithout; then
5060             if test $wxUSE_GTKPRINT = yes; then
5061               result=no
5062             else
5063               result=yes
5064             fi
5065           else
5066             result=$wxUSE_GTKPRINT
5067           fi
5068
5069           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5070 $as_echo "$result" >&6; }
5071
5072
5073           withstring=without
5074           defaultval=$wxUSE_ALL_FEATURES
5075           if test -z "$defaultval"; then
5076               if test x"$withstring" = xwithout; then
5077                   defaultval=yes
5078               else
5079                   defaultval=no
5080               fi
5081           fi
5082           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5083 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5084
5085 # Check whether --with-gnomeprint was given.
5086 if test "${with_gnomeprint+set}" = set; then :
5087   withval=$with_gnomeprint;
5088                         if test "$withval" = yes; then
5089                           wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
5090                         else
5091                           wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
5092                         fi
5093
5094 else
5095
5096                         wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5097
5098 fi
5099
5100
5101           eval "$wx_cv_use_gnomeprint"
5102
5103           if test x"$withstring" = xwithout; then
5104             if test $wxUSE_LIBGNOMEPRINT = yes; then
5105               result=no
5106             else
5107               result=yes
5108             fi
5109           else
5110             result=$wxUSE_LIBGNOMEPRINT
5111           fi
5112
5113           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5114 $as_echo "$result" >&6; }
5115
5116
5117           withstring=
5118           defaultval=$wxUSE_ALL_FEATURES
5119           if test -z "$defaultval"; then
5120               if test x"$withstring" = xwithout; then
5121                   defaultval=yes
5122               else
5123                   defaultval=no
5124               fi
5125           fi
5126           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5127 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5128
5129 # Check whether --with-gnomevfs was given.
5130 if test "${with_gnomevfs+set}" = set; then :
5131   withval=$with_gnomevfs;
5132                         if test "$withval" = yes; then
5133                           wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5134                         else
5135                           wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5136                         fi
5137
5138 else
5139
5140                         wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5141
5142 fi
5143
5144
5145           eval "$wx_cv_use_gnomevfs"
5146
5147           if test x"$withstring" = xwithout; then
5148             if test $wxUSE_LIBGNOMEVFS = yes; then
5149               result=no
5150             else
5151               result=yes
5152             fi
5153           else
5154             result=$wxUSE_LIBGNOMEVFS
5155           fi
5156
5157           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5158 $as_echo "$result" >&6; }
5159
5160
5161           withstring=
5162           defaultval=$wxUSE_ALL_FEATURES
5163           if test -z "$defaultval"; then
5164               if test x"$withstring" = xwithout; then
5165                   defaultval=yes
5166               else
5167                   defaultval=no
5168               fi
5169           fi
5170           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5171 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5172
5173 # Check whether --with-hildon was given.
5174 if test "${with_hildon+set}" = set; then :
5175   withval=$with_hildon;
5176                         if test "$withval" = yes; then
5177                           wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
5178                         else
5179                           wx_cv_use_hildon='wxUSE_LIBHILDON=no'
5180                         fi
5181
5182 else
5183
5184                         wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5185
5186 fi
5187
5188
5189           eval "$wx_cv_use_hildon"
5190
5191           if test x"$withstring" = xwithout; then
5192             if test $wxUSE_LIBHILDON = yes; then
5193               result=no
5194             else
5195               result=yes
5196             fi
5197           else
5198             result=$wxUSE_LIBHILDON
5199           fi
5200
5201           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5202 $as_echo "$result" >&6; }
5203
5204
5205           withstring=
5206           defaultval=$wxUSE_ALL_FEATURES
5207           if test -z "$defaultval"; then
5208               if test x"$withstring" = xwithout; then
5209                   defaultval=yes
5210               else
5211                   defaultval=no
5212               fi
5213           fi
5214           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5215 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5216
5217 # Check whether --with-opengl was given.
5218 if test "${with_opengl+set}" = set; then :
5219   withval=$with_opengl;
5220                         if test "$withval" = yes; then
5221                           wx_cv_use_opengl='wxUSE_OPENGL=yes'
5222                         else
5223                           wx_cv_use_opengl='wxUSE_OPENGL=no'
5224                         fi
5225
5226 else
5227
5228                         wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5229
5230 fi
5231
5232
5233           eval "$wx_cv_use_opengl"
5234
5235           if test x"$withstring" = xwithout; then
5236             if test $wxUSE_OPENGL = yes; then
5237               result=no
5238             else
5239               result=yes
5240             fi
5241           else
5242             result=$wxUSE_OPENGL
5243           fi
5244
5245           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5246 $as_echo "$result" >&6; }
5247
5248
5249 fi
5250
5251
5252           withstring=
5253           defaultval=$wxUSE_ALL_FEATURES
5254           if test -z "$defaultval"; then
5255               if test x"$withstring" = xwithout; then
5256                   defaultval=yes
5257               else
5258                   defaultval=no
5259               fi
5260           fi
5261           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5262 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5263
5264 # Check whether --with-dmalloc was given.
5265 if test "${with_dmalloc+set}" = set; then :
5266   withval=$with_dmalloc;
5267                         if test "$withval" = yes; then
5268                           wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5269                         else
5270                           wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5271                         fi
5272
5273 else
5274
5275                         wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5276
5277 fi
5278
5279
5280           eval "$wx_cv_use_dmalloc"
5281
5282           if test x"$withstring" = xwithout; then
5283             if test $wxUSE_DMALLOC = yes; then
5284               result=no
5285             else
5286               result=yes
5287             fi
5288           else
5289             result=$wxUSE_DMALLOC
5290           fi
5291
5292           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5293 $as_echo "$result" >&6; }
5294
5295
5296           withstring=
5297           defaultval=$wxUSE_ALL_FEATURES
5298           if test -z "$defaultval"; then
5299               if test x"$withstring" = xwithout; then
5300                   defaultval=yes
5301               else
5302                   defaultval=no
5303               fi
5304           fi
5305           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5306 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5307
5308 # Check whether --with-sdl was given.
5309 if test "${with_sdl+set}" = set; then :
5310   withval=$with_sdl;
5311                         if test "$withval" = yes; then
5312                           wx_cv_use_sdl='wxUSE_LIBSDL=yes'
5313                         else
5314                           wx_cv_use_sdl='wxUSE_LIBSDL=no'
5315                         fi
5316
5317 else
5318
5319                         wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5320
5321 fi
5322
5323
5324           eval "$wx_cv_use_sdl"
5325
5326           if test x"$withstring" = xwithout; then
5327             if test $wxUSE_LIBSDL = yes; then
5328               result=no
5329             else
5330               result=yes
5331             fi
5332           else
5333             result=$wxUSE_LIBSDL
5334           fi
5335
5336           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5337 $as_echo "$result" >&6; }
5338
5339
5340           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5341 $as_echo_n "checking for --with-regex... " >&6; }
5342
5343 # Check whether --with-regex was given.
5344 if test "${with_regex+set}" = set; then :
5345   withval=$with_regex;
5346                         if test "$withval" = yes; then
5347                           wx_cv_use_regex='wxUSE_REGEX=yes'
5348                         elif test "$withval" = no; then
5349                           wx_cv_use_regex='wxUSE_REGEX=no'
5350                         elif test "$withval" = sys; then
5351                           wx_cv_use_regex='wxUSE_REGEX=sys'
5352                         elif test "$withval" = builtin; then
5353                           wx_cv_use_regex='wxUSE_REGEX=builtin'
5354                         else
5355                           as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5356                         fi
5357
5358 else
5359
5360                         wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5361
5362 fi
5363
5364
5365           eval "$wx_cv_use_regex"
5366
5367           if test "$wxUSE_REGEX" = yes; then
5368             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5369 $as_echo "yes" >&6; }
5370           elif test "$wxUSE_REGEX" = no; then
5371             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5372 $as_echo "no" >&6; }
5373           elif test "$wxUSE_REGEX" = sys; then
5374             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5375 $as_echo "system version" >&6; }
5376           elif test "$wxUSE_REGEX" = builtin; then
5377             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5378 $as_echo "builtin version" >&6; }
5379           else
5380             as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5381           fi
5382
5383
5384           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5385 $as_echo_n "checking for --with-zlib... " >&6; }
5386
5387 # Check whether --with-zlib was given.
5388 if test "${with_zlib+set}" = set; then :
5389   withval=$with_zlib;
5390                         if test "$withval" = yes; then
5391                           wx_cv_use_zlib='wxUSE_ZLIB=yes'
5392                         elif test "$withval" = no; then
5393                           wx_cv_use_zlib='wxUSE_ZLIB=no'
5394                         elif test "$withval" = sys; then
5395                           wx_cv_use_zlib='wxUSE_ZLIB=sys'
5396                         elif test "$withval" = builtin; then
5397                           wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5398                         else
5399                           as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5400                         fi
5401
5402 else
5403
5404                         wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5405
5406 fi
5407
5408
5409           eval "$wx_cv_use_zlib"
5410
5411           if test "$wxUSE_ZLIB" = yes; then
5412             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5413 $as_echo "yes" >&6; }
5414           elif test "$wxUSE_ZLIB" = no; then
5415             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5416 $as_echo "no" >&6; }
5417           elif test "$wxUSE_ZLIB" = sys; then
5418             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5419 $as_echo "system version" >&6; }
5420           elif test "$wxUSE_ZLIB" = builtin; then
5421             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5422 $as_echo "builtin version" >&6; }
5423           else
5424             as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5425           fi
5426
5427
5428           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5429 $as_echo_n "checking for --with-expat... " >&6; }
5430
5431 # Check whether --with-expat was given.
5432 if test "${with_expat+set}" = set; then :
5433   withval=$with_expat;
5434                         if test "$withval" = yes; then
5435                           wx_cv_use_expat='wxUSE_EXPAT=yes'
5436                         elif test "$withval" = no; then
5437                           wx_cv_use_expat='wxUSE_EXPAT=no'
5438                         elif test "$withval" = sys; then
5439                           wx_cv_use_expat='wxUSE_EXPAT=sys'
5440                         elif test "$withval" = builtin; then
5441                           wx_cv_use_expat='wxUSE_EXPAT=builtin'
5442                         else
5443                           as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5444                         fi
5445
5446 else
5447
5448                         wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5449
5450 fi
5451
5452
5453           eval "$wx_cv_use_expat"
5454
5455           if test "$wxUSE_EXPAT" = yes; then
5456             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5457 $as_echo "yes" >&6; }
5458           elif test "$wxUSE_EXPAT" = no; then
5459             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5460 $as_echo "no" >&6; }
5461           elif test "$wxUSE_EXPAT" = sys; then
5462             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5463 $as_echo "system version" >&6; }
5464           elif test "$wxUSE_EXPAT" = builtin; then
5465             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5466 $as_echo "builtin version" >&6; }
5467           else
5468             as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5469           fi
5470
5471
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5473 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5474
5475 # Check whether --with-macosx-sdk was given.
5476 if test "${with_macosx_sdk+set}" = set; then :
5477   withval=$with_macosx_sdk;
5478         wxUSE_MACOSX_SDK=$withval
5479         wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5480
5481 fi
5482
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5484 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5485
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5487 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5488
5489 # Check whether --with-macosx-version-min was given.
5490 if test "${with_macosx_version_min+set}" = set; then :
5491   withval=$with_macosx_version_min;
5492         wxUSE_MACOSX_VERSION_MIN=$withval
5493         wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5494
5495 fi
5496
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5498 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5499
5500
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5502 $as_echo_n "checking for --enable-debug... " >&6; }
5503 # Check whether --enable-debug was given.
5504 if test "${enable_debug+set}" = set; then :
5505   enableval=$enable_debug;
5506         if test "$enableval" = yes; then
5507             wxUSE_DEBUG=yes
5508         elif test "$enableval" = no; then
5509             wxUSE_DEBUG=no
5510         elif test "$enableval" = max; then
5511             wxUSE_DEBUG=yes
5512             WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5513         else
5514             as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5515         fi
5516
5517 else
5518   wxUSE_DEBUG=default
5519
5520 fi
5521
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5523 $as_echo "${enable_debug-default}" >&6; }
5524
5525 case "$wxUSE_DEBUG" in
5526     yes)
5527                         DEFAULT_wxUSE_DEBUG_FLAG=yes
5528         DEFAULT_wxUSE_DEBUG_INFO=yes
5529
5530                         DEFAULT_wxUSE_OPTIMISE=no
5531         ;;
5532
5533     no)
5534                         DEFAULT_wxUSE_DEBUG_FLAG=no
5535         DEFAULT_wxUSE_DEBUG_INFO=no
5536         ;;
5537
5538     default)
5539                         DEFAULT_wxUSE_DEBUG_FLAG=yes
5540         DEFAULT_wxUSE_DEBUG_INFO=no
5541         ;;
5542 esac
5543
5544
5545           enablestring=disable
5546           defaultval=
5547           if test -z "$defaultval"; then
5548               if test x"$enablestring" = xdisable; then
5549                   defaultval=yes
5550               else
5551                   defaultval=no
5552               fi
5553           fi
5554
5555           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5556 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5557           # Check whether --enable-debug_flag was given.
5558 if test "${enable_debug_flag+set}" = set; then :
5559   enableval=$enable_debug_flag;
5560                           if test "$enableval" = yes; then
5561                             wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5562                           else
5563                             wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5564                           fi
5565
5566 else
5567
5568                           wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5569
5570 fi
5571
5572
5573           eval "$wx_cv_use_debug_flag"
5574
5575           if test x"$enablestring" = xdisable; then
5576             if test $wxUSE_DEBUG_FLAG = no; then
5577               result=yes
5578             else
5579               result=no
5580             fi
5581           else
5582             result=$wxUSE_DEBUG_FLAG
5583           fi
5584
5585           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5586 $as_echo "$result" >&6; }
5587
5588
5589           enablestring=
5590           defaultval=
5591           if test -z "$defaultval"; then
5592               if test x"$enablestring" = xdisable; then
5593                   defaultval=yes
5594               else
5595                   defaultval=no
5596               fi
5597           fi
5598
5599           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5600 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5601           # Check whether --enable-debug_info was given.
5602 if test "${enable_debug_info+set}" = set; then :
5603   enableval=$enable_debug_info;
5604                           if test "$enableval" = yes; then
5605                             wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5606                           else
5607                             wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5608                           fi
5609
5610 else
5611
5612                           wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5613
5614 fi
5615
5616
5617           eval "$wx_cv_use_debug_info"
5618
5619           if test x"$enablestring" = xdisable; then
5620             if test $wxUSE_DEBUG_INFO = no; then
5621               result=yes
5622             else
5623               result=no
5624             fi
5625           else
5626             result=$wxUSE_DEBUG_INFO
5627           fi
5628
5629           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5630 $as_echo "$result" >&6; }
5631
5632
5633
5634
5635           enablestring=
5636           defaultval=
5637           if test -z "$defaultval"; then
5638               if test x"$enablestring" = xdisable; then
5639                   defaultval=yes
5640               else
5641                   defaultval=no
5642               fi
5643           fi
5644
5645           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5646 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5647           # Check whether --enable-debug_gdb was given.
5648 if test "${enable_debug_gdb+set}" = set; then :
5649   enableval=$enable_debug_gdb;
5650                           if test "$enableval" = yes; then
5651                             wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5652                           else
5653                             wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5654                           fi
5655
5656 else
5657
5658                           wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5659
5660 fi
5661
5662
5663           eval "$wx_cv_use_debug_gdb"
5664
5665           if test x"$enablestring" = xdisable; then
5666             if test $wxUSE_DEBUG_GDB = no; then
5667               result=yes
5668             else
5669               result=no
5670             fi
5671           else
5672             result=$wxUSE_DEBUG_GDB
5673           fi
5674
5675           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5676 $as_echo "$result" >&6; }
5677
5678
5679           enablestring=
5680           defaultval=
5681           if test -z "$defaultval"; then
5682               if test x"$enablestring" = xdisable; then
5683                   defaultval=yes
5684               else
5685                   defaultval=no
5686               fi
5687           fi
5688
5689           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5690 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5691           # Check whether --enable-debug_cntxt was given.
5692 if test "${enable_debug_cntxt+set}" = set; then :
5693   enableval=$enable_debug_cntxt;
5694                           if test "$enableval" = yes; then
5695                             wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5696                           else
5697                             wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5698                           fi
5699
5700 else
5701
5702                           wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5703
5704 fi
5705
5706
5707           eval "$wx_cv_use_debug_cntxt"
5708
5709           if test x"$enablestring" = xdisable; then
5710             if test $wxUSE_DEBUG_CONTEXT = no; then
5711               result=yes
5712             else
5713               result=no
5714             fi
5715           else
5716             result=$wxUSE_DEBUG_CONTEXT
5717           fi
5718
5719           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5720 $as_echo "$result" >&6; }
5721
5722
5723           enablestring=
5724           defaultval=
5725           if test -z "$defaultval"; then
5726               if test x"$enablestring" = xdisable; then
5727                   defaultval=yes
5728               else
5729                   defaultval=no
5730               fi
5731           fi
5732
5733           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5734 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5735           # Check whether --enable-mem_tracing was given.
5736 if test "${enable_mem_tracing+set}" = set; then :
5737   enableval=$enable_mem_tracing;
5738                           if test "$enableval" = yes; then
5739                             wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5740                           else
5741                             wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5742                           fi
5743
5744 else
5745
5746                           wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5747
5748 fi
5749
5750
5751           eval "$wx_cv_use_mem_tracing"
5752
5753           if test x"$enablestring" = xdisable; then
5754             if test $wxUSE_MEM_TRACING = no; then
5755               result=yes
5756             else
5757               result=no
5758             fi
5759           else
5760             result=$wxUSE_MEM_TRACING
5761           fi
5762
5763           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5764 $as_echo "$result" >&6; }
5765
5766
5767
5768
5769           enablestring=disable
5770           defaultval=
5771           if test -z "$defaultval"; then
5772               if test x"$enablestring" = xdisable; then
5773                   defaultval=yes
5774               else
5775                   defaultval=no
5776               fi
5777           fi
5778
5779           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5780 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5781           # Check whether --enable-shared was given.
5782 if test "${enable_shared+set}" = set; then :
5783   enableval=$enable_shared;
5784                           if test "$enableval" = yes; then
5785                             wx_cv_use_shared='wxUSE_SHARED=yes'
5786                           else
5787                             wx_cv_use_shared='wxUSE_SHARED=no'
5788                           fi
5789
5790 else
5791
5792                           wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5793
5794 fi
5795
5796
5797           eval "$wx_cv_use_shared"
5798
5799           if test x"$enablestring" = xdisable; then
5800             if test $wxUSE_SHARED = no; then
5801               result=yes
5802             else
5803               result=no
5804             fi
5805           else
5806             result=$wxUSE_SHARED
5807           fi
5808
5809           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5810 $as_echo "$result" >&6; }
5811
5812
5813           enablestring=
5814           defaultval=
5815           if test -z "$defaultval"; then
5816               if test x"$enablestring" = xdisable; then
5817                   defaultval=yes
5818               else
5819                   defaultval=no
5820               fi
5821           fi
5822
5823           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5824 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5825           # Check whether --enable-stl was given.
5826 if test "${enable_stl+set}" = set; then :
5827   enableval=$enable_stl;
5828                           if test "$enableval" = yes; then
5829                             wx_cv_use_stl='wxUSE_STL=yes'
5830                           else
5831                             wx_cv_use_stl='wxUSE_STL=no'
5832                           fi
5833
5834 else
5835
5836                           wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5837
5838 fi
5839
5840
5841           eval "$wx_cv_use_stl"
5842
5843           if test x"$enablestring" = xdisable; then
5844             if test $wxUSE_STL = no; then
5845               result=yes
5846             else
5847               result=no
5848             fi
5849           else
5850             result=$wxUSE_STL
5851           fi
5852
5853           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5854 $as_echo "$result" >&6; }
5855
5856 if test "$wxUSE_STL" = "yes"; then
5857     DEFAULT_wxUSE_STD_CONTAINERS=yes
5858     DEFAULT_wxUSE_STD_IOSTREAM=yes
5859     DEFAULT_wxUSE_STD_STRING=yes
5860 fi
5861
5862           enablestring=
5863           defaultval=
5864           if test -z "$defaultval"; then
5865               if test x"$enablestring" = xdisable; then
5866                   defaultval=yes
5867               else
5868                   defaultval=no
5869               fi
5870           fi
5871
5872           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
5873 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
5874           # Check whether --enable-std_containers was given.
5875 if test "${enable_std_containers+set}" = set; then :
5876   enableval=$enable_std_containers;
5877                           if test "$enableval" = yes; then
5878                             wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
5879                           else
5880                             wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
5881                           fi
5882
5883 else
5884
5885                           wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5886
5887 fi
5888
5889
5890           eval "$wx_cv_use_std_containers"
5891
5892           if test x"$enablestring" = xdisable; then
5893             if test $wxUSE_STD_CONTAINERS = no; then
5894               result=yes
5895             else
5896               result=no
5897             fi
5898           else
5899             result=$wxUSE_STD_CONTAINERS
5900           fi
5901
5902           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5903 $as_echo "$result" >&6; }
5904
5905
5906           enablestring=
5907           defaultval=
5908           if test -z "$defaultval"; then
5909               if test x"$enablestring" = xdisable; then
5910                   defaultval=yes
5911               else
5912                   defaultval=no
5913               fi
5914           fi
5915
5916           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
5917 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
5918           # Check whether --enable-std_iostreams was given.
5919 if test "${enable_std_iostreams+set}" = set; then :
5920   enableval=$enable_std_iostreams;
5921                           if test "$enableval" = yes; then
5922                             wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5923                           else
5924                             wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5925                           fi
5926
5927 else
5928
5929                           wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
5930
5931 fi
5932
5933
5934           eval "$wx_cv_use_std_iostreams"
5935
5936           if test x"$enablestring" = xdisable; then
5937             if test $wxUSE_STD_IOSTREAM = no; then
5938               result=yes
5939             else
5940               result=no
5941             fi
5942           else
5943             result=$wxUSE_STD_IOSTREAM
5944           fi
5945
5946           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5947 $as_echo "$result" >&6; }
5948
5949
5950           enablestring=
5951           defaultval=
5952           if test -z "$defaultval"; then
5953               if test x"$enablestring" = xdisable; then
5954                   defaultval=yes
5955               else
5956                   defaultval=no
5957               fi
5958           fi
5959
5960           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
5961 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
5962           # Check whether --enable-std_string was given.
5963 if test "${enable_std_string+set}" = set; then :
5964   enableval=$enable_std_string;
5965                           if test "$enableval" = yes; then
5966                             wx_cv_use_std_string='wxUSE_STD_STRING=yes'
5967                           else
5968                             wx_cv_use_std_string='wxUSE_STD_STRING=no'
5969                           fi
5970
5971 else
5972
5973                           wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
5974
5975 fi
5976
5977
5978           eval "$wx_cv_use_std_string"
5979
5980           if test x"$enablestring" = xdisable; then
5981             if test $wxUSE_STD_STRING = no; then
5982               result=yes
5983             else
5984               result=no
5985             fi
5986           else
5987             result=$wxUSE_STD_STRING
5988           fi
5989
5990           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5991 $as_echo "$result" >&6; }
5992
5993
5994           enablestring=
5995           defaultval=
5996           if test -z "$defaultval"; then
5997               if test x"$enablestring" = xdisable; then
5998                   defaultval=yes
5999               else
6000                   defaultval=no
6001               fi
6002           fi
6003
6004           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6005 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
6006           # Check whether --enable-std_string_conv_in_wxstring was given.
6007 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6008   enableval=$enable_std_string_conv_in_wxstring;
6009                           if test "$enableval" = yes; then
6010                             wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6011                           else
6012                             wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6013                           fi
6014
6015 else
6016
6017                           wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6018
6019 fi
6020
6021
6022           eval "$wx_cv_use_std_string_conv_in_wxstring"
6023
6024           if test x"$enablestring" = xdisable; then
6025             if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6026               result=yes
6027             else
6028               result=no
6029             fi
6030           else
6031             result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6032           fi
6033
6034           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6035 $as_echo "$result" >&6; }
6036
6037
6038           enablestring=disable
6039           defaultval=
6040           if test -z "$defaultval"; then
6041               if test x"$enablestring" = xdisable; then
6042                   defaultval=yes
6043               else
6044                   defaultval=no
6045               fi
6046           fi
6047
6048           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6049 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6050           # Check whether --enable-unicode was given.
6051 if test "${enable_unicode+set}" = set; then :
6052   enableval=$enable_unicode;
6053                           if test "$enableval" = yes; then
6054                             wx_cv_use_unicode='wxUSE_UNICODE=yes'
6055                           else
6056                             wx_cv_use_unicode='wxUSE_UNICODE=no'
6057                           fi
6058
6059 else
6060
6061                           wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6062
6063 fi
6064
6065
6066           eval "$wx_cv_use_unicode"
6067
6068           if test x"$enablestring" = xdisable; then
6069             if test $wxUSE_UNICODE = no; then
6070               result=yes
6071             else
6072               result=no
6073             fi
6074           else
6075             result=$wxUSE_UNICODE
6076           fi
6077
6078           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6079 $as_echo "$result" >&6; }
6080
6081
6082           enablestring=
6083           defaultval=
6084           if test -z "$defaultval"; then
6085               if test x"$enablestring" = xdisable; then
6086                   defaultval=yes
6087               else
6088                   defaultval=no
6089               fi
6090           fi
6091
6092           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6093 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6094           # Check whether --enable-mslu was given.
6095 if test "${enable_mslu+set}" = set; then :
6096   enableval=$enable_mslu;
6097                           if test "$enableval" = yes; then
6098                             wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6099                           else
6100                             wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6101                           fi
6102
6103 else
6104
6105                           wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6106
6107 fi
6108
6109
6110           eval "$wx_cv_use_mslu"
6111
6112           if test x"$enablestring" = xdisable; then
6113             if test $wxUSE_UNICODE_MSLU = no; then
6114               result=yes
6115             else
6116               result=no
6117             fi
6118           else
6119             result=$wxUSE_UNICODE_MSLU
6120           fi
6121
6122           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6123 $as_echo "$result" >&6; }
6124
6125
6126           enablestring=
6127           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6128 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6129           # Check whether --enable-utf8 was given.
6130 if test "${enable_utf8+set}" = set; then :
6131   enableval=$enable_utf8;
6132                           wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6133
6134 else
6135
6136                           wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6137
6138 fi
6139
6140
6141           eval "$wx_cv_use_utf8"
6142
6143           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6144 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6145
6146
6147           enablestring=
6148           defaultval=
6149           if test -z "$defaultval"; then
6150               if test x"$enablestring" = xdisable; then
6151                   defaultval=yes
6152               else
6153                   defaultval=no
6154               fi
6155           fi
6156
6157           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6158 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6159           # Check whether --enable-utf8only was given.
6160 if test "${enable_utf8only+set}" = set; then :
6161   enableval=$enable_utf8only;
6162                           if test "$enableval" = yes; then
6163                             wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6164                           else
6165                             wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6166                           fi
6167
6168 else
6169
6170                           wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6171
6172 fi
6173
6174
6175           eval "$wx_cv_use_utf8only"
6176
6177           if test x"$enablestring" = xdisable; then
6178             if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6179               result=yes
6180             else
6181               result=no
6182             fi
6183           else
6184             result=$wxUSE_UNICODE_UTF8_LOCALE
6185           fi
6186
6187           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6188 $as_echo "$result" >&6; }
6189
6190
6191           enablestring=
6192           defaultval=
6193           if test -z "$defaultval"; then
6194               if test x"$enablestring" = xdisable; then
6195                   defaultval=yes
6196               else
6197                   defaultval=no
6198               fi
6199           fi
6200
6201           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6202 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6203           # Check whether --enable-extended_rtti was given.
6204 if test "${enable_extended_rtti+set}" = set; then :
6205   enableval=$enable_extended_rtti;
6206                           if test "$enableval" = yes; then
6207                             wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
6208                           else
6209                             wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
6210                           fi
6211
6212 else
6213
6214                           wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6215
6216 fi
6217
6218
6219           eval "$wx_cv_use_extended_rtti"
6220
6221           if test x"$enablestring" = xdisable; then
6222             if test $wxUSE_EXTENDED_RTTI = no; then
6223               result=yes
6224             else
6225               result=no
6226             fi
6227           else
6228             result=$wxUSE_EXTENDED_RTTI
6229           fi
6230
6231           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6232 $as_echo "$result" >&6; }
6233
6234 if test "$USE_OS2" = 1; then
6235     DEFAULT_wxUSE_OMF=no
6236
6237           enablestring=
6238           defaultval=
6239           if test -z "$defaultval"; then
6240               if test x"$enablestring" = xdisable; then
6241                   defaultval=yes
6242               else
6243                   defaultval=no
6244               fi
6245           fi
6246
6247           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6248 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6249           # Check whether --enable-omf was given.
6250 if test "${enable_omf+set}" = set; then :
6251   enableval=$enable_omf;
6252                           if test "$enableval" = yes; then
6253                             wx_cv_use_omf='wxUSE_OMF=yes'
6254                           else
6255                             wx_cv_use_omf='wxUSE_OMF=no'
6256                           fi
6257
6258 else
6259
6260                           wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6261
6262 fi
6263
6264
6265           eval "$wx_cv_use_omf"
6266
6267           if test x"$enablestring" = xdisable; then
6268             if test $wxUSE_OMF = no; then
6269               result=yes
6270             else
6271               result=no
6272             fi
6273           else
6274             result=$wxUSE_OMF
6275           fi
6276
6277           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6278 $as_echo "$result" >&6; }
6279
6280 fi
6281
6282
6283           enablestring=disable
6284           defaultval=
6285           if test -z "$defaultval"; then
6286               if test x"$enablestring" = xdisable; then
6287                   defaultval=yes
6288               else
6289                   defaultval=no
6290               fi
6291           fi
6292
6293           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6294 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6295           # Check whether --enable-optimise was given.
6296 if test "${enable_optimise+set}" = set; then :
6297   enableval=$enable_optimise;
6298                           if test "$enableval" = yes; then
6299                             wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6300                           else
6301                             wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6302                           fi
6303
6304 else
6305
6306                           wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6307
6308 fi
6309
6310
6311           eval "$wx_cv_use_optimise"
6312
6313           if test x"$enablestring" = xdisable; then
6314             if test $wxUSE_OPTIMISE = no; then
6315               result=yes
6316             else
6317               result=no
6318             fi
6319           else
6320             result=$wxUSE_OPTIMISE
6321           fi
6322
6323           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6324 $as_echo "$result" >&6; }
6325
6326
6327
6328           enablestring=
6329           defaultval=
6330           if test -z "$defaultval"; then
6331               if test x"$enablestring" = xdisable; then
6332                   defaultval=yes
6333               else
6334                   defaultval=no
6335               fi
6336           fi
6337
6338           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6339 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6340           # Check whether --enable-profile was given.
6341 if test "${enable_profile+set}" = set; then :
6342   enableval=$enable_profile;
6343                           if test "$enableval" = yes; then
6344                             wx_cv_use_profile='wxUSE_PROFILE=yes'
6345                           else
6346                             wx_cv_use_profile='wxUSE_PROFILE=no'
6347                           fi
6348
6349 else
6350
6351                           wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6352
6353 fi
6354
6355
6356           eval "$wx_cv_use_profile"
6357
6358           if test x"$enablestring" = xdisable; then
6359             if test $wxUSE_PROFILE = no; then
6360               result=yes
6361             else
6362               result=no
6363             fi
6364           else
6365             result=$wxUSE_PROFILE
6366           fi
6367
6368           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6369 $as_echo "$result" >&6; }
6370
6371
6372           enablestring=
6373           defaultval=
6374           if test -z "$defaultval"; then
6375               if test x"$enablestring" = xdisable; then
6376                   defaultval=yes
6377               else
6378                   defaultval=no
6379               fi
6380           fi
6381
6382           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6383 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6384           # Check whether --enable-no_rtti was given.
6385 if test "${enable_no_rtti+set}" = set; then :
6386   enableval=$enable_no_rtti;
6387                           if test "$enableval" = yes; then
6388                             wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6389                           else
6390                             wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6391                           fi
6392
6393 else
6394
6395                           wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6396
6397 fi
6398
6399
6400           eval "$wx_cv_use_no_rtti"
6401
6402           if test x"$enablestring" = xdisable; then
6403             if test $wxUSE_NO_RTTI = no; then
6404               result=yes
6405             else
6406               result=no
6407             fi
6408           else
6409             result=$wxUSE_NO_RTTI
6410           fi
6411
6412           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6413 $as_echo "$result" >&6; }
6414
6415
6416           enablestring=
6417           defaultval=
6418           if test -z "$defaultval"; then
6419               if test x"$enablestring" = xdisable; then
6420                   defaultval=yes
6421               else
6422                   defaultval=no
6423               fi
6424           fi
6425
6426           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6427 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6428           # Check whether --enable-no_exceptions was given.
6429 if test "${enable_no_exceptions+set}" = set; then :
6430   enableval=$enable_no_exceptions;
6431                           if test "$enableval" = yes; then
6432                             wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6433                           else
6434                             wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6435                           fi
6436
6437 else
6438
6439                           wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6440
6441 fi
6442
6443
6444           eval "$wx_cv_use_no_exceptions"
6445
6446           if test x"$enablestring" = xdisable; then
6447             if test $wxUSE_NO_EXCEPTIONS = no; then
6448               result=yes
6449             else
6450               result=no
6451             fi
6452           else
6453             result=$wxUSE_NO_EXCEPTIONS
6454           fi
6455
6456           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6457 $as_echo "$result" >&6; }
6458
6459
6460           enablestring=
6461           defaultval=
6462           if test -z "$defaultval"; then
6463               if test x"$enablestring" = xdisable; then
6464                   defaultval=yes
6465               else
6466                   defaultval=no
6467               fi
6468           fi
6469
6470           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6471 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6472           # Check whether --enable-permissive was given.
6473 if test "${enable_permissive+set}" = set; then :
6474   enableval=$enable_permissive;
6475                           if test "$enableval" = yes; then
6476                             wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
6477                           else
6478                             wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
6479                           fi
6480
6481 else
6482
6483                           wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6484
6485 fi
6486
6487
6488           eval "$wx_cv_use_permissive"
6489
6490           if test x"$enablestring" = xdisable; then
6491             if test $wxUSE_PERMISSIVE = no; then
6492               result=yes
6493             else
6494               result=no
6495             fi
6496           else
6497             result=$wxUSE_PERMISSIVE
6498           fi
6499
6500           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6501 $as_echo "$result" >&6; }
6502
6503
6504           enablestring=
6505           defaultval=
6506           if test -z "$defaultval"; then
6507               if test x"$enablestring" = xdisable; then
6508                   defaultval=yes
6509               else
6510                   defaultval=no
6511               fi
6512           fi
6513
6514           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6515 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6516           # Check whether --enable-no_deps was given.
6517 if test "${enable_no_deps+set}" = set; then :
6518   enableval=$enable_no_deps;
6519                           if test "$enableval" = yes; then
6520                             wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6521                           else
6522                             wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6523                           fi
6524
6525 else
6526
6527                           wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6528
6529 fi
6530
6531
6532           eval "$wx_cv_use_no_deps"
6533
6534           if test x"$enablestring" = xdisable; then
6535             if test $wxUSE_NO_DEPS = no; then
6536               result=yes
6537             else
6538               result=no
6539             fi
6540           else
6541             result=$wxUSE_NO_DEPS
6542           fi
6543
6544           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6545 $as_echo "$result" >&6; }
6546
6547
6548           enablestring=disable
6549           defaultval=
6550           if test -z "$defaultval"; then
6551               if test x"$enablestring" = xdisable; then
6552                   defaultval=yes
6553               else
6554                   defaultval=no
6555               fi
6556           fi
6557
6558           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6559 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6560           # Check whether --enable-vararg_macros was given.
6561 if test "${enable_vararg_macros+set}" = set; then :
6562   enableval=$enable_vararg_macros;
6563                           if test "$enableval" = yes; then
6564                             wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6565                           else
6566                             wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6567                           fi
6568
6569 else
6570
6571                           wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6572
6573 fi
6574
6575
6576           eval "$wx_cv_use_vararg_macros"
6577
6578           if test x"$enablestring" = xdisable; then
6579             if test $wxUSE_VARARG_MACROS = no; then
6580               result=yes
6581             else
6582               result=no
6583             fi
6584           else
6585             result=$wxUSE_VARARG_MACROS
6586           fi
6587
6588           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6589 $as_echo "$result" >&6; }
6590
6591
6592
6593           enablestring=
6594           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6595 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6596           # Check whether --enable-universal_binary was given.
6597 if test "${enable_universal_binary+set}" = set; then :
6598   enableval=$enable_universal_binary;
6599                           wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6600
6601 else
6602
6603                           wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6604
6605 fi
6606
6607
6608           eval "$wx_cv_use_universal_binary"
6609
6610           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6611 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6612
6613
6614           enablestring=
6615           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6616 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6617           # Check whether --enable-macosx_arch was given.
6618 if test "${enable_macosx_arch+set}" = set; then :
6619   enableval=$enable_macosx_arch;
6620                           wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6621
6622 else
6623
6624                           wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6625
6626 fi
6627
6628
6629           eval "$wx_cv_use_macosx_arch"
6630
6631           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6632 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6633
6634
6635
6636           enablestring=
6637           defaultval=
6638           if test -z "$defaultval"; then
6639               if test x"$enablestring" = xdisable; then
6640                   defaultval=yes
6641               else
6642                   defaultval=no
6643               fi
6644           fi
6645
6646           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6647 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6648           # Check whether --enable-compat26 was given.
6649 if test "${enable_compat26+set}" = set; then :
6650   enableval=$enable_compat26;
6651                           if test "$enableval" = yes; then
6652                             wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
6653                           else
6654                             wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
6655                           fi
6656
6657 else
6658
6659                           wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6660
6661 fi
6662
6663
6664           eval "$wx_cv_use_compat26"
6665
6666           if test x"$enablestring" = xdisable; then
6667             if test $WXWIN_COMPATIBILITY_2_6 = no; then
6668               result=yes
6669             else
6670               result=no
6671             fi
6672           else
6673             result=$WXWIN_COMPATIBILITY_2_6
6674           fi
6675
6676           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6677 $as_echo "$result" >&6; }
6678
6679
6680           enablestring=disable
6681           defaultval=
6682           if test -z "$defaultval"; then
6683               if test x"$enablestring" = xdisable; then
6684                   defaultval=yes
6685               else
6686                   defaultval=no
6687               fi
6688           fi
6689
6690           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6691 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6692           # Check whether --enable-compat28 was given.
6693 if test "${enable_compat28+set}" = set; then :
6694   enableval=$enable_compat28;
6695                           if test "$enableval" = yes; then
6696                             wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6697                           else
6698                             wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6699                           fi
6700
6701 else
6702
6703                           wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6704
6705 fi
6706
6707
6708           eval "$wx_cv_use_compat28"
6709
6710           if test x"$enablestring" = xdisable; then
6711             if test $WXWIN_COMPATIBILITY_2_8 = no; then
6712               result=yes
6713             else
6714               result=no
6715             fi
6716           else
6717             result=$WXWIN_COMPATIBILITY_2_8
6718           fi
6719
6720           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6721 $as_echo "$result" >&6; }
6722
6723
6724
6725           enablestring=disable
6726           defaultval=
6727           if test -z "$defaultval"; then
6728               if test x"$enablestring" = xdisable; then
6729                   defaultval=yes
6730               else
6731                   defaultval=no
6732               fi
6733           fi
6734
6735           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6736 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6737           # Check whether --enable-rpath was given.
6738 if test "${enable_rpath+set}" = set; then :
6739   enableval=$enable_rpath;
6740                           if test "$enableval" = yes; then
6741                             wx_cv_use_rpath='wxUSE_RPATH=yes'
6742                           else
6743                             wx_cv_use_rpath='wxUSE_RPATH=no'
6744                           fi
6745
6746 else
6747
6748                           wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6749
6750 fi
6751
6752
6753           eval "$wx_cv_use_rpath"
6754
6755           if test x"$enablestring" = xdisable; then
6756             if test $wxUSE_RPATH = no; then
6757               result=yes
6758             else
6759               result=no
6760             fi
6761           else
6762             result=$wxUSE_RPATH
6763           fi
6764
6765           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6766 $as_echo "$result" >&6; }
6767
6768
6769
6770           enablestring=
6771           defaultval=
6772           if test -z "$defaultval"; then
6773               if test x"$enablestring" = xdisable; then
6774                   defaultval=yes
6775               else
6776                   defaultval=no
6777               fi
6778           fi
6779
6780           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6781 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6782           # Check whether --enable-objc_uniquifying was given.
6783 if test "${enable_objc_uniquifying+set}" = set; then :
6784   enableval=$enable_objc_uniquifying;
6785                           if test "$enableval" = yes; then
6786                             wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6787                           else
6788                             wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6789                           fi
6790
6791 else
6792
6793                           wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6794
6795 fi
6796
6797
6798           eval "$wx_cv_use_objc_uniquifying"
6799
6800           if test x"$enablestring" = xdisable; then
6801             if test $wxUSE_OBJC_UNIQUIFYING = no; then
6802               result=yes
6803             else
6804               result=no
6805             fi
6806           else
6807             result=$wxUSE_OBJC_UNIQUIFYING
6808           fi
6809
6810           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6811 $as_echo "$result" >&6; }
6812
6813
6814
6815           enablestring=disable
6816           defaultval=
6817           if test -z "$defaultval"; then
6818               if test x"$enablestring" = xdisable; then
6819                   defaultval=yes
6820               else
6821                   defaultval=no
6822               fi
6823           fi
6824
6825           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6826 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6827           # Check whether --enable-visibility was given.
6828 if test "${enable_visibility+set}" = set; then :
6829   enableval=$enable_visibility;
6830                           if test "$enableval" = yes; then
6831                             wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6832                           else
6833                             wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6834                           fi
6835
6836 else
6837
6838                           wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6839
6840 fi
6841
6842
6843           eval "$wx_cv_use_visibility"
6844
6845           if test x"$enablestring" = xdisable; then
6846             if test $wxUSE_VISIBILITY = no; then
6847               result=yes
6848             else
6849               result=no
6850             fi
6851           else
6852             result=$wxUSE_VISIBILITY
6853           fi
6854
6855           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6856 $as_echo "$result" >&6; }
6857
6858
6859           enablestring=disable
6860           defaultval=
6861           if test -z "$defaultval"; then
6862               if test x"$enablestring" = xdisable; then
6863                   defaultval=yes
6864               else
6865                   defaultval=no
6866               fi
6867           fi
6868
6869           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
6870 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
6871           # Check whether --enable-tls was given.
6872 if test "${enable_tls+set}" = set; then :
6873   enableval=$enable_tls;
6874                           if test "$enableval" = yes; then
6875                             wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
6876                           else
6877                             wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
6878                           fi
6879
6880 else
6881
6882                           wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6883
6884 fi
6885
6886
6887           eval "$wx_cv_use_tls"
6888
6889           if test x"$enablestring" = xdisable; then
6890             if test $wxUSE_COMPILER_TLS = no; then
6891               result=yes
6892             else
6893               result=no
6894             fi
6895           else
6896             result=$wxUSE_COMPILER_TLS
6897           fi
6898
6899           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6900 $as_echo "$result" >&6; }
6901
6902
6903
6904
6905           enablestring=
6906           defaultval=$wxUSE_ALL_FEATURES
6907           if test -z "$defaultval"; then
6908               if test x"$enablestring" = xdisable; then
6909                   defaultval=yes
6910               else
6911                   defaultval=no
6912               fi
6913           fi
6914
6915           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
6916 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
6917           # Check whether --enable-intl was given.
6918 if test "${enable_intl+set}" = set; then :
6919   enableval=$enable_intl;
6920                           if test "$enableval" = yes; then
6921                             wx_cv_use_intl='wxUSE_INTL=yes'
6922                           else
6923                             wx_cv_use_intl='wxUSE_INTL=no'
6924                           fi
6925
6926 else
6927
6928                           wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6929
6930 fi
6931
6932
6933           eval "$wx_cv_use_intl"
6934
6935           if test x"$enablestring" = xdisable; then
6936             if test $wxUSE_INTL = no; then
6937               result=yes
6938             else
6939               result=no
6940             fi
6941           else
6942             result=$wxUSE_INTL
6943           fi
6944
6945           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6946 $as_echo "$result" >&6; }
6947
6948
6949           enablestring=
6950           defaultval=$wxUSE_ALL_FEATURES
6951           if test -z "$defaultval"; then
6952               if test x"$enablestring" = xdisable; then
6953                   defaultval=yes
6954               else
6955                   defaultval=no
6956               fi
6957           fi
6958
6959           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
6960 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
6961           # Check whether --enable-xlocale was given.
6962 if test "${enable_xlocale+set}" = set; then :
6963   enableval=$enable_xlocale;
6964                           if test "$enableval" = yes; then
6965                             wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
6966                           else
6967                             wx_cv_use_xlocale='wxUSE_XLOCALE=no'
6968                           fi
6969
6970 else
6971
6972                           wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
6973
6974 fi
6975
6976
6977           eval "$wx_cv_use_xlocale"
6978
6979           if test x"$enablestring" = xdisable; then
6980             if test $wxUSE_XLOCALE = no; then
6981               result=yes
6982             else
6983               result=no
6984             fi
6985           else
6986             result=$wxUSE_XLOCALE
6987           fi
6988
6989           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6990 $as_echo "$result" >&6; }
6991
6992
6993           enablestring=
6994           defaultval=$wxUSE_ALL_FEATURES
6995           if test -z "$defaultval"; then
6996               if test x"$enablestring" = xdisable; then
6997                   defaultval=yes
6998               else
6999                   defaultval=no
7000               fi
7001           fi
7002
7003           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
7004 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
7005           # Check whether --enable-config was given.
7006 if test "${enable_config+set}" = set; then :
7007   enableval=$enable_config;
7008                           if test "$enableval" = yes; then
7009                             wx_cv_use_config='wxUSE_CONFIG=yes'
7010                           else
7011                             wx_cv_use_config='wxUSE_CONFIG=no'
7012                           fi
7013
7014 else
7015
7016                           wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7017
7018 fi
7019
7020
7021           eval "$wx_cv_use_config"
7022
7023           if test x"$enablestring" = xdisable; then
7024             if test $wxUSE_CONFIG = no; then
7025               result=yes
7026             else
7027               result=no
7028             fi
7029           else
7030             result=$wxUSE_CONFIG
7031           fi
7032
7033           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7034 $as_echo "$result" >&6; }
7035
7036
7037
7038           enablestring=
7039           defaultval=$wxUSE_ALL_FEATURES
7040           if test -z "$defaultval"; then
7041               if test x"$enablestring" = xdisable; then
7042                   defaultval=yes
7043               else
7044                   defaultval=no
7045               fi
7046           fi
7047
7048           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7049 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7050           # Check whether --enable-protocols was given.
7051 if test "${enable_protocols+set}" = set; then :
7052   enableval=$enable_protocols;
7053                           if test "$enableval" = yes; then
7054                             wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
7055                           else
7056                             wx_cv_use_protocols='wxUSE_PROTOCOL=no'
7057                           fi
7058
7059 else
7060
7061                           wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7062
7063 fi
7064
7065
7066           eval "$wx_cv_use_protocols"
7067
7068           if test x"$enablestring" = xdisable; then
7069             if test $wxUSE_PROTOCOL = no; then
7070               result=yes
7071             else
7072               result=no
7073             fi
7074           else
7075             result=$wxUSE_PROTOCOL
7076           fi
7077
7078           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7079 $as_echo "$result" >&6; }
7080
7081
7082           enablestring=
7083           defaultval=$wxUSE_ALL_FEATURES
7084           if test -z "$defaultval"; then
7085               if test x"$enablestring" = xdisable; then
7086                   defaultval=yes
7087               else
7088                   defaultval=no
7089               fi
7090           fi
7091
7092           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7093 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7094           # Check whether --enable-ftp was given.
7095 if test "${enable_ftp+set}" = set; then :
7096   enableval=$enable_ftp;
7097                           if test "$enableval" = yes; then
7098                             wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7099                           else
7100                             wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7101                           fi
7102
7103 else
7104
7105                           wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7106
7107 fi
7108
7109
7110           eval "$wx_cv_use_ftp"
7111
7112           if test x"$enablestring" = xdisable; then
7113             if test $wxUSE_PROTOCOL_FTP = no; then
7114               result=yes
7115             else
7116               result=no
7117             fi
7118           else
7119             result=$wxUSE_PROTOCOL_FTP
7120           fi
7121
7122           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7123 $as_echo "$result" >&6; }
7124
7125
7126           enablestring=
7127           defaultval=$wxUSE_ALL_FEATURES
7128           if test -z "$defaultval"; then
7129               if test x"$enablestring" = xdisable; then
7130                   defaultval=yes
7131               else
7132                   defaultval=no
7133               fi
7134           fi
7135
7136           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7137 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7138           # Check whether --enable-http was given.
7139 if test "${enable_http+set}" = set; then :
7140   enableval=$enable_http;
7141                           if test "$enableval" = yes; then
7142                             wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7143                           else
7144                             wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7145                           fi
7146
7147 else
7148
7149                           wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7150
7151 fi
7152
7153
7154           eval "$wx_cv_use_http"
7155
7156           if test x"$enablestring" = xdisable; then
7157             if test $wxUSE_PROTOCOL_HTTP = no; then
7158               result=yes
7159             else
7160               result=no
7161             fi
7162           else
7163             result=$wxUSE_PROTOCOL_HTTP
7164           fi
7165
7166           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7167 $as_echo "$result" >&6; }
7168
7169
7170           enablestring=
7171           defaultval=$wxUSE_ALL_FEATURES
7172           if test -z "$defaultval"; then
7173               if test x"$enablestring" = xdisable; then
7174                   defaultval=yes
7175               else
7176                   defaultval=no
7177               fi
7178           fi
7179
7180           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7181 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7182           # Check whether --enable-fileproto was given.
7183 if test "${enable_fileproto+set}" = set; then :
7184   enableval=$enable_fileproto;
7185                           if test "$enableval" = yes; then
7186                             wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
7187                           else
7188                             wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
7189                           fi
7190
7191 else
7192
7193                           wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7194
7195 fi
7196
7197
7198           eval "$wx_cv_use_fileproto"
7199
7200           if test x"$enablestring" = xdisable; then
7201             if test $wxUSE_PROTOCOL_FILE = no; then
7202               result=yes
7203             else
7204               result=no
7205             fi
7206           else
7207             result=$wxUSE_PROTOCOL_FILE
7208           fi
7209
7210           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7211 $as_echo "$result" >&6; }
7212
7213
7214           enablestring=
7215           defaultval=$wxUSE_ALL_FEATURES
7216           if test -z "$defaultval"; then
7217               if test x"$enablestring" = xdisable; then
7218                   defaultval=yes
7219               else
7220                   defaultval=no
7221               fi
7222           fi
7223
7224           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7225 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7226           # Check whether --enable-sockets was given.
7227 if test "${enable_sockets+set}" = set; then :
7228   enableval=$enable_sockets;
7229                           if test "$enableval" = yes; then
7230                             wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7231                           else
7232                             wx_cv_use_sockets='wxUSE_SOCKETS=no'
7233                           fi
7234
7235 else
7236
7237                           wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7238
7239 fi
7240
7241
7242           eval "$wx_cv_use_sockets"
7243
7244           if test x"$enablestring" = xdisable; then
7245             if test $wxUSE_SOCKETS = no; then
7246               result=yes
7247             else
7248               result=no
7249             fi
7250           else
7251             result=$wxUSE_SOCKETS
7252           fi
7253
7254           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7255 $as_echo "$result" >&6; }
7256
7257
7258           enablestring=
7259           defaultval=$wxUSE_ALL_FEATURES
7260           if test -z "$defaultval"; then
7261               if test x"$enablestring" = xdisable; then
7262                   defaultval=yes
7263               else
7264                   defaultval=no
7265               fi
7266           fi
7267
7268           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7269 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7270           # Check whether --enable-ipv6 was given.
7271 if test "${enable_ipv6+set}" = set; then :
7272   enableval=$enable_ipv6;
7273                           if test "$enableval" = yes; then
7274                             wx_cv_use_ipv6='wxUSE_IPV6=yes'
7275                           else
7276                             wx_cv_use_ipv6='wxUSE_IPV6=no'
7277                           fi
7278
7279 else
7280
7281                           wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7282
7283 fi
7284
7285
7286           eval "$wx_cv_use_ipv6"
7287
7288           if test x"$enablestring" = xdisable; then
7289             if test $wxUSE_IPV6 = no; then
7290               result=yes
7291             else
7292               result=no
7293             fi
7294           else
7295             result=$wxUSE_IPV6
7296           fi
7297
7298           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7299 $as_echo "$result" >&6; }
7300
7301
7302           enablestring=
7303           defaultval=$wxUSE_ALL_FEATURES
7304           if test -z "$defaultval"; then
7305               if test x"$enablestring" = xdisable; then
7306                   defaultval=yes
7307               else
7308                   defaultval=no
7309               fi
7310           fi
7311
7312           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7313 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7314           # Check whether --enable-ole was given.
7315 if test "${enable_ole+set}" = set; then :
7316   enableval=$enable_ole;
7317                           if test "$enableval" = yes; then
7318                             wx_cv_use_ole='wxUSE_OLE=yes'
7319                           else
7320                             wx_cv_use_ole='wxUSE_OLE=no'
7321                           fi
7322
7323 else
7324
7325                           wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7326
7327 fi
7328
7329
7330           eval "$wx_cv_use_ole"
7331
7332           if test x"$enablestring" = xdisable; then
7333             if test $wxUSE_OLE = no; then
7334               result=yes
7335             else
7336               result=no
7337             fi
7338           else
7339             result=$wxUSE_OLE
7340           fi
7341
7342           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7343 $as_echo "$result" >&6; }
7344
7345
7346           enablestring=
7347           defaultval=$wxUSE_ALL_FEATURES
7348           if test -z "$defaultval"; then
7349               if test x"$enablestring" = xdisable; then
7350                   defaultval=yes
7351               else
7352                   defaultval=no
7353               fi
7354           fi
7355
7356           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7357 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7358           # Check whether --enable-dataobj was given.
7359 if test "${enable_dataobj+set}" = set; then :
7360   enableval=$enable_dataobj;
7361                           if test "$enableval" = yes; then
7362                             wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7363                           else
7364                             wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7365                           fi
7366
7367 else
7368
7369                           wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7370
7371 fi
7372
7373
7374           eval "$wx_cv_use_dataobj"
7375
7376           if test x"$enablestring" = xdisable; then
7377             if test $wxUSE_DATAOBJ = no; then
7378               result=yes
7379             else
7380               result=no
7381             fi
7382           else
7383             result=$wxUSE_DATAOBJ
7384           fi
7385
7386           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7387 $as_echo "$result" >&6; }
7388
7389
7390
7391           enablestring=
7392           defaultval=$wxUSE_ALL_FEATURES
7393           if test -z "$defaultval"; then
7394               if test x"$enablestring" = xdisable; then
7395                   defaultval=yes
7396               else
7397                   defaultval=no
7398               fi
7399           fi
7400
7401           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7402 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7403           # Check whether --enable-ipc was given.
7404 if test "${enable_ipc+set}" = set; then :
7405   enableval=$enable_ipc;
7406                           if test "$enableval" = yes; then
7407                             wx_cv_use_ipc='wxUSE_IPC=yes'
7408                           else
7409                             wx_cv_use_ipc='wxUSE_IPC=no'
7410                           fi
7411
7412 else
7413
7414                           wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7415
7416 fi
7417
7418
7419           eval "$wx_cv_use_ipc"
7420
7421           if test x"$enablestring" = xdisable; then
7422             if test $wxUSE_IPC = no; then
7423               result=yes
7424             else
7425               result=no
7426             fi
7427           else
7428             result=$wxUSE_IPC
7429           fi
7430
7431           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7432 $as_echo "$result" >&6; }
7433
7434
7435
7436           enablestring=
7437           defaultval=$wxUSE_ALL_FEATURES
7438           if test -z "$defaultval"; then
7439               if test x"$enablestring" = xdisable; then
7440                   defaultval=yes
7441               else
7442                   defaultval=no
7443               fi
7444           fi
7445
7446           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7447 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7448           # Check whether --enable-baseevtloop was given.
7449 if test "${enable_baseevtloop+set}" = set; then :
7450   enableval=$enable_baseevtloop;
7451                           if test "$enableval" = yes; then
7452                             wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
7453                           else
7454                             wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
7455                           fi
7456
7457 else
7458
7459                           wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7460
7461 fi
7462
7463
7464           eval "$wx_cv_use_baseevtloop"
7465
7466           if test x"$enablestring" = xdisable; then
7467             if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7468               result=yes
7469             else
7470               result=no
7471             fi
7472           else
7473             result=$wxUSE_CONSOLE_EVENTLOOP
7474           fi
7475
7476           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7477 $as_echo "$result" >&6; }
7478
7479
7480           enablestring=
7481           defaultval=$wxUSE_ALL_FEATURES
7482           if test -z "$defaultval"; then
7483               if test x"$enablestring" = xdisable; then
7484                   defaultval=yes
7485               else
7486                   defaultval=no
7487               fi
7488           fi
7489
7490           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7491 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7492           # Check whether --enable-epollloop was given.
7493 if test "${enable_epollloop+set}" = set; then :
7494   enableval=$enable_epollloop;
7495                           if test "$enableval" = yes; then
7496                             wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7497                           else
7498                             wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7499                           fi
7500
7501 else
7502
7503                           wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7504
7505 fi
7506
7507
7508           eval "$wx_cv_use_epollloop"
7509
7510           if test x"$enablestring" = xdisable; then
7511             if test $wxUSE_EPOLL_DISPATCHER = no; then
7512               result=yes
7513             else
7514               result=no
7515             fi
7516           else
7517             result=$wxUSE_EPOLL_DISPATCHER
7518           fi
7519
7520           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7521 $as_echo "$result" >&6; }
7522
7523
7524           enablestring=
7525           defaultval=$wxUSE_ALL_FEATURES
7526           if test -z "$defaultval"; then
7527               if test x"$enablestring" = xdisable; then
7528                   defaultval=yes
7529               else
7530                   defaultval=no
7531               fi
7532           fi
7533
7534           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7535 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7536           # Check whether --enable-selectloop was given.
7537 if test "${enable_selectloop+set}" = set; then :
7538   enableval=$enable_selectloop;
7539                           if test "$enableval" = yes; then
7540                             wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7541                           else
7542                             wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7543                           fi
7544
7545 else
7546
7547                           wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7548
7549 fi
7550
7551
7552           eval "$wx_cv_use_selectloop"
7553
7554           if test x"$enablestring" = xdisable; then
7555             if test $wxUSE_SELECT_DISPATCHER = no; then
7556               result=yes
7557             else
7558               result=no
7559             fi
7560           else
7561             result=$wxUSE_SELECT_DISPATCHER
7562           fi
7563
7564           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7565 $as_echo "$result" >&6; }
7566
7567
7568
7569           enablestring=
7570           defaultval=$wxUSE_ALL_FEATURES
7571           if test -z "$defaultval"; then
7572               if test x"$enablestring" = xdisable; then
7573                   defaultval=yes
7574               else
7575                   defaultval=no
7576               fi
7577           fi
7578
7579           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7580 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7581           # Check whether --enable-any was given.
7582 if test "${enable_any+set}" = set; then :
7583   enableval=$enable_any;
7584                           if test "$enableval" = yes; then
7585                             wx_cv_use_any='wxUSE_ANY=yes'
7586                           else
7587                             wx_cv_use_any='wxUSE_ANY=no'
7588                           fi
7589
7590 else
7591
7592                           wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7593
7594 fi
7595
7596
7597           eval "$wx_cv_use_any"
7598
7599           if test x"$enablestring" = xdisable; then
7600             if test $wxUSE_ANY = no; then
7601               result=yes
7602             else
7603               result=no
7604             fi
7605           else
7606             result=$wxUSE_ANY
7607           fi
7608
7609           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7610 $as_echo "$result" >&6; }
7611
7612
7613           enablestring=
7614           defaultval=$wxUSE_ALL_FEATURES
7615           if test -z "$defaultval"; then
7616               if test x"$enablestring" = xdisable; then
7617                   defaultval=yes
7618               else
7619                   defaultval=no
7620               fi
7621           fi
7622
7623           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7624 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7625           # Check whether --enable-apple_ieee was given.
7626 if test "${enable_apple_ieee+set}" = set; then :
7627   enableval=$enable_apple_ieee;
7628                           if test "$enableval" = yes; then
7629                             wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7630                           else
7631                             wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7632                           fi
7633
7634 else
7635
7636                           wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7637
7638 fi
7639
7640
7641           eval "$wx_cv_use_apple_ieee"
7642
7643           if test x"$enablestring" = xdisable; then
7644             if test $wxUSE_APPLE_IEEE = no; then
7645               result=yes
7646             else
7647               result=no
7648             fi
7649           else
7650             result=$wxUSE_APPLE_IEEE
7651           fi
7652
7653           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7654 $as_echo "$result" >&6; }
7655
7656
7657           enablestring=
7658           defaultval=$wxUSE_ALL_FEATURES
7659           if test -z "$defaultval"; then
7660               if test x"$enablestring" = xdisable; then
7661                   defaultval=yes
7662               else
7663                   defaultval=no
7664               fi
7665           fi
7666
7667           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7668 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7669           # Check whether --enable-arcstream was given.
7670 if test "${enable_arcstream+set}" = set; then :
7671   enableval=$enable_arcstream;
7672                           if test "$enableval" = yes; then
7673                             wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7674                           else
7675                             wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7676                           fi
7677
7678 else
7679
7680                           wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7681
7682 fi
7683
7684
7685           eval "$wx_cv_use_arcstream"
7686
7687           if test x"$enablestring" = xdisable; then
7688             if test $wxUSE_ARCHIVE_STREAMS = no; then
7689               result=yes
7690             else
7691               result=no
7692             fi
7693           else
7694             result=$wxUSE_ARCHIVE_STREAMS
7695           fi
7696
7697           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7698 $as_echo "$result" >&6; }
7699
7700
7701           enablestring=
7702           defaultval=$wxUSE_ALL_FEATURES
7703           if test -z "$defaultval"; then
7704               if test x"$enablestring" = xdisable; then
7705                   defaultval=yes
7706               else
7707                   defaultval=no
7708               fi
7709           fi
7710
7711           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7712 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7713           # Check whether --enable-base64 was given.
7714 if test "${enable_base64+set}" = set; then :
7715   enableval=$enable_base64;
7716                           if test "$enableval" = yes; then
7717                             wx_cv_use_base64='wxUSE_BASE64=yes'
7718                           else
7719                             wx_cv_use_base64='wxUSE_BASE64=no'
7720                           fi
7721
7722 else
7723
7724                           wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7725
7726 fi
7727
7728
7729           eval "$wx_cv_use_base64"
7730
7731           if test x"$enablestring" = xdisable; then
7732             if test $wxUSE_BASE64 = no; then
7733               result=yes
7734             else
7735               result=no
7736             fi
7737           else
7738             result=$wxUSE_BASE64
7739           fi
7740
7741           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7742 $as_echo "$result" >&6; }
7743
7744
7745           enablestring=
7746           defaultval=$wxUSE_ALL_FEATURES
7747           if test -z "$defaultval"; then
7748               if test x"$enablestring" = xdisable; then
7749                   defaultval=yes
7750               else
7751                   defaultval=no
7752               fi
7753           fi
7754
7755           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7756 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7757           # Check whether --enable-backtrace was given.
7758 if test "${enable_backtrace+set}" = set; then :
7759   enableval=$enable_backtrace;
7760                           if test "$enableval" = yes; then
7761                             wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7762                           else
7763                             wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7764                           fi
7765
7766 else
7767
7768                           wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7769
7770 fi
7771
7772
7773           eval "$wx_cv_use_backtrace"
7774
7775           if test x"$enablestring" = xdisable; then
7776             if test $wxUSE_STACKWALKER = no; then
7777               result=yes
7778             else
7779               result=no
7780             fi
7781           else
7782             result=$wxUSE_STACKWALKER
7783           fi
7784
7785           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7786 $as_echo "$result" >&6; }
7787
7788
7789           enablestring=
7790           defaultval=$wxUSE_ALL_FEATURES
7791           if test -z "$defaultval"; then
7792               if test x"$enablestring" = xdisable; then
7793                   defaultval=yes
7794               else
7795                   defaultval=no
7796               fi
7797           fi
7798
7799           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7800 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7801           # Check whether --enable-catch_segvs was given.
7802 if test "${enable_catch_segvs+set}" = set; then :
7803   enableval=$enable_catch_segvs;
7804                           if test "$enableval" = yes; then
7805                             wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7806                           else
7807                             wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7808                           fi
7809
7810 else
7811
7812                           wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7813
7814 fi
7815
7816
7817           eval "$wx_cv_use_catch_segvs"
7818
7819           if test x"$enablestring" = xdisable; then
7820             if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7821               result=yes
7822             else
7823               result=no
7824             fi
7825           else
7826             result=$wxUSE_ON_FATAL_EXCEPTION
7827           fi
7828
7829           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7830 $as_echo "$result" >&6; }
7831
7832
7833           enablestring=
7834           defaultval=$wxUSE_ALL_FEATURES
7835           if test -z "$defaultval"; then
7836               if test x"$enablestring" = xdisable; then
7837                   defaultval=yes
7838               else
7839                   defaultval=no
7840               fi
7841           fi
7842
7843           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7844 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7845           # Check whether --enable-cmdline was given.
7846 if test "${enable_cmdline+set}" = set; then :
7847   enableval=$enable_cmdline;
7848                           if test "$enableval" = yes; then
7849                             wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7850                           else
7851                             wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7852                           fi
7853
7854 else
7855
7856                           wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7857
7858 fi
7859
7860
7861           eval "$wx_cv_use_cmdline"
7862
7863           if test x"$enablestring" = xdisable; then
7864             if test $wxUSE_CMDLINE_PARSER = no; then
7865               result=yes
7866             else
7867               result=no
7868             fi
7869           else
7870             result=$wxUSE_CMDLINE_PARSER
7871           fi
7872
7873           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7874 $as_echo "$result" >&6; }
7875
7876
7877           enablestring=
7878           defaultval=$wxUSE_ALL_FEATURES
7879           if test -z "$defaultval"; then
7880               if test x"$enablestring" = xdisable; then
7881                   defaultval=yes
7882               else
7883                   defaultval=no
7884               fi
7885           fi
7886
7887           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
7888 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
7889           # Check whether --enable-datetime was given.
7890 if test "${enable_datetime+set}" = set; then :
7891   enableval=$enable_datetime;
7892                           if test "$enableval" = yes; then
7893                             wx_cv_use_datetime='wxUSE_DATETIME=yes'
7894                           else
7895                             wx_cv_use_datetime='wxUSE_DATETIME=no'
7896                           fi
7897
7898 else
7899
7900                           wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7901
7902 fi
7903
7904
7905           eval "$wx_cv_use_datetime"
7906
7907           if test x"$enablestring" = xdisable; then
7908             if test $wxUSE_DATETIME = no; then
7909               result=yes
7910             else
7911               result=no
7912             fi
7913           else
7914             result=$wxUSE_DATETIME
7915           fi
7916
7917           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7918 $as_echo "$result" >&6; }
7919
7920
7921           enablestring=
7922           defaultval=$wxUSE_ALL_FEATURES
7923           if test -z "$defaultval"; then
7924               if test x"$enablestring" = xdisable; then
7925                   defaultval=yes
7926               else
7927                   defaultval=no
7928               fi
7929           fi
7930
7931           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
7932 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
7933           # Check whether --enable-debugreport was given.
7934 if test "${enable_debugreport+set}" = set; then :
7935   enableval=$enable_debugreport;
7936                           if test "$enableval" = yes; then
7937                             wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7938                           else
7939                             wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7940                           fi
7941
7942 else
7943
7944                           wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7945
7946 fi
7947
7948
7949           eval "$wx_cv_use_debugreport"
7950
7951           if test x"$enablestring" = xdisable; then
7952             if test $wxUSE_DEBUGREPORT = no; then
7953               result=yes
7954             else
7955               result=no
7956             fi
7957           else
7958             result=$wxUSE_DEBUGREPORT
7959           fi
7960
7961           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7962 $as_echo "$result" >&6; }
7963
7964
7965           enablestring=
7966           defaultval=$wxUSE_ALL_FEATURES
7967           if test -z "$defaultval"; then
7968               if test x"$enablestring" = xdisable; then
7969                   defaultval=yes
7970               else
7971                   defaultval=no
7972               fi
7973           fi
7974
7975           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
7976 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
7977           # Check whether --enable-dialupman was given.
7978 if test "${enable_dialupman+set}" = set; then :
7979   enableval=$enable_dialupman;
7980                           if test "$enableval" = yes; then
7981                             wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7982                           else
7983                             wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7984                           fi
7985
7986 else
7987
7988                           wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7989
7990 fi
7991
7992
7993           eval "$wx_cv_use_dialupman"
7994
7995           if test x"$enablestring" = xdisable; then
7996             if test $wxUSE_DIALUP_MANAGER = no; then
7997               result=yes
7998             else
7999               result=no
8000             fi
8001           else
8002             result=$wxUSE_DIALUP_MANAGER
8003           fi
8004
8005           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8006 $as_echo "$result" >&6; }
8007
8008
8009           enablestring=
8010           defaultval=$wxUSE_ALL_FEATURES
8011           if test -z "$defaultval"; then
8012               if test x"$enablestring" = xdisable; then
8013                   defaultval=yes
8014               else
8015                   defaultval=no
8016               fi
8017           fi
8018
8019           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8020 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8021           # Check whether --enable-dynlib was given.
8022 if test "${enable_dynlib+set}" = set; then :
8023   enableval=$enable_dynlib;
8024                           if test "$enableval" = yes; then
8025                             wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8026                           else
8027                             wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8028                           fi
8029
8030 else
8031
8032                           wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8033
8034 fi
8035
8036
8037           eval "$wx_cv_use_dynlib"
8038
8039           if test x"$enablestring" = xdisable; then
8040             if test $wxUSE_DYNLIB_CLASS = no; then
8041               result=yes
8042             else
8043               result=no
8044             fi
8045           else
8046             result=$wxUSE_DYNLIB_CLASS
8047           fi
8048
8049           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8050 $as_echo "$result" >&6; }
8051
8052
8053           enablestring=
8054           defaultval=$wxUSE_ALL_FEATURES
8055           if test -z "$defaultval"; then
8056               if test x"$enablestring" = xdisable; then
8057                   defaultval=yes
8058               else
8059                   defaultval=no
8060               fi
8061           fi
8062
8063           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8064 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8065           # Check whether --enable-dynamicloader was given.
8066 if test "${enable_dynamicloader+set}" = set; then :
8067   enableval=$enable_dynamicloader;
8068                           if test "$enableval" = yes; then
8069                             wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8070                           else
8071                             wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8072                           fi
8073
8074 else
8075
8076                           wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8077
8078 fi
8079
8080
8081           eval "$wx_cv_use_dynamicloader"
8082
8083           if test x"$enablestring" = xdisable; then
8084             if test $wxUSE_DYNAMIC_LOADER = no; then
8085               result=yes
8086             else
8087               result=no
8088             fi
8089           else
8090             result=$wxUSE_DYNAMIC_LOADER
8091           fi
8092
8093           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8094 $as_echo "$result" >&6; }
8095
8096
8097           enablestring=
8098           defaultval=$wxUSE_ALL_FEATURES
8099           if test -z "$defaultval"; then
8100               if test x"$enablestring" = xdisable; then
8101                   defaultval=yes
8102               else
8103                   defaultval=no
8104               fi
8105           fi
8106
8107           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8108 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8109           # Check whether --enable-exceptions was given.
8110 if test "${enable_exceptions+set}" = set; then :
8111   enableval=$enable_exceptions;
8112                           if test "$enableval" = yes; then
8113                             wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
8114                           else
8115                             wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
8116                           fi
8117
8118 else
8119
8120                           wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8121
8122 fi
8123
8124
8125           eval "$wx_cv_use_exceptions"
8126
8127           if test x"$enablestring" = xdisable; then
8128             if test $wxUSE_EXCEPTIONS = no; then
8129               result=yes
8130             else
8131               result=no
8132             fi
8133           else
8134             result=$wxUSE_EXCEPTIONS
8135           fi
8136
8137           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8138 $as_echo "$result" >&6; }
8139
8140
8141           enablestring=
8142           defaultval=$wxUSE_ALL_FEATURES
8143           if test -z "$defaultval"; then
8144               if test x"$enablestring" = xdisable; then
8145                   defaultval=yes
8146               else
8147                   defaultval=no
8148               fi
8149           fi
8150
8151           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8152 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8153           # Check whether --enable-ffile was given.
8154 if test "${enable_ffile+set}" = set; then :
8155   enableval=$enable_ffile;
8156                           if test "$enableval" = yes; then
8157                             wx_cv_use_ffile='wxUSE_FFILE=yes'
8158                           else
8159                             wx_cv_use_ffile='wxUSE_FFILE=no'
8160                           fi
8161
8162 else
8163
8164                           wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8165
8166 fi
8167
8168
8169           eval "$wx_cv_use_ffile"
8170
8171           if test x"$enablestring" = xdisable; then
8172             if test $wxUSE_FFILE = no; then
8173               result=yes
8174             else
8175               result=no
8176             fi
8177           else
8178             result=$wxUSE_FFILE
8179           fi
8180
8181           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8182 $as_echo "$result" >&6; }
8183
8184
8185           enablestring=
8186           defaultval=$wxUSE_ALL_FEATURES
8187           if test -z "$defaultval"; then
8188               if test x"$enablestring" = xdisable; then
8189                   defaultval=yes
8190               else
8191                   defaultval=no
8192               fi
8193           fi
8194
8195           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8196 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8197           # Check whether --enable-file was given.
8198 if test "${enable_file+set}" = set; then :
8199   enableval=$enable_file;
8200                           if test "$enableval" = yes; then
8201                             wx_cv_use_file='wxUSE_FILE=yes'
8202                           else
8203                             wx_cv_use_file='wxUSE_FILE=no'
8204                           fi
8205
8206 else
8207
8208                           wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8209
8210 fi
8211
8212
8213           eval "$wx_cv_use_file"
8214
8215           if test x"$enablestring" = xdisable; then
8216             if test $wxUSE_FILE = no; then
8217               result=yes
8218             else
8219               result=no
8220             fi
8221           else
8222             result=$wxUSE_FILE
8223           fi
8224
8225           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8226 $as_echo "$result" >&6; }
8227
8228
8229           enablestring=
8230           defaultval=$wxUSE_ALL_FEATURES
8231           if test -z "$defaultval"; then
8232               if test x"$enablestring" = xdisable; then
8233                   defaultval=yes
8234               else
8235                   defaultval=no
8236               fi
8237           fi
8238
8239           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8240 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8241           # Check whether --enable-filehistory was given.
8242 if test "${enable_filehistory+set}" = set; then :
8243   enableval=$enable_filehistory;
8244                           if test "$enableval" = yes; then
8245                             wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
8246                           else
8247                             wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
8248                           fi
8249
8250 else
8251
8252                           wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8253
8254 fi
8255
8256
8257           eval "$wx_cv_use_filehistory"
8258
8259           if test x"$enablestring" = xdisable; then
8260             if test $wxUSE_FILE_HISTORY = no; then
8261               result=yes
8262             else
8263               result=no
8264             fi
8265           else
8266             result=$wxUSE_FILE_HISTORY
8267           fi
8268
8269           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8270 $as_echo "$result" >&6; }
8271
8272
8273           enablestring=
8274           defaultval=$wxUSE_ALL_FEATURES
8275           if test -z "$defaultval"; then
8276               if test x"$enablestring" = xdisable; then
8277                   defaultval=yes
8278               else
8279                   defaultval=no
8280               fi
8281           fi
8282
8283           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8284 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8285           # Check whether --enable-filesystem was given.
8286 if test "${enable_filesystem+set}" = set; then :
8287   enableval=$enable_filesystem;
8288                           if test "$enableval" = yes; then
8289                             wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8290                           else
8291                             wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8292                           fi
8293
8294 else
8295
8296                           wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8297
8298 fi
8299
8300
8301           eval "$wx_cv_use_filesystem"
8302
8303           if test x"$enablestring" = xdisable; then
8304             if test $wxUSE_FILESYSTEM = no; then
8305               result=yes
8306             else
8307               result=no
8308             fi
8309           else
8310             result=$wxUSE_FILESYSTEM
8311           fi
8312
8313           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8314 $as_echo "$result" >&6; }
8315
8316
8317           enablestring=
8318           defaultval=$wxUSE_ALL_FEATURES
8319           if test -z "$defaultval"; then
8320               if test x"$enablestring" = xdisable; then
8321                   defaultval=yes
8322               else
8323                   defaultval=no
8324               fi
8325           fi
8326
8327           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8328 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8329           # Check whether --enable-fontenum was given.
8330 if test "${enable_fontenum+set}" = set; then :
8331   enableval=$enable_fontenum;
8332                           if test "$enableval" = yes; then
8333                             wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8334                           else
8335                             wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8336                           fi
8337
8338 else
8339
8340                           wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8341
8342 fi
8343
8344
8345           eval "$wx_cv_use_fontenum"
8346
8347           if test x"$enablestring" = xdisable; then
8348             if test $wxUSE_FONTENUM = no; then
8349               result=yes
8350             else
8351               result=no
8352             fi
8353           else
8354             result=$wxUSE_FONTENUM
8355           fi
8356
8357           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8358 $as_echo "$result" >&6; }
8359
8360
8361           enablestring=
8362           defaultval=$wxUSE_ALL_FEATURES
8363           if test -z "$defaultval"; then
8364               if test x"$enablestring" = xdisable; then
8365                   defaultval=yes
8366               else
8367                   defaultval=no
8368               fi
8369           fi
8370
8371           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8372 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8373           # Check whether --enable-fontmap was given.
8374 if test "${enable_fontmap+set}" = set; then :
8375   enableval=$enable_fontmap;
8376                           if test "$enableval" = yes; then
8377                             wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
8378                           else
8379                             wx_cv_use_fontmap='wxUSE_FONTMAP=no'
8380                           fi
8381
8382 else
8383
8384                           wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8385
8386 fi
8387
8388
8389           eval "$wx_cv_use_fontmap"
8390
8391           if test x"$enablestring" = xdisable; then
8392             if test $wxUSE_FONTMAP = no; then
8393               result=yes
8394             else
8395               result=no
8396             fi
8397           else
8398             result=$wxUSE_FONTMAP
8399           fi
8400
8401           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8402 $as_echo "$result" >&6; }
8403
8404
8405           enablestring=
8406           defaultval=$wxUSE_ALL_FEATURES
8407           if test -z "$defaultval"; then
8408               if test x"$enablestring" = xdisable; then
8409                   defaultval=yes
8410               else
8411                   defaultval=no
8412               fi
8413           fi
8414
8415           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8416 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8417           # Check whether --enable-fs_archive was given.
8418 if test "${enable_fs_archive+set}" = set; then :
8419   enableval=$enable_fs_archive;
8420                           if test "$enableval" = yes; then
8421                             wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8422                           else
8423                             wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8424                           fi
8425
8426 else
8427
8428                           wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8429
8430 fi
8431
8432
8433           eval "$wx_cv_use_fs_archive"
8434
8435           if test x"$enablestring" = xdisable; then
8436             if test $wxUSE_FS_ARCHIVE = no; then
8437               result=yes
8438             else
8439               result=no
8440             fi
8441           else
8442             result=$wxUSE_FS_ARCHIVE
8443           fi
8444
8445           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8446 $as_echo "$result" >&6; }
8447
8448
8449           enablestring=
8450           defaultval=$wxUSE_ALL_FEATURES
8451           if test -z "$defaultval"; then
8452               if test x"$enablestring" = xdisable; then
8453                   defaultval=yes
8454               else
8455                   defaultval=no
8456               fi
8457           fi
8458
8459           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8460 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8461           # Check whether --enable-fs_inet was given.
8462 if test "${enable_fs_inet+set}" = set; then :
8463   enableval=$enable_fs_inet;
8464                           if test "$enableval" = yes; then
8465                             wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8466                           else
8467                             wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8468                           fi
8469
8470 else
8471
8472                           wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8473
8474 fi
8475
8476
8477           eval "$wx_cv_use_fs_inet"
8478
8479           if test x"$enablestring" = xdisable; then
8480             if test $wxUSE_FS_INET = no; then
8481               result=yes
8482             else
8483               result=no
8484             fi
8485           else
8486             result=$wxUSE_FS_INET
8487           fi
8488
8489           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8490 $as_echo "$result" >&6; }
8491
8492
8493           enablestring=
8494           defaultval=$wxUSE_ALL_FEATURES
8495           if test -z "$defaultval"; then
8496               if test x"$enablestring" = xdisable; then
8497                   defaultval=yes
8498               else
8499                   defaultval=no
8500               fi
8501           fi
8502
8503           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8504 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8505           # Check whether --enable-fs_zip was given.
8506 if test "${enable_fs_zip+set}" = set; then :
8507   enableval=$enable_fs_zip;
8508                           if test "$enableval" = yes; then
8509                             wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
8510                           else
8511                             wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
8512                           fi
8513
8514 else
8515
8516                           wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8517
8518 fi
8519
8520
8521           eval "$wx_cv_use_fs_zip"
8522
8523           if test x"$enablestring" = xdisable; then
8524             if test $wxUSE_FS_ZIP = no; then
8525               result=yes
8526             else
8527               result=no
8528             fi
8529           else
8530             result=$wxUSE_FS_ZIP
8531           fi
8532
8533           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8534 $as_echo "$result" >&6; }
8535
8536
8537           enablestring=
8538           defaultval=$wxUSE_ALL_FEATURES
8539           if test -z "$defaultval"; then
8540               if test x"$enablestring" = xdisable; then
8541                   defaultval=yes
8542               else
8543                   defaultval=no
8544               fi
8545           fi
8546
8547           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8548 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8549           # Check whether --enable-fswatcher was given.
8550 if test "${enable_fswatcher+set}" = set; then :
8551   enableval=$enable_fswatcher;
8552                           if test "$enableval" = yes; then
8553                             wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8554                           else
8555                             wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8556                           fi
8557
8558 else
8559
8560                           wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8561
8562 fi
8563
8564
8565           eval "$wx_cv_use_fswatcher"
8566
8567           if test x"$enablestring" = xdisable; then
8568             if test $wxUSE_FSWATCHER = no; then
8569               result=yes
8570             else
8571               result=no
8572             fi
8573           else
8574             result=$wxUSE_FSWATCHER
8575           fi
8576
8577           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8578 $as_echo "$result" >&6; }
8579
8580
8581           enablestring=
8582           defaultval=$wxUSE_ALL_FEATURES
8583           if test -z "$defaultval"; then
8584               if test x"$enablestring" = xdisable; then
8585                   defaultval=yes
8586               else
8587                   defaultval=no
8588               fi
8589           fi
8590
8591           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8592 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8593           # Check whether --enable-geometry was given.
8594 if test "${enable_geometry+set}" = set; then :
8595   enableval=$enable_geometry;
8596                           if test "$enableval" = yes; then
8597                             wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8598                           else
8599                             wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8600                           fi
8601
8602 else
8603
8604                           wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8605
8606 fi
8607
8608
8609           eval "$wx_cv_use_geometry"
8610
8611           if test x"$enablestring" = xdisable; then
8612             if test $wxUSE_GEOMETRY = no; then
8613               result=yes
8614             else
8615               result=no
8616             fi
8617           else
8618             result=$wxUSE_GEOMETRY
8619           fi
8620
8621           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8622 $as_echo "$result" >&6; }
8623
8624
8625           enablestring=
8626           defaultval=$wxUSE_ALL_FEATURES
8627           if test -z "$defaultval"; then
8628               if test x"$enablestring" = xdisable; then
8629                   defaultval=yes
8630               else
8631                   defaultval=no
8632               fi
8633           fi
8634
8635           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8636 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8637           # Check whether --enable-log was given.
8638 if test "${enable_log+set}" = set; then :
8639   enableval=$enable_log;
8640                           if test "$enableval" = yes; then
8641                             wx_cv_use_log='wxUSE_LOG=yes'
8642                           else
8643                             wx_cv_use_log='wxUSE_LOG=no'
8644                           fi
8645
8646 else
8647
8648                           wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8649
8650 fi
8651
8652
8653           eval "$wx_cv_use_log"
8654
8655           if test x"$enablestring" = xdisable; then
8656             if test $wxUSE_LOG = no; then
8657               result=yes
8658             else
8659               result=no
8660             fi
8661           else
8662             result=$wxUSE_LOG
8663           fi
8664
8665           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8666 $as_echo "$result" >&6; }
8667
8668
8669           enablestring=
8670           defaultval=$wxUSE_ALL_FEATURES
8671           if test -z "$defaultval"; then
8672               if test x"$enablestring" = xdisable; then
8673                   defaultval=yes
8674               else
8675                   defaultval=no
8676               fi
8677           fi
8678
8679           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8680 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8681           # Check whether --enable-longlong was given.
8682 if test "${enable_longlong+set}" = set; then :
8683   enableval=$enable_longlong;
8684                           if test "$enableval" = yes; then
8685                             wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8686                           else
8687                             wx_cv_use_longlong='wxUSE_LONGLONG=no'
8688                           fi
8689
8690 else
8691
8692                           wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8693
8694 fi
8695
8696
8697           eval "$wx_cv_use_longlong"
8698
8699           if test x"$enablestring" = xdisable; then
8700             if test $wxUSE_LONGLONG = no; then
8701               result=yes
8702             else
8703               result=no
8704             fi
8705           else
8706             result=$wxUSE_LONGLONG
8707           fi
8708
8709           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8710 $as_echo "$result" >&6; }
8711
8712
8713           enablestring=
8714           defaultval=$wxUSE_ALL_FEATURES
8715           if test -z "$defaultval"; then
8716               if test x"$enablestring" = xdisable; then
8717                   defaultval=yes
8718               else
8719                   defaultval=no
8720               fi
8721           fi
8722
8723           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8724 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8725           # Check whether --enable-mimetype was given.
8726 if test "${enable_mimetype+set}" = set; then :
8727   enableval=$enable_mimetype;
8728                           if test "$enableval" = yes; then
8729                             wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8730                           else
8731                             wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8732                           fi
8733
8734 else
8735
8736                           wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8737
8738 fi
8739
8740
8741           eval "$wx_cv_use_mimetype"
8742
8743           if test x"$enablestring" = xdisable; then
8744             if test $wxUSE_MIMETYPE = no; then
8745               result=yes
8746             else
8747               result=no
8748             fi
8749           else
8750             result=$wxUSE_MIMETYPE
8751           fi
8752
8753           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8754 $as_echo "$result" >&6; }
8755
8756
8757           enablestring=
8758           defaultval=$wxUSE_ALL_FEATURES
8759           if test -z "$defaultval"; then
8760               if test x"$enablestring" = xdisable; then
8761                   defaultval=yes
8762               else
8763                   defaultval=no
8764               fi
8765           fi
8766
8767           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8768 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8769           # Check whether --enable-printfposparam was given.
8770 if test "${enable_printfposparam+set}" = set; then :
8771   enableval=$enable_printfposparam;
8772                           if test "$enableval" = yes; then
8773                             wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8774                           else
8775                             wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8776                           fi
8777
8778 else
8779
8780                           wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8781
8782 fi
8783
8784
8785           eval "$wx_cv_use_printfposparam"
8786
8787           if test x"$enablestring" = xdisable; then
8788             if test $wxUSE_PRINTF_POS_PARAMS = no; then
8789               result=yes
8790             else
8791               result=no
8792             fi
8793           else
8794             result=$wxUSE_PRINTF_POS_PARAMS
8795           fi
8796
8797           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8798 $as_echo "$result" >&6; }
8799
8800
8801           enablestring=
8802           defaultval=$wxUSE_ALL_FEATURES
8803           if test -z "$defaultval"; then
8804               if test x"$enablestring" = xdisable; then
8805                   defaultval=yes
8806               else
8807                   defaultval=no
8808               fi
8809           fi
8810
8811           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
8812 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
8813           # Check whether --enable-snglinst was given.
8814 if test "${enable_snglinst+set}" = set; then :
8815   enableval=$enable_snglinst;
8816                           if test "$enableval" = yes; then
8817                             wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8818                           else
8819                             wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8820                           fi
8821
8822 else
8823
8824                           wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8825
8826 fi
8827
8828
8829           eval "$wx_cv_use_snglinst"
8830
8831           if test x"$enablestring" = xdisable; then
8832             if test $wxUSE_SNGLINST_CHECKER = no; then
8833               result=yes
8834             else
8835               result=no
8836             fi
8837           else
8838             result=$wxUSE_SNGLINST_CHECKER
8839           fi
8840
8841           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8842 $as_echo "$result" >&6; }
8843
8844
8845           enablestring=
8846           defaultval=$wxUSE_ALL_FEATURES
8847           if test -z "$defaultval"; then
8848               if test x"$enablestring" = xdisable; then
8849                   defaultval=yes
8850               else
8851                   defaultval=no
8852               fi
8853           fi
8854
8855           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
8856 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
8857           # Check whether --enable-sound was given.
8858 if test "${enable_sound+set}" = set; then :
8859   enableval=$enable_sound;
8860                           if test "$enableval" = yes; then
8861                             wx_cv_use_sound='wxUSE_SOUND=yes'
8862                           else
8863                             wx_cv_use_sound='wxUSE_SOUND=no'
8864                           fi
8865
8866 else
8867
8868                           wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8869
8870 fi
8871
8872
8873           eval "$wx_cv_use_sound"
8874
8875           if test x"$enablestring" = xdisable; then
8876             if test $wxUSE_SOUND = no; then
8877               result=yes
8878             else
8879               result=no
8880             fi
8881           else
8882             result=$wxUSE_SOUND
8883           fi
8884
8885           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8886 $as_echo "$result" >&6; }
8887
8888
8889           enablestring=
8890           defaultval=$wxUSE_ALL_FEATURES
8891           if test -z "$defaultval"; then
8892               if test x"$enablestring" = xdisable; then
8893                   defaultval=yes
8894               else
8895                   defaultval=no
8896               fi
8897           fi
8898
8899           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
8900 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
8901           # Check whether --enable-stdpaths was given.
8902 if test "${enable_stdpaths+set}" = set; then :
8903   enableval=$enable_stdpaths;
8904                           if test "$enableval" = yes; then
8905                             wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8906                           else
8907                             wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8908                           fi
8909
8910 else
8911
8912                           wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8913
8914 fi
8915
8916
8917           eval "$wx_cv_use_stdpaths"
8918
8919           if test x"$enablestring" = xdisable; then
8920             if test $wxUSE_STDPATHS = no; then
8921               result=yes
8922             else
8923               result=no
8924             fi
8925           else
8926             result=$wxUSE_STDPATHS
8927           fi
8928
8929           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8930 $as_echo "$result" >&6; }
8931
8932
8933           enablestring=
8934           defaultval=$wxUSE_ALL_FEATURES
8935           if test -z "$defaultval"; then
8936               if test x"$enablestring" = xdisable; then
8937                   defaultval=yes
8938               else
8939                   defaultval=no
8940               fi
8941           fi
8942
8943           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
8944 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
8945           # Check whether --enable-stopwatch was given.
8946 if test "${enable_stopwatch+set}" = set; then :
8947   enableval=$enable_stopwatch;
8948                           if test "$enableval" = yes; then
8949                             wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8950                           else
8951                             wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8952                           fi
8953
8954 else
8955
8956                           wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8957
8958 fi
8959
8960
8961           eval "$wx_cv_use_stopwatch"
8962
8963           if test x"$enablestring" = xdisable; then
8964             if test $wxUSE_STOPWATCH = no; then
8965               result=yes
8966             else
8967               result=no
8968             fi
8969           else
8970             result=$wxUSE_STOPWATCH
8971           fi
8972
8973           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8974 $as_echo "$result" >&6; }
8975
8976
8977           enablestring=
8978           defaultval=$wxUSE_ALL_FEATURES
8979           if test -z "$defaultval"; then
8980               if test x"$enablestring" = xdisable; then
8981                   defaultval=yes
8982               else
8983                   defaultval=no
8984               fi
8985           fi
8986
8987           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
8988 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
8989           # Check whether --enable-streams was given.
8990 if test "${enable_streams+set}" = set; then :
8991   enableval=$enable_streams;
8992                           if test "$enableval" = yes; then
8993                             wx_cv_use_streams='wxUSE_STREAMS=yes'
8994                           else
8995                             wx_cv_use_streams='wxUSE_STREAMS=no'
8996                           fi
8997
8998 else
8999
9000                           wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9001
9002 fi
9003
9004
9005           eval "$wx_cv_use_streams"
9006
9007           if test x"$enablestring" = xdisable; then
9008             if test $wxUSE_STREAMS = no; then
9009               result=yes
9010             else
9011               result=no
9012             fi
9013           else
9014             result=$wxUSE_STREAMS
9015           fi
9016
9017           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9018 $as_echo "$result" >&6; }
9019
9020
9021           enablestring=
9022           defaultval=$wxUSE_ALL_FEATURES
9023           if test -z "$defaultval"; then
9024               if test x"$enablestring" = xdisable; then
9025                   defaultval=yes
9026               else
9027                   defaultval=no
9028               fi
9029           fi
9030
9031           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9032 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9033           # Check whether --enable-sysoptions was given.
9034 if test "${enable_sysoptions+set}" = set; then :
9035   enableval=$enable_sysoptions;
9036                           if test "$enableval" = yes; then
9037                             wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9038                           else
9039                             wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9040                           fi
9041
9042 else
9043
9044                           wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9045
9046 fi
9047
9048
9049           eval "$wx_cv_use_sysoptions"
9050
9051           if test x"$enablestring" = xdisable; then
9052             if test $wxUSE_SYSTEM_OPTIONS = no; then
9053               result=yes
9054             else
9055               result=no
9056             fi
9057           else
9058             result=$wxUSE_SYSTEM_OPTIONS
9059           fi
9060
9061           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9062 $as_echo "$result" >&6; }
9063
9064
9065           enablestring=
9066           defaultval=$wxUSE_ALL_FEATURES
9067           if test -z "$defaultval"; then
9068               if test x"$enablestring" = xdisable; then
9069                   defaultval=yes
9070               else
9071                   defaultval=no
9072               fi
9073           fi
9074
9075           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9076 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9077           # Check whether --enable-tarstream was given.
9078 if test "${enable_tarstream+set}" = set; then :
9079   enableval=$enable_tarstream;
9080                           if test "$enableval" = yes; then
9081                             wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9082                           else
9083                             wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9084                           fi
9085
9086 else
9087
9088                           wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9089
9090 fi
9091
9092
9093           eval "$wx_cv_use_tarstream"
9094
9095           if test x"$enablestring" = xdisable; then
9096             if test $wxUSE_TARSTREAM = no; then
9097               result=yes
9098             else
9099               result=no
9100             fi
9101           else
9102             result=$wxUSE_TARSTREAM
9103           fi
9104
9105           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9106 $as_echo "$result" >&6; }
9107
9108
9109           enablestring=
9110           defaultval=$wxUSE_ALL_FEATURES
9111           if test -z "$defaultval"; then
9112               if test x"$enablestring" = xdisable; then
9113                   defaultval=yes
9114               else
9115                   defaultval=no
9116               fi
9117           fi
9118
9119           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9120 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9121           # Check whether --enable-textbuf was given.
9122 if test "${enable_textbuf+set}" = set; then :
9123   enableval=$enable_textbuf;
9124                           if test "$enableval" = yes; then
9125                             wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9126                           else
9127                             wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9128                           fi
9129
9130 else
9131
9132                           wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9133
9134 fi
9135
9136
9137           eval "$wx_cv_use_textbuf"
9138
9139           if test x"$enablestring" = xdisable; then
9140             if test $wxUSE_TEXTBUFFER = no; then
9141               result=yes
9142             else
9143               result=no
9144             fi
9145           else
9146             result=$wxUSE_TEXTBUFFER
9147           fi
9148
9149           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9150 $as_echo "$result" >&6; }
9151
9152
9153           enablestring=
9154           defaultval=$wxUSE_ALL_FEATURES
9155           if test -z "$defaultval"; then
9156               if test x"$enablestring" = xdisable; then
9157                   defaultval=yes
9158               else
9159                   defaultval=no
9160               fi
9161           fi
9162
9163           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9164 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9165           # Check whether --enable-textfile was given.
9166 if test "${enable_textfile+set}" = set; then :
9167   enableval=$enable_textfile;
9168                           if test "$enableval" = yes; then
9169                             wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9170                           else
9171                             wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9172                           fi
9173
9174 else
9175
9176                           wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9177
9178 fi
9179
9180
9181           eval "$wx_cv_use_textfile"
9182
9183           if test x"$enablestring" = xdisable; then
9184             if test $wxUSE_TEXTFILE = no; then
9185               result=yes
9186             else
9187               result=no
9188             fi
9189           else
9190             result=$wxUSE_TEXTFILE
9191           fi
9192
9193           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9194 $as_echo "$result" >&6; }
9195
9196
9197           enablestring=
9198           defaultval=$wxUSE_ALL_FEATURES
9199           if test -z "$defaultval"; then
9200               if test x"$enablestring" = xdisable; then
9201                   defaultval=yes
9202               else
9203                   defaultval=no
9204               fi
9205           fi
9206
9207           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9208 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9209           # Check whether --enable-timer was given.
9210 if test "${enable_timer+set}" = set; then :
9211   enableval=$enable_timer;
9212                           if test "$enableval" = yes; then
9213                             wx_cv_use_timer='wxUSE_TIMER=yes'
9214                           else
9215                             wx_cv_use_timer='wxUSE_TIMER=no'
9216                           fi
9217
9218 else
9219
9220                           wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9221
9222 fi
9223
9224
9225           eval "$wx_cv_use_timer"
9226
9227           if test x"$enablestring" = xdisable; then
9228             if test $wxUSE_TIMER = no; then
9229               result=yes
9230             else
9231               result=no
9232             fi
9233           else
9234             result=$wxUSE_TIMER
9235           fi
9236
9237           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9238 $as_echo "$result" >&6; }
9239
9240
9241           enablestring=
9242           defaultval=$wxUSE_ALL_FEATURES
9243           if test -z "$defaultval"; then
9244               if test x"$enablestring" = xdisable; then
9245                   defaultval=yes
9246               else
9247                   defaultval=no
9248               fi
9249           fi
9250
9251           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9252 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9253           # Check whether --enable-variant was given.
9254 if test "${enable_variant+set}" = set; then :
9255   enableval=$enable_variant;
9256                           if test "$enableval" = yes; then
9257                             wx_cv_use_variant='wxUSE_VARIANT=yes'
9258                           else
9259                             wx_cv_use_variant='wxUSE_VARIANT=no'
9260                           fi
9261
9262 else
9263
9264                           wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9265
9266 fi
9267
9268
9269           eval "$wx_cv_use_variant"
9270
9271           if test x"$enablestring" = xdisable; then
9272             if test $wxUSE_VARIANT = no; then
9273               result=yes
9274             else
9275               result=no
9276             fi
9277           else
9278             result=$wxUSE_VARIANT
9279           fi
9280
9281           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9282 $as_echo "$result" >&6; }
9283
9284
9285           enablestring=
9286           defaultval=$wxUSE_ALL_FEATURES
9287           if test -z "$defaultval"; then
9288               if test x"$enablestring" = xdisable; then
9289                   defaultval=yes
9290               else
9291                   defaultval=no
9292               fi
9293           fi
9294
9295           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9296 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9297           # Check whether --enable-zipstream was given.
9298 if test "${enable_zipstream+set}" = set; then :
9299   enableval=$enable_zipstream;
9300                           if test "$enableval" = yes; then
9301                             wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9302                           else
9303                             wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9304                           fi
9305
9306 else
9307
9308                           wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9309
9310 fi
9311
9312
9313           eval "$wx_cv_use_zipstream"
9314
9315           if test x"$enablestring" = xdisable; then
9316             if test $wxUSE_ZIPSTREAM = no; then
9317               result=yes
9318             else
9319               result=no
9320             fi
9321           else
9322             result=$wxUSE_ZIPSTREAM
9323           fi
9324
9325           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9326 $as_echo "$result" >&6; }
9327
9328
9329
9330           enablestring=
9331           defaultval=$wxUSE_ALL_FEATURES
9332           if test -z "$defaultval"; then
9333               if test x"$enablestring" = xdisable; then
9334                   defaultval=yes
9335               else
9336                   defaultval=no
9337               fi
9338           fi
9339
9340           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9341 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9342           # Check whether --enable-url was given.
9343 if test "${enable_url+set}" = set; then :
9344   enableval=$enable_url;
9345                           if test "$enableval" = yes; then
9346                             wx_cv_use_url='wxUSE_URL=yes'
9347                           else
9348                             wx_cv_use_url='wxUSE_URL=no'
9349                           fi
9350
9351 else
9352
9353                           wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9354
9355 fi
9356
9357
9358           eval "$wx_cv_use_url"
9359
9360           if test x"$enablestring" = xdisable; then
9361             if test $wxUSE_URL = no; then
9362               result=yes
9363             else
9364               result=no
9365             fi
9366           else
9367             result=$wxUSE_URL
9368           fi
9369
9370           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9371 $as_echo "$result" >&6; }
9372
9373
9374           enablestring=
9375           defaultval=$wxUSE_ALL_FEATURES
9376           if test -z "$defaultval"; then
9377               if test x"$enablestring" = xdisable; then
9378                   defaultval=yes
9379               else
9380                   defaultval=no
9381               fi
9382           fi
9383
9384           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9385 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9386           # Check whether --enable-protocol was given.
9387 if test "${enable_protocol+set}" = set; then :
9388   enableval=$enable_protocol;
9389                           if test "$enableval" = yes; then
9390                             wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9391                           else
9392                             wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9393                           fi
9394
9395 else
9396
9397                           wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9398
9399 fi
9400
9401
9402           eval "$wx_cv_use_protocol"
9403
9404           if test x"$enablestring" = xdisable; then
9405             if test $wxUSE_PROTOCOL = no; then
9406               result=yes
9407             else
9408               result=no
9409             fi
9410           else
9411             result=$wxUSE_PROTOCOL
9412           fi
9413
9414           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9415 $as_echo "$result" >&6; }
9416
9417
9418           enablestring=
9419           defaultval=$wxUSE_ALL_FEATURES
9420           if test -z "$defaultval"; then
9421               if test x"$enablestring" = xdisable; then
9422                   defaultval=yes
9423               else
9424                   defaultval=no
9425               fi
9426           fi
9427
9428           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9429 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9430           # Check whether --enable-protocol_http was given.
9431 if test "${enable_protocol_http+set}" = set; then :
9432   enableval=$enable_protocol_http;
9433                           if test "$enableval" = yes; then
9434                             wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9435                           else
9436                             wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9437                           fi
9438
9439 else
9440
9441                           wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9442
9443 fi
9444
9445
9446           eval "$wx_cv_use_protocol_http"
9447
9448           if test x"$enablestring" = xdisable; then
9449             if test $wxUSE_PROTOCOL_HTTP = no; then
9450               result=yes
9451             else
9452               result=no
9453             fi
9454           else
9455             result=$wxUSE_PROTOCOL_HTTP
9456           fi
9457
9458           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9459 $as_echo "$result" >&6; }
9460
9461
9462           enablestring=
9463           defaultval=$wxUSE_ALL_FEATURES
9464           if test -z "$defaultval"; then
9465               if test x"$enablestring" = xdisable; then
9466                   defaultval=yes
9467               else
9468                   defaultval=no
9469               fi
9470           fi
9471
9472           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9473 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9474           # Check whether --enable-protocol_ftp was given.
9475 if test "${enable_protocol_ftp+set}" = set; then :
9476   enableval=$enable_protocol_ftp;
9477                           if test "$enableval" = yes; then
9478                             wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9479                           else
9480                             wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9481                           fi
9482
9483 else
9484
9485                           wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9486
9487 fi
9488
9489
9490           eval "$wx_cv_use_protocol_ftp"
9491
9492           if test x"$enablestring" = xdisable; then
9493             if test $wxUSE_PROTOCOL_FTP = no; then
9494               result=yes
9495             else
9496               result=no
9497             fi
9498           else
9499             result=$wxUSE_PROTOCOL_FTP
9500           fi
9501
9502           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9503 $as_echo "$result" >&6; }
9504
9505
9506           enablestring=
9507           defaultval=$wxUSE_ALL_FEATURES
9508           if test -z "$defaultval"; then
9509               if test x"$enablestring" = xdisable; then
9510                   defaultval=yes
9511               else
9512                   defaultval=no
9513               fi
9514           fi
9515
9516           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9517 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9518           # Check whether --enable-protocol_file was given.
9519 if test "${enable_protocol_file+set}" = set; then :
9520   enableval=$enable_protocol_file;
9521                           if test "$enableval" = yes; then
9522                             wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9523                           else
9524                             wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9525                           fi
9526
9527 else
9528
9529                           wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9530
9531 fi
9532
9533
9534           eval "$wx_cv_use_protocol_file"
9535
9536           if test x"$enablestring" = xdisable; then
9537             if test $wxUSE_PROTOCOL_FILE = no; then
9538               result=yes
9539             else
9540               result=no
9541             fi
9542           else
9543             result=$wxUSE_PROTOCOL_FILE
9544           fi
9545
9546           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9547 $as_echo "$result" >&6; }
9548
9549
9550
9551           enablestring=
9552           defaultval=$wxUSE_ALL_FEATURES
9553           if test -z "$defaultval"; then
9554               if test x"$enablestring" = xdisable; then
9555                   defaultval=yes
9556               else
9557                   defaultval=no
9558               fi
9559           fi
9560
9561           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9562 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9563           # Check whether --enable-threads was given.
9564 if test "${enable_threads+set}" = set; then :
9565   enableval=$enable_threads;
9566                           if test "$enableval" = yes; then
9567                             wx_cv_use_threads='wxUSE_THREADS=yes'
9568                           else
9569                             wx_cv_use_threads='wxUSE_THREADS=no'
9570                           fi
9571
9572 else
9573
9574                           wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9575
9576 fi
9577
9578
9579           eval "$wx_cv_use_threads"
9580
9581           if test x"$enablestring" = xdisable; then
9582             if test $wxUSE_THREADS = no; then
9583               result=yes
9584             else
9585               result=no
9586             fi
9587           else
9588             result=$wxUSE_THREADS
9589           fi
9590
9591           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9592 $as_echo "$result" >&6; }
9593
9594
9595
9596           enablestring=
9597           defaultval=
9598           if test -z "$defaultval"; then
9599               if test x"$enablestring" = xdisable; then
9600                   defaultval=yes
9601               else
9602                   defaultval=no
9603               fi
9604           fi
9605
9606           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9607 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9608           # Check whether --enable-iniconf was given.
9609 if test "${enable_iniconf+set}" = set; then :
9610   enableval=$enable_iniconf;
9611                           if test "$enableval" = yes; then
9612                             wx_cv_use_iniconf='wxUSE_INICONF=yes'
9613                           else
9614                             wx_cv_use_iniconf='wxUSE_INICONF=no'
9615                           fi
9616
9617 else
9618
9619                           wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9620
9621 fi
9622
9623
9624           eval "$wx_cv_use_iniconf"
9625
9626           if test x"$enablestring" = xdisable; then
9627             if test $wxUSE_INICONF = no; then
9628               result=yes
9629             else
9630               result=no
9631             fi
9632           else
9633             result=$wxUSE_INICONF
9634           fi
9635
9636           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9637 $as_echo "$result" >&6; }
9638
9639
9640           enablestring=
9641           defaultval=$wxUSE_ALL_FEATURES
9642           if test -z "$defaultval"; then
9643               if test x"$enablestring" = xdisable; then
9644                   defaultval=yes
9645               else
9646                   defaultval=no
9647               fi
9648           fi
9649
9650           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9651 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9652           # Check whether --enable-regkey was given.
9653 if test "${enable_regkey+set}" = set; then :
9654   enableval=$enable_regkey;
9655                           if test "$enableval" = yes; then
9656                             wx_cv_use_regkey='wxUSE_REGKEY=yes'
9657                           else
9658                             wx_cv_use_regkey='wxUSE_REGKEY=no'
9659                           fi
9660
9661 else
9662
9663                           wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9664
9665 fi
9666
9667
9668           eval "$wx_cv_use_regkey"
9669
9670           if test x"$enablestring" = xdisable; then
9671             if test $wxUSE_REGKEY = no; then
9672               result=yes
9673             else
9674               result=no
9675             fi
9676           else
9677             result=$wxUSE_REGKEY
9678           fi
9679
9680           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9681 $as_echo "$result" >&6; }
9682
9683
9684 if test "$wxUSE_GUI" = "yes"; then
9685
9686
9687
9688           enablestring=
9689           defaultval=$wxUSE_ALL_FEATURES
9690           if test -z "$defaultval"; then
9691               if test x"$enablestring" = xdisable; then
9692                   defaultval=yes
9693               else
9694                   defaultval=no
9695               fi
9696           fi
9697
9698           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9699 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9700           # Check whether --enable-docview was given.
9701 if test "${enable_docview+set}" = set; then :
9702   enableval=$enable_docview;
9703                           if test "$enableval" = yes; then
9704                             wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9705                           else
9706                             wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9707                           fi
9708
9709 else
9710
9711                           wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9712
9713 fi
9714
9715
9716           eval "$wx_cv_use_docview"
9717
9718           if test x"$enablestring" = xdisable; then
9719             if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9720               result=yes
9721             else
9722               result=no
9723             fi
9724           else
9725             result=$wxUSE_DOC_VIEW_ARCHITECTURE
9726           fi
9727
9728           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9729 $as_echo "$result" >&6; }
9730
9731
9732           enablestring=
9733           defaultval=$wxUSE_ALL_FEATURES
9734           if test -z "$defaultval"; then
9735               if test x"$enablestring" = xdisable; then
9736                   defaultval=yes
9737               else
9738                   defaultval=no
9739               fi
9740           fi
9741
9742           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9743 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9744           # Check whether --enable-help was given.
9745 if test "${enable_help+set}" = set; then :
9746   enableval=$enable_help;
9747                           if test "$enableval" = yes; then
9748                             wx_cv_use_help='wxUSE_HELP=yes'
9749                           else
9750                             wx_cv_use_help='wxUSE_HELP=no'
9751                           fi
9752
9753 else
9754
9755                           wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9756
9757 fi
9758
9759
9760           eval "$wx_cv_use_help"
9761
9762           if test x"$enablestring" = xdisable; then
9763             if test $wxUSE_HELP = no; then
9764               result=yes
9765             else
9766               result=no
9767             fi
9768           else
9769             result=$wxUSE_HELP
9770           fi
9771
9772           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9773 $as_echo "$result" >&6; }
9774
9775
9776           enablestring=
9777           defaultval=$wxUSE_ALL_FEATURES
9778           if test -z "$defaultval"; then
9779               if test x"$enablestring" = xdisable; then
9780                   defaultval=yes
9781               else
9782                   defaultval=no
9783               fi
9784           fi
9785
9786           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9787 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9788           # Check whether --enable-mshtmlhelp was given.
9789 if test "${enable_mshtmlhelp+set}" = set; then :
9790   enableval=$enable_mshtmlhelp;
9791                           if test "$enableval" = yes; then
9792                             wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9793                           else
9794                             wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9795                           fi
9796
9797 else
9798
9799                           wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9800
9801 fi
9802
9803
9804           eval "$wx_cv_use_mshtmlhelp"
9805
9806           if test x"$enablestring" = xdisable; then
9807             if test $wxUSE_MS_HTML_HELP = no; then
9808               result=yes
9809             else
9810               result=no
9811             fi
9812           else
9813             result=$wxUSE_MS_HTML_HELP
9814           fi
9815
9816           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9817 $as_echo "$result" >&6; }
9818
9819
9820           enablestring=
9821           defaultval=$wxUSE_ALL_FEATURES
9822           if test -z "$defaultval"; then
9823               if test x"$enablestring" = xdisable; then
9824                   defaultval=yes
9825               else
9826                   defaultval=no
9827               fi
9828           fi
9829
9830           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
9831 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
9832           # Check whether --enable-html was given.
9833 if test "${enable_html+set}" = set; then :
9834   enableval=$enable_html;
9835                           if test "$enableval" = yes; then
9836                             wx_cv_use_html='wxUSE_HTML=yes'
9837                           else
9838                             wx_cv_use_html='wxUSE_HTML=no'
9839                           fi
9840
9841 else
9842
9843                           wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9844
9845 fi
9846
9847
9848           eval "$wx_cv_use_html"
9849
9850           if test x"$enablestring" = xdisable; then
9851             if test $wxUSE_HTML = no; then
9852               result=yes
9853             else
9854               result=no
9855             fi
9856           else
9857             result=$wxUSE_HTML
9858           fi
9859
9860           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9861 $as_echo "$result" >&6; }
9862
9863
9864           enablestring=
9865           defaultval=$wxUSE_ALL_FEATURES
9866           if test -z "$defaultval"; then
9867               if test x"$enablestring" = xdisable; then
9868                   defaultval=yes
9869               else
9870                   defaultval=no
9871               fi
9872           fi
9873
9874           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
9875 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
9876           # Check whether --enable-htmlhelp was given.
9877 if test "${enable_htmlhelp+set}" = set; then :
9878   enableval=$enable_htmlhelp;
9879                           if test "$enableval" = yes; then
9880                             wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9881                           else
9882                             wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9883                           fi
9884
9885 else
9886
9887                           wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9888
9889 fi
9890
9891
9892           eval "$wx_cv_use_htmlhelp"
9893
9894           if test x"$enablestring" = xdisable; then
9895             if test $wxUSE_WXHTML_HELP = no; then
9896               result=yes
9897             else
9898               result=no
9899             fi
9900           else
9901             result=$wxUSE_WXHTML_HELP
9902           fi
9903
9904           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9905 $as_echo "$result" >&6; }
9906
9907
9908           enablestring=
9909           defaultval=$wxUSE_ALL_FEATURES
9910           if test -z "$defaultval"; then
9911               if test x"$enablestring" = xdisable; then
9912                   defaultval=yes
9913               else
9914                   defaultval=no
9915               fi
9916           fi
9917
9918           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
9919 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
9920           # Check whether --enable-xrc was given.
9921 if test "${enable_xrc+set}" = set; then :
9922   enableval=$enable_xrc;
9923                           if test "$enableval" = yes; then
9924                             wx_cv_use_xrc='wxUSE_XRC=yes'
9925                           else
9926                             wx_cv_use_xrc='wxUSE_XRC=no'
9927                           fi
9928
9929 else
9930
9931                           wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9932
9933 fi
9934
9935
9936           eval "$wx_cv_use_xrc"
9937
9938           if test x"$enablestring" = xdisable; then
9939             if test $wxUSE_XRC = no; then
9940               result=yes
9941             else
9942               result=no
9943             fi
9944           else
9945             result=$wxUSE_XRC
9946           fi
9947
9948           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9949 $as_echo "$result" >&6; }
9950
9951
9952           enablestring=
9953           defaultval=$wxUSE_ALL_FEATURES
9954           if test -z "$defaultval"; then
9955               if test x"$enablestring" = xdisable; then
9956                   defaultval=yes
9957               else
9958                   defaultval=no
9959               fi
9960           fi
9961
9962           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
9963 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
9964           # Check whether --enable-aui was given.
9965 if test "${enable_aui+set}" = set; then :
9966   enableval=$enable_aui;
9967                           if test "$enableval" = yes; then
9968                             wx_cv_use_aui='wxUSE_AUI=yes'
9969                           else
9970                             wx_cv_use_aui='wxUSE_AUI=no'
9971                           fi
9972
9973 else
9974
9975                           wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9976
9977 fi
9978
9979
9980           eval "$wx_cv_use_aui"
9981
9982           if test x"$enablestring" = xdisable; then
9983             if test $wxUSE_AUI = no; then
9984               result=yes
9985             else
9986               result=no
9987             fi
9988           else
9989             result=$wxUSE_AUI
9990           fi
9991
9992           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9993 $as_echo "$result" >&6; }
9994
9995
9996           enablestring=
9997           defaultval=$wxUSE_ALL_FEATURES
9998           if test -z "$defaultval"; then
9999               if test x"$enablestring" = xdisable; then
10000                   defaultval=yes
10001               else
10002                   defaultval=no
10003               fi
10004           fi
10005
10006           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10007 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10008           # Check whether --enable-propgrid was given.
10009 if test "${enable_propgrid+set}" = set; then :
10010   enableval=$enable_propgrid;
10011                           if test "$enableval" = yes; then
10012                             wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10013                           else
10014                             wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10015                           fi
10016
10017 else
10018
10019                           wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10020
10021 fi
10022
10023
10024           eval "$wx_cv_use_propgrid"
10025
10026           if test x"$enablestring" = xdisable; then
10027             if test $wxUSE_PROPGRID = no; then
10028               result=yes
10029             else
10030               result=no
10031             fi
10032           else
10033             result=$wxUSE_PROPGRID
10034           fi
10035
10036           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10037 $as_echo "$result" >&6; }
10038
10039
10040           enablestring=
10041           defaultval=$wxUSE_ALL_FEATURES
10042           if test -z "$defaultval"; then
10043               if test x"$enablestring" = xdisable; then
10044                   defaultval=yes
10045               else
10046                   defaultval=no
10047               fi
10048           fi
10049
10050           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10051 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10052           # Check whether --enable-ribbon was given.
10053 if test "${enable_ribbon+set}" = set; then :
10054   enableval=$enable_ribbon;
10055                           if test "$enableval" = yes; then
10056                             wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10057                           else
10058                             wx_cv_use_ribbon='wxUSE_RIBBON=no'
10059                           fi
10060
10061 else
10062
10063                           wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10064
10065 fi
10066
10067
10068           eval "$wx_cv_use_ribbon"
10069
10070           if test x"$enablestring" = xdisable; then
10071             if test $wxUSE_RIBBON = no; then
10072               result=yes
10073             else
10074               result=no
10075             fi
10076           else
10077             result=$wxUSE_RIBBON
10078           fi
10079
10080           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10081 $as_echo "$result" >&6; }
10082
10083
10084           enablestring=
10085           defaultval=$wxUSE_ALL_FEATURES
10086           if test -z "$defaultval"; then
10087               if test x"$enablestring" = xdisable; then
10088                   defaultval=yes
10089               else
10090                   defaultval=no
10091               fi
10092           fi
10093
10094           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10095 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10096           # Check whether --enable-stc was given.
10097 if test "${enable_stc+set}" = set; then :
10098   enableval=$enable_stc;
10099                           if test "$enableval" = yes; then
10100                             wx_cv_use_stc='wxUSE_STC=yes'
10101                           else
10102                             wx_cv_use_stc='wxUSE_STC=no'
10103                           fi
10104
10105 else
10106
10107                           wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10108
10109 fi
10110
10111
10112           eval "$wx_cv_use_stc"
10113
10114           if test x"$enablestring" = xdisable; then
10115             if test $wxUSE_STC = no; then
10116               result=yes
10117             else
10118               result=no
10119             fi
10120           else
10121             result=$wxUSE_STC
10122           fi
10123
10124           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10125 $as_echo "$result" >&6; }
10126
10127
10128           enablestring=
10129           defaultval=$wxUSE_ALL_FEATURES
10130           if test -z "$defaultval"; then
10131               if test x"$enablestring" = xdisable; then
10132                   defaultval=yes
10133               else
10134                   defaultval=no
10135               fi
10136           fi
10137
10138           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10139 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10140           # Check whether --enable-constraints was given.
10141 if test "${enable_constraints+set}" = set; then :
10142   enableval=$enable_constraints;
10143                           if test "$enableval" = yes; then
10144                             wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10145                           else
10146                             wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10147                           fi
10148
10149 else
10150
10151                           wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10152
10153 fi
10154
10155
10156           eval "$wx_cv_use_constraints"
10157
10158           if test x"$enablestring" = xdisable; then
10159             if test $wxUSE_CONSTRAINTS = no; then
10160               result=yes
10161             else
10162               result=no
10163             fi
10164           else
10165             result=$wxUSE_CONSTRAINTS
10166           fi
10167
10168           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10169 $as_echo "$result" >&6; }
10170
10171
10172           enablestring=
10173           defaultval=$wxUSE_ALL_FEATURES
10174           if test -z "$defaultval"; then
10175               if test x"$enablestring" = xdisable; then
10176                   defaultval=yes
10177               else
10178                   defaultval=no
10179               fi
10180           fi
10181
10182           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10183 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10184           # Check whether --enable-loggui was given.
10185 if test "${enable_loggui+set}" = set; then :
10186   enableval=$enable_loggui;
10187                           if test "$enableval" = yes; then
10188                             wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10189                           else
10190                             wx_cv_use_loggui='wxUSE_LOGGUI=no'
10191                           fi
10192
10193 else
10194
10195                           wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10196
10197 fi
10198
10199
10200           eval "$wx_cv_use_loggui"
10201
10202           if test x"$enablestring" = xdisable; then
10203             if test $wxUSE_LOGGUI = no; then
10204               result=yes
10205             else
10206               result=no
10207             fi
10208           else
10209             result=$wxUSE_LOGGUI
10210           fi
10211
10212           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10213 $as_echo "$result" >&6; }
10214
10215
10216           enablestring=
10217           defaultval=$wxUSE_ALL_FEATURES
10218           if test -z "$defaultval"; then
10219               if test x"$enablestring" = xdisable; then
10220                   defaultval=yes
10221               else
10222                   defaultval=no
10223               fi
10224           fi
10225
10226           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10227 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10228           # Check whether --enable-logwin was given.
10229 if test "${enable_logwin+set}" = set; then :
10230   enableval=$enable_logwin;
10231                           if test "$enableval" = yes; then
10232                             wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10233                           else
10234                             wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10235                           fi
10236
10237 else
10238
10239                           wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10240
10241 fi
10242
10243
10244           eval "$wx_cv_use_logwin"
10245
10246           if test x"$enablestring" = xdisable; then
10247             if test $wxUSE_LOGWINDOW = no; then
10248               result=yes
10249             else
10250               result=no
10251             fi
10252           else
10253             result=$wxUSE_LOGWINDOW
10254           fi
10255
10256           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10257 $as_echo "$result" >&6; }
10258
10259
10260           enablestring=
10261           defaultval=$wxUSE_ALL_FEATURES
10262           if test -z "$defaultval"; then
10263               if test x"$enablestring" = xdisable; then
10264                   defaultval=yes
10265               else
10266                   defaultval=no
10267               fi
10268           fi
10269
10270           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10271 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10272           # Check whether --enable-logdialog was given.
10273 if test "${enable_logdialog+set}" = set; then :
10274   enableval=$enable_logdialog;
10275                           if test "$enableval" = yes; then
10276                             wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10277                           else
10278                             wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10279                           fi
10280
10281 else
10282
10283                           wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10284
10285 fi
10286
10287
10288           eval "$wx_cv_use_logdialog"
10289
10290           if test x"$enablestring" = xdisable; then
10291             if test $wxUSE_LOGDIALOG = no; then
10292               result=yes
10293             else
10294               result=no
10295             fi
10296           else
10297             result=$wxUSE_LOGDIALOG
10298           fi
10299
10300           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10301 $as_echo "$result" >&6; }
10302
10303
10304           enablestring=
10305           defaultval=$wxUSE_ALL_FEATURES
10306           if test -z "$defaultval"; then
10307               if test x"$enablestring" = xdisable; then
10308                   defaultval=yes
10309               else
10310                   defaultval=no
10311               fi
10312           fi
10313
10314           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10315 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10316           # Check whether --enable-mdi was given.
10317 if test "${enable_mdi+set}" = set; then :
10318   enableval=$enable_mdi;
10319                           if test "$enableval" = yes; then
10320                             wx_cv_use_mdi='wxUSE_MDI=yes'
10321                           else
10322                             wx_cv_use_mdi='wxUSE_MDI=no'
10323                           fi
10324
10325 else
10326
10327                           wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10328
10329 fi
10330
10331
10332           eval "$wx_cv_use_mdi"
10333
10334           if test x"$enablestring" = xdisable; then
10335             if test $wxUSE_MDI = no; then
10336               result=yes
10337             else
10338               result=no
10339             fi
10340           else
10341             result=$wxUSE_MDI
10342           fi
10343
10344           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10345 $as_echo "$result" >&6; }
10346
10347
10348           enablestring=
10349           defaultval=$wxUSE_ALL_FEATURES
10350           if test -z "$defaultval"; then
10351               if test x"$enablestring" = xdisable; then
10352                   defaultval=yes
10353               else
10354                   defaultval=no
10355               fi
10356           fi
10357
10358           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10359 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10360           # Check whether --enable-mdidoc was given.
10361 if test "${enable_mdidoc+set}" = set; then :
10362   enableval=$enable_mdidoc;
10363                           if test "$enableval" = yes; then
10364                             wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10365                           else
10366                             wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10367                           fi
10368
10369 else
10370
10371                           wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10372
10373 fi
10374
10375
10376           eval "$wx_cv_use_mdidoc"
10377
10378           if test x"$enablestring" = xdisable; then
10379             if test $wxUSE_MDI_ARCHITECTURE = no; then
10380               result=yes
10381             else
10382               result=no
10383             fi
10384           else
10385             result=$wxUSE_MDI_ARCHITECTURE
10386           fi
10387
10388           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10389 $as_echo "$result" >&6; }
10390
10391
10392           enablestring=
10393           defaultval=$wxUSE_ALL_FEATURES
10394           if test -z "$defaultval"; then
10395               if test x"$enablestring" = xdisable; then
10396                   defaultval=yes
10397               else
10398                   defaultval=no
10399               fi
10400           fi
10401
10402           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10403 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10404           # Check whether --enable-mediactrl was given.
10405 if test "${enable_mediactrl+set}" = set; then :
10406   enableval=$enable_mediactrl;
10407                           if test "$enableval" = yes; then
10408                             wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10409                           else
10410                             wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10411                           fi
10412
10413 else
10414
10415                           wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10416
10417 fi
10418
10419
10420           eval "$wx_cv_use_mediactrl"
10421
10422           if test x"$enablestring" = xdisable; then
10423             if test $wxUSE_MEDIACTRL = no; then
10424               result=yes
10425             else
10426               result=no
10427             fi
10428           else
10429             result=$wxUSE_MEDIACTRL
10430           fi
10431
10432           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10433 $as_echo "$result" >&6; }
10434
10435
10436           enablestring=
10437           defaultval=$wxUSE_ALL_FEATURES
10438           if test -z "$defaultval"; then
10439               if test x"$enablestring" = xdisable; then
10440                   defaultval=yes
10441               else
10442                   defaultval=no
10443               fi
10444           fi
10445
10446           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10447 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10448           # Check whether --enable-gstreamer8 was given.
10449 if test "${enable_gstreamer8+set}" = set; then :
10450   enableval=$enable_gstreamer8;
10451                           if test "$enableval" = yes; then
10452                             wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10453                           else
10454                             wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10455                           fi
10456
10457 else
10458
10459                           wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10460
10461 fi
10462
10463
10464           eval "$wx_cv_use_gstreamer8"
10465
10466           if test x"$enablestring" = xdisable; then
10467             if test $wxUSE_GSTREAMER8 = no; then
10468               result=yes
10469             else
10470               result=no
10471             fi
10472           else
10473             result=$wxUSE_GSTREAMER8
10474           fi
10475
10476           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10477 $as_echo "$result" >&6; }
10478
10479
10480           enablestring=
10481           defaultval=$wxUSE_ALL_FEATURES
10482           if test -z "$defaultval"; then
10483               if test x"$enablestring" = xdisable; then
10484                   defaultval=yes
10485               else
10486                   defaultval=no
10487               fi
10488           fi
10489
10490           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10491 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10492           # Check whether --enable-richtext was given.
10493 if test "${enable_richtext+set}" = set; then :
10494   enableval=$enable_richtext;
10495                           if test "$enableval" = yes; then
10496                             wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10497                           else
10498                             wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10499                           fi
10500
10501 else
10502
10503                           wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10504
10505 fi
10506
10507
10508           eval "$wx_cv_use_richtext"
10509
10510           if test x"$enablestring" = xdisable; then
10511             if test $wxUSE_RICHTEXT = no; then
10512               result=yes
10513             else
10514               result=no
10515             fi
10516           else
10517             result=$wxUSE_RICHTEXT
10518           fi
10519
10520           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10521 $as_echo "$result" >&6; }
10522
10523
10524           enablestring=
10525           defaultval=$wxUSE_ALL_FEATURES
10526           if test -z "$defaultval"; then
10527               if test x"$enablestring" = xdisable; then
10528                   defaultval=yes
10529               else
10530                   defaultval=no
10531               fi
10532           fi
10533
10534           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10535 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10536           # Check whether --enable-postscript was given.
10537 if test "${enable_postscript+set}" = set; then :
10538   enableval=$enable_postscript;
10539                           if test "$enableval" = yes; then
10540                             wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10541                           else
10542                             wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10543                           fi
10544
10545 else
10546
10547                           wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10548
10549 fi
10550
10551
10552           eval "$wx_cv_use_postscript"
10553
10554           if test x"$enablestring" = xdisable; then
10555             if test $wxUSE_POSTSCRIPT = no; then
10556               result=yes
10557             else
10558               result=no
10559             fi
10560           else
10561             result=$wxUSE_POSTSCRIPT
10562           fi
10563
10564           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10565 $as_echo "$result" >&6; }
10566
10567
10568           enablestring=
10569           defaultval=$wxUSE_ALL_FEATURES
10570           if test -z "$defaultval"; then
10571               if test x"$enablestring" = xdisable; then
10572                   defaultval=yes
10573               else
10574                   defaultval=no
10575               fi
10576           fi
10577
10578           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10579 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10580           # Check whether --enable-printarch was given.
10581 if test "${enable_printarch+set}" = set; then :
10582   enableval=$enable_printarch;
10583                           if test "$enableval" = yes; then
10584                             wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10585                           else
10586                             wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10587                           fi
10588
10589 else
10590
10591                           wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10592
10593 fi
10594
10595
10596           eval "$wx_cv_use_printarch"
10597
10598           if test x"$enablestring" = xdisable; then
10599             if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10600               result=yes
10601             else
10602               result=no
10603             fi
10604           else
10605             result=$wxUSE_PRINTING_ARCHITECTURE
10606           fi
10607
10608           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10609 $as_echo "$result" >&6; }
10610
10611
10612           enablestring=
10613           defaultval=$wxUSE_ALL_FEATURES
10614           if test -z "$defaultval"; then
10615               if test x"$enablestring" = xdisable; then
10616                   defaultval=yes
10617               else
10618                   defaultval=no
10619               fi
10620           fi
10621
10622           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10623 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10624           # Check whether --enable-svg was given.
10625 if test "${enable_svg+set}" = set; then :
10626   enableval=$enable_svg;
10627                           if test "$enableval" = yes; then
10628                             wx_cv_use_svg='wxUSE_SVG=yes'
10629                           else
10630                             wx_cv_use_svg='wxUSE_SVG=no'
10631                           fi
10632
10633 else
10634
10635                           wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10636
10637 fi
10638
10639
10640           eval "$wx_cv_use_svg"
10641
10642           if test x"$enablestring" = xdisable; then
10643             if test $wxUSE_SVG = no; then
10644               result=yes
10645             else
10646               result=no
10647             fi
10648           else
10649             result=$wxUSE_SVG
10650           fi
10651
10652           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10653 $as_echo "$result" >&6; }
10654
10655
10656           enablestring=
10657           defaultval=$wxUSE_ALL_FEATURES
10658           if test -z "$defaultval"; then
10659               if test x"$enablestring" = xdisable; then
10660                   defaultval=yes
10661               else
10662                   defaultval=no
10663               fi
10664           fi
10665
10666           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10667 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10668           # Check whether --enable-webkit was given.
10669 if test "${enable_webkit+set}" = set; then :
10670   enableval=$enable_webkit;
10671                           if test "$enableval" = yes; then
10672                             wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10673                           else
10674                             wx_cv_use_webkit='wxUSE_WEBKIT=no'
10675                           fi
10676
10677 else
10678
10679                           wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10680
10681 fi
10682
10683
10684           eval "$wx_cv_use_webkit"
10685
10686           if test x"$enablestring" = xdisable; then
10687             if test $wxUSE_WEBKIT = no; then
10688               result=yes
10689             else
10690               result=no
10691             fi
10692           else
10693             result=$wxUSE_WEBKIT
10694           fi
10695
10696           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10697 $as_echo "$result" >&6; }
10698
10699
10700           enablestring=
10701           defaultval=$wxUSE_ALL_FEATURES
10702           if test -z "$defaultval"; then
10703               if test x"$enablestring" = xdisable; then
10704                   defaultval=yes
10705               else
10706                   defaultval=no
10707               fi
10708           fi
10709
10710           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10711 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10712           # Check whether --enable-webview was given.
10713 if test "${enable_webview+set}" = set; then :
10714   enableval=$enable_webview;
10715                           if test "$enableval" = yes; then
10716                             wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10717                           else
10718                             wx_cv_use_webview='wxUSE_WEBVIEW=no'
10719                           fi
10720
10721 else
10722
10723                           wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10724
10725 fi
10726
10727
10728           eval "$wx_cv_use_webview"
10729
10730           if test x"$enablestring" = xdisable; then
10731             if test $wxUSE_WEBVIEW = no; then
10732               result=yes
10733             else
10734               result=no
10735             fi
10736           else
10737             result=$wxUSE_WEBVIEW
10738           fi
10739
10740           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10741 $as_echo "$result" >&6; }
10742
10743
10744 if test "$wxUSE_MAC" != 1; then
10745
10746           enablestring=
10747           defaultval=$wxUSE_ALL_FEATURES
10748           if test -z "$defaultval"; then
10749               if test x"$enablestring" = xdisable; then
10750                   defaultval=yes
10751               else
10752                   defaultval=no
10753               fi
10754           fi
10755
10756           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10757 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10758           # Check whether --enable-graphics_ctx was given.
10759 if test "${enable_graphics_ctx+set}" = set; then :
10760   enableval=$enable_graphics_ctx;
10761                           if test "$enableval" = yes; then
10762                             wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10763                           else
10764                             wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10765                           fi
10766
10767 else
10768
10769                           wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10770
10771 fi
10772
10773
10774           eval "$wx_cv_use_graphics_ctx"
10775
10776           if test x"$enablestring" = xdisable; then
10777             if test $wxUSE_GRAPHICS_CONTEXT = no; then
10778               result=yes
10779             else
10780               result=no
10781             fi
10782           else
10783             result=$wxUSE_GRAPHICS_CONTEXT
10784           fi
10785
10786           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10787 $as_echo "$result" >&6; }
10788
10789 fi
10790
10791
10792
10793           enablestring=
10794           defaultval=$wxUSE_ALL_FEATURES
10795           if test -z "$defaultval"; then
10796               if test x"$enablestring" = xdisable; then
10797                   defaultval=yes
10798               else
10799                   defaultval=no
10800               fi
10801           fi
10802
10803           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10804 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10805           # Check whether --enable-clipboard was given.
10806 if test "${enable_clipboard+set}" = set; then :
10807   enableval=$enable_clipboard;
10808                           if test "$enableval" = yes; then
10809                             wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10810                           else
10811                             wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10812                           fi
10813
10814 else
10815
10816                           wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10817
10818 fi
10819
10820
10821           eval "$wx_cv_use_clipboard"
10822
10823           if test x"$enablestring" = xdisable; then
10824             if test $wxUSE_CLIPBOARD = no; then
10825               result=yes
10826             else
10827               result=no
10828             fi
10829           else
10830             result=$wxUSE_CLIPBOARD
10831           fi
10832
10833           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10834 $as_echo "$result" >&6; }
10835
10836
10837           enablestring=
10838           defaultval=$wxUSE_ALL_FEATURES
10839           if test -z "$defaultval"; then
10840               if test x"$enablestring" = xdisable; then
10841                   defaultval=yes
10842               else
10843                   defaultval=no
10844               fi
10845           fi
10846
10847           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
10848 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
10849           # Check whether --enable-dnd was given.
10850 if test "${enable_dnd+set}" = set; then :
10851   enableval=$enable_dnd;
10852                           if test "$enableval" = yes; then
10853                             wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10854                           else
10855                             wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10856                           fi
10857
10858 else
10859
10860                           wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10861
10862 fi
10863
10864
10865           eval "$wx_cv_use_dnd"
10866
10867           if test x"$enablestring" = xdisable; then
10868             if test $wxUSE_DRAG_AND_DROP = no; then
10869               result=yes
10870             else
10871               result=no
10872             fi
10873           else
10874             result=$wxUSE_DRAG_AND_DROP
10875           fi
10876
10877           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10878 $as_echo "$result" >&6; }
10879
10880
10881
10882 DEFAULT_wxUSE_CONTROLS=none
10883
10884           enablestring=disable
10885           defaultval=
10886           if test -z "$defaultval"; then
10887               if test x"$enablestring" = xdisable; then
10888                   defaultval=yes
10889               else
10890                   defaultval=no
10891               fi
10892           fi
10893
10894           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
10895 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
10896           # Check whether --enable-controls was given.
10897 if test "${enable_controls+set}" = set; then :
10898   enableval=$enable_controls;
10899                           if test "$enableval" = yes; then
10900                             wx_cv_use_controls='wxUSE_CONTROLS=yes'
10901                           else
10902                             wx_cv_use_controls='wxUSE_CONTROLS=no'
10903                           fi
10904
10905 else
10906
10907                           wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10908
10909 fi
10910
10911
10912           eval "$wx_cv_use_controls"
10913
10914           if test x"$enablestring" = xdisable; then
10915             if test $wxUSE_CONTROLS = no; then
10916               result=yes
10917             else
10918               result=no
10919             fi
10920           else
10921             result=$wxUSE_CONTROLS
10922           fi
10923
10924           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10925 $as_echo "$result" >&6; }
10926
10927
10928 if test "$wxUSE_CONTROLS" = "no"; then
10929     DEFAULT_wxUSE_ACCEL=no
10930     DEFAULT_wxUSE_ANIMATIONCTRL=no
10931     DEFAULT_wxUSE_BANNERWINDOW=no
10932     DEFAULT_wxUSE_BMPBUTTON=no
10933     DEFAULT_wxUSE_BUTTON=no
10934     DEFAULT_wxUSE_CALCTRL=no
10935     DEFAULT_wxUSE_CARET=no
10936     DEFAULT_wxUSE_CHECKBOX=no
10937     DEFAULT_wxUSE_CHECKLISTBOX=no
10938     DEFAULT_wxUSE_CHOICE=no
10939     DEFAULT_wxUSE_CHOICEBOOK=no
10940     DEFAULT_wxUSE_COLLPANE=no
10941     DEFAULT_wxUSE_COLOURPICKERCTRL=no
10942     DEFAULT_wxUSE_COMBOBOX=no
10943     DEFAULT_wxUSE_COMBOBOX=no
10944     DEFAULT_wxUSE_COMMANDLINKBUTTON=no
10945     DEFAULT_wxUSE_DATAVIEWCTRL=no
10946     DEFAULT_wxUSE_DATEPICKCTRL=no
10947     DEFAULT_wxUSE_DETECT_SM=no
10948     DEFAULT_wxUSE_DIRPICKERCTRL=no
10949     DEFAULT_wxUSE_DISPLAY=no
10950     DEFAULT_wxUSE_FILECTRL=no
10951     DEFAULT_wxUSE_FILEPICKERCTRL=no
10952     DEFAULT_wxUSE_FONTPICKERCTRL=no
10953     DEFAULT_wxUSE_GAUGE=no
10954     DEFAULT_wxUSE_GRID=no
10955     DEFAULT_wxUSE_HEADERCTRL=no
10956     DEFAULT_wxUSE_HYPERLINKCTRL=no
10957     DEFAULT_wxUSE_IMAGLIST=no
10958     DEFAULT_wxUSE_LISTBOOK=no
10959     DEFAULT_wxUSE_LISTBOX=no
10960     DEFAULT_wxUSE_LISTCTRL=no
10961     DEFAULT_wxUSE_MARKUP=no
10962     DEFAULT_wxUSE_NOTEBOOK=no
10963     DEFAULT_wxUSE_POPUPWIN=no
10964     DEFAULT_wxUSE_RADIOBOX=no
10965     DEFAULT_wxUSE_RADIOBTN=no
10966     DEFAULT_wxUSE_RICHMSGDLG=no
10967     DEFAULT_wxUSE_RICHTOOLTIP=no
10968     DEFAULT_wxUSE_REARRANGECTRL=no
10969     DEFAULT_wxUSE_SASH=no
10970     DEFAULT_wxUSE_SCROLLBAR=no
10971     DEFAULT_wxUSE_SEARCHCTRL=no
10972     DEFAULT_wxUSE_SLIDER=no
10973     DEFAULT_wxUSE_SPINBTN=no
10974     DEFAULT_wxUSE_SPINCTRL=no
10975     DEFAULT_wxUSE_SPLITTER=no
10976     DEFAULT_wxUSE_STATBMP=no
10977     DEFAULT_wxUSE_STATBOX=no
10978     DEFAULT_wxUSE_STATLINE=no
10979     DEFAULT_wxUSE_STATUSBAR=no
10980     DEFAULT_wxUSE_TIMEPICKCTRL=no
10981     DEFAULT_wxUSE_TIPWINDOW=no
10982     DEFAULT_wxUSE_TOGGLEBTN=no
10983     DEFAULT_wxUSE_TOOLBAR=no
10984     DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10985     DEFAULT_wxUSE_TOOLBOOK=no
10986     DEFAULT_wxUSE_TOOLTIPS=no
10987     DEFAULT_wxUSE_TREEBOOK=no
10988     DEFAULT_wxUSE_TREECTRL=no
10989     DEFAULT_wxUSE_TREELISTCTRL=no
10990 fi
10991
10992
10993           enablestring=
10994           defaultval=$wxUSE_ALL_FEATURES
10995           if test -z "$defaultval"; then
10996               if test x"$enablestring" = xdisable; then
10997                   defaultval=yes
10998               else
10999                   defaultval=no
11000               fi
11001           fi
11002
11003           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11004 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11005           # Check whether --enable-markup was given.
11006 if test "${enable_markup+set}" = set; then :
11007   enableval=$enable_markup;
11008                           if test "$enableval" = yes; then
11009                             wx_cv_use_markup='wxUSE_MARKUP=yes'
11010                           else
11011                             wx_cv_use_markup='wxUSE_MARKUP=no'
11012                           fi
11013
11014 else
11015
11016                           wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11017
11018 fi
11019
11020
11021           eval "$wx_cv_use_markup"
11022
11023           if test x"$enablestring" = xdisable; then
11024             if test $wxUSE_MARKUP = no; then
11025               result=yes
11026             else
11027               result=no
11028             fi
11029           else
11030             result=$wxUSE_MARKUP
11031           fi
11032
11033           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11034 $as_echo "$result" >&6; }
11035
11036
11037
11038           enablestring=
11039           defaultval=$wxUSE_ALL_FEATURES
11040           if test -z "$defaultval"; then
11041               if test x"$enablestring" = xdisable; then
11042                   defaultval=yes
11043               else
11044                   defaultval=no
11045               fi
11046           fi
11047
11048           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11049 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11050           # Check whether --enable-accel was given.
11051 if test "${enable_accel+set}" = set; then :
11052   enableval=$enable_accel;
11053                           if test "$enableval" = yes; then
11054                             wx_cv_use_accel='wxUSE_ACCEL=yes'
11055                           else
11056                             wx_cv_use_accel='wxUSE_ACCEL=no'
11057                           fi
11058
11059 else
11060
11061                           wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11062
11063 fi
11064
11065
11066           eval "$wx_cv_use_accel"
11067
11068           if test x"$enablestring" = xdisable; then
11069             if test $wxUSE_ACCEL = no; then
11070               result=yes
11071             else
11072               result=no
11073             fi
11074           else
11075             result=$wxUSE_ACCEL
11076           fi
11077
11078           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11079 $as_echo "$result" >&6; }
11080
11081
11082           enablestring=
11083           defaultval=$wxUSE_ALL_FEATURES
11084           if test -z "$defaultval"; then
11085               if test x"$enablestring" = xdisable; then
11086                   defaultval=yes
11087               else
11088                   defaultval=no
11089               fi
11090           fi
11091
11092           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11093 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11094           # Check whether --enable-animatectrl was given.
11095 if test "${enable_animatectrl+set}" = set; then :
11096   enableval=$enable_animatectrl;
11097                           if test "$enableval" = yes; then
11098                             wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11099                           else
11100                             wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11101                           fi
11102
11103 else
11104
11105                           wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11106
11107 fi
11108
11109
11110           eval "$wx_cv_use_animatectrl"
11111
11112           if test x"$enablestring" = xdisable; then
11113             if test $wxUSE_ANIMATIONCTRL = no; then
11114               result=yes
11115             else
11116               result=no
11117             fi
11118           else
11119             result=$wxUSE_ANIMATIONCTRL
11120           fi
11121
11122           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11123 $as_echo "$result" >&6; }
11124
11125
11126           enablestring=
11127           defaultval=$wxUSE_ALL_FEATURES
11128           if test -z "$defaultval"; then
11129               if test x"$enablestring" = xdisable; then
11130                   defaultval=yes
11131               else
11132                   defaultval=no
11133               fi
11134           fi
11135
11136           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11137 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11138           # Check whether --enable-bannerwindow was given.
11139 if test "${enable_bannerwindow+set}" = set; then :
11140   enableval=$enable_bannerwindow;
11141                           if test "$enableval" = yes; then
11142                             wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11143                           else
11144                             wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11145                           fi
11146
11147 else
11148
11149                           wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11150
11151 fi
11152
11153
11154           eval "$wx_cv_use_bannerwindow"
11155
11156           if test x"$enablestring" = xdisable; then
11157             if test $wxUSE_BANNERWINDOW = no; then
11158               result=yes
11159             else
11160               result=no
11161             fi
11162           else
11163             result=$wxUSE_BANNERWINDOW
11164           fi
11165
11166           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11167 $as_echo "$result" >&6; }
11168
11169
11170           enablestring=
11171           defaultval=$wxUSE_ALL_FEATURES
11172           if test -z "$defaultval"; then
11173               if test x"$enablestring" = xdisable; then
11174                   defaultval=yes
11175               else
11176                   defaultval=no
11177               fi
11178           fi
11179
11180           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11181 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11182           # Check whether --enable-artstd was given.
11183 if test "${enable_artstd+set}" = set; then :
11184   enableval=$enable_artstd;
11185                           if test "$enableval" = yes; then
11186                             wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11187                           else
11188                             wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11189                           fi
11190
11191 else
11192
11193                           wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11194
11195 fi
11196
11197
11198           eval "$wx_cv_use_artstd"
11199
11200           if test x"$enablestring" = xdisable; then
11201             if test $wxUSE_ARTPROVIDER_STD = no; then
11202               result=yes
11203             else
11204               result=no
11205             fi
11206           else
11207             result=$wxUSE_ARTPROVIDER_STD
11208           fi
11209
11210           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11211 $as_echo "$result" >&6; }
11212
11213
11214           enablestring=
11215           defaultval=$wxUSE_ALL_FEATURES
11216           if test -z "$defaultval"; then
11217               if test x"$enablestring" = xdisable; then
11218                   defaultval=yes
11219               else
11220                   defaultval=no
11221               fi
11222           fi
11223
11224           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11225 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11226           # Check whether --enable-arttango was given.
11227 if test "${enable_arttango+set}" = set; then :
11228   enableval=$enable_arttango;
11229                           if test "$enableval" = yes; then
11230                             wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11231                           else
11232                             wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11233                           fi
11234
11235 else
11236
11237                           wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11238
11239 fi
11240
11241
11242           eval "$wx_cv_use_arttango"
11243
11244           if test x"$enablestring" = xdisable; then
11245             if test $wxUSE_ARTPROVIDER_TANGO = no; then
11246               result=yes
11247             else
11248               result=no
11249             fi
11250           else
11251             result=$wxUSE_ARTPROVIDER_TANGO
11252           fi
11253
11254           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11255 $as_echo "$result" >&6; }
11256
11257
11258           enablestring=
11259           defaultval=$wxUSE_ALL_FEATURES
11260           if test -z "$defaultval"; then
11261               if test x"$enablestring" = xdisable; then
11262                   defaultval=yes
11263               else
11264                   defaultval=no
11265               fi
11266           fi
11267
11268           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11269 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11270           # Check whether --enable-bmpbutton was given.
11271 if test "${enable_bmpbutton+set}" = set; then :
11272   enableval=$enable_bmpbutton;
11273                           if test "$enableval" = yes; then
11274                             wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11275                           else
11276                             wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11277                           fi
11278
11279 else
11280
11281                           wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11282
11283 fi
11284
11285
11286           eval "$wx_cv_use_bmpbutton"
11287
11288           if test x"$enablestring" = xdisable; then
11289             if test $wxUSE_BMPBUTTON = no; then
11290               result=yes
11291             else
11292               result=no
11293             fi
11294           else
11295             result=$wxUSE_BMPBUTTON
11296           fi
11297
11298           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11299 $as_echo "$result" >&6; }
11300
11301
11302           enablestring=
11303           defaultval=$wxUSE_ALL_FEATURES
11304           if test -z "$defaultval"; then
11305               if test x"$enablestring" = xdisable; then
11306                   defaultval=yes
11307               else
11308                   defaultval=no
11309               fi
11310           fi
11311
11312           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11313 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11314           # Check whether --enable-bmpcombobox was given.
11315 if test "${enable_bmpcombobox+set}" = set; then :
11316   enableval=$enable_bmpcombobox;
11317                           if test "$enableval" = yes; then
11318                             wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11319                           else
11320                             wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11321                           fi
11322
11323 else
11324
11325                           wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11326
11327 fi
11328
11329
11330           eval "$wx_cv_use_bmpcombobox"
11331
11332           if test x"$enablestring" = xdisable; then
11333             if test $wxUSE_BITMAPCOMBOBOX = no; then
11334               result=yes
11335             else
11336               result=no
11337             fi
11338           else
11339             result=$wxUSE_BITMAPCOMBOBOX
11340           fi
11341
11342           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11343 $as_echo "$result" >&6; }
11344
11345
11346           enablestring=
11347           defaultval=$wxUSE_ALL_FEATURES
11348           if test -z "$defaultval"; then
11349               if test x"$enablestring" = xdisable; then
11350                   defaultval=yes
11351               else
11352                   defaultval=no
11353               fi
11354           fi
11355
11356           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11357 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11358           # Check whether --enable-button was given.
11359 if test "${enable_button+set}" = set; then :
11360   enableval=$enable_button;
11361                           if test "$enableval" = yes; then
11362                             wx_cv_use_button='wxUSE_BUTTON=yes'
11363                           else
11364                             wx_cv_use_button='wxUSE_BUTTON=no'
11365                           fi
11366
11367 else
11368
11369                           wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11370
11371 fi
11372
11373
11374           eval "$wx_cv_use_button"
11375
11376           if test x"$enablestring" = xdisable; then
11377             if test $wxUSE_BUTTON = no; then
11378               result=yes
11379             else
11380               result=no
11381             fi
11382           else
11383             result=$wxUSE_BUTTON
11384           fi
11385
11386           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11387 $as_echo "$result" >&6; }
11388
11389
11390           enablestring=
11391           defaultval=$wxUSE_ALL_FEATURES
11392           if test -z "$defaultval"; then
11393               if test x"$enablestring" = xdisable; then
11394                   defaultval=yes
11395               else
11396                   defaultval=no
11397               fi
11398           fi
11399
11400           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11401 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11402           # Check whether --enable-calendar was given.
11403 if test "${enable_calendar+set}" = set; then :
11404   enableval=$enable_calendar;
11405                           if test "$enableval" = yes; then
11406                             wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11407                           else
11408                             wx_cv_use_calendar='wxUSE_CALCTRL=no'
11409                           fi
11410
11411 else
11412
11413                           wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11414
11415 fi
11416
11417
11418           eval "$wx_cv_use_calendar"
11419
11420           if test x"$enablestring" = xdisable; then
11421             if test $wxUSE_CALCTRL = no; then
11422               result=yes
11423             else
11424               result=no
11425             fi
11426           else
11427             result=$wxUSE_CALCTRL
11428           fi
11429
11430           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11431 $as_echo "$result" >&6; }
11432
11433
11434           enablestring=
11435           defaultval=$wxUSE_ALL_FEATURES
11436           if test -z "$defaultval"; then
11437               if test x"$enablestring" = xdisable; then
11438                   defaultval=yes
11439               else
11440                   defaultval=no
11441               fi
11442           fi
11443
11444           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11445 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11446           # Check whether --enable-caret was given.
11447 if test "${enable_caret+set}" = set; then :
11448   enableval=$enable_caret;
11449                           if test "$enableval" = yes; then
11450                             wx_cv_use_caret='wxUSE_CARET=yes'
11451                           else
11452                             wx_cv_use_caret='wxUSE_CARET=no'
11453                           fi
11454
11455 else
11456
11457                           wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11458
11459 fi
11460
11461
11462           eval "$wx_cv_use_caret"
11463
11464           if test x"$enablestring" = xdisable; then
11465             if test $wxUSE_CARET = no; then
11466               result=yes
11467             else
11468               result=no
11469             fi
11470           else
11471             result=$wxUSE_CARET
11472           fi
11473
11474           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11475 $as_echo "$result" >&6; }
11476
11477
11478           enablestring=
11479           defaultval=$wxUSE_ALL_FEATURES
11480           if test -z "$defaultval"; then
11481               if test x"$enablestring" = xdisable; then
11482                   defaultval=yes
11483               else
11484                   defaultval=no
11485               fi
11486           fi
11487
11488           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11489 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11490           # Check whether --enable-checkbox was given.
11491 if test "${enable_checkbox+set}" = set; then :
11492   enableval=$enable_checkbox;
11493                           if test "$enableval" = yes; then
11494                             wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11495                           else
11496                             wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11497                           fi
11498
11499 else
11500
11501                           wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11502
11503 fi
11504
11505
11506           eval "$wx_cv_use_checkbox"
11507
11508           if test x"$enablestring" = xdisable; then
11509             if test $wxUSE_CHECKBOX = no; then
11510               result=yes
11511             else
11512               result=no
11513             fi
11514           else
11515             result=$wxUSE_CHECKBOX
11516           fi
11517
11518           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11519 $as_echo "$result" >&6; }
11520
11521
11522           enablestring=
11523           defaultval=$wxUSE_ALL_FEATURES
11524           if test -z "$defaultval"; then
11525               if test x"$enablestring" = xdisable; then
11526                   defaultval=yes
11527               else
11528                   defaultval=no
11529               fi
11530           fi
11531
11532           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11533 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11534           # Check whether --enable-checklst was given.
11535 if test "${enable_checklst+set}" = set; then :
11536   enableval=$enable_checklst;
11537                           if test "$enableval" = yes; then
11538                             wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11539                           else
11540                             wx_cv_use_checklst='wxUSE_CHECKLST=no'
11541                           fi
11542
11543 else
11544
11545                           wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11546
11547 fi
11548
11549
11550           eval "$wx_cv_use_checklst"
11551
11552           if test x"$enablestring" = xdisable; then
11553             if test $wxUSE_CHECKLST = no; then
11554               result=yes
11555             else
11556               result=no
11557             fi
11558           else
11559             result=$wxUSE_CHECKLST
11560           fi
11561
11562           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11563 $as_echo "$result" >&6; }
11564
11565
11566           enablestring=
11567           defaultval=$wxUSE_ALL_FEATURES
11568           if test -z "$defaultval"; then
11569               if test x"$enablestring" = xdisable; then
11570                   defaultval=yes
11571               else
11572                   defaultval=no
11573               fi
11574           fi
11575
11576           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11577 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11578           # Check whether --enable-choice was given.
11579 if test "${enable_choice+set}" = set; then :
11580   enableval=$enable_choice;
11581                           if test "$enableval" = yes; then
11582                             wx_cv_use_choice='wxUSE_CHOICE=yes'
11583                           else
11584                             wx_cv_use_choice='wxUSE_CHOICE=no'
11585                           fi
11586
11587 else
11588
11589                           wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11590
11591 fi
11592
11593
11594           eval "$wx_cv_use_choice"
11595
11596           if test x"$enablestring" = xdisable; then
11597             if test $wxUSE_CHOICE = no; then
11598               result=yes
11599             else
11600               result=no
11601             fi
11602           else
11603             result=$wxUSE_CHOICE
11604           fi
11605
11606           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11607 $as_echo "$result" >&6; }
11608
11609
11610           enablestring=
11611           defaultval=$wxUSE_ALL_FEATURES
11612           if test -z "$defaultval"; then
11613               if test x"$enablestring" = xdisable; then
11614                   defaultval=yes
11615               else
11616                   defaultval=no
11617               fi
11618           fi
11619
11620           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11621 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11622           # Check whether --enable-choicebook was given.
11623 if test "${enable_choicebook+set}" = set; then :
11624   enableval=$enable_choicebook;
11625                           if test "$enableval" = yes; then
11626                             wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11627                           else
11628                             wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11629                           fi
11630
11631 else
11632
11633                           wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11634
11635 fi
11636
11637
11638           eval "$wx_cv_use_choicebook"
11639
11640           if test x"$enablestring" = xdisable; then
11641             if test $wxUSE_CHOICEBOOK = no; then
11642               result=yes
11643             else
11644               result=no
11645             fi
11646           else
11647             result=$wxUSE_CHOICEBOOK
11648           fi
11649
11650           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11651 $as_echo "$result" >&6; }
11652
11653
11654           enablestring=
11655           defaultval=$wxUSE_ALL_FEATURES
11656           if test -z "$defaultval"; then
11657               if test x"$enablestring" = xdisable; then
11658                   defaultval=yes
11659               else
11660                   defaultval=no
11661               fi
11662           fi
11663
11664           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11665 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11666           # Check whether --enable-collpane was given.
11667 if test "${enable_collpane+set}" = set; then :
11668   enableval=$enable_collpane;
11669                           if test "$enableval" = yes; then
11670                             wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11671                           else
11672                             wx_cv_use_collpane='wxUSE_COLLPANE=no'
11673                           fi
11674
11675 else
11676
11677                           wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11678
11679 fi
11680
11681
11682           eval "$wx_cv_use_collpane"
11683
11684           if test x"$enablestring" = xdisable; then
11685             if test $wxUSE_COLLPANE = no; then
11686               result=yes
11687             else
11688               result=no
11689             fi
11690           else
11691             result=$wxUSE_COLLPANE
11692           fi
11693
11694           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11695 $as_echo "$result" >&6; }
11696
11697
11698           enablestring=
11699           defaultval=$wxUSE_ALL_FEATURES
11700           if test -z "$defaultval"; then
11701               if test x"$enablestring" = xdisable; then
11702                   defaultval=yes
11703               else
11704                   defaultval=no
11705               fi
11706           fi
11707
11708           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11709 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11710           # Check whether --enable-colourpicker was given.
11711 if test "${enable_colourpicker+set}" = set; then :
11712   enableval=$enable_colourpicker;
11713                           if test "$enableval" = yes; then
11714                             wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11715                           else
11716                             wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11717                           fi
11718
11719 else
11720
11721                           wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11722
11723 fi
11724
11725
11726           eval "$wx_cv_use_colourpicker"
11727
11728           if test x"$enablestring" = xdisable; then
11729             if test $wxUSE_COLOURPICKERCTRL = no; then
11730               result=yes
11731             else
11732               result=no
11733             fi
11734           else
11735             result=$wxUSE_COLOURPICKERCTRL
11736           fi
11737
11738           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11739 $as_echo "$result" >&6; }
11740
11741
11742           enablestring=
11743           defaultval=$wxUSE_ALL_FEATURES
11744           if test -z "$defaultval"; then
11745               if test x"$enablestring" = xdisable; then
11746                   defaultval=yes
11747               else
11748                   defaultval=no
11749               fi
11750           fi
11751
11752           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11753 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11754           # Check whether --enable-combobox was given.
11755 if test "${enable_combobox+set}" = set; then :
11756   enableval=$enable_combobox;
11757                           if test "$enableval" = yes; then
11758                             wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11759                           else
11760                             wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11761                           fi
11762
11763 else
11764
11765                           wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11766
11767 fi
11768
11769
11770           eval "$wx_cv_use_combobox"
11771
11772           if test x"$enablestring" = xdisable; then
11773             if test $wxUSE_COMBOBOX = no; then
11774               result=yes
11775             else
11776               result=no
11777             fi
11778           else
11779             result=$wxUSE_COMBOBOX
11780           fi
11781
11782           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11783 $as_echo "$result" >&6; }
11784
11785
11786           enablestring=
11787           defaultval=$wxUSE_ALL_FEATURES
11788           if test -z "$defaultval"; then
11789               if test x"$enablestring" = xdisable; then
11790                   defaultval=yes
11791               else
11792                   defaultval=no
11793               fi
11794           fi
11795
11796           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11797 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11798           # Check whether --enable-comboctrl was given.
11799 if test "${enable_comboctrl+set}" = set; then :
11800   enableval=$enable_comboctrl;
11801                           if test "$enableval" = yes; then
11802                             wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11803                           else
11804                             wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11805                           fi
11806
11807 else
11808
11809                           wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11810
11811 fi
11812
11813
11814           eval "$wx_cv_use_comboctrl"
11815
11816           if test x"$enablestring" = xdisable; then
11817             if test $wxUSE_COMBOCTRL = no; then
11818               result=yes
11819             else
11820               result=no
11821             fi
11822           else
11823             result=$wxUSE_COMBOCTRL
11824           fi
11825
11826           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11827 $as_echo "$result" >&6; }
11828
11829
11830           enablestring=
11831           defaultval=$wxUSE_ALL_FEATURES
11832           if test -z "$defaultval"; then
11833               if test x"$enablestring" = xdisable; then
11834                   defaultval=yes
11835               else
11836                   defaultval=no
11837               fi
11838           fi
11839
11840           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
11841 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
11842           # Check whether --enable-commandlinkbutton was given.
11843 if test "${enable_commandlinkbutton+set}" = set; then :
11844   enableval=$enable_commandlinkbutton;
11845                           if test "$enableval" = yes; then
11846                             wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
11847                           else
11848                             wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
11849                           fi
11850
11851 else
11852
11853                           wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11854
11855 fi
11856
11857
11858           eval "$wx_cv_use_commandlinkbutton"
11859
11860           if test x"$enablestring" = xdisable; then
11861             if test $wxUSE_COMMANDLINKBUTTON = no; then
11862               result=yes
11863             else
11864               result=no
11865             fi
11866           else
11867             result=$wxUSE_COMMANDLINKBUTTON
11868           fi
11869
11870           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11871 $as_echo "$result" >&6; }
11872
11873
11874           enablestring=
11875           defaultval=$wxUSE_ALL_FEATURES
11876           if test -z "$defaultval"; then
11877               if test x"$enablestring" = xdisable; then
11878                   defaultval=yes
11879               else
11880                   defaultval=no
11881               fi
11882           fi
11883
11884           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
11885 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
11886           # Check whether --enable-dataviewctrl was given.
11887 if test "${enable_dataviewctrl+set}" = set; then :
11888   enableval=$enable_dataviewctrl;
11889                           if test "$enableval" = yes; then
11890                             wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11891                           else
11892                             wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11893                           fi
11894
11895 else
11896
11897                           wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11898
11899 fi
11900
11901
11902           eval "$wx_cv_use_dataviewctrl"
11903
11904           if test x"$enablestring" = xdisable; then
11905             if test $wxUSE_DATAVIEWCTRL = no; then
11906               result=yes
11907             else
11908               result=no
11909             fi
11910           else
11911             result=$wxUSE_DATAVIEWCTRL
11912           fi
11913
11914           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11915 $as_echo "$result" >&6; }
11916
11917
11918           enablestring=
11919           defaultval=$wxUSE_ALL_FEATURES
11920           if test -z "$defaultval"; then
11921               if test x"$enablestring" = xdisable; then
11922                   defaultval=yes
11923               else
11924                   defaultval=no
11925               fi
11926           fi
11927
11928           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
11929 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
11930           # Check whether --enable-datepick was given.
11931 if test "${enable_datepick+set}" = set; then :
11932   enableval=$enable_datepick;
11933                           if test "$enableval" = yes; then
11934                             wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11935                           else
11936                             wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11937                           fi
11938
11939 else
11940
11941                           wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11942
11943 fi
11944
11945
11946           eval "$wx_cv_use_datepick"
11947
11948           if test x"$enablestring" = xdisable; then
11949             if test $wxUSE_DATEPICKCTRL = no; then
11950               result=yes
11951             else
11952               result=no
11953             fi
11954           else
11955             result=$wxUSE_DATEPICKCTRL
11956           fi
11957
11958           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11959 $as_echo "$result" >&6; }
11960
11961
11962           enablestring=
11963           defaultval=$wxUSE_ALL_FEATURES
11964           if test -z "$defaultval"; then
11965               if test x"$enablestring" = xdisable; then
11966                   defaultval=yes
11967               else
11968                   defaultval=no
11969               fi
11970           fi
11971
11972           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
11973 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
11974           # Check whether --enable-detect_sm was given.
11975 if test "${enable_detect_sm+set}" = set; then :
11976   enableval=$enable_detect_sm;
11977                           if test "$enableval" = yes; then
11978                             wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11979                           else
11980                             wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11981                           fi
11982
11983 else
11984
11985                           wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11986
11987 fi
11988
11989
11990           eval "$wx_cv_use_detect_sm"
11991
11992           if test x"$enablestring" = xdisable; then
11993             if test $wxUSE_DETECT_SM = no; then
11994               result=yes
11995             else
11996               result=no
11997             fi
11998           else
11999             result=$wxUSE_DETECT_SM
12000           fi
12001
12002           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12003 $as_echo "$result" >&6; }
12004
12005
12006           enablestring=
12007           defaultval=$wxUSE_ALL_FEATURES
12008           if test -z "$defaultval"; then
12009               if test x"$enablestring" = xdisable; then
12010                   defaultval=yes
12011               else
12012                   defaultval=no
12013               fi
12014           fi
12015
12016           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12017 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12018           # Check whether --enable-dirpicker was given.
12019 if test "${enable_dirpicker+set}" = set; then :
12020   enableval=$enable_dirpicker;
12021                           if test "$enableval" = yes; then
12022                             wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12023                           else
12024                             wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12025                           fi
12026
12027 else
12028
12029                           wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12030
12031 fi
12032
12033
12034           eval "$wx_cv_use_dirpicker"
12035
12036           if test x"$enablestring" = xdisable; then
12037             if test $wxUSE_DIRPICKERCTRL = no; then
12038               result=yes
12039             else
12040               result=no
12041             fi
12042           else
12043             result=$wxUSE_DIRPICKERCTRL
12044           fi
12045
12046           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12047 $as_echo "$result" >&6; }
12048
12049
12050           enablestring=
12051           defaultval=$wxUSE_ALL_FEATURES
12052           if test -z "$defaultval"; then
12053               if test x"$enablestring" = xdisable; then
12054                   defaultval=yes
12055               else
12056                   defaultval=no
12057               fi
12058           fi
12059
12060           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12061 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12062           # Check whether --enable-display was given.
12063 if test "${enable_display+set}" = set; then :
12064   enableval=$enable_display;
12065                           if test "$enableval" = yes; then
12066                             wx_cv_use_display='wxUSE_DISPLAY=yes'
12067                           else
12068                             wx_cv_use_display='wxUSE_DISPLAY=no'
12069                           fi
12070
12071 else
12072
12073                           wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12074
12075 fi
12076
12077
12078           eval "$wx_cv_use_display"
12079
12080           if test x"$enablestring" = xdisable; then
12081             if test $wxUSE_DISPLAY = no; then
12082               result=yes
12083             else
12084               result=no
12085             fi
12086           else
12087             result=$wxUSE_DISPLAY
12088           fi
12089
12090           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12091 $as_echo "$result" >&6; }
12092
12093
12094           enablestring=
12095           defaultval=$wxUSE_ALL_FEATURES
12096           if test -z "$defaultval"; then
12097               if test x"$enablestring" = xdisable; then
12098                   defaultval=yes
12099               else
12100                   defaultval=no
12101               fi
12102           fi
12103
12104           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12105 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12106           # Check whether --enable-editablebox was given.
12107 if test "${enable_editablebox+set}" = set; then :
12108   enableval=$enable_editablebox;
12109                           if test "$enableval" = yes; then
12110                             wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12111                           else
12112                             wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12113                           fi
12114
12115 else
12116
12117                           wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12118
12119 fi
12120
12121
12122           eval "$wx_cv_use_editablebox"
12123
12124           if test x"$enablestring" = xdisable; then
12125             if test $wxUSE_EDITABLELISTBOX = no; then
12126               result=yes
12127             else
12128               result=no
12129             fi
12130           else
12131             result=$wxUSE_EDITABLELISTBOX
12132           fi
12133
12134           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12135 $as_echo "$result" >&6; }
12136
12137
12138           enablestring=
12139           defaultval=$wxUSE_ALL_FEATURES
12140           if test -z "$defaultval"; then
12141               if test x"$enablestring" = xdisable; then
12142                   defaultval=yes
12143               else
12144                   defaultval=no
12145               fi
12146           fi
12147
12148           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12149 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12150           # Check whether --enable-filectrl was given.
12151 if test "${enable_filectrl+set}" = set; then :
12152   enableval=$enable_filectrl;
12153                           if test "$enableval" = yes; then
12154                             wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12155                           else
12156                             wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12157                           fi
12158
12159 else
12160
12161                           wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12162
12163 fi
12164
12165
12166           eval "$wx_cv_use_filectrl"
12167
12168           if test x"$enablestring" = xdisable; then
12169             if test $wxUSE_FILECTRL = no; then
12170               result=yes
12171             else
12172               result=no
12173             fi
12174           else
12175             result=$wxUSE_FILECTRL
12176           fi
12177
12178           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12179 $as_echo "$result" >&6; }
12180
12181
12182           enablestring=
12183           defaultval=$wxUSE_ALL_FEATURES
12184           if test -z "$defaultval"; then
12185               if test x"$enablestring" = xdisable; then
12186                   defaultval=yes
12187               else
12188                   defaultval=no
12189               fi
12190           fi
12191
12192           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12193 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12194           # Check whether --enable-filepicker was given.
12195 if test "${enable_filepicker+set}" = set; then :
12196   enableval=$enable_filepicker;
12197                           if test "$enableval" = yes; then
12198                             wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12199                           else
12200                             wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12201                           fi
12202
12203 else
12204
12205                           wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12206
12207 fi
12208
12209
12210           eval "$wx_cv_use_filepicker"
12211
12212           if test x"$enablestring" = xdisable; then
12213             if test $wxUSE_FILEPICKERCTRL = no; then
12214               result=yes
12215             else
12216               result=no
12217             fi
12218           else
12219             result=$wxUSE_FILEPICKERCTRL
12220           fi
12221
12222           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12223 $as_echo "$result" >&6; }
12224
12225
12226           enablestring=
12227           defaultval=$wxUSE_ALL_FEATURES
12228           if test -z "$defaultval"; then
12229               if test x"$enablestring" = xdisable; then
12230                   defaultval=yes
12231               else
12232                   defaultval=no
12233               fi
12234           fi
12235
12236           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12237 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12238           # Check whether --enable-fontpicker was given.
12239 if test "${enable_fontpicker+set}" = set; then :
12240   enableval=$enable_fontpicker;
12241                           if test "$enableval" = yes; then
12242                             wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12243                           else
12244                             wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12245                           fi
12246
12247 else
12248
12249                           wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12250
12251 fi
12252
12253
12254           eval "$wx_cv_use_fontpicker"
12255
12256           if test x"$enablestring" = xdisable; then
12257             if test $wxUSE_FONTPICKERCTRL = no; then
12258               result=yes
12259             else
12260               result=no
12261             fi
12262           else
12263             result=$wxUSE_FONTPICKERCTRL
12264           fi
12265
12266           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12267 $as_echo "$result" >&6; }
12268
12269
12270           enablestring=
12271           defaultval=$wxUSE_ALL_FEATURES
12272           if test -z "$defaultval"; then
12273               if test x"$enablestring" = xdisable; then
12274                   defaultval=yes
12275               else
12276                   defaultval=no
12277               fi
12278           fi
12279
12280           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12281 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12282           # Check whether --enable-gauge was given.
12283 if test "${enable_gauge+set}" = set; then :
12284   enableval=$enable_gauge;
12285                           if test "$enableval" = yes; then
12286                             wx_cv_use_gauge='wxUSE_GAUGE=yes'
12287                           else
12288                             wx_cv_use_gauge='wxUSE_GAUGE=no'
12289                           fi
12290
12291 else
12292
12293                           wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12294
12295 fi
12296
12297
12298           eval "$wx_cv_use_gauge"
12299
12300           if test x"$enablestring" = xdisable; then
12301             if test $wxUSE_GAUGE = no; then
12302               result=yes
12303             else
12304               result=no
12305             fi
12306           else
12307             result=$wxUSE_GAUGE
12308           fi
12309
12310           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12311 $as_echo "$result" >&6; }
12312
12313
12314           enablestring=
12315           defaultval=$wxUSE_ALL_FEATURES
12316           if test -z "$defaultval"; then
12317               if test x"$enablestring" = xdisable; then
12318                   defaultval=yes
12319               else
12320                   defaultval=no
12321               fi
12322           fi
12323
12324           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12325 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12326           # Check whether --enable-grid was given.
12327 if test "${enable_grid+set}" = set; then :
12328   enableval=$enable_grid;
12329                           if test "$enableval" = yes; then
12330                             wx_cv_use_grid='wxUSE_GRID=yes'
12331                           else
12332                             wx_cv_use_grid='wxUSE_GRID=no'
12333                           fi
12334
12335 else
12336
12337                           wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12338
12339 fi
12340
12341
12342           eval "$wx_cv_use_grid"
12343
12344           if test x"$enablestring" = xdisable; then
12345             if test $wxUSE_GRID = no; then
12346               result=yes
12347             else
12348               result=no
12349             fi
12350           else
12351             result=$wxUSE_GRID
12352           fi
12353
12354           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12355 $as_echo "$result" >&6; }
12356
12357
12358           enablestring=
12359           defaultval=$wxUSE_ALL_FEATURES
12360           if test -z "$defaultval"; then
12361               if test x"$enablestring" = xdisable; then
12362                   defaultval=yes
12363               else
12364                   defaultval=no
12365               fi
12366           fi
12367
12368           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12369 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12370           # Check whether --enable-headerctrl was given.
12371 if test "${enable_headerctrl+set}" = set; then :
12372   enableval=$enable_headerctrl;
12373                           if test "$enableval" = yes; then
12374                             wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12375                           else
12376                             wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12377                           fi
12378
12379 else
12380
12381                           wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12382
12383 fi
12384
12385
12386           eval "$wx_cv_use_headerctrl"
12387
12388           if test x"$enablestring" = xdisable; then
12389             if test $wxUSE_HEADERCTRL = no; then
12390               result=yes
12391             else
12392               result=no
12393             fi
12394           else
12395             result=$wxUSE_HEADERCTRL
12396           fi
12397
12398           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12399 $as_echo "$result" >&6; }
12400
12401
12402           enablestring=
12403           defaultval=$wxUSE_ALL_FEATURES
12404           if test -z "$defaultval"; then
12405               if test x"$enablestring" = xdisable; then
12406                   defaultval=yes
12407               else
12408                   defaultval=no
12409               fi
12410           fi
12411
12412           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12413 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12414           # Check whether --enable-hyperlink was given.
12415 if test "${enable_hyperlink+set}" = set; then :
12416   enableval=$enable_hyperlink;
12417                           if test "$enableval" = yes; then
12418                             wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12419                           else
12420                             wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12421                           fi
12422
12423 else
12424
12425                           wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12426
12427 fi
12428
12429
12430           eval "$wx_cv_use_hyperlink"
12431
12432           if test x"$enablestring" = xdisable; then
12433             if test $wxUSE_HYPERLINKCTRL = no; then
12434               result=yes
12435             else
12436               result=no
12437             fi
12438           else
12439             result=$wxUSE_HYPERLINKCTRL
12440           fi
12441
12442           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12443 $as_echo "$result" >&6; }
12444
12445
12446           enablestring=
12447           defaultval=$wxUSE_ALL_FEATURES
12448           if test -z "$defaultval"; then
12449               if test x"$enablestring" = xdisable; then
12450                   defaultval=yes
12451               else
12452                   defaultval=no
12453               fi
12454           fi
12455
12456           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12457 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12458           # Check whether --enable-imaglist was given.
12459 if test "${enable_imaglist+set}" = set; then :
12460   enableval=$enable_imaglist;
12461                           if test "$enableval" = yes; then
12462                             wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12463                           else
12464                             wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12465                           fi
12466
12467 else
12468
12469                           wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12470
12471 fi
12472
12473
12474           eval "$wx_cv_use_imaglist"
12475
12476           if test x"$enablestring" = xdisable; then
12477             if test $wxUSE_IMAGLIST = no; then
12478               result=yes
12479             else
12480               result=no
12481             fi
12482           else
12483             result=$wxUSE_IMAGLIST
12484           fi
12485
12486           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12487 $as_echo "$result" >&6; }
12488
12489
12490           enablestring=
12491           defaultval=$wxUSE_ALL_FEATURES
12492           if test -z "$defaultval"; then
12493               if test x"$enablestring" = xdisable; then
12494                   defaultval=yes
12495               else
12496                   defaultval=no
12497               fi
12498           fi
12499
12500           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12501 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12502           # Check whether --enable-infobar was given.
12503 if test "${enable_infobar+set}" = set; then :
12504   enableval=$enable_infobar;
12505                           if test "$enableval" = yes; then
12506                             wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12507                           else
12508                             wx_cv_use_infobar='wxUSE_INFOBAR=no'
12509                           fi
12510
12511 else
12512
12513                           wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12514
12515 fi
12516
12517
12518           eval "$wx_cv_use_infobar"
12519
12520           if test x"$enablestring" = xdisable; then
12521             if test $wxUSE_INFOBAR = no; then
12522               result=yes
12523             else
12524               result=no
12525             fi
12526           else
12527             result=$wxUSE_INFOBAR
12528           fi
12529
12530           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12531 $as_echo "$result" >&6; }
12532
12533
12534           enablestring=
12535           defaultval=$wxUSE_ALL_FEATURES
12536           if test -z "$defaultval"; then
12537               if test x"$enablestring" = xdisable; then
12538                   defaultval=yes
12539               else
12540                   defaultval=no
12541               fi
12542           fi
12543
12544           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12545 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12546           # Check whether --enable-listbook was given.
12547 if test "${enable_listbook+set}" = set; then :
12548   enableval=$enable_listbook;
12549                           if test "$enableval" = yes; then
12550                             wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12551                           else
12552                             wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12553                           fi
12554
12555 else
12556
12557                           wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12558
12559 fi
12560
12561
12562           eval "$wx_cv_use_listbook"
12563
12564           if test x"$enablestring" = xdisable; then
12565             if test $wxUSE_LISTBOOK = no; then
12566               result=yes
12567             else
12568               result=no
12569             fi
12570           else
12571             result=$wxUSE_LISTBOOK
12572           fi
12573
12574           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12575 $as_echo "$result" >&6; }
12576
12577
12578           enablestring=
12579           defaultval=$wxUSE_ALL_FEATURES
12580           if test -z "$defaultval"; then
12581               if test x"$enablestring" = xdisable; then
12582                   defaultval=yes
12583               else
12584                   defaultval=no
12585               fi
12586           fi
12587
12588           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12589 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12590           # Check whether --enable-listbox was given.
12591 if test "${enable_listbox+set}" = set; then :
12592   enableval=$enable_listbox;
12593                           if test "$enableval" = yes; then
12594                             wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12595                           else
12596                             wx_cv_use_listbox='wxUSE_LISTBOX=no'
12597                           fi
12598
12599 else
12600
12601                           wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12602
12603 fi
12604
12605
12606           eval "$wx_cv_use_listbox"
12607
12608           if test x"$enablestring" = xdisable; then
12609             if test $wxUSE_LISTBOX = no; then
12610               result=yes
12611             else
12612               result=no
12613             fi
12614           else
12615             result=$wxUSE_LISTBOX
12616           fi
12617
12618           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12619 $as_echo "$result" >&6; }
12620
12621
12622           enablestring=
12623           defaultval=$wxUSE_ALL_FEATURES
12624           if test -z "$defaultval"; then
12625               if test x"$enablestring" = xdisable; then
12626                   defaultval=yes
12627               else
12628                   defaultval=no
12629               fi
12630           fi
12631
12632           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12633 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12634           # Check whether --enable-listctrl was given.
12635 if test "${enable_listctrl+set}" = set; then :
12636   enableval=$enable_listctrl;
12637                           if test "$enableval" = yes; then
12638                             wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12639                           else
12640                             wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12641                           fi
12642
12643 else
12644
12645                           wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12646
12647 fi
12648
12649
12650           eval "$wx_cv_use_listctrl"
12651
12652           if test x"$enablestring" = xdisable; then
12653             if test $wxUSE_LISTCTRL = no; then
12654               result=yes
12655             else
12656               result=no
12657             fi
12658           else
12659             result=$wxUSE_LISTCTRL
12660           fi
12661
12662           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12663 $as_echo "$result" >&6; }
12664
12665
12666           enablestring=
12667           defaultval=$wxUSE_ALL_FEATURES
12668           if test -z "$defaultval"; then
12669               if test x"$enablestring" = xdisable; then
12670                   defaultval=yes
12671               else
12672                   defaultval=no
12673               fi
12674           fi
12675
12676           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12677 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12678           # Check whether --enable-notebook was given.
12679 if test "${enable_notebook+set}" = set; then :
12680   enableval=$enable_notebook;
12681                           if test "$enableval" = yes; then
12682                             wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12683                           else
12684                             wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12685                           fi
12686
12687 else
12688
12689                           wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12690
12691 fi
12692
12693
12694           eval "$wx_cv_use_notebook"
12695
12696           if test x"$enablestring" = xdisable; then
12697             if test $wxUSE_NOTEBOOK = no; then
12698               result=yes
12699             else
12700               result=no
12701             fi
12702           else
12703             result=$wxUSE_NOTEBOOK
12704           fi
12705
12706           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12707 $as_echo "$result" >&6; }
12708
12709
12710           enablestring=
12711           defaultval=$wxUSE_ALL_FEATURES
12712           if test -z "$defaultval"; then
12713               if test x"$enablestring" = xdisable; then
12714                   defaultval=yes
12715               else
12716                   defaultval=no
12717               fi
12718           fi
12719
12720           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12721 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12722           # Check whether --enable-notifmsg was given.
12723 if test "${enable_notifmsg+set}" = set; then :
12724   enableval=$enable_notifmsg;
12725                           if test "$enableval" = yes; then
12726                             wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12727                           else
12728                             wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12729                           fi
12730
12731 else
12732
12733                           wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12734
12735 fi
12736
12737
12738           eval "$wx_cv_use_notifmsg"
12739
12740           if test x"$enablestring" = xdisable; then
12741             if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12742               result=yes
12743             else
12744               result=no
12745             fi
12746           else
12747             result=$wxUSE_NOTIFICATION_MESSAGE
12748           fi
12749
12750           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12751 $as_echo "$result" >&6; }
12752
12753
12754           enablestring=
12755           defaultval=$wxUSE_ALL_FEATURES
12756           if test -z "$defaultval"; then
12757               if test x"$enablestring" = xdisable; then
12758                   defaultval=yes
12759               else
12760                   defaultval=no
12761               fi
12762           fi
12763
12764           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12765 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12766           # Check whether --enable-odcombobox was given.
12767 if test "${enable_odcombobox+set}" = set; then :
12768   enableval=$enable_odcombobox;
12769                           if test "$enableval" = yes; then
12770                             wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12771                           else
12772                             wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12773                           fi
12774
12775 else
12776
12777                           wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12778
12779 fi
12780
12781
12782           eval "$wx_cv_use_odcombobox"
12783
12784           if test x"$enablestring" = xdisable; then
12785             if test $wxUSE_ODCOMBOBOX = no; then
12786               result=yes
12787             else
12788               result=no
12789             fi
12790           else
12791             result=$wxUSE_ODCOMBOBOX
12792           fi
12793
12794           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12795 $as_echo "$result" >&6; }
12796
12797
12798           enablestring=
12799           defaultval=$wxUSE_ALL_FEATURES
12800           if test -z "$defaultval"; then
12801               if test x"$enablestring" = xdisable; then
12802                   defaultval=yes
12803               else
12804                   defaultval=no
12805               fi
12806           fi
12807
12808           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
12809 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
12810           # Check whether --enable-popupwin was given.
12811 if test "${enable_popupwin+set}" = set; then :
12812   enableval=$enable_popupwin;
12813                           if test "$enableval" = yes; then
12814                             wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12815                           else
12816                             wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12817                           fi
12818
12819 else
12820
12821                           wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12822
12823 fi
12824
12825
12826           eval "$wx_cv_use_popupwin"
12827
12828           if test x"$enablestring" = xdisable; then
12829             if test $wxUSE_POPUPWIN = no; then
12830               result=yes
12831             else
12832               result=no
12833             fi
12834           else
12835             result=$wxUSE_POPUPWIN
12836           fi
12837
12838           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12839 $as_echo "$result" >&6; }
12840
12841
12842           enablestring=
12843           defaultval=$wxUSE_ALL_FEATURES
12844           if test -z "$defaultval"; then
12845               if test x"$enablestring" = xdisable; then
12846                   defaultval=yes
12847               else
12848                   defaultval=no
12849               fi
12850           fi
12851
12852           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
12853 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
12854           # Check whether --enable-radiobox was given.
12855 if test "${enable_radiobox+set}" = set; then :
12856   enableval=$enable_radiobox;
12857                           if test "$enableval" = yes; then
12858                             wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12859                           else
12860                             wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12861                           fi
12862
12863 else
12864
12865                           wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12866
12867 fi
12868
12869
12870           eval "$wx_cv_use_radiobox"
12871
12872           if test x"$enablestring" = xdisable; then
12873             if test $wxUSE_RADIOBOX = no; then
12874               result=yes
12875             else
12876               result=no
12877             fi
12878           else
12879             result=$wxUSE_RADIOBOX
12880           fi
12881
12882           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12883 $as_echo "$result" >&6; }
12884
12885
12886           enablestring=
12887           defaultval=$wxUSE_ALL_FEATURES
12888           if test -z "$defaultval"; then
12889               if test x"$enablestring" = xdisable; then
12890                   defaultval=yes
12891               else
12892                   defaultval=no
12893               fi
12894           fi
12895
12896           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
12897 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
12898           # Check whether --enable-radiobtn was given.
12899 if test "${enable_radiobtn+set}" = set; then :
12900   enableval=$enable_radiobtn;
12901                           if test "$enableval" = yes; then
12902                             wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12903                           else
12904                             wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12905                           fi
12906
12907 else
12908
12909                           wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12910
12911 fi
12912
12913
12914           eval "$wx_cv_use_radiobtn"
12915
12916           if test x"$enablestring" = xdisable; then
12917             if test $wxUSE_RADIOBTN = no; then
12918               result=yes
12919             else
12920               result=no
12921             fi
12922           else
12923             result=$wxUSE_RADIOBTN
12924           fi
12925
12926           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12927 $as_echo "$result" >&6; }
12928
12929
12930           enablestring=
12931           defaultval=$wxUSE_ALL_FEATURES
12932           if test -z "$defaultval"; then
12933               if test x"$enablestring" = xdisable; then
12934                   defaultval=yes
12935               else
12936                   defaultval=no
12937               fi
12938           fi
12939
12940           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
12941 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
12942           # Check whether --enable-richmsgdlg was given.
12943 if test "${enable_richmsgdlg+set}" = set; then :
12944   enableval=$enable_richmsgdlg;
12945                           if test "$enableval" = yes; then
12946                             wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
12947                           else
12948                             wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
12949                           fi
12950
12951 else
12952
12953                           wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
12954
12955 fi
12956
12957
12958           eval "$wx_cv_use_richmsgdlg"
12959
12960           if test x"$enablestring" = xdisable; then
12961             if test $wxUSE_RICHMSGDLG = no; then
12962               result=yes
12963             else
12964               result=no
12965             fi
12966           else
12967             result=$wxUSE_RICHMSGDLG
12968           fi
12969
12970           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12971 $as_echo "$result" >&6; }
12972
12973
12974           enablestring=
12975           defaultval=$wxUSE_ALL_FEATURES
12976           if test -z "$defaultval"; then
12977               if test x"$enablestring" = xdisable; then
12978                   defaultval=yes
12979               else
12980                   defaultval=no
12981               fi
12982           fi
12983
12984           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
12985 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
12986           # Check whether --enable-richtooltip was given.
12987 if test "${enable_richtooltip+set}" = set; then :
12988   enableval=$enable_richtooltip;
12989                           if test "$enableval" = yes; then
12990                             wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
12991                           else
12992                             wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
12993                           fi
12994
12995 else
12996
12997                           wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
12998
12999 fi
13000
13001
13002           eval "$wx_cv_use_richtooltip"
13003
13004           if test x"$enablestring" = xdisable; then
13005             if test $wxUSE_RICHTOOLTIP = no; then
13006               result=yes
13007             else
13008               result=no
13009             fi
13010           else
13011             result=$wxUSE_RICHTOOLTIP
13012           fi
13013
13014           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13015 $as_echo "$result" >&6; }
13016
13017
13018           enablestring=
13019           defaultval=$wxUSE_ALL_FEATURES
13020           if test -z "$defaultval"; then
13021               if test x"$enablestring" = xdisable; then
13022                   defaultval=yes
13023               else
13024                   defaultval=no
13025               fi
13026           fi
13027
13028           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13029 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13030           # Check whether --enable-rearrangectrl was given.
13031 if test "${enable_rearrangectrl+set}" = set; then :
13032   enableval=$enable_rearrangectrl;
13033                           if test "$enableval" = yes; then
13034                             wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13035                           else
13036                             wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13037                           fi
13038
13039 else
13040
13041                           wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13042
13043 fi
13044
13045
13046           eval "$wx_cv_use_rearrangectrl"
13047
13048           if test x"$enablestring" = xdisable; then
13049             if test $wxUSE_REARRANGECTRL = no; then
13050               result=yes
13051             else
13052               result=no
13053             fi
13054           else
13055             result=$wxUSE_REARRANGECTRL
13056           fi
13057
13058           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13059 $as_echo "$result" >&6; }
13060
13061
13062           enablestring=
13063           defaultval=$wxUSE_ALL_FEATURES
13064           if test -z "$defaultval"; then
13065               if test x"$enablestring" = xdisable; then
13066                   defaultval=yes
13067               else
13068                   defaultval=no
13069               fi
13070           fi
13071
13072           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13073 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13074           # Check whether --enable-sash was given.
13075 if test "${enable_sash+set}" = set; then :
13076   enableval=$enable_sash;
13077                           if test "$enableval" = yes; then
13078                             wx_cv_use_sash='wxUSE_SASH=yes'
13079                           else
13080                             wx_cv_use_sash='wxUSE_SASH=no'
13081                           fi
13082
13083 else
13084
13085                           wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13086
13087 fi
13088
13089
13090           eval "$wx_cv_use_sash"
13091
13092           if test x"$enablestring" = xdisable; then
13093             if test $wxUSE_SASH = no; then
13094               result=yes
13095             else
13096               result=no
13097             fi
13098           else
13099             result=$wxUSE_SASH
13100           fi
13101
13102           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13103 $as_echo "$result" >&6; }
13104
13105
13106           enablestring=
13107           defaultval=$wxUSE_ALL_FEATURES
13108           if test -z "$defaultval"; then
13109               if test x"$enablestring" = xdisable; then
13110                   defaultval=yes
13111               else
13112                   defaultval=no
13113               fi
13114           fi
13115
13116           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13117 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13118           # Check whether --enable-scrollbar was given.
13119 if test "${enable_scrollbar+set}" = set; then :
13120   enableval=$enable_scrollbar;
13121                           if test "$enableval" = yes; then
13122                             wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13123                           else
13124                             wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13125                           fi
13126
13127 else
13128
13129                           wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13130
13131 fi
13132
13133
13134           eval "$wx_cv_use_scrollbar"
13135
13136           if test x"$enablestring" = xdisable; then
13137             if test $wxUSE_SCROLLBAR = no; then
13138               result=yes
13139             else
13140               result=no
13141             fi
13142           else
13143             result=$wxUSE_SCROLLBAR
13144           fi
13145
13146           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13147 $as_echo "$result" >&6; }
13148
13149
13150           enablestring=
13151           defaultval=$wxUSE_ALL_FEATURES
13152           if test -z "$defaultval"; then
13153               if test x"$enablestring" = xdisable; then
13154                   defaultval=yes
13155               else
13156                   defaultval=no
13157               fi
13158           fi
13159
13160           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13161 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13162           # Check whether --enable-searchctrl was given.
13163 if test "${enable_searchctrl+set}" = set; then :
13164   enableval=$enable_searchctrl;
13165                           if test "$enableval" = yes; then
13166                             wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13167                           else
13168                             wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13169                           fi
13170
13171 else
13172
13173                           wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13174
13175 fi
13176
13177
13178           eval "$wx_cv_use_searchctrl"
13179
13180           if test x"$enablestring" = xdisable; then
13181             if test $wxUSE_SEARCHCTRL = no; then
13182               result=yes
13183             else
13184               result=no
13185             fi
13186           else
13187             result=$wxUSE_SEARCHCTRL
13188           fi
13189
13190           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13191 $as_echo "$result" >&6; }
13192
13193
13194           enablestring=
13195           defaultval=$wxUSE_ALL_FEATURES
13196           if test -z "$defaultval"; then
13197               if test x"$enablestring" = xdisable; then
13198                   defaultval=yes
13199               else
13200                   defaultval=no
13201               fi
13202           fi
13203
13204           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13205 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13206           # Check whether --enable-slider was given.
13207 if test "${enable_slider+set}" = set; then :
13208   enableval=$enable_slider;
13209                           if test "$enableval" = yes; then
13210                             wx_cv_use_slider='wxUSE_SLIDER=yes'
13211                           else
13212                             wx_cv_use_slider='wxUSE_SLIDER=no'
13213                           fi
13214
13215 else
13216
13217                           wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13218
13219 fi
13220
13221
13222           eval "$wx_cv_use_slider"
13223
13224           if test x"$enablestring" = xdisable; then
13225             if test $wxUSE_SLIDER = no; then
13226               result=yes
13227             else
13228               result=no
13229             fi
13230           else
13231             result=$wxUSE_SLIDER
13232           fi
13233
13234           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13235 $as_echo "$result" >&6; }
13236
13237
13238           enablestring=
13239           defaultval=$wxUSE_ALL_FEATURES
13240           if test -z "$defaultval"; then
13241               if test x"$enablestring" = xdisable; then
13242                   defaultval=yes
13243               else
13244                   defaultval=no
13245               fi
13246           fi
13247
13248           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13249 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13250           # Check whether --enable-spinbtn was given.
13251 if test "${enable_spinbtn+set}" = set; then :
13252   enableval=$enable_spinbtn;
13253                           if test "$enableval" = yes; then
13254                             wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13255                           else
13256                             wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13257                           fi
13258
13259 else
13260
13261                           wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13262
13263 fi
13264
13265
13266           eval "$wx_cv_use_spinbtn"
13267
13268           if test x"$enablestring" = xdisable; then
13269             if test $wxUSE_SPINBTN = no; then
13270               result=yes
13271             else
13272               result=no
13273             fi
13274           else
13275             result=$wxUSE_SPINBTN
13276           fi
13277
13278           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13279 $as_echo "$result" >&6; }
13280
13281
13282           enablestring=
13283           defaultval=$wxUSE_ALL_FEATURES
13284           if test -z "$defaultval"; then
13285               if test x"$enablestring" = xdisable; then
13286                   defaultval=yes
13287               else
13288                   defaultval=no
13289               fi
13290           fi
13291
13292           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13293 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13294           # Check whether --enable-spinctrl was given.
13295 if test "${enable_spinctrl+set}" = set; then :
13296   enableval=$enable_spinctrl;
13297                           if test "$enableval" = yes; then
13298                             wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13299                           else
13300                             wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13301                           fi
13302
13303 else
13304
13305                           wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13306
13307 fi
13308
13309
13310           eval "$wx_cv_use_spinctrl"
13311
13312           if test x"$enablestring" = xdisable; then
13313             if test $wxUSE_SPINCTRL = no; then
13314               result=yes
13315             else
13316               result=no
13317             fi
13318           else
13319             result=$wxUSE_SPINCTRL
13320           fi
13321
13322           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13323 $as_echo "$result" >&6; }
13324
13325
13326           enablestring=
13327           defaultval=$wxUSE_ALL_FEATURES
13328           if test -z "$defaultval"; then
13329               if test x"$enablestring" = xdisable; then
13330                   defaultval=yes
13331               else
13332                   defaultval=no
13333               fi
13334           fi
13335
13336           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13337 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13338           # Check whether --enable-splitter was given.
13339 if test "${enable_splitter+set}" = set; then :
13340   enableval=$enable_splitter;
13341                           if test "$enableval" = yes; then
13342                             wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13343                           else
13344                             wx_cv_use_splitter='wxUSE_SPLITTER=no'
13345                           fi
13346
13347 else
13348
13349                           wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13350
13351 fi
13352
13353
13354           eval "$wx_cv_use_splitter"
13355
13356           if test x"$enablestring" = xdisable; then
13357             if test $wxUSE_SPLITTER = no; then
13358               result=yes
13359             else
13360               result=no
13361             fi
13362           else
13363             result=$wxUSE_SPLITTER
13364           fi
13365
13366           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13367 $as_echo "$result" >&6; }
13368
13369
13370           enablestring=
13371           defaultval=$wxUSE_ALL_FEATURES
13372           if test -z "$defaultval"; then
13373               if test x"$enablestring" = xdisable; then
13374                   defaultval=yes
13375               else
13376                   defaultval=no
13377               fi
13378           fi
13379
13380           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13381 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13382           # Check whether --enable-statbmp was given.
13383 if test "${enable_statbmp+set}" = set; then :
13384   enableval=$enable_statbmp;
13385                           if test "$enableval" = yes; then
13386                             wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13387                           else
13388                             wx_cv_use_statbmp='wxUSE_STATBMP=no'
13389                           fi
13390
13391 else
13392
13393                           wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13394
13395 fi
13396
13397
13398           eval "$wx_cv_use_statbmp"
13399
13400           if test x"$enablestring" = xdisable; then
13401             if test $wxUSE_STATBMP = no; then
13402               result=yes
13403             else
13404               result=no
13405             fi
13406           else
13407             result=$wxUSE_STATBMP
13408           fi
13409
13410           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13411 $as_echo "$result" >&6; }
13412
13413
13414           enablestring=
13415           defaultval=$wxUSE_ALL_FEATURES
13416           if test -z "$defaultval"; then
13417               if test x"$enablestring" = xdisable; then
13418                   defaultval=yes
13419               else
13420                   defaultval=no
13421               fi
13422           fi
13423
13424           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13425 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13426           # Check whether --enable-statbox was given.
13427 if test "${enable_statbox+set}" = set; then :
13428   enableval=$enable_statbox;
13429                           if test "$enableval" = yes; then
13430                             wx_cv_use_statbox='wxUSE_STATBOX=yes'
13431                           else
13432                             wx_cv_use_statbox='wxUSE_STATBOX=no'
13433                           fi
13434
13435 else
13436
13437                           wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13438
13439 fi
13440
13441
13442           eval "$wx_cv_use_statbox"
13443
13444           if test x"$enablestring" = xdisable; then
13445             if test $wxUSE_STATBOX = no; then
13446               result=yes
13447             else
13448               result=no
13449             fi
13450           else
13451             result=$wxUSE_STATBOX
13452           fi
13453
13454           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13455 $as_echo "$result" >&6; }
13456
13457
13458           enablestring=
13459           defaultval=$wxUSE_ALL_FEATURES
13460           if test -z "$defaultval"; then
13461               if test x"$enablestring" = xdisable; then
13462                   defaultval=yes
13463               else
13464                   defaultval=no
13465               fi
13466           fi
13467
13468           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13469 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13470           # Check whether --enable-statline was given.
13471 if test "${enable_statline+set}" = set; then :
13472   enableval=$enable_statline;
13473                           if test "$enableval" = yes; then
13474                             wx_cv_use_statline='wxUSE_STATLINE=yes'
13475                           else
13476                             wx_cv_use_statline='wxUSE_STATLINE=no'
13477                           fi
13478
13479 else
13480
13481                           wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13482
13483 fi
13484
13485
13486           eval "$wx_cv_use_statline"
13487
13488           if test x"$enablestring" = xdisable; then
13489             if test $wxUSE_STATLINE = no; then
13490               result=yes
13491             else
13492               result=no
13493             fi
13494           else
13495             result=$wxUSE_STATLINE
13496           fi
13497
13498           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13499 $as_echo "$result" >&6; }
13500
13501
13502           enablestring=
13503           defaultval=$wxUSE_ALL_FEATURES
13504           if test -z "$defaultval"; then
13505               if test x"$enablestring" = xdisable; then
13506                   defaultval=yes
13507               else
13508                   defaultval=no
13509               fi
13510           fi
13511
13512           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13513 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13514           # Check whether --enable-stattext was given.
13515 if test "${enable_stattext+set}" = set; then :
13516   enableval=$enable_stattext;
13517                           if test "$enableval" = yes; then
13518                             wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13519                           else
13520                             wx_cv_use_stattext='wxUSE_STATTEXT=no'
13521                           fi
13522
13523 else
13524
13525                           wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13526
13527 fi
13528
13529
13530           eval "$wx_cv_use_stattext"
13531
13532           if test x"$enablestring" = xdisable; then
13533             if test $wxUSE_STATTEXT = no; then
13534               result=yes
13535             else
13536               result=no
13537             fi
13538           else
13539             result=$wxUSE_STATTEXT
13540           fi
13541
13542           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13543 $as_echo "$result" >&6; }
13544
13545
13546           enablestring=
13547           defaultval=$wxUSE_ALL_FEATURES
13548           if test -z "$defaultval"; then
13549               if test x"$enablestring" = xdisable; then
13550                   defaultval=yes
13551               else
13552                   defaultval=no
13553               fi
13554           fi
13555
13556           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13557 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13558           # Check whether --enable-statusbar was given.
13559 if test "${enable_statusbar+set}" = set; then :
13560   enableval=$enable_statusbar;
13561                           if test "$enableval" = yes; then
13562                             wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13563                           else
13564                             wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13565                           fi
13566
13567 else
13568
13569                           wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13570
13571 fi
13572
13573
13574           eval "$wx_cv_use_statusbar"
13575
13576           if test x"$enablestring" = xdisable; then
13577             if test $wxUSE_STATUSBAR = no; then
13578               result=yes
13579             else
13580               result=no
13581             fi
13582           else
13583             result=$wxUSE_STATUSBAR
13584           fi
13585
13586           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13587 $as_echo "$result" >&6; }
13588
13589
13590           enablestring=
13591           defaultval=$wxUSE_ALL_FEATURES
13592           if test -z "$defaultval"; then
13593               if test x"$enablestring" = xdisable; then
13594                   defaultval=yes
13595               else
13596                   defaultval=no
13597               fi
13598           fi
13599
13600           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13601 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13602           # Check whether --enable-taskbaricon was given.
13603 if test "${enable_taskbaricon+set}" = set; then :
13604   enableval=$enable_taskbaricon;
13605                           if test "$enableval" = yes; then
13606                             wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13607                           else
13608                             wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13609                           fi
13610
13611 else
13612
13613                           wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13614
13615 fi
13616
13617
13618           eval "$wx_cv_use_taskbaricon"
13619
13620           if test x"$enablestring" = xdisable; then
13621             if test $wxUSE_TASKBARICON = no; then
13622               result=yes
13623             else
13624               result=no
13625             fi
13626           else
13627             result=$wxUSE_TASKBARICON
13628           fi
13629
13630           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13631 $as_echo "$result" >&6; }
13632
13633
13634           enablestring=
13635           defaultval=$wxUSE_ALL_FEATURES
13636           if test -z "$defaultval"; then
13637               if test x"$enablestring" = xdisable; then
13638                   defaultval=yes
13639               else
13640                   defaultval=no
13641               fi
13642           fi
13643
13644           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13645 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13646           # Check whether --enable-tbarnative was given.
13647 if test "${enable_tbarnative+set}" = set; then :
13648   enableval=$enable_tbarnative;
13649                           if test "$enableval" = yes; then
13650                             wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13651                           else
13652                             wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13653                           fi
13654
13655 else
13656
13657                           wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13658
13659 fi
13660
13661
13662           eval "$wx_cv_use_tbarnative"
13663
13664           if test x"$enablestring" = xdisable; then
13665             if test $wxUSE_TOOLBAR_NATIVE = no; then
13666               result=yes
13667             else
13668               result=no
13669             fi
13670           else
13671             result=$wxUSE_TOOLBAR_NATIVE
13672           fi
13673
13674           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13675 $as_echo "$result" >&6; }
13676
13677
13678           enablestring=
13679           defaultval=$wxUSE_ALL_FEATURES
13680           if test -z "$defaultval"; then
13681               if test x"$enablestring" = xdisable; then
13682                   defaultval=yes
13683               else
13684                   defaultval=no
13685               fi
13686           fi
13687
13688           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13689 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13690           # Check whether --enable-textctrl was given.
13691 if test "${enable_textctrl+set}" = set; then :
13692   enableval=$enable_textctrl;
13693                           if test "$enableval" = yes; then
13694                             wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13695                           else
13696                             wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13697                           fi
13698
13699 else
13700
13701                           wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13702
13703 fi
13704
13705
13706           eval "$wx_cv_use_textctrl"
13707
13708           if test x"$enablestring" = xdisable; then
13709             if test $wxUSE_TEXTCTRL = no; then
13710               result=yes
13711             else
13712               result=no
13713             fi
13714           else
13715             result=$wxUSE_TEXTCTRL
13716           fi
13717
13718           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13719 $as_echo "$result" >&6; }
13720
13721
13722           enablestring=
13723           defaultval=$wxUSE_ALL_FEATURES
13724           if test -z "$defaultval"; then
13725               if test x"$enablestring" = xdisable; then
13726                   defaultval=yes
13727               else
13728                   defaultval=no
13729               fi
13730           fi
13731
13732           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13733 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13734           # Check whether --enable-datepick was given.
13735 if test "${enable_datepick+set}" = set; then :
13736   enableval=$enable_datepick;
13737                           if test "$enableval" = yes; then
13738                             wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13739                           else
13740                             wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13741                           fi
13742
13743 else
13744
13745                           wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13746
13747 fi
13748
13749
13750           eval "$wx_cv_use_datepick"
13751
13752           if test x"$enablestring" = xdisable; then
13753             if test $wxUSE_TIMEPICKCTRL = no; then
13754               result=yes
13755             else
13756               result=no
13757             fi
13758           else
13759             result=$wxUSE_TIMEPICKCTRL
13760           fi
13761
13762           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13763 $as_echo "$result" >&6; }
13764
13765
13766           enablestring=
13767           defaultval=$wxUSE_ALL_FEATURES
13768           if test -z "$defaultval"; then
13769               if test x"$enablestring" = xdisable; then
13770                   defaultval=yes
13771               else
13772                   defaultval=no
13773               fi
13774           fi
13775
13776           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13777 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13778           # Check whether --enable-tipwindow was given.
13779 if test "${enable_tipwindow+set}" = set; then :
13780   enableval=$enable_tipwindow;
13781                           if test "$enableval" = yes; then
13782                             wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13783                           else
13784                             wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13785                           fi
13786
13787 else
13788
13789                           wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13790
13791 fi
13792
13793
13794           eval "$wx_cv_use_tipwindow"
13795
13796           if test x"$enablestring" = xdisable; then
13797             if test $wxUSE_TIPWINDOW = no; then
13798               result=yes
13799             else
13800               result=no
13801             fi
13802           else
13803             result=$wxUSE_TIPWINDOW
13804           fi
13805
13806           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13807 $as_echo "$result" >&6; }
13808
13809
13810           enablestring=
13811           defaultval=$wxUSE_ALL_FEATURES
13812           if test -z "$defaultval"; then
13813               if test x"$enablestring" = xdisable; then
13814                   defaultval=yes
13815               else
13816                   defaultval=no
13817               fi
13818           fi
13819
13820           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
13821 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
13822           # Check whether --enable-togglebtn was given.
13823 if test "${enable_togglebtn+set}" = set; then :
13824   enableval=$enable_togglebtn;
13825                           if test "$enableval" = yes; then
13826                             wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13827                           else
13828                             wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13829                           fi
13830
13831 else
13832
13833                           wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13834
13835 fi
13836
13837
13838           eval "$wx_cv_use_togglebtn"
13839
13840           if test x"$enablestring" = xdisable; then
13841             if test $wxUSE_TOGGLEBTN = no; then
13842               result=yes
13843             else
13844               result=no
13845             fi
13846           else
13847             result=$wxUSE_TOGGLEBTN
13848           fi
13849
13850           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13851 $as_echo "$result" >&6; }
13852
13853
13854           enablestring=
13855           defaultval=$wxUSE_ALL_FEATURES
13856           if test -z "$defaultval"; then
13857               if test x"$enablestring" = xdisable; then
13858                   defaultval=yes
13859               else
13860                   defaultval=no
13861               fi
13862           fi
13863
13864           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
13865 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
13866           # Check whether --enable-toolbar was given.
13867 if test "${enable_toolbar+set}" = set; then :
13868   enableval=$enable_toolbar;
13869                           if test "$enableval" = yes; then
13870                             wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13871                           else
13872                             wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13873                           fi
13874
13875 else
13876
13877                           wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13878
13879 fi
13880
13881
13882           eval "$wx_cv_use_toolbar"
13883
13884           if test x"$enablestring" = xdisable; then
13885             if test $wxUSE_TOOLBAR = no; then
13886               result=yes
13887             else
13888               result=no
13889             fi
13890           else
13891             result=$wxUSE_TOOLBAR
13892           fi
13893
13894           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13895 $as_echo "$result" >&6; }
13896
13897
13898           enablestring=
13899           defaultval=$wxUSE_ALL_FEATURES
13900           if test -z "$defaultval"; then
13901               if test x"$enablestring" = xdisable; then
13902                   defaultval=yes
13903               else
13904                   defaultval=no
13905               fi
13906           fi
13907
13908           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
13909 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
13910           # Check whether --enable-toolbook was given.
13911 if test "${enable_toolbook+set}" = set; then :
13912   enableval=$enable_toolbook;
13913                           if test "$enableval" = yes; then
13914                             wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13915                           else
13916                             wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13917                           fi
13918
13919 else
13920
13921                           wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13922
13923 fi
13924
13925
13926           eval "$wx_cv_use_toolbook"
13927
13928           if test x"$enablestring" = xdisable; then
13929             if test $wxUSE_TOOLBOOK = no; then
13930               result=yes
13931             else
13932               result=no
13933             fi
13934           else
13935             result=$wxUSE_TOOLBOOK
13936           fi
13937
13938           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13939 $as_echo "$result" >&6; }
13940
13941
13942           enablestring=
13943           defaultval=$wxUSE_ALL_FEATURES
13944           if test -z "$defaultval"; then
13945               if test x"$enablestring" = xdisable; then
13946                   defaultval=yes
13947               else
13948                   defaultval=no
13949               fi
13950           fi
13951
13952           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
13953 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
13954           # Check whether --enable-treebook was given.
13955 if test "${enable_treebook+set}" = set; then :
13956   enableval=$enable_treebook;
13957                           if test "$enableval" = yes; then
13958                             wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13959                           else
13960                             wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13961                           fi
13962
13963 else
13964
13965                           wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13966
13967 fi
13968
13969
13970           eval "$wx_cv_use_treebook"
13971
13972           if test x"$enablestring" = xdisable; then
13973             if test $wxUSE_TREEBOOK = no; then
13974               result=yes
13975             else
13976               result=no
13977             fi
13978           else
13979             result=$wxUSE_TREEBOOK
13980           fi
13981
13982           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13983 $as_echo "$result" >&6; }
13984
13985
13986           enablestring=
13987           defaultval=$wxUSE_ALL_FEATURES
13988           if test -z "$defaultval"; then
13989               if test x"$enablestring" = xdisable; then
13990                   defaultval=yes
13991               else
13992                   defaultval=no
13993               fi
13994           fi
13995
13996           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
13997 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
13998           # Check whether --enable-treectrl was given.
13999 if test "${enable_treectrl+set}" = set; then :
14000   enableval=$enable_treectrl;
14001                           if test "$enableval" = yes; then
14002                             wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14003                           else
14004                             wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14005                           fi
14006
14007 else
14008
14009                           wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14010
14011 fi
14012
14013
14014           eval "$wx_cv_use_treectrl"
14015
14016           if test x"$enablestring" = xdisable; then
14017             if test $wxUSE_TREECTRL = no; then
14018               result=yes
14019             else
14020               result=no
14021             fi
14022           else
14023             result=$wxUSE_TREECTRL
14024           fi
14025
14026           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14027 $as_echo "$result" >&6; }
14028
14029
14030           enablestring=
14031           defaultval=$wxUSE_ALL_FEATURES
14032           if test -z "$defaultval"; then
14033               if test x"$enablestring" = xdisable; then
14034                   defaultval=yes
14035               else
14036                   defaultval=no
14037               fi
14038           fi
14039
14040           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14041 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14042           # Check whether --enable-treelist was given.
14043 if test "${enable_treelist+set}" = set; then :
14044   enableval=$enable_treelist;
14045                           if test "$enableval" = yes; then
14046                             wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14047                           else
14048                             wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14049                           fi
14050
14051 else
14052
14053                           wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14054
14055 fi
14056
14057
14058           eval "$wx_cv_use_treelist"
14059
14060           if test x"$enablestring" = xdisable; then
14061             if test $wxUSE_TREELISTCTRL = no; then
14062               result=yes
14063             else
14064               result=no
14065             fi
14066           else
14067             result=$wxUSE_TREELISTCTRL
14068           fi
14069
14070           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14071 $as_echo "$result" >&6; }
14072
14073
14074
14075
14076           enablestring=
14077           defaultval=$wxUSE_ALL_FEATURES
14078           if test -z "$defaultval"; then
14079               if test x"$enablestring" = xdisable; then
14080                   defaultval=yes
14081               else
14082                   defaultval=no
14083               fi
14084           fi
14085
14086           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14087 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14088           # Check whether --enable-commondlg was given.
14089 if test "${enable_commondlg+set}" = set; then :
14090   enableval=$enable_commondlg;
14091                           if test "$enableval" = yes; then
14092                             wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14093                           else
14094                             wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14095                           fi
14096
14097 else
14098
14099                           wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14100
14101 fi
14102
14103
14104           eval "$wx_cv_use_commondlg"
14105
14106           if test x"$enablestring" = xdisable; then
14107             if test $wxUSE_COMMONDLGS = no; then
14108               result=yes
14109             else
14110               result=no
14111             fi
14112           else
14113             result=$wxUSE_COMMONDLGS
14114           fi
14115
14116           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14117 $as_echo "$result" >&6; }
14118
14119
14120           enablestring=
14121           defaultval=$wxUSE_ALL_FEATURES
14122           if test -z "$defaultval"; then
14123               if test x"$enablestring" = xdisable; then
14124                   defaultval=yes
14125               else
14126                   defaultval=no
14127               fi
14128           fi
14129
14130           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14131 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14132           # Check whether --enable-aboutdlg was given.
14133 if test "${enable_aboutdlg+set}" = set; then :
14134   enableval=$enable_aboutdlg;
14135                           if test "$enableval" = yes; then
14136                             wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14137                           else
14138                             wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14139                           fi
14140
14141 else
14142
14143                           wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14144
14145 fi
14146
14147
14148           eval "$wx_cv_use_aboutdlg"
14149
14150           if test x"$enablestring" = xdisable; then
14151             if test $wxUSE_ABOUTDLG = no; then
14152               result=yes
14153             else
14154               result=no
14155             fi
14156           else
14157             result=$wxUSE_ABOUTDLG
14158           fi
14159
14160           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14161 $as_echo "$result" >&6; }
14162
14163
14164           enablestring=
14165           defaultval=$wxUSE_ALL_FEATURES
14166           if test -z "$defaultval"; then
14167               if test x"$enablestring" = xdisable; then
14168                   defaultval=yes
14169               else
14170                   defaultval=no
14171               fi
14172           fi
14173
14174           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14175 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14176           # Check whether --enable-choicedlg was given.
14177 if test "${enable_choicedlg+set}" = set; then :
14178   enableval=$enable_choicedlg;
14179                           if test "$enableval" = yes; then
14180                             wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14181                           else
14182                             wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14183                           fi
14184
14185 else
14186
14187                           wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14188
14189 fi
14190
14191
14192           eval "$wx_cv_use_choicedlg"
14193
14194           if test x"$enablestring" = xdisable; then
14195             if test $wxUSE_CHOICEDLG = no; then
14196               result=yes
14197             else
14198               result=no
14199             fi
14200           else
14201             result=$wxUSE_CHOICEDLG
14202           fi
14203
14204           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14205 $as_echo "$result" >&6; }
14206
14207
14208           enablestring=
14209           defaultval=$wxUSE_ALL_FEATURES
14210           if test -z "$defaultval"; then
14211               if test x"$enablestring" = xdisable; then
14212                   defaultval=yes
14213               else
14214                   defaultval=no
14215               fi
14216           fi
14217
14218           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14219 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14220           # Check whether --enable-coldlg was given.
14221 if test "${enable_coldlg+set}" = set; then :
14222   enableval=$enable_coldlg;
14223                           if test "$enableval" = yes; then
14224                             wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14225                           else
14226                             wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14227                           fi
14228
14229 else
14230
14231                           wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14232
14233 fi
14234
14235
14236           eval "$wx_cv_use_coldlg"
14237
14238           if test x"$enablestring" = xdisable; then
14239             if test $wxUSE_COLOURDLG = no; then
14240               result=yes
14241             else
14242               result=no
14243             fi
14244           else
14245             result=$wxUSE_COLOURDLG
14246           fi
14247
14248           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14249 $as_echo "$result" >&6; }
14250
14251
14252           enablestring=
14253           defaultval=$wxUSE_ALL_FEATURES
14254           if test -z "$defaultval"; then
14255               if test x"$enablestring" = xdisable; then
14256                   defaultval=yes
14257               else
14258                   defaultval=no
14259               fi
14260           fi
14261
14262           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14263 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14264           # Check whether --enable-filedlg was given.
14265 if test "${enable_filedlg+set}" = set; then :
14266   enableval=$enable_filedlg;
14267                           if test "$enableval" = yes; then
14268                             wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14269                           else
14270                             wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14271                           fi
14272
14273 else
14274
14275                           wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14276
14277 fi
14278
14279
14280           eval "$wx_cv_use_filedlg"
14281
14282           if test x"$enablestring" = xdisable; then
14283             if test $wxUSE_FILEDLG = no; then
14284               result=yes
14285             else
14286               result=no
14287             fi
14288           else
14289             result=$wxUSE_FILEDLG
14290           fi
14291
14292           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14293 $as_echo "$result" >&6; }
14294
14295
14296           enablestring=
14297           defaultval=$wxUSE_ALL_FEATURES
14298           if test -z "$defaultval"; then
14299               if test x"$enablestring" = xdisable; then
14300                   defaultval=yes
14301               else
14302                   defaultval=no
14303               fi
14304           fi
14305
14306           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14307 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14308           # Check whether --enable-finddlg was given.
14309 if test "${enable_finddlg+set}" = set; then :
14310   enableval=$enable_finddlg;
14311                           if test "$enableval" = yes; then
14312                             wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14313                           else
14314                             wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14315                           fi
14316
14317 else
14318
14319                           wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14320
14321 fi
14322
14323
14324           eval "$wx_cv_use_finddlg"
14325
14326           if test x"$enablestring" = xdisable; then
14327             if test $wxUSE_FINDREPLDLG = no; then
14328               result=yes
14329             else
14330               result=no
14331             fi
14332           else
14333             result=$wxUSE_FINDREPLDLG
14334           fi
14335
14336           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14337 $as_echo "$result" >&6; }
14338
14339
14340           enablestring=
14341           defaultval=$wxUSE_ALL_FEATURES
14342           if test -z "$defaultval"; then
14343               if test x"$enablestring" = xdisable; then
14344                   defaultval=yes
14345               else
14346                   defaultval=no
14347               fi
14348           fi
14349
14350           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14351 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14352           # Check whether --enable-fontdlg was given.
14353 if test "${enable_fontdlg+set}" = set; then :
14354   enableval=$enable_fontdlg;
14355                           if test "$enableval" = yes; then
14356                             wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14357                           else
14358                             wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14359                           fi
14360
14361 else
14362
14363                           wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14364
14365 fi
14366
14367
14368           eval "$wx_cv_use_fontdlg"
14369
14370           if test x"$enablestring" = xdisable; then
14371             if test $wxUSE_FONTDLG = no; then
14372               result=yes
14373             else
14374               result=no
14375             fi
14376           else
14377             result=$wxUSE_FONTDLG
14378           fi
14379
14380           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14381 $as_echo "$result" >&6; }
14382
14383
14384           enablestring=
14385           defaultval=$wxUSE_ALL_FEATURES
14386           if test -z "$defaultval"; then
14387               if test x"$enablestring" = xdisable; then
14388                   defaultval=yes
14389               else
14390                   defaultval=no
14391               fi
14392           fi
14393
14394           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14395 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14396           # Check whether --enable-dirdlg was given.
14397 if test "${enable_dirdlg+set}" = set; then :
14398   enableval=$enable_dirdlg;
14399                           if test "$enableval" = yes; then
14400                             wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14401                           else
14402                             wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14403                           fi
14404
14405 else
14406
14407                           wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14408
14409 fi
14410
14411
14412           eval "$wx_cv_use_dirdlg"
14413
14414           if test x"$enablestring" = xdisable; then
14415             if test $wxUSE_DIRDLG = no; then
14416               result=yes
14417             else
14418               result=no
14419             fi
14420           else
14421             result=$wxUSE_DIRDLG
14422           fi
14423
14424           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14425 $as_echo "$result" >&6; }
14426
14427
14428           enablestring=
14429           defaultval=$wxUSE_ALL_FEATURES
14430           if test -z "$defaultval"; then
14431               if test x"$enablestring" = xdisable; then
14432                   defaultval=yes
14433               else
14434                   defaultval=no
14435               fi
14436           fi
14437
14438           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14439 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14440           # Check whether --enable-msgdlg was given.
14441 if test "${enable_msgdlg+set}" = set; then :
14442   enableval=$enable_msgdlg;
14443                           if test "$enableval" = yes; then
14444                             wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14445                           else
14446                             wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14447                           fi
14448
14449 else
14450
14451                           wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14452
14453 fi
14454
14455
14456           eval "$wx_cv_use_msgdlg"
14457
14458           if test x"$enablestring" = xdisable; then
14459             if test $wxUSE_MSGDLG = no; then
14460               result=yes
14461             else
14462               result=no
14463             fi
14464           else
14465             result=$wxUSE_MSGDLG
14466           fi
14467
14468           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14469 $as_echo "$result" >&6; }
14470
14471
14472           enablestring=
14473           defaultval=$wxUSE_ALL_FEATURES
14474           if test -z "$defaultval"; then
14475               if test x"$enablestring" = xdisable; then
14476                   defaultval=yes
14477               else
14478                   defaultval=no
14479               fi
14480           fi
14481
14482           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14483 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14484           # Check whether --enable-numberdlg was given.
14485 if test "${enable_numberdlg+set}" = set; then :
14486   enableval=$enable_numberdlg;
14487                           if test "$enableval" = yes; then
14488                             wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14489                           else
14490                             wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14491                           fi
14492
14493 else
14494
14495                           wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14496
14497 fi
14498
14499
14500           eval "$wx_cv_use_numberdlg"
14501
14502           if test x"$enablestring" = xdisable; then
14503             if test $wxUSE_NUMBERDLG = no; then
14504               result=yes
14505             else
14506               result=no
14507             fi
14508           else
14509             result=$wxUSE_NUMBERDLG
14510           fi
14511
14512           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14513 $as_echo "$result" >&6; }
14514
14515
14516           enablestring=
14517           defaultval=$wxUSE_ALL_FEATURES
14518           if test -z "$defaultval"; then
14519               if test x"$enablestring" = xdisable; then
14520                   defaultval=yes
14521               else
14522                   defaultval=no
14523               fi
14524           fi
14525
14526           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14527 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14528           # Check whether --enable-splash was given.
14529 if test "${enable_splash+set}" = set; then :
14530   enableval=$enable_splash;
14531                           if test "$enableval" = yes; then
14532                             wx_cv_use_splash='wxUSE_SPLASH=yes'
14533                           else
14534                             wx_cv_use_splash='wxUSE_SPLASH=no'
14535                           fi
14536
14537 else
14538
14539                           wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14540
14541 fi
14542
14543
14544           eval "$wx_cv_use_splash"
14545
14546           if test x"$enablestring" = xdisable; then
14547             if test $wxUSE_SPLASH = no; then
14548               result=yes
14549             else
14550               result=no
14551             fi
14552           else
14553             result=$wxUSE_SPLASH
14554           fi
14555
14556           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14557 $as_echo "$result" >&6; }
14558
14559
14560           enablestring=
14561           defaultval=$wxUSE_ALL_FEATURES
14562           if test -z "$defaultval"; then
14563               if test x"$enablestring" = xdisable; then
14564                   defaultval=yes
14565               else
14566                   defaultval=no
14567               fi
14568           fi
14569
14570           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14571 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14572           # Check whether --enable-textdlg was given.
14573 if test "${enable_textdlg+set}" = set; then :
14574   enableval=$enable_textdlg;
14575                           if test "$enableval" = yes; then
14576                             wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14577                           else
14578                             wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14579                           fi
14580
14581 else
14582
14583                           wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14584
14585 fi
14586
14587
14588           eval "$wx_cv_use_textdlg"
14589
14590           if test x"$enablestring" = xdisable; then
14591             if test $wxUSE_TEXTDLG = no; then
14592               result=yes
14593             else
14594               result=no
14595             fi
14596           else
14597             result=$wxUSE_TEXTDLG
14598           fi
14599
14600           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14601 $as_echo "$result" >&6; }
14602
14603
14604           enablestring=
14605           defaultval=$wxUSE_ALL_FEATURES
14606           if test -z "$defaultval"; then
14607               if test x"$enablestring" = xdisable; then
14608                   defaultval=yes
14609               else
14610                   defaultval=no
14611               fi
14612           fi
14613
14614           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14615 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14616           # Check whether --enable-tipdlg was given.
14617 if test "${enable_tipdlg+set}" = set; then :
14618   enableval=$enable_tipdlg;
14619                           if test "$enableval" = yes; then
14620                             wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14621                           else
14622                             wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14623                           fi
14624
14625 else
14626
14627                           wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14628
14629 fi
14630
14631
14632           eval "$wx_cv_use_tipdlg"
14633
14634           if test x"$enablestring" = xdisable; then
14635             if test $wxUSE_STARTUP_TIPS = no; then
14636               result=yes
14637             else
14638               result=no
14639             fi
14640           else
14641             result=$wxUSE_STARTUP_TIPS
14642           fi
14643
14644           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14645 $as_echo "$result" >&6; }
14646
14647
14648           enablestring=
14649           defaultval=$wxUSE_ALL_FEATURES
14650           if test -z "$defaultval"; then
14651               if test x"$enablestring" = xdisable; then
14652                   defaultval=yes
14653               else
14654                   defaultval=no
14655               fi
14656           fi
14657
14658           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14659 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14660           # Check whether --enable-progressdlg was given.
14661 if test "${enable_progressdlg+set}" = set; then :
14662   enableval=$enable_progressdlg;
14663                           if test "$enableval" = yes; then
14664                             wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14665                           else
14666                             wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14667                           fi
14668
14669 else
14670
14671                           wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14672
14673 fi
14674
14675
14676           eval "$wx_cv_use_progressdlg"
14677
14678           if test x"$enablestring" = xdisable; then
14679             if test $wxUSE_PROGRESSDLG = no; then
14680               result=yes
14681             else
14682               result=no
14683             fi
14684           else
14685             result=$wxUSE_PROGRESSDLG
14686           fi
14687
14688           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14689 $as_echo "$result" >&6; }
14690
14691
14692           enablestring=
14693           defaultval=$wxUSE_ALL_FEATURES
14694           if test -z "$defaultval"; then
14695               if test x"$enablestring" = xdisable; then
14696                   defaultval=yes
14697               else
14698                   defaultval=no
14699               fi
14700           fi
14701
14702           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14703 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14704           # Check whether --enable-wizarddlg was given.
14705 if test "${enable_wizarddlg+set}" = set; then :
14706   enableval=$enable_wizarddlg;
14707                           if test "$enableval" = yes; then
14708                             wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14709                           else
14710                             wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14711                           fi
14712
14713 else
14714
14715                           wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14716
14717 fi
14718
14719
14720           eval "$wx_cv_use_wizarddlg"
14721
14722           if test x"$enablestring" = xdisable; then
14723             if test $wxUSE_WIZARDDLG = no; then
14724               result=yes
14725             else
14726               result=no
14727             fi
14728           else
14729             result=$wxUSE_WIZARDDLG
14730           fi
14731
14732           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14733 $as_echo "$result" >&6; }
14734
14735
14736
14737
14738           enablestring=
14739           defaultval=$wxUSE_ALL_FEATURES
14740           if test -z "$defaultval"; then
14741               if test x"$enablestring" = xdisable; then
14742                   defaultval=yes
14743               else
14744                   defaultval=no
14745               fi
14746           fi
14747
14748           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14749 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14750           # Check whether --enable-menus was given.
14751 if test "${enable_menus+set}" = set; then :
14752   enableval=$enable_menus;
14753                           if test "$enableval" = yes; then
14754                             wx_cv_use_menus='wxUSE_MENUS=yes'
14755                           else
14756                             wx_cv_use_menus='wxUSE_MENUS=no'
14757                           fi
14758
14759 else
14760
14761                           wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14762
14763 fi
14764
14765
14766           eval "$wx_cv_use_menus"
14767
14768           if test x"$enablestring" = xdisable; then
14769             if test $wxUSE_MENUS = no; then
14770               result=yes
14771             else
14772               result=no
14773             fi
14774           else
14775             result=$wxUSE_MENUS
14776           fi
14777
14778           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14779 $as_echo "$result" >&6; }
14780
14781
14782           enablestring=
14783           defaultval=$wxUSE_ALL_FEATURES
14784           if test -z "$defaultval"; then
14785               if test x"$enablestring" = xdisable; then
14786                   defaultval=yes
14787               else
14788                   defaultval=no
14789               fi
14790           fi
14791
14792           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14793 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14794           # Check whether --enable-miniframe was given.
14795 if test "${enable_miniframe+set}" = set; then :
14796   enableval=$enable_miniframe;
14797                           if test "$enableval" = yes; then
14798                             wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14799                           else
14800                             wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14801                           fi
14802
14803 else
14804
14805                           wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14806
14807 fi
14808
14809
14810           eval "$wx_cv_use_miniframe"
14811
14812           if test x"$enablestring" = xdisable; then
14813             if test $wxUSE_MINIFRAME = no; then
14814               result=yes
14815             else
14816               result=no
14817             fi
14818           else
14819             result=$wxUSE_MINIFRAME
14820           fi
14821
14822           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14823 $as_echo "$result" >&6; }
14824
14825
14826           enablestring=
14827           defaultval=$wxUSE_ALL_FEATURES
14828           if test -z "$defaultval"; then
14829               if test x"$enablestring" = xdisable; then
14830                   defaultval=yes
14831               else
14832                   defaultval=no
14833               fi
14834           fi
14835
14836           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
14837 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
14838           # Check whether --enable-tooltips was given.
14839 if test "${enable_tooltips+set}" = set; then :
14840   enableval=$enable_tooltips;
14841                           if test "$enableval" = yes; then
14842                             wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14843                           else
14844                             wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14845                           fi
14846
14847 else
14848
14849                           wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14850
14851 fi
14852
14853
14854           eval "$wx_cv_use_tooltips"
14855
14856           if test x"$enablestring" = xdisable; then
14857             if test $wxUSE_TOOLTIPS = no; then
14858               result=yes
14859             else
14860               result=no
14861             fi
14862           else
14863             result=$wxUSE_TOOLTIPS
14864           fi
14865
14866           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14867 $as_echo "$result" >&6; }
14868
14869
14870           enablestring=
14871           defaultval=$wxUSE_ALL_FEATURES
14872           if test -z "$defaultval"; then
14873               if test x"$enablestring" = xdisable; then
14874                   defaultval=yes
14875               else
14876                   defaultval=no
14877               fi
14878           fi
14879
14880           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
14881 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
14882           # Check whether --enable-splines was given.
14883 if test "${enable_splines+set}" = set; then :
14884   enableval=$enable_splines;
14885                           if test "$enableval" = yes; then
14886                             wx_cv_use_splines='wxUSE_SPLINES=yes'
14887                           else
14888                             wx_cv_use_splines='wxUSE_SPLINES=no'
14889                           fi
14890
14891 else
14892
14893                           wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14894
14895 fi
14896
14897
14898           eval "$wx_cv_use_splines"
14899
14900           if test x"$enablestring" = xdisable; then
14901             if test $wxUSE_SPLINES = no; then
14902               result=yes
14903             else
14904               result=no
14905             fi
14906           else
14907             result=$wxUSE_SPLINES
14908           fi
14909
14910           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14911 $as_echo "$result" >&6; }
14912
14913
14914           enablestring=
14915           defaultval=$wxUSE_ALL_FEATURES
14916           if test -z "$defaultval"; then
14917               if test x"$enablestring" = xdisable; then
14918                   defaultval=yes
14919               else
14920                   defaultval=no
14921               fi
14922           fi
14923
14924           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
14925 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
14926           # Check whether --enable-mousewheel was given.
14927 if test "${enable_mousewheel+set}" = set; then :
14928   enableval=$enable_mousewheel;
14929                           if test "$enableval" = yes; then
14930                             wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14931                           else
14932                             wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14933                           fi
14934
14935 else
14936
14937                           wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14938
14939 fi
14940
14941
14942           eval "$wx_cv_use_mousewheel"
14943
14944           if test x"$enablestring" = xdisable; then
14945             if test $wxUSE_MOUSEWHEEL = no; then
14946               result=yes
14947             else
14948               result=no
14949             fi
14950           else
14951             result=$wxUSE_MOUSEWHEEL
14952           fi
14953
14954           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14955 $as_echo "$result" >&6; }
14956
14957
14958           enablestring=
14959           defaultval=$wxUSE_ALL_FEATURES
14960           if test -z "$defaultval"; then
14961               if test x"$enablestring" = xdisable; then
14962                   defaultval=yes
14963               else
14964                   defaultval=no
14965               fi
14966           fi
14967
14968           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
14969 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
14970           # Check whether --enable-validators was given.
14971 if test "${enable_validators+set}" = set; then :
14972   enableval=$enable_validators;
14973                           if test "$enableval" = yes; then
14974                             wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14975                           else
14976                             wx_cv_use_validators='wxUSE_VALIDATORS=no'
14977                           fi
14978
14979 else
14980
14981                           wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14982
14983 fi
14984
14985
14986           eval "$wx_cv_use_validators"
14987
14988           if test x"$enablestring" = xdisable; then
14989             if test $wxUSE_VALIDATORS = no; then
14990               result=yes
14991             else
14992               result=no
14993             fi
14994           else
14995             result=$wxUSE_VALIDATORS
14996           fi
14997
14998           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14999 $as_echo "$result" >&6; }
15000
15001
15002           enablestring=
15003           defaultval=$wxUSE_ALL_FEATURES
15004           if test -z "$defaultval"; then
15005               if test x"$enablestring" = xdisable; then
15006                   defaultval=yes
15007               else
15008                   defaultval=no
15009               fi
15010           fi
15011
15012           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15013 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15014           # Check whether --enable-busyinfo was given.
15015 if test "${enable_busyinfo+set}" = set; then :
15016   enableval=$enable_busyinfo;
15017                           if test "$enableval" = yes; then
15018                             wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15019                           else
15020                             wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15021                           fi
15022
15023 else
15024
15025                           wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15026
15027 fi
15028
15029
15030           eval "$wx_cv_use_busyinfo"
15031
15032           if test x"$enablestring" = xdisable; then
15033             if test $wxUSE_BUSYINFO = no; then
15034               result=yes
15035             else
15036               result=no
15037             fi
15038           else
15039             result=$wxUSE_BUSYINFO
15040           fi
15041
15042           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15043 $as_echo "$result" >&6; }
15044
15045
15046           enablestring=
15047           defaultval=$wxUSE_ALL_FEATURES
15048           if test -z "$defaultval"; then
15049               if test x"$enablestring" = xdisable; then
15050                   defaultval=yes
15051               else
15052                   defaultval=no
15053               fi
15054           fi
15055
15056           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15057 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15058           # Check whether --enable-hotkey was given.
15059 if test "${enable_hotkey+set}" = set; then :
15060   enableval=$enable_hotkey;
15061                           if test "$enableval" = yes; then
15062                             wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15063                           else
15064                             wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15065                           fi
15066
15067 else
15068
15069                           wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15070
15071 fi
15072
15073
15074           eval "$wx_cv_use_hotkey"
15075
15076           if test x"$enablestring" = xdisable; then
15077             if test $wxUSE_HOTKEY = no; then
15078               result=yes
15079             else
15080               result=no
15081             fi
15082           else
15083             result=$wxUSE_HOTKEY
15084           fi
15085
15086           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15087 $as_echo "$result" >&6; }
15088
15089
15090           enablestring=
15091           defaultval=$wxUSE_ALL_FEATURES
15092           if test -z "$defaultval"; then
15093               if test x"$enablestring" = xdisable; then
15094                   defaultval=yes
15095               else
15096                   defaultval=no
15097               fi
15098           fi
15099
15100           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15101 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15102           # Check whether --enable-joystick was given.
15103 if test "${enable_joystick+set}" = set; then :
15104   enableval=$enable_joystick;
15105                           if test "$enableval" = yes; then
15106                             wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15107                           else
15108                             wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15109                           fi
15110
15111 else
15112
15113                           wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15114
15115 fi
15116
15117
15118           eval "$wx_cv_use_joystick"
15119
15120           if test x"$enablestring" = xdisable; then
15121             if test $wxUSE_JOYSTICK = no; then
15122               result=yes
15123             else
15124               result=no
15125             fi
15126           else
15127             result=$wxUSE_JOYSTICK
15128           fi
15129
15130           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15131 $as_echo "$result" >&6; }
15132
15133
15134           enablestring=
15135           defaultval=$wxUSE_ALL_FEATURES
15136           if test -z "$defaultval"; then
15137               if test x"$enablestring" = xdisable; then
15138                   defaultval=yes
15139               else
15140                   defaultval=no
15141               fi
15142           fi
15143
15144           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15145 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15146           # Check whether --enable-metafile was given.
15147 if test "${enable_metafile+set}" = set; then :
15148   enableval=$enable_metafile;
15149                           if test "$enableval" = yes; then
15150                             wx_cv_use_metafile='wxUSE_METAFILE=yes'
15151                           else
15152                             wx_cv_use_metafile='wxUSE_METAFILE=no'
15153                           fi
15154
15155 else
15156
15157                           wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15158
15159 fi
15160
15161
15162           eval "$wx_cv_use_metafile"
15163
15164           if test x"$enablestring" = xdisable; then
15165             if test $wxUSE_METAFILE = no; then
15166               result=yes
15167             else
15168               result=no
15169             fi
15170           else
15171             result=$wxUSE_METAFILE
15172           fi
15173
15174           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15175 $as_echo "$result" >&6; }
15176
15177
15178           enablestring=
15179           defaultval=$wxUSE_ALL_FEATURES
15180           if test -z "$defaultval"; then
15181               if test x"$enablestring" = xdisable; then
15182                   defaultval=yes
15183               else
15184                   defaultval=no
15185               fi
15186           fi
15187
15188           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15189 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15190           # Check whether --enable-dragimage was given.
15191 if test "${enable_dragimage+set}" = set; then :
15192   enableval=$enable_dragimage;
15193                           if test "$enableval" = yes; then
15194                             wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15195                           else
15196                             wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15197                           fi
15198
15199 else
15200
15201                           wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15202
15203 fi
15204
15205
15206           eval "$wx_cv_use_dragimage"
15207
15208           if test x"$enablestring" = xdisable; then
15209             if test $wxUSE_DRAGIMAGE = no; then
15210               result=yes
15211             else
15212               result=no
15213             fi
15214           else
15215             result=$wxUSE_DRAGIMAGE
15216           fi
15217
15218           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15219 $as_echo "$result" >&6; }
15220
15221
15222           enablestring=
15223           defaultval=$wxUSE_ALL_FEATURES
15224           if test -z "$defaultval"; then
15225               if test x"$enablestring" = xdisable; then
15226                   defaultval=yes
15227               else
15228                   defaultval=no
15229               fi
15230           fi
15231
15232           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15233 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15234           # Check whether --enable-accessibility was given.
15235 if test "${enable_accessibility+set}" = set; then :
15236   enableval=$enable_accessibility;
15237                           if test "$enableval" = yes; then
15238                             wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15239                           else
15240                             wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15241                           fi
15242
15243 else
15244
15245                           wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15246
15247 fi
15248
15249
15250           eval "$wx_cv_use_accessibility"
15251
15252           if test x"$enablestring" = xdisable; then
15253             if test $wxUSE_ACCESSIBILITY = no; then
15254               result=yes
15255             else
15256               result=no
15257             fi
15258           else
15259             result=$wxUSE_ACCESSIBILITY
15260           fi
15261
15262           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15263 $as_echo "$result" >&6; }
15264
15265
15266           enablestring=
15267           defaultval=$wxUSE_ALL_FEATURES
15268           if test -z "$defaultval"; then
15269               if test x"$enablestring" = xdisable; then
15270                   defaultval=yes
15271               else
15272                   defaultval=no
15273               fi
15274           fi
15275
15276           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15277 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15278           # Check whether --enable-uiactionsim was given.
15279 if test "${enable_uiactionsim+set}" = set; then :
15280   enableval=$enable_uiactionsim;
15281                           if test "$enableval" = yes; then
15282                             wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15283                           else
15284                             wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15285                           fi
15286
15287 else
15288
15289                           wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15290
15291 fi
15292
15293
15294           eval "$wx_cv_use_uiactionsim"
15295
15296           if test x"$enablestring" = xdisable; then
15297             if test $wxUSE_UIACTIONSIMULATOR = no; then
15298               result=yes
15299             else
15300               result=no
15301             fi
15302           else
15303             result=$wxUSE_UIACTIONSIMULATOR
15304           fi
15305
15306           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15307 $as_echo "$result" >&6; }
15308
15309
15310           enablestring=
15311           defaultval=$wxUSE_ALL_FEATURES
15312           if test -z "$defaultval"; then
15313               if test x"$enablestring" = xdisable; then
15314                   defaultval=yes
15315               else
15316                   defaultval=no
15317               fi
15318           fi
15319
15320           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15321 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15322           # Check whether --enable-dctransform was given.
15323 if test "${enable_dctransform+set}" = set; then :
15324   enableval=$enable_dctransform;
15325                           if test "$enableval" = yes; then
15326                             wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15327                           else
15328                             wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15329                           fi
15330
15331 else
15332
15333                           wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15334
15335 fi
15336
15337
15338           eval "$wx_cv_use_dctransform"
15339
15340           if test x"$enablestring" = xdisable; then
15341             if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15342               result=yes
15343             else
15344               result=no
15345             fi
15346           else
15347             result=$wxUSE_DC_TRANSFORM_MATRIX
15348           fi
15349
15350           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15351 $as_echo "$result" >&6; }
15352
15353
15354           enablestring=
15355           defaultval=$wxUSE_ALL_FEATURES
15356           if test -z "$defaultval"; then
15357               if test x"$enablestring" = xdisable; then
15358                   defaultval=yes
15359               else
15360                   defaultval=no
15361               fi
15362           fi
15363
15364           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15365 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15366           # Check whether --enable-webviewwebkit was given.
15367 if test "${enable_webviewwebkit+set}" = set; then :
15368   enableval=$enable_webviewwebkit;
15369                           if test "$enableval" = yes; then
15370                             wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15371                           else
15372                             wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15373                           fi
15374
15375 else
15376
15377                           wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15378
15379 fi
15380
15381
15382           eval "$wx_cv_use_webviewwebkit"
15383
15384           if test x"$enablestring" = xdisable; then
15385             if test $wxUSE_WEBVIEW_WEBKIT = no; then
15386               result=yes
15387             else
15388               result=no
15389             fi
15390           else
15391             result=$wxUSE_WEBVIEW_WEBKIT
15392           fi
15393
15394           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15395 $as_echo "$result" >&6; }
15396
15397
15398
15399
15400           enablestring=
15401           defaultval=$wxUSE_ALL_FEATURES
15402           if test -z "$defaultval"; then
15403               if test x"$enablestring" = xdisable; then
15404                   defaultval=yes
15405               else
15406                   defaultval=no
15407               fi
15408           fi
15409
15410           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15411 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15412           # Check whether --enable-palette was given.
15413 if test "${enable_palette+set}" = set; then :
15414   enableval=$enable_palette;
15415                           if test "$enableval" = yes; then
15416                             wx_cv_use_palette='wxUSE_PALETTE=yes'
15417                           else
15418                             wx_cv_use_palette='wxUSE_PALETTE=no'
15419                           fi
15420
15421 else
15422
15423                           wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15424
15425 fi
15426
15427
15428           eval "$wx_cv_use_palette"
15429
15430           if test x"$enablestring" = xdisable; then
15431             if test $wxUSE_PALETTE = no; then
15432               result=yes
15433             else
15434               result=no
15435             fi
15436           else
15437             result=$wxUSE_PALETTE
15438           fi
15439
15440           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15441 $as_echo "$result" >&6; }
15442
15443
15444           enablestring=
15445           defaultval=$wxUSE_ALL_FEATURES
15446           if test -z "$defaultval"; then
15447               if test x"$enablestring" = xdisable; then
15448                   defaultval=yes
15449               else
15450                   defaultval=no
15451               fi
15452           fi
15453
15454           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15455 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15456           # Check whether --enable-image was given.
15457 if test "${enable_image+set}" = set; then :
15458   enableval=$enable_image;
15459                           if test "$enableval" = yes; then
15460                             wx_cv_use_image='wxUSE_IMAGE=yes'
15461                           else
15462                             wx_cv_use_image='wxUSE_IMAGE=no'
15463                           fi
15464
15465 else
15466
15467                           wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15468
15469 fi
15470
15471
15472           eval "$wx_cv_use_image"
15473
15474           if test x"$enablestring" = xdisable; then
15475             if test $wxUSE_IMAGE = no; then
15476               result=yes
15477             else
15478               result=no
15479             fi
15480           else
15481             result=$wxUSE_IMAGE
15482           fi
15483
15484           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15485 $as_echo "$result" >&6; }
15486
15487
15488           enablestring=
15489           defaultval=$wxUSE_ALL_FEATURES
15490           if test -z "$defaultval"; then
15491               if test x"$enablestring" = xdisable; then
15492                   defaultval=yes
15493               else
15494                   defaultval=no
15495               fi
15496           fi
15497
15498           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15499 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15500           # Check whether --enable-gif was given.
15501 if test "${enable_gif+set}" = set; then :
15502   enableval=$enable_gif;
15503                           if test "$enableval" = yes; then
15504                             wx_cv_use_gif='wxUSE_GIF=yes'
15505                           else
15506                             wx_cv_use_gif='wxUSE_GIF=no'
15507                           fi
15508
15509 else
15510
15511                           wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15512
15513 fi
15514
15515
15516           eval "$wx_cv_use_gif"
15517
15518           if test x"$enablestring" = xdisable; then
15519             if test $wxUSE_GIF = no; then
15520               result=yes
15521             else
15522               result=no
15523             fi
15524           else
15525             result=$wxUSE_GIF
15526           fi
15527
15528           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15529 $as_echo "$result" >&6; }
15530
15531
15532           enablestring=
15533           defaultval=$wxUSE_ALL_FEATURES
15534           if test -z "$defaultval"; then
15535               if test x"$enablestring" = xdisable; then
15536                   defaultval=yes
15537               else
15538                   defaultval=no
15539               fi
15540           fi
15541
15542           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15543 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15544           # Check whether --enable-pcx was given.
15545 if test "${enable_pcx+set}" = set; then :
15546   enableval=$enable_pcx;
15547                           if test "$enableval" = yes; then
15548                             wx_cv_use_pcx='wxUSE_PCX=yes'
15549                           else
15550                             wx_cv_use_pcx='wxUSE_PCX=no'
15551                           fi
15552
15553 else
15554
15555                           wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15556
15557 fi
15558
15559
15560           eval "$wx_cv_use_pcx"
15561
15562           if test x"$enablestring" = xdisable; then
15563             if test $wxUSE_PCX = no; then
15564               result=yes
15565             else
15566               result=no
15567             fi
15568           else
15569             result=$wxUSE_PCX
15570           fi
15571
15572           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15573 $as_echo "$result" >&6; }
15574
15575
15576           enablestring=
15577           defaultval=$wxUSE_ALL_FEATURES
15578           if test -z "$defaultval"; then
15579               if test x"$enablestring" = xdisable; then
15580                   defaultval=yes
15581               else
15582                   defaultval=no
15583               fi
15584           fi
15585
15586           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15587 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15588           # Check whether --enable-tga was given.
15589 if test "${enable_tga+set}" = set; then :
15590   enableval=$enable_tga;
15591                           if test "$enableval" = yes; then
15592                             wx_cv_use_tga='wxUSE_TGA=yes'
15593                           else
15594                             wx_cv_use_tga='wxUSE_TGA=no'
15595                           fi
15596
15597 else
15598
15599                           wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15600
15601 fi
15602
15603
15604           eval "$wx_cv_use_tga"
15605
15606           if test x"$enablestring" = xdisable; then
15607             if test $wxUSE_TGA = no; then
15608               result=yes
15609             else
15610               result=no
15611             fi
15612           else
15613             result=$wxUSE_TGA
15614           fi
15615
15616           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15617 $as_echo "$result" >&6; }
15618
15619
15620           enablestring=
15621           defaultval=$wxUSE_ALL_FEATURES
15622           if test -z "$defaultval"; then
15623               if test x"$enablestring" = xdisable; then
15624                   defaultval=yes
15625               else
15626                   defaultval=no
15627               fi
15628           fi
15629
15630           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15631 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15632           # Check whether --enable-iff was given.
15633 if test "${enable_iff+set}" = set; then :
15634   enableval=$enable_iff;
15635                           if test "$enableval" = yes; then
15636                             wx_cv_use_iff='wxUSE_IFF=yes'
15637                           else
15638                             wx_cv_use_iff='wxUSE_IFF=no'
15639                           fi
15640
15641 else
15642
15643                           wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15644
15645 fi
15646
15647
15648           eval "$wx_cv_use_iff"
15649
15650           if test x"$enablestring" = xdisable; then
15651             if test $wxUSE_IFF = no; then
15652               result=yes
15653             else
15654               result=no
15655             fi
15656           else
15657             result=$wxUSE_IFF
15658           fi
15659
15660           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15661 $as_echo "$result" >&6; }
15662
15663
15664           enablestring=
15665           defaultval=$wxUSE_ALL_FEATURES
15666           if test -z "$defaultval"; then
15667               if test x"$enablestring" = xdisable; then
15668                   defaultval=yes
15669               else
15670                   defaultval=no
15671               fi
15672           fi
15673
15674           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15675 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15676           # Check whether --enable-pnm was given.
15677 if test "${enable_pnm+set}" = set; then :
15678   enableval=$enable_pnm;
15679                           if test "$enableval" = yes; then
15680                             wx_cv_use_pnm='wxUSE_PNM=yes'
15681                           else
15682                             wx_cv_use_pnm='wxUSE_PNM=no'
15683                           fi
15684
15685 else
15686
15687                           wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15688
15689 fi
15690
15691
15692           eval "$wx_cv_use_pnm"
15693
15694           if test x"$enablestring" = xdisable; then
15695             if test $wxUSE_PNM = no; then
15696               result=yes
15697             else
15698               result=no
15699             fi
15700           else
15701             result=$wxUSE_PNM
15702           fi
15703
15704           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15705 $as_echo "$result" >&6; }
15706
15707
15708           enablestring=
15709           defaultval=$wxUSE_ALL_FEATURES
15710           if test -z "$defaultval"; then
15711               if test x"$enablestring" = xdisable; then
15712                   defaultval=yes
15713               else
15714                   defaultval=no
15715               fi
15716           fi
15717
15718           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15719 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15720           # Check whether --enable-xpm was given.
15721 if test "${enable_xpm+set}" = set; then :
15722   enableval=$enable_xpm;
15723                           if test "$enableval" = yes; then
15724                             wx_cv_use_xpm='wxUSE_XPM=yes'
15725                           else
15726                             wx_cv_use_xpm='wxUSE_XPM=no'
15727                           fi
15728
15729 else
15730
15731                           wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15732
15733 fi
15734
15735
15736           eval "$wx_cv_use_xpm"
15737
15738           if test x"$enablestring" = xdisable; then
15739             if test $wxUSE_XPM = no; then
15740               result=yes
15741             else
15742               result=no
15743             fi
15744           else
15745             result=$wxUSE_XPM
15746           fi
15747
15748           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15749 $as_echo "$result" >&6; }
15750
15751
15752           enablestring=
15753           defaultval=$wxUSE_ALL_FEATURES
15754           if test -z "$defaultval"; then
15755               if test x"$enablestring" = xdisable; then
15756                   defaultval=yes
15757               else
15758                   defaultval=no
15759               fi
15760           fi
15761
15762           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15763 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15764           # Check whether --enable-ico_cur was given.
15765 if test "${enable_ico_cur+set}" = set; then :
15766   enableval=$enable_ico_cur;
15767                           if test "$enableval" = yes; then
15768                             wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15769                           else
15770                             wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15771                           fi
15772
15773 else
15774
15775                           wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15776
15777 fi
15778
15779
15780           eval "$wx_cv_use_ico_cur"
15781
15782           if test x"$enablestring" = xdisable; then
15783             if test $wxUSE_ICO_CUR = no; then
15784               result=yes
15785             else
15786               result=no
15787             fi
15788           else
15789             result=$wxUSE_ICO_CUR
15790           fi
15791
15792           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15793 $as_echo "$result" >&6; }
15794
15795
15796
15797
15798           enablestring=
15799           defaultval=$wxUSE_ALL_FEATURES
15800           if test -z "$defaultval"; then
15801               if test x"$enablestring" = xdisable; then
15802                   defaultval=yes
15803               else
15804                   defaultval=no
15805               fi
15806           fi
15807
15808           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
15809 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
15810           # Check whether --enable-dccache was given.
15811 if test "${enable_dccache+set}" = set; then :
15812   enableval=$enable_dccache;
15813                           if test "$enableval" = yes; then
15814                             wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15815                           else
15816                             wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15817                           fi
15818
15819 else
15820
15821                           wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15822
15823 fi
15824
15825
15826           eval "$wx_cv_use_dccache"
15827
15828           if test x"$enablestring" = xdisable; then
15829             if test $wxUSE_DC_CACHEING = no; then
15830               result=yes
15831             else
15832               result=no
15833             fi
15834           else
15835             result=$wxUSE_DC_CACHEING
15836           fi
15837
15838           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15839 $as_echo "$result" >&6; }
15840
15841
15842           enablestring=
15843           defaultval=$wxUSE_ALL_FEATURES
15844           if test -z "$defaultval"; then
15845               if test x"$enablestring" = xdisable; then
15846                   defaultval=yes
15847               else
15848                   defaultval=no
15849               fi
15850           fi
15851
15852           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
15853 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
15854           # Check whether --enable-ps-in-msw was given.
15855 if test "${enable_ps_in_msw+set}" = set; then :
15856   enableval=$enable_ps_in_msw;
15857                           if test "$enableval" = yes; then
15858                             wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15859                           else
15860                             wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15861                           fi
15862
15863 else
15864
15865                           wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15866
15867 fi
15868
15869
15870           eval "$wx_cv_use_ps_in_msw"
15871
15872           if test x"$enablestring" = xdisable; then
15873             if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
15874               result=yes
15875             else
15876               result=no
15877             fi
15878           else
15879             result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15880           fi
15881
15882           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15883 $as_echo "$result" >&6; }
15884
15885
15886           enablestring=
15887           defaultval=$wxUSE_ALL_FEATURES
15888           if test -z "$defaultval"; then
15889               if test x"$enablestring" = xdisable; then
15890                   defaultval=yes
15891               else
15892                   defaultval=no
15893               fi
15894           fi
15895
15896           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
15897 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
15898           # Check whether --enable-ownerdrawn was given.
15899 if test "${enable_ownerdrawn+set}" = set; then :
15900   enableval=$enable_ownerdrawn;
15901                           if test "$enableval" = yes; then
15902                             wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
15903                           else
15904                             wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
15905                           fi
15906
15907 else
15908
15909                           wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15910
15911 fi
15912
15913
15914           eval "$wx_cv_use_ownerdrawn"
15915
15916           if test x"$enablestring" = xdisable; then
15917             if test $wxUSE_OWNER_DRAWN = no; then
15918               result=yes
15919             else
15920               result=no
15921             fi
15922           else
15923             result=$wxUSE_OWNER_DRAWN
15924           fi
15925
15926           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15927 $as_echo "$result" >&6; }
15928
15929
15930           enablestring=
15931           defaultval=$wxUSE_ALL_FEATURES
15932           if test -z "$defaultval"; then
15933               if test x"$enablestring" = xdisable; then
15934                   defaultval=yes
15935               else
15936                   defaultval=no
15937               fi
15938           fi
15939
15940           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
15941 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
15942           # Check whether --enable-uxtheme was given.
15943 if test "${enable_uxtheme+set}" = set; then :
15944   enableval=$enable_uxtheme;
15945                           if test "$enableval" = yes; then
15946                             wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15947                           else
15948                             wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15949                           fi
15950
15951 else
15952
15953                           wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15954
15955 fi
15956
15957
15958           eval "$wx_cv_use_uxtheme"
15959
15960           if test x"$enablestring" = xdisable; then
15961             if test $wxUSE_UXTHEME = no; then
15962               result=yes
15963             else
15964               result=no
15965             fi
15966           else
15967             result=$wxUSE_UXTHEME
15968           fi
15969
15970           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15971 $as_echo "$result" >&6; }
15972
15973
15974           enablestring=
15975           defaultval=$wxUSE_ALL_FEATURES
15976           if test -z "$defaultval"; then
15977               if test x"$enablestring" = xdisable; then
15978                   defaultval=yes
15979               else
15980                   defaultval=no
15981               fi
15982           fi
15983
15984           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
15985 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
15986           # Check whether --enable-wxdib was given.
15987 if test "${enable_wxdib+set}" = set; then :
15988   enableval=$enable_wxdib;
15989                           if test "$enableval" = yes; then
15990                             wx_cv_use_wxdib='wxUSE_DIB=yes'
15991                           else
15992                             wx_cv_use_wxdib='wxUSE_DIB=no'
15993                           fi
15994
15995 else
15996
15997                           wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
15998
15999 fi
16000
16001
16002           eval "$wx_cv_use_wxdib"
16003
16004           if test x"$enablestring" = xdisable; then
16005             if test $wxUSE_DIB = no; then
16006               result=yes
16007             else
16008               result=no
16009             fi
16010           else
16011             result=$wxUSE_DIB
16012           fi
16013
16014           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16015 $as_echo "$result" >&6; }
16016
16017
16018           enablestring=
16019           defaultval=$wxUSE_ALL_FEATURES
16020           if test -z "$defaultval"; then
16021               if test x"$enablestring" = xdisable; then
16022                   defaultval=yes
16023               else
16024                   defaultval=no
16025               fi
16026           fi
16027
16028           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16029 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16030           # Check whether --enable-webviewie was given.
16031 if test "${enable_webviewie+set}" = set; then :
16032   enableval=$enable_webviewie;
16033                           if test "$enableval" = yes; then
16034                             wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16035                           else
16036                             wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16037                           fi
16038
16039 else
16040
16041                           wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16042
16043 fi
16044
16045
16046           eval "$wx_cv_use_webviewie"
16047
16048           if test x"$enablestring" = xdisable; then
16049             if test $wxUSE_WEBVIEW_IE = no; then
16050               result=yes
16051             else
16052               result=no
16053             fi
16054           else
16055             result=$wxUSE_WEBVIEW_IE
16056           fi
16057
16058           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16059 $as_echo "$result" >&6; }
16060
16061
16062 if test "$wxUSE_MSW" != 1; then
16063     DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16064 fi
16065
16066
16067           enablestring=
16068           defaultval=$wxUSE_ALL_FEATURES
16069           if test -z "$defaultval"; then
16070               if test x"$enablestring" = xdisable; then
16071                   defaultval=yes
16072               else
16073                   defaultval=no
16074               fi
16075           fi
16076
16077           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16078 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16079           # Check whether --enable-autoidman was given.
16080 if test "${enable_autoidman+set}" = set; then :
16081   enableval=$enable_autoidman;
16082                           if test "$enableval" = yes; then
16083                             wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16084                           else
16085                             wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16086                           fi
16087
16088 else
16089
16090                           wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16091
16092 fi
16093
16094
16095           eval "$wx_cv_use_autoidman"
16096
16097           if test x"$enablestring" = xdisable; then
16098             if test $wxUSE_AUTOID_MANAGEMENT = no; then
16099               result=yes
16100             else
16101               result=no
16102             fi
16103           else
16104             result=$wxUSE_AUTOID_MANAGEMENT
16105           fi
16106
16107           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16108 $as_echo "$result" >&6; }
16109
16110
16111 fi
16112
16113
16114 cat >confcache <<\_ACEOF
16115 # This file is a shell script that caches the results of configure
16116 # tests run on this system so they can be shared between configure
16117 # scripts and configure runs, see configure's option --config-cache.
16118 # It is not useful on other systems.  If it contains results you don't
16119 # want to keep, you may remove or edit it.
16120 #
16121 # config.status only pays attention to the cache file if you give it
16122 # the --recheck option to rerun configure.
16123 #
16124 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16125 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16126 # following values.
16127
16128 _ACEOF
16129
16130 # The following way of writing the cache mishandles newlines in values,
16131 # but we know of no workaround that is simple, portable, and efficient.
16132 # So, we kill variables containing newlines.
16133 # Ultrix sh set writes to stderr and can't be redirected directly,
16134 # and sets the high bit in the cache file unless we assign to the vars.
16135 (
16136   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16137     eval ac_val=\$$ac_var
16138     case $ac_val in #(
16139     *${as_nl}*)
16140       case $ac_var in #(
16141       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16142 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16143       esac
16144       case $ac_var in #(
16145       _ | IFS | as_nl) ;; #(
16146       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16147       *) { eval $ac_var=; unset $ac_var;} ;;
16148       esac ;;
16149     esac
16150   done
16151
16152   (set) 2>&1 |
16153     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16154     *${as_nl}ac_space=\ *)
16155       # `set' does not quote correctly, so add quotes: double-quote
16156       # substitution turns \\\\ into \\, and sed turns \\ into \.
16157       sed -n \
16158         "s/'/'\\\\''/g;
16159           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16160       ;; #(
16161     *)
16162       # `set' quotes correctly as required by POSIX, so do not add quotes.
16163       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16164       ;;
16165     esac |
16166     sort
16167 ) |
16168   sed '
16169      /^ac_cv_env_/b end
16170      t clear
16171      :clear
16172      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16173      t end
16174      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16175      :end' >>confcache
16176 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16177   if test -w "$cache_file"; then
16178     if test "x$cache_file" != "x/dev/null"; then
16179       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16180 $as_echo "$as_me: updating cache $cache_file" >&6;}
16181       if test ! -f "$cache_file" || test -h "$cache_file"; then
16182         cat confcache >"$cache_file"
16183       else
16184         case $cache_file in #(
16185         */* | ?:*)
16186           mv -f confcache "$cache_file"$$ &&
16187           mv -f "$cache_file"$$ "$cache_file" ;; #(
16188         *)
16189           mv -f confcache "$cache_file" ;;
16190         esac
16191       fi
16192     fi
16193   else
16194     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16195 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16196   fi
16197 fi
16198 rm -f confcache
16199
16200 CFLAGS=${CFLAGS:=}
16201 ac_ext=c
16202 ac_cpp='$CPP $CPPFLAGS'
16203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16206 if test -n "$ac_tool_prefix"; then
16207   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16208 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16210 $as_echo_n "checking for $ac_word... " >&6; }
16211 if ${ac_cv_prog_CC+:} false; then :
16212   $as_echo_n "(cached) " >&6
16213 else
16214   if test -n "$CC"; then
16215   ac_cv_prog_CC="$CC" # Let the user override the test.
16216 else
16217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16218 for as_dir in $PATH
16219 do
16220   IFS=$as_save_IFS
16221   test -z "$as_dir" && as_dir=.
16222     for ac_exec_ext in '' $ac_executable_extensions; do
16223   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16224     ac_cv_prog_CC="${ac_tool_prefix}gcc"
16225     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16226     break 2
16227   fi
16228 done
16229   done
16230 IFS=$as_save_IFS
16231
16232 fi
16233 fi
16234 CC=$ac_cv_prog_CC
16235 if test -n "$CC"; then
16236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16237 $as_echo "$CC" >&6; }
16238 else
16239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16240 $as_echo "no" >&6; }
16241 fi
16242
16243
16244 fi
16245 if test -z "$ac_cv_prog_CC"; then
16246   ac_ct_CC=$CC
16247   # Extract the first word of "gcc", so it can be a program name with args.
16248 set dummy gcc; ac_word=$2
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16250 $as_echo_n "checking for $ac_word... " >&6; }
16251 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16252   $as_echo_n "(cached) " >&6
16253 else
16254   if test -n "$ac_ct_CC"; then
16255   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16256 else
16257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16258 for as_dir in $PATH
16259 do
16260   IFS=$as_save_IFS
16261   test -z "$as_dir" && as_dir=.
16262     for ac_exec_ext in '' $ac_executable_extensions; do
16263   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16264     ac_cv_prog_ac_ct_CC="gcc"
16265     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16266     break 2
16267   fi
16268 done
16269   done
16270 IFS=$as_save_IFS
16271
16272 fi
16273 fi
16274 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16275 if test -n "$ac_ct_CC"; then
16276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16277 $as_echo "$ac_ct_CC" >&6; }
16278 else
16279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16280 $as_echo "no" >&6; }
16281 fi
16282
16283   if test "x$ac_ct_CC" = x; then
16284     CC=""
16285   else
16286     case $cross_compiling:$ac_tool_warned in
16287 yes:)
16288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16290 ac_tool_warned=yes ;;
16291 esac
16292     CC=$ac_ct_CC
16293   fi
16294 else
16295   CC="$ac_cv_prog_CC"
16296 fi
16297
16298 if test -z "$CC"; then
16299           if test -n "$ac_tool_prefix"; then
16300     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16301 set dummy ${ac_tool_prefix}cc; ac_word=$2
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16303 $as_echo_n "checking for $ac_word... " >&6; }
16304 if ${ac_cv_prog_CC+:} false; then :
16305   $as_echo_n "(cached) " >&6
16306 else
16307   if test -n "$CC"; then
16308   ac_cv_prog_CC="$CC" # Let the user override the test.
16309 else
16310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16311 for as_dir in $PATH
16312 do
16313   IFS=$as_save_IFS
16314   test -z "$as_dir" && as_dir=.
16315     for ac_exec_ext in '' $ac_executable_extensions; do
16316   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16317     ac_cv_prog_CC="${ac_tool_prefix}cc"
16318     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16319     break 2
16320   fi
16321 done
16322   done
16323 IFS=$as_save_IFS
16324
16325 fi
16326 fi
16327 CC=$ac_cv_prog_CC
16328 if test -n "$CC"; then
16329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16330 $as_echo "$CC" >&6; }
16331 else
16332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16333 $as_echo "no" >&6; }
16334 fi
16335
16336
16337   fi
16338 fi
16339 if test -z "$CC"; then
16340   # Extract the first word of "cc", so it can be a program name with args.
16341 set dummy cc; ac_word=$2
16342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16343 $as_echo_n "checking for $ac_word... " >&6; }
16344 if ${ac_cv_prog_CC+:} false; then :
16345   $as_echo_n "(cached) " >&6
16346 else
16347   if test -n "$CC"; then
16348   ac_cv_prog_CC="$CC" # Let the user override the test.
16349 else
16350   ac_prog_rejected=no
16351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16352 for as_dir in $PATH
16353 do
16354   IFS=$as_save_IFS
16355   test -z "$as_dir" && as_dir=.
16356     for ac_exec_ext in '' $ac_executable_extensions; do
16357   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16358     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16359        ac_prog_rejected=yes
16360        continue
16361      fi
16362     ac_cv_prog_CC="cc"
16363     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16364     break 2
16365   fi
16366 done
16367   done
16368 IFS=$as_save_IFS
16369
16370 if test $ac_prog_rejected = yes; then
16371   # We found a bogon in the path, so make sure we never use it.
16372   set dummy $ac_cv_prog_CC
16373   shift
16374   if test $# != 0; then
16375     # We chose a different compiler from the bogus one.
16376     # However, it has the same basename, so the bogon will be chosen
16377     # first if we set CC to just the basename; use the full file name.
16378     shift
16379     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16380   fi
16381 fi
16382 fi
16383 fi
16384 CC=$ac_cv_prog_CC
16385 if test -n "$CC"; then
16386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16387 $as_echo "$CC" >&6; }
16388 else
16389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16390 $as_echo "no" >&6; }
16391 fi
16392
16393
16394 fi
16395 if test -z "$CC"; then
16396   if test -n "$ac_tool_prefix"; then
16397   for ac_prog in cl.exe
16398   do
16399     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16400 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16402 $as_echo_n "checking for $ac_word... " >&6; }
16403 if ${ac_cv_prog_CC+:} false; then :
16404   $as_echo_n "(cached) " >&6
16405 else
16406   if test -n "$CC"; then
16407   ac_cv_prog_CC="$CC" # Let the user override the test.
16408 else
16409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16410 for as_dir in $PATH
16411 do
16412   IFS=$as_save_IFS
16413   test -z "$as_dir" && as_dir=.
16414     for ac_exec_ext in '' $ac_executable_extensions; do
16415   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16416     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16417     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16418     break 2
16419   fi
16420 done
16421   done
16422 IFS=$as_save_IFS
16423
16424 fi
16425 fi
16426 CC=$ac_cv_prog_CC
16427 if test -n "$CC"; then
16428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16429 $as_echo "$CC" >&6; }
16430 else
16431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16432 $as_echo "no" >&6; }
16433 fi
16434
16435
16436     test -n "$CC" && break
16437   done
16438 fi
16439 if test -z "$CC"; then
16440   ac_ct_CC=$CC
16441   for ac_prog in cl.exe
16442 do
16443   # Extract the first word of "$ac_prog", so it can be a program name with args.
16444 set dummy $ac_prog; ac_word=$2
16445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16446 $as_echo_n "checking for $ac_word... " >&6; }
16447 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16448   $as_echo_n "(cached) " >&6
16449 else
16450   if test -n "$ac_ct_CC"; then
16451   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16452 else
16453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16454 for as_dir in $PATH
16455 do
16456   IFS=$as_save_IFS
16457   test -z "$as_dir" && as_dir=.
16458     for ac_exec_ext in '' $ac_executable_extensions; do
16459   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16460     ac_cv_prog_ac_ct_CC="$ac_prog"
16461     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16462     break 2
16463   fi
16464 done
16465   done
16466 IFS=$as_save_IFS
16467
16468 fi
16469 fi
16470 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16471 if test -n "$ac_ct_CC"; then
16472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16473 $as_echo "$ac_ct_CC" >&6; }
16474 else
16475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16476 $as_echo "no" >&6; }
16477 fi
16478
16479
16480   test -n "$ac_ct_CC" && break
16481 done
16482
16483   if test "x$ac_ct_CC" = x; then
16484     CC=""
16485   else
16486     case $cross_compiling:$ac_tool_warned in
16487 yes:)
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16490 ac_tool_warned=yes ;;
16491 esac
16492     CC=$ac_ct_CC
16493   fi
16494 fi
16495
16496 fi
16497
16498
16499 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16501 as_fn_error $? "no acceptable C compiler found in \$PATH
16502 See \`config.log' for more details" "$LINENO" 5; }
16503
16504 # Provide some information about the compiler.
16505 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16506 set X $ac_compile
16507 ac_compiler=$2
16508 for ac_option in --version -v -V -qversion; do
16509   { { ac_try="$ac_compiler $ac_option >&5"
16510 case "(($ac_try" in
16511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16512   *) ac_try_echo=$ac_try;;
16513 esac
16514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16515 $as_echo "$ac_try_echo"; } >&5
16516   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16517   ac_status=$?
16518   if test -s conftest.err; then
16519     sed '10a\
16520 ... rest of stderr output deleted ...
16521          10q' conftest.err >conftest.er1
16522     cat conftest.er1 >&5
16523   fi
16524   rm -f conftest.er1 conftest.err
16525   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16526   test $ac_status = 0; }
16527 done
16528
16529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16530 /* end confdefs.h.  */
16531
16532 int
16533 main ()
16534 {
16535
16536   ;
16537   return 0;
16538 }
16539 _ACEOF
16540 ac_clean_files_save=$ac_clean_files
16541 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16542 # Try to create an executable without -o first, disregard a.out.
16543 # It will help us diagnose broken compilers, and finding out an intuition
16544 # of exeext.
16545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16546 $as_echo_n "checking whether the C compiler works... " >&6; }
16547 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16548
16549 # The possible output files:
16550 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16551
16552 ac_rmfiles=
16553 for ac_file in $ac_files
16554 do
16555   case $ac_file in
16556     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16557     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16558   esac
16559 done
16560 rm -f $ac_rmfiles
16561
16562 if { { ac_try="$ac_link_default"
16563 case "(($ac_try" in
16564   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16565   *) ac_try_echo=$ac_try;;
16566 esac
16567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16568 $as_echo "$ac_try_echo"; } >&5
16569   (eval "$ac_link_default") 2>&5
16570   ac_status=$?
16571   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16572   test $ac_status = 0; }; then :
16573   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16574 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16575 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
16576 # so that the user can short-circuit this test for compilers unknown to
16577 # Autoconf.
16578 for ac_file in $ac_files ''
16579 do
16580   test -f "$ac_file" || continue
16581   case $ac_file in
16582     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16583         ;;
16584     [ab].out )
16585         # We found the default executable, but exeext='' is most
16586         # certainly right.
16587         break;;
16588     *.* )
16589         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16590         then :; else
16591            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16592         fi
16593         # We set ac_cv_exeext here because the later test for it is not
16594         # safe: cross compilers may not add the suffix if given an `-o'
16595         # argument, so we may need to know it at that point already.
16596         # Even if this section looks crufty: it has the advantage of
16597         # actually working.
16598         break;;
16599     * )
16600         break;;
16601   esac
16602 done
16603 test "$ac_cv_exeext" = no && ac_cv_exeext=
16604
16605 else
16606   ac_file=''
16607 fi
16608 if test -z "$ac_file"; then :
16609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16610 $as_echo "no" >&6; }
16611 $as_echo "$as_me: failed program was:" >&5
16612 sed 's/^/| /' conftest.$ac_ext >&5
16613
16614 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16615 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16616 as_fn_error 77 "C compiler cannot create executables
16617 See \`config.log' for more details" "$LINENO" 5; }
16618 else
16619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16620 $as_echo "yes" >&6; }
16621 fi
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16623 $as_echo_n "checking for C compiler default output file name... " >&6; }
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16625 $as_echo "$ac_file" >&6; }
16626 ac_exeext=$ac_cv_exeext
16627
16628 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16629 ac_clean_files=$ac_clean_files_save
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16631 $as_echo_n "checking for suffix of executables... " >&6; }
16632 if { { ac_try="$ac_link"
16633 case "(($ac_try" in
16634   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16635   *) ac_try_echo=$ac_try;;
16636 esac
16637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16638 $as_echo "$ac_try_echo"; } >&5
16639   (eval "$ac_link") 2>&5
16640   ac_status=$?
16641   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16642   test $ac_status = 0; }; then :
16643   # If both `conftest.exe' and `conftest' are `present' (well, observable)
16644 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
16645 # work properly (i.e., refer to `conftest.exe'), while it won't with
16646 # `rm'.
16647 for ac_file in conftest.exe conftest conftest.*; do
16648   test -f "$ac_file" || continue
16649   case $ac_file in
16650     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16651     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16652           break;;
16653     * ) break;;
16654   esac
16655 done
16656 else
16657   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16659 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16660 See \`config.log' for more details" "$LINENO" 5; }
16661 fi
16662 rm -f conftest conftest$ac_cv_exeext
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16664 $as_echo "$ac_cv_exeext" >&6; }
16665
16666 rm -f conftest.$ac_ext
16667 EXEEXT=$ac_cv_exeext
16668 ac_exeext=$EXEEXT
16669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16670 /* end confdefs.h.  */
16671 #include <stdio.h>
16672 int
16673 main ()
16674 {
16675 FILE *f = fopen ("conftest.out", "w");
16676  return ferror (f) || fclose (f) != 0;
16677
16678   ;
16679   return 0;
16680 }
16681 _ACEOF
16682 ac_clean_files="$ac_clean_files conftest.out"
16683 # Check that the compiler produces executables we can run.  If not, either
16684 # the compiler is broken, or we cross compile.
16685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16686 $as_echo_n "checking whether we are cross compiling... " >&6; }
16687 if test "$cross_compiling" != yes; then
16688   { { ac_try="$ac_link"
16689 case "(($ac_try" in
16690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16691   *) ac_try_echo=$ac_try;;
16692 esac
16693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16694 $as_echo "$ac_try_echo"; } >&5
16695   (eval "$ac_link") 2>&5
16696   ac_status=$?
16697   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16698   test $ac_status = 0; }
16699   if { ac_try='./conftest$ac_cv_exeext'
16700   { { case "(($ac_try" in
16701   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16702   *) ac_try_echo=$ac_try;;
16703 esac
16704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16705 $as_echo "$ac_try_echo"; } >&5
16706   (eval "$ac_try") 2>&5
16707   ac_status=$?
16708   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16709   test $ac_status = 0; }; }; then
16710     cross_compiling=no
16711   else
16712     if test "$cross_compiling" = maybe; then
16713         cross_compiling=yes
16714     else
16715         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16717 as_fn_error $? "cannot run C compiled programs.
16718 If you meant to cross compile, use \`--host'.
16719 See \`config.log' for more details" "$LINENO" 5; }
16720     fi
16721   fi
16722 fi
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16724 $as_echo "$cross_compiling" >&6; }
16725
16726 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16727 ac_clean_files=$ac_clean_files_save
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16729 $as_echo_n "checking for suffix of object files... " >&6; }
16730 if ${ac_cv_objext+:} false; then :
16731   $as_echo_n "(cached) " >&6
16732 else
16733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16734 /* end confdefs.h.  */
16735
16736 int
16737 main ()
16738 {
16739
16740   ;
16741   return 0;
16742 }
16743 _ACEOF
16744 rm -f conftest.o conftest.obj
16745 if { { ac_try="$ac_compile"
16746 case "(($ac_try" in
16747   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16748   *) ac_try_echo=$ac_try;;
16749 esac
16750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16751 $as_echo "$ac_try_echo"; } >&5
16752   (eval "$ac_compile") 2>&5
16753   ac_status=$?
16754   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16755   test $ac_status = 0; }; then :
16756   for ac_file in conftest.o conftest.obj conftest.*; do
16757   test -f "$ac_file" || continue;
16758   case $ac_file in
16759     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16760     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16761        break;;
16762   esac
16763 done
16764 else
16765   $as_echo "$as_me: failed program was:" >&5
16766 sed 's/^/| /' conftest.$ac_ext >&5
16767
16768 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16770 as_fn_error $? "cannot compute suffix of object files: cannot compile
16771 See \`config.log' for more details" "$LINENO" 5; }
16772 fi
16773 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16774 fi
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16776 $as_echo "$ac_cv_objext" >&6; }
16777 OBJEXT=$ac_cv_objext
16778 ac_objext=$OBJEXT
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16780 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16781 if ${ac_cv_c_compiler_gnu+:} false; then :
16782   $as_echo_n "(cached) " >&6
16783 else
16784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16785 /* end confdefs.h.  */
16786
16787 int
16788 main ()
16789 {
16790 #ifndef __GNUC__
16791        choke me
16792 #endif
16793
16794   ;
16795   return 0;
16796 }
16797 _ACEOF
16798 if ac_fn_c_try_compile "$LINENO"; then :
16799   ac_compiler_gnu=yes
16800 else
16801   ac_compiler_gnu=no
16802 fi
16803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16804 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16805
16806 fi
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16808 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16809 if test $ac_compiler_gnu = yes; then
16810   GCC=yes
16811 else
16812   GCC=
16813 fi
16814 ac_test_CFLAGS=${CFLAGS+set}
16815 ac_save_CFLAGS=$CFLAGS
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16817 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16818 if ${ac_cv_prog_cc_g+:} false; then :
16819   $as_echo_n "(cached) " >&6
16820 else
16821   ac_save_c_werror_flag=$ac_c_werror_flag
16822    ac_c_werror_flag=yes
16823    ac_cv_prog_cc_g=no
16824    CFLAGS="-g"
16825    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16826 /* end confdefs.h.  */
16827
16828 int
16829 main ()
16830 {
16831
16832   ;
16833   return 0;
16834 }
16835 _ACEOF
16836 if ac_fn_c_try_compile "$LINENO"; then :
16837   ac_cv_prog_cc_g=yes
16838 else
16839   CFLAGS=""
16840       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16841 /* end confdefs.h.  */
16842
16843 int
16844 main ()
16845 {
16846
16847   ;
16848   return 0;
16849 }
16850 _ACEOF
16851 if ac_fn_c_try_compile "$LINENO"; then :
16852
16853 else
16854   ac_c_werror_flag=$ac_save_c_werror_flag
16855          CFLAGS="-g"
16856          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16857 /* end confdefs.h.  */
16858
16859 int
16860 main ()
16861 {
16862
16863   ;
16864   return 0;
16865 }
16866 _ACEOF
16867 if ac_fn_c_try_compile "$LINENO"; then :
16868   ac_cv_prog_cc_g=yes
16869 fi
16870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16871 fi
16872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16873 fi
16874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16875    ac_c_werror_flag=$ac_save_c_werror_flag
16876 fi
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16878 $as_echo "$ac_cv_prog_cc_g" >&6; }
16879 if test "$ac_test_CFLAGS" = set; then
16880   CFLAGS=$ac_save_CFLAGS
16881 elif test $ac_cv_prog_cc_g = yes; then
16882   if test "$GCC" = yes; then
16883     CFLAGS="-g -O2"
16884   else
16885     CFLAGS="-g"
16886   fi
16887 else
16888   if test "$GCC" = yes; then
16889     CFLAGS="-O2"
16890   else
16891     CFLAGS=
16892   fi
16893 fi
16894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16895 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16896 if ${ac_cv_prog_cc_c89+:} false; then :
16897   $as_echo_n "(cached) " >&6
16898 else
16899   ac_cv_prog_cc_c89=no
16900 ac_save_CC=$CC
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h.  */
16903 #include <stdarg.h>
16904 #include <stdio.h>
16905 #include <sys/types.h>
16906 #include <sys/stat.h>
16907 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
16908 struct buf { int x; };
16909 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16910 static char *e (p, i)
16911      char **p;
16912      int i;
16913 {
16914   return p[i];
16915 }
16916 static char *f (char * (*g) (char **, int), char **p, ...)
16917 {
16918   char *s;
16919   va_list v;
16920   va_start (v,p);
16921   s = g (p, va_arg (v,int));
16922   va_end (v);
16923   return s;
16924 }
16925
16926 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
16927    function prototypes and stuff, but not '\xHH' hex character constants.
16928    These don't provoke an error unfortunately, instead are silently treated
16929    as 'x'.  The following induces an error, until -std is added to get
16930    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
16931    array size at least.  It's necessary to write '\x00'==0 to get something
16932    that's true only with -std.  */
16933 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16934
16935 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16936    inside strings and character constants.  */
16937 #define FOO(x) 'x'
16938 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16939
16940 int test (int i, double x);
16941 struct s1 {int (*f) (int a);};
16942 struct s2 {int (*f) (double a);};
16943 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16944 int argc;
16945 char **argv;
16946 int
16947 main ()
16948 {
16949 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
16950   ;
16951   return 0;
16952 }
16953 _ACEOF
16954 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16955         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16956 do
16957   CC="$ac_save_CC $ac_arg"
16958   if ac_fn_c_try_compile "$LINENO"; then :
16959   ac_cv_prog_cc_c89=$ac_arg
16960 fi
16961 rm -f core conftest.err conftest.$ac_objext
16962   test "x$ac_cv_prog_cc_c89" != "xno" && break
16963 done
16964 rm -f conftest.$ac_ext
16965 CC=$ac_save_CC
16966
16967 fi
16968 # AC_CACHE_VAL
16969 case "x$ac_cv_prog_cc_c89" in
16970   x)
16971     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16972 $as_echo "none needed" >&6; } ;;
16973   xno)
16974     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16975 $as_echo "unsupported" >&6; } ;;
16976   *)
16977     CC="$CC $ac_cv_prog_cc_c89"
16978     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16979 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16980 esac
16981 if test "x$ac_cv_prog_cc_c89" != xno; then :
16982
16983 fi
16984
16985 ac_ext=c
16986 ac_cpp='$CPP $CPPFLAGS'
16987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16990
16991
16992
16993
16994
16995
16996
16997
16998     ac_ext=c
16999 ac_cpp='$CPP $CPPFLAGS'
17000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17003
17004     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17005 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17006 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17007   $as_echo_n "(cached) " >&6
17008 else
17009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17010 /* end confdefs.h.  */
17011
17012 int
17013 main ()
17014 {
17015
17016              #ifndef __INTEL_COMPILER
17017                 choke me
17018              #endif
17019
17020   ;
17021   return 0;
17022 }
17023 _ACEOF
17024 if ac_fn_c_try_compile "$LINENO"; then :
17025   bakefile_cv_c_compiler___INTEL_COMPILER=yes
17026 else
17027   bakefile_cv_c_compiler___INTEL_COMPILER=no
17028
17029 fi
17030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17031
17032
17033 fi
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17035 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17036     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17037         :; INTELCC=yes
17038     else
17039         :;
17040     fi
17041     ac_ext=c
17042 ac_cpp='$CPP $CPPFLAGS'
17043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17046
17047
17048
17049
17050         if test "$INTELCC" = "yes"; then
17051
17052
17053     ac_ext=c
17054 ac_cpp='$CPP $CPPFLAGS'
17055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17058
17059     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17060 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17061 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17062   $as_echo_n "(cached) " >&6
17063 else
17064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17065 /* end confdefs.h.  */
17066
17067 int
17068 main ()
17069 {
17070
17071              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17072                 choke me
17073              #endif
17074
17075   ;
17076   return 0;
17077 }
17078 _ACEOF
17079 if ac_fn_c_try_compile "$LINENO"; then :
17080   bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17081 else
17082   bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17083
17084 fi
17085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17086
17087
17088 fi
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17090 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17091     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17092         :; INTELCC8=yes
17093     else
17094         :;
17095     fi
17096     ac_ext=c
17097 ac_cpp='$CPP $CPPFLAGS'
17098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17101
17102
17103
17104
17105
17106     ac_ext=c
17107 ac_cpp='$CPP $CPPFLAGS'
17108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17111
17112     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17113 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17114 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17115   $as_echo_n "(cached) " >&6
17116 else
17117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17118 /* end confdefs.h.  */
17119
17120 int
17121 main ()
17122 {
17123
17124              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17125                 choke me
17126              #endif
17127
17128   ;
17129   return 0;
17130 }
17131 _ACEOF
17132 if ac_fn_c_try_compile "$LINENO"; then :
17133   bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17134 else
17135   bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17136
17137 fi
17138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17139
17140
17141 fi
17142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17143 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17144     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17145         :; INTELCC10=yes
17146     else
17147         :;
17148     fi
17149     ac_ext=c
17150 ac_cpp='$CPP $CPPFLAGS'
17151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17154
17155
17156
17157     fi
17158
17159         if test "x$GCC" != "xyes"; then
17160         if test "xCC" = "xC"; then
17161             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17162 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17163 if ${bakefile_cv_c_exto+:} false; then :
17164   $as_echo_n "(cached) " >&6
17165 else
17166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17167 /* end confdefs.h.  */
17168
17169 int
17170 main ()
17171 {
17172
17173   ;
17174   return 0;
17175 }
17176 _ACEOF
17177 rm -f conftest.$ac_objext conftest.$ac_ext.o
17178 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17179   (eval $ac_compile) 2>&5
17180   ac_status=$?
17181   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17182   test $ac_status = 0; }; then :
17183   for ac_file in `(ls conftest.* 2>/dev/null)`; do
17184     case $ac_file in
17185         conftest.$ac_ext.o)
17186             bakefile_cv_c_exto="-ext o"
17187             ;;
17188         *)
17189             ;;
17190     esac
17191 done
17192 else
17193   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17195 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
17196 See \`config.log' for more details" "$LINENO" 5; }
17197
17198 fi
17199 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17200
17201 fi
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17203 $as_echo "$bakefile_cv_c_exto" >&6; }
17204 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17205     if test "c" = "c"; then
17206         CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17207     fi
17208     if test "c" = "cxx"; then
17209         CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17210     fi
17211 fi
17212
17213             if test "x$bakefile_cv_c_exto" '!=' "x"; then
17214                 unset ac_cv_prog_cc_g
17215                 ac_test_CFLAGS=${CFLAGS+set}
17216 ac_save_CFLAGS=$CFLAGS
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17218 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17219 if ${ac_cv_prog_cc_g+:} false; then :
17220   $as_echo_n "(cached) " >&6
17221 else
17222   ac_save_c_werror_flag=$ac_c_werror_flag
17223    ac_c_werror_flag=yes
17224    ac_cv_prog_cc_g=no
17225    CFLAGS="-g"
17226    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17227 /* end confdefs.h.  */
17228
17229 int
17230 main ()
17231 {
17232
17233   ;
17234   return 0;
17235 }
17236 _ACEOF
17237 if ac_fn_c_try_compile "$LINENO"; then :
17238   ac_cv_prog_cc_g=yes
17239 else
17240   CFLAGS=""
17241       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17242 /* end confdefs.h.  */
17243
17244 int
17245 main ()
17246 {
17247
17248   ;
17249   return 0;
17250 }
17251 _ACEOF
17252 if ac_fn_c_try_compile "$LINENO"; then :
17253
17254 else
17255   ac_c_werror_flag=$ac_save_c_werror_flag
17256          CFLAGS="-g"
17257          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17258 /* end confdefs.h.  */
17259
17260 int
17261 main ()
17262 {
17263
17264   ;
17265   return 0;
17266 }
17267 _ACEOF
17268 if ac_fn_c_try_compile "$LINENO"; then :
17269   ac_cv_prog_cc_g=yes
17270 fi
17271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17272 fi
17273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17274 fi
17275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17276    ac_c_werror_flag=$ac_save_c_werror_flag
17277 fi
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17279 $as_echo "$ac_cv_prog_cc_g" >&6; }
17280 if test "$ac_test_CFLAGS" = set; then
17281   CFLAGS=$ac_save_CFLAGS
17282 elif test $ac_cv_prog_cc_g = yes; then
17283   if test "$GCC" = yes; then
17284     CFLAGS="-g -O2"
17285   else
17286     CFLAGS="-g"
17287   fi
17288 else
17289   if test "$GCC" = yes; then
17290     CFLAGS="-O2"
17291   else
17292     CFLAGS=
17293   fi
17294 fi
17295             fi
17296         fi
17297
17298                         case `uname -s` in
17299             AIX*)
17300
17301
17302     ac_ext=c
17303 ac_cpp='$CPP $CPPFLAGS'
17304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17307
17308     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17309 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17310 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17311   $as_echo_n "(cached) " >&6
17312 else
17313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17314 /* end confdefs.h.  */
17315
17316 int
17317 main ()
17318 {
17319
17320              #ifndef __xlC__
17321                 choke me
17322              #endif
17323
17324   ;
17325   return 0;
17326 }
17327 _ACEOF
17328 if ac_fn_c_try_compile "$LINENO"; then :
17329   bakefile_cv_c_compiler___xlC__=yes
17330 else
17331   bakefile_cv_c_compiler___xlC__=no
17332
17333 fi
17334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17335
17336
17337 fi
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17339 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17340     if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17341         :; XLCC=yes
17342     else
17343         :;
17344     fi
17345     ac_ext=c
17346 ac_cpp='$CPP $CPPFLAGS'
17347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17350
17351
17352
17353                 ;;
17354
17355             Darwin)
17356
17357
17358     ac_ext=c
17359 ac_cpp='$CPP $CPPFLAGS'
17360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17363
17364     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17365 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17366 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17367   $as_echo_n "(cached) " >&6
17368 else
17369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17370 /* end confdefs.h.  */
17371
17372 int
17373 main ()
17374 {
17375
17376              #ifndef __MWERKS__
17377                 choke me
17378              #endif
17379
17380   ;
17381   return 0;
17382 }
17383 _ACEOF
17384 if ac_fn_c_try_compile "$LINENO"; then :
17385   bakefile_cv_c_compiler___MWERKS__=yes
17386 else
17387   bakefile_cv_c_compiler___MWERKS__=no
17388
17389 fi
17390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17391
17392
17393 fi
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17395 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17396     if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17397         :; MWCC=yes
17398     else
17399         :;
17400     fi
17401     ac_ext=c
17402 ac_cpp='$CPP $CPPFLAGS'
17403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17406
17407
17408
17409                 if test "$MWCC" != "yes"; then
17410
17411
17412     ac_ext=c
17413 ac_cpp='$CPP $CPPFLAGS'
17414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17417
17418     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17419 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17420 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17421   $as_echo_n "(cached) " >&6
17422 else
17423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17424 /* end confdefs.h.  */
17425
17426 int
17427 main ()
17428 {
17429
17430              #ifndef __xlC__
17431                 choke me
17432              #endif
17433
17434   ;
17435   return 0;
17436 }
17437 _ACEOF
17438 if ac_fn_c_try_compile "$LINENO"; then :
17439   bakefile_cv_c_compiler___xlC__=yes
17440 else
17441   bakefile_cv_c_compiler___xlC__=no
17442
17443 fi
17444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17445
17446
17447 fi
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17449 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17450     if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17451         :; XLCC=yes
17452     else
17453         :;
17454     fi
17455     ac_ext=c
17456 ac_cpp='$CPP $CPPFLAGS'
17457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17460
17461
17462
17463                 fi
17464                 ;;
17465
17466             IRIX*)
17467
17468
17469     ac_ext=c
17470 ac_cpp='$CPP $CPPFLAGS'
17471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17474
17475     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17476 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17477 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17478   $as_echo_n "(cached) " >&6
17479 else
17480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17481 /* end confdefs.h.  */
17482
17483 int
17484 main ()
17485 {
17486
17487              #ifndef _SGI_COMPILER_VERSION
17488                 choke me
17489              #endif
17490
17491   ;
17492   return 0;
17493 }
17494 _ACEOF
17495 if ac_fn_c_try_compile "$LINENO"; then :
17496   bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17497 else
17498   bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17499
17500 fi
17501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17502
17503
17504 fi
17505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17506 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17507     if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17508         :; SGICC=yes
17509     else
17510         :;
17511     fi
17512     ac_ext=c
17513 ac_cpp='$CPP $CPPFLAGS'
17514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17517
17518
17519
17520                 ;;
17521
17522             Linux*)
17523                                                 if test "$INTELCC" != "yes"; then
17524
17525
17526     ac_ext=c
17527 ac_cpp='$CPP $CPPFLAGS'
17528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17531
17532     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17533 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17534 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17535   $as_echo_n "(cached) " >&6
17536 else
17537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17538 /* end confdefs.h.  */
17539
17540 int
17541 main ()
17542 {
17543
17544              #ifndef __SUNPRO_C
17545                 choke me
17546              #endif
17547
17548   ;
17549   return 0;
17550 }
17551 _ACEOF
17552 if ac_fn_c_try_compile "$LINENO"; then :
17553   bakefile_cv_c_compiler___SUNPRO_C=yes
17554 else
17555   bakefile_cv_c_compiler___SUNPRO_C=no
17556
17557 fi
17558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17559
17560
17561 fi
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17563 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17564     if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17565         :; SUNCC=yes
17566     else
17567         :;
17568     fi
17569     ac_ext=c
17570 ac_cpp='$CPP $CPPFLAGS'
17571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17574
17575
17576
17577                 fi
17578                 ;;
17579
17580             HP-UX*)
17581
17582
17583     ac_ext=c
17584 ac_cpp='$CPP $CPPFLAGS'
17585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17588
17589     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17590 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17591 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17592   $as_echo_n "(cached) " >&6
17593 else
17594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17595 /* end confdefs.h.  */
17596
17597 int
17598 main ()
17599 {
17600
17601              #ifndef __HP_cc
17602                 choke me
17603              #endif
17604
17605   ;
17606   return 0;
17607 }
17608 _ACEOF
17609 if ac_fn_c_try_compile "$LINENO"; then :
17610   bakefile_cv_c_compiler___HP_cc=yes
17611 else
17612   bakefile_cv_c_compiler___HP_cc=no
17613
17614 fi
17615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17616
17617
17618 fi
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17620 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17621     if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17622         :; HPCC=yes
17623     else
17624         :;
17625     fi
17626     ac_ext=c
17627 ac_cpp='$CPP $CPPFLAGS'
17628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17631
17632
17633
17634                 ;;
17635
17636             OSF1)
17637
17638
17639     ac_ext=c
17640 ac_cpp='$CPP $CPPFLAGS'
17641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17644
17645     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17646 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17647 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17648   $as_echo_n "(cached) " >&6
17649 else
17650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17651 /* end confdefs.h.  */
17652
17653 int
17654 main ()
17655 {
17656
17657              #ifndef __DECC
17658                 choke me
17659              #endif
17660
17661   ;
17662   return 0;
17663 }
17664 _ACEOF
17665 if ac_fn_c_try_compile "$LINENO"; then :
17666   bakefile_cv_c_compiler___DECC=yes
17667 else
17668   bakefile_cv_c_compiler___DECC=no
17669
17670 fi
17671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17672
17673
17674 fi
17675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17676 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17677     if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17678         :; COMPAQCC=yes
17679     else
17680         :;
17681     fi
17682     ac_ext=c
17683 ac_cpp='$CPP $CPPFLAGS'
17684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17687
17688
17689
17690                 ;;
17691
17692             SunOS)
17693
17694
17695     ac_ext=c
17696 ac_cpp='$CPP $CPPFLAGS'
17697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17700
17701     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17702 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17703 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17704   $as_echo_n "(cached) " >&6
17705 else
17706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17707 /* end confdefs.h.  */
17708
17709 int
17710 main ()
17711 {
17712
17713              #ifndef __SUNPRO_C
17714                 choke me
17715              #endif
17716
17717   ;
17718   return 0;
17719 }
17720 _ACEOF
17721 if ac_fn_c_try_compile "$LINENO"; then :
17722   bakefile_cv_c_compiler___SUNPRO_C=yes
17723 else
17724   bakefile_cv_c_compiler___SUNPRO_C=no
17725
17726 fi
17727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17728
17729
17730 fi
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17732 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17733     if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17734         :; SUNCC=yes
17735     else
17736         :;
17737     fi
17738     ac_ext=c
17739 ac_cpp='$CPP $CPPFLAGS'
17740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17743
17744
17745
17746                 ;;
17747         esac
17748     fi
17749
17750
17751
17752 ac_ext=c
17753 ac_cpp='$CPP $CPPFLAGS'
17754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17758 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17759 # On Suns, sometimes $CPP names a directory.
17760 if test -n "$CPP" && test -d "$CPP"; then
17761   CPP=
17762 fi
17763 if test -z "$CPP"; then
17764   if ${ac_cv_prog_CPP+:} false; then :
17765   $as_echo_n "(cached) " >&6
17766 else
17767       # Double quotes because CPP needs to be expanded
17768     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17769     do
17770       ac_preproc_ok=false
17771 for ac_c_preproc_warn_flag in '' yes
17772 do
17773   # Use a header file that comes with gcc, so configuring glibc
17774   # with a fresh cross-compiler works.
17775   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17776   # <limits.h> exists even on freestanding compilers.
17777   # On the NeXT, cc -E runs the code through the compiler's parser,
17778   # not just through cpp. "Syntax error" is here to catch this case.
17779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17780 /* end confdefs.h.  */
17781 #ifdef __STDC__
17782 # include <limits.h>
17783 #else
17784 # include <assert.h>
17785 #endif
17786                      Syntax error
17787 _ACEOF
17788 if ac_fn_c_try_cpp "$LINENO"; then :
17789
17790 else
17791   # Broken: fails on valid input.
17792 continue
17793 fi
17794 rm -f conftest.err conftest.i conftest.$ac_ext
17795
17796   # OK, works on sane cases.  Now check whether nonexistent headers
17797   # can be detected and how.
17798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17799 /* end confdefs.h.  */
17800 #include <ac_nonexistent.h>
17801 _ACEOF
17802 if ac_fn_c_try_cpp "$LINENO"; then :
17803   # Broken: success on invalid input.
17804 continue
17805 else
17806   # Passes both tests.
17807 ac_preproc_ok=:
17808 break
17809 fi
17810 rm -f conftest.err conftest.i conftest.$ac_ext
17811
17812 done
17813 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17814 rm -f conftest.i conftest.err conftest.$ac_ext
17815 if $ac_preproc_ok; then :
17816   break
17817 fi
17818
17819     done
17820     ac_cv_prog_CPP=$CPP
17821
17822 fi
17823   CPP=$ac_cv_prog_CPP
17824 else
17825   ac_cv_prog_CPP=$CPP
17826 fi
17827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17828 $as_echo "$CPP" >&6; }
17829 ac_preproc_ok=false
17830 for ac_c_preproc_warn_flag in '' yes
17831 do
17832   # Use a header file that comes with gcc, so configuring glibc
17833   # with a fresh cross-compiler works.
17834   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17835   # <limits.h> exists even on freestanding compilers.
17836   # On the NeXT, cc -E runs the code through the compiler's parser,
17837   # not just through cpp. "Syntax error" is here to catch this case.
17838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17839 /* end confdefs.h.  */
17840 #ifdef __STDC__
17841 # include <limits.h>
17842 #else
17843 # include <assert.h>
17844 #endif
17845                      Syntax error
17846 _ACEOF
17847 if ac_fn_c_try_cpp "$LINENO"; then :
17848
17849 else
17850   # Broken: fails on valid input.
17851 continue
17852 fi
17853 rm -f conftest.err conftest.i conftest.$ac_ext
17854
17855   # OK, works on sane cases.  Now check whether nonexistent headers
17856   # can be detected and how.
17857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17858 /* end confdefs.h.  */
17859 #include <ac_nonexistent.h>
17860 _ACEOF
17861 if ac_fn_c_try_cpp "$LINENO"; then :
17862   # Broken: success on invalid input.
17863 continue
17864 else
17865   # Passes both tests.
17866 ac_preproc_ok=:
17867 break
17868 fi
17869 rm -f conftest.err conftest.i conftest.$ac_ext
17870
17871 done
17872 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17873 rm -f conftest.i conftest.err conftest.$ac_ext
17874 if $ac_preproc_ok; then :
17875
17876 else
17877   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17879 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
17880 See \`config.log' for more details" "$LINENO" 5; }
17881 fi
17882
17883 ac_ext=c
17884 ac_cpp='$CPP $CPPFLAGS'
17885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17888
17889
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
17891 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
17892 if ${ac_cv_path_GREP+:} false; then :
17893   $as_echo_n "(cached) " >&6
17894 else
17895   if test -z "$GREP"; then
17896   ac_path_GREP_found=false
17897   # Loop through the user's path and test for each of PROGNAME-LIST
17898   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17899 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17900 do
17901   IFS=$as_save_IFS
17902   test -z "$as_dir" && as_dir=.
17903     for ac_prog in grep ggrep; do
17904     for ac_exec_ext in '' $ac_executable_extensions; do
17905       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17906       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17907 # Check for GNU ac_path_GREP and select it if it is found.
17908   # Check for GNU $ac_path_GREP
17909 case `"$ac_path_GREP" --version 2>&1` in
17910 *GNU*)
17911   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17912 *)
17913   ac_count=0
17914   $as_echo_n 0123456789 >"conftest.in"
17915   while :
17916   do
17917     cat "conftest.in" "conftest.in" >"conftest.tmp"
17918     mv "conftest.tmp" "conftest.in"
17919     cp "conftest.in" "conftest.nl"
17920     $as_echo 'GREP' >> "conftest.nl"
17921     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17922     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17923     as_fn_arith $ac_count + 1 && ac_count=$as_val
17924     if test $ac_count -gt ${ac_path_GREP_max-0}; then
17925       # Best one so far, save it but keep looking for a better one
17926       ac_cv_path_GREP="$ac_path_GREP"
17927       ac_path_GREP_max=$ac_count
17928     fi
17929     # 10*(2^10) chars as input seems more than enough
17930     test $ac_count -gt 10 && break
17931   done
17932   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17933 esac
17934
17935       $ac_path_GREP_found && break 3
17936     done
17937   done
17938   done
17939 IFS=$as_save_IFS
17940   if test -z "$ac_cv_path_GREP"; then
17941     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
17942   fi
17943 else
17944   ac_cv_path_GREP=$GREP
17945 fi
17946
17947 fi
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
17949 $as_echo "$ac_cv_path_GREP" >&6; }
17950  GREP="$ac_cv_path_GREP"
17951
17952
17953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
17954 $as_echo_n "checking for egrep... " >&6; }
17955 if ${ac_cv_path_EGREP+:} false; then :
17956   $as_echo_n "(cached) " >&6
17957 else
17958   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17959    then ac_cv_path_EGREP="$GREP -E"
17960    else
17961      if test -z "$EGREP"; then
17962   ac_path_EGREP_found=false
17963   # Loop through the user's path and test for each of PROGNAME-LIST
17964   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17965 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17966 do
17967   IFS=$as_save_IFS
17968   test -z "$as_dir" && as_dir=.
17969     for ac_prog in egrep; do
17970     for ac_exec_ext in '' $ac_executable_extensions; do
17971       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17972       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17973 # Check for GNU ac_path_EGREP and select it if it is found.
17974   # Check for GNU $ac_path_EGREP
17975 case `"$ac_path_EGREP" --version 2>&1` in
17976 *GNU*)
17977   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17978 *)
17979   ac_count=0
17980   $as_echo_n 0123456789 >"conftest.in"
17981   while :
17982   do
17983     cat "conftest.in" "conftest.in" >"conftest.tmp"
17984     mv "conftest.tmp" "conftest.in"
17985     cp "conftest.in" "conftest.nl"
17986     $as_echo 'EGREP' >> "conftest.nl"
17987     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17988     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17989     as_fn_arith $ac_count + 1 && ac_count=$as_val
17990     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17991       # Best one so far, save it but keep looking for a better one
17992       ac_cv_path_EGREP="$ac_path_EGREP"
17993       ac_path_EGREP_max=$ac_count
17994     fi
17995     # 10*(2^10) chars as input seems more than enough
17996     test $ac_count -gt 10 && break
17997   done
17998   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17999 esac
18000
18001       $ac_path_EGREP_found && break 3
18002     done
18003   done
18004   done
18005 IFS=$as_save_IFS
18006   if test -z "$ac_cv_path_EGREP"; then
18007     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18008   fi
18009 else
18010   ac_cv_path_EGREP=$EGREP
18011 fi
18012
18013    fi
18014 fi
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18016 $as_echo "$ac_cv_path_EGREP" >&6; }
18017  EGREP="$ac_cv_path_EGREP"
18018
18019
18020 if test $ac_cv_c_compiler_gnu = yes; then
18021     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18022 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18023 if ${ac_cv_prog_gcc_traditional+:} false; then :
18024   $as_echo_n "(cached) " >&6
18025 else
18026     ac_pattern="Autoconf.*'x'"
18027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18028 /* end confdefs.h.  */
18029 #include <sgtty.h>
18030 Autoconf TIOCGETP
18031 _ACEOF
18032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18033   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18034   ac_cv_prog_gcc_traditional=yes
18035 else
18036   ac_cv_prog_gcc_traditional=no
18037 fi
18038 rm -f conftest*
18039
18040
18041   if test $ac_cv_prog_gcc_traditional = no; then
18042     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18043 /* end confdefs.h.  */
18044 #include <termio.h>
18045 Autoconf TCGETA
18046 _ACEOF
18047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18048   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18049   ac_cv_prog_gcc_traditional=yes
18050 fi
18051 rm -f conftest*
18052
18053   fi
18054 fi
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18056 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18057   if test $ac_cv_prog_gcc_traditional = yes; then
18058     CC="$CC -traditional"
18059   fi
18060 fi
18061
18062
18063 CXXFLAGS=${CXXFLAGS:=}
18064 ac_ext=cpp
18065 ac_cpp='$CXXCPP $CPPFLAGS'
18066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18069 if test -z "$CXX"; then
18070   if test -n "$CCC"; then
18071     CXX=$CCC
18072   else
18073     if test -n "$ac_tool_prefix"; then
18074   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18075   do
18076     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18077 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18079 $as_echo_n "checking for $ac_word... " >&6; }
18080 if ${ac_cv_prog_CXX+:} false; then :
18081   $as_echo_n "(cached) " >&6
18082 else
18083   if test -n "$CXX"; then
18084   ac_cv_prog_CXX="$CXX" # Let the user override the test.
18085 else
18086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18087 for as_dir in $PATH
18088 do
18089   IFS=$as_save_IFS
18090   test -z "$as_dir" && as_dir=.
18091     for ac_exec_ext in '' $ac_executable_extensions; do
18092   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18093     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18094     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18095     break 2
18096   fi
18097 done
18098   done
18099 IFS=$as_save_IFS
18100
18101 fi
18102 fi
18103 CXX=$ac_cv_prog_CXX
18104 if test -n "$CXX"; then
18105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18106 $as_echo "$CXX" >&6; }
18107 else
18108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18109 $as_echo "no" >&6; }
18110 fi
18111
18112
18113     test -n "$CXX" && break
18114   done
18115 fi
18116 if test -z "$CXX"; then
18117   ac_ct_CXX=$CXX
18118   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18119 do
18120   # Extract the first word of "$ac_prog", so it can be a program name with args.
18121 set dummy $ac_prog; ac_word=$2
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18123 $as_echo_n "checking for $ac_word... " >&6; }
18124 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
18125   $as_echo_n "(cached) " >&6
18126 else
18127   if test -n "$ac_ct_CXX"; then
18128   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18129 else
18130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18131 for as_dir in $PATH
18132 do
18133   IFS=$as_save_IFS
18134   test -z "$as_dir" && as_dir=.
18135     for ac_exec_ext in '' $ac_executable_extensions; do
18136   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18137     ac_cv_prog_ac_ct_CXX="$ac_prog"
18138     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18139     break 2
18140   fi
18141 done
18142   done
18143 IFS=$as_save_IFS
18144
18145 fi
18146 fi
18147 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18148 if test -n "$ac_ct_CXX"; then
18149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18150 $as_echo "$ac_ct_CXX" >&6; }
18151 else
18152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18153 $as_echo "no" >&6; }
18154 fi
18155
18156
18157   test -n "$ac_ct_CXX" && break
18158 done
18159
18160   if test "x$ac_ct_CXX" = x; then
18161     CXX="g++"
18162   else
18163     case $cross_compiling:$ac_tool_warned in
18164 yes:)
18165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18167 ac_tool_warned=yes ;;
18168 esac
18169     CXX=$ac_ct_CXX
18170   fi
18171 fi
18172
18173   fi
18174 fi
18175 # Provide some information about the compiler.
18176 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18177 set X $ac_compile
18178 ac_compiler=$2
18179 for ac_option in --version -v -V -qversion; do
18180   { { ac_try="$ac_compiler $ac_option >&5"
18181 case "(($ac_try" in
18182   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18183   *) ac_try_echo=$ac_try;;
18184 esac
18185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18186 $as_echo "$ac_try_echo"; } >&5
18187   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18188   ac_status=$?
18189   if test -s conftest.err; then
18190     sed '10a\
18191 ... rest of stderr output deleted ...
18192          10q' conftest.err >conftest.er1
18193     cat conftest.er1 >&5
18194   fi
18195   rm -f conftest.er1 conftest.err
18196   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18197   test $ac_status = 0; }
18198 done
18199
18200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18201 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18202 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18203   $as_echo_n "(cached) " >&6
18204 else
18205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18206 /* end confdefs.h.  */
18207
18208 int
18209 main ()
18210 {
18211 #ifndef __GNUC__
18212        choke me
18213 #endif
18214
18215   ;
18216   return 0;
18217 }
18218 _ACEOF
18219 if ac_fn_cxx_try_compile "$LINENO"; then :
18220   ac_compiler_gnu=yes
18221 else
18222   ac_compiler_gnu=no
18223 fi
18224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18225 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18226
18227 fi
18228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18229 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18230 if test $ac_compiler_gnu = yes; then
18231   GXX=yes
18232 else
18233   GXX=
18234 fi
18235 ac_test_CXXFLAGS=${CXXFLAGS+set}
18236 ac_save_CXXFLAGS=$CXXFLAGS
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18238 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18239 if ${ac_cv_prog_cxx_g+:} false; then :
18240   $as_echo_n "(cached) " >&6
18241 else
18242   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18243    ac_cxx_werror_flag=yes
18244    ac_cv_prog_cxx_g=no
18245    CXXFLAGS="-g"
18246    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18247 /* end confdefs.h.  */
18248
18249 int
18250 main ()
18251 {
18252
18253   ;
18254   return 0;
18255 }
18256 _ACEOF
18257 if ac_fn_cxx_try_compile "$LINENO"; then :
18258   ac_cv_prog_cxx_g=yes
18259 else
18260   CXXFLAGS=""
18261       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18262 /* end confdefs.h.  */
18263
18264 int
18265 main ()
18266 {
18267
18268   ;
18269   return 0;
18270 }
18271 _ACEOF
18272 if ac_fn_cxx_try_compile "$LINENO"; then :
18273
18274 else
18275   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18276          CXXFLAGS="-g"
18277          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18278 /* end confdefs.h.  */
18279
18280 int
18281 main ()
18282 {
18283
18284   ;
18285   return 0;
18286 }
18287 _ACEOF
18288 if ac_fn_cxx_try_compile "$LINENO"; then :
18289   ac_cv_prog_cxx_g=yes
18290 fi
18291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18292 fi
18293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18294 fi
18295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18296    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18297 fi
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18299 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18300 if test "$ac_test_CXXFLAGS" = set; then
18301   CXXFLAGS=$ac_save_CXXFLAGS
18302 elif test $ac_cv_prog_cxx_g = yes; then
18303   if test "$GXX" = yes; then
18304     CXXFLAGS="-g -O2"
18305   else
18306     CXXFLAGS="-g"
18307   fi
18308 else
18309   if test "$GXX" = yes; then
18310     CXXFLAGS="-O2"
18311   else
18312     CXXFLAGS=
18313   fi
18314 fi
18315 ac_ext=c
18316 ac_cpp='$CPP $CPPFLAGS'
18317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18320
18321
18322
18323
18324
18325
18326
18327
18328     ac_ext=cpp
18329 ac_cpp='$CXXCPP $CPPFLAGS'
18330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18333
18334     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18335 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18336 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18337   $as_echo_n "(cached) " >&6
18338 else
18339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18340 /* end confdefs.h.  */
18341
18342 int
18343 main ()
18344 {
18345
18346              #ifndef __INTEL_COMPILER
18347                 choke me
18348              #endif
18349
18350   ;
18351   return 0;
18352 }
18353 _ACEOF
18354 if ac_fn_cxx_try_compile "$LINENO"; then :
18355   bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18356 else
18357   bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18358
18359 fi
18360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18361
18362
18363 fi
18364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18365 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18366     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18367         :; INTELCXX=yes
18368     else
18369         :;
18370     fi
18371     ac_ext=c
18372 ac_cpp='$CPP $CPPFLAGS'
18373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18376
18377
18378
18379
18380         if test "$INTELCXX" = "yes"; then
18381
18382
18383     ac_ext=cpp
18384 ac_cpp='$CXXCPP $CPPFLAGS'
18385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18388
18389     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18390 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18391 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18392   $as_echo_n "(cached) " >&6
18393 else
18394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18395 /* end confdefs.h.  */
18396
18397 int
18398 main ()
18399 {
18400
18401              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18402                 choke me
18403              #endif
18404
18405   ;
18406   return 0;
18407 }
18408 _ACEOF
18409 if ac_fn_cxx_try_compile "$LINENO"; then :
18410   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18411 else
18412   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18413
18414 fi
18415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18416
18417
18418 fi
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18420 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18421     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18422         :; INTELCXX8=yes
18423     else
18424         :;
18425     fi
18426     ac_ext=c
18427 ac_cpp='$CPP $CPPFLAGS'
18428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18431
18432
18433
18434
18435
18436     ac_ext=cpp
18437 ac_cpp='$CXXCPP $CPPFLAGS'
18438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18441
18442     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18443 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18444 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18445   $as_echo_n "(cached) " >&6
18446 else
18447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18448 /* end confdefs.h.  */
18449
18450 int
18451 main ()
18452 {
18453
18454              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18455                 choke me
18456              #endif
18457
18458   ;
18459   return 0;
18460 }
18461 _ACEOF
18462 if ac_fn_cxx_try_compile "$LINENO"; then :
18463   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18464 else
18465   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18466
18467 fi
18468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18469
18470
18471 fi
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18473 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18474     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18475         :; INTELCXX10=yes
18476     else
18477         :;
18478     fi
18479     ac_ext=c
18480 ac_cpp='$CPP $CPPFLAGS'
18481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18484
18485
18486
18487     fi
18488
18489         if test "x$GCXX" != "xyes"; then
18490         if test "xCXX" = "xC"; then
18491             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18492 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18493 if ${bakefile_cv_c_exto+:} false; then :
18494   $as_echo_n "(cached) " >&6
18495 else
18496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18497 /* end confdefs.h.  */
18498
18499 int
18500 main ()
18501 {
18502
18503   ;
18504   return 0;
18505 }
18506 _ACEOF
18507 rm -f conftest.$ac_objext conftest.$ac_ext.o
18508 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18509   (eval $ac_compile) 2>&5
18510   ac_status=$?
18511   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18512   test $ac_status = 0; }; then :
18513   for ac_file in `(ls conftest.* 2>/dev/null)`; do
18514     case $ac_file in
18515         conftest.$ac_ext.o)
18516             bakefile_cv_c_exto="-ext o"
18517             ;;
18518         *)
18519             ;;
18520     esac
18521 done
18522 else
18523   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18525 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
18526 See \`config.log' for more details" "$LINENO" 5; }
18527
18528 fi
18529 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18530
18531 fi
18532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18533 $as_echo "$bakefile_cv_c_exto" >&6; }
18534 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18535     if test "c" = "c"; then
18536         CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18537     fi
18538     if test "c" = "cxx"; then
18539         CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18540     fi
18541 fi
18542
18543             if test "x$bakefile_cv_c_exto" '!=' "x"; then
18544                 unset ac_cv_prog_cc_g
18545                 ac_test_CFLAGS=${CFLAGS+set}
18546 ac_save_CFLAGS=$CFLAGS
18547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18548 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18549 if ${ac_cv_prog_cc_g+:} false; then :
18550   $as_echo_n "(cached) " >&6
18551 else
18552   ac_save_c_werror_flag=$ac_c_werror_flag
18553    ac_c_werror_flag=yes
18554    ac_cv_prog_cc_g=no
18555    CFLAGS="-g"
18556    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18557 /* end confdefs.h.  */
18558
18559 int
18560 main ()
18561 {
18562
18563   ;
18564   return 0;
18565 }
18566 _ACEOF
18567 if ac_fn_c_try_compile "$LINENO"; then :
18568   ac_cv_prog_cc_g=yes
18569 else
18570   CFLAGS=""
18571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18572 /* end confdefs.h.  */
18573
18574 int
18575 main ()
18576 {
18577
18578   ;
18579   return 0;
18580 }
18581 _ACEOF
18582 if ac_fn_c_try_compile "$LINENO"; then :
18583
18584 else
18585   ac_c_werror_flag=$ac_save_c_werror_flag
18586          CFLAGS="-g"
18587          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18588 /* end confdefs.h.  */
18589
18590 int
18591 main ()
18592 {
18593
18594   ;
18595   return 0;
18596 }
18597 _ACEOF
18598 if ac_fn_c_try_compile "$LINENO"; then :
18599   ac_cv_prog_cc_g=yes
18600 fi
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18602 fi
18603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18604 fi
18605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18606    ac_c_werror_flag=$ac_save_c_werror_flag
18607 fi
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18609 $as_echo "$ac_cv_prog_cc_g" >&6; }
18610 if test "$ac_test_CFLAGS" = set; then
18611   CFLAGS=$ac_save_CFLAGS
18612 elif test $ac_cv_prog_cc_g = yes; then
18613   if test "$GCC" = yes; then
18614     CFLAGS="-g -O2"
18615   else
18616     CFLAGS="-g"
18617   fi
18618 else
18619   if test "$GCC" = yes; then
18620     CFLAGS="-O2"
18621   else
18622     CFLAGS=
18623   fi
18624 fi
18625             fi
18626         fi
18627
18628                         case `uname -s` in
18629             AIX*)
18630
18631
18632     ac_ext=cpp
18633 ac_cpp='$CXXCPP $CPPFLAGS'
18634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18637
18638     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18639 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18640 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18641   $as_echo_n "(cached) " >&6
18642 else
18643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18644 /* end confdefs.h.  */
18645
18646 int
18647 main ()
18648 {
18649
18650              #ifndef __xlC__
18651                 choke me
18652              #endif
18653
18654   ;
18655   return 0;
18656 }
18657 _ACEOF
18658 if ac_fn_cxx_try_compile "$LINENO"; then :
18659   bakefile_cv_cxx_compiler___xlC__=yes
18660 else
18661   bakefile_cv_cxx_compiler___xlC__=no
18662
18663 fi
18664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18665
18666
18667 fi
18668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18669 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18670     if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18671         :; XLCXX=yes
18672     else
18673         :;
18674     fi
18675     ac_ext=c
18676 ac_cpp='$CPP $CPPFLAGS'
18677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18680
18681
18682
18683                 ;;
18684
18685             Darwin)
18686
18687
18688     ac_ext=cpp
18689 ac_cpp='$CXXCPP $CPPFLAGS'
18690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18693
18694     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18695 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18696 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18697   $as_echo_n "(cached) " >&6
18698 else
18699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18700 /* end confdefs.h.  */
18701
18702 int
18703 main ()
18704 {
18705
18706              #ifndef __MWERKS__
18707                 choke me
18708              #endif
18709
18710   ;
18711   return 0;
18712 }
18713 _ACEOF
18714 if ac_fn_cxx_try_compile "$LINENO"; then :
18715   bakefile_cv_cxx_compiler___MWERKS__=yes
18716 else
18717   bakefile_cv_cxx_compiler___MWERKS__=no
18718
18719 fi
18720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18721
18722
18723 fi
18724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18725 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18726     if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18727         :; MWCXX=yes
18728     else
18729         :;
18730     fi
18731     ac_ext=c
18732 ac_cpp='$CPP $CPPFLAGS'
18733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18736
18737
18738
18739                 if test "$MWCXX" != "yes"; then
18740
18741
18742     ac_ext=cpp
18743 ac_cpp='$CXXCPP $CPPFLAGS'
18744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18747
18748     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18749 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18750 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18751   $as_echo_n "(cached) " >&6
18752 else
18753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18754 /* end confdefs.h.  */
18755
18756 int
18757 main ()
18758 {
18759
18760              #ifndef __xlC__
18761                 choke me
18762              #endif
18763
18764   ;
18765   return 0;
18766 }
18767 _ACEOF
18768 if ac_fn_cxx_try_compile "$LINENO"; then :
18769   bakefile_cv_cxx_compiler___xlC__=yes
18770 else
18771   bakefile_cv_cxx_compiler___xlC__=no
18772
18773 fi
18774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18775
18776
18777 fi
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18779 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18780     if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18781         :; XLCXX=yes
18782     else
18783         :;
18784     fi
18785     ac_ext=c
18786 ac_cpp='$CPP $CPPFLAGS'
18787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18790
18791
18792
18793                 fi
18794                 ;;
18795
18796             IRIX*)
18797
18798
18799     ac_ext=cpp
18800 ac_cpp='$CXXCPP $CPPFLAGS'
18801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18804
18805     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18806 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18807 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
18808   $as_echo_n "(cached) " >&6
18809 else
18810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18811 /* end confdefs.h.  */
18812
18813 int
18814 main ()
18815 {
18816
18817              #ifndef _SGI_COMPILER_VERSION
18818                 choke me
18819              #endif
18820
18821   ;
18822   return 0;
18823 }
18824 _ACEOF
18825 if ac_fn_cxx_try_compile "$LINENO"; then :
18826   bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18827 else
18828   bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18829
18830 fi
18831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18832
18833
18834 fi
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18836 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18837     if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18838         :; SGICXX=yes
18839     else
18840         :;
18841     fi
18842     ac_ext=c
18843 ac_cpp='$CPP $CPPFLAGS'
18844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18847
18848
18849
18850                 ;;
18851
18852             Linux*)
18853                                                 if test "$INTELCXX" != "yes"; then
18854
18855
18856     ac_ext=cpp
18857 ac_cpp='$CXXCPP $CPPFLAGS'
18858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18861
18862     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
18863 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18864 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
18865   $as_echo_n "(cached) " >&6
18866 else
18867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18868 /* end confdefs.h.  */
18869
18870 int
18871 main ()
18872 {
18873
18874              #ifndef __SUNPRO_CC
18875                 choke me
18876              #endif
18877
18878   ;
18879   return 0;
18880 }
18881 _ACEOF
18882 if ac_fn_cxx_try_compile "$LINENO"; then :
18883   bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18884 else
18885   bakefile_cv_cxx_compiler___SUNPRO_CC=no
18886
18887 fi
18888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18889
18890
18891 fi
18892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18893 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18894     if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18895         :; SUNCXX=yes
18896     else
18897         :;
18898     fi
18899     ac_ext=c
18900 ac_cpp='$CPP $CPPFLAGS'
18901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18904
18905
18906
18907                 fi
18908                 ;;
18909
18910             HP-UX*)
18911
18912
18913     ac_ext=cpp
18914 ac_cpp='$CXXCPP $CPPFLAGS'
18915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18918
18919     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
18920 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
18921 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
18922   $as_echo_n "(cached) " >&6
18923 else
18924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18925 /* end confdefs.h.  */
18926
18927 int
18928 main ()
18929 {
18930
18931              #ifndef __HP_aCC
18932                 choke me
18933              #endif
18934
18935   ;
18936   return 0;
18937 }
18938 _ACEOF
18939 if ac_fn_cxx_try_compile "$LINENO"; then :
18940   bakefile_cv_cxx_compiler___HP_aCC=yes
18941 else
18942   bakefile_cv_cxx_compiler___HP_aCC=no
18943
18944 fi
18945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18946
18947
18948 fi
18949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18950 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18951     if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18952         :; HPCXX=yes
18953     else
18954         :;
18955     fi
18956     ac_ext=c
18957 ac_cpp='$CPP $CPPFLAGS'
18958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18961
18962
18963
18964                 ;;
18965
18966             OSF1)
18967
18968
18969     ac_ext=cpp
18970 ac_cpp='$CXXCPP $CPPFLAGS'
18971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18974
18975     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
18976 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
18977 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
18978   $as_echo_n "(cached) " >&6
18979 else
18980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18981 /* end confdefs.h.  */
18982
18983 int
18984 main ()
18985 {
18986
18987              #ifndef __DECCXX
18988                 choke me
18989              #endif
18990
18991   ;
18992   return 0;
18993 }
18994 _ACEOF
18995 if ac_fn_cxx_try_compile "$LINENO"; then :
18996   bakefile_cv_cxx_compiler___DECCXX=yes
18997 else
18998   bakefile_cv_cxx_compiler___DECCXX=no
18999
19000 fi
19001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19002
19003
19004 fi
19005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19006 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19007     if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19008         :; COMPAQCXX=yes
19009     else
19010         :;
19011     fi
19012     ac_ext=c
19013 ac_cpp='$CPP $CPPFLAGS'
19014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19017
19018
19019
19020                 ;;
19021
19022             SunOS)
19023
19024
19025     ac_ext=cpp
19026 ac_cpp='$CXXCPP $CPPFLAGS'
19027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19030
19031     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19032 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19033 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19034   $as_echo_n "(cached) " >&6
19035 else
19036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19037 /* end confdefs.h.  */
19038
19039 int
19040 main ()
19041 {
19042
19043              #ifndef __SUNPRO_CC
19044                 choke me
19045              #endif
19046
19047   ;
19048   return 0;
19049 }
19050 _ACEOF
19051 if ac_fn_cxx_try_compile "$LINENO"; then :
19052   bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19053 else
19054   bakefile_cv_cxx_compiler___SUNPRO_CC=no
19055
19056 fi
19057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19058
19059
19060 fi
19061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19062 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19063     if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19064         :; SUNCXX=yes
19065     else
19066         :;
19067     fi
19068     ac_ext=c
19069 ac_cpp='$CPP $CPPFLAGS'
19070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19073
19074
19075
19076                 ;;
19077         esac
19078     fi
19079
19080
19081
19082 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19083     as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19084 fi
19085
19086 if test "x$SUNCXX" != xyes; then
19087     if test -n "$ac_tool_prefix"; then
19088   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19089 set dummy ${ac_tool_prefix}ar; ac_word=$2
19090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19091 $as_echo_n "checking for $ac_word... " >&6; }
19092 if ${ac_cv_prog_AR+:} false; then :
19093   $as_echo_n "(cached) " >&6
19094 else
19095   if test -n "$AR"; then
19096   ac_cv_prog_AR="$AR" # Let the user override the test.
19097 else
19098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19099 for as_dir in $PATH
19100 do
19101   IFS=$as_save_IFS
19102   test -z "$as_dir" && as_dir=.
19103     for ac_exec_ext in '' $ac_executable_extensions; do
19104   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19105     ac_cv_prog_AR="${ac_tool_prefix}ar"
19106     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19107     break 2
19108   fi
19109 done
19110   done
19111 IFS=$as_save_IFS
19112
19113 fi
19114 fi
19115 AR=$ac_cv_prog_AR
19116 if test -n "$AR"; then
19117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19118 $as_echo "$AR" >&6; }
19119 else
19120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19121 $as_echo "no" >&6; }
19122 fi
19123
19124
19125 fi
19126 if test -z "$ac_cv_prog_AR"; then
19127   ac_ct_AR=$AR
19128   # Extract the first word of "ar", so it can be a program name with args.
19129 set dummy ar; ac_word=$2
19130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19131 $as_echo_n "checking for $ac_word... " >&6; }
19132 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19133   $as_echo_n "(cached) " >&6
19134 else
19135   if test -n "$ac_ct_AR"; then
19136   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19137 else
19138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19139 for as_dir in $PATH
19140 do
19141   IFS=$as_save_IFS
19142   test -z "$as_dir" && as_dir=.
19143     for ac_exec_ext in '' $ac_executable_extensions; do
19144   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19145     ac_cv_prog_ac_ct_AR="ar"
19146     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19147     break 2
19148   fi
19149 done
19150   done
19151 IFS=$as_save_IFS
19152
19153 fi
19154 fi
19155 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19156 if test -n "$ac_ct_AR"; then
19157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19158 $as_echo "$ac_ct_AR" >&6; }
19159 else
19160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19161 $as_echo "no" >&6; }
19162 fi
19163
19164   if test "x$ac_ct_AR" = x; then
19165     AR=""
19166   else
19167     case $cross_compiling:$ac_tool_warned in
19168 yes:)
19169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19171 ac_tool_warned=yes ;;
19172 esac
19173     AR=$ac_ct_AR
19174   fi
19175 else
19176   AR="$ac_cv_prog_AR"
19177 fi
19178
19179     if test "x$AR" = "x" ; then
19180         as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19181     fi
19182 fi
19183
19184
19185 if test "$wxUSE_MAC" = 1; then
19186
19187 retest_macosx_linking=no
19188
19189 OSX_ARCH_OPTS=""
19190
19191 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19192     if test "x$wxUSE_MAC_ARCH" != xno; then
19193         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19194 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19195     fi
19196
19197     if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19198         OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19199     else         OSX_ARCH_OPTS="ppc,i386"
19200         if test "$wxUSE_OSX_COCOA" = 1; then
19201             OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19202         fi
19203     fi
19204
19205     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19206 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19207     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19208 $as_echo "$OSX_ARCH_OPTS" >&6; }
19209
19210                                                         retest_macosx_linking=yes
19211 else
19212     if test "x$wxUSE_MAC_ARCH" != xno; then
19213         OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19214     fi
19215 fi
19216
19217 if test "x$OSX_ARCH_OPTS" != "x"; then
19218         if echo $OSX_ARCH_OPTS | grep -q ","; then
19219         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19220 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19221         disable_macosx_deps=yes
19222
19223                                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19224 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19225         bk_use_pch=no
19226     fi
19227
19228     OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19229
19230     CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19231     CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19232     OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19233     OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19234     LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19235 fi
19236
19237 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19238     wxUSE_MACOSX_SDK=
19239 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19240     # TODO: Search for most recent SDK and use it.
19241     wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19242 fi
19243
19244
19245 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19246     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19247 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19248     if ! test -d "$wxUSE_MACOSX_SDK"; then
19249         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19251 as_fn_error $? "not found
19252 See \`config.log' for more details" "$LINENO" 5; }
19253     else
19254         { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19255 $as_echo "exists" >&6; }
19256     fi
19257         MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19258     retest_macosx_linking=yes
19259             fi
19260
19261 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19262     wxUSE_MACOSX_VERSION_MIN=
19263 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19264     if test "x$wxUSE_MACOSX_SDK" != "x"; then
19265         { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19266 $as_echo_n "checking SDK deployment version... " >&6; }
19267
19268         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/'`
19269
19270         # If that failed, try again with the new key
19271         if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19272
19273             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/'`
19274
19275         fi
19276
19277         if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19278             wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19279             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19280 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19281         else
19282             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19283 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19284             wxUSE_MACOSX_VERSION_MIN=
19285         fi
19286     else
19287         wxUSE_MACOSX_VERSION_MIN=
19288     fi
19289 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19290     wxUSE_MACOSX_VERSION_MIN=10.5
19291 fi
19292
19293 if test "x$MACOSX_SDK_OPTS" != "x"; then
19294     eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19295     eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19296     eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19297     retest_macosx_linking=yes
19298 fi
19299
19300 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19301     if test "$wxUSE_OSX_IPHONE" = 1; then
19302         MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19303     else
19304         MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19305     fi
19306     eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19307     eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19308     eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19309     retest_macosx_linking=yes
19310 fi
19311
19312 if test "x$retest_macosx_linking" = "xyes"; then
19313     ac_ext=c
19314 ac_cpp='$CPP $CPPFLAGS'
19315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19318
19319     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19320 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19321     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19322 /* end confdefs.h.  */
19323
19324 int
19325 main ()
19326 {
19327
19328   ;
19329   return 0;
19330 }
19331 _ACEOF
19332 if ac_fn_c_try_link "$LINENO"; then :
19333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19334 $as_echo "yes" >&6; }
19335 else
19336   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19338 as_fn_error $? "no.  Try a different SDK
19339 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19340 fi
19341 rm -f core conftest.err conftest.$ac_objext \
19342     conftest$ac_exeext conftest.$ac_ext
19343     ac_ext=c
19344 ac_cpp='$CPP $CPPFLAGS'
19345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19348
19349
19350     ac_ext=cpp
19351 ac_cpp='$CXXCPP $CPPFLAGS'
19352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19355
19356     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19357 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19358     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19359 /* end confdefs.h.  */
19360
19361 int
19362 main ()
19363 {
19364
19365   ;
19366   return 0;
19367 }
19368 _ACEOF
19369 if ac_fn_cxx_try_link "$LINENO"; then :
19370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19371 $as_echo "yes" >&6; }
19372 else
19373   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19375 as_fn_error $? "no.  Try a different SDK
19376 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19377 fi
19378 rm -f core conftest.err conftest.$ac_objext \
19379     conftest$ac_exeext conftest.$ac_ext
19380     ac_ext=c
19381 ac_cpp='$CPP $CPPFLAGS'
19382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19385
19386 fi
19387
19388 fi
19389 case "${host}" in
19390
19391                 *-*-darwin* )
19392         INSTALL_PROGRAM="cp -fp"
19393         INSTALL_DATA="cp -fp"
19394         ;;
19395     *)
19396         ;;
19397 esac
19398
19399
19400 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19401                     $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19402
19403
19404             GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19405     CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19406 fi
19407
19408 if test "x$USE_AIX" = "x1"; then
19409             if test "x$XLCXX" = "xyes"; then
19410         CXXFLAGS="-qunique $CXXFLAGS"
19411     fi
19412
19413                                 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19414 fi
19415
19416 case "${host}" in
19417   powerpc-*-darwin* )
19418     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19419 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19420     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19421 /* end confdefs.h.  */
19422
19423 int
19424 main ()
19425 {
19426 #ifndef __POWERPC__
19427         choke me for lack of PowerPC
19428 #endif
19429
19430   ;
19431   return 0;
19432 }
19433 _ACEOF
19434 if ac_fn_c_try_compile "$LINENO"; then :
19435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19436 $as_echo "yes" >&6; }
19437 else
19438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19439 $as_echo "no" >&6; }
19440         $as_echo "#define __POWERPC__ 1" >>confdefs.h
19441
19442
19443 fi
19444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19445   ;;
19446 esac
19447
19448 case "${host}" in
19449   *-*-darwin* )
19450     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19451 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19452     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19453 /* end confdefs.h.  */
19454 #include <CoreFoundation/CFBase.h>
19455
19456 int
19457 main ()
19458 {
19459
19460   ;
19461   return 0;
19462 }
19463 _ACEOF
19464 if ac_fn_c_try_compile "$LINENO"; then :
19465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19466 $as_echo "yes" >&6; }
19467 else
19468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19469 $as_echo "no" >&6; }
19470         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19471 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19472         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19473 /* end confdefs.h.  */
19474 #define __CF_USE_FRAMEWORK_INCLUDES__
19475 #include <CoreFoundation/CFBase.h>
19476
19477 int
19478 main ()
19479 {
19480
19481   ;
19482   return 0;
19483 }
19484 _ACEOF
19485 if ac_fn_c_try_compile "$LINENO"; then :
19486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19487 $as_echo "yes" >&6; }
19488                         CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19489 else
19490   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19492 as_fn_error $? "no.  CoreFoundation not available.
19493 See \`config.log' for more details" "$LINENO" 5; }
19494
19495 fi
19496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19497
19498
19499 fi
19500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19501   ;;
19502 esac
19503
19504 wants_win32=0
19505 doesnt_want_win32=0
19506 case "${host}" in
19507   *-*-cygwin*)
19508       if test "$wxUSE_MSW" = 1 ; then
19509         wants_win32=1
19510       else
19511                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19512 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19513 if ${wx_cv_nocygwin+:} false; then :
19514   $as_echo_n "(cached) " >&6
19515 else
19516
19517                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19518 /* end confdefs.h.  */
19519
19520 int
19521 main ()
19522 {
19523
19524                         #ifdef __MINGW32__
19525                             choke me
19526                         #endif
19527
19528   ;
19529   return 0;
19530 }
19531 _ACEOF
19532 if ac_fn_c_try_compile "$LINENO"; then :
19533   wx_cv_nocygwin=no
19534 else
19535   wx_cv_nocygwin=yes
19536
19537 fi
19538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19539
19540
19541 fi
19542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19543 $as_echo "$wx_cv_nocygwin" >&6; }
19544
19545         if test "$wx_cv_nocygwin" = "yes"; then
19546             wants_win32=1
19547         else
19548             doesnt_want_win32=1
19549         fi
19550       fi
19551       if test "$wants_win32" = 1 ; then
19552         BAKEFILE_FORCE_PLATFORM=win32
19553       fi
19554   ;;
19555   *-*-mingw*)
19556       wants_win32=1
19557   ;;
19558 esac
19559
19560 if test "$wxUSE_WINE" = "yes"; then
19561     wants_win32=1
19562     LDFLAGS_GUI="-mwindows"
19563 fi
19564
19565 if test "$wants_win32" = 1 ; then
19566     USE_UNIX=0
19567     USE_WIN32=1
19568     $as_echo "#define __WIN32__ 1" >>confdefs.h
19569
19570     $as_echo "#define __WIN95__ 1" >>confdefs.h
19571
19572     $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19573
19574     $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19575
19576     $as_echo "#define STRICT 1" >>confdefs.h
19577
19578 fi
19579 if test "$doesnt_want_win32" = 1 ; then
19580     USE_UNIX=1
19581     USE_WIN32=0
19582 fi
19583
19584 if test "$USE_UNIX" = 1 ; then
19585     wxUSE_UNIX=yes
19586     $as_echo "#define __UNIX__ 1" >>confdefs.h
19587
19588 fi
19589
19590 case "${host}" in
19591   *-pc-os2_emx | *-pc-os2-emx )
19592                                                       if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19593                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19594 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19595 if ${ac_cv_lib_cExt_drand48+:} false; then :
19596   $as_echo_n "(cached) " >&6
19597 else
19598   ac_check_lib_save_LIBS=$LIBS
19599 LIBS="-lcExt  $LIBS"
19600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19601 /* end confdefs.h.  */
19602
19603 /* Override any GCC internal prototype to avoid an error.
19604    Use char because int might match the return type of a GCC
19605    builtin and then its argument prototype would still apply.  */
19606 #ifdef __cplusplus
19607 extern "C"
19608 #endif
19609 char drand48 ();
19610 int
19611 main ()
19612 {
19613 return drand48 ();
19614   ;
19615   return 0;
19616 }
19617 _ACEOF
19618 if ac_fn_c_try_link "$LINENO"; then :
19619   ac_cv_lib_cExt_drand48=yes
19620 else
19621   ac_cv_lib_cExt_drand48=no
19622 fi
19623 rm -f core conftest.err conftest.$ac_objext \
19624     conftest$ac_exeext conftest.$ac_ext
19625 LIBS=$ac_check_lib_save_LIBS
19626 fi
19627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19628 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19629 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19630   LIBS="$LIBS -lcExt"
19631 fi
19632
19633       else
19634                     RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19635       fi
19636                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19637 $as_echo_n "checking for gcc/libc version... " >&6; }
19638 if ${wx_cv_gccversion+:} false; then :
19639   $as_echo_n "(cached) " >&6
19640 else
19641
19642           if test "$cross_compiling" = yes; then :
19643                 wx_cv_gccversion="EMX2"
19644
19645 else
19646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19647 /* end confdefs.h.  */
19648
19649                   #include <stdio.h>
19650
19651                   int main()
19652                   {
19653                       FILE *f=fopen("conftestval", "w");
19654                       if (!f) exit(1);
19655                       fprintf(f,
19656                   #if (__GNUC__ < 3)
19657                               "EMX2"
19658                   #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19659                               "EMX3"
19660                   #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19661                               "Innotek5"
19662                   #else
19663                               "Innotek6"
19664                   #endif
19665                       );
19666                       exit(0);
19667                   }
19668
19669 _ACEOF
19670 if ac_fn_c_try_run "$LINENO"; then :
19671   wx_cv_gccversion=`cat conftestval`
19672 else
19673   wx_cv_gccversion="EMX2"
19674 fi
19675 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19676   conftest.$ac_objext conftest.beam conftest.$ac_ext
19677 fi
19678
19679
19680 fi
19681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19682 $as_echo "$wx_cv_gccversion" >&6; }
19683       if test "$wx_cv_gccversion" = "EMX2"; then
19684           LIBS="$LIBS -lstdcpp"
19685           LDFLAGS="$LDFLAGS -Zsysv-signals"
19686       else
19687           if test "$wx_cv_gccversion" = "EMX3"; then
19688               LIBS="$LIBS -lstdcxx -lgcc"
19689               LDFLAGS="$LDFLAGS -Zsysv-signals"
19690           else
19691               LIBS="$LIBS -lstdc++"
19692           fi
19693       fi
19694       if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19695         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19696 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19697         wxUSE_OMF=yes
19698         enable_omf=yes
19699       fi
19700         ;;
19701   *)
19702
19703       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19704 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19705 if ${ac_cv_string_strcasecmp+:} false; then :
19706   $as_echo_n "(cached) " >&6
19707 else
19708
19709           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19710 /* end confdefs.h.  */
19711
19712               #include <string.h>
19713
19714 int
19715 main ()
19716 {
19717
19718                   strcasecmp("foo", "bar");
19719
19720   ;
19721   return 0;
19722 }
19723 _ACEOF
19724 if ac_fn_c_try_link "$LINENO"; then :
19725   ac_cv_string_strcasecmp=yes
19726 else
19727   ac_cv_string_strcasecmp=no
19728
19729 fi
19730 rm -f core conftest.err conftest.$ac_objext \
19731     conftest$ac_exeext conftest.$ac_ext
19732
19733 fi
19734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19735 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19736
19737       if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19738           $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19739
19740       else
19741           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19742 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19743 if ${ac_cv_strings_strcasecmp+:} false; then :
19744   $as_echo_n "(cached) " >&6
19745 else
19746
19747               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19748 /* end confdefs.h.  */
19749
19750                   #include <strings.h>
19751
19752 int
19753 main ()
19754 {
19755
19756                       strcasecmp("foo", "bar");
19757
19758   ;
19759   return 0;
19760 }
19761 _ACEOF
19762 if ac_fn_c_try_link "$LINENO"; then :
19763   ac_cv_strings_strcasecmp=yes
19764 else
19765   ac_cv_strings_strcasecmp=no
19766
19767 fi
19768 rm -f core conftest.err conftest.$ac_objext \
19769     conftest$ac_exeext conftest.$ac_ext
19770
19771 fi
19772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19773 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19774
19775           if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19776               $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19777
19778           else
19779               as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19780           fi
19781       fi
19782
19783         ;;
19784 esac
19785
19786
19787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19788 $as_echo_n "checking for ANSI C header files... " >&6; }
19789 if ${ac_cv_header_stdc+:} false; then :
19790   $as_echo_n "(cached) " >&6
19791 else
19792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19793 /* end confdefs.h.  */
19794 #include <stdlib.h>
19795 #include <stdarg.h>
19796 #include <string.h>
19797 #include <float.h>
19798
19799 int
19800 main ()
19801 {
19802
19803   ;
19804   return 0;
19805 }
19806 _ACEOF
19807 if ac_fn_c_try_compile "$LINENO"; then :
19808   ac_cv_header_stdc=yes
19809 else
19810   ac_cv_header_stdc=no
19811 fi
19812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19813
19814 if test $ac_cv_header_stdc = yes; then
19815   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19817 /* end confdefs.h.  */
19818 #include <string.h>
19819
19820 _ACEOF
19821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19822   $EGREP "memchr" >/dev/null 2>&1; then :
19823
19824 else
19825   ac_cv_header_stdc=no
19826 fi
19827 rm -f conftest*
19828
19829 fi
19830
19831 if test $ac_cv_header_stdc = yes; then
19832   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19834 /* end confdefs.h.  */
19835 #include <stdlib.h>
19836
19837 _ACEOF
19838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19839   $EGREP "free" >/dev/null 2>&1; then :
19840
19841 else
19842   ac_cv_header_stdc=no
19843 fi
19844 rm -f conftest*
19845
19846 fi
19847
19848 if test $ac_cv_header_stdc = yes; then
19849   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19850   if test "$cross_compiling" = yes; then :
19851   :
19852 else
19853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19854 /* end confdefs.h.  */
19855 #include <ctype.h>
19856 #include <stdlib.h>
19857 #if ((' ' & 0x0FF) == 0x020)
19858 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19859 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19860 #else
19861 # define ISLOWER(c) \
19862                    (('a' <= (c) && (c) <= 'i') \
19863                      || ('j' <= (c) && (c) <= 'r') \
19864                      || ('s' <= (c) && (c) <= 'z'))
19865 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19866 #endif
19867
19868 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19869 int
19870 main ()
19871 {
19872   int i;
19873   for (i = 0; i < 256; i++)
19874     if (XOR (islower (i), ISLOWER (i))
19875         || toupper (i) != TOUPPER (i))
19876       return 2;
19877   return 0;
19878 }
19879 _ACEOF
19880 if ac_fn_c_try_run "$LINENO"; then :
19881
19882 else
19883   ac_cv_header_stdc=no
19884 fi
19885 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19886   conftest.$ac_objext conftest.beam conftest.$ac_ext
19887 fi
19888
19889 fi
19890 fi
19891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19892 $as_echo "$ac_cv_header_stdc" >&6; }
19893 if test $ac_cv_header_stdc = yes; then
19894
19895 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19896
19897 fi
19898
19899 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19900 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19901                   inttypes.h stdint.h unistd.h
19902 do :
19903   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19904 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19905 "
19906 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19907   cat >>confdefs.h <<_ACEOF
19908 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19909 _ACEOF
19910
19911 fi
19912
19913 done
19914
19915
19916 for ac_header in langinfo.h wchar.h
19917 do :
19918   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19919 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19920 "
19921 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19922   cat >>confdefs.h <<_ACEOF
19923 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19924 _ACEOF
19925
19926 fi
19927
19928 done
19929
19930
19931 if test "$ac_cv_header_wchar_h" != "yes"; then
19932     for ac_header in wcstr.h
19933 do :
19934   ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
19935 "
19936 if test "x$ac_cv_header_wcstr_h" = xyes; then :
19937   cat >>confdefs.h <<_ACEOF
19938 #define HAVE_WCSTR_H 1
19939 _ACEOF
19940
19941 fi
19942
19943 done
19944
19945 fi
19946
19947 case "${host}" in
19948   *-pc-os2_emx | *-pc-os2-emx )
19949                   if test $ac_cv_header_langinfo_h = "yes" \
19950                 -a \(   "$wx_cv_gccversion" = "EMX2" \
19951                      -o "$wx_cv_gccversion" = "EMX3" \
19952                      -o "$wx_cv_gccversion" = "Innotek5" \); then
19953           LIBS="$LIBS -lintl"
19954       fi
19955   ;;
19956 esac
19957
19958 if test "$USE_UNIX" = 1 ; then
19959     for ac_header in sys/select.h
19960 do :
19961   ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
19962 "
19963 if test "x$ac_cv_header_sys_select_h" = xyes; then :
19964   cat >>confdefs.h <<_ACEOF
19965 #define HAVE_SYS_SELECT_H 1
19966 _ACEOF
19967
19968 fi
19969
19970 done
19971
19972 fi
19973
19974
19975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
19976 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
19977 if ${ac_cv_c_const+:} false; then :
19978   $as_echo_n "(cached) " >&6
19979 else
19980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19981 /* end confdefs.h.  */
19982
19983 int
19984 main ()
19985 {
19986 /* FIXME: Include the comments suggested by Paul. */
19987 #ifndef __cplusplus
19988   /* Ultrix mips cc rejects this.  */
19989   typedef int charset[2];
19990   const charset cs;
19991   /* SunOS 4.1.1 cc rejects this.  */
19992   char const *const *pcpcc;
19993   char **ppc;
19994   /* NEC SVR4.0.2 mips cc rejects this.  */
19995   struct point {int x, y;};
19996   static struct point const zero = {0,0};
19997   /* AIX XL C 1.02.0.0 rejects this.
19998      It does not let you subtract one const X* pointer from another in
19999      an arm of an if-expression whose if-part is not a constant
20000      expression */
20001   const char *g = "string";
20002   pcpcc = &g + (g ? g-g : 0);
20003   /* HPUX 7.0 cc rejects these. */
20004   ++pcpcc;
20005   ppc = (char**) pcpcc;
20006   pcpcc = (char const *const *) ppc;
20007   { /* SCO 3.2v4 cc rejects this.  */
20008     char *t;
20009     char const *s = 0 ? (char *) 0 : (char const *) 0;
20010
20011     *t++ = 0;
20012     if (s) return 0;
20013   }
20014   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
20015     int x[] = {25, 17};
20016     const int *foo = &x[0];
20017     ++foo;
20018   }
20019   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20020     typedef const int *iptr;
20021     iptr p = 0;
20022     ++p;
20023   }
20024   { /* AIX XL C 1.02.0.0 rejects this saying
20025        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20026     struct s { int j; const int *ap[3]; };
20027     struct s *b; b->j = 5;
20028   }
20029   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20030     const int foo = 10;
20031     if (!foo) return 0;
20032   }
20033   return !cs[0] && !zero.x;
20034 #endif
20035
20036   ;
20037   return 0;
20038 }
20039 _ACEOF
20040 if ac_fn_c_try_compile "$LINENO"; then :
20041   ac_cv_c_const=yes
20042 else
20043   ac_cv_c_const=no
20044 fi
20045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20046 fi
20047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20048 $as_echo "$ac_cv_c_const" >&6; }
20049 if test $ac_cv_c_const = no; then
20050
20051 $as_echo "#define const /**/" >>confdefs.h
20052
20053 fi
20054
20055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20056 $as_echo_n "checking for inline... " >&6; }
20057 if ${ac_cv_c_inline+:} false; then :
20058   $as_echo_n "(cached) " >&6
20059 else
20060   ac_cv_c_inline=no
20061 for ac_kw in inline __inline__ __inline; do
20062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20063 /* end confdefs.h.  */
20064 #ifndef __cplusplus
20065 typedef int foo_t;
20066 static $ac_kw foo_t static_foo () {return 0; }
20067 $ac_kw foo_t foo () {return 0; }
20068 #endif
20069
20070 _ACEOF
20071 if ac_fn_c_try_compile "$LINENO"; then :
20072   ac_cv_c_inline=$ac_kw
20073 fi
20074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20075   test "$ac_cv_c_inline" != no && break
20076 done
20077
20078 fi
20079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20080 $as_echo "$ac_cv_c_inline" >&6; }
20081
20082 case $ac_cv_c_inline in
20083   inline | yes) ;;
20084   *)
20085     case $ac_cv_c_inline in
20086       no) ac_val=;;
20087       *) ac_val=$ac_cv_c_inline;;
20088     esac
20089     cat >>confdefs.h <<_ACEOF
20090 #ifndef __cplusplus
20091 #define inline $ac_val
20092 #endif
20093 _ACEOF
20094     ;;
20095 esac
20096
20097
20098 # The cast to long int works around a bug in the HP C Compiler
20099 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20100 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20101 # This bug is HP SR number 8606223364.
20102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20103 $as_echo_n "checking size of short... " >&6; }
20104 if ${ac_cv_sizeof_short+:} false; then :
20105   $as_echo_n "(cached) " >&6
20106 else
20107   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
20108
20109 else
20110   if test "$ac_cv_type_short" = yes; then
20111      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20113 as_fn_error 77 "cannot compute sizeof (short)
20114 See \`config.log' for more details" "$LINENO" 5; }
20115    else
20116      ac_cv_sizeof_short=0
20117    fi
20118 fi
20119
20120 fi
20121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20122 $as_echo "$ac_cv_sizeof_short" >&6; }
20123
20124
20125
20126 cat >>confdefs.h <<_ACEOF
20127 #define SIZEOF_SHORT $ac_cv_sizeof_short
20128 _ACEOF
20129
20130
20131 # The cast to long int works around a bug in the HP C Compiler
20132 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20133 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20134 # This bug is HP SR number 8606223364.
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20136 $as_echo_n "checking size of void *... " >&6; }
20137 if ${ac_cv_sizeof_void_p+:} false; then :
20138   $as_echo_n "(cached) " >&6
20139 else
20140   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
20141
20142 else
20143   if test "$ac_cv_type_void_p" = yes; then
20144      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20146 as_fn_error 77 "cannot compute sizeof (void *)
20147 See \`config.log' for more details" "$LINENO" 5; }
20148    else
20149      ac_cv_sizeof_void_p=0
20150    fi
20151 fi
20152
20153 fi
20154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20155 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20156
20157
20158
20159 cat >>confdefs.h <<_ACEOF
20160 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20161 _ACEOF
20162
20163
20164 # The cast to long int works around a bug in the HP C Compiler
20165 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20166 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20167 # This bug is HP SR number 8606223364.
20168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20169 $as_echo_n "checking size of int... " >&6; }
20170 if ${ac_cv_sizeof_int+:} false; then :
20171   $as_echo_n "(cached) " >&6
20172 else
20173   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
20174
20175 else
20176   if test "$ac_cv_type_int" = yes; then
20177      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20179 as_fn_error 77 "cannot compute sizeof (int)
20180 See \`config.log' for more details" "$LINENO" 5; }
20181    else
20182      ac_cv_sizeof_int=0
20183    fi
20184 fi
20185
20186 fi
20187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20188 $as_echo "$ac_cv_sizeof_int" >&6; }
20189
20190
20191
20192 cat >>confdefs.h <<_ACEOF
20193 #define SIZEOF_INT $ac_cv_sizeof_int
20194 _ACEOF
20195
20196
20197 # The cast to long int works around a bug in the HP C Compiler
20198 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20199 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20200 # This bug is HP SR number 8606223364.
20201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20202 $as_echo_n "checking size of long... " >&6; }
20203 if ${ac_cv_sizeof_long+:} false; then :
20204   $as_echo_n "(cached) " >&6
20205 else
20206   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
20207
20208 else
20209   if test "$ac_cv_type_long" = yes; then
20210      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20212 as_fn_error 77 "cannot compute sizeof (long)
20213 See \`config.log' for more details" "$LINENO" 5; }
20214    else
20215      ac_cv_sizeof_long=0
20216    fi
20217 fi
20218
20219 fi
20220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20221 $as_echo "$ac_cv_sizeof_long" >&6; }
20222
20223
20224
20225 cat >>confdefs.h <<_ACEOF
20226 #define SIZEOF_LONG $ac_cv_sizeof_long
20227 _ACEOF
20228
20229
20230 # The cast to long int works around a bug in the HP C Compiler
20231 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20232 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20233 # This bug is HP SR number 8606223364.
20234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20235 $as_echo_n "checking size of size_t... " >&6; }
20236 if ${ac_cv_sizeof_size_t+:} false; then :
20237   $as_echo_n "(cached) " >&6
20238 else
20239   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
20240
20241 else
20242   if test "$ac_cv_type_size_t" = yes; then
20243      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20245 as_fn_error 77 "cannot compute sizeof (size_t)
20246 See \`config.log' for more details" "$LINENO" 5; }
20247    else
20248      ac_cv_sizeof_size_t=0
20249    fi
20250 fi
20251
20252 fi
20253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20254 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20255
20256
20257
20258 cat >>confdefs.h <<_ACEOF
20259 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20260 _ACEOF
20261
20262
20263
20264 case "${host}" in
20265     arm-*-linux* )
20266         # The cast to long int works around a bug in the HP C Compiler
20267 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20268 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20269 # This bug is HP SR number 8606223364.
20270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20271 $as_echo_n "checking size of long long... " >&6; }
20272 if ${ac_cv_sizeof_long_long+:} false; then :
20273   $as_echo_n "(cached) " >&6
20274 else
20275   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20276
20277 else
20278   if test "$ac_cv_type_long_long" = yes; then
20279      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20281 as_fn_error 77 "cannot compute sizeof (long long)
20282 See \`config.log' for more details" "$LINENO" 5; }
20283    else
20284      ac_cv_sizeof_long_long=0
20285    fi
20286 fi
20287
20288 fi
20289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20290 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20291
20292
20293
20294 cat >>confdefs.h <<_ACEOF
20295 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20296 _ACEOF
20297
20298
20299     ;;
20300     *-hp-hpux* )
20301         # The cast to long int works around a bug in the HP C Compiler
20302 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20303 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20304 # This bug is HP SR number 8606223364.
20305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20306 $as_echo_n "checking size of long long... " >&6; }
20307 if ${ac_cv_sizeof_long_long+:} false; then :
20308   $as_echo_n "(cached) " >&6
20309 else
20310   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20311
20312 else
20313   if test "$ac_cv_type_long_long" = yes; then
20314      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20316 as_fn_error 77 "cannot compute sizeof (long long)
20317 See \`config.log' for more details" "$LINENO" 5; }
20318    else
20319      ac_cv_sizeof_long_long=0
20320    fi
20321 fi
20322
20323 fi
20324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20325 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20326
20327
20328
20329 cat >>confdefs.h <<_ACEOF
20330 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20331 _ACEOF
20332
20333
20334         if test "$ac_cv_sizeof_long_long" != 0; then
20335                         CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20336         fi
20337     ;;
20338     * )
20339         # The cast to long int works around a bug in the HP C Compiler
20340 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20341 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20342 # This bug is HP SR number 8606223364.
20343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20344 $as_echo_n "checking size of long long... " >&6; }
20345 if ${ac_cv_sizeof_long_long+:} false; then :
20346   $as_echo_n "(cached) " >&6
20347 else
20348   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20349
20350 else
20351   if test "$ac_cv_type_long_long" = yes; then
20352      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20354 as_fn_error 77 "cannot compute sizeof (long long)
20355 See \`config.log' for more details" "$LINENO" 5; }
20356    else
20357      ac_cv_sizeof_long_long=0
20358    fi
20359 fi
20360
20361 fi
20362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20363 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20364
20365
20366
20367 cat >>confdefs.h <<_ACEOF
20368 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20369 _ACEOF
20370
20371
20372 esac
20373
20374 # The cast to long int works around a bug in the HP C Compiler
20375 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20376 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20377 # This bug is HP SR number 8606223364.
20378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20379 $as_echo_n "checking size of wchar_t... " >&6; }
20380 if ${ac_cv_sizeof_wchar_t+:} false; then :
20381   $as_echo_n "(cached) " >&6
20382 else
20383   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t"        "
20384         /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20385         #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20386         #  error \"fake wchar_t\"
20387         #endif
20388         #ifdef HAVE_WCHAR_H
20389         #  ifdef __CYGWIN__
20390         #    include <stddef.h>
20391         #  endif
20392         #  include <wchar.h>
20393         #endif
20394         #ifdef HAVE_STDLIB_H
20395         #  include <stdlib.h>
20396         #endif
20397         #include <stdio.h>
20398
20399
20400 "; then :
20401
20402 else
20403   if test "$ac_cv_type_wchar_t" = yes; then
20404      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20406 as_fn_error 77 "cannot compute sizeof (wchar_t)
20407 See \`config.log' for more details" "$LINENO" 5; }
20408    else
20409      ac_cv_sizeof_wchar_t=0
20410    fi
20411 fi
20412
20413 fi
20414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20415 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20416
20417
20418
20419 cat >>confdefs.h <<_ACEOF
20420 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20421 _ACEOF
20422
20423
20424 if test "$ac_cv_sizeof_wchar_t" = 0; then
20425     as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
20426 fi
20427 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20428
20429
20430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20431 $as_echo_n "checking for va_copy... " >&6; }
20432 if ${wx_cv_func_va_copy+:} false; then :
20433   $as_echo_n "(cached) " >&6
20434 else
20435
20436         ac_ext=cpp
20437 ac_cpp='$CXXCPP $CPPFLAGS'
20438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20441
20442         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20443 /* end confdefs.h.  */
20444
20445
20446                 #include <stdarg.h>
20447                 void foo(char *f, ...)
20448                 {
20449                     va_list ap1, ap2;
20450                     va_start(ap1, f);
20451                     va_copy(ap2, ap1);
20452                     va_end(ap2);
20453                     va_end(ap1);
20454                 }
20455                 int main()
20456                 {
20457                     foo("hi", 17);
20458                     return 0;
20459                 }
20460
20461 _ACEOF
20462 if ac_fn_cxx_try_link "$LINENO"; then :
20463   wx_cv_func_va_copy=yes
20464 else
20465   wx_cv_func_va_copy=no
20466
20467 fi
20468 rm -f core conftest.err conftest.$ac_objext \
20469     conftest$ac_exeext conftest.$ac_ext
20470         ac_ext=c
20471 ac_cpp='$CPP $CPPFLAGS'
20472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20475
20476
20477
20478 fi
20479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20480 $as_echo "$wx_cv_func_va_copy" >&6; }
20481
20482 if test $wx_cv_func_va_copy = "yes"; then
20483     $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20484
20485 else
20486         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20487 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20488 if ${wx_cv_type_va_list_lvalue+:} false; then :
20489   $as_echo_n "(cached) " >&6
20490 else
20491
20492             if test "$cross_compiling" = yes; then :
20493                   wx_cv_type_va_list_lvalue=yes
20494
20495 else
20496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20497 /* end confdefs.h.  */
20498
20499
20500                     #include <stdarg.h>
20501                     int foo(char *f, ...)
20502                     {
20503                         va_list ap1, ap2;
20504                         va_start(ap1, f);
20505                         ap2 = ap1;
20506                         if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20507                             return 1;
20508                         va_end(ap2);
20509                         va_end(ap1);
20510                         return 0;
20511                     }
20512                     int main()
20513                     {
20514                         return foo("hi", 17);
20515                     }
20516
20517 _ACEOF
20518 if ac_fn_c_try_run "$LINENO"; then :
20519   wx_cv_type_va_list_lvalue=yes
20520 else
20521   wx_cv_type_va_list_lvalue=no
20522 fi
20523 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20524   conftest.$ac_objext conftest.beam conftest.$ac_ext
20525 fi
20526
20527
20528
20529 fi
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20531 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20532
20533     if test $wx_cv_type_va_list_lvalue != "yes"; then
20534                         $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20535
20536     fi
20537 fi
20538
20539 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20540
20541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20542 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20543 if ${wx_cv_have_variadic_macros+:} false; then :
20544   $as_echo_n "(cached) " >&6
20545 else
20546
20547                         ac_ext=cpp
20548 ac_cpp='$CXXCPP $CPPFLAGS'
20549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20552
20553         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20554 /* end confdefs.h.  */
20555
20556
20557                     #include <stdio.h>
20558                     #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20559
20560 int
20561 main ()
20562 {
20563
20564                     test("%s %d %p", "test", 1, 0);
20565
20566
20567   ;
20568   return 0;
20569 }
20570 _ACEOF
20571 if ac_fn_cxx_try_compile "$LINENO"; then :
20572   wx_cv_have_variadic_macros=yes
20573 else
20574   wx_cv_have_variadic_macros=no
20575
20576 fi
20577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20578         ac_ext=c
20579 ac_cpp='$CPP $CPPFLAGS'
20580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20583
20584
20585
20586 fi
20587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20588 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20589
20590 if test $wx_cv_have_variadic_macros = "yes"; then
20591     $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20592
20593 fi
20594
20595 fi
20596
20597 LARGEFILE_CPPFLAGS=
20598 # Check whether --enable-largefile was given.
20599 if test "${enable_largefile+set}" = set; then :
20600   enableval=$enable_largefile;
20601 fi
20602
20603 if test "$enable_largefile" != no; then
20604             wx_largefile=no
20605
20606     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20607 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20608 if ${ac_cv_sys_file_offset_bits+:} false; then :
20609   $as_echo_n "(cached) " >&6
20610 else
20611
20612           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20613 /* end confdefs.h.  */
20614 #define _FILE_OFFSET_BITS 64
20615                           #include <sys/types.h>
20616 int
20617 main ()
20618 {
20619 typedef struct {
20620     unsigned int field: sizeof(off_t) == 8;
20621 } wxlf;
20622
20623   ;
20624   return 0;
20625 }
20626 _ACEOF
20627 if ac_fn_c_try_compile "$LINENO"; then :
20628   ac_cv_sys_file_offset_bits=64
20629 else
20630   ac_cv_sys_file_offset_bits=no
20631 fi
20632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20633
20634
20635 fi
20636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20637 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20638
20639     if test "$ac_cv_sys_file_offset_bits" != no; then
20640         wx_largefile=yes
20641         cat >>confdefs.h <<_ACEOF
20642 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20643 _ACEOF
20644
20645     fi
20646
20647     if test "x$wx_largefile" != "xyes"; then
20648
20649     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20650 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20651 if ${ac_cv_sys_large_files+:} false; then :
20652   $as_echo_n "(cached) " >&6
20653 else
20654
20655           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20656 /* end confdefs.h.  */
20657 #define _LARGE_FILES 1
20658                           #include <sys/types.h>
20659 int
20660 main ()
20661 {
20662 typedef struct {
20663     unsigned int field: sizeof(off_t) == 8;
20664 } wxlf;
20665
20666   ;
20667   return 0;
20668 }
20669 _ACEOF
20670 if ac_fn_c_try_compile "$LINENO"; then :
20671   ac_cv_sys_large_files=1
20672 else
20673   ac_cv_sys_large_files=no
20674 fi
20675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20676
20677
20678 fi
20679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20680 $as_echo "$ac_cv_sys_large_files" >&6; }
20681
20682     if test "$ac_cv_sys_large_files" != no; then
20683         wx_largefile=yes
20684         cat >>confdefs.h <<_ACEOF
20685 #define _LARGE_FILES $ac_cv_sys_large_files
20686 _ACEOF
20687
20688     fi
20689
20690     fi
20691
20692     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20693 $as_echo_n "checking if large file support is available... " >&6; }
20694     if test "x$wx_largefile" = "xyes"; then
20695         $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20696
20697     fi
20698     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20699 $as_echo "$wx_largefile" >&6; }
20700 fi
20701
20702 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20703     LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
20704 elif test "$ac_cv_sys_large_files" = 1; then
20705     LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
20706 fi
20707
20708 if test -n "$LARGEFILE_CPPFLAGS"; then
20709     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20710
20711                             if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20712         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20713 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20714 if ${wx_cv_STDC_EXT_required+:} false; then :
20715   $as_echo_n "(cached) " >&6
20716 else
20717
20718                 ac_ext=cpp
20719 ac_cpp='$CXXCPP $CPPFLAGS'
20720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20723
20724                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20725 /* end confdefs.h.  */
20726
20727 int
20728 main ()
20729 {
20730
20731                         #ifndef __STDC_EXT__
20732                             choke me
20733                         #endif
20734
20735   ;
20736   return 0;
20737 }
20738 _ACEOF
20739 if ac_fn_cxx_try_compile "$LINENO"; then :
20740   wx_cv_STDC_EXT_required=no
20741 else
20742   wx_cv_STDC_EXT_required=yes
20743
20744 fi
20745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20746                 ac_ext=c
20747 ac_cpp='$CPP $CPPFLAGS'
20748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20751
20752
20753
20754 fi
20755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20756 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20757         if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20758             WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20759         fi
20760     fi
20761 fi
20762
20763 ac_ext=cpp
20764 ac_cpp='$CXXCPP $CPPFLAGS'
20765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20768
20769 old_CPPFLAGS="$CPPFLAGS"
20770 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20772 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20773 if ${ac_cv_sys_largefile_source+:} false; then :
20774   $as_echo_n "(cached) " >&6
20775 else
20776   while :; do
20777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20778 /* end confdefs.h.  */
20779 #include <sys/types.h> /* for off_t */
20780      #include <stdio.h>
20781 int
20782 main ()
20783 {
20784 int (*fp) (FILE *, off_t, int) = fseeko;
20785      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20786   ;
20787   return 0;
20788 }
20789 _ACEOF
20790 if ac_fn_cxx_try_link "$LINENO"; then :
20791   ac_cv_sys_largefile_source=no; break
20792 fi
20793 rm -f core conftest.err conftest.$ac_objext \
20794     conftest$ac_exeext conftest.$ac_ext
20795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20796 /* end confdefs.h.  */
20797 #define _LARGEFILE_SOURCE 1
20798 #include <sys/types.h> /* for off_t */
20799      #include <stdio.h>
20800 int
20801 main ()
20802 {
20803 int (*fp) (FILE *, off_t, int) = fseeko;
20804      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20805   ;
20806   return 0;
20807 }
20808 _ACEOF
20809 if ac_fn_cxx_try_link "$LINENO"; then :
20810   ac_cv_sys_largefile_source=1; break
20811 fi
20812 rm -f core conftest.err conftest.$ac_objext \
20813     conftest$ac_exeext conftest.$ac_ext
20814   ac_cv_sys_largefile_source=unknown
20815   break
20816 done
20817 fi
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20819 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20820 case $ac_cv_sys_largefile_source in #(
20821   no | unknown) ;;
20822   *)
20823 cat >>confdefs.h <<_ACEOF
20824 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20825 _ACEOF
20826 ;;
20827 esac
20828 rm -rf conftest*
20829
20830 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20831 # in glibc 2.1.3, but that breaks too many other things.
20832 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20833 if test $ac_cv_sys_largefile_source != unknown; then
20834
20835 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20836
20837 fi
20838
20839 CPPFLAGS="$old_CPPFLAGS"
20840 ac_ext=c
20841 ac_cpp='$CPP $CPPFLAGS'
20842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20845
20846 if test "$ac_cv_sys_largefile_source" != no; then
20847     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20848 fi
20849
20850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20851 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20852 if ${ac_cv_c_bigendian+:} false; then :
20853   $as_echo_n "(cached) " >&6
20854 else
20855   ac_cv_c_bigendian=unknown
20856 # See if sys/param.h defines the BYTE_ORDER macro.
20857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20858 /* end confdefs.h.  */
20859 #include <sys/types.h>
20860 #include <sys/param.h>
20861 int
20862 main ()
20863 {
20864
20865 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20866  bogus endian macros
20867 #endif
20868   ;
20869   return 0;
20870 }
20871 _ACEOF
20872 if ac_fn_c_try_compile "$LINENO"; then :
20873   # It does; now see whether it defined to BIG_ENDIAN or not.
20874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20875 /* end confdefs.h.  */
20876 #include <sys/types.h>
20877 #include <sys/param.h>
20878 int
20879 main ()
20880 {
20881
20882 #if BYTE_ORDER != BIG_ENDIAN
20883  not big endian
20884 #endif
20885   ;
20886   return 0;
20887 }
20888 _ACEOF
20889 if ac_fn_c_try_compile "$LINENO"; then :
20890   ac_cv_c_bigendian=yes
20891 else
20892   ac_cv_c_bigendian=no
20893 fi
20894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20895 fi
20896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20897 if test $ac_cv_c_bigendian = unknown; then
20898 if test "$cross_compiling" = yes; then :
20899   ac_cv_c_bigendian=unknown
20900 else
20901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20902 /* end confdefs.h.  */
20903 main () {
20904   /* Are we little or big endian?  From Harbison&Steele.  */
20905   union
20906   {
20907     long l;
20908     char c[sizeof (long)];
20909   } u;
20910   u.l = 1;
20911   exit (u.c[sizeof (long) - 1] == 1);
20912 }
20913 _ACEOF
20914 if ac_fn_c_try_run "$LINENO"; then :
20915   ac_cv_c_bigendian=no
20916 else
20917   ac_cv_c_bigendian=yes
20918 fi
20919 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20920   conftest.$ac_objext conftest.beam conftest.$ac_ext
20921 fi
20922
20923 fi
20924 fi
20925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
20926 $as_echo "$ac_cv_c_bigendian" >&6; }
20927 if test $ac_cv_c_bigendian = unknown; then
20928   { $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
20929 $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;}
20930 fi
20931 if test $ac_cv_c_bigendian = yes; then
20932   $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
20933
20934 fi
20935
20936
20937
20938
20939     ac_ext=cpp
20940 ac_cpp='$CXXCPP $CPPFLAGS'
20941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20944
20945
20946     for ac_header in iostream
20947 do :
20948   ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
20949 "
20950 if test "x$ac_cv_header_iostream" = xyes; then :
20951   cat >>confdefs.h <<_ACEOF
20952 #define HAVE_IOSTREAM 1
20953 _ACEOF
20954
20955 fi
20956
20957 done
20958
20959
20960     if test "$ac_cv_header_iostream" = "yes" ; then
20961       :
20962     else
20963       $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
20964
20965     fi
20966
20967     ac_ext=c
20968 ac_cpp='$CPP $CPPFLAGS'
20969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20972
20973
20974
20975
20976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
20977 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
20978 if ${wx_cv_explicit+:} false; then :
20979   $as_echo_n "(cached) " >&6
20980 else
20981
20982
20983     ac_ext=cpp
20984 ac_cpp='$CXXCPP $CPPFLAGS'
20985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20988
20989
20990             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20991 /* end confdefs.h.  */
20992
20993         class Foo { public: explicit Foo(int) {} };
20994
20995 int
20996 main ()
20997 {
20998
20999         return 0;
21000
21001   ;
21002   return 0;
21003 }
21004 _ACEOF
21005 if ac_fn_cxx_try_compile "$LINENO"; then :
21006
21007         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21008 /* end confdefs.h.  */
21009
21010                 class Foo { public: explicit Foo(int) {} };
21011                 static void TakeFoo(const Foo& foo) { }
21012
21013 int
21014 main ()
21015 {
21016
21017                 TakeFoo(17);
21018                 return 0;
21019
21020   ;
21021   return 0;
21022 }
21023 _ACEOF
21024 if ac_fn_cxx_try_compile "$LINENO"; then :
21025   wx_cv_explicit=no
21026 else
21027   wx_cv_explicit=yes
21028
21029 fi
21030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21031
21032 else
21033   wx_cv_explicit=no
21034
21035 fi
21036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21037
21038     ac_ext=c
21039 ac_cpp='$CPP $CPPFLAGS'
21040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21043
21044
21045 fi
21046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21047 $as_echo "$wx_cv_explicit" >&6; }
21048
21049   if test "$wx_cv_explicit" = "yes"; then
21050     $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21051
21052   fi
21053
21054
21055 if test "x$SUNCXX" = xyes; then
21056     CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21057 fi
21058
21059 if test "x$SUNCC" = xyes; then
21060     CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21061 fi
21062
21063 if test "x$SGICC" = "xyes"; then
21064     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21065 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21066 if ${wx_cv_prog_sgicc744+:} false; then :
21067   $as_echo_n "(cached) " >&6
21068 else
21069
21070             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21071 /* end confdefs.h.  */
21072
21073 int
21074 main ()
21075 {
21076
21077                     #if _SGI_COMPILER_VERSION >= 744
21078                     chock me: mipsPro is 7.4.4 or later
21079                     #endif
21080
21081   ;
21082   return 0;
21083 }
21084 _ACEOF
21085 if ac_fn_c_try_compile "$LINENO"; then :
21086   wx_cv_prog_sgicc744=no
21087 else
21088   wx_cv_prog_sgicc744=yes
21089
21090 fi
21091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21092
21093
21094 fi
21095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21096 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21097
21098     if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21099         CFLAGS="-woff 3970 $CFLAGS"
21100     fi
21101 fi
21102 if test "x$SGICXX" = "xyes"; then
21103     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21104 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21105 if ${wx_cv_prog_sgicxx744+:} false; then :
21106   $as_echo_n "(cached) " >&6
21107 else
21108
21109             ac_ext=cpp
21110 ac_cpp='$CXXCPP $CPPFLAGS'
21111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21114
21115             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21116 /* end confdefs.h.  */
21117
21118 int
21119 main ()
21120 {
21121
21122                     #if _SGI_COMPILER_VERSION >= 744
21123                     chock me: mipsPro is 7.4.4 or later
21124                     #endif
21125
21126   ;
21127   return 0;
21128 }
21129 _ACEOF
21130 if ac_fn_cxx_try_compile "$LINENO"; then :
21131   wx_cv_prog_sgicxx744=no
21132 else
21133   wx_cv_prog_sgicxx744=yes
21134
21135 fi
21136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21137             ac_ext=c
21138 ac_cpp='$CPP $CPPFLAGS'
21139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21142
21143
21144
21145 fi
21146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21147 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21148
21149     if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21150         CXXFLAGS="-woff 3970 $CXXFLAGS"
21151     fi
21152 fi
21153
21154 if test "x$HPCC" = "xyes"; then
21155                     CFLAGS="+W 2011,2450 $CFLAGS"
21156 fi
21157 if test "x$HPCXX" = "xyes"; then
21158                             CXXFLAGS="+W 2340,4232 $CXXFLAGS"
21159 fi
21160
21161 if test "x$COMPAQCXX" = "xyes"; then
21162                                 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21163 fi
21164
21165 ac_ext=cpp
21166 ac_cpp='$CXXCPP $CPPFLAGS'
21167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21170
21171
21172 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21173     if test "$wxUSE_UNICODE" = "yes"; then
21174         std_string="std::wstring"
21175         char_type="wchar_t"
21176     else
21177         std_string="std::string"
21178         char_type="char"
21179     fi
21180
21181         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21182 $as_echo_n "checking for $std_string in <string>... " >&6; }
21183 if ${wx_cv_class_stdstring+:} false; then :
21184   $as_echo_n "(cached) " >&6
21185 else
21186
21187             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21188 /* end confdefs.h.  */
21189 #include <string>
21190 int
21191 main ()
21192 {
21193 $std_string foo;
21194   ;
21195   return 0;
21196 }
21197 _ACEOF
21198 if ac_fn_cxx_try_compile "$LINENO"; then :
21199   wx_cv_class_stdstring=yes
21200 else
21201   wx_cv_class_stdstring=no
21202
21203 fi
21204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21205
21206
21207 fi
21208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21209 $as_echo "$wx_cv_class_stdstring" >&6; }
21210
21211     if test "$wx_cv_class_stdstring" = yes; then
21212         if test "$wxUSE_UNICODE" = "yes"; then
21213             $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21214
21215         fi
21216                     else
21217         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21218 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21219 if ${wx_cv_class_stdbasicstring+:} false; then :
21220   $as_echo_n "(cached) " >&6
21221 else
21222
21223                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21224 /* end confdefs.h.  */
21225
21226                     #ifdef HAVE_WCHAR_H
21227                     #  ifdef __CYGWIN__
21228                     #    include <stddef.h>
21229                     #  endif
21230                     #  include <wchar.h>
21231                     #endif
21232                     #ifdef HAVE_STDLIB_H
21233                     #  include <stdlib.h>
21234                     #endif
21235                     #include <stdio.h>
21236                     #include <string>
21237
21238 int
21239 main ()
21240 {
21241 std::basic_string<$char_type> foo;
21242                      const $char_type* dummy = foo.c_str();
21243   ;
21244   return 0;
21245 }
21246 _ACEOF
21247 if ac_fn_cxx_try_compile "$LINENO"; then :
21248   wx_cv_class_stdbasicstring=yes
21249 else
21250   wx_cv_class_stdbasicstring=no
21251
21252 fi
21253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21254
21255
21256 fi
21257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21258 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21259
21260         if test "$wx_cv_class_stdbasicstring" != yes; then
21261             if test "$wxUSE_STL" = "yes"; then
21262                 as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21263             elif test "$wxUSE_STD_STRING" = "yes"; then
21264                 as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21265             else
21266                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21267 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21268                 wxUSE_STD_STRING=no
21269             fi
21270         fi
21271     fi
21272 fi
21273
21274 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21275     ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21276 "
21277 if test "x$ac_cv_type_std__istream" = xyes; then :
21278
21279 cat >>confdefs.h <<_ACEOF
21280 #define HAVE_STD__ISTREAM 1
21281 _ACEOF
21282
21283
21284 else
21285   wxUSE_STD_IOSTREAM=no
21286 fi
21287 ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21288 "
21289 if test "x$ac_cv_type_std__ostream" = xyes; then :
21290
21291 cat >>confdefs.h <<_ACEOF
21292 #define HAVE_STD__OSTREAM 1
21293 _ACEOF
21294
21295
21296 else
21297   wxUSE_STD_IOSTREAM=no
21298 fi
21299
21300
21301     if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21302         if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21303             as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21304         else
21305             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21306 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21307         fi
21308     fi
21309 fi
21310
21311 if test "$wxUSE_STL" = "yes"; then
21312         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21313 $as_echo_n "checking for basic STL functionality... " >&6; }
21314 if ${wx_cv_lib_stl+:} false; then :
21315   $as_echo_n "(cached) " >&6
21316 else
21317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21318 /* end confdefs.h.  */
21319 #include <string>
21320             #include <functional>
21321             #include <algorithm>
21322             #include <vector>
21323             #include <list>
21324 int
21325 main ()
21326 {
21327 std::vector<int> moo;
21328              std::list<int> foo;
21329              std::vector<int>::iterator it =
21330                  std::find_if(moo.begin(), moo.end(),
21331                               std::bind2nd(std::less<int>(), 3));
21332   ;
21333   return 0;
21334 }
21335 _ACEOF
21336 if ac_fn_cxx_try_compile "$LINENO"; then :
21337   wx_cv_lib_stl=yes
21338 else
21339   wx_cv_lib_stl=no
21340
21341 fi
21342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21343
21344 fi
21345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21346 $as_echo "$wx_cv_lib_stl" >&6; }
21347
21348     if test "$wx_cv_lib_stl" != yes; then
21349          as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21350     fi
21351
21352         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21353 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21354 if ${wx_cv_func_stdstring_compare+:} false; then :
21355   $as_echo_n "(cached) " >&6
21356 else
21357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21358 /* end confdefs.h.  */
21359 #include <string>
21360 int
21361 main ()
21362 {
21363 std::string foo, bar;
21364             foo.compare(bar);
21365             foo.compare(1, 1, bar);
21366             foo.compare(1, 1, bar, 1, 1);
21367             foo.compare("");
21368             foo.compare(1, 1, "");
21369             foo.compare(1, 1, "", 2);
21370   ;
21371   return 0;
21372 }
21373 _ACEOF
21374 if ac_fn_cxx_try_compile "$LINENO"; then :
21375   wx_cv_func_stdstring_compare=yes
21376 else
21377   wx_cv_func_stdstring_compare=no
21378
21379 fi
21380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21381
21382 fi
21383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21384 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21385
21386     if test "$wx_cv_func_stdstring_compare" = yes; then
21387         $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21388
21389     fi
21390
21391     if test "$wx_cv_class_gnuhashmapset" = yes; then
21392          $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21393
21394          $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21395
21396     fi
21397
21398     ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21399
21400 "
21401 if test "x$ac_cv_header_unordered_map" = xyes; then :
21402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21403 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21404 if ${wx_cv_class_stdunorderedmapset+:} false; then :
21405   $as_echo_n "(cached) " >&6
21406 else
21407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21408 /* end confdefs.h.  */
21409 #include <unordered_map>
21410                 #include <unordered_set>
21411 int
21412 main ()
21413 {
21414 std::unordered_map<double*, char*> test1;
21415                  std::unordered_set<char*> test2;
21416   ;
21417   return 0;
21418 }
21419 _ACEOF
21420 if ac_fn_cxx_try_compile "$LINENO"; then :
21421   wx_cv_class_stdunorderedmapset=yes
21422 else
21423   wx_cv_class_stdunorderedmapset=no
21424 fi
21425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21426
21427
21428 fi
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21430 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21431 fi
21432
21433
21434
21435     if test "$wx_cv_class_stdunorderedmapset" = yes; then
21436          $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21437
21438          $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21439
21440     else
21441         ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21442
21443 "
21444 if test "x$ac_cv_header_tr1_unordered_map" = xyes; then :
21445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21446 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21447 if ${wx_cv_class_tr1unorderedmapset+:} false; then :
21448   $as_echo_n "(cached) " >&6
21449 else
21450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21451 /* end confdefs.h.  */
21452 #include <tr1/unordered_map>
21453                     #include <tr1/unordered_set>
21454 int
21455 main ()
21456 {
21457 std::tr1::unordered_map<double*, char*> test1;
21458                      std::tr1::unordered_set<char*> test2;
21459             #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21460             #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21461             #endif
21462   ;
21463   return 0;
21464 }
21465 _ACEOF
21466 if ac_fn_cxx_try_compile "$LINENO"; then :
21467   wx_cv_class_tr1unorderedmapset=yes
21468 else
21469   wx_cv_class_tr1unorderedmapset=no
21470 fi
21471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21472
21473
21474 fi
21475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21476 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21477 fi
21478
21479
21480
21481         if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21482             $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21483
21484             $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21485
21486         else
21487                         ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
21488
21489 "
21490 if test "x$ac_cv_header_hash_map" = xyes; then :
21491   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21492 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21493 if ${wx_cv_class_stdhashmapset+:} false; then :
21494   $as_echo_n "(cached) " >&6
21495 else
21496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21497 /* end confdefs.h.  */
21498 #include <hash_map>
21499                         #include <hash_set>
21500 int
21501 main ()
21502 {
21503 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21504                          std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21505   ;
21506   return 0;
21507 }
21508 _ACEOF
21509 if ac_fn_cxx_try_compile "$LINENO"; then :
21510   wx_cv_class_stdhashmapset=yes
21511 else
21512   wx_cv_class_stdhashmapset=no
21513 fi
21514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21515
21516
21517 fi
21518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21519 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21520 fi
21521
21522
21523
21524             if test "$wx_cv_class_stdhashmapset" = yes; then
21525                 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21526
21527                 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21528
21529             fi
21530
21531             ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21532
21533 "
21534 if test "x$ac_cv_header_ext_hash_map" = xyes; then :
21535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21536 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21537 if ${wx_cv_class_gnuhashmapset+:} false; then :
21538   $as_echo_n "(cached) " >&6
21539 else
21540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21541 /* end confdefs.h.  */
21542 #include <ext/hash_map>
21543                         #include <ext/hash_set>
21544 int
21545 main ()
21546 {
21547 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21548                          __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21549   ;
21550   return 0;
21551 }
21552 _ACEOF
21553 if ac_fn_cxx_try_compile "$LINENO"; then :
21554   wx_cv_class_gnuhashmapset=yes
21555 else
21556   wx_cv_class_gnuhashmapset=no
21557 fi
21558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21559
21560
21561 fi
21562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21563 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21564 fi
21565
21566
21567
21568         fi
21569     fi
21570 fi
21571
21572 ac_ext=cpp
21573 ac_cpp='$CXXCPP $CPPFLAGS'
21574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21578 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21579 if test -z "$CXXCPP"; then
21580   if ${ac_cv_prog_CXXCPP+:} false; then :
21581   $as_echo_n "(cached) " >&6
21582 else
21583       # Double quotes because CXXCPP needs to be expanded
21584     for CXXCPP in "$CXX -E" "/lib/cpp"
21585     do
21586       ac_preproc_ok=false
21587 for ac_cxx_preproc_warn_flag in '' yes
21588 do
21589   # Use a header file that comes with gcc, so configuring glibc
21590   # with a fresh cross-compiler works.
21591   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21592   # <limits.h> exists even on freestanding compilers.
21593   # On the NeXT, cc -E runs the code through the compiler's parser,
21594   # not just through cpp. "Syntax error" is here to catch this case.
21595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21596 /* end confdefs.h.  */
21597 #ifdef __STDC__
21598 # include <limits.h>
21599 #else
21600 # include <assert.h>
21601 #endif
21602                      Syntax error
21603 _ACEOF
21604 if ac_fn_cxx_try_cpp "$LINENO"; then :
21605
21606 else
21607   # Broken: fails on valid input.
21608 continue
21609 fi
21610 rm -f conftest.err conftest.i conftest.$ac_ext
21611
21612   # OK, works on sane cases.  Now check whether nonexistent headers
21613   # can be detected and how.
21614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21615 /* end confdefs.h.  */
21616 #include <ac_nonexistent.h>
21617 _ACEOF
21618 if ac_fn_cxx_try_cpp "$LINENO"; then :
21619   # Broken: success on invalid input.
21620 continue
21621 else
21622   # Passes both tests.
21623 ac_preproc_ok=:
21624 break
21625 fi
21626 rm -f conftest.err conftest.i conftest.$ac_ext
21627
21628 done
21629 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21630 rm -f conftest.i conftest.err conftest.$ac_ext
21631 if $ac_preproc_ok; then :
21632   break
21633 fi
21634
21635     done
21636     ac_cv_prog_CXXCPP=$CXXCPP
21637
21638 fi
21639   CXXCPP=$ac_cv_prog_CXXCPP
21640 else
21641   ac_cv_prog_CXXCPP=$CXXCPP
21642 fi
21643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21644 $as_echo "$CXXCPP" >&6; }
21645 ac_preproc_ok=false
21646 for ac_cxx_preproc_warn_flag in '' yes
21647 do
21648   # Use a header file that comes with gcc, so configuring glibc
21649   # with a fresh cross-compiler works.
21650   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21651   # <limits.h> exists even on freestanding compilers.
21652   # On the NeXT, cc -E runs the code through the compiler's parser,
21653   # not just through cpp. "Syntax error" is here to catch this case.
21654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21655 /* end confdefs.h.  */
21656 #ifdef __STDC__
21657 # include <limits.h>
21658 #else
21659 # include <assert.h>
21660 #endif
21661                      Syntax error
21662 _ACEOF
21663 if ac_fn_cxx_try_cpp "$LINENO"; then :
21664
21665 else
21666   # Broken: fails on valid input.
21667 continue
21668 fi
21669 rm -f conftest.err conftest.i conftest.$ac_ext
21670
21671   # OK, works on sane cases.  Now check whether nonexistent headers
21672   # can be detected and how.
21673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21674 /* end confdefs.h.  */
21675 #include <ac_nonexistent.h>
21676 _ACEOF
21677 if ac_fn_cxx_try_cpp "$LINENO"; then :
21678   # Broken: success on invalid input.
21679 continue
21680 else
21681   # Passes both tests.
21682 ac_preproc_ok=:
21683 break
21684 fi
21685 rm -f conftest.err conftest.i conftest.$ac_ext
21686
21687 done
21688 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21689 rm -f conftest.i conftest.err conftest.$ac_ext
21690 if $ac_preproc_ok; then :
21691
21692 else
21693   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21695 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21696 See \`config.log' for more details" "$LINENO" 5; }
21697 fi
21698
21699 ac_ext=cpp
21700 ac_cpp='$CXXCPP $CPPFLAGS'
21701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21704
21705
21706 for ac_header in type_traits tr1/type_traits
21707 do :
21708   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21709 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21710 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21711   cat >>confdefs.h <<_ACEOF
21712 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21713 _ACEOF
21714
21715 fi
21716
21717 done
21718
21719
21720
21721
21722   if test -n "$GCC"; then
21723     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21724 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21725     if ${wx_cv_cc_gcc_atomic_builtins+:} false; then :
21726   $as_echo_n "(cached) " >&6
21727 else
21728
21729       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21730 /* end confdefs.h.  */
21731
21732 int
21733 main ()
21734 {
21735
21736           unsigned int value=0;
21737           /* wxAtomicInc doesn't use return value here */
21738           __sync_fetch_and_add(&value, 2);
21739           __sync_sub_and_fetch(&value, 1);
21740           /* but wxAtomicDec does, so mimic that: */
21741           unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21742
21743   ;
21744   return 0;
21745 }
21746 _ACEOF
21747 if ac_fn_cxx_try_link "$LINENO"; then :
21748   wx_cv_cc_gcc_atomic_builtins=yes
21749 else
21750   wx_cv_cc_gcc_atomic_builtins=no
21751 fi
21752 rm -f core conftest.err conftest.$ac_objext \
21753     conftest$ac_exeext conftest.$ac_ext
21754
21755 fi
21756
21757     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21758 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21759     if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21760       $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21761
21762     fi
21763   fi
21764
21765
21766 ac_ext=c
21767 ac_cpp='$CPP $CPPFLAGS'
21768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21771
21772
21773
21774 SEARCH_INCLUDE="\
21775     /usr/local/include        \
21776     /usr/local/X11/include    \
21777     /usr/local/include/X11    \
21778     /usr/local/X11R7/include  \
21779     /usr/local/X11R6/include  \
21780     /usr/local/include/X11R7  \
21781     /usr/local/include/X11R6  \
21782                               \
21783     /usr/Motif-2.1/include    \
21784     /usr/Motif-1.2/include    \
21785     /usr/include/Motif1.2     \
21786                               \
21787     /usr/dt/include           \
21788     /usr/openwin/include      \
21789                               \
21790     /usr/include/Xm           \
21791                               \
21792     /usr/X11R7/include        \
21793     /usr/X11R6/include        \
21794     /usr/X11R6.4/include      \
21795                               \
21796     /usr/include/X11R7        \
21797     /usr/include/X11R6        \
21798                               \
21799     /usr/X11/include          \
21800     /usr/include/X11          \
21801                               \
21802     /usr/XFree86/include/X11  \
21803     /usr/pkg/include          \
21804                               \
21805     /usr/local/X1R5/include  \
21806     /usr/local/include/X11R5  \
21807     /usr/X11R5/include        \
21808     /usr/include/X11R5        \
21809                               \
21810     /usr/local/X11R4/include  \
21811     /usr/local/include/X11R4  \
21812     /usr/X11R4/include        \
21813     /usr/include/X11R4        \
21814                               \
21815     /usr/openwin/share/include"
21816
21817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21818 $as_echo_n "checking for libraries directories... " >&6; }
21819
21820 case "${host}" in
21821     *-*-irix6* )
21822         if ${wx_cv_std_libpath+:} false; then :
21823   $as_echo_n "(cached) " >&6
21824 else
21825
21826                 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
21827                     for e in a so sl dylib dll.a; do
21828                         libc="$d/libc.$e"
21829                         if test -f $libc; then
21830                             save_LIBS="$LIBS"
21831                             LIBS="$libc"
21832                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21833 /* end confdefs.h.  */
21834
21835                                     int main() { return 0; }
21836
21837 _ACEOF
21838 if ac_fn_c_try_link "$LINENO"; then :
21839   wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
21840 fi
21841 rm -f core conftest.err conftest.$ac_objext \
21842     conftest$ac_exeext conftest.$ac_ext
21843                             LIBS="$save_LIBS"
21844                             if test "x$wx_cv_std_libpath" != "x"; then
21845                                 break 2
21846                             fi
21847                         fi
21848                     done
21849                 done
21850
21851
21852 fi
21853
21854         ;;
21855
21856     *-*-solaris2* )
21857                 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21858             wx_cv_std_libpath="lib/64"
21859         fi
21860         ;;
21861
21862     *-*-linux* )
21863                                         if test "$ac_cv_sizeof_void_p" = 8; then
21864             if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21865                 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
21866             elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21867                 wx_cv_std_libpath="lib64"
21868             fi
21869         else
21870             case "${host}" in
21871                 i*86-*-linux* )
21872                     if test -d '/usr/lib/i386-linux-gnu'; then
21873                         wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
21874                     fi
21875             esac
21876         fi
21877
21878                                 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
21879             wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
21880         fi
21881         ;;
21882 esac
21883
21884 if test -z "$wx_cv_std_libpath"; then
21885     wx_cv_std_libpath="lib"
21886 fi
21887
21888 if test -z "$wx_cv_std_libfullpath"; then
21889     wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
21890 fi
21891
21892
21893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
21894 $as_echo "$wx_cv_std_libfullpath" >&6; }
21895
21896 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
21897
21898 if test "$build" != "$host" -a "$GCC" = yes; then
21899                     if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
21900         cross_root=`dirname $cross_root`
21901         cross_root=`dirname $cross_root`
21902
21903                         SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21904         SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21905         SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
21906
21907                 if test -z "$PKG_CONFIG_PATH"; then
21908             PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
21909             export PKG_CONFIG_PATH
21910         fi
21911
21912                                 if test -z "$x_includes" -o "$x_includes" = NONE; then
21913
21914 ac_find_includes=
21915 for ac_dir in $SEARCH_INCLUDE /usr/include
21916   do
21917     if test -f "$ac_dir/X11/Intrinsic.h"; then
21918       ac_find_includes=$ac_dir
21919       break
21920     fi
21921   done
21922
21923             x_includes=$ac_find_includes
21924         fi
21925         if test -z "$x_libraries" -o "$x_libraries" = NONE; then
21926
21927   ac_find_libraries=
21928   for ac_dir in  $SEARCH_LIB
21929   do
21930     for ac_extension in a so sl dylib dll.a; do
21931       if test -f "$ac_dir/libXt.$ac_extension"; then
21932         ac_find_libraries=$ac_dir
21933         break 2
21934       fi
21935     done
21936   done
21937
21938             x_libraries=$ac_find_libraries
21939         fi
21940     fi
21941 fi
21942
21943
21944 cat >confcache <<\_ACEOF
21945 # This file is a shell script that caches the results of configure
21946 # tests run on this system so they can be shared between configure
21947 # scripts and configure runs, see configure's option --config-cache.
21948 # It is not useful on other systems.  If it contains results you don't
21949 # want to keep, you may remove or edit it.
21950 #
21951 # config.status only pays attention to the cache file if you give it
21952 # the --recheck option to rerun configure.
21953 #
21954 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21955 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21956 # following values.
21957
21958 _ACEOF
21959
21960 # The following way of writing the cache mishandles newlines in values,
21961 # but we know of no workaround that is simple, portable, and efficient.
21962 # So, we kill variables containing newlines.
21963 # Ultrix sh set writes to stderr and can't be redirected directly,
21964 # and sets the high bit in the cache file unless we assign to the vars.
21965 (
21966   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21967     eval ac_val=\$$ac_var
21968     case $ac_val in #(
21969     *${as_nl}*)
21970       case $ac_var in #(
21971       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21972 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21973       esac
21974       case $ac_var in #(
21975       _ | IFS | as_nl) ;; #(
21976       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21977       *) { eval $ac_var=; unset $ac_var;} ;;
21978       esac ;;
21979     esac
21980   done
21981
21982   (set) 2>&1 |
21983     case $as_nl`(ac_space=' '; set) 2>&1` in #(
21984     *${as_nl}ac_space=\ *)
21985       # `set' does not quote correctly, so add quotes: double-quote
21986       # substitution turns \\\\ into \\, and sed turns \\ into \.
21987       sed -n \
21988         "s/'/'\\\\''/g;
21989           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21990       ;; #(
21991     *)
21992       # `set' quotes correctly as required by POSIX, so do not add quotes.
21993       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21994       ;;
21995     esac |
21996     sort
21997 ) |
21998   sed '
21999      /^ac_cv_env_/b end
22000      t clear
22001      :clear
22002      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22003      t end
22004      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22005      :end' >>confcache
22006 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22007   if test -w "$cache_file"; then
22008     if test "x$cache_file" != "x/dev/null"; then
22009       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22010 $as_echo "$as_me: updating cache $cache_file" >&6;}
22011       if test ! -f "$cache_file" || test -h "$cache_file"; then
22012         cat confcache >"$cache_file"
22013       else
22014         case $cache_file in #(
22015         */* | ?:*)
22016           mv -f confcache "$cache_file"$$ &&
22017           mv -f "$cache_file"$$ "$cache_file" ;; #(
22018         *)
22019           mv -f confcache "$cache_file" ;;
22020         esac
22021       fi
22022     fi
22023   else
22024     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22025 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22026   fi
22027 fi
22028 rm -f confcache
22029
22030 have_cos=0
22031 have_floor=0
22032 for ac_func in cos
22033 do :
22034   ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
22035 if test "x$ac_cv_func_cos" = xyes; then :
22036   cat >>confdefs.h <<_ACEOF
22037 #define HAVE_COS 1
22038 _ACEOF
22039  have_cos=1
22040 fi
22041 done
22042
22043 for ac_func in floor
22044 do :
22045   ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22046 if test "x$ac_cv_func_floor" = xyes; then :
22047   cat >>confdefs.h <<_ACEOF
22048 #define HAVE_FLOOR 1
22049 _ACEOF
22050  have_floor=1
22051 fi
22052 done
22053
22054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22055 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22056 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22057     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22058 $as_echo "yes" >&6; }
22059 else
22060     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22061 $as_echo "no" >&6; }
22062     LIBS="$LIBS -lm"
22063     # use different functions to avoid configure caching
22064     have_sin=0
22065     have_ceil=0
22066     for ac_func in sin
22067 do :
22068   ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
22069 if test "x$ac_cv_func_sin" = xyes; then :
22070   cat >>confdefs.h <<_ACEOF
22071 #define HAVE_SIN 1
22072 _ACEOF
22073  have_sin=1
22074 fi
22075 done
22076
22077     for ac_func in ceil
22078 do :
22079   ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22080 if test "x$ac_cv_func_ceil" = xyes; then :
22081   cat >>confdefs.h <<_ACEOF
22082 #define HAVE_CEIL 1
22083 _ACEOF
22084  have_ceil=1
22085 fi
22086 done
22087
22088     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22089 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22090     if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22091         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22092 $as_echo "yes" >&6; }
22093     else
22094         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22095 $as_echo "no" >&6; }
22096         # not sure we should warn the user, crash, etc.
22097     fi
22098 fi
22099
22100 ac_ext=cpp
22101 ac_cpp='$CXXCPP $CPPFLAGS'
22102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22105
22106 if test "wxUSE_UNICODE" = "yes"; then
22107
22108   for wx_func in wcstoull
22109   do
22110     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22111 $as_echo_n "checking for $wx_func... " >&6; }
22112 if eval \${wx_cv_func_$wx_func+:} false; then :
22113   $as_echo_n "(cached) " >&6
22114 else
22115
22116         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22117 /* end confdefs.h.  */
22118
22119
22120
22121                 $ac_includes_default
22122
22123 int
22124 main ()
22125 {
22126
22127                 #ifndef $wx_func
22128                   &$wx_func;
22129                 #endif
22130
22131
22132   ;
22133   return 0;
22134 }
22135
22136 _ACEOF
22137 if ac_fn_cxx_try_link "$LINENO"; then :
22138   eval wx_cv_func_$wx_func=yes
22139 else
22140   eval wx_cv_func_$wx_func=no
22141 fi
22142 rm -f core conftest.err conftest.$ac_objext \
22143     conftest$ac_exeext conftest.$ac_ext
22144
22145 fi
22146 eval ac_res=\$wx_cv_func_$wx_func
22147                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22148 $as_echo "$ac_res" >&6; }
22149
22150     if eval test \$wx_cv_func_$wx_func = yes
22151     then
22152       cat >>confdefs.h <<_ACEOF
22153 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22154 _ACEOF
22155
22156
22157     else
22158       :
22159
22160     fi
22161   done
22162
22163 else
22164
22165   for wx_func in strtoull
22166   do
22167     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22168 $as_echo_n "checking for $wx_func... " >&6; }
22169 if eval \${wx_cv_func_$wx_func+:} false; then :
22170   $as_echo_n "(cached) " >&6
22171 else
22172
22173         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22174 /* end confdefs.h.  */
22175
22176
22177
22178                 $ac_includes_default
22179
22180 int
22181 main ()
22182 {
22183
22184                 #ifndef $wx_func
22185                   &$wx_func;
22186                 #endif
22187
22188
22189   ;
22190   return 0;
22191 }
22192
22193 _ACEOF
22194 if ac_fn_cxx_try_link "$LINENO"; then :
22195   eval wx_cv_func_$wx_func=yes
22196 else
22197   eval wx_cv_func_$wx_func=no
22198 fi
22199 rm -f core conftest.err conftest.$ac_objext \
22200     conftest$ac_exeext conftest.$ac_ext
22201
22202 fi
22203 eval ac_res=\$wx_cv_func_$wx_func
22204                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22205 $as_echo "$ac_res" >&6; }
22206
22207     if eval test \$wx_cv_func_$wx_func = yes
22208     then
22209       cat >>confdefs.h <<_ACEOF
22210 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22211 _ACEOF
22212
22213
22214     else
22215       :
22216
22217     fi
22218   done
22219
22220 fi
22221 ac_ext=c
22222 ac_cpp='$CPP $CPPFLAGS'
22223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22226
22227
22228
22229
22230 if test "$wxUSE_REGEX" != "no"; then
22231     $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22232
22233
22234     if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22235         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22236 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22237         wxUSE_REGEX=builtin
22238     fi
22239
22240     if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22241                         ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
22242 "
22243 if test "x$ac_cv_header_regex_h" = xyes; then :
22244   for ac_func in regcomp re_search
22245 do :
22246   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22247 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22248 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22249   cat >>confdefs.h <<_ACEOF
22250 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22251 _ACEOF
22252
22253 fi
22254 done
22255
22256 fi
22257
22258
22259
22260         if test "x$ac_cv_func_regcomp" != "xyes"; then
22261             if test "$wxUSE_REGEX" = "sys" ; then
22262                 as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22263             else
22264                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22265 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22266                 wxUSE_REGEX=builtin
22267             fi
22268         else
22269                         wxUSE_REGEX=sys
22270                         $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22271
22272         fi
22273     fi
22274 fi
22275
22276
22277 ZLIB_LINK=
22278 if test "$wxUSE_ZLIB" != "no" ; then
22279     $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22280
22281
22282     if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22283                                                 if test "$USE_DARWIN" = 1; then
22284             system_zlib_h_ok="yes"
22285         else
22286                                                                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22287 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22288 if ${ac_cv_header_zlib_h+:} false; then :
22289   $as_echo_n "(cached) " >&6
22290 else
22291   if test "$cross_compiling" = yes; then :
22292                       unset ac_cv_header_zlib_h
22293
22294 else
22295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22296 /* end confdefs.h.  */
22297
22298                         #include <zlib.h>
22299                         #include <stdio.h>
22300
22301                         int main()
22302                         {
22303                             FILE *f=fopen("conftestval", "w");
22304                             if (!f) exit(1);
22305                             fprintf(f, "%s",
22306                                     ZLIB_VERSION[0] == '1' &&
22307                                     (ZLIB_VERSION[2] > '1' ||
22308                                     (ZLIB_VERSION[2] == '1' &&
22309                                      ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22310                             exit(0);
22311                         }
22312
22313 _ACEOF
22314 if ac_fn_c_try_run "$LINENO"; then :
22315   ac_cv_header_zlib_h=`cat conftestval`
22316 else
22317   ac_cv_header_zlib_h=no
22318 fi
22319 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22320   conftest.$ac_objext conftest.beam conftest.$ac_ext
22321 fi
22322
22323
22324 fi
22325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22326 $as_echo "$ac_cv_header_zlib_h" >&6; }
22327                                     ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22328 "
22329 if test "x$ac_cv_header_zlib_h" = xyes; then :
22330
22331 fi
22332
22333
22334
22335             system_zlib_h_ok=$ac_cv_header_zlib_h
22336         fi
22337
22338         if test "$system_zlib_h_ok" = "yes"; then
22339             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22340 $as_echo_n "checking for deflate in -lz... " >&6; }
22341 if ${ac_cv_lib_z_deflate+:} false; then :
22342   $as_echo_n "(cached) " >&6
22343 else
22344   ac_check_lib_save_LIBS=$LIBS
22345 LIBS="-lz  $LIBS"
22346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22347 /* end confdefs.h.  */
22348
22349 /* Override any GCC internal prototype to avoid an error.
22350    Use char because int might match the return type of a GCC
22351    builtin and then its argument prototype would still apply.  */
22352 #ifdef __cplusplus
22353 extern "C"
22354 #endif
22355 char deflate ();
22356 int
22357 main ()
22358 {
22359 return deflate ();
22360   ;
22361   return 0;
22362 }
22363 _ACEOF
22364 if ac_fn_c_try_link "$LINENO"; then :
22365   ac_cv_lib_z_deflate=yes
22366 else
22367   ac_cv_lib_z_deflate=no
22368 fi
22369 rm -f core conftest.err conftest.$ac_objext \
22370     conftest$ac_exeext conftest.$ac_ext
22371 LIBS=$ac_check_lib_save_LIBS
22372 fi
22373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22374 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22375 if test "x$ac_cv_lib_z_deflate" = xyes; then :
22376   ZLIB_LINK=" -lz"
22377 fi
22378
22379         fi
22380
22381         if test "x$ZLIB_LINK" = "x" ; then
22382             if test "$wxUSE_ZLIB" = "sys" ; then
22383                 as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22384             else
22385                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22386 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22387                 wxUSE_ZLIB=builtin
22388             fi
22389         else
22390                         wxUSE_ZLIB=sys
22391         fi
22392     fi
22393 fi
22394
22395
22396 PNG_LINK=
22397 if test "$wxUSE_LIBPNG" != "no" ; then
22398     $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22399
22400
22401             if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22402         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22403 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22404         wxUSE_LIBPNG=builtin
22405     fi
22406
22407     if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22408                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22409 $as_echo_n "checking for png.h > 0.90... " >&6; }
22410 if ${ac_cv_header_png_h+:} false; then :
22411   $as_echo_n "(cached) " >&6
22412 else
22413   if test "$cross_compiling" = yes; then :
22414                   unset ac_cv_header_png_h
22415
22416 else
22417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22418 /* end confdefs.h.  */
22419
22420                     #include <png.h>
22421                     #include <stdio.h>
22422
22423                     int main()
22424                     {
22425                         FILE *f=fopen("conftestval", "w");
22426                         if (!f) exit(1);
22427                         fprintf(f, "%s",
22428                                  PNG_LIBPNG_VER > 90 ? "yes" : "no");
22429                         exit(0);
22430                     }
22431
22432 _ACEOF
22433 if ac_fn_c_try_run "$LINENO"; then :
22434   ac_cv_header_png_h=`cat conftestval`
22435 else
22436   ac_cv_header_png_h=no
22437 fi
22438 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22439   conftest.$ac_objext conftest.beam conftest.$ac_ext
22440 fi
22441
22442
22443 fi
22444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22445 $as_echo "$ac_cv_header_png_h" >&6; }
22446         ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
22447 "
22448 if test "x$ac_cv_header_png_h" = xyes; then :
22449
22450 fi
22451
22452
22453
22454         if test "$ac_cv_header_png_h" = "yes"; then
22455             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22456 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22457 if ${ac_cv_lib_png_png_sig_cmp+:} false; then :
22458   $as_echo_n "(cached) " >&6
22459 else
22460   ac_check_lib_save_LIBS=$LIBS
22461 LIBS="-lpng -lz -lm $LIBS"
22462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22463 /* end confdefs.h.  */
22464
22465 /* Override any GCC internal prototype to avoid an error.
22466    Use char because int might match the return type of a GCC
22467    builtin and then its argument prototype would still apply.  */
22468 #ifdef __cplusplus
22469 extern "C"
22470 #endif
22471 char png_sig_cmp ();
22472 int
22473 main ()
22474 {
22475 return png_sig_cmp ();
22476   ;
22477   return 0;
22478 }
22479 _ACEOF
22480 if ac_fn_c_try_link "$LINENO"; then :
22481   ac_cv_lib_png_png_sig_cmp=yes
22482 else
22483   ac_cv_lib_png_png_sig_cmp=no
22484 fi
22485 rm -f core conftest.err conftest.$ac_objext \
22486     conftest$ac_exeext conftest.$ac_ext
22487 LIBS=$ac_check_lib_save_LIBS
22488 fi
22489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22490 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22491 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes; then :
22492   PNG_LINK=" -lpng -lz"
22493 fi
22494
22495         fi
22496
22497         if test "x$PNG_LINK" = "x" ; then
22498             if test "$wxUSE_LIBPNG" = "sys" ; then
22499                 as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22500             else
22501                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22502 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22503                 wxUSE_LIBPNG=builtin
22504             fi
22505         else
22506                         wxUSE_LIBPNG=sys
22507         fi
22508     fi
22509 fi
22510
22511
22512 JPEG_LINK=
22513 if test "$wxUSE_LIBJPEG" != "no" ; then
22514     $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22515
22516
22517     if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22518                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22519 $as_echo_n "checking for jpeglib.h... " >&6; }
22520         if ${ac_cv_header_jpeglib_h+:} false; then :
22521   $as_echo_n "(cached) " >&6
22522 else
22523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22524 /* end confdefs.h.  */
22525
22526                     #undef HAVE_STDLIB_H
22527                     #include <stdio.h>
22528                     #include <jpeglib.h>
22529
22530 int
22531 main ()
22532 {
22533
22534
22535   ;
22536   return 0;
22537 }
22538 _ACEOF
22539 if ac_fn_c_try_compile "$LINENO"; then :
22540   ac_cv_header_jpeglib_h=yes
22541 else
22542   ac_cv_header_jpeglib_h=no
22543
22544 fi
22545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22546
22547 fi
22548
22549         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22550 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22551
22552         if test "$ac_cv_header_jpeglib_h" = "yes"; then
22553             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22554 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22555 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false; then :
22556   $as_echo_n "(cached) " >&6
22557 else
22558   ac_check_lib_save_LIBS=$LIBS
22559 LIBS="-ljpeg  $LIBS"
22560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22561 /* end confdefs.h.  */
22562
22563 /* Override any GCC internal prototype to avoid an error.
22564    Use char because int might match the return type of a GCC
22565    builtin and then its argument prototype would still apply.  */
22566 #ifdef __cplusplus
22567 extern "C"
22568 #endif
22569 char jpeg_read_header ();
22570 int
22571 main ()
22572 {
22573 return jpeg_read_header ();
22574   ;
22575   return 0;
22576 }
22577 _ACEOF
22578 if ac_fn_c_try_link "$LINENO"; then :
22579   ac_cv_lib_jpeg_jpeg_read_header=yes
22580 else
22581   ac_cv_lib_jpeg_jpeg_read_header=no
22582 fi
22583 rm -f core conftest.err conftest.$ac_objext \
22584     conftest$ac_exeext conftest.$ac_ext
22585 LIBS=$ac_check_lib_save_LIBS
22586 fi
22587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22588 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22589 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes; then :
22590   JPEG_LINK=" -ljpeg"
22591 fi
22592
22593         fi
22594
22595         if test "x$JPEG_LINK" = "x" ; then
22596             if test "$wxUSE_LIBJPEG" = "sys" ; then
22597                 as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22598             else
22599                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22600 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22601                 wxUSE_LIBJPEG=builtin
22602             fi
22603         else
22604                         wxUSE_LIBJPEG=sys
22605
22606             if test "$wxUSE_MSW" = 1; then
22607                                                                                 ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22608 "
22609 if test "x$ac_cv_type_boolean" = xyes; then :
22610
22611 cat >>confdefs.h <<_ACEOF
22612 #define HAVE_BOOLEAN 1
22613 _ACEOF
22614
22615
22616                         # The cast to long int works around a bug in the HP C Compiler
22617 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22618 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22619 # This bug is HP SR number 8606223364.
22620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22621 $as_echo_n "checking size of boolean... " >&6; }
22622 if ${ac_cv_sizeof_boolean+:} false; then :
22623   $as_echo_n "(cached) " >&6
22624 else
22625   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean"        "
22626                                 #undef HAVE_BOOLEAN
22627                                 #include <stdio.h>
22628                                 #include <jpeglib.h>
22629
22630 "; then :
22631
22632 else
22633   if test "$ac_cv_type_boolean" = yes; then
22634      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22635 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22636 as_fn_error 77 "cannot compute sizeof (boolean)
22637 See \`config.log' for more details" "$LINENO" 5; }
22638    else
22639      ac_cv_sizeof_boolean=0
22640    fi
22641 fi
22642
22643 fi
22644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22645 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22646
22647
22648
22649 cat >>confdefs.h <<_ACEOF
22650 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22651 _ACEOF
22652
22653
22654                         cat >>confdefs.h <<_ACEOF
22655 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22656 _ACEOF
22657
22658
22659 fi
22660
22661             fi
22662         fi
22663     fi
22664 fi
22665
22666
22667 TIFF_LINK=
22668 TIFF_PREREQ_LINKS=-lm
22669 if test "$wxUSE_LIBTIFF" != "no" ; then
22670     $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22671
22672
22673     if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22674                         if test "$wxUSE_LIBJPEG" = "sys"; then
22675             TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22676         fi
22677         if test "$wxUSE_ZLIB" = "sys"; then
22678             TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22679         fi
22680         ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22681
22682 "
22683 if test "x$ac_cv_header_tiffio_h" = xyes; then :
22684
22685                             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22686 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22687 if ${ac_cv_lib_tiff_TIFFError+:} false; then :
22688   $as_echo_n "(cached) " >&6
22689 else
22690   ac_check_lib_save_LIBS=$LIBS
22691 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22693 /* end confdefs.h.  */
22694
22695 /* Override any GCC internal prototype to avoid an error.
22696    Use char because int might match the return type of a GCC
22697    builtin and then its argument prototype would still apply.  */
22698 #ifdef __cplusplus
22699 extern "C"
22700 #endif
22701 char TIFFError ();
22702 int
22703 main ()
22704 {
22705 return TIFFError ();
22706   ;
22707   return 0;
22708 }
22709 _ACEOF
22710 if ac_fn_c_try_link "$LINENO"; then :
22711   ac_cv_lib_tiff_TIFFError=yes
22712 else
22713   ac_cv_lib_tiff_TIFFError=no
22714 fi
22715 rm -f core conftest.err conftest.$ac_objext \
22716     conftest$ac_exeext conftest.$ac_ext
22717 LIBS=$ac_check_lib_save_LIBS
22718 fi
22719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22720 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22721 if test "x$ac_cv_lib_tiff_TIFFError" = xyes; then :
22722   TIFF_LINK=" -ltiff"
22723 fi
22724
22725
22726 fi
22727
22728
22729
22730         if test "x$TIFF_LINK" = "x" ; then
22731             if test "$wxUSE_LIBTIFF" = "sys" ; then
22732                 as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22733             else
22734                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22735 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22736                 wxUSE_LIBTIFF=builtin
22737             fi
22738         else
22739                         wxUSE_LIBTIFF=sys
22740         fi
22741     fi
22742     if test "$wxUSE_LIBTIFF" = "builtin" ; then
22743         if test "$wxUSE_LIBJPEG" = "no"; then
22744                                                                                     ac_configure_args="$ac_configure_args --disable-jpeg"
22745         fi
22746
22747
22748 subdirs="$subdirs src/tiff"
22749
22750     fi
22751 fi
22752
22753
22754 if test "$wxUSE_EXPAT" != "no"; then
22755     wxUSE_XML=yes
22756     $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22757
22758     $as_echo "#define wxUSE_XML 1" >>confdefs.h
22759
22760
22761     if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22762         ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
22763 "
22764 if test "x$ac_cv_header_expat_h" = xyes; then :
22765   found_expat_h=1
22766 fi
22767
22768
22769         if test "x$found_expat_h" = "x1"; then
22770                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22771 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22772 if ${wx_cv_expat_is_not_broken+:} false; then :
22773   $as_echo_n "(cached) " >&6
22774 else
22775
22776                 ac_ext=cpp
22777 ac_cpp='$CXXCPP $CPPFLAGS'
22778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22781
22782                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22783 /* end confdefs.h.  */
22784 #include <expat.h>
22785 int
22786 main ()
22787 {
22788
22789   ;
22790   return 0;
22791 }
22792 _ACEOF
22793 if ac_fn_cxx_try_compile "$LINENO"; then :
22794   wx_cv_expat_is_not_broken=yes
22795 else
22796   wx_cv_expat_is_not_broken=no
22797
22798 fi
22799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22800                 ac_ext=c
22801 ac_cpp='$CPP $CPPFLAGS'
22802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22805
22806
22807
22808 fi
22809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
22810 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
22811             if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22812                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
22813 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
22814 if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then :
22815   $as_echo_n "(cached) " >&6
22816 else
22817   ac_check_lib_save_LIBS=$LIBS
22818 LIBS="-lexpat  $LIBS"
22819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22820 /* end confdefs.h.  */
22821
22822 /* Override any GCC internal prototype to avoid an error.
22823    Use char because int might match the return type of a GCC
22824    builtin and then its argument prototype would still apply.  */
22825 #ifdef __cplusplus
22826 extern "C"
22827 #endif
22828 char XML_ParserCreate ();
22829 int
22830 main ()
22831 {
22832 return XML_ParserCreate ();
22833   ;
22834   return 0;
22835 }
22836 _ACEOF
22837 if ac_fn_c_try_link "$LINENO"; then :
22838   ac_cv_lib_expat_XML_ParserCreate=yes
22839 else
22840   ac_cv_lib_expat_XML_ParserCreate=no
22841 fi
22842 rm -f core conftest.err conftest.$ac_objext \
22843     conftest$ac_exeext conftest.$ac_ext
22844 LIBS=$ac_check_lib_save_LIBS
22845 fi
22846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22847 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
22848 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then :
22849   EXPAT_LINK=" -lexpat"
22850 fi
22851
22852             fi
22853         fi
22854         if test "x$EXPAT_LINK" = "x" ; then
22855             if test "$wxUSE_EXPAT" = "sys" ; then
22856                 as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
22857             else
22858                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
22859 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22860                 wxUSE_EXPAT=builtin
22861             fi
22862         else
22863                         wxUSE_EXPAT=sys
22864         fi
22865     fi
22866     if test "$wxUSE_EXPAT" = "builtin" ; then
22867                 subdirs="$subdirs src/expat"
22868
22869     fi
22870 fi
22871
22872
22873
22874 if test "$wxUSE_LIBMSPACK" != "no"; then
22875     ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
22876 "
22877 if test "x$ac_cv_header_mspack_h" = xyes; then :
22878   found_mspack_h=1
22879 fi
22880
22881
22882     if test "x$found_mspack_h" = "x1"; then
22883         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
22884 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
22885 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false; then :
22886   $as_echo_n "(cached) " >&6
22887 else
22888   ac_check_lib_save_LIBS=$LIBS
22889 LIBS="-lmspack  $LIBS"
22890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22891 /* end confdefs.h.  */
22892
22893 /* Override any GCC internal prototype to avoid an error.
22894    Use char because int might match the return type of a GCC
22895    builtin and then its argument prototype would still apply.  */
22896 #ifdef __cplusplus
22897 extern "C"
22898 #endif
22899 char mspack_create_chm_decompressor ();
22900 int
22901 main ()
22902 {
22903 return mspack_create_chm_decompressor ();
22904   ;
22905   return 0;
22906 }
22907 _ACEOF
22908 if ac_fn_c_try_link "$LINENO"; then :
22909   ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
22910 else
22911   ac_cv_lib_mspack_mspack_create_chm_decompressor=no
22912 fi
22913 rm -f core conftest.err conftest.$ac_objext \
22914     conftest$ac_exeext conftest.$ac_ext
22915 LIBS=$ac_check_lib_save_LIBS
22916 fi
22917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22918 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
22919 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes; then :
22920   MSPACK_LINK=" -lmspack"
22921 fi
22922
22923     fi
22924     if test "x$MSPACK_LINK" = "x" ; then
22925         wxUSE_LIBMSPACK=no
22926     fi
22927 fi
22928
22929 if test "$wxUSE_LIBMSPACK" != "no"; then
22930     $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
22931
22932 fi
22933
22934
22935
22936 AFMINSTALL=
22937 WIN32INSTALL=
22938
22939 TOOLKIT=
22940 TOOLKIT_INCLUDE=
22941 WIDGET_SET=
22942
22943 if test "$USE_WIN32" = 1 ; then
22944     for ac_header in w32api.h
22945 do :
22946   ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
22947 "
22948 if test "x$ac_cv_header_w32api_h" = xyes; then :
22949   cat >>confdefs.h <<_ACEOF
22950 #define HAVE_W32API_H 1
22951 _ACEOF
22952
22953 fi
22954
22955 done
22956
22957     ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
22958 "
22959 if test "x$ac_cv_header_windows_h" = xyes; then :
22960
22961 else
22962
22963         as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
22964
22965 fi
22966
22967
22968
22969     LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
22970     case "${host}" in
22971         x86_64-*-mingw32* )
22972                                                 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
22973         ;;
22974     esac
22975     if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22976         LIBS="$LIBS -loleacc"
22977     fi
22978
22979     case "${host}" in
22980         *-*-cygwin* )
22981                         LIBS="$LIBS -lkernel32 -luser32"
22982     esac
22983
22984         RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
22985     RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
22986
22987                 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
22988
22989         WIN32INSTALL=win32install
22990 fi
22991
22992 if test "$wxUSE_GUI" = "yes"; then
22993     USE_GUI=1
22994
22995     GUI_TK_LIBRARY=
22996
22997     WXGTK1=
22998     WXGTK127=
22999     WXGTK2=
23000     WXGTK3=
23001     WXGPE=
23002
23003     if test "$wxUSE_OLD_COCOA" = 1 ; then
23004         if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23005             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23006 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23007             wxUSE_PRINTING_ARCHITECTURE=no
23008         fi
23009         if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23010             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23011 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23012             wxUSE_DRAG_AND_DROP=no
23013         fi
23014         if test "$wxUSE_DRAGIMAGE" = "yes"; then
23015             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23016 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23017             wxUSE_DRAGIMAGE=no
23018         fi
23019     fi
23020
23021     if test "$wxUSE_MSW" = 1 ; then
23022         TOOLKIT=MSW
23023         GUIDIST=MSW_DIST
23024
23025                 case "${host}" in
23026             *-*-mingw32* )
23027                 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23028         esac
23029     fi
23030
23031     if test "$wxUSE_GTK" = 1; then
23032                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23033 $as_echo_n "checking for GTK+ version... " >&6; }
23034
23035         gtk_version_cached=1
23036         if ${wx_cv_lib_gtk+:} false; then :
23037   $as_echo_n "(cached) " >&6
23038 else
23039
23040                                                 gtk_version_cached=0
23041                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23042 $as_echo "" >&6; }
23043
23044                                                 GTK_MODULES=
23045                 if test "$wxUSE_THREADS" = "yes"; then
23046                     GTK_MODULES=gthread
23047                 fi
23048
23049                 if test -z "$wxGTK_VERSION"; then
23050                     wxGTK_VERSION=any
23051                 fi
23052
23053                                 wx_cv_lib_gtk=
23054                 if test "x$wxGTK_VERSION" != "x1"
23055                 then
23056                                                                                 case "${host}" in
23057                         *-*-solaris2* )
23058                             if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23059                                 enable_gtktest=no
23060                             fi
23061                     esac
23062
23063                     if test "$wxGTK_VERSION" != 3; then
23064                         # Check whether --enable-gtktest was given.
23065 if test "${enable_gtktest+set}" = set; then :
23066   enableval=$enable_gtktest;
23067 else
23068   enable_gtktest=yes
23069 fi
23070
23071
23072   pkg_config_args=gtk+-2.0
23073   for module in . $GTK_MODULES
23074   do
23075       case "$module" in
23076          gthread)
23077              pkg_config_args="$pkg_config_args gthread-2.0"
23078          ;;
23079       esac
23080   done
23081
23082   no_gtk=""
23083
23084   # Extract the first word of "pkg-config", so it can be a program name with args.
23085 set dummy pkg-config; ac_word=$2
23086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23087 $as_echo_n "checking for $ac_word... " >&6; }
23088 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23089   $as_echo_n "(cached) " >&6
23090 else
23091   case $PKG_CONFIG in
23092   [\\/]* | ?:[\\/]*)
23093   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23094   ;;
23095   *)
23096   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23097 for as_dir in $PATH
23098 do
23099   IFS=$as_save_IFS
23100   test -z "$as_dir" && as_dir=.
23101     for ac_exec_ext in '' $ac_executable_extensions; do
23102   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23103     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23104     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23105     break 2
23106   fi
23107 done
23108   done
23109 IFS=$as_save_IFS
23110
23111   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23112   ;;
23113 esac
23114 fi
23115 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23116 if test -n "$PKG_CONFIG"; then
23117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23118 $as_echo "$PKG_CONFIG" >&6; }
23119 else
23120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23121 $as_echo "no" >&6; }
23122 fi
23123
23124
23125
23126   if test x$PKG_CONFIG != xno ; then
23127     if pkg-config --atleast-pkgconfig-version 0.7 ; then
23128       :
23129     else
23130       echo "*** pkg-config too old; version 0.7 or better required."
23131       no_gtk=yes
23132       PKG_CONFIG=no
23133     fi
23134   else
23135     no_gtk=yes
23136   fi
23137
23138   min_gtk_version=2.6.0
23139   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23140 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23141
23142   if test x$PKG_CONFIG != xno ; then
23143     ## don't try to run the test against uninstalled libtool libs
23144     if $PKG_CONFIG --uninstalled $pkg_config_args; then
23145           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23146           enable_gtktest=no
23147     fi
23148
23149     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23150           :
23151     else
23152           no_gtk=yes
23153     fi
23154   fi
23155
23156   if test x"$no_gtk" = x ; then
23157     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23158     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23159     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23160            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23161     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23162            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23163     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23164            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23165     if test "x$enable_gtktest" = "xyes" ; then
23166       ac_save_CFLAGS="$CFLAGS"
23167       ac_save_LIBS="$LIBS"
23168       CFLAGS="$CFLAGS $GTK_CFLAGS"
23169       LIBS="$GTK_LIBS $LIBS"
23170       rm -f conf.gtktest
23171       if test "$cross_compiling" = yes; then :
23172   echo $ac_n "cross compiling; assumed OK... $ac_c"
23173 else
23174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23175 /* end confdefs.h.  */
23176
23177 #include <gtk/gtk.h>
23178 #include <stdio.h>
23179 #include <stdlib.h>
23180
23181 int
23182 main ()
23183 {
23184   int major, minor, micro;
23185   char *tmp_version;
23186
23187   system ("touch conf.gtktest");
23188
23189   /* HP/UX 9 (%@#!) writes to sscanf strings */
23190   tmp_version = g_strdup("$min_gtk_version");
23191   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23192      printf("%s, bad version string\n", "$min_gtk_version");
23193      exit(1);
23194    }
23195
23196   if ((gtk_major_version != $gtk_config_major_version) ||
23197       (gtk_minor_version != $gtk_config_minor_version) ||
23198       (gtk_micro_version != $gtk_config_micro_version))
23199     {
23200       printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23201              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23202              gtk_major_version, gtk_minor_version, gtk_micro_version);
23203       printf ("*** was found! If pkg-config was correct, then it is best\n");
23204       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23205       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23206       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23207       printf("*** required on your system.\n");
23208       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23209       printf("*** to point to the correct configuration files\n");
23210     }
23211   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23212            (gtk_minor_version != GTK_MINOR_VERSION) ||
23213            (gtk_micro_version != GTK_MICRO_VERSION))
23214     {
23215       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23216              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23217       printf("*** library (version %d.%d.%d)\n",
23218              gtk_major_version, gtk_minor_version, gtk_micro_version);
23219     }
23220   else
23221     {
23222       if ((gtk_major_version > major) ||
23223         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23224         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23225       {
23226         return 0;
23227        }
23228      else
23229       {
23230         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23231                gtk_major_version, gtk_minor_version, gtk_micro_version);
23232         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23233                major, minor, micro);
23234         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23235         printf("***\n");
23236         printf("*** If you have already installed a sufficiently new version, this error\n");
23237         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23238         printf("*** being found. The easiest way to fix this is to remove the old version\n");
23239         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23240         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23241         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23242         printf("*** so that the correct libraries are found at run-time))\n");
23243       }
23244     }
23245   return 1;
23246 }
23247
23248 _ACEOF
23249 if ac_fn_c_try_run "$LINENO"; then :
23250
23251 else
23252   no_gtk=yes
23253 fi
23254 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23255   conftest.$ac_objext conftest.beam conftest.$ac_ext
23256 fi
23257
23258        CFLAGS="$ac_save_CFLAGS"
23259        LIBS="$ac_save_LIBS"
23260      fi
23261   fi
23262   if test "x$no_gtk" = x ; then
23263      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23264 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23265      wx_cv_lib_gtk=2.0
23266   else
23267      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23268 $as_echo "no" >&6; }
23269      if test "$PKG_CONFIG" = "no" ; then
23270        echo "*** A new enough version of pkg-config was not found."
23271        echo "*** See http://pkgconfig.sourceforge.net"
23272      else
23273        if test -f conf.gtktest ; then
23274         :
23275        else
23276           echo "*** Could not run GTK+ test program, checking why..."
23277           ac_save_CFLAGS="$CFLAGS"
23278           ac_save_LIBS="$LIBS"
23279           CFLAGS="$CFLAGS $GTK_CFLAGS"
23280           LIBS="$LIBS $GTK_LIBS"
23281           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23282 /* end confdefs.h.  */
23283
23284 #include <gtk/gtk.h>
23285 #include <stdio.h>
23286
23287 int
23288 main ()
23289 {
23290  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23291   ;
23292   return 0;
23293 }
23294 _ACEOF
23295 if ac_fn_c_try_link "$LINENO"; then :
23296    echo "*** The test program compiled, but did not run. This usually means"
23297           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23298           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23299           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23300           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
23301           echo "*** is required on your system"
23302           echo "***"
23303           echo "*** If you have an old version installed, it is best to remove it, although"
23304           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23305 else
23306    echo "*** The test program failed to compile or link. See the file config.log for the"
23307           echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23308 fi
23309 rm -f core conftest.err conftest.$ac_objext \
23310     conftest$ac_exeext conftest.$ac_ext
23311           CFLAGS="$ac_save_CFLAGS"
23312           LIBS="$ac_save_LIBS"
23313        fi
23314      fi
23315      GTK_CFLAGS=""
23316      GTK_LIBS=""
23317      :
23318   fi
23319
23320
23321   rm -f conf.gtktest
23322
23323                     fi
23324                     if test -z "$wx_cv_lib_gtk"; then
23325                         if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then
23326                             # Check whether --enable-gtktest was given.
23327 if test "${enable_gtktest+set}" = set; then :
23328   enableval=$enable_gtktest;
23329 else
23330   enable_gtktest=yes
23331 fi
23332
23333
23334   pkg_config_args=gtk+-3.0
23335   for module in . $GTK_MODULES
23336   do
23337       case "$module" in
23338          gthread)
23339              pkg_config_args="$pkg_config_args gthread-2.0"
23340          ;;
23341       esac
23342   done
23343
23344   no_gtk=""
23345
23346   # Extract the first word of "pkg-config", so it can be a program name with args.
23347 set dummy pkg-config; ac_word=$2
23348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23349 $as_echo_n "checking for $ac_word... " >&6; }
23350 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23351   $as_echo_n "(cached) " >&6
23352 else
23353   case $PKG_CONFIG in
23354   [\\/]* | ?:[\\/]*)
23355   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23356   ;;
23357   *)
23358   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23359 for as_dir in $PATH
23360 do
23361   IFS=$as_save_IFS
23362   test -z "$as_dir" && as_dir=.
23363     for ac_exec_ext in '' $ac_executable_extensions; do
23364   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23365     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23366     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23367     break 2
23368   fi
23369 done
23370   done
23371 IFS=$as_save_IFS
23372
23373   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23374   ;;
23375 esac
23376 fi
23377 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23378 if test -n "$PKG_CONFIG"; then
23379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23380 $as_echo "$PKG_CONFIG" >&6; }
23381 else
23382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23383 $as_echo "no" >&6; }
23384 fi
23385
23386
23387
23388   if test x$PKG_CONFIG != xno ; then
23389     if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23390       :
23391     else
23392       echo "*** pkg-config too old; version 0.7 or better required."
23393       no_gtk=yes
23394       PKG_CONFIG=no
23395     fi
23396   else
23397     no_gtk=yes
23398   fi
23399
23400   min_gtk_version=3.0.0
23401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23402 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23403
23404   if test x$PKG_CONFIG != xno ; then
23405     ## don't try to run the test against uninstalled libtool libs
23406     if $PKG_CONFIG --uninstalled $pkg_config_args; then
23407           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23408           enable_gtktest=no
23409     fi
23410
23411     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23412           :
23413     else
23414           no_gtk=yes
23415     fi
23416   fi
23417
23418   if test x"$no_gtk" = x ; then
23419     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23420     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23421     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23422            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23423     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23424            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23425     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23426            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23427     if test "x$enable_gtktest" = "xyes" ; then
23428       ac_save_CFLAGS="$CFLAGS"
23429       ac_save_LIBS="$LIBS"
23430       CFLAGS="$CFLAGS $GTK_CFLAGS"
23431       LIBS="$GTK_LIBS $LIBS"
23432       rm -f conf.gtktest
23433       if test "$cross_compiling" = yes; then :
23434   echo $ac_n "cross compiling; assumed OK... $ac_c"
23435 else
23436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23437 /* end confdefs.h.  */
23438
23439 #include <gtk/gtk.h>
23440 #include <stdio.h>
23441 #include <stdlib.h>
23442
23443 int
23444 main ()
23445 {
23446   int major, minor, micro;
23447   char *tmp_version;
23448
23449   fclose (fopen ("conf.gtktest", "w"));
23450
23451   /* HP/UX 9 (%@#!) writes to sscanf strings */
23452   tmp_version = g_strdup("$min_gtk_version");
23453   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23454      printf("%s, bad version string\n", "$min_gtk_version");
23455      exit(1);
23456    }
23457
23458   if ((gtk_major_version != $gtk_config_major_version) ||
23459       (gtk_minor_version != $gtk_config_minor_version) ||
23460       (gtk_micro_version != $gtk_config_micro_version))
23461     {
23462       printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23463              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23464              gtk_major_version, gtk_minor_version, gtk_micro_version);
23465       printf ("*** was found! If pkg-config was correct, then it is best\n");
23466       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23467       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23468       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23469       printf("*** required on your system.\n");
23470       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23471       printf("*** to point to the correct configuration files\n");
23472     }
23473   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23474            (gtk_minor_version != GTK_MINOR_VERSION) ||
23475            (gtk_micro_version != GTK_MICRO_VERSION))
23476     {
23477       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23478              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23479       printf("*** library (version %d.%d.%d)\n",
23480              gtk_major_version, gtk_minor_version, gtk_micro_version);
23481     }
23482   else
23483     {
23484       if ((gtk_major_version > major) ||
23485         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23486         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23487       {
23488         return 0;
23489        }
23490      else
23491       {
23492         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23493                gtk_major_version, gtk_minor_version, gtk_micro_version);
23494         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23495                major, minor, micro);
23496         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23497         printf("***\n");
23498         printf("*** If you have already installed a sufficiently new version, this error\n");
23499         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23500         printf("*** being found. The easiest way to fix this is to remove the old version\n");
23501         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23502         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23503         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23504         printf("*** so that the correct libraries are found at run-time))\n");
23505       }
23506     }
23507   return 1;
23508 }
23509
23510 _ACEOF
23511 if ac_fn_c_try_run "$LINENO"; then :
23512
23513 else
23514   no_gtk=yes
23515 fi
23516 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23517   conftest.$ac_objext conftest.beam conftest.$ac_ext
23518 fi
23519
23520        CFLAGS="$ac_save_CFLAGS"
23521        LIBS="$ac_save_LIBS"
23522      fi
23523   fi
23524   if test "x$no_gtk" = x ; then
23525      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23526 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23527      wx_cv_lib_gtk=3
23528   else
23529      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23530 $as_echo "no" >&6; }
23531      if test "$PKG_CONFIG" = "no" ; then
23532        echo "*** A new enough version of pkg-config was not found."
23533        echo "*** See http://pkgconfig.sourceforge.net"
23534      else
23535        if test -f conf.gtktest ; then
23536         :
23537        else
23538           echo "*** Could not run GTK+ test program, checking why..."
23539           ac_save_CFLAGS="$CFLAGS"
23540           ac_save_LIBS="$LIBS"
23541           CFLAGS="$CFLAGS $GTK_CFLAGS"
23542           LIBS="$LIBS $GTK_LIBS"
23543           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23544 /* end confdefs.h.  */
23545
23546 #include <gtk/gtk.h>
23547 #include <stdio.h>
23548
23549 int
23550 main ()
23551 {
23552  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23553   ;
23554   return 0;
23555 }
23556 _ACEOF
23557 if ac_fn_c_try_link "$LINENO"; then :
23558    echo "*** The test program compiled, but did not run. This usually means"
23559           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23560           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23561           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23562           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
23563           echo "*** is required on your system"
23564           echo "***"
23565           echo "*** If you have an old version installed, it is best to remove it, although"
23566           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23567 else
23568    echo "*** The test program failed to compile or link. See the file config.log for the"
23569           echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23570 fi
23571 rm -f core conftest.err conftest.$ac_objext \
23572     conftest$ac_exeext conftest.$ac_ext
23573           CFLAGS="$ac_save_CFLAGS"
23574           LIBS="$ac_save_LIBS"
23575        fi
23576      fi
23577      GTK_CFLAGS=""
23578      GTK_LIBS=""
23579      :
23580   fi
23581
23582
23583   rm -f conf.gtktest
23584
23585                         fi
23586                     fi
23587                 fi
23588
23589                                 if test -z "$wx_cv_lib_gtk"; then
23590                     if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23591
23592 # Check whether --with-gtk-prefix was given.
23593 if test "${with_gtk_prefix+set}" = set; then :
23594   withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23595 else
23596   gtk_config_prefix=""
23597 fi
23598
23599
23600 # Check whether --with-gtk-exec-prefix was given.
23601 if test "${with_gtk_exec_prefix+set}" = set; then :
23602   withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23603 else
23604   gtk_config_exec_prefix=""
23605 fi
23606
23607 # Check whether --enable-gtktest was given.
23608 if test "${enable_gtktest+set}" = set; then :
23609   enableval=$enable_gtktest;
23610 else
23611   enable_gtktest=yes
23612 fi
23613
23614
23615   for module in . $GTK_MODULES
23616   do
23617       case "$module" in
23618          gthread)
23619              gtk_config_args="$gtk_config_args gthread"
23620          ;;
23621       esac
23622   done
23623
23624   if test x$gtk_config_exec_prefix != x ; then
23625      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23626      if test x${GTK_CONFIG+set} != xset ; then
23627         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23628      fi
23629   fi
23630   if test x$gtk_config_prefix != x ; then
23631      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23632      if test x${GTK_CONFIG+set} != xset ; then
23633         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23634      fi
23635   fi
23636
23637   # Extract the first word of "gtk-config", so it can be a program name with args.
23638 set dummy gtk-config; ac_word=$2
23639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23640 $as_echo_n "checking for $ac_word... " >&6; }
23641 if ${ac_cv_path_GTK_CONFIG+:} false; then :
23642   $as_echo_n "(cached) " >&6
23643 else
23644   case $GTK_CONFIG in
23645   [\\/]* | ?:[\\/]*)
23646   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23647   ;;
23648   *)
23649   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23650 for as_dir in $PATH
23651 do
23652   IFS=$as_save_IFS
23653   test -z "$as_dir" && as_dir=.
23654     for ac_exec_ext in '' $ac_executable_extensions; do
23655   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23656     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23657     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23658     break 2
23659   fi
23660 done
23661   done
23662 IFS=$as_save_IFS
23663
23664   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23665   ;;
23666 esac
23667 fi
23668 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23669 if test -n "$GTK_CONFIG"; then
23670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23671 $as_echo "$GTK_CONFIG" >&6; }
23672 else
23673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23674 $as_echo "no" >&6; }
23675 fi
23676
23677
23678   min_gtk_version=1.2.7
23679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23680 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23681   no_gtk=""
23682   if test "$GTK_CONFIG" = "no" ; then
23683     no_gtk=yes
23684   else
23685     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23686     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23687     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23688            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23689     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23690            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23691     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23692            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23693     if test "x$enable_gtktest" = "xyes" ; then
23694       ac_save_CFLAGS="$CFLAGS"
23695       ac_save_LIBS="$LIBS"
23696       CFLAGS="$CFLAGS $GTK_CFLAGS"
23697       LIBS="$GTK_LIBS $LIBS"
23698       rm -f conf.gtktest
23699       if test "$cross_compiling" = yes; then :
23700   echo $ac_n "cross compiling; assumed OK... $ac_c"
23701 else
23702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23703 /* end confdefs.h.  */
23704
23705 #include <gtk/gtk.h>
23706 #include <stdio.h>
23707 #include <stdlib.h>
23708
23709 int
23710 main ()
23711 {
23712   int major, minor, micro;
23713   char *tmp_version;
23714
23715   system ("touch conf.gtktest");
23716
23717   /* HP/UX 9 (%@#!) writes to sscanf strings */
23718   tmp_version = g_strdup("$min_gtk_version");
23719   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23720      printf("%s, bad version string\n", "$min_gtk_version");
23721      exit(1);
23722    }
23723
23724   if ((gtk_major_version != $gtk_config_major_version) ||
23725       (gtk_minor_version != $gtk_config_minor_version) ||
23726       (gtk_micro_version != $gtk_config_micro_version))
23727     {
23728       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23729              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23730              gtk_major_version, gtk_minor_version, gtk_micro_version);
23731       printf ("*** was found! If gtk-config was correct, then it is best\n");
23732       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23733       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23734       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23735       printf("*** required on your system.\n");
23736       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23737       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23738       printf("*** before re-running configure\n");
23739     }
23740 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23741   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23742            (gtk_minor_version != GTK_MINOR_VERSION) ||
23743            (gtk_micro_version != GTK_MICRO_VERSION))
23744     {
23745       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23746              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23747       printf("*** library (version %d.%d.%d)\n",
23748              gtk_major_version, gtk_minor_version, gtk_micro_version);
23749     }
23750 #endif /* defined (GTK_MAJOR_VERSION) ... */
23751   else
23752     {
23753       if ((gtk_major_version > major) ||
23754         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23755         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23756       {
23757         return 0;
23758        }
23759      else
23760       {
23761         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23762                gtk_major_version, gtk_minor_version, gtk_micro_version);
23763         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23764                major, minor, micro);
23765         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23766         printf("***\n");
23767         printf("*** If you have already installed a sufficiently new version, this error\n");
23768         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23769         printf("*** being found. The easiest way to fix this is to remove the old version\n");
23770         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23771         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23772         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23773         printf("*** so that the correct libraries are found at run-time))\n");
23774       }
23775     }
23776   return 1;
23777 }
23778
23779 _ACEOF
23780 if ac_fn_c_try_run "$LINENO"; then :
23781
23782 else
23783   no_gtk=yes
23784 fi
23785 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23786   conftest.$ac_objext conftest.beam conftest.$ac_ext
23787 fi
23788
23789        CFLAGS="$ac_save_CFLAGS"
23790        LIBS="$ac_save_LIBS"
23791      fi
23792   fi
23793   if test "x$no_gtk" = x ; then
23794      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23795 $as_echo "yes" >&6; }
23796      wx_cv_lib_gtk=1.2.7
23797   else
23798      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23799 $as_echo "no" >&6; }
23800      if test "$GTK_CONFIG" = "no" ; then
23801        echo "*** The gtk-config script installed by GTK could not be found"
23802        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23803        echo "*** your path, or set the GTK_CONFIG environment variable to the"
23804        echo "*** full path to gtk-config."
23805      else
23806        if test -f conf.gtktest ; then
23807         :
23808        else
23809           echo "*** Could not run GTK test program, checking why..."
23810           CFLAGS="$CFLAGS $GTK_CFLAGS"
23811           LIBS="$LIBS $GTK_LIBS"
23812           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23813 /* end confdefs.h.  */
23814
23815 #include <gtk/gtk.h>
23816 #include <stdio.h>
23817
23818 int
23819 main ()
23820 {
23821  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23822   ;
23823   return 0;
23824 }
23825 _ACEOF
23826 if ac_fn_c_try_link "$LINENO"; then :
23827    echo "*** The test program compiled, but did not run. This usually means"
23828           echo "*** that the run-time linker is not finding GTK or finding the wrong"
23829           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23830           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23831           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
23832           echo "*** is required on your system"
23833           echo "***"
23834           echo "*** If you have an old version installed, it is best to remove it, although"
23835           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23836           echo "***"
23837           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23838           echo "*** came with the system with the command"
23839           echo "***"
23840           echo "***    rpm --erase --nodeps gtk gtk-devel"
23841 else
23842    echo "*** The test program failed to compile or link. See the file config.log for the"
23843           echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
23844           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23845           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23846 fi
23847 rm -f core conftest.err conftest.$ac_objext \
23848     conftest$ac_exeext conftest.$ac_ext
23849           CFLAGS="$ac_save_CFLAGS"
23850           LIBS="$ac_save_LIBS"
23851        fi
23852      fi
23853      GTK_CFLAGS=""
23854      GTK_LIBS=""
23855      :
23856   fi
23857
23858
23859   rm -f conf.gtktest
23860
23861
23862                         if test -z "$wx_cv_lib_gtk"; then
23863
23864 # Check whether --with-gtk-prefix was given.
23865 if test "${with_gtk_prefix+set}" = set; then :
23866   withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23867 else
23868   gtk_config_prefix=""
23869 fi
23870
23871
23872 # Check whether --with-gtk-exec-prefix was given.
23873 if test "${with_gtk_exec_prefix+set}" = set; then :
23874   withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23875 else
23876   gtk_config_exec_prefix=""
23877 fi
23878
23879 # Check whether --enable-gtktest was given.
23880 if test "${enable_gtktest+set}" = set; then :
23881   enableval=$enable_gtktest;
23882 else
23883   enable_gtktest=yes
23884 fi
23885
23886
23887   for module in . $GTK_MODULES
23888   do
23889       case "$module" in
23890          gthread)
23891              gtk_config_args="$gtk_config_args gthread"
23892          ;;
23893       esac
23894   done
23895
23896   if test x$gtk_config_exec_prefix != x ; then
23897      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23898      if test x${GTK_CONFIG+set} != xset ; then
23899         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23900      fi
23901   fi
23902   if test x$gtk_config_prefix != x ; then
23903      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23904      if test x${GTK_CONFIG+set} != xset ; then
23905         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23906      fi
23907   fi
23908
23909   # Extract the first word of "gtk-config", so it can be a program name with args.
23910 set dummy gtk-config; ac_word=$2
23911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23912 $as_echo_n "checking for $ac_word... " >&6; }
23913 if ${ac_cv_path_GTK_CONFIG+:} false; then :
23914   $as_echo_n "(cached) " >&6
23915 else
23916   case $GTK_CONFIG in
23917   [\\/]* | ?:[\\/]*)
23918   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23919   ;;
23920   *)
23921   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23922 for as_dir in $PATH
23923 do
23924   IFS=$as_save_IFS
23925   test -z "$as_dir" && as_dir=.
23926     for ac_exec_ext in '' $ac_executable_extensions; do
23927   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23928     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23929     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23930     break 2
23931   fi
23932 done
23933   done
23934 IFS=$as_save_IFS
23935
23936   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23937   ;;
23938 esac
23939 fi
23940 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23941 if test -n "$GTK_CONFIG"; then
23942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23943 $as_echo "$GTK_CONFIG" >&6; }
23944 else
23945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23946 $as_echo "no" >&6; }
23947 fi
23948
23949
23950   min_gtk_version=1.2.3
23951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23952 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23953   no_gtk=""
23954   if test "$GTK_CONFIG" = "no" ; then
23955     no_gtk=yes
23956   else
23957     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23958     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23959     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23960            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23961     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23962            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23963     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23964            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23965     if test "x$enable_gtktest" = "xyes" ; then
23966       ac_save_CFLAGS="$CFLAGS"
23967       ac_save_LIBS="$LIBS"
23968       CFLAGS="$CFLAGS $GTK_CFLAGS"
23969       LIBS="$GTK_LIBS $LIBS"
23970       rm -f conf.gtktest
23971       if test "$cross_compiling" = yes; then :
23972   echo $ac_n "cross compiling; assumed OK... $ac_c"
23973 else
23974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23975 /* end confdefs.h.  */
23976
23977 #include <gtk/gtk.h>
23978 #include <stdio.h>
23979 #include <stdlib.h>
23980
23981 int
23982 main ()
23983 {
23984   int major, minor, micro;
23985   char *tmp_version;
23986
23987   system ("touch conf.gtktest");
23988
23989   /* HP/UX 9 (%@#!) writes to sscanf strings */
23990   tmp_version = g_strdup("$min_gtk_version");
23991   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23992      printf("%s, bad version string\n", "$min_gtk_version");
23993      exit(1);
23994    }
23995
23996   if ((gtk_major_version != $gtk_config_major_version) ||
23997       (gtk_minor_version != $gtk_config_minor_version) ||
23998       (gtk_micro_version != $gtk_config_micro_version))
23999     {
24000       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24001              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24002              gtk_major_version, gtk_minor_version, gtk_micro_version);
24003       printf ("*** was found! If gtk-config was correct, then it is best\n");
24004       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24005       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24006       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24007       printf("*** required on your system.\n");
24008       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24009       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24010       printf("*** before re-running configure\n");
24011     }
24012 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24013   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24014            (gtk_minor_version != GTK_MINOR_VERSION) ||
24015            (gtk_micro_version != GTK_MICRO_VERSION))
24016     {
24017       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24018              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24019       printf("*** library (version %d.%d.%d)\n",
24020              gtk_major_version, gtk_minor_version, gtk_micro_version);
24021     }
24022 #endif /* defined (GTK_MAJOR_VERSION) ... */
24023   else
24024     {
24025       if ((gtk_major_version > major) ||
24026         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24027         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24028       {
24029         return 0;
24030        }
24031      else
24032       {
24033         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24034                gtk_major_version, gtk_minor_version, gtk_micro_version);
24035         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24036                major, minor, micro);
24037         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24038         printf("***\n");
24039         printf("*** If you have already installed a sufficiently new version, this error\n");
24040         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24041         printf("*** being found. The easiest way to fix this is to remove the old version\n");
24042         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24043         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24044         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24045         printf("*** so that the correct libraries are found at run-time))\n");
24046       }
24047     }
24048   return 1;
24049 }
24050
24051 _ACEOF
24052 if ac_fn_c_try_run "$LINENO"; then :
24053
24054 else
24055   no_gtk=yes
24056 fi
24057 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24058   conftest.$ac_objext conftest.beam conftest.$ac_ext
24059 fi
24060
24061        CFLAGS="$ac_save_CFLAGS"
24062        LIBS="$ac_save_LIBS"
24063      fi
24064   fi
24065   if test "x$no_gtk" = x ; then
24066      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24067 $as_echo "yes" >&6; }
24068      wx_cv_lib_gtk=1.2.3
24069   else
24070      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24071 $as_echo "no" >&6; }
24072      if test "$GTK_CONFIG" = "no" ; then
24073        echo "*** The gtk-config script installed by GTK could not be found"
24074        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24075        echo "*** your path, or set the GTK_CONFIG environment variable to the"
24076        echo "*** full path to gtk-config."
24077      else
24078        if test -f conf.gtktest ; then
24079         :
24080        else
24081           echo "*** Could not run GTK test program, checking why..."
24082           CFLAGS="$CFLAGS $GTK_CFLAGS"
24083           LIBS="$LIBS $GTK_LIBS"
24084           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24085 /* end confdefs.h.  */
24086
24087 #include <gtk/gtk.h>
24088 #include <stdio.h>
24089
24090 int
24091 main ()
24092 {
24093  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24094   ;
24095   return 0;
24096 }
24097 _ACEOF
24098 if ac_fn_c_try_link "$LINENO"; then :
24099    echo "*** The test program compiled, but did not run. This usually means"
24100           echo "*** that the run-time linker is not finding GTK or finding the wrong"
24101           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24102           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24103           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
24104           echo "*** is required on your system"
24105           echo "***"
24106           echo "*** If you have an old version installed, it is best to remove it, although"
24107           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24108           echo "***"
24109           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24110           echo "*** came with the system with the command"
24111           echo "***"
24112           echo "***    rpm --erase --nodeps gtk gtk-devel"
24113 else
24114    echo "*** The test program failed to compile or link. See the file config.log for the"
24115           echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24116           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24117           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24118 fi
24119 rm -f core conftest.err conftest.$ac_objext \
24120     conftest$ac_exeext conftest.$ac_ext
24121           CFLAGS="$ac_save_CFLAGS"
24122           LIBS="$ac_save_LIBS"
24123        fi
24124      fi
24125      GTK_CFLAGS=""
24126      GTK_LIBS=""
24127      :
24128   fi
24129
24130
24131   rm -f conf.gtktest
24132
24133                         fi
24134                     fi
24135                 fi
24136
24137                 if test -z "$wx_cv_lib_gtk"; then
24138                                         wx_cv_lib_gtk=none
24139                 else
24140                                         GTK_LIBS="$GTK_LIBS -lX11"
24141
24142                                                             wx_cv_cflags_gtk=$GTK_CFLAGS
24143                     wx_cv_libs_gtk=$GTK_LIBS
24144                 fi
24145
24146
24147 fi
24148
24149
24150                         if test "$gtk_version_cached" = 1; then
24151             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24152 $as_echo "$wx_cv_lib_gtk" >&6; }
24153         fi
24154
24155         case "$wx_cv_lib_gtk" in
24156             3)      WXGTK3=1
24157                     TOOLKIT_VERSION=3
24158                     ;;
24159             2.0)    WXGTK2=1
24160                     TOOLKIT_VERSION=2
24161                     ;;
24162             1.2.7)  WXGTK127=1
24163                     WXGTK1=1
24164                     ;;
24165             1.2*)   WXGTK1=1 ;;
24166             *)      as_fn_error $? "
24167 The development files for GTK+ were not found. For GTK+ 2, please
24168 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24169 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24170 and that the version is 1.2.3 or above. Also check that the
24171 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24172 --libs' are in the LD_LIBRARY_PATH or equivalent.
24173                             " "$LINENO" 5
24174                     ;;
24175         esac
24176
24177         if test "$WXGTK3" = 1; then
24178             $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24179
24180             $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24181
24182         elif test "$WXGTK2" = 1; then
24183             save_CFLAGS="$CFLAGS"
24184             save_LIBS="$LIBS"
24185             CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
24186             LIBS="$LIBS $wx_cv_libs_gtk"
24187
24188                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24189 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24190             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24191 /* end confdefs.h.  */
24192
24193                             #include <gtk/gtk.h>
24194
24195 int
24196 main ()
24197 {
24198
24199                             #if !GTK_CHECK_VERSION(2,18,0)
24200                             Not GTK+ 2.18
24201                             #endif
24202
24203   ;
24204   return 0;
24205 }
24206 _ACEOF
24207 if ac_fn_c_try_compile "$LINENO"; then :
24208
24209                             $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24210
24211                             $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24212
24213                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24214 $as_echo "yes" >&6; }
24215                             ac_wxgtk218=1
24216
24217 else
24218
24219                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24220 $as_echo "no" >&6; }
24221                             ac_wxgtk218=0
24222
24223 fi
24224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24225
24226             if test "$ac_wxgtk218" = 0; then
24227                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24228 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24229                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24230 /* end confdefs.h.  */
24231
24232                                 #include <gtk/gtk.h>
24233
24234 int
24235 main ()
24236 {
24237
24238                                 #if !GTK_CHECK_VERSION(2,10,0)
24239                                 Not GTK+ 2.10
24240                                 #endif
24241
24242   ;
24243   return 0;
24244 }
24245 _ACEOF
24246 if ac_fn_c_try_compile "$LINENO"; then :
24247
24248                                 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24249
24250                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24251 $as_echo "yes" >&6; }
24252                                 ac_wxgtk210=1
24253
24254 else
24255
24256                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24257 $as_echo "no" >&6; }
24258                                 ac_wxgtk210=0
24259
24260 fi
24261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24262             fi
24263
24264             CFLAGS="$save_CFLAGS"
24265             LIBS="$save_LIBS"
24266         else
24267             if test "$wxUSE_UNICODE" = "yes"; then
24268                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24269 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24270                 wxUSE_UNICODE=no
24271             fi
24272
24273                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24274 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24275 if ${ac_cv_lib_gdk_gdk_im_open+:} false; then :
24276   $as_echo_n "(cached) " >&6
24277 else
24278   ac_check_lib_save_LIBS=$LIBS
24279 LIBS="-lgdk  $LIBS"
24280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24281 /* end confdefs.h.  */
24282
24283 /* Override any GCC internal prototype to avoid an error.
24284    Use char because int might match the return type of a GCC
24285    builtin and then its argument prototype would still apply.  */
24286 #ifdef __cplusplus
24287 extern "C"
24288 #endif
24289 char gdk_im_open ();
24290 int
24291 main ()
24292 {
24293 return gdk_im_open ();
24294   ;
24295   return 0;
24296 }
24297 _ACEOF
24298 if ac_fn_c_try_link "$LINENO"; then :
24299   ac_cv_lib_gdk_gdk_im_open=yes
24300 else
24301   ac_cv_lib_gdk_gdk_im_open=no
24302 fi
24303 rm -f core conftest.err conftest.$ac_objext \
24304     conftest$ac_exeext conftest.$ac_ext
24305 LIBS=$ac_check_lib_save_LIBS
24306 fi
24307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24308 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24309 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes; then :
24310   $as_echo "#define HAVE_XIM 1" >>confdefs.h
24311
24312 fi
24313
24314
24315                                     if test "$USE_DARWIN" != 1; then
24316                 for ac_func in poll
24317 do :
24318   ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
24319 if test "x$ac_cv_func_poll" = xyes; then :
24320   cat >>confdefs.h <<_ACEOF
24321 #define HAVE_POLL 1
24322 _ACEOF
24323
24324 fi
24325 done
24326
24327             fi
24328         fi
24329
24330         TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24331         GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24332         AFMINSTALL=afminstall
24333         TOOLKIT=GTK
24334         GUIDIST=GTK_DIST
24335
24336                 if test "$wxUSE_GPE" = "yes"; then
24337             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24338 $as_echo_n "checking for gpewidget library... " >&6; }
24339
24340   ac_find_libraries=
24341   for ac_dir in  $SEARCH_LIB
24342   do
24343     for ac_extension in a so sl dylib dll.a; do
24344       if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24345         ac_find_libraries=$ac_dir
24346         break 2
24347       fi
24348     done
24349   done
24350
24351             if test "$ac_find_libraries" != "" ; then
24352
24353     if test "$ac_find_libraries" = "default location"; then
24354     ac_path_to_link=""
24355   else
24356     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24357     result=$?
24358     if test $result = 0; then
24359       ac_path_to_link=""
24360     else
24361       ac_path_to_link=" -L$ac_find_libraries"
24362     fi
24363   fi
24364
24365                                                 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24366                 WXGPE=1
24367                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24368 $as_echo "found in $ac_find_libraries" >&6; }
24369             else
24370                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24371 $as_echo "not found" >&6; }
24372             fi
24373
24374                                                                                                                     fi
24375     fi
24376
24377     if test "$wxUSE_DFB" = 1; then
24378
24379
24380 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24381         if test -n "$ac_tool_prefix"; then
24382   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24383 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24385 $as_echo_n "checking for $ac_word... " >&6; }
24386 if ${ac_cv_path_PKG_CONFIG+:} false; then :
24387   $as_echo_n "(cached) " >&6
24388 else
24389   case $PKG_CONFIG in
24390   [\\/]* | ?:[\\/]*)
24391   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24392   ;;
24393   *)
24394   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24395 for as_dir in $PATH
24396 do
24397   IFS=$as_save_IFS
24398   test -z "$as_dir" && as_dir=.
24399     for ac_exec_ext in '' $ac_executable_extensions; do
24400   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24401     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24402     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24403     break 2
24404   fi
24405 done
24406   done
24407 IFS=$as_save_IFS
24408
24409   ;;
24410 esac
24411 fi
24412 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24413 if test -n "$PKG_CONFIG"; then
24414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24415 $as_echo "$PKG_CONFIG" >&6; }
24416 else
24417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24418 $as_echo "no" >&6; }
24419 fi
24420
24421
24422 fi
24423 if test -z "$ac_cv_path_PKG_CONFIG"; then
24424   ac_pt_PKG_CONFIG=$PKG_CONFIG
24425   # Extract the first word of "pkg-config", so it can be a program name with args.
24426 set dummy pkg-config; ac_word=$2
24427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24428 $as_echo_n "checking for $ac_word... " >&6; }
24429 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
24430   $as_echo_n "(cached) " >&6
24431 else
24432   case $ac_pt_PKG_CONFIG in
24433   [\\/]* | ?:[\\/]*)
24434   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24435   ;;
24436   *)
24437   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24438 for as_dir in $PATH
24439 do
24440   IFS=$as_save_IFS
24441   test -z "$as_dir" && as_dir=.
24442     for ac_exec_ext in '' $ac_executable_extensions; do
24443   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24444     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24445     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24446     break 2
24447   fi
24448 done
24449   done
24450 IFS=$as_save_IFS
24451
24452   ;;
24453 esac
24454 fi
24455 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24456 if test -n "$ac_pt_PKG_CONFIG"; then
24457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24458 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24459 else
24460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24461 $as_echo "no" >&6; }
24462 fi
24463
24464   if test "x$ac_pt_PKG_CONFIG" = x; then
24465     PKG_CONFIG=""
24466   else
24467     case $cross_compiling:$ac_tool_warned in
24468 yes:)
24469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24471 ac_tool_warned=yes ;;
24472 esac
24473     PKG_CONFIG=$ac_pt_PKG_CONFIG
24474   fi
24475 else
24476   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24477 fi
24478
24479 fi
24480 if test -n "$PKG_CONFIG"; then
24481         _pkg_min_version=0.9.0
24482         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24483 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24484         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24485                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24486 $as_echo "yes" >&6; }
24487         else
24488                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24489 $as_echo "no" >&6; }
24490                 PKG_CONFIG=""
24491         fi
24492
24493 fi
24494
24495
24496 pkg_failed=no
24497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24498 $as_echo_n "checking for DIRECTFB... " >&6; }
24499
24500 if test -n "$PKG_CONFIG"; then
24501     if test -n "$DIRECTFB_CFLAGS"; then
24502         pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24503     else
24504         if test -n "$PKG_CONFIG" && \
24505     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24506   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24507   ac_status=$?
24508   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24509   test $ac_status = 0; }; then
24510   pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24511 else
24512   pkg_failed=yes
24513 fi
24514     fi
24515 else
24516         pkg_failed=untried
24517 fi
24518 if test -n "$PKG_CONFIG"; then
24519     if test -n "$DIRECTFB_LIBS"; then
24520         pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24521     else
24522         if test -n "$PKG_CONFIG" && \
24523     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24524   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24525   ac_status=$?
24526   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24527   test $ac_status = 0; }; then
24528   pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24529 else
24530   pkg_failed=yes
24531 fi
24532     fi
24533 else
24534         pkg_failed=untried
24535 fi
24536
24537
24538
24539 if test $pkg_failed = yes; then
24540
24541 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24542         _pkg_short_errors_supported=yes
24543 else
24544         _pkg_short_errors_supported=no
24545 fi
24546         if test $_pkg_short_errors_supported = yes; then
24547                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24548         else
24549                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24550         fi
24551         # Put the nasty error message in config.log where it belongs
24552         echo "$DIRECTFB_PKG_ERRORS" >&5
24553
24554
24555                            as_fn_error $? "DirectFB not found." "$LINENO" 5
24556
24557
24558 elif test $pkg_failed = untried; then
24559
24560                            as_fn_error $? "DirectFB not found." "$LINENO" 5
24561
24562
24563 else
24564         DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24565         DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24566         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24567 $as_echo "yes" >&6; }
24568
24569                            wxUSE_UNIVERSAL="yes"
24570                            TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
24571                            GUI_TK_LIBRARY="$DIRECTFB_LIBS"
24572                            TOOLKIT=DFB
24573                            GUIDIST=DFB_DIST
24574
24575 fi
24576     fi
24577
24578     if test "$wxUSE_MICROWIN" = 1; then
24579         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24580 $as_echo_n "checking for MicroWindows... " >&6; }
24581         if test "x$MICROWINDOWS" = x ; then
24582             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24583 $as_echo "not found" >&6; }
24584             as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24585         else
24586             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24587 $as_echo "$MICROWINDOWS" >&6; }
24588         fi
24589
24590         if test -f $MICROWINDOWS/lib/libmwin.a; then
24591             { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24592 $as_echo "MicroWindows' libraries found." >&6; }
24593         else
24594             as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24595         fi
24596
24597         TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24598         GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24599
24600         wxUSE_UNIVERSAL="yes"
24601
24602         AFMINSTALL=afminstall
24603         TOOLKIT=MICROWIN
24604         GUIDIST=MICROWIN_DIST
24605
24606         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24607     fi
24608
24609         if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24610                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24611 $as_echo_n "checking for X... " >&6; }
24612
24613
24614 # Check whether --with-x was given.
24615 if test "${with_x+set}" = set; then :
24616   withval=$with_x;
24617 fi
24618
24619 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24620 if test "x$with_x" = xno; then
24621   # The user explicitly disabled X.
24622   have_x=disabled
24623 else
24624   case $x_includes,$x_libraries in #(
24625     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24626     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
24627   $as_echo_n "(cached) " >&6
24628 else
24629   # One or both of the vars are not set, and there is no cached value.
24630 ac_x_includes=no ac_x_libraries=no
24631 rm -f -r conftest.dir
24632 if mkdir conftest.dir; then
24633   cd conftest.dir
24634   cat >Imakefile <<'_ACEOF'
24635 incroot:
24636         @echo incroot='${INCROOT}'
24637 usrlibdir:
24638         @echo usrlibdir='${USRLIBDIR}'
24639 libdir:
24640         @echo libdir='${LIBDIR}'
24641 _ACEOF
24642   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24643     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24644     for ac_var in incroot usrlibdir libdir; do
24645       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24646     done
24647     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24648     for ac_extension in a so sl dylib la dll; do
24649       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24650          test -f "$ac_im_libdir/libX11.$ac_extension"; then
24651         ac_im_usrlibdir=$ac_im_libdir; break
24652       fi
24653     done
24654     # Screen out bogus values from the imake configuration.  They are
24655     # bogus both because they are the default anyway, and because
24656     # using them would break gcc on systems where it needs fixed includes.
24657     case $ac_im_incroot in
24658         /usr/include) ac_x_includes= ;;
24659         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24660     esac
24661     case $ac_im_usrlibdir in
24662         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24663         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24664     esac
24665   fi
24666   cd ..
24667   rm -f -r conftest.dir
24668 fi
24669
24670 # Standard set of common directories for X headers.
24671 # Check X11 before X11Rn because it is often a symlink to the current release.
24672 ac_x_header_dirs='
24673 /usr/X11/include
24674 /usr/X11R7/include
24675 /usr/X11R6/include
24676 /usr/X11R5/include
24677 /usr/X11R4/include
24678
24679 /usr/include/X11
24680 /usr/include/X11R7
24681 /usr/include/X11R6
24682 /usr/include/X11R5
24683 /usr/include/X11R4
24684
24685 /usr/local/X11/include
24686 /usr/local/X11R7/include
24687 /usr/local/X11R6/include
24688 /usr/local/X11R5/include
24689 /usr/local/X11R4/include
24690
24691 /usr/local/include/X11
24692 /usr/local/include/X11R7
24693 /usr/local/include/X11R6
24694 /usr/local/include/X11R5
24695 /usr/local/include/X11R4
24696
24697 /usr/X386/include
24698 /usr/x386/include
24699 /usr/XFree86/include/X11
24700
24701 /usr/include
24702 /usr/local/include
24703 /usr/unsupported/include
24704 /usr/athena/include
24705 /usr/local/x11r5/include
24706 /usr/lpp/Xamples/include
24707
24708 /usr/openwin/include
24709 /usr/openwin/share/include'
24710
24711 if test "$ac_x_includes" = no; then
24712   # Guess where to find include files, by looking for Xlib.h.
24713   # First, try using that file with no special directory specified.
24714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24715 /* end confdefs.h.  */
24716 #include <X11/Xlib.h>
24717 _ACEOF
24718 if ac_fn_c_try_cpp "$LINENO"; then :
24719   # We can compile using X headers with no special include directory.
24720 ac_x_includes=
24721 else
24722   for ac_dir in $ac_x_header_dirs; do
24723   if test -r "$ac_dir/X11/Xlib.h"; then
24724     ac_x_includes=$ac_dir
24725     break
24726   fi
24727 done
24728 fi
24729 rm -f conftest.err conftest.i conftest.$ac_ext
24730 fi # $ac_x_includes = no
24731
24732 if test "$ac_x_libraries" = no; then
24733   # Check for the libraries.
24734   # See if we find them without any special options.
24735   # Don't add to $LIBS permanently.
24736   ac_save_LIBS=$LIBS
24737   LIBS="-lX11 $LIBS"
24738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24739 /* end confdefs.h.  */
24740 #include <X11/Xlib.h>
24741 int
24742 main ()
24743 {
24744 XrmInitialize ()
24745   ;
24746   return 0;
24747 }
24748 _ACEOF
24749 if ac_fn_c_try_link "$LINENO"; then :
24750   LIBS=$ac_save_LIBS
24751 # We can link X programs with no special library path.
24752 ac_x_libraries=
24753 else
24754   LIBS=$ac_save_LIBS
24755 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24756 do
24757   # Don't even attempt the hair of trying to link an X program!
24758   for ac_extension in a so sl dylib la dll; do
24759     if test -r "$ac_dir/libX11.$ac_extension"; then
24760       ac_x_libraries=$ac_dir
24761       break 2
24762     fi
24763   done
24764 done
24765 fi
24766 rm -f core conftest.err conftest.$ac_objext \
24767     conftest$ac_exeext conftest.$ac_ext
24768 fi # $ac_x_libraries = no
24769
24770 case $ac_x_includes,$ac_x_libraries in #(
24771   no,* | *,no | *\'*)
24772     # Didn't find X, or a directory has "'" in its name.
24773     ac_cv_have_x="have_x=no";; #(
24774   *)
24775     # Record where we found X for the cache.
24776     ac_cv_have_x="have_x=yes\
24777         ac_x_includes='$ac_x_includes'\
24778         ac_x_libraries='$ac_x_libraries'"
24779 esac
24780 fi
24781 ;; #(
24782     *) have_x=yes;;
24783   esac
24784   eval "$ac_cv_have_x"
24785 fi # $with_x != no
24786
24787 if test "$have_x" != yes; then
24788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24789 $as_echo "$have_x" >&6; }
24790   no_x=yes
24791 else
24792   # If each of the values was on the command line, it overrides each guess.
24793   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24794   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24795   # Update the cache value to reflect the command line values.
24796   ac_cv_have_x="have_x=yes\
24797         ac_x_includes='$x_includes'\
24798         ac_x_libraries='$x_libraries'"
24799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24800 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24801 fi
24802
24803 if test "$no_x" = yes; then
24804   # Not all programs may use this symbol, but it does not hurt to define it.
24805
24806 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24807
24808   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24809 else
24810   if test -n "$x_includes"; then
24811     X_CFLAGS="$X_CFLAGS -I$x_includes"
24812   fi
24813
24814   # It would also be nice to do this for all -L options, not just this one.
24815   if test -n "$x_libraries"; then
24816     X_LIBS="$X_LIBS -L$x_libraries"
24817     # For Solaris; some versions of Sun CC require a space after -R and
24818     # others require no space.  Words are not sufficient . . . .
24819     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24820 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24821     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24822     ac_xsave_c_werror_flag=$ac_c_werror_flag
24823     ac_c_werror_flag=yes
24824     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24825 /* end confdefs.h.  */
24826
24827 int
24828 main ()
24829 {
24830
24831   ;
24832   return 0;
24833 }
24834 _ACEOF
24835 if ac_fn_c_try_link "$LINENO"; then :
24836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24837 $as_echo "no" >&6; }
24838        X_LIBS="$X_LIBS -R$x_libraries"
24839 else
24840   LIBS="$ac_xsave_LIBS -R $x_libraries"
24841        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24842 /* end confdefs.h.  */
24843
24844 int
24845 main ()
24846 {
24847
24848   ;
24849   return 0;
24850 }
24851 _ACEOF
24852 if ac_fn_c_try_link "$LINENO"; then :
24853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24854 $as_echo "yes" >&6; }
24855           X_LIBS="$X_LIBS -R $x_libraries"
24856 else
24857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24858 $as_echo "neither works" >&6; }
24859 fi
24860 rm -f core conftest.err conftest.$ac_objext \
24861     conftest$ac_exeext conftest.$ac_ext
24862 fi
24863 rm -f core conftest.err conftest.$ac_objext \
24864     conftest$ac_exeext conftest.$ac_ext
24865     ac_c_werror_flag=$ac_xsave_c_werror_flag
24866     LIBS=$ac_xsave_LIBS
24867   fi
24868
24869   # Check for system-dependent libraries X programs must link with.
24870   # Do this before checking for the system-independent R6 libraries
24871   # (-lICE), since we may need -lsocket or whatever for X linking.
24872
24873   if test "$ISC" = yes; then
24874     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24875   else
24876     # Martyn Johnson says this is needed for Ultrix, if the X
24877     # libraries were built with DECnet support.  And Karl Berry says
24878     # the Alpha needs dnet_stub (dnet does not exist).
24879     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24880     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24881 /* end confdefs.h.  */
24882
24883 /* Override any GCC internal prototype to avoid an error.
24884    Use char because int might match the return type of a GCC
24885    builtin and then its argument prototype would still apply.  */
24886 #ifdef __cplusplus
24887 extern "C"
24888 #endif
24889 char XOpenDisplay ();
24890 int
24891 main ()
24892 {
24893 return XOpenDisplay ();
24894   ;
24895   return 0;
24896 }
24897 _ACEOF
24898 if ac_fn_c_try_link "$LINENO"; then :
24899
24900 else
24901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
24902 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
24903 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
24904   $as_echo_n "(cached) " >&6
24905 else
24906   ac_check_lib_save_LIBS=$LIBS
24907 LIBS="-ldnet  $LIBS"
24908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24909 /* end confdefs.h.  */
24910
24911 /* Override any GCC internal prototype to avoid an error.
24912    Use char because int might match the return type of a GCC
24913    builtin and then its argument prototype would still apply.  */
24914 #ifdef __cplusplus
24915 extern "C"
24916 #endif
24917 char dnet_ntoa ();
24918 int
24919 main ()
24920 {
24921 return dnet_ntoa ();
24922   ;
24923   return 0;
24924 }
24925 _ACEOF
24926 if ac_fn_c_try_link "$LINENO"; then :
24927   ac_cv_lib_dnet_dnet_ntoa=yes
24928 else
24929   ac_cv_lib_dnet_dnet_ntoa=no
24930 fi
24931 rm -f core conftest.err conftest.$ac_objext \
24932     conftest$ac_exeext conftest.$ac_ext
24933 LIBS=$ac_check_lib_save_LIBS
24934 fi
24935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24936 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
24937 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
24938   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24939 fi
24940
24941     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24942       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
24943 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
24944 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
24945   $as_echo_n "(cached) " >&6
24946 else
24947   ac_check_lib_save_LIBS=$LIBS
24948 LIBS="-ldnet_stub  $LIBS"
24949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24950 /* end confdefs.h.  */
24951
24952 /* Override any GCC internal prototype to avoid an error.
24953    Use char because int might match the return type of a GCC
24954    builtin and then its argument prototype would still apply.  */
24955 #ifdef __cplusplus
24956 extern "C"
24957 #endif
24958 char dnet_ntoa ();
24959 int
24960 main ()
24961 {
24962 return dnet_ntoa ();
24963   ;
24964   return 0;
24965 }
24966 _ACEOF
24967 if ac_fn_c_try_link "$LINENO"; then :
24968   ac_cv_lib_dnet_stub_dnet_ntoa=yes
24969 else
24970   ac_cv_lib_dnet_stub_dnet_ntoa=no
24971 fi
24972 rm -f core conftest.err conftest.$ac_objext \
24973     conftest$ac_exeext conftest.$ac_ext
24974 LIBS=$ac_check_lib_save_LIBS
24975 fi
24976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24977 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
24978 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
24979   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24980 fi
24981
24982     fi
24983 fi
24984 rm -f core conftest.err conftest.$ac_objext \
24985     conftest$ac_exeext conftest.$ac_ext
24986     LIBS="$ac_xsave_LIBS"
24987
24988     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24989     # to get the SysV transport functions.
24990     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24991     # needs -lnsl.
24992     # The nsl library prevents programs from opening the X display
24993     # on Irix 5.2, according to T.E. Dickey.
24994     # The functions gethostbyname, getservbyname, and inet_addr are
24995     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24996     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
24997 if test "x$ac_cv_func_gethostbyname" = xyes; then :
24998
24999 fi
25000
25001     if test $ac_cv_func_gethostbyname = no; then
25002       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25003 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25004 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
25005   $as_echo_n "(cached) " >&6
25006 else
25007   ac_check_lib_save_LIBS=$LIBS
25008 LIBS="-lnsl  $LIBS"
25009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25010 /* end confdefs.h.  */
25011
25012 /* Override any GCC internal prototype to avoid an error.
25013    Use char because int might match the return type of a GCC
25014    builtin and then its argument prototype would still apply.  */
25015 #ifdef __cplusplus
25016 extern "C"
25017 #endif
25018 char gethostbyname ();
25019 int
25020 main ()
25021 {
25022 return gethostbyname ();
25023   ;
25024   return 0;
25025 }
25026 _ACEOF
25027 if ac_fn_c_try_link "$LINENO"; then :
25028   ac_cv_lib_nsl_gethostbyname=yes
25029 else
25030   ac_cv_lib_nsl_gethostbyname=no
25031 fi
25032 rm -f core conftest.err conftest.$ac_objext \
25033     conftest$ac_exeext conftest.$ac_ext
25034 LIBS=$ac_check_lib_save_LIBS
25035 fi
25036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25037 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25038 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
25039   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25040 fi
25041
25042       if test $ac_cv_lib_nsl_gethostbyname = no; then
25043         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25044 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25045 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
25046   $as_echo_n "(cached) " >&6
25047 else
25048   ac_check_lib_save_LIBS=$LIBS
25049 LIBS="-lbsd  $LIBS"
25050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25051 /* end confdefs.h.  */
25052
25053 /* Override any GCC internal prototype to avoid an error.
25054    Use char because int might match the return type of a GCC
25055    builtin and then its argument prototype would still apply.  */
25056 #ifdef __cplusplus
25057 extern "C"
25058 #endif
25059 char gethostbyname ();
25060 int
25061 main ()
25062 {
25063 return gethostbyname ();
25064   ;
25065   return 0;
25066 }
25067 _ACEOF
25068 if ac_fn_c_try_link "$LINENO"; then :
25069   ac_cv_lib_bsd_gethostbyname=yes
25070 else
25071   ac_cv_lib_bsd_gethostbyname=no
25072 fi
25073 rm -f core conftest.err conftest.$ac_objext \
25074     conftest$ac_exeext conftest.$ac_ext
25075 LIBS=$ac_check_lib_save_LIBS
25076 fi
25077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25078 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25079 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
25080   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25081 fi
25082
25083       fi
25084     fi
25085
25086     # lieder@skyler.mavd.honeywell.com says without -lsocket,
25087     # socket/setsockopt and other routines are undefined under SCO ODT
25088     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
25089     # on later versions), says Simon Leinen: it contains gethostby*
25090     # variants that don't use the name server (or something).  -lsocket
25091     # must be given before -lnsl if both are needed.  We assume that
25092     # if connect needs -lnsl, so does gethostbyname.
25093     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25094 if test "x$ac_cv_func_connect" = xyes; then :
25095
25096 fi
25097
25098     if test $ac_cv_func_connect = no; then
25099       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25100 $as_echo_n "checking for connect in -lsocket... " >&6; }
25101 if ${ac_cv_lib_socket_connect+:} false; then :
25102   $as_echo_n "(cached) " >&6
25103 else
25104   ac_check_lib_save_LIBS=$LIBS
25105 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25107 /* end confdefs.h.  */
25108
25109 /* Override any GCC internal prototype to avoid an error.
25110    Use char because int might match the return type of a GCC
25111    builtin and then its argument prototype would still apply.  */
25112 #ifdef __cplusplus
25113 extern "C"
25114 #endif
25115 char connect ();
25116 int
25117 main ()
25118 {
25119 return connect ();
25120   ;
25121   return 0;
25122 }
25123 _ACEOF
25124 if ac_fn_c_try_link "$LINENO"; then :
25125   ac_cv_lib_socket_connect=yes
25126 else
25127   ac_cv_lib_socket_connect=no
25128 fi
25129 rm -f core conftest.err conftest.$ac_objext \
25130     conftest$ac_exeext conftest.$ac_ext
25131 LIBS=$ac_check_lib_save_LIBS
25132 fi
25133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25134 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25135 if test "x$ac_cv_lib_socket_connect" = xyes; then :
25136   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25137 fi
25138
25139     fi
25140
25141     # Guillermo Gomez says -lposix is necessary on A/UX.
25142     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25143 if test "x$ac_cv_func_remove" = xyes; then :
25144
25145 fi
25146
25147     if test $ac_cv_func_remove = no; then
25148       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25149 $as_echo_n "checking for remove in -lposix... " >&6; }
25150 if ${ac_cv_lib_posix_remove+:} false; then :
25151   $as_echo_n "(cached) " >&6
25152 else
25153   ac_check_lib_save_LIBS=$LIBS
25154 LIBS="-lposix  $LIBS"
25155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25156 /* end confdefs.h.  */
25157
25158 /* Override any GCC internal prototype to avoid an error.
25159    Use char because int might match the return type of a GCC
25160    builtin and then its argument prototype would still apply.  */
25161 #ifdef __cplusplus
25162 extern "C"
25163 #endif
25164 char remove ();
25165 int
25166 main ()
25167 {
25168 return remove ();
25169   ;
25170   return 0;
25171 }
25172 _ACEOF
25173 if ac_fn_c_try_link "$LINENO"; then :
25174   ac_cv_lib_posix_remove=yes
25175 else
25176   ac_cv_lib_posix_remove=no
25177 fi
25178 rm -f core conftest.err conftest.$ac_objext \
25179     conftest$ac_exeext conftest.$ac_ext
25180 LIBS=$ac_check_lib_save_LIBS
25181 fi
25182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25183 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25184 if test "x$ac_cv_lib_posix_remove" = xyes; then :
25185   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25186 fi
25187
25188     fi
25189
25190     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25191     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25192 if test "x$ac_cv_func_shmat" = xyes; then :
25193
25194 fi
25195
25196     if test $ac_cv_func_shmat = no; then
25197       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25198 $as_echo_n "checking for shmat in -lipc... " >&6; }
25199 if ${ac_cv_lib_ipc_shmat+:} false; then :
25200   $as_echo_n "(cached) " >&6
25201 else
25202   ac_check_lib_save_LIBS=$LIBS
25203 LIBS="-lipc  $LIBS"
25204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25205 /* end confdefs.h.  */
25206
25207 /* Override any GCC internal prototype to avoid an error.
25208    Use char because int might match the return type of a GCC
25209    builtin and then its argument prototype would still apply.  */
25210 #ifdef __cplusplus
25211 extern "C"
25212 #endif
25213 char shmat ();
25214 int
25215 main ()
25216 {
25217 return shmat ();
25218   ;
25219   return 0;
25220 }
25221 _ACEOF
25222 if ac_fn_c_try_link "$LINENO"; then :
25223   ac_cv_lib_ipc_shmat=yes
25224 else
25225   ac_cv_lib_ipc_shmat=no
25226 fi
25227 rm -f core conftest.err conftest.$ac_objext \
25228     conftest$ac_exeext conftest.$ac_ext
25229 LIBS=$ac_check_lib_save_LIBS
25230 fi
25231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25232 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25233 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
25234   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25235 fi
25236
25237     fi
25238   fi
25239
25240   # Check for libraries that X11R6 Xt/Xaw programs need.
25241   ac_save_LDFLAGS=$LDFLAGS
25242   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25243   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25244   # check for ICE first), but we must link in the order -lSM -lICE or
25245   # we get undefined symbols.  So assume we have SM if we have ICE.
25246   # These have to be linked with before -lX11, unlike the other
25247   # libraries we check for below, so use a different variable.
25248   # John Interrante, Karl Berry
25249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25250 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25251 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
25252   $as_echo_n "(cached) " >&6
25253 else
25254   ac_check_lib_save_LIBS=$LIBS
25255 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25257 /* end confdefs.h.  */
25258
25259 /* Override any GCC internal prototype to avoid an error.
25260    Use char because int might match the return type of a GCC
25261    builtin and then its argument prototype would still apply.  */
25262 #ifdef __cplusplus
25263 extern "C"
25264 #endif
25265 char IceConnectionNumber ();
25266 int
25267 main ()
25268 {
25269 return IceConnectionNumber ();
25270   ;
25271   return 0;
25272 }
25273 _ACEOF
25274 if ac_fn_c_try_link "$LINENO"; then :
25275   ac_cv_lib_ICE_IceConnectionNumber=yes
25276 else
25277   ac_cv_lib_ICE_IceConnectionNumber=no
25278 fi
25279 rm -f core conftest.err conftest.$ac_objext \
25280     conftest$ac_exeext conftest.$ac_ext
25281 LIBS=$ac_check_lib_save_LIBS
25282 fi
25283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25284 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25285 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
25286   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25287 fi
25288
25289   LDFLAGS=$ac_save_LDFLAGS
25290
25291 fi
25292
25293
25294         if test "$no_x" = "yes"; then
25295           as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25296         fi
25297
25298                                 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25299         TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25300         AFMINSTALL=afminstall
25301         COMPILED_X_PROGRAM=0
25302
25303     fi
25304
25305     if test "$wxUSE_X11" = 1; then
25306         if test "$wxUSE_NANOX" = "yes"; then
25307             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25308 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25309             if test "x$MICROWIN" = x ; then
25310                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25311 $as_echo "not found" >&6; }
25312                 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25313             else
25314                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25315 $as_echo "$MICROWIN" >&6; }
25316                 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25317
25318             fi
25319         fi
25320
25321         if test "$wxUSE_UNICODE" = "yes"; then
25322
25323
25324 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25325         if test -n "$ac_tool_prefix"; then
25326   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25327 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25329 $as_echo_n "checking for $ac_word... " >&6; }
25330 if ${ac_cv_path_PKG_CONFIG+:} false; then :
25331   $as_echo_n "(cached) " >&6
25332 else
25333   case $PKG_CONFIG in
25334   [\\/]* | ?:[\\/]*)
25335   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25336   ;;
25337   *)
25338   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25339 for as_dir in $PATH
25340 do
25341   IFS=$as_save_IFS
25342   test -z "$as_dir" && as_dir=.
25343     for ac_exec_ext in '' $ac_executable_extensions; do
25344   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25345     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25346     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25347     break 2
25348   fi
25349 done
25350   done
25351 IFS=$as_save_IFS
25352
25353   ;;
25354 esac
25355 fi
25356 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25357 if test -n "$PKG_CONFIG"; then
25358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25359 $as_echo "$PKG_CONFIG" >&6; }
25360 else
25361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25362 $as_echo "no" >&6; }
25363 fi
25364
25365
25366 fi
25367 if test -z "$ac_cv_path_PKG_CONFIG"; then
25368   ac_pt_PKG_CONFIG=$PKG_CONFIG
25369   # Extract the first word of "pkg-config", so it can be a program name with args.
25370 set dummy pkg-config; ac_word=$2
25371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25372 $as_echo_n "checking for $ac_word... " >&6; }
25373 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
25374   $as_echo_n "(cached) " >&6
25375 else
25376   case $ac_pt_PKG_CONFIG in
25377   [\\/]* | ?:[\\/]*)
25378   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25379   ;;
25380   *)
25381   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25382 for as_dir in $PATH
25383 do
25384   IFS=$as_save_IFS
25385   test -z "$as_dir" && as_dir=.
25386     for ac_exec_ext in '' $ac_executable_extensions; do
25387   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25388     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25389     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25390     break 2
25391   fi
25392 done
25393   done
25394 IFS=$as_save_IFS
25395
25396   ;;
25397 esac
25398 fi
25399 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25400 if test -n "$ac_pt_PKG_CONFIG"; then
25401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25402 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25403 else
25404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25405 $as_echo "no" >&6; }
25406 fi
25407
25408   if test "x$ac_pt_PKG_CONFIG" = x; then
25409     PKG_CONFIG=""
25410   else
25411     case $cross_compiling:$ac_tool_warned in
25412 yes:)
25413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25415 ac_tool_warned=yes ;;
25416 esac
25417     PKG_CONFIG=$ac_pt_PKG_CONFIG
25418   fi
25419 else
25420   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25421 fi
25422
25423 fi
25424 if test -n "$PKG_CONFIG"; then
25425         _pkg_min_version=0.9.0
25426         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25427 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25428         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25429                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25430 $as_echo "yes" >&6; }
25431         else
25432                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25433 $as_echo "no" >&6; }
25434                 PKG_CONFIG=""
25435         fi
25436
25437 fi
25438
25439
25440 pkg_failed=no
25441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25442 $as_echo_n "checking for PANGOX... " >&6; }
25443
25444 if test -n "$PKG_CONFIG"; then
25445     if test -n "$PANGOX_CFLAGS"; then
25446         pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
25447     else
25448         if test -n "$PKG_CONFIG" && \
25449     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25450   ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25451   ac_status=$?
25452   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25453   test $ac_status = 0; }; then
25454   pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25455 else
25456   pkg_failed=yes
25457 fi
25458     fi
25459 else
25460         pkg_failed=untried
25461 fi
25462 if test -n "$PKG_CONFIG"; then
25463     if test -n "$PANGOX_LIBS"; then
25464         pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
25465     else
25466         if test -n "$PKG_CONFIG" && \
25467     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25468   ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25469   ac_status=$?
25470   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25471   test $ac_status = 0; }; then
25472   pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25473 else
25474   pkg_failed=yes
25475 fi
25476     fi
25477 else
25478         pkg_failed=untried
25479 fi
25480
25481
25482
25483 if test $pkg_failed = yes; then
25484
25485 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25486         _pkg_short_errors_supported=yes
25487 else
25488         _pkg_short_errors_supported=no
25489 fi
25490         if test $_pkg_short_errors_supported = yes; then
25491                 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25492         else
25493                 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25494         fi
25495         # Put the nasty error message in config.log where it belongs
25496         echo "$PANGOX_PKG_ERRORS" >&5
25497
25498
25499                     as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25500
25501
25502 elif test $pkg_failed = untried; then
25503
25504                     as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25505
25506
25507 else
25508         PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
25509         PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
25510         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25511 $as_echo "yes" >&6; }
25512
25513                     CFLAGS="$PANGOX_CFLAGS $CFLAGS"
25514                     CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
25515                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25516
25517 fi
25518
25519 pkg_failed=no
25520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25521 $as_echo_n "checking for PANGOFT2... " >&6; }
25522
25523 if test -n "$PKG_CONFIG"; then
25524     if test -n "$PANGOFT2_CFLAGS"; then
25525         pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
25526     else
25527         if test -n "$PKG_CONFIG" && \
25528     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25529   ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25530   ac_status=$?
25531   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25532   test $ac_status = 0; }; then
25533   pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25534 else
25535   pkg_failed=yes
25536 fi
25537     fi
25538 else
25539         pkg_failed=untried
25540 fi
25541 if test -n "$PKG_CONFIG"; then
25542     if test -n "$PANGOFT2_LIBS"; then
25543         pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
25544     else
25545         if test -n "$PKG_CONFIG" && \
25546     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25547   ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25548   ac_status=$?
25549   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25550   test $ac_status = 0; }; then
25551   pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25552 else
25553   pkg_failed=yes
25554 fi
25555     fi
25556 else
25557         pkg_failed=untried
25558 fi
25559
25560
25561
25562 if test $pkg_failed = yes; then
25563
25564 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25565         _pkg_short_errors_supported=yes
25566 else
25567         _pkg_short_errors_supported=no
25568 fi
25569         if test $_pkg_short_errors_supported = yes; then
25570                 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25571         else
25572                 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25573         fi
25574         # Put the nasty error message in config.log where it belongs
25575         echo "$PANGOFT2_PKG_ERRORS" >&5
25576
25577
25578                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25579 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25580                     wxUSE_PRINTING_ARCHITECTURE="no"
25581
25582
25583 elif test $pkg_failed = untried; then
25584
25585                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25586 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25587                     wxUSE_PRINTING_ARCHITECTURE="no"
25588
25589
25590 else
25591         PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
25592         PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
25593         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25594 $as_echo "yes" >&6; }
25595
25596                     CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
25597                     CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
25598                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25599
25600 fi
25601
25602 pkg_failed=no
25603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25604 $as_echo_n "checking for PANGOXFT... " >&6; }
25605
25606 if test -n "$PKG_CONFIG"; then
25607     if test -n "$PANGOXFT_CFLAGS"; then
25608         pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
25609     else
25610         if test -n "$PKG_CONFIG" && \
25611     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25612   ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25613   ac_status=$?
25614   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25615   test $ac_status = 0; }; then
25616   pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25617 else
25618   pkg_failed=yes
25619 fi
25620     fi
25621 else
25622         pkg_failed=untried
25623 fi
25624 if test -n "$PKG_CONFIG"; then
25625     if test -n "$PANGOXFT_LIBS"; then
25626         pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
25627     else
25628         if test -n "$PKG_CONFIG" && \
25629     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25630   ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25631   ac_status=$?
25632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25633   test $ac_status = 0; }; then
25634   pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25635 else
25636   pkg_failed=yes
25637 fi
25638     fi
25639 else
25640         pkg_failed=untried
25641 fi
25642
25643
25644
25645 if test $pkg_failed = yes; then
25646
25647 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25648         _pkg_short_errors_supported=yes
25649 else
25650         _pkg_short_errors_supported=no
25651 fi
25652         if test $_pkg_short_errors_supported = yes; then
25653                 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25654         else
25655                 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25656         fi
25657         # Put the nasty error message in config.log where it belongs
25658         echo "$PANGOXFT_PKG_ERRORS" >&5
25659
25660
25661                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25662 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25663
25664
25665 elif test $pkg_failed = untried; then
25666
25667                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25668 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25669
25670
25671 else
25672         PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
25673         PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
25674         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25675 $as_echo "yes" >&6; }
25676
25677                     $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25678
25679                     CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
25680                     CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
25681                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25682
25683 fi
25684             save_LIBS="$LIBS"
25685             LIBS="$LIBS $PANGOX_LIBS"
25686             for ac_func in pango_font_family_is_monospace
25687 do :
25688   ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25689 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes; then :
25690   cat >>confdefs.h <<_ACEOF
25691 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25692 _ACEOF
25693
25694 fi
25695 done
25696
25697             LIBS="$save_LIBS"
25698         fi
25699
25700         wxUSE_UNIVERSAL="yes"
25701
25702         if test "$wxUSE_NANOX" = "yes"; then
25703             TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25704             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"
25705             GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25706         else
25707             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25708         fi
25709
25710         TOOLKIT=X11
25711         GUIDIST=X11_DIST
25712     fi
25713
25714     if test "$wxUSE_MOTIF" = 1; then
25715         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25716 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25717
25718 ac_find_includes=
25719 for ac_dir in $SEARCH_INCLUDE /usr/include
25720   do
25721     if test -f "$ac_dir/Xm/Xm.h"; then
25722       ac_find_includes=$ac_dir
25723       break
25724     fi
25725   done
25726
25727         if test "$ac_find_includes" != "" ; then
25728             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25729 $as_echo "found in $ac_find_includes" >&6; }
25730
25731     if test "x$ac_find_includes" = "x/usr/include"; then
25732     ac_path_to_include=""
25733   else
25734     echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25735     result=$?
25736     if test $result = 0; then
25737       ac_path_to_include=""
25738     else
25739       ac_path_to_include=" -I$ac_find_includes"
25740     fi
25741   fi
25742
25743             TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25744         else
25745             save_CFLAGS=$CFLAGS
25746             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25747
25748             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25749 /* end confdefs.h.  */
25750
25751                     #include <Xm/Xm.h>
25752
25753 int
25754 main ()
25755 {
25756
25757                     int version;
25758                     version = xmUseVersion;
25759
25760   ;
25761   return 0;
25762 }
25763 _ACEOF
25764 if ac_fn_c_try_compile "$LINENO"; then :
25765
25766                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25767 $as_echo "found in default search path" >&6; }
25768                     COMPILED_X_PROGRAM=1
25769
25770 else
25771
25772                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25773 $as_echo "no" >&6; }
25774                     as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25775
25776
25777 fi
25778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25779
25780             CFLAGS=$save_CFLAGS
25781         fi
25782
25783
25784         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25785 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25786
25787   ac_find_libraries=
25788   for ac_dir in  $SEARCH_LIB
25789   do
25790     for ac_extension in a so sl dylib dll.a; do
25791       if test -f "$ac_dir/libXm.$ac_extension"; then
25792         ac_find_libraries=$ac_dir
25793         break 2
25794       fi
25795     done
25796   done
25797
25798
25799         if test "x$ac_find_libraries" != "x" ; then
25800             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25801 $as_echo "found in $ac_find_libraries" >&6; }
25802
25803
25804     if test "$ac_find_libraries" = "default location"; then
25805     ac_path_to_link=""
25806   else
25807     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25808     result=$?
25809     if test $result = 0; then
25810       ac_path_to_link=""
25811     else
25812       ac_path_to_link=" -L$ac_find_libraries"
25813     fi
25814   fi
25815
25816             GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25817         else
25818                                                 save_CFLAGS=$CFLAGS
25819             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25820             save_LIBS="$LIBS"
25821             LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
25822
25823             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25824 /* end confdefs.h.  */
25825
25826                     #include <Xm/Xm.h>
25827
25828 int
25829 main ()
25830 {
25831
25832                     int version;
25833                     version = xmUseVersion;
25834
25835   ;
25836   return 0;
25837 }
25838 _ACEOF
25839 if ac_fn_c_try_link "$LINENO"; then :
25840
25841                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25842 $as_echo "found in default search path" >&6; }
25843                     COMPILED_X_PROGRAM=1
25844
25845 else
25846
25847                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25848 $as_echo "no" >&6; }
25849                     as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
25850
25851
25852 fi
25853 rm -f core conftest.err conftest.$ac_objext \
25854     conftest$ac_exeext conftest.$ac_ext
25855
25856             CFLAGS=$save_CFLAGS
25857             LIBS="$save_LIBS"
25858         fi
25859
25860         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
25861 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
25862         libp_link=""
25863         libsm_ice_link=""
25864         libs_found=0
25865         for libp in "" " -lXp"; do
25866             if test "$libs_found" = 0; then
25867                 for libsm_ice in "" " -lSM -lICE"; do
25868                     if test "$libs_found" = 0; then
25869                         save_LIBS="$LIBS"
25870                         LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25871                         save_CFLAGS=$CFLAGS
25872                         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25873
25874                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25875 /* end confdefs.h.  */
25876
25877                                 #include <Xm/Xm.h>
25878                                 #include <Xm/List.h>
25879
25880 int
25881 main ()
25882 {
25883
25884                                 XmString string = NULL;
25885                                 Widget w = NULL;
25886                                 int position = 0;
25887                                 XmListAddItem(w, string, position);
25888
25889   ;
25890   return 0;
25891 }
25892 _ACEOF
25893 if ac_fn_c_try_link "$LINENO"; then :
25894
25895                                 libp_link="$libp"
25896                                 libsm_ice_link="$libsm_ice"
25897                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
25898 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
25899                                 libs_found=1
25900
25901 fi
25902 rm -f core conftest.err conftest.$ac_objext \
25903     conftest$ac_exeext conftest.$ac_ext
25904
25905                         LIBS="$save_LIBS"
25906                         CFLAGS=$save_CFLAGS
25907                     fi
25908                 done
25909             fi
25910         done
25911
25912         if test "$libs_found" = 0; then
25913             { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
25914 $as_echo "can't find the right libraries" >&6; }
25915             as_fn_error $? "can't link a simple motif program" "$LINENO" 5
25916         fi
25917
25918                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
25919 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
25920 if ${ac_cv_lib_Sgm_SgCreateList+:} false; then :
25921   $as_echo_n "(cached) " >&6
25922 else
25923   ac_check_lib_save_LIBS=$LIBS
25924 LIBS="-lSgm  $LIBS"
25925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25926 /* end confdefs.h.  */
25927
25928 /* Override any GCC internal prototype to avoid an error.
25929    Use char because int might match the return type of a GCC
25930    builtin and then its argument prototype would still apply.  */
25931 #ifdef __cplusplus
25932 extern "C"
25933 #endif
25934 char SgCreateList ();
25935 int
25936 main ()
25937 {
25938 return SgCreateList ();
25939   ;
25940   return 0;
25941 }
25942 _ACEOF
25943 if ac_fn_c_try_link "$LINENO"; then :
25944   ac_cv_lib_Sgm_SgCreateList=yes
25945 else
25946   ac_cv_lib_Sgm_SgCreateList=no
25947 fi
25948 rm -f core conftest.err conftest.$ac_objext \
25949     conftest$ac_exeext conftest.$ac_ext
25950 LIBS=$ac_check_lib_save_LIBS
25951 fi
25952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
25953 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
25954 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes; then :
25955   libsgm_link=" -lSgm"
25956 fi
25957
25958
25959         save_CFLAGS=$CFLAGS
25960         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25961
25962         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
25963 $as_echo_n "checking for Motif 2... " >&6; }
25964 if ${wx_cv_lib_motif2+:} false; then :
25965   $as_echo_n "(cached) " >&6
25966 else
25967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25968 /* end confdefs.h.  */
25969
25970                             #include <Xm/Xm.h>
25971
25972 int
25973 main ()
25974 {
25975
25976                             #if XmVersion < 2000
25977                             Not Motif 2
25978                             #endif
25979
25980   ;
25981   return 0;
25982 }
25983 _ACEOF
25984 if ac_fn_c_try_compile "$LINENO"; then :
25985   wx_cv_lib_motif2="yes"
25986 else
25987   wx_cv_lib_motif2="no"
25988 fi
25989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25990 fi
25991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
25992 $as_echo "$wx_cv_lib_motif2" >&6; }
25993         if test "$wx_cv_lib_motif2" = "yes"; then
25994             $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
25995
25996         else
25997             $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
25998
25999         fi
26000
26001         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26002 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26003 if ${wx_cv_lib_lesstif+:} false; then :
26004   $as_echo_n "(cached) " >&6
26005 else
26006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26007 /* end confdefs.h.  */
26008
26009                             #include <Xm/Xm.h>
26010
26011 int
26012 main ()
26013 {
26014
26015                             #if !defined(LesstifVersion) || LesstifVersion <= 0
26016                             Not Lesstif
26017                             #endif
26018
26019   ;
26020   return 0;
26021 }
26022 _ACEOF
26023 if ac_fn_c_try_compile "$LINENO"; then :
26024   wx_cv_lib_lesstif="yes"
26025 else
26026   wx_cv_lib_lesstif="no"
26027 fi
26028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26029
26030 fi
26031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26032 $as_echo "$wx_cv_lib_lesstif" >&6; }
26033         if test "$wx_cv_lib_lesstif" = "yes"; then
26034             $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26035
26036         else
26037             $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26038
26039         fi
26040
26041         CFLAGS=$save_CFLAGS
26042
26043         GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26044         TOOLKIT=MOTIF
26045         GUIDIST=MOTIF_DIST
26046     fi
26047
26048         if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26049                 if test "$wxUSE_LIBXPM" = "sys"; then
26050             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26051 $as_echo_n "checking for Xpm library... " >&6; }
26052
26053   ac_find_libraries=
26054   for ac_dir in  $SEARCH_LIB
26055   do
26056     for ac_extension in a so sl dylib dll.a; do
26057       if test -f "$ac_dir/libXpm.$ac_extension"; then
26058         ac_find_libraries=$ac_dir
26059         break 2
26060       fi
26061     done
26062   done
26063
26064             if test "$ac_find_libraries" != "" ; then
26065
26066     if test "$ac_find_libraries" = "default location"; then
26067     ac_path_to_link=""
26068   else
26069     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26070     result=$?
26071     if test $result = 0; then
26072       ac_path_to_link=""
26073     else
26074       ac_path_to_link=" -L$ac_find_libraries"
26075     fi
26076   fi
26077
26078                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26079                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26080 $as_echo "found in $ac_find_libraries" >&6; }
26081
26082                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26083 $as_echo_n "checking for X11/xpm.h... " >&6; }
26084 if ${wx_cv_x11_xpm_h+:} false; then :
26085   $as_echo_n "(cached) " >&6
26086 else
26087
26088                         save_CFLAGS=$CFLAGS
26089                         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26090
26091                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26092 /* end confdefs.h.  */
26093
26094                                 #include <X11/xpm.h>
26095
26096 int
26097 main ()
26098 {
26099
26100                                 int version;
26101                                 version = XpmLibraryVersion();
26102
26103   ;
26104   return 0;
26105 }
26106 _ACEOF
26107 if ac_fn_c_try_compile "$LINENO"; then :
26108   wx_cv_x11_xpm_h=yes
26109 else
26110   wx_cv_x11_xpm_h=no
26111
26112 fi
26113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26114
26115                         CFLAGS=$save_CFLAGS
26116
26117
26118 fi
26119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26120 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26121
26122                 if test $wx_cv_x11_xpm_h = "yes"; then
26123                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26124                     $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26125
26126                 else
26127                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26128 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26129                 fi
26130             fi
26131
26132         fi
26133
26134                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26135 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26136 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
26137   $as_echo_n "(cached) " >&6
26138 else
26139   ac_check_lib_save_LIBS=$LIBS
26140 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26142 /* end confdefs.h.  */
26143
26144 /* Override any GCC internal prototype to avoid an error.
26145    Use char because int might match the return type of a GCC
26146    builtin and then its argument prototype would still apply.  */
26147 #ifdef __cplusplus
26148 extern "C"
26149 #endif
26150 char XShapeQueryExtension ();
26151 int
26152 main ()
26153 {
26154 return XShapeQueryExtension ();
26155   ;
26156   return 0;
26157 }
26158 _ACEOF
26159 if ac_fn_c_try_link "$LINENO"; then :
26160   ac_cv_lib_Xext_XShapeQueryExtension=yes
26161 else
26162   ac_cv_lib_Xext_XShapeQueryExtension=no
26163 fi
26164 rm -f core conftest.err conftest.$ac_objext \
26165     conftest$ac_exeext conftest.$ac_ext
26166 LIBS=$ac_check_lib_save_LIBS
26167 fi
26168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26169 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26170 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
26171
26172                       GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26173                       wxHAVE_XEXT_LIB=1
26174
26175 fi
26176
26177
26178         if test "$wxHAVE_XEXT_LIB" = 1; then
26179             save_CFLAGS="$CFLAGS"
26180             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26181
26182             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26183 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26184             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26185 /* end confdefs.h.  */
26186
26187                             #include <X11/Xlib.h>
26188                             #include <X11/extensions/shape.h>
26189
26190 int
26191 main ()
26192 {
26193
26194                             int dummy1, dummy2;
26195                             XShapeQueryExtension((Display*)NULL,
26196                                                  (int*)NULL, (int*)NULL);
26197
26198   ;
26199   return 0;
26200 }
26201 _ACEOF
26202 if ac_fn_c_try_compile "$LINENO"; then :
26203
26204                             $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26205
26206                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26207 $as_echo "found" >&6; }
26208
26209 else
26210
26211                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26212 $as_echo "not found" >&6; }
26213
26214 fi
26215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26216             CFLAGS="$save_CFLAGS"
26217
26218         fi
26219     fi
26220
26221     if test "$wxUSE_OSX_CARBON" = 1; then
26222         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26223 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26224         if test "$GCC" = yes; then
26225             { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26226 $as_echo "gcc" >&6; }
26227             CPPFLAGS_PASCAL="-fpascal-strings"
26228         elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26229             { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26230 $as_echo "xlc" >&6; }
26231             CPPFLAGS_PASCAL="-qmacpstr"
26232         else
26233             { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26234 $as_echo "none" >&6; }
26235         fi
26236
26237         if test "x$wxUSE_UNIX" = "xyes"; then
26238             CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26239         else
26240                         CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26241         fi
26242
26243         TOOLKIT=OSX_CARBON
26244                 GUIDIST=OSX_CARBON_DIST
26245                         WXBASEPORT="_carbon"
26246
26247                                         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26248     fi
26249
26250     if test "$wxUSE_OSX_COCOA" = 1; then
26251         TOOLKIT=OSX_COCOA
26252         GUIDIST=OSX_COCOA_DIST
26253
26254                 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26255     fi
26256
26257     if test "$wxUSE_OSX_IPHONE" = 1; then
26258         TOOLKIT=OSX_IPHONE
26259     fi
26260
26261     if test "$wxUSE_OLD_COCOA" = 1; then
26262         TOOLKIT=COCOA
26263         GUIDIST=COCOA_DIST
26264     fi
26265
26266     if test "$wxUSE_PM" = 1; then
26267         TOOLKIT=PM
26268         GUIDIST=PM_DIST
26269         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26270 $as_echo_n "checking for type SPBCDATA... " >&6; }
26271 if ${wx_cv_spbcdata+:} false; then :
26272   $as_echo_n "(cached) " >&6
26273 else
26274
26275                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26276 /* end confdefs.h.  */
26277
26278                         #define INCL_PM
26279                         #include <os2.h>
26280
26281 int
26282 main ()
26283 {
26284
26285                         SPBCDATA test;
26286
26287   ;
26288   return 0;
26289 }
26290 _ACEOF
26291 if ac_fn_c_try_compile "$LINENO"; then :
26292   wx_cv_spbcdata=yes
26293 else
26294   wx_cv_spbcdata=no
26295
26296 fi
26297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26298
26299
26300 fi
26301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26302 $as_echo "$wx_cv_spbcdata" >&6; }
26303
26304         if test $wx_cv_spbcdata = "yes"; then
26305             $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26306
26307         fi
26308     fi
26309
26310         if test "$TOOLKIT" = "PM" ; then
26311         TOOLKIT_DIR="os2"
26312     else
26313         TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26314     fi
26315
26316     if test "$wxUSE_UNIVERSAL" = "yes"; then
26317         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26318         WIDGET_SET=univ
26319     fi
26320
26321         GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26322     DISTDIR="wx\$(TOOLKIT)"
26323 else
26324     USE_GUI=0
26325
26326             TOOLKIT_DIR="base"
26327
26328         if test "$USE_WIN32" = 1 ; then
26329                         TOOLKIT="MSW"
26330     fi
26331
26332         GUIDIST="BASE_DIST"
26333     DISTDIR="wxBase"
26334 fi
26335
26336
26337
26338 if test "$wxUSE_GUI" = "yes"; then
26339     if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26340                 for ac_header in X11/Xlib.h
26341 do :
26342   ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26343 "
26344 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
26345   cat >>confdefs.h <<_ACEOF
26346 #define HAVE_X11_XLIB_H 1
26347 _ACEOF
26348
26349 fi
26350
26351 done
26352
26353         for ac_header in X11/XKBlib.h
26354 do :
26355   ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26356                           #if HAVE_X11_XLIB_H
26357                             #include <X11/Xlib.h>
26358                           #endif
26359
26360 "
26361 if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
26362   cat >>confdefs.h <<_ACEOF
26363 #define HAVE_X11_XKBLIB_H 1
26364 _ACEOF
26365
26366 fi
26367
26368 done
26369
26370     fi
26371 fi
26372
26373
26374
26375 USE_XINERAMA=0
26376 if test "$wxUSE_DISPLAY" = "yes"; then
26377         if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26378
26379   ac_find_libraries=
26380
26381     fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
26382
26383
26384 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26385         if test -n "$ac_tool_prefix"; then
26386   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26387 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26389 $as_echo_n "checking for $ac_word... " >&6; }
26390 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26391   $as_echo_n "(cached) " >&6
26392 else
26393   case $PKG_CONFIG in
26394   [\\/]* | ?:[\\/]*)
26395   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26396   ;;
26397   *)
26398   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26399 for as_dir in $PATH
26400 do
26401   IFS=$as_save_IFS
26402   test -z "$as_dir" && as_dir=.
26403     for ac_exec_ext in '' $ac_executable_extensions; do
26404   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26405     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26407     break 2
26408   fi
26409 done
26410   done
26411 IFS=$as_save_IFS
26412
26413   ;;
26414 esac
26415 fi
26416 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26417 if test -n "$PKG_CONFIG"; then
26418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26419 $as_echo "$PKG_CONFIG" >&6; }
26420 else
26421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26422 $as_echo "no" >&6; }
26423 fi
26424
26425
26426 fi
26427 if test -z "$ac_cv_path_PKG_CONFIG"; then
26428   ac_pt_PKG_CONFIG=$PKG_CONFIG
26429   # Extract the first word of "pkg-config", so it can be a program name with args.
26430 set dummy pkg-config; ac_word=$2
26431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26432 $as_echo_n "checking for $ac_word... " >&6; }
26433 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26434   $as_echo_n "(cached) " >&6
26435 else
26436   case $ac_pt_PKG_CONFIG in
26437   [\\/]* | ?:[\\/]*)
26438   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26439   ;;
26440   *)
26441   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26442 for as_dir in $PATH
26443 do
26444   IFS=$as_save_IFS
26445   test -z "$as_dir" && as_dir=.
26446     for ac_exec_ext in '' $ac_executable_extensions; do
26447   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26448     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26449     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26450     break 2
26451   fi
26452 done
26453   done
26454 IFS=$as_save_IFS
26455
26456   ;;
26457 esac
26458 fi
26459 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26460 if test -n "$ac_pt_PKG_CONFIG"; then
26461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26462 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26463 else
26464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26465 $as_echo "no" >&6; }
26466 fi
26467
26468   if test "x$ac_pt_PKG_CONFIG" = x; then
26469     PKG_CONFIG=""
26470   else
26471     case $cross_compiling:$ac_tool_warned in
26472 yes:)
26473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26475 ac_tool_warned=yes ;;
26476 esac
26477     PKG_CONFIG=$ac_pt_PKG_CONFIG
26478   fi
26479 else
26480   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26481 fi
26482
26483 fi
26484 if test -n "$PKG_CONFIG"; then
26485         _pkg_min_version=0.9.0
26486         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26487 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26488         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26489                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26490 $as_echo "yes" >&6; }
26491         else
26492                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26493 $as_echo "no" >&6; }
26494                 PKG_CONFIG=""
26495         fi
26496
26497 fi 6> /dev/null
26498
26499 pkg_failed=no
26500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26501 $as_echo_n "checking for Xinerama... " >&6; }
26502
26503 if test -n "$PKG_CONFIG"; then
26504     if test -n "$Xinerama_CFLAGS"; then
26505         pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
26506     else
26507         if test -n "$PKG_CONFIG" && \
26508     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26509   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26510   ac_status=$?
26511   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26512   test $ac_status = 0; }; then
26513   pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26514 else
26515   pkg_failed=yes
26516 fi
26517     fi
26518 else
26519         pkg_failed=untried
26520 fi
26521 if test -n "$PKG_CONFIG"; then
26522     if test -n "$Xinerama_LIBS"; then
26523         pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
26524     else
26525         if test -n "$PKG_CONFIG" && \
26526     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26527   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26528   ac_status=$?
26529   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26530   test $ac_status = 0; }; then
26531   pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26532 else
26533   pkg_failed=yes
26534 fi
26535     fi
26536 else
26537         pkg_failed=untried
26538 fi
26539
26540
26541
26542 if test $pkg_failed = yes; then
26543
26544 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26545         _pkg_short_errors_supported=yes
26546 else
26547         _pkg_short_errors_supported=no
26548 fi
26549         if test $_pkg_short_errors_supported = yes; then
26550                 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26551         else
26552                 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26553         fi
26554         # Put the nasty error message in config.log where it belongs
26555         echo "$Xinerama_PKG_ERRORS" >&5
26556
26557
26558       if test "x$ac_find_libraries" = "x"; then
26559                 if test "xXineramaQueryScreens" != "x"; then
26560           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26561 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26562 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26563   $as_echo_n "(cached) " >&6
26564 else
26565   ac_check_lib_save_LIBS=$LIBS
26566 LIBS="-lXinerama  $LIBS"
26567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26568 /* end confdefs.h.  */
26569
26570 /* Override any GCC internal prototype to avoid an error.
26571    Use char because int might match the return type of a GCC
26572    builtin and then its argument prototype would still apply.  */
26573 #ifdef __cplusplus
26574 extern "C"
26575 #endif
26576 char XineramaQueryScreens ();
26577 int
26578 main ()
26579 {
26580 return XineramaQueryScreens ();
26581   ;
26582   return 0;
26583 }
26584 _ACEOF
26585 if ac_fn_c_try_link "$LINENO"; then :
26586   ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26587 else
26588   ac_cv_lib_Xinerama_XineramaQueryScreens=no
26589 fi
26590 rm -f core conftest.err conftest.$ac_objext \
26591     conftest$ac_exeext conftest.$ac_ext
26592 LIBS=$ac_check_lib_save_LIBS
26593 fi
26594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26595 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26596 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26597   ac_find_libraries="std"
26598 fi
26599
26600         fi
26601       fi
26602
26603       if test "x$ac_find_libraries" = "x"; then
26604                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26605 $as_echo_n "checking elsewhere... " >&6; }
26606
26607   ac_find_libraries=
26608   for ac_dir in  $SEARCH_LIB
26609   do
26610     for ac_extension in a so sl dylib dll.a; do
26611       if test -f "$ac_dir/libXinerama.$ac_extension"; then
26612         ac_find_libraries=$ac_dir
26613         break 2
26614       fi
26615     done
26616   done
26617
26618         if test "x$ac_find_libraries" != "x"; then
26619           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26620 $as_echo "yes" >&6; }
26621         else
26622           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26623 $as_echo "no" >&6; }
26624         fi
26625       fi
26626
26627 elif test $pkg_failed = untried; then
26628
26629       if test "x$ac_find_libraries" = "x"; then
26630                 if test "xXineramaQueryScreens" != "x"; then
26631           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26632 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26633 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26634   $as_echo_n "(cached) " >&6
26635 else
26636   ac_check_lib_save_LIBS=$LIBS
26637 LIBS="-lXinerama  $LIBS"
26638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26639 /* end confdefs.h.  */
26640
26641 /* Override any GCC internal prototype to avoid an error.
26642    Use char because int might match the return type of a GCC
26643    builtin and then its argument prototype would still apply.  */
26644 #ifdef __cplusplus
26645 extern "C"
26646 #endif
26647 char XineramaQueryScreens ();
26648 int
26649 main ()
26650 {
26651 return XineramaQueryScreens ();
26652   ;
26653   return 0;
26654 }
26655 _ACEOF
26656 if ac_fn_c_try_link "$LINENO"; then :
26657   ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26658 else
26659   ac_cv_lib_Xinerama_XineramaQueryScreens=no
26660 fi
26661 rm -f core conftest.err conftest.$ac_objext \
26662     conftest$ac_exeext conftest.$ac_ext
26663 LIBS=$ac_check_lib_save_LIBS
26664 fi
26665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26666 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26667 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26668   ac_find_libraries="std"
26669 fi
26670
26671         fi
26672       fi
26673
26674       if test "x$ac_find_libraries" = "x"; then
26675                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26676 $as_echo_n "checking elsewhere... " >&6; }
26677
26678   ac_find_libraries=
26679   for ac_dir in  $SEARCH_LIB
26680   do
26681     for ac_extension in a so sl dylib dll.a; do
26682       if test -f "$ac_dir/libXinerama.$ac_extension"; then
26683         ac_find_libraries=$ac_dir
26684         break 2
26685       fi
26686     done
26687   done
26688
26689         if test "x$ac_find_libraries" != "x"; then
26690           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26691 $as_echo "yes" >&6; }
26692         else
26693           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26694 $as_echo "no" >&6; }
26695         fi
26696       fi
26697
26698 else
26699         Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
26700         Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
26701         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26702 $as_echo "yes" >&6; }
26703
26704             ac_find_libraries="std"
26705
26706                                                 eval ac_find_cflags=\$Xinerama_CFLAGS
26707       eval fl_libs=\$Xinerama_LIBS
26708
26709                   for fl_path in $fl_libs
26710       do
26711         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26712                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
26713         fi
26714       done
26715
26716 fi
26717
26718         if test "$ac_find_libraries" != "" ; then
26719             if test "$ac_find_libraries" != "std" ; then
26720
26721     if test "$ac_find_libraries" = "default location"; then
26722     ac_path_to_link=""
26723   else
26724     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26725     result=$?
26726     if test $result = 0; then
26727       ac_path_to_link=""
26728     else
26729       ac_path_to_link=" -L$ac_find_libraries"
26730     fi
26731   fi
26732
26733               if test "$ac_path_to_link" != " -L/usr/lib" ; then
26734                   LDFLAGS="$LDFLAGS $ac_path_to_link"
26735               fi
26736             fi
26737             USE_XINERAMA=1
26738             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26739         else
26740             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26741 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26742             wxUSE_DISPLAY="no"
26743         fi
26744     elif test "$wxUSE_MSW" = 1; then
26745                 ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26746 "
26747 if test "x$ac_cv_header_ddraw_h" = xyes; then :
26748
26749 fi
26750
26751
26752     fi
26753 fi
26754
26755 if test "$wxUSE_DISPLAY" = "yes"; then
26756         if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26757
26758   ac_find_libraries=
26759
26760     fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26761
26762
26763 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26764         if test -n "$ac_tool_prefix"; then
26765   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26766 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26768 $as_echo_n "checking for $ac_word... " >&6; }
26769 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26770   $as_echo_n "(cached) " >&6
26771 else
26772   case $PKG_CONFIG in
26773   [\\/]* | ?:[\\/]*)
26774   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26775   ;;
26776   *)
26777   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26778 for as_dir in $PATH
26779 do
26780   IFS=$as_save_IFS
26781   test -z "$as_dir" && as_dir=.
26782     for ac_exec_ext in '' $ac_executable_extensions; do
26783   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26784     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26785     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26786     break 2
26787   fi
26788 done
26789   done
26790 IFS=$as_save_IFS
26791
26792   ;;
26793 esac
26794 fi
26795 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26796 if test -n "$PKG_CONFIG"; then
26797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26798 $as_echo "$PKG_CONFIG" >&6; }
26799 else
26800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26801 $as_echo "no" >&6; }
26802 fi
26803
26804
26805 fi
26806 if test -z "$ac_cv_path_PKG_CONFIG"; then
26807   ac_pt_PKG_CONFIG=$PKG_CONFIG
26808   # Extract the first word of "pkg-config", so it can be a program name with args.
26809 set dummy pkg-config; ac_word=$2
26810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26811 $as_echo_n "checking for $ac_word... " >&6; }
26812 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26813   $as_echo_n "(cached) " >&6
26814 else
26815   case $ac_pt_PKG_CONFIG in
26816   [\\/]* | ?:[\\/]*)
26817   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26818   ;;
26819   *)
26820   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26821 for as_dir in $PATH
26822 do
26823   IFS=$as_save_IFS
26824   test -z "$as_dir" && as_dir=.
26825     for ac_exec_ext in '' $ac_executable_extensions; do
26826   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26827     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26828     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26829     break 2
26830   fi
26831 done
26832   done
26833 IFS=$as_save_IFS
26834
26835   ;;
26836 esac
26837 fi
26838 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26839 if test -n "$ac_pt_PKG_CONFIG"; then
26840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26841 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26842 else
26843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26844 $as_echo "no" >&6; }
26845 fi
26846
26847   if test "x$ac_pt_PKG_CONFIG" = x; then
26848     PKG_CONFIG=""
26849   else
26850     case $cross_compiling:$ac_tool_warned in
26851 yes:)
26852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26854 ac_tool_warned=yes ;;
26855 esac
26856     PKG_CONFIG=$ac_pt_PKG_CONFIG
26857   fi
26858 else
26859   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26860 fi
26861
26862 fi
26863 if test -n "$PKG_CONFIG"; then
26864         _pkg_min_version=0.9.0
26865         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26866 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26867         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26868                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26869 $as_echo "yes" >&6; }
26870         else
26871                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26872 $as_echo "no" >&6; }
26873                 PKG_CONFIG=""
26874         fi
26875
26876 fi 6> /dev/null
26877
26878 pkg_failed=no
26879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
26880 $as_echo_n "checking for Xxf86vm... " >&6; }
26881
26882 if test -n "$PKG_CONFIG"; then
26883     if test -n "$Xxf86vm_CFLAGS"; then
26884         pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
26885     else
26886         if test -n "$PKG_CONFIG" && \
26887     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26888   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26889   ac_status=$?
26890   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26891   test $ac_status = 0; }; then
26892   pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26893 else
26894   pkg_failed=yes
26895 fi
26896     fi
26897 else
26898         pkg_failed=untried
26899 fi
26900 if test -n "$PKG_CONFIG"; then
26901     if test -n "$Xxf86vm_LIBS"; then
26902         pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
26903     else
26904         if test -n "$PKG_CONFIG" && \
26905     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26906   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26907   ac_status=$?
26908   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26909   test $ac_status = 0; }; then
26910   pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26911 else
26912   pkg_failed=yes
26913 fi
26914     fi
26915 else
26916         pkg_failed=untried
26917 fi
26918
26919
26920
26921 if test $pkg_failed = yes; then
26922
26923 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26924         _pkg_short_errors_supported=yes
26925 else
26926         _pkg_short_errors_supported=no
26927 fi
26928         if test $_pkg_short_errors_supported = yes; then
26929                 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26930         else
26931                 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26932         fi
26933         # Put the nasty error message in config.log where it belongs
26934         echo "$Xxf86vm_PKG_ERRORS" >&5
26935
26936
26937       if test "x$ac_find_libraries" = "x"; then
26938                 if test "xXF86VidModeQueryExtension" != "x"; then
26939           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
26940 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
26941 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
26942   $as_echo_n "(cached) " >&6
26943 else
26944   ac_check_lib_save_LIBS=$LIBS
26945 LIBS="-lXxf86vm  $LIBS"
26946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26947 /* end confdefs.h.  */
26948
26949 /* Override any GCC internal prototype to avoid an error.
26950    Use char because int might match the return type of a GCC
26951    builtin and then its argument prototype would still apply.  */
26952 #ifdef __cplusplus
26953 extern "C"
26954 #endif
26955 char XF86VidModeQueryExtension ();
26956 int
26957 main ()
26958 {
26959 return XF86VidModeQueryExtension ();
26960   ;
26961   return 0;
26962 }
26963 _ACEOF
26964 if ac_fn_c_try_link "$LINENO"; then :
26965   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
26966 else
26967   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
26968 fi
26969 rm -f core conftest.err conftest.$ac_objext \
26970     conftest$ac_exeext conftest.$ac_ext
26971 LIBS=$ac_check_lib_save_LIBS
26972 fi
26973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
26974 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
26975 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
26976   ac_find_libraries="std"
26977 fi
26978
26979         fi
26980       fi
26981
26982       if test "x$ac_find_libraries" = "x"; then
26983                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26984 $as_echo_n "checking elsewhere... " >&6; }
26985
26986   ac_find_libraries=
26987   for ac_dir in  $SEARCH_LIB
26988   do
26989     for ac_extension in a so sl dylib dll.a; do
26990       if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
26991         ac_find_libraries=$ac_dir
26992         break 2
26993       fi
26994     done
26995   done
26996
26997         if test "x$ac_find_libraries" != "x"; then
26998           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26999 $as_echo "yes" >&6; }
27000         else
27001           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27002 $as_echo "no" >&6; }
27003         fi
27004       fi
27005
27006 elif test $pkg_failed = untried; then
27007
27008       if test "x$ac_find_libraries" = "x"; then
27009                 if test "xXF86VidModeQueryExtension" != "x"; then
27010           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27011 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27012 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27013   $as_echo_n "(cached) " >&6
27014 else
27015   ac_check_lib_save_LIBS=$LIBS
27016 LIBS="-lXxf86vm  $LIBS"
27017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27018 /* end confdefs.h.  */
27019
27020 /* Override any GCC internal prototype to avoid an error.
27021    Use char because int might match the return type of a GCC
27022    builtin and then its argument prototype would still apply.  */
27023 #ifdef __cplusplus
27024 extern "C"
27025 #endif
27026 char XF86VidModeQueryExtension ();
27027 int
27028 main ()
27029 {
27030 return XF86VidModeQueryExtension ();
27031   ;
27032   return 0;
27033 }
27034 _ACEOF
27035 if ac_fn_c_try_link "$LINENO"; then :
27036   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27037 else
27038   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27039 fi
27040 rm -f core conftest.err conftest.$ac_objext \
27041     conftest$ac_exeext conftest.$ac_ext
27042 LIBS=$ac_check_lib_save_LIBS
27043 fi
27044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27045 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27046 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27047   ac_find_libraries="std"
27048 fi
27049
27050         fi
27051       fi
27052
27053       if test "x$ac_find_libraries" = "x"; then
27054                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27055 $as_echo_n "checking elsewhere... " >&6; }
27056
27057   ac_find_libraries=
27058   for ac_dir in  $SEARCH_LIB
27059   do
27060     for ac_extension in a so sl dylib dll.a; do
27061       if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27062         ac_find_libraries=$ac_dir
27063         break 2
27064       fi
27065     done
27066   done
27067
27068         if test "x$ac_find_libraries" != "x"; then
27069           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27070 $as_echo "yes" >&6; }
27071         else
27072           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27073 $as_echo "no" >&6; }
27074         fi
27075       fi
27076
27077 else
27078         Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
27079         Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
27080         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27081 $as_echo "yes" >&6; }
27082
27083             ac_find_libraries="std"
27084
27085                                                 eval ac_find_cflags=\$Xxf86vm_CFLAGS
27086       eval fl_libs=\$Xxf86vm_LIBS
27087
27088                   for fl_path in $fl_libs
27089       do
27090         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27091                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27092         fi
27093       done
27094
27095 fi
27096
27097         if test "$ac_find_libraries" != "" ; then
27098             for ac_header in X11/extensions/xf86vmode.h
27099 do :
27100   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27101                                   #if HAVE_X11_XLIB_H
27102                                     #include <X11/Xlib.h>
27103                                   #endif
27104
27105 "
27106 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes; then :
27107   cat >>confdefs.h <<_ACEOF
27108 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27109 _ACEOF
27110
27111                               GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27112
27113 fi
27114
27115 done
27116
27117         fi
27118     fi
27119 fi
27120
27121 if test "$wxUSE_DETECT_SM" = "yes"; then
27122     if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27123
27124   ac_find_libraries=
27125
27126     fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
27127
27128
27129 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27130         if test -n "$ac_tool_prefix"; then
27131   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27132 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27134 $as_echo_n "checking for $ac_word... " >&6; }
27135 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27136   $as_echo_n "(cached) " >&6
27137 else
27138   case $PKG_CONFIG in
27139   [\\/]* | ?:[\\/]*)
27140   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27141   ;;
27142   *)
27143   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27144 for as_dir in $PATH
27145 do
27146   IFS=$as_save_IFS
27147   test -z "$as_dir" && as_dir=.
27148     for ac_exec_ext in '' $ac_executable_extensions; do
27149   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27150     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27151     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27152     break 2
27153   fi
27154 done
27155   done
27156 IFS=$as_save_IFS
27157
27158   ;;
27159 esac
27160 fi
27161 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27162 if test -n "$PKG_CONFIG"; then
27163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27164 $as_echo "$PKG_CONFIG" >&6; }
27165 else
27166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27167 $as_echo "no" >&6; }
27168 fi
27169
27170
27171 fi
27172 if test -z "$ac_cv_path_PKG_CONFIG"; then
27173   ac_pt_PKG_CONFIG=$PKG_CONFIG
27174   # Extract the first word of "pkg-config", so it can be a program name with args.
27175 set dummy pkg-config; ac_word=$2
27176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27177 $as_echo_n "checking for $ac_word... " >&6; }
27178 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27179   $as_echo_n "(cached) " >&6
27180 else
27181   case $ac_pt_PKG_CONFIG in
27182   [\\/]* | ?:[\\/]*)
27183   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27184   ;;
27185   *)
27186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27187 for as_dir in $PATH
27188 do
27189   IFS=$as_save_IFS
27190   test -z "$as_dir" && as_dir=.
27191     for ac_exec_ext in '' $ac_executable_extensions; do
27192   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27193     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27194     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27195     break 2
27196   fi
27197 done
27198   done
27199 IFS=$as_save_IFS
27200
27201   ;;
27202 esac
27203 fi
27204 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27205 if test -n "$ac_pt_PKG_CONFIG"; then
27206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27207 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27208 else
27209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27210 $as_echo "no" >&6; }
27211 fi
27212
27213   if test "x$ac_pt_PKG_CONFIG" = x; then
27214     PKG_CONFIG=""
27215   else
27216     case $cross_compiling:$ac_tool_warned in
27217 yes:)
27218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27220 ac_tool_warned=yes ;;
27221 esac
27222     PKG_CONFIG=$ac_pt_PKG_CONFIG
27223   fi
27224 else
27225   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27226 fi
27227
27228 fi
27229 if test -n "$PKG_CONFIG"; then
27230         _pkg_min_version=0.9.0
27231         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27232 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27233         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27234                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27235 $as_echo "yes" >&6; }
27236         else
27237                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27238 $as_echo "no" >&6; }
27239                 PKG_CONFIG=""
27240         fi
27241
27242 fi 6> /dev/null
27243
27244 pkg_failed=no
27245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27246 $as_echo_n "checking for SM... " >&6; }
27247
27248 if test -n "$PKG_CONFIG"; then
27249     if test -n "$SM_CFLAGS"; then
27250         pkg_cv_SM_CFLAGS="$SM_CFLAGS"
27251     else
27252         if test -n "$PKG_CONFIG" && \
27253     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27254   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27255   ac_status=$?
27256   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27257   test $ac_status = 0; }; then
27258   pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27259 else
27260   pkg_failed=yes
27261 fi
27262     fi
27263 else
27264         pkg_failed=untried
27265 fi
27266 if test -n "$PKG_CONFIG"; then
27267     if test -n "$SM_LIBS"; then
27268         pkg_cv_SM_LIBS="$SM_LIBS"
27269     else
27270         if test -n "$PKG_CONFIG" && \
27271     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27272   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27273   ac_status=$?
27274   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27275   test $ac_status = 0; }; then
27276   pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27277 else
27278   pkg_failed=yes
27279 fi
27280     fi
27281 else
27282         pkg_failed=untried
27283 fi
27284
27285
27286
27287 if test $pkg_failed = yes; then
27288
27289 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27290         _pkg_short_errors_supported=yes
27291 else
27292         _pkg_short_errors_supported=no
27293 fi
27294         if test $_pkg_short_errors_supported = yes; then
27295                 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27296         else
27297                 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27298         fi
27299         # Put the nasty error message in config.log where it belongs
27300         echo "$SM_PKG_ERRORS" >&5
27301
27302
27303       if test "x$ac_find_libraries" = "x"; then
27304                 if test "xSmcOpenConnection" != "x"; then
27305           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27306 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27307 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27308   $as_echo_n "(cached) " >&6
27309 else
27310   ac_check_lib_save_LIBS=$LIBS
27311 LIBS="-lSM  $LIBS"
27312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27313 /* end confdefs.h.  */
27314
27315 /* Override any GCC internal prototype to avoid an error.
27316    Use char because int might match the return type of a GCC
27317    builtin and then its argument prototype would still apply.  */
27318 #ifdef __cplusplus
27319 extern "C"
27320 #endif
27321 char SmcOpenConnection ();
27322 int
27323 main ()
27324 {
27325 return SmcOpenConnection ();
27326   ;
27327   return 0;
27328 }
27329 _ACEOF
27330 if ac_fn_c_try_link "$LINENO"; then :
27331   ac_cv_lib_SM_SmcOpenConnection=yes
27332 else
27333   ac_cv_lib_SM_SmcOpenConnection=no
27334 fi
27335 rm -f core conftest.err conftest.$ac_objext \
27336     conftest$ac_exeext conftest.$ac_ext
27337 LIBS=$ac_check_lib_save_LIBS
27338 fi
27339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27340 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27341 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27342   ac_find_libraries="std"
27343 fi
27344
27345         fi
27346       fi
27347
27348       if test "x$ac_find_libraries" = "x"; then
27349                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27350 $as_echo_n "checking elsewhere... " >&6; }
27351
27352   ac_find_libraries=
27353   for ac_dir in  $SEARCH_LIB
27354   do
27355     for ac_extension in a so sl dylib dll.a; do
27356       if test -f "$ac_dir/libSM.$ac_extension"; then
27357         ac_find_libraries=$ac_dir
27358         break 2
27359       fi
27360     done
27361   done
27362
27363         if test "x$ac_find_libraries" != "x"; then
27364           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27365 $as_echo "yes" >&6; }
27366         else
27367           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27368 $as_echo "no" >&6; }
27369         fi
27370       fi
27371
27372 elif test $pkg_failed = untried; then
27373
27374       if test "x$ac_find_libraries" = "x"; then
27375                 if test "xSmcOpenConnection" != "x"; then
27376           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27377 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27378 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27379   $as_echo_n "(cached) " >&6
27380 else
27381   ac_check_lib_save_LIBS=$LIBS
27382 LIBS="-lSM  $LIBS"
27383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27384 /* end confdefs.h.  */
27385
27386 /* Override any GCC internal prototype to avoid an error.
27387    Use char because int might match the return type of a GCC
27388    builtin and then its argument prototype would still apply.  */
27389 #ifdef __cplusplus
27390 extern "C"
27391 #endif
27392 char SmcOpenConnection ();
27393 int
27394 main ()
27395 {
27396 return SmcOpenConnection ();
27397   ;
27398   return 0;
27399 }
27400 _ACEOF
27401 if ac_fn_c_try_link "$LINENO"; then :
27402   ac_cv_lib_SM_SmcOpenConnection=yes
27403 else
27404   ac_cv_lib_SM_SmcOpenConnection=no
27405 fi
27406 rm -f core conftest.err conftest.$ac_objext \
27407     conftest$ac_exeext conftest.$ac_ext
27408 LIBS=$ac_check_lib_save_LIBS
27409 fi
27410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27411 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27412 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27413   ac_find_libraries="std"
27414 fi
27415
27416         fi
27417       fi
27418
27419       if test "x$ac_find_libraries" = "x"; then
27420                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27421 $as_echo_n "checking elsewhere... " >&6; }
27422
27423   ac_find_libraries=
27424   for ac_dir in  $SEARCH_LIB
27425   do
27426     for ac_extension in a so sl dylib dll.a; do
27427       if test -f "$ac_dir/libSM.$ac_extension"; then
27428         ac_find_libraries=$ac_dir
27429         break 2
27430       fi
27431     done
27432   done
27433
27434         if test "x$ac_find_libraries" != "x"; then
27435           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27436 $as_echo "yes" >&6; }
27437         else
27438           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27439 $as_echo "no" >&6; }
27440         fi
27441       fi
27442
27443 else
27444         SM_CFLAGS=$pkg_cv_SM_CFLAGS
27445         SM_LIBS=$pkg_cv_SM_LIBS
27446         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27447 $as_echo "yes" >&6; }
27448
27449             ac_find_libraries="std"
27450
27451                                                 eval ac_find_cflags=\$SM_CFLAGS
27452       eval fl_libs=\$SM_LIBS
27453
27454                   for fl_path in $fl_libs
27455       do
27456         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27457                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27458         fi
27459       done
27460
27461 fi
27462
27463         if test "$ac_find_libraries" != "" ; then
27464             if test "$ac_find_libraries" != "std" ; then
27465
27466     if test "$ac_find_libraries" = "default location"; then
27467     ac_path_to_link=""
27468   else
27469     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27470     result=$?
27471     if test $result = 0; then
27472       ac_path_to_link=""
27473     else
27474       ac_path_to_link=" -L$ac_find_libraries"
27475     fi
27476   fi
27477
27478               if test "$ac_path_to_link" != " -L/usr/lib" ; then
27479                 LDFLAGS="$LDFLAGS $ac_path_to_link"
27480               fi
27481             fi
27482             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
27483         else
27484             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27485 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27486             wxUSE_DETECT_SM="no"
27487         fi
27488     else
27489         wxUSE_DETECT_SM="no"
27490     fi
27491 fi
27492
27493
27494
27495 USE_OPENGL=0
27496 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27497
27498
27499     if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27500         OPENGL_LIBS="-framework OpenGL -framework AGL"
27501     elif test "$wxUSE_MSW" = 1; then
27502         OPENGL_LIBS="-lopengl32 -lglu32"
27503     elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27504
27505                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27506 $as_echo_n "checking for OpenGL headers... " >&6; }
27507
27508 ac_find_includes=
27509 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
27510   do
27511     if test -f "$ac_dir/GL/gl.h"; then
27512       ac_find_includes=$ac_dir
27513       break
27514     fi
27515   done
27516
27517         if test "$ac_find_includes" != "" ; then
27518             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27519 $as_echo "found in $ac_find_includes" >&6; }
27520
27521     if test "x$ac_find_includes" = "x/usr/include"; then
27522     ac_path_to_include=""
27523   else
27524     echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27525     result=$?
27526     if test $result = 0; then
27527       ac_path_to_include=""
27528     else
27529       ac_path_to_include=" -I$ac_find_includes"
27530     fi
27531   fi
27532
27533             CPPFLAGS="$ac_path_to_include $CPPFLAGS"
27534         else
27535             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27536 $as_echo "not found" >&6; }
27537         fi
27538
27539         ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27540 "
27541 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
27542
27543             ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27544 "
27545 if test "x$ac_cv_header_GL_glu_h" = xyes; then :
27546
27547                 found_gl=0
27548
27549
27550   ac_find_libraries=
27551
27552     fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
27553
27554
27555 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27556         if test -n "$ac_tool_prefix"; then
27557   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27558 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27560 $as_echo_n "checking for $ac_word... " >&6; }
27561 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27562   $as_echo_n "(cached) " >&6
27563 else
27564   case $PKG_CONFIG in
27565   [\\/]* | ?:[\\/]*)
27566   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27567   ;;
27568   *)
27569   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27570 for as_dir in $PATH
27571 do
27572   IFS=$as_save_IFS
27573   test -z "$as_dir" && as_dir=.
27574     for ac_exec_ext in '' $ac_executable_extensions; do
27575   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27576     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27577     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27578     break 2
27579   fi
27580 done
27581   done
27582 IFS=$as_save_IFS
27583
27584   ;;
27585 esac
27586 fi
27587 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27588 if test -n "$PKG_CONFIG"; then
27589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27590 $as_echo "$PKG_CONFIG" >&6; }
27591 else
27592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27593 $as_echo "no" >&6; }
27594 fi
27595
27596
27597 fi
27598 if test -z "$ac_cv_path_PKG_CONFIG"; then
27599   ac_pt_PKG_CONFIG=$PKG_CONFIG
27600   # Extract the first word of "pkg-config", so it can be a program name with args.
27601 set dummy pkg-config; ac_word=$2
27602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27603 $as_echo_n "checking for $ac_word... " >&6; }
27604 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27605   $as_echo_n "(cached) " >&6
27606 else
27607   case $ac_pt_PKG_CONFIG in
27608   [\\/]* | ?:[\\/]*)
27609   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27610   ;;
27611   *)
27612   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27613 for as_dir in $PATH
27614 do
27615   IFS=$as_save_IFS
27616   test -z "$as_dir" && as_dir=.
27617     for ac_exec_ext in '' $ac_executable_extensions; do
27618   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27619     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27620     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27621     break 2
27622   fi
27623 done
27624   done
27625 IFS=$as_save_IFS
27626
27627   ;;
27628 esac
27629 fi
27630 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27631 if test -n "$ac_pt_PKG_CONFIG"; then
27632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27633 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27634 else
27635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27636 $as_echo "no" >&6; }
27637 fi
27638
27639   if test "x$ac_pt_PKG_CONFIG" = x; then
27640     PKG_CONFIG=""
27641   else
27642     case $cross_compiling:$ac_tool_warned in
27643 yes:)
27644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27646 ac_tool_warned=yes ;;
27647 esac
27648     PKG_CONFIG=$ac_pt_PKG_CONFIG
27649   fi
27650 else
27651   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27652 fi
27653
27654 fi
27655 if test -n "$PKG_CONFIG"; then
27656         _pkg_min_version=0.9.0
27657         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27658 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27659         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27660                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27661 $as_echo "yes" >&6; }
27662         else
27663                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27664 $as_echo "no" >&6; }
27665                 PKG_CONFIG=""
27666         fi
27667
27668 fi 6> /dev/null
27669
27670 pkg_failed=no
27671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27672 $as_echo_n "checking for GL... " >&6; }
27673
27674 if test -n "$PKG_CONFIG"; then
27675     if test -n "$GL_CFLAGS"; then
27676         pkg_cv_GL_CFLAGS="$GL_CFLAGS"
27677     else
27678         if test -n "$PKG_CONFIG" && \
27679     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27680   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27681   ac_status=$?
27682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27683   test $ac_status = 0; }; then
27684   pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27685 else
27686   pkg_failed=yes
27687 fi
27688     fi
27689 else
27690         pkg_failed=untried
27691 fi
27692 if test -n "$PKG_CONFIG"; then
27693     if test -n "$GL_LIBS"; then
27694         pkg_cv_GL_LIBS="$GL_LIBS"
27695     else
27696         if test -n "$PKG_CONFIG" && \
27697     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27698   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27699   ac_status=$?
27700   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27701   test $ac_status = 0; }; then
27702   pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27703 else
27704   pkg_failed=yes
27705 fi
27706     fi
27707 else
27708         pkg_failed=untried
27709 fi
27710
27711
27712
27713 if test $pkg_failed = yes; then
27714
27715 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27716         _pkg_short_errors_supported=yes
27717 else
27718         _pkg_short_errors_supported=no
27719 fi
27720         if test $_pkg_short_errors_supported = yes; then
27721                 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27722         else
27723                 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27724         fi
27725         # Put the nasty error message in config.log where it belongs
27726         echo "$GL_PKG_ERRORS" >&5
27727
27728
27729       if test "x$ac_find_libraries" = "x"; then
27730                 if test "xglBegin" != "x"; then
27731           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27732 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27733 if ${ac_cv_lib_GL_glBegin+:} false; then :
27734   $as_echo_n "(cached) " >&6
27735 else
27736   ac_check_lib_save_LIBS=$LIBS
27737 LIBS="-lGL  $LIBS"
27738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27739 /* end confdefs.h.  */
27740
27741 /* Override any GCC internal prototype to avoid an error.
27742    Use char because int might match the return type of a GCC
27743    builtin and then its argument prototype would still apply.  */
27744 #ifdef __cplusplus
27745 extern "C"
27746 #endif
27747 char glBegin ();
27748 int
27749 main ()
27750 {
27751 return glBegin ();
27752   ;
27753   return 0;
27754 }
27755 _ACEOF
27756 if ac_fn_c_try_link "$LINENO"; then :
27757   ac_cv_lib_GL_glBegin=yes
27758 else
27759   ac_cv_lib_GL_glBegin=no
27760 fi
27761 rm -f core conftest.err conftest.$ac_objext \
27762     conftest$ac_exeext conftest.$ac_ext
27763 LIBS=$ac_check_lib_save_LIBS
27764 fi
27765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27766 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27767 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
27768   ac_find_libraries="std"
27769 fi
27770
27771         fi
27772       fi
27773
27774       if test "x$ac_find_libraries" = "x"; then
27775                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27776 $as_echo_n "checking elsewhere... " >&6; }
27777
27778   ac_find_libraries=
27779   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27780   do
27781     for ac_extension in a so sl dylib dll.a; do
27782       if test -f "$ac_dir/libGL.$ac_extension"; then
27783         ac_find_libraries=$ac_dir
27784         break 2
27785       fi
27786     done
27787   done
27788
27789         if test "x$ac_find_libraries" != "x"; then
27790           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27791 $as_echo "yes" >&6; }
27792         else
27793           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27794 $as_echo "no" >&6; }
27795         fi
27796       fi
27797
27798 elif test $pkg_failed = untried; then
27799
27800       if test "x$ac_find_libraries" = "x"; then
27801                 if test "xglBegin" != "x"; then
27802           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27803 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27804 if ${ac_cv_lib_GL_glBegin+:} false; then :
27805   $as_echo_n "(cached) " >&6
27806 else
27807   ac_check_lib_save_LIBS=$LIBS
27808 LIBS="-lGL  $LIBS"
27809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27810 /* end confdefs.h.  */
27811
27812 /* Override any GCC internal prototype to avoid an error.
27813    Use char because int might match the return type of a GCC
27814    builtin and then its argument prototype would still apply.  */
27815 #ifdef __cplusplus
27816 extern "C"
27817 #endif
27818 char glBegin ();
27819 int
27820 main ()
27821 {
27822 return glBegin ();
27823   ;
27824   return 0;
27825 }
27826 _ACEOF
27827 if ac_fn_c_try_link "$LINENO"; then :
27828   ac_cv_lib_GL_glBegin=yes
27829 else
27830   ac_cv_lib_GL_glBegin=no
27831 fi
27832 rm -f core conftest.err conftest.$ac_objext \
27833     conftest$ac_exeext conftest.$ac_ext
27834 LIBS=$ac_check_lib_save_LIBS
27835 fi
27836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27837 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27838 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
27839   ac_find_libraries="std"
27840 fi
27841
27842         fi
27843       fi
27844
27845       if test "x$ac_find_libraries" = "x"; then
27846                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27847 $as_echo_n "checking elsewhere... " >&6; }
27848
27849   ac_find_libraries=
27850   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27851   do
27852     for ac_extension in a so sl dylib dll.a; do
27853       if test -f "$ac_dir/libGL.$ac_extension"; then
27854         ac_find_libraries=$ac_dir
27855         break 2
27856       fi
27857     done
27858   done
27859
27860         if test "x$ac_find_libraries" != "x"; then
27861           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27862 $as_echo "yes" >&6; }
27863         else
27864           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27865 $as_echo "no" >&6; }
27866         fi
27867       fi
27868
27869 else
27870         GL_CFLAGS=$pkg_cv_GL_CFLAGS
27871         GL_LIBS=$pkg_cv_GL_LIBS
27872         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27873 $as_echo "yes" >&6; }
27874
27875             ac_find_libraries="std"
27876
27877                                                 eval ac_find_cflags=\$GL_CFLAGS
27878       eval fl_libs=\$GL_LIBS
27879
27880                   for fl_path in $fl_libs
27881       do
27882         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27883                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27884         fi
27885       done
27886
27887 fi
27888
27889                 if test "$ac_find_libraries" != "" ; then
27890                     if test "$ac_find_libraries" != "std" ; then
27891
27892     if test "$ac_find_libraries" = "default location"; then
27893     ac_path_to_link=""
27894   else
27895     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27896     result=$?
27897     if test $result = 0; then
27898       ac_path_to_link=""
27899     else
27900       ac_path_to_link=" -L$ac_find_libraries"
27901     fi
27902   fi
27903
27904                       if test "$ac_path_to_link" != " -L/usr/lib" ; then
27905                         LDFLAGS_GL="$ac_path_to_link"
27906                       fi
27907                     fi
27908
27909
27910   ac_find_libraries=
27911
27912     fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
27913
27914
27915 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27916         if test -n "$ac_tool_prefix"; then
27917   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27918 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27920 $as_echo_n "checking for $ac_word... " >&6; }
27921 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27922   $as_echo_n "(cached) " >&6
27923 else
27924   case $PKG_CONFIG in
27925   [\\/]* | ?:[\\/]*)
27926   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27927   ;;
27928   *)
27929   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27930 for as_dir in $PATH
27931 do
27932   IFS=$as_save_IFS
27933   test -z "$as_dir" && as_dir=.
27934     for ac_exec_ext in '' $ac_executable_extensions; do
27935   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27936     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27937     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27938     break 2
27939   fi
27940 done
27941   done
27942 IFS=$as_save_IFS
27943
27944   ;;
27945 esac
27946 fi
27947 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27948 if test -n "$PKG_CONFIG"; then
27949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27950 $as_echo "$PKG_CONFIG" >&6; }
27951 else
27952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27953 $as_echo "no" >&6; }
27954 fi
27955
27956
27957 fi
27958 if test -z "$ac_cv_path_PKG_CONFIG"; then
27959   ac_pt_PKG_CONFIG=$PKG_CONFIG
27960   # Extract the first word of "pkg-config", so it can be a program name with args.
27961 set dummy pkg-config; ac_word=$2
27962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27963 $as_echo_n "checking for $ac_word... " >&6; }
27964 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27965   $as_echo_n "(cached) " >&6
27966 else
27967   case $ac_pt_PKG_CONFIG in
27968   [\\/]* | ?:[\\/]*)
27969   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27970   ;;
27971   *)
27972   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27973 for as_dir in $PATH
27974 do
27975   IFS=$as_save_IFS
27976   test -z "$as_dir" && as_dir=.
27977     for ac_exec_ext in '' $ac_executable_extensions; do
27978   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27979     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27980     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27981     break 2
27982   fi
27983 done
27984   done
27985 IFS=$as_save_IFS
27986
27987   ;;
27988 esac
27989 fi
27990 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27991 if test -n "$ac_pt_PKG_CONFIG"; then
27992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27993 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27994 else
27995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27996 $as_echo "no" >&6; }
27997 fi
27998
27999   if test "x$ac_pt_PKG_CONFIG" = x; then
28000     PKG_CONFIG=""
28001   else
28002     case $cross_compiling:$ac_tool_warned in
28003 yes:)
28004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28005 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28006 ac_tool_warned=yes ;;
28007 esac
28008     PKG_CONFIG=$ac_pt_PKG_CONFIG
28009   fi
28010 else
28011   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28012 fi
28013
28014 fi
28015 if test -n "$PKG_CONFIG"; then
28016         _pkg_min_version=0.9.0
28017         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28018 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28019         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28020                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28021 $as_echo "yes" >&6; }
28022         else
28023                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28024 $as_echo "no" >&6; }
28025                 PKG_CONFIG=""
28026         fi
28027
28028 fi 6> /dev/null
28029
28030 pkg_failed=no
28031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28032 $as_echo_n "checking for GLU... " >&6; }
28033
28034 if test -n "$PKG_CONFIG"; then
28035     if test -n "$GLU_CFLAGS"; then
28036         pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
28037     else
28038         if test -n "$PKG_CONFIG" && \
28039     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28040   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28041   ac_status=$?
28042   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28043   test $ac_status = 0; }; then
28044   pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28045 else
28046   pkg_failed=yes
28047 fi
28048     fi
28049 else
28050         pkg_failed=untried
28051 fi
28052 if test -n "$PKG_CONFIG"; then
28053     if test -n "$GLU_LIBS"; then
28054         pkg_cv_GLU_LIBS="$GLU_LIBS"
28055     else
28056         if test -n "$PKG_CONFIG" && \
28057     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28058   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28059   ac_status=$?
28060   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28061   test $ac_status = 0; }; then
28062   pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28063 else
28064   pkg_failed=yes
28065 fi
28066     fi
28067 else
28068         pkg_failed=untried
28069 fi
28070
28071
28072
28073 if test $pkg_failed = yes; then
28074
28075 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28076         _pkg_short_errors_supported=yes
28077 else
28078         _pkg_short_errors_supported=no
28079 fi
28080         if test $_pkg_short_errors_supported = yes; then
28081                 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28082         else
28083                 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28084         fi
28085         # Put the nasty error message in config.log where it belongs
28086         echo "$GLU_PKG_ERRORS" >&5
28087
28088
28089       if test "x$ac_find_libraries" = "x"; then
28090                 if test "xgluBeginCurve" != "x"; then
28091           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28092 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28093 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28094   $as_echo_n "(cached) " >&6
28095 else
28096   ac_check_lib_save_LIBS=$LIBS
28097 LIBS="-lGLU  $LIBS"
28098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28099 /* end confdefs.h.  */
28100
28101 /* Override any GCC internal prototype to avoid an error.
28102    Use char because int might match the return type of a GCC
28103    builtin and then its argument prototype would still apply.  */
28104 #ifdef __cplusplus
28105 extern "C"
28106 #endif
28107 char gluBeginCurve ();
28108 int
28109 main ()
28110 {
28111 return gluBeginCurve ();
28112   ;
28113   return 0;
28114 }
28115 _ACEOF
28116 if ac_fn_c_try_link "$LINENO"; then :
28117   ac_cv_lib_GLU_gluBeginCurve=yes
28118 else
28119   ac_cv_lib_GLU_gluBeginCurve=no
28120 fi
28121 rm -f core conftest.err conftest.$ac_objext \
28122     conftest$ac_exeext conftest.$ac_ext
28123 LIBS=$ac_check_lib_save_LIBS
28124 fi
28125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28126 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28127 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28128   ac_find_libraries="std"
28129 fi
28130
28131         fi
28132       fi
28133
28134       if test "x$ac_find_libraries" = "x"; then
28135                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28136 $as_echo_n "checking elsewhere... " >&6; }
28137
28138   ac_find_libraries=
28139   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28140   do
28141     for ac_extension in a so sl dylib dll.a; do
28142       if test -f "$ac_dir/libGLU.$ac_extension"; then
28143         ac_find_libraries=$ac_dir
28144         break 2
28145       fi
28146     done
28147   done
28148
28149         if test "x$ac_find_libraries" != "x"; then
28150           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28151 $as_echo "yes" >&6; }
28152         else
28153           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28154 $as_echo "no" >&6; }
28155         fi
28156       fi
28157
28158 elif test $pkg_failed = untried; then
28159
28160       if test "x$ac_find_libraries" = "x"; then
28161                 if test "xgluBeginCurve" != "x"; then
28162           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28163 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28164 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28165   $as_echo_n "(cached) " >&6
28166 else
28167   ac_check_lib_save_LIBS=$LIBS
28168 LIBS="-lGLU  $LIBS"
28169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28170 /* end confdefs.h.  */
28171
28172 /* Override any GCC internal prototype to avoid an error.
28173    Use char because int might match the return type of a GCC
28174    builtin and then its argument prototype would still apply.  */
28175 #ifdef __cplusplus
28176 extern "C"
28177 #endif
28178 char gluBeginCurve ();
28179 int
28180 main ()
28181 {
28182 return gluBeginCurve ();
28183   ;
28184   return 0;
28185 }
28186 _ACEOF
28187 if ac_fn_c_try_link "$LINENO"; then :
28188   ac_cv_lib_GLU_gluBeginCurve=yes
28189 else
28190   ac_cv_lib_GLU_gluBeginCurve=no
28191 fi
28192 rm -f core conftest.err conftest.$ac_objext \
28193     conftest$ac_exeext conftest.$ac_ext
28194 LIBS=$ac_check_lib_save_LIBS
28195 fi
28196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28197 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28198 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28199   ac_find_libraries="std"
28200 fi
28201
28202         fi
28203       fi
28204
28205       if test "x$ac_find_libraries" = "x"; then
28206                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28207 $as_echo_n "checking elsewhere... " >&6; }
28208
28209   ac_find_libraries=
28210   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28211   do
28212     for ac_extension in a so sl dylib dll.a; do
28213       if test -f "$ac_dir/libGLU.$ac_extension"; then
28214         ac_find_libraries=$ac_dir
28215         break 2
28216       fi
28217     done
28218   done
28219
28220         if test "x$ac_find_libraries" != "x"; then
28221           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28222 $as_echo "yes" >&6; }
28223         else
28224           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28225 $as_echo "no" >&6; }
28226         fi
28227       fi
28228
28229 else
28230         GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
28231         GLU_LIBS=$pkg_cv_GLU_LIBS
28232         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28233 $as_echo "yes" >&6; }
28234
28235             ac_find_libraries="std"
28236
28237                                                 eval ac_find_cflags=\$GLU_CFLAGS
28238       eval fl_libs=\$GLU_LIBS
28239
28240                   for fl_path in $fl_libs
28241       do
28242         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28243                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28244         fi
28245       done
28246
28247 fi
28248
28249                     if test "$ac_find_libraries" != "" ; then
28250                       if test "$ac_find_libraries" != "std" ; then
28251
28252     if test "$ac_find_libraries" = "default location"; then
28253     ac_path_to_link=""
28254   else
28255     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28256     result=$?
28257     if test $result = 0; then
28258       ac_path_to_link=""
28259     else
28260       ac_path_to_link=" -L$ac_find_libraries"
28261     fi
28262   fi
28263
28264                         if test "$ac_path_to_link" != " -L/usr/lib" -a \
28265                                 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28266                           LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28267                         fi
28268                       fi
28269
28270                         found_gl=1
28271                         OPENGL_LIBS="-lGL -lGLU"
28272                     fi
28273                 fi
28274
28275                 if test "$found_gl" != 1; then
28276
28277   ac_find_libraries=
28278
28279     fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
28280
28281
28282 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28283         if test -n "$ac_tool_prefix"; then
28284   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28285 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28287 $as_echo_n "checking for $ac_word... " >&6; }
28288 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28289   $as_echo_n "(cached) " >&6
28290 else
28291   case $PKG_CONFIG in
28292   [\\/]* | ?:[\\/]*)
28293   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28294   ;;
28295   *)
28296   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28297 for as_dir in $PATH
28298 do
28299   IFS=$as_save_IFS
28300   test -z "$as_dir" && as_dir=.
28301     for ac_exec_ext in '' $ac_executable_extensions; do
28302   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28303     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28304     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28305     break 2
28306   fi
28307 done
28308   done
28309 IFS=$as_save_IFS
28310
28311   ;;
28312 esac
28313 fi
28314 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28315 if test -n "$PKG_CONFIG"; then
28316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28317 $as_echo "$PKG_CONFIG" >&6; }
28318 else
28319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28320 $as_echo "no" >&6; }
28321 fi
28322
28323
28324 fi
28325 if test -z "$ac_cv_path_PKG_CONFIG"; then
28326   ac_pt_PKG_CONFIG=$PKG_CONFIG
28327   # Extract the first word of "pkg-config", so it can be a program name with args.
28328 set dummy pkg-config; ac_word=$2
28329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28330 $as_echo_n "checking for $ac_word... " >&6; }
28331 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28332   $as_echo_n "(cached) " >&6
28333 else
28334   case $ac_pt_PKG_CONFIG in
28335   [\\/]* | ?:[\\/]*)
28336   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28337   ;;
28338   *)
28339   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28340 for as_dir in $PATH
28341 do
28342   IFS=$as_save_IFS
28343   test -z "$as_dir" && as_dir=.
28344     for ac_exec_ext in '' $ac_executable_extensions; do
28345   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28346     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28347     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28348     break 2
28349   fi
28350 done
28351   done
28352 IFS=$as_save_IFS
28353
28354   ;;
28355 esac
28356 fi
28357 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28358 if test -n "$ac_pt_PKG_CONFIG"; then
28359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28360 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28361 else
28362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28363 $as_echo "no" >&6; }
28364 fi
28365
28366   if test "x$ac_pt_PKG_CONFIG" = x; then
28367     PKG_CONFIG=""
28368   else
28369     case $cross_compiling:$ac_tool_warned in
28370 yes:)
28371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28373 ac_tool_warned=yes ;;
28374 esac
28375     PKG_CONFIG=$ac_pt_PKG_CONFIG
28376   fi
28377 else
28378   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28379 fi
28380
28381 fi
28382 if test -n "$PKG_CONFIG"; then
28383         _pkg_min_version=0.9.0
28384         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28385 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28386         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28387                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28388 $as_echo "yes" >&6; }
28389         else
28390                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28391 $as_echo "no" >&6; }
28392                 PKG_CONFIG=""
28393         fi
28394
28395 fi 6> /dev/null
28396
28397 pkg_failed=no
28398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28399 $as_echo_n "checking for MesaGL... " >&6; }
28400
28401 if test -n "$PKG_CONFIG"; then
28402     if test -n "$MesaGL_CFLAGS"; then
28403         pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
28404     else
28405         if test -n "$PKG_CONFIG" && \
28406     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28407   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28408   ac_status=$?
28409   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28410   test $ac_status = 0; }; then
28411   pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28412 else
28413   pkg_failed=yes
28414 fi
28415     fi
28416 else
28417         pkg_failed=untried
28418 fi
28419 if test -n "$PKG_CONFIG"; then
28420     if test -n "$MesaGL_LIBS"; then
28421         pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
28422     else
28423         if test -n "$PKG_CONFIG" && \
28424     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28425   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28426   ac_status=$?
28427   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28428   test $ac_status = 0; }; then
28429   pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28430 else
28431   pkg_failed=yes
28432 fi
28433     fi
28434 else
28435         pkg_failed=untried
28436 fi
28437
28438
28439
28440 if test $pkg_failed = yes; then
28441
28442 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28443         _pkg_short_errors_supported=yes
28444 else
28445         _pkg_short_errors_supported=no
28446 fi
28447         if test $_pkg_short_errors_supported = yes; then
28448                 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28449         else
28450                 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28451         fi
28452         # Put the nasty error message in config.log where it belongs
28453         echo "$MesaGL_PKG_ERRORS" >&5
28454
28455
28456       if test "x$ac_find_libraries" = "x"; then
28457                 if test "xglEnable" != "x"; then
28458           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28459 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28460 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28461   $as_echo_n "(cached) " >&6
28462 else
28463   ac_check_lib_save_LIBS=$LIBS
28464 LIBS="-lMesaGL  $LIBS"
28465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28466 /* end confdefs.h.  */
28467
28468 /* Override any GCC internal prototype to avoid an error.
28469    Use char because int might match the return type of a GCC
28470    builtin and then its argument prototype would still apply.  */
28471 #ifdef __cplusplus
28472 extern "C"
28473 #endif
28474 char glEnable ();
28475 int
28476 main ()
28477 {
28478 return glEnable ();
28479   ;
28480   return 0;
28481 }
28482 _ACEOF
28483 if ac_fn_c_try_link "$LINENO"; then :
28484   ac_cv_lib_MesaGL_glEnable=yes
28485 else
28486   ac_cv_lib_MesaGL_glEnable=no
28487 fi
28488 rm -f core conftest.err conftest.$ac_objext \
28489     conftest$ac_exeext conftest.$ac_ext
28490 LIBS=$ac_check_lib_save_LIBS
28491 fi
28492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28493 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28494 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28495   ac_find_libraries="std"
28496 fi
28497
28498         fi
28499       fi
28500
28501       if test "x$ac_find_libraries" = "x"; then
28502                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28503 $as_echo_n "checking elsewhere... " >&6; }
28504
28505   ac_find_libraries=
28506   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28507   do
28508     for ac_extension in a so sl dylib dll.a; do
28509       if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28510         ac_find_libraries=$ac_dir
28511         break 2
28512       fi
28513     done
28514   done
28515
28516         if test "x$ac_find_libraries" != "x"; then
28517           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28518 $as_echo "yes" >&6; }
28519         else
28520           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28521 $as_echo "no" >&6; }
28522         fi
28523       fi
28524
28525 elif test $pkg_failed = untried; then
28526
28527       if test "x$ac_find_libraries" = "x"; then
28528                 if test "xglEnable" != "x"; then
28529           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28530 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28531 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28532   $as_echo_n "(cached) " >&6
28533 else
28534   ac_check_lib_save_LIBS=$LIBS
28535 LIBS="-lMesaGL  $LIBS"
28536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28537 /* end confdefs.h.  */
28538
28539 /* Override any GCC internal prototype to avoid an error.
28540    Use char because int might match the return type of a GCC
28541    builtin and then its argument prototype would still apply.  */
28542 #ifdef __cplusplus
28543 extern "C"
28544 #endif
28545 char glEnable ();
28546 int
28547 main ()
28548 {
28549 return glEnable ();
28550   ;
28551   return 0;
28552 }
28553 _ACEOF
28554 if ac_fn_c_try_link "$LINENO"; then :
28555   ac_cv_lib_MesaGL_glEnable=yes
28556 else
28557   ac_cv_lib_MesaGL_glEnable=no
28558 fi
28559 rm -f core conftest.err conftest.$ac_objext \
28560     conftest$ac_exeext conftest.$ac_ext
28561 LIBS=$ac_check_lib_save_LIBS
28562 fi
28563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28564 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28565 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28566   ac_find_libraries="std"
28567 fi
28568
28569         fi
28570       fi
28571
28572       if test "x$ac_find_libraries" = "x"; then
28573                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28574 $as_echo_n "checking elsewhere... " >&6; }
28575
28576   ac_find_libraries=
28577   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28578   do
28579     for ac_extension in a so sl dylib dll.a; do
28580       if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28581         ac_find_libraries=$ac_dir
28582         break 2
28583       fi
28584     done
28585   done
28586
28587         if test "x$ac_find_libraries" != "x"; then
28588           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28589 $as_echo "yes" >&6; }
28590         else
28591           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28592 $as_echo "no" >&6; }
28593         fi
28594       fi
28595
28596 else
28597         MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
28598         MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
28599         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28600 $as_echo "yes" >&6; }
28601
28602             ac_find_libraries="std"
28603
28604                                                 eval ac_find_cflags=\$MesaGL_CFLAGS
28605       eval fl_libs=\$MesaGL_LIBS
28606
28607                   for fl_path in $fl_libs
28608       do
28609         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28610                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28611         fi
28612       done
28613
28614 fi
28615
28616                     if test "$ac_find_libraries" != "" ; then
28617                       if test "$ac_find_libraries" != "std" ; then
28618
28619     if test "$ac_find_libraries" = "default location"; then
28620     ac_path_to_link=""
28621   else
28622     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28623     result=$?
28624     if test $result = 0; then
28625       ac_path_to_link=""
28626     else
28627       ac_path_to_link=" -L$ac_find_libraries"
28628     fi
28629   fi
28630
28631                         if test "$ac_path_to_link" != " -L/usr/lib" ; then
28632                           LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28633                         fi
28634                       fi
28635                       OPENGL_LIBS="-lMesaGL -lMesaGLU"
28636                     fi
28637                 fi
28638
28639 fi
28640
28641
28642
28643 fi
28644
28645
28646
28647         if test "x$OPENGL_LIBS" = "x"; then
28648             if test "$wxUSE_OPENGL" = "yes"; then
28649                 as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
28650             else
28651                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28652 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28653                 wxUSE_OPENGL=no
28654                 USE_OPENGL=0
28655             fi
28656         fi
28657     else
28658         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28659 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28660         wxUSE_OPENGL="no"
28661     fi
28662
28663     if test "$wxUSE_OPENGL" = "auto"; then
28664                                 wxUSE_OPENGL=yes
28665     fi
28666
28667     if test "$wxUSE_OPENGL" = "yes"; then
28668         USE_OPENGL=1
28669         $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28670
28671         $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28672
28673         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28674     fi
28675 fi
28676
28677
28678 if test -n "$TOOLKIT" ; then
28679     TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28680 fi
28681
28682
28683
28684 if test "$wxUSE_SHARED" = "yes"; then
28685     case "${host}" in
28686       *-pc-msdosdjgpp )
28687                 wxUSE_SHARED=no
28688         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28689 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28690       ;;
28691     esac
28692 fi
28693
28694 if test "$wxUSE_SHARED" = "yes"; then
28695
28696
28697     case "${host}" in
28698         *-*-cygwin* | *-*-mingw* )
28699                                                                                                 wx_cv_version_script=no
28700             ;;
28701
28702         *)
28703             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28704 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28705 if ${wx_cv_version_script+:} false; then :
28706   $as_echo_n "(cached) " >&6
28707 else
28708
28709                 echo "VER_1 { *; };" >conftest.sym
28710                 echo "int main() { return 0; }" >conftest.cpp
28711
28712                 if { ac_try='
28713                         $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28714                         -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28715   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28716   (eval $ac_try) 2>&5
28717   ac_status=$?
28718   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28719   test $ac_status = 0; }; } ; then
28720                   if test -s conftest.stderr ; then
28721                       wx_cv_version_script=no
28722                   else
28723                       wx_cv_version_script=yes
28724                   fi
28725                 else
28726                   wx_cv_version_script=no
28727                 fi
28728
28729                                                                                                                                                                                                 if test $wx_cv_version_script = yes
28730                 then
28731                   echo "struct B { virtual ~B() { } }; \
28732                         struct D : public B { }; \
28733                         void F() { D d; }" > conftest.cpp
28734
28735                   if { ac_try='
28736                         $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28737                         -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28738   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28739   (eval $ac_try) 2>&5
28740   ac_status=$?
28741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28742   test $ac_status = 0; }; } &&
28743                      { ac_try='
28744                         $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28745                         -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28746   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28747   (eval $ac_try) 2>&5
28748   ac_status=$?
28749   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28750   test $ac_status = 0; }; }
28751                   then
28752                     if { ac_try='
28753                           $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28754                           -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28755   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28756   (eval $ac_try) 2>&5
28757   ac_status=$?
28758   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28759   test $ac_status = 0; }; }
28760                     then
28761                       wx_cv_version_script=yes
28762                     else
28763                       wx_cv_version_script=no
28764                     fi
28765                   fi
28766                 fi
28767
28768                 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28769                 rm -f conftest1.output conftest2.output conftest3.output
28770
28771 fi
28772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28773 $as_echo "$wx_cv_version_script" >&6; }
28774
28775             if test $wx_cv_version_script = yes ; then
28776                 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28777             fi
28778             ;;
28779     esac
28780
28781
28782             if test "$wxUSE_VISIBILITY" != "no"; then
28783
28784
28785   if test -n "$GCC"; then
28786     CFLAGS_VISIBILITY="-fvisibility=hidden"
28787     CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
28788     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28789 $as_echo_n "checking for symbols visibility support... " >&6; }
28790     if ${wx_cv_cc_visibility+:} false; then :
28791   $as_echo_n "(cached) " >&6
28792 else
28793
28794       wx_save_CXXFLAGS="$CXXFLAGS"
28795       CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28796       ac_ext=cpp
28797 ac_cpp='$CXXCPP $CPPFLAGS'
28798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28801
28802       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28803 /* end confdefs.h.  */
28804
28805          /* we need gcc >= 4.0, older versions with visibility support
28806             didn't have class visibility: */
28807          #if defined(__GNUC__) && __GNUC__ < 4
28808          error this gcc is too old;
28809          #endif
28810
28811          /* visibility only makes sense for ELF shared libs: */
28812          #if !defined(__ELF__) && !defined(__APPLE__)
28813          error this platform has no visibility;
28814          #endif
28815
28816          /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
28817          #if defined(__clang__)
28818          clang compiler is still broken w.r.t. visibility;
28819          #endif
28820
28821          extern __attribute__((__visibility__("hidden"))) int hiddenvar;
28822          extern __attribute__((__visibility__("default"))) int exportedvar;
28823          extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
28824          extern __attribute__((__visibility__("default"))) int exportedfunc (void);
28825          class __attribute__((__visibility__("default"))) Foo {
28826            Foo() {}
28827          };
28828
28829 int
28830 main ()
28831 {
28832
28833   ;
28834   return 0;
28835 }
28836 _ACEOF
28837 if ac_fn_cxx_try_compile "$LINENO"; then :
28838   wx_cv_cc_visibility=yes
28839 else
28840   wx_cv_cc_visibility=no
28841 fi
28842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28843       ac_ext=c
28844 ac_cpp='$CPP $CPPFLAGS'
28845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28848
28849       CXXFLAGS="$wx_save_CXXFLAGS"
28850 fi
28851
28852     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
28853 $as_echo "$wx_cv_cc_visibility" >&6; }
28854     if test $wx_cv_cc_visibility = yes; then
28855                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
28856 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
28857       if ${wx_cv_cc_broken_libstdcxx_visibility+:} false; then :
28858   $as_echo_n "(cached) " >&6
28859 else
28860
28861         wx_save_CXXFLAGS="$CXXFLAGS"
28862         wx_save_LDFLAGS="$LDFLAGS"
28863         CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28864         LDFLAGS="$LDFLAGS -shared -fPIC"
28865         ac_ext=cpp
28866 ac_cpp='$CXXCPP $CPPFLAGS'
28867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28870
28871         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28872 /* end confdefs.h.  */
28873
28874             #include <string>
28875
28876 int
28877 main ()
28878 {
28879
28880             std::string s("hello");
28881             return s.length();
28882
28883   ;
28884   return 0;
28885 }
28886 _ACEOF
28887 if ac_fn_cxx_try_link "$LINENO"; then :
28888   wx_cv_cc_broken_libstdcxx_visibility=no
28889 else
28890   wx_cv_cc_broken_libstdcxx_visibility=yes
28891 fi
28892 rm -f core conftest.err conftest.$ac_objext \
28893     conftest$ac_exeext conftest.$ac_ext
28894         ac_ext=c
28895 ac_cpp='$CPP $CPPFLAGS'
28896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28899
28900         CXXFLAGS="$wx_save_CXXFLAGS"
28901         LDFLAGS="$wx_save_LDFLAGS"
28902 fi
28903
28904       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
28905 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
28906
28907       if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
28908         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
28909 $as_echo_n "checking whether we can work around it... " >&6; }
28910         if ${wx_cv_cc_visibility_workaround+:} false; then :
28911   $as_echo_n "(cached) " >&6
28912 else
28913
28914           ac_ext=cpp
28915 ac_cpp='$CXXCPP $CPPFLAGS'
28916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28919
28920           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28921 /* end confdefs.h.  */
28922
28923               #pragma GCC visibility push(default)
28924               #include <string>
28925               #pragma GCC visibility pop
28926
28927 int
28928 main ()
28929 {
28930
28931               std::string s("hello");
28932               return s.length();
28933
28934   ;
28935   return 0;
28936 }
28937 _ACEOF
28938 if ac_fn_cxx_try_link "$LINENO"; then :
28939   wx_cv_cc_visibility_workaround=no
28940 else
28941   wx_cv_cc_visibility_workaround=yes
28942 fi
28943 rm -f core conftest.err conftest.$ac_objext \
28944     conftest$ac_exeext conftest.$ac_ext
28945           ac_ext=c
28946 ac_cpp='$CPP $CPPFLAGS'
28947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28950
28951
28952 fi
28953
28954         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
28955 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
28956
28957         if test $wx_cv_cc_visibility_workaround = no; then
28958                     wx_cv_cc_visibility=no
28959         fi
28960       fi
28961     fi
28962
28963     if test $wx_cv_cc_visibility = yes; then
28964       $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
28965
28966       if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
28967         $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
28968
28969       fi
28970     else
28971       CFLAGS_VISIBILITY=""
28972       CXXFLAGS_VISIBILITY=""
28973     fi
28974
28975
28976   fi
28977
28978     fi
28979
28980         if test "x$SUNCXX" = xyes; then
28981         SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
28982         WXCONFIG_RPATH="-R\$libdir"
28983     else
28984     case "${host}" in
28985       *-*-linux* | *-*-gnu* )
28986         SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
28987         WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
28988         ;;
28989
28990       *-*-solaris2* )
28991
28992                         CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
28993
28994                         saveLdflags="$LDFLAGS"
28995         LDFLAGS="$saveLdflags -Wl,-rpath,/"
28996         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
28997 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
28998         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28999 /* end confdefs.h.  */
29000
29001 int
29002 main ()
29003 {
29004
29005   ;
29006   return 0;
29007 }
29008 _ACEOF
29009 if ac_fn_c_try_link "$LINENO"; then :
29010
29011                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29012 $as_echo "yes" >&6; }
29013                 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29014                 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29015
29016 else
29017
29018                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29019 $as_echo "no" >&6; }
29020                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29021 $as_echo_n "checking if the linker accepts -R... " >&6; }
29022                 LDFLAGS="$saveLdflags -Wl,-R,/"
29023                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29024 /* end confdefs.h.  */
29025
29026 int
29027 main ()
29028 {
29029
29030   ;
29031   return 0;
29032 }
29033 _ACEOF
29034 if ac_fn_c_try_link "$LINENO"; then :
29035
29036                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29037 $as_echo "yes" >&6; }
29038                         SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
29039                         WXCONFIG_RPATH="-Wl,-R,\$libdir"
29040
29041 else
29042
29043                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29044 $as_echo "no" >&6; }
29045
29046 fi
29047 rm -f core conftest.err conftest.$ac_objext \
29048     conftest$ac_exeext conftest.$ac_ext
29049
29050 fi
29051 rm -f core conftest.err conftest.$ac_objext \
29052     conftest$ac_exeext conftest.$ac_ext
29053         LDFLAGS="$saveLdflags"
29054       ;;
29055
29056       *-*-darwin* )
29057         install_name_tool=`which ${HOST_PREFIX}install_name_tool`
29058         if test "$install_name_tool" -a -x "$install_name_tool"; then
29059             DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29060             cat <<EOF >change-install-names
29061 #!/bin/sh
29062 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29063 for i in \${libnames} ; do
29064     ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29065     for dep in \${libnames} ; do
29066         ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29067     done
29068 done
29069 EOF
29070             chmod +x change-install-names
29071             DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29072         fi
29073
29074                                         HEADER_PAD_OPTION="-headerpad_max_install_names"
29075       ;;
29076
29077       *-*-cygwin* | *-*-mingw32* )
29078         ;;
29079
29080       *-*-hpux* )
29081         SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
29082         WXCONFIG_RPATH="-Wl,+b,\$libdir"
29083         ;;
29084
29085     esac
29086     fi
29087
29088             WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29089
29090     if test $wxUSE_RPATH = "no"; then
29091         SAMPLES_RPATH_FLAG=''
29092         DYLIB_PATH_POSTLINK=''
29093         WXCONFIG_RPATH=''
29094     fi
29095
29096     SHARED=1
29097
29098 else
29099
29100     config_linkage_component="-static"
29101     SHARED=0
29102
29103 fi
29104
29105
29106 UNICODE=0
29107 lib_unicode_suffix=
29108 WX_CHARTYPE="ansi"
29109 if test "$wxUSE_UNICODE" = "yes"; then
29110     lib_unicode_suffix=u
29111     WX_CHARTYPE="unicode"
29112     UNICODE=1
29113 fi
29114
29115 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29116 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29117
29118 DEBUG_INFO=0
29119 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29120     DEBUG_INFO=1
29121 fi
29122
29123 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29124
29125 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29126
29127 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29128
29129
29130 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29131     WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29132 else
29133     WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29134 fi
29135 if test "${TOOLKIT_DIR}" = "os2"; then
29136     WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29137 else
29138     WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29139 fi
29140
29141
29142
29143 if test "$wxUSE_OLD_COCOA" = 1; then
29144
29145     ac_ext=c
29146 ac_cpp='$CPP $CPPFLAGS'
29147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29150
29151 ac_ext=m
29152
29153     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29154 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29155     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29156 /* end confdefs.h.  */
29157 #include <AppKit/NSEvent.h>
29158 #include <CoreFoundation/CoreFoundation.h>
29159
29160 int
29161 main ()
29162 {
29163
29164   ;
29165   return 0;
29166 }
29167 _ACEOF
29168 if ac_fn_c_try_compile "$LINENO"; then :
29169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29170 $as_echo "no" >&6; }
29171 else
29172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29173 $as_echo "yes" >&6; }
29174         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29175 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29176         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29177 /* end confdefs.h.  */
29178 #define __Point__ 1
29179 #include <AppKit/NSEvent.h>
29180 #include <CoreFoundation/CoreFoundation.h>
29181
29182 int
29183 main ()
29184 {
29185
29186   ;
29187   return 0;
29188 }
29189 _ACEOF
29190 if ac_fn_c_try_compile "$LINENO"; then :
29191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29192 $as_echo "yes" >&6; }
29193             $as_echo "#define __Point__ 1" >>confdefs.h
29194
29195
29196 else
29197   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29199 as_fn_error $? "no
29200 See \`config.log' for more details" "$LINENO" 5; }
29201
29202 fi
29203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29204
29205 fi
29206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29207     ac_ext=c
29208 ac_cpp='$CPP $CPPFLAGS'
29209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29212
29213 fi
29214
29215
29216 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29217 if test "x$ac_cv_type_mode_t" = xyes; then :
29218
29219 else
29220
29221 cat >>confdefs.h <<_ACEOF
29222 #define mode_t int
29223 _ACEOF
29224
29225 fi
29226
29227 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29228 if test "x$ac_cv_type_off_t" = xyes; then :
29229
29230 else
29231
29232 cat >>confdefs.h <<_ACEOF
29233 #define off_t long int
29234 _ACEOF
29235
29236 fi
29237
29238 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29239 if test "x$ac_cv_type_pid_t" = xyes; then :
29240
29241 else
29242
29243 cat >>confdefs.h <<_ACEOF
29244 #define pid_t int
29245 _ACEOF
29246
29247 fi
29248
29249 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29250 if test "x$ac_cv_type_size_t" = xyes; then :
29251
29252 else
29253
29254 cat >>confdefs.h <<_ACEOF
29255 #define size_t unsigned int
29256 _ACEOF
29257
29258 fi
29259
29260
29261 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29262 if test "x$ac_cv_type_ssize_t" = xyes; then :
29263
29264 cat >>confdefs.h <<_ACEOF
29265 #define HAVE_SSIZE_T 1
29266 _ACEOF
29267
29268
29269 fi
29270
29271
29272 ac_ext=cpp
29273 ac_cpp='$CXXCPP $CPPFLAGS'
29274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29277  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29278 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29279 if ${wx_cv_size_t_is_uint+:} false; then :
29280   $as_echo_n "(cached) " >&6
29281 else
29282
29283                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29284 /* end confdefs.h.  */
29285 #include <stddef.h>
29286 int
29287 main ()
29288 {
29289
29290             return 0; }
29291
29292             struct Foo { void foo(size_t); void foo(unsigned int); };
29293
29294             int bar() {
29295
29296   ;
29297   return 0;
29298 }
29299 _ACEOF
29300 if ac_fn_cxx_try_compile "$LINENO"; then :
29301   wx_cv_size_t_is_uint=no
29302 else
29303   wx_cv_size_t_is_uint=yes
29304
29305 fi
29306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29307
29308
29309 fi
29310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29311 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29312
29313 if test "$wx_cv_size_t_is_uint" = "yes"; then
29314     $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29315
29316 else
29317     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29318 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29319 if ${wx_cv_size_t_is_ulong+:} false; then :
29320   $as_echo_n "(cached) " >&6
29321 else
29322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29323 /* end confdefs.h.  */
29324 #include <stddef.h>
29325 int
29326 main ()
29327 {
29328
29329                 return 0; }
29330
29331                 struct Foo { void foo(size_t); void foo(unsigned long); };
29332
29333                 int bar() {
29334
29335   ;
29336   return 0;
29337 }
29338 _ACEOF
29339 if ac_fn_cxx_try_compile "$LINENO"; then :
29340   wx_cv_size_t_is_ulong=no
29341 else
29342   wx_cv_size_t_is_ulong=yes
29343
29344 fi
29345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29346
29347 fi
29348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29349 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29350
29351     if test "$wx_cv_size_t_is_ulong" = "yes"; then
29352         $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29353
29354     fi
29355 fi
29356
29357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29358 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29359 if ${wx_cv_wchar_t_is_separate_type+:} false; then :
29360   $as_echo_n "(cached) " >&6
29361 else
29362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29363 /* end confdefs.h.  */
29364 #include <wchar.h>
29365 int
29366 main ()
29367 {
29368
29369             return 0; }
29370
29371             struct Foo { void foo(wchar_t);
29372                          void foo(unsigned short);
29373                          void foo(unsigned int);
29374                          void foo(unsigned long); };
29375
29376             int bar() {
29377
29378   ;
29379   return 0;
29380 }
29381 _ACEOF
29382 if ac_fn_cxx_try_compile "$LINENO"; then :
29383   wx_cv_wchar_t_is_separate_type=yes
29384 else
29385   wx_cv_wchar_t_is_separate_type=no
29386
29387 fi
29388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29389
29390 fi
29391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29392 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29393
29394 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29395     $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29396
29397 else
29398     $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29399
29400 fi
29401
29402 ac_ext=c
29403 ac_cpp='$CPP $CPPFLAGS'
29404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29407
29408
29409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29410 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29411 if ${wx_cv_struct_pw_gecos+:} false; then :
29412   $as_echo_n "(cached) " >&6
29413 else
29414
29415         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29416 /* end confdefs.h.  */
29417 #include <pwd.h>
29418 int
29419 main ()
29420 {
29421
29422                 char *p;
29423                 struct passwd *pw;
29424                 p = pw->pw_gecos;
29425
29426   ;
29427   return 0;
29428 }
29429 _ACEOF
29430 if ac_fn_c_try_compile "$LINENO"; then :
29431
29432                 wx_cv_struct_pw_gecos=yes
29433
29434 else
29435
29436                 wx_cv_struct_pw_gecos=no
29437
29438
29439 fi
29440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29441
29442
29443 fi
29444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29445 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29446
29447 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29448     $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29449
29450 fi
29451
29452
29453 WCSLEN_FOUND=0
29454 WCHAR_LINK=
29455 for ac_func in wcslen
29456 do :
29457   ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
29458 if test "x$ac_cv_func_wcslen" = xyes; then :
29459   cat >>confdefs.h <<_ACEOF
29460 #define HAVE_WCSLEN 1
29461 _ACEOF
29462  WCSLEN_FOUND=1
29463 fi
29464 done
29465
29466
29467 if test "$WCSLEN_FOUND" = 0; then
29468     if test "$TOOLKIT" = "MSW"; then
29469         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29470 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29471 if ${ac_cv_lib_msvcrt_wcslen+:} false; then :
29472   $as_echo_n "(cached) " >&6
29473 else
29474   ac_check_lib_save_LIBS=$LIBS
29475 LIBS="-lmsvcrt  $LIBS"
29476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29477 /* end confdefs.h.  */
29478
29479 /* Override any GCC internal prototype to avoid an error.
29480    Use char because int might match the return type of a GCC
29481    builtin and then its argument prototype would still apply.  */
29482 #ifdef __cplusplus
29483 extern "C"
29484 #endif
29485 char wcslen ();
29486 int
29487 main ()
29488 {
29489 return wcslen ();
29490   ;
29491   return 0;
29492 }
29493 _ACEOF
29494 if ac_fn_c_try_link "$LINENO"; then :
29495   ac_cv_lib_msvcrt_wcslen=yes
29496 else
29497   ac_cv_lib_msvcrt_wcslen=no
29498 fi
29499 rm -f core conftest.err conftest.$ac_objext \
29500     conftest$ac_exeext conftest.$ac_ext
29501 LIBS=$ac_check_lib_save_LIBS
29502 fi
29503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29504 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29505 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes; then :
29506   WCHAR_OK=1
29507 fi
29508
29509     else
29510         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29511 $as_echo_n "checking for wcslen in -lw... " >&6; }
29512 if ${ac_cv_lib_w_wcslen+:} false; then :
29513   $as_echo_n "(cached) " >&6
29514 else
29515   ac_check_lib_save_LIBS=$LIBS
29516 LIBS="-lw  $LIBS"
29517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29518 /* end confdefs.h.  */
29519
29520 /* Override any GCC internal prototype to avoid an error.
29521    Use char because int might match the return type of a GCC
29522    builtin and then its argument prototype would still apply.  */
29523 #ifdef __cplusplus
29524 extern "C"
29525 #endif
29526 char wcslen ();
29527 int
29528 main ()
29529 {
29530 return wcslen ();
29531   ;
29532   return 0;
29533 }
29534 _ACEOF
29535 if ac_fn_c_try_link "$LINENO"; then :
29536   ac_cv_lib_w_wcslen=yes
29537 else
29538   ac_cv_lib_w_wcslen=no
29539 fi
29540 rm -f core conftest.err conftest.$ac_objext \
29541     conftest$ac_exeext conftest.$ac_ext
29542 LIBS=$ac_check_lib_save_LIBS
29543 fi
29544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29545 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29546 if test "x$ac_cv_lib_w_wcslen" = xyes; then :
29547
29548                         WCHAR_LINK=" -lw"
29549                         WCSLEN_FOUND=1
29550
29551 fi
29552
29553     fi
29554 fi
29555
29556 if test "$WCSLEN_FOUND" = 1; then
29557     $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29558
29559 fi
29560
29561 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29562 do :
29563   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29564 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29565 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29566   cat >>confdefs.h <<_ACEOF
29567 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29568 _ACEOF
29569
29570 fi
29571 done
29572
29573
29574 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29575     CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29576 fi
29577
29578 ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29579 "
29580 if test "x$ac_cv_type_mbstate_t" = xyes; then :
29581
29582 cat >>confdefs.h <<_ACEOF
29583 #define HAVE_MBSTATE_T 1
29584 _ACEOF
29585
29586 for ac_func in wcsrtombs
29587 do :
29588   ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29589 if test "x$ac_cv_func_wcsrtombs" = xyes; then :
29590   cat >>confdefs.h <<_ACEOF
29591 #define HAVE_WCSRTOMBS 1
29592 _ACEOF
29593
29594 fi
29595 done
29596
29597 fi
29598
29599
29600 for ac_func in snprintf vsnprintf vsscanf
29601 do :
29602   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29603 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29604 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29605   cat >>confdefs.h <<_ACEOF
29606 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29607 _ACEOF
29608
29609 fi
29610 done
29611
29612
29613 ac_ext=cpp
29614 ac_cpp='$CXXCPP $CPPFLAGS'
29615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29618
29619 if test "$ac_cv_func_vsnprintf" = "yes"; then
29620         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29621 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29622 if ${wx_cv_func_vsnprintf_decl+:} false; then :
29623   $as_echo_n "(cached) " >&6
29624 else
29625
29626                                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29627 /* end confdefs.h.  */
29628
29629                     #include <stdio.h>
29630                     #include <stdarg.h>
29631
29632 int
29633 main ()
29634 {
29635
29636                     char *buf;
29637                     va_list ap;
29638                     vsnprintf(buf, 10u, "%s", ap);
29639
29640   ;
29641   return 0;
29642 }
29643 _ACEOF
29644 if ac_fn_cxx_try_compile "$LINENO"; then :
29645   wx_cv_func_vsnprintf_decl=yes
29646 else
29647   wx_cv_func_vsnprintf_decl=no
29648
29649 fi
29650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29651
29652
29653 fi
29654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29655 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29656
29657     if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29658         $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29659
29660
29661                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29662 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29663 if ${wx_cv_func_broken_vsnprintf_decl+:} false; then :
29664   $as_echo_n "(cached) " >&6
29665 else
29666
29667                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29668 /* end confdefs.h.  */
29669
29670                         #include <stdio.h>
29671                         #include <stdarg.h>
29672                         #ifdef __MSL__
29673                         #if __MSL__ >= 0x6000
29674                         namespace std {}
29675                         using namespace std;
29676                         #endif
29677                         #endif
29678
29679 int
29680 main ()
29681 {
29682
29683                         char *buf;
29684                         va_list ap;
29685                         const char *fmt = "%s";
29686                         vsnprintf(buf, 10u, fmt, ap);
29687
29688   ;
29689   return 0;
29690 }
29691 _ACEOF
29692 if ac_fn_cxx_try_compile "$LINENO"; then :
29693   wx_cv_func_broken_vsnprintf_decl=no
29694 else
29695   wx_cv_func_broken_vsnprintf_decl=yes
29696
29697 fi
29698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29699
29700
29701 fi
29702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29703 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29704
29705         if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29706             $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29707
29708         fi
29709     fi
29710 fi
29711
29712 if test "$ac_cv_func_snprintf" = "yes"; then
29713     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29714 $as_echo_n "checking for snprintf declaration... " >&6; }
29715 if ${wx_cv_func_snprintf_decl+:} false; then :
29716   $as_echo_n "(cached) " >&6
29717 else
29718
29719             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29720 /* end confdefs.h.  */
29721
29722                     #include <stdio.h>
29723                     #include <stdarg.h>
29724                     #ifdef __MSL__
29725                     #if __MSL__ >= 0x6000
29726                     namespace std {}
29727                     using namespace std;
29728                     #endif
29729                     #endif
29730
29731 int
29732 main ()
29733 {
29734
29735                     char *buf;
29736                     snprintf(buf, 10u, "%s", "wx");
29737
29738   ;
29739   return 0;
29740 }
29741 _ACEOF
29742 if ac_fn_cxx_try_compile "$LINENO"; then :
29743   wx_cv_func_snprintf_decl=yes
29744 else
29745   wx_cv_func_snprintf_decl=no
29746
29747 fi
29748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29749
29750
29751 fi
29752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29753 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29754
29755     if test "$wx_cv_func_snprintf_decl" = "yes"; then
29756         $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29757
29758     fi
29759
29760     if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29761
29762                                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29763 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29764 if ${wx_cv_func_snprintf_pos_params+:} false; then :
29765   $as_echo_n "(cached) " >&6
29766 else
29767
29768                 if test "$cross_compiling" = yes; then :
29769
29770                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29771 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29772 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29773 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29774                         wx_cv_func_snprintf_pos_params=no
29775
29776
29777 else
29778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29779 /* end confdefs.h.  */
29780
29781                         #include <stdio.h>
29782
29783                         int main (void)
29784                         {
29785                             char buffer[128];
29786                             snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
29787                             if (strcmp ("2 3 1", buffer) == 0)
29788                                 exit (0);
29789                             exit (1);
29790                         }
29791
29792 _ACEOF
29793 if ac_fn_cxx_try_run "$LINENO"; then :
29794   wx_cv_func_snprintf_pos_params=no
29795 else
29796   wx_cv_func_snprintf_pos_params=yes
29797 fi
29798 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29799   conftest.$ac_objext conftest.beam conftest.$ac_ext
29800 fi
29801
29802
29803
29804 fi
29805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
29806 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
29807
29808         if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
29809             $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
29810
29811         fi
29812     fi
29813 fi
29814
29815 if test "$ac_cv_func_vsscanf" = "yes"; then
29816     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
29817 $as_echo_n "checking for vsscanf declaration... " >&6; }
29818 if ${wx_cv_func_vsscanf_decl+:} false; then :
29819   $as_echo_n "(cached) " >&6
29820 else
29821
29822             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29823 /* end confdefs.h.  */
29824
29825                     #include <stdio.h>
29826                     #include <stdarg.h>
29827                     #ifdef __MSL__
29828                     #if __MSL__ >= 0x6000
29829                     namespace std {}
29830                     using namespace std;
29831                     #endif
29832                     #endif
29833
29834 int
29835 main ()
29836 {
29837
29838                     char *buf;
29839                     va_list args;
29840                     vsscanf(buf, "%s", args);
29841
29842   ;
29843   return 0;
29844 }
29845 _ACEOF
29846 if ac_fn_cxx_try_compile "$LINENO"; then :
29847   wx_cv_func_vsscanf_decl=yes
29848 else
29849   wx_cv_func_vsscanf_decl=no
29850
29851 fi
29852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29853
29854
29855 fi
29856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
29857 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
29858
29859     if test "$wx_cv_func_vsscanf_decl" = "yes"; then
29860         $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
29861
29862     fi
29863 fi
29864 ac_ext=c
29865 ac_cpp='$CPP $CPPFLAGS'
29866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29869
29870
29871 if test "$wxUSE_UNICODE" = yes; then
29872
29873             wchar_headers="#include <stdio.h>
29874 #include <wchar.h>"
29875     case "${host}" in
29876         *-*-solaris2* )
29877             for ac_header in widec.h
29878 do :
29879   ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
29880 "
29881 if test "x$ac_cv_header_widec_h" = xyes; then :
29882   cat >>confdefs.h <<_ACEOF
29883 #define HAVE_WIDEC_H 1
29884 _ACEOF
29885
29886 fi
29887
29888 done
29889
29890             if test "$ac_cv_header_widec_h" = "yes"; then
29891                 wchar_headers="$wchar_headers
29892 #include <widec.h>"
29893             fi
29894     esac
29895
29896
29897   for wx_func in putws fputws wprintf vswprintf vswscanf
29898   do
29899     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
29900 $as_echo_n "checking for $wx_func... " >&6; }
29901 if eval \${wx_cv_func_$wx_func+:} false; then :
29902   $as_echo_n "(cached) " >&6
29903 else
29904
29905         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29906 /* end confdefs.h.  */
29907
29908
29909                 $wchar_headers
29910                 $ac_includes_default
29911
29912 int
29913 main ()
29914 {
29915
29916                 #ifndef $wx_func
29917                   &$wx_func;
29918                 #endif
29919
29920
29921   ;
29922   return 0;
29923 }
29924
29925 _ACEOF
29926 if ac_fn_c_try_link "$LINENO"; then :
29927   eval wx_cv_func_$wx_func=yes
29928 else
29929   eval wx_cv_func_$wx_func=no
29930 fi
29931 rm -f core conftest.err conftest.$ac_objext \
29932     conftest$ac_exeext conftest.$ac_ext
29933
29934 fi
29935 eval ac_res=\$wx_cv_func_$wx_func
29936                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
29937 $as_echo "$ac_res" >&6; }
29938
29939     if eval test \$wx_cv_func_$wx_func = yes
29940     then
29941       cat >>confdefs.h <<_ACEOF
29942 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
29943 _ACEOF
29944
29945
29946     else
29947       :
29948
29949     fi
29950   done
29951
29952
29953                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
29954 $as_echo_n "checking for _vsnwprintf... " >&6; }
29955     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29956 /* end confdefs.h.  */
29957 #include <wchar.h>
29958 int
29959 main ()
29960 {
29961 &_vsnwprintf;
29962   ;
29963   return 0;
29964 }
29965 _ACEOF
29966 if ac_fn_c_try_compile "$LINENO"; then :
29967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29968 $as_echo "yes" >&6; }
29969                     $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
29970
29971 else
29972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29973 $as_echo "no" >&6; }
29974 fi
29975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
29976 fi
29977
29978 if test "$wxUSE_FILE" = "yes"; then
29979
29980   for wx_func in fsync
29981   do
29982     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
29983 $as_echo_n "checking for $wx_func... " >&6; }
29984 if eval \${wx_cv_func_$wx_func+:} false; then :
29985   $as_echo_n "(cached) " >&6
29986 else
29987
29988         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29989 /* end confdefs.h.  */
29990
29991
29992
29993                 $ac_includes_default
29994
29995 int
29996 main ()
29997 {
29998
29999                 #ifndef $wx_func
30000                   &$wx_func;
30001                 #endif
30002
30003
30004   ;
30005   return 0;
30006 }
30007
30008 _ACEOF
30009 if ac_fn_c_try_link "$LINENO"; then :
30010   eval wx_cv_func_$wx_func=yes
30011 else
30012   eval wx_cv_func_$wx_func=no
30013 fi
30014 rm -f core conftest.err conftest.$ac_objext \
30015     conftest$ac_exeext conftest.$ac_ext
30016
30017 fi
30018 eval ac_res=\$wx_cv_func_$wx_func
30019                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30020 $as_echo "$ac_res" >&6; }
30021
30022     if eval test \$wx_cv_func_$wx_func = yes
30023     then
30024       cat >>confdefs.h <<_ACEOF
30025 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30026 _ACEOF
30027
30028
30029     else
30030       :
30031
30032     fi
30033   done
30034
30035 fi
30036
30037 ac_ext=cpp
30038 ac_cpp='$CXXCPP $CPPFLAGS'
30039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30042
30043
30044   for wx_func in round
30045   do
30046     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30047 $as_echo_n "checking for $wx_func... " >&6; }
30048 if eval \${wx_cv_func_$wx_func+:} false; then :
30049   $as_echo_n "(cached) " >&6
30050 else
30051
30052         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30053 /* end confdefs.h.  */
30054
30055
30056                 #include <math.h>
30057                 $ac_includes_default
30058
30059 int
30060 main ()
30061 {
30062
30063                 #ifndef $wx_func
30064                   &$wx_func;
30065                 #endif
30066
30067
30068   ;
30069   return 0;
30070 }
30071
30072 _ACEOF
30073 if ac_fn_cxx_try_link "$LINENO"; then :
30074   eval wx_cv_func_$wx_func=yes
30075 else
30076   eval wx_cv_func_$wx_func=no
30077 fi
30078 rm -f core conftest.err conftest.$ac_objext \
30079     conftest$ac_exeext conftest.$ac_ext
30080
30081 fi
30082 eval ac_res=\$wx_cv_func_$wx_func
30083                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30084 $as_echo "$ac_res" >&6; }
30085
30086     if eval test \$wx_cv_func_$wx_func = yes
30087     then
30088       cat >>confdefs.h <<_ACEOF
30089 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30090 _ACEOF
30091
30092
30093     else
30094       :
30095
30096     fi
30097   done
30098
30099 ac_ext=c
30100 ac_cpp='$CPP $CPPFLAGS'
30101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30104
30105
30106 if test "$TOOLKIT" != "MSW"; then
30107
30108 if test "$wxUSE_LIBICONV" != "no" ; then
30109
30110
30111
30112 # Check whether --with-libiconv-prefix was given.
30113 if test "${with_libiconv_prefix+set}" = set; then :
30114   withval=$with_libiconv_prefix;
30115     for dir in `echo "$withval" | tr : ' '`; do
30116       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30117       if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30118     done
30119
30120 fi
30121
30122
30123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30124 $as_echo_n "checking for iconv... " >&6; }
30125 if ${am_cv_func_iconv+:} false; then :
30126   $as_echo_n "(cached) " >&6
30127 else
30128
30129     am_cv_func_iconv="no, consider installing GNU libiconv"
30130     am_cv_lib_iconv=no
30131     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30132 /* end confdefs.h.  */
30133 #include <stdlib.h>
30134 #include <iconv.h>
30135 int
30136 main ()
30137 {
30138 iconv_t cd = iconv_open("","");
30139        iconv(cd,NULL,NULL,NULL,NULL);
30140        iconv_close(cd);
30141   ;
30142   return 0;
30143 }
30144 _ACEOF
30145 if ac_fn_c_try_link "$LINENO"; then :
30146   am_cv_func_iconv=yes
30147 fi
30148 rm -f core conftest.err conftest.$ac_objext \
30149     conftest$ac_exeext conftest.$ac_ext
30150     if test "$am_cv_func_iconv" != yes; then
30151       am_save_LIBS="$LIBS"
30152       LIBS="$LIBS -liconv"
30153       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30154 /* end confdefs.h.  */
30155 #include <stdlib.h>
30156 #include <iconv.h>
30157 int
30158 main ()
30159 {
30160 iconv_t cd = iconv_open("","");
30161          iconv(cd,NULL,NULL,NULL,NULL);
30162          iconv_close(cd);
30163   ;
30164   return 0;
30165 }
30166 _ACEOF
30167 if ac_fn_c_try_link "$LINENO"; then :
30168   am_cv_lib_iconv=yes
30169         am_cv_func_iconv=yes
30170 fi
30171 rm -f core conftest.err conftest.$ac_objext \
30172     conftest$ac_exeext conftest.$ac_ext
30173       LIBS="$am_save_LIBS"
30174     fi
30175
30176 fi
30177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30178 $as_echo "$am_cv_func_iconv" >&6; }
30179   if test "$am_cv_func_iconv" = yes; then
30180
30181 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30182
30183     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30184 $as_echo_n "checking if iconv needs const... " >&6; }
30185 if ${wx_cv_func_iconv_const+:} false; then :
30186   $as_echo_n "(cached) " >&6
30187 else
30188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30189 /* end confdefs.h.  */
30190
30191 #include <stdlib.h>
30192 #include <iconv.h>
30193 extern
30194 #ifdef __cplusplus
30195 "C"
30196 #endif
30197 #if defined(__STDC__) || defined(__cplusplus)
30198 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30199 #else
30200 size_t iconv();
30201 #endif
30202
30203 int
30204 main ()
30205 {
30206
30207   ;
30208   return 0;
30209 }
30210 _ACEOF
30211 if ac_fn_c_try_compile "$LINENO"; then :
30212   wx_cv_func_iconv_const="no"
30213 else
30214   wx_cv_func_iconv_const="yes"
30215
30216 fi
30217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30218
30219 fi
30220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30221 $as_echo "$wx_cv_func_iconv_const" >&6; }
30222
30223     iconv_const=
30224     if test "x$wx_cv_func_iconv_const" = "xyes"; then
30225         iconv_const="const"
30226     fi
30227
30228
30229 cat >>confdefs.h <<_ACEOF
30230 #define ICONV_CONST $iconv_const
30231 _ACEOF
30232
30233   fi
30234   LIBICONV=
30235   if test "$am_cv_lib_iconv" = yes; then
30236     LIBICONV="-liconv"
30237   fi
30238
30239
30240     LIBS="$LIBICONV $LIBS"
30241 fi
30242
30243 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30244     for ac_func in sigaction
30245 do :
30246   ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
30247 if test "x$ac_cv_func_sigaction" = xyes; then :
30248   cat >>confdefs.h <<_ACEOF
30249 #define HAVE_SIGACTION 1
30250 _ACEOF
30251
30252 fi
30253 done
30254
30255
30256     if test "$ac_cv_func_sigaction" = "no"; then
30257         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30258 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30259         wxUSE_ON_FATAL_EXCEPTION=no
30260     fi
30261
30262     if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30263       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30264 $as_echo_n "checking for sa_handler type... " >&6; }
30265 if ${wx_cv_type_sa_handler+:} false; then :
30266   $as_echo_n "(cached) " >&6
30267 else
30268
30269                 ac_ext=cpp
30270 ac_cpp='$CXXCPP $CPPFLAGS'
30271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30274
30275         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30276 /* end confdefs.h.  */
30277 #include <signal.h>
30278 int
30279 main ()
30280 {
30281
30282                         extern void testSigHandler(int);
30283
30284                         struct sigaction sa;
30285                         sa.sa_handler = testSigHandler;
30286
30287   ;
30288   return 0;
30289 }
30290 _ACEOF
30291 if ac_fn_cxx_try_compile "$LINENO"; then :
30292
30293                         wx_cv_type_sa_handler=int
30294
30295 else
30296
30297                         wx_cv_type_sa_handler=void
30298
30299 fi
30300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30301         ac_ext=c
30302 ac_cpp='$CPP $CPPFLAGS'
30303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30306
30307
30308 fi
30309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30310 $as_echo "$wx_cv_type_sa_handler" >&6; }
30311
30312       cat >>confdefs.h <<_ACEOF
30313 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30314 _ACEOF
30315
30316     fi
30317 fi
30318
30319 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30320     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30321 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30322 if ${wx_cv_func_backtrace+:} false; then :
30323   $as_echo_n "(cached) " >&6
30324 else
30325
30326             ac_ext=cpp
30327 ac_cpp='$CXXCPP $CPPFLAGS'
30328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30331
30332             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30333 /* end confdefs.h.  */
30334 #include <execinfo.h>
30335 int
30336 main ()
30337 {
30338
30339                     void *trace[1];
30340                     char **messages;
30341
30342                     backtrace(trace, 1);
30343                     messages = backtrace_symbols(trace, 1);
30344
30345   ;
30346   return 0;
30347 }
30348 _ACEOF
30349 if ac_fn_cxx_try_compile "$LINENO"; then :
30350   wx_cv_func_backtrace=yes
30351 else
30352   wx_cv_func_backtrace=no
30353
30354 fi
30355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30356             ac_ext=c
30357 ac_cpp='$CPP $CPPFLAGS'
30358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30361
30362
30363
30364 fi
30365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30366 $as_echo "$wx_cv_func_backtrace" >&6; }
30367
30368
30369     if test "$wx_cv_func_backtrace" = "no"; then
30370         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30371 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30372         wxUSE_STACKWALKER=no
30373     else
30374         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30375 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30376 if ${wx_cv_func_cxa_demangle+:} false; then :
30377   $as_echo_n "(cached) " >&6
30378 else
30379
30380                 ac_ext=cpp
30381 ac_cpp='$CXXCPP $CPPFLAGS'
30382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30385
30386                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30387 /* end confdefs.h.  */
30388 #include <cxxabi.h>
30389 int
30390 main ()
30391 {
30392
30393                         int rc;
30394                         __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30395
30396   ;
30397   return 0;
30398 }
30399 _ACEOF
30400 if ac_fn_cxx_try_link "$LINENO"; then :
30401   wx_cv_func_cxa_demangle=yes
30402 else
30403   wx_cv_func_cxa_demangle=no
30404
30405 fi
30406 rm -f core conftest.err conftest.$ac_objext \
30407     conftest$ac_exeext conftest.$ac_ext
30408                 ac_ext=c
30409 ac_cpp='$CPP $CPPFLAGS'
30410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30413
30414
30415
30416 fi
30417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30418 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30419
30420         if test "$wx_cv_func_cxa_demangle" = "yes"; then
30421             $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30422
30423         fi
30424     fi
30425 fi
30426
30427 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30428     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30429 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30430     wxUSE_STACKWALKER=no
30431 fi
30432
30433
30434 for ac_func in mkstemp mktemp
30435 do :
30436   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30437 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30438 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30439   cat >>confdefs.h <<_ACEOF
30440 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30441 _ACEOF
30442  break
30443 fi
30444 done
30445
30446
30447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30448 $as_echo_n "checking for statfs... " >&6; }
30449 if ${wx_cv_func_statfs+:} false; then :
30450   $as_echo_n "(cached) " >&6
30451 else
30452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30453 /* end confdefs.h.  */
30454
30455              #if defined(__BSD__)
30456              #include <sys/param.h>
30457              #include <sys/mount.h>
30458              #else
30459              #include <sys/vfs.h>
30460              #endif
30461
30462 int
30463 main ()
30464 {
30465
30466              long l;
30467              struct statfs fs;
30468              statfs("/", &fs);
30469              l = fs.f_bsize;
30470              l += fs.f_blocks;
30471              l += fs.f_bavail;
30472
30473   ;
30474   return 0;
30475 }
30476 _ACEOF
30477 if ac_fn_c_try_compile "$LINENO"; then :
30478   wx_cv_func_statfs=yes
30479 else
30480   wx_cv_func_statfs=no
30481
30482 fi
30483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30484
30485 fi
30486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30487 $as_echo "$wx_cv_func_statfs" >&6; }
30488
30489 if test "$wx_cv_func_statfs" = "yes"; then
30490         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30491 $as_echo_n "checking for statfs declaration... " >&6; }
30492 if ${wx_cv_func_statfs_decl+:} false; then :
30493   $as_echo_n "(cached) " >&6
30494 else
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
30504                  #if defined(__BSD__)
30505                  #include <sys/param.h>
30506                  #include <sys/mount.h>
30507                  #else
30508                  #include <sys/vfs.h>
30509                  #endif
30510
30511 int
30512 main ()
30513 {
30514
30515                 struct statfs fs;
30516                 statfs("", &fs);
30517
30518   ;
30519   return 0;
30520 }
30521 _ACEOF
30522 if ac_fn_cxx_try_compile "$LINENO"; then :
30523   wx_cv_func_statfs_decl=yes
30524 else
30525   wx_cv_func_statfs_decl=no
30526
30527 fi
30528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30529         ac_ext=c
30530 ac_cpp='$CPP $CPPFLAGS'
30531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30534
30535
30536 fi
30537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30538 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30539
30540     if test "$wx_cv_func_statfs_decl" = "yes"; then
30541         $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30542
30543     fi
30544
30545     wx_cv_type_statvfs_t="struct statfs"
30546     $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30547
30548 else
30549     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30550 $as_echo_n "checking for statvfs... " >&6; }
30551 if ${wx_cv_func_statvfs+:} false; then :
30552   $as_echo_n "(cached) " >&6
30553 else
30554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30555 /* end confdefs.h.  */
30556
30557                 #include <stddef.h>
30558                 #include <sys/statvfs.h>
30559
30560 int
30561 main ()
30562 {
30563
30564                 statvfs("/", NULL);
30565
30566   ;
30567   return 0;
30568 }
30569 _ACEOF
30570 if ac_fn_c_try_compile "$LINENO"; then :
30571   wx_cv_func_statvfs=yes
30572 else
30573   wx_cv_func_statvfs=no
30574
30575 fi
30576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30577
30578 fi
30579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30580 $as_echo "$wx_cv_func_statvfs" >&6; }
30581
30582     if test "$wx_cv_func_statvfs" = "yes"; then
30583                                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30584 $as_echo_n "checking for statvfs argument type... " >&6; }
30585 if ${wx_cv_type_statvfs_t+:} false; then :
30586   $as_echo_n "(cached) " >&6
30587 else
30588   ac_ext=cpp
30589 ac_cpp='$CXXCPP $CPPFLAGS'
30590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30593
30594             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30595 /* end confdefs.h.  */
30596
30597                     #include <sys/statvfs.h>
30598
30599 int
30600 main ()
30601 {
30602
30603                     long l;
30604                     statvfs_t fs;
30605                     statvfs("/", &fs);
30606                     l = fs.f_bsize;
30607                     l += fs.f_blocks;
30608                     l += fs.f_bavail;
30609
30610   ;
30611   return 0;
30612 }
30613 _ACEOF
30614 if ac_fn_cxx_try_compile "$LINENO"; then :
30615   wx_cv_type_statvfs_t=statvfs_t
30616 else
30617
30618                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30619 /* end confdefs.h.  */
30620
30621                             #include <sys/statvfs.h>
30622
30623 int
30624 main ()
30625 {
30626
30627                             long l;
30628                             struct statvfs fs;
30629                             statvfs("/", &fs);
30630                             l = fs.f_bsize;
30631                             l += fs.f_blocks;
30632                             l += fs.f_bavail;
30633
30634   ;
30635   return 0;
30636 }
30637 _ACEOF
30638 if ac_fn_cxx_try_compile "$LINENO"; then :
30639   wx_cv_type_statvfs_t="struct statvfs"
30640 else
30641   wx_cv_type_statvfs_t="unknown"
30642
30643 fi
30644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30645
30646
30647 fi
30648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30649             ac_ext=c
30650 ac_cpp='$CPP $CPPFLAGS'
30651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30654
30655
30656 fi
30657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30658 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30659
30660         if test "$wx_cv_type_statvfs_t" != "unknown"; then
30661             $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30662
30663         fi
30664     else
30665                 wx_cv_type_statvfs_t="unknown"
30666     fi
30667 fi
30668
30669 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30670     cat >>confdefs.h <<_ACEOF
30671 #define WX_STATFS_T $wx_cv_type_statvfs_t
30672 _ACEOF
30673
30674 else
30675     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30676 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30677 fi
30678
30679 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30680     for ac_func in fcntl flock
30681 do :
30682   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30683 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30684 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30685   cat >>confdefs.h <<_ACEOF
30686 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30687 _ACEOF
30688  break
30689 fi
30690 done
30691
30692
30693     if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30694         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30695 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30696         wxUSE_SNGLINST_CHECKER=no
30697     fi
30698 fi
30699
30700 for ac_func in setenv putenv
30701 do :
30702   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30703 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30704 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30705   cat >>confdefs.h <<_ACEOF
30706 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30707 _ACEOF
30708  break
30709 fi
30710 done
30711
30712 if test "$ac_cv_func_setenv" = "yes"; then
30713     for ac_func in unsetenv
30714 do :
30715   ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30716 if test "x$ac_cv_func_unsetenv" = xyes; then :
30717   cat >>confdefs.h <<_ACEOF
30718 #define HAVE_UNSETENV 1
30719 _ACEOF
30720
30721 fi
30722 done
30723
30724 fi
30725
30726 HAVE_SOME_SLEEP_FUNC=0
30727 if test "$USE_BEOS" = 1; then
30728             $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30729
30730     HAVE_SOME_SLEEP_FUNC=1
30731 fi
30732
30733 if test "$USE_DARWIN" = 1; then
30734             $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
30735
30736     HAVE_SOME_SLEEP_FUNC=1
30737 fi
30738
30739 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30740         POSIX4_LINK=
30741     for ac_func in nanosleep
30742 do :
30743   ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30744 if test "x$ac_cv_func_nanosleep" = xyes; then :
30745   cat >>confdefs.h <<_ACEOF
30746 #define HAVE_NANOSLEEP 1
30747 _ACEOF
30748  $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30749
30750 else
30751
30752             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
30753 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
30754 if ${ac_cv_lib_posix4_nanosleep+:} false; then :
30755   $as_echo_n "(cached) " >&6
30756 else
30757   ac_check_lib_save_LIBS=$LIBS
30758 LIBS="-lposix4  $LIBS"
30759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30760 /* end confdefs.h.  */
30761
30762 /* Override any GCC internal prototype to avoid an error.
30763    Use char because int might match the return type of a GCC
30764    builtin and then its argument prototype would still apply.  */
30765 #ifdef __cplusplus
30766 extern "C"
30767 #endif
30768 char nanosleep ();
30769 int
30770 main ()
30771 {
30772 return nanosleep ();
30773   ;
30774   return 0;
30775 }
30776 _ACEOF
30777 if ac_fn_c_try_link "$LINENO"; then :
30778   ac_cv_lib_posix4_nanosleep=yes
30779 else
30780   ac_cv_lib_posix4_nanosleep=no
30781 fi
30782 rm -f core conftest.err conftest.$ac_objext \
30783     conftest$ac_exeext conftest.$ac_ext
30784 LIBS=$ac_check_lib_save_LIBS
30785 fi
30786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
30787 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
30788 if test "x$ac_cv_lib_posix4_nanosleep" = xyes; then :
30789
30790                     $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30791
30792                     POSIX4_LINK=" -lposix4"
30793
30794 else
30795
30796
30797   for wx_func in usleep
30798   do
30799     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30800 $as_echo_n "checking for $wx_func... " >&6; }
30801 if eval \${wx_cv_func_$wx_func+:} false; then :
30802   $as_echo_n "(cached) " >&6
30803 else
30804
30805         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30806 /* end confdefs.h.  */
30807
30808
30809
30810                 $ac_includes_default
30811
30812 int
30813 main ()
30814 {
30815
30816                 #ifndef $wx_func
30817                   &$wx_func;
30818                 #endif
30819
30820
30821   ;
30822   return 0;
30823 }
30824
30825 _ACEOF
30826 if ac_fn_c_try_link "$LINENO"; then :
30827   eval wx_cv_func_$wx_func=yes
30828 else
30829   eval wx_cv_func_$wx_func=no
30830 fi
30831 rm -f core conftest.err conftest.$ac_objext \
30832     conftest$ac_exeext conftest.$ac_ext
30833
30834 fi
30835 eval ac_res=\$wx_cv_func_$wx_func
30836                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30837 $as_echo "$ac_res" >&6; }
30838
30839     if eval test \$wx_cv_func_$wx_func = yes
30840     then
30841       cat >>confdefs.h <<_ACEOF
30842 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30843 _ACEOF
30844
30845
30846     else
30847       :
30848       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
30849 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30850
30851     fi
30852   done
30853
30854
30855
30856 fi
30857
30858
30859
30860 fi
30861 done
30862
30863 fi
30864
30865
30866   for wx_func in uname
30867   do
30868     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30869 $as_echo_n "checking for $wx_func... " >&6; }
30870 if eval \${wx_cv_func_$wx_func+:} false; then :
30871   $as_echo_n "(cached) " >&6
30872 else
30873
30874         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30875 /* end confdefs.h.  */
30876
30877
30878                 #include <sys/utsname.h>
30879                 $ac_includes_default
30880
30881 int
30882 main ()
30883 {
30884
30885                 #ifndef $wx_func
30886                   &$wx_func;
30887                 #endif
30888
30889
30890   ;
30891   return 0;
30892 }
30893
30894 _ACEOF
30895 if ac_fn_c_try_link "$LINENO"; then :
30896   eval wx_cv_func_$wx_func=yes
30897 else
30898   eval wx_cv_func_$wx_func=no
30899 fi
30900 rm -f core conftest.err conftest.$ac_objext \
30901     conftest$ac_exeext conftest.$ac_ext
30902
30903 fi
30904 eval ac_res=\$wx_cv_func_$wx_func
30905                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30906 $as_echo "$ac_res" >&6; }
30907
30908     if eval test \$wx_cv_func_$wx_func = yes
30909     then
30910       cat >>confdefs.h <<_ACEOF
30911 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30912 _ACEOF
30913
30914
30915     else
30916       :
30917
30918     fi
30919   done
30920
30921 if test "$wx_cv_func_uname" != yes; then
30922
30923   for wx_func in gethostname
30924   do
30925     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30926 $as_echo_n "checking for $wx_func... " >&6; }
30927 if eval \${wx_cv_func_$wx_func+:} false; then :
30928   $as_echo_n "(cached) " >&6
30929 else
30930
30931         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30932 /* end confdefs.h.  */
30933
30934
30935
30936                 $ac_includes_default
30937
30938 int
30939 main ()
30940 {
30941
30942                 #ifndef $wx_func
30943                   &$wx_func;
30944                 #endif
30945
30946
30947   ;
30948   return 0;
30949 }
30950
30951 _ACEOF
30952 if ac_fn_c_try_link "$LINENO"; then :
30953   eval wx_cv_func_$wx_func=yes
30954 else
30955   eval wx_cv_func_$wx_func=no
30956 fi
30957 rm -f core conftest.err conftest.$ac_objext \
30958     conftest$ac_exeext conftest.$ac_ext
30959
30960 fi
30961 eval ac_res=\$wx_cv_func_$wx_func
30962                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30963 $as_echo "$ac_res" >&6; }
30964
30965     if eval test \$wx_cv_func_$wx_func = yes
30966     then
30967       cat >>confdefs.h <<_ACEOF
30968 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30969 _ACEOF
30970
30971
30972     else
30973       :
30974
30975     fi
30976   done
30977
30978 fi
30979
30980
30981   for wx_func in strtok_r
30982   do
30983     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30984 $as_echo_n "checking for $wx_func... " >&6; }
30985 if eval \${wx_cv_func_$wx_func+:} false; then :
30986   $as_echo_n "(cached) " >&6
30987 else
30988
30989         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30990 /* end confdefs.h.  */
30991
30992
30993                 #define _REENTRANT
30994                 $ac_includes_default
30995
30996 int
30997 main ()
30998 {
30999
31000                 #ifndef $wx_func
31001                   &$wx_func;
31002                 #endif
31003
31004
31005   ;
31006   return 0;
31007 }
31008
31009 _ACEOF
31010 if ac_fn_c_try_link "$LINENO"; then :
31011   eval wx_cv_func_$wx_func=yes
31012 else
31013   eval wx_cv_func_$wx_func=no
31014 fi
31015 rm -f core conftest.err conftest.$ac_objext \
31016     conftest$ac_exeext conftest.$ac_ext
31017
31018 fi
31019 eval ac_res=\$wx_cv_func_$wx_func
31020                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31021 $as_echo "$ac_res" >&6; }
31022
31023     if eval test \$wx_cv_func_$wx_func = yes
31024     then
31025       cat >>confdefs.h <<_ACEOF
31026 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31027 _ACEOF
31028
31029
31030     else
31031       :
31032
31033     fi
31034   done
31035
31036
31037 INET_LINK=
31038 for ac_func in inet_addr
31039 do :
31040   ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31041 if test "x$ac_cv_func_inet_addr" = xyes; then :
31042   cat >>confdefs.h <<_ACEOF
31043 #define HAVE_INET_ADDR 1
31044 _ACEOF
31045  $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31046
31047 else
31048
31049         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31050 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31051 if ${ac_cv_lib_nsl_inet_addr+:} false; then :
31052   $as_echo_n "(cached) " >&6
31053 else
31054   ac_check_lib_save_LIBS=$LIBS
31055 LIBS="-lnsl  $LIBS"
31056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31057 /* end confdefs.h.  */
31058
31059 /* Override any GCC internal prototype to avoid an error.
31060    Use char because int might match the return type of a GCC
31061    builtin and then its argument prototype would still apply.  */
31062 #ifdef __cplusplus
31063 extern "C"
31064 #endif
31065 char inet_addr ();
31066 int
31067 main ()
31068 {
31069 return inet_addr ();
31070   ;
31071   return 0;
31072 }
31073 _ACEOF
31074 if ac_fn_c_try_link "$LINENO"; then :
31075   ac_cv_lib_nsl_inet_addr=yes
31076 else
31077   ac_cv_lib_nsl_inet_addr=no
31078 fi
31079 rm -f core conftest.err conftest.$ac_objext \
31080     conftest$ac_exeext conftest.$ac_ext
31081 LIBS=$ac_check_lib_save_LIBS
31082 fi
31083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31084 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31085 if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
31086   INET_LINK="nsl"
31087 else
31088
31089                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31090 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31091 if ${ac_cv_lib_resolv_inet_addr+:} false; then :
31092   $as_echo_n "(cached) " >&6
31093 else
31094   ac_check_lib_save_LIBS=$LIBS
31095 LIBS="-lresolv  $LIBS"
31096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31097 /* end confdefs.h.  */
31098
31099 /* Override any GCC internal prototype to avoid an error.
31100    Use char because int might match the return type of a GCC
31101    builtin and then its argument prototype would still apply.  */
31102 #ifdef __cplusplus
31103 extern "C"
31104 #endif
31105 char inet_addr ();
31106 int
31107 main ()
31108 {
31109 return inet_addr ();
31110   ;
31111   return 0;
31112 }
31113 _ACEOF
31114 if ac_fn_c_try_link "$LINENO"; then :
31115   ac_cv_lib_resolv_inet_addr=yes
31116 else
31117   ac_cv_lib_resolv_inet_addr=no
31118 fi
31119 rm -f core conftest.err conftest.$ac_objext \
31120     conftest$ac_exeext conftest.$ac_ext
31121 LIBS=$ac_check_lib_save_LIBS
31122 fi
31123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31124 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31125 if test "x$ac_cv_lib_resolv_inet_addr" = xyes; then :
31126   INET_LINK="resolv"
31127 else
31128
31129                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31130 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31131 if ${ac_cv_lib_socket_inet_addr+:} false; then :
31132   $as_echo_n "(cached) " >&6
31133 else
31134   ac_check_lib_save_LIBS=$LIBS
31135 LIBS="-lsocket  $LIBS"
31136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31137 /* end confdefs.h.  */
31138
31139 /* Override any GCC internal prototype to avoid an error.
31140    Use char because int might match the return type of a GCC
31141    builtin and then its argument prototype would still apply.  */
31142 #ifdef __cplusplus
31143 extern "C"
31144 #endif
31145 char inet_addr ();
31146 int
31147 main ()
31148 {
31149 return inet_addr ();
31150   ;
31151   return 0;
31152 }
31153 _ACEOF
31154 if ac_fn_c_try_link "$LINENO"; then :
31155   ac_cv_lib_socket_inet_addr=yes
31156 else
31157   ac_cv_lib_socket_inet_addr=no
31158 fi
31159 rm -f core conftest.err conftest.$ac_objext \
31160     conftest$ac_exeext conftest.$ac_ext
31161 LIBS=$ac_check_lib_save_LIBS
31162 fi
31163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31164 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31165 if test "x$ac_cv_lib_socket_inet_addr" = xyes; then :
31166   INET_LINK="socket"
31167
31168 fi
31169
31170
31171
31172 fi
31173
31174
31175
31176 fi
31177
31178
31179
31180 fi
31181 done
31182
31183
31184 for ac_func in inet_aton
31185 do :
31186   ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31187 if test "x$ac_cv_func_inet_aton" = xyes; then :
31188   cat >>confdefs.h <<_ACEOF
31189 #define HAVE_INET_ATON 1
31190 _ACEOF
31191  $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31192
31193 else
31194
31195                         as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31197 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31198 if eval \${$as_ac_Lib+:} false; then :
31199   $as_echo_n "(cached) " >&6
31200 else
31201   ac_check_lib_save_LIBS=$LIBS
31202 LIBS="-l$INET_LINK  $LIBS"
31203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31204 /* end confdefs.h.  */
31205
31206 /* Override any GCC internal prototype to avoid an error.
31207    Use char because int might match the return type of a GCC
31208    builtin and then its argument prototype would still apply.  */
31209 #ifdef __cplusplus
31210 extern "C"
31211 #endif
31212 char inet_aton ();
31213 int
31214 main ()
31215 {
31216 return inet_aton ();
31217   ;
31218   return 0;
31219 }
31220 _ACEOF
31221 if ac_fn_c_try_link "$LINENO"; then :
31222   eval "$as_ac_Lib=yes"
31223 else
31224   eval "$as_ac_Lib=no"
31225 fi
31226 rm -f core conftest.err conftest.$ac_objext \
31227     conftest$ac_exeext conftest.$ac_ext
31228 LIBS=$ac_check_lib_save_LIBS
31229 fi
31230 eval ac_res=\$$as_ac_Lib
31231                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31232 $as_echo "$ac_res" >&6; }
31233 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
31234   $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31235
31236 fi
31237
31238
31239 fi
31240 done
31241
31242
31243 if test "x$INET_LINK" != "x"; then
31244     $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31245
31246     INET_LINK=" -l$INET_LINK"
31247 fi
31248
31249
31250   for wx_func in fdopen
31251   do
31252     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31253 $as_echo_n "checking for $wx_func... " >&6; }
31254 if eval \${wx_cv_func_$wx_func+:} false; then :
31255   $as_echo_n "(cached) " >&6
31256 else
31257
31258         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31259 /* end confdefs.h.  */
31260
31261
31262
31263                 $ac_includes_default
31264
31265 int
31266 main ()
31267 {
31268
31269                 #ifndef $wx_func
31270                   &$wx_func;
31271                 #endif
31272
31273
31274   ;
31275   return 0;
31276 }
31277
31278 _ACEOF
31279 if ac_fn_c_try_link "$LINENO"; then :
31280   eval wx_cv_func_$wx_func=yes
31281 else
31282   eval wx_cv_func_$wx_func=no
31283 fi
31284 rm -f core conftest.err conftest.$ac_objext \
31285     conftest$ac_exeext conftest.$ac_ext
31286
31287 fi
31288 eval ac_res=\$wx_cv_func_$wx_func
31289                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31290 $as_echo "$ac_res" >&6; }
31291
31292     if eval test \$wx_cv_func_$wx_func = yes
31293     then
31294       cat >>confdefs.h <<_ACEOF
31295 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31296 _ACEOF
31297
31298
31299     else
31300       :
31301
31302     fi
31303   done
31304
31305
31306 if test "$wxUSE_TARSTREAM" = "yes"; then
31307
31308   for wx_func in sysconf
31309   do
31310     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31311 $as_echo_n "checking for $wx_func... " >&6; }
31312 if eval \${wx_cv_func_$wx_func+:} false; then :
31313   $as_echo_n "(cached) " >&6
31314 else
31315
31316         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31317 /* end confdefs.h.  */
31318
31319
31320
31321                 $ac_includes_default
31322
31323 int
31324 main ()
31325 {
31326
31327                 #ifndef $wx_func
31328                   &$wx_func;
31329                 #endif
31330
31331
31332   ;
31333   return 0;
31334 }
31335
31336 _ACEOF
31337 if ac_fn_c_try_link "$LINENO"; then :
31338   eval wx_cv_func_$wx_func=yes
31339 else
31340   eval wx_cv_func_$wx_func=no
31341 fi
31342 rm -f core conftest.err conftest.$ac_objext \
31343     conftest$ac_exeext conftest.$ac_ext
31344
31345 fi
31346 eval ac_res=\$wx_cv_func_$wx_func
31347                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31348 $as_echo "$ac_res" >&6; }
31349
31350     if eval test \$wx_cv_func_$wx_func = yes
31351     then
31352       cat >>confdefs.h <<_ACEOF
31353 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31354 _ACEOF
31355
31356
31357     else
31358       :
31359
31360     fi
31361   done
31362
31363
31364
31365   for wx_func in getpwuid_r
31366   do
31367     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31368 $as_echo_n "checking for $wx_func... " >&6; }
31369 if eval \${wx_cv_func_$wx_func+:} false; then :
31370   $as_echo_n "(cached) " >&6
31371 else
31372
31373         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31374 /* end confdefs.h.  */
31375
31376
31377
31378                     #define _REENTRANT
31379                     #include <pwd.h>
31380
31381                 $ac_includes_default
31382
31383 int
31384 main ()
31385 {
31386
31387                 #ifndef $wx_func
31388                   &$wx_func;
31389                 #endif
31390
31391                     struct passwd pw, *ppw;
31392                     char buf[1024];
31393                     getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31394
31395
31396   ;
31397   return 0;
31398 }
31399
31400 _ACEOF
31401 if ac_fn_c_try_link "$LINENO"; then :
31402   eval wx_cv_func_$wx_func=yes
31403 else
31404   eval wx_cv_func_$wx_func=no
31405 fi
31406 rm -f core conftest.err conftest.$ac_objext \
31407     conftest$ac_exeext conftest.$ac_ext
31408
31409 fi
31410 eval ac_res=\$wx_cv_func_$wx_func
31411                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31412 $as_echo "$ac_res" >&6; }
31413
31414     if eval test \$wx_cv_func_$wx_func = yes
31415     then
31416       cat >>confdefs.h <<_ACEOF
31417 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31418 _ACEOF
31419
31420
31421     else
31422       :
31423
31424     fi
31425   done
31426
31427
31428
31429   for wx_func in getgrgid_r
31430   do
31431     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31432 $as_echo_n "checking for $wx_func... " >&6; }
31433 if eval \${wx_cv_func_$wx_func+:} false; then :
31434   $as_echo_n "(cached) " >&6
31435 else
31436
31437         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31438 /* end confdefs.h.  */
31439
31440
31441
31442                     #define _REENTRANT
31443                     #include <grp.h>
31444
31445                 $ac_includes_default
31446
31447 int
31448 main ()
31449 {
31450
31451                 #ifndef $wx_func
31452                   &$wx_func;
31453                 #endif
31454
31455                     struct group grp, *pgrp;
31456                     char buf[1024];
31457                     getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31458
31459
31460   ;
31461   return 0;
31462 }
31463
31464 _ACEOF
31465 if ac_fn_c_try_link "$LINENO"; then :
31466   eval wx_cv_func_$wx_func=yes
31467 else
31468   eval wx_cv_func_$wx_func=no
31469 fi
31470 rm -f core conftest.err conftest.$ac_objext \
31471     conftest$ac_exeext conftest.$ac_ext
31472
31473 fi
31474 eval ac_res=\$wx_cv_func_$wx_func
31475                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31476 $as_echo "$ac_res" >&6; }
31477
31478     if eval test \$wx_cv_func_$wx_func = yes
31479     then
31480       cat >>confdefs.h <<_ACEOF
31481 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31482 _ACEOF
31483
31484
31485     else
31486       :
31487
31488     fi
31489   done
31490
31491 fi
31492
31493 fi
31494
31495
31496
31497 cat >confcache <<\_ACEOF
31498 # This file is a shell script that caches the results of configure
31499 # tests run on this system so they can be shared between configure
31500 # scripts and configure runs, see configure's option --config-cache.
31501 # It is not useful on other systems.  If it contains results you don't
31502 # want to keep, you may remove or edit it.
31503 #
31504 # config.status only pays attention to the cache file if you give it
31505 # the --recheck option to rerun configure.
31506 #
31507 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31508 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31509 # following values.
31510
31511 _ACEOF
31512
31513 # The following way of writing the cache mishandles newlines in values,
31514 # but we know of no workaround that is simple, portable, and efficient.
31515 # So, we kill variables containing newlines.
31516 # Ultrix sh set writes to stderr and can't be redirected directly,
31517 # and sets the high bit in the cache file unless we assign to the vars.
31518 (
31519   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31520     eval ac_val=\$$ac_var
31521     case $ac_val in #(
31522     *${as_nl}*)
31523       case $ac_var in #(
31524       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31525 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31526       esac
31527       case $ac_var in #(
31528       _ | IFS | as_nl) ;; #(
31529       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31530       *) { eval $ac_var=; unset $ac_var;} ;;
31531       esac ;;
31532     esac
31533   done
31534
31535   (set) 2>&1 |
31536     case $as_nl`(ac_space=' '; set) 2>&1` in #(
31537     *${as_nl}ac_space=\ *)
31538       # `set' does not quote correctly, so add quotes: double-quote
31539       # substitution turns \\\\ into \\, and sed turns \\ into \.
31540       sed -n \
31541         "s/'/'\\\\''/g;
31542           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31543       ;; #(
31544     *)
31545       # `set' quotes correctly as required by POSIX, so do not add quotes.
31546       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31547       ;;
31548     esac |
31549     sort
31550 ) |
31551   sed '
31552      /^ac_cv_env_/b end
31553      t clear
31554      :clear
31555      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31556      t end
31557      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31558      :end' >>confcache
31559 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31560   if test -w "$cache_file"; then
31561     if test "x$cache_file" != "x/dev/null"; then
31562       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31563 $as_echo "$as_me: updating cache $cache_file" >&6;}
31564       if test ! -f "$cache_file" || test -h "$cache_file"; then
31565         cat confcache >"$cache_file"
31566       else
31567         case $cache_file in #(
31568         */* | ?:*)
31569           mv -f confcache "$cache_file"$$ &&
31570           mv -f "$cache_file"$$ "$cache_file" ;; #(
31571         *)
31572           mv -f confcache "$cache_file" ;;
31573         esac
31574       fi
31575     fi
31576   else
31577     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31578 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31579   fi
31580 fi
31581 rm -f confcache
31582
31583
31584 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31585
31586
31587     THREADS_LINK=
31588     THREADS_CFLAGS=
31589
31590     if test "$wxUSE_THREADS" = "yes" ; then
31591         if test "$USE_BEOS" = 1; then
31592             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31593 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31594             wxUSE_THREADS="no"
31595         fi
31596     fi
31597
31598     if test "$wxUSE_THREADS" = "yes" ; then
31599
31600
31601                                 THREAD_OPTS="-pthread"
31602         if test "x$SUNCXX" = xyes; then
31603             THREAD_OPTS="-mt lthread $THREAD_OPTS"
31604         fi
31605
31606         case "${host}" in
31607           *-*-solaris2* | *-*-sunos4* )
31608                 if test "x$GCC" = "xyes"; then
31609                                         THREAD_OPTS="-pthreads $THREAD_OPTS"
31610                 fi
31611                 ;;
31612           *-*-freebsd*)
31613                                                 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31614                 ;;
31615           *-*-darwin* | *-*-cygwin* )
31616                                                 THREAD_OPTS=""
31617                 ;;
31618           *-*-aix*)
31619                                 THREAD_OPTS="pthreads"
31620                 ;;
31621           *-hp-hpux* )
31622                 if test "x$GCC" = "xyes"; then
31623                                         $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
31624                         THREAD_OPTS=""
31625                 else
31626                                                             THREAD_OPTS="-mt"
31627                 fi
31628                 ;;
31629
31630           *-*-irix* )
31631                                                                 if test "x$GCC" = "xyes"; then
31632                     THREAD_OPTS=""
31633                 fi
31634                 ;;
31635
31636           *-*-qnx*)
31637                                                 THREAD_OPTS=""
31638                 ;;
31639
31640           *-*-*UnixWare*)
31641                                 if test "x$GCC" != "xyes"; then
31642                     THREAD_OPTS="-Ethread"
31643                 fi
31644                 ;;
31645         esac
31646
31647         case "${host}" in
31648             *-*-qnx*)
31649                                                                 THREAD_OPTS="none pthread"
31650                 ;;
31651
31652             *)
31653                                                                                 THREAD_OPTS="$THREAD_OPTS pthread none"
31654                 ;;
31655         esac
31656
31657                 THREADS_OK=no
31658         for flag in $THREAD_OPTS; do
31659             case $flag in
31660                 none)
31661                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31662 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31663                     ;;
31664
31665                 -*)
31666                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31667 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31668                     THREADS_CFLAGS="$flag"
31669                     ;;
31670
31671                 *)
31672                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31673 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31674                     THREADS_LINK="-l$flag"
31675                     ;;
31676               esac
31677
31678               save_LIBS="$LIBS"
31679               save_CFLAGS="$CFLAGS"
31680               LIBS="$THREADS_LINK $LIBS"
31681               CFLAGS="$THREADS_CFLAGS $CFLAGS"
31682
31683               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31684 /* end confdefs.h.  */
31685 #include <pthread.h>
31686 int
31687 main ()
31688 {
31689 pthread_create(0,0,0,0);
31690   ;
31691   return 0;
31692 }
31693 _ACEOF
31694 if ac_fn_c_try_link "$LINENO"; then :
31695   THREADS_OK=yes
31696 fi
31697 rm -f core conftest.err conftest.$ac_objext \
31698     conftest$ac_exeext conftest.$ac_ext
31699
31700               LIBS="$save_LIBS"
31701               CFLAGS="$save_CFLAGS"
31702
31703               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31704 $as_echo "$THREADS_OK" >&6; }
31705               if test "x$THREADS_OK" = "xyes"; then
31706                       break;
31707               fi
31708
31709               THREADS_LINK=""
31710               THREADS_CFLAGS=""
31711       done
31712
31713       if test "x$THREADS_OK" != "xyes"; then
31714           wxUSE_THREADS=no
31715           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31716 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31717       else
31718                                                                                           LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31719           WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31720           LIBS="$THREADS_LINK $LIBS"
31721
31722           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
31723 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
31724           flag=no
31725           case "${host}" in
31726             *-aix*)
31727                                                                                                                 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31728                 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
31729                 flag="-D_THREAD_SAFE"
31730                 ;;
31731             *-freebsd*)
31732                 flag="-D_THREAD_SAFE"
31733                 ;;
31734             *-hp-hpux* )
31735                 flag="-D_REENTRANT"
31736                 if test "x$GCC" != "xyes"; then
31737                                         flag="$flag -D_RWSTD_MULTI_THREAD"
31738                 fi
31739                 ;;
31740             *solaris* | alpha*-osf*)
31741                 flag="-D_REENTRANT"
31742                 ;;
31743           esac
31744           { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
31745 $as_echo "${flag}" >&6; }
31746           if test "x$flag" != xno; then
31747               THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31748           fi
31749
31750                     WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
31751       fi
31752     fi
31753
31754         if test "$wxUSE_THREADS" = "yes" ; then
31755         for ac_func in pthread_setconcurrency
31756 do :
31757   ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
31758 if test "x$ac_cv_func_pthread_setconcurrency" = xyes; then :
31759   cat >>confdefs.h <<_ACEOF
31760 #define HAVE_PTHREAD_SETCONCURRENCY 1
31761 _ACEOF
31762  $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
31763
31764 else
31765
31766                 for ac_func in thr_setconcurrency
31767 do :
31768   ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
31769 if test "x$ac_cv_func_thr_setconcurrency" = xyes; then :
31770   cat >>confdefs.h <<_ACEOF
31771 #define HAVE_THR_SETCONCURRENCY 1
31772 _ACEOF
31773  $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
31774
31775 else
31776   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
31777 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
31778 fi
31779 done
31780
31781
31782 fi
31783 done
31784
31785
31786                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
31787 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
31788 if ${wx_cv_func_pthread_cleanup+:} false; then :
31789   $as_echo_n "(cached) " >&6
31790 else
31791
31792                                 ac_ext=cpp
31793 ac_cpp='$CXXCPP $CPPFLAGS'
31794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31797
31798         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31799 /* end confdefs.h.  */
31800 #include <pthread.h>
31801                void ThreadCleanupFunc(void *p);
31802
31803 int
31804 main ()
31805 {
31806
31807                 void *p;
31808                 pthread_cleanup_push(ThreadCleanupFunc, p);
31809                 pthread_cleanup_pop(0);
31810
31811   ;
31812   return 0;
31813 }
31814 _ACEOF
31815 if ac_fn_cxx_try_compile "$LINENO"; then :
31816
31817                wx_cv_func_pthread_cleanup=yes
31818
31819 else
31820
31821                wx_cv_func_pthread_cleanup=no
31822
31823
31824 fi
31825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31826         ac_ext=c
31827 ac_cpp='$CPP $CPPFLAGS'
31828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31831
31832
31833 fi
31834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
31835 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
31836       if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
31837         $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
31838
31839       fi
31840
31841       for ac_header in sched.h
31842 do :
31843   ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
31844 "
31845 if test "x$ac_cv_header_sched_h" = xyes; then :
31846   cat >>confdefs.h <<_ACEOF
31847 #define HAVE_SCHED_H 1
31848 _ACEOF
31849
31850 fi
31851
31852 done
31853
31854       if test "$ac_cv_header_sched_h" = "yes"; then
31855           ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
31856 if test "x$ac_cv_func_sched_yield" = xyes; then :
31857   $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31858
31859 else
31860
31861                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
31862 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
31863 if ${ac_cv_lib_posix4_sched_yield+:} false; then :
31864   $as_echo_n "(cached) " >&6
31865 else
31866   ac_check_lib_save_LIBS=$LIBS
31867 LIBS="-lposix4  $LIBS"
31868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31869 /* end confdefs.h.  */
31870
31871 /* Override any GCC internal prototype to avoid an error.
31872    Use char because int might match the return type of a GCC
31873    builtin and then its argument prototype would still apply.  */
31874 #ifdef __cplusplus
31875 extern "C"
31876 #endif
31877 char sched_yield ();
31878 int
31879 main ()
31880 {
31881 return sched_yield ();
31882   ;
31883   return 0;
31884 }
31885 _ACEOF
31886 if ac_fn_c_try_link "$LINENO"; then :
31887   ac_cv_lib_posix4_sched_yield=yes
31888 else
31889   ac_cv_lib_posix4_sched_yield=no
31890 fi
31891 rm -f core conftest.err conftest.$ac_objext \
31892     conftest$ac_exeext conftest.$ac_ext
31893 LIBS=$ac_check_lib_save_LIBS
31894 fi
31895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
31896 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
31897 if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then :
31898   $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31899  POSIX4_LINK=" -lposix4"
31900 else
31901   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
31902 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
31903
31904 fi
31905
31906
31907
31908 fi
31909
31910       fi
31911
31912                                           HAVE_PRIOR_FUNCS=0
31913       ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
31914 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes; then :
31915   ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
31916 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes; then :
31917   ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
31918 if test "x$ac_cv_func_sched_get_priority_max" = xyes; then :
31919   HAVE_PRIOR_FUNCS=1
31920 else
31921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
31922 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
31923 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false; then :
31924   $as_echo_n "(cached) " >&6
31925 else
31926   ac_check_lib_save_LIBS=$LIBS
31927 LIBS="-lposix4  $LIBS"
31928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31929 /* end confdefs.h.  */
31930
31931 /* Override any GCC internal prototype to avoid an error.
31932    Use char because int might match the return type of a GCC
31933    builtin and then its argument prototype would still apply.  */
31934 #ifdef __cplusplus
31935 extern "C"
31936 #endif
31937 char sched_get_priority_max ();
31938 int
31939 main ()
31940 {
31941 return sched_get_priority_max ();
31942   ;
31943   return 0;
31944 }
31945 _ACEOF
31946 if ac_fn_c_try_link "$LINENO"; then :
31947   ac_cv_lib_posix4_sched_get_priority_max=yes
31948 else
31949   ac_cv_lib_posix4_sched_get_priority_max=no
31950 fi
31951 rm -f core conftest.err conftest.$ac_objext \
31952     conftest$ac_exeext conftest.$ac_ext
31953 LIBS=$ac_check_lib_save_LIBS
31954 fi
31955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
31956 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
31957 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes; then :
31958
31959                                 HAVE_PRIOR_FUNCS=1
31960                                 POSIX4_LINK=" -lposix4"
31961
31962 fi
31963
31964
31965 fi
31966
31967
31968 fi
31969
31970
31971 fi
31972
31973
31974       if test "$HAVE_PRIOR_FUNCS" = 1; then
31975         $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
31976
31977       else
31978         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
31979 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
31980       fi
31981
31982       ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
31983 if test "x$ac_cv_func_pthread_cancel" = xyes; then :
31984   $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
31985
31986 else
31987   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
31988 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
31989 fi
31990
31991
31992       ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
31993 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes; then :
31994   $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
31995
31996 else
31997   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
31998 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
31999 fi
32000
32001
32002       ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32003 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes; then :
32004   $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32005
32006 fi
32007
32008
32009
32010       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32011 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32012 if ${wx_cv_type_pthread_mutexattr_t+:} false; then :
32013   $as_echo_n "(cached) " >&6
32014 else
32015
32016         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32017 /* end confdefs.h.  */
32018 #include <pthread.h>
32019 int
32020 main ()
32021 {
32022
32023                pthread_mutexattr_t attr;
32024                pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32025
32026   ;
32027   return 0;
32028 }
32029 _ACEOF
32030 if ac_fn_c_try_compile "$LINENO"; then :
32031   wx_cv_type_pthread_mutexattr_t=yes
32032 else
32033   wx_cv_type_pthread_mutexattr_t=no
32034
32035 fi
32036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32037
32038 fi
32039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32040 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32041
32042       if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32043         $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32044
32045
32046                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32047 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32048 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false; then :
32049   $as_echo_n "(cached) " >&6
32050 else
32051
32052                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32053 /* end confdefs.h.  */
32054 #include <pthread.h>
32055 int
32056 main ()
32057 {
32058
32059                                pthread_mutexattr_t attr;
32060                                pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32061
32062   ;
32063   return 0;
32064 }
32065 _ACEOF
32066 if ac_fn_c_try_compile "$LINENO"; then :
32067   wx_cv_func_pthread_mutexattr_settype_decl=yes
32068 else
32069   wx_cv_func_pthread_mutexattr_settype_decl=no
32070
32071 fi
32072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32073
32074 fi
32075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32076 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32077         if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32078             $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32079
32080         fi
32081       else
32082                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32083 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32084 if ${wx_cv_type_pthread_rec_mutex_init+:} false; then :
32085   $as_echo_n "(cached) " >&6
32086 else
32087
32088             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32089 /* end confdefs.h.  */
32090 #include <pthread.h>
32091 int
32092 main ()
32093 {
32094
32095                     pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32096
32097   ;
32098   return 0;
32099 }
32100 _ACEOF
32101 if ac_fn_c_try_compile "$LINENO"; then :
32102
32103                     wx_cv_type_pthread_rec_mutex_init=yes
32104
32105 else
32106
32107                     wx_cv_type_pthread_rec_mutex_init=no
32108
32109
32110 fi
32111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32112
32113 fi
32114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32115 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32116         if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32117           $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32118
32119         else
32120                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32121 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32122         fi
32123       fi
32124
32125       if test "$wxUSE_COMPILER_TLS" = "auto"; then
32126           if test "$USE_NETBSD" = 1; then
32127               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32128 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32129               wxUSE_COMPILER_TLS=no
32130           else
32131               wxUSE_COMPILER_TLS=yes
32132           fi
32133       fi
32134
32135       if test "$wxUSE_COMPILER_TLS" = "yes"; then
32136                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32137 $as_echo_n "checking for __thread keyword... " >&6; }
32138 if ${wx_cv_cc___thread+:} false; then :
32139   $as_echo_n "(cached) " >&6
32140 else
32141
32142                   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32143 /* end confdefs.h.  */
32144 #include <pthread.h>
32145 int
32146 main ()
32147 {
32148
32149                           static __thread int n = 0;
32150                           static __thread int *p = 0;
32151
32152   ;
32153   return 0;
32154 }
32155 _ACEOF
32156 if ac_fn_c_try_compile "$LINENO"; then :
32157   wx_cv_cc___thread=yes
32158 else
32159   wx_cv_cc___thread=no
32160
32161 fi
32162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32163
32164
32165 fi
32166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32167 $as_echo "$wx_cv_cc___thread" >&6; }
32168
32169           if test "$wx_cv_cc___thread" = "yes"; then
32170
32171   GXX_VERSION=""
32172
32173
32174
32175   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32176 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32177
32178   if  test "x$GCC" = "xyes" ; then :
32179
32180     if  test -z "" ; then :
32181
32182       ax_gcc_option_test="int main()
32183 {
32184         return 0;
32185 }"
32186
32187 else
32188
32189       ax_gcc_option_test=""
32190
32191 fi
32192
32193     # Dump the test program to file
32194     cat <<EOF > conftest.c
32195 $ax_gcc_option_test
32196 EOF
32197
32198     # Dump back the file to the log, useful for debugging purposes
32199     { ac_try='cat conftest.c 1>&5'
32200   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32201   (eval $ac_try) 2>&5
32202   ac_status=$?
32203   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32204   test $ac_status = 0; }; }
32205
32206     if  { ac_try='$CC  -dumpversion -c conftest.c 1>&5'
32207   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32208   (eval $ac_try) 2>&5
32209   ac_status=$?
32210   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32211   test $ac_status = 0; }; } ; then :
32212
32213                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32214 $as_echo "yes" >&6; }
32215
32216     ax_gcc_version_option=yes
32217
32218
32219 else
32220
32221                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32222 $as_echo "no" >&6; }
32223
32224     ax_gcc_version_option=no
32225
32226
32227 fi
32228
32229 else
32230
32231     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32232 $as_echo "no gcc available" >&6; }
32233
32234 fi
32235
32236   if test "x$GXX" = "xyes"; then :
32237
32238     if test "x$ax_gxx_version_option" != "no"; then :
32239
32240       { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32241 $as_echo_n "checking gxx version... " >&6; }
32242 if ${ax_cv_gxx_version+:} false; then :
32243   $as_echo_n "(cached) " >&6
32244 else
32245
32246         ax_cv_gxx_version="`$CXX -dumpversion`"
32247         if test "x$ax_cv_gxx_version" = "x"; then :
32248
32249           ax_cv_gxx_version=""
32250
32251 fi
32252
32253 fi
32254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32255 $as_echo "$ax_cv_gxx_version" >&6; }
32256       GXX_VERSION=$ax_cv_gxx_version
32257
32258 fi
32259
32260 fi
32261
32262
32263               if test -n "$ax_cv_gxx_version"; then
32264                                                                                                                                                                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32265 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32266                   case "$ax_cv_gxx_version" in
32267                     1.* | 2.* | 3.* )
32268                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32269 $as_echo "no, it's broken" >&6; }
32270                         wx_cv_cc___thread=no
32271                         ;;
32272                     *)
32273                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32274 $as_echo "yes, it works" >&6; }
32275                         ;;
32276                   esac
32277               fi
32278           fi
32279
32280           if test "$wx_cv_cc___thread" = "yes"; then
32281             $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32282
32283           fi
32284         fi
32285     fi
32286
32287 else
32288     if test "$wxUSE_THREADS" = "yes" ; then
32289       case "${host}" in
32290         x86_64-*-mingw32* )
32291         ;;
32292         *-*-mingw32* )
32293                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32294 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32295 if ${wx_cv_cflags_mthread+:} false; then :
32296   $as_echo_n "(cached) " >&6
32297 else
32298
32299                     CFLAGS_OLD="$CFLAGS"
32300                     CFLAGS="-mthreads $CFLAGS"
32301                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32302 /* end confdefs.h.  */
32303
32304 int
32305 main ()
32306 {
32307
32308   ;
32309   return 0;
32310 }
32311 _ACEOF
32312 if ac_fn_c_try_compile "$LINENO"; then :
32313   wx_cv_cflags_mthread=yes
32314 else
32315   wx_cv_cflags_mthread=no
32316
32317 fi
32318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32319
32320
32321 fi
32322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32323 $as_echo "$wx_cv_cflags_mthread" >&6; }
32324
32325             if test "$wx_cv_cflags_mthread" = "yes"; then
32326                                 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
32327                 LDFLAGS="$LDFLAGS -mthreads"
32328             else
32329                                 CFLAGS="$CFLAGS_OLD"
32330             fi
32331         ;;
32332         *-pc-os2*emx )
32333             WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32334             LDFLAGS="$LDFLAGS -Zmt"
32335         ;;
32336       esac
32337     fi
32338 fi
32339
32340 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32341 if test "x$ac_cv_func_localtime_r" = xyes; then :
32342    $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32343
32344 fi
32345
32346 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32347 if test "x$ac_cv_func_gmtime_r" = xyes; then :
32348    $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32349
32350 fi
32351
32352
32353
32354
32355     ac_ext=c
32356 ac_cpp='$CPP $CPPFLAGS'
32357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32360
32361     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32362 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32363
32364     if ${ac_cv_func_which_gethostbyname_r+:} false; then :
32365   $as_echo_n "(cached) " >&6
32366 else
32367
32368
32369 ################################################################
32370
32371 ac_cv_func_which_gethostbyname_r=unknown
32372
32373 #
32374 # ONE ARGUMENT (sanity check)
32375 #
32376
32377 # This should fail, as there is no variant of gethostbyname_r() that takes
32378 # a single argument. If it actually compiles, then we can assume that
32379 # netdb.h is not declaring the function, and the compiler is thereby
32380 # assuming an implicit prototype. In which case, we're out of luck.
32381 #
32382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32383 /* end confdefs.h.  */
32384 #include <netdb.h>
32385 int
32386 main ()
32387 {
32388
32389             char *name = "www.gnu.org";
32390             (void)gethostbyname_r(name) /* ; */
32391
32392
32393   ;
32394   return 0;
32395 }
32396 _ACEOF
32397 if ac_fn_c_try_compile "$LINENO"; then :
32398   ac_cv_func_which_gethostbyname_r=no
32399
32400 fi
32401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32402
32403 #
32404 # SIX ARGUMENTS
32405 # (e.g. Linux)
32406 #
32407
32408 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32409
32410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32411 /* end confdefs.h.  */
32412 #include <netdb.h>
32413 int
32414 main ()
32415 {
32416
32417             char *name = "www.gnu.org";
32418             struct hostent ret, *retp;
32419             char buf[1024];
32420             int buflen = 1024;
32421             int my_h_errno;
32422             (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32423
32424
32425   ;
32426   return 0;
32427 }
32428 _ACEOF
32429 if ac_fn_c_try_compile "$LINENO"; then :
32430   ac_cv_func_which_gethostbyname_r=six
32431
32432 fi
32433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32434
32435 fi
32436
32437 #
32438 # FIVE ARGUMENTS
32439 # (e.g. Solaris)
32440 #
32441
32442 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32443
32444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32445 /* end confdefs.h.  */
32446 #include <netdb.h>
32447 int
32448 main ()
32449 {
32450
32451             char *name = "www.gnu.org";
32452             struct hostent ret;
32453             char buf[1024];
32454             int buflen = 1024;
32455             int my_h_errno;
32456             (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32457
32458
32459   ;
32460   return 0;
32461 }
32462 _ACEOF
32463 if ac_fn_c_try_compile "$LINENO"; then :
32464   ac_cv_func_which_gethostbyname_r=five
32465
32466 fi
32467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32468
32469 fi
32470
32471 #
32472 # THREE ARGUMENTS
32473 # (e.g. AIX, HP-UX, Tru64)
32474 #
32475
32476 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32477
32478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32479 /* end confdefs.h.  */
32480 #include <netdb.h>
32481 int
32482 main ()
32483 {
32484
32485             char *name = "www.gnu.org";
32486             struct hostent ret;
32487             struct hostent_data data;
32488             (void)gethostbyname_r(name, &ret, &data) /* ; */
32489
32490
32491   ;
32492   return 0;
32493 }
32494 _ACEOF
32495 if ac_fn_c_try_compile "$LINENO"; then :
32496   ac_cv_func_which_gethostbyname_r=three
32497
32498 fi
32499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32500
32501 fi
32502
32503 ################################################################
32504
32505
32506 fi
32507
32508 case "$ac_cv_func_which_gethostbyname_r" in
32509     three)
32510     { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32511 $as_echo "three" >&6; }
32512     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32513
32514     ;;
32515
32516     five)
32517     { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32518 $as_echo "five" >&6; }
32519     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32520
32521     ;;
32522
32523     six)
32524     { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32525 $as_echo "six" >&6; }
32526     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32527
32528     ;;
32529
32530     no)
32531     { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32532 $as_echo "cannot find function declaration in netdb.h" >&6; }
32533     ;;
32534
32535     unknown)
32536     { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32537 $as_echo "can't tell" >&6; }
32538     ;;
32539
32540     *)
32541     as_fn_error $? "internal error" "$LINENO" 5
32542     ;;
32543 esac
32544
32545 ac_ext=c
32546 ac_cpp='$CPP $CPPFLAGS'
32547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32550
32551
32552
32553       if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32554               "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32555           ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32556 if test "x$ac_cv_func_gethostbyname" = xyes; then :
32557    $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32558
32559 fi
32560
32561       fi
32562
32563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32564 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32565 if ${ac_cv_func_which_getservbyname_r+:} false; then :
32566   $as_echo_n "(cached) " >&6
32567 else
32568
32569                 ac_ext=cpp
32570 ac_cpp='$CXXCPP $CPPFLAGS'
32571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32574
32575
32576         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32577 /* end confdefs.h.  */
32578 #include <netdb.h>
32579 int
32580 main ()
32581 {
32582
32583                 char *name;
32584                 char *proto;
32585                 struct servent *se, *res;
32586                 char buffer[2048];
32587                 int buflen = 2048;
32588                 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32589
32590   ;
32591   return 0;
32592 }
32593 _ACEOF
32594 if ac_fn_cxx_try_compile "$LINENO"; then :
32595   ac_cv_func_which_getservbyname_r=six
32596 else
32597
32598                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32599 /* end confdefs.h.  */
32600 #include <netdb.h>
32601 int
32602 main ()
32603 {
32604
32605                         char *name;
32606                         char *proto;
32607                         struct servent *se;
32608                         char buffer[2048];
32609                         int buflen = 2048;
32610                         (void) getservbyname_r(name, proto, se, buffer, buflen)
32611
32612   ;
32613   return 0;
32614 }
32615 _ACEOF
32616 if ac_fn_cxx_try_compile "$LINENO"; then :
32617   ac_cv_func_which_getservbyname_r=five
32618 else
32619
32620                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32621 /* end confdefs.h.  */
32622 #include <netdb.h>
32623 int
32624 main ()
32625 {
32626
32627                                 char *name;
32628                                 char *proto;
32629                                 struct servent *se;
32630                                 struct servent_data data;
32631                                 (void) getservbyname_r(name, proto, se, &data);
32632
32633   ;
32634   return 0;
32635 }
32636 _ACEOF
32637 if ac_fn_cxx_try_compile "$LINENO"; then :
32638   ac_cv_func_which_getservbyname_r=four
32639 else
32640   ac_cv_func_which_getservbyname_r=no
32641
32642 fi
32643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32644
32645
32646 fi
32647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32648
32649
32650 fi
32651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32652         ac_ext=c
32653 ac_cpp='$CPP $CPPFLAGS'
32654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32657
32658
32659
32660 fi
32661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32662 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32663
32664 if test $ac_cv_func_which_getservbyname_r = six; then
32665   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32666
32667 elif test $ac_cv_func_which_getservbyname_r = five; then
32668   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
32669
32670 elif test $ac_cv_func_which_getservbyname_r = four; then
32671   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
32672
32673 fi
32674
32675
32676       if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
32677               "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
32678           for ac_func in getservbyname
32679 do :
32680   ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
32681 if test "x$ac_cv_func_getservbyname" = xyes; then :
32682   cat >>confdefs.h <<_ACEOF
32683 #define HAVE_GETSERVBYNAME 1
32684 _ACEOF
32685   $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
32686
32687 fi
32688 done
32689
32690       fi
32691
32692 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
32693
32694
32695 if test "$wxUSE_THREADS" = "yes"; then
32696   $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
32697
32698
32699   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
32700 else
32701       if test "$wx_cv_func_strtok_r" = "yes"; then
32702     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
32703 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
32704     if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32705         WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
32706         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32707 $as_echo "yes" >&6; }
32708     else
32709         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32710 $as_echo "no" >&6; }
32711     fi
32712   fi
32713 fi
32714
32715 if test "$WXGTK3" = 1 ; then
32716     cat >>confdefs.h <<_ACEOF
32717 #define __WXGTK3__ 1
32718 _ACEOF
32719
32720     WXGTK2=1
32721 fi
32722 if test "$WXGTK2" = 1 ; then
32723   cat >>confdefs.h <<_ACEOF
32724 #define __WXGTK20__ $WXGTK2
32725 _ACEOF
32726
32727 fi
32728
32729 if test "$WXGTK127" = 1 ; then
32730   cat >>confdefs.h <<_ACEOF
32731 #define __WXGTK127__ $WXGTK127
32732 _ACEOF
32733
32734 fi
32735
32736 if test "$WXGPE" = 1 ; then
32737   cat >>confdefs.h <<_ACEOF
32738 #define __WXGPE__ $WXGPE
32739 _ACEOF
32740
32741 fi
32742
32743 DEBUG_CFLAGS=
32744 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
32745                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
32746 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
32747 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
32748     DEBUG_CFLAGS="-g"
32749 fi
32750
32751 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32752     wxUSE_DEBUG_INFO=yes
32753     if test "$GCC" = yes; then
32754         DEBUG_CFLAGS="-ggdb"
32755     fi
32756 fi
32757
32758 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
32759     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
32760
32761     if test "$wxUSE_GTK" = 1 ; then
32762         if test "$WXGTK2" = 1 ; then
32763             CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
32764         else
32765             CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
32766         fi
32767     fi
32768 fi
32769
32770 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32771     $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
32772
32773     $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
32774
32775     $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
32776
32777     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
32778 fi
32779
32780 if test "$wxUSE_DMALLOC" = "yes" ; then
32781     DMALLOC_LIBS="-ldmallocthcxx"
32782 fi
32783
32784 PROFILE_FLAGS=
32785 if test "$wxUSE_PROFILE" = "yes" ; then
32786     PROFILE_FLAGS=" -pg"
32787 fi
32788
32789 if test "$GCC" = "yes" ; then
32790     if test "$wxUSE_NO_RTTI" = "yes" ; then
32791                                 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
32792     fi
32793     if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32794         WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
32795     fi
32796     if test "$wxUSE_PERMISSIVE" = "yes" ; then
32797         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
32798     fi
32799
32800                                                 case "${host}" in
32801       powerpc*-*-aix* )
32802         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
32803         ;;
32804       *-hppa* )
32805         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
32806         ;;
32807     esac
32808 fi
32809
32810 OPTIMISE_CFLAGS=
32811 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
32812                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
32813 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
32814 else
32815     if test "$wxUSE_OPTIMISE" = "no" ; then
32816         if test "$GCC" = yes ; then
32817                                     OPTIMISE_CFLAGS="-O0"
32818         fi
32819     else
32820         if test "$GCC" = yes ; then
32821             case "${host}" in
32822                 *-pc-os2_emx | *-pc-os2-emx )
32823                                                             OPTIMISE_CFLAGS="-O2"
32824                 ;;
32825                 *)
32826                                                                                 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
32827                 ;;
32828             esac
32829         else
32830             OPTIMISE_CFLAGS="-O"
32831         fi
32832     fi
32833 fi
32834
32835
32836 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
32837     $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
32838
32839
32840     WXWIN_COMPATIBILITY_2_8="yes"
32841 fi
32842
32843 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
32844     $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
32845
32846 fi
32847
32848
32849 if test "$wxUSE_GUI" = "yes"; then
32850     $as_echo "#define wxUSE_GUI 1" >>confdefs.h
32851
32852
32853                                             fi
32854
32855
32856 if test "$wxUSE_UNIX" = "yes"; then
32857   $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
32858
32859 fi
32860
32861
32862 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32863
32864     HAVE_DL_FUNCS=0
32865     HAVE_SHL_FUNCS=0
32866     if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32867         if test "$USE_DOS" = 1; then
32868             HAVE_DL_FUNCS=0
32869         else
32870                                                 for ac_func in dlopen
32871 do :
32872   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
32873 if test "x$ac_cv_func_dlopen" = xyes; then :
32874   cat >>confdefs.h <<_ACEOF
32875 #define HAVE_DLOPEN 1
32876 _ACEOF
32877
32878                 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32879
32880                 HAVE_DL_FUNCS=1
32881
32882 else
32883
32884                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
32885 $as_echo_n "checking for dlopen in -ldl... " >&6; }
32886 if ${ac_cv_lib_dl_dlopen+:} false; then :
32887   $as_echo_n "(cached) " >&6
32888 else
32889   ac_check_lib_save_LIBS=$LIBS
32890 LIBS="-ldl  $LIBS"
32891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32892 /* end confdefs.h.  */
32893
32894 /* Override any GCC internal prototype to avoid an error.
32895    Use char because int might match the return type of a GCC
32896    builtin and then its argument prototype would still apply.  */
32897 #ifdef __cplusplus
32898 extern "C"
32899 #endif
32900 char dlopen ();
32901 int
32902 main ()
32903 {
32904 return dlopen ();
32905   ;
32906   return 0;
32907 }
32908 _ACEOF
32909 if ac_fn_c_try_link "$LINENO"; then :
32910   ac_cv_lib_dl_dlopen=yes
32911 else
32912   ac_cv_lib_dl_dlopen=no
32913 fi
32914 rm -f core conftest.err conftest.$ac_objext \
32915     conftest$ac_exeext conftest.$ac_ext
32916 LIBS=$ac_check_lib_save_LIBS
32917 fi
32918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
32919 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
32920 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
32921
32922                                 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32923
32924                                 HAVE_DL_FUNCS=1
32925                                 DL_LINK=" -ldl$DL_LINK"
32926
32927 else
32928
32929                                 for ac_func in shl_load
32930 do :
32931   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
32932 if test "x$ac_cv_func_shl_load" = xyes; then :
32933   cat >>confdefs.h <<_ACEOF
32934 #define HAVE_SHL_LOAD 1
32935 _ACEOF
32936
32937                                                 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
32938
32939                                                 HAVE_SHL_FUNCS=1
32940
32941 else
32942
32943                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
32944 $as_echo_n "checking for dld in -lshl_load... " >&6; }
32945 if ${ac_cv_lib_shl_load_dld+:} false; then :
32946   $as_echo_n "(cached) " >&6
32947 else
32948   ac_check_lib_save_LIBS=$LIBS
32949 LIBS="-lshl_load  $LIBS"
32950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32951 /* end confdefs.h.  */
32952
32953 /* Override any GCC internal prototype to avoid an error.
32954    Use char because int might match the return type of a GCC
32955    builtin and then its argument prototype would still apply.  */
32956 #ifdef __cplusplus
32957 extern "C"
32958 #endif
32959 char dld ();
32960 int
32961 main ()
32962 {
32963 return dld ();
32964   ;
32965   return 0;
32966 }
32967 _ACEOF
32968 if ac_fn_c_try_link "$LINENO"; then :
32969   ac_cv_lib_shl_load_dld=yes
32970 else
32971   ac_cv_lib_shl_load_dld=no
32972 fi
32973 rm -f core conftest.err conftest.$ac_objext \
32974     conftest$ac_exeext conftest.$ac_ext
32975 LIBS=$ac_check_lib_save_LIBS
32976 fi
32977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
32978 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
32979 if test "x$ac_cv_lib_shl_load_dld" = xyes; then :
32980
32981                                                                 HAVE_SHL_FUNCS=1
32982                                                                 DL_LINK=" -ldld$DL_LINK"
32983
32984 fi
32985
32986
32987 fi
32988 done
32989
32990
32991 fi
32992
32993
32994 fi
32995 done
32996
32997
32998                         if test "$HAVE_DL_FUNCS" = 1; then
32999                 for ac_func in dlerror
33000 do :
33001   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
33002 if test "x$ac_cv_func_dlerror" = xyes; then :
33003   cat >>confdefs.h <<_ACEOF
33004 #define HAVE_DLERROR 1
33005 _ACEOF
33006  $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33007
33008 else
33009
33010                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33011 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33012 if ${ac_cv_lib_dl_dlerror+:} false; then :
33013   $as_echo_n "(cached) " >&6
33014 else
33015   ac_check_lib_save_LIBS=$LIBS
33016 LIBS="-ldl  $LIBS"
33017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33018 /* end confdefs.h.  */
33019
33020 /* Override any GCC internal prototype to avoid an error.
33021    Use char because int might match the return type of a GCC
33022    builtin and then its argument prototype would still apply.  */
33023 #ifdef __cplusplus
33024 extern "C"
33025 #endif
33026 char dlerror ();
33027 int
33028 main ()
33029 {
33030 return dlerror ();
33031   ;
33032   return 0;
33033 }
33034 _ACEOF
33035 if ac_fn_c_try_link "$LINENO"; then :
33036   ac_cv_lib_dl_dlerror=yes
33037 else
33038   ac_cv_lib_dl_dlerror=no
33039 fi
33040 rm -f core conftest.err conftest.$ac_objext \
33041     conftest$ac_exeext conftest.$ac_ext
33042 LIBS=$ac_check_lib_save_LIBS
33043 fi
33044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33045 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33046 if test "x$ac_cv_lib_dl_dlerror" = xyes; then :
33047   $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33048
33049 fi
33050
33051
33052
33053 fi
33054 done
33055
33056             fi
33057         fi
33058
33059                 if test "$USE_DARWIN" = 1; then
33060                         HAVE_DL_FUNCS=1
33061         fi
33062
33063         if test "$HAVE_DL_FUNCS" = 0; then
33064             if test "$HAVE_SHL_FUNCS" = 0; then
33065               if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33066                   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33067 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33068                   wxUSE_DYNAMIC_LOADER=no
33069                   wxUSE_DYNLIB_CLASS=no
33070               else
33071                   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33072 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33073               fi
33074             fi
33075         fi
33076     fi
33077 fi
33078
33079 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33080     $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33081
33082 fi
33083 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33084     $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33085
33086 fi
33087
33088
33089
33090 if test "$wxUSE_PLUGINS" = "yes" ; then
33091     if test "$wxUSE_SHARED" = "no" ; then
33092         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33093 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33094         wxUSE_PLUGINS=no
33095     fi
33096     if test "$wxUSE_MONOLITHIC" = "yes" ; then
33097         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33098 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33099         wxUSE_PLUGINS=no
33100     fi
33101     if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33102         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33103 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33104         wxUSE_PLUGINS=no
33105     fi
33106     if test "$wxUSE_PLUGINS" = "yes" ; then
33107         $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33108
33109     fi
33110 fi
33111
33112
33113 if test "$wxUSE_FSWATCHER" = "yes"; then
33114                 if test "$wxUSE_MSW" != "1"; then
33115         if test "$wxUSE_UNIX" = "yes"; then
33116             for ac_header in sys/inotify.h
33117 do :
33118   ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33119 "
33120 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
33121   cat >>confdefs.h <<_ACEOF
33122 #define HAVE_SYS_INOTIFY_H 1
33123 _ACEOF
33124
33125 fi
33126
33127 done
33128
33129             if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33130                 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33131
33132             else
33133                 for ac_header in sys/event.h
33134 do :
33135   ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33136 "
33137 if test "x$ac_cv_header_sys_event_h" = xyes; then :
33138   cat >>confdefs.h <<_ACEOF
33139 #define HAVE_SYS_EVENT_H 1
33140 _ACEOF
33141
33142 fi
33143
33144 done
33145
33146                 if test "$ac_cv_header_sys_event_h" = "yes"; then
33147                     $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33148
33149                 else
33150                     wxUSE_FSWATCHER=no
33151                 fi
33152             fi
33153         else
33154             wxUSE_FSWATCHER=no
33155         fi
33156     else
33157         if test "$wxUSE_THREADS" != "yes"; then
33158             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33159 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33160             wxUSE_FSWATCHER=no
33161         fi
33162     fi
33163
33164     if test "$wxUSE_FSWATCHER" = "yes"; then
33165         $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33166
33167         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
33168     else
33169         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33170 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33171     fi
33172 fi
33173
33174
33175 if test "$wxUSE_STL" = "yes"; then
33176   $as_echo "#define wxUSE_STL 1" >>confdefs.h
33177
33178 fi
33179
33180 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33181   $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33182
33183 fi
33184
33185 if test "$wxUSE_ANY" = "yes"; then
33186     $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33187
33188 fi
33189
33190 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33191   $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33192
33193 fi
33194
33195 if test "$wxUSE_TIMER" = "yes"; then
33196   $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33197
33198 fi
33199
33200 if test "$USE_UNIX" = 1 ; then
33201                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33202 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33203 if ${ac_cv_header_sys_soundcard+:} false; then :
33204   $as_echo_n "(cached) " >&6
33205 else
33206
33207         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33208 /* end confdefs.h.  */
33209
33210                 #include <sys/ioctl.h>
33211                 #include <sys/soundcard.h>
33212
33213 int
33214 main ()
33215 {
33216
33217                 ioctl(0, SNDCTL_DSP_SPEED, 0);
33218
33219   ;
33220   return 0;
33221 }
33222 _ACEOF
33223 if ac_fn_c_try_link "$LINENO"; then :
33224   ac_cv_header_sys_soundcard=yes
33225 else
33226
33227                 saveLibs="$LIBS"
33228                 LIBS="$saveLibs -lossaudio"
33229                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33230 /* end confdefs.h.  */
33231
33232                         #include <sys/ioctl.h>
33233                         #include <sys/soundcard.h>
33234
33235 int
33236 main ()
33237 {
33238
33239                         ioctl(0, SNDCTL_DSP_SPEED, 0);
33240
33241   ;
33242   return 0;
33243 }
33244 _ACEOF
33245 if ac_fn_c_try_link "$LINENO"; then :
33246   ac_cv_header_sys_soundcard=yes
33247 else
33248
33249                         LIBS="$saveLibs"
33250                         ac_cv_header_sys_soundcard=no
33251
33252
33253 fi
33254 rm -f core conftest.err conftest.$ac_objext \
33255     conftest$ac_exeext conftest.$ac_ext
33256
33257
33258 fi
33259 rm -f core conftest.err conftest.$ac_objext \
33260     conftest$ac_exeext conftest.$ac_ext
33261
33262 fi
33263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33264 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33265
33266     if test "$ac_cv_header_sys_soundcard" = "yes"; then
33267         $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33268
33269     fi
33270 fi
33271
33272 WITH_PLUGIN_SDL=0
33273 if test "$wxUSE_SOUND" = "yes"; then
33274   if test "$USE_UNIX" = 1 ; then
33275     if test "$wxUSE_LIBSDL" != "no"; then
33276
33277 # Check whether --with-sdl-prefix was given.
33278 if test "${with_sdl_prefix+set}" = set; then :
33279   withval=$with_sdl_prefix; sdl_prefix="$withval"
33280 else
33281   sdl_prefix=""
33282 fi
33283
33284
33285 # Check whether --with-sdl-exec-prefix was given.
33286 if test "${with_sdl_exec_prefix+set}" = set; then :
33287   withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
33288 else
33289   sdl_exec_prefix=""
33290 fi
33291
33292 # Check whether --enable-sdltest was given.
33293 if test "${enable_sdltest+set}" = set; then :
33294   enableval=$enable_sdltest;
33295 else
33296   enable_sdltest=yes
33297 fi
33298
33299
33300   if test x$sdl_exec_prefix != x ; then
33301     sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33302     if test x${SDL_CONFIG+set} != xset ; then
33303       SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33304     fi
33305   fi
33306   if test x$sdl_prefix != x ; then
33307     sdl_args="$sdl_args --prefix=$sdl_prefix"
33308     if test x${SDL_CONFIG+set} != xset ; then
33309       SDL_CONFIG=$sdl_prefix/bin/sdl-config
33310     fi
33311   fi
33312
33313   if test "x$prefix" != xNONE; then
33314     PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33315   fi
33316   # Extract the first word of "sdl-config", so it can be a program name with args.
33317 set dummy sdl-config; ac_word=$2
33318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33319 $as_echo_n "checking for $ac_word... " >&6; }
33320 if ${ac_cv_path_SDL_CONFIG+:} false; then :
33321   $as_echo_n "(cached) " >&6
33322 else
33323   case $SDL_CONFIG in
33324   [\\/]* | ?:[\\/]*)
33325   ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33326   ;;
33327   *)
33328   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33329 for as_dir in $PATH
33330 do
33331   IFS=$as_save_IFS
33332   test -z "$as_dir" && as_dir=.
33333     for ac_exec_ext in '' $ac_executable_extensions; do
33334   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33335     ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33336     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33337     break 2
33338   fi
33339 done
33340   done
33341 IFS=$as_save_IFS
33342
33343   test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33344   ;;
33345 esac
33346 fi
33347 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33348 if test -n "$SDL_CONFIG"; then
33349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33350 $as_echo "$SDL_CONFIG" >&6; }
33351 else
33352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33353 $as_echo "no" >&6; }
33354 fi
33355
33356
33357   min_sdl_version=1.2.0
33358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33359 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33360   no_sdl=""
33361   if test "$SDL_CONFIG" = "no" ; then
33362     no_sdl=yes
33363   else
33364     SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33365     SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33366
33367     sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33368            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33369     sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33370            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33371     sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33372            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33373     if test "x$enable_sdltest" = "xyes" ; then
33374       ac_save_CFLAGS="$CFLAGS"
33375       ac_save_CXXFLAGS="$CXXFLAGS"
33376       ac_save_LIBS="$LIBS"
33377       CFLAGS="$CFLAGS $SDL_CFLAGS"
33378       CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33379       LIBS="$LIBS $SDL_LIBS"
33380       rm -f conf.sdltest
33381       if test "$cross_compiling" = yes; then :
33382   echo $ac_n "cross compiling; assumed OK... $ac_c"
33383 else
33384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33385 /* end confdefs.h.  */
33386
33387 #include <stdio.h>
33388 #include <stdlib.h>
33389 #include <string.h>
33390 #include "SDL.h"
33391
33392 char*
33393 my_strdup (char *str)
33394 {
33395   char *new_str;
33396
33397   if (str)
33398     {
33399       new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33400       strcpy (new_str, str);
33401     }
33402   else
33403     new_str = NULL;
33404
33405   return new_str;
33406 }
33407
33408 int main (int argc, char *argv[])
33409 {
33410   int major, minor, micro;
33411   char *tmp_version;
33412
33413   /* This hangs on some systems (?)
33414   system ("touch conf.sdltest");
33415   */
33416   { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33417
33418   /* HP/UX 9 (%@#!) writes to sscanf strings */
33419   tmp_version = my_strdup("$min_sdl_version");
33420   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33421      printf("%s, bad version string\n", "$min_sdl_version");
33422      exit(1);
33423    }
33424
33425    if (($sdl_major_version > major) ||
33426       (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33427       (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33428     {
33429       return 0;
33430     }
33431   else
33432     {
33433       printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33434       printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33435       printf("*** best to upgrade to the required version.\n");
33436       printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33437       printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33438       printf("*** config.cache before re-running configure\n");
33439       return 1;
33440     }
33441 }
33442
33443
33444 _ACEOF
33445 if ac_fn_c_try_run "$LINENO"; then :
33446
33447 else
33448   no_sdl=yes
33449 fi
33450 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33451   conftest.$ac_objext conftest.beam conftest.$ac_ext
33452 fi
33453
33454        CFLAGS="$ac_save_CFLAGS"
33455        CXXFLAGS="$ac_save_CXXFLAGS"
33456        LIBS="$ac_save_LIBS"
33457      fi
33458   fi
33459   if test "x$no_sdl" = x ; then
33460      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33461 $as_echo "yes" >&6; }
33462
33463                     EXTRALIBS_SDL="$SDL_LIBS"
33464                     CFLAGS="$SDL_CFLAGS $CFLAGS"
33465                     CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
33466                     $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33467
33468
33469   else
33470      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33471 $as_echo "no" >&6; }
33472      if test "$SDL_CONFIG" = "no" ; then
33473        echo "*** The sdl-config script installed by SDL could not be found"
33474        echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33475        echo "*** your path, or set the SDL_CONFIG environment variable to the"
33476        echo "*** full path to sdl-config."
33477      else
33478        if test -f conf.sdltest ; then
33479         :
33480        else
33481           echo "*** Could not run SDL test program, checking why..."
33482           CFLAGS="$CFLAGS $SDL_CFLAGS"
33483           CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33484           LIBS="$LIBS $SDL_LIBS"
33485           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33486 /* end confdefs.h.  */
33487
33488 #include <stdio.h>
33489 #include "SDL.h"
33490
33491 int main(int argc, char *argv[])
33492 { return 0; }
33493 #undef  main
33494 #define main K_and_R_C_main
33495
33496 int
33497 main ()
33498 {
33499  return 0;
33500   ;
33501   return 0;
33502 }
33503 _ACEOF
33504 if ac_fn_c_try_link "$LINENO"; then :
33505    echo "*** The test program compiled, but did not run. This usually means"
33506           echo "*** that the run-time linker is not finding SDL or finding the wrong"
33507           echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33508           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33509           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
33510           echo "*** is required on your system"
33511           echo "***"
33512           echo "*** If you have an old version installed, it is best to remove it, although"
33513           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33514 else
33515    echo "*** The test program failed to compile or link. See the file config.log for the"
33516           echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33517           echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33518           echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33519 fi
33520 rm -f core conftest.err conftest.$ac_objext \
33521     conftest$ac_exeext conftest.$ac_ext
33522           CFLAGS="$ac_save_CFLAGS"
33523           CXXFLAGS="$ac_save_CXXFLAGS"
33524           LIBS="$ac_save_LIBS"
33525        fi
33526      fi
33527      SDL_CFLAGS=""
33528      SDL_LIBS=""
33529      wxUSE_LIBSDL="no"
33530   fi
33531
33532
33533   rm -f conf.sdltest
33534
33535       if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33536         WITH_PLUGIN_SDL=1
33537       fi
33538     fi
33539   fi
33540 fi
33541
33542 if test "$wxUSE_SOUND" = "yes"; then
33543   $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33544
33545   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33546 fi
33547
33548 if test "$WXGTK2" = 1; then
33549
33550
33551 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33552         if test -n "$ac_tool_prefix"; then
33553   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33554 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33556 $as_echo_n "checking for $ac_word... " >&6; }
33557 if ${ac_cv_path_PKG_CONFIG+:} false; then :
33558   $as_echo_n "(cached) " >&6
33559 else
33560   case $PKG_CONFIG in
33561   [\\/]* | ?:[\\/]*)
33562   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33563   ;;
33564   *)
33565   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33566 for as_dir in $PATH
33567 do
33568   IFS=$as_save_IFS
33569   test -z "$as_dir" && as_dir=.
33570     for ac_exec_ext in '' $ac_executable_extensions; do
33571   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33572     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33573     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33574     break 2
33575   fi
33576 done
33577   done
33578 IFS=$as_save_IFS
33579
33580   ;;
33581 esac
33582 fi
33583 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33584 if test -n "$PKG_CONFIG"; then
33585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33586 $as_echo "$PKG_CONFIG" >&6; }
33587 else
33588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33589 $as_echo "no" >&6; }
33590 fi
33591
33592
33593 fi
33594 if test -z "$ac_cv_path_PKG_CONFIG"; then
33595   ac_pt_PKG_CONFIG=$PKG_CONFIG
33596   # Extract the first word of "pkg-config", so it can be a program name with args.
33597 set dummy pkg-config; ac_word=$2
33598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33599 $as_echo_n "checking for $ac_word... " >&6; }
33600 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
33601   $as_echo_n "(cached) " >&6
33602 else
33603   case $ac_pt_PKG_CONFIG in
33604   [\\/]* | ?:[\\/]*)
33605   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33606   ;;
33607   *)
33608   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33609 for as_dir in $PATH
33610 do
33611   IFS=$as_save_IFS
33612   test -z "$as_dir" && as_dir=.
33613     for ac_exec_ext in '' $ac_executable_extensions; do
33614   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33615     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33616     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33617     break 2
33618   fi
33619 done
33620   done
33621 IFS=$as_save_IFS
33622
33623   ;;
33624 esac
33625 fi
33626 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33627 if test -n "$ac_pt_PKG_CONFIG"; then
33628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33629 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33630 else
33631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33632 $as_echo "no" >&6; }
33633 fi
33634
33635   if test "x$ac_pt_PKG_CONFIG" = x; then
33636     PKG_CONFIG=""
33637   else
33638     case $cross_compiling:$ac_tool_warned in
33639 yes:)
33640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33641 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33642 ac_tool_warned=yes ;;
33643 esac
33644     PKG_CONFIG=$ac_pt_PKG_CONFIG
33645   fi
33646 else
33647   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33648 fi
33649
33650 fi
33651 if test -n "$PKG_CONFIG"; then
33652         _pkg_min_version=0.9.0
33653         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33654 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33655         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33656                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33657 $as_echo "yes" >&6; }
33658         else
33659                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33660 $as_echo "no" >&6; }
33661                 PKG_CONFIG=""
33662         fi
33663
33664 fi
33665
33666     if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33667
33668         if test "$wxUSE_GTKPRINT" = "yes" ; then
33669             if test "$WXGTK3" = 1; then
33670                 gtk_unix_print="gtk+-unix-print-3.0"
33671             else
33672                 gtk_unix_print="gtk+-unix-print-2.0 >= 2.10"
33673             fi
33674
33675 pkg_failed=no
33676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
33677 $as_echo_n "checking for GTKPRINT... " >&6; }
33678
33679 if test -n "$PKG_CONFIG"; then
33680     if test -n "$GTKPRINT_CFLAGS"; then
33681         pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
33682     else
33683         if test -n "$PKG_CONFIG" && \
33684     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33685   ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33686   ac_status=$?
33687   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33688   test $ac_status = 0; }; then
33689   pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
33690 else
33691   pkg_failed=yes
33692 fi
33693     fi
33694 else
33695         pkg_failed=untried
33696 fi
33697 if test -n "$PKG_CONFIG"; then
33698     if test -n "$GTKPRINT_LIBS"; then
33699         pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
33700     else
33701         if test -n "$PKG_CONFIG" && \
33702     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33703   ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33704   ac_status=$?
33705   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33706   test $ac_status = 0; }; then
33707   pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
33708 else
33709   pkg_failed=yes
33710 fi
33711     fi
33712 else
33713         pkg_failed=untried
33714 fi
33715
33716
33717
33718 if test $pkg_failed = yes; then
33719
33720 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33721         _pkg_short_errors_supported=yes
33722 else
33723         _pkg_short_errors_supported=no
33724 fi
33725         if test $_pkg_short_errors_supported = yes; then
33726                 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
33727         else
33728                 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
33729         fi
33730         # Put the nasty error message in config.log where it belongs
33731         echo "$GTKPRINT_PKG_ERRORS" >&5
33732
33733
33734                         { $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
33735 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33736                         wxUSE_GTKPRINT="no"
33737
33738
33739 elif test $pkg_failed = untried; then
33740
33741                         { $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
33742 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33743                         wxUSE_GTKPRINT="no"
33744
33745
33746 else
33747         GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
33748         GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
33749         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33750 $as_echo "yes" >&6; }
33751
33752                         CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
33753                         CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
33754                         $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
33755
33756
33757 fi
33758         fi
33759
33760         if test "$WXGTK3" = 1; then
33761             wxUSE_LIBGNOMEPRINT=no
33762         fi
33763
33764         if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
33765
33766
33767 pkg_failed=no
33768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
33769 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
33770
33771 if test -n "$PKG_CONFIG"; then
33772     if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
33773         pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
33774     else
33775         if test -n "$PKG_CONFIG" && \
33776     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33777   ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33778   ac_status=$?
33779   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33780   test $ac_status = 0; }; then
33781   pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33782 else
33783   pkg_failed=yes
33784 fi
33785     fi
33786 else
33787         pkg_failed=untried
33788 fi
33789 if test -n "$PKG_CONFIG"; then
33790     if test -n "$LIBGNOMEPRINTUI_LIBS"; then
33791         pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
33792     else
33793         if test -n "$PKG_CONFIG" && \
33794     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33795   ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33796   ac_status=$?
33797   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33798   test $ac_status = 0; }; then
33799   pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33800 else
33801   pkg_failed=yes
33802 fi
33803     fi
33804 else
33805         pkg_failed=untried
33806 fi
33807
33808
33809
33810 if test $pkg_failed = yes; then
33811
33812 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33813         _pkg_short_errors_supported=yes
33814 else
33815         _pkg_short_errors_supported=no
33816 fi
33817         if test $_pkg_short_errors_supported = yes; then
33818                 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33819         else
33820                 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33821         fi
33822         # Put the nasty error message in config.log where it belongs
33823         echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
33824
33825
33826                         if test "$wxUSE_GTKPRINT" = yes; then
33827                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33828 $as_echo "no" >&6; }
33829                         else
33830                             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33831 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33832                         fi
33833                         wxUSE_LIBGNOMEPRINT="no"
33834
33835
33836 elif test $pkg_failed = untried; then
33837
33838                         if test "$wxUSE_GTKPRINT" = yes; then
33839                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33840 $as_echo "no" >&6; }
33841                         else
33842                             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33843 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33844                         fi
33845                         wxUSE_LIBGNOMEPRINT="no"
33846
33847
33848 else
33849         LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
33850         LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
33851         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33852 $as_echo "yes" >&6; }
33853
33854                         CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
33855                         CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
33856                         $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
33857
33858
33859 fi
33860         fi
33861     fi
33862
33863     if test "$wxUSE_MIMETYPE" = "yes" ; then
33864         if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
33865
33866
33867 pkg_failed=no
33868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
33869 $as_echo_n "checking for GNOMEVFS... " >&6; }
33870
33871 if test -n "$PKG_CONFIG"; then
33872     if test -n "$GNOMEVFS_CFLAGS"; then
33873         pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
33874     else
33875         if test -n "$PKG_CONFIG" && \
33876     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33877   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33878   ac_status=$?
33879   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33880   test $ac_status = 0; }; then
33881   pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33882 else
33883   pkg_failed=yes
33884 fi
33885     fi
33886 else
33887         pkg_failed=untried
33888 fi
33889 if test -n "$PKG_CONFIG"; then
33890     if test -n "$GNOMEVFS_LIBS"; then
33891         pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
33892     else
33893         if test -n "$PKG_CONFIG" && \
33894     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33895   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33896   ac_status=$?
33897   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33898   test $ac_status = 0; }; then
33899   pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33900 else
33901   pkg_failed=yes
33902 fi
33903     fi
33904 else
33905         pkg_failed=untried
33906 fi
33907
33908
33909
33910 if test $pkg_failed = yes; then
33911
33912 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33913         _pkg_short_errors_supported=yes
33914 else
33915         _pkg_short_errors_supported=no
33916 fi
33917         if test $_pkg_short_errors_supported = yes; then
33918                 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
33919         else
33920                 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
33921         fi
33922         # Put the nasty error message in config.log where it belongs
33923         echo "$GNOMEVFS_PKG_ERRORS" >&5
33924
33925
33926                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
33927 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
33928                         wxUSE_LIBGNOMEVFS="no"
33929
33930
33931 elif test $pkg_failed = untried; then
33932
33933                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
33934 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
33935                         wxUSE_LIBGNOMEVFS="no"
33936
33937
33938 else
33939         GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
33940         GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
33941         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33942 $as_echo "yes" >&6; }
33943
33944                         CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
33945                         CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
33946                         $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
33947
33948
33949 fi
33950         fi
33951     fi
33952
33953     if test "$wxUSE_LIBHILDON" = "yes" ; then
33954
33955 pkg_failed=no
33956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
33957 $as_echo_n "checking for HILDON... " >&6; }
33958
33959 if test -n "$PKG_CONFIG"; then
33960     if test -n "$HILDON_CFLAGS"; then
33961         pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
33962     else
33963         if test -n "$PKG_CONFIG" && \
33964     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
33965   ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
33966   ac_status=$?
33967   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33968   test $ac_status = 0; }; then
33969   pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
33970 else
33971   pkg_failed=yes
33972 fi
33973     fi
33974 else
33975         pkg_failed=untried
33976 fi
33977 if test -n "$PKG_CONFIG"; then
33978     if test -n "$HILDON_LIBS"; then
33979         pkg_cv_HILDON_LIBS="$HILDON_LIBS"
33980     else
33981         if test -n "$PKG_CONFIG" && \
33982     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
33983   ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
33984   ac_status=$?
33985   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33986   test $ac_status = 0; }; then
33987   pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
33988 else
33989   pkg_failed=yes
33990 fi
33991     fi
33992 else
33993         pkg_failed=untried
33994 fi
33995
33996
33997
33998 if test $pkg_failed = yes; then
33999
34000 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34001         _pkg_short_errors_supported=yes
34002 else
34003         _pkg_short_errors_supported=no
34004 fi
34005         if test $_pkg_short_errors_supported = yes; then
34006                 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34007         else
34008                 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34009         fi
34010         # Put the nasty error message in config.log where it belongs
34011         echo "$HILDON_PKG_ERRORS" >&5
34012
34013
34014                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34015 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34016                         wxUSE_LIBHILDON="no"
34017                         ac_hildon_lgpl=0
34018
34019
34020 elif test $pkg_failed = untried; then
34021
34022                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34023 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34024                         wxUSE_LIBHILDON="no"
34025                         ac_hildon_lgpl=0
34026
34027
34028 else
34029         HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
34030         HILDON_LIBS=$pkg_cv_HILDON_LIBS
34031         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34032 $as_echo "yes" >&6; }
34033
34034                 EXTRALIBS_HILDON="$HILDON_LIBS"
34035                 CFLAGS="$CFLAGS $HILDON_CFLAGS"
34036                 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
34037                 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34038
34039                 ac_hildon_lgpl=1
34040
34041 fi
34042
34043         if test "$ac_hildon_lgpl" = 0 ; then
34044
34045 pkg_failed=no
34046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34047 $as_echo_n "checking for HILDON2... " >&6; }
34048
34049 if test -n "$PKG_CONFIG"; then
34050     if test -n "$HILDON2_CFLAGS"; then
34051         pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
34052     else
34053         if test -n "$PKG_CONFIG" && \
34054     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34055   ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34056   ac_status=$?
34057   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34058   test $ac_status = 0; }; then
34059   pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34060 else
34061   pkg_failed=yes
34062 fi
34063     fi
34064 else
34065         pkg_failed=untried
34066 fi
34067 if test -n "$PKG_CONFIG"; then
34068     if test -n "$HILDON2_LIBS"; then
34069         pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
34070     else
34071         if test -n "$PKG_CONFIG" && \
34072     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34073   ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34074   ac_status=$?
34075   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34076   test $ac_status = 0; }; then
34077   pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34078 else
34079   pkg_failed=yes
34080 fi
34081     fi
34082 else
34083         pkg_failed=untried
34084 fi
34085
34086
34087
34088 if test $pkg_failed = yes; then
34089
34090 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34091         _pkg_short_errors_supported=yes
34092 else
34093         _pkg_short_errors_supported=no
34094 fi
34095         if test $_pkg_short_errors_supported = yes; then
34096                 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34097         else
34098                 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34099         fi
34100         # Put the nasty error message in config.log where it belongs
34101         echo "$HILDON2_PKG_ERRORS" >&5
34102
34103
34104                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34105 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34106                             wxUSE_LIBHILDON2="no"
34107
34108
34109 elif test $pkg_failed = untried; then
34110
34111                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34112 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34113                             wxUSE_LIBHILDON2="no"
34114
34115
34116 else
34117         HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
34118         HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
34119         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34120 $as_echo "yes" >&6; }
34121
34122                     EXTRALIBS_HILDON="$HILDON2_LIBS"
34123                     CFLAGS="$CFLAGS $HILDON2_CFLAGS"
34124                     CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
34125                     $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34126
34127
34128 fi
34129         fi
34130     fi
34131 fi
34132
34133 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34134   $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34135
34136 fi
34137
34138 if test "$wxUSE_STOPWATCH" = "yes"; then
34139   $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34140
34141 fi
34142
34143 if test "$wxUSE_DATETIME" = "yes"; then
34144   $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34145
34146 fi
34147
34148 if test "$wxUSE_FILE" = "yes"; then
34149   $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34150
34151 fi
34152
34153 if test "$wxUSE_FFILE" = "yes"; then
34154   $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34155
34156 fi
34157
34158 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34159   if test "$wxUSE_STREAMS" != yes; then
34160     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34161 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34162     wxUSE_ARCHIVE_STREAMS=no
34163   else
34164     $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34165
34166   fi
34167 fi
34168
34169 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34170   if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34171     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34172 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34173   elif test "$wxUSE_ZLIB" = "no"; then
34174     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34175 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34176   else
34177     $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34178
34179   fi
34180 fi
34181
34182 if test "$wxUSE_TARSTREAM" = "yes"; then
34183   if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34184     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34185 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34186   else
34187     $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34188
34189   fi
34190 fi
34191
34192 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34193   $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34194
34195 fi
34196
34197 if test "$wxUSE_FILESYSTEM" = "yes"; then
34198   if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
34199     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34200 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34201     wxUSE_FILESYSTEM=no
34202   else
34203     $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34204
34205   fi
34206 fi
34207
34208 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34209   if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34210     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34211 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34212   else
34213     $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34214
34215   fi
34216 fi
34217
34218 if test "$wxUSE_FS_ZIP" = "yes"; then
34219   if test "$wxUSE_FS_ARCHIVE" != yes; then
34220     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34221 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34222   else
34223     $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34224
34225   fi
34226 fi
34227
34228 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34229   if test "$USE_UNIX" != 1; then
34230     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34231 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34232     wxUSE_ON_FATAL_EXCEPTION=no
34233   else
34234     $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34235
34236   fi
34237 fi
34238
34239 if test "$wxUSE_STACKWALKER" = "yes"; then
34240     $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34241
34242 fi
34243
34244 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34245     if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34246         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34247 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34248         wxUSE_DEBUGREPORT=no
34249     else
34250         $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34251
34252         if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34253             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
34254         fi
34255     fi
34256 fi
34257
34258 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34259   $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34260
34261 fi
34262
34263 if test "$wxUSE_BUSYINFO" = "yes"; then
34264   $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34265
34266 fi
34267
34268 if test "$wxUSE_HOTKEY" = "yes"; then
34269   if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34270     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34271 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34272     wxUSE_HOTKEY=no
34273   fi
34274 elif test "$wxUSE_HOTKEY" = "auto"; then
34275   if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34276     wxUSE_HOTKEY=yes
34277   fi
34278 fi
34279 if test "$wxUSE_HOTKEY" = "yes"; then
34280   $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34281
34282 fi
34283
34284 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34285   $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34286
34287 fi
34288
34289 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34290   $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34291
34292 fi
34293
34294 if test "$wxUSE_STD_STRING" = "yes"; then
34295   $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34296
34297 fi
34298
34299 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34300   $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34301
34302 fi
34303
34304 if test "$wxUSE_STDPATHS" = "yes"; then
34305   $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34306
34307 fi
34308
34309 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34310     $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34311
34312 fi
34313
34314 if test "$wxUSE_TEXTFILE" = "yes"; then
34315   if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34316     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34317 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34318   else
34319     $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34320
34321   fi
34322 fi
34323
34324 if test "$wxUSE_CONFIG" = "yes" ; then
34325   if test "$wxUSE_TEXTFILE" != "yes"; then
34326     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34327 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34328   else
34329     $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34330
34331     $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34332
34333     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34334   fi
34335 fi
34336
34337 if test "$wxUSE_INTL" = "yes" ; then
34338   if test "$wxUSE_FILE" != "yes"; then
34339     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34340 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34341   else
34342     $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34343
34344     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34345     GUIDIST="$GUIDIST INTL_DIST"
34346   fi
34347 fi
34348
34349 if test "$wxUSE_XLOCALE" = "yes" ; then
34350     $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34351
34352     ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34353                     #include <locale.h>
34354 "
34355 if test "x$ac_cv_type_locale_t" = xyes; then :
34356
34357 cat >>confdefs.h <<_ACEOF
34358 #define HAVE_LOCALE_T 1
34359 _ACEOF
34360
34361
34362 fi
34363
34364 fi
34365
34366 if test "$wxUSE_LOG" = "yes"; then
34367   $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34368
34369
34370     if test "$wxUSE_LOGGUI" = "yes"; then
34371       $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34372
34373     fi
34374
34375     if test "$wxUSE_LOGWINDOW" = "yes"; then
34376       $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34377
34378     fi
34379
34380     if test "$wxUSE_LOGDIALOG" = "yes"; then
34381       $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34382
34383     fi
34384
34385         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
34386 fi
34387
34388 if test "$wxUSE_LONGLONG" = "yes"; then
34389   $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34390
34391 fi
34392
34393 if test "$wxUSE_GEOMETRY" = "yes"; then
34394   $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34395
34396 fi
34397
34398 if test "$wxUSE_BASE64" = "yes"; then
34399   $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34400
34401 fi
34402
34403 if test "$wxUSE_STREAMS" = "yes" ; then
34404   $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34405
34406 fi
34407
34408 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34409   $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34410
34411 fi
34412
34413 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34414   $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34415
34416 fi
34417
34418
34419 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34420     $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34421
34422
34423     if test "$wxUSE_UNIX" = "yes"; then
34424         if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34425             $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34426
34427         fi
34428
34429         if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34430             for ac_header in sys/epoll.h
34431 do :
34432   ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34433 "
34434 if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
34435   cat >>confdefs.h <<_ACEOF
34436 #define HAVE_SYS_EPOLL_H 1
34437 _ACEOF
34438
34439 fi
34440
34441 done
34442
34443             if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34444                 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34445
34446             else
34447                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34448 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34449             fi
34450         fi
34451     fi
34452 fi
34453
34454
34455 for ac_func in gettimeofday ftime
34456 do :
34457   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34458 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34459 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34460   cat >>confdefs.h <<_ACEOF
34461 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34462 _ACEOF
34463  break
34464 fi
34465 done
34466
34467
34468 if test "$ac_cv_func_gettimeofday" = "yes"; then
34469     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34470 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34471 if ${wx_cv_func_gettimeofday_has_2_args+:} false; then :
34472   $as_echo_n "(cached) " >&6
34473 else
34474
34475                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34476 /* end confdefs.h.  */
34477
34478                 #include <sys/time.h>
34479                 #include <unistd.h>
34480
34481 int
34482 main ()
34483 {
34484
34485                 struct timeval tv;
34486                 gettimeofday(&tv, NULL);
34487
34488   ;
34489   return 0;
34490 }
34491 _ACEOF
34492 if ac_fn_c_try_compile "$LINENO"; then :
34493   wx_cv_func_gettimeofday_has_2_args=yes
34494 else
34495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34496 /* end confdefs.h.  */
34497
34498                     #include <sys/time.h>
34499                     #include <unistd.h>
34500
34501 int
34502 main ()
34503 {
34504
34505                     struct timeval tv;
34506                     gettimeofday(&tv);
34507
34508   ;
34509   return 0;
34510 }
34511 _ACEOF
34512 if ac_fn_c_try_compile "$LINENO"; then :
34513   wx_cv_func_gettimeofday_has_2_args=no
34514 else
34515
34516                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
34517 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
34518                     wx_cv_func_gettimeofday_has_2_args=unknown
34519
34520
34521 fi
34522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34523
34524 fi
34525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34526
34527 fi
34528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
34529 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
34530
34531     if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
34532         $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
34533
34534     fi
34535 fi
34536
34537 if test "$wxUSE_DATETIME" = "yes"; then
34538             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
34539 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
34540 if ${wx_cv_var_timezone+:} false; then :
34541   $as_echo_n "(cached) " >&6
34542 else
34543
34544                         ac_ext=cpp
34545 ac_cpp='$CXXCPP $CPPFLAGS'
34546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34549
34550                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34551 /* end confdefs.h.  */
34552
34553                                 #include <time.h>
34554
34555 int
34556 main ()
34557 {
34558
34559                                 int tz;
34560                                 tz = timezone;
34561
34562   ;
34563   return 0;
34564 }
34565 _ACEOF
34566 if ac_fn_cxx_try_compile "$LINENO"; then :
34567
34568                                 wx_cv_var_timezone=timezone
34569
34570 else
34571
34572                                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34573 /* end confdefs.h.  */
34574
34575                                         #include <time.h>
34576
34577 int
34578 main ()
34579 {
34580
34581                                         int tz;
34582                                         tz = _timezone;
34583
34584   ;
34585   return 0;
34586 }
34587 _ACEOF
34588 if ac_fn_cxx_try_compile "$LINENO"; then :
34589
34590                                         wx_cv_var_timezone=_timezone
34591
34592 else
34593
34594                                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34595 /* end confdefs.h.  */
34596
34597                                                 #include <time.h>
34598
34599 int
34600 main ()
34601 {
34602
34603                                                 int tz;
34604                                                 tz = __timezone;
34605
34606   ;
34607   return 0;
34608 }
34609 _ACEOF
34610 if ac_fn_cxx_try_compile "$LINENO"; then :
34611
34612                                                 wx_cv_var_timezone=__timezone
34613
34614 else
34615
34616                                                 if test "$USE_DOS" = 0 ; then
34617                                                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
34618 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
34619                                                 fi
34620
34621
34622 fi
34623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34624
34625
34626 fi
34627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34628
34629
34630 fi
34631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34632                         ac_ext=c
34633 ac_cpp='$CPP $CPPFLAGS'
34634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34637
34638
34639
34640 fi
34641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
34642 $as_echo "$wx_cv_var_timezone" >&6; }
34643
34644         if test "x$wx_cv_var_timezone" != x ; then
34645         cat >>confdefs.h <<_ACEOF
34646 #define WX_TIMEZONE $wx_cv_var_timezone
34647 _ACEOF
34648
34649     fi
34650
34651         for ac_func in localtime
34652 do :
34653   ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
34654 if test "x$ac_cv_func_localtime" = xyes; then :
34655   cat >>confdefs.h <<_ACEOF
34656 #define HAVE_LOCALTIME 1
34657 _ACEOF
34658
34659 fi
34660 done
34661
34662
34663     if test "$ac_cv_func_localtime" = "yes"; then
34664         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
34665 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
34666 if ${wx_cv_struct_tm_has_gmtoff+:} false; then :
34667   $as_echo_n "(cached) " >&6
34668 else
34669
34670             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34671 /* end confdefs.h.  */
34672
34673                     #include <time.h>
34674
34675 int
34676 main ()
34677 {
34678
34679                     struct tm tm;
34680                     tm.tm_gmtoff++;
34681
34682   ;
34683   return 0;
34684 }
34685 _ACEOF
34686 if ac_fn_c_try_compile "$LINENO"; then :
34687
34688                     wx_cv_struct_tm_has_gmtoff=yes
34689
34690 else
34691   wx_cv_struct_tm_has_gmtoff=no
34692
34693 fi
34694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34695
34696 fi
34697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
34698 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
34699     fi
34700
34701     if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
34702         $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
34703
34704     fi
34705
34706     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
34707 fi
34708
34709
34710 if test "$wxUSE_SOCKETS" = "yes"; then
34711         if test "$TOOLKIT" != "MSW"; then
34712                 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
34713 if test "x$ac_cv_func_socket" = xyes; then :
34714
34715 else
34716
34717                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
34718 $as_echo_n "checking for socket in -lsocket... " >&6; }
34719 if ${ac_cv_lib_socket_socket+:} false; then :
34720   $as_echo_n "(cached) " >&6
34721 else
34722   ac_check_lib_save_LIBS=$LIBS
34723 LIBS="-lsocket  $LIBS"
34724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34725 /* end confdefs.h.  */
34726
34727 /* Override any GCC internal prototype to avoid an error.
34728    Use char because int might match the return type of a GCC
34729    builtin and then its argument prototype would still apply.  */
34730 #ifdef __cplusplus
34731 extern "C"
34732 #endif
34733 char socket ();
34734 int
34735 main ()
34736 {
34737 return socket ();
34738   ;
34739   return 0;
34740 }
34741 _ACEOF
34742 if ac_fn_c_try_link "$LINENO"; then :
34743   ac_cv_lib_socket_socket=yes
34744 else
34745   ac_cv_lib_socket_socket=no
34746 fi
34747 rm -f core conftest.err conftest.$ac_objext \
34748     conftest$ac_exeext conftest.$ac_ext
34749 LIBS=$ac_check_lib_save_LIBS
34750 fi
34751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
34752 $as_echo "$ac_cv_lib_socket_socket" >&6; }
34753 if test "x$ac_cv_lib_socket_socket" = xyes; then :
34754   if test "$INET_LINK" != " -lsocket"; then
34755                         INET_LINK="$INET_LINK -lsocket"
34756                     fi
34757 else
34758
34759                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
34760 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
34761                         wxUSE_SOCKETS=no
34762
34763
34764 fi
34765
34766
34767
34768 fi
34769
34770     fi
34771 fi
34772
34773 if test "$wxUSE_SOCKETS" = "yes" ; then
34774                 if test "$TOOLKIT" != "MSW"; then
34775                                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
34776 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
34777 if ${wx_cv_type_getsockname3+:} false; then :
34778   $as_echo_n "(cached) " >&6
34779 else
34780
34781                 ac_ext=cpp
34782 ac_cpp='$CXXCPP $CPPFLAGS'
34783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34786
34787                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34788 /* end confdefs.h.  */
34789
34790                         #include <sys/types.h>
34791                         #include <sys/socket.h>
34792
34793 int
34794 main ()
34795 {
34796
34797                         socklen_t len;
34798                         getsockname(0, 0, &len);
34799
34800   ;
34801   return 0;
34802 }
34803 _ACEOF
34804 if ac_fn_cxx_try_compile "$LINENO"; then :
34805   wx_cv_type_getsockname3=socklen_t
34806 else
34807
34808                                                                                                                                                                         CFLAGS_OLD="$CFLAGS"
34809                         if test "$GCC" = yes ; then
34810                             CFLAGS="-Werror $CFLAGS"
34811                         fi
34812
34813                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34814 /* end confdefs.h.  */
34815
34816                                 #include <sys/types.h>
34817                                 #include <sys/socket.h>
34818
34819 int
34820 main ()
34821 {
34822
34823                                 size_t len;
34824                                 getsockname(0, 0, &len);
34825
34826   ;
34827   return 0;
34828 }
34829 _ACEOF
34830 if ac_fn_cxx_try_compile "$LINENO"; then :
34831   wx_cv_type_getsockname3=size_t
34832 else
34833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34834 /* end confdefs.h.  */
34835
34836                                     #include <sys/types.h>
34837                                     #include <sys/socket.h>
34838
34839 int
34840 main ()
34841 {
34842
34843                                     int len;
34844                                     getsockname(0, 0, &len);
34845
34846   ;
34847   return 0;
34848 }
34849 _ACEOF
34850 if ac_fn_cxx_try_compile "$LINENO"; then :
34851   wx_cv_type_getsockname3=int
34852 else
34853   wx_cv_type_getsockname3=unknown
34854
34855 fi
34856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34857
34858 fi
34859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34860
34861                         CFLAGS="$CFLAGS_OLD"
34862
34863
34864 fi
34865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34866                 ac_ext=c
34867 ac_cpp='$CPP $CPPFLAGS'
34868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34871
34872
34873 fi
34874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
34875 $as_echo "$wx_cv_type_getsockname3" >&6; }
34876
34877         if test "$wx_cv_type_getsockname3" = "unknown"; then
34878             wxUSE_SOCKETS=no
34879             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
34880 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
34881         else
34882             cat >>confdefs.h <<_ACEOF
34883 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
34884 _ACEOF
34885
34886         fi
34887                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
34888 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
34889 if ${wx_cv_type_getsockopt5+:} false; then :
34890   $as_echo_n "(cached) " >&6
34891 else
34892
34893                                                                                                 ac_ext=cpp
34894 ac_cpp='$CXXCPP $CPPFLAGS'
34895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34898
34899                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34900 /* end confdefs.h.  */
34901
34902                         #include <sys/types.h>
34903                         #include <sys/socket.h>
34904
34905 int
34906 main ()
34907 {
34908
34909                         socklen_t len;
34910                         getsockopt(0, 0, 0, 0, &len);
34911
34912   ;
34913   return 0;
34914 }
34915 _ACEOF
34916 if ac_fn_cxx_try_compile "$LINENO"; then :
34917   wx_cv_type_getsockopt5=socklen_t
34918 else
34919
34920                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34921 /* end confdefs.h.  */
34922
34923                                 #include <sys/types.h>
34924                                 #include <sys/socket.h>
34925
34926 int
34927 main ()
34928 {
34929
34930                                 size_t len;
34931                                 getsockopt(0, 0, 0, 0, &len);
34932
34933   ;
34934   return 0;
34935 }
34936 _ACEOF
34937 if ac_fn_cxx_try_compile "$LINENO"; then :
34938   wx_cv_type_getsockopt5=size_t
34939 else
34940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34941 /* end confdefs.h.  */
34942
34943                                     #include <sys/types.h>
34944                                     #include <sys/socket.h>
34945
34946 int
34947 main ()
34948 {
34949
34950                                     int len;
34951                                     getsockopt(0, 0, 0, 0, &len);
34952
34953   ;
34954   return 0;
34955 }
34956 _ACEOF
34957 if ac_fn_cxx_try_compile "$LINENO"; then :
34958   wx_cv_type_getsockopt5=int
34959 else
34960   wx_cv_type_getsockopt5=unknown
34961
34962 fi
34963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34964
34965 fi
34966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34967
34968
34969 fi
34970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34971                 ac_ext=c
34972 ac_cpp='$CPP $CPPFLAGS'
34973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34976
34977
34978 fi
34979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
34980 $as_echo "$wx_cv_type_getsockopt5" >&6; }
34981
34982         if test "$wx_cv_type_getsockopt5" = "unknown"; then
34983             wxUSE_SOCKETS=no
34984             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
34985 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
34986         else
34987             cat >>confdefs.h <<_ACEOF
34988 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
34989 _ACEOF
34990
34991         fi
34992     fi
34993 fi
34994
34995 if test "$wxUSE_SOCKETS" = "yes" ; then
34996     if test "$wxUSE_IPV6" = "yes"; then
34997         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
34998 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
34999 if ${wx_cv_type_sockaddr_in6+:} false; then :
35000   $as_echo_n "(cached) " >&6
35001 else
35002
35003                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35004 /* end confdefs.h.  */
35005
35006                         #include <sys/types.h>
35007                         #include <sys/socket.h>
35008                         #include <netinet/in.h>
35009
35010 int
35011 main ()
35012 {
35013
35014                         struct sockaddr_in6 sa6;
35015
35016   ;
35017   return 0;
35018 }
35019 _ACEOF
35020 if ac_fn_c_try_compile "$LINENO"; then :
35021   wx_cv_type_sockaddr_in6=yes
35022 else
35023   wx_cv_type_sockaddr_in6=no
35024
35025 fi
35026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35027
35028
35029 fi
35030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35031 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35032
35033         if test "$wx_cv_type_sockaddr_in6"="yes"; then
35034             $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35035
35036         else
35037             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35038 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35039         fi
35040     fi
35041
35042     $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35043
35044     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35045 fi
35046
35047 if test "$wxUSE_PROTOCOL" = "yes"; then
35048     if test "$wxUSE_SOCKETS" != "yes"; then
35049         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35050 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35051         wxUSE_PROTOCOL=no
35052     fi
35053 fi
35054
35055 if test "$wxUSE_PROTOCOL" = "yes"; then
35056     $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35057
35058
35059     if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35060         $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35061
35062     fi
35063     if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35064         $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35065
35066     fi
35067     if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35068         $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35069
35070     fi
35071 else
35072     if test "$wxUSE_FS_INET" = "yes"; then
35073         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35074 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35075         wxUSE_FS_INET="no"
35076     fi
35077 fi
35078
35079 if test "$wxUSE_URL" = "yes"; then
35080     if test "$wxUSE_PROTOCOL" != "yes"; then
35081         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35082 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35083         wxUSE_URL=no
35084     fi
35085     if test "$wxUSE_URL" = "yes"; then
35086         $as_echo "#define wxUSE_URL 1" >>confdefs.h
35087
35088     fi
35089 fi
35090
35091 if test "$wxUSE_VARIANT" = "yes"; then
35092     $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35093
35094 fi
35095
35096 if test "$wxUSE_FS_INET" = "yes"; then
35097   $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35098
35099 fi
35100
35101
35102 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35103     wxUSE_JOYSTICK=no
35104
35105         if test "$TOOLKIT" = "MSW"; then
35106         wxUSE_JOYSTICK=yes
35107
35108         elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35109         if test "$USE_DARWIN" = 1; then
35110                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35111 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35112             ac_ext=cpp
35113 ac_cpp='$CXXCPP $CPPFLAGS'
35114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35117
35118             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35119 /* end confdefs.h.  */
35120  #include <IOKit/hid/IOHIDLib.h>
35121 int
35122 main ()
35123 {
35124  IOHIDQueueInterface *qi = NULL;
35125                               IOHIDCallbackFunction cb = NULL;
35126                               qi->setEventCallout(NULL, cb, NULL, NULL);
35127   ;
35128   return 0;
35129 }
35130 _ACEOF
35131 if ac_fn_cxx_try_compile "$LINENO"; then :
35132    wxUSE_JOYSTICK=yes
35133
35134 fi
35135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35136             ac_ext=c
35137 ac_cpp='$CPP $CPPFLAGS'
35138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35141
35142             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35143 $as_echo "$wxUSE_JOYSTICK" >&6; }
35144         fi
35145
35146         else
35147                                                         for ac_header in linux/joystick.h
35148 do :
35149   ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35150 "
35151 if test "x$ac_cv_header_linux_joystick_h" = xyes; then :
35152   cat >>confdefs.h <<_ACEOF
35153 #define HAVE_LINUX_JOYSTICK_H 1
35154 _ACEOF
35155  wxUSE_JOYSTICK=yes
35156 fi
35157
35158 done
35159
35160     fi
35161
35162     if test "$wxUSE_JOYSTICK" = "yes"; then
35163         $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35164
35165         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35166     else
35167         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35168 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35169     fi
35170 fi
35171
35172
35173
35174 if test "$wxUSE_FONTENUM" = "yes" ; then
35175   $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35176
35177 fi
35178
35179 if test "$wxUSE_FONTMAP" = "yes" ; then
35180   $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35181
35182 fi
35183
35184 if test "$wxUSE_UNICODE" = "yes" ; then
35185   $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35186
35187
35188   if test "$USE_WIN32" != 1; then
35189       wxUSE_UNICODE_MSLU=no
35190   fi
35191
35192   if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35193         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35194 $as_echo_n "checking for main in -lunicows... " >&6; }
35195 if ${ac_cv_lib_unicows_main+:} false; then :
35196   $as_echo_n "(cached) " >&6
35197 else
35198   ac_check_lib_save_LIBS=$LIBS
35199 LIBS="-lunicows  $LIBS"
35200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35201 /* end confdefs.h.  */
35202
35203
35204 int
35205 main ()
35206 {
35207 return main ();
35208   ;
35209   return 0;
35210 }
35211 _ACEOF
35212 if ac_fn_c_try_link "$LINENO"; then :
35213   ac_cv_lib_unicows_main=yes
35214 else
35215   ac_cv_lib_unicows_main=no
35216 fi
35217 rm -f core conftest.err conftest.$ac_objext \
35218     conftest$ac_exeext conftest.$ac_ext
35219 LIBS=$ac_check_lib_save_LIBS
35220 fi
35221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35222 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35223 if test "x$ac_cv_lib_unicows_main" = xyes; then :
35224
35225                 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35226
35227
35228 else
35229
35230                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35231                              Applications will only run on Windows NT/2000/XP!" >&5
35232 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35233                              Applications will only run on Windows NT/2000/XP!" >&2;}
35234                 wxUSE_UNICODE_MSLU=no
35235
35236 fi
35237
35238     fi
35239 fi
35240
35241 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35242     $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35243
35244
35245     if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35246         $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35247
35248     fi
35249 fi
35250
35251
35252 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35253     $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35254
35255     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35256 fi
35257
35258 if test "$wxUSE_MDI" = "yes"; then
35259     $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35260
35261
35262     if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35263         $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35264
35265         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35266     fi
35267 fi
35268
35269 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35270     $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35271
35272     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35273 fi
35274
35275 if test "$wxUSE_HELP" = "yes"; then
35276     $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35277
35278     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35279
35280     if test "$wxUSE_MSW" = 1; then
35281       if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35282         $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35283
35284       fi
35285     fi
35286
35287     if test "$wxUSE_WXHTML_HELP" = "yes"; then
35288       if test "$wxUSE_HTML" = "yes"; then
35289         $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35290
35291       else
35292         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35293 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35294         wxUSE_WXHTML_HELP=no
35295       fi
35296     fi
35297 fi
35298
35299 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35300     $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35301
35302     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35303 fi
35304
35305 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35306   $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35307
35308 fi
35309
35310 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35311
35312
35313 if test "$wxUSE_SVG" = "yes"; then
35314     $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35315
35316 fi
35317
35318
35319 if test "$wxUSE_METAFILE" = "yes"; then
35320     if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35321         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35322 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35323         wxUSE_METAFILE=no
35324     fi
35325 elif test "$wxUSE_METAFILE" = "auto"; then
35326     if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35327         wxUSE_METAFILE=yes
35328     fi
35329 fi
35330
35331 if test "$wxUSE_METAFILE" = "yes"; then
35332     $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35333
35334     if test "$wxUSE_MSW" = 1; then
35335                 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35336
35337     fi
35338 fi
35339
35340
35341 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ"       = "yes" \
35342                           -o "$wxUSE_CLIPBOARD"     = "yes" \
35343                           -o "$wxUSE_OLE"     = "yes" \
35344                           -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
35345     ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35346 "
35347 if test "x$ac_cv_header_ole2_h" = xyes; then :
35348
35349 fi
35350
35351
35352
35353     if test "$ac_cv_header_ole2_h" = "yes" ; then
35354         if test "$GCC" = yes ; then
35355             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35356 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35357             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35358 /* end confdefs.h.  */
35359 #include <windows.h>
35360                             #include <ole2.h>
35361 int
35362 main ()
35363 {
35364
35365   ;
35366   return 0;
35367 }
35368 _ACEOF
35369 if ac_fn_c_try_compile "$LINENO"; then :
35370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35371 $as_echo "no" >&6; }
35372 else
35373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35374 $as_echo "yes" >&6; }
35375                             WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35376 fi
35377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35378             LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35379             if test "$wxUSE_OLE" = "yes" ; then
35380                 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35381
35382                 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35383
35384                 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35385
35386                 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
35387             fi
35388         fi
35389
35390                 if test "$wxUSE_DATAOBJ" = "yes" ; then
35391             $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35392
35393         fi
35394     else
35395         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35396 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35397
35398         wxUSE_CLIPBOARD=no
35399         wxUSE_DRAG_AND_DROP=no
35400         wxUSE_DATAOBJ=no
35401         wxUSE_OLE=no
35402     fi
35403 fi
35404
35405 if test "$wxUSE_IPC" = "yes"; then
35406     if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35407         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35408 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35409         wxUSE_IPC=no
35410     fi
35411
35412     if test "$wxUSE_IPC" = "yes"; then
35413         $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35414
35415         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
35416     fi
35417 fi
35418
35419 if test "$wxUSE_DATAOBJ" = "yes"; then
35420     $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35421
35422 else
35423     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35424 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35425     wxUSE_CLIPBOARD=no
35426     wxUSE_DRAG_AND_DROP=no
35427 fi
35428
35429 if test "$wxUSE_CLIPBOARD" = "yes"; then
35430     if test "$wxUSE_DFB" = 1; then
35431         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35432 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35433         wxUSE_CLIPBOARD=no
35434     fi
35435
35436     if test "$wxUSE_CLIPBOARD" = "yes"; then
35437         $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35438
35439     fi
35440 fi
35441
35442 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35443     if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35444         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35445 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35446         wxUSE_DRAG_AND_DROP=no
35447     fi
35448
35449     if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35450         $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35451
35452     fi
35453
35454 fi
35455
35456 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35457     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
35458 fi
35459
35460 if test "$wxUSE_CLIPBOARD" = "yes"; then
35461     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
35462 fi
35463
35464 if test "$wxUSE_SPLINES" = "yes" ; then
35465   $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35466
35467 fi
35468
35469 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
35470   $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
35471
35472 fi
35473
35474 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
35475     $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
35476
35477     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
35478 fi
35479
35480 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
35481     $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
35482
35483 fi
35484
35485
35486 USES_CONTROLS=0
35487 if test "$wxUSE_CONTROLS" = "yes"; then
35488   USES_CONTROLS=1
35489 fi
35490
35491 if test "$wxUSE_MARKUP" = "yes"; then
35492   $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
35493
35494 fi
35495
35496 if test "$wxUSE_ACCEL" = "yes"; then
35497   $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
35498
35499   USES_CONTROLS=1
35500 fi
35501
35502 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
35503   $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
35504
35505   USES_CONTROLS=1
35506   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
35507 fi
35508
35509 if test "$wxUSE_BANNERWINDOW" = "yes"; then
35510   $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
35511
35512 fi
35513
35514 if test "$wxUSE_BUTTON" = "yes"; then
35515   $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
35516
35517   USES_CONTROLS=1
35518 fi
35519
35520 if test "$wxUSE_BMPBUTTON" = "yes"; then
35521   $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
35522
35523   USES_CONTROLS=1
35524 fi
35525
35526 if test "$wxUSE_CALCTRL" = "yes"; then
35527   $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
35528
35529   USES_CONTROLS=1
35530   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
35531 fi
35532
35533 if test "$wxUSE_CARET" = "yes"; then
35534   $as_echo "#define wxUSE_CARET 1" >>confdefs.h
35535
35536   USES_CONTROLS=1
35537   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
35538 fi
35539
35540 if test "$wxUSE_COLLPANE" = "yes"; then
35541     $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
35542
35543     USES_CONTROLS=1
35544     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
35545 fi
35546
35547 if test "$wxUSE_COMBOBOX" = "yes"; then
35548   $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
35549
35550   USES_CONTROLS=1
35551 fi
35552
35553 if test "$wxUSE_COMBOCTRL" = "yes"; then
35554   $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
35555
35556   USES_CONTROLS=1
35557 fi
35558
35559 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
35560   $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
35561
35562   USES_CONTROLS=1
35563 fi
35564
35565 if test "$wxUSE_CHOICE" = "yes"; then
35566   $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
35567
35568   USES_CONTROLS=1
35569 fi
35570
35571 if test "$wxUSE_CHOICEBOOK" = "yes"; then
35572     $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
35573
35574     USES_CONTROLS=1
35575 fi
35576
35577 if test "$wxUSE_CHECKBOX" = "yes"; then
35578   $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
35579
35580   USES_CONTROLS=1
35581 fi
35582
35583 if test "$wxUSE_CHECKLST" = "yes"; then
35584   $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
35585
35586   USES_CONTROLS=1
35587 fi
35588
35589 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
35590   $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
35591
35592   USES_CONTROLS=1
35593 fi
35594
35595 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
35596   $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
35597
35598   USES_CONTROLS=1
35599 fi
35600
35601 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
35602   $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
35603
35604   USES_CONTROLS=1
35605 fi
35606
35607 if test "$wxUSE_FILECTRL" = "yes"; then
35608   $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
35609
35610   USES_CONTROLS=1
35611 fi
35612
35613 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
35614   $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
35615
35616   USES_CONTROLS=1
35617 fi
35618
35619 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
35620   $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
35621
35622   USES_CONTROLS=1
35623 fi
35624
35625 if test "$wxUSE_DISPLAY" = "yes"; then
35626     if test "$wxUSE_DFB" = 1; then
35627         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
35628 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
35629         wxUSE_DISPLAY=no
35630     else
35631         $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
35632
35633         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
35634     fi
35635 fi
35636
35637 if test "$wxUSE_DETECT_SM" = "yes"; then
35638     $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
35639
35640 fi
35641
35642 if test "$wxUSE_GAUGE" = "yes"; then
35643   $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
35644
35645   USES_CONTROLS=1
35646 fi
35647
35648 if test "$wxUSE_GRID" = "yes"; then
35649   $as_echo "#define wxUSE_GRID 1" >>confdefs.h
35650
35651   USES_CONTROLS=1
35652   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
35653 fi
35654
35655 if test "$wxUSE_HEADERCTRL" = "yes"; then
35656   $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
35657
35658   USES_CONTROLS=1
35659 fi
35660
35661 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
35662   $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
35663
35664   USES_CONTROLS=1
35665 fi
35666
35667 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
35668   $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
35669
35670   USES_CONTROLS=1
35671 fi
35672
35673 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
35674   $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
35675
35676   USES_CONTROLS=1
35677   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
35678 fi
35679
35680 if test "$wxUSE_IMAGLIST" = "yes"; then
35681     $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
35682
35683 fi
35684
35685 if test "$wxUSE_INFOBAR" = "yes"; then
35686     $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
35687
35688 fi
35689
35690 if test "$wxUSE_LISTBOOK" = "yes"; then
35691     $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
35692
35693     USES_CONTROLS=1
35694 fi
35695
35696 if test "$wxUSE_LISTBOX" = "yes"; then
35697     $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
35698
35699     USES_CONTROLS=1
35700 fi
35701
35702 if test "$wxUSE_LISTCTRL" = "yes"; then
35703     if test "$wxUSE_IMAGLIST" = "yes"; then
35704         $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
35705
35706         USES_CONTROLS=1
35707         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
35708     else
35709         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
35710 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
35711     fi
35712 fi
35713
35714 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
35715     $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
35716
35717     USES_CONTROLS=1
35718 fi
35719
35720 if test "$wxUSE_NOTEBOOK" = "yes"; then
35721     $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
35722
35723     USES_CONTROLS=1
35724     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
35725 fi
35726
35727 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
35728     $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
35729
35730 fi
35731
35732 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
35733   $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
35734
35735   USES_CONTROLS=1
35736   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
35737 fi
35738
35739 if test "$wxUSE_RADIOBOX" = "yes"; then
35740     $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
35741
35742     USES_CONTROLS=1
35743 fi
35744
35745 if test "$wxUSE_RADIOBTN" = "yes"; then
35746     $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
35747
35748     USES_CONTROLS=1
35749 fi
35750
35751 if test "$wxUSE_REARRANGECTRL" = "yes"; then
35752     $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
35753
35754 fi
35755
35756 if test "$wxUSE_RICHMSGDLG" = "yes"; then
35757     $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
35758
35759 fi
35760
35761 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
35762     $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
35763
35764 fi
35765
35766 if test "$wxUSE_SASH" = "yes"; then
35767     $as_echo "#define wxUSE_SASH 1" >>confdefs.h
35768
35769     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
35770 fi
35771
35772 if test "$wxUSE_SCROLLBAR" = "yes"; then
35773     $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
35774
35775     USES_CONTROLS=1
35776     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
35777 fi
35778
35779 if test "$wxUSE_SEARCHCTRL" = "yes"; then
35780     $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
35781
35782     USES_CONTROLS=1
35783 fi
35784
35785 if test "$wxUSE_SLIDER" = "yes"; then
35786     $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
35787
35788     USES_CONTROLS=1
35789 fi
35790
35791 if test "$wxUSE_SPINBTN" = "yes"; then
35792     $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
35793
35794     USES_CONTROLS=1
35795 fi
35796
35797 if test "$wxUSE_SPINCTRL" = "yes"; then
35798     $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
35799
35800     USES_CONTROLS=1
35801 fi
35802
35803 if test "$wxUSE_SPLITTER" = "yes"; then
35804     $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
35805
35806     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
35807 fi
35808
35809 if test "$wxUSE_STATBMP" = "yes"; then
35810     $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
35811
35812     USES_CONTROLS=1
35813 fi
35814
35815 if test "$wxUSE_STATBOX" = "yes"; then
35816     $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
35817
35818     USES_CONTROLS=1
35819 fi
35820
35821 if test "$wxUSE_STATTEXT" = "yes"; then
35822     $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
35823
35824     USES_CONTROLS=1
35825 fi
35826
35827 if test "$wxUSE_STATLINE" = "yes"; then
35828     $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
35829
35830     USES_CONTROLS=1
35831 fi
35832
35833 if test "$wxUSE_STATUSBAR" = "yes"; then
35834         $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
35835
35836     $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
35837
35838     USES_CONTROLS=1
35839
35840     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
35841 fi
35842
35843 if test "$wxUSE_TEXTCTRL" = "yes"; then
35844     $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
35845
35846     USES_CONTROLS=1
35847     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
35848
35849             $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
35850
35851     $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
35852
35853 fi
35854
35855 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
35856   $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
35857
35858   USES_CONTROLS=1
35859 fi
35860
35861 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35862     if test "$wxUSE_OLD_COCOA" = 1 ; then
35863         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
35864 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
35865         wxUSE_TOGGLEBTN=no
35866     fi
35867
35868     if test "$wxUSE_TOGGLEBTN" = "yes"; then
35869         $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
35870
35871         USES_CONTROLS=1
35872     fi
35873 fi
35874
35875 if test "$wxUSE_TOOLBAR" = "yes"; then
35876     $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
35877
35878     USES_CONTROLS=1
35879
35880     if test "$wxUSE_UNIVERSAL" = "yes"; then
35881         wxUSE_TOOLBAR_NATIVE="no"
35882     else
35883         wxUSE_TOOLBAR_NATIVE="yes"
35884         $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
35885
35886     fi
35887
35888     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
35889 fi
35890
35891 if test "$wxUSE_TOOLTIPS" = "yes"; then
35892     if test "$wxUSE_MOTIF" = 1; then
35893         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
35894 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
35895     else
35896         if test "$wxUSE_UNIVERSAL" = "yes"; then
35897             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
35898 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
35899         else
35900             $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
35901
35902         fi
35903     fi
35904 fi
35905
35906 if test "$wxUSE_TREEBOOK" = "yes"; then
35907     $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
35908
35909     USES_CONTROLS=1
35910 fi
35911
35912 if test "$wxUSE_TOOLBOOK" = "yes"; then
35913     $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
35914
35915     USES_CONTROLS=1
35916 fi
35917
35918 if test "$wxUSE_TREECTRL" = "yes"; then
35919     if test "$wxUSE_IMAGLIST" = "yes"; then
35920         $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
35921
35922         USES_CONTROLS=1
35923         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
35924     else
35925         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
35926 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
35927     fi
35928 fi
35929
35930 if test "$wxUSE_TREELISTCTRL" = "yes"; then
35931     $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
35932
35933     USES_CONTROLS=1
35934     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
35935 fi
35936
35937 if test "$wxUSE_POPUPWIN" = "yes"; then
35938     if test "$wxUSE_OLD_COCOA" = 1 ; then
35939         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
35940 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
35941     else
35942         if test "$wxUSE_PM" = 1; then
35943             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
35944 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
35945         else
35946             $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
35947
35948             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
35949
35950             USES_CONTROLS=1
35951         fi
35952     fi
35953 fi
35954
35955 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
35956     if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35957         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
35958 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
35959     else
35960         $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
35961
35962         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
35963     fi
35964 fi
35965
35966 if test "$wxUSE_TIPWINDOW" = "yes"; then
35967     if test "$wxUSE_PM" = 1; then
35968         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
35969 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
35970     else
35971         $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
35972
35973     fi
35974 fi
35975
35976 if test "$USES_CONTROLS" = 1; then
35977     $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
35978
35979 fi
35980
35981
35982 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
35983     $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
35984
35985     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
35986 fi
35987
35988 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
35989     $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
35990
35991 fi
35992
35993 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
35994             if test "$wxUSE_GTK" != 1; then
35995                 if test "$wxUSE_LIBPNG" != no -a \
35996                 "$wxUSE_IMAGE" = yes -a \
35997                 "$wxUSE_STREAMS" = yes; then
35998             wxUSE_ARTPROVIDER_TANGO="yes"
35999         fi
36000     fi
36001 fi
36002
36003 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36004     $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36005
36006 fi
36007
36008 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36009     $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36010
36011     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36012 fi
36013
36014 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36015     if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36016         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36017 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36018     else
36019         $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36020
36021         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36022     fi
36023 fi
36024
36025 USE_HTML=0
36026 if test "$wxUSE_HTML" = "yes"; then
36027     $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36028
36029     USE_HTML=1
36030     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36031 fi
36032 if test "$wxUSE_WEBKIT" = "yes"; then
36033     if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36034         old_CPPFLAGS="$CPPFLAGS"
36035         CPPFLAGS="-x objective-c++ $CPPFLAGS"
36036         ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36037                            #include <Carbon/Carbon.h>
36038                            #include <WebKit/WebKit.h>
36039
36040 "
36041 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36042
36043                            $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36044
36045                            WEBKIT_LINK="-framework WebKit"
36046
36047 else
36048
36049                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36050 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36051                            wxUSE_WEBKIT=no
36052
36053 fi
36054
36055
36056         CPPFLAGS="$old_CPPFLAGS"
36057     elif test "$wxUSE_OLD_COCOA" = 1; then
36058         $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36059
36060     else
36061         wxUSE_WEBKIT=no
36062     fi
36063     if test "$wxUSE_WEBKIT" = "yes"; then
36064         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36065     fi
36066 fi
36067
36068 USE_XRC=0
36069 if test "$wxUSE_XRC" = "yes"; then
36070     if test "$wxUSE_XML" != "yes"; then
36071         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36072 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36073         wxUSE_XRC=no
36074     else
36075         $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36076
36077         USE_XRC=1
36078         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
36079     fi
36080 fi
36081
36082 USE_AUI=0
36083 if test "$wxUSE_AUI" = "yes"; then
36084    $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36085
36086    USE_AUI=1
36087    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
36088 fi
36089
36090 USE_PROPGRID=0
36091 if test "$wxUSE_PROPGRID" = "yes"; then
36092    $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36093
36094    USE_PROPGRID=1
36095    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
36096 fi
36097
36098 USE_RIBBON=0
36099 if test "$wxUSE_RIBBON" = "yes"; then
36100    $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36101
36102    USE_RIBBON=1
36103    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
36104 fi
36105
36106 USE_STC=0
36107 if test "$wxUSE_STC" = "yes"; then
36108    $as_echo "#define wxUSE_STC 1" >>confdefs.h
36109
36110    USE_STC=1
36111    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
36112
36113       # Extract the first word of "python", so it can be a program name with args.
36114 set dummy python; ac_word=$2
36115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36116 $as_echo_n "checking for $ac_word... " >&6; }
36117 if ${ac_cv_path_PYTHON+:} false; then :
36118   $as_echo_n "(cached) " >&6
36119 else
36120   case $PYTHON in
36121   [\\/]* | ?:[\\/]*)
36122   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
36123   ;;
36124   *)
36125   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36126 for as_dir in $PATH
36127 do
36128   IFS=$as_save_IFS
36129   test -z "$as_dir" && as_dir=.
36130     for ac_exec_ext in '' $ac_executable_extensions; do
36131   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36132     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
36133     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36134     break 2
36135   fi
36136 done
36137   done
36138 IFS=$as_save_IFS
36139
36140   ;;
36141 esac
36142 fi
36143 PYTHON=$ac_cv_path_PYTHON
36144 if test -n "$PYTHON"; then
36145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36146 $as_echo "$PYTHON" >&6; }
36147 else
36148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36149 $as_echo "no" >&6; }
36150 fi
36151
36152
36153    if test "x$PYTHON" = "x"; then
36154      COND_PYTHON="#"
36155    fi
36156
36157 fi
36158
36159 if test "$wxUSE_MENUS" = "yes"; then
36160     $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36161
36162     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36163 fi
36164
36165 if test "$wxUSE_MIMETYPE" = "yes"; then
36166     $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36167
36168 fi
36169
36170 if test "$wxUSE_MINIFRAME" = "yes"; then
36171     $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36172
36173 fi
36174
36175 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36176     $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36177
36178 fi
36179
36180 if test "$wxUSE_TASKBARICON" = "yes"; then
36181     $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36182
36183                 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36184
36185     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36186 fi
36187
36188
36189 if test "$wxUSE_VALIDATORS" = "yes"; then
36190     $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36191
36192     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36193 fi
36194
36195 if test "$wxUSE_PALETTE" = "yes" ; then
36196     if test "$wxUSE_DFB" = 1; then
36197         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36198 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36199         wxUSE_PALETTE=no
36200     else
36201         $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36202
36203     fi
36204 fi
36205
36206 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36207     LIBS=" -lunicows $LIBS"
36208 fi
36209
36210 USE_RICHTEXT=0
36211 if test "$wxUSE_RICHTEXT" = "yes"; then
36212     $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36213
36214     USE_RICHTEXT=1
36215     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
36216 fi
36217
36218 if test "$wxUSE_WEBVIEW" = "yes"; then
36219     USE_WEBVIEW_WEBKIT=0
36220     if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36221         if test "$wxUSE_GTK" = 1; then
36222             webkitgtk=webkit-1.0
36223             if test "$WXGTK3" = 1; then
36224                 webkitgtk=webkitgtk-3.0
36225             fi
36226
36227 pkg_failed=no
36228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36229 $as_echo_n "checking for WEBKIT... " >&6; }
36230
36231 if test -n "$PKG_CONFIG"; then
36232     if test -n "$WEBKIT_CFLAGS"; then
36233         pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
36234     else
36235         if test -n "$PKG_CONFIG" && \
36236     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36237   ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36238   ac_status=$?
36239   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36240   test $ac_status = 0; }; then
36241   pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36242 else
36243   pkg_failed=yes
36244 fi
36245     fi
36246 else
36247         pkg_failed=untried
36248 fi
36249 if test -n "$PKG_CONFIG"; then
36250     if test -n "$WEBKIT_LIBS"; then
36251         pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
36252     else
36253         if test -n "$PKG_CONFIG" && \
36254     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36255   ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36256   ac_status=$?
36257   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36258   test $ac_status = 0; }; then
36259   pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36260 else
36261   pkg_failed=yes
36262 fi
36263     fi
36264 else
36265         pkg_failed=untried
36266 fi
36267
36268
36269
36270 if test $pkg_failed = yes; then
36271
36272 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36273         _pkg_short_errors_supported=yes
36274 else
36275         _pkg_short_errors_supported=no
36276 fi
36277         if test $_pkg_short_errors_supported = yes; then
36278                 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36279         else
36280                 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36281         fi
36282         # Put the nasty error message in config.log where it belongs
36283         echo "$WEBKIT_PKG_ERRORS" >&5
36284
36285
36286                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36287 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36288
36289 elif test $pkg_failed = untried; then
36290
36291                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36292 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36293
36294 else
36295         WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
36296         WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
36297         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36298 $as_echo "yes" >&6; }
36299
36300                                 USE_WEBVIEW_WEBKIT=1
36301                                 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
36302                                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36303
36304 fi
36305         elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36306                                     old_CPPFLAGS="$CPPFLAGS"
36307             CPPFLAGS="-x objective-c++ $CPPFLAGS"
36308             ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36309                                 #include <Carbon/Carbon.h>
36310                                 #include <WebKit/WebKit.h>
36311
36312 "
36313 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36314
36315                                 USE_WEBVIEW_WEBKIT=1
36316                                 WEBKIT_LINK="-framework WebKit"
36317
36318 else
36319
36320                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36321 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36322
36323 fi
36324
36325
36326             CPPFLAGS="$old_CPPFLAGS"
36327         fi
36328     fi
36329
36330     wxUSE_WEBVIEW="no"
36331     if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36332         if test "$USE_WEBVIEW_WEBKIT" = 1; then
36333             wxUSE_WEBVIEW="yes"
36334             $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36335
36336         else
36337             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36338 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36339         fi
36340     elif test "$wxUSE_MSW" = 1; then
36341         if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36342                                     wxUSE_WEBVIEW="yes"
36343             $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36344
36345         fi
36346     fi
36347 fi
36348
36349 if test "$wxUSE_WEBVIEW" = "yes"; then
36350     USE_WEBVIEW=1
36351     $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36352
36353     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
36354 else
36355     USE_WEBVIEW=0
36356 fi
36357
36358
36359 if test "$wxUSE_IMAGE" = "yes" ; then
36360     $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36361
36362
36363     if test "$wxUSE_GIF" = "yes" ; then
36364       $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36365
36366     fi
36367
36368     if test "$wxUSE_PCX" = "yes" ; then
36369       $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36370
36371     fi
36372
36373     if test "$wxUSE_TGA" = "yes" ; then
36374       $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36375
36376     fi
36377
36378     if test "$wxUSE_IFF" = "yes" ; then
36379       $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36380
36381     fi
36382
36383     if test "$wxUSE_PNM" = "yes" ; then
36384       $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36385
36386     fi
36387
36388     if test "$wxUSE_XPM" = "yes" ; then
36389       $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36390
36391     fi
36392
36393     if test "$wxUSE_ICO_CUR" = "yes" ; then
36394       $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36395
36396     fi
36397 fi
36398
36399
36400 if test "$wxUSE_ABOUTDLG" = "yes"; then
36401     $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36402
36403 fi
36404
36405 if test "$wxUSE_CHOICEDLG" = "yes"; then
36406     $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36407
36408 fi
36409
36410 if test "$wxUSE_COLOURDLG" = "yes"; then
36411     $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36412
36413 fi
36414
36415 if test "$wxUSE_FILEDLG" = "yes"; then
36416     $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36417
36418 fi
36419
36420 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36421     $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36422
36423 fi
36424
36425 if test "$wxUSE_FONTDLG" = "yes"; then
36426     $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36427
36428 fi
36429
36430 if test "$wxUSE_DIRDLG" = "yes"; then
36431     if test "$wxUSE_TREECTRL" != "yes"; then
36432         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36433 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36434     else
36435         $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36436
36437     fi
36438 fi
36439
36440 if test "$wxUSE_MSGDLG" = "yes"; then
36441     $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36442
36443 fi
36444
36445 if test "$wxUSE_NUMBERDLG" = "yes"; then
36446     $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36447
36448 fi
36449
36450 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36451     $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36452
36453 fi
36454
36455 if test "$wxUSE_SPLASH" = "yes"; then
36456     $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36457
36458     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
36459 fi
36460
36461 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36462     $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36463
36464 fi
36465
36466 if test "$wxUSE_TEXTDLG" = "yes"; then
36467     $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
36468
36469 fi
36470
36471 if test "$wxUSE_WIZARDDLG" = "yes"; then
36472     $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
36473
36474     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
36475 fi
36476
36477
36478 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
36479     if test "$wxUSE_OWNER_DRAWN" = "yes"; then
36480         $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
36481
36482     fi
36483 fi
36484
36485
36486 if test "$wxUSE_MSW" = 1 ; then
36487
36488     if test "$wxUSE_DC_CACHEING" = "yes"; then
36489         $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
36490
36491     fi
36492
36493     if test "$wxUSE_DIB" = "yes"; then
36494         $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
36495
36496     fi
36497
36498     if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
36499         $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
36500
36501     fi
36502
36503     if test "$wxUSE_UXTHEME" = "yes"; then
36504         $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
36505
36506     fi
36507
36508 fi
36509
36510 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
36511     $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
36512
36513 fi
36514
36515 if test "$USE_WIN32" = 1 ; then
36516     if test "$wxUSE_INICONF" = "yes"; then
36517         $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
36518
36519     fi
36520
36521     if test "$wxUSE_REGKEY" = "yes"; then
36522         $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
36523
36524     fi
36525 fi
36526
36527
36528 if test "$wxUSE_MAC" = 1; then
36529     wxUSE_GRAPHICS_CONTEXT="yes"
36530 fi
36531
36532 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
36533     wx_has_graphics=0
36534     if test "$wxUSE_MSW" = 1; then
36535         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
36536 $as_echo_n "checking if GDI+ is available... " >&6; }
36537 if ${wx_cv_lib_gdiplus+:} false; then :
36538   $as_echo_n "(cached) " >&6
36539 else
36540
36541                                                 ac_ext=cpp
36542 ac_cpp='$CXXCPP $CPPFLAGS'
36543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36546
36547                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36548 /* end confdefs.h.  */
36549 #include <windows.h>
36550                      #include <gdiplus.h>
36551 int
36552 main ()
36553 {
36554
36555                         using namespace Gdiplus;
36556
36557   ;
36558   return 0;
36559 }
36560 _ACEOF
36561 if ac_fn_cxx_try_compile "$LINENO"; then :
36562   wx_cv_lib_gdiplus=yes
36563 else
36564   wx_cv_lib_gdiplus=no
36565
36566 fi
36567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36568                 ac_ext=c
36569 ac_cpp='$CPP $CPPFLAGS'
36570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36573
36574
36575
36576 fi
36577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
36578 $as_echo "$wx_cv_lib_gdiplus" >&6; }
36579         if test "$wx_cv_lib_gdiplus" = "yes"; then
36580             wx_has_graphics=1
36581         fi
36582     elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
36583
36584 pkg_failed=no
36585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
36586 $as_echo_n "checking for CAIRO... " >&6; }
36587
36588 if test -n "$PKG_CONFIG"; then
36589     if test -n "$CAIRO_CFLAGS"; then
36590         pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
36591     else
36592         if test -n "$PKG_CONFIG" && \
36593     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36594   ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36595   ac_status=$?
36596   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36597   test $ac_status = 0; }; then
36598   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
36599 else
36600   pkg_failed=yes
36601 fi
36602     fi
36603 else
36604         pkg_failed=untried
36605 fi
36606 if test -n "$PKG_CONFIG"; then
36607     if test -n "$CAIRO_LIBS"; then
36608         pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
36609     else
36610         if test -n "$PKG_CONFIG" && \
36611     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36612   ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36613   ac_status=$?
36614   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36615   test $ac_status = 0; }; then
36616   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
36617 else
36618   pkg_failed=yes
36619 fi
36620     fi
36621 else
36622         pkg_failed=untried
36623 fi
36624
36625
36626
36627 if test $pkg_failed = yes; then
36628
36629 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36630         _pkg_short_errors_supported=yes
36631 else
36632         _pkg_short_errors_supported=no
36633 fi
36634         if test $_pkg_short_errors_supported = yes; then
36635                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
36636         else
36637                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
36638         fi
36639         # Put the nasty error message in config.log where it belongs
36640         echo "$CAIRO_PKG_ERRORS" >&5
36641
36642         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36643 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36644
36645 elif test $pkg_failed = untried; then
36646         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36647 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36648
36649 else
36650         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
36651         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
36652         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36653 $as_echo "yes" >&6; }
36654         wx_has_graphics=1
36655 fi
36656         if test "$wx_has_graphics" = 1; then
36657                                                 save_LIBS="$LIBS"
36658             LIBS="$LIBS $CAIRO_LIBS"
36659             for ac_func in cairo_push_group
36660 do :
36661   ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
36662 if test "x$ac_cv_func_cairo_push_group" = xyes; then :
36663   cat >>confdefs.h <<_ACEOF
36664 #define HAVE_CAIRO_PUSH_GROUP 1
36665 _ACEOF
36666
36667 fi
36668 done
36669
36670             LIBS="$save_LIBS"
36671             if test "$ac_cv_func_cairo_push_group" = "no"; then
36672                 wx_has_graphics=0
36673                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
36674 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
36675             else
36676                 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
36677
36678
36679                                                 if test "$wxUSE_GTK" != 1; then
36680                     CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
36681                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
36682                 fi
36683             fi
36684         fi
36685     else
36686                 wx_has_graphics=1
36687     fi
36688
36689     if test "$wx_has_graphics" = 1; then
36690         $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
36691
36692     else
36693         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
36694 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
36695     fi
36696 fi
36697
36698
36699 USE_MEDIA=0
36700
36701 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
36702     USE_MEDIA=1
36703
36704                 if test "$wxUSE_GTK" = 1; then
36705         wxUSE_GSTREAMER="no"
36706
36707                                                                 GST_VERSION_MAJOR=0
36708         GST_VERSION_MINOR=10
36709         GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
36710
36711         if test "$wxUSE_GSTREAMER8" = "no"; then
36712
36713 pkg_failed=no
36714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36715 $as_echo_n "checking for GST... " >&6; }
36716
36717 if test -n "$PKG_CONFIG"; then
36718     if test -n "$GST_CFLAGS"; then
36719         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
36720     else
36721         if test -n "$PKG_CONFIG" && \
36722     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36723   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36724   ac_status=$?
36725   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36726   test $ac_status = 0; }; then
36727   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36728 else
36729   pkg_failed=yes
36730 fi
36731     fi
36732 else
36733         pkg_failed=untried
36734 fi
36735 if test -n "$PKG_CONFIG"; then
36736     if test -n "$GST_LIBS"; then
36737         pkg_cv_GST_LIBS="$GST_LIBS"
36738     else
36739         if test -n "$PKG_CONFIG" && \
36740     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36741   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36742   ac_status=$?
36743   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36744   test $ac_status = 0; }; then
36745   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36746 else
36747   pkg_failed=yes
36748 fi
36749     fi
36750 else
36751         pkg_failed=untried
36752 fi
36753
36754
36755
36756 if test $pkg_failed = yes; then
36757
36758 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36759         _pkg_short_errors_supported=yes
36760 else
36761         _pkg_short_errors_supported=no
36762 fi
36763         if test $_pkg_short_errors_supported = yes; then
36764                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36765         else
36766                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36767         fi
36768         # Put the nasty error message in config.log where it belongs
36769         echo "$GST_PKG_ERRORS" >&5
36770
36771
36772                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36773 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36774                     GST_VERSION_MINOR=8
36775
36776
36777 elif test $pkg_failed = untried; then
36778
36779                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36780 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36781                     GST_VERSION_MINOR=8
36782
36783
36784 else
36785         GST_CFLAGS=$pkg_cv_GST_CFLAGS
36786         GST_LIBS=$pkg_cv_GST_LIBS
36787         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36788 $as_echo "yes" >&6; }
36789
36790                     wxUSE_GSTREAMER="yes"
36791                     GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
36792
36793 fi
36794         else
36795                         GST_VERSION_MINOR=8
36796         fi
36797
36798         if test $GST_VERSION_MINOR = "8"; then
36799             GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
36800
36801 pkg_failed=no
36802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36803 $as_echo_n "checking for GST... " >&6; }
36804
36805 if test -n "$PKG_CONFIG"; then
36806     if test -n "$GST_CFLAGS"; then
36807         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
36808     else
36809         if test -n "$PKG_CONFIG" && \
36810     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36811   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36812   ac_status=$?
36813   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36814   test $ac_status = 0; }; then
36815   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36816 else
36817   pkg_failed=yes
36818 fi
36819     fi
36820 else
36821         pkg_failed=untried
36822 fi
36823 if test -n "$PKG_CONFIG"; then
36824     if test -n "$GST_LIBS"; then
36825         pkg_cv_GST_LIBS="$GST_LIBS"
36826     else
36827         if test -n "$PKG_CONFIG" && \
36828     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36829   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36830   ac_status=$?
36831   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36832   test $ac_status = 0; }; then
36833   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36834 else
36835   pkg_failed=yes
36836 fi
36837     fi
36838 else
36839         pkg_failed=untried
36840 fi
36841
36842
36843
36844 if test $pkg_failed = yes; then
36845
36846 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36847         _pkg_short_errors_supported=yes
36848 else
36849         _pkg_short_errors_supported=no
36850 fi
36851         if test $_pkg_short_errors_supported = yes; then
36852                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36853         else
36854                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36855         fi
36856         # Put the nasty error message in config.log where it belongs
36857         echo "$GST_PKG_ERRORS" >&5
36858
36859
36860                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36861 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36862
36863 elif test $pkg_failed = untried; then
36864
36865                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36866 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36867
36868 else
36869         GST_CFLAGS=$pkg_cv_GST_CFLAGS
36870         GST_LIBS=$pkg_cv_GST_LIBS
36871         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36872 $as_echo "yes" >&6; }
36873         wxUSE_GSTREAMER="yes"
36874 fi
36875         fi
36876
36877
36878         if test "$wxUSE_GSTREAMER" = "yes"; then
36879             CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
36880             EXTRALIBS_MEDIA="$GST_LIBS"
36881
36882             $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
36883
36884         else
36885             USE_MEDIA=0
36886         fi
36887     fi
36888
36889     if test $USE_MEDIA = 1; then
36890         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
36891         $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
36892
36893     else
36894         if test "$wxUSE_MEDIACTRL" = "yes"; then
36895             as_fn_error $? "GStreamer not available" "$LINENO" 5
36896         else
36897                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
36898 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
36899         fi
36900     fi
36901 fi
36902
36903
36904 if test "$cross_compiling" != "no"; then
36905         OSINFO="\"$host\""
36906 else
36907         OSINFO=`uname -s -r -m`
36908     OSINFO="\"$OSINFO\""
36909 fi
36910
36911 cat >>confdefs.h <<_ACEOF
36912 #define WXWIN_OS_DESCRIPTION $OSINFO
36913 _ACEOF
36914
36915
36916
36917 if test "x$prefix" != "xNONE"; then
36918     wxPREFIX=$prefix
36919 else
36920     wxPREFIX=$ac_default_prefix
36921 fi
36922
36923 cat >>confdefs.h <<_ACEOF
36924 #define wxINSTALL_PREFIX "$wxPREFIX"
36925 _ACEOF
36926
36927
36928
36929
36930 STD_BASE_LIBS="base"
36931 STD_GUI_LIBS=""
36932 BUILT_WX_LIBS="base"
36933 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
36934
36935 if test "$wxUSE_SOCKETS" = "yes" ; then
36936     STD_BASE_LIBS="net $STD_BASE_LIBS"
36937     BUILT_WX_LIBS="net $BUILT_WX_LIBS"
36938 fi
36939 if test "$wxUSE_XML" = "yes" ; then
36940     STD_BASE_LIBS="xml $STD_BASE_LIBS"
36941     BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
36942 fi
36943
36944 if test "$wxUSE_GUI" = "yes"; then
36945     STD_GUI_LIBS="adv core"
36946     BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
36947
36948     if test "$wxUSE_DEBUGREPORT" = "yes" ; then
36949         STD_GUI_LIBS="qa $STD_GUI_LIBS"
36950         BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
36951     fi
36952     if test "$wxUSE_HTML" = "yes" ; then
36953         STD_GUI_LIBS="html $STD_GUI_LIBS"
36954         BUILT_WX_LIBS="html $BUILT_WX_LIBS"
36955     fi
36956     if test "$wxUSE_MEDIACTRL" = "yes" ; then
36957         BUILT_WX_LIBS="media $BUILT_WX_LIBS"
36958     fi
36959     if test "$wxUSE_OPENGL" = "yes" ; then
36960         BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
36961     fi
36962     if test "$wxUSE_AUI" = "yes" ; then
36963         BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
36964     fi
36965     if test "$wxUSE_PROPGRID" = "yes" ; then
36966         BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
36967     fi
36968     if test "$wxUSE_RIBBON" = "yes" ; then
36969         BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
36970     fi
36971     if test "$wxUSE_RICHTEXT" = "yes" ; then
36972         BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
36973     fi
36974     if test "$wxUSE_STC" = "yes" ; then
36975         BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
36976     fi
36977     if test "$wxUSE_WEBVIEW" = "yes" ; then
36978         STD_GUI_LIBS="webview $STD_GUI_LIBS"
36979         BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
36980     fi
36981     if test "$wxUSE_XRC" = "yes" ; then
36982         STD_GUI_LIBS="xrc $STD_GUI_LIBS"
36983         BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
36984     fi
36985 fi
36986
36987
36988
36989
36990
36991
36992
36993 EXTRA_FRAMEWORKS=
36994 if test "$wxUSE_MAC" = 1 ; then
36995     if test "$USE_DARWIN" = 1; then
36996         if test "$wxUSE_OSX_IPHONE" = 1; then
36997             EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
36998         else
36999             EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37000
37001
37002             if test "$cross_compiling" != "no"; then
37003                                                                                                 wx_cv_target_x86_64=no
37004             else
37005                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37006 $as_echo_n "checking if we target only x86_64... " >&6; }
37007 if ${wx_cv_target_x86_64+:} false; then :
37008   $as_echo_n "(cached) " >&6
37009 else
37010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37011 /* end confdefs.h.  */
37012 int main() { return 0; }
37013 _ACEOF
37014 if ac_fn_c_try_link "$LINENO"; then :
37015   if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
37016                             wx_cv_target_x86_64=no
37017                         else
37018                             wx_cv_target_x86_64=yes
37019                         fi
37020
37021 fi
37022 rm -f core conftest.err conftest.$ac_objext \
37023     conftest$ac_exeext conftest.$ac_ext
37024
37025 fi
37026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37027 $as_echo "$wx_cv_target_x86_64" >&6; }
37028             fi
37029
37030             if test "$wx_cv_target_x86_64" != "yes"; then
37031                 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37032             fi
37033         fi
37034     fi
37035 fi
37036 if test "$wxUSE_OLD_COCOA" = 1 ; then
37037     EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
37038     if test "$wxUSE_MEDIACTRL" = "yes"; then
37039         EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37040     fi
37041 fi
37042 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37043     EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37044 fi
37045
37046 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
37047 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37048
37049 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37050
37051 if test "$wxUSE_GUI" = "yes"; then
37052
37053
37054         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37055                      erase event exec font image minimal render \
37056                      shaped svg taborder vscroll widgets wrapsizer"
37057
37058     if test "$wxUSE_MONOLITHIC" != "yes"; then
37059         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37060     fi
37061     if test "$TOOLKIT" = "MSW"; then
37062         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
37063         if test "$wxUSE_UNIVERSAL" != "yes"; then
37064             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37065         fi
37066     fi
37067     if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37068         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
37069     fi
37070 else
37071     SAMPLES_SUBDIRS="console"
37072     if test "$wxUSE_SOCKETS" = "yes" ; then
37073         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37074     fi
37075     if test "$wxUSE_IPC" = "yes" ; then
37076         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
37077     fi
37078 fi
37079
37080
37081 if test "x$INTELCC" = "xyes" ; then
37082                                         CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
37083 elif test "$GCC" = yes ; then
37084     CWARNINGS="-Wall -Wundef"
37085 fi
37086
37087 if test "x$INTELCXX" = "xyes" ; then
37088                                                                 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37089 elif test "$GXX" = yes ; then
37090     CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37091     { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37092 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37093 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false; then :
37094   $as_echo_n "(cached) " >&6
37095 else
37096   ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
37097
37098  ac_ext=cpp
37099 ac_cpp='$CXXCPP $CPPFLAGS'
37100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37103
37104  ac_save_CXXFLAGS="$CXXFLAGS"
37105 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual"     "-pedantic % -Woverloaded-virtual %% no, obsolete"     #
37106 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37107    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37108 /* end confdefs.h.  */
37109
37110 int
37111 main ()
37112 {
37113 return 0;
37114   ;
37115   return 0;
37116 }
37117 _ACEOF
37118 if ac_fn_cxx_try_compile "$LINENO"; then :
37119   ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37120 fi
37121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37122 done
37123  CXXFLAGS="$ac_save_CXXFLAGS"
37124  ac_ext=c
37125 ac_cpp='$CPP $CPPFLAGS'
37126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37129
37130
37131 fi
37132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37133 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37134 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37135      .ok|.ok,*)  ;;
37136    .|.no|.no,*)  ;;
37137    *)
37138    if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
37139    then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37140   (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37141   ac_status=$?
37142   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37143   test $ac_status = 0; }
37144    else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37145   (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37146   ac_status=$?
37147   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37148   test $ac_status = 0; }
37149                       CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37150    fi
37151  ;;
37152 esac
37153
37154
37155                     if test "$wxUSE_MAC" = 1 ; then
37156         CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
37157     fi
37158 fi
37159
37160
37161 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
37162 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37163
37164
37165 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
37166  -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37167  -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37168  $CPPFLAGS `
37169
37170 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37171 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37172 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37173 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37174 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37175
37176 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37177
37178
37179 if test "x$MWCC" = "xyes"; then
37180
37181             CC="$CC -cwd source -I-"
37182     CXX="$CXX -cwd source -I-"
37183 fi
37184
37185
37186 LIBS=`echo $LIBS`
37187 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37188 EXTRALIBS_XML="$EXPAT_LINK"
37189 EXTRALIBS_HTML="$MSPACK_LINK"
37190 EXTRALIBS_MEDIA="$GST_LIBS"
37191 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37192 if test "$wxUSE_GUI" = "yes"; then
37193     EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
37194 fi
37195 if test "$wxUSE_OPENGL" = "yes"; then
37196     EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37197 fi
37198
37199 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
37200
37201 WXCONFIG_LIBS="$LIBS"
37202
37203 if test "$wxUSE_REGEX" = "builtin" ; then
37204     wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37205 fi
37206 if test "$wxUSE_EXPAT" = "builtin" ; then
37207     wxconfig_3rdparty="expat $wxconfig_3rdparty"
37208 fi
37209 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37210     wxconfig_3rdparty="tiff $wxconfig_3rdparty"
37211 fi
37212 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37213     wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
37214 fi
37215 if test "$wxUSE_LIBPNG" = "builtin" ; then
37216     wxconfig_3rdparty="png $wxconfig_3rdparty"
37217 fi
37218 if test "$wxUSE_ZLIB" = "builtin" ; then
37219     wxconfig_3rdparty="zlib $wxconfig_3rdparty"
37220 fi
37221
37222 for i in $wxconfig_3rdparty ; do
37223     WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37224 done
37225
37226
37227 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37228     WXUNIV=1
37229
37230     case "$wxUNIV_THEMES" in
37231         ''|all)
37232             $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37233
37234             ;;
37235
37236         *)
37237             for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37238                 cat >>confdefs.h <<_ACEOF
37239 #define wxUSE_THEME_$t 1
37240 _ACEOF
37241
37242             done
37243     esac
37244 else
37245     WXUNIV=0
37246 fi
37247
37248
37249
37250
37251
37252
37253
37254
37255 if test $wxUSE_MONOLITHIC = "yes" ; then
37256     MONOLITHIC=1
37257 else
37258     MONOLITHIC=0
37259 fi
37260
37261 if test $wxUSE_PLUGINS = "yes" ; then
37262     USE_PLUGINS=1
37263 else
37264     USE_PLUGINS=0
37265 fi
37266
37267 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37268     USE_QA=1
37269 else
37270     USE_QA=0
37271 fi
37272
37273 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37274     OFFICIAL_BUILD=1
37275 else
37276     OFFICIAL_BUILD=0
37277 fi
37278
37279
37280
37281
37282
37283
37284
37285
37286
37287
37288
37289
37290
37291
37292
37293
37294
37295
37296
37297
37298
37299
37300
37301
37302
37303
37304
37305 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37306
37307
37308
37309
37310
37311
37312
37313
37314
37315
37316 case "$TOOLKIT" in
37317     GTK)
37318         TOOLKIT_DESC="GTK+"
37319         if test "$WXGTK2" = 1; then
37320             if test "$WXGTK3" = 1; then
37321                 TOOLKIT_DESC="$TOOLKIT_DESC 3"
37322             else
37323                 TOOLKIT_DESC="$TOOLKIT_DESC 2"
37324             fi
37325             if test "$wxUSE_GTKPRINT" = "yes" ; then
37326                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
37327             fi
37328             if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37329                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
37330             fi
37331             if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37332                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
37333             fi
37334             if test "$wxUSE_LIBHILDON" = "yes"; then
37335                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37336             fi
37337             if test "$wxUSE_LIBHILDON2" = "yes"; then
37338                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37339             fi
37340
37341             if test "$TOOLKIT_EXTRA" != ""; then
37342                 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37343             fi
37344         fi
37345         ;;
37346
37347     ?*)
37348         TOOLKIT_DESC=$TOOLKIT_LOWERCASE
37349         ;;
37350
37351     *)
37352         TOOLKIT_DESC="base only"
37353         ;;
37354 esac
37355
37356 if test "$wxUSE_WINE" = "yes"; then
37357     BAKEFILE_FORCE_PLATFORM=win32
37358 fi
37359
37360 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37361 then
37362     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37363 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37364 if ${wx_cv_gcc_pch_bug+:} false; then :
37365   $as_echo_n "(cached) " >&6
37366 else
37367
37368             echo '#include <stdio.h>
37369                   const wchar_t test_var[] = L"awidetest";' > conftest.h
37370
37371             echo '#include "conftest.h"
37372                   int main()
37373                   {
37374                      printf("%ls", test_var);
37375                      return 0;
37376                   }' > conftest.cpp
37377
37378             wx_cv_gcc_pch_bug="pch not supported"
37379
37380             if $CXX conftest.h >/dev/null 2>&1
37381             then
37382                 wx_cv_gcc_pch_bug=
37383
37384                 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
37385                 then
37386                     if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
37387                         grep awidetest >/dev/null
37388                     then
37389                         wx_cv_gcc_pch_bug=no
37390                     else
37391                         wx_cv_gcc_pch_bug=yes
37392                     fi
37393                 fi
37394             fi
37395
37396             rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
37397
37398 fi
37399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37400 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37401
37402     if test "$wx_cv_gcc_pch_bug" = yes; then
37403                         bk_use_pch=no
37404     fi
37405 fi
37406
37407 # Find a good install program.  We prefer a C program (faster),
37408 # so one script is as good as another.  But avoid the broken or
37409 # incompatible versions:
37410 # SysV /etc/install, /usr/sbin/install
37411 # SunOS /usr/etc/install
37412 # IRIX /sbin/install
37413 # AIX /bin/install
37414 # AmigaOS /C/install, which installs bootblocks on floppy discs
37415 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37416 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37417 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37418 # OS/2's system install, which has a completely different semantic
37419 # ./install, which can be erroneously created by make from ./install.sh.
37420 # Reject install programs that cannot install multiple files.
37421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37422 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37423 if test -z "$INSTALL"; then
37424 if ${ac_cv_path_install+:} false; then :
37425   $as_echo_n "(cached) " >&6
37426 else
37427   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37428 for as_dir in $PATH
37429 do
37430   IFS=$as_save_IFS
37431   test -z "$as_dir" && as_dir=.
37432     # Account for people who put trailing slashes in PATH elements.
37433 case $as_dir/ in #((
37434   ./ | .// | /[cC]/* | \
37435   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37436   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
37437   /usr/ucb/* ) ;;
37438   *)
37439     # OSF1 and SCO ODT 3.0 have their own names for install.
37440     # Don't use installbsd from OSF since it installs stuff as root
37441     # by default.
37442     for ac_prog in ginstall scoinst install; do
37443       for ac_exec_ext in '' $ac_executable_extensions; do
37444         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
37445           if test $ac_prog = install &&
37446             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37447             # AIX install.  It has an incompatible calling convention.
37448             :
37449           elif test $ac_prog = install &&
37450             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37451             # program-specific install script used by HP pwplus--don't use.
37452             :
37453           else
37454             rm -rf conftest.one conftest.two conftest.dir
37455             echo one > conftest.one
37456             echo two > conftest.two
37457             mkdir conftest.dir
37458             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
37459               test -s conftest.one && test -s conftest.two &&
37460               test -s conftest.dir/conftest.one &&
37461               test -s conftest.dir/conftest.two
37462             then
37463               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
37464               break 3
37465             fi
37466           fi
37467         fi
37468       done
37469     done
37470     ;;
37471 esac
37472
37473   done
37474 IFS=$as_save_IFS
37475
37476 rm -rf conftest.one conftest.two conftest.dir
37477
37478 fi
37479   if test "${ac_cv_path_install+set}" = set; then
37480     INSTALL=$ac_cv_path_install
37481   else
37482     # As a last resort, use the slow shell script.  Don't cache a
37483     # value for INSTALL within a source directory, because that will
37484     # break other packages using the cache if that directory is
37485     # removed, or if the value is a relative name.
37486     INSTALL=$ac_install_sh
37487   fi
37488 fi
37489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
37490 $as_echo "$INSTALL" >&6; }
37491
37492 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37493 # It thinks the first close brace ends the variable substitution.
37494 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
37495
37496 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
37497
37498 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
37499
37500
37501
37502
37503
37504
37505
37506     if test "x$BAKEFILE_HOST" = "x"; then
37507                if test "x${host}" = "x" ; then
37508                        as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
37509                fi
37510
37511         BAKEFILE_HOST="${host}"
37512     fi
37513
37514     if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37515
37516     if test -n "$ac_tool_prefix"; then
37517   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37518 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
37519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37520 $as_echo_n "checking for $ac_word... " >&6; }
37521 if ${ac_cv_prog_RANLIB+:} false; then :
37522   $as_echo_n "(cached) " >&6
37523 else
37524   if test -n "$RANLIB"; then
37525   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
37526 else
37527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37528 for as_dir in $PATH
37529 do
37530   IFS=$as_save_IFS
37531   test -z "$as_dir" && as_dir=.
37532     for ac_exec_ext in '' $ac_executable_extensions; do
37533   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37534     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
37535     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37536     break 2
37537   fi
37538 done
37539   done
37540 IFS=$as_save_IFS
37541
37542 fi
37543 fi
37544 RANLIB=$ac_cv_prog_RANLIB
37545 if test -n "$RANLIB"; then
37546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
37547 $as_echo "$RANLIB" >&6; }
37548 else
37549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37550 $as_echo "no" >&6; }
37551 fi
37552
37553
37554 fi
37555 if test -z "$ac_cv_prog_RANLIB"; then
37556   ac_ct_RANLIB=$RANLIB
37557   # Extract the first word of "ranlib", so it can be a program name with args.
37558 set dummy ranlib; ac_word=$2
37559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37560 $as_echo_n "checking for $ac_word... " >&6; }
37561 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
37562   $as_echo_n "(cached) " >&6
37563 else
37564   if test -n "$ac_ct_RANLIB"; then
37565   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
37566 else
37567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37568 for as_dir in $PATH
37569 do
37570   IFS=$as_save_IFS
37571   test -z "$as_dir" && as_dir=.
37572     for ac_exec_ext in '' $ac_executable_extensions; do
37573   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37574     ac_cv_prog_ac_ct_RANLIB="ranlib"
37575     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37576     break 2
37577   fi
37578 done
37579   done
37580 IFS=$as_save_IFS
37581
37582 fi
37583 fi
37584 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
37585 if test -n "$ac_ct_RANLIB"; then
37586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
37587 $as_echo "$ac_ct_RANLIB" >&6; }
37588 else
37589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37590 $as_echo "no" >&6; }
37591 fi
37592
37593   if test "x$ac_ct_RANLIB" = x; then
37594     RANLIB=":"
37595   else
37596     case $cross_compiling:$ac_tool_warned in
37597 yes:)
37598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37600 ac_tool_warned=yes ;;
37601 esac
37602     RANLIB=$ac_ct_RANLIB
37603   fi
37604 else
37605   RANLIB="$ac_cv_prog_RANLIB"
37606 fi
37607
37608
37609     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
37610 $as_echo_n "checking whether ln -s works... " >&6; }
37611 LN_S=$as_ln_s
37612 if test "$LN_S" = "ln -s"; then
37613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37614 $as_echo "yes" >&6; }
37615 else
37616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
37617 $as_echo "no, using $LN_S" >&6; }
37618 fi
37619
37620
37621     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37622 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
37623 set x ${MAKE-make}
37624 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
37625 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
37626   $as_echo_n "(cached) " >&6
37627 else
37628   cat >conftest.make <<\_ACEOF
37629 SHELL = /bin/sh
37630 all:
37631         @echo '@@@%%%=$(MAKE)=@@@%%%'
37632 _ACEOF
37633 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
37634 case `${MAKE-make} -f conftest.make 2>/dev/null` in
37635   *@@@%%%=?*=@@@%%%*)
37636     eval ac_cv_prog_make_${ac_make}_set=yes;;
37637   *)
37638     eval ac_cv_prog_make_${ac_make}_set=no;;
37639 esac
37640 rm -f conftest.make
37641 fi
37642 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
37643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37644 $as_echo "yes" >&6; }
37645   SET_MAKE=
37646 else
37647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37648 $as_echo "no" >&6; }
37649   SET_MAKE="MAKE=${MAKE-make}"
37650 fi
37651
37652
37653
37654     if test "x$SUNCXX" = "xyes"; then
37655                                 AR=$CXX
37656         AROPTIONS="-xar -o"
37657
37658     elif test "x$SGICC" = "xyes"; then
37659                 AR=$CXX
37660         AROPTIONS="-ar -o"
37661
37662     else
37663         if test -n "$ac_tool_prefix"; then
37664   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37665 set dummy ${ac_tool_prefix}ar; ac_word=$2
37666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37667 $as_echo_n "checking for $ac_word... " >&6; }
37668 if ${ac_cv_prog_AR+:} false; then :
37669   $as_echo_n "(cached) " >&6
37670 else
37671   if test -n "$AR"; then
37672   ac_cv_prog_AR="$AR" # Let the user override the test.
37673 else
37674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37675 for as_dir in $PATH
37676 do
37677   IFS=$as_save_IFS
37678   test -z "$as_dir" && as_dir=.
37679     for ac_exec_ext in '' $ac_executable_extensions; do
37680   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37681     ac_cv_prog_AR="${ac_tool_prefix}ar"
37682     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37683     break 2
37684   fi
37685 done
37686   done
37687 IFS=$as_save_IFS
37688
37689 fi
37690 fi
37691 AR=$ac_cv_prog_AR
37692 if test -n "$AR"; then
37693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
37694 $as_echo "$AR" >&6; }
37695 else
37696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37697 $as_echo "no" >&6; }
37698 fi
37699
37700
37701 fi
37702 if test -z "$ac_cv_prog_AR"; then
37703   ac_ct_AR=$AR
37704   # Extract the first word of "ar", so it can be a program name with args.
37705 set dummy ar; ac_word=$2
37706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37707 $as_echo_n "checking for $ac_word... " >&6; }
37708 if ${ac_cv_prog_ac_ct_AR+:} false; then :
37709   $as_echo_n "(cached) " >&6
37710 else
37711   if test -n "$ac_ct_AR"; then
37712   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
37713 else
37714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37715 for as_dir in $PATH
37716 do
37717   IFS=$as_save_IFS
37718   test -z "$as_dir" && as_dir=.
37719     for ac_exec_ext in '' $ac_executable_extensions; do
37720   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37721     ac_cv_prog_ac_ct_AR="ar"
37722     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37723     break 2
37724   fi
37725 done
37726   done
37727 IFS=$as_save_IFS
37728
37729 fi
37730 fi
37731 ac_ct_AR=$ac_cv_prog_ac_ct_AR
37732 if test -n "$ac_ct_AR"; then
37733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
37734 $as_echo "$ac_ct_AR" >&6; }
37735 else
37736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37737 $as_echo "no" >&6; }
37738 fi
37739
37740   if test "x$ac_ct_AR" = x; then
37741     AR="ar"
37742   else
37743     case $cross_compiling:$ac_tool_warned in
37744 yes:)
37745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37746 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37747 ac_tool_warned=yes ;;
37748 esac
37749     AR=$ac_ct_AR
37750   fi
37751 else
37752   AR="$ac_cv_prog_AR"
37753 fi
37754
37755         AROPTIONS=rcu
37756     fi
37757
37758
37759     if test -n "$ac_tool_prefix"; then
37760   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37761 set dummy ${ac_tool_prefix}strip; ac_word=$2
37762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37763 $as_echo_n "checking for $ac_word... " >&6; }
37764 if ${ac_cv_prog_STRIP+:} false; then :
37765   $as_echo_n "(cached) " >&6
37766 else
37767   if test -n "$STRIP"; then
37768   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
37769 else
37770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37771 for as_dir in $PATH
37772 do
37773   IFS=$as_save_IFS
37774   test -z "$as_dir" && as_dir=.
37775     for ac_exec_ext in '' $ac_executable_extensions; do
37776   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37777     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
37778     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37779     break 2
37780   fi
37781 done
37782   done
37783 IFS=$as_save_IFS
37784
37785 fi
37786 fi
37787 STRIP=$ac_cv_prog_STRIP
37788 if test -n "$STRIP"; then
37789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
37790 $as_echo "$STRIP" >&6; }
37791 else
37792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37793 $as_echo "no" >&6; }
37794 fi
37795
37796
37797 fi
37798 if test -z "$ac_cv_prog_STRIP"; then
37799   ac_ct_STRIP=$STRIP
37800   # Extract the first word of "strip", so it can be a program name with args.
37801 set dummy strip; ac_word=$2
37802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37803 $as_echo_n "checking for $ac_word... " >&6; }
37804 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
37805   $as_echo_n "(cached) " >&6
37806 else
37807   if test -n "$ac_ct_STRIP"; then
37808   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
37809 else
37810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37811 for as_dir in $PATH
37812 do
37813   IFS=$as_save_IFS
37814   test -z "$as_dir" && as_dir=.
37815     for ac_exec_ext in '' $ac_executable_extensions; do
37816   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37817     ac_cv_prog_ac_ct_STRIP="strip"
37818     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37819     break 2
37820   fi
37821 done
37822   done
37823 IFS=$as_save_IFS
37824
37825 fi
37826 fi
37827 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
37828 if test -n "$ac_ct_STRIP"; then
37829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
37830 $as_echo "$ac_ct_STRIP" >&6; }
37831 else
37832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37833 $as_echo "no" >&6; }
37834 fi
37835
37836   if test "x$ac_ct_STRIP" = x; then
37837     STRIP=":"
37838   else
37839     case $cross_compiling:$ac_tool_warned in
37840 yes:)
37841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37843 ac_tool_warned=yes ;;
37844 esac
37845     STRIP=$ac_ct_STRIP
37846   fi
37847 else
37848   STRIP="$ac_cv_prog_STRIP"
37849 fi
37850
37851     if test -n "$ac_tool_prefix"; then
37852   # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
37853 set dummy ${ac_tool_prefix}nm; ac_word=$2
37854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37855 $as_echo_n "checking for $ac_word... " >&6; }
37856 if ${ac_cv_prog_NM+:} false; then :
37857   $as_echo_n "(cached) " >&6
37858 else
37859   if test -n "$NM"; then
37860   ac_cv_prog_NM="$NM" # Let the user override the test.
37861 else
37862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37863 for as_dir in $PATH
37864 do
37865   IFS=$as_save_IFS
37866   test -z "$as_dir" && as_dir=.
37867     for ac_exec_ext in '' $ac_executable_extensions; do
37868   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37869     ac_cv_prog_NM="${ac_tool_prefix}nm"
37870     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37871     break 2
37872   fi
37873 done
37874   done
37875 IFS=$as_save_IFS
37876
37877 fi
37878 fi
37879 NM=$ac_cv_prog_NM
37880 if test -n "$NM"; then
37881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
37882 $as_echo "$NM" >&6; }
37883 else
37884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37885 $as_echo "no" >&6; }
37886 fi
37887
37888
37889 fi
37890 if test -z "$ac_cv_prog_NM"; then
37891   ac_ct_NM=$NM
37892   # Extract the first word of "nm", so it can be a program name with args.
37893 set dummy nm; ac_word=$2
37894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37895 $as_echo_n "checking for $ac_word... " >&6; }
37896 if ${ac_cv_prog_ac_ct_NM+:} false; then :
37897   $as_echo_n "(cached) " >&6
37898 else
37899   if test -n "$ac_ct_NM"; then
37900   ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
37901 else
37902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37903 for as_dir in $PATH
37904 do
37905   IFS=$as_save_IFS
37906   test -z "$as_dir" && as_dir=.
37907     for ac_exec_ext in '' $ac_executable_extensions; do
37908   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37909     ac_cv_prog_ac_ct_NM="nm"
37910     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37911     break 2
37912   fi
37913 done
37914   done
37915 IFS=$as_save_IFS
37916
37917 fi
37918 fi
37919 ac_ct_NM=$ac_cv_prog_ac_ct_NM
37920 if test -n "$ac_ct_NM"; then
37921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
37922 $as_echo "$ac_ct_NM" >&6; }
37923 else
37924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37925 $as_echo "no" >&6; }
37926 fi
37927
37928   if test "x$ac_ct_NM" = x; then
37929     NM=":"
37930   else
37931     case $cross_compiling:$ac_tool_warned in
37932 yes:)
37933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37935 ac_tool_warned=yes ;;
37936 esac
37937     NM=$ac_ct_NM
37938   fi
37939 else
37940   NM="$ac_cv_prog_NM"
37941 fi
37942
37943
37944         INSTALL_DIR="mkdir -p"
37945
37946
37947     LDFLAGS_GUI=
37948     case ${BAKEFILE_HOST} in
37949         *-*-cygwin* | *-*-mingw32* )
37950         LDFLAGS_GUI="-mwindows"
37951     esac
37952
37953
37954     fi
37955
37956         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
37957 $as_echo_n "checking if make is GNU make... " >&6; }
37958 if ${bakefile_cv_prog_makeisgnu+:} false; then :
37959   $as_echo_n "(cached) " >&6
37960 else
37961
37962         if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
37963                 egrep -s GNU > /dev/null); then
37964             bakefile_cv_prog_makeisgnu="yes"
37965         else
37966             bakefile_cv_prog_makeisgnu="no"
37967         fi
37968
37969 fi
37970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
37971 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
37972
37973     if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
37974         IF_GNU_MAKE=""
37975     else
37976         IF_GNU_MAKE="#"
37977     fi
37978
37979
37980
37981     PLATFORM_UNIX=0
37982     PLATFORM_WIN32=0
37983     PLATFORM_MSDOS=0
37984     PLATFORM_MAC=0
37985     PLATFORM_MACOS=0
37986     PLATFORM_MACOSX=0
37987     PLATFORM_OS2=0
37988     PLATFORM_BEOS=0
37989
37990     if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
37991         case "${BAKEFILE_HOST}" in
37992             *-*-mingw32* )
37993                 PLATFORM_WIN32=1
37994             ;;
37995             *-pc-msdosdjgpp )
37996                 PLATFORM_MSDOS=1
37997             ;;
37998             *-pc-os2_emx | *-pc-os2-emx )
37999                 PLATFORM_OS2=1
38000             ;;
38001             *-*-darwin* )
38002                 PLATFORM_MAC=1
38003                 PLATFORM_MACOSX=1
38004             ;;
38005             *-*-beos* )
38006                 PLATFORM_BEOS=1
38007             ;;
38008             powerpc-apple-macos* )
38009                 PLATFORM_MAC=1
38010                 PLATFORM_MACOS=1
38011             ;;
38012             * )
38013                 PLATFORM_UNIX=1
38014             ;;
38015         esac
38016     else
38017         case "$BAKEFILE_FORCE_PLATFORM" in
38018             win32 )
38019                 PLATFORM_WIN32=1
38020             ;;
38021             msdos )
38022                 PLATFORM_MSDOS=1
38023             ;;
38024             os2 )
38025                 PLATFORM_OS2=1
38026             ;;
38027             darwin )
38028                 PLATFORM_MAC=1
38029                 PLATFORM_MACOSX=1
38030             ;;
38031             unix )
38032                 PLATFORM_UNIX=1
38033             ;;
38034             beos )
38035                 PLATFORM_BEOS=1
38036             ;;
38037             * )
38038                 as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38039             ;;
38040         esac
38041     fi
38042
38043
38044
38045
38046
38047
38048
38049
38050
38051
38052
38053     # Check whether --enable-omf was given.
38054 if test "${enable_omf+set}" = set; then :
38055   enableval=$enable_omf; bk_os2_use_omf="$enableval"
38056 fi
38057
38058
38059     case "${BAKEFILE_HOST}" in
38060       *-*-darwin* )
38061                         if test "x$GCC" = "xyes"; then
38062             CFLAGS="$CFLAGS -fno-common"
38063             CXXFLAGS="$CXXFLAGS -fno-common"
38064         fi
38065         if test "x$XLCC" = "xyes"; then
38066             CFLAGS="$CFLAGS -qnocommon"
38067             CXXFLAGS="$CXXFLAGS -qnocommon"
38068         fi
38069         ;;
38070
38071       *-pc-os2_emx | *-pc-os2-emx )
38072         if test "x$bk_os2_use_omf" = "xyes" ; then
38073             AR=emxomfar
38074             RANLIB=:
38075             LDFLAGS="-Zomf $LDFLAGS"
38076             CFLAGS="-Zomf $CFLAGS"
38077             CXXFLAGS="-Zomf $CXXFLAGS"
38078             OS2_LIBEXT="lib"
38079         else
38080             OS2_LIBEXT="a"
38081         fi
38082         ;;
38083
38084       i*86-*-beos* )
38085         LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
38086         ;;
38087     esac
38088
38089
38090     SO_SUFFIX="so"
38091     SO_SUFFIX_MODULE="so"
38092     EXEEXT=""
38093     LIBPREFIX="lib"
38094     LIBEXT=".a"
38095     DLLPREFIX="lib"
38096     DLLPREFIX_MODULE=""
38097     DLLIMP_SUFFIX=""
38098     dlldir="$libdir"
38099
38100     case "${BAKEFILE_HOST}" in
38101                         ia64-hp-hpux* )
38102         ;;
38103         *-hp-hpux* )
38104             SO_SUFFIX="sl"
38105             SO_SUFFIX_MODULE="sl"
38106         ;;
38107         *-*-aix* )
38108                                                                         SO_SUFFIX="a"
38109             SO_SUFFIX_MODULE="a"
38110         ;;
38111         *-*-cygwin* )
38112             SO_SUFFIX="dll"
38113             SO_SUFFIX_MODULE="dll"
38114             DLLIMP_SUFFIX="dll.a"
38115             EXEEXT=".exe"
38116             DLLPREFIX="cyg"
38117             dlldir="$bindir"
38118         ;;
38119         *-*-mingw32* )
38120             SO_SUFFIX="dll"
38121             SO_SUFFIX_MODULE="dll"
38122             DLLIMP_SUFFIX="dll.a"
38123             EXEEXT=".exe"
38124             DLLPREFIX=""
38125             dlldir="$bindir"
38126         ;;
38127         *-pc-msdosdjgpp )
38128             EXEEXT=".exe"
38129             DLLPREFIX=""
38130             dlldir="$bindir"
38131         ;;
38132         *-pc-os2_emx | *-pc-os2-emx )
38133             SO_SUFFIX="dll"
38134             SO_SUFFIX_MODULE="dll"
38135             DLLIMP_SUFFIX=$OS2_LIBEXT
38136             EXEEXT=".exe"
38137             DLLPREFIX=""
38138             LIBPREFIX=""
38139             LIBEXT=".$OS2_LIBEXT"
38140             dlldir="$bindir"
38141         ;;
38142         *-*-darwin* )
38143             SO_SUFFIX="dylib"
38144             SO_SUFFIX_MODULE="bundle"
38145         ;;
38146     esac
38147
38148     if test "x$DLLIMP_SUFFIX" = "x" ; then
38149         DLLIMP_SUFFIX="$SO_SUFFIX"
38150     fi
38151
38152
38153
38154
38155
38156
38157
38158
38159
38160
38161
38162
38163         PIC_FLAG=""
38164     if test "x$GCC" = "xyes"; then
38165                 PIC_FLAG="-fPIC"
38166     fi
38167
38168         SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
38169     SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
38170     WINDOWS_IMPLIB=0
38171
38172     case "${BAKEFILE_HOST}" in
38173       *-hp-hpux* )
38174                 if test "x$GCC" != "xyes"; then
38175                         LDFLAGS="$LDFLAGS -L/usr/lib"
38176
38177             SHARED_LD_CC="${CC} -b -o"
38178             SHARED_LD_CXX="${CXX} -b -o"
38179             PIC_FLAG="+Z"
38180         fi
38181       ;;
38182
38183       *-*-linux* )
38184                         if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38185             PIC_FLAG="-KPIC"
38186         elif test "x$SUNCXX" = "xyes"; then
38187             SHARED_LD_CC="${CC} -G -o"
38188             SHARED_LD_CXX="${CXX} -G -o"
38189             PIC_FLAG="-KPIC"
38190         fi
38191       ;;
38192
38193       *-*-solaris2* )
38194         if test "x$SUNCXX" = xyes ; then
38195             SHARED_LD_CC="${CC} -G -o"
38196             SHARED_LD_CXX="${CXX} -G -o"
38197             PIC_FLAG="-KPIC"
38198         fi
38199       ;;
38200
38201       *-*-darwin* )
38202
38203 D='$'
38204 cat <<EOF >shared-ld-sh
38205 #!/bin/sh
38206 #-----------------------------------------------------------------------------
38207 #-- Name:        distrib/mac/shared-ld-sh
38208 #-- Purpose:     Link a mach-o dynamic shared library for Darwin / Mac OS X
38209 #-- Author:      Gilles Depeyrot
38210 #-- Copyright:   (c) 2002 Gilles Depeyrot
38211 #-- Licence:     any use permitted
38212 #-----------------------------------------------------------------------------
38213
38214 verbose=0
38215 args=""
38216 objects=""
38217 linking_flag="-dynamiclib"
38218 ldargs="-r -keep_private_externs -nostdlib"
38219
38220 if test "x${D}CXX" = "x"; then
38221     CXX="c++"
38222 fi
38223
38224 while test ${D}# -gt 0; do
38225     case ${D}1 in
38226
38227        -v)
38228         verbose=1
38229         ;;
38230
38231        -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38232         # collect these options and values
38233         args="${D}{args} ${D}1 ${D}2"
38234         shift
38235         ;;
38236
38237        -arch|-isysroot)
38238         # collect these options and values
38239         ldargs="${D}{ldargs} ${D}1 ${D}2"
38240         shift
38241         ;;
38242
38243        -s|-Wl,*)
38244         # collect these load args
38245         ldargs="${D}{ldargs} ${D}1"
38246         ;;
38247
38248        -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38249         # collect these options
38250         args="${D}{args} ${D}1"
38251         ;;
38252
38253        -dynamiclib|-bundle)
38254         linking_flag="${D}1"
38255         ;;
38256
38257        -*)
38258         echo "shared-ld: unhandled option '${D}1'"
38259         exit 1
38260         ;;
38261
38262         *.o | *.a | *.dylib)
38263         # collect object files
38264         objects="${D}{objects} ${D}1"
38265         ;;
38266
38267         *)
38268         echo "shared-ld: unhandled argument '${D}1'"
38269         exit 1
38270         ;;
38271
38272     esac
38273     shift
38274 done
38275
38276 status=0
38277
38278 #
38279 # Link one module containing all the others
38280 #
38281 if test ${D}{verbose} = 1; then
38282     echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38283 fi
38284 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38285 status=${D}?
38286
38287 #
38288 # Link the shared library from the single module created, but only if the
38289 # previous command didn't fail:
38290 #
38291 if test ${D}{status} = 0; then
38292     if test ${D}{verbose} = 1; then
38293         echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38294     fi
38295     ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38296     status=${D}?
38297 fi
38298
38299 #
38300 # Remove intermediate module
38301 #
38302 rm -f master.${D}${D}.o
38303
38304 exit ${D}status
38305 EOF
38306
38307         chmod +x shared-ld-sh
38308
38309         SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38310         SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38311
38312
38313                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38314 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38315 if ${bakefile_cv_gcc31+:} false; then :
38316   $as_echo_n "(cached) " >&6
38317 else
38318
38319            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38320 /* end confdefs.h.  */
38321
38322 int
38323 main ()
38324 {
38325
38326                    #if (__GNUC__ < 3) || \
38327                        ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38328                        This is old gcc
38329                    #endif
38330
38331   ;
38332   return 0;
38333 }
38334 _ACEOF
38335 if ac_fn_c_try_compile "$LINENO"; then :
38336
38337                    bakefile_cv_gcc31=yes
38338
38339 else
38340
38341                    bakefile_cv_gcc31=no
38342
38343
38344 fi
38345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38346
38347 fi
38348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38349 $as_echo "$bakefile_cv_gcc31" >&6; }
38350         if test "$bakefile_cv_gcc31" = "no"; then
38351                         SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38352             SHARED_LD_CXX="$SHARED_LD_CC"
38353         else
38354                         SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38355             SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38356         fi
38357
38358         if test "x$GCC" == "xyes"; then
38359             PIC_FLAG="-dynamic -fPIC"
38360         fi
38361         if test "x$XLCC" = "xyes"; then
38362             PIC_FLAG="-dynamic -DPIC"
38363         fi
38364       ;;
38365
38366       *-*-aix* )
38367         if test "x$GCC" = "xyes"; then
38368                                                             PIC_FLAG=""
38369
38370                                                                                     case "${BAKEFILE_HOST}" in
38371                 *-*-aix5* )
38372                     LD_EXPFULL="-Wl,-bexpfull"
38373                     ;;
38374             esac
38375
38376             SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
38377             SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
38378         else
38379                                     # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38380 set dummy makeC++SharedLib; ac_word=$2
38381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38382 $as_echo_n "checking for $ac_word... " >&6; }
38383 if ${ac_cv_prog_AIX_CXX_LD+:} false; then :
38384   $as_echo_n "(cached) " >&6
38385 else
38386   if test -n "$AIX_CXX_LD"; then
38387   ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38388 else
38389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38390 for as_dir in $PATH
38391 do
38392   IFS=$as_save_IFS
38393   test -z "$as_dir" && as_dir=.
38394     for ac_exec_ext in '' $ac_executable_extensions; do
38395   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38396     ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38397     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38398     break 2
38399   fi
38400 done
38401   done
38402 IFS=$as_save_IFS
38403
38404   test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38405 fi
38406 fi
38407 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38408 if test -n "$AIX_CXX_LD"; then
38409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38410 $as_echo "$AIX_CXX_LD" >&6; }
38411 else
38412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38413 $as_echo "no" >&6; }
38414 fi
38415
38416
38417             SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38418             SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38419         fi
38420       ;;
38421
38422       *-*-beos* )
38423                         SHARED_LD_CC="${LD} -nostart -o"
38424         SHARED_LD_CXX="${LD} -nostart -o"
38425       ;;
38426
38427       *-*-irix* )
38428                 if test "x$GCC" != "xyes"; then
38429             PIC_FLAG="-KPIC"
38430         fi
38431       ;;
38432
38433       *-*-cygwin* | *-*-mingw32* )
38434         PIC_FLAG=""
38435         SHARED_LD_CC="\$(CC) -shared -o"
38436         SHARED_LD_CXX="\$(CXX) -shared -o"
38437         WINDOWS_IMPLIB=1
38438       ;;
38439
38440       *-pc-os2_emx | *-pc-os2-emx )
38441         SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38442         SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38443         PIC_FLAG=""
38444
38445 D='$'
38446 cat <<EOF >dllar.sh
38447 #!/bin/sh
38448 #
38449 # dllar - a tool to build both a .dll and an .a file
38450 # from a set of object (.o) files for EMX/OS2.
38451 #
38452 #  Written by Andrew Zabolotny, bit@freya.etu.ru
38453 #  Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38454 #
38455 #  This script will accept a set of files on the command line.
38456 #  All the public symbols from the .o files will be exported into
38457 #  a .DEF file, then linker will be run (through gcc) against them to
38458 #  build a shared library consisting of all given .o files. All libraries
38459 #  (.a) will be first decompressed into component .o files then act as
38460 #  described above. You can optionally give a description (-d "description")
38461 #  which will be put into .DLL. To see the list of accepted options (as well
38462 #  as command-line format) simply run this program without options. The .DLL
38463 #  is built to be imported by name (there is no guarantee that new versions
38464 #  of the library you build will have same ordinals for same symbols).
38465 #
38466 #  dllar is free software; you can redistribute it and/or modify
38467 #  it under the terms of the GNU General Public License as published by
38468 #  the Free Software Foundation; either version 2, or (at your option)
38469 #  any later version.
38470 #
38471 #  dllar is distributed in the hope that it will be useful,
38472 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
38473 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
38474 #  GNU General Public License for more details.
38475 #
38476 #  You should have received a copy of the GNU General Public License
38477 #  along with dllar; see the file COPYING.  If not, write to the Free
38478 #  Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38479 #  02111-1307, USA.
38480
38481 # To successfuly run this program you will need:
38482 #  - Current drive should have LFN support (HPFS, ext2, network, etc)
38483 #    (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38484 #  - gcc
38485 #    (used to build the .dll)
38486 #  - emxexp
38487 #    (used to create .def file from .o files)
38488 #  - emximp
38489 #    (used to create .a file from .def file)
38490 #  - GNU text utilites (cat, sort, uniq)
38491 #    used to process emxexp output
38492 #  - GNU file utilities (mv, rm)
38493 #  - GNU sed
38494 #  - lxlite (optional, see flag below)
38495 #    (used for general .dll cleanup)
38496 #
38497
38498 flag_USE_LXLITE=1;
38499
38500 #
38501 # helper functions
38502 # basnam, variant of basename, which does _not_ remove the path, _iff_
38503 #                              second argument (suffix to remove) is given
38504 basnam(){
38505     case ${D}# in
38506     1)
38507         echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
38508         ;;
38509     2)
38510         echo ${D}1 | sed 's/'${D}2'${D}//'
38511         ;;
38512     *)
38513         echo "error in basnam ${D}*"
38514         exit 8
38515         ;;
38516     esac
38517 }
38518
38519 # Cleanup temporary files and output
38520 CleanUp() {
38521     cd ${D}curDir
38522     for i in ${D}inputFiles ; do
38523         case ${D}i in
38524         *!)
38525             rm -rf \`basnam ${D}i !\`
38526             ;;
38527         *)
38528             ;;
38529         esac
38530     done
38531
38532     # Kill result in case of failure as there is just to many stupid make/nmake
38533     # things out there which doesn't do this.
38534     if [ ${D}# -eq 0 ]; then
38535         rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38536     fi
38537 }
38538
38539 # Print usage and exit script with rc=1.
38540 PrintHelp() {
38541  echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
38542  echo '       [-name-mangler-script script.sh]'
38543  echo '       [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
38544  echo '       [-ord[inals]] -ex[clude] "symbol(s)"'
38545  echo '       [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
38546  echo '       [*.o] [*.a]'
38547  echo '*> "output_file" should have no extension.'
38548  echo '   If it has the .o, .a or .dll extension, it is automatically removed.'
38549  echo '   The import library name is derived from this and is set to "name".a,'
38550  echo '   unless overridden by -import'
38551  echo '*> "importlib_name" should have no extension.'
38552  echo '   If it has the .o, or .a extension, it is automatically removed.'
38553  echo '   This name is used as the import library name and may be longer and'
38554  echo '   more descriptive than the DLL name which has to follow the old '
38555  echo '   8.3 convention of FAT.'
38556  echo '*> "script.sh may be given to override the output_file name by a'
38557  echo '   different name. It is mainly useful if the regular make process'
38558  echo '   of some package does not take into account OS/2 restriction of'
38559  echo '   DLL name lengths. It takes the importlib name as input and is'
38560  echo '   supposed to procude a shorter name as output. The script should'
38561  echo '   expect to get importlib_name without extension and should produce'
38562  echo '   a (max.) 8 letter name without extension.'
38563  echo '*> "cc" is used to use another GCC executable.   (default: gcc.exe)'
38564  echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38565  echo '   These flags will be put at the start of GCC command line.'
38566  echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
38567  echo '*> -ex[clude] defines symbols which will not be exported. You can define'
38568  echo '   multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38569  echo '   If the last character of a symbol is "*", all symbols beginning'
38570  echo '   with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38571  echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
38572  echo '   TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38573  echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
38574  echo '   C runtime DLLs.'
38575  echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
38576  echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38577  echo '   unchanged to GCC at the end of command line.'
38578  echo '*> If you create a DLL from a library and you do not specify -o,'
38579  echo '   the basename for DLL and import library will be set to library name,'
38580  echo '   the initial library will be renamed to 'name'_s.a (_s for static)'
38581  echo '   i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38582  echo '   library will be renamed into gcc_s.a.'
38583  echo '--------'
38584  echo 'Example:'
38585  echo '   dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38586  echo '    -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38587  CleanUp
38588  exit 1
38589 }
38590
38591 # Execute a command.
38592 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38593 # @Uses    Whatever CleanUp() uses.
38594 doCommand() {
38595     echo "${D}*"
38596     eval ${D}*
38597     rcCmd=${D}?
38598
38599     if [ ${D}rcCmd -ne 0 ]; then
38600         echo "command failed, exit code="${D}rcCmd
38601         CleanUp
38602         exit ${D}rcCmd
38603     fi
38604 }
38605
38606 # main routine
38607 # setup globals
38608 cmdLine=${D}*
38609 outFile=""
38610 outimpFile=""
38611 inputFiles=""
38612 renameScript=""
38613 description=""
38614 CC=gcc.exe
38615 CFLAGS="-s -Zcrtdll"
38616 EXTRA_CFLAGS=""
38617 EXPORT_BY_ORDINALS=0
38618 exclude_symbols=""
38619 library_flags=""
38620 curDir=\`pwd\`
38621 curDirS=curDir
38622 case ${D}curDirS in
38623 */)
38624   ;;
38625 *)
38626   curDirS=${D}{curDirS}"/"
38627   ;;
38628 esac
38629 # Parse commandline
38630 libsToLink=0
38631 omfLinking=0
38632 while [ ${D}1 ]; do
38633     case ${D}1 in
38634     -ord*)
38635         EXPORT_BY_ORDINALS=1;
38636         ;;
38637     -o*)
38638         shift
38639         outFile=${D}1
38640         ;;
38641     -i*)
38642         shift
38643         outimpFile=${D}1
38644         ;;
38645     -name-mangler-script)
38646         shift
38647         renameScript=${D}1
38648         ;;
38649     -d*)
38650         shift
38651         description=${D}1
38652         ;;
38653     -f*)
38654         shift
38655         CFLAGS=${D}1
38656         ;;
38657     -c*)
38658         shift
38659         CC=${D}1
38660         ;;
38661     -h*)
38662         PrintHelp
38663         ;;
38664     -ex*)
38665         shift
38666         exclude_symbols=${D}{exclude_symbols}${D}1" "
38667         ;;
38668     -libf*)
38669         shift
38670         library_flags=${D}{library_flags}${D}1" "
38671         ;;
38672     -nocrt*)
38673         CFLAGS="-s"
38674         ;;
38675     -nolxl*)
38676         flag_USE_LXLITE=0
38677         ;;
38678     -* | /*)
38679         case ${D}1 in
38680         -L* | -l*)
38681             libsToLink=1
38682             ;;
38683         -Zomf)
38684             omfLinking=1
38685             ;;
38686         *)
38687             ;;
38688         esac
38689         EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38690         ;;
38691     *.dll)
38692         EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
38693         if [ ${D}omfLinking -eq 1 ]; then
38694             EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
38695         else
38696             EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
38697         fi
38698         ;;
38699     *)
38700         found=0;
38701         if [ ${D}libsToLink -ne 0 ]; then
38702             EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38703         else
38704             for file in ${D}1 ; do
38705                 if [ -f ${D}file ]; then
38706                     inputFiles="${D}{inputFiles} ${D}file"
38707                     found=1
38708                 fi
38709             done
38710             if [ ${D}found -eq 0 ]; then
38711                 echo "ERROR: No file(s) found: "${D}1
38712                 exit 8
38713             fi
38714         fi
38715       ;;
38716     esac
38717     shift
38718 done # iterate cmdline words
38719
38720 #
38721 if [ -z "${D}inputFiles" ]; then
38722     echo "dllar: no input files"
38723     PrintHelp
38724 fi
38725
38726 # Now extract all .o files from .a files
38727 newInputFiles=""
38728 for file in ${D}inputFiles ; do
38729     case ${D}file in
38730     *.a | *.lib)
38731         case ${D}file in
38732         *.a)
38733             suffix=".a"
38734             AR="ar"
38735             ;;
38736         *.lib)
38737             suffix=".lib"
38738             AR="emxomfar"
38739             EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
38740             ;;
38741         *)
38742             ;;
38743         esac
38744         dirname=\`basnam ${D}file ${D}suffix\`"_%"
38745         mkdir ${D}dirname
38746         if [ ${D}? -ne 0 ]; then
38747             echo "Failed to create subdirectory ./${D}dirname"
38748             CleanUp
38749             exit 8;
38750         fi
38751         # Append '!' to indicate archive
38752         newInputFiles="${D}newInputFiles ${D}{dirname}!"
38753         doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
38754         cd ${D}curDir
38755         found=0;
38756         for subfile in ${D}dirname/*.o* ; do
38757             if [ -f ${D}subfile ]; then
38758                 found=1
38759                 if [ -s ${D}subfile ]; then
38760                     # FIXME: This should be: is file size > 32 byte, _not_ > 0!
38761                     newInputFiles="${D}newInputFiles ${D}subfile"
38762                 fi
38763             fi
38764         done
38765         if [ ${D}found -eq 0 ]; then
38766             echo "WARNING: there are no files in archive \\'${D}file\\'"
38767         fi
38768         ;;
38769     *)
38770         newInputFiles="${D}{newInputFiles} ${D}file"
38771         ;;
38772     esac
38773 done
38774 inputFiles="${D}newInputFiles"
38775
38776 # Output filename(s).
38777 do_backup=0;
38778 if [ -z ${D}outFile ]; then
38779     do_backup=1;
38780     set outFile ${D}inputFiles; outFile=${D}2
38781 fi
38782
38783 # If it is an archive, remove the '!' and the '_%' suffixes
38784 case ${D}outFile in
38785 *_%!)
38786     outFile=\`basnam ${D}outFile _%!\`
38787     ;;
38788 *)
38789     ;;
38790 esac
38791 case ${D}outFile in
38792 *.dll)
38793     outFile=\`basnam ${D}outFile .dll\`
38794     ;;
38795 *.DLL)
38796     outFile=\`basnam ${D}outFile .DLL\`
38797     ;;
38798 *.o)
38799     outFile=\`basnam ${D}outFile .o\`
38800     ;;
38801 *.obj)
38802     outFile=\`basnam ${D}outFile .obj\`
38803     ;;
38804 *.a)
38805     outFile=\`basnam ${D}outFile .a\`
38806     ;;
38807 *.lib)
38808     outFile=\`basnam ${D}outFile .lib\`
38809     ;;
38810 *)
38811     ;;
38812 esac
38813 case ${D}outimpFile in
38814 *.a)
38815     outimpFile=\`basnam ${D}outimpFile .a\`
38816     ;;
38817 *.lib)
38818     outimpFile=\`basnam ${D}outimpFile .lib\`
38819     ;;
38820 *)
38821     ;;
38822 esac
38823 if [ -z ${D}outimpFile ]; then
38824     outimpFile=${D}outFile
38825 fi
38826 defFile="${D}{outFile}.def"
38827 arcFile="${D}{outimpFile}.a"
38828 arcFile2="${D}{outimpFile}.lib"
38829
38830 #create ${D}dllFile as something matching 8.3 restrictions,
38831 if [ -z ${D}renameScript ] ; then
38832     dllFile="${D}outFile"
38833 else
38834     dllFile=\`${D}renameScript ${D}outimpFile\`
38835 fi
38836
38837 if [ ${D}do_backup -ne 0 ] ; then
38838     if [ -f ${D}arcFile ] ; then
38839         doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
38840     fi
38841     if [ -f ${D}arcFile2 ] ; then
38842         doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
38843     fi
38844 fi
38845
38846 # Extract public symbols from all the object files.
38847 tmpdefFile=${D}{defFile}_%
38848 rm -f ${D}tmpdefFile
38849 for file in ${D}inputFiles ; do
38850     case ${D}file in
38851     *!)
38852         ;;
38853     *)
38854         doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
38855         ;;
38856     esac
38857 done
38858
38859 # Create the def file.
38860 rm -f ${D}defFile
38861 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
38862 dllFile="${D}{dllFile}.dll"
38863 if [ ! -z ${D}description ]; then
38864     echo "DESCRIPTION  \\"${D}{description}\\"" >> ${D}defFile
38865 fi
38866 echo "EXPORTS" >> ${D}defFile
38867
38868 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
38869 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
38870
38871 # Checks if the export is ok or not.
38872 for word in ${D}exclude_symbols; do
38873     grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
38874     mv ${D}{tmpdefFile}% ${D}tmpdefFile
38875 done
38876
38877
38878 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38879     sed "=" < ${D}tmpdefFile | \\
38880     sed '
38881       N
38882       : loop
38883       s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
38884       t loop
38885     ' > ${D}{tmpdefFile}%
38886     grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
38887 else
38888     rm -f ${D}{tmpdefFile}%
38889 fi
38890 cat ${D}tmpdefFile >> ${D}defFile
38891 rm -f ${D}tmpdefFile
38892
38893 # Do linking, create implib, and apply lxlite.
38894 gccCmdl="";
38895 for file in ${D}inputFiles ; do
38896     case ${D}file in
38897     *!)
38898         ;;
38899     *)
38900         gccCmdl="${D}gccCmdl ${D}file"
38901         ;;
38902     esac
38903 done
38904 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
38905 touch "${D}{outFile}.dll"
38906
38907 doCommand "emximp -o ${D}arcFile ${D}defFile"
38908 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
38909     add_flags="";
38910     if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38911         add_flags="-ynd"
38912     fi
38913     doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
38914 fi
38915 doCommand "emxomf -s -l ${D}arcFile"
38916
38917 # Successful exit.
38918 CleanUp 1
38919 exit 0
38920 EOF
38921
38922         chmod +x dllar.sh
38923       ;;
38924
38925       powerpc-apple-macos* | \
38926       *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
38927       *-*-mirbsd* | \
38928       *-*-sunos4* | \
38929       *-*-osf* | \
38930       *-*-dgux5* | \
38931       *-*-sysv5* | \
38932       *-pc-msdosdjgpp )
38933               ;;
38934
38935       *)
38936         as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
38937     esac
38938
38939     if test "x$PIC_FLAG" != "x" ; then
38940         PIC_FLAG="$PIC_FLAG -DPIC"
38941     fi
38942
38943     if test "x$SHARED_LD_MODULE_CC" = "x" ; then
38944         SHARED_LD_MODULE_CC="$SHARED_LD_CC"
38945     fi
38946     if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
38947         SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
38948     fi
38949
38950
38951
38952
38953
38954
38955
38956
38957
38958     USE_SOVERSION=0
38959     USE_SOVERLINUX=0
38960     USE_SOVERSOLARIS=0
38961     USE_SOVERCYGWIN=0
38962     USE_SOTWOSYMLINKS=0
38963     USE_MACVERSION=0
38964     SONAME_FLAG=
38965
38966     case "${BAKEFILE_HOST}" in
38967       *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
38968       *-*-k*bsd*-gnu | *-*-mirbsd* )
38969         if test "x$SUNCXX" = "xyes"; then
38970             SONAME_FLAG="-h "
38971         else
38972             SONAME_FLAG="-Wl,-soname,"
38973         fi
38974         USE_SOVERSION=1
38975         USE_SOVERLINUX=1
38976         USE_SOTWOSYMLINKS=1
38977       ;;
38978
38979       *-*-solaris2* )
38980         SONAME_FLAG="-h "
38981         USE_SOVERSION=1
38982         USE_SOVERSOLARIS=1
38983       ;;
38984
38985       *-*-darwin* )
38986         USE_MACVERSION=1
38987         USE_SOVERSION=1
38988         USE_SOTWOSYMLINKS=1
38989       ;;
38990
38991       *-*-cygwin* )
38992         USE_SOVERSION=1
38993         USE_SOVERCYGWIN=1
38994       ;;
38995     esac
38996
38997
38998
38999
39000
39001
39002
39003
39004
39005
39006     # Check whether --enable-dependency-tracking was given.
39007 if test "${enable_dependency_tracking+set}" = set; then :
39008   enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
39009 fi
39010
39011
39012     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39013 $as_echo_n "checking for dependency tracking method... " >&6; }
39014
39015     BK_DEPS=""
39016     if test "x$bk_use_trackdeps" = "xno" ; then
39017         DEPS_TRACKING=0
39018         { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39019 $as_echo "disabled" >&6; }
39020     else
39021         DEPS_TRACKING=1
39022
39023         if test "x$GCC" = "xyes"; then
39024             DEPSMODE=gcc
39025             DEPSFLAG="-MMD"
39026             { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39027 $as_echo "gcc" >&6; }
39028         elif test "x$MWCC" = "xyes"; then
39029             DEPSMODE=mwcc
39030             DEPSFLAG="-MM"
39031             { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39032 $as_echo "mwcc" >&6; }
39033         elif test "x$SUNCC" = "xyes"; then
39034             DEPSMODE=unixcc
39035             DEPSFLAG="-xM1"
39036             { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39037 $as_echo "Sun cc" >&6; }
39038         elif test "x$SGICC" = "xyes"; then
39039             DEPSMODE=unixcc
39040             DEPSFLAG="-M"
39041             { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39042 $as_echo "SGI cc" >&6; }
39043         elif test "x$HPCC" = "xyes"; then
39044             DEPSMODE=unixcc
39045             DEPSFLAG="+make"
39046             { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39047 $as_echo "HP cc" >&6; }
39048         elif test "x$COMPAQCC" = "xyes"; then
39049             DEPSMODE=gcc
39050             DEPSFLAG="-MD"
39051             { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39052 $as_echo "Compaq cc" >&6; }
39053         else
39054             DEPS_TRACKING=0
39055             { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39056 $as_echo "none" >&6; }
39057         fi
39058
39059         if test $DEPS_TRACKING = 1 ; then
39060
39061 D='$'
39062 cat <<EOF >bk-deps
39063 #!/bin/sh
39064
39065 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39066 # script. It is used to track C/C++ files dependencies in portable way.
39067 #
39068 # Permission is given to use this file in any way.
39069
39070 DEPSMODE=${DEPSMODE}
39071 DEPSFLAG="${DEPSFLAG}"
39072 DEPSDIRBASE=.deps
39073
39074 if test ${D}DEPSMODE = gcc ; then
39075     ${D}* ${D}{DEPSFLAG}
39076     status=${D}?
39077
39078     # determine location of created files:
39079     while test ${D}# -gt 0; do
39080         case "${D}1" in
39081             -o )
39082                 shift
39083                 objfile=${D}1
39084             ;;
39085             -* )
39086             ;;
39087             * )
39088                 srcfile=${D}1
39089             ;;
39090         esac
39091         shift
39092     done
39093     objfilebase=\`basename ${D}objfile\`
39094     builddir=\`dirname ${D}objfile\`
39095     depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39096     depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39097     depsdir=${D}builddir/${D}DEPSDIRBASE
39098     mkdir -p ${D}depsdir
39099
39100     # if the compiler failed, we're done:
39101     if test ${D}{status} != 0 ; then
39102         rm -f ${D}depfile
39103         exit ${D}{status}
39104     fi
39105
39106     # move created file to the location we want it in:
39107     if test -f ${D}depfile ; then
39108         sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39109         rm -f ${D}depfile
39110     else
39111         # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39112         depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39113         if test ! -f ${D}depfile ; then
39114             # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39115             depfile="${D}objfile.d"
39116         fi
39117         if test -f ${D}depfile ; then
39118             sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39119             rm -f ${D}depfile
39120         fi
39121     fi
39122     exit 0
39123
39124 elif test ${D}DEPSMODE = mwcc ; then
39125     ${D}* || exit ${D}?
39126     # Run mwcc again with -MM and redirect into the dep file we want
39127     # NOTE: We can't use shift here because we need ${D}* to be valid
39128     prevarg=
39129     for arg in ${D}* ; do
39130         if test "${D}prevarg" = "-o"; then
39131             objfile=${D}arg
39132         else
39133             case "${D}arg" in
39134                 -* )
39135                 ;;
39136                 * )
39137                     srcfile=${D}arg
39138                 ;;
39139             esac
39140         fi
39141         prevarg="${D}arg"
39142     done
39143
39144     objfilebase=\`basename ${D}objfile\`
39145     builddir=\`dirname ${D}objfile\`
39146     depsdir=${D}builddir/${D}DEPSDIRBASE
39147     mkdir -p ${D}depsdir
39148
39149     ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39150     exit 0
39151
39152 elif test ${D}DEPSMODE = unixcc; then
39153     ${D}* || exit ${D}?
39154     # Run compiler again with deps flag and redirect into the dep file.
39155     # It doesn't work if the '-o FILE' option is used, but without it the
39156     # dependency file will contain the wrong name for the object. So it is
39157     # removed from the command line, and the dep file is fixed with sed.
39158     cmd=""
39159     while test ${D}# -gt 0; do
39160         case "${D}1" in
39161             -o )
39162                 shift
39163                 objfile=${D}1
39164             ;;
39165             * )
39166                 eval arg${D}#=\\${D}1
39167                 cmd="${D}cmd \\${D}arg${D}#"
39168             ;;
39169         esac
39170         shift
39171     done
39172
39173     objfilebase=\`basename ${D}objfile\`
39174     builddir=\`dirname ${D}objfile\`
39175     depsdir=${D}builddir/${D}DEPSDIRBASE
39176     mkdir -p ${D}depsdir
39177
39178     eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39179     exit 0
39180
39181 else
39182     ${D}*
39183     exit ${D}?
39184 fi
39185 EOF
39186
39187             chmod +x bk-deps
39188                                     BK_DEPS="`pwd`/bk-deps"
39189         fi
39190     fi
39191
39192
39193
39194
39195
39196     case ${BAKEFILE_HOST} in
39197         *-*-cygwin* | *-*-mingw32* )
39198                         if test -n "$ac_tool_prefix"; then
39199   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39200 set dummy ${ac_tool_prefix}windres; ac_word=$2
39201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39202 $as_echo_n "checking for $ac_word... " >&6; }
39203 if ${ac_cv_prog_WINDRES+:} false; then :
39204   $as_echo_n "(cached) " >&6
39205 else
39206   if test -n "$WINDRES"; then
39207   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
39208 else
39209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39210 for as_dir in $PATH
39211 do
39212   IFS=$as_save_IFS
39213   test -z "$as_dir" && as_dir=.
39214     for ac_exec_ext in '' $ac_executable_extensions; do
39215   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39216     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
39217     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39218     break 2
39219   fi
39220 done
39221   done
39222 IFS=$as_save_IFS
39223
39224 fi
39225 fi
39226 WINDRES=$ac_cv_prog_WINDRES
39227 if test -n "$WINDRES"; then
39228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39229 $as_echo "$WINDRES" >&6; }
39230 else
39231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39232 $as_echo "no" >&6; }
39233 fi
39234
39235
39236 fi
39237 if test -z "$ac_cv_prog_WINDRES"; then
39238   ac_ct_WINDRES=$WINDRES
39239   # Extract the first word of "windres", so it can be a program name with args.
39240 set dummy windres; ac_word=$2
39241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39242 $as_echo_n "checking for $ac_word... " >&6; }
39243 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
39244   $as_echo_n "(cached) " >&6
39245 else
39246   if test -n "$ac_ct_WINDRES"; then
39247   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
39248 else
39249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39250 for as_dir in $PATH
39251 do
39252   IFS=$as_save_IFS
39253   test -z "$as_dir" && as_dir=.
39254     for ac_exec_ext in '' $ac_executable_extensions; do
39255   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39256     ac_cv_prog_ac_ct_WINDRES="windres"
39257     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39258     break 2
39259   fi
39260 done
39261   done
39262 IFS=$as_save_IFS
39263
39264 fi
39265 fi
39266 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
39267 if test -n "$ac_ct_WINDRES"; then
39268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39269 $as_echo "$ac_ct_WINDRES" >&6; }
39270 else
39271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39272 $as_echo "no" >&6; }
39273 fi
39274
39275   if test "x$ac_ct_WINDRES" = x; then
39276     WINDRES=""
39277   else
39278     case $cross_compiling:$ac_tool_warned in
39279 yes:)
39280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39282 ac_tool_warned=yes ;;
39283 esac
39284     WINDRES=$ac_ct_WINDRES
39285   fi
39286 else
39287   WINDRES="$ac_cv_prog_WINDRES"
39288 fi
39289
39290          ;;
39291
39292       *-*-darwin* | powerpc-apple-macos* )
39293             # Extract the first word of "Rez", so it can be a program name with args.
39294 set dummy Rez; ac_word=$2
39295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39296 $as_echo_n "checking for $ac_word... " >&6; }
39297 if ${ac_cv_prog_REZ+:} false; then :
39298   $as_echo_n "(cached) " >&6
39299 else
39300   if test -n "$REZ"; then
39301   ac_cv_prog_REZ="$REZ" # Let the user override the test.
39302 else
39303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39304 for as_dir in $PATH
39305 do
39306   IFS=$as_save_IFS
39307   test -z "$as_dir" && as_dir=.
39308     for ac_exec_ext in '' $ac_executable_extensions; do
39309   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39310     ac_cv_prog_REZ="Rez"
39311     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39312     break 2
39313   fi
39314 done
39315   done
39316 IFS=$as_save_IFS
39317
39318   test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
39319 fi
39320 fi
39321 REZ=$ac_cv_prog_REZ
39322 if test -n "$REZ"; then
39323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39324 $as_echo "$REZ" >&6; }
39325 else
39326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39327 $as_echo "no" >&6; }
39328 fi
39329
39330
39331             # Extract the first word of "SetFile", so it can be a program name with args.
39332 set dummy SetFile; ac_word=$2
39333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39334 $as_echo_n "checking for $ac_word... " >&6; }
39335 if ${ac_cv_prog_SETFILE+:} false; then :
39336   $as_echo_n "(cached) " >&6
39337 else
39338   if test -n "$SETFILE"; then
39339   ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39340 else
39341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39342 for as_dir in $PATH
39343 do
39344   IFS=$as_save_IFS
39345   test -z "$as_dir" && as_dir=.
39346     for ac_exec_ext in '' $ac_executable_extensions; do
39347   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39348     ac_cv_prog_SETFILE="SetFile"
39349     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39350     break 2
39351   fi
39352 done
39353   done
39354 IFS=$as_save_IFS
39355
39356   test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39357 fi
39358 fi
39359 SETFILE=$ac_cv_prog_SETFILE
39360 if test -n "$SETFILE"; then
39361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39362 $as_echo "$SETFILE" >&6; }
39363 else
39364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39365 $as_echo "no" >&6; }
39366 fi
39367
39368
39369         ;;
39370     esac
39371
39372
39373
39374
39375
39376
39377
39378
39379
39380     BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
39381
39382
39383 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
39384
39385
39386
39387     # Check whether --enable-precomp-headers was given.
39388 if test "${enable_precomp_headers+set}" = set; then :
39389   enableval=$enable_precomp_headers; bk_use_pch="$enableval"
39390 fi
39391
39392
39393     GCC_PCH=0
39394     ICC_PCH=0
39395     USE_PCH=0
39396     BK_MAKE_PCH=""
39397
39398     case ${BAKEFILE_HOST} in
39399         *-*-cygwin* )
39400                                                 bk_use_pch="no"
39401             ;;
39402     esac
39403
39404     if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39405         if test "x$GCC" = "xyes"; then
39406                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39407 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39408             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39409 /* end confdefs.h.  */
39410
39411 int
39412 main ()
39413 {
39414
39415                     #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39416                         There is no PCH support
39417                     #endif
39418                     #if (__GNUC__ < 3)
39419                         There is no PCH support
39420                     #endif
39421                     #if (__GNUC__ == 3) && \
39422                        ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39423                        ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39424                        ( defined(__INTEL_COMPILER) )
39425                         There is no PCH support
39426                     #endif
39427
39428   ;
39429   return 0;
39430 }
39431 _ACEOF
39432 if ac_fn_c_try_compile "$LINENO"; then :
39433
39434                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39435 $as_echo "yes" >&6; }
39436                     GCC_PCH=1
39437
39438 else
39439
39440                     if test "$INTELCXX8" = "yes"; then
39441                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39442 $as_echo "yes" >&6; }
39443                         ICC_PCH=1
39444                         if test "$INTELCXX10" = "yes"; then
39445                             ICC_PCH_CREATE_SWITCH="-pch-create"
39446                             ICC_PCH_USE_SWITCH="-pch-use"
39447                         else
39448                             ICC_PCH_CREATE_SWITCH="-create-pch"
39449                             ICC_PCH_USE_SWITCH="-use-pch"
39450                         fi
39451                     else
39452                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39453 $as_echo "no" >&6; }
39454                     fi
39455
39456 fi
39457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39458             if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39459                 USE_PCH=1
39460
39461 D='$'
39462 cat <<EOF >bk-make-pch
39463 #!/bin/sh
39464
39465 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39466 # script. It is used to generated precompiled headers.
39467 #
39468 # Permission is given to use this file in any way.
39469
39470 outfile="${D}{1}"
39471 header="${D}{2}"
39472 shift
39473 shift
39474
39475 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
39476
39477 compiler=""
39478 headerfile=""
39479
39480 while test ${D}{#} -gt 0; do
39481     add_to_cmdline=1
39482     case "${D}{1}" in
39483         -I* )
39484             incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
39485             if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
39486                 headerfile="${D}{incdir}/${D}{header}"
39487             fi
39488         ;;
39489         -use-pch|-use_pch|-pch-use )
39490             shift
39491             add_to_cmdline=0
39492         ;;
39493     esac
39494     if test ${D}add_to_cmdline = 1 ; then
39495         compiler="${D}{compiler} ${D}{1}"
39496     fi
39497     shift
39498 done
39499
39500 if test "x${D}{headerfile}" = "x" ; then
39501     echo "error: can't find header ${D}{header} in include paths" >&2
39502 else
39503     if test -f ${D}{outfile} ; then
39504         rm -f ${D}{outfile}
39505     else
39506         mkdir -p \`dirname ${D}{outfile}\`
39507     fi
39508     depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
39509     mkdir -p ${D}{builddir}/.deps
39510     if test "x${GCC_PCH}" = "x1" ; then
39511         # can do this because gcc is >= 3.4:
39512         ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
39513     elif test "x${ICC_PCH}" = "x1" ; then
39514         filename=pch_gen-${D}${D}
39515         file=${D}{filename}.c
39516         dfile=${D}{filename}.d
39517         cat > ${D}file <<EOT
39518 #include "${D}header"
39519 EOT
39520         # using -MF icc complains about differing command lines in creation/use
39521         ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
39522           sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
39523           rm -f ${D}file ${D}dfile ${D}{filename}.o
39524     fi
39525     exit ${D}{?}
39526 fi
39527 EOF
39528
39529                 chmod +x bk-make-pch
39530                                                                 BK_MAKE_PCH="`pwd`/bk-make-pch"
39531             fi
39532         fi
39533     fi
39534
39535
39536
39537
39538
39539
39540
39541     COND_BUILD_DEBUG="#"
39542     if test "x$BUILD" = "xdebug" ; then
39543         COND_BUILD_DEBUG=""
39544     fi
39545
39546     COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
39547     if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39548         COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
39549     fi
39550
39551     COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
39552     if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39553         COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
39554     fi
39555
39556     COND_BUILD_DEBUG_UNICODE_0="#"
39557     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39558         COND_BUILD_DEBUG_UNICODE_0=""
39559     fi
39560
39561     COND_BUILD_DEBUG_UNICODE_1="#"
39562     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39563         COND_BUILD_DEBUG_UNICODE_1=""
39564     fi
39565
39566     COND_BUILD_RELEASE="#"
39567     if test "x$BUILD" = "xrelease" ; then
39568         COND_BUILD_RELEASE=""
39569     fi
39570
39571     COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
39572     if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39573         COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
39574     fi
39575
39576     COND_BUILD_RELEASE_UNICODE_0="#"
39577     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39578         COND_BUILD_RELEASE_UNICODE_0=""
39579     fi
39580
39581     COND_BUILD_RELEASE_UNICODE_1="#"
39582     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39583         COND_BUILD_RELEASE_UNICODE_1=""
39584     fi
39585
39586     COND_BUILD_debug="#"
39587     if test "x$BUILD" = "xdebug" ; then
39588         COND_BUILD_debug=""
39589     fi
39590
39591     COND_BUILD_debug_DEBUG_FLAG_default="#"
39592     if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39593         COND_BUILD_debug_DEBUG_FLAG_default=""
39594     fi
39595
39596     COND_BUILD_debug_DEBUG_INFO_default="#"
39597     if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39598         COND_BUILD_debug_DEBUG_INFO_default=""
39599     fi
39600
39601     COND_BUILD_debug_UNICODE_0="#"
39602     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39603         COND_BUILD_debug_UNICODE_0=""
39604     fi
39605
39606     COND_BUILD_debug_UNICODE_1="#"
39607     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39608         COND_BUILD_debug_UNICODE_1=""
39609     fi
39610
39611     COND_BUILD_release="#"
39612     if test "x$BUILD" = "xrelease" ; then
39613         COND_BUILD_release=""
39614     fi
39615
39616     COND_BUILD_release_DEBUG_INFO_default="#"
39617     if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39618         COND_BUILD_release_DEBUG_INFO_default=""
39619     fi
39620
39621     COND_BUILD_release_UNICODE_0="#"
39622     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39623         COND_BUILD_release_UNICODE_0=""
39624     fi
39625
39626     COND_BUILD_release_UNICODE_1="#"
39627     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39628         COND_BUILD_release_UNICODE_1=""
39629     fi
39630
39631     COND_DEBUG_FLAG_0="#"
39632     if test "x$DEBUG_FLAG" = "x0" ; then
39633         COND_DEBUG_FLAG_0=""
39634     fi
39635
39636     COND_DEBUG_FLAG_1="#"
39637     if test "x$DEBUG_FLAG" = "x1" ; then
39638         COND_DEBUG_FLAG_1=""
39639     fi
39640
39641     COND_DEBUG_INFO_0="#"
39642     if test "x$DEBUG_INFO" = "x0" ; then
39643         COND_DEBUG_INFO_0=""
39644     fi
39645
39646     COND_DEBUG_INFO_1="#"
39647     if test "x$DEBUG_INFO" = "x1" ; then
39648         COND_DEBUG_INFO_1=""
39649     fi
39650
39651     COND_DEPS_TRACKING_0="#"
39652     if test "x$DEPS_TRACKING" = "x0" ; then
39653         COND_DEPS_TRACKING_0=""
39654     fi
39655
39656     COND_DEPS_TRACKING_1="#"
39657     if test "x$DEPS_TRACKING" = "x1" ; then
39658         COND_DEPS_TRACKING_1=""
39659     fi
39660
39661     COND_GCC_PCH_1="#"
39662     if test "x$GCC_PCH" = "x1" ; then
39663         COND_GCC_PCH_1=""
39664     fi
39665
39666     COND_ICC_PCH_1="#"
39667     if test "x$ICC_PCH" = "x1" ; then
39668         COND_ICC_PCH_1=""
39669     fi
39670
39671     COND_MONOLITHIC_0="#"
39672     if test "x$MONOLITHIC" = "x0" ; then
39673         COND_MONOLITHIC_0=""
39674     fi
39675
39676     COND_MONOLITHIC_0_SHARED_0="#"
39677     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39678         COND_MONOLITHIC_0_SHARED_0=""
39679     fi
39680
39681     COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
39682     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
39683         COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
39684     fi
39685
39686     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
39687     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39688         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
39689     fi
39690
39691     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
39692     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39693         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
39694     fi
39695
39696     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
39697     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39698         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
39699     fi
39700
39701     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
39702     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39703         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
39704     fi
39705
39706     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
39707     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39708         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
39709     fi
39710
39711     COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
39712     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39713         COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
39714     fi
39715
39716     COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
39717     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39718         COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
39719     fi
39720
39721     COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
39722     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39723         COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
39724     fi
39725
39726     COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
39727     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
39728         COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
39729     fi
39730
39731     COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
39732     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
39733         COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
39734     fi
39735
39736     COND_MONOLITHIC_0_SHARED_1="#"
39737     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39738         COND_MONOLITHIC_0_SHARED_1=""
39739     fi
39740
39741     COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
39742     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
39743         COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
39744     fi
39745
39746     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
39747     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39748         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
39749     fi
39750
39751     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
39752     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39753         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
39754     fi
39755
39756     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
39757     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39758         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
39759     fi
39760
39761     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
39762     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39763         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
39764     fi
39765
39766     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
39767     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39768         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
39769     fi
39770
39771     COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
39772     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
39773         COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
39774     fi
39775
39776     COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
39777     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
39778         COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
39779     fi
39780
39781     COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
39782     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
39783         COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
39784     fi
39785
39786     COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
39787     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
39788         COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
39789     fi
39790
39791     COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
39792     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
39793         COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
39794     fi
39795
39796     COND_MONOLITHIC_0_USE_AUI_1="#"
39797     if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
39798         COND_MONOLITHIC_0_USE_AUI_1=""
39799     fi
39800
39801     COND_MONOLITHIC_0_USE_GUI_1="#"
39802     if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
39803         COND_MONOLITHIC_0_USE_GUI_1=""
39804     fi
39805
39806     COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
39807     if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39808         COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
39809     fi
39810
39811     COND_MONOLITHIC_0_USE_HTML_1="#"
39812     if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
39813         COND_MONOLITHIC_0_USE_HTML_1=""
39814     fi
39815
39816     COND_MONOLITHIC_0_USE_MEDIA_1="#"
39817     if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
39818         COND_MONOLITHIC_0_USE_MEDIA_1=""
39819     fi
39820
39821     COND_MONOLITHIC_0_USE_PROPGRID_1="#"
39822     if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39823         COND_MONOLITHIC_0_USE_PROPGRID_1=""
39824     fi
39825
39826     COND_MONOLITHIC_0_USE_QA_1="#"
39827     if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
39828         COND_MONOLITHIC_0_USE_QA_1=""
39829     fi
39830
39831     COND_MONOLITHIC_0_USE_RIBBON_1="#"
39832     if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39833         COND_MONOLITHIC_0_USE_RIBBON_1=""
39834     fi
39835
39836     COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
39837     if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39838         COND_MONOLITHIC_0_USE_RICHTEXT_1=""
39839     fi
39840
39841     COND_MONOLITHIC_0_USE_STC_1="#"
39842     if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
39843         COND_MONOLITHIC_0_USE_STC_1=""
39844     fi
39845
39846     COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
39847     if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
39848         COND_MONOLITHIC_0_USE_WEBVIEW_1=""
39849     fi
39850
39851     COND_MONOLITHIC_0_USE_XRC_1="#"
39852     if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
39853         COND_MONOLITHIC_0_USE_XRC_1=""
39854     fi
39855
39856     COND_MONOLITHIC_1="#"
39857     if test "x$MONOLITHIC" = "x1" ; then
39858         COND_MONOLITHIC_1=""
39859     fi
39860
39861     COND_MONOLITHIC_1_SHARED_0="#"
39862     if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39863         COND_MONOLITHIC_1_SHARED_0=""
39864     fi
39865
39866     COND_MONOLITHIC_1_SHARED_1="#"
39867     if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39868         COND_MONOLITHIC_1_SHARED_1=""
39869     fi
39870
39871     COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
39872     if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39873         COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
39874     fi
39875
39876     COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
39877     if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39878         COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
39879     fi
39880
39881     COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
39882     if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39883         COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
39884     fi
39885
39886     COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
39887     if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39888         COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
39889     fi
39890
39891     COND_PLATFORM_MACOSX_1="#"
39892     if test "x$PLATFORM_MACOSX" = "x1" ; then
39893         COND_PLATFORM_MACOSX_1=""
39894     fi
39895
39896     COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
39897     if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
39898         COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
39899     fi
39900
39901     COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
39902     if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
39903         COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
39904     fi
39905
39906     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
39907     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
39908         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
39909     fi
39910
39911     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
39912     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39913         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
39914     fi
39915
39916     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
39917     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
39918         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
39919     fi
39920
39921     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
39922     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39923         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
39924     fi
39925
39926     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
39927     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
39928         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
39929     fi
39930
39931     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
39932     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39933         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
39934     fi
39935
39936     COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
39937     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39938         COND_PLATFORM_MACOSX_1_USE_GUI_1=""
39939     fi
39940
39941     COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
39942     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39943         COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
39944     fi
39945
39946     COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
39947     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39948         COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
39949     fi
39950
39951     COND_PLATFORM_MACOS_1="#"
39952     if test "x$PLATFORM_MACOS" = "x1" ; then
39953         COND_PLATFORM_MACOS_1=""
39954     fi
39955
39956     COND_PLATFORM_MAC_0="#"
39957     if test "x$PLATFORM_MAC" = "x0" ; then
39958         COND_PLATFORM_MAC_0=""
39959     fi
39960
39961     COND_PLATFORM_MAC_1="#"
39962     if test "x$PLATFORM_MAC" = "x1" ; then
39963         COND_PLATFORM_MAC_1=""
39964     fi
39965
39966     COND_PLATFORM_MSDOS_0="#"
39967     if test "x$PLATFORM_MSDOS" = "x0" ; then
39968         COND_PLATFORM_MSDOS_0=""
39969     fi
39970
39971     COND_PLATFORM_MSDOS_1="#"
39972     if test "x$PLATFORM_MSDOS" = "x1" ; then
39973         COND_PLATFORM_MSDOS_1=""
39974     fi
39975
39976     COND_PLATFORM_OS2_1="#"
39977     if test "x$PLATFORM_OS2" = "x1" ; then
39978         COND_PLATFORM_OS2_1=""
39979     fi
39980
39981     COND_PLATFORM_UNIX_0="#"
39982     if test "x$PLATFORM_UNIX" = "x0" ; then
39983         COND_PLATFORM_UNIX_0=""
39984     fi
39985
39986     COND_PLATFORM_UNIX_1="#"
39987     if test "x$PLATFORM_UNIX" = "x1" ; then
39988         COND_PLATFORM_UNIX_1=""
39989     fi
39990
39991     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
39992     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
39993         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
39994     fi
39995
39996     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
39997     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
39998         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
39999     fi
40000
40001     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40002     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40003         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40004     fi
40005
40006     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40007     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40008         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40009     fi
40010
40011     COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40012     if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40013         COND_PLATFORM_UNIX_1_USE_GUI_1=""
40014     fi
40015
40016     COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40017     if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40018         COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40019     fi
40020
40021     COND_PLATFORM_WIN32_0="#"
40022     if test "x$PLATFORM_WIN32" = "x0" ; then
40023         COND_PLATFORM_WIN32_0=""
40024     fi
40025
40026     COND_PLATFORM_WIN32_1="#"
40027     if test "x$PLATFORM_WIN32" = "x1" ; then
40028         COND_PLATFORM_WIN32_1=""
40029     fi
40030
40031     COND_PLATFORM_WIN32_1_SHARED_0="#"
40032     if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40033         COND_PLATFORM_WIN32_1_SHARED_0=""
40034     fi
40035
40036     COND_SHARED_0="#"
40037     if test "x$SHARED" = "x0" ; then
40038         COND_SHARED_0=""
40039     fi
40040
40041     COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40042     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40043         COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40044     fi
40045
40046     COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40047     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40048         COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40049     fi
40050
40051     COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40052     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40053         COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40054     fi
40055
40056     COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40057     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40058         COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40059     fi
40060
40061     COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40062     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40063         COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40064     fi
40065
40066     COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40067     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40068         COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40069     fi
40070
40071     COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40072     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40073         COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40074     fi
40075
40076     COND_SHARED_0_USE_STC_1="#"
40077     if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40078         COND_SHARED_0_USE_STC_1=""
40079     fi
40080
40081     COND_SHARED_0_wxUSE_EXPAT_builtin="#"
40082     if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40083         COND_SHARED_0_wxUSE_EXPAT_builtin=""
40084     fi
40085
40086     COND_SHARED_0_wxUSE_REGEX_builtin="#"
40087     if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40088         COND_SHARED_0_wxUSE_REGEX_builtin=""
40089     fi
40090
40091     COND_SHARED_0_wxUSE_ZLIB_builtin="#"
40092     if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40093         COND_SHARED_0_wxUSE_ZLIB_builtin=""
40094     fi
40095
40096     COND_SHARED_1="#"
40097     if test "x$SHARED" = "x1" ; then
40098         COND_SHARED_1=""
40099     fi
40100
40101     COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40102     if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40103         COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40104     fi
40105
40106     COND_TOOLKIT_="#"
40107     if test "x$TOOLKIT" = "x" ; then
40108         COND_TOOLKIT_=""
40109     fi
40110
40111     COND_TOOLKIT_COCOA="#"
40112     if test "x$TOOLKIT" = "xCOCOA" ; then
40113         COND_TOOLKIT_COCOA=""
40114     fi
40115
40116     COND_TOOLKIT_COCOA_USE_GUI_1="#"
40117     if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40118         COND_TOOLKIT_COCOA_USE_GUI_1=""
40119     fi
40120
40121     COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40122     if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40123         COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40124     fi
40125
40126     COND_TOOLKIT_DFB="#"
40127     if test "x$TOOLKIT" = "xDFB" ; then
40128         COND_TOOLKIT_DFB=""
40129     fi
40130
40131     COND_TOOLKIT_DFB_USE_GUI_1="#"
40132     if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40133         COND_TOOLKIT_DFB_USE_GUI_1=""
40134     fi
40135
40136     COND_TOOLKIT_GTK="#"
40137     if test "x$TOOLKIT" = "xGTK" ; then
40138         COND_TOOLKIT_GTK=""
40139     fi
40140
40141     COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
40142     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40143         COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
40144     fi
40145
40146     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40147     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40148         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40149     fi
40150
40151     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40152     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40153         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40154     fi
40155
40156     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
40157     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40158         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
40159     fi
40160
40161     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
40162     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40163         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
40164     fi
40165
40166     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40167     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40168         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40169     fi
40170
40171     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40172     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40173         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40174     fi
40175
40176     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0="#"
40177     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40178         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0=""
40179     fi
40180
40181     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0="#"
40182     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40183         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0=""
40184     fi
40185
40186     COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
40187     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40188         COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
40189     fi
40190
40191     COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
40192     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40193         COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
40194     fi
40195
40196     COND_TOOLKIT_GTK_USE_GUI_1="#"
40197     if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40198         COND_TOOLKIT_GTK_USE_GUI_1=""
40199     fi
40200
40201     COND_TOOLKIT_MAC="#"
40202     if test "x$TOOLKIT" = "xMAC" ; then
40203         COND_TOOLKIT_MAC=""
40204     fi
40205
40206     COND_TOOLKIT_MOTIF="#"
40207     if test "x$TOOLKIT" = "xMOTIF" ; then
40208         COND_TOOLKIT_MOTIF=""
40209     fi
40210
40211     COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40212     if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40213         COND_TOOLKIT_MOTIF_USE_GUI_1=""
40214     fi
40215
40216     COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40217     if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40218         COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40219     fi
40220
40221     COND_TOOLKIT_MSW="#"
40222     if test "x$TOOLKIT" = "xMSW" ; then
40223         COND_TOOLKIT_MSW=""
40224     fi
40225
40226     COND_TOOLKIT_MSW_USE_GUI_1="#"
40227     if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40228         COND_TOOLKIT_MSW_USE_GUI_1=""
40229     fi
40230
40231     COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40232     if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40233         COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40234     fi
40235
40236     COND_TOOLKIT_MSW_WXUNIV_0="#"
40237     if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40238         COND_TOOLKIT_MSW_WXUNIV_0=""
40239     fi
40240
40241     COND_TOOLKIT_OSX_CARBON="#"
40242     if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40243         COND_TOOLKIT_OSX_CARBON=""
40244     fi
40245
40246     COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40247     if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40248         COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40249     fi
40250
40251     COND_TOOLKIT_OSX_COCOA="#"
40252     if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40253         COND_TOOLKIT_OSX_COCOA=""
40254     fi
40255
40256     COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40257     if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40258         COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40259     fi
40260
40261     COND_TOOLKIT_OSX_IPHONE="#"
40262     if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40263         COND_TOOLKIT_OSX_IPHONE=""
40264     fi
40265
40266     COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40267     if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40268         COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40269     fi
40270
40271     COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40272     if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40273         COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40274     fi
40275
40276     COND_TOOLKIT_PM="#"
40277     if test "x$TOOLKIT" = "xPM" ; then
40278         COND_TOOLKIT_PM=""
40279     fi
40280
40281     COND_TOOLKIT_PM_USE_GUI_1="#"
40282     if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40283         COND_TOOLKIT_PM_USE_GUI_1=""
40284     fi
40285
40286     COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40287     if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40288         COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40289     fi
40290
40291     COND_TOOLKIT_WINCE="#"
40292     if test "x$TOOLKIT" = "xWINCE" ; then
40293         COND_TOOLKIT_WINCE=""
40294     fi
40295
40296     COND_TOOLKIT_WINCE_USE_GUI_1="#"
40297     if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40298         COND_TOOLKIT_WINCE_USE_GUI_1=""
40299     fi
40300
40301     COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40302     if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40303         COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40304     fi
40305
40306     COND_TOOLKIT_WINCE_WXUNIV_0="#"
40307     if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40308         COND_TOOLKIT_WINCE_WXUNIV_0=""
40309     fi
40310
40311     COND_TOOLKIT_X11="#"
40312     if test "x$TOOLKIT" = "xX11" ; then
40313         COND_TOOLKIT_X11=""
40314     fi
40315
40316     COND_TOOLKIT_X11_USE_GUI_1="#"
40317     if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40318         COND_TOOLKIT_X11_USE_GUI_1=""
40319     fi
40320
40321     COND_UNICODE_1="#"
40322     if test "x$UNICODE" = "x1" ; then
40323         COND_UNICODE_1=""
40324     fi
40325
40326     COND_USE_CAIRO_1="#"
40327     if test "x$USE_CAIRO" = "x1" ; then
40328         COND_USE_CAIRO_1=""
40329     fi
40330
40331     COND_USE_EXCEPTIONS_0="#"
40332     if test "x$USE_EXCEPTIONS" = "x0" ; then
40333         COND_USE_EXCEPTIONS_0=""
40334     fi
40335
40336     COND_USE_EXCEPTIONS_1="#"
40337     if test "x$USE_EXCEPTIONS" = "x1" ; then
40338         COND_USE_EXCEPTIONS_1=""
40339     fi
40340
40341     COND_USE_GUI_0="#"
40342     if test "x$USE_GUI" = "x0" ; then
40343         COND_USE_GUI_0=""
40344     fi
40345
40346     COND_USE_GUI_1="#"
40347     if test "x$USE_GUI" = "x1" ; then
40348         COND_USE_GUI_1=""
40349     fi
40350
40351     COND_USE_GUI_1_USE_OPENGL_1="#"
40352     if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40353         COND_USE_GUI_1_USE_OPENGL_1=""
40354     fi
40355
40356     COND_USE_GUI_1_WXUNIV_0="#"
40357     if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40358         COND_USE_GUI_1_WXUNIV_0=""
40359     fi
40360
40361     COND_USE_GUI_1_WXUNIV_1="#"
40362     if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40363         COND_USE_GUI_1_WXUNIV_1=""
40364     fi
40365
40366     COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40367     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40368         COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40369     fi
40370
40371     COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40372     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40373         COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40374     fi
40375
40376     COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40377     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40378         COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40379     fi
40380
40381     COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40382     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40383         COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40384     fi
40385
40386     COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40387     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40388         COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40389     fi
40390
40391     COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40392     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40393         COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40394     fi
40395
40396     COND_USE_OPENGL_1="#"
40397     if test "x$USE_OPENGL" = "x1" ; then
40398         COND_USE_OPENGL_1=""
40399     fi
40400
40401     COND_USE_PCH_1="#"
40402     if test "x$USE_PCH" = "x1" ; then
40403         COND_USE_PCH_1=""
40404     fi
40405
40406     COND_USE_PLUGINS_0="#"
40407     if test "x$USE_PLUGINS" = "x0" ; then
40408         COND_USE_PLUGINS_0=""
40409     fi
40410
40411     COND_USE_RTTI_0="#"
40412     if test "x$USE_RTTI" = "x0" ; then
40413         COND_USE_RTTI_0=""
40414     fi
40415
40416     COND_USE_RTTI_1="#"
40417     if test "x$USE_RTTI" = "x1" ; then
40418         COND_USE_RTTI_1=""
40419     fi
40420
40421     COND_USE_SOTWOSYMLINKS_1="#"
40422     if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40423         COND_USE_SOTWOSYMLINKS_1=""
40424     fi
40425
40426     COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
40427     if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40428         COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
40429     fi
40430
40431     COND_USE_SOVERLINUX_1="#"
40432     if test "x$USE_SOVERLINUX" = "x1" ; then
40433         COND_USE_SOVERLINUX_1=""
40434     fi
40435
40436     COND_USE_SOVERSION_0="#"
40437     if test "x$USE_SOVERSION" = "x0" ; then
40438         COND_USE_SOVERSION_0=""
40439     fi
40440
40441     COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
40442     if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40443         COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
40444     fi
40445
40446     COND_USE_SOVERSOLARIS_1="#"
40447     if test "x$USE_SOVERSOLARIS" = "x1" ; then
40448         COND_USE_SOVERSOLARIS_1=""
40449     fi
40450
40451     COND_USE_STC_1="#"
40452     if test "x$USE_STC" = "x1" ; then
40453         COND_USE_STC_1=""
40454     fi
40455
40456     COND_USE_THREADS_0="#"
40457     if test "x$USE_THREADS" = "x0" ; then
40458         COND_USE_THREADS_0=""
40459     fi
40460
40461     COND_USE_THREADS_1="#"
40462     if test "x$USE_THREADS" = "x1" ; then
40463         COND_USE_THREADS_1=""
40464     fi
40465
40466     COND_USE_XRC_1="#"
40467     if test "x$USE_XRC" = "x1" ; then
40468         COND_USE_XRC_1=""
40469     fi
40470
40471     COND_WINDOWS_IMPLIB_1="#"
40472     if test "x$WINDOWS_IMPLIB" = "x1" ; then
40473         COND_WINDOWS_IMPLIB_1=""
40474     fi
40475
40476     COND_WITH_PLUGIN_SDL_1="#"
40477     if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40478         COND_WITH_PLUGIN_SDL_1=""
40479     fi
40480
40481     COND_WXUNIV_0="#"
40482     if test "x$WXUNIV" = "x0" ; then
40483         COND_WXUNIV_0=""
40484     fi
40485
40486     COND_WXUNIV_1="#"
40487     if test "x$WXUNIV" = "x1" ; then
40488         COND_WXUNIV_1=""
40489     fi
40490
40491     COND_WXUSE_EXPAT_BUILTIN="#"
40492     if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40493         COND_WXUSE_EXPAT_BUILTIN=""
40494     fi
40495
40496     COND_WXUSE_LIBJPEG_BUILTIN="#"
40497     if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40498         COND_WXUSE_LIBJPEG_BUILTIN=""
40499     fi
40500
40501     COND_WXUSE_LIBPNG_BUILTIN="#"
40502     if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40503         COND_WXUSE_LIBPNG_BUILTIN=""
40504     fi
40505
40506     COND_WXUSE_LIBTIFF_BUILTIN="#"
40507     if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40508         COND_WXUSE_LIBTIFF_BUILTIN=""
40509     fi
40510
40511     COND_WXUSE_REGEX_BUILTIN="#"
40512     if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40513         COND_WXUSE_REGEX_BUILTIN=""
40514     fi
40515
40516     COND_WXUSE_ZLIB_BUILTIN="#"
40517     if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40518         COND_WXUSE_ZLIB_BUILTIN=""
40519     fi
40520
40521     COND_wxUSE_EXPAT_builtin="#"
40522     if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40523         COND_wxUSE_EXPAT_builtin=""
40524     fi
40525
40526     COND_wxUSE_LIBJPEG_builtin="#"
40527     if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40528         COND_wxUSE_LIBJPEG_builtin=""
40529     fi
40530
40531     COND_wxUSE_LIBPNG_builtin="#"
40532     if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40533         COND_wxUSE_LIBPNG_builtin=""
40534     fi
40535
40536     COND_wxUSE_LIBTIFF_builtin="#"
40537     if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40538         COND_wxUSE_LIBTIFF_builtin=""
40539     fi
40540
40541     COND_wxUSE_REGEX_builtin="#"
40542     if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40543         COND_wxUSE_REGEX_builtin=""
40544     fi
40545
40546     COND_wxUSE_ZLIB_builtin="#"
40547     if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40548         COND_wxUSE_ZLIB_builtin=""
40549     fi
40550
40551
40552
40553     if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
40554         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
40555     fi
40556
40557     if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40558         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
40559     fi
40560
40561
40562 case ${INSTALL} in
40563   /* ) # Absolute
40564      ;;
40565   ?:* ) # Drive letter, considered as absolute.
40566      ;;
40567   *)
40568      INSTALL=`pwd`/${INSTALL} ;;
40569 esac
40570
40571 if test "$wxUSE_GUI" = "yes"; then
40572
40573 if test "$wxUSE_MSW" = 1 ; then
40574     if test "x$WINDRES" = "x"; then
40575         as_fn_error $? "Required windres program not found" "$LINENO" 5
40576     fi
40577
40578     RESCOMP="$WINDRES"
40579 fi
40580
40581 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
40582             WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
40583     WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
40584
40585         LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
40586
40587     # Extract the first word of "DeRez", so it can be a program name with args.
40588 set dummy DeRez; ac_word=$2
40589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40590 $as_echo_n "checking for $ac_word... " >&6; }
40591 if ${ac_cv_prog_DEREZ+:} false; then :
40592   $as_echo_n "(cached) " >&6
40593 else
40594   if test -n "$DEREZ"; then
40595   ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
40596 else
40597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40598 for as_dir in $PATH
40599 do
40600   IFS=$as_save_IFS
40601   test -z "$as_dir" && as_dir=.
40602     for ac_exec_ext in '' $ac_executable_extensions; do
40603   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40604     ac_cv_prog_DEREZ="DeRez"
40605     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40606     break 2
40607   fi
40608 done
40609   done
40610 IFS=$as_save_IFS
40611
40612   test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
40613 fi
40614 fi
40615 DEREZ=$ac_cv_prog_DEREZ
40616 if test -n "$DEREZ"; then
40617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
40618 $as_echo "$DEREZ" >&6; }
40619 else
40620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40621 $as_echo "no" >&6; }
40622 fi
40623
40624
40625
40626     MACSETFILE="\$(SETFILE)"
40627
40628             if test "$wxUSE_OSX_CARBON" = 1; then
40629         POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
40630         RESCOMP="$REZ"
40631         WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
40632     else
40633         POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
40634         RESCOMP="cat /dev/null \| $REZ"
40635         WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
40636     fi
40637
40638 else
40639         MACSETFILE="@true"
40640
40641     if test "$wxUSE_PM" = 1; then
40642         RESCOMP="emxbind"
40643         WXCONFIG_RESFLAGS="-ep"
40644
40645                 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
40646     else
40647         POSTLINK_COMMAND="@true"
40648     fi
40649 fi
40650
40651 fi
40652
40653
40654 if test $GCC_PCH = 1
40655 then
40656     if test "$wx_cv_gcc_pch_bug" = yes; then
40657         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
40658 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
40659         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
40660 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
40661         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
40662 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
40663     fi
40664
40665     # Our WX_PRECOMP flag does not make sense for any language except C++ because
40666     # the headers that benefit from precompilation are mostly C++ headers.
40667     CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
40668     # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
40669     #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
40670 fi
40671
40672
40673 if test "$wxUSE_MAC" = 1 ; then
40674     if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
40675         if test "x$disable_macosx_deps" = "xyes"; then
40676             sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
40677             mv temp bk-deps
40678             chmod +x bk-deps
40679         fi
40680     fi
40681 fi
40682
40683 if test "$wxUSE_SHARED" = "yes"; then
40684                 case "${host}" in
40685       *-pc-os2_emx | *-pc-os2-emx )
40686         SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40687         SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40688         cp -p ${srcdir}/src/os2/dllnames.sh .
40689         cp -p ${srcdir}/src/os2/dllar.sh .
40690       ;;
40691     esac
40692 fi
40693 if test "$wxUSE_OMF" = "yes"; then
40694     case "${host}" in
40695       *-pc-os2_emx | *-pc-os2-emx )
40696         LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
40697         LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
40698         WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
40699       ;;
40700     esac
40701 fi
40702
40703 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
40704
40705
40706 case "${host}" in
40707     *-*-solaris2* )
40708                         if test "$GCC" = yes; then
40709             CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
40710             LIBS=`echo $LIBS | sed 's/-mt//g'`
40711             EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
40712         fi
40713         ;;
40714
40715     *-*-linux* )
40716                         if test "x$SUNCXX" = xyes; then
40717             CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
40718             LIBS=`echo $LIBS | sed 's/-pthread//g'`
40719             EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
40720         fi
40721         ;;
40722 esac
40723
40724 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
40725 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
40726 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
40727 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
40728
40729 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
40730
40731
40732
40733
40734
40735
40736
40737
40738
40739
40740
40741
40742
40743
40744
40745
40746
40747
40748
40749
40750
40751
40752
40753
40754
40755
40756
40757
40758
40759
40760
40761
40762
40763
40764
40765
40766
40767
40768
40769
40770
40771
40772
40773
40774
40775
40776
40777
40778
40779
40780
40781
40782
40783
40784
40785
40786
40787
40788
40789
40790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40791 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
40792 set x ${MAKE-make}
40793 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
40794 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
40795   $as_echo_n "(cached) " >&6
40796 else
40797   cat >conftest.make <<\_ACEOF
40798 SHELL = /bin/sh
40799 all:
40800         @echo '@@@%%%=$(MAKE)=@@@%%%'
40801 _ACEOF
40802 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
40803 case `${MAKE-make} -f conftest.make 2>/dev/null` in
40804   *@@@%%%=?*=@@@%%%*)
40805     eval ac_cv_prog_make_${ac_make}_set=yes;;
40806   *)
40807     eval ac_cv_prog_make_${ac_make}_set=no;;
40808 esac
40809 rm -f conftest.make
40810 fi
40811 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
40812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40813 $as_echo "yes" >&6; }
40814   SET_MAKE=
40815 else
40816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40817 $as_echo "no" >&6; }
40818   SET_MAKE="MAKE=${MAKE-make}"
40819 fi
40820
40821
40822
40823 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
40824
40825
40826 if test "$USE_WIN32" = 1; then
40827     ac_config_commands="$ac_config_commands rcdefs.h"
40828
40829 fi
40830
40831 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
40832
40833
40834 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
40835
40836
40837 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
40838
40839
40840 if test "$wx_cv_version_script" = "yes"; then
40841     ac_config_files="$ac_config_files version-script"
40842
40843 fi
40844 ac_config_files="$ac_config_files Makefile"
40845
40846
40847 ac_config_commands="$ac_config_commands wx-config"
40848
40849
40850
40851 if test "$wxWITH_SUBDIRS" != "no"; then
40852 if test "$wxUSE_GUI" = "yes"; then
40853     SUBDIRS="samples demos utils"
40854 else
40855             SUBDIRS="samples utils"
40856 fi
40857
40858
40859
40860 # Check whether --with-cppunit-prefix was given.
40861 if test "${with_cppunit_prefix+set}" = set; then :
40862   withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
40863 else
40864   cppunit_config_prefix=""
40865 fi
40866
40867
40868 # Check whether --with-cppunit-exec-prefix was given.
40869 if test "${with_cppunit_exec_prefix+set}" = set; then :
40870   withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
40871 else
40872   cppunit_config_exec_prefix=""
40873 fi
40874
40875
40876   if test x$cppunit_config_exec_prefix != x ; then
40877      cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
40878      if test x${CPPUNIT_CONFIG+set} != xset ; then
40879         CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
40880      fi
40881   fi
40882   if test x$cppunit_config_prefix != x ; then
40883      cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
40884      if test x${CPPUNIT_CONFIG+set} != xset ; then
40885         CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
40886      fi
40887   fi
40888
40889   # Extract the first word of "cppunit-config", so it can be a program name with args.
40890 set dummy cppunit-config; ac_word=$2
40891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40892 $as_echo_n "checking for $ac_word... " >&6; }
40893 if ${ac_cv_path_CPPUNIT_CONFIG+:} false; then :
40894   $as_echo_n "(cached) " >&6
40895 else
40896   case $CPPUNIT_CONFIG in
40897   [\\/]* | ?:[\\/]*)
40898   ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
40899   ;;
40900   *)
40901   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40902 for as_dir in $PATH
40903 do
40904   IFS=$as_save_IFS
40905   test -z "$as_dir" && as_dir=.
40906     for ac_exec_ext in '' $ac_executable_extensions; do
40907   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40908     ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40909     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40910     break 2
40911   fi
40912 done
40913   done
40914 IFS=$as_save_IFS
40915
40916   test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
40917   ;;
40918 esac
40919 fi
40920 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
40921 if test -n "$CPPUNIT_CONFIG"; then
40922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
40923 $as_echo "$CPPUNIT_CONFIG" >&6; }
40924 else
40925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40926 $as_echo "no" >&6; }
40927 fi
40928
40929
40930   cppunit_version_min=1.8.0
40931
40932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
40933 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
40934   no_cppunit=""
40935   if test "$CPPUNIT_CONFIG" = "no" ; then
40936     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40937 $as_echo "no" >&6; }
40938     no_cppunit=yes
40939   else
40940     CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
40941     CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
40942     cppunit_version=`$CPPUNIT_CONFIG --version`
40943
40944     cppunit_major_version=`echo $cppunit_version | \
40945            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40946     cppunit_minor_version=`echo $cppunit_version | \
40947            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40948     cppunit_micro_version=`echo $cppunit_version | \
40949            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40950
40951     cppunit_major_min=`echo $cppunit_version_min | \
40952            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40953     cppunit_minor_min=`echo $cppunit_version_min | \
40954            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40955     cppunit_micro_min=`echo $cppunit_version_min | \
40956            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40957
40958     cppunit_version_proper=`expr \
40959         $cppunit_major_version \> $cppunit_major_min \| \
40960         $cppunit_major_version \= $cppunit_major_min \& \
40961         $cppunit_minor_version \> $cppunit_minor_min \| \
40962         $cppunit_major_version \= $cppunit_major_min \& \
40963         $cppunit_minor_version \= $cppunit_minor_min \& \
40964         $cppunit_micro_version \>= $cppunit_micro_min `
40965
40966     if test "$cppunit_version_proper" = "1" ; then
40967       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
40968 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
40969     else
40970       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40971 $as_echo "no" >&6; }
40972       no_cppunit=yes
40973     fi
40974   fi
40975
40976   if test "x$no_cppunit" = x ; then
40977      SUBDIRS="$SUBDIRS tests"
40978   else
40979      CPPUNIT_CFLAGS=""
40980      CPPUNIT_LIBS=""
40981      :
40982   fi
40983
40984
40985
40986
40987
40988 for subdir in $SUBDIRS; do
40989     if test -d ${srcdir}/${subdir} ; then
40990         if test "$wxUSE_GUI" = "yes"; then
40991             if test ${subdir} = "samples"; then
40992                                                 makefiles="samples/Makefile.in $makefiles"
40993                 for sample in $SAMPLES_SUBDIRS; do
40994                     if test -d $srcdir/samples/$sample; then
40995                         makefiles="samples/$sample/Makefile.in $makefiles"
40996                     fi
40997                 done
40998             else
40999                                                                 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
41000                 eval "disabled=\$$disabled_var"
41001                 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
41002                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41003             fi
41004         else
41005                                     if test ${subdir} = "samples"; then
41006                                                 makefiles="samples/Makefile.in $makefiles"
41007                 for sample in `echo $SAMPLES_SUBDIRS`; do
41008                     if test -d $srcdir/samples/$sample; then
41009                         makefiles="samples/$sample/Makefile.in $makefiles"
41010                     fi
41011                 done
41012             elif test ${subdir} = "utils"; then
41013                 makefiles=""
41014                 for util in ifacecheck ; do
41015                     if test -d $srcdir/utils/$util ; then
41016                         makefiles="utils/$util/src/Makefile.in \
41017                                    $makefiles"
41018                     fi
41019                 done
41020             else
41021                                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41022             fi
41023         fi
41024
41025         for mkin in $makefiles ; do
41026             mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41027             ac_config_files="$ac_config_files $mk"
41028
41029         done
41030     fi
41031 done
41032 fi
41033 cat >confcache <<\_ACEOF
41034 # This file is a shell script that caches the results of configure
41035 # tests run on this system so they can be shared between configure
41036 # scripts and configure runs, see configure's option --config-cache.
41037 # It is not useful on other systems.  If it contains results you don't
41038 # want to keep, you may remove or edit it.
41039 #
41040 # config.status only pays attention to the cache file if you give it
41041 # the --recheck option to rerun configure.
41042 #
41043 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41044 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41045 # following values.
41046
41047 _ACEOF
41048
41049 # The following way of writing the cache mishandles newlines in values,
41050 # but we know of no workaround that is simple, portable, and efficient.
41051 # So, we kill variables containing newlines.
41052 # Ultrix sh set writes to stderr and can't be redirected directly,
41053 # and sets the high bit in the cache file unless we assign to the vars.
41054 (
41055   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41056     eval ac_val=\$$ac_var
41057     case $ac_val in #(
41058     *${as_nl}*)
41059       case $ac_var in #(
41060       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41061 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41062       esac
41063       case $ac_var in #(
41064       _ | IFS | as_nl) ;; #(
41065       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
41066       *) { eval $ac_var=; unset $ac_var;} ;;
41067       esac ;;
41068     esac
41069   done
41070
41071   (set) 2>&1 |
41072     case $as_nl`(ac_space=' '; set) 2>&1` in #(
41073     *${as_nl}ac_space=\ *)
41074       # `set' does not quote correctly, so add quotes: double-quote
41075       # substitution turns \\\\ into \\, and sed turns \\ into \.
41076       sed -n \
41077         "s/'/'\\\\''/g;
41078           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41079       ;; #(
41080     *)
41081       # `set' quotes correctly as required by POSIX, so do not add quotes.
41082       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41083       ;;
41084     esac |
41085     sort
41086 ) |
41087   sed '
41088      /^ac_cv_env_/b end
41089      t clear
41090      :clear
41091      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41092      t end
41093      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41094      :end' >>confcache
41095 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41096   if test -w "$cache_file"; then
41097     if test "x$cache_file" != "x/dev/null"; then
41098       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41099 $as_echo "$as_me: updating cache $cache_file" >&6;}
41100       if test ! -f "$cache_file" || test -h "$cache_file"; then
41101         cat confcache >"$cache_file"
41102       else
41103         case $cache_file in #(
41104         */* | ?:*)
41105           mv -f confcache "$cache_file"$$ &&
41106           mv -f "$cache_file"$$ "$cache_file" ;; #(
41107         *)
41108           mv -f confcache "$cache_file" ;;
41109         esac
41110       fi
41111     fi
41112   else
41113     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41114 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41115   fi
41116 fi
41117 rm -f confcache
41118
41119 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41120 # Let make expand exec_prefix.
41121 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41122
41123 DEFS=-DHAVE_CONFIG_H
41124
41125 ac_libobjs=
41126 ac_ltlibobjs=
41127 U=
41128 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41129   # 1. Remove the extension, and $U if already installed.
41130   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41131   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
41132   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
41133   #    will be set to the directory where LIBOBJS objects are built.
41134   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41135   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
41136 done
41137 LIBOBJS=$ac_libobjs
41138
41139 LTLIBOBJS=$ac_ltlibobjs
41140
41141
41142
41143 : "${CONFIG_STATUS=./config.status}"
41144 ac_write_fail=0
41145 ac_clean_files_save=$ac_clean_files
41146 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41147 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41148 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41149 as_write_fail=0
41150 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41151 #! $SHELL
41152 # Generated by $as_me.
41153 # Run this file to recreate the current configuration.
41154 # Compiler output produced by configure, useful for debugging
41155 # configure, is in config.log if it exists.
41156
41157 debug=false
41158 ac_cs_recheck=false
41159 ac_cs_silent=false
41160
41161 SHELL=\${CONFIG_SHELL-$SHELL}
41162 export SHELL
41163 _ASEOF
41164 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
41165 ## -------------------- ##
41166 ## M4sh Initialization. ##
41167 ## -------------------- ##
41168
41169 # Be more Bourne compatible
41170 DUALCASE=1; export DUALCASE # for MKS sh
41171 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
41172   emulate sh
41173   NULLCMD=:
41174   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41175   # is contrary to our usage.  Disable this feature.
41176   alias -g '${1+"$@"}'='"$@"'
41177   setopt NO_GLOB_SUBST
41178 else
41179   case `(set -o) 2>/dev/null` in #(
41180   *posix*) :
41181     set -o posix ;; #(
41182   *) :
41183      ;;
41184 esac
41185 fi
41186
41187
41188 as_nl='
41189 '
41190 export as_nl
41191 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41192 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41193 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41194 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41195 # Prefer a ksh shell builtin over an external printf program on Solaris,
41196 # but without wasting forks for bash or zsh.
41197 if test -z "$BASH_VERSION$ZSH_VERSION" \
41198     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41199   as_echo='print -r --'
41200   as_echo_n='print -rn --'
41201 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41202   as_echo='printf %s\n'
41203   as_echo_n='printf %s'
41204 else
41205   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41206     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
41207     as_echo_n='/usr/ucb/echo -n'
41208   else
41209     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41210     as_echo_n_body='eval
41211       arg=$1;
41212       case $arg in #(
41213       *"$as_nl"*)
41214         expr "X$arg" : "X\\(.*\\)$as_nl";
41215         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41216       esac;
41217       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41218     '
41219     export as_echo_n_body
41220     as_echo_n='sh -c $as_echo_n_body as_echo'
41221   fi
41222   export as_echo_body
41223   as_echo='sh -c $as_echo_body as_echo'
41224 fi
41225
41226 # The user is always right.
41227 if test "${PATH_SEPARATOR+set}" != set; then
41228   PATH_SEPARATOR=:
41229   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41230     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41231       PATH_SEPARATOR=';'
41232   }
41233 fi
41234
41235
41236 # IFS
41237 # We need space, tab and new line, in precisely that order.  Quoting is
41238 # there to prevent editors from complaining about space-tab.
41239 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41240 # splitting by setting IFS to empty value.)
41241 IFS=" ""        $as_nl"
41242
41243 # Find who we are.  Look in the path if we contain no directory separator.
41244 as_myself=
41245 case $0 in #((
41246   *[\\/]* ) as_myself=$0 ;;
41247   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41248 for as_dir in $PATH
41249 do
41250   IFS=$as_save_IFS
41251   test -z "$as_dir" && as_dir=.
41252     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41253   done
41254 IFS=$as_save_IFS
41255
41256      ;;
41257 esac
41258 # We did not find ourselves, most probably we were run as `sh COMMAND'
41259 # in which case we are not to be found in the path.
41260 if test "x$as_myself" = x; then
41261   as_myself=$0
41262 fi
41263 if test ! -f "$as_myself"; then
41264   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41265   exit 1
41266 fi
41267
41268 # Unset variables that we do not need and which cause bugs (e.g. in
41269 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
41270 # suppresses any "Segmentation fault" message there.  '((' could
41271 # trigger a bug in pdksh 5.2.14.
41272 for as_var in BASH_ENV ENV MAIL MAILPATH
41273 do eval test x\${$as_var+set} = xset \
41274   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
41275 done
41276 PS1='$ '
41277 PS2='> '
41278 PS4='+ '
41279
41280 # NLS nuisances.
41281 LC_ALL=C
41282 export LC_ALL
41283 LANGUAGE=C
41284 export LANGUAGE
41285
41286 # CDPATH.
41287 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
41288
41289
41290 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41291 # ----------------------------------------
41292 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41293 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41294 # script with STATUS, using 1 if that was 0.
41295 as_fn_error ()
41296 {
41297   as_status=$1; test $as_status -eq 0 && as_status=1
41298   if test "$4"; then
41299     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41300     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41301   fi
41302   $as_echo "$as_me: error: $2" >&2
41303   as_fn_exit $as_status
41304 } # as_fn_error
41305
41306
41307 # as_fn_set_status STATUS
41308 # -----------------------
41309 # Set $? to STATUS, without forking.
41310 as_fn_set_status ()
41311 {
41312   return $1
41313 } # as_fn_set_status
41314
41315 # as_fn_exit STATUS
41316 # -----------------
41317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41318 as_fn_exit ()
41319 {
41320   set +e
41321   as_fn_set_status $1
41322   exit $1
41323 } # as_fn_exit
41324
41325 # as_fn_unset VAR
41326 # ---------------
41327 # Portably unset VAR.
41328 as_fn_unset ()
41329 {
41330   { eval $1=; unset $1;}
41331 }
41332 as_unset=as_fn_unset
41333 # as_fn_append VAR VALUE
41334 # ----------------------
41335 # Append the text in VALUE to the end of the definition contained in VAR. Take
41336 # advantage of any shell optimizations that allow amortized linear growth over
41337 # repeated appends, instead of the typical quadratic growth present in naive
41338 # implementations.
41339 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
41340   eval 'as_fn_append ()
41341   {
41342     eval $1+=\$2
41343   }'
41344 else
41345   as_fn_append ()
41346   {
41347     eval $1=\$$1\$2
41348   }
41349 fi # as_fn_append
41350
41351 # as_fn_arith ARG...
41352 # ------------------
41353 # Perform arithmetic evaluation on the ARGs, and store the result in the
41354 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41355 # must be portable across $(()) and expr.
41356 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
41357   eval 'as_fn_arith ()
41358   {
41359     as_val=$(( $* ))
41360   }'
41361 else
41362   as_fn_arith ()
41363   {
41364     as_val=`expr "$@" || test $? -eq 1`
41365   }
41366 fi # as_fn_arith
41367
41368
41369 if expr a : '\(a\)' >/dev/null 2>&1 &&
41370    test "X`expr 00001 : '.*\(...\)'`" = X001; then
41371   as_expr=expr
41372 else
41373   as_expr=false
41374 fi
41375
41376 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41377   as_basename=basename
41378 else
41379   as_basename=false
41380 fi
41381
41382 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
41383   as_dirname=dirname
41384 else
41385   as_dirname=false
41386 fi
41387
41388 as_me=`$as_basename -- "$0" ||
41389 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41390          X"$0" : 'X\(//\)$' \| \
41391          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41392 $as_echo X/"$0" |
41393     sed '/^.*\/\([^/][^/]*\)\/*$/{
41394             s//\1/
41395             q
41396           }
41397           /^X\/\(\/\/\)$/{
41398             s//\1/
41399             q
41400           }
41401           /^X\/\(\/\).*/{
41402             s//\1/
41403             q
41404           }
41405           s/.*/./; q'`
41406
41407 # Avoid depending upon Character Ranges.
41408 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41409 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41410 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41411 as_cr_digits='0123456789'
41412 as_cr_alnum=$as_cr_Letters$as_cr_digits
41413
41414 ECHO_C= ECHO_N= ECHO_T=
41415 case `echo -n x` in #(((((
41416 -n*)
41417   case `echo 'xy\c'` in
41418   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
41419   xy)  ECHO_C='\c';;
41420   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
41421        ECHO_T=' ';;
41422   esac;;
41423 *)
41424   ECHO_N='-n';;
41425 esac
41426
41427 rm -f conf$$ conf$$.exe conf$$.file
41428 if test -d conf$$.dir; then
41429   rm -f conf$$.dir/conf$$.file
41430 else
41431   rm -f conf$$.dir
41432   mkdir conf$$.dir 2>/dev/null
41433 fi
41434 if (echo >conf$$.file) 2>/dev/null; then
41435   if ln -s conf$$.file conf$$ 2>/dev/null; then
41436     as_ln_s='ln -s'
41437     # ... but there are two gotchas:
41438     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41439     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41440     # In both cases, we have to default to `cp -p'.
41441     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
41442       as_ln_s='cp -p'
41443   elif ln conf$$.file conf$$ 2>/dev/null; then
41444     as_ln_s=ln
41445   else
41446     as_ln_s='cp -p'
41447   fi
41448 else
41449   as_ln_s='cp -p'
41450 fi
41451 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
41452 rmdir conf$$.dir 2>/dev/null
41453
41454
41455 # as_fn_mkdir_p
41456 # -------------
41457 # Create "$as_dir" as a directory, including parents if necessary.
41458 as_fn_mkdir_p ()
41459 {
41460
41461   case $as_dir in #(
41462   -*) as_dir=./$as_dir;;
41463   esac
41464   test -d "$as_dir" || eval $as_mkdir_p || {
41465     as_dirs=
41466     while :; do
41467       case $as_dir in #(
41468       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
41469       *) as_qdir=$as_dir;;
41470       esac
41471       as_dirs="'$as_qdir' $as_dirs"
41472       as_dir=`$as_dirname -- "$as_dir" ||
41473 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41474          X"$as_dir" : 'X\(//\)[^/]' \| \
41475          X"$as_dir" : 'X\(//\)$' \| \
41476          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41477 $as_echo X"$as_dir" |
41478     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41479             s//\1/
41480             q
41481           }
41482           /^X\(\/\/\)[^/].*/{
41483             s//\1/
41484             q
41485           }
41486           /^X\(\/\/\)$/{
41487             s//\1/
41488             q
41489           }
41490           /^X\(\/\).*/{
41491             s//\1/
41492             q
41493           }
41494           s/.*/./; q'`
41495       test -d "$as_dir" && break
41496     done
41497     test -z "$as_dirs" || eval "mkdir $as_dirs"
41498   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
41499
41500
41501 } # as_fn_mkdir_p
41502 if mkdir -p . 2>/dev/null; then
41503   as_mkdir_p='mkdir -p "$as_dir"'
41504 else
41505   test -d ./-p && rmdir ./-p
41506   as_mkdir_p=false
41507 fi
41508
41509 if test -x / >/dev/null 2>&1; then
41510   as_test_x='test -x'
41511 else
41512   if ls -dL / >/dev/null 2>&1; then
41513     as_ls_L_option=L
41514   else
41515     as_ls_L_option=
41516   fi
41517   as_test_x='
41518     eval sh -c '\''
41519       if test -d "$1"; then
41520         test -d "$1/.";
41521       else
41522         case $1 in #(
41523         -*)set "./$1";;
41524         esac;
41525         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
41526         ???[sx]*):;;*)false;;esac;fi
41527     '\'' sh
41528   '
41529 fi
41530 as_executable_p=$as_test_x
41531
41532 # Sed expression to map a string onto a valid CPP name.
41533 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41534
41535 # Sed expression to map a string onto a valid variable name.
41536 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41537
41538
41539 exec 6>&1
41540 ## ----------------------------------- ##
41541 ## Main body of $CONFIG_STATUS script. ##
41542 ## ----------------------------------- ##
41543 _ASEOF
41544 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
41545
41546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41547 # Save the log message, to keep $0 and so on meaningful, and to
41548 # report actual input values of CONFIG_FILES etc. instead of their
41549 # values after options handling.
41550 ac_log="
41551 This file was extended by wxWidgets $as_me 2.9.5, which was
41552 generated by GNU Autoconf 2.68.  Invocation command line was
41553
41554   CONFIG_FILES    = $CONFIG_FILES
41555   CONFIG_HEADERS  = $CONFIG_HEADERS
41556   CONFIG_LINKS    = $CONFIG_LINKS
41557   CONFIG_COMMANDS = $CONFIG_COMMANDS
41558   $ $0 $@
41559
41560 on `(hostname || uname -n) 2>/dev/null | sed 1q`
41561 "
41562
41563 _ACEOF
41564
41565 case $ac_config_files in *"
41566 "*) set x $ac_config_files; shift; ac_config_files=$*;;
41567 esac
41568
41569 case $ac_config_headers in *"
41570 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
41571 esac
41572
41573
41574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41575 # Files that config.status was made for.
41576 config_files="$ac_config_files"
41577 config_headers="$ac_config_headers"
41578 config_commands="$ac_config_commands"
41579
41580 _ACEOF
41581
41582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41583 ac_cs_usage="\
41584 \`$as_me' instantiates files and other configuration actions
41585 from templates according to the current configuration.  Unless the files
41586 and actions are specified as TAGs, all are instantiated by default.
41587
41588 Usage: $0 [OPTION]... [TAG]...
41589
41590   -h, --help       print this help, then exit
41591   -V, --version    print version number and configuration settings, then exit
41592       --config     print configuration, then exit
41593   -q, --quiet, --silent
41594                    do not print progress messages
41595   -d, --debug      don't remove temporary files
41596       --recheck    update $as_me by reconfiguring in the same conditions
41597       --file=FILE[:TEMPLATE]
41598                    instantiate the configuration file FILE
41599       --header=FILE[:TEMPLATE]
41600                    instantiate the configuration header FILE
41601
41602 Configuration files:
41603 $config_files
41604
41605 Configuration headers:
41606 $config_headers
41607
41608 Configuration commands:
41609 $config_commands
41610
41611 Report bugs to <wx-dev@lists.wxwidgets.org>."
41612
41613 _ACEOF
41614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41615 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
41616 ac_cs_version="\\
41617 wxWidgets config.status 2.9.5
41618 configured by $0, generated by GNU Autoconf 2.68,
41619   with options \\"\$ac_cs_config\\"
41620
41621 Copyright (C) 2010 Free Software Foundation, Inc.
41622 This config.status script is free software; the Free Software Foundation
41623 gives unlimited permission to copy, distribute and modify it."
41624
41625 ac_pwd='$ac_pwd'
41626 srcdir='$srcdir'
41627 INSTALL='$INSTALL'
41628 test -n "\$AWK" || AWK=awk
41629 _ACEOF
41630
41631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41632 # The default lists apply if the user does not specify any file.
41633 ac_need_defaults=:
41634 while test $# != 0
41635 do
41636   case $1 in
41637   --*=?*)
41638     ac_option=`expr "X$1" : 'X\([^=]*\)='`
41639     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
41640     ac_shift=:
41641     ;;
41642   --*=)
41643     ac_option=`expr "X$1" : 'X\([^=]*\)='`
41644     ac_optarg=
41645     ac_shift=:
41646     ;;
41647   *)
41648     ac_option=$1
41649     ac_optarg=$2
41650     ac_shift=shift
41651     ;;
41652   esac
41653
41654   case $ac_option in
41655   # Handling of the options.
41656   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41657     ac_cs_recheck=: ;;
41658   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
41659     $as_echo "$ac_cs_version"; exit ;;
41660   --config | --confi | --conf | --con | --co | --c )
41661     $as_echo "$ac_cs_config"; exit ;;
41662   --debug | --debu | --deb | --de | --d | -d )
41663     debug=: ;;
41664   --file | --fil | --fi | --f )
41665     $ac_shift
41666     case $ac_optarg in
41667     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41668     '') as_fn_error $? "missing file argument" ;;
41669     esac
41670     as_fn_append CONFIG_FILES " '$ac_optarg'"
41671     ac_need_defaults=false;;
41672   --header | --heade | --head | --hea )
41673     $ac_shift
41674     case $ac_optarg in
41675     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41676     esac
41677     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
41678     ac_need_defaults=false;;
41679   --he | --h)
41680     # Conflict between --help and --header
41681     as_fn_error $? "ambiguous option: \`$1'
41682 Try \`$0 --help' for more information.";;
41683   --help | --hel | -h )
41684     $as_echo "$ac_cs_usage"; exit ;;
41685   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41686   | -silent | --silent | --silen | --sile | --sil | --si | --s)
41687     ac_cs_silent=: ;;
41688
41689   # This is an error.
41690   -*) as_fn_error $? "unrecognized option: \`$1'
41691 Try \`$0 --help' for more information." ;;
41692
41693   *) as_fn_append ac_config_targets " $1"
41694      ac_need_defaults=false ;;
41695
41696   esac
41697   shift
41698 done
41699
41700 ac_configure_extra_args=
41701
41702 if $ac_cs_silent; then
41703   exec 6>/dev/null
41704   ac_configure_extra_args="$ac_configure_extra_args --silent"
41705 fi
41706
41707 _ACEOF
41708 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41709 if \$ac_cs_recheck; then
41710   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41711   shift
41712   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
41713   CONFIG_SHELL='$SHELL'
41714   export CONFIG_SHELL
41715   exec "\$@"
41716 fi
41717
41718 _ACEOF
41719 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41720 exec 5>>config.log
41721 {
41722   echo
41723   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41724 ## Running $as_me. ##
41725 _ASBOX
41726   $as_echo "$ac_log"
41727 } >&5
41728
41729 _ACEOF
41730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41731 #
41732 # INIT-COMMANDS
41733 #
41734
41735             CPP="$CPP"
41736             infile="$srcdir/include/wx/msw/genrcdefs.h"
41737             outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
41738
41739
41740  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41741  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41742  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41743                      LN_S="${LN_S}"
41744
41745
41746 _ACEOF
41747
41748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41749
41750 # Handling of arguments.
41751 for ac_config_target in $ac_config_targets
41752 do
41753   case $ac_config_target in
41754     "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
41755     "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
41756     "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
41757     "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
41758     "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
41759     "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
41760     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
41761     "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
41762     "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
41763
41764   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
41765   esac
41766 done
41767
41768
41769 # If the user did not use the arguments to specify the items to instantiate,
41770 # then the envvar interface is used.  Set only those that are not.
41771 # We use the long form for the default assignment because of an extremely
41772 # bizarre bug on SunOS 4.1.3.
41773 if $ac_need_defaults; then
41774   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
41775   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
41776   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
41777 fi
41778
41779 # Have a temporary directory for convenience.  Make it in the build tree
41780 # simply because there is no reason against having it here, and in addition,
41781 # creating and moving files from /tmp can sometimes cause problems.
41782 # Hook for its removal unless debugging.
41783 # Note that there is a small window in which the directory will not be cleaned:
41784 # after its creation but before its name has been assigned to `$tmp'.
41785 $debug ||
41786 {
41787   tmp= ac_tmp=
41788   trap 'exit_status=$?
41789   : "${ac_tmp:=$tmp}"
41790   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
41791 ' 0
41792   trap 'as_fn_exit 1' 1 2 13 15
41793 }
41794 # Create a (secure) tmp directory for tmp files.
41795
41796 {
41797   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
41798   test -d "$tmp"
41799 }  ||
41800 {
41801   tmp=./conf$$-$RANDOM
41802   (umask 077 && mkdir "$tmp")
41803 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
41804 ac_tmp=$tmp
41805
41806 # Set up the scripts for CONFIG_FILES section.
41807 # No need to generate them if there are no CONFIG_FILES.
41808 # This happens for instance with `./config.status config.h'.
41809 if test -n "$CONFIG_FILES"; then
41810
41811
41812 ac_cr=`echo X | tr X '\015'`
41813 # On cygwin, bash can eat \r inside `` if the user requested igncr.
41814 # But we know of no other shell where ac_cr would be empty at this
41815 # point, so we can use a bashism as a fallback.
41816 if test "x$ac_cr" = x; then
41817   eval ac_cr=\$\'\\r\'
41818 fi
41819 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
41820 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
41821   ac_cs_awk_cr='\\r'
41822 else
41823   ac_cs_awk_cr=$ac_cr
41824 fi
41825
41826 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
41827 _ACEOF
41828
41829
41830 {
41831   echo "cat >conf$$subs.awk <<_ACEOF" &&
41832   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
41833   echo "_ACEOF"
41834 } >conf$$subs.sh ||
41835   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41836 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
41837 ac_delim='%!_!# '
41838 for ac_last_try in false false false false false :; do
41839   . ./conf$$subs.sh ||
41840     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41841
41842   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
41843   if test $ac_delim_n = $ac_delim_num; then
41844     break
41845   elif $ac_last_try; then
41846     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41847   else
41848     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
41849   fi
41850 done
41851 rm -f conf$$subs.sh
41852
41853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41854 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
41855 _ACEOF
41856 sed -n '
41857 h
41858 s/^/S["/; s/!.*/"]=/
41859 p
41860 g
41861 s/^[^!]*!//
41862 :repl
41863 t repl
41864 s/'"$ac_delim"'$//
41865 t delim
41866 :nl
41867 h
41868 s/\(.\{148\}\)..*/\1/
41869 t more1
41870 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
41871 p
41872 n
41873 b repl
41874 :more1
41875 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
41876 p
41877 g
41878 s/.\{148\}//
41879 t nl
41880 :delim
41881 h
41882 s/\(.\{148\}\)..*/\1/
41883 t more2
41884 s/["\\]/\\&/g; s/^/"/; s/$/"/
41885 p
41886 b
41887 :more2
41888 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
41889 p
41890 g
41891 s/.\{148\}//
41892 t delim
41893 ' <conf$$subs.awk | sed '
41894 /^[^""]/{
41895   N
41896   s/\n//
41897 }
41898 ' >>$CONFIG_STATUS || ac_write_fail=1
41899 rm -f conf$$subs.awk
41900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41901 _ACAWK
41902 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
41903   for (key in S) S_is_set[key] = 1
41904   FS = "\a"
41905
41906 }
41907 {
41908   line = $ 0
41909   nfields = split(line, field, "@")
41910   substed = 0
41911   len = length(field[1])
41912   for (i = 2; i < nfields; i++) {
41913     key = field[i]
41914     keylen = length(key)
41915     if (S_is_set[key]) {
41916       value = S[key]
41917       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
41918       len += length(value) + length(field[++i])
41919       substed = 1
41920     } else
41921       len += 1 + keylen
41922   }
41923
41924   print line
41925 }
41926
41927 _ACAWK
41928 _ACEOF
41929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41930 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
41931   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
41932 else
41933   cat
41934 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
41935   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
41936 _ACEOF
41937
41938 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
41939 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
41940 # trailing colons and then remove the whole line if VPATH becomes empty
41941 # (actually we leave an empty line to preserve line numbers).
41942 if test "x$srcdir" = x.; then
41943   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
41944 h
41945 s///
41946 s/^/:/
41947 s/[      ]*$/:/
41948 s/:\$(srcdir):/:/g
41949 s/:\${srcdir}:/:/g
41950 s/:@srcdir@:/:/g
41951 s/^:*//
41952 s/:*$//
41953 x
41954 s/\(=[   ]*\).*/\1/
41955 G
41956 s/\n//
41957 s/^[^=]*=[       ]*$//
41958 }'
41959 fi
41960
41961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41962 fi # test -n "$CONFIG_FILES"
41963
41964 # Set up the scripts for CONFIG_HEADERS section.
41965 # No need to generate them if there are no CONFIG_HEADERS.
41966 # This happens for instance with `./config.status Makefile'.
41967 if test -n "$CONFIG_HEADERS"; then
41968 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
41969 BEGIN {
41970 _ACEOF
41971
41972 # Transform confdefs.h into an awk script `defines.awk', embedded as
41973 # here-document in config.status, that substitutes the proper values into
41974 # config.h.in to produce config.h.
41975
41976 # Create a delimiter string that does not exist in confdefs.h, to ease
41977 # handling of long lines.
41978 ac_delim='%!_!# '
41979 for ac_last_try in false false :; do
41980   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
41981   if test -z "$ac_tt"; then
41982     break
41983   elif $ac_last_try; then
41984     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
41985   else
41986     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
41987   fi
41988 done
41989
41990 # For the awk script, D is an array of macro values keyed by name,
41991 # likewise P contains macro parameters if any.  Preserve backslash
41992 # newline sequences.
41993
41994 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
41995 sed -n '
41996 s/.\{148\}/&'"$ac_delim"'/g
41997 t rset
41998 :rset
41999 s/^[     ]*#[    ]*define[       ][      ]*/ /
42000 t def
42001 d
42002 :def
42003 s/\\$//
42004 t bsnl
42005 s/["\\]/\\&/g
42006 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
42007 D["\1"]=" \3"/p
42008 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
42009 d
42010 :bsnl
42011 s/["\\]/\\&/g
42012 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
42013 D["\1"]=" \3\\\\\\n"\\/p
42014 t cont
42015 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
42016 t cont
42017 d
42018 :cont
42019 n
42020 s/.\{148\}/&'"$ac_delim"'/g
42021 t clear
42022 :clear
42023 s/\\$//
42024 t bsnlc
42025 s/["\\]/\\&/g; s/^/"/; s/$/"/p
42026 d
42027 :bsnlc
42028 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
42029 b cont
42030 ' <confdefs.h | sed '
42031 s/'"$ac_delim"'/"\\\
42032 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42033
42034 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42035   for (key in D) D_is_set[key] = 1
42036   FS = "\a"
42037 }
42038 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42039   line = \$ 0
42040   split(line, arg, " ")
42041   if (arg[1] == "#") {
42042     defundef = arg[2]
42043     mac1 = arg[3]
42044   } else {
42045     defundef = substr(arg[1], 2)
42046     mac1 = arg[2]
42047   }
42048   split(mac1, mac2, "(") #)
42049   macro = mac2[1]
42050   prefix = substr(line, 1, index(line, defundef) - 1)
42051   if (D_is_set[macro]) {
42052     # Preserve the white space surrounding the "#".
42053     print prefix "define", macro P[macro] D[macro]
42054     next
42055   } else {
42056     # Replace #undef with comments.  This is necessary, for example,
42057     # in the case of _POSIX_SOURCE, which is predefined and required
42058     # on some systems where configure will not decide to define it.
42059     if (defundef == "undef") {
42060       print "/*", prefix defundef, macro, "*/"
42061       next
42062     }
42063   }
42064 }
42065 { print }
42066 _ACAWK
42067 _ACEOF
42068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42069   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
42070 fi # test -n "$CONFIG_HEADERS"
42071
42072
42073 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
42074 shift
42075 for ac_tag
42076 do
42077   case $ac_tag in
42078   :[FHLC]) ac_mode=$ac_tag; continue;;
42079   esac
42080   case $ac_mode$ac_tag in
42081   :[FHL]*:*);;
42082   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
42083   :[FH]-) ac_tag=-:-;;
42084   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
42085   esac
42086   ac_save_IFS=$IFS
42087   IFS=:
42088   set x $ac_tag
42089   IFS=$ac_save_IFS
42090   shift
42091   ac_file=$1
42092   shift
42093
42094   case $ac_mode in
42095   :L) ac_source=$1;;
42096   :[FH])
42097     ac_file_inputs=
42098     for ac_f
42099     do
42100       case $ac_f in
42101       -) ac_f="$ac_tmp/stdin";;
42102       *) # Look for the file first in the build tree, then in the source tree
42103          # (if the path is not absolute).  The absolute path cannot be DOS-style,
42104          # because $ac_f cannot contain `:'.
42105          test -f "$ac_f" ||
42106            case $ac_f in
42107            [\\/$]*) false;;
42108            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
42109            esac ||
42110            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42111       esac
42112       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42113       as_fn_append ac_file_inputs " '$ac_f'"
42114     done
42115
42116     # Let's still pretend it is `configure' which instantiates (i.e., don't
42117     # use $as_me), people would be surprised to read:
42118     #    /* config.h.  Generated by config.status.  */
42119     configure_input='Generated from '`
42120           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42121         `' by configure.'
42122     if test x"$ac_file" != x-; then
42123       configure_input="$ac_file.  $configure_input"
42124       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42125 $as_echo "$as_me: creating $ac_file" >&6;}
42126     fi
42127     # Neutralize special characters interpreted by sed in replacement strings.
42128     case $configure_input in #(
42129     *\&* | *\|* | *\\* )
42130        ac_sed_conf_input=`$as_echo "$configure_input" |
42131        sed 's/[\\\\&|]/\\\\&/g'`;; #(
42132     *) ac_sed_conf_input=$configure_input;;
42133     esac
42134
42135     case $ac_tag in
42136     *:-:* | *:-) cat >"$ac_tmp/stdin" \
42137       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
42138     esac
42139     ;;
42140   esac
42141
42142   ac_dir=`$as_dirname -- "$ac_file" ||
42143 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42144          X"$ac_file" : 'X\(//\)[^/]' \| \
42145          X"$ac_file" : 'X\(//\)$' \| \
42146          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42147 $as_echo X"$ac_file" |
42148     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42149             s//\1/
42150             q
42151           }
42152           /^X\(\/\/\)[^/].*/{
42153             s//\1/
42154             q
42155           }
42156           /^X\(\/\/\)$/{
42157             s//\1/
42158             q
42159           }
42160           /^X\(\/\).*/{
42161             s//\1/
42162             q
42163           }
42164           s/.*/./; q'`
42165   as_dir="$ac_dir"; as_fn_mkdir_p
42166   ac_builddir=.
42167
42168 case "$ac_dir" in
42169 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42170 *)
42171   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42172   # A ".." for each directory in $ac_dir_suffix.
42173   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42174   case $ac_top_builddir_sub in
42175   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42176   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42177   esac ;;
42178 esac
42179 ac_abs_top_builddir=$ac_pwd
42180 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42181 # for backward compatibility:
42182 ac_top_builddir=$ac_top_build_prefix
42183
42184 case $srcdir in
42185   .)  # We are building in place.
42186     ac_srcdir=.
42187     ac_top_srcdir=$ac_top_builddir_sub
42188     ac_abs_top_srcdir=$ac_pwd ;;
42189   [\\/]* | ?:[\\/]* )  # Absolute name.
42190     ac_srcdir=$srcdir$ac_dir_suffix;
42191     ac_top_srcdir=$srcdir
42192     ac_abs_top_srcdir=$srcdir ;;
42193   *) # Relative name.
42194     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42195     ac_top_srcdir=$ac_top_build_prefix$srcdir
42196     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42197 esac
42198 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42199
42200
42201   case $ac_mode in
42202   :F)
42203   #
42204   # CONFIG_FILE
42205   #
42206
42207   case $INSTALL in
42208   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42209   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
42210   esac
42211 _ACEOF
42212
42213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42214 # If the template does not know about datarootdir, expand it.
42215 # FIXME: This hack should be removed a few years after 2.60.
42216 ac_datarootdir_hack=; ac_datarootdir_seen=
42217 ac_sed_dataroot='
42218 /datarootdir/ {
42219   p
42220   q
42221 }
42222 /@datadir@/p
42223 /@docdir@/p
42224 /@infodir@/p
42225 /@localedir@/p
42226 /@mandir@/p'
42227 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42228 *datarootdir*) ac_datarootdir_seen=yes;;
42229 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
42230   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42231 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42232 _ACEOF
42233 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42234   ac_datarootdir_hack='
42235   s&@datadir@&$datadir&g
42236   s&@docdir@&$docdir&g
42237   s&@infodir@&$infodir&g
42238   s&@localedir@&$localedir&g
42239   s&@mandir@&$mandir&g
42240   s&\\\${datarootdir}&$datarootdir&g' ;;
42241 esac
42242 _ACEOF
42243
42244 # Neutralize VPATH when `$srcdir' = `.'.
42245 # Shell code in configure.ac might set extrasub.
42246 # FIXME: do we really want to maintain this feature?
42247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42248 ac_sed_extra="$ac_vpsub
42249 $extrasub
42250 _ACEOF
42251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42252 :t
42253 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42254 s|@configure_input@|$ac_sed_conf_input|;t t
42255 s&@top_builddir@&$ac_top_builddir_sub&;t t
42256 s&@top_build_prefix@&$ac_top_build_prefix&;t t
42257 s&@srcdir@&$ac_srcdir&;t t
42258 s&@abs_srcdir@&$ac_abs_srcdir&;t t
42259 s&@top_srcdir@&$ac_top_srcdir&;t t
42260 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42261 s&@builddir@&$ac_builddir&;t t
42262 s&@abs_builddir@&$ac_abs_builddir&;t t
42263 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42264 s&@INSTALL@&$ac_INSTALL&;t t
42265 $ac_datarootdir_hack
42266 "
42267 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
42268   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42269
42270 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42271   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
42272   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
42273       "$ac_tmp/out"`; test -z "$ac_out"; } &&
42274   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42275 which seems to be undefined.  Please make sure it is defined" >&5
42276 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42277 which seems to be undefined.  Please make sure it is defined" >&2;}
42278
42279   rm -f "$ac_tmp/stdin"
42280   case $ac_file in
42281   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42282   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42283   esac \
42284   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42285  ;;
42286   :H)
42287   #
42288   # CONFIG_HEADER
42289   #
42290   if test x"$ac_file" != x-; then
42291     {
42292       $as_echo "/* $configure_input  */" \
42293       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42294     } >"$ac_tmp/config.h" \
42295       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42296     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42297       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42298 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42299     else
42300       rm -f "$ac_file"
42301       mv "$ac_tmp/config.h" "$ac_file" \
42302         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42303     fi
42304   else
42305     $as_echo "/* $configure_input  */" \
42306       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42307       || as_fn_error $? "could not create -" "$LINENO" 5
42308   fi
42309  ;;
42310
42311   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42312 $as_echo "$as_me: executing $ac_file commands" >&6;}
42313  ;;
42314   esac
42315
42316
42317   case $ac_file$ac_mode in
42318     "rcdefs.h":C)
42319             mkdir -p $outdir &&
42320             $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42321          ;;
42322     "lib/wx/config/${TOOLCHAIN_FULLNAME}":F)  chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME}  ;;
42323     "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F)  chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}  ;;
42324     "utils/ifacecheck/rungccxml.sh":F)  chmod +x utils/ifacecheck/rungccxml.sh  ;;
42325     "wx-config":C)  rm -f wx-config
42326                      ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42327                     ;;
42328
42329   esac
42330 done # for ac_tag
42331
42332
42333 as_fn_exit 0
42334 _ACEOF
42335 ac_clean_files=$ac_clean_files_save
42336
42337 test $ac_write_fail = 0 ||
42338   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
42339
42340
42341 # configure is writing to config.log, and then calls config.status.
42342 # config.status does its own redirection, appending to config.log.
42343 # Unfortunately, on DOS this fails, as config.log is still kept open
42344 # by configure, so config.status won't be able to write to it; its
42345 # output is simply discarded.  So we exec the FD to /dev/null,
42346 # effectively closing config.log, so it can be properly (re)opened and
42347 # appended to by config.status.  When coming back to configure, we
42348 # need to make the FD available again.
42349 if test "$no_create" != yes; then
42350   ac_cs_success=:
42351   ac_config_status_args=
42352   test "$silent" = yes &&
42353     ac_config_status_args="$ac_config_status_args --quiet"
42354   exec 5>/dev/null
42355   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42356   exec 5>>config.log
42357   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42358   # would make configure fail if this is the last instruction.
42359   $ac_cs_success || as_fn_exit 1
42360 fi
42361
42362 #
42363 # CONFIG_SUBDIRS section.
42364 #
42365 if test "$no_recursion" != yes; then
42366
42367   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42368   # so they do not pile up.
42369   ac_sub_configure_args=
42370   ac_prev=
42371   eval "set x $ac_configure_args"
42372   shift
42373   for ac_arg
42374   do
42375     if test -n "$ac_prev"; then
42376       ac_prev=
42377       continue
42378     fi
42379     case $ac_arg in
42380     -cache-file | --cache-file | --cache-fil | --cache-fi \
42381     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42382       ac_prev=cache_file ;;
42383     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42384     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42385     | --c=*)
42386       ;;
42387     --config-cache | -C)
42388       ;;
42389     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42390       ac_prev=srcdir ;;
42391     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42392       ;;
42393     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42394       ac_prev=prefix ;;
42395     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42396       ;;
42397     --disable-option-checking)
42398       ;;
42399     *)
42400       case $ac_arg in
42401       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42402       esac
42403       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
42404     esac
42405   done
42406
42407   # Always prepend --prefix to ensure using the same prefix
42408   # in subdir configurations.
42409   ac_arg="--prefix=$prefix"
42410   case $ac_arg in
42411   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42412   esac
42413   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
42414
42415   # Pass --silent
42416   if test "$silent" = yes; then
42417     ac_sub_configure_args="--silent $ac_sub_configure_args"
42418   fi
42419
42420   # Always prepend --disable-option-checking to silence warnings, since
42421   # different subdirs can have different --enable and --with options.
42422   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
42423
42424   ac_popdir=`pwd`
42425   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
42426
42427     # Do not complain, so a configure script can configure whichever
42428     # parts of a large source tree are present.
42429     test -d "$srcdir/$ac_dir" || continue
42430
42431     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42432     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42433     $as_echo "$ac_msg" >&6
42434     as_dir="$ac_dir"; as_fn_mkdir_p
42435     ac_builddir=.
42436
42437 case "$ac_dir" in
42438 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42439 *)
42440   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42441   # A ".." for each directory in $ac_dir_suffix.
42442   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42443   case $ac_top_builddir_sub in
42444   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42445   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42446   esac ;;
42447 esac
42448 ac_abs_top_builddir=$ac_pwd
42449 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42450 # for backward compatibility:
42451 ac_top_builddir=$ac_top_build_prefix
42452
42453 case $srcdir in
42454   .)  # We are building in place.
42455     ac_srcdir=.
42456     ac_top_srcdir=$ac_top_builddir_sub
42457     ac_abs_top_srcdir=$ac_pwd ;;
42458   [\\/]* | ?:[\\/]* )  # Absolute name.
42459     ac_srcdir=$srcdir$ac_dir_suffix;
42460     ac_top_srcdir=$srcdir
42461     ac_abs_top_srcdir=$srcdir ;;
42462   *) # Relative name.
42463     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42464     ac_top_srcdir=$ac_top_build_prefix$srcdir
42465     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42466 esac
42467 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42468
42469
42470     cd "$ac_dir"
42471
42472     # Check for guested configure; otherwise get Cygnus style configure.
42473     if test -f "$ac_srcdir/configure.gnu"; then
42474       ac_sub_configure=$ac_srcdir/configure.gnu
42475     elif test -f "$ac_srcdir/configure"; then
42476       ac_sub_configure=$ac_srcdir/configure
42477     elif test -f "$ac_srcdir/configure.in"; then
42478       # This should be Cygnus configure.
42479       ac_sub_configure=$ac_aux_dir/configure
42480     else
42481       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
42482 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42483       ac_sub_configure=
42484     fi
42485
42486     # The recursion is here.
42487     if test -n "$ac_sub_configure"; then
42488       # Make the cache file name correct relative to the subdirectory.
42489       case $cache_file in
42490       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
42491       *) # Relative name.
42492         ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
42493       esac
42494
42495       { $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
42496 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42497       # The eval makes quoting arguments work.
42498       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
42499            --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
42500         as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
42501     fi
42502
42503     cd "$ac_popdir"
42504   done
42505 fi
42506 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
42507   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
42508 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
42509 fi
42510
42511
42512 echo
42513 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42514 echo ""
42515 echo "  Which GUI toolkit should wxWidgets use?                 ${TOOLKIT_DESC}"
42516 echo "  Should wxWidgets be compiled into single library?       ${wxUSE_MONOLITHIC:-yes}"
42517 echo "  Should wxWidgets be linked as a shared library?         ${wxUSE_SHARED:-no}"
42518 echo $ECHO_N "  Should wxWidgets support Unicode?                       ${wxUSE_UNICODE:-no}$ECHO_C"
42519 if test "$wxUSE_UNICODE" = "yes"; then
42520     if test "$wxUSE_UNICODE_UTF8" = "yes"; then
42521         echo " (using UTF-8)"
42522     else
42523         echo " (using wchar_t)"
42524     fi
42525 else
42526     echo
42527 fi
42528
42529 echo "  What level of wxWidgets compatibility should be enabled?"
42530 echo "                                       wxWidgets 2.6      ${WXWIN_COMPATIBILITY_2_6:-no}"
42531 echo "                                       wxWidgets 2.8      ${WXWIN_COMPATIBILITY_2_8:-yes}"
42532
42533 echo "  Which libraries should wxWidgets use?"
42534 echo "                                       STL                ${wxUSE_STL}"
42535 echo "                                       jpeg               ${wxUSE_LIBJPEG-none}"
42536 echo "                                       png                ${wxUSE_LIBPNG-none}"
42537 echo "                                       regex              ${wxUSE_REGEX}"
42538 echo "                                       tiff               ${wxUSE_LIBTIFF-none}"
42539 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42540 echo "                                       xpm                ${wxUSE_LIBXPM-none}"
42541 fi
42542 echo "                                       zlib               ${wxUSE_ZLIB}"
42543 echo "                                       expat              ${wxUSE_EXPAT}"
42544 echo "                                       libmspack          ${wxUSE_LIBMSPACK}"
42545 echo "                                       sdl                ${wxUSE_LIBSDL}"
42546
42547 echo ""
42548