]> git.saurik.com Git - wxWidgets.git/blob - configure
use pango_matrix_scale() to scale text
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for wxWidgets 2.9.5.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 #
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21 emulate sh
22 NULLCMD=:
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
26 setopt NO_GLOB_SUBST
27 else
28 case `(set -o) 2>/dev/null` in #(
29 *posix*) :
30 set -o posix ;; #(
31 *) :
32 ;;
33 esac
34 fi
35
36
37 as_nl='
38 '
39 export as_nl
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='print -r --'
49 as_echo_n='print -rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo='printf %s\n'
52 as_echo_n='printf %s'
53 else
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56 as_echo_n='/usr/ucb/echo -n'
57 else
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59 as_echo_n_body='eval
60 arg=$1;
61 case $arg in #(
62 *"$as_nl"*)
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 esac;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 '
68 export as_echo_n_body
69 as_echo_n='sh -c $as_echo_n_body as_echo'
70 fi
71 export as_echo_body
72 as_echo='sh -c $as_echo_body as_echo'
73 fi
74
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
77 PATH_SEPARATOR=:
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80 PATH_SEPARATOR=';'
81 }
82 fi
83
84
85 # IFS
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
90 IFS=" "" $as_nl"
91
92 # Find who we are. Look in the path if we contain no directory separator.
93 as_myself=
94 case $0 in #((
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99 IFS=$as_save_IFS
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 done
103 IFS=$as_save_IFS
104
105 ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110 as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 exit 1
115 fi
116
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 # Use a proper internal environment variable to ensure we don't fall
139 # into an infinite loop, continuously re-executing ourselves.
140 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 _as_can_reexec=no; export _as_can_reexec;
142 # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
146 BASH_ENV=/dev/null
147 ENV=/dev/null
148 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 case $- in # ((((
150 *v*x* | *x*v* ) as_opts=-vx ;;
151 *v* ) as_opts=-v ;;
152 *x* ) as_opts=-x ;;
153 * ) as_opts= ;;
154 esac
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 as_fn_exit 255
160 fi
161 # We don't want this to propagate to other subprocesses.
162 { _as_can_reexec=; unset _as_can_reexec;}
163 if test "x$CONFIG_SHELL" = x; then
164 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165 emulate sh
166 NULLCMD=:
167 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168 # is contrary to our usage. Disable this feature.
169 alias -g '\${1+\"\$@\"}'='\"\$@\"'
170 setopt NO_GLOB_SUBST
171 else
172 case \`(set -o) 2>/dev/null\` in #(
173 *posix*) :
174 set -o posix ;; #(
175 *) :
176 ;;
177 esac
178 fi
179 "
180 as_required="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
185
186 exitcode=0
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192
193 else
194 exitcode=1; echo positional parameters were not saved.
195 fi
196 test x\$exitcode = x0 || exit 1
197 test -x / || exit 1"
198 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test \$(( 1 + 1 )) = 2 || exit 1"
203 if (eval "$as_required") 2>/dev/null; then :
204 as_have_required=yes
205 else
206 as_have_required=no
207 fi
208 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209
210 else
211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 as_found=false
213 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 do
215 IFS=$as_save_IFS
216 test -z "$as_dir" && as_dir=.
217 as_found=:
218 case $as_dir in #(
219 /*)
220 for as_base in sh bash ksh sh5; do
221 # Try only shells that exist, to save several forks.
222 as_shell=$as_dir/$as_base
223 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
224 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
225 CONFIG_SHELL=$as_shell as_have_required=yes
226 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
227 break 2
228 fi
229 fi
230 done;;
231 esac
232 as_found=false
233 done
234 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
235 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
236 CONFIG_SHELL=$SHELL as_have_required=yes
237 fi; }
238 IFS=$as_save_IFS
239
240
241 if test "x$CONFIG_SHELL" != x; then :
242 export CONFIG_SHELL
243 # We cannot yet assume a decent shell, so we have to provide a
244 # neutralization value for shells without unset; and this also
245 # works around shells that cannot unset nonexistent variables.
246 # Preserve -v and -x to the replacement shell.
247 BASH_ENV=/dev/null
248 ENV=/dev/null
249 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 case $- in # ((((
251 *v*x* | *x*v* ) as_opts=-vx ;;
252 *v* ) as_opts=-v ;;
253 *x* ) as_opts=-x ;;
254 * ) as_opts= ;;
255 esac
256 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
257 # Admittedly, this is quite paranoid, since all the known shells bail
258 # out after a failed `exec'.
259 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 exit 255
261 fi
262
263 if test x$as_have_required = xno; then :
264 $as_echo "$0: This script requires a shell more modern than all"
265 $as_echo "$0: the shells that I found on your system."
266 if test x${ZSH_VERSION+set} = xset ; then
267 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 $as_echo "$0: Please tell bug-autoconf@gnu.org and
271 $0: wx-dev@lists.wxwidgets.org about your system, including
272 $0: any error possibly output before this message. Then
273 $0: install a modern shell, or manually run the script
274 $0: under such a shell if you do have one."
275 fi
276 exit 1
277 fi
278 fi
279 fi
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
285
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
293 {
294 { eval $1=; unset $1;}
295 }
296 as_unset=as_fn_unset
297
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
301 as_fn_set_status ()
302 {
303 return $1
304 } # as_fn_set_status
305
306 # as_fn_exit STATUS
307 # -----------------
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
309 as_fn_exit ()
310 {
311 set +e
312 as_fn_set_status $1
313 exit $1
314 } # as_fn_exit
315
316 # as_fn_mkdir_p
317 # -------------
318 # Create "$as_dir" as a directory, including parents if necessary.
319 as_fn_mkdir_p ()
320 {
321
322 case $as_dir in #(
323 -*) as_dir=./$as_dir;;
324 esac
325 test -d "$as_dir" || eval $as_mkdir_p || {
326 as_dirs=
327 while :; do
328 case $as_dir in #(
329 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330 *) as_qdir=$as_dir;;
331 esac
332 as_dirs="'$as_qdir' $as_dirs"
333 as_dir=`$as_dirname -- "$as_dir" ||
334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
335 X"$as_dir" : 'X\(//\)[^/]' \| \
336 X"$as_dir" : 'X\(//\)$' \| \
337 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338 $as_echo X"$as_dir" |
339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
340 s//\1/
341 q
342 }
343 /^X\(\/\/\)[^/].*/{
344 s//\1/
345 q
346 }
347 /^X\(\/\/\)$/{
348 s//\1/
349 q
350 }
351 /^X\(\/\).*/{
352 s//\1/
353 q
354 }
355 s/.*/./; q'`
356 test -d "$as_dir" && break
357 done
358 test -z "$as_dirs" || eval "mkdir $as_dirs"
359 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360
361
362 } # as_fn_mkdir_p
363
364 # as_fn_executable_p FILE
365 # -----------------------
366 # Test if FILE is an executable regular file.
367 as_fn_executable_p ()
368 {
369 test -f "$1" && test -x "$1"
370 } # as_fn_executable_p
371 # as_fn_append VAR VALUE
372 # ----------------------
373 # Append the text in VALUE to the end of the definition contained in VAR. Take
374 # advantage of any shell optimizations that allow amortized linear growth over
375 # repeated appends, instead of the typical quadratic growth present in naive
376 # implementations.
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
378 eval 'as_fn_append ()
379 {
380 eval $1+=\$2
381 }'
382 else
383 as_fn_append ()
384 {
385 eval $1=\$$1\$2
386 }
387 fi # as_fn_append
388
389 # as_fn_arith ARG...
390 # ------------------
391 # Perform arithmetic evaluation on the ARGs, and store the result in the
392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
393 # must be portable across $(()) and expr.
394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
395 eval 'as_fn_arith ()
396 {
397 as_val=$(( $* ))
398 }'
399 else
400 as_fn_arith ()
401 {
402 as_val=`expr "$@" || test $? -eq 1`
403 }
404 fi # as_fn_arith
405
406
407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
408 # ----------------------------------------
409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411 # script with STATUS, using 1 if that was 0.
412 as_fn_error ()
413 {
414 as_status=$1; test $as_status -eq 0 && as_status=1
415 if test "$4"; then
416 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 fi
419 $as_echo "$as_me: error: $2" >&2
420 as_fn_exit $as_status
421 } # as_fn_error
422
423 if expr a : '\(a\)' >/dev/null 2>&1 &&
424 test "X`expr 00001 : '.*\(...\)'`" = X001; then
425 as_expr=expr
426 else
427 as_expr=false
428 fi
429
430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431 as_basename=basename
432 else
433 as_basename=false
434 fi
435
436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
437 as_dirname=dirname
438 else
439 as_dirname=false
440 fi
441
442 as_me=`$as_basename -- "$0" ||
443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444 X"$0" : 'X\(//\)$' \| \
445 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 $as_echo X/"$0" |
447 sed '/^.*\/\([^/][^/]*\)\/*$/{
448 s//\1/
449 q
450 }
451 /^X\/\(\/\/\)$/{
452 s//\1/
453 q
454 }
455 /^X\/\(\/\).*/{
456 s//\1/
457 q
458 }
459 s/.*/./; q'`
460
461 # Avoid depending upon Character Ranges.
462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
465 as_cr_digits='0123456789'
466 as_cr_alnum=$as_cr_Letters$as_cr_digits
467
468
469 as_lineno_1=$LINENO as_lineno_1a=$LINENO
470 as_lineno_2=$LINENO as_lineno_2a=$LINENO
471 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
472 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
473 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
474 sed -n '
475 p
476 /[$]LINENO/=
477 ' <$as_myself |
478 sed '
479 s/[$]LINENO.*/&-/
480 t lineno
481 b
482 :lineno
483 N
484 :loop
485 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
486 t loop
487 s/-\n.*//
488 ' >$as_me.lineno &&
489 chmod +x "$as_me.lineno" ||
490 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491
492 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493 # already done that, so ensure we don't try to do so again and fall
494 # in an infinite loop. This has already happened in practice.
495 _as_can_reexec=no; export _as_can_reexec
496 # Don't try to exec as it changes $[0], causing all sort of problems
497 # (the dirname of $[0] is not the place where we might find the
498 # original and so on. Autoconf is especially sensitive to this).
499 . "./$as_me.lineno"
500 # Exit status is that of the last command.
501 exit
502 }
503
504 ECHO_C= ECHO_N= ECHO_T=
505 case `echo -n x` in #(((((
506 -n*)
507 case `echo 'xy\c'` in
508 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 xy) ECHO_C='\c';;
510 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
511 ECHO_T=' ';;
512 esac;;
513 *)
514 ECHO_N='-n';;
515 esac
516
517 rm -f conf$$ conf$$.exe conf$$.file
518 if test -d conf$$.dir; then
519 rm -f conf$$.dir/conf$$.file
520 else
521 rm -f conf$$.dir
522 mkdir conf$$.dir 2>/dev/null
523 fi
524 if (echo >conf$$.file) 2>/dev/null; then
525 if ln -s conf$$.file conf$$ 2>/dev/null; then
526 as_ln_s='ln -s'
527 # ... but there are two gotchas:
528 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530 # In both cases, we have to default to `cp -pR'.
531 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532 as_ln_s='cp -pR'
533 elif ln conf$$.file conf$$ 2>/dev/null; then
534 as_ln_s=ln
535 else
536 as_ln_s='cp -pR'
537 fi
538 else
539 as_ln_s='cp -pR'
540 fi
541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
542 rmdir conf$$.dir 2>/dev/null
543
544 if mkdir -p . 2>/dev/null; then
545 as_mkdir_p='mkdir -p "$as_dir"'
546 else
547 test -d ./-p && rmdir ./-p
548 as_mkdir_p=false
549 fi
550
551 as_test_x='test -x'
552 as_executable_p=as_fn_executable_p
553
554 # Sed expression to map a string onto a valid CPP name.
555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556
557 # Sed expression to map a string onto a valid variable name.
558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559
560
561 test -n "$DJDIR" || exec 7<&0 </dev/null
562 exec 6>&1
563
564 # Name of the host.
565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
566 # so uname gets run too.
567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568
569 #
570 # Initializations.
571 #
572 ac_default_prefix=/usr/local
573 ac_clean_files=
574 ac_config_libobj_dir=.
575 LIBOBJS=
576 cross_compiling=no
577 subdirs=
578 MFLAGS=
579 MAKEFLAGS=
580
581 # Identity of this package.
582 PACKAGE_NAME='wxWidgets'
583 PACKAGE_TARNAME='wxwidgets'
584 PACKAGE_VERSION='2.9.5'
585 PACKAGE_STRING='wxWidgets 2.9.5'
586 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
587 PACKAGE_URL=''
588
589 ac_unique_file="wx-config.in"
590 # Factoring default headers for most tests.
591 ac_includes_default="\
592 #include <stdio.h>
593 #ifdef HAVE_SYS_TYPES_H
594 # include <sys/types.h>
595 #endif
596 #ifdef HAVE_SYS_STAT_H
597 # include <sys/stat.h>
598 #endif
599 #ifdef STDC_HEADERS
600 # include <stdlib.h>
601 # include <stddef.h>
602 #else
603 # ifdef HAVE_STDLIB_H
604 # include <stdlib.h>
605 # endif
606 #endif
607 #ifdef HAVE_STRING_H
608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 # include <memory.h>
610 # endif
611 # include <string.h>
612 #endif
613 #ifdef HAVE_STRINGS_H
614 # include <strings.h>
615 #endif
616 #ifdef HAVE_INTTYPES_H
617 # include <inttypes.h>
618 #endif
619 #ifdef HAVE_STDINT_H
620 # include <stdint.h>
621 #endif
622 #ifdef HAVE_UNISTD_H
623 # include <unistd.h>
624 #endif"
625
626 enable_option_checking=no
627 ac_subst_vars='LTLIBOBJS
628 LIBOBJS
629 CPPUNIT_CONFIG
630 DLLTOOL
631 GCC
632 MACSETFILE
633 POSTLINK_COMMAND
634 LIBWXMACRES
635 WX_RESOURCES_MACOSX_DATA
636 WX_RESOURCES_MACOSX_ASCII
637 RESCOMP
638 WX_VERSION_TAG
639 DMALLOC_LIBS
640 OPENGL_LIBS
641 LDFLAGS_GL
642 SAMPLES_SUBDIRS
643 DISTDIR
644 GUIDIST
645 WXCONFIG_RESFLAGS
646 WXCONFIG_LDFLAGS_GUI
647 WXCONFIG_LDFLAGS
648 WXCONFIG_RPATH
649 WXCONFIG_LIBS
650 WXCONFIG_CXXFLAGS
651 WXCONFIG_CFLAGS
652 WXCONFIG_CPPFLAGS
653 WX_CHARTYPE
654 WX_SUBVERSION
655 WX_VERSION
656 WX_RELEASE
657 WIDGET_SET
658 cross_compiling
659 TOOLCHAIN_FULLNAME
660 TOOLCHAIN_NAME
661 TOOLKIT_DIR
662 TOOLKIT
663 USE_GUI
664 WX_LIBRARY_BASENAME_GUI
665 WX_LIBRARY_BASENAME_NOGUI
666 SHARED
667 DEREZ
668 COND_wxUSE_ZLIB_builtin
669 COND_wxUSE_REGEX_builtin
670 COND_wxUSE_LIBTIFF_builtin
671 COND_wxUSE_LIBPNG_builtin
672 COND_wxUSE_LIBJPEG_builtin
673 COND_wxUSE_EXPAT_builtin
674 COND_WXUNIV_1
675 COND_WXUNIV_0
676 COND_WITH_PLUGIN_SDL_1
677 COND_WINDOWS_IMPLIB_1
678 COND_USE_XRC_1
679 COND_USE_THREADS_1
680 COND_USE_THREADS_0
681 COND_USE_STC_1
682 COND_USE_SOVERSOLARIS_1
683 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
684 COND_USE_SOVERSION_0
685 COND_USE_SOVERLINUX_1
686 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
687 COND_USE_SOTWOSYMLINKS_1
688 COND_USE_RTTI_1
689 COND_USE_RTTI_0
690 COND_USE_PLUGINS_0
691 COND_USE_PCH_1
692 COND_USE_OPENGL_1
693 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
694 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
695 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
696 COND_USE_GUI_1_WXUNIV_1
697 COND_USE_GUI_1_WXUNIV_0
698 COND_USE_GUI_1_USE_OPENGL_1
699 COND_USE_GUI_1
700 COND_USE_GUI_0
701 COND_USE_EXCEPTIONS_1
702 COND_USE_EXCEPTIONS_0
703 COND_USE_CAIRO_1
704 COND_UNICODE_1
705 COND_TOOLKIT_X11_WXUNIV_1
706 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
707 COND_TOOLKIT_X11_USE_GUI_1
708 COND_TOOLKIT_X11
709 COND_TOOLKIT_WINCE_WXUNIV_0
710 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
711 COND_TOOLKIT_WINCE_USE_GUI_1
712 COND_TOOLKIT_WINCE
713 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
714 COND_TOOLKIT_PM_USE_GUI_1
715 COND_TOOLKIT_PM
716 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
717 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
718 COND_TOOLKIT_OSX_IPHONE
719 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
720 COND_TOOLKIT_OSX_COCOA
721 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
722 COND_TOOLKIT_OSX_CARBON
723 COND_TOOLKIT_MSW_WXUNIV_0
724 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
725 COND_TOOLKIT_MSW_USE_GUI_1
726 COND_TOOLKIT_MSW
727 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
728 COND_TOOLKIT_MOTIF_USE_GUI_1
729 COND_TOOLKIT_MOTIF
730 COND_TOOLKIT_MAC
731 COND_TOOLKIT_GTK_USE_GUI_1
732 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
733 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
734 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
735 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
736 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
737 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
738 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
739 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
740 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
741 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
742 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
743 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
744 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
745 COND_TOOLKIT_GTK
746 COND_TOOLKIT_DFB_USE_GUI_1
747 COND_TOOLKIT_DFB
748 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
749 COND_TOOLKIT_COCOA_USE_GUI_1
750 COND_TOOLKIT_COCOA
751 COND_TOOLKIT_
752 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
753 COND_SHARED_1
754 COND_SHARED_0_wxUSE_ZLIB_builtin
755 COND_SHARED_0_wxUSE_REGEX_builtin
756 COND_SHARED_0_wxUSE_EXPAT_builtin
757 COND_SHARED_0_USE_STC_1
758 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
759 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
760 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
761 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
762 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
763 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
764 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
765 COND_SHARED_0
766 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
767 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
768 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
769 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
770 COND_PLATFORM_WIN32_1_SHARED_0
771 COND_PLATFORM_WIN32_1
772 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
773 COND_PLATFORM_WIN32_0
774 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
775 COND_PLATFORM_UNIX_1_USE_GUI_1
776 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
777 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
778 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
779 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
780 COND_PLATFORM_UNIX_1
781 COND_PLATFORM_UNIX_0
782 COND_PLATFORM_OS2_1
783 COND_PLATFORM_MSDOS_1
784 COND_PLATFORM_MSDOS_0
785 COND_PLATFORM_MAC_1
786 COND_PLATFORM_MAC_0
787 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
788 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
789 COND_PLATFORM_MACOSX_1_USE_GUI_1
790 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
791 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
792 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
793 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
794 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
795 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
796 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
797 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
798 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
799 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
800 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
801 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
802 COND_PLATFORM_MACOSX_1
803 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
804 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
805 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
806 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
807 COND_MONOLITHIC_1_USE_STC_1
808 COND_MONOLITHIC_1_SHARED_1
809 COND_MONOLITHIC_1_SHARED_0
810 COND_MONOLITHIC_1
811 COND_MONOLITHIC_0_USE_XRC_1
812 COND_MONOLITHIC_0_USE_WEBVIEW_1
813 COND_MONOLITHIC_0_USE_STC_1
814 COND_MONOLITHIC_0_USE_RICHTEXT_1
815 COND_MONOLITHIC_0_USE_RIBBON_1
816 COND_MONOLITHIC_0_USE_QA_1
817 COND_MONOLITHIC_0_USE_PROPGRID_1
818 COND_MONOLITHIC_0_USE_MEDIA_1
819 COND_MONOLITHIC_0_USE_HTML_1
820 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
821 COND_MONOLITHIC_0_USE_GUI_1
822 COND_MONOLITHIC_0_USE_AUI_1
823 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
824 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
825 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
826 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
827 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
829 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
833 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
834 COND_MONOLITHIC_0_SHARED_1
835 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
838 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
839 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
840 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
845 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
846 COND_MONOLITHIC_0_SHARED_0
847 COND_MONOLITHIC_0
848 COND_ICC_PCH_1
849 COND_GCC_PCH_1
850 COND_DEPS_TRACKING_1
851 COND_DEPS_TRACKING_0
852 COND_DEBUG_INFO_1
853 COND_DEBUG_INFO_0
854 COND_DEBUG_FLAG_0
855 COND_BUILD_release_DEBUG_INFO_default
856 COND_BUILD_release
857 COND_BUILD_debug_DEBUG_INFO_default
858 COND_BUILD_debug
859 BK_MAKE_PCH
860 ICC_PCH_USE_SWITCH
861 ICC_PCH_CREATE_SWITCH
862 ICC_PCH
863 GCC_PCH
864 OBJCXXFLAGS
865 SETFILE
866 REZ
867 WINDRES
868 BK_DEPS
869 DEPS_TRACKING
870 SONAME_FLAG
871 USE_SOTWOSYMLINKS
872 USE_MACVERSION
873 USE_SOVERCYGWIN
874 USE_SOVERSOLARIS
875 USE_SOVERLINUX
876 USE_SOVERSION
877 WINDOWS_IMPLIB
878 PIC_FLAG
879 SHARED_LD_MODULE_CXX
880 SHARED_LD_MODULE_CC
881 SHARED_LD_CXX
882 SHARED_LD_CC
883 AIX_CXX_LD
884 dlldir
885 DLLPREFIX_MODULE
886 DLLPREFIX
887 LIBEXT
888 LIBPREFIX
889 DLLIMP_SUFFIX
890 SO_SUFFIX_MODULE
891 SO_SUFFIX
892 PLATFORM_BEOS
893 PLATFORM_OS2
894 PLATFORM_MACOSX
895 PLATFORM_MACOS
896 PLATFORM_MAC
897 PLATFORM_MSDOS
898 PLATFORM_WIN32
899 PLATFORM_UNIX
900 IF_GNU_MAKE
901 LDFLAGS_GUI
902 INSTALL_DIR
903 NM
904 STRIP
905 AROPTIONS
906 MAKE_SET
907 SET_MAKE
908 LN_S
909 INSTALL_DATA
910 INSTALL_SCRIPT
911 INSTALL_PROGRAM
912 RANLIB
913 CPPUNIT_LIBS
914 CPPUNIT_CFLAGS
915 HOST_SUFFIX
916 HEADER_PAD_OPTION
917 SAMPLES_RPATH_FLAG
918 DYLIB_RPATH_POSTLINK
919 DYLIB_RPATH_INSTALL
920 TOOLKIT_VERSION
921 TOOLKIT_LOWERCASE
922 DEBUG_FLAG
923 DEBUG_INFO
924 UNICODE
925 WITH_PLUGIN_SDL
926 EXTRALIBS_STC
927 EXTRALIBS_SDL
928 EXTRALIBS_OPENGL
929 EXTRALIBS_GUI
930 EXTRALIBS_MEDIA
931 EXTRALIBS_HTML
932 EXTRALIBS_XML
933 EXTRALIBS
934 CXXWARNINGS
935 USE_PLUGINS
936 MONOLITHIC
937 WXUNIV
938 WX_LIB_FLAVOUR
939 WX_FLAVOUR
940 OFFICIAL_BUILD
941 VENDOR
942 wxUSE_LIBTIFF
943 wxUSE_LIBPNG
944 wxUSE_LIBJPEG
945 wxUSE_EXPAT
946 wxUSE_REGEX
947 wxUSE_ZLIB
948 STD_GUI_LIBS
949 STD_BASE_LIBS
950 BUILT_WX_LIBS
951 ALL_WX_LIBS
952 GST_LIBS
953 GST_CFLAGS
954 CAIRO_LIBS
955 CAIRO_CFLAGS
956 WEBKIT_LIBS
957 WEBKIT_CFLAGS
958 COND_PYTHON
959 PYTHON
960 HILDON2_LIBS
961 HILDON2_CFLAGS
962 HILDON_LIBS
963 HILDON_CFLAGS
964 LIBNOTIFY_LIBS
965 LIBNOTIFY_CFLAGS
966 GNOMEVFS_LIBS
967 GNOMEVFS_CFLAGS
968 LIBGNOMEPRINTUI_LIBS
969 LIBGNOMEPRINTUI_CFLAGS
970 GTKPRINT_LIBS
971 GTKPRINT_CFLAGS
972 SDL_LIBS
973 SDL_CFLAGS
974 SDL_CONFIG
975 GXX_VERSION
976 LIBICONV
977 CXXFLAGS_VISIBILITY
978 CFLAGS_VISIBILITY
979 MesaGL_LIBS
980 MesaGL_CFLAGS
981 GLU_LIBS
982 GLU_CFLAGS
983 GL_LIBS
984 GL_CFLAGS
985 SM_LIBS
986 SM_CFLAGS
987 Xxf86vm_LIBS
988 Xxf86vm_CFLAGS
989 Xinerama_LIBS
990 Xinerama_CFLAGS
991 PANGOXFT_LIBS
992 PANGOXFT_CFLAGS
993 PANGOFT2_LIBS
994 PANGOFT2_CFLAGS
995 PANGOX_LIBS
996 PANGOX_CFLAGS
997 X_EXTRA_LIBS
998 X_LIBS
999 X_PRE_LIBS
1000 X_CFLAGS
1001 XMKMF
1002 DIRECTFB_LIBS
1003 DIRECTFB_CFLAGS
1004 GTK_CONFIG
1005 GTK_LIBS
1006 GTK_CFLAGS
1007 PKG_CONFIG
1008 subdirs
1009 CXXCPP
1010 AR
1011 ac_ct_CXX
1012 CXXFLAGS
1013 CXX
1014 EGREP
1015 GREP
1016 CPP
1017 OBJEXT
1018 EXEEXT
1019 ac_ct_CC
1020 CPPFLAGS
1021 LDFLAGS
1022 CFLAGS
1023 CC
1024 wx_top_builddir
1025 host_os
1026 host_vendor
1027 host_cpu
1028 host
1029 build_os
1030 build_vendor
1031 build_cpu
1032 build
1033 target_alias
1034 host_alias
1035 build_alias
1036 LIBS
1037 ECHO_T
1038 ECHO_N
1039 ECHO_C
1040 DEFS
1041 mandir
1042 localedir
1043 libdir
1044 psdir
1045 pdfdir
1046 dvidir
1047 htmldir
1048 infodir
1049 docdir
1050 oldincludedir
1051 includedir
1052 localstatedir
1053 sharedstatedir
1054 sysconfdir
1055 datadir
1056 datarootdir
1057 libexecdir
1058 sbindir
1059 bindir
1060 program_transform_name
1061 prefix
1062 exec_prefix
1063 PACKAGE_URL
1064 PACKAGE_BUGREPORT
1065 PACKAGE_STRING
1066 PACKAGE_VERSION
1067 PACKAGE_TARNAME
1068 PACKAGE_NAME
1069 PATH_SEPARATOR
1070 SHELL'
1071 ac_subst_files=''
1072 ac_user_opts='
1073 enable_option_checking
1074 enable_gui
1075 enable_monolithic
1076 enable_plugins
1077 with_subdirs
1078 with_flavour
1079 enable_official_build
1080 enable_vendor
1081 enable_all_features
1082 enable_universal
1083 with_themes
1084 with_gtk
1085 with_motif
1086 with_osx_carbon
1087 with_osx_cocoa
1088 with_osx_iphone
1089 with_osx
1090 with_carbon
1091 with_cocoa
1092 with_iphone
1093 with_mac
1094 with_old_cocoa
1095 with_wine
1096 with_msw
1097 with_pm
1098 with_directfb
1099 with_microwin
1100 with_x11
1101 enable_nanox
1102 enable_gpe
1103 with_libpng
1104 with_libjpeg
1105 with_libtiff
1106 with_libjbig
1107 with_liblzma
1108 with_libxpm
1109 with_libiconv
1110 with_libmspack
1111 with_gtkprint
1112 with_gnomeprint
1113 with_gnomevfs
1114 with_libnotify
1115 with_hildon
1116 with_opengl
1117 with_dmalloc
1118 with_sdl
1119 with_regex
1120 with_zlib
1121 with_expat
1122 with_macosx_sdk
1123 with_macosx_version_min
1124 enable_debug
1125 enable_debug_flag
1126 enable_debug_info
1127 enable_debug_gdb
1128 enable_debug_cntxt
1129 enable_mem_tracing
1130 enable_shared
1131 enable_stl
1132 enable_std_containers
1133 enable_std_iostreams
1134 enable_std_string
1135 enable_std_string_conv_in_wxstring
1136 enable_unicode
1137 enable_mslu
1138 enable_utf8
1139 enable_utf8only
1140 enable_extended_rtti
1141 enable_omf
1142 enable_optimise
1143 enable_profile
1144 enable_no_rtti
1145 enable_no_exceptions
1146 enable_permissive
1147 enable_no_deps
1148 enable_vararg_macros
1149 enable_universal_binary
1150 enable_macosx_arch
1151 enable_compat26
1152 enable_compat28
1153 enable_rpath
1154 enable_objc_uniquifying
1155 enable_visibility
1156 enable_tls
1157 enable_intl
1158 enable_xlocale
1159 enable_config
1160 enable_protocols
1161 enable_ftp
1162 enable_http
1163 enable_fileproto
1164 enable_sockets
1165 enable_ipv6
1166 enable_ole
1167 enable_dataobj
1168 enable_ipc
1169 enable_baseevtloop
1170 enable_epollloop
1171 enable_selectloop
1172 enable_any
1173 enable_apple_ieee
1174 enable_arcstream
1175 enable_base64
1176 enable_backtrace
1177 enable_catch_segvs
1178 enable_cmdline
1179 enable_datetime
1180 enable_debugreport
1181 enable_dialupman
1182 enable_dynlib
1183 enable_dynamicloader
1184 enable_exceptions
1185 enable_ffile
1186 enable_file
1187 enable_filehistory
1188 enable_filesystem
1189 enable_fontenum
1190 enable_fontmap
1191 enable_fs_archive
1192 enable_fs_inet
1193 enable_fs_zip
1194 enable_fsvolume
1195 enable_fswatcher
1196 enable_geometry
1197 enable_log
1198 enable_longlong
1199 enable_mimetype
1200 enable_printfposparam
1201 enable_snglinst
1202 enable_sound
1203 enable_stdpaths
1204 enable_stopwatch
1205 enable_streams
1206 enable_sysoptions
1207 enable_tarstream
1208 enable_textbuf
1209 enable_textfile
1210 enable_timer
1211 enable_variant
1212 enable_zipstream
1213 enable_url
1214 enable_protocol
1215 enable_protocol_http
1216 enable_protocol_ftp
1217 enable_protocol_file
1218 enable_threads
1219 enable_iniconf
1220 enable_regkey
1221 enable_docview
1222 enable_help
1223 enable_mshtmlhelp
1224 enable_html
1225 enable_htmlhelp
1226 enable_xrc
1227 enable_aui
1228 enable_propgrid
1229 enable_ribbon
1230 enable_stc
1231 enable_constraints
1232 enable_loggui
1233 enable_logwin
1234 enable_logdialog
1235 enable_mdi
1236 enable_mdidoc
1237 enable_mediactrl
1238 enable_gstreamer8
1239 enable_richtext
1240 enable_postscript
1241 enable_printarch
1242 enable_svg
1243 enable_webkit
1244 enable_webview
1245 enable_graphics_ctx
1246 enable_clipboard
1247 enable_dnd
1248 enable_controls
1249 enable_markup
1250 enable_accel
1251 enable_animatectrl
1252 enable_bannerwindow
1253 enable_artstd
1254 enable_arttango
1255 enable_bmpbutton
1256 enable_bmpcombobox
1257 enable_button
1258 enable_calendar
1259 enable_caret
1260 enable_checkbox
1261 enable_checklst
1262 enable_choice
1263 enable_choicebook
1264 enable_collpane
1265 enable_colourpicker
1266 enable_combobox
1267 enable_comboctrl
1268 enable_commandlinkbutton
1269 enable_dataviewctrl
1270 enable_datepick
1271 enable_detect_sm
1272 enable_dirpicker
1273 enable_display
1274 enable_editablebox
1275 enable_filectrl
1276 enable_filepicker
1277 enable_fontpicker
1278 enable_gauge
1279 enable_grid
1280 enable_headerctrl
1281 enable_hyperlink
1282 enable_imaglist
1283 enable_infobar
1284 enable_listbook
1285 enable_listbox
1286 enable_listctrl
1287 enable_notebook
1288 enable_notifmsg
1289 enable_odcombobox
1290 enable_popupwin
1291 enable_prefseditor
1292 enable_radiobox
1293 enable_radiobtn
1294 enable_richmsgdlg
1295 enable_richtooltip
1296 enable_rearrangectrl
1297 enable_sash
1298 enable_scrollbar
1299 enable_searchctrl
1300 enable_slider
1301 enable_spinbtn
1302 enable_spinctrl
1303 enable_splitter
1304 enable_statbmp
1305 enable_statbox
1306 enable_statline
1307 enable_stattext
1308 enable_statusbar
1309 enable_taskbaricon
1310 enable_tbarnative
1311 enable_textctrl
1312 enable_tipwindow
1313 enable_togglebtn
1314 enable_toolbar
1315 enable_toolbook
1316 enable_treebook
1317 enable_treectrl
1318 enable_treelist
1319 enable_commondlg
1320 enable_aboutdlg
1321 enable_choicedlg
1322 enable_coldlg
1323 enable_filedlg
1324 enable_finddlg
1325 enable_fontdlg
1326 enable_dirdlg
1327 enable_msgdlg
1328 enable_numberdlg
1329 enable_splash
1330 enable_textdlg
1331 enable_tipdlg
1332 enable_progressdlg
1333 enable_wizarddlg
1334 enable_menus
1335 enable_miniframe
1336 enable_tooltips
1337 enable_splines
1338 enable_mousewheel
1339 enable_validators
1340 enable_busyinfo
1341 enable_hotkey
1342 enable_joystick
1343 enable_metafile
1344 enable_dragimage
1345 enable_accessibility
1346 enable_uiactionsim
1347 enable_dctransform
1348 enable_webviewwebkit
1349 enable_palette
1350 enable_image
1351 enable_gif
1352 enable_pcx
1353 enable_tga
1354 enable_iff
1355 enable_pnm
1356 enable_xpm
1357 enable_ico_cur
1358 enable_dccache
1359 enable_ps_in_msw
1360 enable_ownerdrawn
1361 enable_uxtheme
1362 enable_wxdib
1363 enable_webviewie
1364 enable_autoidman
1365 enable_largefile
1366 enable_gtktest
1367 with_gtk_prefix
1368 with_gtk_exec_prefix
1369 with_x
1370 with_libiconv_prefix
1371 with_sdl_prefix
1372 with_sdl_exec_prefix
1373 enable_sdltest
1374 enable_dependency_tracking
1375 enable_precomp_headers
1376 with_cppunit_prefix
1377 with_cppunit_exec_prefix
1378 '
1379 ac_precious_vars='build_alias
1380 host_alias
1381 target_alias
1382 CC
1383 CFLAGS
1384 LDFLAGS
1385 LIBS
1386 CPPFLAGS
1387 CPP
1388 CXX
1389 CXXFLAGS
1390 CCC
1391 CXXCPP
1392 PKG_CONFIG
1393 DIRECTFB_CFLAGS
1394 DIRECTFB_LIBS
1395 XMKMF
1396 PANGOX_CFLAGS
1397 PANGOX_LIBS
1398 PANGOFT2_CFLAGS
1399 PANGOFT2_LIBS
1400 PANGOXFT_CFLAGS
1401 PANGOXFT_LIBS
1402 Xinerama_CFLAGS
1403 Xinerama_LIBS
1404 Xxf86vm_CFLAGS
1405 Xxf86vm_LIBS
1406 SM_CFLAGS
1407 SM_LIBS
1408 GL_CFLAGS
1409 GL_LIBS
1410 GLU_CFLAGS
1411 GLU_LIBS
1412 MesaGL_CFLAGS
1413 MesaGL_LIBS
1414 GTKPRINT_CFLAGS
1415 GTKPRINT_LIBS
1416 LIBGNOMEPRINTUI_CFLAGS
1417 LIBGNOMEPRINTUI_LIBS
1418 GNOMEVFS_CFLAGS
1419 GNOMEVFS_LIBS
1420 LIBNOTIFY_CFLAGS
1421 LIBNOTIFY_LIBS
1422 HILDON_CFLAGS
1423 HILDON_LIBS
1424 HILDON2_CFLAGS
1425 HILDON2_LIBS
1426 WEBKIT_CFLAGS
1427 WEBKIT_LIBS
1428 CAIRO_CFLAGS
1429 CAIRO_LIBS
1430 GST_CFLAGS
1431 GST_LIBS'
1432 ac_subdirs_all='src/tiff
1433 src/expat'
1434
1435 # Initialize some variables set by options.
1436 ac_init_help=
1437 ac_init_version=false
1438 ac_unrecognized_opts=
1439 ac_unrecognized_sep=
1440 # The variables have the same names as the options, with
1441 # dashes changed to underlines.
1442 cache_file=/dev/null
1443 exec_prefix=NONE
1444 no_create=
1445 no_recursion=
1446 prefix=NONE
1447 program_prefix=NONE
1448 program_suffix=NONE
1449 program_transform_name=s,x,x,
1450 silent=
1451 site=
1452 srcdir=
1453 verbose=
1454 x_includes=NONE
1455 x_libraries=NONE
1456
1457 # Installation directory options.
1458 # These are left unexpanded so users can "make install exec_prefix=/foo"
1459 # and all the variables that are supposed to be based on exec_prefix
1460 # by default will actually change.
1461 # Use braces instead of parens because sh, perl, etc. also accept them.
1462 # (The list follows the same order as the GNU Coding Standards.)
1463 bindir='${exec_prefix}/bin'
1464 sbindir='${exec_prefix}/sbin'
1465 libexecdir='${exec_prefix}/libexec'
1466 datarootdir='${prefix}/share'
1467 datadir='${datarootdir}'
1468 sysconfdir='${prefix}/etc'
1469 sharedstatedir='${prefix}/com'
1470 localstatedir='${prefix}/var'
1471 includedir='${prefix}/include'
1472 oldincludedir='/usr/include'
1473 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1474 infodir='${datarootdir}/info'
1475 htmldir='${docdir}'
1476 dvidir='${docdir}'
1477 pdfdir='${docdir}'
1478 psdir='${docdir}'
1479 libdir='${exec_prefix}/lib'
1480 localedir='${datarootdir}/locale'
1481 mandir='${datarootdir}/man'
1482
1483 ac_prev=
1484 ac_dashdash=
1485 for ac_option
1486 do
1487 # If the previous option needs an argument, assign it.
1488 if test -n "$ac_prev"; then
1489 eval $ac_prev=\$ac_option
1490 ac_prev=
1491 continue
1492 fi
1493
1494 case $ac_option in
1495 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1496 *=) ac_optarg= ;;
1497 *) ac_optarg=yes ;;
1498 esac
1499
1500 # Accept the important Cygnus configure options, so we can diagnose typos.
1501
1502 case $ac_dashdash$ac_option in
1503 --)
1504 ac_dashdash=yes ;;
1505
1506 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1507 ac_prev=bindir ;;
1508 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1509 bindir=$ac_optarg ;;
1510
1511 -build | --build | --buil | --bui | --bu)
1512 ac_prev=build_alias ;;
1513 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1514 build_alias=$ac_optarg ;;
1515
1516 -cache-file | --cache-file | --cache-fil | --cache-fi \
1517 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1518 ac_prev=cache_file ;;
1519 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1520 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1521 cache_file=$ac_optarg ;;
1522
1523 --config-cache | -C)
1524 cache_file=config.cache ;;
1525
1526 -datadir | --datadir | --datadi | --datad)
1527 ac_prev=datadir ;;
1528 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1529 datadir=$ac_optarg ;;
1530
1531 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1532 | --dataroo | --dataro | --datar)
1533 ac_prev=datarootdir ;;
1534 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1535 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1536 datarootdir=$ac_optarg ;;
1537
1538 -disable-* | --disable-*)
1539 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1540 # Reject names that are not valid shell variable names.
1541 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1542 as_fn_error $? "invalid feature name: $ac_useropt"
1543 ac_useropt_orig=$ac_useropt
1544 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1545 case $ac_user_opts in
1546 *"
1547 "enable_$ac_useropt"
1548 "*) ;;
1549 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1550 ac_unrecognized_sep=', ';;
1551 esac
1552 eval enable_$ac_useropt=no ;;
1553
1554 -docdir | --docdir | --docdi | --doc | --do)
1555 ac_prev=docdir ;;
1556 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1557 docdir=$ac_optarg ;;
1558
1559 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1560 ac_prev=dvidir ;;
1561 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1562 dvidir=$ac_optarg ;;
1563
1564 -enable-* | --enable-*)
1565 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1566 # Reject names that are not valid shell variable names.
1567 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1568 as_fn_error $? "invalid feature name: $ac_useropt"
1569 ac_useropt_orig=$ac_useropt
1570 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1571 case $ac_user_opts in
1572 *"
1573 "enable_$ac_useropt"
1574 "*) ;;
1575 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1576 ac_unrecognized_sep=', ';;
1577 esac
1578 eval enable_$ac_useropt=\$ac_optarg ;;
1579
1580 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1581 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1582 | --exec | --exe | --ex)
1583 ac_prev=exec_prefix ;;
1584 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1585 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1586 | --exec=* | --exe=* | --ex=*)
1587 exec_prefix=$ac_optarg ;;
1588
1589 -gas | --gas | --ga | --g)
1590 # Obsolete; use --with-gas.
1591 with_gas=yes ;;
1592
1593 -help | --help | --hel | --he | -h)
1594 ac_init_help=long ;;
1595 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1596 ac_init_help=recursive ;;
1597 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1598 ac_init_help=short ;;
1599
1600 -host | --host | --hos | --ho)
1601 ac_prev=host_alias ;;
1602 -host=* | --host=* | --hos=* | --ho=*)
1603 host_alias=$ac_optarg ;;
1604
1605 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1606 ac_prev=htmldir ;;
1607 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1608 | --ht=*)
1609 htmldir=$ac_optarg ;;
1610
1611 -includedir | --includedir | --includedi | --included | --include \
1612 | --includ | --inclu | --incl | --inc)
1613 ac_prev=includedir ;;
1614 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1615 | --includ=* | --inclu=* | --incl=* | --inc=*)
1616 includedir=$ac_optarg ;;
1617
1618 -infodir | --infodir | --infodi | --infod | --info | --inf)
1619 ac_prev=infodir ;;
1620 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1621 infodir=$ac_optarg ;;
1622
1623 -libdir | --libdir | --libdi | --libd)
1624 ac_prev=libdir ;;
1625 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1626 libdir=$ac_optarg ;;
1627
1628 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1629 | --libexe | --libex | --libe)
1630 ac_prev=libexecdir ;;
1631 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1632 | --libexe=* | --libex=* | --libe=*)
1633 libexecdir=$ac_optarg ;;
1634
1635 -localedir | --localedir | --localedi | --localed | --locale)
1636 ac_prev=localedir ;;
1637 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1638 localedir=$ac_optarg ;;
1639
1640 -localstatedir | --localstatedir | --localstatedi | --localstated \
1641 | --localstate | --localstat | --localsta | --localst | --locals)
1642 ac_prev=localstatedir ;;
1643 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1644 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1645 localstatedir=$ac_optarg ;;
1646
1647 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1648 ac_prev=mandir ;;
1649 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1650 mandir=$ac_optarg ;;
1651
1652 -nfp | --nfp | --nf)
1653 # Obsolete; use --without-fp.
1654 with_fp=no ;;
1655
1656 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1657 | --no-cr | --no-c | -n)
1658 no_create=yes ;;
1659
1660 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1661 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1662 no_recursion=yes ;;
1663
1664 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1665 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1666 | --oldin | --oldi | --old | --ol | --o)
1667 ac_prev=oldincludedir ;;
1668 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1669 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1670 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1671 oldincludedir=$ac_optarg ;;
1672
1673 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1674 ac_prev=prefix ;;
1675 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1676 prefix=$ac_optarg ;;
1677
1678 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1679 | --program-pre | --program-pr | --program-p)
1680 ac_prev=program_prefix ;;
1681 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1682 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1683 program_prefix=$ac_optarg ;;
1684
1685 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1686 | --program-suf | --program-su | --program-s)
1687 ac_prev=program_suffix ;;
1688 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1689 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1690 program_suffix=$ac_optarg ;;
1691
1692 -program-transform-name | --program-transform-name \
1693 | --program-transform-nam | --program-transform-na \
1694 | --program-transform-n | --program-transform- \
1695 | --program-transform | --program-transfor \
1696 | --program-transfo | --program-transf \
1697 | --program-trans | --program-tran \
1698 | --progr-tra | --program-tr | --program-t)
1699 ac_prev=program_transform_name ;;
1700 -program-transform-name=* | --program-transform-name=* \
1701 | --program-transform-nam=* | --program-transform-na=* \
1702 | --program-transform-n=* | --program-transform-=* \
1703 | --program-transform=* | --program-transfor=* \
1704 | --program-transfo=* | --program-transf=* \
1705 | --program-trans=* | --program-tran=* \
1706 | --progr-tra=* | --program-tr=* | --program-t=*)
1707 program_transform_name=$ac_optarg ;;
1708
1709 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1710 ac_prev=pdfdir ;;
1711 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1712 pdfdir=$ac_optarg ;;
1713
1714 -psdir | --psdir | --psdi | --psd | --ps)
1715 ac_prev=psdir ;;
1716 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1717 psdir=$ac_optarg ;;
1718
1719 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1720 | -silent | --silent | --silen | --sile | --sil)
1721 silent=yes ;;
1722
1723 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1724 ac_prev=sbindir ;;
1725 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1726 | --sbi=* | --sb=*)
1727 sbindir=$ac_optarg ;;
1728
1729 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1730 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1731 | --sharedst | --shareds | --shared | --share | --shar \
1732 | --sha | --sh)
1733 ac_prev=sharedstatedir ;;
1734 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1735 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1736 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1737 | --sha=* | --sh=*)
1738 sharedstatedir=$ac_optarg ;;
1739
1740 -site | --site | --sit)
1741 ac_prev=site ;;
1742 -site=* | --site=* | --sit=*)
1743 site=$ac_optarg ;;
1744
1745 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1746 ac_prev=srcdir ;;
1747 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1748 srcdir=$ac_optarg ;;
1749
1750 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1751 | --syscon | --sysco | --sysc | --sys | --sy)
1752 ac_prev=sysconfdir ;;
1753 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1754 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1755 sysconfdir=$ac_optarg ;;
1756
1757 -target | --target | --targe | --targ | --tar | --ta | --t)
1758 ac_prev=target_alias ;;
1759 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1760 target_alias=$ac_optarg ;;
1761
1762 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1763 verbose=yes ;;
1764
1765 -version | --version | --versio | --versi | --vers | -V)
1766 ac_init_version=: ;;
1767
1768 -with-* | --with-*)
1769 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1770 # Reject names that are not valid shell variable names.
1771 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1772 as_fn_error $? "invalid package name: $ac_useropt"
1773 ac_useropt_orig=$ac_useropt
1774 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1775 case $ac_user_opts in
1776 *"
1777 "with_$ac_useropt"
1778 "*) ;;
1779 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1780 ac_unrecognized_sep=', ';;
1781 esac
1782 eval with_$ac_useropt=\$ac_optarg ;;
1783
1784 -without-* | --without-*)
1785 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1786 # Reject names that are not valid shell variable names.
1787 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1788 as_fn_error $? "invalid package name: $ac_useropt"
1789 ac_useropt_orig=$ac_useropt
1790 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1791 case $ac_user_opts in
1792 *"
1793 "with_$ac_useropt"
1794 "*) ;;
1795 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1796 ac_unrecognized_sep=', ';;
1797 esac
1798 eval with_$ac_useropt=no ;;
1799
1800 --x)
1801 # Obsolete; use --with-x.
1802 with_x=yes ;;
1803
1804 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1805 | --x-incl | --x-inc | --x-in | --x-i)
1806 ac_prev=x_includes ;;
1807 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1808 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1809 x_includes=$ac_optarg ;;
1810
1811 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1812 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1813 ac_prev=x_libraries ;;
1814 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1815 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1816 x_libraries=$ac_optarg ;;
1817
1818 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1819 Try \`$0 --help' for more information"
1820 ;;
1821
1822 *=*)
1823 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1824 # Reject names that are not valid shell variable names.
1825 case $ac_envvar in #(
1826 '' | [0-9]* | *[!_$as_cr_alnum]* )
1827 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1828 esac
1829 eval $ac_envvar=\$ac_optarg
1830 export $ac_envvar ;;
1831
1832 *)
1833 # FIXME: should be removed in autoconf 3.0.
1834 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1835 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1836 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1837 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1838 ;;
1839
1840 esac
1841 done
1842
1843 if test -n "$ac_prev"; then
1844 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1845 as_fn_error $? "missing argument to $ac_option"
1846 fi
1847
1848 if test -n "$ac_unrecognized_opts"; then
1849 case $enable_option_checking in
1850 no) ;;
1851 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1852 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1853 esac
1854 fi
1855
1856 # Check all directory arguments for consistency.
1857 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1858 datadir sysconfdir sharedstatedir localstatedir includedir \
1859 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1860 libdir localedir mandir
1861 do
1862 eval ac_val=\$$ac_var
1863 # Remove trailing slashes.
1864 case $ac_val in
1865 */ )
1866 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1867 eval $ac_var=\$ac_val;;
1868 esac
1869 # Be sure to have absolute directory names.
1870 case $ac_val in
1871 [\\/$]* | ?:[\\/]* ) continue;;
1872 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1873 esac
1874 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1875 done
1876
1877 # There might be people who depend on the old broken behavior: `$host'
1878 # used to hold the argument of --host etc.
1879 # FIXME: To remove some day.
1880 build=$build_alias
1881 host=$host_alias
1882 target=$target_alias
1883
1884 # FIXME: To remove some day.
1885 if test "x$host_alias" != x; then
1886 if test "x$build_alias" = x; then
1887 cross_compiling=maybe
1888 elif test "x$build_alias" != "x$host_alias"; then
1889 cross_compiling=yes
1890 fi
1891 fi
1892
1893 ac_tool_prefix=
1894 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1895
1896 test "$silent" = yes && exec 6>/dev/null
1897
1898
1899 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1900 ac_ls_di=`ls -di .` &&
1901 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1902 as_fn_error $? "working directory cannot be determined"
1903 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1904 as_fn_error $? "pwd does not report name of working directory"
1905
1906
1907 # Find the source files, if location was not specified.
1908 if test -z "$srcdir"; then
1909 ac_srcdir_defaulted=yes
1910 # Try the directory containing this script, then the parent directory.
1911 ac_confdir=`$as_dirname -- "$as_myself" ||
1912 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1913 X"$as_myself" : 'X\(//\)[^/]' \| \
1914 X"$as_myself" : 'X\(//\)$' \| \
1915 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1916 $as_echo X"$as_myself" |
1917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1918 s//\1/
1919 q
1920 }
1921 /^X\(\/\/\)[^/].*/{
1922 s//\1/
1923 q
1924 }
1925 /^X\(\/\/\)$/{
1926 s//\1/
1927 q
1928 }
1929 /^X\(\/\).*/{
1930 s//\1/
1931 q
1932 }
1933 s/.*/./; q'`
1934 srcdir=$ac_confdir
1935 if test ! -r "$srcdir/$ac_unique_file"; then
1936 srcdir=..
1937 fi
1938 else
1939 ac_srcdir_defaulted=no
1940 fi
1941 if test ! -r "$srcdir/$ac_unique_file"; then
1942 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1943 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1944 fi
1945 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1946 ac_abs_confdir=`(
1947 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1948 pwd)`
1949 # When building in place, set srcdir=.
1950 if test "$ac_abs_confdir" = "$ac_pwd"; then
1951 srcdir=.
1952 fi
1953 # Remove unnecessary trailing slashes from srcdir.
1954 # Double slashes in file names in object file debugging info
1955 # mess up M-x gdb in Emacs.
1956 case $srcdir in
1957 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1958 esac
1959 for ac_var in $ac_precious_vars; do
1960 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1961 eval ac_env_${ac_var}_value=\$${ac_var}
1962 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1963 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1964 done
1965
1966 #
1967 # Report the --help message.
1968 #
1969 if test "$ac_init_help" = "long"; then
1970 # Omit some internal or obsolete options to make the list less imposing.
1971 # This message is too long to be a string in the A/UX 3.1 sh.
1972 cat <<_ACEOF
1973 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1974
1975 Usage: $0 [OPTION]... [VAR=VALUE]...
1976
1977 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1978 VAR=VALUE. See below for descriptions of some of the useful variables.
1979
1980 Defaults for the options are specified in brackets.
1981
1982 Configuration:
1983 -h, --help display this help and exit
1984 --help=short display options specific to this package
1985 --help=recursive display the short help of all the included packages
1986 -V, --version display version information and exit
1987 -q, --quiet, --silent do not print \`checking ...' messages
1988 --cache-file=FILE cache test results in FILE [disabled]
1989 -C, --config-cache alias for \`--cache-file=config.cache'
1990 -n, --no-create do not create output files
1991 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1992
1993 Installation directories:
1994 --prefix=PREFIX install architecture-independent files in PREFIX
1995 [$ac_default_prefix]
1996 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1997 [PREFIX]
1998
1999 By default, \`make install' will install all the files in
2000 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2001 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2002 for instance \`--prefix=\$HOME'.
2003
2004 For better control, use the options below.
2005
2006 Fine tuning of the installation directories:
2007 --bindir=DIR user executables [EPREFIX/bin]
2008 --sbindir=DIR system admin executables [EPREFIX/sbin]
2009 --libexecdir=DIR program executables [EPREFIX/libexec]
2010 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2011 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2012 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2013 --libdir=DIR object code libraries [EPREFIX/lib]
2014 --includedir=DIR C header files [PREFIX/include]
2015 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2016 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2017 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2018 --infodir=DIR info documentation [DATAROOTDIR/info]
2019 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2020 --mandir=DIR man documentation [DATAROOTDIR/man]
2021 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2022 --htmldir=DIR html documentation [DOCDIR]
2023 --dvidir=DIR dvi documentation [DOCDIR]
2024 --pdfdir=DIR pdf documentation [DOCDIR]
2025 --psdir=DIR ps documentation [DOCDIR]
2026 _ACEOF
2027
2028 cat <<\_ACEOF
2029
2030 X features:
2031 --x-includes=DIR X include files are in DIR
2032 --x-libraries=DIR X library files are in DIR
2033
2034 System types:
2035 --build=BUILD configure for building on BUILD [guessed]
2036 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2037 _ACEOF
2038 fi
2039
2040 if test -n "$ac_init_help"; then
2041 case $ac_init_help in
2042 short | recursive ) echo "Configuration of wxWidgets 2.9.5:";;
2043 esac
2044 cat <<\_ACEOF
2045
2046 Optional Features:
2047 --disable-option-checking ignore unrecognized --enable/--with options
2048 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2049 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2050 --disable-gui don't build GUI parts of the library
2051 --enable-monolithic build wxWidgets as single library
2052 --enable-plugins build parts of wxWidgets as loadable components
2053 --enable-official_build official build of wxWidgets (win32 DLL only)
2054 --enable-vendor=VENDOR vendor name (win32 DLL only)
2055 --disable-all-features disable all optional features to build minimal library
2056 --enable-universal use wxWidgets GUI controls instead of native ones
2057 --enable-nanox use NanoX
2058 --enable-gpe use GNOME PDA Environment features if possible
2059 --enable-debug build library for debugging
2060 --disable-debug_flag disable all debugging support
2061 --enable-debug_info generate debug information
2062 --enable-debug_gdb create code with extra GDB debugging information
2063 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
2064 --enable-mem_tracing obsolete, don't use: create code with memory tracing
2065 --disable-shared create static library instead of shared
2066 --enable-stl use standard C++ classes for everything
2067 --enable-std_containers use standard C++ container classes
2068 --enable-std_iostreams use standard C++ stream classes
2069 --enable-std_string use standard C++ string classes
2070 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2071 --disable-unicode compile without Unicode support
2072 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2073 --enable-utf8 use UTF-8 representation for strings (Unix only)
2074 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2075 --enable-extended_rtti use extended RTTI (XTI)
2076 --enable-omf use OMF object format
2077 --disable-optimise compile without optimisations
2078 --enable-profile create code with profiling information
2079 --enable-no_rtti create code without RTTI information
2080 --enable-no_exceptions create code without C++ exceptions handling
2081 --enable-permissive compile code disregarding strict ANSI
2082 --enable-no_deps create code without dependency information
2083 --disable-vararg_macros don't use vararg macros, even if they are supported
2084 --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
2085 --enable-macosx_arch=ARCH build for just the specified architecture
2086 --enable-compat26 enable wxWidgets 2.6 compatibility
2087 --disable-compat28 disable wxWidgets 2.8 compatibility
2088 --disable-rpath disable use of rpath for uninstalled builds
2089 --enable-objc_uniquifying enable Objective-C class name uniquifying
2090 --disable-visibility disable use of ELF symbols visibility even if supported
2091 --disable-tls disable use of compiler TLS support
2092 --enable-intl use internationalization system
2093 --enable-xlocale use x-locale support (requires wxLocale)
2094 --enable-config use wxConfig (and derived) classes
2095 --enable-protocols use wxProtocol and derived classes
2096 --enable-ftp use wxFTP (requires wxProtocol
2097 --enable-http use wxHTTP (requires wxProtocol
2098 --enable-fileproto use wxFileProto class (requires wxProtocol
2099 --enable-sockets use socket/network classes
2100 --enable-ipv6 enable IPv6 support in wxSocket
2101 --enable-ole use OLE classes (Win32 only)
2102 --enable-dataobj use data object classes
2103 --enable-ipc use interprocess communication (wxSocket etc.)
2104 --enable-baseevtloop use event loop in console programs too
2105 --enable-epollloop use wxEpollDispatcher class (Linux only)
2106 --enable-selectloop use wxSelectDispatcher class
2107 --enable-any use wxAny class
2108 --enable-apple_ieee use the Apple IEEE codec
2109 --enable-arcstream use wxArchive streams
2110 --enable-base64 use base64 encoding/decoding functions
2111 --enable-backtrace use wxStackWalker class for getting backtraces
2112 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
2113 --enable-cmdline use wxCmdLineParser class
2114 --enable-datetime use wxDateTime class
2115 --enable-debugreport use wxDebugReport class
2116 --enable-dialupman use dialup network classes
2117 --enable-dynlib use wxLibrary class for DLL loading
2118 --enable-dynamicloader use (new) wxDynamicLibrary class
2119 --enable-exceptions build exception-safe library
2120 --enable-ffile use wxFFile class
2121 --enable-file use wxFile class
2122 --enable-filehistory use wxFileHistory class
2123 --enable-filesystem use virtual file systems classes
2124 --enable-fontenum use wxFontEnumerator class
2125 --enable-fontmap use font encodings conversion classes
2126 --enable-fs_archive use virtual archive filesystems
2127 --enable-fs_inet use virtual HTTP/FTP filesystems
2128 --enable-fs_zip now replaced by fs_archive
2129 --enable-fsvolume use wxFSVolume class
2130 --enable-fswatcher use wxFileSystemWatcher class
2131 --enable-geometry use geometry class
2132 --enable-log use logging system
2133 --enable-longlong use wxLongLong class
2134 --enable-mimetype use wxMimeTypesManager
2135 --enable-printfposparam use wxVsnprintf() which supports positional parameters
2136 --enable-snglinst use wxSingleInstanceChecker class
2137 --enable-sound use wxSound class
2138 --enable-stdpaths use wxStandardPaths class
2139 --enable-stopwatch use wxStopWatch class
2140 --enable-streams use wxStream etc classes
2141 --enable-sysoptions use wxSystemOptions
2142 --enable-tarstream use wxTar streams
2143 --enable-textbuf use wxTextBuffer class
2144 --enable-textfile use wxTextFile class
2145 --enable-timer use wxTimer class
2146 --enable-variant use wxVariant class
2147 --enable-zipstream use wxZip streams
2148 --enable-url use wxURL class
2149 --enable-protocol use wxProtocol class
2150 --enable-protocol-http HTTP support in wxProtocol
2151 --enable-protocol-ftp FTP support in wxProtocol
2152 --enable-protocol-file FILE support in wxProtocol
2153 --enable-threads use threads
2154 --enable-iniconf use wxIniConfig (Win32 only)
2155 --enable-regkey use wxRegKey class (Win32 only)
2156 --enable-docview use document view architecture
2157 --enable-help use help subsystem
2158 --enable-mshtmlhelp use MS HTML Help (win32)
2159 --enable-html use wxHTML sub-library
2160 --enable-htmlhelp use wxHTML-based help
2161 --enable-xrc use XRC resources sub-library
2162 --enable-aui use AUI docking library
2163 --enable-propgrid use wxPropertyGrid library
2164 --enable-ribbon use wxRibbon library
2165 --enable-stc use wxStyledTextCtrl library
2166 --enable-constraints use layout-constraints system
2167 --enable-loggui use standard GUI logger
2168 --enable-logwin use wxLogWindow
2169 --enable-logdialog use wxLogDialog
2170 --enable-mdi use multiple document interface architecture
2171 --enable-mdidoc use docview architecture with MDI
2172 --enable-mediactrl use wxMediaCtrl class
2173 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
2174 --enable-richtext use wxRichTextCtrl
2175 --enable-postscript use wxPostscriptDC device context (default for gtk+)
2176 --enable-printarch use printing architecture
2177 --enable-svg use wxSVGFileDC device context
2178 --enable-webkit use wxWebKitCtrl (Mac-only, use wxWebView instead)
2179 --enable-webview use wxWebView library
2180 --enable-graphics_ctx use graphics context 2D drawing API
2181 --enable-clipboard use wxClipboard class
2182 --enable-dnd use Drag'n'Drop classes
2183 --disable-controls disable compilation of all standard controls
2184 --enable-markup support wxControl::SetLabelMarkup
2185 --enable-accel use accelerators
2186 --enable-animatectrl use wxAnimationCtrl class
2187 --enable-bannerwindow use wxBannerWindow class
2188 --enable-artstd use standard XPM icons in wxArtProvider
2189 --enable-arttango use Tango icons in wxArtProvider
2190 --enable-bmpbutton use wxBitmapButton class
2191 --enable-bmpcombobox use wxBitmapComboBox class
2192 --enable-button use wxButton class
2193 --enable-calendar use wxCalendarCtrl class
2194 --enable-caret use wxCaret class
2195 --enable-checkbox use wxCheckBox class
2196 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
2197 --enable-choice use wxChoice class
2198 --enable-choicebook use wxChoicebook class
2199 --enable-collpane use wxCollapsiblePane class
2200 --enable-colourpicker use wxColourPickerCtrl class
2201 --enable-combobox use wxComboBox class
2202 --enable-comboctrl use wxComboCtrl class
2203 --enable-commandlinkbutton use wxCommmandLinkButton class
2204 --enable-dataviewctrl use wxDataViewCtrl class
2205 --enable-datepick use wxDatePickerCtrl class
2206 --enable-detect_sm use code to detect X11 session manager
2207 --enable-dirpicker use wxDirPickerCtrl class
2208 --enable-display use wxDisplay class
2209 --enable-editablebox use wxEditableListBox class
2210 --enable-filectrl use wxFileCtrl class
2211 --enable-filepicker use wxFilePickerCtrl class
2212 --enable-fontpicker use wxFontPickerCtrl class
2213 --enable-gauge use wxGauge class
2214 --enable-grid use wxGrid class
2215 --enable-headerctrl use wxHeaderCtrl class
2216 --enable-hyperlink use wxHyperlinkCtrl class
2217 --enable-imaglist use wxImageList class
2218 --enable-infobar use wxInfoBar class
2219 --enable-listbook use wxListbook class
2220 --enable-listbox use wxListBox class
2221 --enable-listctrl use wxListCtrl class
2222 --enable-notebook use wxNotebook class
2223 --enable-notifmsg use wxNotificationMessage class
2224 --enable-odcombobox use wxOwnerDrawnComboBox class
2225 --enable-popupwin use wxPopUpWindow class
2226 --enable-prefseditor use wxPreferencesEditor class
2227 --enable-radiobox use wxRadioBox class
2228 --enable-radiobtn use wxRadioButton class
2229 --enable-richmsgdlg use wxRichMessageDialog class
2230 --enable-richtooltip use wxRichToolTip class
2231 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
2232 --enable-sash use wxSashWindow class
2233 --enable-scrollbar use wxScrollBar class and scrollable windows
2234 --enable-searchctrl use wxSearchCtrl class
2235 --enable-slider use wxSlider class
2236 --enable-spinbtn use wxSpinButton class
2237 --enable-spinctrl use wxSpinCtrl class
2238 --enable-splitter use wxSplitterWindow class
2239 --enable-statbmp use wxStaticBitmap class
2240 --enable-statbox use wxStaticBox class
2241 --enable-statline use wxStaticLine class
2242 --enable-stattext use wxStaticText class
2243 --enable-statusbar use wxStatusBar class
2244 --enable-taskbaricon use wxTaskBarIcon class
2245 --enable-tbarnative use native wxToolBar class
2246 --enable-textctrl use wxTextCtrl class
2247 --enable-timepick use wxTimePickerCtrl class
2248 --enable-tipwindow use wxTipWindow class
2249 --enable-togglebtn use wxToggleButton class
2250 --enable-toolbar use wxToolBar class
2251 --enable-toolbook use wxToolbook class
2252 --enable-treebook use wxTreebook class
2253 --enable-treectrl use wxTreeCtrl class
2254 --enable-treelist use wxTreeListCtrl class
2255 --enable-commondlg use all common dialogs
2256 --enable-aboutdlg use wxAboutBox
2257 --enable-choicedlg use wxChoiceDialog
2258 --enable-coldlg use wxColourDialog
2259 --enable-filedlg use wxFileDialog
2260 --enable-finddlg use wxFindReplaceDialog
2261 --enable-fontdlg use wxFontDialog
2262 --enable-dirdlg use wxDirDialog
2263 --enable-msgdlg use wxMessageDialog
2264 --enable-numberdlg use wxNumberEntryDialog
2265 --enable-splash use wxSplashScreen
2266 --enable-textdlg use wxTextDialog
2267 --enable-tipdlg use startup tips
2268 --enable-progressdlg use wxProgressDialog
2269 --enable-wizarddlg use wxWizard
2270 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
2271 --enable-miniframe use wxMiniFrame class
2272 --enable-tooltips use wxToolTip class
2273 --enable-splines use spline drawing code
2274 --enable-mousewheel use mousewheel
2275 --enable-validators use wxValidator and derived classes
2276 --enable-busyinfo use wxBusyInfo
2277 --enable-hotkey use wxWindow::RegisterHotKey()
2278 --enable-joystick use wxJoystick
2279 --enable-metafiles use wxMetaFile
2280 --enable-dragimage use wxDragImage
2281 --enable-accessibility enable accessibility support
2282 --enable-uiactionsim use wxUIActionSimulator (experimental)
2283 --enable-dctransform use wxDC::SetTransformMatrix and related
2284 --enable-webviewwebkit use wxWebView WebKit backend
2285 --enable-palette use wxPalette class
2286 --enable-image use wxImage class
2287 --enable-gif use gif images (GIF file format)
2288 --enable-pcx use pcx images (PCX file format)
2289 --enable-tga use tga images (TGA file format)
2290 --enable-iff use iff images (IFF file format)
2291 --enable-pnm use pnm images (PNM file format)
2292 --enable-xpm use xpm images (XPM file format)
2293 --enable-ico_cur use Windows ICO and CUR formats
2294 --enable-dccache cache temporary wxDC objects (Win32 only)
2295 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
2296 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
2297 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
2298 --enable-wxdib use wxDIB class (Win32 only)
2299 --enable-webviewie use wxWebView IE backend (Win32 only)
2300 --enable-autoidman use automatic ids management
2301 --disable-largefile omit support for large files
2302 --disable-gtktest do not try to compile and run a test GTK+ program
2303 --disable-gtktest Do not try to compile and run a test GTK program
2304 --disable-sdltest Do not try to compile and run a test SDL program
2305 --enable-omf use OMF object format (OS/2)
2306 --disable-dependency-tracking
2307 don't use dependency tracking even if the compiler
2308 can
2309 --disable-precomp-headers
2310 don't use precompiled headers even if compiler can
2311
2312 Optional Packages:
2313 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2314 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2315 --without-subdirs don't generate makefiles for samples/demos/...
2316 --with-flavour=NAME specify a name to identify this build
2317 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2318 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2319 --with-motif use Motif/Lesstif
2320 --with-osx_carbon use Mac OS X (Carbon)
2321 --with-osx_cocoa use Mac OS X (Cocoa)
2322 --with-osx_iphone use iPhone OS X port
2323 --with-osx use Mac OS X (default port, currently Carbon)
2324 --with-carbon same as --with-osx_carbon
2325 --with-cocoa same as --with-osx_cocoa
2326 --with-iphone same as --with-osx_iphone
2327 --with-mac same as --with-osx
2328 --with-old_cocoa use old, deprecated, Cocoa port
2329 --with-wine use Wine
2330 --with-msw use MS-Windows
2331 --with-pm use OS/2 Presentation Manager
2332 --with-directfb use DirectFB
2333 --with-microwin use MicroWindows
2334 --with-x11 use X11
2335 --with-libpng use libpng (PNG image format)
2336 --with-libjpeg use libjpeg (JPEG file format)
2337 --with-libtiff use libtiff (TIFF file format)
2338 --without-libjbig don't use libjbig in libtiff even if available)
2339 --without-liblzma don't use liblzma in libtiff even if available)
2340 --with-libxpm use libxpm (XPM file format)
2341 --with-libiconv use libiconv (character conversion)
2342 --with-libmspack use libmspack (CHM help files loading)
2343 --without-gtkprint don't use GTK printing support
2344 --without-gnomeprint don't use GNOME printing libraries
2345 --with-gnomevfs use GNOME VFS for associating MIME types
2346 --with-libnotify use libnotify for notifications
2347 --with-hildon use Hildon framework for Nokia 770/800/810
2348 --with-opengl use OpenGL (or Mesa)
2349 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2350 --with-sdl use SDL for audio on Unix
2351 --with-regex enable support for wxRegEx class
2352 --with-zlib use zlib for LZW compression
2353 --with-expat enable XML support using expat parser
2354 --with-macosx-sdk=PATH use an OS X SDK at PATH
2355 --with-macosx-version-min=VER build binaries which require at least this OS X version
2356 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2357 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2358 --with-x use the X Window System
2359 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2360 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2361 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2362 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2363 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2364
2365 Some influential environment variables:
2366 CC C compiler command
2367 CFLAGS C compiler flags
2368 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2369 nonstandard directory <lib dir>
2370 LIBS libraries to pass to the linker, e.g. -l<library>
2371 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2372 you have headers in a nonstandard directory <include dir>
2373 CPP C preprocessor
2374 CXX C++ compiler command
2375 CXXFLAGS C++ compiler flags
2376 CXXCPP C++ preprocessor
2377 PKG_CONFIG path to pkg-config utility
2378 DIRECTFB_CFLAGS
2379 C compiler flags for DIRECTFB, overriding pkg-config
2380 DIRECTFB_LIBS
2381 linker flags for DIRECTFB, overriding pkg-config
2382 XMKMF Path to xmkmf, Makefile generator for X Window System
2383 PANGOX_CFLAGS
2384 C compiler flags for PANGOX, overriding pkg-config
2385 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2386 PANGOFT2_CFLAGS
2387 C compiler flags for PANGOFT2, overriding pkg-config
2388 PANGOFT2_LIBS
2389 linker flags for PANGOFT2, overriding pkg-config
2390 PANGOXFT_CFLAGS
2391 C compiler flags for PANGOXFT, overriding pkg-config
2392 PANGOXFT_LIBS
2393 linker flags for PANGOXFT, overriding pkg-config
2394 Xinerama_CFLAGS
2395 C compiler flags for Xinerama, overriding pkg-config
2396 Xinerama_LIBS
2397 linker flags for Xinerama, overriding pkg-config
2398 Xxf86vm_CFLAGS
2399 C compiler flags for Xxf86vm, overriding pkg-config
2400 Xxf86vm_LIBS
2401 linker flags for Xxf86vm, overriding pkg-config
2402 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2403 SM_LIBS linker flags for SM, overriding pkg-config
2404 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2405 GL_LIBS linker flags for GL, overriding pkg-config
2406 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2407 GLU_LIBS linker flags for GLU, overriding pkg-config
2408 MesaGL_CFLAGS
2409 C compiler flags for MesaGL, overriding pkg-config
2410 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2411 GTKPRINT_CFLAGS
2412 C compiler flags for GTKPRINT, overriding pkg-config
2413 GTKPRINT_LIBS
2414 linker flags for GTKPRINT, overriding pkg-config
2415 LIBGNOMEPRINTUI_CFLAGS
2416 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2417 LIBGNOMEPRINTUI_LIBS
2418 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2419 GNOMEVFS_CFLAGS
2420 C compiler flags for GNOMEVFS, overriding pkg-config
2421 GNOMEVFS_LIBS
2422 linker flags for GNOMEVFS, overriding pkg-config
2423 LIBNOTIFY_CFLAGS
2424 C compiler flags for LIBNOTIFY, overriding pkg-config
2425 LIBNOTIFY_LIBS
2426 linker flags for LIBNOTIFY, overriding pkg-config
2427 HILDON_CFLAGS
2428 C compiler flags for HILDON, overriding pkg-config
2429 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2430 HILDON2_CFLAGS
2431 C compiler flags for HILDON2, overriding pkg-config
2432 HILDON2_LIBS
2433 linker flags for HILDON2, overriding pkg-config
2434 WEBKIT_CFLAGS
2435 C compiler flags for WEBKIT, overriding pkg-config
2436 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2437 CAIRO_CFLAGS
2438 C compiler flags for CAIRO, overriding pkg-config
2439 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2440 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2441 GST_LIBS linker flags for GST, overriding pkg-config
2442
2443 Use these variables to override the choices made by `configure' or to help
2444 it to find libraries and programs with nonstandard names/locations.
2445
2446 Report bugs to <wx-dev@lists.wxwidgets.org>.
2447 _ACEOF
2448 ac_status=$?
2449 fi
2450
2451 if test "$ac_init_help" = "recursive"; then
2452 # If there are subdirs, report their specific --help.
2453 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2454 test -d "$ac_dir" ||
2455 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2456 continue
2457 ac_builddir=.
2458
2459 case "$ac_dir" in
2460 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2461 *)
2462 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2463 # A ".." for each directory in $ac_dir_suffix.
2464 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2465 case $ac_top_builddir_sub in
2466 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2467 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2468 esac ;;
2469 esac
2470 ac_abs_top_builddir=$ac_pwd
2471 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2472 # for backward compatibility:
2473 ac_top_builddir=$ac_top_build_prefix
2474
2475 case $srcdir in
2476 .) # We are building in place.
2477 ac_srcdir=.
2478 ac_top_srcdir=$ac_top_builddir_sub
2479 ac_abs_top_srcdir=$ac_pwd ;;
2480 [\\/]* | ?:[\\/]* ) # Absolute name.
2481 ac_srcdir=$srcdir$ac_dir_suffix;
2482 ac_top_srcdir=$srcdir
2483 ac_abs_top_srcdir=$srcdir ;;
2484 *) # Relative name.
2485 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2486 ac_top_srcdir=$ac_top_build_prefix$srcdir
2487 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2488 esac
2489 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2490
2491 cd "$ac_dir" || { ac_status=$?; continue; }
2492 # Check for guested configure.
2493 if test -f "$ac_srcdir/configure.gnu"; then
2494 echo &&
2495 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2496 elif test -f "$ac_srcdir/configure"; then
2497 echo &&
2498 $SHELL "$ac_srcdir/configure" --help=recursive
2499 else
2500 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2501 fi || ac_status=$?
2502 cd "$ac_pwd" || { ac_status=$?; break; }
2503 done
2504 fi
2505
2506 test -n "$ac_init_help" && exit $ac_status
2507 if $ac_init_version; then
2508 cat <<\_ACEOF
2509 wxWidgets configure 2.9.5
2510 generated by GNU Autoconf 2.69
2511
2512 Copyright (C) 2012 Free Software Foundation, Inc.
2513 This configure script is free software; the Free Software Foundation
2514 gives unlimited permission to copy, distribute and modify it.
2515 _ACEOF
2516 exit
2517 fi
2518
2519 ## ------------------------ ##
2520 ## Autoconf initialization. ##
2521 ## ------------------------ ##
2522
2523 # ac_fn_c_try_compile LINENO
2524 # --------------------------
2525 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2526 ac_fn_c_try_compile ()
2527 {
2528 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2529 rm -f conftest.$ac_objext
2530 if { { ac_try="$ac_compile"
2531 case "(($ac_try" in
2532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2533 *) ac_try_echo=$ac_try;;
2534 esac
2535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2536 $as_echo "$ac_try_echo"; } >&5
2537 (eval "$ac_compile") 2>conftest.err
2538 ac_status=$?
2539 if test -s conftest.err; then
2540 grep -v '^ *+' conftest.err >conftest.er1
2541 cat conftest.er1 >&5
2542 mv -f conftest.er1 conftest.err
2543 fi
2544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2545 test $ac_status = 0; } && {
2546 test -z "$ac_c_werror_flag" ||
2547 test ! -s conftest.err
2548 } && test -s conftest.$ac_objext; then :
2549 ac_retval=0
2550 else
2551 $as_echo "$as_me: failed program was:" >&5
2552 sed 's/^/| /' conftest.$ac_ext >&5
2553
2554 ac_retval=1
2555 fi
2556 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2557 as_fn_set_status $ac_retval
2558
2559 } # ac_fn_c_try_compile
2560
2561 # ac_fn_c_try_cpp LINENO
2562 # ----------------------
2563 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2564 ac_fn_c_try_cpp ()
2565 {
2566 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2567 if { { ac_try="$ac_cpp conftest.$ac_ext"
2568 case "(($ac_try" in
2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570 *) ac_try_echo=$ac_try;;
2571 esac
2572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573 $as_echo "$ac_try_echo"; } >&5
2574 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2575 ac_status=$?
2576 if test -s conftest.err; then
2577 grep -v '^ *+' conftest.err >conftest.er1
2578 cat conftest.er1 >&5
2579 mv -f conftest.er1 conftest.err
2580 fi
2581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2582 test $ac_status = 0; } > conftest.i && {
2583 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2584 test ! -s conftest.err
2585 }; then :
2586 ac_retval=0
2587 else
2588 $as_echo "$as_me: failed program was:" >&5
2589 sed 's/^/| /' conftest.$ac_ext >&5
2590
2591 ac_retval=1
2592 fi
2593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2594 as_fn_set_status $ac_retval
2595
2596 } # ac_fn_c_try_cpp
2597
2598 # ac_fn_cxx_try_compile LINENO
2599 # ----------------------------
2600 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2601 ac_fn_cxx_try_compile ()
2602 {
2603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2604 rm -f conftest.$ac_objext
2605 if { { ac_try="$ac_compile"
2606 case "(($ac_try" in
2607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2608 *) ac_try_echo=$ac_try;;
2609 esac
2610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2611 $as_echo "$ac_try_echo"; } >&5
2612 (eval "$ac_compile") 2>conftest.err
2613 ac_status=$?
2614 if test -s conftest.err; then
2615 grep -v '^ *+' conftest.err >conftest.er1
2616 cat conftest.er1 >&5
2617 mv -f conftest.er1 conftest.err
2618 fi
2619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2620 test $ac_status = 0; } && {
2621 test -z "$ac_cxx_werror_flag" ||
2622 test ! -s conftest.err
2623 } && test -s conftest.$ac_objext; then :
2624 ac_retval=0
2625 else
2626 $as_echo "$as_me: failed program was:" >&5
2627 sed 's/^/| /' conftest.$ac_ext >&5
2628
2629 ac_retval=1
2630 fi
2631 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2632 as_fn_set_status $ac_retval
2633
2634 } # ac_fn_cxx_try_compile
2635
2636 # ac_fn_c_try_link LINENO
2637 # -----------------------
2638 # Try to link conftest.$ac_ext, and return whether this succeeded.
2639 ac_fn_c_try_link ()
2640 {
2641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2642 rm -f conftest.$ac_objext conftest$ac_exeext
2643 if { { ac_try="$ac_link"
2644 case "(($ac_try" in
2645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2646 *) ac_try_echo=$ac_try;;
2647 esac
2648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2649 $as_echo "$ac_try_echo"; } >&5
2650 (eval "$ac_link") 2>conftest.err
2651 ac_status=$?
2652 if test -s conftest.err; then
2653 grep -v '^ *+' conftest.err >conftest.er1
2654 cat conftest.er1 >&5
2655 mv -f conftest.er1 conftest.err
2656 fi
2657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2658 test $ac_status = 0; } && {
2659 test -z "$ac_c_werror_flag" ||
2660 test ! -s conftest.err
2661 } && test -s conftest$ac_exeext && {
2662 test "$cross_compiling" = yes ||
2663 test -x conftest$ac_exeext
2664 }; then :
2665 ac_retval=0
2666 else
2667 $as_echo "$as_me: failed program was:" >&5
2668 sed 's/^/| /' conftest.$ac_ext >&5
2669
2670 ac_retval=1
2671 fi
2672 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2673 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2674 # interfere with the next link command; also delete a directory that is
2675 # left behind by Apple's compiler. We do this before executing the actions.
2676 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2678 as_fn_set_status $ac_retval
2679
2680 } # ac_fn_c_try_link
2681
2682 # ac_fn_cxx_try_link LINENO
2683 # -------------------------
2684 # Try to link conftest.$ac_ext, and return whether this succeeded.
2685 ac_fn_cxx_try_link ()
2686 {
2687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2688 rm -f conftest.$ac_objext conftest$ac_exeext
2689 if { { ac_try="$ac_link"
2690 case "(($ac_try" in
2691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2692 *) ac_try_echo=$ac_try;;
2693 esac
2694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2695 $as_echo "$ac_try_echo"; } >&5
2696 (eval "$ac_link") 2>conftest.err
2697 ac_status=$?
2698 if test -s conftest.err; then
2699 grep -v '^ *+' conftest.err >conftest.er1
2700 cat conftest.er1 >&5
2701 mv -f conftest.er1 conftest.err
2702 fi
2703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2704 test $ac_status = 0; } && {
2705 test -z "$ac_cxx_werror_flag" ||
2706 test ! -s conftest.err
2707 } && test -s conftest$ac_exeext && {
2708 test "$cross_compiling" = yes ||
2709 test -x conftest$ac_exeext
2710 }; then :
2711 ac_retval=0
2712 else
2713 $as_echo "$as_me: failed program was:" >&5
2714 sed 's/^/| /' conftest.$ac_ext >&5
2715
2716 ac_retval=1
2717 fi
2718 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2719 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2720 # interfere with the next link command; also delete a directory that is
2721 # left behind by Apple's compiler. We do this before executing the actions.
2722 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2723 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2724 as_fn_set_status $ac_retval
2725
2726 } # ac_fn_cxx_try_link
2727
2728 # ac_fn_c_try_run LINENO
2729 # ----------------------
2730 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2731 # that executables *can* be run.
2732 ac_fn_c_try_run ()
2733 {
2734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2735 if { { ac_try="$ac_link"
2736 case "(($ac_try" in
2737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2738 *) ac_try_echo=$ac_try;;
2739 esac
2740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2741 $as_echo "$ac_try_echo"; } >&5
2742 (eval "$ac_link") 2>&5
2743 ac_status=$?
2744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2745 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2746 { { case "(($ac_try" in
2747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2748 *) ac_try_echo=$ac_try;;
2749 esac
2750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2751 $as_echo "$ac_try_echo"; } >&5
2752 (eval "$ac_try") 2>&5
2753 ac_status=$?
2754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2755 test $ac_status = 0; }; }; then :
2756 ac_retval=0
2757 else
2758 $as_echo "$as_me: program exited with status $ac_status" >&5
2759 $as_echo "$as_me: failed program was:" >&5
2760 sed 's/^/| /' conftest.$ac_ext >&5
2761
2762 ac_retval=$ac_status
2763 fi
2764 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2766 as_fn_set_status $ac_retval
2767
2768 } # ac_fn_c_try_run
2769
2770 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2771 # -------------------------------------------------------
2772 # Tests whether HEADER exists and can be compiled using the include files in
2773 # INCLUDES, setting the cache variable VAR accordingly.
2774 ac_fn_c_check_header_compile ()
2775 {
2776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2778 $as_echo_n "checking for $2... " >&6; }
2779 if eval \${$3+:} false; then :
2780 $as_echo_n "(cached) " >&6
2781 else
2782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2783 /* end confdefs.h. */
2784 $4
2785 #include <$2>
2786 _ACEOF
2787 if ac_fn_c_try_compile "$LINENO"; then :
2788 eval "$3=yes"
2789 else
2790 eval "$3=no"
2791 fi
2792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2793 fi
2794 eval ac_res=\$$3
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2796 $as_echo "$ac_res" >&6; }
2797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2798
2799 } # ac_fn_c_check_header_compile
2800
2801 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2802 # ---------------------------------------------------------
2803 # Tests whether HEADER exists and can be compiled using the include files in
2804 # INCLUDES, setting the cache variable VAR accordingly.
2805 ac_fn_cxx_check_header_compile ()
2806 {
2807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2809 $as_echo_n "checking for $2... " >&6; }
2810 if eval \${$3+:} false; then :
2811 $as_echo_n "(cached) " >&6
2812 else
2813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2814 /* end confdefs.h. */
2815 $4
2816 #include <$2>
2817 _ACEOF
2818 if ac_fn_cxx_try_compile "$LINENO"; then :
2819 eval "$3=yes"
2820 else
2821 eval "$3=no"
2822 fi
2823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2824 fi
2825 eval ac_res=\$$3
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2827 $as_echo "$ac_res" >&6; }
2828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2829
2830 } # ac_fn_cxx_check_header_compile
2831
2832 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2833 # --------------------------------------------
2834 # Tries to find the compile-time value of EXPR in a program that includes
2835 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2836 # computed
2837 ac_fn_c_compute_int ()
2838 {
2839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2840 if test "$cross_compiling" = yes; then
2841 # Depending upon the size, compute the lo and hi bounds.
2842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2843 /* end confdefs.h. */
2844 $4
2845 int
2846 main ()
2847 {
2848 static int test_array [1 - 2 * !(($2) >= 0)];
2849 test_array [0] = 0;
2850 return test_array [0];
2851
2852 ;
2853 return 0;
2854 }
2855 _ACEOF
2856 if ac_fn_c_try_compile "$LINENO"; then :
2857 ac_lo=0 ac_mid=0
2858 while :; do
2859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2860 /* end confdefs.h. */
2861 $4
2862 int
2863 main ()
2864 {
2865 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2866 test_array [0] = 0;
2867 return test_array [0];
2868
2869 ;
2870 return 0;
2871 }
2872 _ACEOF
2873 if ac_fn_c_try_compile "$LINENO"; then :
2874 ac_hi=$ac_mid; break
2875 else
2876 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2877 if test $ac_lo -le $ac_mid; then
2878 ac_lo= ac_hi=
2879 break
2880 fi
2881 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2882 fi
2883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2884 done
2885 else
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2888 $4
2889 int
2890 main ()
2891 {
2892 static int test_array [1 - 2 * !(($2) < 0)];
2893 test_array [0] = 0;
2894 return test_array [0];
2895
2896 ;
2897 return 0;
2898 }
2899 _ACEOF
2900 if ac_fn_c_try_compile "$LINENO"; then :
2901 ac_hi=-1 ac_mid=-1
2902 while :; do
2903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2904 /* end confdefs.h. */
2905 $4
2906 int
2907 main ()
2908 {
2909 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2910 test_array [0] = 0;
2911 return test_array [0];
2912
2913 ;
2914 return 0;
2915 }
2916 _ACEOF
2917 if ac_fn_c_try_compile "$LINENO"; then :
2918 ac_lo=$ac_mid; break
2919 else
2920 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2921 if test $ac_mid -le $ac_hi; then
2922 ac_lo= ac_hi=
2923 break
2924 fi
2925 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2926 fi
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928 done
2929 else
2930 ac_lo= ac_hi=
2931 fi
2932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2933 fi
2934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2935 # Binary search between lo and hi bounds.
2936 while test "x$ac_lo" != "x$ac_hi"; do
2937 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2939 /* end confdefs.h. */
2940 $4
2941 int
2942 main ()
2943 {
2944 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2945 test_array [0] = 0;
2946 return test_array [0];
2947
2948 ;
2949 return 0;
2950 }
2951 _ACEOF
2952 if ac_fn_c_try_compile "$LINENO"; then :
2953 ac_hi=$ac_mid
2954 else
2955 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2956 fi
2957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2958 done
2959 case $ac_lo in #((
2960 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2961 '') ac_retval=1 ;;
2962 esac
2963 else
2964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2965 /* end confdefs.h. */
2966 $4
2967 static long int longval () { return $2; }
2968 static unsigned long int ulongval () { return $2; }
2969 #include <stdio.h>
2970 #include <stdlib.h>
2971 int
2972 main ()
2973 {
2974
2975 FILE *f = fopen ("conftest.val", "w");
2976 if (! f)
2977 return 1;
2978 if (($2) < 0)
2979 {
2980 long int i = longval ();
2981 if (i != ($2))
2982 return 1;
2983 fprintf (f, "%ld", i);
2984 }
2985 else
2986 {
2987 unsigned long int i = ulongval ();
2988 if (i != ($2))
2989 return 1;
2990 fprintf (f, "%lu", i);
2991 }
2992 /* Do not output a trailing newline, as this causes \r\n confusion
2993 on some platforms. */
2994 return ferror (f) || fclose (f) != 0;
2995
2996 ;
2997 return 0;
2998 }
2999 _ACEOF
3000 if ac_fn_c_try_run "$LINENO"; then :
3001 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3002 else
3003 ac_retval=1
3004 fi
3005 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3006 conftest.$ac_objext conftest.beam conftest.$ac_ext
3007 rm -f conftest.val
3008
3009 fi
3010 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3011 as_fn_set_status $ac_retval
3012
3013 } # ac_fn_c_compute_int
3014
3015 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3016 # ---------------------------------------------
3017 # Tests whether TYPE exists after having included INCLUDES, setting cache
3018 # variable VAR accordingly.
3019 ac_fn_cxx_check_type ()
3020 {
3021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3023 $as_echo_n "checking for $2... " >&6; }
3024 if eval \${$3+:} false; then :
3025 $as_echo_n "(cached) " >&6
3026 else
3027 eval "$3=no"
3028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3029 /* end confdefs.h. */
3030 $4
3031 int
3032 main ()
3033 {
3034 if (sizeof ($2))
3035 return 0;
3036 ;
3037 return 0;
3038 }
3039 _ACEOF
3040 if ac_fn_cxx_try_compile "$LINENO"; then :
3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h. */
3043 $4
3044 int
3045 main ()
3046 {
3047 if (sizeof (($2)))
3048 return 0;
3049 ;
3050 return 0;
3051 }
3052 _ACEOF
3053 if ac_fn_cxx_try_compile "$LINENO"; then :
3054
3055 else
3056 eval "$3=yes"
3057 fi
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3059 fi
3060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3061 fi
3062 eval ac_res=\$$3
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3064 $as_echo "$ac_res" >&6; }
3065 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3066
3067 } # ac_fn_cxx_check_type
3068
3069 # ac_fn_cxx_try_cpp LINENO
3070 # ------------------------
3071 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3072 ac_fn_cxx_try_cpp ()
3073 {
3074 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3075 if { { ac_try="$ac_cpp conftest.$ac_ext"
3076 case "(($ac_try" in
3077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3078 *) ac_try_echo=$ac_try;;
3079 esac
3080 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3081 $as_echo "$ac_try_echo"; } >&5
3082 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3083 ac_status=$?
3084 if test -s conftest.err; then
3085 grep -v '^ *+' conftest.err >conftest.er1
3086 cat conftest.er1 >&5
3087 mv -f conftest.er1 conftest.err
3088 fi
3089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3090 test $ac_status = 0; } > conftest.i && {
3091 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3092 test ! -s conftest.err
3093 }; then :
3094 ac_retval=0
3095 else
3096 $as_echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.$ac_ext >&5
3098
3099 ac_retval=1
3100 fi
3101 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3102 as_fn_set_status $ac_retval
3103
3104 } # ac_fn_cxx_try_cpp
3105
3106 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3107 # ---------------------------------------------------------
3108 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3109 # the include files in INCLUDES and setting the cache variable VAR
3110 # accordingly.
3111 ac_fn_cxx_check_header_mongrel ()
3112 {
3113 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3114 if eval \${$3+:} false; then :
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3116 $as_echo_n "checking for $2... " >&6; }
3117 if eval \${$3+:} false; then :
3118 $as_echo_n "(cached) " >&6
3119 fi
3120 eval ac_res=\$$3
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3122 $as_echo "$ac_res" >&6; }
3123 else
3124 # Is the header compilable?
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3126 $as_echo_n "checking $2 usability... " >&6; }
3127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3128 /* end confdefs.h. */
3129 $4
3130 #include <$2>
3131 _ACEOF
3132 if ac_fn_cxx_try_compile "$LINENO"; then :
3133 ac_header_compiler=yes
3134 else
3135 ac_header_compiler=no
3136 fi
3137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3139 $as_echo "$ac_header_compiler" >&6; }
3140
3141 # Is the header present?
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3143 $as_echo_n "checking $2 presence... " >&6; }
3144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3145 /* end confdefs.h. */
3146 #include <$2>
3147 _ACEOF
3148 if ac_fn_cxx_try_cpp "$LINENO"; then :
3149 ac_header_preproc=yes
3150 else
3151 ac_header_preproc=no
3152 fi
3153 rm -f conftest.err conftest.i conftest.$ac_ext
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3155 $as_echo "$ac_header_preproc" >&6; }
3156
3157 # So? What about this header?
3158 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3159 yes:no: )
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3161 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3163 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3164 ;;
3165 no:yes:* )
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3167 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3169 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3171 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3173 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3175 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3176 ( $as_echo "## ----------------------------------------- ##
3177 ## Report this to wx-dev@lists.wxwidgets.org ##
3178 ## ----------------------------------------- ##"
3179 ) | sed "s/^/$as_me: WARNING: /" >&2
3180 ;;
3181 esac
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3183 $as_echo_n "checking for $2... " >&6; }
3184 if eval \${$3+:} false; then :
3185 $as_echo_n "(cached) " >&6
3186 else
3187 eval "$3=\$ac_header_compiler"
3188 fi
3189 eval ac_res=\$$3
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3191 $as_echo "$ac_res" >&6; }
3192 fi
3193 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3194
3195 } # ac_fn_cxx_check_header_mongrel
3196
3197 # ac_fn_c_check_func LINENO FUNC VAR
3198 # ----------------------------------
3199 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3200 ac_fn_c_check_func ()
3201 {
3202 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3204 $as_echo_n "checking for $2... " >&6; }
3205 if eval \${$3+:} false; then :
3206 $as_echo_n "(cached) " >&6
3207 else
3208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3209 /* end confdefs.h. */
3210 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3212 #define $2 innocuous_$2
3213
3214 /* System header to define __stub macros and hopefully few prototypes,
3215 which can conflict with char $2 (); below.
3216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3217 <limits.h> exists even on freestanding compilers. */
3218
3219 #ifdef __STDC__
3220 # include <limits.h>
3221 #else
3222 # include <assert.h>
3223 #endif
3224
3225 #undef $2
3226
3227 /* Override any GCC internal prototype to avoid an error.
3228 Use char because int might match the return type of a GCC
3229 builtin and then its argument prototype would still apply. */
3230 #ifdef __cplusplus
3231 extern "C"
3232 #endif
3233 char $2 ();
3234 /* The GNU C library defines this for functions which it implements
3235 to always fail with ENOSYS. Some functions are actually named
3236 something starting with __ and the normal name is an alias. */
3237 #if defined __stub_$2 || defined __stub___$2
3238 choke me
3239 #endif
3240
3241 int
3242 main ()
3243 {
3244 return $2 ();
3245 ;
3246 return 0;
3247 }
3248 _ACEOF
3249 if ac_fn_c_try_link "$LINENO"; then :
3250 eval "$3=yes"
3251 else
3252 eval "$3=no"
3253 fi
3254 rm -f core conftest.err conftest.$ac_objext \
3255 conftest$ac_exeext conftest.$ac_ext
3256 fi
3257 eval ac_res=\$$3
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3259 $as_echo "$ac_res" >&6; }
3260 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3261
3262 } # ac_fn_c_check_func
3263
3264 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3265 # -------------------------------------------
3266 # Tests whether TYPE exists after having included INCLUDES, setting cache
3267 # variable VAR accordingly.
3268 ac_fn_c_check_type ()
3269 {
3270 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3272 $as_echo_n "checking for $2... " >&6; }
3273 if eval \${$3+:} false; then :
3274 $as_echo_n "(cached) " >&6
3275 else
3276 eval "$3=no"
3277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3279 $4
3280 int
3281 main ()
3282 {
3283 if (sizeof ($2))
3284 return 0;
3285 ;
3286 return 0;
3287 }
3288 _ACEOF
3289 if ac_fn_c_try_compile "$LINENO"; then :
3290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3291 /* end confdefs.h. */
3292 $4
3293 int
3294 main ()
3295 {
3296 if (sizeof (($2)))
3297 return 0;
3298 ;
3299 return 0;
3300 }
3301 _ACEOF
3302 if ac_fn_c_try_compile "$LINENO"; then :
3303
3304 else
3305 eval "$3=yes"
3306 fi
3307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3308 fi
3309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310 fi
3311 eval ac_res=\$$3
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3313 $as_echo "$ac_res" >&6; }
3314 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3315
3316 } # ac_fn_c_check_type
3317
3318 # ac_fn_cxx_try_run LINENO
3319 # ------------------------
3320 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3321 # that executables *can* be run.
3322 ac_fn_cxx_try_run ()
3323 {
3324 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3325 if { { ac_try="$ac_link"
3326 case "(($ac_try" in
3327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3328 *) ac_try_echo=$ac_try;;
3329 esac
3330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331 $as_echo "$ac_try_echo"; } >&5
3332 (eval "$ac_link") 2>&5
3333 ac_status=$?
3334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3336 { { case "(($ac_try" in
3337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3338 *) ac_try_echo=$ac_try;;
3339 esac
3340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3341 $as_echo "$ac_try_echo"; } >&5
3342 (eval "$ac_try") 2>&5
3343 ac_status=$?
3344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3345 test $ac_status = 0; }; }; then :
3346 ac_retval=0
3347 else
3348 $as_echo "$as_me: program exited with status $ac_status" >&5
3349 $as_echo "$as_me: failed program was:" >&5
3350 sed 's/^/| /' conftest.$ac_ext >&5
3351
3352 ac_retval=$ac_status
3353 fi
3354 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3355 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3356 as_fn_set_status $ac_retval
3357
3358 } # ac_fn_cxx_try_run
3359 cat >config.log <<_ACEOF
3360 This file contains any messages produced by compilers while
3361 running configure, to aid debugging if configure makes a mistake.
3362
3363 It was created by wxWidgets $as_me 2.9.5, which was
3364 generated by GNU Autoconf 2.69. Invocation command line was
3365
3366 $ $0 $@
3367
3368 _ACEOF
3369 exec 5>>config.log
3370 {
3371 cat <<_ASUNAME
3372 ## --------- ##
3373 ## Platform. ##
3374 ## --------- ##
3375
3376 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3377 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3378 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3379 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3380 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3381
3382 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3383 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3384
3385 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3386 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3387 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3388 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3389 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3390 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3391 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3392
3393 _ASUNAME
3394
3395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3396 for as_dir in $PATH
3397 do
3398 IFS=$as_save_IFS
3399 test -z "$as_dir" && as_dir=.
3400 $as_echo "PATH: $as_dir"
3401 done
3402 IFS=$as_save_IFS
3403
3404 } >&5
3405
3406 cat >&5 <<_ACEOF
3407
3408
3409 ## ----------- ##
3410 ## Core tests. ##
3411 ## ----------- ##
3412
3413 _ACEOF
3414
3415
3416 # Keep a trace of the command line.
3417 # Strip out --no-create and --no-recursion so they do not pile up.
3418 # Strip out --silent because we don't want to record it for future runs.
3419 # Also quote any args containing shell meta-characters.
3420 # Make two passes to allow for proper duplicate-argument suppression.
3421 ac_configure_args=
3422 ac_configure_args0=
3423 ac_configure_args1=
3424 ac_must_keep_next=false
3425 for ac_pass in 1 2
3426 do
3427 for ac_arg
3428 do
3429 case $ac_arg in
3430 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3431 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3432 | -silent | --silent | --silen | --sile | --sil)
3433 continue ;;
3434 *\'*)
3435 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3436 esac
3437 case $ac_pass in
3438 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3439 2)
3440 as_fn_append ac_configure_args1 " '$ac_arg'"
3441 if test $ac_must_keep_next = true; then
3442 ac_must_keep_next=false # Got value, back to normal.
3443 else
3444 case $ac_arg in
3445 *=* | --config-cache | -C | -disable-* | --disable-* \
3446 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3447 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3448 | -with-* | --with-* | -without-* | --without-* | --x)
3449 case "$ac_configure_args0 " in
3450 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3451 esac
3452 ;;
3453 -* ) ac_must_keep_next=true ;;
3454 esac
3455 fi
3456 as_fn_append ac_configure_args " '$ac_arg'"
3457 ;;
3458 esac
3459 done
3460 done
3461 { ac_configure_args0=; unset ac_configure_args0;}
3462 { ac_configure_args1=; unset ac_configure_args1;}
3463
3464 # When interrupted or exit'd, cleanup temporary files, and complete
3465 # config.log. We remove comments because anyway the quotes in there
3466 # would cause problems or look ugly.
3467 # WARNING: Use '\'' to represent an apostrophe within the trap.
3468 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3469 trap 'exit_status=$?
3470 # Save into config.log some information that might help in debugging.
3471 {
3472 echo
3473
3474 $as_echo "## ---------------- ##
3475 ## Cache variables. ##
3476 ## ---------------- ##"
3477 echo
3478 # The following way of writing the cache mishandles newlines in values,
3479 (
3480 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3481 eval ac_val=\$$ac_var
3482 case $ac_val in #(
3483 *${as_nl}*)
3484 case $ac_var in #(
3485 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3486 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3487 esac
3488 case $ac_var in #(
3489 _ | IFS | as_nl) ;; #(
3490 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3491 *) { eval $ac_var=; unset $ac_var;} ;;
3492 esac ;;
3493 esac
3494 done
3495 (set) 2>&1 |
3496 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3497 *${as_nl}ac_space=\ *)
3498 sed -n \
3499 "s/'\''/'\''\\\\'\'''\''/g;
3500 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3501 ;; #(
3502 *)
3503 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3504 ;;
3505 esac |
3506 sort
3507 )
3508 echo
3509
3510 $as_echo "## ----------------- ##
3511 ## Output variables. ##
3512 ## ----------------- ##"
3513 echo
3514 for ac_var in $ac_subst_vars
3515 do
3516 eval ac_val=\$$ac_var
3517 case $ac_val in
3518 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3519 esac
3520 $as_echo "$ac_var='\''$ac_val'\''"
3521 done | sort
3522 echo
3523
3524 if test -n "$ac_subst_files"; then
3525 $as_echo "## ------------------- ##
3526 ## File substitutions. ##
3527 ## ------------------- ##"
3528 echo
3529 for ac_var in $ac_subst_files
3530 do
3531 eval ac_val=\$$ac_var
3532 case $ac_val in
3533 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3534 esac
3535 $as_echo "$ac_var='\''$ac_val'\''"
3536 done | sort
3537 echo
3538 fi
3539
3540 if test -s confdefs.h; then
3541 $as_echo "## ----------- ##
3542 ## confdefs.h. ##
3543 ## ----------- ##"
3544 echo
3545 cat confdefs.h
3546 echo
3547 fi
3548 test "$ac_signal" != 0 &&
3549 $as_echo "$as_me: caught signal $ac_signal"
3550 $as_echo "$as_me: exit $exit_status"
3551 } >&5
3552 rm -f core *.core core.conftest.* &&
3553 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3554 exit $exit_status
3555 ' 0
3556 for ac_signal in 1 2 13 15; do
3557 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3558 done
3559 ac_signal=0
3560
3561 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3562 rm -f -r conftest* confdefs.h
3563
3564 $as_echo "/* confdefs.h */" > confdefs.h
3565
3566 # Predefined preprocessor variables.
3567
3568 cat >>confdefs.h <<_ACEOF
3569 #define PACKAGE_NAME "$PACKAGE_NAME"
3570 _ACEOF
3571
3572 cat >>confdefs.h <<_ACEOF
3573 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3574 _ACEOF
3575
3576 cat >>confdefs.h <<_ACEOF
3577 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3578 _ACEOF
3579
3580 cat >>confdefs.h <<_ACEOF
3581 #define PACKAGE_STRING "$PACKAGE_STRING"
3582 _ACEOF
3583
3584 cat >>confdefs.h <<_ACEOF
3585 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3586 _ACEOF
3587
3588 cat >>confdefs.h <<_ACEOF
3589 #define PACKAGE_URL "$PACKAGE_URL"
3590 _ACEOF
3591
3592
3593 # Let the site file select an alternate cache file if it wants to.
3594 # Prefer an explicitly selected file to automatically selected ones.
3595 ac_site_file1=NONE
3596 ac_site_file2=NONE
3597 if test -n "$CONFIG_SITE"; then
3598 # We do not want a PATH search for config.site.
3599 case $CONFIG_SITE in #((
3600 -*) ac_site_file1=./$CONFIG_SITE;;
3601 */*) ac_site_file1=$CONFIG_SITE;;
3602 *) ac_site_file1=./$CONFIG_SITE;;
3603 esac
3604 elif test "x$prefix" != xNONE; then
3605 ac_site_file1=$prefix/share/config.site
3606 ac_site_file2=$prefix/etc/config.site
3607 else
3608 ac_site_file1=$ac_default_prefix/share/config.site
3609 ac_site_file2=$ac_default_prefix/etc/config.site
3610 fi
3611 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3612 do
3613 test "x$ac_site_file" = xNONE && continue
3614 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3616 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3617 sed 's/^/| /' "$ac_site_file" >&5
3618 . "$ac_site_file" \
3619 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3621 as_fn_error $? "failed to load site script $ac_site_file
3622 See \`config.log' for more details" "$LINENO" 5; }
3623 fi
3624 done
3625
3626 if test -r "$cache_file"; then
3627 # Some versions of bash will fail to source /dev/null (special files
3628 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3629 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3631 $as_echo "$as_me: loading cache $cache_file" >&6;}
3632 case $cache_file in
3633 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3634 *) . "./$cache_file";;
3635 esac
3636 fi
3637 else
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3639 $as_echo "$as_me: creating cache $cache_file" >&6;}
3640 >$cache_file
3641 fi
3642
3643 # Check that the precious variables saved in the cache have kept the same
3644 # value.
3645 ac_cache_corrupted=false
3646 for ac_var in $ac_precious_vars; do
3647 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3648 eval ac_new_set=\$ac_env_${ac_var}_set
3649 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3650 eval ac_new_val=\$ac_env_${ac_var}_value
3651 case $ac_old_set,$ac_new_set in
3652 set,)
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3654 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3655 ac_cache_corrupted=: ;;
3656 ,set)
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3658 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3659 ac_cache_corrupted=: ;;
3660 ,);;
3661 *)
3662 if test "x$ac_old_val" != "x$ac_new_val"; then
3663 # differences in whitespace do not lead to failure.
3664 ac_old_val_w=`echo x $ac_old_val`
3665 ac_new_val_w=`echo x $ac_new_val`
3666 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3668 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3669 ac_cache_corrupted=:
3670 else
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3672 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3673 eval $ac_var=\$ac_old_val
3674 fi
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3676 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3678 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3679 fi;;
3680 esac
3681 # Pass precious variables to config.status.
3682 if test "$ac_new_set" = set; then
3683 case $ac_new_val in
3684 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3685 *) ac_arg=$ac_var=$ac_new_val ;;
3686 esac
3687 case " $ac_configure_args " in
3688 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3689 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3690 esac
3691 fi
3692 done
3693 if $ac_cache_corrupted; then
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3695 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3697 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3698 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3699 fi
3700 ## -------------------- ##
3701 ## Main body of script. ##
3702 ## -------------------- ##
3703
3704 ac_ext=c
3705 ac_cpp='$CPP $CPPFLAGS'
3706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3709
3710
3711
3712
3713
3714 ac_aux_dir=
3715 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3716 if test -f "$ac_dir/install-sh"; then
3717 ac_aux_dir=$ac_dir
3718 ac_install_sh="$ac_aux_dir/install-sh -c"
3719 break
3720 elif test -f "$ac_dir/install.sh"; then
3721 ac_aux_dir=$ac_dir
3722 ac_install_sh="$ac_aux_dir/install.sh -c"
3723 break
3724 elif test -f "$ac_dir/shtool"; then
3725 ac_aux_dir=$ac_dir
3726 ac_install_sh="$ac_aux_dir/shtool install -c"
3727 break
3728 fi
3729 done
3730 if test -z "$ac_aux_dir"; then
3731 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3732 fi
3733
3734 # These three variables are undocumented and unsupported,
3735 # and are intended to be withdrawn in a future Autoconf release.
3736 # They can cause serious problems if a builder's source tree is in a directory
3737 # whose full name contains unusual characters.
3738 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3739 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3740 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3741
3742
3743 # Make sure we can run config.sub.
3744 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3745 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3746
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3748 $as_echo_n "checking build system type... " >&6; }
3749 if ${ac_cv_build+:} false; then :
3750 $as_echo_n "(cached) " >&6
3751 else
3752 ac_build_alias=$build_alias
3753 test "x$ac_build_alias" = x &&
3754 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3755 test "x$ac_build_alias" = x &&
3756 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3757 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3758 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3759
3760 fi
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3762 $as_echo "$ac_cv_build" >&6; }
3763 case $ac_cv_build in
3764 *-*-*) ;;
3765 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3766 esac
3767 build=$ac_cv_build
3768 ac_save_IFS=$IFS; IFS='-'
3769 set x $ac_cv_build
3770 shift
3771 build_cpu=$1
3772 build_vendor=$2
3773 shift; shift
3774 # Remember, the first character of IFS is used to create $*,
3775 # except with old shells:
3776 build_os=$*
3777 IFS=$ac_save_IFS
3778 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3779
3780
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3782 $as_echo_n "checking host system type... " >&6; }
3783 if ${ac_cv_host+:} false; then :
3784 $as_echo_n "(cached) " >&6
3785 else
3786 if test "x$host_alias" = x; then
3787 ac_cv_host=$ac_cv_build
3788 else
3789 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3790 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3791 fi
3792
3793 fi
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3795 $as_echo "$ac_cv_host" >&6; }
3796 case $ac_cv_host in
3797 *-*-*) ;;
3798 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3799 esac
3800 host=$ac_cv_host
3801 ac_save_IFS=$IFS; IFS='-'
3802 set x $ac_cv_host
3803 shift
3804 host_cpu=$1
3805 host_vendor=$2
3806 shift; shift
3807 # Remember, the first character of IFS is used to create $*,
3808 # except with old shells:
3809 host_os=$*
3810 IFS=$ac_save_IFS
3811 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3812
3813
3814
3815 if test "$cross_compiling" != "no"; then
3816 HOST_PREFIX="${host_alias}-"
3817 HOST_SUFFIX="-$host_alias"
3818 else
3819 HOST_PREFIX=
3820 HOST_SUFFIX=
3821 fi
3822
3823
3824 wx_major_version_number=2
3825 wx_minor_version_number=9
3826 wx_release_number=5
3827 wx_subrelease_number=0
3828
3829 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
3830 WX_VERSION=$WX_RELEASE.$wx_release_number
3831 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
3832
3833 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
3834
3835
3836 wx_top_builddir="`pwd`"
3837
3838
3839
3840
3841 USE_UNIX=1
3842 USE_OS2=0
3843 USE_WIN32=0
3844 USE_DOS=0
3845 USE_BEOS=0
3846 USE_MAC=0
3847
3848 USE_AIX=
3849 USE_BSD= USE_DARWIN= USE_FREEBSD=
3850 USE_GNU= USE_HPUX=
3851 USE_LINUX=
3852 USE_NETBSD=
3853 USE_OPENBSD=
3854 USE_OSF= USE_SGI=
3855 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
3856 USE_ULTRIX=
3857 USE_UNIXWARE=
3858
3859 USE_ALPHA=
3860
3861 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
3862
3863 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3864
3865 DEFAULT_wxUSE_OLD_COCOA=0
3866 DEFAULT_wxUSE_GTK=0
3867 DEFAULT_wxUSE_OSX_CARBON=0
3868 DEFAULT_wxUSE_OSX_COCOA=0
3869 DEFAULT_wxUSE_OSX_IPHONE=0
3870 DEFAULT_wxUSE_MICROWIN=0
3871 DEFAULT_wxUSE_MOTIF=0
3872 DEFAULT_wxUSE_MSW=0
3873 DEFAULT_wxUSE_PM=0
3874 DEFAULT_wxUSE_X11=0
3875 DEFAULT_wxUSE_DFB=0
3876
3877 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
3878 DEFAULT_DEFAULT_wxUSE_GTK=0
3879 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
3880 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
3881 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
3882 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
3883 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3884 DEFAULT_DEFAULT_wxUSE_MSW=0
3885 DEFAULT_DEFAULT_wxUSE_PM=0
3886 DEFAULT_DEFAULT_wxUSE_X11=0
3887 DEFAULT_DEFAULT_wxUSE_DFB=0
3888
3889 PROGRAM_EXT=
3890 SAMPLES_RPATH_FLAG=
3891 DYLIB_RPATH_INSTALL=
3892 DYLIB_RPATH_POSTLINK=
3893
3894 DEFAULT_STD_FLAG=yes
3895
3896 case "${host}" in
3897 *-hp-hpux* )
3898 USE_HPUX=1
3899 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3900 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3901 $as_echo "#define __HPUX__ 1" >>confdefs.h
3902
3903
3904 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
3905 ;;
3906 *-*-linux* )
3907 USE_LINUX=1
3908 $as_echo "#define __LINUX__ 1" >>confdefs.h
3909
3910 TMP=`uname -m`
3911 if test "x$TMP" = "xalpha"; then
3912 USE_ALPHA=1
3913 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3914
3915 fi
3916 DEFAULT_DEFAULT_wxUSE_GTK=1
3917 ;;
3918 *-*-gnu* | *-*-k*bsd*-gnu )
3919 USE_GNU=1
3920 TMP=`uname -m`
3921 if test "x$TMP" = "xalpha"; then
3922 USE_ALPHA=1
3923 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3924
3925 fi
3926 DEFAULT_DEFAULT_wxUSE_GTK=1
3927 ;;
3928 *-*-irix5* | *-*-irix6* )
3929 USE_SGI=1
3930 USE_SVR4=1
3931 $as_echo "#define __SGI__ 1" >>confdefs.h
3932
3933 $as_echo "#define __SVR4__ 1" >>confdefs.h
3934
3935 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3936 ;;
3937 *-*-qnx*)
3938 USE_QNX=1
3939 $as_echo "#define __QNX__ 1" >>confdefs.h
3940
3941 DEFAULT_DEFAULT_wxUSE_X11=1
3942 ;;
3943 *-*-solaris2* )
3944 USE_SUN=1
3945 USE_SOLARIS=1
3946 USE_SVR4=1
3947 $as_echo "#define __SUN__ 1" >>confdefs.h
3948
3949 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3950
3951 $as_echo "#define __SVR4__ 1" >>confdefs.h
3952
3953 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3954 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3955 ;;
3956 *-*-sunos4* )
3957 USE_SUN=1
3958 USE_SUNOS=1
3959 USE_BSD=1
3960 $as_echo "#define __SUN__ 1" >>confdefs.h
3961
3962 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3963
3964 $as_echo "#define __BSD__ 1" >>confdefs.h
3965
3966 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3967 ;;
3968 *-*-freebsd*)
3969 USE_BSD=1
3970 USE_FREEBSD=1
3971 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3972
3973 $as_echo "#define __BSD__ 1" >>confdefs.h
3974
3975 DEFAULT_DEFAULT_wxUSE_GTK=1
3976 ;;
3977 *-*-openbsd*|*-*-mirbsd*)
3978 USE_BSD=1
3979 USE_OPENBSD=1
3980 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3981
3982 $as_echo "#define __BSD__ 1" >>confdefs.h
3983
3984 DEFAULT_DEFAULT_wxUSE_GTK=1
3985 ;;
3986 *-*-netbsd*)
3987 USE_BSD=1
3988 USE_NETBSD=1
3989 $as_echo "#define __NETBSD__ 1" >>confdefs.h
3990
3991 $as_echo "#define __BSD__ 1" >>confdefs.h
3992
3993 DEFAULT_DEFAULT_wxUSE_GTK=1
3994 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3995
3996 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
3997 ;;
3998 *-*-osf* )
3999 USE_ALPHA=1
4000 USE_OSF=1
4001 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4002
4003 $as_echo "#define __OSF__ 1" >>confdefs.h
4004
4005 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4006 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
4007 ;;
4008 *-*-dgux5* )
4009 USE_ALPHA=1
4010 USE_SVR4=1
4011 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4012
4013 $as_echo "#define __SVR4__ 1" >>confdefs.h
4014
4015 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4016 ;;
4017 *-*-sysv5* )
4018 USE_SYSV=1
4019 USE_SVR4=1
4020 $as_echo "#define __SYSV__ 1" >>confdefs.h
4021
4022 $as_echo "#define __SVR4__ 1" >>confdefs.h
4023
4024 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4025 ;;
4026 *-*-aix* )
4027 USE_AIX=1
4028 USE_SYSV=1
4029 USE_SVR4=1
4030 $as_echo "#define __AIX__ 1" >>confdefs.h
4031
4032 $as_echo "#define __SYSV__ 1" >>confdefs.h
4033
4034 $as_echo "#define __SVR4__ 1" >>confdefs.h
4035
4036 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4037 ;;
4038
4039 *-*-*UnixWare*)
4040 USE_SYSV=1
4041 USE_SVR4=1
4042 USE_UNIXWARE=1
4043 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4044
4045 ;;
4046
4047 *-*-cygwin* | *-*-mingw32* )
4048 PROGRAM_EXT=".exe"
4049 DEFAULT_DEFAULT_wxUSE_MSW=1
4050 ;;
4051
4052 *-pc-msdosdjgpp )
4053 USE_UNIX=0
4054 USE_DOS=1
4055 $as_echo "#define __DOS__ 1" >>confdefs.h
4056
4057 PROGRAM_EXT=".exe"
4058 ;;
4059
4060 *-pc-os2_emx | *-pc-os2-emx )
4061 $as_echo "#define __EMX__ 1" >>confdefs.h
4062
4063 USE_OS2=1
4064 $as_echo "#define __OS2__ 1" >>confdefs.h
4065
4066 PROGRAM_EXT=".exe"
4067 DEFAULT_DEFAULT_wxUSE_PM=1
4068 CXX=gcc
4069 LDFLAGS="$LDFLAGS -Zcrtdll"
4070 ac_executable_extensions=".exe"
4071 export ac_executable_extensions
4072 ac_save_IFS="$IFS"
4073 IFS='\\'
4074 ac_TEMP_PATH=
4075 for ac_dir in $PATH; do
4076 IFS=$ac_save_IFS
4077 if test -z "$ac_TEMP_PATH"; then
4078 ac_TEMP_PATH="$ac_dir"
4079 else
4080 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
4081 fi
4082 done
4083 export PATH="$ac_TEMP_PATH"
4084 unset ac_TEMP_PATH
4085 DEFAULT_STD_FLAG=no
4086 ;;
4087
4088 arm-apple-darwin*)
4089 USE_BSD=1
4090 USE_DARWIN=1
4091 $as_echo "#define __BSD__ 1" >>confdefs.h
4092
4093 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4094
4095 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
4096 ;;
4097
4098 *-*-darwin* )
4099 USE_BSD=1
4100 USE_DARWIN=1
4101 $as_echo "#define __BSD__ 1" >>confdefs.h
4102
4103 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4104
4105 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4106
4107 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=1
4108 ;;
4109
4110 *-*-beos* )
4111 USE_BEOS=1
4112 $as_echo "#define __BEOS__ 1" >>confdefs.h
4113
4114 ;;
4115
4116 *)
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4118 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4120 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4121
4122 DEFAULT_DEFAULT_wxUSE_X11=1
4123 DEFAULT_wxUSE_SHARED=no
4124 esac
4125
4126
4127
4128 DEFAULT_wxUSE_ALL_FEATURES=yes
4129
4130 DEFAULT_wxUSE_STD_CONTAINERS=no
4131 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
4132 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
4133
4134 DEFAULT_wxUSE_DMALLOC=no
4135 DEFAULT_wxUSE_LIBGNOMEVFS=no
4136 DEFAULT_wxUSE_LIBHILDON=no
4137 DEFAULT_wxUSE_LIBHILDON2=no
4138 DEFAULT_wxUSE_LIBMSPACK=no
4139 DEFAULT_wxUSE_LIBSDL=no
4140
4141 DEFAULT_wxUSE_ACCESSIBILITY=no
4142 DEFAULT_wxUSE_IPV6=no
4143 DEFAULT_wxUSE_GSTREAMER8=no
4144 DEFAULT_wxUSE_UNICODE_UTF8=no
4145 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
4146
4147 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
4148 DEFAULT_wxUSE_OPENGL=auto
4149 DEFAULT_wxUSE_MEDIACTRL=auto
4150 DEFAULT_wxUSE_COMPILER_TLS=auto
4151 DEFAULT_wxUSE_HOTKEY=auto
4152 DEFAULT_wxUSE_METAFILE=auto
4153
4154 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
4155 DEFAULT_wxUSE_MAC_ARCH=no
4156
4157 DEFAULT_wxUSE_OFFICIAL_BUILD=no
4158
4159 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
4160
4161
4162
4163
4164
4165 enablestring=disable
4166 defaultval=
4167 if test -z "$defaultval"; then
4168 if test x"$enablestring" = xdisable; then
4169 defaultval=yes
4170 else
4171 defaultval=no
4172 fi
4173 fi
4174
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4176 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4177 # Check whether --enable-gui was given.
4178 if test "${enable_gui+set}" = set; then :
4179 enableval=$enable_gui;
4180 if test "$enableval" = yes; then
4181 wx_cv_use_gui='wxUSE_GUI=yes'
4182 else
4183 wx_cv_use_gui='wxUSE_GUI=no'
4184 fi
4185
4186 else
4187
4188 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4189
4190 fi
4191
4192
4193 eval "$wx_cv_use_gui"
4194
4195 if test x"$enablestring" = xdisable; then
4196 if test $wxUSE_GUI = no; then
4197 result=yes
4198 else
4199 result=no
4200 fi
4201 else
4202 result=$wxUSE_GUI
4203 fi
4204
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4206 $as_echo "$result" >&6; }
4207
4208
4209 enablestring=
4210 defaultval=
4211 if test -z "$defaultval"; then
4212 if test x"$enablestring" = xdisable; then
4213 defaultval=yes
4214 else
4215 defaultval=no
4216 fi
4217 fi
4218
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4220 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4221 # Check whether --enable-monolithic was given.
4222 if test "${enable_monolithic+set}" = set; then :
4223 enableval=$enable_monolithic;
4224 if test "$enableval" = yes; then
4225 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
4226 else
4227 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
4228 fi
4229
4230 else
4231
4232 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4233
4234 fi
4235
4236
4237 eval "$wx_cv_use_monolithic"
4238
4239 if test x"$enablestring" = xdisable; then
4240 if test $wxUSE_MONOLITHIC = no; then
4241 result=yes
4242 else
4243 result=no
4244 fi
4245 else
4246 result=$wxUSE_MONOLITHIC
4247 fi
4248
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4250 $as_echo "$result" >&6; }
4251
4252
4253 enablestring=
4254 defaultval=
4255 if test -z "$defaultval"; then
4256 if test x"$enablestring" = xdisable; then
4257 defaultval=yes
4258 else
4259 defaultval=no
4260 fi
4261 fi
4262
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-plugins" >&5
4264 $as_echo_n "checking for --${enablestring:-enable}-plugins... " >&6; }
4265 # Check whether --enable-plugins was given.
4266 if test "${enable_plugins+set}" = set; then :
4267 enableval=$enable_plugins;
4268 if test "$enableval" = yes; then
4269 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4270 else
4271 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4272 fi
4273
4274 else
4275
4276 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4277
4278 fi
4279
4280
4281 eval "$wx_cv_use_plugins"
4282
4283 if test x"$enablestring" = xdisable; then
4284 if test $wxUSE_PLUGINS = no; then
4285 result=yes
4286 else
4287 result=no
4288 fi
4289 else
4290 result=$wxUSE_PLUGINS
4291 fi
4292
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4294 $as_echo "$result" >&6; }
4295
4296
4297 withstring=without
4298 defaultval=$wxUSE_ALL_FEATURES
4299 if test -z "$defaultval"; then
4300 if test x"$withstring" = xwithout; then
4301 defaultval=yes
4302 else
4303 defaultval=no
4304 fi
4305 fi
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4307 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4308
4309 # Check whether --with-subdirs was given.
4310 if test "${with_subdirs+set}" = set; then :
4311 withval=$with_subdirs;
4312 if test "$withval" = yes; then
4313 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
4314 else
4315 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
4316 fi
4317
4318 else
4319
4320 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4321
4322 fi
4323
4324
4325 eval "$wx_cv_use_subdirs"
4326
4327 if test x"$withstring" = xwithout; then
4328 if test $wxWITH_SUBDIRS = yes; then
4329 result=no
4330 else
4331 result=yes
4332 fi
4333 else
4334 result=$wxWITH_SUBDIRS
4335 fi
4336
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4338 $as_echo "$result" >&6; }
4339
4340
4341 # Check whether --with-flavour was given.
4342 if test "${with_flavour+set}" = set; then :
4343 withval=$with_flavour; WX_FLAVOUR="$withval"
4344 fi
4345
4346
4347 enablestring=
4348 defaultval=
4349 if test -z "$defaultval"; then
4350 if test x"$enablestring" = xdisable; then
4351 defaultval=yes
4352 else
4353 defaultval=no
4354 fi
4355 fi
4356
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4358 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4359 # Check whether --enable-official_build was given.
4360 if test "${enable_official_build+set}" = set; then :
4361 enableval=$enable_official_build;
4362 if test "$enableval" = yes; then
4363 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
4364 else
4365 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
4366 fi
4367
4368 else
4369
4370 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4371
4372 fi
4373
4374
4375 eval "$wx_cv_use_official_build"
4376
4377 if test x"$enablestring" = xdisable; then
4378 if test $wxUSE_OFFICIAL_BUILD = no; then
4379 result=yes
4380 else
4381 result=no
4382 fi
4383 else
4384 result=$wxUSE_OFFICIAL_BUILD
4385 fi
4386
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4388 $as_echo "$result" >&6; }
4389
4390 # Check whether --enable-vendor was given.
4391 if test "${enable_vendor+set}" = set; then :
4392 enableval=$enable_vendor; VENDOR="$enableval"
4393 fi
4394
4395 if test "x$VENDOR" = "x"; then
4396 VENDOR="custom"
4397 fi
4398
4399
4400 enablestring=disable
4401 defaultval=
4402 if test -z "$defaultval"; then
4403 if test x"$enablestring" = xdisable; then
4404 defaultval=yes
4405 else
4406 defaultval=no
4407 fi
4408 fi
4409
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-all-features" >&5
4411 $as_echo_n "checking for --${enablestring:-enable}-all-features... " >&6; }
4412 # Check whether --enable-all-features was given.
4413 if test "${enable_all_features+set}" = set; then :
4414 enableval=$enable_all_features;
4415 if test "$enableval" = yes; then
4416 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4417 else
4418 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4419 fi
4420
4421 else
4422
4423 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4424
4425 fi
4426
4427
4428 eval "$wx_cv_use_all_features"
4429
4430 if test x"$enablestring" = xdisable; then
4431 if test $wxUSE_ALL_FEATURES = no; then
4432 result=yes
4433 else
4434 result=no
4435 fi
4436 else
4437 result=$wxUSE_ALL_FEATURES
4438 fi
4439
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4441 $as_echo "$result" >&6; }
4442
4443
4444 if test "$wxUSE_ALL_FEATURES" = "no"; then
4445 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
4446 DEFAULT_wxUSE_MEDIACTRL=no
4447 fi
4448
4449
4450 if test "$wxUSE_GUI" = "yes"; then
4451
4452
4453 enablestring=
4454 defaultval=
4455 if test -z "$defaultval"; then
4456 if test x"$enablestring" = xdisable; then
4457 defaultval=yes
4458 else
4459 defaultval=no
4460 fi
4461 fi
4462
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4464 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4465 # Check whether --enable-universal was given.
4466 if test "${enable_universal+set}" = set; then :
4467 enableval=$enable_universal;
4468 if test "$enableval" = yes; then
4469 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
4470 else
4471 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
4472 fi
4473
4474 else
4475
4476 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4477
4478 fi
4479
4480
4481 eval "$wx_cv_use_universal"
4482
4483 if test x"$enablestring" = xdisable; then
4484 if test $wxUSE_UNIVERSAL = no; then
4485 result=yes
4486 else
4487 result=no
4488 fi
4489 else
4490 result=$wxUSE_UNIVERSAL
4491 fi
4492
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4494 $as_echo "$result" >&6; }
4495
4496 if test "$wxUSE_UNIVERSAL" = "yes"; then
4497
4498 # Check whether --with-themes was given.
4499 if test "${with_themes+set}" = set; then :
4500 withval=$with_themes; wxUNIV_THEMES="$withval"
4501 fi
4502
4503 fi
4504
4505
4506 # Check whether --with-gtk was given.
4507 if test "${with_gtk+set}" = set; then :
4508 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4509 fi
4510
4511
4512 # Check whether --with-motif was given.
4513 if test "${with_motif+set}" = set; then :
4514 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4515 fi
4516
4517
4518 # Check whether --with-osx_carbon was given.
4519 if test "${with_osx_carbon+set}" = set; then :
4520 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4521 fi
4522
4523
4524 # Check whether --with-osx_cocoa was given.
4525 if test "${with_osx_cocoa+set}" = set; then :
4526 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4527 fi
4528
4529
4530 # Check whether --with-osx_iphone was given.
4531 if test "${with_osx_iphone+set}" = set; then :
4532 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4533 fi
4534
4535
4536 # Check whether --with-osx was given.
4537 if test "${with_osx+set}" = set; then :
4538 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4539 fi
4540
4541
4542 # Check whether --with-carbon was given.
4543 if test "${with_carbon+set}" = set; then :
4544 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4545 fi
4546
4547
4548 # Check whether --with-cocoa was given.
4549 if test "${with_cocoa+set}" = set; then :
4550 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4551 fi
4552
4553
4554 # Check whether --with-iphone was given.
4555 if test "${with_iphone+set}" = set; then :
4556 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4557 fi
4558
4559
4560 # Check whether --with-mac was given.
4561 if test "${with_mac+set}" = set; then :
4562 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4563 fi
4564
4565
4566 # Check whether --with-old_cocoa was given.
4567 if test "${with_old_cocoa+set}" = set; then :
4568 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4569 fi
4570
4571
4572 # Check whether --with-wine was given.
4573 if test "${with_wine+set}" = set; then :
4574 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4575 fi
4576
4577
4578 # Check whether --with-msw was given.
4579 if test "${with_msw+set}" = set; then :
4580 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4581 fi
4582
4583
4584 # Check whether --with-pm was given.
4585 if test "${with_pm+set}" = set; then :
4586 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4587 fi
4588
4589
4590 # Check whether --with-directfb was given.
4591 if test "${with_directfb+set}" = set; then :
4592 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4593 fi
4594
4595
4596 # Check whether --with-microwin was given.
4597 if test "${with_microwin+set}" = set; then :
4598 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4599 fi
4600
4601
4602 # Check whether --with-x11 was given.
4603 if test "${with_x11+set}" = set; then :
4604 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4605 fi
4606
4607
4608 enablestring=
4609 defaultval=
4610 if test -z "$defaultval"; then
4611 if test x"$enablestring" = xdisable; then
4612 defaultval=yes
4613 else
4614 defaultval=no
4615 fi
4616 fi
4617
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4619 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4620 # Check whether --enable-nanox was given.
4621 if test "${enable_nanox+set}" = set; then :
4622 enableval=$enable_nanox;
4623 if test "$enableval" = yes; then
4624 wx_cv_use_nanox='wxUSE_NANOX=yes'
4625 else
4626 wx_cv_use_nanox='wxUSE_NANOX=no'
4627 fi
4628
4629 else
4630
4631 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4632
4633 fi
4634
4635
4636 eval "$wx_cv_use_nanox"
4637
4638 if test x"$enablestring" = xdisable; then
4639 if test $wxUSE_NANOX = no; then
4640 result=yes
4641 else
4642 result=no
4643 fi
4644 else
4645 result=$wxUSE_NANOX
4646 fi
4647
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4649 $as_echo "$result" >&6; }
4650
4651
4652 enablestring=
4653 defaultval=
4654 if test -z "$defaultval"; then
4655 if test x"$enablestring" = xdisable; then
4656 defaultval=yes
4657 else
4658 defaultval=no
4659 fi
4660 fi
4661
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gpe" >&5
4663 $as_echo_n "checking for --${enablestring:-enable}-gpe... " >&6; }
4664 # Check whether --enable-gpe was given.
4665 if test "${enable_gpe+set}" = set; then :
4666 enableval=$enable_gpe;
4667 if test "$enableval" = yes; then
4668 wx_cv_use_gpe='wxUSE_GPE=yes'
4669 else
4670 wx_cv_use_gpe='wxUSE_GPE=no'
4671 fi
4672
4673 else
4674
4675 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4676
4677 fi
4678
4679
4680 eval "$wx_cv_use_gpe"
4681
4682 if test x"$enablestring" = xdisable; then
4683 if test $wxUSE_GPE = no; then
4684 result=yes
4685 else
4686 result=no
4687 fi
4688 else
4689 result=$wxUSE_GPE
4690 fi
4691
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4693 $as_echo "$result" >&6; }
4694
4695
4696
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4698 $as_echo_n "checking for toolkit... " >&6; }
4699
4700
4701
4702 # In Wine, we need to default to MSW, not GTK or MOTIF
4703 if test "$wxUSE_WINE" = "yes"; then
4704 DEFAULT_DEFAULT_wxUSE_GTK=0
4705 DEFAULT_DEFAULT_wxUSE_MOTIF=0
4706 DEFAULT_DEFAULT_wxUSE_MSW=1
4707 wxUSE_SHARED=no
4708 CC=${CC:-winegcc}
4709 CXX=${CXX:-wineg++}
4710 fi
4711
4712
4713 if test "$wxUSE_GUI" = "yes"; then
4714
4715 if test "$USE_BEOS" = 1; then
4716 as_fn_error $? "BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4717 fi
4718
4719 if test "$TOOLKIT_GIVEN" = 1; then
4720 for toolkit in $ALL_TOOLKITS; do
4721 var=wxUSE_$toolkit
4722 eval "value=\$${var}"
4723 if test "x$value" = "xno"; then
4724 eval "$var=0"
4725 elif test "x$value" != "x"; then
4726 eval "$var=1"
4727 fi
4728
4729 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4730 eval "wx${toolkit}_VERSION=$value"
4731 fi
4732 done
4733 else
4734 for toolkit in $ALL_TOOLKITS; do
4735 var=DEFAULT_DEFAULT_wxUSE_$toolkit
4736 eval "wxUSE_$toolkit=\$${var}"
4737 done
4738 fi
4739
4740 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4741 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4742 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4743
4744 case "${host}" in
4745 *-pc-os2_emx | *-pc-os2-emx )
4746 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4747 esac
4748
4749 case "$NUM_TOOLKITS" in
4750 1)
4751 ;;
4752 0)
4753 as_fn_error $? "Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4754 ;;
4755 *)
4756 as_fn_error $? "Please specify at most one toolkit" "$LINENO" 5
4757 esac
4758
4759 for toolkit in $ALL_TOOLKITS; do
4760 var=wxUSE_$toolkit
4761 eval "value=\$${var}"
4762 if test "$value" = 1; then
4763 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4765 $as_echo "$toolkit_echo" >&6; }
4766 fi
4767 done
4768 else
4769 if test "x$host_alias" != "x"; then
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4771 $as_echo "base ($host_alias hosted) only" >&6; }
4772 else
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4774 $as_echo "base only" >&6; }
4775 fi
4776 fi
4777
4778 wxUSE_MAC=0
4779 if test "$wxUSE_OSX_CARBON" = 1 \
4780 -o "$wxUSE_OSX_COCOA" = 1 \
4781 -o "$wxUSE_OSX_IPHONE" = 1; then
4782 wxUSE_MAC=1
4783 fi
4784
4785
4786
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4788 $as_echo_n "checking for --with-libpng... " >&6; }
4789
4790 # Check whether --with-libpng was given.
4791 if test "${with_libpng+set}" = set; then :
4792 withval=$with_libpng;
4793 if test "$withval" = yes; then
4794 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
4795 elif test "$withval" = no; then
4796 wx_cv_use_libpng='wxUSE_LIBPNG=no'
4797 elif test "$withval" = sys; then
4798 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
4799 elif test "$withval" = builtin; then
4800 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
4801 else
4802 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4803 fi
4804
4805 else
4806
4807 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4808
4809 fi
4810
4811
4812 eval "$wx_cv_use_libpng"
4813
4814 if test "$wxUSE_LIBPNG" = yes; then
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4816 $as_echo "yes" >&6; }
4817 elif test "$wxUSE_LIBPNG" = no; then
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4819 $as_echo "no" >&6; }
4820 elif test "$wxUSE_LIBPNG" = sys; then
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4822 $as_echo "system version" >&6; }
4823 elif test "$wxUSE_LIBPNG" = builtin; then
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4825 $as_echo "builtin version" >&6; }
4826 else
4827 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4828 fi
4829
4830
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4832 $as_echo_n "checking for --with-libjpeg... " >&6; }
4833
4834 # Check whether --with-libjpeg was given.
4835 if test "${with_libjpeg+set}" = set; then :
4836 withval=$with_libjpeg;
4837 if test "$withval" = yes; then
4838 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
4839 elif test "$withval" = no; then
4840 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
4841 elif test "$withval" = sys; then
4842 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
4843 elif test "$withval" = builtin; then
4844 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
4845 else
4846 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4847 fi
4848
4849 else
4850
4851 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4852
4853 fi
4854
4855
4856 eval "$wx_cv_use_libjpeg"
4857
4858 if test "$wxUSE_LIBJPEG" = yes; then
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4860 $as_echo "yes" >&6; }
4861 elif test "$wxUSE_LIBJPEG" = no; then
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4863 $as_echo "no" >&6; }
4864 elif test "$wxUSE_LIBJPEG" = sys; then
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4866 $as_echo "system version" >&6; }
4867 elif test "$wxUSE_LIBJPEG" = builtin; then
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4869 $as_echo "builtin version" >&6; }
4870 else
4871 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4872 fi
4873
4874
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libtiff" >&5
4876 $as_echo_n "checking for --with-libtiff... " >&6; }
4877
4878 # Check whether --with-libtiff was given.
4879 if test "${with_libtiff+set}" = set; then :
4880 withval=$with_libtiff;
4881 if test "$withval" = yes; then
4882 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4883 elif test "$withval" = no; then
4884 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4885 elif test "$withval" = sys; then
4886 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4887 elif test "$withval" = builtin; then
4888 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4889 else
4890 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4891 fi
4892
4893 else
4894
4895 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4896
4897 fi
4898
4899
4900 eval "$wx_cv_use_libtiff"
4901
4902 if test "$wxUSE_LIBTIFF" = yes; then
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4904 $as_echo "yes" >&6; }
4905 elif test "$wxUSE_LIBTIFF" = no; then
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 $as_echo "no" >&6; }
4908 elif test "$wxUSE_LIBTIFF" = sys; then
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4910 $as_echo "system version" >&6; }
4911 elif test "$wxUSE_LIBTIFF" = builtin; then
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4913 $as_echo "builtin version" >&6; }
4914 else
4915 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4916 fi
4917
4918
4919 withstring=without
4920 defaultval=$wxUSE_ALL_FEATURES
4921 if test -z "$defaultval"; then
4922 if test x"$withstring" = xwithout; then
4923 defaultval=yes
4924 else
4925 defaultval=no
4926 fi
4927 fi
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libjbig" >&5
4929 $as_echo_n "checking for --${withstring:-with}-libjbig... " >&6; }
4930
4931 # Check whether --with-libjbig was given.
4932 if test "${with_libjbig+set}" = set; then :
4933 withval=$with_libjbig;
4934 if test "$withval" = yes; then
4935 wx_cv_use_libjbig='wxUSE_LIBJBIG=yes'
4936 else
4937 wx_cv_use_libjbig='wxUSE_LIBJBIG=no'
4938 fi
4939
4940 else
4941
4942 wx_cv_use_libjbig='wxUSE_LIBJBIG=${'DEFAULT_wxUSE_LIBJBIG":-$defaultval}"
4943
4944 fi
4945
4946
4947 eval "$wx_cv_use_libjbig"
4948
4949 if test x"$withstring" = xwithout; then
4950 if test $wxUSE_LIBJBIG = yes; then
4951 result=no
4952 else
4953 result=yes
4954 fi
4955 else
4956 result=$wxUSE_LIBJBIG
4957 fi
4958
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4960 $as_echo "$result" >&6; }
4961
4962
4963 withstring=without
4964 defaultval=$wxUSE_ALL_FEATURES
4965 if test -z "$defaultval"; then
4966 if test x"$withstring" = xwithout; then
4967 defaultval=yes
4968 else
4969 defaultval=no
4970 fi
4971 fi
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-liblzma" >&5
4973 $as_echo_n "checking for --${withstring:-with}-liblzma... " >&6; }
4974
4975 # Check whether --with-liblzma was given.
4976 if test "${with_liblzma+set}" = set; then :
4977 withval=$with_liblzma;
4978 if test "$withval" = yes; then
4979 wx_cv_use_liblzma='wxUSE_LIBLZMA=yes'
4980 else
4981 wx_cv_use_liblzma='wxUSE_LIBLZMA=no'
4982 fi
4983
4984 else
4985
4986 wx_cv_use_liblzma='wxUSE_LIBLZMA=${'DEFAULT_wxUSE_LIBLZMA":-$defaultval}"
4987
4988 fi
4989
4990
4991 eval "$wx_cv_use_liblzma"
4992
4993 if test x"$withstring" = xwithout; then
4994 if test $wxUSE_LIBLZMA = yes; then
4995 result=no
4996 else
4997 result=yes
4998 fi
4999 else
5000 result=$wxUSE_LIBLZMA
5001 fi
5002
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5004 $as_echo "$result" >&6; }
5005
5006
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
5008 $as_echo_n "checking for --with-libxpm... " >&6; }
5009
5010 # Check whether --with-libxpm was given.
5011 if test "${with_libxpm+set}" = set; then :
5012 withval=$with_libxpm;
5013 if test "$withval" = yes; then
5014 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
5015 elif test "$withval" = no; then
5016 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
5017 elif test "$withval" = sys; then
5018 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
5019 elif test "$withval" = builtin; then
5020 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
5021 else
5022 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
5023 fi
5024
5025 else
5026
5027 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
5028
5029 fi
5030
5031
5032 eval "$wx_cv_use_libxpm"
5033
5034 if test "$wxUSE_LIBXPM" = yes; then
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5036 $as_echo "yes" >&6; }
5037 elif test "$wxUSE_LIBXPM" = no; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5039 $as_echo "no" >&6; }
5040 elif test "$wxUSE_LIBXPM" = sys; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5042 $as_echo "system version" >&6; }
5043 elif test "$wxUSE_LIBXPM" = builtin; then
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5045 $as_echo "builtin version" >&6; }
5046 else
5047 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
5048 fi
5049
5050
5051 withstring=
5052 defaultval=$wxUSE_ALL_FEATURES
5053 if test -z "$defaultval"; then
5054 if test x"$withstring" = xwithout; then
5055 defaultval=yes
5056 else
5057 defaultval=no
5058 fi
5059 fi
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
5061 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
5062
5063 # Check whether --with-libiconv was given.
5064 if test "${with_libiconv+set}" = set; then :
5065 withval=$with_libiconv;
5066 if test "$withval" = yes; then
5067 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
5068 else
5069 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
5070 fi
5071
5072 else
5073
5074 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
5075
5076 fi
5077
5078
5079 eval "$wx_cv_use_libiconv"
5080
5081 if test x"$withstring" = xwithout; then
5082 if test $wxUSE_LIBICONV = yes; then
5083 result=no
5084 else
5085 result=yes
5086 fi
5087 else
5088 result=$wxUSE_LIBICONV
5089 fi
5090
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5092 $as_echo "$result" >&6; }
5093
5094
5095 withstring=
5096 defaultval=$wxUSE_ALL_FEATURES
5097 if test -z "$defaultval"; then
5098 if test x"$withstring" = xwithout; then
5099 defaultval=yes
5100 else
5101 defaultval=no
5102 fi
5103 fi
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
5105 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
5106
5107 # Check whether --with-libmspack was given.
5108 if test "${with_libmspack+set}" = set; then :
5109 withval=$with_libmspack;
5110 if test "$withval" = yes; then
5111 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5112 else
5113 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5114 fi
5115
5116 else
5117
5118 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5119
5120 fi
5121
5122
5123 eval "$wx_cv_use_libmspack"
5124
5125 if test x"$withstring" = xwithout; then
5126 if test $wxUSE_LIBMSPACK = yes; then
5127 result=no
5128 else
5129 result=yes
5130 fi
5131 else
5132 result=$wxUSE_LIBMSPACK
5133 fi
5134
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5136 $as_echo "$result" >&6; }
5137
5138
5139 withstring=without
5140 defaultval=$wxUSE_ALL_FEATURES
5141 if test -z "$defaultval"; then
5142 if test x"$withstring" = xwithout; then
5143 defaultval=yes
5144 else
5145 defaultval=no
5146 fi
5147 fi
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5149 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5150
5151 # Check whether --with-gtkprint was given.
5152 if test "${with_gtkprint+set}" = set; then :
5153 withval=$with_gtkprint;
5154 if test "$withval" = yes; then
5155 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5156 else
5157 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5158 fi
5159
5160 else
5161
5162 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5163
5164 fi
5165
5166
5167 eval "$wx_cv_use_gtkprint"
5168
5169 if test x"$withstring" = xwithout; then
5170 if test $wxUSE_GTKPRINT = yes; then
5171 result=no
5172 else
5173 result=yes
5174 fi
5175 else
5176 result=$wxUSE_GTKPRINT
5177 fi
5178
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5180 $as_echo "$result" >&6; }
5181
5182
5183 withstring=without
5184 defaultval=$wxUSE_ALL_FEATURES
5185 if test -z "$defaultval"; then
5186 if test x"$withstring" = xwithout; then
5187 defaultval=yes
5188 else
5189 defaultval=no
5190 fi
5191 fi
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5193 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5194
5195 # Check whether --with-gnomeprint was given.
5196 if test "${with_gnomeprint+set}" = set; then :
5197 withval=$with_gnomeprint;
5198 if test "$withval" = yes; then
5199 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
5200 else
5201 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
5202 fi
5203
5204 else
5205
5206 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5207
5208 fi
5209
5210
5211 eval "$wx_cv_use_gnomeprint"
5212
5213 if test x"$withstring" = xwithout; then
5214 if test $wxUSE_LIBGNOMEPRINT = yes; then
5215 result=no
5216 else
5217 result=yes
5218 fi
5219 else
5220 result=$wxUSE_LIBGNOMEPRINT
5221 fi
5222
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5224 $as_echo "$result" >&6; }
5225
5226
5227 withstring=
5228 defaultval=$wxUSE_ALL_FEATURES
5229 if test -z "$defaultval"; then
5230 if test x"$withstring" = xwithout; then
5231 defaultval=yes
5232 else
5233 defaultval=no
5234 fi
5235 fi
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5237 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5238
5239 # Check whether --with-gnomevfs was given.
5240 if test "${with_gnomevfs+set}" = set; then :
5241 withval=$with_gnomevfs;
5242 if test "$withval" = yes; then
5243 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5244 else
5245 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5246 fi
5247
5248 else
5249
5250 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5251
5252 fi
5253
5254
5255 eval "$wx_cv_use_gnomevfs"
5256
5257 if test x"$withstring" = xwithout; then
5258 if test $wxUSE_LIBGNOMEVFS = yes; then
5259 result=no
5260 else
5261 result=yes
5262 fi
5263 else
5264 result=$wxUSE_LIBGNOMEVFS
5265 fi
5266
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5268 $as_echo "$result" >&6; }
5269
5270
5271 withstring=
5272 defaultval=$wxUSE_ALL_FEATURES
5273 if test -z "$defaultval"; then
5274 if test x"$withstring" = xwithout; then
5275 defaultval=yes
5276 else
5277 defaultval=no
5278 fi
5279 fi
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libnotify" >&5
5281 $as_echo_n "checking for --${withstring:-with}-libnotify... " >&6; }
5282
5283 # Check whether --with-libnotify was given.
5284 if test "${with_libnotify+set}" = set; then :
5285 withval=$with_libnotify;
5286 if test "$withval" = yes; then
5287 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=yes'
5288 else
5289 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=no'
5290 fi
5291
5292 else
5293
5294 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}"
5295
5296 fi
5297
5298
5299 eval "$wx_cv_use_libnotify"
5300
5301 if test x"$withstring" = xwithout; then
5302 if test $wxUSE_LIBNOTIFY = yes; then
5303 result=no
5304 else
5305 result=yes
5306 fi
5307 else
5308 result=$wxUSE_LIBNOTIFY
5309 fi
5310
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5312 $as_echo "$result" >&6; }
5313
5314
5315 withstring=
5316 defaultval=$wxUSE_ALL_FEATURES
5317 if test -z "$defaultval"; then
5318 if test x"$withstring" = xwithout; then
5319 defaultval=yes
5320 else
5321 defaultval=no
5322 fi
5323 fi
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5325 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5326
5327 # Check whether --with-hildon was given.
5328 if test "${with_hildon+set}" = set; then :
5329 withval=$with_hildon;
5330 if test "$withval" = yes; then
5331 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
5332 else
5333 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
5334 fi
5335
5336 else
5337
5338 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5339
5340 fi
5341
5342
5343 eval "$wx_cv_use_hildon"
5344
5345 if test x"$withstring" = xwithout; then
5346 if test $wxUSE_LIBHILDON = yes; then
5347 result=no
5348 else
5349 result=yes
5350 fi
5351 else
5352 result=$wxUSE_LIBHILDON
5353 fi
5354
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5356 $as_echo "$result" >&6; }
5357
5358
5359 withstring=
5360 defaultval=$wxUSE_ALL_FEATURES
5361 if test -z "$defaultval"; then
5362 if test x"$withstring" = xwithout; then
5363 defaultval=yes
5364 else
5365 defaultval=no
5366 fi
5367 fi
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5369 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5370
5371 # Check whether --with-opengl was given.
5372 if test "${with_opengl+set}" = set; then :
5373 withval=$with_opengl;
5374 if test "$withval" = yes; then
5375 wx_cv_use_opengl='wxUSE_OPENGL=yes'
5376 else
5377 wx_cv_use_opengl='wxUSE_OPENGL=no'
5378 fi
5379
5380 else
5381
5382 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5383
5384 fi
5385
5386
5387 eval "$wx_cv_use_opengl"
5388
5389 if test x"$withstring" = xwithout; then
5390 if test $wxUSE_OPENGL = yes; then
5391 result=no
5392 else
5393 result=yes
5394 fi
5395 else
5396 result=$wxUSE_OPENGL
5397 fi
5398
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5400 $as_echo "$result" >&6; }
5401
5402
5403 fi
5404
5405
5406 withstring=
5407 defaultval=$wxUSE_ALL_FEATURES
5408 if test -z "$defaultval"; then
5409 if test x"$withstring" = xwithout; then
5410 defaultval=yes
5411 else
5412 defaultval=no
5413 fi
5414 fi
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5416 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5417
5418 # Check whether --with-dmalloc was given.
5419 if test "${with_dmalloc+set}" = set; then :
5420 withval=$with_dmalloc;
5421 if test "$withval" = yes; then
5422 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5423 else
5424 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5425 fi
5426
5427 else
5428
5429 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5430
5431 fi
5432
5433
5434 eval "$wx_cv_use_dmalloc"
5435
5436 if test x"$withstring" = xwithout; then
5437 if test $wxUSE_DMALLOC = yes; then
5438 result=no
5439 else
5440 result=yes
5441 fi
5442 else
5443 result=$wxUSE_DMALLOC
5444 fi
5445
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5447 $as_echo "$result" >&6; }
5448
5449
5450 withstring=
5451 defaultval=$wxUSE_ALL_FEATURES
5452 if test -z "$defaultval"; then
5453 if test x"$withstring" = xwithout; then
5454 defaultval=yes
5455 else
5456 defaultval=no
5457 fi
5458 fi
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5460 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5461
5462 # Check whether --with-sdl was given.
5463 if test "${with_sdl+set}" = set; then :
5464 withval=$with_sdl;
5465 if test "$withval" = yes; then
5466 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
5467 else
5468 wx_cv_use_sdl='wxUSE_LIBSDL=no'
5469 fi
5470
5471 else
5472
5473 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5474
5475 fi
5476
5477
5478 eval "$wx_cv_use_sdl"
5479
5480 if test x"$withstring" = xwithout; then
5481 if test $wxUSE_LIBSDL = yes; then
5482 result=no
5483 else
5484 result=yes
5485 fi
5486 else
5487 result=$wxUSE_LIBSDL
5488 fi
5489
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5491 $as_echo "$result" >&6; }
5492
5493
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5495 $as_echo_n "checking for --with-regex... " >&6; }
5496
5497 # Check whether --with-regex was given.
5498 if test "${with_regex+set}" = set; then :
5499 withval=$with_regex;
5500 if test "$withval" = yes; then
5501 wx_cv_use_regex='wxUSE_REGEX=yes'
5502 elif test "$withval" = no; then
5503 wx_cv_use_regex='wxUSE_REGEX=no'
5504 elif test "$withval" = sys; then
5505 wx_cv_use_regex='wxUSE_REGEX=sys'
5506 elif test "$withval" = builtin; then
5507 wx_cv_use_regex='wxUSE_REGEX=builtin'
5508 else
5509 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5510 fi
5511
5512 else
5513
5514 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5515
5516 fi
5517
5518
5519 eval "$wx_cv_use_regex"
5520
5521 if test "$wxUSE_REGEX" = yes; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5523 $as_echo "yes" >&6; }
5524 elif test "$wxUSE_REGEX" = no; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5526 $as_echo "no" >&6; }
5527 elif test "$wxUSE_REGEX" = sys; then
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5529 $as_echo "system version" >&6; }
5530 elif test "$wxUSE_REGEX" = builtin; then
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5532 $as_echo "builtin version" >&6; }
5533 else
5534 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5535 fi
5536
5537
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5539 $as_echo_n "checking for --with-zlib... " >&6; }
5540
5541 # Check whether --with-zlib was given.
5542 if test "${with_zlib+set}" = set; then :
5543 withval=$with_zlib;
5544 if test "$withval" = yes; then
5545 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5546 elif test "$withval" = no; then
5547 wx_cv_use_zlib='wxUSE_ZLIB=no'
5548 elif test "$withval" = sys; then
5549 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5550 elif test "$withval" = builtin; then
5551 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5552 else
5553 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5554 fi
5555
5556 else
5557
5558 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5559
5560 fi
5561
5562
5563 eval "$wx_cv_use_zlib"
5564
5565 if test "$wxUSE_ZLIB" = yes; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5567 $as_echo "yes" >&6; }
5568 elif test "$wxUSE_ZLIB" = no; then
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5571 elif test "$wxUSE_ZLIB" = sys; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5573 $as_echo "system version" >&6; }
5574 elif test "$wxUSE_ZLIB" = builtin; then
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5576 $as_echo "builtin version" >&6; }
5577 else
5578 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5579 fi
5580
5581
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5583 $as_echo_n "checking for --with-expat... " >&6; }
5584
5585 # Check whether --with-expat was given.
5586 if test "${with_expat+set}" = set; then :
5587 withval=$with_expat;
5588 if test "$withval" = yes; then
5589 wx_cv_use_expat='wxUSE_EXPAT=yes'
5590 elif test "$withval" = no; then
5591 wx_cv_use_expat='wxUSE_EXPAT=no'
5592 elif test "$withval" = sys; then
5593 wx_cv_use_expat='wxUSE_EXPAT=sys'
5594 elif test "$withval" = builtin; then
5595 wx_cv_use_expat='wxUSE_EXPAT=builtin'
5596 else
5597 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5598 fi
5599
5600 else
5601
5602 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5603
5604 fi
5605
5606
5607 eval "$wx_cv_use_expat"
5608
5609 if test "$wxUSE_EXPAT" = yes; then
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5611 $as_echo "yes" >&6; }
5612 elif test "$wxUSE_EXPAT" = no; then
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5614 $as_echo "no" >&6; }
5615 elif test "$wxUSE_EXPAT" = sys; then
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5617 $as_echo "system version" >&6; }
5618 elif test "$wxUSE_EXPAT" = builtin; then
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5620 $as_echo "builtin version" >&6; }
5621 else
5622 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5623 fi
5624
5625
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5627 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5628
5629 # Check whether --with-macosx-sdk was given.
5630 if test "${with_macosx_sdk+set}" = set; then :
5631 withval=$with_macosx_sdk;
5632 wxUSE_MACOSX_SDK=$withval
5633 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5634
5635 fi
5636
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5638 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5639
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5641 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5642
5643 # Check whether --with-macosx-version-min was given.
5644 if test "${with_macosx_version_min+set}" = set; then :
5645 withval=$with_macosx_version_min;
5646 wxUSE_MACOSX_VERSION_MIN=$withval
5647 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5648
5649 fi
5650
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5652 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5653
5654
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5656 $as_echo_n "checking for --enable-debug... " >&6; }
5657 # Check whether --enable-debug was given.
5658 if test "${enable_debug+set}" = set; then :
5659 enableval=$enable_debug;
5660 if test "$enableval" = yes; then
5661 wxUSE_DEBUG=yes
5662 elif test "$enableval" = no; then
5663 wxUSE_DEBUG=no
5664 elif test "$enableval" = max; then
5665 wxUSE_DEBUG=yes
5666 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5667 else
5668 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5669 fi
5670
5671 else
5672 wxUSE_DEBUG=default
5673
5674 fi
5675
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5677 $as_echo "${enable_debug-default}" >&6; }
5678
5679 case "$wxUSE_DEBUG" in
5680 yes)
5681 DEFAULT_wxUSE_DEBUG_FLAG=yes
5682 DEFAULT_wxUSE_DEBUG_INFO=yes
5683
5684 DEFAULT_wxUSE_OPTIMISE=no
5685 ;;
5686
5687 no)
5688 DEFAULT_wxUSE_DEBUG_FLAG=no
5689 DEFAULT_wxUSE_DEBUG_INFO=no
5690 ;;
5691
5692 default)
5693 DEFAULT_wxUSE_DEBUG_FLAG=yes
5694 DEFAULT_wxUSE_DEBUG_INFO=no
5695 ;;
5696 esac
5697
5698
5699 enablestring=disable
5700 defaultval=
5701 if test -z "$defaultval"; then
5702 if test x"$enablestring" = xdisable; then
5703 defaultval=yes
5704 else
5705 defaultval=no
5706 fi
5707 fi
5708
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5710 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5711 # Check whether --enable-debug_flag was given.
5712 if test "${enable_debug_flag+set}" = set; then :
5713 enableval=$enable_debug_flag;
5714 if test "$enableval" = yes; then
5715 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5716 else
5717 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5718 fi
5719
5720 else
5721
5722 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5723
5724 fi
5725
5726
5727 eval "$wx_cv_use_debug_flag"
5728
5729 if test x"$enablestring" = xdisable; then
5730 if test $wxUSE_DEBUG_FLAG = no; then
5731 result=yes
5732 else
5733 result=no
5734 fi
5735 else
5736 result=$wxUSE_DEBUG_FLAG
5737 fi
5738
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5740 $as_echo "$result" >&6; }
5741
5742
5743 enablestring=
5744 defaultval=
5745 if test -z "$defaultval"; then
5746 if test x"$enablestring" = xdisable; then
5747 defaultval=yes
5748 else
5749 defaultval=no
5750 fi
5751 fi
5752
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5754 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5755 # Check whether --enable-debug_info was given.
5756 if test "${enable_debug_info+set}" = set; then :
5757 enableval=$enable_debug_info;
5758 if test "$enableval" = yes; then
5759 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5760 else
5761 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5762 fi
5763
5764 else
5765
5766 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5767
5768 fi
5769
5770
5771 eval "$wx_cv_use_debug_info"
5772
5773 if test x"$enablestring" = xdisable; then
5774 if test $wxUSE_DEBUG_INFO = no; then
5775 result=yes
5776 else
5777 result=no
5778 fi
5779 else
5780 result=$wxUSE_DEBUG_INFO
5781 fi
5782
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5784 $as_echo "$result" >&6; }
5785
5786
5787
5788
5789 enablestring=
5790 defaultval=
5791 if test -z "$defaultval"; then
5792 if test x"$enablestring" = xdisable; then
5793 defaultval=yes
5794 else
5795 defaultval=no
5796 fi
5797 fi
5798
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5800 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5801 # Check whether --enable-debug_gdb was given.
5802 if test "${enable_debug_gdb+set}" = set; then :
5803 enableval=$enable_debug_gdb;
5804 if test "$enableval" = yes; then
5805 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5806 else
5807 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5808 fi
5809
5810 else
5811
5812 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5813
5814 fi
5815
5816
5817 eval "$wx_cv_use_debug_gdb"
5818
5819 if test x"$enablestring" = xdisable; then
5820 if test $wxUSE_DEBUG_GDB = no; then
5821 result=yes
5822 else
5823 result=no
5824 fi
5825 else
5826 result=$wxUSE_DEBUG_GDB
5827 fi
5828
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5830 $as_echo "$result" >&6; }
5831
5832
5833 enablestring=
5834 defaultval=
5835 if test -z "$defaultval"; then
5836 if test x"$enablestring" = xdisable; then
5837 defaultval=yes
5838 else
5839 defaultval=no
5840 fi
5841 fi
5842
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5844 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5845 # Check whether --enable-debug_cntxt was given.
5846 if test "${enable_debug_cntxt+set}" = set; then :
5847 enableval=$enable_debug_cntxt;
5848 if test "$enableval" = yes; then
5849 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5850 else
5851 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5852 fi
5853
5854 else
5855
5856 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5857
5858 fi
5859
5860
5861 eval "$wx_cv_use_debug_cntxt"
5862
5863 if test x"$enablestring" = xdisable; then
5864 if test $wxUSE_DEBUG_CONTEXT = no; then
5865 result=yes
5866 else
5867 result=no
5868 fi
5869 else
5870 result=$wxUSE_DEBUG_CONTEXT
5871 fi
5872
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5874 $as_echo "$result" >&6; }
5875
5876
5877 enablestring=
5878 defaultval=
5879 if test -z "$defaultval"; then
5880 if test x"$enablestring" = xdisable; then
5881 defaultval=yes
5882 else
5883 defaultval=no
5884 fi
5885 fi
5886
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5888 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5889 # Check whether --enable-mem_tracing was given.
5890 if test "${enable_mem_tracing+set}" = set; then :
5891 enableval=$enable_mem_tracing;
5892 if test "$enableval" = yes; then
5893 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5894 else
5895 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5896 fi
5897
5898 else
5899
5900 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5901
5902 fi
5903
5904
5905 eval "$wx_cv_use_mem_tracing"
5906
5907 if test x"$enablestring" = xdisable; then
5908 if test $wxUSE_MEM_TRACING = no; then
5909 result=yes
5910 else
5911 result=no
5912 fi
5913 else
5914 result=$wxUSE_MEM_TRACING
5915 fi
5916
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5918 $as_echo "$result" >&6; }
5919
5920
5921
5922
5923 enablestring=disable
5924 defaultval=
5925 if test -z "$defaultval"; then
5926 if test x"$enablestring" = xdisable; then
5927 defaultval=yes
5928 else
5929 defaultval=no
5930 fi
5931 fi
5932
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5934 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5935 # Check whether --enable-shared was given.
5936 if test "${enable_shared+set}" = set; then :
5937 enableval=$enable_shared;
5938 if test "$enableval" = yes; then
5939 wx_cv_use_shared='wxUSE_SHARED=yes'
5940 else
5941 wx_cv_use_shared='wxUSE_SHARED=no'
5942 fi
5943
5944 else
5945
5946 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5947
5948 fi
5949
5950
5951 eval "$wx_cv_use_shared"
5952
5953 if test x"$enablestring" = xdisable; then
5954 if test $wxUSE_SHARED = no; then
5955 result=yes
5956 else
5957 result=no
5958 fi
5959 else
5960 result=$wxUSE_SHARED
5961 fi
5962
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5964 $as_echo "$result" >&6; }
5965
5966
5967 enablestring=
5968 defaultval=
5969 if test -z "$defaultval"; then
5970 if test x"$enablestring" = xdisable; then
5971 defaultval=yes
5972 else
5973 defaultval=no
5974 fi
5975 fi
5976
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5978 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5979 # Check whether --enable-stl was given.
5980 if test "${enable_stl+set}" = set; then :
5981 enableval=$enable_stl;
5982 if test "$enableval" = yes; then
5983 wx_cv_use_stl='wxUSE_STL=yes'
5984 else
5985 wx_cv_use_stl='wxUSE_STL=no'
5986 fi
5987
5988 else
5989
5990 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5991
5992 fi
5993
5994
5995 eval "$wx_cv_use_stl"
5996
5997 if test x"$enablestring" = xdisable; then
5998 if test $wxUSE_STL = no; then
5999 result=yes
6000 else
6001 result=no
6002 fi
6003 else
6004 result=$wxUSE_STL
6005 fi
6006
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6008 $as_echo "$result" >&6; }
6009
6010 if test "$wxUSE_STL" = "yes"; then
6011 DEFAULT_wxUSE_STD_CONTAINERS=yes
6012 DEFAULT_wxUSE_STD_IOSTREAM=yes
6013 DEFAULT_wxUSE_STD_STRING=yes
6014 fi
6015
6016 enablestring=
6017 defaultval=
6018 if test -z "$defaultval"; then
6019 if test x"$enablestring" = xdisable; then
6020 defaultval=yes
6021 else
6022 defaultval=no
6023 fi
6024 fi
6025
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
6027 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
6028 # Check whether --enable-std_containers was given.
6029 if test "${enable_std_containers+set}" = set; then :
6030 enableval=$enable_std_containers;
6031 if test "$enableval" = yes; then
6032 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
6033 else
6034 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
6035 fi
6036
6037 else
6038
6039 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
6040
6041 fi
6042
6043
6044 eval "$wx_cv_use_std_containers"
6045
6046 if test x"$enablestring" = xdisable; then
6047 if test $wxUSE_STD_CONTAINERS = no; then
6048 result=yes
6049 else
6050 result=no
6051 fi
6052 else
6053 result=$wxUSE_STD_CONTAINERS
6054 fi
6055
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6057 $as_echo "$result" >&6; }
6058
6059
6060 enablestring=
6061 defaultval=
6062 if test -z "$defaultval"; then
6063 if test x"$enablestring" = xdisable; then
6064 defaultval=yes
6065 else
6066 defaultval=no
6067 fi
6068 fi
6069
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
6071 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
6072 # Check whether --enable-std_iostreams was given.
6073 if test "${enable_std_iostreams+set}" = set; then :
6074 enableval=$enable_std_iostreams;
6075 if test "$enableval" = yes; then
6076 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6077 else
6078 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6079 fi
6080
6081 else
6082
6083 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
6084
6085 fi
6086
6087
6088 eval "$wx_cv_use_std_iostreams"
6089
6090 if test x"$enablestring" = xdisable; then
6091 if test $wxUSE_STD_IOSTREAM = no; then
6092 result=yes
6093 else
6094 result=no
6095 fi
6096 else
6097 result=$wxUSE_STD_IOSTREAM
6098 fi
6099
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6101 $as_echo "$result" >&6; }
6102
6103
6104 enablestring=
6105 defaultval=
6106 if test -z "$defaultval"; then
6107 if test x"$enablestring" = xdisable; then
6108 defaultval=yes
6109 else
6110 defaultval=no
6111 fi
6112 fi
6113
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
6115 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
6116 # Check whether --enable-std_string was given.
6117 if test "${enable_std_string+set}" = set; then :
6118 enableval=$enable_std_string;
6119 if test "$enableval" = yes; then
6120 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
6121 else
6122 wx_cv_use_std_string='wxUSE_STD_STRING=no'
6123 fi
6124
6125 else
6126
6127 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6128
6129 fi
6130
6131
6132 eval "$wx_cv_use_std_string"
6133
6134 if test x"$enablestring" = xdisable; then
6135 if test $wxUSE_STD_STRING = no; then
6136 result=yes
6137 else
6138 result=no
6139 fi
6140 else
6141 result=$wxUSE_STD_STRING
6142 fi
6143
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6145 $as_echo "$result" >&6; }
6146
6147
6148 enablestring=
6149 defaultval=
6150 if test -z "$defaultval"; then
6151 if test x"$enablestring" = xdisable; then
6152 defaultval=yes
6153 else
6154 defaultval=no
6155 fi
6156 fi
6157
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6159 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
6160 # Check whether --enable-std_string_conv_in_wxstring was given.
6161 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6162 enableval=$enable_std_string_conv_in_wxstring;
6163 if test "$enableval" = yes; then
6164 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6165 else
6166 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6167 fi
6168
6169 else
6170
6171 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6172
6173 fi
6174
6175
6176 eval "$wx_cv_use_std_string_conv_in_wxstring"
6177
6178 if test x"$enablestring" = xdisable; then
6179 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6180 result=yes
6181 else
6182 result=no
6183 fi
6184 else
6185 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6186 fi
6187
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6189 $as_echo "$result" >&6; }
6190
6191
6192 enablestring=disable
6193 defaultval=
6194 if test -z "$defaultval"; then
6195 if test x"$enablestring" = xdisable; then
6196 defaultval=yes
6197 else
6198 defaultval=no
6199 fi
6200 fi
6201
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6203 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6204 # Check whether --enable-unicode was given.
6205 if test "${enable_unicode+set}" = set; then :
6206 enableval=$enable_unicode;
6207 if test "$enableval" = yes; then
6208 wx_cv_use_unicode='wxUSE_UNICODE=yes'
6209 else
6210 wx_cv_use_unicode='wxUSE_UNICODE=no'
6211 fi
6212
6213 else
6214
6215 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6216
6217 fi
6218
6219
6220 eval "$wx_cv_use_unicode"
6221
6222 if test x"$enablestring" = xdisable; then
6223 if test $wxUSE_UNICODE = no; then
6224 result=yes
6225 else
6226 result=no
6227 fi
6228 else
6229 result=$wxUSE_UNICODE
6230 fi
6231
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6233 $as_echo "$result" >&6; }
6234
6235
6236 enablestring=
6237 defaultval=
6238 if test -z "$defaultval"; then
6239 if test x"$enablestring" = xdisable; then
6240 defaultval=yes
6241 else
6242 defaultval=no
6243 fi
6244 fi
6245
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6247 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6248 # Check whether --enable-mslu was given.
6249 if test "${enable_mslu+set}" = set; then :
6250 enableval=$enable_mslu;
6251 if test "$enableval" = yes; then
6252 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6253 else
6254 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6255 fi
6256
6257 else
6258
6259 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6260
6261 fi
6262
6263
6264 eval "$wx_cv_use_mslu"
6265
6266 if test x"$enablestring" = xdisable; then
6267 if test $wxUSE_UNICODE_MSLU = no; then
6268 result=yes
6269 else
6270 result=no
6271 fi
6272 else
6273 result=$wxUSE_UNICODE_MSLU
6274 fi
6275
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6277 $as_echo "$result" >&6; }
6278
6279
6280 enablestring=
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6282 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6283 # Check whether --enable-utf8 was given.
6284 if test "${enable_utf8+set}" = set; then :
6285 enableval=$enable_utf8;
6286 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6287
6288 else
6289
6290 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6291
6292 fi
6293
6294
6295 eval "$wx_cv_use_utf8"
6296
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6298 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6299
6300
6301 enablestring=
6302 defaultval=
6303 if test -z "$defaultval"; then
6304 if test x"$enablestring" = xdisable; then
6305 defaultval=yes
6306 else
6307 defaultval=no
6308 fi
6309 fi
6310
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6312 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6313 # Check whether --enable-utf8only was given.
6314 if test "${enable_utf8only+set}" = set; then :
6315 enableval=$enable_utf8only;
6316 if test "$enableval" = yes; then
6317 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6318 else
6319 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6320 fi
6321
6322 else
6323
6324 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6325
6326 fi
6327
6328
6329 eval "$wx_cv_use_utf8only"
6330
6331 if test x"$enablestring" = xdisable; then
6332 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6333 result=yes
6334 else
6335 result=no
6336 fi
6337 else
6338 result=$wxUSE_UNICODE_UTF8_LOCALE
6339 fi
6340
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6342 $as_echo "$result" >&6; }
6343
6344
6345 enablestring=
6346 defaultval=
6347 if test -z "$defaultval"; then
6348 if test x"$enablestring" = xdisable; then
6349 defaultval=yes
6350 else
6351 defaultval=no
6352 fi
6353 fi
6354
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6356 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6357 # Check whether --enable-extended_rtti was given.
6358 if test "${enable_extended_rtti+set}" = set; then :
6359 enableval=$enable_extended_rtti;
6360 if test "$enableval" = yes; then
6361 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
6362 else
6363 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
6364 fi
6365
6366 else
6367
6368 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6369
6370 fi
6371
6372
6373 eval "$wx_cv_use_extended_rtti"
6374
6375 if test x"$enablestring" = xdisable; then
6376 if test $wxUSE_EXTENDED_RTTI = no; then
6377 result=yes
6378 else
6379 result=no
6380 fi
6381 else
6382 result=$wxUSE_EXTENDED_RTTI
6383 fi
6384
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6386 $as_echo "$result" >&6; }
6387
6388 if test "$USE_OS2" = 1; then
6389 DEFAULT_wxUSE_OMF=no
6390
6391 enablestring=
6392 defaultval=
6393 if test -z "$defaultval"; then
6394 if test x"$enablestring" = xdisable; then
6395 defaultval=yes
6396 else
6397 defaultval=no
6398 fi
6399 fi
6400
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6402 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6403 # Check whether --enable-omf was given.
6404 if test "${enable_omf+set}" = set; then :
6405 enableval=$enable_omf;
6406 if test "$enableval" = yes; then
6407 wx_cv_use_omf='wxUSE_OMF=yes'
6408 else
6409 wx_cv_use_omf='wxUSE_OMF=no'
6410 fi
6411
6412 else
6413
6414 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6415
6416 fi
6417
6418
6419 eval "$wx_cv_use_omf"
6420
6421 if test x"$enablestring" = xdisable; then
6422 if test $wxUSE_OMF = no; then
6423 result=yes
6424 else
6425 result=no
6426 fi
6427 else
6428 result=$wxUSE_OMF
6429 fi
6430
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6432 $as_echo "$result" >&6; }
6433
6434 fi
6435
6436
6437 enablestring=disable
6438 defaultval=
6439 if test -z "$defaultval"; then
6440 if test x"$enablestring" = xdisable; then
6441 defaultval=yes
6442 else
6443 defaultval=no
6444 fi
6445 fi
6446
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6448 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6449 # Check whether --enable-optimise was given.
6450 if test "${enable_optimise+set}" = set; then :
6451 enableval=$enable_optimise;
6452 if test "$enableval" = yes; then
6453 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6454 else
6455 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6456 fi
6457
6458 else
6459
6460 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6461
6462 fi
6463
6464
6465 eval "$wx_cv_use_optimise"
6466
6467 if test x"$enablestring" = xdisable; then
6468 if test $wxUSE_OPTIMISE = no; then
6469 result=yes
6470 else
6471 result=no
6472 fi
6473 else
6474 result=$wxUSE_OPTIMISE
6475 fi
6476
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6478 $as_echo "$result" >&6; }
6479
6480
6481
6482 enablestring=
6483 defaultval=
6484 if test -z "$defaultval"; then
6485 if test x"$enablestring" = xdisable; then
6486 defaultval=yes
6487 else
6488 defaultval=no
6489 fi
6490 fi
6491
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6493 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6494 # Check whether --enable-profile was given.
6495 if test "${enable_profile+set}" = set; then :
6496 enableval=$enable_profile;
6497 if test "$enableval" = yes; then
6498 wx_cv_use_profile='wxUSE_PROFILE=yes'
6499 else
6500 wx_cv_use_profile='wxUSE_PROFILE=no'
6501 fi
6502
6503 else
6504
6505 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6506
6507 fi
6508
6509
6510 eval "$wx_cv_use_profile"
6511
6512 if test x"$enablestring" = xdisable; then
6513 if test $wxUSE_PROFILE = no; then
6514 result=yes
6515 else
6516 result=no
6517 fi
6518 else
6519 result=$wxUSE_PROFILE
6520 fi
6521
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6523 $as_echo "$result" >&6; }
6524
6525
6526 enablestring=
6527 defaultval=
6528 if test -z "$defaultval"; then
6529 if test x"$enablestring" = xdisable; then
6530 defaultval=yes
6531 else
6532 defaultval=no
6533 fi
6534 fi
6535
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6537 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6538 # Check whether --enable-no_rtti was given.
6539 if test "${enable_no_rtti+set}" = set; then :
6540 enableval=$enable_no_rtti;
6541 if test "$enableval" = yes; then
6542 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6543 else
6544 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6545 fi
6546
6547 else
6548
6549 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6550
6551 fi
6552
6553
6554 eval "$wx_cv_use_no_rtti"
6555
6556 if test x"$enablestring" = xdisable; then
6557 if test $wxUSE_NO_RTTI = no; then
6558 result=yes
6559 else
6560 result=no
6561 fi
6562 else
6563 result=$wxUSE_NO_RTTI
6564 fi
6565
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6567 $as_echo "$result" >&6; }
6568
6569
6570 enablestring=
6571 defaultval=
6572 if test -z "$defaultval"; then
6573 if test x"$enablestring" = xdisable; then
6574 defaultval=yes
6575 else
6576 defaultval=no
6577 fi
6578 fi
6579
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6581 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6582 # Check whether --enable-no_exceptions was given.
6583 if test "${enable_no_exceptions+set}" = set; then :
6584 enableval=$enable_no_exceptions;
6585 if test "$enableval" = yes; then
6586 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6587 else
6588 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6589 fi
6590
6591 else
6592
6593 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6594
6595 fi
6596
6597
6598 eval "$wx_cv_use_no_exceptions"
6599
6600 if test x"$enablestring" = xdisable; then
6601 if test $wxUSE_NO_EXCEPTIONS = no; then
6602 result=yes
6603 else
6604 result=no
6605 fi
6606 else
6607 result=$wxUSE_NO_EXCEPTIONS
6608 fi
6609
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6611 $as_echo "$result" >&6; }
6612
6613
6614 enablestring=
6615 defaultval=
6616 if test -z "$defaultval"; then
6617 if test x"$enablestring" = xdisable; then
6618 defaultval=yes
6619 else
6620 defaultval=no
6621 fi
6622 fi
6623
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6625 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6626 # Check whether --enable-permissive was given.
6627 if test "${enable_permissive+set}" = set; then :
6628 enableval=$enable_permissive;
6629 if test "$enableval" = yes; then
6630 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
6631 else
6632 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
6633 fi
6634
6635 else
6636
6637 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6638
6639 fi
6640
6641
6642 eval "$wx_cv_use_permissive"
6643
6644 if test x"$enablestring" = xdisable; then
6645 if test $wxUSE_PERMISSIVE = no; then
6646 result=yes
6647 else
6648 result=no
6649 fi
6650 else
6651 result=$wxUSE_PERMISSIVE
6652 fi
6653
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6655 $as_echo "$result" >&6; }
6656
6657
6658 enablestring=
6659 defaultval=
6660 if test -z "$defaultval"; then
6661 if test x"$enablestring" = xdisable; then
6662 defaultval=yes
6663 else
6664 defaultval=no
6665 fi
6666 fi
6667
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6669 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6670 # Check whether --enable-no_deps was given.
6671 if test "${enable_no_deps+set}" = set; then :
6672 enableval=$enable_no_deps;
6673 if test "$enableval" = yes; then
6674 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6675 else
6676 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6677 fi
6678
6679 else
6680
6681 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6682
6683 fi
6684
6685
6686 eval "$wx_cv_use_no_deps"
6687
6688 if test x"$enablestring" = xdisable; then
6689 if test $wxUSE_NO_DEPS = no; then
6690 result=yes
6691 else
6692 result=no
6693 fi
6694 else
6695 result=$wxUSE_NO_DEPS
6696 fi
6697
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6699 $as_echo "$result" >&6; }
6700
6701
6702 enablestring=disable
6703 defaultval=
6704 if test -z "$defaultval"; then
6705 if test x"$enablestring" = xdisable; then
6706 defaultval=yes
6707 else
6708 defaultval=no
6709 fi
6710 fi
6711
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6713 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6714 # Check whether --enable-vararg_macros was given.
6715 if test "${enable_vararg_macros+set}" = set; then :
6716 enableval=$enable_vararg_macros;
6717 if test "$enableval" = yes; then
6718 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6719 else
6720 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6721 fi
6722
6723 else
6724
6725 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6726
6727 fi
6728
6729
6730 eval "$wx_cv_use_vararg_macros"
6731
6732 if test x"$enablestring" = xdisable; then
6733 if test $wxUSE_VARARG_MACROS = no; then
6734 result=yes
6735 else
6736 result=no
6737 fi
6738 else
6739 result=$wxUSE_VARARG_MACROS
6740 fi
6741
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6743 $as_echo "$result" >&6; }
6744
6745
6746
6747 enablestring=
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6749 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6750 # Check whether --enable-universal_binary was given.
6751 if test "${enable_universal_binary+set}" = set; then :
6752 enableval=$enable_universal_binary;
6753 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6754
6755 else
6756
6757 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6758
6759 fi
6760
6761
6762 eval "$wx_cv_use_universal_binary"
6763
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6765 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6766
6767
6768 enablestring=
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6770 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6771 # Check whether --enable-macosx_arch was given.
6772 if test "${enable_macosx_arch+set}" = set; then :
6773 enableval=$enable_macosx_arch;
6774 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6775
6776 else
6777
6778 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6779
6780 fi
6781
6782
6783 eval "$wx_cv_use_macosx_arch"
6784
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6786 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6787
6788
6789
6790 enablestring=
6791 defaultval=
6792 if test -z "$defaultval"; then
6793 if test x"$enablestring" = xdisable; then
6794 defaultval=yes
6795 else
6796 defaultval=no
6797 fi
6798 fi
6799
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6801 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6802 # Check whether --enable-compat26 was given.
6803 if test "${enable_compat26+set}" = set; then :
6804 enableval=$enable_compat26;
6805 if test "$enableval" = yes; then
6806 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
6807 else
6808 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
6809 fi
6810
6811 else
6812
6813 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6814
6815 fi
6816
6817
6818 eval "$wx_cv_use_compat26"
6819
6820 if test x"$enablestring" = xdisable; then
6821 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6822 result=yes
6823 else
6824 result=no
6825 fi
6826 else
6827 result=$WXWIN_COMPATIBILITY_2_6
6828 fi
6829
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6831 $as_echo "$result" >&6; }
6832
6833
6834 enablestring=disable
6835 defaultval=
6836 if test -z "$defaultval"; then
6837 if test x"$enablestring" = xdisable; then
6838 defaultval=yes
6839 else
6840 defaultval=no
6841 fi
6842 fi
6843
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6845 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6846 # Check whether --enable-compat28 was given.
6847 if test "${enable_compat28+set}" = set; then :
6848 enableval=$enable_compat28;
6849 if test "$enableval" = yes; then
6850 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6851 else
6852 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6853 fi
6854
6855 else
6856
6857 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6858
6859 fi
6860
6861
6862 eval "$wx_cv_use_compat28"
6863
6864 if test x"$enablestring" = xdisable; then
6865 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6866 result=yes
6867 else
6868 result=no
6869 fi
6870 else
6871 result=$WXWIN_COMPATIBILITY_2_8
6872 fi
6873
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6875 $as_echo "$result" >&6; }
6876
6877
6878
6879 enablestring=disable
6880 defaultval=
6881 if test -z "$defaultval"; then
6882 if test x"$enablestring" = xdisable; then
6883 defaultval=yes
6884 else
6885 defaultval=no
6886 fi
6887 fi
6888
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6890 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6891 # Check whether --enable-rpath was given.
6892 if test "${enable_rpath+set}" = set; then :
6893 enableval=$enable_rpath;
6894 if test "$enableval" = yes; then
6895 wx_cv_use_rpath='wxUSE_RPATH=yes'
6896 else
6897 wx_cv_use_rpath='wxUSE_RPATH=no'
6898 fi
6899
6900 else
6901
6902 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6903
6904 fi
6905
6906
6907 eval "$wx_cv_use_rpath"
6908
6909 if test x"$enablestring" = xdisable; then
6910 if test $wxUSE_RPATH = no; then
6911 result=yes
6912 else
6913 result=no
6914 fi
6915 else
6916 result=$wxUSE_RPATH
6917 fi
6918
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6920 $as_echo "$result" >&6; }
6921
6922
6923
6924 enablestring=
6925 defaultval=
6926 if test -z "$defaultval"; then
6927 if test x"$enablestring" = xdisable; then
6928 defaultval=yes
6929 else
6930 defaultval=no
6931 fi
6932 fi
6933
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6935 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6936 # Check whether --enable-objc_uniquifying was given.
6937 if test "${enable_objc_uniquifying+set}" = set; then :
6938 enableval=$enable_objc_uniquifying;
6939 if test "$enableval" = yes; then
6940 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6941 else
6942 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6943 fi
6944
6945 else
6946
6947 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6948
6949 fi
6950
6951
6952 eval "$wx_cv_use_objc_uniquifying"
6953
6954 if test x"$enablestring" = xdisable; then
6955 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6956 result=yes
6957 else
6958 result=no
6959 fi
6960 else
6961 result=$wxUSE_OBJC_UNIQUIFYING
6962 fi
6963
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6965 $as_echo "$result" >&6; }
6966
6967
6968
6969 enablestring=disable
6970 defaultval=
6971 if test -z "$defaultval"; then
6972 if test x"$enablestring" = xdisable; then
6973 defaultval=yes
6974 else
6975 defaultval=no
6976 fi
6977 fi
6978
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6980 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6981 # Check whether --enable-visibility was given.
6982 if test "${enable_visibility+set}" = set; then :
6983 enableval=$enable_visibility;
6984 if test "$enableval" = yes; then
6985 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6986 else
6987 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6988 fi
6989
6990 else
6991
6992 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6993
6994 fi
6995
6996
6997 eval "$wx_cv_use_visibility"
6998
6999 if test x"$enablestring" = xdisable; then
7000 if test $wxUSE_VISIBILITY = no; then
7001 result=yes
7002 else
7003 result=no
7004 fi
7005 else
7006 result=$wxUSE_VISIBILITY
7007 fi
7008
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7010 $as_echo "$result" >&6; }
7011
7012
7013 enablestring=disable
7014 defaultval=
7015 if test -z "$defaultval"; then
7016 if test x"$enablestring" = xdisable; then
7017 defaultval=yes
7018 else
7019 defaultval=no
7020 fi
7021 fi
7022
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
7024 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
7025 # Check whether --enable-tls was given.
7026 if test "${enable_tls+set}" = set; then :
7027 enableval=$enable_tls;
7028 if test "$enableval" = yes; then
7029 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
7030 else
7031 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
7032 fi
7033
7034 else
7035
7036 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
7037
7038 fi
7039
7040
7041 eval "$wx_cv_use_tls"
7042
7043 if test x"$enablestring" = xdisable; then
7044 if test $wxUSE_COMPILER_TLS = no; then
7045 result=yes
7046 else
7047 result=no
7048 fi
7049 else
7050 result=$wxUSE_COMPILER_TLS
7051 fi
7052
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7054 $as_echo "$result" >&6; }
7055
7056
7057
7058
7059 enablestring=
7060 defaultval=$wxUSE_ALL_FEATURES
7061 if test -z "$defaultval"; then
7062 if test x"$enablestring" = xdisable; then
7063 defaultval=yes
7064 else
7065 defaultval=no
7066 fi
7067 fi
7068
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
7070 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
7071 # Check whether --enable-intl was given.
7072 if test "${enable_intl+set}" = set; then :
7073 enableval=$enable_intl;
7074 if test "$enableval" = yes; then
7075 wx_cv_use_intl='wxUSE_INTL=yes'
7076 else
7077 wx_cv_use_intl='wxUSE_INTL=no'
7078 fi
7079
7080 else
7081
7082 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
7083
7084 fi
7085
7086
7087 eval "$wx_cv_use_intl"
7088
7089 if test x"$enablestring" = xdisable; then
7090 if test $wxUSE_INTL = no; then
7091 result=yes
7092 else
7093 result=no
7094 fi
7095 else
7096 result=$wxUSE_INTL
7097 fi
7098
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7100 $as_echo "$result" >&6; }
7101
7102
7103 enablestring=
7104 defaultval=$wxUSE_ALL_FEATURES
7105 if test -z "$defaultval"; then
7106 if test x"$enablestring" = xdisable; then
7107 defaultval=yes
7108 else
7109 defaultval=no
7110 fi
7111 fi
7112
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
7114 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
7115 # Check whether --enable-xlocale was given.
7116 if test "${enable_xlocale+set}" = set; then :
7117 enableval=$enable_xlocale;
7118 if test "$enableval" = yes; then
7119 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
7120 else
7121 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
7122 fi
7123
7124 else
7125
7126 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7127
7128 fi
7129
7130
7131 eval "$wx_cv_use_xlocale"
7132
7133 if test x"$enablestring" = xdisable; then
7134 if test $wxUSE_XLOCALE = no; then
7135 result=yes
7136 else
7137 result=no
7138 fi
7139 else
7140 result=$wxUSE_XLOCALE
7141 fi
7142
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7144 $as_echo "$result" >&6; }
7145
7146
7147 enablestring=
7148 defaultval=$wxUSE_ALL_FEATURES
7149 if test -z "$defaultval"; then
7150 if test x"$enablestring" = xdisable; then
7151 defaultval=yes
7152 else
7153 defaultval=no
7154 fi
7155 fi
7156
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
7158 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
7159 # Check whether --enable-config was given.
7160 if test "${enable_config+set}" = set; then :
7161 enableval=$enable_config;
7162 if test "$enableval" = yes; then
7163 wx_cv_use_config='wxUSE_CONFIG=yes'
7164 else
7165 wx_cv_use_config='wxUSE_CONFIG=no'
7166 fi
7167
7168 else
7169
7170 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7171
7172 fi
7173
7174
7175 eval "$wx_cv_use_config"
7176
7177 if test x"$enablestring" = xdisable; then
7178 if test $wxUSE_CONFIG = no; then
7179 result=yes
7180 else
7181 result=no
7182 fi
7183 else
7184 result=$wxUSE_CONFIG
7185 fi
7186
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7188 $as_echo "$result" >&6; }
7189
7190
7191
7192 enablestring=
7193 defaultval=$wxUSE_ALL_FEATURES
7194 if test -z "$defaultval"; then
7195 if test x"$enablestring" = xdisable; then
7196 defaultval=yes
7197 else
7198 defaultval=no
7199 fi
7200 fi
7201
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7203 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7204 # Check whether --enable-protocols was given.
7205 if test "${enable_protocols+set}" = set; then :
7206 enableval=$enable_protocols;
7207 if test "$enableval" = yes; then
7208 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
7209 else
7210 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
7211 fi
7212
7213 else
7214
7215 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7216
7217 fi
7218
7219
7220 eval "$wx_cv_use_protocols"
7221
7222 if test x"$enablestring" = xdisable; then
7223 if test $wxUSE_PROTOCOL = no; then
7224 result=yes
7225 else
7226 result=no
7227 fi
7228 else
7229 result=$wxUSE_PROTOCOL
7230 fi
7231
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7233 $as_echo "$result" >&6; }
7234
7235
7236 enablestring=
7237 defaultval=$wxUSE_ALL_FEATURES
7238 if test -z "$defaultval"; then
7239 if test x"$enablestring" = xdisable; then
7240 defaultval=yes
7241 else
7242 defaultval=no
7243 fi
7244 fi
7245
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7247 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7248 # Check whether --enable-ftp was given.
7249 if test "${enable_ftp+set}" = set; then :
7250 enableval=$enable_ftp;
7251 if test "$enableval" = yes; then
7252 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7253 else
7254 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7255 fi
7256
7257 else
7258
7259 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7260
7261 fi
7262
7263
7264 eval "$wx_cv_use_ftp"
7265
7266 if test x"$enablestring" = xdisable; then
7267 if test $wxUSE_PROTOCOL_FTP = no; then
7268 result=yes
7269 else
7270 result=no
7271 fi
7272 else
7273 result=$wxUSE_PROTOCOL_FTP
7274 fi
7275
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7277 $as_echo "$result" >&6; }
7278
7279
7280 enablestring=
7281 defaultval=$wxUSE_ALL_FEATURES
7282 if test -z "$defaultval"; then
7283 if test x"$enablestring" = xdisable; then
7284 defaultval=yes
7285 else
7286 defaultval=no
7287 fi
7288 fi
7289
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7291 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7292 # Check whether --enable-http was given.
7293 if test "${enable_http+set}" = set; then :
7294 enableval=$enable_http;
7295 if test "$enableval" = yes; then
7296 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7297 else
7298 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7299 fi
7300
7301 else
7302
7303 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7304
7305 fi
7306
7307
7308 eval "$wx_cv_use_http"
7309
7310 if test x"$enablestring" = xdisable; then
7311 if test $wxUSE_PROTOCOL_HTTP = no; then
7312 result=yes
7313 else
7314 result=no
7315 fi
7316 else
7317 result=$wxUSE_PROTOCOL_HTTP
7318 fi
7319
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7321 $as_echo "$result" >&6; }
7322
7323
7324 enablestring=
7325 defaultval=$wxUSE_ALL_FEATURES
7326 if test -z "$defaultval"; then
7327 if test x"$enablestring" = xdisable; then
7328 defaultval=yes
7329 else
7330 defaultval=no
7331 fi
7332 fi
7333
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7335 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7336 # Check whether --enable-fileproto was given.
7337 if test "${enable_fileproto+set}" = set; then :
7338 enableval=$enable_fileproto;
7339 if test "$enableval" = yes; then
7340 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
7341 else
7342 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
7343 fi
7344
7345 else
7346
7347 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7348
7349 fi
7350
7351
7352 eval "$wx_cv_use_fileproto"
7353
7354 if test x"$enablestring" = xdisable; then
7355 if test $wxUSE_PROTOCOL_FILE = no; then
7356 result=yes
7357 else
7358 result=no
7359 fi
7360 else
7361 result=$wxUSE_PROTOCOL_FILE
7362 fi
7363
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7365 $as_echo "$result" >&6; }
7366
7367
7368 enablestring=
7369 defaultval=$wxUSE_ALL_FEATURES
7370 if test -z "$defaultval"; then
7371 if test x"$enablestring" = xdisable; then
7372 defaultval=yes
7373 else
7374 defaultval=no
7375 fi
7376 fi
7377
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7379 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7380 # Check whether --enable-sockets was given.
7381 if test "${enable_sockets+set}" = set; then :
7382 enableval=$enable_sockets;
7383 if test "$enableval" = yes; then
7384 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7385 else
7386 wx_cv_use_sockets='wxUSE_SOCKETS=no'
7387 fi
7388
7389 else
7390
7391 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7392
7393 fi
7394
7395
7396 eval "$wx_cv_use_sockets"
7397
7398 if test x"$enablestring" = xdisable; then
7399 if test $wxUSE_SOCKETS = no; then
7400 result=yes
7401 else
7402 result=no
7403 fi
7404 else
7405 result=$wxUSE_SOCKETS
7406 fi
7407
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7409 $as_echo "$result" >&6; }
7410
7411
7412 enablestring=
7413 defaultval=$wxUSE_ALL_FEATURES
7414 if test -z "$defaultval"; then
7415 if test x"$enablestring" = xdisable; then
7416 defaultval=yes
7417 else
7418 defaultval=no
7419 fi
7420 fi
7421
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7423 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7424 # Check whether --enable-ipv6 was given.
7425 if test "${enable_ipv6+set}" = set; then :
7426 enableval=$enable_ipv6;
7427 if test "$enableval" = yes; then
7428 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7429 else
7430 wx_cv_use_ipv6='wxUSE_IPV6=no'
7431 fi
7432
7433 else
7434
7435 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7436
7437 fi
7438
7439
7440 eval "$wx_cv_use_ipv6"
7441
7442 if test x"$enablestring" = xdisable; then
7443 if test $wxUSE_IPV6 = no; then
7444 result=yes
7445 else
7446 result=no
7447 fi
7448 else
7449 result=$wxUSE_IPV6
7450 fi
7451
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7453 $as_echo "$result" >&6; }
7454
7455
7456 enablestring=
7457 defaultval=$wxUSE_ALL_FEATURES
7458 if test -z "$defaultval"; then
7459 if test x"$enablestring" = xdisable; then
7460 defaultval=yes
7461 else
7462 defaultval=no
7463 fi
7464 fi
7465
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7467 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7468 # Check whether --enable-ole was given.
7469 if test "${enable_ole+set}" = set; then :
7470 enableval=$enable_ole;
7471 if test "$enableval" = yes; then
7472 wx_cv_use_ole='wxUSE_OLE=yes'
7473 else
7474 wx_cv_use_ole='wxUSE_OLE=no'
7475 fi
7476
7477 else
7478
7479 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7480
7481 fi
7482
7483
7484 eval "$wx_cv_use_ole"
7485
7486 if test x"$enablestring" = xdisable; then
7487 if test $wxUSE_OLE = no; then
7488 result=yes
7489 else
7490 result=no
7491 fi
7492 else
7493 result=$wxUSE_OLE
7494 fi
7495
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7497 $as_echo "$result" >&6; }
7498
7499
7500 enablestring=
7501 defaultval=$wxUSE_ALL_FEATURES
7502 if test -z "$defaultval"; then
7503 if test x"$enablestring" = xdisable; then
7504 defaultval=yes
7505 else
7506 defaultval=no
7507 fi
7508 fi
7509
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7511 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7512 # Check whether --enable-dataobj was given.
7513 if test "${enable_dataobj+set}" = set; then :
7514 enableval=$enable_dataobj;
7515 if test "$enableval" = yes; then
7516 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7517 else
7518 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7519 fi
7520
7521 else
7522
7523 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7524
7525 fi
7526
7527
7528 eval "$wx_cv_use_dataobj"
7529
7530 if test x"$enablestring" = xdisable; then
7531 if test $wxUSE_DATAOBJ = no; then
7532 result=yes
7533 else
7534 result=no
7535 fi
7536 else
7537 result=$wxUSE_DATAOBJ
7538 fi
7539
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7541 $as_echo "$result" >&6; }
7542
7543
7544
7545 enablestring=
7546 defaultval=$wxUSE_ALL_FEATURES
7547 if test -z "$defaultval"; then
7548 if test x"$enablestring" = xdisable; then
7549 defaultval=yes
7550 else
7551 defaultval=no
7552 fi
7553 fi
7554
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7556 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7557 # Check whether --enable-ipc was given.
7558 if test "${enable_ipc+set}" = set; then :
7559 enableval=$enable_ipc;
7560 if test "$enableval" = yes; then
7561 wx_cv_use_ipc='wxUSE_IPC=yes'
7562 else
7563 wx_cv_use_ipc='wxUSE_IPC=no'
7564 fi
7565
7566 else
7567
7568 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7569
7570 fi
7571
7572
7573 eval "$wx_cv_use_ipc"
7574
7575 if test x"$enablestring" = xdisable; then
7576 if test $wxUSE_IPC = no; then
7577 result=yes
7578 else
7579 result=no
7580 fi
7581 else
7582 result=$wxUSE_IPC
7583 fi
7584
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7586 $as_echo "$result" >&6; }
7587
7588
7589
7590 enablestring=
7591 defaultval=$wxUSE_ALL_FEATURES
7592 if test -z "$defaultval"; then
7593 if test x"$enablestring" = xdisable; then
7594 defaultval=yes
7595 else
7596 defaultval=no
7597 fi
7598 fi
7599
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7601 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7602 # Check whether --enable-baseevtloop was given.
7603 if test "${enable_baseevtloop+set}" = set; then :
7604 enableval=$enable_baseevtloop;
7605 if test "$enableval" = yes; then
7606 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
7607 else
7608 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
7609 fi
7610
7611 else
7612
7613 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7614
7615 fi
7616
7617
7618 eval "$wx_cv_use_baseevtloop"
7619
7620 if test x"$enablestring" = xdisable; then
7621 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7622 result=yes
7623 else
7624 result=no
7625 fi
7626 else
7627 result=$wxUSE_CONSOLE_EVENTLOOP
7628 fi
7629
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7631 $as_echo "$result" >&6; }
7632
7633
7634 enablestring=
7635 defaultval=$wxUSE_ALL_FEATURES
7636 if test -z "$defaultval"; then
7637 if test x"$enablestring" = xdisable; then
7638 defaultval=yes
7639 else
7640 defaultval=no
7641 fi
7642 fi
7643
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7645 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7646 # Check whether --enable-epollloop was given.
7647 if test "${enable_epollloop+set}" = set; then :
7648 enableval=$enable_epollloop;
7649 if test "$enableval" = yes; then
7650 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7651 else
7652 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7653 fi
7654
7655 else
7656
7657 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7658
7659 fi
7660
7661
7662 eval "$wx_cv_use_epollloop"
7663
7664 if test x"$enablestring" = xdisable; then
7665 if test $wxUSE_EPOLL_DISPATCHER = no; then
7666 result=yes
7667 else
7668 result=no
7669 fi
7670 else
7671 result=$wxUSE_EPOLL_DISPATCHER
7672 fi
7673
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7675 $as_echo "$result" >&6; }
7676
7677
7678 enablestring=
7679 defaultval=$wxUSE_ALL_FEATURES
7680 if test -z "$defaultval"; then
7681 if test x"$enablestring" = xdisable; then
7682 defaultval=yes
7683 else
7684 defaultval=no
7685 fi
7686 fi
7687
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7689 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7690 # Check whether --enable-selectloop was given.
7691 if test "${enable_selectloop+set}" = set; then :
7692 enableval=$enable_selectloop;
7693 if test "$enableval" = yes; then
7694 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7695 else
7696 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7697 fi
7698
7699 else
7700
7701 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7702
7703 fi
7704
7705
7706 eval "$wx_cv_use_selectloop"
7707
7708 if test x"$enablestring" = xdisable; then
7709 if test $wxUSE_SELECT_DISPATCHER = no; then
7710 result=yes
7711 else
7712 result=no
7713 fi
7714 else
7715 result=$wxUSE_SELECT_DISPATCHER
7716 fi
7717
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7719 $as_echo "$result" >&6; }
7720
7721
7722
7723 enablestring=
7724 defaultval=$wxUSE_ALL_FEATURES
7725 if test -z "$defaultval"; then
7726 if test x"$enablestring" = xdisable; then
7727 defaultval=yes
7728 else
7729 defaultval=no
7730 fi
7731 fi
7732
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7734 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7735 # Check whether --enable-any was given.
7736 if test "${enable_any+set}" = set; then :
7737 enableval=$enable_any;
7738 if test "$enableval" = yes; then
7739 wx_cv_use_any='wxUSE_ANY=yes'
7740 else
7741 wx_cv_use_any='wxUSE_ANY=no'
7742 fi
7743
7744 else
7745
7746 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7747
7748 fi
7749
7750
7751 eval "$wx_cv_use_any"
7752
7753 if test x"$enablestring" = xdisable; then
7754 if test $wxUSE_ANY = no; then
7755 result=yes
7756 else
7757 result=no
7758 fi
7759 else
7760 result=$wxUSE_ANY
7761 fi
7762
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7764 $as_echo "$result" >&6; }
7765
7766
7767 enablestring=
7768 defaultval=$wxUSE_ALL_FEATURES
7769 if test -z "$defaultval"; then
7770 if test x"$enablestring" = xdisable; then
7771 defaultval=yes
7772 else
7773 defaultval=no
7774 fi
7775 fi
7776
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7778 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7779 # Check whether --enable-apple_ieee was given.
7780 if test "${enable_apple_ieee+set}" = set; then :
7781 enableval=$enable_apple_ieee;
7782 if test "$enableval" = yes; then
7783 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7784 else
7785 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7786 fi
7787
7788 else
7789
7790 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7791
7792 fi
7793
7794
7795 eval "$wx_cv_use_apple_ieee"
7796
7797 if test x"$enablestring" = xdisable; then
7798 if test $wxUSE_APPLE_IEEE = no; then
7799 result=yes
7800 else
7801 result=no
7802 fi
7803 else
7804 result=$wxUSE_APPLE_IEEE
7805 fi
7806
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7808 $as_echo "$result" >&6; }
7809
7810
7811 enablestring=
7812 defaultval=$wxUSE_ALL_FEATURES
7813 if test -z "$defaultval"; then
7814 if test x"$enablestring" = xdisable; then
7815 defaultval=yes
7816 else
7817 defaultval=no
7818 fi
7819 fi
7820
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7822 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7823 # Check whether --enable-arcstream was given.
7824 if test "${enable_arcstream+set}" = set; then :
7825 enableval=$enable_arcstream;
7826 if test "$enableval" = yes; then
7827 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7828 else
7829 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7830 fi
7831
7832 else
7833
7834 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7835
7836 fi
7837
7838
7839 eval "$wx_cv_use_arcstream"
7840
7841 if test x"$enablestring" = xdisable; then
7842 if test $wxUSE_ARCHIVE_STREAMS = no; then
7843 result=yes
7844 else
7845 result=no
7846 fi
7847 else
7848 result=$wxUSE_ARCHIVE_STREAMS
7849 fi
7850
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7852 $as_echo "$result" >&6; }
7853
7854
7855 enablestring=
7856 defaultval=$wxUSE_ALL_FEATURES
7857 if test -z "$defaultval"; then
7858 if test x"$enablestring" = xdisable; then
7859 defaultval=yes
7860 else
7861 defaultval=no
7862 fi
7863 fi
7864
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7866 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7867 # Check whether --enable-base64 was given.
7868 if test "${enable_base64+set}" = set; then :
7869 enableval=$enable_base64;
7870 if test "$enableval" = yes; then
7871 wx_cv_use_base64='wxUSE_BASE64=yes'
7872 else
7873 wx_cv_use_base64='wxUSE_BASE64=no'
7874 fi
7875
7876 else
7877
7878 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7879
7880 fi
7881
7882
7883 eval "$wx_cv_use_base64"
7884
7885 if test x"$enablestring" = xdisable; then
7886 if test $wxUSE_BASE64 = no; then
7887 result=yes
7888 else
7889 result=no
7890 fi
7891 else
7892 result=$wxUSE_BASE64
7893 fi
7894
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7896 $as_echo "$result" >&6; }
7897
7898
7899 enablestring=
7900 defaultval=$wxUSE_ALL_FEATURES
7901 if test -z "$defaultval"; then
7902 if test x"$enablestring" = xdisable; then
7903 defaultval=yes
7904 else
7905 defaultval=no
7906 fi
7907 fi
7908
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7910 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7911 # Check whether --enable-backtrace was given.
7912 if test "${enable_backtrace+set}" = set; then :
7913 enableval=$enable_backtrace;
7914 if test "$enableval" = yes; then
7915 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7916 else
7917 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7918 fi
7919
7920 else
7921
7922 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7923
7924 fi
7925
7926
7927 eval "$wx_cv_use_backtrace"
7928
7929 if test x"$enablestring" = xdisable; then
7930 if test $wxUSE_STACKWALKER = no; then
7931 result=yes
7932 else
7933 result=no
7934 fi
7935 else
7936 result=$wxUSE_STACKWALKER
7937 fi
7938
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7940 $as_echo "$result" >&6; }
7941
7942
7943 enablestring=
7944 defaultval=$wxUSE_ALL_FEATURES
7945 if test -z "$defaultval"; then
7946 if test x"$enablestring" = xdisable; then
7947 defaultval=yes
7948 else
7949 defaultval=no
7950 fi
7951 fi
7952
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7954 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7955 # Check whether --enable-catch_segvs was given.
7956 if test "${enable_catch_segvs+set}" = set; then :
7957 enableval=$enable_catch_segvs;
7958 if test "$enableval" = yes; then
7959 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7960 else
7961 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7962 fi
7963
7964 else
7965
7966 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7967
7968 fi
7969
7970
7971 eval "$wx_cv_use_catch_segvs"
7972
7973 if test x"$enablestring" = xdisable; then
7974 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7975 result=yes
7976 else
7977 result=no
7978 fi
7979 else
7980 result=$wxUSE_ON_FATAL_EXCEPTION
7981 fi
7982
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7984 $as_echo "$result" >&6; }
7985
7986
7987 enablestring=
7988 defaultval=$wxUSE_ALL_FEATURES
7989 if test -z "$defaultval"; then
7990 if test x"$enablestring" = xdisable; then
7991 defaultval=yes
7992 else
7993 defaultval=no
7994 fi
7995 fi
7996
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7998 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7999 # Check whether --enable-cmdline was given.
8000 if test "${enable_cmdline+set}" = set; then :
8001 enableval=$enable_cmdline;
8002 if test "$enableval" = yes; then
8003 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
8004 else
8005 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
8006 fi
8007
8008 else
8009
8010 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
8011
8012 fi
8013
8014
8015 eval "$wx_cv_use_cmdline"
8016
8017 if test x"$enablestring" = xdisable; then
8018 if test $wxUSE_CMDLINE_PARSER = no; then
8019 result=yes
8020 else
8021 result=no
8022 fi
8023 else
8024 result=$wxUSE_CMDLINE_PARSER
8025 fi
8026
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8028 $as_echo "$result" >&6; }
8029
8030
8031 enablestring=
8032 defaultval=$wxUSE_ALL_FEATURES
8033 if test -z "$defaultval"; then
8034 if test x"$enablestring" = xdisable; then
8035 defaultval=yes
8036 else
8037 defaultval=no
8038 fi
8039 fi
8040
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
8042 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
8043 # Check whether --enable-datetime was given.
8044 if test "${enable_datetime+set}" = set; then :
8045 enableval=$enable_datetime;
8046 if test "$enableval" = yes; then
8047 wx_cv_use_datetime='wxUSE_DATETIME=yes'
8048 else
8049 wx_cv_use_datetime='wxUSE_DATETIME=no'
8050 fi
8051
8052 else
8053
8054 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
8055
8056 fi
8057
8058
8059 eval "$wx_cv_use_datetime"
8060
8061 if test x"$enablestring" = xdisable; then
8062 if test $wxUSE_DATETIME = no; then
8063 result=yes
8064 else
8065 result=no
8066 fi
8067 else
8068 result=$wxUSE_DATETIME
8069 fi
8070
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8072 $as_echo "$result" >&6; }
8073
8074
8075 enablestring=
8076 defaultval=$wxUSE_ALL_FEATURES
8077 if test -z "$defaultval"; then
8078 if test x"$enablestring" = xdisable; then
8079 defaultval=yes
8080 else
8081 defaultval=no
8082 fi
8083 fi
8084
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
8086 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
8087 # Check whether --enable-debugreport was given.
8088 if test "${enable_debugreport+set}" = set; then :
8089 enableval=$enable_debugreport;
8090 if test "$enableval" = yes; then
8091 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
8092 else
8093 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
8094 fi
8095
8096 else
8097
8098 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
8099
8100 fi
8101
8102
8103 eval "$wx_cv_use_debugreport"
8104
8105 if test x"$enablestring" = xdisable; then
8106 if test $wxUSE_DEBUGREPORT = no; then
8107 result=yes
8108 else
8109 result=no
8110 fi
8111 else
8112 result=$wxUSE_DEBUGREPORT
8113 fi
8114
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8116 $as_echo "$result" >&6; }
8117
8118
8119 enablestring=
8120 defaultval=$wxUSE_ALL_FEATURES
8121 if test -z "$defaultval"; then
8122 if test x"$enablestring" = xdisable; then
8123 defaultval=yes
8124 else
8125 defaultval=no
8126 fi
8127 fi
8128
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8130 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8131 # Check whether --enable-dialupman was given.
8132 if test "${enable_dialupman+set}" = set; then :
8133 enableval=$enable_dialupman;
8134 if test "$enableval" = yes; then
8135 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
8136 else
8137 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
8138 fi
8139
8140 else
8141
8142 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8143
8144 fi
8145
8146
8147 eval "$wx_cv_use_dialupman"
8148
8149 if test x"$enablestring" = xdisable; then
8150 if test $wxUSE_DIALUP_MANAGER = no; then
8151 result=yes
8152 else
8153 result=no
8154 fi
8155 else
8156 result=$wxUSE_DIALUP_MANAGER
8157 fi
8158
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8160 $as_echo "$result" >&6; }
8161
8162
8163 enablestring=
8164 defaultval=$wxUSE_ALL_FEATURES
8165 if test -z "$defaultval"; then
8166 if test x"$enablestring" = xdisable; then
8167 defaultval=yes
8168 else
8169 defaultval=no
8170 fi
8171 fi
8172
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8174 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8175 # Check whether --enable-dynlib was given.
8176 if test "${enable_dynlib+set}" = set; then :
8177 enableval=$enable_dynlib;
8178 if test "$enableval" = yes; then
8179 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8180 else
8181 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8182 fi
8183
8184 else
8185
8186 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8187
8188 fi
8189
8190
8191 eval "$wx_cv_use_dynlib"
8192
8193 if test x"$enablestring" = xdisable; then
8194 if test $wxUSE_DYNLIB_CLASS = no; then
8195 result=yes
8196 else
8197 result=no
8198 fi
8199 else
8200 result=$wxUSE_DYNLIB_CLASS
8201 fi
8202
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8204 $as_echo "$result" >&6; }
8205
8206
8207 enablestring=
8208 defaultval=$wxUSE_ALL_FEATURES
8209 if test -z "$defaultval"; then
8210 if test x"$enablestring" = xdisable; then
8211 defaultval=yes
8212 else
8213 defaultval=no
8214 fi
8215 fi
8216
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8218 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8219 # Check whether --enable-dynamicloader was given.
8220 if test "${enable_dynamicloader+set}" = set; then :
8221 enableval=$enable_dynamicloader;
8222 if test "$enableval" = yes; then
8223 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8224 else
8225 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8226 fi
8227
8228 else
8229
8230 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8231
8232 fi
8233
8234
8235 eval "$wx_cv_use_dynamicloader"
8236
8237 if test x"$enablestring" = xdisable; then
8238 if test $wxUSE_DYNAMIC_LOADER = no; then
8239 result=yes
8240 else
8241 result=no
8242 fi
8243 else
8244 result=$wxUSE_DYNAMIC_LOADER
8245 fi
8246
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8248 $as_echo "$result" >&6; }
8249
8250
8251 enablestring=
8252 defaultval=$wxUSE_ALL_FEATURES
8253 if test -z "$defaultval"; then
8254 if test x"$enablestring" = xdisable; then
8255 defaultval=yes
8256 else
8257 defaultval=no
8258 fi
8259 fi
8260
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8262 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8263 # Check whether --enable-exceptions was given.
8264 if test "${enable_exceptions+set}" = set; then :
8265 enableval=$enable_exceptions;
8266 if test "$enableval" = yes; then
8267 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
8268 else
8269 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
8270 fi
8271
8272 else
8273
8274 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8275
8276 fi
8277
8278
8279 eval "$wx_cv_use_exceptions"
8280
8281 if test x"$enablestring" = xdisable; then
8282 if test $wxUSE_EXCEPTIONS = no; then
8283 result=yes
8284 else
8285 result=no
8286 fi
8287 else
8288 result=$wxUSE_EXCEPTIONS
8289 fi
8290
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8292 $as_echo "$result" >&6; }
8293
8294
8295 enablestring=
8296 defaultval=$wxUSE_ALL_FEATURES
8297 if test -z "$defaultval"; then
8298 if test x"$enablestring" = xdisable; then
8299 defaultval=yes
8300 else
8301 defaultval=no
8302 fi
8303 fi
8304
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8306 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8307 # Check whether --enable-ffile was given.
8308 if test "${enable_ffile+set}" = set; then :
8309 enableval=$enable_ffile;
8310 if test "$enableval" = yes; then
8311 wx_cv_use_ffile='wxUSE_FFILE=yes'
8312 else
8313 wx_cv_use_ffile='wxUSE_FFILE=no'
8314 fi
8315
8316 else
8317
8318 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8319
8320 fi
8321
8322
8323 eval "$wx_cv_use_ffile"
8324
8325 if test x"$enablestring" = xdisable; then
8326 if test $wxUSE_FFILE = no; then
8327 result=yes
8328 else
8329 result=no
8330 fi
8331 else
8332 result=$wxUSE_FFILE
8333 fi
8334
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8336 $as_echo "$result" >&6; }
8337
8338
8339 enablestring=
8340 defaultval=$wxUSE_ALL_FEATURES
8341 if test -z "$defaultval"; then
8342 if test x"$enablestring" = xdisable; then
8343 defaultval=yes
8344 else
8345 defaultval=no
8346 fi
8347 fi
8348
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8350 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8351 # Check whether --enable-file was given.
8352 if test "${enable_file+set}" = set; then :
8353 enableval=$enable_file;
8354 if test "$enableval" = yes; then
8355 wx_cv_use_file='wxUSE_FILE=yes'
8356 else
8357 wx_cv_use_file='wxUSE_FILE=no'
8358 fi
8359
8360 else
8361
8362 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8363
8364 fi
8365
8366
8367 eval "$wx_cv_use_file"
8368
8369 if test x"$enablestring" = xdisable; then
8370 if test $wxUSE_FILE = no; then
8371 result=yes
8372 else
8373 result=no
8374 fi
8375 else
8376 result=$wxUSE_FILE
8377 fi
8378
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8380 $as_echo "$result" >&6; }
8381
8382
8383 enablestring=
8384 defaultval=$wxUSE_ALL_FEATURES
8385 if test -z "$defaultval"; then
8386 if test x"$enablestring" = xdisable; then
8387 defaultval=yes
8388 else
8389 defaultval=no
8390 fi
8391 fi
8392
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8394 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8395 # Check whether --enable-filehistory was given.
8396 if test "${enable_filehistory+set}" = set; then :
8397 enableval=$enable_filehistory;
8398 if test "$enableval" = yes; then
8399 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
8400 else
8401 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
8402 fi
8403
8404 else
8405
8406 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8407
8408 fi
8409
8410
8411 eval "$wx_cv_use_filehistory"
8412
8413 if test x"$enablestring" = xdisable; then
8414 if test $wxUSE_FILE_HISTORY = no; then
8415 result=yes
8416 else
8417 result=no
8418 fi
8419 else
8420 result=$wxUSE_FILE_HISTORY
8421 fi
8422
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8424 $as_echo "$result" >&6; }
8425
8426
8427 enablestring=
8428 defaultval=$wxUSE_ALL_FEATURES
8429 if test -z "$defaultval"; then
8430 if test x"$enablestring" = xdisable; then
8431 defaultval=yes
8432 else
8433 defaultval=no
8434 fi
8435 fi
8436
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8438 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8439 # Check whether --enable-filesystem was given.
8440 if test "${enable_filesystem+set}" = set; then :
8441 enableval=$enable_filesystem;
8442 if test "$enableval" = yes; then
8443 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8444 else
8445 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8446 fi
8447
8448 else
8449
8450 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8451
8452 fi
8453
8454
8455 eval "$wx_cv_use_filesystem"
8456
8457 if test x"$enablestring" = xdisable; then
8458 if test $wxUSE_FILESYSTEM = no; then
8459 result=yes
8460 else
8461 result=no
8462 fi
8463 else
8464 result=$wxUSE_FILESYSTEM
8465 fi
8466
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8468 $as_echo "$result" >&6; }
8469
8470
8471 enablestring=
8472 defaultval=$wxUSE_ALL_FEATURES
8473 if test -z "$defaultval"; then
8474 if test x"$enablestring" = xdisable; then
8475 defaultval=yes
8476 else
8477 defaultval=no
8478 fi
8479 fi
8480
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8482 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8483 # Check whether --enable-fontenum was given.
8484 if test "${enable_fontenum+set}" = set; then :
8485 enableval=$enable_fontenum;
8486 if test "$enableval" = yes; then
8487 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8488 else
8489 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8490 fi
8491
8492 else
8493
8494 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8495
8496 fi
8497
8498
8499 eval "$wx_cv_use_fontenum"
8500
8501 if test x"$enablestring" = xdisable; then
8502 if test $wxUSE_FONTENUM = no; then
8503 result=yes
8504 else
8505 result=no
8506 fi
8507 else
8508 result=$wxUSE_FONTENUM
8509 fi
8510
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8512 $as_echo "$result" >&6; }
8513
8514
8515 enablestring=
8516 defaultval=$wxUSE_ALL_FEATURES
8517 if test -z "$defaultval"; then
8518 if test x"$enablestring" = xdisable; then
8519 defaultval=yes
8520 else
8521 defaultval=no
8522 fi
8523 fi
8524
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8526 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8527 # Check whether --enable-fontmap was given.
8528 if test "${enable_fontmap+set}" = set; then :
8529 enableval=$enable_fontmap;
8530 if test "$enableval" = yes; then
8531 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
8532 else
8533 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
8534 fi
8535
8536 else
8537
8538 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8539
8540 fi
8541
8542
8543 eval "$wx_cv_use_fontmap"
8544
8545 if test x"$enablestring" = xdisable; then
8546 if test $wxUSE_FONTMAP = no; then
8547 result=yes
8548 else
8549 result=no
8550 fi
8551 else
8552 result=$wxUSE_FONTMAP
8553 fi
8554
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8556 $as_echo "$result" >&6; }
8557
8558
8559 enablestring=
8560 defaultval=$wxUSE_ALL_FEATURES
8561 if test -z "$defaultval"; then
8562 if test x"$enablestring" = xdisable; then
8563 defaultval=yes
8564 else
8565 defaultval=no
8566 fi
8567 fi
8568
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8570 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8571 # Check whether --enable-fs_archive was given.
8572 if test "${enable_fs_archive+set}" = set; then :
8573 enableval=$enable_fs_archive;
8574 if test "$enableval" = yes; then
8575 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8576 else
8577 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8578 fi
8579
8580 else
8581
8582 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8583
8584 fi
8585
8586
8587 eval "$wx_cv_use_fs_archive"
8588
8589 if test x"$enablestring" = xdisable; then
8590 if test $wxUSE_FS_ARCHIVE = no; then
8591 result=yes
8592 else
8593 result=no
8594 fi
8595 else
8596 result=$wxUSE_FS_ARCHIVE
8597 fi
8598
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8600 $as_echo "$result" >&6; }
8601
8602
8603 enablestring=
8604 defaultval=$wxUSE_ALL_FEATURES
8605 if test -z "$defaultval"; then
8606 if test x"$enablestring" = xdisable; then
8607 defaultval=yes
8608 else
8609 defaultval=no
8610 fi
8611 fi
8612
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8614 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8615 # Check whether --enable-fs_inet was given.
8616 if test "${enable_fs_inet+set}" = set; then :
8617 enableval=$enable_fs_inet;
8618 if test "$enableval" = yes; then
8619 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8620 else
8621 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8622 fi
8623
8624 else
8625
8626 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8627
8628 fi
8629
8630
8631 eval "$wx_cv_use_fs_inet"
8632
8633 if test x"$enablestring" = xdisable; then
8634 if test $wxUSE_FS_INET = no; then
8635 result=yes
8636 else
8637 result=no
8638 fi
8639 else
8640 result=$wxUSE_FS_INET
8641 fi
8642
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8644 $as_echo "$result" >&6; }
8645
8646
8647 enablestring=
8648 defaultval=$wxUSE_ALL_FEATURES
8649 if test -z "$defaultval"; then
8650 if test x"$enablestring" = xdisable; then
8651 defaultval=yes
8652 else
8653 defaultval=no
8654 fi
8655 fi
8656
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8658 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8659 # Check whether --enable-fs_zip was given.
8660 if test "${enable_fs_zip+set}" = set; then :
8661 enableval=$enable_fs_zip;
8662 if test "$enableval" = yes; then
8663 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
8664 else
8665 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
8666 fi
8667
8668 else
8669
8670 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8671
8672 fi
8673
8674
8675 eval "$wx_cv_use_fs_zip"
8676
8677 if test x"$enablestring" = xdisable; then
8678 if test $wxUSE_FS_ZIP = no; then
8679 result=yes
8680 else
8681 result=no
8682 fi
8683 else
8684 result=$wxUSE_FS_ZIP
8685 fi
8686
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8688 $as_echo "$result" >&6; }
8689
8690
8691 enablestring=
8692 defaultval=$wxUSE_ALL_FEATURES
8693 if test -z "$defaultval"; then
8694 if test x"$enablestring" = xdisable; then
8695 defaultval=yes
8696 else
8697 defaultval=no
8698 fi
8699 fi
8700
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fsvolume" >&5
8702 $as_echo_n "checking for --${enablestring:-enable}-fsvolume... " >&6; }
8703 # Check whether --enable-fsvolume was given.
8704 if test "${enable_fsvolume+set}" = set; then :
8705 enableval=$enable_fsvolume;
8706 if test "$enableval" = yes; then
8707 wx_cv_use_fsvolume='wxUSE_FSVOLUME=yes'
8708 else
8709 wx_cv_use_fsvolume='wxUSE_FSVOLUME=no'
8710 fi
8711
8712 else
8713
8714 wx_cv_use_fsvolume='wxUSE_FSVOLUME=${'DEFAULT_wxUSE_FSVOLUME":-$defaultval}"
8715
8716 fi
8717
8718
8719 eval "$wx_cv_use_fsvolume"
8720
8721 if test x"$enablestring" = xdisable; then
8722 if test $wxUSE_FSVOLUME = no; then
8723 result=yes
8724 else
8725 result=no
8726 fi
8727 else
8728 result=$wxUSE_FSVOLUME
8729 fi
8730
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8732 $as_echo "$result" >&6; }
8733
8734
8735 enablestring=
8736 defaultval=$wxUSE_ALL_FEATURES
8737 if test -z "$defaultval"; then
8738 if test x"$enablestring" = xdisable; then
8739 defaultval=yes
8740 else
8741 defaultval=no
8742 fi
8743 fi
8744
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8746 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8747 # Check whether --enable-fswatcher was given.
8748 if test "${enable_fswatcher+set}" = set; then :
8749 enableval=$enable_fswatcher;
8750 if test "$enableval" = yes; then
8751 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8752 else
8753 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8754 fi
8755
8756 else
8757
8758 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8759
8760 fi
8761
8762
8763 eval "$wx_cv_use_fswatcher"
8764
8765 if test x"$enablestring" = xdisable; then
8766 if test $wxUSE_FSWATCHER = no; then
8767 result=yes
8768 else
8769 result=no
8770 fi
8771 else
8772 result=$wxUSE_FSWATCHER
8773 fi
8774
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8776 $as_echo "$result" >&6; }
8777
8778
8779 enablestring=
8780 defaultval=$wxUSE_ALL_FEATURES
8781 if test -z "$defaultval"; then
8782 if test x"$enablestring" = xdisable; then
8783 defaultval=yes
8784 else
8785 defaultval=no
8786 fi
8787 fi
8788
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8790 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8791 # Check whether --enable-geometry was given.
8792 if test "${enable_geometry+set}" = set; then :
8793 enableval=$enable_geometry;
8794 if test "$enableval" = yes; then
8795 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8796 else
8797 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8798 fi
8799
8800 else
8801
8802 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8803
8804 fi
8805
8806
8807 eval "$wx_cv_use_geometry"
8808
8809 if test x"$enablestring" = xdisable; then
8810 if test $wxUSE_GEOMETRY = no; then
8811 result=yes
8812 else
8813 result=no
8814 fi
8815 else
8816 result=$wxUSE_GEOMETRY
8817 fi
8818
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8820 $as_echo "$result" >&6; }
8821
8822
8823 enablestring=
8824 defaultval=$wxUSE_ALL_FEATURES
8825 if test -z "$defaultval"; then
8826 if test x"$enablestring" = xdisable; then
8827 defaultval=yes
8828 else
8829 defaultval=no
8830 fi
8831 fi
8832
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8834 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8835 # Check whether --enable-log was given.
8836 if test "${enable_log+set}" = set; then :
8837 enableval=$enable_log;
8838 if test "$enableval" = yes; then
8839 wx_cv_use_log='wxUSE_LOG=yes'
8840 else
8841 wx_cv_use_log='wxUSE_LOG=no'
8842 fi
8843
8844 else
8845
8846 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8847
8848 fi
8849
8850
8851 eval "$wx_cv_use_log"
8852
8853 if test x"$enablestring" = xdisable; then
8854 if test $wxUSE_LOG = no; then
8855 result=yes
8856 else
8857 result=no
8858 fi
8859 else
8860 result=$wxUSE_LOG
8861 fi
8862
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8864 $as_echo "$result" >&6; }
8865
8866
8867 enablestring=
8868 defaultval=$wxUSE_ALL_FEATURES
8869 if test -z "$defaultval"; then
8870 if test x"$enablestring" = xdisable; then
8871 defaultval=yes
8872 else
8873 defaultval=no
8874 fi
8875 fi
8876
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8878 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8879 # Check whether --enable-longlong was given.
8880 if test "${enable_longlong+set}" = set; then :
8881 enableval=$enable_longlong;
8882 if test "$enableval" = yes; then
8883 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8884 else
8885 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8886 fi
8887
8888 else
8889
8890 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8891
8892 fi
8893
8894
8895 eval "$wx_cv_use_longlong"
8896
8897 if test x"$enablestring" = xdisable; then
8898 if test $wxUSE_LONGLONG = no; then
8899 result=yes
8900 else
8901 result=no
8902 fi
8903 else
8904 result=$wxUSE_LONGLONG
8905 fi
8906
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8908 $as_echo "$result" >&6; }
8909
8910
8911 enablestring=
8912 defaultval=$wxUSE_ALL_FEATURES
8913 if test -z "$defaultval"; then
8914 if test x"$enablestring" = xdisable; then
8915 defaultval=yes
8916 else
8917 defaultval=no
8918 fi
8919 fi
8920
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8922 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8923 # Check whether --enable-mimetype was given.
8924 if test "${enable_mimetype+set}" = set; then :
8925 enableval=$enable_mimetype;
8926 if test "$enableval" = yes; then
8927 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8928 else
8929 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8930 fi
8931
8932 else
8933
8934 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8935
8936 fi
8937
8938
8939 eval "$wx_cv_use_mimetype"
8940
8941 if test x"$enablestring" = xdisable; then
8942 if test $wxUSE_MIMETYPE = no; then
8943 result=yes
8944 else
8945 result=no
8946 fi
8947 else
8948 result=$wxUSE_MIMETYPE
8949 fi
8950
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8952 $as_echo "$result" >&6; }
8953
8954
8955 enablestring=
8956 defaultval=$wxUSE_ALL_FEATURES
8957 if test -z "$defaultval"; then
8958 if test x"$enablestring" = xdisable; then
8959 defaultval=yes
8960 else
8961 defaultval=no
8962 fi
8963 fi
8964
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8966 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8967 # Check whether --enable-printfposparam was given.
8968 if test "${enable_printfposparam+set}" = set; then :
8969 enableval=$enable_printfposparam;
8970 if test "$enableval" = yes; then
8971 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8972 else
8973 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8974 fi
8975
8976 else
8977
8978 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8979
8980 fi
8981
8982
8983 eval "$wx_cv_use_printfposparam"
8984
8985 if test x"$enablestring" = xdisable; then
8986 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8987 result=yes
8988 else
8989 result=no
8990 fi
8991 else
8992 result=$wxUSE_PRINTF_POS_PARAMS
8993 fi
8994
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8996 $as_echo "$result" >&6; }
8997
8998
8999 enablestring=
9000 defaultval=$wxUSE_ALL_FEATURES
9001 if test -z "$defaultval"; then
9002 if test x"$enablestring" = xdisable; then
9003 defaultval=yes
9004 else
9005 defaultval=no
9006 fi
9007 fi
9008
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
9010 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
9011 # Check whether --enable-snglinst was given.
9012 if test "${enable_snglinst+set}" = set; then :
9013 enableval=$enable_snglinst;
9014 if test "$enableval" = yes; then
9015 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
9016 else
9017 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
9018 fi
9019
9020 else
9021
9022 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
9023
9024 fi
9025
9026
9027 eval "$wx_cv_use_snglinst"
9028
9029 if test x"$enablestring" = xdisable; then
9030 if test $wxUSE_SNGLINST_CHECKER = no; then
9031 result=yes
9032 else
9033 result=no
9034 fi
9035 else
9036 result=$wxUSE_SNGLINST_CHECKER
9037 fi
9038
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9040 $as_echo "$result" >&6; }
9041
9042
9043 enablestring=
9044 defaultval=$wxUSE_ALL_FEATURES
9045 if test -z "$defaultval"; then
9046 if test x"$enablestring" = xdisable; then
9047 defaultval=yes
9048 else
9049 defaultval=no
9050 fi
9051 fi
9052
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
9054 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
9055 # Check whether --enable-sound was given.
9056 if test "${enable_sound+set}" = set; then :
9057 enableval=$enable_sound;
9058 if test "$enableval" = yes; then
9059 wx_cv_use_sound='wxUSE_SOUND=yes'
9060 else
9061 wx_cv_use_sound='wxUSE_SOUND=no'
9062 fi
9063
9064 else
9065
9066 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
9067
9068 fi
9069
9070
9071 eval "$wx_cv_use_sound"
9072
9073 if test x"$enablestring" = xdisable; then
9074 if test $wxUSE_SOUND = no; then
9075 result=yes
9076 else
9077 result=no
9078 fi
9079 else
9080 result=$wxUSE_SOUND
9081 fi
9082
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9084 $as_echo "$result" >&6; }
9085
9086
9087 enablestring=
9088 defaultval=$wxUSE_ALL_FEATURES
9089 if test -z "$defaultval"; then
9090 if test x"$enablestring" = xdisable; then
9091 defaultval=yes
9092 else
9093 defaultval=no
9094 fi
9095 fi
9096
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
9098 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
9099 # Check whether --enable-stdpaths was given.
9100 if test "${enable_stdpaths+set}" = set; then :
9101 enableval=$enable_stdpaths;
9102 if test "$enableval" = yes; then
9103 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
9104 else
9105 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
9106 fi
9107
9108 else
9109
9110 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
9111
9112 fi
9113
9114
9115 eval "$wx_cv_use_stdpaths"
9116
9117 if test x"$enablestring" = xdisable; then
9118 if test $wxUSE_STDPATHS = no; then
9119 result=yes
9120 else
9121 result=no
9122 fi
9123 else
9124 result=$wxUSE_STDPATHS
9125 fi
9126
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9128 $as_echo "$result" >&6; }
9129
9130
9131 enablestring=
9132 defaultval=$wxUSE_ALL_FEATURES
9133 if test -z "$defaultval"; then
9134 if test x"$enablestring" = xdisable; then
9135 defaultval=yes
9136 else
9137 defaultval=no
9138 fi
9139 fi
9140
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
9142 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
9143 # Check whether --enable-stopwatch was given.
9144 if test "${enable_stopwatch+set}" = set; then :
9145 enableval=$enable_stopwatch;
9146 if test "$enableval" = yes; then
9147 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
9148 else
9149 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
9150 fi
9151
9152 else
9153
9154 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
9155
9156 fi
9157
9158
9159 eval "$wx_cv_use_stopwatch"
9160
9161 if test x"$enablestring" = xdisable; then
9162 if test $wxUSE_STOPWATCH = no; then
9163 result=yes
9164 else
9165 result=no
9166 fi
9167 else
9168 result=$wxUSE_STOPWATCH
9169 fi
9170
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9172 $as_echo "$result" >&6; }
9173
9174
9175 enablestring=
9176 defaultval=$wxUSE_ALL_FEATURES
9177 if test -z "$defaultval"; then
9178 if test x"$enablestring" = xdisable; then
9179 defaultval=yes
9180 else
9181 defaultval=no
9182 fi
9183 fi
9184
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9186 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9187 # Check whether --enable-streams was given.
9188 if test "${enable_streams+set}" = set; then :
9189 enableval=$enable_streams;
9190 if test "$enableval" = yes; then
9191 wx_cv_use_streams='wxUSE_STREAMS=yes'
9192 else
9193 wx_cv_use_streams='wxUSE_STREAMS=no'
9194 fi
9195
9196 else
9197
9198 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9199
9200 fi
9201
9202
9203 eval "$wx_cv_use_streams"
9204
9205 if test x"$enablestring" = xdisable; then
9206 if test $wxUSE_STREAMS = no; then
9207 result=yes
9208 else
9209 result=no
9210 fi
9211 else
9212 result=$wxUSE_STREAMS
9213 fi
9214
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9216 $as_echo "$result" >&6; }
9217
9218
9219 enablestring=
9220 defaultval=$wxUSE_ALL_FEATURES
9221 if test -z "$defaultval"; then
9222 if test x"$enablestring" = xdisable; then
9223 defaultval=yes
9224 else
9225 defaultval=no
9226 fi
9227 fi
9228
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9230 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9231 # Check whether --enable-sysoptions was given.
9232 if test "${enable_sysoptions+set}" = set; then :
9233 enableval=$enable_sysoptions;
9234 if test "$enableval" = yes; then
9235 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9236 else
9237 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9238 fi
9239
9240 else
9241
9242 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9243
9244 fi
9245
9246
9247 eval "$wx_cv_use_sysoptions"
9248
9249 if test x"$enablestring" = xdisable; then
9250 if test $wxUSE_SYSTEM_OPTIONS = no; then
9251 result=yes
9252 else
9253 result=no
9254 fi
9255 else
9256 result=$wxUSE_SYSTEM_OPTIONS
9257 fi
9258
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9260 $as_echo "$result" >&6; }
9261
9262
9263 enablestring=
9264 defaultval=$wxUSE_ALL_FEATURES
9265 if test -z "$defaultval"; then
9266 if test x"$enablestring" = xdisable; then
9267 defaultval=yes
9268 else
9269 defaultval=no
9270 fi
9271 fi
9272
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9274 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9275 # Check whether --enable-tarstream was given.
9276 if test "${enable_tarstream+set}" = set; then :
9277 enableval=$enable_tarstream;
9278 if test "$enableval" = yes; then
9279 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9280 else
9281 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9282 fi
9283
9284 else
9285
9286 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9287
9288 fi
9289
9290
9291 eval "$wx_cv_use_tarstream"
9292
9293 if test x"$enablestring" = xdisable; then
9294 if test $wxUSE_TARSTREAM = no; then
9295 result=yes
9296 else
9297 result=no
9298 fi
9299 else
9300 result=$wxUSE_TARSTREAM
9301 fi
9302
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9304 $as_echo "$result" >&6; }
9305
9306
9307 enablestring=
9308 defaultval=$wxUSE_ALL_FEATURES
9309 if test -z "$defaultval"; then
9310 if test x"$enablestring" = xdisable; then
9311 defaultval=yes
9312 else
9313 defaultval=no
9314 fi
9315 fi
9316
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9318 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9319 # Check whether --enable-textbuf was given.
9320 if test "${enable_textbuf+set}" = set; then :
9321 enableval=$enable_textbuf;
9322 if test "$enableval" = yes; then
9323 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9324 else
9325 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9326 fi
9327
9328 else
9329
9330 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9331
9332 fi
9333
9334
9335 eval "$wx_cv_use_textbuf"
9336
9337 if test x"$enablestring" = xdisable; then
9338 if test $wxUSE_TEXTBUFFER = no; then
9339 result=yes
9340 else
9341 result=no
9342 fi
9343 else
9344 result=$wxUSE_TEXTBUFFER
9345 fi
9346
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9348 $as_echo "$result" >&6; }
9349
9350
9351 enablestring=
9352 defaultval=$wxUSE_ALL_FEATURES
9353 if test -z "$defaultval"; then
9354 if test x"$enablestring" = xdisable; then
9355 defaultval=yes
9356 else
9357 defaultval=no
9358 fi
9359 fi
9360
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9362 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9363 # Check whether --enable-textfile was given.
9364 if test "${enable_textfile+set}" = set; then :
9365 enableval=$enable_textfile;
9366 if test "$enableval" = yes; then
9367 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9368 else
9369 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9370 fi
9371
9372 else
9373
9374 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9375
9376 fi
9377
9378
9379 eval "$wx_cv_use_textfile"
9380
9381 if test x"$enablestring" = xdisable; then
9382 if test $wxUSE_TEXTFILE = no; then
9383 result=yes
9384 else
9385 result=no
9386 fi
9387 else
9388 result=$wxUSE_TEXTFILE
9389 fi
9390
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9392 $as_echo "$result" >&6; }
9393
9394
9395 enablestring=
9396 defaultval=$wxUSE_ALL_FEATURES
9397 if test -z "$defaultval"; then
9398 if test x"$enablestring" = xdisable; then
9399 defaultval=yes
9400 else
9401 defaultval=no
9402 fi
9403 fi
9404
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9406 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9407 # Check whether --enable-timer was given.
9408 if test "${enable_timer+set}" = set; then :
9409 enableval=$enable_timer;
9410 if test "$enableval" = yes; then
9411 wx_cv_use_timer='wxUSE_TIMER=yes'
9412 else
9413 wx_cv_use_timer='wxUSE_TIMER=no'
9414 fi
9415
9416 else
9417
9418 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9419
9420 fi
9421
9422
9423 eval "$wx_cv_use_timer"
9424
9425 if test x"$enablestring" = xdisable; then
9426 if test $wxUSE_TIMER = no; then
9427 result=yes
9428 else
9429 result=no
9430 fi
9431 else
9432 result=$wxUSE_TIMER
9433 fi
9434
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9436 $as_echo "$result" >&6; }
9437
9438
9439 enablestring=
9440 defaultval=$wxUSE_ALL_FEATURES
9441 if test -z "$defaultval"; then
9442 if test x"$enablestring" = xdisable; then
9443 defaultval=yes
9444 else
9445 defaultval=no
9446 fi
9447 fi
9448
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9450 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9451 # Check whether --enable-variant was given.
9452 if test "${enable_variant+set}" = set; then :
9453 enableval=$enable_variant;
9454 if test "$enableval" = yes; then
9455 wx_cv_use_variant='wxUSE_VARIANT=yes'
9456 else
9457 wx_cv_use_variant='wxUSE_VARIANT=no'
9458 fi
9459
9460 else
9461
9462 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9463
9464 fi
9465
9466
9467 eval "$wx_cv_use_variant"
9468
9469 if test x"$enablestring" = xdisable; then
9470 if test $wxUSE_VARIANT = no; then
9471 result=yes
9472 else
9473 result=no
9474 fi
9475 else
9476 result=$wxUSE_VARIANT
9477 fi
9478
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9480 $as_echo "$result" >&6; }
9481
9482
9483 enablestring=
9484 defaultval=$wxUSE_ALL_FEATURES
9485 if test -z "$defaultval"; then
9486 if test x"$enablestring" = xdisable; then
9487 defaultval=yes
9488 else
9489 defaultval=no
9490 fi
9491 fi
9492
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9494 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9495 # Check whether --enable-zipstream was given.
9496 if test "${enable_zipstream+set}" = set; then :
9497 enableval=$enable_zipstream;
9498 if test "$enableval" = yes; then
9499 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9500 else
9501 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9502 fi
9503
9504 else
9505
9506 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9507
9508 fi
9509
9510
9511 eval "$wx_cv_use_zipstream"
9512
9513 if test x"$enablestring" = xdisable; then
9514 if test $wxUSE_ZIPSTREAM = no; then
9515 result=yes
9516 else
9517 result=no
9518 fi
9519 else
9520 result=$wxUSE_ZIPSTREAM
9521 fi
9522
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9524 $as_echo "$result" >&6; }
9525
9526
9527
9528 enablestring=
9529 defaultval=$wxUSE_ALL_FEATURES
9530 if test -z "$defaultval"; then
9531 if test x"$enablestring" = xdisable; then
9532 defaultval=yes
9533 else
9534 defaultval=no
9535 fi
9536 fi
9537
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9539 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9540 # Check whether --enable-url was given.
9541 if test "${enable_url+set}" = set; then :
9542 enableval=$enable_url;
9543 if test "$enableval" = yes; then
9544 wx_cv_use_url='wxUSE_URL=yes'
9545 else
9546 wx_cv_use_url='wxUSE_URL=no'
9547 fi
9548
9549 else
9550
9551 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9552
9553 fi
9554
9555
9556 eval "$wx_cv_use_url"
9557
9558 if test x"$enablestring" = xdisable; then
9559 if test $wxUSE_URL = no; then
9560 result=yes
9561 else
9562 result=no
9563 fi
9564 else
9565 result=$wxUSE_URL
9566 fi
9567
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9569 $as_echo "$result" >&6; }
9570
9571
9572 enablestring=
9573 defaultval=$wxUSE_ALL_FEATURES
9574 if test -z "$defaultval"; then
9575 if test x"$enablestring" = xdisable; then
9576 defaultval=yes
9577 else
9578 defaultval=no
9579 fi
9580 fi
9581
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9583 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9584 # Check whether --enable-protocol was given.
9585 if test "${enable_protocol+set}" = set; then :
9586 enableval=$enable_protocol;
9587 if test "$enableval" = yes; then
9588 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9589 else
9590 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9591 fi
9592
9593 else
9594
9595 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9596
9597 fi
9598
9599
9600 eval "$wx_cv_use_protocol"
9601
9602 if test x"$enablestring" = xdisable; then
9603 if test $wxUSE_PROTOCOL = no; then
9604 result=yes
9605 else
9606 result=no
9607 fi
9608 else
9609 result=$wxUSE_PROTOCOL
9610 fi
9611
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9613 $as_echo "$result" >&6; }
9614
9615
9616 enablestring=
9617 defaultval=$wxUSE_ALL_FEATURES
9618 if test -z "$defaultval"; then
9619 if test x"$enablestring" = xdisable; then
9620 defaultval=yes
9621 else
9622 defaultval=no
9623 fi
9624 fi
9625
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9627 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9628 # Check whether --enable-protocol_http was given.
9629 if test "${enable_protocol_http+set}" = set; then :
9630 enableval=$enable_protocol_http;
9631 if test "$enableval" = yes; then
9632 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9633 else
9634 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9635 fi
9636
9637 else
9638
9639 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9640
9641 fi
9642
9643
9644 eval "$wx_cv_use_protocol_http"
9645
9646 if test x"$enablestring" = xdisable; then
9647 if test $wxUSE_PROTOCOL_HTTP = no; then
9648 result=yes
9649 else
9650 result=no
9651 fi
9652 else
9653 result=$wxUSE_PROTOCOL_HTTP
9654 fi
9655
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9657 $as_echo "$result" >&6; }
9658
9659
9660 enablestring=
9661 defaultval=$wxUSE_ALL_FEATURES
9662 if test -z "$defaultval"; then
9663 if test x"$enablestring" = xdisable; then
9664 defaultval=yes
9665 else
9666 defaultval=no
9667 fi
9668 fi
9669
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9671 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9672 # Check whether --enable-protocol_ftp was given.
9673 if test "${enable_protocol_ftp+set}" = set; then :
9674 enableval=$enable_protocol_ftp;
9675 if test "$enableval" = yes; then
9676 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9677 else
9678 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9679 fi
9680
9681 else
9682
9683 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9684
9685 fi
9686
9687
9688 eval "$wx_cv_use_protocol_ftp"
9689
9690 if test x"$enablestring" = xdisable; then
9691 if test $wxUSE_PROTOCOL_FTP = no; then
9692 result=yes
9693 else
9694 result=no
9695 fi
9696 else
9697 result=$wxUSE_PROTOCOL_FTP
9698 fi
9699
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9701 $as_echo "$result" >&6; }
9702
9703
9704 enablestring=
9705 defaultval=$wxUSE_ALL_FEATURES
9706 if test -z "$defaultval"; then
9707 if test x"$enablestring" = xdisable; then
9708 defaultval=yes
9709 else
9710 defaultval=no
9711 fi
9712 fi
9713
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9715 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9716 # Check whether --enable-protocol_file was given.
9717 if test "${enable_protocol_file+set}" = set; then :
9718 enableval=$enable_protocol_file;
9719 if test "$enableval" = yes; then
9720 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9721 else
9722 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9723 fi
9724
9725 else
9726
9727 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9728
9729 fi
9730
9731
9732 eval "$wx_cv_use_protocol_file"
9733
9734 if test x"$enablestring" = xdisable; then
9735 if test $wxUSE_PROTOCOL_FILE = no; then
9736 result=yes
9737 else
9738 result=no
9739 fi
9740 else
9741 result=$wxUSE_PROTOCOL_FILE
9742 fi
9743
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9745 $as_echo "$result" >&6; }
9746
9747
9748
9749 enablestring=
9750 defaultval=$wxUSE_ALL_FEATURES
9751 if test -z "$defaultval"; then
9752 if test x"$enablestring" = xdisable; then
9753 defaultval=yes
9754 else
9755 defaultval=no
9756 fi
9757 fi
9758
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9760 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9761 # Check whether --enable-threads was given.
9762 if test "${enable_threads+set}" = set; then :
9763 enableval=$enable_threads;
9764 if test "$enableval" = yes; then
9765 wx_cv_use_threads='wxUSE_THREADS=yes'
9766 else
9767 wx_cv_use_threads='wxUSE_THREADS=no'
9768 fi
9769
9770 else
9771
9772 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9773
9774 fi
9775
9776
9777 eval "$wx_cv_use_threads"
9778
9779 if test x"$enablestring" = xdisable; then
9780 if test $wxUSE_THREADS = no; then
9781 result=yes
9782 else
9783 result=no
9784 fi
9785 else
9786 result=$wxUSE_THREADS
9787 fi
9788
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9790 $as_echo "$result" >&6; }
9791
9792
9793
9794 enablestring=
9795 defaultval=
9796 if test -z "$defaultval"; then
9797 if test x"$enablestring" = xdisable; then
9798 defaultval=yes
9799 else
9800 defaultval=no
9801 fi
9802 fi
9803
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9805 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9806 # Check whether --enable-iniconf was given.
9807 if test "${enable_iniconf+set}" = set; then :
9808 enableval=$enable_iniconf;
9809 if test "$enableval" = yes; then
9810 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9811 else
9812 wx_cv_use_iniconf='wxUSE_INICONF=no'
9813 fi
9814
9815 else
9816
9817 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9818
9819 fi
9820
9821
9822 eval "$wx_cv_use_iniconf"
9823
9824 if test x"$enablestring" = xdisable; then
9825 if test $wxUSE_INICONF = no; then
9826 result=yes
9827 else
9828 result=no
9829 fi
9830 else
9831 result=$wxUSE_INICONF
9832 fi
9833
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9835 $as_echo "$result" >&6; }
9836
9837
9838 enablestring=
9839 defaultval=$wxUSE_ALL_FEATURES
9840 if test -z "$defaultval"; then
9841 if test x"$enablestring" = xdisable; then
9842 defaultval=yes
9843 else
9844 defaultval=no
9845 fi
9846 fi
9847
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9849 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9850 # Check whether --enable-regkey was given.
9851 if test "${enable_regkey+set}" = set; then :
9852 enableval=$enable_regkey;
9853 if test "$enableval" = yes; then
9854 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9855 else
9856 wx_cv_use_regkey='wxUSE_REGKEY=no'
9857 fi
9858
9859 else
9860
9861 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9862
9863 fi
9864
9865
9866 eval "$wx_cv_use_regkey"
9867
9868 if test x"$enablestring" = xdisable; then
9869 if test $wxUSE_REGKEY = no; then
9870 result=yes
9871 else
9872 result=no
9873 fi
9874 else
9875 result=$wxUSE_REGKEY
9876 fi
9877
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9879 $as_echo "$result" >&6; }
9880
9881
9882 if test "$wxUSE_GUI" = "yes"; then
9883
9884
9885
9886 enablestring=
9887 defaultval=$wxUSE_ALL_FEATURES
9888 if test -z "$defaultval"; then
9889 if test x"$enablestring" = xdisable; then
9890 defaultval=yes
9891 else
9892 defaultval=no
9893 fi
9894 fi
9895
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9897 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9898 # Check whether --enable-docview was given.
9899 if test "${enable_docview+set}" = set; then :
9900 enableval=$enable_docview;
9901 if test "$enableval" = yes; then
9902 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9903 else
9904 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9905 fi
9906
9907 else
9908
9909 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9910
9911 fi
9912
9913
9914 eval "$wx_cv_use_docview"
9915
9916 if test x"$enablestring" = xdisable; then
9917 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9918 result=yes
9919 else
9920 result=no
9921 fi
9922 else
9923 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9924 fi
9925
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9927 $as_echo "$result" >&6; }
9928
9929
9930 enablestring=
9931 defaultval=$wxUSE_ALL_FEATURES
9932 if test -z "$defaultval"; then
9933 if test x"$enablestring" = xdisable; then
9934 defaultval=yes
9935 else
9936 defaultval=no
9937 fi
9938 fi
9939
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9941 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9942 # Check whether --enable-help was given.
9943 if test "${enable_help+set}" = set; then :
9944 enableval=$enable_help;
9945 if test "$enableval" = yes; then
9946 wx_cv_use_help='wxUSE_HELP=yes'
9947 else
9948 wx_cv_use_help='wxUSE_HELP=no'
9949 fi
9950
9951 else
9952
9953 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9954
9955 fi
9956
9957
9958 eval "$wx_cv_use_help"
9959
9960 if test x"$enablestring" = xdisable; then
9961 if test $wxUSE_HELP = no; then
9962 result=yes
9963 else
9964 result=no
9965 fi
9966 else
9967 result=$wxUSE_HELP
9968 fi
9969
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9971 $as_echo "$result" >&6; }
9972
9973
9974 enablestring=
9975 defaultval=$wxUSE_ALL_FEATURES
9976 if test -z "$defaultval"; then
9977 if test x"$enablestring" = xdisable; then
9978 defaultval=yes
9979 else
9980 defaultval=no
9981 fi
9982 fi
9983
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9985 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9986 # Check whether --enable-mshtmlhelp was given.
9987 if test "${enable_mshtmlhelp+set}" = set; then :
9988 enableval=$enable_mshtmlhelp;
9989 if test "$enableval" = yes; then
9990 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9991 else
9992 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9993 fi
9994
9995 else
9996
9997 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9998
9999 fi
10000
10001
10002 eval "$wx_cv_use_mshtmlhelp"
10003
10004 if test x"$enablestring" = xdisable; then
10005 if test $wxUSE_MS_HTML_HELP = no; then
10006 result=yes
10007 else
10008 result=no
10009 fi
10010 else
10011 result=$wxUSE_MS_HTML_HELP
10012 fi
10013
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10015 $as_echo "$result" >&6; }
10016
10017
10018 enablestring=
10019 defaultval=$wxUSE_ALL_FEATURES
10020 if test -z "$defaultval"; then
10021 if test x"$enablestring" = xdisable; then
10022 defaultval=yes
10023 else
10024 defaultval=no
10025 fi
10026 fi
10027
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
10029 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
10030 # Check whether --enable-html was given.
10031 if test "${enable_html+set}" = set; then :
10032 enableval=$enable_html;
10033 if test "$enableval" = yes; then
10034 wx_cv_use_html='wxUSE_HTML=yes'
10035 else
10036 wx_cv_use_html='wxUSE_HTML=no'
10037 fi
10038
10039 else
10040
10041 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
10042
10043 fi
10044
10045
10046 eval "$wx_cv_use_html"
10047
10048 if test x"$enablestring" = xdisable; then
10049 if test $wxUSE_HTML = no; then
10050 result=yes
10051 else
10052 result=no
10053 fi
10054 else
10055 result=$wxUSE_HTML
10056 fi
10057
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10059 $as_echo "$result" >&6; }
10060
10061
10062 enablestring=
10063 defaultval=$wxUSE_ALL_FEATURES
10064 if test -z "$defaultval"; then
10065 if test x"$enablestring" = xdisable; then
10066 defaultval=yes
10067 else
10068 defaultval=no
10069 fi
10070 fi
10071
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
10073 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
10074 # Check whether --enable-htmlhelp was given.
10075 if test "${enable_htmlhelp+set}" = set; then :
10076 enableval=$enable_htmlhelp;
10077 if test "$enableval" = yes; then
10078 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
10079 else
10080 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
10081 fi
10082
10083 else
10084
10085 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
10086
10087 fi
10088
10089
10090 eval "$wx_cv_use_htmlhelp"
10091
10092 if test x"$enablestring" = xdisable; then
10093 if test $wxUSE_WXHTML_HELP = no; then
10094 result=yes
10095 else
10096 result=no
10097 fi
10098 else
10099 result=$wxUSE_WXHTML_HELP
10100 fi
10101
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10103 $as_echo "$result" >&6; }
10104
10105
10106 enablestring=
10107 defaultval=$wxUSE_ALL_FEATURES
10108 if test -z "$defaultval"; then
10109 if test x"$enablestring" = xdisable; then
10110 defaultval=yes
10111 else
10112 defaultval=no
10113 fi
10114 fi
10115
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
10117 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
10118 # Check whether --enable-xrc was given.
10119 if test "${enable_xrc+set}" = set; then :
10120 enableval=$enable_xrc;
10121 if test "$enableval" = yes; then
10122 wx_cv_use_xrc='wxUSE_XRC=yes'
10123 else
10124 wx_cv_use_xrc='wxUSE_XRC=no'
10125 fi
10126
10127 else
10128
10129 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
10130
10131 fi
10132
10133
10134 eval "$wx_cv_use_xrc"
10135
10136 if test x"$enablestring" = xdisable; then
10137 if test $wxUSE_XRC = no; then
10138 result=yes
10139 else
10140 result=no
10141 fi
10142 else
10143 result=$wxUSE_XRC
10144 fi
10145
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10147 $as_echo "$result" >&6; }
10148
10149
10150 enablestring=
10151 defaultval=$wxUSE_ALL_FEATURES
10152 if test -z "$defaultval"; then
10153 if test x"$enablestring" = xdisable; then
10154 defaultval=yes
10155 else
10156 defaultval=no
10157 fi
10158 fi
10159
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
10161 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
10162 # Check whether --enable-aui was given.
10163 if test "${enable_aui+set}" = set; then :
10164 enableval=$enable_aui;
10165 if test "$enableval" = yes; then
10166 wx_cv_use_aui='wxUSE_AUI=yes'
10167 else
10168 wx_cv_use_aui='wxUSE_AUI=no'
10169 fi
10170
10171 else
10172
10173 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10174
10175 fi
10176
10177
10178 eval "$wx_cv_use_aui"
10179
10180 if test x"$enablestring" = xdisable; then
10181 if test $wxUSE_AUI = no; then
10182 result=yes
10183 else
10184 result=no
10185 fi
10186 else
10187 result=$wxUSE_AUI
10188 fi
10189
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10191 $as_echo "$result" >&6; }
10192
10193
10194 enablestring=
10195 defaultval=$wxUSE_ALL_FEATURES
10196 if test -z "$defaultval"; then
10197 if test x"$enablestring" = xdisable; then
10198 defaultval=yes
10199 else
10200 defaultval=no
10201 fi
10202 fi
10203
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10205 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10206 # Check whether --enable-propgrid was given.
10207 if test "${enable_propgrid+set}" = set; then :
10208 enableval=$enable_propgrid;
10209 if test "$enableval" = yes; then
10210 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10211 else
10212 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10213 fi
10214
10215 else
10216
10217 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10218
10219 fi
10220
10221
10222 eval "$wx_cv_use_propgrid"
10223
10224 if test x"$enablestring" = xdisable; then
10225 if test $wxUSE_PROPGRID = no; then
10226 result=yes
10227 else
10228 result=no
10229 fi
10230 else
10231 result=$wxUSE_PROPGRID
10232 fi
10233
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10235 $as_echo "$result" >&6; }
10236
10237
10238 enablestring=
10239 defaultval=$wxUSE_ALL_FEATURES
10240 if test -z "$defaultval"; then
10241 if test x"$enablestring" = xdisable; then
10242 defaultval=yes
10243 else
10244 defaultval=no
10245 fi
10246 fi
10247
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10249 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10250 # Check whether --enable-ribbon was given.
10251 if test "${enable_ribbon+set}" = set; then :
10252 enableval=$enable_ribbon;
10253 if test "$enableval" = yes; then
10254 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10255 else
10256 wx_cv_use_ribbon='wxUSE_RIBBON=no'
10257 fi
10258
10259 else
10260
10261 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10262
10263 fi
10264
10265
10266 eval "$wx_cv_use_ribbon"
10267
10268 if test x"$enablestring" = xdisable; then
10269 if test $wxUSE_RIBBON = no; then
10270 result=yes
10271 else
10272 result=no
10273 fi
10274 else
10275 result=$wxUSE_RIBBON
10276 fi
10277
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10279 $as_echo "$result" >&6; }
10280
10281
10282 enablestring=
10283 defaultval=$wxUSE_ALL_FEATURES
10284 if test -z "$defaultval"; then
10285 if test x"$enablestring" = xdisable; then
10286 defaultval=yes
10287 else
10288 defaultval=no
10289 fi
10290 fi
10291
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10293 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10294 # Check whether --enable-stc was given.
10295 if test "${enable_stc+set}" = set; then :
10296 enableval=$enable_stc;
10297 if test "$enableval" = yes; then
10298 wx_cv_use_stc='wxUSE_STC=yes'
10299 else
10300 wx_cv_use_stc='wxUSE_STC=no'
10301 fi
10302
10303 else
10304
10305 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10306
10307 fi
10308
10309
10310 eval "$wx_cv_use_stc"
10311
10312 if test x"$enablestring" = xdisable; then
10313 if test $wxUSE_STC = no; then
10314 result=yes
10315 else
10316 result=no
10317 fi
10318 else
10319 result=$wxUSE_STC
10320 fi
10321
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10323 $as_echo "$result" >&6; }
10324
10325
10326 enablestring=
10327 defaultval=$wxUSE_ALL_FEATURES
10328 if test -z "$defaultval"; then
10329 if test x"$enablestring" = xdisable; then
10330 defaultval=yes
10331 else
10332 defaultval=no
10333 fi
10334 fi
10335
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10337 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10338 # Check whether --enable-constraints was given.
10339 if test "${enable_constraints+set}" = set; then :
10340 enableval=$enable_constraints;
10341 if test "$enableval" = yes; then
10342 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10343 else
10344 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10345 fi
10346
10347 else
10348
10349 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10350
10351 fi
10352
10353
10354 eval "$wx_cv_use_constraints"
10355
10356 if test x"$enablestring" = xdisable; then
10357 if test $wxUSE_CONSTRAINTS = no; then
10358 result=yes
10359 else
10360 result=no
10361 fi
10362 else
10363 result=$wxUSE_CONSTRAINTS
10364 fi
10365
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10367 $as_echo "$result" >&6; }
10368
10369
10370 enablestring=
10371 defaultval=$wxUSE_ALL_FEATURES
10372 if test -z "$defaultval"; then
10373 if test x"$enablestring" = xdisable; then
10374 defaultval=yes
10375 else
10376 defaultval=no
10377 fi
10378 fi
10379
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10381 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10382 # Check whether --enable-loggui was given.
10383 if test "${enable_loggui+set}" = set; then :
10384 enableval=$enable_loggui;
10385 if test "$enableval" = yes; then
10386 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10387 else
10388 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10389 fi
10390
10391 else
10392
10393 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10394
10395 fi
10396
10397
10398 eval "$wx_cv_use_loggui"
10399
10400 if test x"$enablestring" = xdisable; then
10401 if test $wxUSE_LOGGUI = no; then
10402 result=yes
10403 else
10404 result=no
10405 fi
10406 else
10407 result=$wxUSE_LOGGUI
10408 fi
10409
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10411 $as_echo "$result" >&6; }
10412
10413
10414 enablestring=
10415 defaultval=$wxUSE_ALL_FEATURES
10416 if test -z "$defaultval"; then
10417 if test x"$enablestring" = xdisable; then
10418 defaultval=yes
10419 else
10420 defaultval=no
10421 fi
10422 fi
10423
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10425 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10426 # Check whether --enable-logwin was given.
10427 if test "${enable_logwin+set}" = set; then :
10428 enableval=$enable_logwin;
10429 if test "$enableval" = yes; then
10430 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10431 else
10432 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10433 fi
10434
10435 else
10436
10437 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10438
10439 fi
10440
10441
10442 eval "$wx_cv_use_logwin"
10443
10444 if test x"$enablestring" = xdisable; then
10445 if test $wxUSE_LOGWINDOW = no; then
10446 result=yes
10447 else
10448 result=no
10449 fi
10450 else
10451 result=$wxUSE_LOGWINDOW
10452 fi
10453
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10455 $as_echo "$result" >&6; }
10456
10457
10458 enablestring=
10459 defaultval=$wxUSE_ALL_FEATURES
10460 if test -z "$defaultval"; then
10461 if test x"$enablestring" = xdisable; then
10462 defaultval=yes
10463 else
10464 defaultval=no
10465 fi
10466 fi
10467
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10469 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10470 # Check whether --enable-logdialog was given.
10471 if test "${enable_logdialog+set}" = set; then :
10472 enableval=$enable_logdialog;
10473 if test "$enableval" = yes; then
10474 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10475 else
10476 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10477 fi
10478
10479 else
10480
10481 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10482
10483 fi
10484
10485
10486 eval "$wx_cv_use_logdialog"
10487
10488 if test x"$enablestring" = xdisable; then
10489 if test $wxUSE_LOGDIALOG = no; then
10490 result=yes
10491 else
10492 result=no
10493 fi
10494 else
10495 result=$wxUSE_LOGDIALOG
10496 fi
10497
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10499 $as_echo "$result" >&6; }
10500
10501
10502 enablestring=
10503 defaultval=$wxUSE_ALL_FEATURES
10504 if test -z "$defaultval"; then
10505 if test x"$enablestring" = xdisable; then
10506 defaultval=yes
10507 else
10508 defaultval=no
10509 fi
10510 fi
10511
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10513 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10514 # Check whether --enable-mdi was given.
10515 if test "${enable_mdi+set}" = set; then :
10516 enableval=$enable_mdi;
10517 if test "$enableval" = yes; then
10518 wx_cv_use_mdi='wxUSE_MDI=yes'
10519 else
10520 wx_cv_use_mdi='wxUSE_MDI=no'
10521 fi
10522
10523 else
10524
10525 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10526
10527 fi
10528
10529
10530 eval "$wx_cv_use_mdi"
10531
10532 if test x"$enablestring" = xdisable; then
10533 if test $wxUSE_MDI = no; then
10534 result=yes
10535 else
10536 result=no
10537 fi
10538 else
10539 result=$wxUSE_MDI
10540 fi
10541
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10543 $as_echo "$result" >&6; }
10544
10545
10546 enablestring=
10547 defaultval=$wxUSE_ALL_FEATURES
10548 if test -z "$defaultval"; then
10549 if test x"$enablestring" = xdisable; then
10550 defaultval=yes
10551 else
10552 defaultval=no
10553 fi
10554 fi
10555
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10557 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10558 # Check whether --enable-mdidoc was given.
10559 if test "${enable_mdidoc+set}" = set; then :
10560 enableval=$enable_mdidoc;
10561 if test "$enableval" = yes; then
10562 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10563 else
10564 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10565 fi
10566
10567 else
10568
10569 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10570
10571 fi
10572
10573
10574 eval "$wx_cv_use_mdidoc"
10575
10576 if test x"$enablestring" = xdisable; then
10577 if test $wxUSE_MDI_ARCHITECTURE = no; then
10578 result=yes
10579 else
10580 result=no
10581 fi
10582 else
10583 result=$wxUSE_MDI_ARCHITECTURE
10584 fi
10585
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10587 $as_echo "$result" >&6; }
10588
10589
10590 enablestring=
10591 defaultval=$wxUSE_ALL_FEATURES
10592 if test -z "$defaultval"; then
10593 if test x"$enablestring" = xdisable; then
10594 defaultval=yes
10595 else
10596 defaultval=no
10597 fi
10598 fi
10599
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10601 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10602 # Check whether --enable-mediactrl was given.
10603 if test "${enable_mediactrl+set}" = set; then :
10604 enableval=$enable_mediactrl;
10605 if test "$enableval" = yes; then
10606 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10607 else
10608 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10609 fi
10610
10611 else
10612
10613 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10614
10615 fi
10616
10617
10618 eval "$wx_cv_use_mediactrl"
10619
10620 if test x"$enablestring" = xdisable; then
10621 if test $wxUSE_MEDIACTRL = no; then
10622 result=yes
10623 else
10624 result=no
10625 fi
10626 else
10627 result=$wxUSE_MEDIACTRL
10628 fi
10629
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10631 $as_echo "$result" >&6; }
10632
10633
10634 enablestring=
10635 defaultval=$wxUSE_ALL_FEATURES
10636 if test -z "$defaultval"; then
10637 if test x"$enablestring" = xdisable; then
10638 defaultval=yes
10639 else
10640 defaultval=no
10641 fi
10642 fi
10643
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10645 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10646 # Check whether --enable-gstreamer8 was given.
10647 if test "${enable_gstreamer8+set}" = set; then :
10648 enableval=$enable_gstreamer8;
10649 if test "$enableval" = yes; then
10650 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10651 else
10652 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10653 fi
10654
10655 else
10656
10657 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10658
10659 fi
10660
10661
10662 eval "$wx_cv_use_gstreamer8"
10663
10664 if test x"$enablestring" = xdisable; then
10665 if test $wxUSE_GSTREAMER8 = no; then
10666 result=yes
10667 else
10668 result=no
10669 fi
10670 else
10671 result=$wxUSE_GSTREAMER8
10672 fi
10673
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10675 $as_echo "$result" >&6; }
10676
10677
10678 enablestring=
10679 defaultval=$wxUSE_ALL_FEATURES
10680 if test -z "$defaultval"; then
10681 if test x"$enablestring" = xdisable; then
10682 defaultval=yes
10683 else
10684 defaultval=no
10685 fi
10686 fi
10687
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10689 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10690 # Check whether --enable-richtext was given.
10691 if test "${enable_richtext+set}" = set; then :
10692 enableval=$enable_richtext;
10693 if test "$enableval" = yes; then
10694 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10695 else
10696 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10697 fi
10698
10699 else
10700
10701 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10702
10703 fi
10704
10705
10706 eval "$wx_cv_use_richtext"
10707
10708 if test x"$enablestring" = xdisable; then
10709 if test $wxUSE_RICHTEXT = no; then
10710 result=yes
10711 else
10712 result=no
10713 fi
10714 else
10715 result=$wxUSE_RICHTEXT
10716 fi
10717
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10719 $as_echo "$result" >&6; }
10720
10721
10722 enablestring=
10723 defaultval=$wxUSE_ALL_FEATURES
10724 if test -z "$defaultval"; then
10725 if test x"$enablestring" = xdisable; then
10726 defaultval=yes
10727 else
10728 defaultval=no
10729 fi
10730 fi
10731
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10733 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10734 # Check whether --enable-postscript was given.
10735 if test "${enable_postscript+set}" = set; then :
10736 enableval=$enable_postscript;
10737 if test "$enableval" = yes; then
10738 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10739 else
10740 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10741 fi
10742
10743 else
10744
10745 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10746
10747 fi
10748
10749
10750 eval "$wx_cv_use_postscript"
10751
10752 if test x"$enablestring" = xdisable; then
10753 if test $wxUSE_POSTSCRIPT = no; then
10754 result=yes
10755 else
10756 result=no
10757 fi
10758 else
10759 result=$wxUSE_POSTSCRIPT
10760 fi
10761
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10763 $as_echo "$result" >&6; }
10764
10765
10766 enablestring=
10767 defaultval=$wxUSE_ALL_FEATURES
10768 if test -z "$defaultval"; then
10769 if test x"$enablestring" = xdisable; then
10770 defaultval=yes
10771 else
10772 defaultval=no
10773 fi
10774 fi
10775
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10777 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10778 # Check whether --enable-printarch was given.
10779 if test "${enable_printarch+set}" = set; then :
10780 enableval=$enable_printarch;
10781 if test "$enableval" = yes; then
10782 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10783 else
10784 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10785 fi
10786
10787 else
10788
10789 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10790
10791 fi
10792
10793
10794 eval "$wx_cv_use_printarch"
10795
10796 if test x"$enablestring" = xdisable; then
10797 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10798 result=yes
10799 else
10800 result=no
10801 fi
10802 else
10803 result=$wxUSE_PRINTING_ARCHITECTURE
10804 fi
10805
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10807 $as_echo "$result" >&6; }
10808
10809
10810 enablestring=
10811 defaultval=$wxUSE_ALL_FEATURES
10812 if test -z "$defaultval"; then
10813 if test x"$enablestring" = xdisable; then
10814 defaultval=yes
10815 else
10816 defaultval=no
10817 fi
10818 fi
10819
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10821 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10822 # Check whether --enable-svg was given.
10823 if test "${enable_svg+set}" = set; then :
10824 enableval=$enable_svg;
10825 if test "$enableval" = yes; then
10826 wx_cv_use_svg='wxUSE_SVG=yes'
10827 else
10828 wx_cv_use_svg='wxUSE_SVG=no'
10829 fi
10830
10831 else
10832
10833 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10834
10835 fi
10836
10837
10838 eval "$wx_cv_use_svg"
10839
10840 if test x"$enablestring" = xdisable; then
10841 if test $wxUSE_SVG = no; then
10842 result=yes
10843 else
10844 result=no
10845 fi
10846 else
10847 result=$wxUSE_SVG
10848 fi
10849
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10851 $as_echo "$result" >&6; }
10852
10853
10854 enablestring=
10855 defaultval=$wxUSE_ALL_FEATURES
10856 if test -z "$defaultval"; then
10857 if test x"$enablestring" = xdisable; then
10858 defaultval=yes
10859 else
10860 defaultval=no
10861 fi
10862 fi
10863
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10865 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10866 # Check whether --enable-webkit was given.
10867 if test "${enable_webkit+set}" = set; then :
10868 enableval=$enable_webkit;
10869 if test "$enableval" = yes; then
10870 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10871 else
10872 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10873 fi
10874
10875 else
10876
10877 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10878
10879 fi
10880
10881
10882 eval "$wx_cv_use_webkit"
10883
10884 if test x"$enablestring" = xdisable; then
10885 if test $wxUSE_WEBKIT = no; then
10886 result=yes
10887 else
10888 result=no
10889 fi
10890 else
10891 result=$wxUSE_WEBKIT
10892 fi
10893
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10895 $as_echo "$result" >&6; }
10896
10897
10898 enablestring=
10899 defaultval=$wxUSE_ALL_FEATURES
10900 if test -z "$defaultval"; then
10901 if test x"$enablestring" = xdisable; then
10902 defaultval=yes
10903 else
10904 defaultval=no
10905 fi
10906 fi
10907
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10909 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10910 # Check whether --enable-webview was given.
10911 if test "${enable_webview+set}" = set; then :
10912 enableval=$enable_webview;
10913 if test "$enableval" = yes; then
10914 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10915 else
10916 wx_cv_use_webview='wxUSE_WEBVIEW=no'
10917 fi
10918
10919 else
10920
10921 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10922
10923 fi
10924
10925
10926 eval "$wx_cv_use_webview"
10927
10928 if test x"$enablestring" = xdisable; then
10929 if test $wxUSE_WEBVIEW = no; then
10930 result=yes
10931 else
10932 result=no
10933 fi
10934 else
10935 result=$wxUSE_WEBVIEW
10936 fi
10937
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10939 $as_echo "$result" >&6; }
10940
10941
10942 if test "$wxUSE_MAC" != 1; then
10943
10944 enablestring=
10945 defaultval=$wxUSE_ALL_FEATURES
10946 if test -z "$defaultval"; then
10947 if test x"$enablestring" = xdisable; then
10948 defaultval=yes
10949 else
10950 defaultval=no
10951 fi
10952 fi
10953
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10955 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10956 # Check whether --enable-graphics_ctx was given.
10957 if test "${enable_graphics_ctx+set}" = set; then :
10958 enableval=$enable_graphics_ctx;
10959 if test "$enableval" = yes; then
10960 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10961 else
10962 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10963 fi
10964
10965 else
10966
10967 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10968
10969 fi
10970
10971
10972 eval "$wx_cv_use_graphics_ctx"
10973
10974 if test x"$enablestring" = xdisable; then
10975 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10976 result=yes
10977 else
10978 result=no
10979 fi
10980 else
10981 result=$wxUSE_GRAPHICS_CONTEXT
10982 fi
10983
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10985 $as_echo "$result" >&6; }
10986
10987 fi
10988
10989
10990
10991 enablestring=
10992 defaultval=$wxUSE_ALL_FEATURES
10993 if test -z "$defaultval"; then
10994 if test x"$enablestring" = xdisable; then
10995 defaultval=yes
10996 else
10997 defaultval=no
10998 fi
10999 fi
11000
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
11002 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
11003 # Check whether --enable-clipboard was given.
11004 if test "${enable_clipboard+set}" = set; then :
11005 enableval=$enable_clipboard;
11006 if test "$enableval" = yes; then
11007 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
11008 else
11009 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
11010 fi
11011
11012 else
11013
11014 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
11015
11016 fi
11017
11018
11019 eval "$wx_cv_use_clipboard"
11020
11021 if test x"$enablestring" = xdisable; then
11022 if test $wxUSE_CLIPBOARD = no; then
11023 result=yes
11024 else
11025 result=no
11026 fi
11027 else
11028 result=$wxUSE_CLIPBOARD
11029 fi
11030
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11032 $as_echo "$result" >&6; }
11033
11034
11035 enablestring=
11036 defaultval=$wxUSE_ALL_FEATURES
11037 if test -z "$defaultval"; then
11038 if test x"$enablestring" = xdisable; then
11039 defaultval=yes
11040 else
11041 defaultval=no
11042 fi
11043 fi
11044
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
11046 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
11047 # Check whether --enable-dnd was given.
11048 if test "${enable_dnd+set}" = set; then :
11049 enableval=$enable_dnd;
11050 if test "$enableval" = yes; then
11051 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
11052 else
11053 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
11054 fi
11055
11056 else
11057
11058 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
11059
11060 fi
11061
11062
11063 eval "$wx_cv_use_dnd"
11064
11065 if test x"$enablestring" = xdisable; then
11066 if test $wxUSE_DRAG_AND_DROP = no; then
11067 result=yes
11068 else
11069 result=no
11070 fi
11071 else
11072 result=$wxUSE_DRAG_AND_DROP
11073 fi
11074
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11076 $as_echo "$result" >&6; }
11077
11078
11079
11080 DEFAULT_wxUSE_CONTROLS=none
11081
11082 enablestring=disable
11083 defaultval=
11084 if test -z "$defaultval"; then
11085 if test x"$enablestring" = xdisable; then
11086 defaultval=yes
11087 else
11088 defaultval=no
11089 fi
11090 fi
11091
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
11093 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
11094 # Check whether --enable-controls was given.
11095 if test "${enable_controls+set}" = set; then :
11096 enableval=$enable_controls;
11097 if test "$enableval" = yes; then
11098 wx_cv_use_controls='wxUSE_CONTROLS=yes'
11099 else
11100 wx_cv_use_controls='wxUSE_CONTROLS=no'
11101 fi
11102
11103 else
11104
11105 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
11106
11107 fi
11108
11109
11110 eval "$wx_cv_use_controls"
11111
11112 if test x"$enablestring" = xdisable; then
11113 if test $wxUSE_CONTROLS = no; then
11114 result=yes
11115 else
11116 result=no
11117 fi
11118 else
11119 result=$wxUSE_CONTROLS
11120 fi
11121
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11123 $as_echo "$result" >&6; }
11124
11125
11126 if test "$wxUSE_CONTROLS" = "no"; then
11127 DEFAULT_wxUSE_ACCEL=no
11128 DEFAULT_wxUSE_ANIMATIONCTRL=no
11129 DEFAULT_wxUSE_BANNERWINDOW=no
11130 DEFAULT_wxUSE_BMPBUTTON=no
11131 DEFAULT_wxUSE_BUTTON=no
11132 DEFAULT_wxUSE_CALCTRL=no
11133 DEFAULT_wxUSE_CARET=no
11134 DEFAULT_wxUSE_CHECKBOX=no
11135 DEFAULT_wxUSE_CHECKLISTBOX=no
11136 DEFAULT_wxUSE_CHOICE=no
11137 DEFAULT_wxUSE_CHOICEBOOK=no
11138 DEFAULT_wxUSE_COLLPANE=no
11139 DEFAULT_wxUSE_COLOURPICKERCTRL=no
11140 DEFAULT_wxUSE_COMBOBOX=no
11141 DEFAULT_wxUSE_COMBOBOX=no
11142 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
11143 DEFAULT_wxUSE_DATAVIEWCTRL=no
11144 DEFAULT_wxUSE_DATEPICKCTRL=no
11145 DEFAULT_wxUSE_DETECT_SM=no
11146 DEFAULT_wxUSE_DIRPICKERCTRL=no
11147 DEFAULT_wxUSE_DISPLAY=no
11148 DEFAULT_wxUSE_FILECTRL=no
11149 DEFAULT_wxUSE_FILEPICKERCTRL=no
11150 DEFAULT_wxUSE_FONTPICKERCTRL=no
11151 DEFAULT_wxUSE_GAUGE=no
11152 DEFAULT_wxUSE_GRID=no
11153 DEFAULT_wxUSE_HEADERCTRL=no
11154 DEFAULT_wxUSE_HYPERLINKCTRL=no
11155 DEFAULT_wxUSE_IMAGLIST=no
11156 DEFAULT_wxUSE_LISTBOOK=no
11157 DEFAULT_wxUSE_LISTBOX=no
11158 DEFAULT_wxUSE_LISTCTRL=no
11159 DEFAULT_wxUSE_MARKUP=no
11160 DEFAULT_wxUSE_NOTEBOOK=no
11161 DEFAULT_wxUSE_POPUPWIN=no
11162 DEFAULT_wxUSE_RADIOBOX=no
11163 DEFAULT_wxUSE_RADIOBTN=no
11164 DEFAULT_wxUSE_RICHMSGDLG=no
11165 DEFAULT_wxUSE_RICHTOOLTIP=no
11166 DEFAULT_wxUSE_REARRANGECTRL=no
11167 DEFAULT_wxUSE_SASH=no
11168 DEFAULT_wxUSE_SCROLLBAR=no
11169 DEFAULT_wxUSE_SEARCHCTRL=no
11170 DEFAULT_wxUSE_SLIDER=no
11171 DEFAULT_wxUSE_SPINBTN=no
11172 DEFAULT_wxUSE_SPINCTRL=no
11173 DEFAULT_wxUSE_SPLITTER=no
11174 DEFAULT_wxUSE_STATBMP=no
11175 DEFAULT_wxUSE_STATBOX=no
11176 DEFAULT_wxUSE_STATLINE=no
11177 DEFAULT_wxUSE_STATUSBAR=no
11178 DEFAULT_wxUSE_TIMEPICKCTRL=no
11179 DEFAULT_wxUSE_TIPWINDOW=no
11180 DEFAULT_wxUSE_TOGGLEBTN=no
11181 DEFAULT_wxUSE_TOOLBAR=no
11182 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11183 DEFAULT_wxUSE_TOOLBOOK=no
11184 DEFAULT_wxUSE_TOOLTIPS=no
11185 DEFAULT_wxUSE_TREEBOOK=no
11186 DEFAULT_wxUSE_TREECTRL=no
11187 DEFAULT_wxUSE_TREELISTCTRL=no
11188 fi
11189
11190
11191 enablestring=
11192 defaultval=$wxUSE_ALL_FEATURES
11193 if test -z "$defaultval"; then
11194 if test x"$enablestring" = xdisable; then
11195 defaultval=yes
11196 else
11197 defaultval=no
11198 fi
11199 fi
11200
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11202 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11203 # Check whether --enable-markup was given.
11204 if test "${enable_markup+set}" = set; then :
11205 enableval=$enable_markup;
11206 if test "$enableval" = yes; then
11207 wx_cv_use_markup='wxUSE_MARKUP=yes'
11208 else
11209 wx_cv_use_markup='wxUSE_MARKUP=no'
11210 fi
11211
11212 else
11213
11214 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11215
11216 fi
11217
11218
11219 eval "$wx_cv_use_markup"
11220
11221 if test x"$enablestring" = xdisable; then
11222 if test $wxUSE_MARKUP = no; then
11223 result=yes
11224 else
11225 result=no
11226 fi
11227 else
11228 result=$wxUSE_MARKUP
11229 fi
11230
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11232 $as_echo "$result" >&6; }
11233
11234
11235
11236 enablestring=
11237 defaultval=$wxUSE_ALL_FEATURES
11238 if test -z "$defaultval"; then
11239 if test x"$enablestring" = xdisable; then
11240 defaultval=yes
11241 else
11242 defaultval=no
11243 fi
11244 fi
11245
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11247 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11248 # Check whether --enable-accel was given.
11249 if test "${enable_accel+set}" = set; then :
11250 enableval=$enable_accel;
11251 if test "$enableval" = yes; then
11252 wx_cv_use_accel='wxUSE_ACCEL=yes'
11253 else
11254 wx_cv_use_accel='wxUSE_ACCEL=no'
11255 fi
11256
11257 else
11258
11259 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11260
11261 fi
11262
11263
11264 eval "$wx_cv_use_accel"
11265
11266 if test x"$enablestring" = xdisable; then
11267 if test $wxUSE_ACCEL = no; then
11268 result=yes
11269 else
11270 result=no
11271 fi
11272 else
11273 result=$wxUSE_ACCEL
11274 fi
11275
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11277 $as_echo "$result" >&6; }
11278
11279
11280 enablestring=
11281 defaultval=$wxUSE_ALL_FEATURES
11282 if test -z "$defaultval"; then
11283 if test x"$enablestring" = xdisable; then
11284 defaultval=yes
11285 else
11286 defaultval=no
11287 fi
11288 fi
11289
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11291 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11292 # Check whether --enable-animatectrl was given.
11293 if test "${enable_animatectrl+set}" = set; then :
11294 enableval=$enable_animatectrl;
11295 if test "$enableval" = yes; then
11296 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11297 else
11298 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11299 fi
11300
11301 else
11302
11303 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11304
11305 fi
11306
11307
11308 eval "$wx_cv_use_animatectrl"
11309
11310 if test x"$enablestring" = xdisable; then
11311 if test $wxUSE_ANIMATIONCTRL = no; then
11312 result=yes
11313 else
11314 result=no
11315 fi
11316 else
11317 result=$wxUSE_ANIMATIONCTRL
11318 fi
11319
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11321 $as_echo "$result" >&6; }
11322
11323
11324 enablestring=
11325 defaultval=$wxUSE_ALL_FEATURES
11326 if test -z "$defaultval"; then
11327 if test x"$enablestring" = xdisable; then
11328 defaultval=yes
11329 else
11330 defaultval=no
11331 fi
11332 fi
11333
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11335 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11336 # Check whether --enable-bannerwindow was given.
11337 if test "${enable_bannerwindow+set}" = set; then :
11338 enableval=$enable_bannerwindow;
11339 if test "$enableval" = yes; then
11340 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11341 else
11342 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11343 fi
11344
11345 else
11346
11347 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11348
11349 fi
11350
11351
11352 eval "$wx_cv_use_bannerwindow"
11353
11354 if test x"$enablestring" = xdisable; then
11355 if test $wxUSE_BANNERWINDOW = no; then
11356 result=yes
11357 else
11358 result=no
11359 fi
11360 else
11361 result=$wxUSE_BANNERWINDOW
11362 fi
11363
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11365 $as_echo "$result" >&6; }
11366
11367
11368 enablestring=
11369 defaultval=$wxUSE_ALL_FEATURES
11370 if test -z "$defaultval"; then
11371 if test x"$enablestring" = xdisable; then
11372 defaultval=yes
11373 else
11374 defaultval=no
11375 fi
11376 fi
11377
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11379 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11380 # Check whether --enable-artstd was given.
11381 if test "${enable_artstd+set}" = set; then :
11382 enableval=$enable_artstd;
11383 if test "$enableval" = yes; then
11384 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11385 else
11386 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11387 fi
11388
11389 else
11390
11391 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11392
11393 fi
11394
11395
11396 eval "$wx_cv_use_artstd"
11397
11398 if test x"$enablestring" = xdisable; then
11399 if test $wxUSE_ARTPROVIDER_STD = no; then
11400 result=yes
11401 else
11402 result=no
11403 fi
11404 else
11405 result=$wxUSE_ARTPROVIDER_STD
11406 fi
11407
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11409 $as_echo "$result" >&6; }
11410
11411
11412 enablestring=
11413 defaultval=$wxUSE_ALL_FEATURES
11414 if test -z "$defaultval"; then
11415 if test x"$enablestring" = xdisable; then
11416 defaultval=yes
11417 else
11418 defaultval=no
11419 fi
11420 fi
11421
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11423 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11424 # Check whether --enable-arttango was given.
11425 if test "${enable_arttango+set}" = set; then :
11426 enableval=$enable_arttango;
11427 if test "$enableval" = yes; then
11428 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11429 else
11430 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11431 fi
11432
11433 else
11434
11435 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11436
11437 fi
11438
11439
11440 eval "$wx_cv_use_arttango"
11441
11442 if test x"$enablestring" = xdisable; then
11443 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11444 result=yes
11445 else
11446 result=no
11447 fi
11448 else
11449 result=$wxUSE_ARTPROVIDER_TANGO
11450 fi
11451
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11453 $as_echo "$result" >&6; }
11454
11455
11456 enablestring=
11457 defaultval=$wxUSE_ALL_FEATURES
11458 if test -z "$defaultval"; then
11459 if test x"$enablestring" = xdisable; then
11460 defaultval=yes
11461 else
11462 defaultval=no
11463 fi
11464 fi
11465
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11467 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11468 # Check whether --enable-bmpbutton was given.
11469 if test "${enable_bmpbutton+set}" = set; then :
11470 enableval=$enable_bmpbutton;
11471 if test "$enableval" = yes; then
11472 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11473 else
11474 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11475 fi
11476
11477 else
11478
11479 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11480
11481 fi
11482
11483
11484 eval "$wx_cv_use_bmpbutton"
11485
11486 if test x"$enablestring" = xdisable; then
11487 if test $wxUSE_BMPBUTTON = no; then
11488 result=yes
11489 else
11490 result=no
11491 fi
11492 else
11493 result=$wxUSE_BMPBUTTON
11494 fi
11495
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11497 $as_echo "$result" >&6; }
11498
11499
11500 enablestring=
11501 defaultval=$wxUSE_ALL_FEATURES
11502 if test -z "$defaultval"; then
11503 if test x"$enablestring" = xdisable; then
11504 defaultval=yes
11505 else
11506 defaultval=no
11507 fi
11508 fi
11509
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11511 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11512 # Check whether --enable-bmpcombobox was given.
11513 if test "${enable_bmpcombobox+set}" = set; then :
11514 enableval=$enable_bmpcombobox;
11515 if test "$enableval" = yes; then
11516 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11517 else
11518 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11519 fi
11520
11521 else
11522
11523 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11524
11525 fi
11526
11527
11528 eval "$wx_cv_use_bmpcombobox"
11529
11530 if test x"$enablestring" = xdisable; then
11531 if test $wxUSE_BITMAPCOMBOBOX = no; then
11532 result=yes
11533 else
11534 result=no
11535 fi
11536 else
11537 result=$wxUSE_BITMAPCOMBOBOX
11538 fi
11539
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11541 $as_echo "$result" >&6; }
11542
11543
11544 enablestring=
11545 defaultval=$wxUSE_ALL_FEATURES
11546 if test -z "$defaultval"; then
11547 if test x"$enablestring" = xdisable; then
11548 defaultval=yes
11549 else
11550 defaultval=no
11551 fi
11552 fi
11553
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11555 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11556 # Check whether --enable-button was given.
11557 if test "${enable_button+set}" = set; then :
11558 enableval=$enable_button;
11559 if test "$enableval" = yes; then
11560 wx_cv_use_button='wxUSE_BUTTON=yes'
11561 else
11562 wx_cv_use_button='wxUSE_BUTTON=no'
11563 fi
11564
11565 else
11566
11567 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11568
11569 fi
11570
11571
11572 eval "$wx_cv_use_button"
11573
11574 if test x"$enablestring" = xdisable; then
11575 if test $wxUSE_BUTTON = no; then
11576 result=yes
11577 else
11578 result=no
11579 fi
11580 else
11581 result=$wxUSE_BUTTON
11582 fi
11583
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11585 $as_echo "$result" >&6; }
11586
11587
11588 enablestring=
11589 defaultval=$wxUSE_ALL_FEATURES
11590 if test -z "$defaultval"; then
11591 if test x"$enablestring" = xdisable; then
11592 defaultval=yes
11593 else
11594 defaultval=no
11595 fi
11596 fi
11597
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11599 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11600 # Check whether --enable-calendar was given.
11601 if test "${enable_calendar+set}" = set; then :
11602 enableval=$enable_calendar;
11603 if test "$enableval" = yes; then
11604 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11605 else
11606 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11607 fi
11608
11609 else
11610
11611 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11612
11613 fi
11614
11615
11616 eval "$wx_cv_use_calendar"
11617
11618 if test x"$enablestring" = xdisable; then
11619 if test $wxUSE_CALCTRL = no; then
11620 result=yes
11621 else
11622 result=no
11623 fi
11624 else
11625 result=$wxUSE_CALCTRL
11626 fi
11627
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11629 $as_echo "$result" >&6; }
11630
11631
11632 enablestring=
11633 defaultval=$wxUSE_ALL_FEATURES
11634 if test -z "$defaultval"; then
11635 if test x"$enablestring" = xdisable; then
11636 defaultval=yes
11637 else
11638 defaultval=no
11639 fi
11640 fi
11641
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11643 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11644 # Check whether --enable-caret was given.
11645 if test "${enable_caret+set}" = set; then :
11646 enableval=$enable_caret;
11647 if test "$enableval" = yes; then
11648 wx_cv_use_caret='wxUSE_CARET=yes'
11649 else
11650 wx_cv_use_caret='wxUSE_CARET=no'
11651 fi
11652
11653 else
11654
11655 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11656
11657 fi
11658
11659
11660 eval "$wx_cv_use_caret"
11661
11662 if test x"$enablestring" = xdisable; then
11663 if test $wxUSE_CARET = no; then
11664 result=yes
11665 else
11666 result=no
11667 fi
11668 else
11669 result=$wxUSE_CARET
11670 fi
11671
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11673 $as_echo "$result" >&6; }
11674
11675
11676 enablestring=
11677 defaultval=$wxUSE_ALL_FEATURES
11678 if test -z "$defaultval"; then
11679 if test x"$enablestring" = xdisable; then
11680 defaultval=yes
11681 else
11682 defaultval=no
11683 fi
11684 fi
11685
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11687 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11688 # Check whether --enable-checkbox was given.
11689 if test "${enable_checkbox+set}" = set; then :
11690 enableval=$enable_checkbox;
11691 if test "$enableval" = yes; then
11692 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11693 else
11694 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11695 fi
11696
11697 else
11698
11699 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11700
11701 fi
11702
11703
11704 eval "$wx_cv_use_checkbox"
11705
11706 if test x"$enablestring" = xdisable; then
11707 if test $wxUSE_CHECKBOX = no; then
11708 result=yes
11709 else
11710 result=no
11711 fi
11712 else
11713 result=$wxUSE_CHECKBOX
11714 fi
11715
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11717 $as_echo "$result" >&6; }
11718
11719
11720 enablestring=
11721 defaultval=$wxUSE_ALL_FEATURES
11722 if test -z "$defaultval"; then
11723 if test x"$enablestring" = xdisable; then
11724 defaultval=yes
11725 else
11726 defaultval=no
11727 fi
11728 fi
11729
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11731 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11732 # Check whether --enable-checklst was given.
11733 if test "${enable_checklst+set}" = set; then :
11734 enableval=$enable_checklst;
11735 if test "$enableval" = yes; then
11736 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11737 else
11738 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11739 fi
11740
11741 else
11742
11743 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11744
11745 fi
11746
11747
11748 eval "$wx_cv_use_checklst"
11749
11750 if test x"$enablestring" = xdisable; then
11751 if test $wxUSE_CHECKLST = no; then
11752 result=yes
11753 else
11754 result=no
11755 fi
11756 else
11757 result=$wxUSE_CHECKLST
11758 fi
11759
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11761 $as_echo "$result" >&6; }
11762
11763
11764 enablestring=
11765 defaultval=$wxUSE_ALL_FEATURES
11766 if test -z "$defaultval"; then
11767 if test x"$enablestring" = xdisable; then
11768 defaultval=yes
11769 else
11770 defaultval=no
11771 fi
11772 fi
11773
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11775 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11776 # Check whether --enable-choice was given.
11777 if test "${enable_choice+set}" = set; then :
11778 enableval=$enable_choice;
11779 if test "$enableval" = yes; then
11780 wx_cv_use_choice='wxUSE_CHOICE=yes'
11781 else
11782 wx_cv_use_choice='wxUSE_CHOICE=no'
11783 fi
11784
11785 else
11786
11787 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11788
11789 fi
11790
11791
11792 eval "$wx_cv_use_choice"
11793
11794 if test x"$enablestring" = xdisable; then
11795 if test $wxUSE_CHOICE = no; then
11796 result=yes
11797 else
11798 result=no
11799 fi
11800 else
11801 result=$wxUSE_CHOICE
11802 fi
11803
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11805 $as_echo "$result" >&6; }
11806
11807
11808 enablestring=
11809 defaultval=$wxUSE_ALL_FEATURES
11810 if test -z "$defaultval"; then
11811 if test x"$enablestring" = xdisable; then
11812 defaultval=yes
11813 else
11814 defaultval=no
11815 fi
11816 fi
11817
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11819 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11820 # Check whether --enable-choicebook was given.
11821 if test "${enable_choicebook+set}" = set; then :
11822 enableval=$enable_choicebook;
11823 if test "$enableval" = yes; then
11824 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11825 else
11826 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11827 fi
11828
11829 else
11830
11831 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11832
11833 fi
11834
11835
11836 eval "$wx_cv_use_choicebook"
11837
11838 if test x"$enablestring" = xdisable; then
11839 if test $wxUSE_CHOICEBOOK = no; then
11840 result=yes
11841 else
11842 result=no
11843 fi
11844 else
11845 result=$wxUSE_CHOICEBOOK
11846 fi
11847
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11849 $as_echo "$result" >&6; }
11850
11851
11852 enablestring=
11853 defaultval=$wxUSE_ALL_FEATURES
11854 if test -z "$defaultval"; then
11855 if test x"$enablestring" = xdisable; then
11856 defaultval=yes
11857 else
11858 defaultval=no
11859 fi
11860 fi
11861
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11863 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11864 # Check whether --enable-collpane was given.
11865 if test "${enable_collpane+set}" = set; then :
11866 enableval=$enable_collpane;
11867 if test "$enableval" = yes; then
11868 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11869 else
11870 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11871 fi
11872
11873 else
11874
11875 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11876
11877 fi
11878
11879
11880 eval "$wx_cv_use_collpane"
11881
11882 if test x"$enablestring" = xdisable; then
11883 if test $wxUSE_COLLPANE = no; then
11884 result=yes
11885 else
11886 result=no
11887 fi
11888 else
11889 result=$wxUSE_COLLPANE
11890 fi
11891
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11893 $as_echo "$result" >&6; }
11894
11895
11896 enablestring=
11897 defaultval=$wxUSE_ALL_FEATURES
11898 if test -z "$defaultval"; then
11899 if test x"$enablestring" = xdisable; then
11900 defaultval=yes
11901 else
11902 defaultval=no
11903 fi
11904 fi
11905
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11907 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11908 # Check whether --enable-colourpicker was given.
11909 if test "${enable_colourpicker+set}" = set; then :
11910 enableval=$enable_colourpicker;
11911 if test "$enableval" = yes; then
11912 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11913 else
11914 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11915 fi
11916
11917 else
11918
11919 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11920
11921 fi
11922
11923
11924 eval "$wx_cv_use_colourpicker"
11925
11926 if test x"$enablestring" = xdisable; then
11927 if test $wxUSE_COLOURPICKERCTRL = no; then
11928 result=yes
11929 else
11930 result=no
11931 fi
11932 else
11933 result=$wxUSE_COLOURPICKERCTRL
11934 fi
11935
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11937 $as_echo "$result" >&6; }
11938
11939
11940 enablestring=
11941 defaultval=$wxUSE_ALL_FEATURES
11942 if test -z "$defaultval"; then
11943 if test x"$enablestring" = xdisable; then
11944 defaultval=yes
11945 else
11946 defaultval=no
11947 fi
11948 fi
11949
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11951 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11952 # Check whether --enable-combobox was given.
11953 if test "${enable_combobox+set}" = set; then :
11954 enableval=$enable_combobox;
11955 if test "$enableval" = yes; then
11956 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11957 else
11958 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11959 fi
11960
11961 else
11962
11963 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11964
11965 fi
11966
11967
11968 eval "$wx_cv_use_combobox"
11969
11970 if test x"$enablestring" = xdisable; then
11971 if test $wxUSE_COMBOBOX = no; then
11972 result=yes
11973 else
11974 result=no
11975 fi
11976 else
11977 result=$wxUSE_COMBOBOX
11978 fi
11979
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11981 $as_echo "$result" >&6; }
11982
11983
11984 enablestring=
11985 defaultval=$wxUSE_ALL_FEATURES
11986 if test -z "$defaultval"; then
11987 if test x"$enablestring" = xdisable; then
11988 defaultval=yes
11989 else
11990 defaultval=no
11991 fi
11992 fi
11993
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11995 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11996 # Check whether --enable-comboctrl was given.
11997 if test "${enable_comboctrl+set}" = set; then :
11998 enableval=$enable_comboctrl;
11999 if test "$enableval" = yes; then
12000 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
12001 else
12002 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
12003 fi
12004
12005 else
12006
12007 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
12008
12009 fi
12010
12011
12012 eval "$wx_cv_use_comboctrl"
12013
12014 if test x"$enablestring" = xdisable; then
12015 if test $wxUSE_COMBOCTRL = no; then
12016 result=yes
12017 else
12018 result=no
12019 fi
12020 else
12021 result=$wxUSE_COMBOCTRL
12022 fi
12023
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12025 $as_echo "$result" >&6; }
12026
12027
12028 enablestring=
12029 defaultval=$wxUSE_ALL_FEATURES
12030 if test -z "$defaultval"; then
12031 if test x"$enablestring" = xdisable; then
12032 defaultval=yes
12033 else
12034 defaultval=no
12035 fi
12036 fi
12037
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
12039 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
12040 # Check whether --enable-commandlinkbutton was given.
12041 if test "${enable_commandlinkbutton+set}" = set; then :
12042 enableval=$enable_commandlinkbutton;
12043 if test "$enableval" = yes; then
12044 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
12045 else
12046 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
12047 fi
12048
12049 else
12050
12051 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
12052
12053 fi
12054
12055
12056 eval "$wx_cv_use_commandlinkbutton"
12057
12058 if test x"$enablestring" = xdisable; then
12059 if test $wxUSE_COMMANDLINKBUTTON = no; then
12060 result=yes
12061 else
12062 result=no
12063 fi
12064 else
12065 result=$wxUSE_COMMANDLINKBUTTON
12066 fi
12067
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12069 $as_echo "$result" >&6; }
12070
12071
12072 enablestring=
12073 defaultval=$wxUSE_ALL_FEATURES
12074 if test -z "$defaultval"; then
12075 if test x"$enablestring" = xdisable; then
12076 defaultval=yes
12077 else
12078 defaultval=no
12079 fi
12080 fi
12081
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
12083 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
12084 # Check whether --enable-dataviewctrl was given.
12085 if test "${enable_dataviewctrl+set}" = set; then :
12086 enableval=$enable_dataviewctrl;
12087 if test "$enableval" = yes; then
12088 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12089 else
12090 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12091 fi
12092
12093 else
12094
12095 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12096
12097 fi
12098
12099
12100 eval "$wx_cv_use_dataviewctrl"
12101
12102 if test x"$enablestring" = xdisable; then
12103 if test $wxUSE_DATAVIEWCTRL = no; then
12104 result=yes
12105 else
12106 result=no
12107 fi
12108 else
12109 result=$wxUSE_DATAVIEWCTRL
12110 fi
12111
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12113 $as_echo "$result" >&6; }
12114
12115
12116 enablestring=
12117 defaultval=$wxUSE_ALL_FEATURES
12118 if test -z "$defaultval"; then
12119 if test x"$enablestring" = xdisable; then
12120 defaultval=yes
12121 else
12122 defaultval=no
12123 fi
12124 fi
12125
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
12127 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
12128 # Check whether --enable-datepick was given.
12129 if test "${enable_datepick+set}" = set; then :
12130 enableval=$enable_datepick;
12131 if test "$enableval" = yes; then
12132 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
12133 else
12134 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
12135 fi
12136
12137 else
12138
12139 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
12140
12141 fi
12142
12143
12144 eval "$wx_cv_use_datepick"
12145
12146 if test x"$enablestring" = xdisable; then
12147 if test $wxUSE_DATEPICKCTRL = no; then
12148 result=yes
12149 else
12150 result=no
12151 fi
12152 else
12153 result=$wxUSE_DATEPICKCTRL
12154 fi
12155
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12157 $as_echo "$result" >&6; }
12158
12159
12160 enablestring=
12161 defaultval=$wxUSE_ALL_FEATURES
12162 if test -z "$defaultval"; then
12163 if test x"$enablestring" = xdisable; then
12164 defaultval=yes
12165 else
12166 defaultval=no
12167 fi
12168 fi
12169
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
12171 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
12172 # Check whether --enable-detect_sm was given.
12173 if test "${enable_detect_sm+set}" = set; then :
12174 enableval=$enable_detect_sm;
12175 if test "$enableval" = yes; then
12176 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12177 else
12178 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12179 fi
12180
12181 else
12182
12183 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12184
12185 fi
12186
12187
12188 eval "$wx_cv_use_detect_sm"
12189
12190 if test x"$enablestring" = xdisable; then
12191 if test $wxUSE_DETECT_SM = no; then
12192 result=yes
12193 else
12194 result=no
12195 fi
12196 else
12197 result=$wxUSE_DETECT_SM
12198 fi
12199
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12201 $as_echo "$result" >&6; }
12202
12203
12204 enablestring=
12205 defaultval=$wxUSE_ALL_FEATURES
12206 if test -z "$defaultval"; then
12207 if test x"$enablestring" = xdisable; then
12208 defaultval=yes
12209 else
12210 defaultval=no
12211 fi
12212 fi
12213
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12215 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12216 # Check whether --enable-dirpicker was given.
12217 if test "${enable_dirpicker+set}" = set; then :
12218 enableval=$enable_dirpicker;
12219 if test "$enableval" = yes; then
12220 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12221 else
12222 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12223 fi
12224
12225 else
12226
12227 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12228
12229 fi
12230
12231
12232 eval "$wx_cv_use_dirpicker"
12233
12234 if test x"$enablestring" = xdisable; then
12235 if test $wxUSE_DIRPICKERCTRL = no; then
12236 result=yes
12237 else
12238 result=no
12239 fi
12240 else
12241 result=$wxUSE_DIRPICKERCTRL
12242 fi
12243
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12245 $as_echo "$result" >&6; }
12246
12247
12248 enablestring=
12249 defaultval=$wxUSE_ALL_FEATURES
12250 if test -z "$defaultval"; then
12251 if test x"$enablestring" = xdisable; then
12252 defaultval=yes
12253 else
12254 defaultval=no
12255 fi
12256 fi
12257
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12259 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12260 # Check whether --enable-display was given.
12261 if test "${enable_display+set}" = set; then :
12262 enableval=$enable_display;
12263 if test "$enableval" = yes; then
12264 wx_cv_use_display='wxUSE_DISPLAY=yes'
12265 else
12266 wx_cv_use_display='wxUSE_DISPLAY=no'
12267 fi
12268
12269 else
12270
12271 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12272
12273 fi
12274
12275
12276 eval "$wx_cv_use_display"
12277
12278 if test x"$enablestring" = xdisable; then
12279 if test $wxUSE_DISPLAY = no; then
12280 result=yes
12281 else
12282 result=no
12283 fi
12284 else
12285 result=$wxUSE_DISPLAY
12286 fi
12287
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12289 $as_echo "$result" >&6; }
12290
12291
12292 enablestring=
12293 defaultval=$wxUSE_ALL_FEATURES
12294 if test -z "$defaultval"; then
12295 if test x"$enablestring" = xdisable; then
12296 defaultval=yes
12297 else
12298 defaultval=no
12299 fi
12300 fi
12301
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12303 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12304 # Check whether --enable-editablebox was given.
12305 if test "${enable_editablebox+set}" = set; then :
12306 enableval=$enable_editablebox;
12307 if test "$enableval" = yes; then
12308 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12309 else
12310 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12311 fi
12312
12313 else
12314
12315 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12316
12317 fi
12318
12319
12320 eval "$wx_cv_use_editablebox"
12321
12322 if test x"$enablestring" = xdisable; then
12323 if test $wxUSE_EDITABLELISTBOX = no; then
12324 result=yes
12325 else
12326 result=no
12327 fi
12328 else
12329 result=$wxUSE_EDITABLELISTBOX
12330 fi
12331
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12333 $as_echo "$result" >&6; }
12334
12335
12336 enablestring=
12337 defaultval=$wxUSE_ALL_FEATURES
12338 if test -z "$defaultval"; then
12339 if test x"$enablestring" = xdisable; then
12340 defaultval=yes
12341 else
12342 defaultval=no
12343 fi
12344 fi
12345
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12347 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12348 # Check whether --enable-filectrl was given.
12349 if test "${enable_filectrl+set}" = set; then :
12350 enableval=$enable_filectrl;
12351 if test "$enableval" = yes; then
12352 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12353 else
12354 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12355 fi
12356
12357 else
12358
12359 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12360
12361 fi
12362
12363
12364 eval "$wx_cv_use_filectrl"
12365
12366 if test x"$enablestring" = xdisable; then
12367 if test $wxUSE_FILECTRL = no; then
12368 result=yes
12369 else
12370 result=no
12371 fi
12372 else
12373 result=$wxUSE_FILECTRL
12374 fi
12375
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12377 $as_echo "$result" >&6; }
12378
12379
12380 enablestring=
12381 defaultval=$wxUSE_ALL_FEATURES
12382 if test -z "$defaultval"; then
12383 if test x"$enablestring" = xdisable; then
12384 defaultval=yes
12385 else
12386 defaultval=no
12387 fi
12388 fi
12389
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12391 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12392 # Check whether --enable-filepicker was given.
12393 if test "${enable_filepicker+set}" = set; then :
12394 enableval=$enable_filepicker;
12395 if test "$enableval" = yes; then
12396 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12397 else
12398 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12399 fi
12400
12401 else
12402
12403 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12404
12405 fi
12406
12407
12408 eval "$wx_cv_use_filepicker"
12409
12410 if test x"$enablestring" = xdisable; then
12411 if test $wxUSE_FILEPICKERCTRL = no; then
12412 result=yes
12413 else
12414 result=no
12415 fi
12416 else
12417 result=$wxUSE_FILEPICKERCTRL
12418 fi
12419
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12421 $as_echo "$result" >&6; }
12422
12423
12424 enablestring=
12425 defaultval=$wxUSE_ALL_FEATURES
12426 if test -z "$defaultval"; then
12427 if test x"$enablestring" = xdisable; then
12428 defaultval=yes
12429 else
12430 defaultval=no
12431 fi
12432 fi
12433
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12435 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12436 # Check whether --enable-fontpicker was given.
12437 if test "${enable_fontpicker+set}" = set; then :
12438 enableval=$enable_fontpicker;
12439 if test "$enableval" = yes; then
12440 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12441 else
12442 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12443 fi
12444
12445 else
12446
12447 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12448
12449 fi
12450
12451
12452 eval "$wx_cv_use_fontpicker"
12453
12454 if test x"$enablestring" = xdisable; then
12455 if test $wxUSE_FONTPICKERCTRL = no; then
12456 result=yes
12457 else
12458 result=no
12459 fi
12460 else
12461 result=$wxUSE_FONTPICKERCTRL
12462 fi
12463
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12465 $as_echo "$result" >&6; }
12466
12467
12468 enablestring=
12469 defaultval=$wxUSE_ALL_FEATURES
12470 if test -z "$defaultval"; then
12471 if test x"$enablestring" = xdisable; then
12472 defaultval=yes
12473 else
12474 defaultval=no
12475 fi
12476 fi
12477
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12479 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12480 # Check whether --enable-gauge was given.
12481 if test "${enable_gauge+set}" = set; then :
12482 enableval=$enable_gauge;
12483 if test "$enableval" = yes; then
12484 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12485 else
12486 wx_cv_use_gauge='wxUSE_GAUGE=no'
12487 fi
12488
12489 else
12490
12491 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12492
12493 fi
12494
12495
12496 eval "$wx_cv_use_gauge"
12497
12498 if test x"$enablestring" = xdisable; then
12499 if test $wxUSE_GAUGE = no; then
12500 result=yes
12501 else
12502 result=no
12503 fi
12504 else
12505 result=$wxUSE_GAUGE
12506 fi
12507
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12509 $as_echo "$result" >&6; }
12510
12511
12512 enablestring=
12513 defaultval=$wxUSE_ALL_FEATURES
12514 if test -z "$defaultval"; then
12515 if test x"$enablestring" = xdisable; then
12516 defaultval=yes
12517 else
12518 defaultval=no
12519 fi
12520 fi
12521
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12523 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12524 # Check whether --enable-grid was given.
12525 if test "${enable_grid+set}" = set; then :
12526 enableval=$enable_grid;
12527 if test "$enableval" = yes; then
12528 wx_cv_use_grid='wxUSE_GRID=yes'
12529 else
12530 wx_cv_use_grid='wxUSE_GRID=no'
12531 fi
12532
12533 else
12534
12535 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12536
12537 fi
12538
12539
12540 eval "$wx_cv_use_grid"
12541
12542 if test x"$enablestring" = xdisable; then
12543 if test $wxUSE_GRID = no; then
12544 result=yes
12545 else
12546 result=no
12547 fi
12548 else
12549 result=$wxUSE_GRID
12550 fi
12551
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12553 $as_echo "$result" >&6; }
12554
12555
12556 enablestring=
12557 defaultval=$wxUSE_ALL_FEATURES
12558 if test -z "$defaultval"; then
12559 if test x"$enablestring" = xdisable; then
12560 defaultval=yes
12561 else
12562 defaultval=no
12563 fi
12564 fi
12565
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12567 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12568 # Check whether --enable-headerctrl was given.
12569 if test "${enable_headerctrl+set}" = set; then :
12570 enableval=$enable_headerctrl;
12571 if test "$enableval" = yes; then
12572 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12573 else
12574 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12575 fi
12576
12577 else
12578
12579 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12580
12581 fi
12582
12583
12584 eval "$wx_cv_use_headerctrl"
12585
12586 if test x"$enablestring" = xdisable; then
12587 if test $wxUSE_HEADERCTRL = no; then
12588 result=yes
12589 else
12590 result=no
12591 fi
12592 else
12593 result=$wxUSE_HEADERCTRL
12594 fi
12595
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12597 $as_echo "$result" >&6; }
12598
12599
12600 enablestring=
12601 defaultval=$wxUSE_ALL_FEATURES
12602 if test -z "$defaultval"; then
12603 if test x"$enablestring" = xdisable; then
12604 defaultval=yes
12605 else
12606 defaultval=no
12607 fi
12608 fi
12609
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12611 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12612 # Check whether --enable-hyperlink was given.
12613 if test "${enable_hyperlink+set}" = set; then :
12614 enableval=$enable_hyperlink;
12615 if test "$enableval" = yes; then
12616 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12617 else
12618 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12619 fi
12620
12621 else
12622
12623 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12624
12625 fi
12626
12627
12628 eval "$wx_cv_use_hyperlink"
12629
12630 if test x"$enablestring" = xdisable; then
12631 if test $wxUSE_HYPERLINKCTRL = no; then
12632 result=yes
12633 else
12634 result=no
12635 fi
12636 else
12637 result=$wxUSE_HYPERLINKCTRL
12638 fi
12639
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12641 $as_echo "$result" >&6; }
12642
12643
12644 enablestring=
12645 defaultval=$wxUSE_ALL_FEATURES
12646 if test -z "$defaultval"; then
12647 if test x"$enablestring" = xdisable; then
12648 defaultval=yes
12649 else
12650 defaultval=no
12651 fi
12652 fi
12653
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12655 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12656 # Check whether --enable-imaglist was given.
12657 if test "${enable_imaglist+set}" = set; then :
12658 enableval=$enable_imaglist;
12659 if test "$enableval" = yes; then
12660 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12661 else
12662 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12663 fi
12664
12665 else
12666
12667 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12668
12669 fi
12670
12671
12672 eval "$wx_cv_use_imaglist"
12673
12674 if test x"$enablestring" = xdisable; then
12675 if test $wxUSE_IMAGLIST = no; then
12676 result=yes
12677 else
12678 result=no
12679 fi
12680 else
12681 result=$wxUSE_IMAGLIST
12682 fi
12683
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12685 $as_echo "$result" >&6; }
12686
12687
12688 enablestring=
12689 defaultval=$wxUSE_ALL_FEATURES
12690 if test -z "$defaultval"; then
12691 if test x"$enablestring" = xdisable; then
12692 defaultval=yes
12693 else
12694 defaultval=no
12695 fi
12696 fi
12697
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12699 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12700 # Check whether --enable-infobar was given.
12701 if test "${enable_infobar+set}" = set; then :
12702 enableval=$enable_infobar;
12703 if test "$enableval" = yes; then
12704 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12705 else
12706 wx_cv_use_infobar='wxUSE_INFOBAR=no'
12707 fi
12708
12709 else
12710
12711 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12712
12713 fi
12714
12715
12716 eval "$wx_cv_use_infobar"
12717
12718 if test x"$enablestring" = xdisable; then
12719 if test $wxUSE_INFOBAR = no; then
12720 result=yes
12721 else
12722 result=no
12723 fi
12724 else
12725 result=$wxUSE_INFOBAR
12726 fi
12727
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12729 $as_echo "$result" >&6; }
12730
12731
12732 enablestring=
12733 defaultval=$wxUSE_ALL_FEATURES
12734 if test -z "$defaultval"; then
12735 if test x"$enablestring" = xdisable; then
12736 defaultval=yes
12737 else
12738 defaultval=no
12739 fi
12740 fi
12741
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12743 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12744 # Check whether --enable-listbook was given.
12745 if test "${enable_listbook+set}" = set; then :
12746 enableval=$enable_listbook;
12747 if test "$enableval" = yes; then
12748 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12749 else
12750 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12751 fi
12752
12753 else
12754
12755 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12756
12757 fi
12758
12759
12760 eval "$wx_cv_use_listbook"
12761
12762 if test x"$enablestring" = xdisable; then
12763 if test $wxUSE_LISTBOOK = no; then
12764 result=yes
12765 else
12766 result=no
12767 fi
12768 else
12769 result=$wxUSE_LISTBOOK
12770 fi
12771
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12773 $as_echo "$result" >&6; }
12774
12775
12776 enablestring=
12777 defaultval=$wxUSE_ALL_FEATURES
12778 if test -z "$defaultval"; then
12779 if test x"$enablestring" = xdisable; then
12780 defaultval=yes
12781 else
12782 defaultval=no
12783 fi
12784 fi
12785
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12787 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12788 # Check whether --enable-listbox was given.
12789 if test "${enable_listbox+set}" = set; then :
12790 enableval=$enable_listbox;
12791 if test "$enableval" = yes; then
12792 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12793 else
12794 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12795 fi
12796
12797 else
12798
12799 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12800
12801 fi
12802
12803
12804 eval "$wx_cv_use_listbox"
12805
12806 if test x"$enablestring" = xdisable; then
12807 if test $wxUSE_LISTBOX = no; then
12808 result=yes
12809 else
12810 result=no
12811 fi
12812 else
12813 result=$wxUSE_LISTBOX
12814 fi
12815
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12817 $as_echo "$result" >&6; }
12818
12819
12820 enablestring=
12821 defaultval=$wxUSE_ALL_FEATURES
12822 if test -z "$defaultval"; then
12823 if test x"$enablestring" = xdisable; then
12824 defaultval=yes
12825 else
12826 defaultval=no
12827 fi
12828 fi
12829
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12831 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12832 # Check whether --enable-listctrl was given.
12833 if test "${enable_listctrl+set}" = set; then :
12834 enableval=$enable_listctrl;
12835 if test "$enableval" = yes; then
12836 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12837 else
12838 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12839 fi
12840
12841 else
12842
12843 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12844
12845 fi
12846
12847
12848 eval "$wx_cv_use_listctrl"
12849
12850 if test x"$enablestring" = xdisable; then
12851 if test $wxUSE_LISTCTRL = no; then
12852 result=yes
12853 else
12854 result=no
12855 fi
12856 else
12857 result=$wxUSE_LISTCTRL
12858 fi
12859
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12861 $as_echo "$result" >&6; }
12862
12863
12864 enablestring=
12865 defaultval=$wxUSE_ALL_FEATURES
12866 if test -z "$defaultval"; then
12867 if test x"$enablestring" = xdisable; then
12868 defaultval=yes
12869 else
12870 defaultval=no
12871 fi
12872 fi
12873
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12875 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12876 # Check whether --enable-notebook was given.
12877 if test "${enable_notebook+set}" = set; then :
12878 enableval=$enable_notebook;
12879 if test "$enableval" = yes; then
12880 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12881 else
12882 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12883 fi
12884
12885 else
12886
12887 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12888
12889 fi
12890
12891
12892 eval "$wx_cv_use_notebook"
12893
12894 if test x"$enablestring" = xdisable; then
12895 if test $wxUSE_NOTEBOOK = no; then
12896 result=yes
12897 else
12898 result=no
12899 fi
12900 else
12901 result=$wxUSE_NOTEBOOK
12902 fi
12903
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12905 $as_echo "$result" >&6; }
12906
12907
12908 enablestring=
12909 defaultval=$wxUSE_ALL_FEATURES
12910 if test -z "$defaultval"; then
12911 if test x"$enablestring" = xdisable; then
12912 defaultval=yes
12913 else
12914 defaultval=no
12915 fi
12916 fi
12917
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12919 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12920 # Check whether --enable-notifmsg was given.
12921 if test "${enable_notifmsg+set}" = set; then :
12922 enableval=$enable_notifmsg;
12923 if test "$enableval" = yes; then
12924 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12925 else
12926 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12927 fi
12928
12929 else
12930
12931 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12932
12933 fi
12934
12935
12936 eval "$wx_cv_use_notifmsg"
12937
12938 if test x"$enablestring" = xdisable; then
12939 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12940 result=yes
12941 else
12942 result=no
12943 fi
12944 else
12945 result=$wxUSE_NOTIFICATION_MESSAGE
12946 fi
12947
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12949 $as_echo "$result" >&6; }
12950
12951
12952 enablestring=
12953 defaultval=$wxUSE_ALL_FEATURES
12954 if test -z "$defaultval"; then
12955 if test x"$enablestring" = xdisable; then
12956 defaultval=yes
12957 else
12958 defaultval=no
12959 fi
12960 fi
12961
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12963 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12964 # Check whether --enable-odcombobox was given.
12965 if test "${enable_odcombobox+set}" = set; then :
12966 enableval=$enable_odcombobox;
12967 if test "$enableval" = yes; then
12968 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12969 else
12970 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12971 fi
12972
12973 else
12974
12975 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12976
12977 fi
12978
12979
12980 eval "$wx_cv_use_odcombobox"
12981
12982 if test x"$enablestring" = xdisable; then
12983 if test $wxUSE_ODCOMBOBOX = no; then
12984 result=yes
12985 else
12986 result=no
12987 fi
12988 else
12989 result=$wxUSE_ODCOMBOBOX
12990 fi
12991
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12993 $as_echo "$result" >&6; }
12994
12995
12996 enablestring=
12997 defaultval=$wxUSE_ALL_FEATURES
12998 if test -z "$defaultval"; then
12999 if test x"$enablestring" = xdisable; then
13000 defaultval=yes
13001 else
13002 defaultval=no
13003 fi
13004 fi
13005
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
13007 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
13008 # Check whether --enable-popupwin was given.
13009 if test "${enable_popupwin+set}" = set; then :
13010 enableval=$enable_popupwin;
13011 if test "$enableval" = yes; then
13012 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13013 else
13014 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13015 fi
13016
13017 else
13018
13019 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13020
13021 fi
13022
13023
13024 eval "$wx_cv_use_popupwin"
13025
13026 if test x"$enablestring" = xdisable; then
13027 if test $wxUSE_POPUPWIN = no; then
13028 result=yes
13029 else
13030 result=no
13031 fi
13032 else
13033 result=$wxUSE_POPUPWIN
13034 fi
13035
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13037 $as_echo "$result" >&6; }
13038
13039
13040 enablestring=
13041 defaultval=$wxUSE_ALL_FEATURES
13042 if test -z "$defaultval"; then
13043 if test x"$enablestring" = xdisable; then
13044 defaultval=yes
13045 else
13046 defaultval=no
13047 fi
13048 fi
13049
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-prefseditor" >&5
13051 $as_echo_n "checking for --${enablestring:-enable}-prefseditor... " >&6; }
13052 # Check whether --enable-prefseditor was given.
13053 if test "${enable_prefseditor+set}" = set; then :
13054 enableval=$enable_prefseditor;
13055 if test "$enableval" = yes; then
13056 wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=yes'
13057 else
13058 wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=no'
13059 fi
13060
13061 else
13062
13063 wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=${'DEFAULT_wxUSE_PREFERENCES_EDITOR":-$defaultval}"
13064
13065 fi
13066
13067
13068 eval "$wx_cv_use_prefseditor"
13069
13070 if test x"$enablestring" = xdisable; then
13071 if test $wxUSE_PREFERENCES_EDITOR = no; then
13072 result=yes
13073 else
13074 result=no
13075 fi
13076 else
13077 result=$wxUSE_PREFERENCES_EDITOR
13078 fi
13079
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13081 $as_echo "$result" >&6; }
13082
13083
13084 enablestring=
13085 defaultval=$wxUSE_ALL_FEATURES
13086 if test -z "$defaultval"; then
13087 if test x"$enablestring" = xdisable; then
13088 defaultval=yes
13089 else
13090 defaultval=no
13091 fi
13092 fi
13093
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
13095 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
13096 # Check whether --enable-radiobox was given.
13097 if test "${enable_radiobox+set}" = set; then :
13098 enableval=$enable_radiobox;
13099 if test "$enableval" = yes; then
13100 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
13101 else
13102 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
13103 fi
13104
13105 else
13106
13107 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
13108
13109 fi
13110
13111
13112 eval "$wx_cv_use_radiobox"
13113
13114 if test x"$enablestring" = xdisable; then
13115 if test $wxUSE_RADIOBOX = no; then
13116 result=yes
13117 else
13118 result=no
13119 fi
13120 else
13121 result=$wxUSE_RADIOBOX
13122 fi
13123
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13125 $as_echo "$result" >&6; }
13126
13127
13128 enablestring=
13129 defaultval=$wxUSE_ALL_FEATURES
13130 if test -z "$defaultval"; then
13131 if test x"$enablestring" = xdisable; then
13132 defaultval=yes
13133 else
13134 defaultval=no
13135 fi
13136 fi
13137
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
13139 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
13140 # Check whether --enable-radiobtn was given.
13141 if test "${enable_radiobtn+set}" = set; then :
13142 enableval=$enable_radiobtn;
13143 if test "$enableval" = yes; then
13144 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
13145 else
13146 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
13147 fi
13148
13149 else
13150
13151 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
13152
13153 fi
13154
13155
13156 eval "$wx_cv_use_radiobtn"
13157
13158 if test x"$enablestring" = xdisable; then
13159 if test $wxUSE_RADIOBTN = no; then
13160 result=yes
13161 else
13162 result=no
13163 fi
13164 else
13165 result=$wxUSE_RADIOBTN
13166 fi
13167
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13169 $as_echo "$result" >&6; }
13170
13171
13172 enablestring=
13173 defaultval=$wxUSE_ALL_FEATURES
13174 if test -z "$defaultval"; then
13175 if test x"$enablestring" = xdisable; then
13176 defaultval=yes
13177 else
13178 defaultval=no
13179 fi
13180 fi
13181
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
13183 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
13184 # Check whether --enable-richmsgdlg was given.
13185 if test "${enable_richmsgdlg+set}" = set; then :
13186 enableval=$enable_richmsgdlg;
13187 if test "$enableval" = yes; then
13188 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
13189 else
13190 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
13191 fi
13192
13193 else
13194
13195 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
13196
13197 fi
13198
13199
13200 eval "$wx_cv_use_richmsgdlg"
13201
13202 if test x"$enablestring" = xdisable; then
13203 if test $wxUSE_RICHMSGDLG = no; then
13204 result=yes
13205 else
13206 result=no
13207 fi
13208 else
13209 result=$wxUSE_RICHMSGDLG
13210 fi
13211
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13213 $as_echo "$result" >&6; }
13214
13215
13216 enablestring=
13217 defaultval=$wxUSE_ALL_FEATURES
13218 if test -z "$defaultval"; then
13219 if test x"$enablestring" = xdisable; then
13220 defaultval=yes
13221 else
13222 defaultval=no
13223 fi
13224 fi
13225
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
13227 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
13228 # Check whether --enable-richtooltip was given.
13229 if test "${enable_richtooltip+set}" = set; then :
13230 enableval=$enable_richtooltip;
13231 if test "$enableval" = yes; then
13232 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
13233 else
13234 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
13235 fi
13236
13237 else
13238
13239 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13240
13241 fi
13242
13243
13244 eval "$wx_cv_use_richtooltip"
13245
13246 if test x"$enablestring" = xdisable; then
13247 if test $wxUSE_RICHTOOLTIP = no; then
13248 result=yes
13249 else
13250 result=no
13251 fi
13252 else
13253 result=$wxUSE_RICHTOOLTIP
13254 fi
13255
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13257 $as_echo "$result" >&6; }
13258
13259
13260 enablestring=
13261 defaultval=$wxUSE_ALL_FEATURES
13262 if test -z "$defaultval"; then
13263 if test x"$enablestring" = xdisable; then
13264 defaultval=yes
13265 else
13266 defaultval=no
13267 fi
13268 fi
13269
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13271 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13272 # Check whether --enable-rearrangectrl was given.
13273 if test "${enable_rearrangectrl+set}" = set; then :
13274 enableval=$enable_rearrangectrl;
13275 if test "$enableval" = yes; then
13276 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13277 else
13278 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13279 fi
13280
13281 else
13282
13283 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13284
13285 fi
13286
13287
13288 eval "$wx_cv_use_rearrangectrl"
13289
13290 if test x"$enablestring" = xdisable; then
13291 if test $wxUSE_REARRANGECTRL = no; then
13292 result=yes
13293 else
13294 result=no
13295 fi
13296 else
13297 result=$wxUSE_REARRANGECTRL
13298 fi
13299
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13301 $as_echo "$result" >&6; }
13302
13303
13304 enablestring=
13305 defaultval=$wxUSE_ALL_FEATURES
13306 if test -z "$defaultval"; then
13307 if test x"$enablestring" = xdisable; then
13308 defaultval=yes
13309 else
13310 defaultval=no
13311 fi
13312 fi
13313
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13315 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13316 # Check whether --enable-sash was given.
13317 if test "${enable_sash+set}" = set; then :
13318 enableval=$enable_sash;
13319 if test "$enableval" = yes; then
13320 wx_cv_use_sash='wxUSE_SASH=yes'
13321 else
13322 wx_cv_use_sash='wxUSE_SASH=no'
13323 fi
13324
13325 else
13326
13327 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13328
13329 fi
13330
13331
13332 eval "$wx_cv_use_sash"
13333
13334 if test x"$enablestring" = xdisable; then
13335 if test $wxUSE_SASH = no; then
13336 result=yes
13337 else
13338 result=no
13339 fi
13340 else
13341 result=$wxUSE_SASH
13342 fi
13343
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13345 $as_echo "$result" >&6; }
13346
13347
13348 enablestring=
13349 defaultval=$wxUSE_ALL_FEATURES
13350 if test -z "$defaultval"; then
13351 if test x"$enablestring" = xdisable; then
13352 defaultval=yes
13353 else
13354 defaultval=no
13355 fi
13356 fi
13357
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13359 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13360 # Check whether --enable-scrollbar was given.
13361 if test "${enable_scrollbar+set}" = set; then :
13362 enableval=$enable_scrollbar;
13363 if test "$enableval" = yes; then
13364 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13365 else
13366 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13367 fi
13368
13369 else
13370
13371 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13372
13373 fi
13374
13375
13376 eval "$wx_cv_use_scrollbar"
13377
13378 if test x"$enablestring" = xdisable; then
13379 if test $wxUSE_SCROLLBAR = no; then
13380 result=yes
13381 else
13382 result=no
13383 fi
13384 else
13385 result=$wxUSE_SCROLLBAR
13386 fi
13387
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13389 $as_echo "$result" >&6; }
13390
13391
13392 enablestring=
13393 defaultval=$wxUSE_ALL_FEATURES
13394 if test -z "$defaultval"; then
13395 if test x"$enablestring" = xdisable; then
13396 defaultval=yes
13397 else
13398 defaultval=no
13399 fi
13400 fi
13401
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13403 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13404 # Check whether --enable-searchctrl was given.
13405 if test "${enable_searchctrl+set}" = set; then :
13406 enableval=$enable_searchctrl;
13407 if test "$enableval" = yes; then
13408 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13409 else
13410 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13411 fi
13412
13413 else
13414
13415 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13416
13417 fi
13418
13419
13420 eval "$wx_cv_use_searchctrl"
13421
13422 if test x"$enablestring" = xdisable; then
13423 if test $wxUSE_SEARCHCTRL = no; then
13424 result=yes
13425 else
13426 result=no
13427 fi
13428 else
13429 result=$wxUSE_SEARCHCTRL
13430 fi
13431
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13433 $as_echo "$result" >&6; }
13434
13435
13436 enablestring=
13437 defaultval=$wxUSE_ALL_FEATURES
13438 if test -z "$defaultval"; then
13439 if test x"$enablestring" = xdisable; then
13440 defaultval=yes
13441 else
13442 defaultval=no
13443 fi
13444 fi
13445
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13447 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13448 # Check whether --enable-slider was given.
13449 if test "${enable_slider+set}" = set; then :
13450 enableval=$enable_slider;
13451 if test "$enableval" = yes; then
13452 wx_cv_use_slider='wxUSE_SLIDER=yes'
13453 else
13454 wx_cv_use_slider='wxUSE_SLIDER=no'
13455 fi
13456
13457 else
13458
13459 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13460
13461 fi
13462
13463
13464 eval "$wx_cv_use_slider"
13465
13466 if test x"$enablestring" = xdisable; then
13467 if test $wxUSE_SLIDER = no; then
13468 result=yes
13469 else
13470 result=no
13471 fi
13472 else
13473 result=$wxUSE_SLIDER
13474 fi
13475
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13477 $as_echo "$result" >&6; }
13478
13479
13480 enablestring=
13481 defaultval=$wxUSE_ALL_FEATURES
13482 if test -z "$defaultval"; then
13483 if test x"$enablestring" = xdisable; then
13484 defaultval=yes
13485 else
13486 defaultval=no
13487 fi
13488 fi
13489
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13491 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13492 # Check whether --enable-spinbtn was given.
13493 if test "${enable_spinbtn+set}" = set; then :
13494 enableval=$enable_spinbtn;
13495 if test "$enableval" = yes; then
13496 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13497 else
13498 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13499 fi
13500
13501 else
13502
13503 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13504
13505 fi
13506
13507
13508 eval "$wx_cv_use_spinbtn"
13509
13510 if test x"$enablestring" = xdisable; then
13511 if test $wxUSE_SPINBTN = no; then
13512 result=yes
13513 else
13514 result=no
13515 fi
13516 else
13517 result=$wxUSE_SPINBTN
13518 fi
13519
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13521 $as_echo "$result" >&6; }
13522
13523
13524 enablestring=
13525 defaultval=$wxUSE_ALL_FEATURES
13526 if test -z "$defaultval"; then
13527 if test x"$enablestring" = xdisable; then
13528 defaultval=yes
13529 else
13530 defaultval=no
13531 fi
13532 fi
13533
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13535 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13536 # Check whether --enable-spinctrl was given.
13537 if test "${enable_spinctrl+set}" = set; then :
13538 enableval=$enable_spinctrl;
13539 if test "$enableval" = yes; then
13540 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13541 else
13542 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13543 fi
13544
13545 else
13546
13547 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13548
13549 fi
13550
13551
13552 eval "$wx_cv_use_spinctrl"
13553
13554 if test x"$enablestring" = xdisable; then
13555 if test $wxUSE_SPINCTRL = no; then
13556 result=yes
13557 else
13558 result=no
13559 fi
13560 else
13561 result=$wxUSE_SPINCTRL
13562 fi
13563
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13565 $as_echo "$result" >&6; }
13566
13567
13568 enablestring=
13569 defaultval=$wxUSE_ALL_FEATURES
13570 if test -z "$defaultval"; then
13571 if test x"$enablestring" = xdisable; then
13572 defaultval=yes
13573 else
13574 defaultval=no
13575 fi
13576 fi
13577
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13579 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13580 # Check whether --enable-splitter was given.
13581 if test "${enable_splitter+set}" = set; then :
13582 enableval=$enable_splitter;
13583 if test "$enableval" = yes; then
13584 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13585 else
13586 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13587 fi
13588
13589 else
13590
13591 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13592
13593 fi
13594
13595
13596 eval "$wx_cv_use_splitter"
13597
13598 if test x"$enablestring" = xdisable; then
13599 if test $wxUSE_SPLITTER = no; then
13600 result=yes
13601 else
13602 result=no
13603 fi
13604 else
13605 result=$wxUSE_SPLITTER
13606 fi
13607
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13609 $as_echo "$result" >&6; }
13610
13611
13612 enablestring=
13613 defaultval=$wxUSE_ALL_FEATURES
13614 if test -z "$defaultval"; then
13615 if test x"$enablestring" = xdisable; then
13616 defaultval=yes
13617 else
13618 defaultval=no
13619 fi
13620 fi
13621
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13623 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13624 # Check whether --enable-statbmp was given.
13625 if test "${enable_statbmp+set}" = set; then :
13626 enableval=$enable_statbmp;
13627 if test "$enableval" = yes; then
13628 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13629 else
13630 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13631 fi
13632
13633 else
13634
13635 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13636
13637 fi
13638
13639
13640 eval "$wx_cv_use_statbmp"
13641
13642 if test x"$enablestring" = xdisable; then
13643 if test $wxUSE_STATBMP = no; then
13644 result=yes
13645 else
13646 result=no
13647 fi
13648 else
13649 result=$wxUSE_STATBMP
13650 fi
13651
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13653 $as_echo "$result" >&6; }
13654
13655
13656 enablestring=
13657 defaultval=$wxUSE_ALL_FEATURES
13658 if test -z "$defaultval"; then
13659 if test x"$enablestring" = xdisable; then
13660 defaultval=yes
13661 else
13662 defaultval=no
13663 fi
13664 fi
13665
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13667 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13668 # Check whether --enable-statbox was given.
13669 if test "${enable_statbox+set}" = set; then :
13670 enableval=$enable_statbox;
13671 if test "$enableval" = yes; then
13672 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13673 else
13674 wx_cv_use_statbox='wxUSE_STATBOX=no'
13675 fi
13676
13677 else
13678
13679 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13680
13681 fi
13682
13683
13684 eval "$wx_cv_use_statbox"
13685
13686 if test x"$enablestring" = xdisable; then
13687 if test $wxUSE_STATBOX = no; then
13688 result=yes
13689 else
13690 result=no
13691 fi
13692 else
13693 result=$wxUSE_STATBOX
13694 fi
13695
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13697 $as_echo "$result" >&6; }
13698
13699
13700 enablestring=
13701 defaultval=$wxUSE_ALL_FEATURES
13702 if test -z "$defaultval"; then
13703 if test x"$enablestring" = xdisable; then
13704 defaultval=yes
13705 else
13706 defaultval=no
13707 fi
13708 fi
13709
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13711 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13712 # Check whether --enable-statline was given.
13713 if test "${enable_statline+set}" = set; then :
13714 enableval=$enable_statline;
13715 if test "$enableval" = yes; then
13716 wx_cv_use_statline='wxUSE_STATLINE=yes'
13717 else
13718 wx_cv_use_statline='wxUSE_STATLINE=no'
13719 fi
13720
13721 else
13722
13723 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13724
13725 fi
13726
13727
13728 eval "$wx_cv_use_statline"
13729
13730 if test x"$enablestring" = xdisable; then
13731 if test $wxUSE_STATLINE = no; then
13732 result=yes
13733 else
13734 result=no
13735 fi
13736 else
13737 result=$wxUSE_STATLINE
13738 fi
13739
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13741 $as_echo "$result" >&6; }
13742
13743
13744 enablestring=
13745 defaultval=$wxUSE_ALL_FEATURES
13746 if test -z "$defaultval"; then
13747 if test x"$enablestring" = xdisable; then
13748 defaultval=yes
13749 else
13750 defaultval=no
13751 fi
13752 fi
13753
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13755 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13756 # Check whether --enable-stattext was given.
13757 if test "${enable_stattext+set}" = set; then :
13758 enableval=$enable_stattext;
13759 if test "$enableval" = yes; then
13760 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13761 else
13762 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13763 fi
13764
13765 else
13766
13767 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13768
13769 fi
13770
13771
13772 eval "$wx_cv_use_stattext"
13773
13774 if test x"$enablestring" = xdisable; then
13775 if test $wxUSE_STATTEXT = no; then
13776 result=yes
13777 else
13778 result=no
13779 fi
13780 else
13781 result=$wxUSE_STATTEXT
13782 fi
13783
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13785 $as_echo "$result" >&6; }
13786
13787
13788 enablestring=
13789 defaultval=$wxUSE_ALL_FEATURES
13790 if test -z "$defaultval"; then
13791 if test x"$enablestring" = xdisable; then
13792 defaultval=yes
13793 else
13794 defaultval=no
13795 fi
13796 fi
13797
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13799 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13800 # Check whether --enable-statusbar was given.
13801 if test "${enable_statusbar+set}" = set; then :
13802 enableval=$enable_statusbar;
13803 if test "$enableval" = yes; then
13804 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13805 else
13806 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13807 fi
13808
13809 else
13810
13811 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13812
13813 fi
13814
13815
13816 eval "$wx_cv_use_statusbar"
13817
13818 if test x"$enablestring" = xdisable; then
13819 if test $wxUSE_STATUSBAR = no; then
13820 result=yes
13821 else
13822 result=no
13823 fi
13824 else
13825 result=$wxUSE_STATUSBAR
13826 fi
13827
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13829 $as_echo "$result" >&6; }
13830
13831
13832 enablestring=
13833 defaultval=$wxUSE_ALL_FEATURES
13834 if test -z "$defaultval"; then
13835 if test x"$enablestring" = xdisable; then
13836 defaultval=yes
13837 else
13838 defaultval=no
13839 fi
13840 fi
13841
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13843 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13844 # Check whether --enable-taskbaricon was given.
13845 if test "${enable_taskbaricon+set}" = set; then :
13846 enableval=$enable_taskbaricon;
13847 if test "$enableval" = yes; then
13848 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13849 else
13850 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13851 fi
13852
13853 else
13854
13855 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13856
13857 fi
13858
13859
13860 eval "$wx_cv_use_taskbaricon"
13861
13862 if test x"$enablestring" = xdisable; then
13863 if test $wxUSE_TASKBARICON = no; then
13864 result=yes
13865 else
13866 result=no
13867 fi
13868 else
13869 result=$wxUSE_TASKBARICON
13870 fi
13871
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13873 $as_echo "$result" >&6; }
13874
13875
13876 enablestring=
13877 defaultval=$wxUSE_ALL_FEATURES
13878 if test -z "$defaultval"; then
13879 if test x"$enablestring" = xdisable; then
13880 defaultval=yes
13881 else
13882 defaultval=no
13883 fi
13884 fi
13885
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13887 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13888 # Check whether --enable-tbarnative was given.
13889 if test "${enable_tbarnative+set}" = set; then :
13890 enableval=$enable_tbarnative;
13891 if test "$enableval" = yes; then
13892 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13893 else
13894 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13895 fi
13896
13897 else
13898
13899 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13900
13901 fi
13902
13903
13904 eval "$wx_cv_use_tbarnative"
13905
13906 if test x"$enablestring" = xdisable; then
13907 if test $wxUSE_TOOLBAR_NATIVE = no; then
13908 result=yes
13909 else
13910 result=no
13911 fi
13912 else
13913 result=$wxUSE_TOOLBAR_NATIVE
13914 fi
13915
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13917 $as_echo "$result" >&6; }
13918
13919
13920 enablestring=
13921 defaultval=$wxUSE_ALL_FEATURES
13922 if test -z "$defaultval"; then
13923 if test x"$enablestring" = xdisable; then
13924 defaultval=yes
13925 else
13926 defaultval=no
13927 fi
13928 fi
13929
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13931 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13932 # Check whether --enable-textctrl was given.
13933 if test "${enable_textctrl+set}" = set; then :
13934 enableval=$enable_textctrl;
13935 if test "$enableval" = yes; then
13936 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13937 else
13938 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13939 fi
13940
13941 else
13942
13943 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13944
13945 fi
13946
13947
13948 eval "$wx_cv_use_textctrl"
13949
13950 if test x"$enablestring" = xdisable; then
13951 if test $wxUSE_TEXTCTRL = no; then
13952 result=yes
13953 else
13954 result=no
13955 fi
13956 else
13957 result=$wxUSE_TEXTCTRL
13958 fi
13959
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13961 $as_echo "$result" >&6; }
13962
13963
13964 enablestring=
13965 defaultval=$wxUSE_ALL_FEATURES
13966 if test -z "$defaultval"; then
13967 if test x"$enablestring" = xdisable; then
13968 defaultval=yes
13969 else
13970 defaultval=no
13971 fi
13972 fi
13973
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13975 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13976 # Check whether --enable-datepick was given.
13977 if test "${enable_datepick+set}" = set; then :
13978 enableval=$enable_datepick;
13979 if test "$enableval" = yes; then
13980 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13981 else
13982 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13983 fi
13984
13985 else
13986
13987 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13988
13989 fi
13990
13991
13992 eval "$wx_cv_use_datepick"
13993
13994 if test x"$enablestring" = xdisable; then
13995 if test $wxUSE_TIMEPICKCTRL = no; then
13996 result=yes
13997 else
13998 result=no
13999 fi
14000 else
14001 result=$wxUSE_TIMEPICKCTRL
14002 fi
14003
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14005 $as_echo "$result" >&6; }
14006
14007
14008 enablestring=
14009 defaultval=$wxUSE_ALL_FEATURES
14010 if test -z "$defaultval"; then
14011 if test x"$enablestring" = xdisable; then
14012 defaultval=yes
14013 else
14014 defaultval=no
14015 fi
14016 fi
14017
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
14019 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
14020 # Check whether --enable-tipwindow was given.
14021 if test "${enable_tipwindow+set}" = set; then :
14022 enableval=$enable_tipwindow;
14023 if test "$enableval" = yes; then
14024 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14025 else
14026 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14027 fi
14028
14029 else
14030
14031 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14032
14033 fi
14034
14035
14036 eval "$wx_cv_use_tipwindow"
14037
14038 if test x"$enablestring" = xdisable; then
14039 if test $wxUSE_TIPWINDOW = no; then
14040 result=yes
14041 else
14042 result=no
14043 fi
14044 else
14045 result=$wxUSE_TIPWINDOW
14046 fi
14047
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14049 $as_echo "$result" >&6; }
14050
14051
14052 enablestring=
14053 defaultval=$wxUSE_ALL_FEATURES
14054 if test -z "$defaultval"; then
14055 if test x"$enablestring" = xdisable; then
14056 defaultval=yes
14057 else
14058 defaultval=no
14059 fi
14060 fi
14061
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
14063 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
14064 # Check whether --enable-togglebtn was given.
14065 if test "${enable_togglebtn+set}" = set; then :
14066 enableval=$enable_togglebtn;
14067 if test "$enableval" = yes; then
14068 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
14069 else
14070 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
14071 fi
14072
14073 else
14074
14075 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
14076
14077 fi
14078
14079
14080 eval "$wx_cv_use_togglebtn"
14081
14082 if test x"$enablestring" = xdisable; then
14083 if test $wxUSE_TOGGLEBTN = no; then
14084 result=yes
14085 else
14086 result=no
14087 fi
14088 else
14089 result=$wxUSE_TOGGLEBTN
14090 fi
14091
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14093 $as_echo "$result" >&6; }
14094
14095
14096 enablestring=
14097 defaultval=$wxUSE_ALL_FEATURES
14098 if test -z "$defaultval"; then
14099 if test x"$enablestring" = xdisable; then
14100 defaultval=yes
14101 else
14102 defaultval=no
14103 fi
14104 fi
14105
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
14107 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
14108 # Check whether --enable-toolbar was given.
14109 if test "${enable_toolbar+set}" = set; then :
14110 enableval=$enable_toolbar;
14111 if test "$enableval" = yes; then
14112 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
14113 else
14114 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
14115 fi
14116
14117 else
14118
14119 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
14120
14121 fi
14122
14123
14124 eval "$wx_cv_use_toolbar"
14125
14126 if test x"$enablestring" = xdisable; then
14127 if test $wxUSE_TOOLBAR = no; then
14128 result=yes
14129 else
14130 result=no
14131 fi
14132 else
14133 result=$wxUSE_TOOLBAR
14134 fi
14135
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14137 $as_echo "$result" >&6; }
14138
14139
14140 enablestring=
14141 defaultval=$wxUSE_ALL_FEATURES
14142 if test -z "$defaultval"; then
14143 if test x"$enablestring" = xdisable; then
14144 defaultval=yes
14145 else
14146 defaultval=no
14147 fi
14148 fi
14149
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
14151 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
14152 # Check whether --enable-toolbook was given.
14153 if test "${enable_toolbook+set}" = set; then :
14154 enableval=$enable_toolbook;
14155 if test "$enableval" = yes; then
14156 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
14157 else
14158 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
14159 fi
14160
14161 else
14162
14163 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14164
14165 fi
14166
14167
14168 eval "$wx_cv_use_toolbook"
14169
14170 if test x"$enablestring" = xdisable; then
14171 if test $wxUSE_TOOLBOOK = no; then
14172 result=yes
14173 else
14174 result=no
14175 fi
14176 else
14177 result=$wxUSE_TOOLBOOK
14178 fi
14179
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14181 $as_echo "$result" >&6; }
14182
14183
14184 enablestring=
14185 defaultval=$wxUSE_ALL_FEATURES
14186 if test -z "$defaultval"; then
14187 if test x"$enablestring" = xdisable; then
14188 defaultval=yes
14189 else
14190 defaultval=no
14191 fi
14192 fi
14193
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
14195 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
14196 # Check whether --enable-treebook was given.
14197 if test "${enable_treebook+set}" = set; then :
14198 enableval=$enable_treebook;
14199 if test "$enableval" = yes; then
14200 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
14201 else
14202 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
14203 fi
14204
14205 else
14206
14207 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14208
14209 fi
14210
14211
14212 eval "$wx_cv_use_treebook"
14213
14214 if test x"$enablestring" = xdisable; then
14215 if test $wxUSE_TREEBOOK = no; then
14216 result=yes
14217 else
14218 result=no
14219 fi
14220 else
14221 result=$wxUSE_TREEBOOK
14222 fi
14223
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14225 $as_echo "$result" >&6; }
14226
14227
14228 enablestring=
14229 defaultval=$wxUSE_ALL_FEATURES
14230 if test -z "$defaultval"; then
14231 if test x"$enablestring" = xdisable; then
14232 defaultval=yes
14233 else
14234 defaultval=no
14235 fi
14236 fi
14237
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14239 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14240 # Check whether --enable-treectrl was given.
14241 if test "${enable_treectrl+set}" = set; then :
14242 enableval=$enable_treectrl;
14243 if test "$enableval" = yes; then
14244 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14245 else
14246 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14247 fi
14248
14249 else
14250
14251 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14252
14253 fi
14254
14255
14256 eval "$wx_cv_use_treectrl"
14257
14258 if test x"$enablestring" = xdisable; then
14259 if test $wxUSE_TREECTRL = no; then
14260 result=yes
14261 else
14262 result=no
14263 fi
14264 else
14265 result=$wxUSE_TREECTRL
14266 fi
14267
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14269 $as_echo "$result" >&6; }
14270
14271
14272 enablestring=
14273 defaultval=$wxUSE_ALL_FEATURES
14274 if test -z "$defaultval"; then
14275 if test x"$enablestring" = xdisable; then
14276 defaultval=yes
14277 else
14278 defaultval=no
14279 fi
14280 fi
14281
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14283 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14284 # Check whether --enable-treelist was given.
14285 if test "${enable_treelist+set}" = set; then :
14286 enableval=$enable_treelist;
14287 if test "$enableval" = yes; then
14288 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14289 else
14290 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14291 fi
14292
14293 else
14294
14295 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14296
14297 fi
14298
14299
14300 eval "$wx_cv_use_treelist"
14301
14302 if test x"$enablestring" = xdisable; then
14303 if test $wxUSE_TREELISTCTRL = no; then
14304 result=yes
14305 else
14306 result=no
14307 fi
14308 else
14309 result=$wxUSE_TREELISTCTRL
14310 fi
14311
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14313 $as_echo "$result" >&6; }
14314
14315
14316
14317
14318 enablestring=
14319 defaultval=$wxUSE_ALL_FEATURES
14320 if test -z "$defaultval"; then
14321 if test x"$enablestring" = xdisable; then
14322 defaultval=yes
14323 else
14324 defaultval=no
14325 fi
14326 fi
14327
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14329 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14330 # Check whether --enable-commondlg was given.
14331 if test "${enable_commondlg+set}" = set; then :
14332 enableval=$enable_commondlg;
14333 if test "$enableval" = yes; then
14334 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14335 else
14336 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14337 fi
14338
14339 else
14340
14341 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14342
14343 fi
14344
14345
14346 eval "$wx_cv_use_commondlg"
14347
14348 if test x"$enablestring" = xdisable; then
14349 if test $wxUSE_COMMONDLGS = no; then
14350 result=yes
14351 else
14352 result=no
14353 fi
14354 else
14355 result=$wxUSE_COMMONDLGS
14356 fi
14357
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14359 $as_echo "$result" >&6; }
14360
14361
14362 enablestring=
14363 defaultval=$wxUSE_ALL_FEATURES
14364 if test -z "$defaultval"; then
14365 if test x"$enablestring" = xdisable; then
14366 defaultval=yes
14367 else
14368 defaultval=no
14369 fi
14370 fi
14371
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14373 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14374 # Check whether --enable-aboutdlg was given.
14375 if test "${enable_aboutdlg+set}" = set; then :
14376 enableval=$enable_aboutdlg;
14377 if test "$enableval" = yes; then
14378 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14379 else
14380 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14381 fi
14382
14383 else
14384
14385 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14386
14387 fi
14388
14389
14390 eval "$wx_cv_use_aboutdlg"
14391
14392 if test x"$enablestring" = xdisable; then
14393 if test $wxUSE_ABOUTDLG = no; then
14394 result=yes
14395 else
14396 result=no
14397 fi
14398 else
14399 result=$wxUSE_ABOUTDLG
14400 fi
14401
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14403 $as_echo "$result" >&6; }
14404
14405
14406 enablestring=
14407 defaultval=$wxUSE_ALL_FEATURES
14408 if test -z "$defaultval"; then
14409 if test x"$enablestring" = xdisable; then
14410 defaultval=yes
14411 else
14412 defaultval=no
14413 fi
14414 fi
14415
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14417 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14418 # Check whether --enable-choicedlg was given.
14419 if test "${enable_choicedlg+set}" = set; then :
14420 enableval=$enable_choicedlg;
14421 if test "$enableval" = yes; then
14422 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14423 else
14424 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14425 fi
14426
14427 else
14428
14429 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14430
14431 fi
14432
14433
14434 eval "$wx_cv_use_choicedlg"
14435
14436 if test x"$enablestring" = xdisable; then
14437 if test $wxUSE_CHOICEDLG = no; then
14438 result=yes
14439 else
14440 result=no
14441 fi
14442 else
14443 result=$wxUSE_CHOICEDLG
14444 fi
14445
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14447 $as_echo "$result" >&6; }
14448
14449
14450 enablestring=
14451 defaultval=$wxUSE_ALL_FEATURES
14452 if test -z "$defaultval"; then
14453 if test x"$enablestring" = xdisable; then
14454 defaultval=yes
14455 else
14456 defaultval=no
14457 fi
14458 fi
14459
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14461 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14462 # Check whether --enable-coldlg was given.
14463 if test "${enable_coldlg+set}" = set; then :
14464 enableval=$enable_coldlg;
14465 if test "$enableval" = yes; then
14466 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14467 else
14468 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14469 fi
14470
14471 else
14472
14473 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14474
14475 fi
14476
14477
14478 eval "$wx_cv_use_coldlg"
14479
14480 if test x"$enablestring" = xdisable; then
14481 if test $wxUSE_COLOURDLG = no; then
14482 result=yes
14483 else
14484 result=no
14485 fi
14486 else
14487 result=$wxUSE_COLOURDLG
14488 fi
14489
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14491 $as_echo "$result" >&6; }
14492
14493
14494 enablestring=
14495 defaultval=$wxUSE_ALL_FEATURES
14496 if test -z "$defaultval"; then
14497 if test x"$enablestring" = xdisable; then
14498 defaultval=yes
14499 else
14500 defaultval=no
14501 fi
14502 fi
14503
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14505 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14506 # Check whether --enable-filedlg was given.
14507 if test "${enable_filedlg+set}" = set; then :
14508 enableval=$enable_filedlg;
14509 if test "$enableval" = yes; then
14510 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14511 else
14512 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14513 fi
14514
14515 else
14516
14517 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14518
14519 fi
14520
14521
14522 eval "$wx_cv_use_filedlg"
14523
14524 if test x"$enablestring" = xdisable; then
14525 if test $wxUSE_FILEDLG = no; then
14526 result=yes
14527 else
14528 result=no
14529 fi
14530 else
14531 result=$wxUSE_FILEDLG
14532 fi
14533
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14535 $as_echo "$result" >&6; }
14536
14537
14538 enablestring=
14539 defaultval=$wxUSE_ALL_FEATURES
14540 if test -z "$defaultval"; then
14541 if test x"$enablestring" = xdisable; then
14542 defaultval=yes
14543 else
14544 defaultval=no
14545 fi
14546 fi
14547
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14549 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14550 # Check whether --enable-finddlg was given.
14551 if test "${enable_finddlg+set}" = set; then :
14552 enableval=$enable_finddlg;
14553 if test "$enableval" = yes; then
14554 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14555 else
14556 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14557 fi
14558
14559 else
14560
14561 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14562
14563 fi
14564
14565
14566 eval "$wx_cv_use_finddlg"
14567
14568 if test x"$enablestring" = xdisable; then
14569 if test $wxUSE_FINDREPLDLG = no; then
14570 result=yes
14571 else
14572 result=no
14573 fi
14574 else
14575 result=$wxUSE_FINDREPLDLG
14576 fi
14577
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14579 $as_echo "$result" >&6; }
14580
14581
14582 enablestring=
14583 defaultval=$wxUSE_ALL_FEATURES
14584 if test -z "$defaultval"; then
14585 if test x"$enablestring" = xdisable; then
14586 defaultval=yes
14587 else
14588 defaultval=no
14589 fi
14590 fi
14591
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14593 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14594 # Check whether --enable-fontdlg was given.
14595 if test "${enable_fontdlg+set}" = set; then :
14596 enableval=$enable_fontdlg;
14597 if test "$enableval" = yes; then
14598 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14599 else
14600 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14601 fi
14602
14603 else
14604
14605 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14606
14607 fi
14608
14609
14610 eval "$wx_cv_use_fontdlg"
14611
14612 if test x"$enablestring" = xdisable; then
14613 if test $wxUSE_FONTDLG = no; then
14614 result=yes
14615 else
14616 result=no
14617 fi
14618 else
14619 result=$wxUSE_FONTDLG
14620 fi
14621
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14623 $as_echo "$result" >&6; }
14624
14625
14626 enablestring=
14627 defaultval=$wxUSE_ALL_FEATURES
14628 if test -z "$defaultval"; then
14629 if test x"$enablestring" = xdisable; then
14630 defaultval=yes
14631 else
14632 defaultval=no
14633 fi
14634 fi
14635
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14637 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14638 # Check whether --enable-dirdlg was given.
14639 if test "${enable_dirdlg+set}" = set; then :
14640 enableval=$enable_dirdlg;
14641 if test "$enableval" = yes; then
14642 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14643 else
14644 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14645 fi
14646
14647 else
14648
14649 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14650
14651 fi
14652
14653
14654 eval "$wx_cv_use_dirdlg"
14655
14656 if test x"$enablestring" = xdisable; then
14657 if test $wxUSE_DIRDLG = no; then
14658 result=yes
14659 else
14660 result=no
14661 fi
14662 else
14663 result=$wxUSE_DIRDLG
14664 fi
14665
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14667 $as_echo "$result" >&6; }
14668
14669
14670 enablestring=
14671 defaultval=$wxUSE_ALL_FEATURES
14672 if test -z "$defaultval"; then
14673 if test x"$enablestring" = xdisable; then
14674 defaultval=yes
14675 else
14676 defaultval=no
14677 fi
14678 fi
14679
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14681 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14682 # Check whether --enable-msgdlg was given.
14683 if test "${enable_msgdlg+set}" = set; then :
14684 enableval=$enable_msgdlg;
14685 if test "$enableval" = yes; then
14686 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14687 else
14688 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14689 fi
14690
14691 else
14692
14693 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14694
14695 fi
14696
14697
14698 eval "$wx_cv_use_msgdlg"
14699
14700 if test x"$enablestring" = xdisable; then
14701 if test $wxUSE_MSGDLG = no; then
14702 result=yes
14703 else
14704 result=no
14705 fi
14706 else
14707 result=$wxUSE_MSGDLG
14708 fi
14709
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14711 $as_echo "$result" >&6; }
14712
14713
14714 enablestring=
14715 defaultval=$wxUSE_ALL_FEATURES
14716 if test -z "$defaultval"; then
14717 if test x"$enablestring" = xdisable; then
14718 defaultval=yes
14719 else
14720 defaultval=no
14721 fi
14722 fi
14723
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14725 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14726 # Check whether --enable-numberdlg was given.
14727 if test "${enable_numberdlg+set}" = set; then :
14728 enableval=$enable_numberdlg;
14729 if test "$enableval" = yes; then
14730 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14731 else
14732 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14733 fi
14734
14735 else
14736
14737 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14738
14739 fi
14740
14741
14742 eval "$wx_cv_use_numberdlg"
14743
14744 if test x"$enablestring" = xdisable; then
14745 if test $wxUSE_NUMBERDLG = no; then
14746 result=yes
14747 else
14748 result=no
14749 fi
14750 else
14751 result=$wxUSE_NUMBERDLG
14752 fi
14753
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14755 $as_echo "$result" >&6; }
14756
14757
14758 enablestring=
14759 defaultval=$wxUSE_ALL_FEATURES
14760 if test -z "$defaultval"; then
14761 if test x"$enablestring" = xdisable; then
14762 defaultval=yes
14763 else
14764 defaultval=no
14765 fi
14766 fi
14767
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14769 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14770 # Check whether --enable-splash was given.
14771 if test "${enable_splash+set}" = set; then :
14772 enableval=$enable_splash;
14773 if test "$enableval" = yes; then
14774 wx_cv_use_splash='wxUSE_SPLASH=yes'
14775 else
14776 wx_cv_use_splash='wxUSE_SPLASH=no'
14777 fi
14778
14779 else
14780
14781 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14782
14783 fi
14784
14785
14786 eval "$wx_cv_use_splash"
14787
14788 if test x"$enablestring" = xdisable; then
14789 if test $wxUSE_SPLASH = no; then
14790 result=yes
14791 else
14792 result=no
14793 fi
14794 else
14795 result=$wxUSE_SPLASH
14796 fi
14797
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14799 $as_echo "$result" >&6; }
14800
14801
14802 enablestring=
14803 defaultval=$wxUSE_ALL_FEATURES
14804 if test -z "$defaultval"; then
14805 if test x"$enablestring" = xdisable; then
14806 defaultval=yes
14807 else
14808 defaultval=no
14809 fi
14810 fi
14811
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14813 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14814 # Check whether --enable-textdlg was given.
14815 if test "${enable_textdlg+set}" = set; then :
14816 enableval=$enable_textdlg;
14817 if test "$enableval" = yes; then
14818 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14819 else
14820 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14821 fi
14822
14823 else
14824
14825 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14826
14827 fi
14828
14829
14830 eval "$wx_cv_use_textdlg"
14831
14832 if test x"$enablestring" = xdisable; then
14833 if test $wxUSE_TEXTDLG = no; then
14834 result=yes
14835 else
14836 result=no
14837 fi
14838 else
14839 result=$wxUSE_TEXTDLG
14840 fi
14841
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14843 $as_echo "$result" >&6; }
14844
14845
14846 enablestring=
14847 defaultval=$wxUSE_ALL_FEATURES
14848 if test -z "$defaultval"; then
14849 if test x"$enablestring" = xdisable; then
14850 defaultval=yes
14851 else
14852 defaultval=no
14853 fi
14854 fi
14855
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14857 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14858 # Check whether --enable-tipdlg was given.
14859 if test "${enable_tipdlg+set}" = set; then :
14860 enableval=$enable_tipdlg;
14861 if test "$enableval" = yes; then
14862 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14863 else
14864 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14865 fi
14866
14867 else
14868
14869 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14870
14871 fi
14872
14873
14874 eval "$wx_cv_use_tipdlg"
14875
14876 if test x"$enablestring" = xdisable; then
14877 if test $wxUSE_STARTUP_TIPS = no; then
14878 result=yes
14879 else
14880 result=no
14881 fi
14882 else
14883 result=$wxUSE_STARTUP_TIPS
14884 fi
14885
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14887 $as_echo "$result" >&6; }
14888
14889
14890 enablestring=
14891 defaultval=$wxUSE_ALL_FEATURES
14892 if test -z "$defaultval"; then
14893 if test x"$enablestring" = xdisable; then
14894 defaultval=yes
14895 else
14896 defaultval=no
14897 fi
14898 fi
14899
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14901 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14902 # Check whether --enable-progressdlg was given.
14903 if test "${enable_progressdlg+set}" = set; then :
14904 enableval=$enable_progressdlg;
14905 if test "$enableval" = yes; then
14906 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14907 else
14908 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14909 fi
14910
14911 else
14912
14913 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14914
14915 fi
14916
14917
14918 eval "$wx_cv_use_progressdlg"
14919
14920 if test x"$enablestring" = xdisable; then
14921 if test $wxUSE_PROGRESSDLG = no; then
14922 result=yes
14923 else
14924 result=no
14925 fi
14926 else
14927 result=$wxUSE_PROGRESSDLG
14928 fi
14929
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14931 $as_echo "$result" >&6; }
14932
14933
14934 enablestring=
14935 defaultval=$wxUSE_ALL_FEATURES
14936 if test -z "$defaultval"; then
14937 if test x"$enablestring" = xdisable; then
14938 defaultval=yes
14939 else
14940 defaultval=no
14941 fi
14942 fi
14943
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14945 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14946 # Check whether --enable-wizarddlg was given.
14947 if test "${enable_wizarddlg+set}" = set; then :
14948 enableval=$enable_wizarddlg;
14949 if test "$enableval" = yes; then
14950 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14951 else
14952 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14953 fi
14954
14955 else
14956
14957 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14958
14959 fi
14960
14961
14962 eval "$wx_cv_use_wizarddlg"
14963
14964 if test x"$enablestring" = xdisable; then
14965 if test $wxUSE_WIZARDDLG = no; then
14966 result=yes
14967 else
14968 result=no
14969 fi
14970 else
14971 result=$wxUSE_WIZARDDLG
14972 fi
14973
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14975 $as_echo "$result" >&6; }
14976
14977
14978
14979
14980 enablestring=
14981 defaultval=$wxUSE_ALL_FEATURES
14982 if test -z "$defaultval"; then
14983 if test x"$enablestring" = xdisable; then
14984 defaultval=yes
14985 else
14986 defaultval=no
14987 fi
14988 fi
14989
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14991 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14992 # Check whether --enable-menus was given.
14993 if test "${enable_menus+set}" = set; then :
14994 enableval=$enable_menus;
14995 if test "$enableval" = yes; then
14996 wx_cv_use_menus='wxUSE_MENUS=yes'
14997 else
14998 wx_cv_use_menus='wxUSE_MENUS=no'
14999 fi
15000
15001 else
15002
15003 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15004
15005 fi
15006
15007
15008 eval "$wx_cv_use_menus"
15009
15010 if test x"$enablestring" = xdisable; then
15011 if test $wxUSE_MENUS = no; then
15012 result=yes
15013 else
15014 result=no
15015 fi
15016 else
15017 result=$wxUSE_MENUS
15018 fi
15019
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15021 $as_echo "$result" >&6; }
15022
15023
15024 enablestring=
15025 defaultval=$wxUSE_ALL_FEATURES
15026 if test -z "$defaultval"; then
15027 if test x"$enablestring" = xdisable; then
15028 defaultval=yes
15029 else
15030 defaultval=no
15031 fi
15032 fi
15033
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
15035 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
15036 # Check whether --enable-miniframe was given.
15037 if test "${enable_miniframe+set}" = set; then :
15038 enableval=$enable_miniframe;
15039 if test "$enableval" = yes; then
15040 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15041 else
15042 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15043 fi
15044
15045 else
15046
15047 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15048
15049 fi
15050
15051
15052 eval "$wx_cv_use_miniframe"
15053
15054 if test x"$enablestring" = xdisable; then
15055 if test $wxUSE_MINIFRAME = no; then
15056 result=yes
15057 else
15058 result=no
15059 fi
15060 else
15061 result=$wxUSE_MINIFRAME
15062 fi
15063
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15065 $as_echo "$result" >&6; }
15066
15067
15068 enablestring=
15069 defaultval=$wxUSE_ALL_FEATURES
15070 if test -z "$defaultval"; then
15071 if test x"$enablestring" = xdisable; then
15072 defaultval=yes
15073 else
15074 defaultval=no
15075 fi
15076 fi
15077
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
15079 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
15080 # Check whether --enable-tooltips was given.
15081 if test "${enable_tooltips+set}" = set; then :
15082 enableval=$enable_tooltips;
15083 if test "$enableval" = yes; then
15084 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15085 else
15086 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15087 fi
15088
15089 else
15090
15091 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15092
15093 fi
15094
15095
15096 eval "$wx_cv_use_tooltips"
15097
15098 if test x"$enablestring" = xdisable; then
15099 if test $wxUSE_TOOLTIPS = no; then
15100 result=yes
15101 else
15102 result=no
15103 fi
15104 else
15105 result=$wxUSE_TOOLTIPS
15106 fi
15107
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15109 $as_echo "$result" >&6; }
15110
15111
15112 enablestring=
15113 defaultval=$wxUSE_ALL_FEATURES
15114 if test -z "$defaultval"; then
15115 if test x"$enablestring" = xdisable; then
15116 defaultval=yes
15117 else
15118 defaultval=no
15119 fi
15120 fi
15121
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
15123 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
15124 # Check whether --enable-splines was given.
15125 if test "${enable_splines+set}" = set; then :
15126 enableval=$enable_splines;
15127 if test "$enableval" = yes; then
15128 wx_cv_use_splines='wxUSE_SPLINES=yes'
15129 else
15130 wx_cv_use_splines='wxUSE_SPLINES=no'
15131 fi
15132
15133 else
15134
15135 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15136
15137 fi
15138
15139
15140 eval "$wx_cv_use_splines"
15141
15142 if test x"$enablestring" = xdisable; then
15143 if test $wxUSE_SPLINES = no; then
15144 result=yes
15145 else
15146 result=no
15147 fi
15148 else
15149 result=$wxUSE_SPLINES
15150 fi
15151
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15153 $as_echo "$result" >&6; }
15154
15155
15156 enablestring=
15157 defaultval=$wxUSE_ALL_FEATURES
15158 if test -z "$defaultval"; then
15159 if test x"$enablestring" = xdisable; then
15160 defaultval=yes
15161 else
15162 defaultval=no
15163 fi
15164 fi
15165
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
15167 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
15168 # Check whether --enable-mousewheel was given.
15169 if test "${enable_mousewheel+set}" = set; then :
15170 enableval=$enable_mousewheel;
15171 if test "$enableval" = yes; then
15172 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15173 else
15174 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15175 fi
15176
15177 else
15178
15179 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15180
15181 fi
15182
15183
15184 eval "$wx_cv_use_mousewheel"
15185
15186 if test x"$enablestring" = xdisable; then
15187 if test $wxUSE_MOUSEWHEEL = no; then
15188 result=yes
15189 else
15190 result=no
15191 fi
15192 else
15193 result=$wxUSE_MOUSEWHEEL
15194 fi
15195
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15197 $as_echo "$result" >&6; }
15198
15199
15200 enablestring=
15201 defaultval=$wxUSE_ALL_FEATURES
15202 if test -z "$defaultval"; then
15203 if test x"$enablestring" = xdisable; then
15204 defaultval=yes
15205 else
15206 defaultval=no
15207 fi
15208 fi
15209
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
15211 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
15212 # Check whether --enable-validators was given.
15213 if test "${enable_validators+set}" = set; then :
15214 enableval=$enable_validators;
15215 if test "$enableval" = yes; then
15216 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15217 else
15218 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15219 fi
15220
15221 else
15222
15223 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15224
15225 fi
15226
15227
15228 eval "$wx_cv_use_validators"
15229
15230 if test x"$enablestring" = xdisable; then
15231 if test $wxUSE_VALIDATORS = no; then
15232 result=yes
15233 else
15234 result=no
15235 fi
15236 else
15237 result=$wxUSE_VALIDATORS
15238 fi
15239
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15241 $as_echo "$result" >&6; }
15242
15243
15244 enablestring=
15245 defaultval=$wxUSE_ALL_FEATURES
15246 if test -z "$defaultval"; then
15247 if test x"$enablestring" = xdisable; then
15248 defaultval=yes
15249 else
15250 defaultval=no
15251 fi
15252 fi
15253
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15255 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15256 # Check whether --enable-busyinfo was given.
15257 if test "${enable_busyinfo+set}" = set; then :
15258 enableval=$enable_busyinfo;
15259 if test "$enableval" = yes; then
15260 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15261 else
15262 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15263 fi
15264
15265 else
15266
15267 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15268
15269 fi
15270
15271
15272 eval "$wx_cv_use_busyinfo"
15273
15274 if test x"$enablestring" = xdisable; then
15275 if test $wxUSE_BUSYINFO = no; then
15276 result=yes
15277 else
15278 result=no
15279 fi
15280 else
15281 result=$wxUSE_BUSYINFO
15282 fi
15283
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15285 $as_echo "$result" >&6; }
15286
15287
15288 enablestring=
15289 defaultval=$wxUSE_ALL_FEATURES
15290 if test -z "$defaultval"; then
15291 if test x"$enablestring" = xdisable; then
15292 defaultval=yes
15293 else
15294 defaultval=no
15295 fi
15296 fi
15297
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15299 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15300 # Check whether --enable-hotkey was given.
15301 if test "${enable_hotkey+set}" = set; then :
15302 enableval=$enable_hotkey;
15303 if test "$enableval" = yes; then
15304 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15305 else
15306 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15307 fi
15308
15309 else
15310
15311 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15312
15313 fi
15314
15315
15316 eval "$wx_cv_use_hotkey"
15317
15318 if test x"$enablestring" = xdisable; then
15319 if test $wxUSE_HOTKEY = no; then
15320 result=yes
15321 else
15322 result=no
15323 fi
15324 else
15325 result=$wxUSE_HOTKEY
15326 fi
15327
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15329 $as_echo "$result" >&6; }
15330
15331
15332 enablestring=
15333 defaultval=$wxUSE_ALL_FEATURES
15334 if test -z "$defaultval"; then
15335 if test x"$enablestring" = xdisable; then
15336 defaultval=yes
15337 else
15338 defaultval=no
15339 fi
15340 fi
15341
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15343 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15344 # Check whether --enable-joystick was given.
15345 if test "${enable_joystick+set}" = set; then :
15346 enableval=$enable_joystick;
15347 if test "$enableval" = yes; then
15348 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15349 else
15350 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15351 fi
15352
15353 else
15354
15355 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15356
15357 fi
15358
15359
15360 eval "$wx_cv_use_joystick"
15361
15362 if test x"$enablestring" = xdisable; then
15363 if test $wxUSE_JOYSTICK = no; then
15364 result=yes
15365 else
15366 result=no
15367 fi
15368 else
15369 result=$wxUSE_JOYSTICK
15370 fi
15371
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15373 $as_echo "$result" >&6; }
15374
15375
15376 enablestring=
15377 defaultval=$wxUSE_ALL_FEATURES
15378 if test -z "$defaultval"; then
15379 if test x"$enablestring" = xdisable; then
15380 defaultval=yes
15381 else
15382 defaultval=no
15383 fi
15384 fi
15385
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15387 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15388 # Check whether --enable-metafile was given.
15389 if test "${enable_metafile+set}" = set; then :
15390 enableval=$enable_metafile;
15391 if test "$enableval" = yes; then
15392 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15393 else
15394 wx_cv_use_metafile='wxUSE_METAFILE=no'
15395 fi
15396
15397 else
15398
15399 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15400
15401 fi
15402
15403
15404 eval "$wx_cv_use_metafile"
15405
15406 if test x"$enablestring" = xdisable; then
15407 if test $wxUSE_METAFILE = no; then
15408 result=yes
15409 else
15410 result=no
15411 fi
15412 else
15413 result=$wxUSE_METAFILE
15414 fi
15415
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15417 $as_echo "$result" >&6; }
15418
15419
15420 enablestring=
15421 defaultval=$wxUSE_ALL_FEATURES
15422 if test -z "$defaultval"; then
15423 if test x"$enablestring" = xdisable; then
15424 defaultval=yes
15425 else
15426 defaultval=no
15427 fi
15428 fi
15429
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15431 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15432 # Check whether --enable-dragimage was given.
15433 if test "${enable_dragimage+set}" = set; then :
15434 enableval=$enable_dragimage;
15435 if test "$enableval" = yes; then
15436 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15437 else
15438 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15439 fi
15440
15441 else
15442
15443 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15444
15445 fi
15446
15447
15448 eval "$wx_cv_use_dragimage"
15449
15450 if test x"$enablestring" = xdisable; then
15451 if test $wxUSE_DRAGIMAGE = no; then
15452 result=yes
15453 else
15454 result=no
15455 fi
15456 else
15457 result=$wxUSE_DRAGIMAGE
15458 fi
15459
15460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15461 $as_echo "$result" >&6; }
15462
15463
15464 enablestring=
15465 defaultval=$wxUSE_ALL_FEATURES
15466 if test -z "$defaultval"; then
15467 if test x"$enablestring" = xdisable; then
15468 defaultval=yes
15469 else
15470 defaultval=no
15471 fi
15472 fi
15473
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15475 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15476 # Check whether --enable-accessibility was given.
15477 if test "${enable_accessibility+set}" = set; then :
15478 enableval=$enable_accessibility;
15479 if test "$enableval" = yes; then
15480 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15481 else
15482 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15483 fi
15484
15485 else
15486
15487 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15488
15489 fi
15490
15491
15492 eval "$wx_cv_use_accessibility"
15493
15494 if test x"$enablestring" = xdisable; then
15495 if test $wxUSE_ACCESSIBILITY = no; then
15496 result=yes
15497 else
15498 result=no
15499 fi
15500 else
15501 result=$wxUSE_ACCESSIBILITY
15502 fi
15503
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15505 $as_echo "$result" >&6; }
15506
15507
15508 enablestring=
15509 defaultval=$wxUSE_ALL_FEATURES
15510 if test -z "$defaultval"; then
15511 if test x"$enablestring" = xdisable; then
15512 defaultval=yes
15513 else
15514 defaultval=no
15515 fi
15516 fi
15517
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15519 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15520 # Check whether --enable-uiactionsim was given.
15521 if test "${enable_uiactionsim+set}" = set; then :
15522 enableval=$enable_uiactionsim;
15523 if test "$enableval" = yes; then
15524 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15525 else
15526 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15527 fi
15528
15529 else
15530
15531 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15532
15533 fi
15534
15535
15536 eval "$wx_cv_use_uiactionsim"
15537
15538 if test x"$enablestring" = xdisable; then
15539 if test $wxUSE_UIACTIONSIMULATOR = no; then
15540 result=yes
15541 else
15542 result=no
15543 fi
15544 else
15545 result=$wxUSE_UIACTIONSIMULATOR
15546 fi
15547
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15549 $as_echo "$result" >&6; }
15550
15551
15552 enablestring=
15553 defaultval=$wxUSE_ALL_FEATURES
15554 if test -z "$defaultval"; then
15555 if test x"$enablestring" = xdisable; then
15556 defaultval=yes
15557 else
15558 defaultval=no
15559 fi
15560 fi
15561
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15563 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15564 # Check whether --enable-dctransform was given.
15565 if test "${enable_dctransform+set}" = set; then :
15566 enableval=$enable_dctransform;
15567 if test "$enableval" = yes; then
15568 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15569 else
15570 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15571 fi
15572
15573 else
15574
15575 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15576
15577 fi
15578
15579
15580 eval "$wx_cv_use_dctransform"
15581
15582 if test x"$enablestring" = xdisable; then
15583 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15584 result=yes
15585 else
15586 result=no
15587 fi
15588 else
15589 result=$wxUSE_DC_TRANSFORM_MATRIX
15590 fi
15591
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15593 $as_echo "$result" >&6; }
15594
15595
15596 enablestring=
15597 defaultval=$wxUSE_ALL_FEATURES
15598 if test -z "$defaultval"; then
15599 if test x"$enablestring" = xdisable; then
15600 defaultval=yes
15601 else
15602 defaultval=no
15603 fi
15604 fi
15605
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15607 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15608 # Check whether --enable-webviewwebkit was given.
15609 if test "${enable_webviewwebkit+set}" = set; then :
15610 enableval=$enable_webviewwebkit;
15611 if test "$enableval" = yes; then
15612 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15613 else
15614 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15615 fi
15616
15617 else
15618
15619 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15620
15621 fi
15622
15623
15624 eval "$wx_cv_use_webviewwebkit"
15625
15626 if test x"$enablestring" = xdisable; then
15627 if test $wxUSE_WEBVIEW_WEBKIT = no; then
15628 result=yes
15629 else
15630 result=no
15631 fi
15632 else
15633 result=$wxUSE_WEBVIEW_WEBKIT
15634 fi
15635
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15637 $as_echo "$result" >&6; }
15638
15639
15640
15641
15642 enablestring=
15643 defaultval=$wxUSE_ALL_FEATURES
15644 if test -z "$defaultval"; then
15645 if test x"$enablestring" = xdisable; then
15646 defaultval=yes
15647 else
15648 defaultval=no
15649 fi
15650 fi
15651
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15653 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15654 # Check whether --enable-palette was given.
15655 if test "${enable_palette+set}" = set; then :
15656 enableval=$enable_palette;
15657 if test "$enableval" = yes; then
15658 wx_cv_use_palette='wxUSE_PALETTE=yes'
15659 else
15660 wx_cv_use_palette='wxUSE_PALETTE=no'
15661 fi
15662
15663 else
15664
15665 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15666
15667 fi
15668
15669
15670 eval "$wx_cv_use_palette"
15671
15672 if test x"$enablestring" = xdisable; then
15673 if test $wxUSE_PALETTE = no; then
15674 result=yes
15675 else
15676 result=no
15677 fi
15678 else
15679 result=$wxUSE_PALETTE
15680 fi
15681
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15683 $as_echo "$result" >&6; }
15684
15685
15686 enablestring=
15687 defaultval=$wxUSE_ALL_FEATURES
15688 if test -z "$defaultval"; then
15689 if test x"$enablestring" = xdisable; then
15690 defaultval=yes
15691 else
15692 defaultval=no
15693 fi
15694 fi
15695
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15697 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15698 # Check whether --enable-image was given.
15699 if test "${enable_image+set}" = set; then :
15700 enableval=$enable_image;
15701 if test "$enableval" = yes; then
15702 wx_cv_use_image='wxUSE_IMAGE=yes'
15703 else
15704 wx_cv_use_image='wxUSE_IMAGE=no'
15705 fi
15706
15707 else
15708
15709 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15710
15711 fi
15712
15713
15714 eval "$wx_cv_use_image"
15715
15716 if test x"$enablestring" = xdisable; then
15717 if test $wxUSE_IMAGE = no; then
15718 result=yes
15719 else
15720 result=no
15721 fi
15722 else
15723 result=$wxUSE_IMAGE
15724 fi
15725
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15727 $as_echo "$result" >&6; }
15728
15729
15730 enablestring=
15731 defaultval=$wxUSE_ALL_FEATURES
15732 if test -z "$defaultval"; then
15733 if test x"$enablestring" = xdisable; then
15734 defaultval=yes
15735 else
15736 defaultval=no
15737 fi
15738 fi
15739
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15741 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15742 # Check whether --enable-gif was given.
15743 if test "${enable_gif+set}" = set; then :
15744 enableval=$enable_gif;
15745 if test "$enableval" = yes; then
15746 wx_cv_use_gif='wxUSE_GIF=yes'
15747 else
15748 wx_cv_use_gif='wxUSE_GIF=no'
15749 fi
15750
15751 else
15752
15753 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15754
15755 fi
15756
15757
15758 eval "$wx_cv_use_gif"
15759
15760 if test x"$enablestring" = xdisable; then
15761 if test $wxUSE_GIF = no; then
15762 result=yes
15763 else
15764 result=no
15765 fi
15766 else
15767 result=$wxUSE_GIF
15768 fi
15769
15770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15771 $as_echo "$result" >&6; }
15772
15773
15774 enablestring=
15775 defaultval=$wxUSE_ALL_FEATURES
15776 if test -z "$defaultval"; then
15777 if test x"$enablestring" = xdisable; then
15778 defaultval=yes
15779 else
15780 defaultval=no
15781 fi
15782 fi
15783
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15785 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15786 # Check whether --enable-pcx was given.
15787 if test "${enable_pcx+set}" = set; then :
15788 enableval=$enable_pcx;
15789 if test "$enableval" = yes; then
15790 wx_cv_use_pcx='wxUSE_PCX=yes'
15791 else
15792 wx_cv_use_pcx='wxUSE_PCX=no'
15793 fi
15794
15795 else
15796
15797 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15798
15799 fi
15800
15801
15802 eval "$wx_cv_use_pcx"
15803
15804 if test x"$enablestring" = xdisable; then
15805 if test $wxUSE_PCX = no; then
15806 result=yes
15807 else
15808 result=no
15809 fi
15810 else
15811 result=$wxUSE_PCX
15812 fi
15813
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15815 $as_echo "$result" >&6; }
15816
15817
15818 enablestring=
15819 defaultval=$wxUSE_ALL_FEATURES
15820 if test -z "$defaultval"; then
15821 if test x"$enablestring" = xdisable; then
15822 defaultval=yes
15823 else
15824 defaultval=no
15825 fi
15826 fi
15827
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15829 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15830 # Check whether --enable-tga was given.
15831 if test "${enable_tga+set}" = set; then :
15832 enableval=$enable_tga;
15833 if test "$enableval" = yes; then
15834 wx_cv_use_tga='wxUSE_TGA=yes'
15835 else
15836 wx_cv_use_tga='wxUSE_TGA=no'
15837 fi
15838
15839 else
15840
15841 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15842
15843 fi
15844
15845
15846 eval "$wx_cv_use_tga"
15847
15848 if test x"$enablestring" = xdisable; then
15849 if test $wxUSE_TGA = no; then
15850 result=yes
15851 else
15852 result=no
15853 fi
15854 else
15855 result=$wxUSE_TGA
15856 fi
15857
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15859 $as_echo "$result" >&6; }
15860
15861
15862 enablestring=
15863 defaultval=$wxUSE_ALL_FEATURES
15864 if test -z "$defaultval"; then
15865 if test x"$enablestring" = xdisable; then
15866 defaultval=yes
15867 else
15868 defaultval=no
15869 fi
15870 fi
15871
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15873 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15874 # Check whether --enable-iff was given.
15875 if test "${enable_iff+set}" = set; then :
15876 enableval=$enable_iff;
15877 if test "$enableval" = yes; then
15878 wx_cv_use_iff='wxUSE_IFF=yes'
15879 else
15880 wx_cv_use_iff='wxUSE_IFF=no'
15881 fi
15882
15883 else
15884
15885 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15886
15887 fi
15888
15889
15890 eval "$wx_cv_use_iff"
15891
15892 if test x"$enablestring" = xdisable; then
15893 if test $wxUSE_IFF = no; then
15894 result=yes
15895 else
15896 result=no
15897 fi
15898 else
15899 result=$wxUSE_IFF
15900 fi
15901
15902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15903 $as_echo "$result" >&6; }
15904
15905
15906 enablestring=
15907 defaultval=$wxUSE_ALL_FEATURES
15908 if test -z "$defaultval"; then
15909 if test x"$enablestring" = xdisable; then
15910 defaultval=yes
15911 else
15912 defaultval=no
15913 fi
15914 fi
15915
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15917 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15918 # Check whether --enable-pnm was given.
15919 if test "${enable_pnm+set}" = set; then :
15920 enableval=$enable_pnm;
15921 if test "$enableval" = yes; then
15922 wx_cv_use_pnm='wxUSE_PNM=yes'
15923 else
15924 wx_cv_use_pnm='wxUSE_PNM=no'
15925 fi
15926
15927 else
15928
15929 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15930
15931 fi
15932
15933
15934 eval "$wx_cv_use_pnm"
15935
15936 if test x"$enablestring" = xdisable; then
15937 if test $wxUSE_PNM = no; then
15938 result=yes
15939 else
15940 result=no
15941 fi
15942 else
15943 result=$wxUSE_PNM
15944 fi
15945
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15947 $as_echo "$result" >&6; }
15948
15949
15950 enablestring=
15951 defaultval=$wxUSE_ALL_FEATURES
15952 if test -z "$defaultval"; then
15953 if test x"$enablestring" = xdisable; then
15954 defaultval=yes
15955 else
15956 defaultval=no
15957 fi
15958 fi
15959
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15961 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15962 # Check whether --enable-xpm was given.
15963 if test "${enable_xpm+set}" = set; then :
15964 enableval=$enable_xpm;
15965 if test "$enableval" = yes; then
15966 wx_cv_use_xpm='wxUSE_XPM=yes'
15967 else
15968 wx_cv_use_xpm='wxUSE_XPM=no'
15969 fi
15970
15971 else
15972
15973 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15974
15975 fi
15976
15977
15978 eval "$wx_cv_use_xpm"
15979
15980 if test x"$enablestring" = xdisable; then
15981 if test $wxUSE_XPM = no; then
15982 result=yes
15983 else
15984 result=no
15985 fi
15986 else
15987 result=$wxUSE_XPM
15988 fi
15989
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15991 $as_echo "$result" >&6; }
15992
15993
15994 enablestring=
15995 defaultval=$wxUSE_ALL_FEATURES
15996 if test -z "$defaultval"; then
15997 if test x"$enablestring" = xdisable; then
15998 defaultval=yes
15999 else
16000 defaultval=no
16001 fi
16002 fi
16003
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
16005 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
16006 # Check whether --enable-ico_cur was given.
16007 if test "${enable_ico_cur+set}" = set; then :
16008 enableval=$enable_ico_cur;
16009 if test "$enableval" = yes; then
16010 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16011 else
16012 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16013 fi
16014
16015 else
16016
16017 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16018
16019 fi
16020
16021
16022 eval "$wx_cv_use_ico_cur"
16023
16024 if test x"$enablestring" = xdisable; then
16025 if test $wxUSE_ICO_CUR = no; then
16026 result=yes
16027 else
16028 result=no
16029 fi
16030 else
16031 result=$wxUSE_ICO_CUR
16032 fi
16033
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16035 $as_echo "$result" >&6; }
16036
16037
16038
16039
16040 enablestring=
16041 defaultval=$wxUSE_ALL_FEATURES
16042 if test -z "$defaultval"; then
16043 if test x"$enablestring" = xdisable; then
16044 defaultval=yes
16045 else
16046 defaultval=no
16047 fi
16048 fi
16049
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
16051 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
16052 # Check whether --enable-dccache was given.
16053 if test "${enable_dccache+set}" = set; then :
16054 enableval=$enable_dccache;
16055 if test "$enableval" = yes; then
16056 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16057 else
16058 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16059 fi
16060
16061 else
16062
16063 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16064
16065 fi
16066
16067
16068 eval "$wx_cv_use_dccache"
16069
16070 if test x"$enablestring" = xdisable; then
16071 if test $wxUSE_DC_CACHEING = no; then
16072 result=yes
16073 else
16074 result=no
16075 fi
16076 else
16077 result=$wxUSE_DC_CACHEING
16078 fi
16079
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16081 $as_echo "$result" >&6; }
16082
16083
16084 enablestring=
16085 defaultval=$wxUSE_ALL_FEATURES
16086 if test -z "$defaultval"; then
16087 if test x"$enablestring" = xdisable; then
16088 defaultval=yes
16089 else
16090 defaultval=no
16091 fi
16092 fi
16093
16094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
16095 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
16096 # Check whether --enable-ps-in-msw was given.
16097 if test "${enable_ps_in_msw+set}" = set; then :
16098 enableval=$enable_ps_in_msw;
16099 if test "$enableval" = yes; then
16100 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16101 else
16102 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16103 fi
16104
16105 else
16106
16107 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16108
16109 fi
16110
16111
16112 eval "$wx_cv_use_ps_in_msw"
16113
16114 if test x"$enablestring" = xdisable; then
16115 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
16116 result=yes
16117 else
16118 result=no
16119 fi
16120 else
16121 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16122 fi
16123
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16125 $as_echo "$result" >&6; }
16126
16127
16128 enablestring=
16129 defaultval=$wxUSE_ALL_FEATURES
16130 if test -z "$defaultval"; then
16131 if test x"$enablestring" = xdisable; then
16132 defaultval=yes
16133 else
16134 defaultval=no
16135 fi
16136 fi
16137
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
16139 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
16140 # Check whether --enable-ownerdrawn was given.
16141 if test "${enable_ownerdrawn+set}" = set; then :
16142 enableval=$enable_ownerdrawn;
16143 if test "$enableval" = yes; then
16144 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16145 else
16146 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16147 fi
16148
16149 else
16150
16151 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16152
16153 fi
16154
16155
16156 eval "$wx_cv_use_ownerdrawn"
16157
16158 if test x"$enablestring" = xdisable; then
16159 if test $wxUSE_OWNER_DRAWN = no; then
16160 result=yes
16161 else
16162 result=no
16163 fi
16164 else
16165 result=$wxUSE_OWNER_DRAWN
16166 fi
16167
16168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16169 $as_echo "$result" >&6; }
16170
16171
16172 enablestring=
16173 defaultval=$wxUSE_ALL_FEATURES
16174 if test -z "$defaultval"; then
16175 if test x"$enablestring" = xdisable; then
16176 defaultval=yes
16177 else
16178 defaultval=no
16179 fi
16180 fi
16181
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
16183 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
16184 # Check whether --enable-uxtheme was given.
16185 if test "${enable_uxtheme+set}" = set; then :
16186 enableval=$enable_uxtheme;
16187 if test "$enableval" = yes; then
16188 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16189 else
16190 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16191 fi
16192
16193 else
16194
16195 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16196
16197 fi
16198
16199
16200 eval "$wx_cv_use_uxtheme"
16201
16202 if test x"$enablestring" = xdisable; then
16203 if test $wxUSE_UXTHEME = no; then
16204 result=yes
16205 else
16206 result=no
16207 fi
16208 else
16209 result=$wxUSE_UXTHEME
16210 fi
16211
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16213 $as_echo "$result" >&6; }
16214
16215
16216 enablestring=
16217 defaultval=$wxUSE_ALL_FEATURES
16218 if test -z "$defaultval"; then
16219 if test x"$enablestring" = xdisable; then
16220 defaultval=yes
16221 else
16222 defaultval=no
16223 fi
16224 fi
16225
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
16227 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
16228 # Check whether --enable-wxdib was given.
16229 if test "${enable_wxdib+set}" = set; then :
16230 enableval=$enable_wxdib;
16231 if test "$enableval" = yes; then
16232 wx_cv_use_wxdib='wxUSE_DIB=yes'
16233 else
16234 wx_cv_use_wxdib='wxUSE_DIB=no'
16235 fi
16236
16237 else
16238
16239 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16240
16241 fi
16242
16243
16244 eval "$wx_cv_use_wxdib"
16245
16246 if test x"$enablestring" = xdisable; then
16247 if test $wxUSE_DIB = no; then
16248 result=yes
16249 else
16250 result=no
16251 fi
16252 else
16253 result=$wxUSE_DIB
16254 fi
16255
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16257 $as_echo "$result" >&6; }
16258
16259
16260 enablestring=
16261 defaultval=$wxUSE_ALL_FEATURES
16262 if test -z "$defaultval"; then
16263 if test x"$enablestring" = xdisable; then
16264 defaultval=yes
16265 else
16266 defaultval=no
16267 fi
16268 fi
16269
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16271 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16272 # Check whether --enable-webviewie was given.
16273 if test "${enable_webviewie+set}" = set; then :
16274 enableval=$enable_webviewie;
16275 if test "$enableval" = yes; then
16276 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16277 else
16278 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16279 fi
16280
16281 else
16282
16283 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16284
16285 fi
16286
16287
16288 eval "$wx_cv_use_webviewie"
16289
16290 if test x"$enablestring" = xdisable; then
16291 if test $wxUSE_WEBVIEW_IE = no; then
16292 result=yes
16293 else
16294 result=no
16295 fi
16296 else
16297 result=$wxUSE_WEBVIEW_IE
16298 fi
16299
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16301 $as_echo "$result" >&6; }
16302
16303
16304 if test "$wxUSE_MSW" != 1; then
16305 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16306 fi
16307
16308
16309 enablestring=
16310 defaultval=$wxUSE_ALL_FEATURES
16311 if test -z "$defaultval"; then
16312 if test x"$enablestring" = xdisable; then
16313 defaultval=yes
16314 else
16315 defaultval=no
16316 fi
16317 fi
16318
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16320 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16321 # Check whether --enable-autoidman was given.
16322 if test "${enable_autoidman+set}" = set; then :
16323 enableval=$enable_autoidman;
16324 if test "$enableval" = yes; then
16325 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16326 else
16327 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16328 fi
16329
16330 else
16331
16332 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16333
16334 fi
16335
16336
16337 eval "$wx_cv_use_autoidman"
16338
16339 if test x"$enablestring" = xdisable; then
16340 if test $wxUSE_AUTOID_MANAGEMENT = no; then
16341 result=yes
16342 else
16343 result=no
16344 fi
16345 else
16346 result=$wxUSE_AUTOID_MANAGEMENT
16347 fi
16348
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16350 $as_echo "$result" >&6; }
16351
16352
16353 fi
16354
16355
16356 cat >confcache <<\_ACEOF
16357 # This file is a shell script that caches the results of configure
16358 # tests run on this system so they can be shared between configure
16359 # scripts and configure runs, see configure's option --config-cache.
16360 # It is not useful on other systems. If it contains results you don't
16361 # want to keep, you may remove or edit it.
16362 #
16363 # config.status only pays attention to the cache file if you give it
16364 # the --recheck option to rerun configure.
16365 #
16366 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16367 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16368 # following values.
16369
16370 _ACEOF
16371
16372 # The following way of writing the cache mishandles newlines in values,
16373 # but we know of no workaround that is simple, portable, and efficient.
16374 # So, we kill variables containing newlines.
16375 # Ultrix sh set writes to stderr and can't be redirected directly,
16376 # and sets the high bit in the cache file unless we assign to the vars.
16377 (
16378 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16379 eval ac_val=\$$ac_var
16380 case $ac_val in #(
16381 *${as_nl}*)
16382 case $ac_var in #(
16383 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16384 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16385 esac
16386 case $ac_var in #(
16387 _ | IFS | as_nl) ;; #(
16388 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16389 *) { eval $ac_var=; unset $ac_var;} ;;
16390 esac ;;
16391 esac
16392 done
16393
16394 (set) 2>&1 |
16395 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16396 *${as_nl}ac_space=\ *)
16397 # `set' does not quote correctly, so add quotes: double-quote
16398 # substitution turns \\\\ into \\, and sed turns \\ into \.
16399 sed -n \
16400 "s/'/'\\\\''/g;
16401 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16402 ;; #(
16403 *)
16404 # `set' quotes correctly as required by POSIX, so do not add quotes.
16405 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16406 ;;
16407 esac |
16408 sort
16409 ) |
16410 sed '
16411 /^ac_cv_env_/b end
16412 t clear
16413 :clear
16414 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16415 t end
16416 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16417 :end' >>confcache
16418 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16419 if test -w "$cache_file"; then
16420 if test "x$cache_file" != "x/dev/null"; then
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16422 $as_echo "$as_me: updating cache $cache_file" >&6;}
16423 if test ! -f "$cache_file" || test -h "$cache_file"; then
16424 cat confcache >"$cache_file"
16425 else
16426 case $cache_file in #(
16427 */* | ?:*)
16428 mv -f confcache "$cache_file"$$ &&
16429 mv -f "$cache_file"$$ "$cache_file" ;; #(
16430 *)
16431 mv -f confcache "$cache_file" ;;
16432 esac
16433 fi
16434 fi
16435 else
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16437 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16438 fi
16439 fi
16440 rm -f confcache
16441
16442 CFLAGS=${CFLAGS:=}
16443 ac_ext=c
16444 ac_cpp='$CPP $CPPFLAGS'
16445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16448 if test -n "$ac_tool_prefix"; then
16449 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16450 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16452 $as_echo_n "checking for $ac_word... " >&6; }
16453 if ${ac_cv_prog_CC+:} false; then :
16454 $as_echo_n "(cached) " >&6
16455 else
16456 if test -n "$CC"; then
16457 ac_cv_prog_CC="$CC" # Let the user override the test.
16458 else
16459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16460 for as_dir in $PATH
16461 do
16462 IFS=$as_save_IFS
16463 test -z "$as_dir" && as_dir=.
16464 for ac_exec_ext in '' $ac_executable_extensions; do
16465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16466 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16468 break 2
16469 fi
16470 done
16471 done
16472 IFS=$as_save_IFS
16473
16474 fi
16475 fi
16476 CC=$ac_cv_prog_CC
16477 if test -n "$CC"; then
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16479 $as_echo "$CC" >&6; }
16480 else
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16482 $as_echo "no" >&6; }
16483 fi
16484
16485
16486 fi
16487 if test -z "$ac_cv_prog_CC"; then
16488 ac_ct_CC=$CC
16489 # Extract the first word of "gcc", so it can be a program name with args.
16490 set dummy gcc; ac_word=$2
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16492 $as_echo_n "checking for $ac_word... " >&6; }
16493 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16494 $as_echo_n "(cached) " >&6
16495 else
16496 if test -n "$ac_ct_CC"; then
16497 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16498 else
16499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16500 for as_dir in $PATH
16501 do
16502 IFS=$as_save_IFS
16503 test -z "$as_dir" && as_dir=.
16504 for ac_exec_ext in '' $ac_executable_extensions; do
16505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16506 ac_cv_prog_ac_ct_CC="gcc"
16507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16508 break 2
16509 fi
16510 done
16511 done
16512 IFS=$as_save_IFS
16513
16514 fi
16515 fi
16516 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16517 if test -n "$ac_ct_CC"; then
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16519 $as_echo "$ac_ct_CC" >&6; }
16520 else
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16522 $as_echo "no" >&6; }
16523 fi
16524
16525 if test "x$ac_ct_CC" = x; then
16526 CC=""
16527 else
16528 case $cross_compiling:$ac_tool_warned in
16529 yes:)
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16532 ac_tool_warned=yes ;;
16533 esac
16534 CC=$ac_ct_CC
16535 fi
16536 else
16537 CC="$ac_cv_prog_CC"
16538 fi
16539
16540 if test -z "$CC"; then
16541 if test -n "$ac_tool_prefix"; then
16542 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16543 set dummy ${ac_tool_prefix}cc; ac_word=$2
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16545 $as_echo_n "checking for $ac_word... " >&6; }
16546 if ${ac_cv_prog_CC+:} false; then :
16547 $as_echo_n "(cached) " >&6
16548 else
16549 if test -n "$CC"; then
16550 ac_cv_prog_CC="$CC" # Let the user override the test.
16551 else
16552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16553 for as_dir in $PATH
16554 do
16555 IFS=$as_save_IFS
16556 test -z "$as_dir" && as_dir=.
16557 for ac_exec_ext in '' $ac_executable_extensions; do
16558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16559 ac_cv_prog_CC="${ac_tool_prefix}cc"
16560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16561 break 2
16562 fi
16563 done
16564 done
16565 IFS=$as_save_IFS
16566
16567 fi
16568 fi
16569 CC=$ac_cv_prog_CC
16570 if test -n "$CC"; then
16571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16572 $as_echo "$CC" >&6; }
16573 else
16574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16575 $as_echo "no" >&6; }
16576 fi
16577
16578
16579 fi
16580 fi
16581 if test -z "$CC"; then
16582 # Extract the first word of "cc", so it can be a program name with args.
16583 set dummy cc; ac_word=$2
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16585 $as_echo_n "checking for $ac_word... " >&6; }
16586 if ${ac_cv_prog_CC+:} false; then :
16587 $as_echo_n "(cached) " >&6
16588 else
16589 if test -n "$CC"; then
16590 ac_cv_prog_CC="$CC" # Let the user override the test.
16591 else
16592 ac_prog_rejected=no
16593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16594 for as_dir in $PATH
16595 do
16596 IFS=$as_save_IFS
16597 test -z "$as_dir" && as_dir=.
16598 for ac_exec_ext in '' $ac_executable_extensions; do
16599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16600 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16601 ac_prog_rejected=yes
16602 continue
16603 fi
16604 ac_cv_prog_CC="cc"
16605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16606 break 2
16607 fi
16608 done
16609 done
16610 IFS=$as_save_IFS
16611
16612 if test $ac_prog_rejected = yes; then
16613 # We found a bogon in the path, so make sure we never use it.
16614 set dummy $ac_cv_prog_CC
16615 shift
16616 if test $# != 0; then
16617 # We chose a different compiler from the bogus one.
16618 # However, it has the same basename, so the bogon will be chosen
16619 # first if we set CC to just the basename; use the full file name.
16620 shift
16621 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16622 fi
16623 fi
16624 fi
16625 fi
16626 CC=$ac_cv_prog_CC
16627 if test -n "$CC"; then
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16629 $as_echo "$CC" >&6; }
16630 else
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16632 $as_echo "no" >&6; }
16633 fi
16634
16635
16636 fi
16637 if test -z "$CC"; then
16638 if test -n "$ac_tool_prefix"; then
16639 for ac_prog in cl.exe
16640 do
16641 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16642 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16644 $as_echo_n "checking for $ac_word... " >&6; }
16645 if ${ac_cv_prog_CC+:} false; then :
16646 $as_echo_n "(cached) " >&6
16647 else
16648 if test -n "$CC"; then
16649 ac_cv_prog_CC="$CC" # Let the user override the test.
16650 else
16651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16652 for as_dir in $PATH
16653 do
16654 IFS=$as_save_IFS
16655 test -z "$as_dir" && as_dir=.
16656 for ac_exec_ext in '' $ac_executable_extensions; do
16657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16658 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16660 break 2
16661 fi
16662 done
16663 done
16664 IFS=$as_save_IFS
16665
16666 fi
16667 fi
16668 CC=$ac_cv_prog_CC
16669 if test -n "$CC"; then
16670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16671 $as_echo "$CC" >&6; }
16672 else
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16674 $as_echo "no" >&6; }
16675 fi
16676
16677
16678 test -n "$CC" && break
16679 done
16680 fi
16681 if test -z "$CC"; then
16682 ac_ct_CC=$CC
16683 for ac_prog in cl.exe
16684 do
16685 # Extract the first word of "$ac_prog", so it can be a program name with args.
16686 set dummy $ac_prog; ac_word=$2
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16688 $as_echo_n "checking for $ac_word... " >&6; }
16689 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16690 $as_echo_n "(cached) " >&6
16691 else
16692 if test -n "$ac_ct_CC"; then
16693 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16694 else
16695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16696 for as_dir in $PATH
16697 do
16698 IFS=$as_save_IFS
16699 test -z "$as_dir" && as_dir=.
16700 for ac_exec_ext in '' $ac_executable_extensions; do
16701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16702 ac_cv_prog_ac_ct_CC="$ac_prog"
16703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16704 break 2
16705 fi
16706 done
16707 done
16708 IFS=$as_save_IFS
16709
16710 fi
16711 fi
16712 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16713 if test -n "$ac_ct_CC"; then
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16715 $as_echo "$ac_ct_CC" >&6; }
16716 else
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16718 $as_echo "no" >&6; }
16719 fi
16720
16721
16722 test -n "$ac_ct_CC" && break
16723 done
16724
16725 if test "x$ac_ct_CC" = x; then
16726 CC=""
16727 else
16728 case $cross_compiling:$ac_tool_warned in
16729 yes:)
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16732 ac_tool_warned=yes ;;
16733 esac
16734 CC=$ac_ct_CC
16735 fi
16736 fi
16737
16738 fi
16739
16740
16741 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16742 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16743 as_fn_error $? "no acceptable C compiler found in \$PATH
16744 See \`config.log' for more details" "$LINENO" 5; }
16745
16746 # Provide some information about the compiler.
16747 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16748 set X $ac_compile
16749 ac_compiler=$2
16750 for ac_option in --version -v -V -qversion; do
16751 { { ac_try="$ac_compiler $ac_option >&5"
16752 case "(($ac_try" in
16753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16754 *) ac_try_echo=$ac_try;;
16755 esac
16756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16757 $as_echo "$ac_try_echo"; } >&5
16758 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16759 ac_status=$?
16760 if test -s conftest.err; then
16761 sed '10a\
16762 ... rest of stderr output deleted ...
16763 10q' conftest.err >conftest.er1
16764 cat conftest.er1 >&5
16765 fi
16766 rm -f conftest.er1 conftest.err
16767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16768 test $ac_status = 0; }
16769 done
16770
16771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16772 /* end confdefs.h. */
16773
16774 int
16775 main ()
16776 {
16777
16778 ;
16779 return 0;
16780 }
16781 _ACEOF
16782 ac_clean_files_save=$ac_clean_files
16783 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16784 # Try to create an executable without -o first, disregard a.out.
16785 # It will help us diagnose broken compilers, and finding out an intuition
16786 # of exeext.
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16788 $as_echo_n "checking whether the C compiler works... " >&6; }
16789 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16790
16791 # The possible output files:
16792 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16793
16794 ac_rmfiles=
16795 for ac_file in $ac_files
16796 do
16797 case $ac_file in
16798 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16799 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16800 esac
16801 done
16802 rm -f $ac_rmfiles
16803
16804 if { { ac_try="$ac_link_default"
16805 case "(($ac_try" in
16806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16807 *) ac_try_echo=$ac_try;;
16808 esac
16809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16810 $as_echo "$ac_try_echo"; } >&5
16811 (eval "$ac_link_default") 2>&5
16812 ac_status=$?
16813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16814 test $ac_status = 0; }; then :
16815 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16816 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16817 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16818 # so that the user can short-circuit this test for compilers unknown to
16819 # Autoconf.
16820 for ac_file in $ac_files ''
16821 do
16822 test -f "$ac_file" || continue
16823 case $ac_file in
16824 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16825 ;;
16826 [ab].out )
16827 # We found the default executable, but exeext='' is most
16828 # certainly right.
16829 break;;
16830 *.* )
16831 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16832 then :; else
16833 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16834 fi
16835 # We set ac_cv_exeext here because the later test for it is not
16836 # safe: cross compilers may not add the suffix if given an `-o'
16837 # argument, so we may need to know it at that point already.
16838 # Even if this section looks crufty: it has the advantage of
16839 # actually working.
16840 break;;
16841 * )
16842 break;;
16843 esac
16844 done
16845 test "$ac_cv_exeext" = no && ac_cv_exeext=
16846
16847 else
16848 ac_file=''
16849 fi
16850 if test -z "$ac_file"; then :
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16852 $as_echo "no" >&6; }
16853 $as_echo "$as_me: failed program was:" >&5
16854 sed 's/^/| /' conftest.$ac_ext >&5
16855
16856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16858 as_fn_error 77 "C compiler cannot create executables
16859 See \`config.log' for more details" "$LINENO" 5; }
16860 else
16861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16862 $as_echo "yes" >&6; }
16863 fi
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16865 $as_echo_n "checking for C compiler default output file name... " >&6; }
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16867 $as_echo "$ac_file" >&6; }
16868 ac_exeext=$ac_cv_exeext
16869
16870 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16871 ac_clean_files=$ac_clean_files_save
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16873 $as_echo_n "checking for suffix of executables... " >&6; }
16874 if { { ac_try="$ac_link"
16875 case "(($ac_try" in
16876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16877 *) ac_try_echo=$ac_try;;
16878 esac
16879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16880 $as_echo "$ac_try_echo"; } >&5
16881 (eval "$ac_link") 2>&5
16882 ac_status=$?
16883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16884 test $ac_status = 0; }; then :
16885 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16886 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16887 # work properly (i.e., refer to `conftest.exe'), while it won't with
16888 # `rm'.
16889 for ac_file in conftest.exe conftest conftest.*; do
16890 test -f "$ac_file" || continue
16891 case $ac_file in
16892 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16893 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16894 break;;
16895 * ) break;;
16896 esac
16897 done
16898 else
16899 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16901 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16902 See \`config.log' for more details" "$LINENO" 5; }
16903 fi
16904 rm -f conftest conftest$ac_cv_exeext
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16906 $as_echo "$ac_cv_exeext" >&6; }
16907
16908 rm -f conftest.$ac_ext
16909 EXEEXT=$ac_cv_exeext
16910 ac_exeext=$EXEEXT
16911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16912 /* end confdefs.h. */
16913 #include <stdio.h>
16914 int
16915 main ()
16916 {
16917 FILE *f = fopen ("conftest.out", "w");
16918 return ferror (f) || fclose (f) != 0;
16919
16920 ;
16921 return 0;
16922 }
16923 _ACEOF
16924 ac_clean_files="$ac_clean_files conftest.out"
16925 # Check that the compiler produces executables we can run. If not, either
16926 # the compiler is broken, or we cross compile.
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16928 $as_echo_n "checking whether we are cross compiling... " >&6; }
16929 if test "$cross_compiling" != yes; then
16930 { { ac_try="$ac_link"
16931 case "(($ac_try" in
16932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16933 *) ac_try_echo=$ac_try;;
16934 esac
16935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16936 $as_echo "$ac_try_echo"; } >&5
16937 (eval "$ac_link") 2>&5
16938 ac_status=$?
16939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16940 test $ac_status = 0; }
16941 if { ac_try='./conftest$ac_cv_exeext'
16942 { { case "(($ac_try" in
16943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16944 *) ac_try_echo=$ac_try;;
16945 esac
16946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16947 $as_echo "$ac_try_echo"; } >&5
16948 (eval "$ac_try") 2>&5
16949 ac_status=$?
16950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16951 test $ac_status = 0; }; }; then
16952 cross_compiling=no
16953 else
16954 if test "$cross_compiling" = maybe; then
16955 cross_compiling=yes
16956 else
16957 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16958 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16959 as_fn_error $? "cannot run C compiled programs.
16960 If you meant to cross compile, use \`--host'.
16961 See \`config.log' for more details" "$LINENO" 5; }
16962 fi
16963 fi
16964 fi
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16966 $as_echo "$cross_compiling" >&6; }
16967
16968 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16969 ac_clean_files=$ac_clean_files_save
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16971 $as_echo_n "checking for suffix of object files... " >&6; }
16972 if ${ac_cv_objext+:} false; then :
16973 $as_echo_n "(cached) " >&6
16974 else
16975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16976 /* end confdefs.h. */
16977
16978 int
16979 main ()
16980 {
16981
16982 ;
16983 return 0;
16984 }
16985 _ACEOF
16986 rm -f conftest.o conftest.obj
16987 if { { ac_try="$ac_compile"
16988 case "(($ac_try" in
16989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16990 *) ac_try_echo=$ac_try;;
16991 esac
16992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16993 $as_echo "$ac_try_echo"; } >&5
16994 (eval "$ac_compile") 2>&5
16995 ac_status=$?
16996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16997 test $ac_status = 0; }; then :
16998 for ac_file in conftest.o conftest.obj conftest.*; do
16999 test -f "$ac_file" || continue;
17000 case $ac_file in
17001 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
17002 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17003 break;;
17004 esac
17005 done
17006 else
17007 $as_echo "$as_me: failed program was:" >&5
17008 sed 's/^/| /' conftest.$ac_ext >&5
17009
17010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17012 as_fn_error $? "cannot compute suffix of object files: cannot compile
17013 See \`config.log' for more details" "$LINENO" 5; }
17014 fi
17015 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17016 fi
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
17018 $as_echo "$ac_cv_objext" >&6; }
17019 OBJEXT=$ac_cv_objext
17020 ac_objext=$OBJEXT
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
17022 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
17023 if ${ac_cv_c_compiler_gnu+:} false; then :
17024 $as_echo_n "(cached) " >&6
17025 else
17026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17027 /* end confdefs.h. */
17028
17029 int
17030 main ()
17031 {
17032 #ifndef __GNUC__
17033 choke me
17034 #endif
17035
17036 ;
17037 return 0;
17038 }
17039 _ACEOF
17040 if ac_fn_c_try_compile "$LINENO"; then :
17041 ac_compiler_gnu=yes
17042 else
17043 ac_compiler_gnu=no
17044 fi
17045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17046 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17047
17048 fi
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
17050 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
17051 if test $ac_compiler_gnu = yes; then
17052 GCC=yes
17053 else
17054 GCC=
17055 fi
17056 ac_test_CFLAGS=${CFLAGS+set}
17057 ac_save_CFLAGS=$CFLAGS
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17059 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17060 if ${ac_cv_prog_cc_g+:} false; then :
17061 $as_echo_n "(cached) " >&6
17062 else
17063 ac_save_c_werror_flag=$ac_c_werror_flag
17064 ac_c_werror_flag=yes
17065 ac_cv_prog_cc_g=no
17066 CFLAGS="-g"
17067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17068 /* end confdefs.h. */
17069
17070 int
17071 main ()
17072 {
17073
17074 ;
17075 return 0;
17076 }
17077 _ACEOF
17078 if ac_fn_c_try_compile "$LINENO"; then :
17079 ac_cv_prog_cc_g=yes
17080 else
17081 CFLAGS=""
17082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17083 /* end confdefs.h. */
17084
17085 int
17086 main ()
17087 {
17088
17089 ;
17090 return 0;
17091 }
17092 _ACEOF
17093 if ac_fn_c_try_compile "$LINENO"; then :
17094
17095 else
17096 ac_c_werror_flag=$ac_save_c_werror_flag
17097 CFLAGS="-g"
17098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17099 /* end confdefs.h. */
17100
17101 int
17102 main ()
17103 {
17104
17105 ;
17106 return 0;
17107 }
17108 _ACEOF
17109 if ac_fn_c_try_compile "$LINENO"; then :
17110 ac_cv_prog_cc_g=yes
17111 fi
17112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17113 fi
17114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17115 fi
17116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17117 ac_c_werror_flag=$ac_save_c_werror_flag
17118 fi
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17120 $as_echo "$ac_cv_prog_cc_g" >&6; }
17121 if test "$ac_test_CFLAGS" = set; then
17122 CFLAGS=$ac_save_CFLAGS
17123 elif test $ac_cv_prog_cc_g = yes; then
17124 if test "$GCC" = yes; then
17125 CFLAGS="-g -O2"
17126 else
17127 CFLAGS="-g"
17128 fi
17129 else
17130 if test "$GCC" = yes; then
17131 CFLAGS="-O2"
17132 else
17133 CFLAGS=
17134 fi
17135 fi
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17137 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17138 if ${ac_cv_prog_cc_c89+:} false; then :
17139 $as_echo_n "(cached) " >&6
17140 else
17141 ac_cv_prog_cc_c89=no
17142 ac_save_CC=$CC
17143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17144 /* end confdefs.h. */
17145 #include <stdarg.h>
17146 #include <stdio.h>
17147 struct stat;
17148 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17149 struct buf { int x; };
17150 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17151 static char *e (p, i)
17152 char **p;
17153 int i;
17154 {
17155 return p[i];
17156 }
17157 static char *f (char * (*g) (char **, int), char **p, ...)
17158 {
17159 char *s;
17160 va_list v;
17161 va_start (v,p);
17162 s = g (p, va_arg (v,int));
17163 va_end (v);
17164 return s;
17165 }
17166
17167 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17168 function prototypes and stuff, but not '\xHH' hex character constants.
17169 These don't provoke an error unfortunately, instead are silently treated
17170 as 'x'. The following induces an error, until -std is added to get
17171 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17172 array size at least. It's necessary to write '\x00'==0 to get something
17173 that's true only with -std. */
17174 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17175
17176 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17177 inside strings and character constants. */
17178 #define FOO(x) 'x'
17179 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17180
17181 int test (int i, double x);
17182 struct s1 {int (*f) (int a);};
17183 struct s2 {int (*f) (double a);};
17184 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17185 int argc;
17186 char **argv;
17187 int
17188 main ()
17189 {
17190 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17191 ;
17192 return 0;
17193 }
17194 _ACEOF
17195 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17196 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17197 do
17198 CC="$ac_save_CC $ac_arg"
17199 if ac_fn_c_try_compile "$LINENO"; then :
17200 ac_cv_prog_cc_c89=$ac_arg
17201 fi
17202 rm -f core conftest.err conftest.$ac_objext
17203 test "x$ac_cv_prog_cc_c89" != "xno" && break
17204 done
17205 rm -f conftest.$ac_ext
17206 CC=$ac_save_CC
17207
17208 fi
17209 # AC_CACHE_VAL
17210 case "x$ac_cv_prog_cc_c89" in
17211 x)
17212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17213 $as_echo "none needed" >&6; } ;;
17214 xno)
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17216 $as_echo "unsupported" >&6; } ;;
17217 *)
17218 CC="$CC $ac_cv_prog_cc_c89"
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17220 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17221 esac
17222 if test "x$ac_cv_prog_cc_c89" != xno; then :
17223
17224 fi
17225
17226 ac_ext=c
17227 ac_cpp='$CPP $CPPFLAGS'
17228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17231
17232
17233
17234
17235
17236
17237
17238
17239 ac_ext=c
17240 ac_cpp='$CPP $CPPFLAGS'
17241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17244
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17246 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17247 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17248 $as_echo_n "(cached) " >&6
17249 else
17250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17251 /* end confdefs.h. */
17252
17253 int
17254 main ()
17255 {
17256
17257 #ifndef __INTEL_COMPILER
17258 choke me
17259 #endif
17260
17261 ;
17262 return 0;
17263 }
17264 _ACEOF
17265 if ac_fn_c_try_compile "$LINENO"; then :
17266 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17267 else
17268 bakefile_cv_c_compiler___INTEL_COMPILER=no
17269
17270 fi
17271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17272
17273
17274 fi
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17276 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17277 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17278 :; INTELCC=yes
17279 else
17280 :;
17281 fi
17282 ac_ext=c
17283 ac_cpp='$CPP $CPPFLAGS'
17284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17287
17288
17289
17290
17291 if test "$INTELCC" = "yes"; then
17292
17293
17294 ac_ext=c
17295 ac_cpp='$CPP $CPPFLAGS'
17296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17299
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17301 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17302 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17303 $as_echo_n "(cached) " >&6
17304 else
17305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17306 /* end confdefs.h. */
17307
17308 int
17309 main ()
17310 {
17311
17312 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17313 choke me
17314 #endif
17315
17316 ;
17317 return 0;
17318 }
17319 _ACEOF
17320 if ac_fn_c_try_compile "$LINENO"; then :
17321 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17322 else
17323 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17324
17325 fi
17326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17327
17328
17329 fi
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17331 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17332 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17333 :; INTELCC8=yes
17334 else
17335 :;
17336 fi
17337 ac_ext=c
17338 ac_cpp='$CPP $CPPFLAGS'
17339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17342
17343
17344
17345
17346
17347 ac_ext=c
17348 ac_cpp='$CPP $CPPFLAGS'
17349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17352
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17354 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17355 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17356 $as_echo_n "(cached) " >&6
17357 else
17358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17359 /* end confdefs.h. */
17360
17361 int
17362 main ()
17363 {
17364
17365 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17366 choke me
17367 #endif
17368
17369 ;
17370 return 0;
17371 }
17372 _ACEOF
17373 if ac_fn_c_try_compile "$LINENO"; then :
17374 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17375 else
17376 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17377
17378 fi
17379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17380
17381
17382 fi
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17384 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17385 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17386 :; INTELCC10=yes
17387 else
17388 :;
17389 fi
17390 ac_ext=c
17391 ac_cpp='$CPP $CPPFLAGS'
17392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17395
17396
17397
17398 fi
17399
17400 if test "x$GCC" != "xyes"; then
17401 if test "xCC" = "xC"; then
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17403 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17404 if ${bakefile_cv_c_exto+:} false; then :
17405 $as_echo_n "(cached) " >&6
17406 else
17407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17409
17410 int
17411 main ()
17412 {
17413
17414 ;
17415 return 0;
17416 }
17417 _ACEOF
17418 rm -f conftest.$ac_objext conftest.$ac_ext.o
17419 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17420 (eval $ac_compile) 2>&5
17421 ac_status=$?
17422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17423 test $ac_status = 0; }; then :
17424 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17425 case $ac_file in
17426 conftest.$ac_ext.o)
17427 bakefile_cv_c_exto="-ext o"
17428 ;;
17429 *)
17430 ;;
17431 esac
17432 done
17433 else
17434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17436 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
17437 See \`config.log' for more details" "$LINENO" 5; }
17438
17439 fi
17440 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17441
17442 fi
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17444 $as_echo "$bakefile_cv_c_exto" >&6; }
17445 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17446 if test "c" = "c"; then
17447 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17448 fi
17449 if test "c" = "cxx"; then
17450 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17451 fi
17452 fi
17453
17454 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17455 unset ac_cv_prog_cc_g
17456 ac_test_CFLAGS=${CFLAGS+set}
17457 ac_save_CFLAGS=$CFLAGS
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17459 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17460 if ${ac_cv_prog_cc_g+:} false; then :
17461 $as_echo_n "(cached) " >&6
17462 else
17463 ac_save_c_werror_flag=$ac_c_werror_flag
17464 ac_c_werror_flag=yes
17465 ac_cv_prog_cc_g=no
17466 CFLAGS="-g"
17467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17468 /* end confdefs.h. */
17469
17470 int
17471 main ()
17472 {
17473
17474 ;
17475 return 0;
17476 }
17477 _ACEOF
17478 if ac_fn_c_try_compile "$LINENO"; then :
17479 ac_cv_prog_cc_g=yes
17480 else
17481 CFLAGS=""
17482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17483 /* end confdefs.h. */
17484
17485 int
17486 main ()
17487 {
17488
17489 ;
17490 return 0;
17491 }
17492 _ACEOF
17493 if ac_fn_c_try_compile "$LINENO"; then :
17494
17495 else
17496 ac_c_werror_flag=$ac_save_c_werror_flag
17497 CFLAGS="-g"
17498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h. */
17500
17501 int
17502 main ()
17503 {
17504
17505 ;
17506 return 0;
17507 }
17508 _ACEOF
17509 if ac_fn_c_try_compile "$LINENO"; then :
17510 ac_cv_prog_cc_g=yes
17511 fi
17512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17513 fi
17514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17515 fi
17516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17517 ac_c_werror_flag=$ac_save_c_werror_flag
17518 fi
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17520 $as_echo "$ac_cv_prog_cc_g" >&6; }
17521 if test "$ac_test_CFLAGS" = set; then
17522 CFLAGS=$ac_save_CFLAGS
17523 elif test $ac_cv_prog_cc_g = yes; then
17524 if test "$GCC" = yes; then
17525 CFLAGS="-g -O2"
17526 else
17527 CFLAGS="-g"
17528 fi
17529 else
17530 if test "$GCC" = yes; then
17531 CFLAGS="-O2"
17532 else
17533 CFLAGS=
17534 fi
17535 fi
17536 fi
17537 fi
17538
17539 case `uname -s` in
17540 AIX*)
17541
17542
17543 ac_ext=c
17544 ac_cpp='$CPP $CPPFLAGS'
17545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17548
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17550 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17551 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17552 $as_echo_n "(cached) " >&6
17553 else
17554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17555 /* end confdefs.h. */
17556
17557 int
17558 main ()
17559 {
17560
17561 #ifndef __xlC__
17562 choke me
17563 #endif
17564
17565 ;
17566 return 0;
17567 }
17568 _ACEOF
17569 if ac_fn_c_try_compile "$LINENO"; then :
17570 bakefile_cv_c_compiler___xlC__=yes
17571 else
17572 bakefile_cv_c_compiler___xlC__=no
17573
17574 fi
17575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17576
17577
17578 fi
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17580 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17581 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17582 :; XLCC=yes
17583 else
17584 :;
17585 fi
17586 ac_ext=c
17587 ac_cpp='$CPP $CPPFLAGS'
17588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17591
17592
17593
17594 ;;
17595
17596 Darwin)
17597
17598
17599 ac_ext=c
17600 ac_cpp='$CPP $CPPFLAGS'
17601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17604
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17606 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17607 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17608 $as_echo_n "(cached) " >&6
17609 else
17610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17611 /* end confdefs.h. */
17612
17613 int
17614 main ()
17615 {
17616
17617 #ifndef __MWERKS__
17618 choke me
17619 #endif
17620
17621 ;
17622 return 0;
17623 }
17624 _ACEOF
17625 if ac_fn_c_try_compile "$LINENO"; then :
17626 bakefile_cv_c_compiler___MWERKS__=yes
17627 else
17628 bakefile_cv_c_compiler___MWERKS__=no
17629
17630 fi
17631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17632
17633
17634 fi
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17636 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17637 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17638 :; MWCC=yes
17639 else
17640 :;
17641 fi
17642 ac_ext=c
17643 ac_cpp='$CPP $CPPFLAGS'
17644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17647
17648
17649
17650 if test "$MWCC" != "yes"; then
17651
17652
17653 ac_ext=c
17654 ac_cpp='$CPP $CPPFLAGS'
17655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17658
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17660 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17661 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17662 $as_echo_n "(cached) " >&6
17663 else
17664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17665 /* end confdefs.h. */
17666
17667 int
17668 main ()
17669 {
17670
17671 #ifndef __xlC__
17672 choke me
17673 #endif
17674
17675 ;
17676 return 0;
17677 }
17678 _ACEOF
17679 if ac_fn_c_try_compile "$LINENO"; then :
17680 bakefile_cv_c_compiler___xlC__=yes
17681 else
17682 bakefile_cv_c_compiler___xlC__=no
17683
17684 fi
17685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17686
17687
17688 fi
17689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17690 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17691 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17692 :; XLCC=yes
17693 else
17694 :;
17695 fi
17696 ac_ext=c
17697 ac_cpp='$CPP $CPPFLAGS'
17698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17701
17702
17703
17704 fi
17705 ;;
17706
17707 IRIX*)
17708
17709
17710 ac_ext=c
17711 ac_cpp='$CPP $CPPFLAGS'
17712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17715
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17717 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17718 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17719 $as_echo_n "(cached) " >&6
17720 else
17721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17722 /* end confdefs.h. */
17723
17724 int
17725 main ()
17726 {
17727
17728 #ifndef _SGI_COMPILER_VERSION
17729 choke me
17730 #endif
17731
17732 ;
17733 return 0;
17734 }
17735 _ACEOF
17736 if ac_fn_c_try_compile "$LINENO"; then :
17737 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17738 else
17739 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17740
17741 fi
17742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17743
17744
17745 fi
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17747 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17748 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17749 :; SGICC=yes
17750 else
17751 :;
17752 fi
17753 ac_ext=c
17754 ac_cpp='$CPP $CPPFLAGS'
17755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17758
17759
17760
17761 ;;
17762
17763 Linux*)
17764 if test "$INTELCC" != "yes"; then
17765
17766
17767 ac_ext=c
17768 ac_cpp='$CPP $CPPFLAGS'
17769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17772
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17774 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17775 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17776 $as_echo_n "(cached) " >&6
17777 else
17778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17779 /* end confdefs.h. */
17780
17781 int
17782 main ()
17783 {
17784
17785 #ifndef __SUNPRO_C
17786 choke me
17787 #endif
17788
17789 ;
17790 return 0;
17791 }
17792 _ACEOF
17793 if ac_fn_c_try_compile "$LINENO"; then :
17794 bakefile_cv_c_compiler___SUNPRO_C=yes
17795 else
17796 bakefile_cv_c_compiler___SUNPRO_C=no
17797
17798 fi
17799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17800
17801
17802 fi
17803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17804 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17805 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17806 :; SUNCC=yes
17807 else
17808 :;
17809 fi
17810 ac_ext=c
17811 ac_cpp='$CPP $CPPFLAGS'
17812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17815
17816
17817
17818 fi
17819 ;;
17820
17821 HP-UX*)
17822
17823
17824 ac_ext=c
17825 ac_cpp='$CPP $CPPFLAGS'
17826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17829
17830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17831 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17832 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17833 $as_echo_n "(cached) " >&6
17834 else
17835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17836 /* end confdefs.h. */
17837
17838 int
17839 main ()
17840 {
17841
17842 #ifndef __HP_cc
17843 choke me
17844 #endif
17845
17846 ;
17847 return 0;
17848 }
17849 _ACEOF
17850 if ac_fn_c_try_compile "$LINENO"; then :
17851 bakefile_cv_c_compiler___HP_cc=yes
17852 else
17853 bakefile_cv_c_compiler___HP_cc=no
17854
17855 fi
17856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17857
17858
17859 fi
17860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17861 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17862 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17863 :; HPCC=yes
17864 else
17865 :;
17866 fi
17867 ac_ext=c
17868 ac_cpp='$CPP $CPPFLAGS'
17869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17872
17873
17874
17875 ;;
17876
17877 OSF1)
17878
17879
17880 ac_ext=c
17881 ac_cpp='$CPP $CPPFLAGS'
17882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17885
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17887 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17888 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17889 $as_echo_n "(cached) " >&6
17890 else
17891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17892 /* end confdefs.h. */
17893
17894 int
17895 main ()
17896 {
17897
17898 #ifndef __DECC
17899 choke me
17900 #endif
17901
17902 ;
17903 return 0;
17904 }
17905 _ACEOF
17906 if ac_fn_c_try_compile "$LINENO"; then :
17907 bakefile_cv_c_compiler___DECC=yes
17908 else
17909 bakefile_cv_c_compiler___DECC=no
17910
17911 fi
17912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17913
17914
17915 fi
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17917 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17918 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17919 :; COMPAQCC=yes
17920 else
17921 :;
17922 fi
17923 ac_ext=c
17924 ac_cpp='$CPP $CPPFLAGS'
17925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17928
17929
17930
17931 ;;
17932
17933 SunOS)
17934
17935
17936 ac_ext=c
17937 ac_cpp='$CPP $CPPFLAGS'
17938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17941
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17943 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17944 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17945 $as_echo_n "(cached) " >&6
17946 else
17947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17948 /* end confdefs.h. */
17949
17950 int
17951 main ()
17952 {
17953
17954 #ifndef __SUNPRO_C
17955 choke me
17956 #endif
17957
17958 ;
17959 return 0;
17960 }
17961 _ACEOF
17962 if ac_fn_c_try_compile "$LINENO"; then :
17963 bakefile_cv_c_compiler___SUNPRO_C=yes
17964 else
17965 bakefile_cv_c_compiler___SUNPRO_C=no
17966
17967 fi
17968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17969
17970
17971 fi
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17973 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17974 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17975 :; SUNCC=yes
17976 else
17977 :;
17978 fi
17979 ac_ext=c
17980 ac_cpp='$CPP $CPPFLAGS'
17981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17984
17985
17986
17987 ;;
17988 esac
17989 fi
17990
17991
17992
17993 ac_ext=c
17994 ac_cpp='$CPP $CPPFLAGS'
17995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17999 $as_echo_n "checking how to run the C preprocessor... " >&6; }
18000 # On Suns, sometimes $CPP names a directory.
18001 if test -n "$CPP" && test -d "$CPP"; then
18002 CPP=
18003 fi
18004 if test -z "$CPP"; then
18005 if ${ac_cv_prog_CPP+:} false; then :
18006 $as_echo_n "(cached) " >&6
18007 else
18008 # Double quotes because CPP needs to be expanded
18009 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18010 do
18011 ac_preproc_ok=false
18012 for ac_c_preproc_warn_flag in '' yes
18013 do
18014 # Use a header file that comes with gcc, so configuring glibc
18015 # with a fresh cross-compiler works.
18016 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18017 # <limits.h> exists even on freestanding compilers.
18018 # On the NeXT, cc -E runs the code through the compiler's parser,
18019 # not just through cpp. "Syntax error" is here to catch this case.
18020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18021 /* end confdefs.h. */
18022 #ifdef __STDC__
18023 # include <limits.h>
18024 #else
18025 # include <assert.h>
18026 #endif
18027 Syntax error
18028 _ACEOF
18029 if ac_fn_c_try_cpp "$LINENO"; then :
18030
18031 else
18032 # Broken: fails on valid input.
18033 continue
18034 fi
18035 rm -f conftest.err conftest.i conftest.$ac_ext
18036
18037 # OK, works on sane cases. Now check whether nonexistent headers
18038 # can be detected and how.
18039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18040 /* end confdefs.h. */
18041 #include <ac_nonexistent.h>
18042 _ACEOF
18043 if ac_fn_c_try_cpp "$LINENO"; then :
18044 # Broken: success on invalid input.
18045 continue
18046 else
18047 # Passes both tests.
18048 ac_preproc_ok=:
18049 break
18050 fi
18051 rm -f conftest.err conftest.i conftest.$ac_ext
18052
18053 done
18054 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18055 rm -f conftest.i conftest.err conftest.$ac_ext
18056 if $ac_preproc_ok; then :
18057 break
18058 fi
18059
18060 done
18061 ac_cv_prog_CPP=$CPP
18062
18063 fi
18064 CPP=$ac_cv_prog_CPP
18065 else
18066 ac_cv_prog_CPP=$CPP
18067 fi
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
18069 $as_echo "$CPP" >&6; }
18070 ac_preproc_ok=false
18071 for ac_c_preproc_warn_flag in '' yes
18072 do
18073 # Use a header file that comes with gcc, so configuring glibc
18074 # with a fresh cross-compiler works.
18075 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18076 # <limits.h> exists even on freestanding compilers.
18077 # On the NeXT, cc -E runs the code through the compiler's parser,
18078 # not just through cpp. "Syntax error" is here to catch this case.
18079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18080 /* end confdefs.h. */
18081 #ifdef __STDC__
18082 # include <limits.h>
18083 #else
18084 # include <assert.h>
18085 #endif
18086 Syntax error
18087 _ACEOF
18088 if ac_fn_c_try_cpp "$LINENO"; then :
18089
18090 else
18091 # Broken: fails on valid input.
18092 continue
18093 fi
18094 rm -f conftest.err conftest.i conftest.$ac_ext
18095
18096 # OK, works on sane cases. Now check whether nonexistent headers
18097 # can be detected and how.
18098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18099 /* end confdefs.h. */
18100 #include <ac_nonexistent.h>
18101 _ACEOF
18102 if ac_fn_c_try_cpp "$LINENO"; then :
18103 # Broken: success on invalid input.
18104 continue
18105 else
18106 # Passes both tests.
18107 ac_preproc_ok=:
18108 break
18109 fi
18110 rm -f conftest.err conftest.i conftest.$ac_ext
18111
18112 done
18113 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18114 rm -f conftest.i conftest.err conftest.$ac_ext
18115 if $ac_preproc_ok; then :
18116
18117 else
18118 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18119 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18120 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
18121 See \`config.log' for more details" "$LINENO" 5; }
18122 fi
18123
18124 ac_ext=c
18125 ac_cpp='$CPP $CPPFLAGS'
18126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18129
18130
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
18132 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
18133 if ${ac_cv_path_GREP+:} false; then :
18134 $as_echo_n "(cached) " >&6
18135 else
18136 if test -z "$GREP"; then
18137 ac_path_GREP_found=false
18138 # Loop through the user's path and test for each of PROGNAME-LIST
18139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18140 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18141 do
18142 IFS=$as_save_IFS
18143 test -z "$as_dir" && as_dir=.
18144 for ac_prog in grep ggrep; do
18145 for ac_exec_ext in '' $ac_executable_extensions; do
18146 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18147 as_fn_executable_p "$ac_path_GREP" || continue
18148 # Check for GNU ac_path_GREP and select it if it is found.
18149 # Check for GNU $ac_path_GREP
18150 case `"$ac_path_GREP" --version 2>&1` in
18151 *GNU*)
18152 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18153 *)
18154 ac_count=0
18155 $as_echo_n 0123456789 >"conftest.in"
18156 while :
18157 do
18158 cat "conftest.in" "conftest.in" >"conftest.tmp"
18159 mv "conftest.tmp" "conftest.in"
18160 cp "conftest.in" "conftest.nl"
18161 $as_echo 'GREP' >> "conftest.nl"
18162 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18163 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18164 as_fn_arith $ac_count + 1 && ac_count=$as_val
18165 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18166 # Best one so far, save it but keep looking for a better one
18167 ac_cv_path_GREP="$ac_path_GREP"
18168 ac_path_GREP_max=$ac_count
18169 fi
18170 # 10*(2^10) chars as input seems more than enough
18171 test $ac_count -gt 10 && break
18172 done
18173 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18174 esac
18175
18176 $ac_path_GREP_found && break 3
18177 done
18178 done
18179 done
18180 IFS=$as_save_IFS
18181 if test -z "$ac_cv_path_GREP"; then
18182 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18183 fi
18184 else
18185 ac_cv_path_GREP=$GREP
18186 fi
18187
18188 fi
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
18190 $as_echo "$ac_cv_path_GREP" >&6; }
18191 GREP="$ac_cv_path_GREP"
18192
18193
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18195 $as_echo_n "checking for egrep... " >&6; }
18196 if ${ac_cv_path_EGREP+:} false; then :
18197 $as_echo_n "(cached) " >&6
18198 else
18199 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18200 then ac_cv_path_EGREP="$GREP -E"
18201 else
18202 if test -z "$EGREP"; then
18203 ac_path_EGREP_found=false
18204 # Loop through the user's path and test for each of PROGNAME-LIST
18205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18206 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18207 do
18208 IFS=$as_save_IFS
18209 test -z "$as_dir" && as_dir=.
18210 for ac_prog in egrep; do
18211 for ac_exec_ext in '' $ac_executable_extensions; do
18212 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18213 as_fn_executable_p "$ac_path_EGREP" || continue
18214 # Check for GNU ac_path_EGREP and select it if it is found.
18215 # Check for GNU $ac_path_EGREP
18216 case `"$ac_path_EGREP" --version 2>&1` in
18217 *GNU*)
18218 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18219 *)
18220 ac_count=0
18221 $as_echo_n 0123456789 >"conftest.in"
18222 while :
18223 do
18224 cat "conftest.in" "conftest.in" >"conftest.tmp"
18225 mv "conftest.tmp" "conftest.in"
18226 cp "conftest.in" "conftest.nl"
18227 $as_echo 'EGREP' >> "conftest.nl"
18228 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18229 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18230 as_fn_arith $ac_count + 1 && ac_count=$as_val
18231 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18232 # Best one so far, save it but keep looking for a better one
18233 ac_cv_path_EGREP="$ac_path_EGREP"
18234 ac_path_EGREP_max=$ac_count
18235 fi
18236 # 10*(2^10) chars as input seems more than enough
18237 test $ac_count -gt 10 && break
18238 done
18239 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18240 esac
18241
18242 $ac_path_EGREP_found && break 3
18243 done
18244 done
18245 done
18246 IFS=$as_save_IFS
18247 if test -z "$ac_cv_path_EGREP"; then
18248 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18249 fi
18250 else
18251 ac_cv_path_EGREP=$EGREP
18252 fi
18253
18254 fi
18255 fi
18256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18257 $as_echo "$ac_cv_path_EGREP" >&6; }
18258 EGREP="$ac_cv_path_EGREP"
18259
18260
18261 if test $ac_cv_c_compiler_gnu = yes; then
18262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18263 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18264 if ${ac_cv_prog_gcc_traditional+:} false; then :
18265 $as_echo_n "(cached) " >&6
18266 else
18267 ac_pattern="Autoconf.*'x'"
18268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h. */
18270 #include <sgtty.h>
18271 Autoconf TIOCGETP
18272 _ACEOF
18273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18274 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18275 ac_cv_prog_gcc_traditional=yes
18276 else
18277 ac_cv_prog_gcc_traditional=no
18278 fi
18279 rm -f conftest*
18280
18281
18282 if test $ac_cv_prog_gcc_traditional = no; then
18283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18284 /* end confdefs.h. */
18285 #include <termio.h>
18286 Autoconf TCGETA
18287 _ACEOF
18288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18289 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18290 ac_cv_prog_gcc_traditional=yes
18291 fi
18292 rm -f conftest*
18293
18294 fi
18295 fi
18296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18297 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18298 if test $ac_cv_prog_gcc_traditional = yes; then
18299 CC="$CC -traditional"
18300 fi
18301 fi
18302
18303
18304 CXXFLAGS=${CXXFLAGS:=}
18305 ac_ext=cpp
18306 ac_cpp='$CXXCPP $CPPFLAGS'
18307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18310 if test -z "$CXX"; then
18311 if test -n "$CCC"; then
18312 CXX=$CCC
18313 else
18314 if test -n "$ac_tool_prefix"; then
18315 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18316 do
18317 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18318 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18320 $as_echo_n "checking for $ac_word... " >&6; }
18321 if ${ac_cv_prog_CXX+:} false; then :
18322 $as_echo_n "(cached) " >&6
18323 else
18324 if test -n "$CXX"; then
18325 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18326 else
18327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18328 for as_dir in $PATH
18329 do
18330 IFS=$as_save_IFS
18331 test -z "$as_dir" && as_dir=.
18332 for ac_exec_ext in '' $ac_executable_extensions; do
18333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18334 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18336 break 2
18337 fi
18338 done
18339 done
18340 IFS=$as_save_IFS
18341
18342 fi
18343 fi
18344 CXX=$ac_cv_prog_CXX
18345 if test -n "$CXX"; then
18346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18347 $as_echo "$CXX" >&6; }
18348 else
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18350 $as_echo "no" >&6; }
18351 fi
18352
18353
18354 test -n "$CXX" && break
18355 done
18356 fi
18357 if test -z "$CXX"; then
18358 ac_ct_CXX=$CXX
18359 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18360 do
18361 # Extract the first word of "$ac_prog", so it can be a program name with args.
18362 set dummy $ac_prog; ac_word=$2
18363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18364 $as_echo_n "checking for $ac_word... " >&6; }
18365 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
18366 $as_echo_n "(cached) " >&6
18367 else
18368 if test -n "$ac_ct_CXX"; then
18369 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18370 else
18371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18372 for as_dir in $PATH
18373 do
18374 IFS=$as_save_IFS
18375 test -z "$as_dir" && as_dir=.
18376 for ac_exec_ext in '' $ac_executable_extensions; do
18377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18378 ac_cv_prog_ac_ct_CXX="$ac_prog"
18379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18380 break 2
18381 fi
18382 done
18383 done
18384 IFS=$as_save_IFS
18385
18386 fi
18387 fi
18388 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18389 if test -n "$ac_ct_CXX"; then
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18391 $as_echo "$ac_ct_CXX" >&6; }
18392 else
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18394 $as_echo "no" >&6; }
18395 fi
18396
18397
18398 test -n "$ac_ct_CXX" && break
18399 done
18400
18401 if test "x$ac_ct_CXX" = x; then
18402 CXX="g++"
18403 else
18404 case $cross_compiling:$ac_tool_warned in
18405 yes:)
18406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18408 ac_tool_warned=yes ;;
18409 esac
18410 CXX=$ac_ct_CXX
18411 fi
18412 fi
18413
18414 fi
18415 fi
18416 # Provide some information about the compiler.
18417 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18418 set X $ac_compile
18419 ac_compiler=$2
18420 for ac_option in --version -v -V -qversion; do
18421 { { ac_try="$ac_compiler $ac_option >&5"
18422 case "(($ac_try" in
18423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18424 *) ac_try_echo=$ac_try;;
18425 esac
18426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18427 $as_echo "$ac_try_echo"; } >&5
18428 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18429 ac_status=$?
18430 if test -s conftest.err; then
18431 sed '10a\
18432 ... rest of stderr output deleted ...
18433 10q' conftest.err >conftest.er1
18434 cat conftest.er1 >&5
18435 fi
18436 rm -f conftest.er1 conftest.err
18437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18438 test $ac_status = 0; }
18439 done
18440
18441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18442 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18443 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18444 $as_echo_n "(cached) " >&6
18445 else
18446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18447 /* end confdefs.h. */
18448
18449 int
18450 main ()
18451 {
18452 #ifndef __GNUC__
18453 choke me
18454 #endif
18455
18456 ;
18457 return 0;
18458 }
18459 _ACEOF
18460 if ac_fn_cxx_try_compile "$LINENO"; then :
18461 ac_compiler_gnu=yes
18462 else
18463 ac_compiler_gnu=no
18464 fi
18465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18466 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18467
18468 fi
18469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18470 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18471 if test $ac_compiler_gnu = yes; then
18472 GXX=yes
18473 else
18474 GXX=
18475 fi
18476 ac_test_CXXFLAGS=${CXXFLAGS+set}
18477 ac_save_CXXFLAGS=$CXXFLAGS
18478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18479 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18480 if ${ac_cv_prog_cxx_g+:} false; then :
18481 $as_echo_n "(cached) " >&6
18482 else
18483 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18484 ac_cxx_werror_flag=yes
18485 ac_cv_prog_cxx_g=no
18486 CXXFLAGS="-g"
18487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18488 /* end confdefs.h. */
18489
18490 int
18491 main ()
18492 {
18493
18494 ;
18495 return 0;
18496 }
18497 _ACEOF
18498 if ac_fn_cxx_try_compile "$LINENO"; then :
18499 ac_cv_prog_cxx_g=yes
18500 else
18501 CXXFLAGS=""
18502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18503 /* end confdefs.h. */
18504
18505 int
18506 main ()
18507 {
18508
18509 ;
18510 return 0;
18511 }
18512 _ACEOF
18513 if ac_fn_cxx_try_compile "$LINENO"; then :
18514
18515 else
18516 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18517 CXXFLAGS="-g"
18518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18519 /* end confdefs.h. */
18520
18521 int
18522 main ()
18523 {
18524
18525 ;
18526 return 0;
18527 }
18528 _ACEOF
18529 if ac_fn_cxx_try_compile "$LINENO"; then :
18530 ac_cv_prog_cxx_g=yes
18531 fi
18532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18533 fi
18534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18535 fi
18536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18537 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18538 fi
18539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18540 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18541 if test "$ac_test_CXXFLAGS" = set; then
18542 CXXFLAGS=$ac_save_CXXFLAGS
18543 elif test $ac_cv_prog_cxx_g = yes; then
18544 if test "$GXX" = yes; then
18545 CXXFLAGS="-g -O2"
18546 else
18547 CXXFLAGS="-g"
18548 fi
18549 else
18550 if test "$GXX" = yes; then
18551 CXXFLAGS="-O2"
18552 else
18553 CXXFLAGS=
18554 fi
18555 fi
18556 ac_ext=c
18557 ac_cpp='$CPP $CPPFLAGS'
18558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18561
18562
18563
18564
18565
18566
18567
18568
18569 ac_ext=cpp
18570 ac_cpp='$CXXCPP $CPPFLAGS'
18571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18574
18575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18576 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18577 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18578 $as_echo_n "(cached) " >&6
18579 else
18580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18581 /* end confdefs.h. */
18582
18583 int
18584 main ()
18585 {
18586
18587 #ifndef __INTEL_COMPILER
18588 choke me
18589 #endif
18590
18591 ;
18592 return 0;
18593 }
18594 _ACEOF
18595 if ac_fn_cxx_try_compile "$LINENO"; then :
18596 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18597 else
18598 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18599
18600 fi
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18602
18603
18604 fi
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18606 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18607 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18608 :; INTELCXX=yes
18609 else
18610 :;
18611 fi
18612 ac_ext=c
18613 ac_cpp='$CPP $CPPFLAGS'
18614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18617
18618
18619
18620
18621 if test "$INTELCXX" = "yes"; then
18622
18623
18624 ac_ext=cpp
18625 ac_cpp='$CXXCPP $CPPFLAGS'
18626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18629
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18631 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18632 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18633 $as_echo_n "(cached) " >&6
18634 else
18635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18636 /* end confdefs.h. */
18637
18638 int
18639 main ()
18640 {
18641
18642 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18643 choke me
18644 #endif
18645
18646 ;
18647 return 0;
18648 }
18649 _ACEOF
18650 if ac_fn_cxx_try_compile "$LINENO"; then :
18651 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18652 else
18653 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18654
18655 fi
18656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18657
18658
18659 fi
18660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18661 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18662 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18663 :; INTELCXX8=yes
18664 else
18665 :;
18666 fi
18667 ac_ext=c
18668 ac_cpp='$CPP $CPPFLAGS'
18669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18672
18673
18674
18675
18676
18677 ac_ext=cpp
18678 ac_cpp='$CXXCPP $CPPFLAGS'
18679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18682
18683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18684 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18685 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18686 $as_echo_n "(cached) " >&6
18687 else
18688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18689 /* end confdefs.h. */
18690
18691 int
18692 main ()
18693 {
18694
18695 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18696 choke me
18697 #endif
18698
18699 ;
18700 return 0;
18701 }
18702 _ACEOF
18703 if ac_fn_cxx_try_compile "$LINENO"; then :
18704 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18705 else
18706 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18707
18708 fi
18709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18710
18711
18712 fi
18713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18714 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18715 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18716 :; INTELCXX10=yes
18717 else
18718 :;
18719 fi
18720 ac_ext=c
18721 ac_cpp='$CPP $CPPFLAGS'
18722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18725
18726
18727
18728 fi
18729
18730 if test "x$GCXX" != "xyes"; then
18731 if test "xCXX" = "xC"; then
18732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18733 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18734 if ${bakefile_cv_c_exto+:} false; then :
18735 $as_echo_n "(cached) " >&6
18736 else
18737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18738 /* end confdefs.h. */
18739
18740 int
18741 main ()
18742 {
18743
18744 ;
18745 return 0;
18746 }
18747 _ACEOF
18748 rm -f conftest.$ac_objext conftest.$ac_ext.o
18749 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18750 (eval $ac_compile) 2>&5
18751 ac_status=$?
18752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18753 test $ac_status = 0; }; then :
18754 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18755 case $ac_file in
18756 conftest.$ac_ext.o)
18757 bakefile_cv_c_exto="-ext o"
18758 ;;
18759 *)
18760 ;;
18761 esac
18762 done
18763 else
18764 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18766 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
18767 See \`config.log' for more details" "$LINENO" 5; }
18768
18769 fi
18770 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18771
18772 fi
18773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18774 $as_echo "$bakefile_cv_c_exto" >&6; }
18775 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18776 if test "c" = "c"; then
18777 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18778 fi
18779 if test "c" = "cxx"; then
18780 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18781 fi
18782 fi
18783
18784 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18785 unset ac_cv_prog_cc_g
18786 ac_test_CFLAGS=${CFLAGS+set}
18787 ac_save_CFLAGS=$CFLAGS
18788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18789 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18790 if ${ac_cv_prog_cc_g+:} false; then :
18791 $as_echo_n "(cached) " >&6
18792 else
18793 ac_save_c_werror_flag=$ac_c_werror_flag
18794 ac_c_werror_flag=yes
18795 ac_cv_prog_cc_g=no
18796 CFLAGS="-g"
18797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18798 /* end confdefs.h. */
18799
18800 int
18801 main ()
18802 {
18803
18804 ;
18805 return 0;
18806 }
18807 _ACEOF
18808 if ac_fn_c_try_compile "$LINENO"; then :
18809 ac_cv_prog_cc_g=yes
18810 else
18811 CFLAGS=""
18812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18813 /* end confdefs.h. */
18814
18815 int
18816 main ()
18817 {
18818
18819 ;
18820 return 0;
18821 }
18822 _ACEOF
18823 if ac_fn_c_try_compile "$LINENO"; then :
18824
18825 else
18826 ac_c_werror_flag=$ac_save_c_werror_flag
18827 CFLAGS="-g"
18828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18829 /* end confdefs.h. */
18830
18831 int
18832 main ()
18833 {
18834
18835 ;
18836 return 0;
18837 }
18838 _ACEOF
18839 if ac_fn_c_try_compile "$LINENO"; then :
18840 ac_cv_prog_cc_g=yes
18841 fi
18842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18843 fi
18844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18845 fi
18846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18847 ac_c_werror_flag=$ac_save_c_werror_flag
18848 fi
18849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18850 $as_echo "$ac_cv_prog_cc_g" >&6; }
18851 if test "$ac_test_CFLAGS" = set; then
18852 CFLAGS=$ac_save_CFLAGS
18853 elif test $ac_cv_prog_cc_g = yes; then
18854 if test "$GCC" = yes; then
18855 CFLAGS="-g -O2"
18856 else
18857 CFLAGS="-g"
18858 fi
18859 else
18860 if test "$GCC" = yes; then
18861 CFLAGS="-O2"
18862 else
18863 CFLAGS=
18864 fi
18865 fi
18866 fi
18867 fi
18868
18869 case `uname -s` in
18870 AIX*)
18871
18872
18873 ac_ext=cpp
18874 ac_cpp='$CXXCPP $CPPFLAGS'
18875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18878
18879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18880 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18881 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18882 $as_echo_n "(cached) " >&6
18883 else
18884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18885 /* end confdefs.h. */
18886
18887 int
18888 main ()
18889 {
18890
18891 #ifndef __xlC__
18892 choke me
18893 #endif
18894
18895 ;
18896 return 0;
18897 }
18898 _ACEOF
18899 if ac_fn_cxx_try_compile "$LINENO"; then :
18900 bakefile_cv_cxx_compiler___xlC__=yes
18901 else
18902 bakefile_cv_cxx_compiler___xlC__=no
18903
18904 fi
18905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18906
18907
18908 fi
18909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18910 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18911 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18912 :; XLCXX=yes
18913 else
18914 :;
18915 fi
18916 ac_ext=c
18917 ac_cpp='$CPP $CPPFLAGS'
18918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18921
18922
18923
18924 ;;
18925
18926 Darwin)
18927
18928
18929 ac_ext=cpp
18930 ac_cpp='$CXXCPP $CPPFLAGS'
18931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18934
18935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18936 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18937 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18938 $as_echo_n "(cached) " >&6
18939 else
18940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18941 /* end confdefs.h. */
18942
18943 int
18944 main ()
18945 {
18946
18947 #ifndef __MWERKS__
18948 choke me
18949 #endif
18950
18951 ;
18952 return 0;
18953 }
18954 _ACEOF
18955 if ac_fn_cxx_try_compile "$LINENO"; then :
18956 bakefile_cv_cxx_compiler___MWERKS__=yes
18957 else
18958 bakefile_cv_cxx_compiler___MWERKS__=no
18959
18960 fi
18961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18962
18963
18964 fi
18965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18966 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18967 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18968 :; MWCXX=yes
18969 else
18970 :;
18971 fi
18972 ac_ext=c
18973 ac_cpp='$CPP $CPPFLAGS'
18974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18977
18978
18979
18980 if test "$MWCXX" != "yes"; then
18981
18982
18983 ac_ext=cpp
18984 ac_cpp='$CXXCPP $CPPFLAGS'
18985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18988
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18990 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18991 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18992 $as_echo_n "(cached) " >&6
18993 else
18994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18995 /* end confdefs.h. */
18996
18997 int
18998 main ()
18999 {
19000
19001 #ifndef __xlC__
19002 choke me
19003 #endif
19004
19005 ;
19006 return 0;
19007 }
19008 _ACEOF
19009 if ac_fn_cxx_try_compile "$LINENO"; then :
19010 bakefile_cv_cxx_compiler___xlC__=yes
19011 else
19012 bakefile_cv_cxx_compiler___xlC__=no
19013
19014 fi
19015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19016
19017
19018 fi
19019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19020 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
19021 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19022 :; XLCXX=yes
19023 else
19024 :;
19025 fi
19026 ac_ext=c
19027 ac_cpp='$CPP $CPPFLAGS'
19028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19031
19032
19033
19034 fi
19035 ;;
19036
19037 IRIX*)
19038
19039
19040 ac_ext=cpp
19041 ac_cpp='$CXXCPP $CPPFLAGS'
19042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19045
19046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
19047 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
19048 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
19049 $as_echo_n "(cached) " >&6
19050 else
19051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19052 /* end confdefs.h. */
19053
19054 int
19055 main ()
19056 {
19057
19058 #ifndef _SGI_COMPILER_VERSION
19059 choke me
19060 #endif
19061
19062 ;
19063 return 0;
19064 }
19065 _ACEOF
19066 if ac_fn_cxx_try_compile "$LINENO"; then :
19067 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19068 else
19069 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19070
19071 fi
19072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19073
19074
19075 fi
19076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19077 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19078 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19079 :; SGICXX=yes
19080 else
19081 :;
19082 fi
19083 ac_ext=c
19084 ac_cpp='$CPP $CPPFLAGS'
19085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19088
19089
19090
19091 ;;
19092
19093 Linux*)
19094 if test "$INTELCXX" != "yes"; then
19095
19096
19097 ac_ext=cpp
19098 ac_cpp='$CXXCPP $CPPFLAGS'
19099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19102
19103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19104 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19105 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19106 $as_echo_n "(cached) " >&6
19107 else
19108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19109 /* end confdefs.h. */
19110
19111 int
19112 main ()
19113 {
19114
19115 #ifndef __SUNPRO_CC
19116 choke me
19117 #endif
19118
19119 ;
19120 return 0;
19121 }
19122 _ACEOF
19123 if ac_fn_cxx_try_compile "$LINENO"; then :
19124 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19125 else
19126 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19127
19128 fi
19129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19130
19131
19132 fi
19133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19134 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19135 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19136 :; SUNCXX=yes
19137 else
19138 :;
19139 fi
19140 ac_ext=c
19141 ac_cpp='$CPP $CPPFLAGS'
19142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19145
19146
19147
19148 fi
19149 ;;
19150
19151 HP-UX*)
19152
19153
19154 ac_ext=cpp
19155 ac_cpp='$CXXCPP $CPPFLAGS'
19156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19159
19160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
19161 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
19162 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
19163 $as_echo_n "(cached) " >&6
19164 else
19165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19166 /* end confdefs.h. */
19167
19168 int
19169 main ()
19170 {
19171
19172 #ifndef __HP_aCC
19173 choke me
19174 #endif
19175
19176 ;
19177 return 0;
19178 }
19179 _ACEOF
19180 if ac_fn_cxx_try_compile "$LINENO"; then :
19181 bakefile_cv_cxx_compiler___HP_aCC=yes
19182 else
19183 bakefile_cv_cxx_compiler___HP_aCC=no
19184
19185 fi
19186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19187
19188
19189 fi
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19191 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19192 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19193 :; HPCXX=yes
19194 else
19195 :;
19196 fi
19197 ac_ext=c
19198 ac_cpp='$CPP $CPPFLAGS'
19199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19202
19203
19204
19205 ;;
19206
19207 OSF1)
19208
19209
19210 ac_ext=cpp
19211 ac_cpp='$CXXCPP $CPPFLAGS'
19212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19215
19216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19217 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19218 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19219 $as_echo_n "(cached) " >&6
19220 else
19221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19222 /* end confdefs.h. */
19223
19224 int
19225 main ()
19226 {
19227
19228 #ifndef __DECCXX
19229 choke me
19230 #endif
19231
19232 ;
19233 return 0;
19234 }
19235 _ACEOF
19236 if ac_fn_cxx_try_compile "$LINENO"; then :
19237 bakefile_cv_cxx_compiler___DECCXX=yes
19238 else
19239 bakefile_cv_cxx_compiler___DECCXX=no
19240
19241 fi
19242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19243
19244
19245 fi
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19247 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19248 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19249 :; COMPAQCXX=yes
19250 else
19251 :;
19252 fi
19253 ac_ext=c
19254 ac_cpp='$CPP $CPPFLAGS'
19255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19258
19259
19260
19261 ;;
19262
19263 SunOS)
19264
19265
19266 ac_ext=cpp
19267 ac_cpp='$CXXCPP $CPPFLAGS'
19268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19271
19272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19273 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19274 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19275 $as_echo_n "(cached) " >&6
19276 else
19277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19278 /* end confdefs.h. */
19279
19280 int
19281 main ()
19282 {
19283
19284 #ifndef __SUNPRO_CC
19285 choke me
19286 #endif
19287
19288 ;
19289 return 0;
19290 }
19291 _ACEOF
19292 if ac_fn_cxx_try_compile "$LINENO"; then :
19293 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19294 else
19295 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19296
19297 fi
19298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19299
19300
19301 fi
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19303 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19304 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19305 :; SUNCXX=yes
19306 else
19307 :;
19308 fi
19309 ac_ext=c
19310 ac_cpp='$CPP $CPPFLAGS'
19311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19314
19315
19316
19317 ;;
19318 esac
19319 fi
19320
19321
19322
19323 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19324 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19325 fi
19326
19327 if test "x$SUNCXX" != xyes; then
19328 if test -n "$ac_tool_prefix"; then
19329 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19330 set dummy ${ac_tool_prefix}ar; ac_word=$2
19331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19332 $as_echo_n "checking for $ac_word... " >&6; }
19333 if ${ac_cv_prog_AR+:} false; then :
19334 $as_echo_n "(cached) " >&6
19335 else
19336 if test -n "$AR"; then
19337 ac_cv_prog_AR="$AR" # Let the user override the test.
19338 else
19339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19340 for as_dir in $PATH
19341 do
19342 IFS=$as_save_IFS
19343 test -z "$as_dir" && as_dir=.
19344 for ac_exec_ext in '' $ac_executable_extensions; do
19345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19346 ac_cv_prog_AR="${ac_tool_prefix}ar"
19347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19348 break 2
19349 fi
19350 done
19351 done
19352 IFS=$as_save_IFS
19353
19354 fi
19355 fi
19356 AR=$ac_cv_prog_AR
19357 if test -n "$AR"; then
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19359 $as_echo "$AR" >&6; }
19360 else
19361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19362 $as_echo "no" >&6; }
19363 fi
19364
19365
19366 fi
19367 if test -z "$ac_cv_prog_AR"; then
19368 ac_ct_AR=$AR
19369 # Extract the first word of "ar", so it can be a program name with args.
19370 set dummy ar; ac_word=$2
19371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19372 $as_echo_n "checking for $ac_word... " >&6; }
19373 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19374 $as_echo_n "(cached) " >&6
19375 else
19376 if test -n "$ac_ct_AR"; then
19377 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19378 else
19379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19380 for as_dir in $PATH
19381 do
19382 IFS=$as_save_IFS
19383 test -z "$as_dir" && as_dir=.
19384 for ac_exec_ext in '' $ac_executable_extensions; do
19385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19386 ac_cv_prog_ac_ct_AR="ar"
19387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19388 break 2
19389 fi
19390 done
19391 done
19392 IFS=$as_save_IFS
19393
19394 fi
19395 fi
19396 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19397 if test -n "$ac_ct_AR"; then
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19399 $as_echo "$ac_ct_AR" >&6; }
19400 else
19401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19402 $as_echo "no" >&6; }
19403 fi
19404
19405 if test "x$ac_ct_AR" = x; then
19406 AR=""
19407 else
19408 case $cross_compiling:$ac_tool_warned in
19409 yes:)
19410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19411 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19412 ac_tool_warned=yes ;;
19413 esac
19414 AR=$ac_ct_AR
19415 fi
19416 else
19417 AR="$ac_cv_prog_AR"
19418 fi
19419
19420 if test "x$AR" = "x" ; then
19421 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19422 fi
19423 fi
19424
19425
19426 if test "$wxUSE_MAC" = 1; then
19427
19428 retest_macosx_linking=no
19429
19430 OSX_ARCH_OPTS=""
19431
19432 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19433 if test "x$wxUSE_MAC_ARCH" != xno; then
19434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19435 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19436 fi
19437
19438 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19439 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19440 else OSX_ARCH_OPTS="ppc,i386"
19441 if test "$wxUSE_OSX_COCOA" = 1; then
19442 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19443 fi
19444 fi
19445
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19447 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19449 $as_echo "$OSX_ARCH_OPTS" >&6; }
19450
19451 retest_macosx_linking=yes
19452 else
19453 if test "x$wxUSE_MAC_ARCH" != xno; then
19454 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19455 fi
19456 fi
19457
19458 if test "x$OSX_ARCH_OPTS" != "x"; then
19459 if echo $OSX_ARCH_OPTS | grep -q ","; then
19460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19461 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19462 disable_macosx_deps=yes
19463
19464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19465 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19466 bk_use_pch=no
19467 fi
19468
19469 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19470
19471 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19472 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19473 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19474 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19475 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19476 fi
19477
19478 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19479 wxUSE_MACOSX_SDK=
19480 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19481 # TODO: Search for most recent SDK and use it.
19482 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19483 fi
19484
19485
19486 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19488 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19489 if ! test -d "$wxUSE_MACOSX_SDK"; then
19490 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19492 as_fn_error $? "not found
19493 See \`config.log' for more details" "$LINENO" 5; }
19494 else
19495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19496 $as_echo "exists" >&6; }
19497 fi
19498 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19499 retest_macosx_linking=yes
19500 fi
19501
19502 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19503 wxUSE_MACOSX_VERSION_MIN=
19504 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19505 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19507 $as_echo_n "checking SDK deployment version... " >&6; }
19508
19509 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
19510
19511 # If that failed, try again with the new key
19512 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19513
19514 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
19515
19516 fi
19517
19518 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19519 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19521 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19522 else
19523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19524 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19525 wxUSE_MACOSX_VERSION_MIN=
19526 fi
19527 else
19528 wxUSE_MACOSX_VERSION_MIN=
19529 fi
19530 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19531 wxUSE_MACOSX_VERSION_MIN=10.5
19532 fi
19533
19534 if test "x$MACOSX_SDK_OPTS" != "x"; then
19535 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19536 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19537 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19538 retest_macosx_linking=yes
19539 fi
19540
19541 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19542 if test "$wxUSE_OSX_IPHONE" = 1; then
19543 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19544 else
19545 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19546 fi
19547 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19548 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19549 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19550 retest_macosx_linking=yes
19551 fi
19552
19553 if test "x$retest_macosx_linking" = "xyes"; then
19554 ac_ext=c
19555 ac_cpp='$CPP $CPPFLAGS'
19556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19559
19560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19561 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19563 /* end confdefs.h. */
19564
19565 int
19566 main ()
19567 {
19568
19569 ;
19570 return 0;
19571 }
19572 _ACEOF
19573 if ac_fn_c_try_link "$LINENO"; then :
19574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19575 $as_echo "yes" >&6; }
19576 else
19577 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19579 as_fn_error $? "no. Try a different SDK
19580 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19581 fi
19582 rm -f core conftest.err conftest.$ac_objext \
19583 conftest$ac_exeext conftest.$ac_ext
19584 ac_ext=c
19585 ac_cpp='$CPP $CPPFLAGS'
19586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19589
19590
19591 ac_ext=cpp
19592 ac_cpp='$CXXCPP $CPPFLAGS'
19593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19596
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19598 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19600 /* end confdefs.h. */
19601
19602 int
19603 main ()
19604 {
19605
19606 ;
19607 return 0;
19608 }
19609 _ACEOF
19610 if ac_fn_cxx_try_link "$LINENO"; then :
19611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19612 $as_echo "yes" >&6; }
19613 else
19614 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19615 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19616 as_fn_error $? "no. Try a different SDK
19617 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19618 fi
19619 rm -f core conftest.err conftest.$ac_objext \
19620 conftest$ac_exeext conftest.$ac_ext
19621 ac_ext=c
19622 ac_cpp='$CPP $CPPFLAGS'
19623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19626
19627 fi
19628
19629 fi
19630 case "${host}" in
19631
19632 *-*-darwin* )
19633 INSTALL_PROGRAM="cp -fp"
19634 INSTALL_DATA="cp -fp"
19635 ;;
19636 *)
19637 ;;
19638 esac
19639
19640
19641 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19642 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19643
19644
19645 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19646 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19647 fi
19648
19649 if test "x$USE_AIX" = "x1"; then
19650 if test "x$XLCXX" = "xyes"; then
19651 CXXFLAGS="-qunique $CXXFLAGS"
19652 fi
19653
19654 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19655 fi
19656
19657 case "${host}" in
19658 powerpc-*-darwin* )
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19660 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19662 /* end confdefs.h. */
19663
19664 int
19665 main ()
19666 {
19667 #ifndef __POWERPC__
19668 choke me for lack of PowerPC
19669 #endif
19670
19671 ;
19672 return 0;
19673 }
19674 _ACEOF
19675 if ac_fn_c_try_compile "$LINENO"; then :
19676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19677 $as_echo "yes" >&6; }
19678 else
19679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19680 $as_echo "no" >&6; }
19681 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19682
19683
19684 fi
19685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19686 ;;
19687 esac
19688
19689 case "${host}" in
19690 *-*-darwin* )
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19692 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19694 /* end confdefs.h. */
19695 #include <CoreFoundation/CFBase.h>
19696
19697 int
19698 main ()
19699 {
19700
19701 ;
19702 return 0;
19703 }
19704 _ACEOF
19705 if ac_fn_c_try_compile "$LINENO"; then :
19706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19707 $as_echo "yes" >&6; }
19708 else
19709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19710 $as_echo "no" >&6; }
19711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19712 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19714 /* end confdefs.h. */
19715 #define __CF_USE_FRAMEWORK_INCLUDES__
19716 #include <CoreFoundation/CFBase.h>
19717
19718 int
19719 main ()
19720 {
19721
19722 ;
19723 return 0;
19724 }
19725 _ACEOF
19726 if ac_fn_c_try_compile "$LINENO"; then :
19727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19728 $as_echo "yes" >&6; }
19729 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19730 else
19731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19733 as_fn_error $? "no. CoreFoundation not available.
19734 See \`config.log' for more details" "$LINENO" 5; }
19735
19736 fi
19737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19738
19739
19740 fi
19741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19742 ;;
19743 esac
19744
19745 wants_win32=0
19746 doesnt_want_win32=0
19747 case "${host}" in
19748 *-*-cygwin*)
19749 if test "$wxUSE_MSW" = 1 ; then
19750 wants_win32=1
19751 else
19752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19753 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19754 if ${wx_cv_nocygwin+:} false; then :
19755 $as_echo_n "(cached) " >&6
19756 else
19757
19758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19759 /* end confdefs.h. */
19760
19761 int
19762 main ()
19763 {
19764
19765 #ifdef __MINGW32__
19766 choke me
19767 #endif
19768
19769 ;
19770 return 0;
19771 }
19772 _ACEOF
19773 if ac_fn_c_try_compile "$LINENO"; then :
19774 wx_cv_nocygwin=no
19775 else
19776 wx_cv_nocygwin=yes
19777
19778 fi
19779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19780
19781
19782 fi
19783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19784 $as_echo "$wx_cv_nocygwin" >&6; }
19785
19786 if test "$wx_cv_nocygwin" = "yes"; then
19787 wants_win32=1
19788 else
19789 doesnt_want_win32=1
19790 fi
19791 fi
19792 if test "$wants_win32" = 1 ; then
19793 BAKEFILE_FORCE_PLATFORM=win32
19794 fi
19795 ;;
19796 *-*-mingw*)
19797 wants_win32=1
19798 ;;
19799 esac
19800
19801 if test "$wxUSE_WINE" = "yes"; then
19802 wants_win32=1
19803 LDFLAGS_GUI="-mwindows"
19804 fi
19805
19806 if test "$wants_win32" = 1 ; then
19807 USE_UNIX=0
19808 USE_WIN32=1
19809 $as_echo "#define __WIN32__ 1" >>confdefs.h
19810
19811 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19812
19813 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19814
19815 $as_echo "#define STRICT 1" >>confdefs.h
19816
19817 fi
19818 if test "$doesnt_want_win32" = 1 ; then
19819 USE_UNIX=1
19820 USE_WIN32=0
19821 fi
19822
19823 if test "$USE_UNIX" = 1 ; then
19824 wxUSE_UNIX=yes
19825 $as_echo "#define __UNIX__ 1" >>confdefs.h
19826
19827 fi
19828
19829 case "${host}" in
19830 *-pc-os2_emx | *-pc-os2-emx )
19831 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19833 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19834 if ${ac_cv_lib_cExt_drand48+:} false; then :
19835 $as_echo_n "(cached) " >&6
19836 else
19837 ac_check_lib_save_LIBS=$LIBS
19838 LIBS="-lcExt $LIBS"
19839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19840 /* end confdefs.h. */
19841
19842 /* Override any GCC internal prototype to avoid an error.
19843 Use char because int might match the return type of a GCC
19844 builtin and then its argument prototype would still apply. */
19845 #ifdef __cplusplus
19846 extern "C"
19847 #endif
19848 char drand48 ();
19849 int
19850 main ()
19851 {
19852 return drand48 ();
19853 ;
19854 return 0;
19855 }
19856 _ACEOF
19857 if ac_fn_c_try_link "$LINENO"; then :
19858 ac_cv_lib_cExt_drand48=yes
19859 else
19860 ac_cv_lib_cExt_drand48=no
19861 fi
19862 rm -f core conftest.err conftest.$ac_objext \
19863 conftest$ac_exeext conftest.$ac_ext
19864 LIBS=$ac_check_lib_save_LIBS
19865 fi
19866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19867 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19868 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19869 LIBS="$LIBS -lcExt"
19870 fi
19871
19872 fi
19873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19874 $as_echo_n "checking for gcc/libc version... " >&6; }
19875 if ${wx_cv_gccversion+:} false; then :
19876 $as_echo_n "(cached) " >&6
19877 else
19878
19879 if test "$cross_compiling" = yes; then :
19880 wx_cv_gccversion="EMX2"
19881
19882 else
19883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19884 /* end confdefs.h. */
19885
19886 #include <stdio.h>
19887
19888 int main()
19889 {
19890 FILE *f=fopen("conftestval", "w");
19891 if (!f) exit(1);
19892 fprintf(f,
19893 #if (__GNUC__ < 3)
19894 "EMX2"
19895 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19896 "EMX3"
19897 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19898 "Innotek5"
19899 #else
19900 "Innotek6"
19901 #endif
19902 );
19903 exit(0);
19904 }
19905
19906 _ACEOF
19907 if ac_fn_c_try_run "$LINENO"; then :
19908 wx_cv_gccversion=`cat conftestval`
19909 else
19910 wx_cv_gccversion="EMX2"
19911 fi
19912 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19913 conftest.$ac_objext conftest.beam conftest.$ac_ext
19914 fi
19915
19916
19917 fi
19918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19919 $as_echo "$wx_cv_gccversion" >&6; }
19920 if test "$wx_cv_gccversion" = "EMX2"; then
19921 LIBS="$LIBS -lstdcpp"
19922 LDFLAGS="$LDFLAGS -Zsysv-signals"
19923 else
19924 if test "$wx_cv_gccversion" = "EMX3"; then
19925 LIBS="$LIBS -lstdcxx -lgcc"
19926 LDFLAGS="$LDFLAGS -Zsysv-signals"
19927 else
19928 LIBS="$LIBS -lstdc++"
19929 fi
19930 fi
19931 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19933 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19934 wxUSE_OMF=yes
19935 enable_omf=yes
19936 fi
19937 ;;
19938 esac
19939
19940
19941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19942 $as_echo_n "checking for ANSI C header files... " >&6; }
19943 if ${ac_cv_header_stdc+:} false; then :
19944 $as_echo_n "(cached) " >&6
19945 else
19946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19947 /* end confdefs.h. */
19948 #include <stdlib.h>
19949 #include <stdarg.h>
19950 #include <string.h>
19951 #include <float.h>
19952
19953 int
19954 main ()
19955 {
19956
19957 ;
19958 return 0;
19959 }
19960 _ACEOF
19961 if ac_fn_c_try_compile "$LINENO"; then :
19962 ac_cv_header_stdc=yes
19963 else
19964 ac_cv_header_stdc=no
19965 fi
19966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19967
19968 if test $ac_cv_header_stdc = yes; then
19969 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19971 /* end confdefs.h. */
19972 #include <string.h>
19973
19974 _ACEOF
19975 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19976 $EGREP "memchr" >/dev/null 2>&1; then :
19977
19978 else
19979 ac_cv_header_stdc=no
19980 fi
19981 rm -f conftest*
19982
19983 fi
19984
19985 if test $ac_cv_header_stdc = yes; then
19986 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19988 /* end confdefs.h. */
19989 #include <stdlib.h>
19990
19991 _ACEOF
19992 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19993 $EGREP "free" >/dev/null 2>&1; then :
19994
19995 else
19996 ac_cv_header_stdc=no
19997 fi
19998 rm -f conftest*
19999
20000 fi
20001
20002 if test $ac_cv_header_stdc = yes; then
20003 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20004 if test "$cross_compiling" = yes; then :
20005 :
20006 else
20007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20008 /* end confdefs.h. */
20009 #include <ctype.h>
20010 #include <stdlib.h>
20011 #if ((' ' & 0x0FF) == 0x020)
20012 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20013 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20014 #else
20015 # define ISLOWER(c) \
20016 (('a' <= (c) && (c) <= 'i') \
20017 || ('j' <= (c) && (c) <= 'r') \
20018 || ('s' <= (c) && (c) <= 'z'))
20019 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20020 #endif
20021
20022 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20023 int
20024 main ()
20025 {
20026 int i;
20027 for (i = 0; i < 256; i++)
20028 if (XOR (islower (i), ISLOWER (i))
20029 || toupper (i) != TOUPPER (i))
20030 return 2;
20031 return 0;
20032 }
20033 _ACEOF
20034 if ac_fn_c_try_run "$LINENO"; then :
20035
20036 else
20037 ac_cv_header_stdc=no
20038 fi
20039 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20040 conftest.$ac_objext conftest.beam conftest.$ac_ext
20041 fi
20042
20043 fi
20044 fi
20045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20046 $as_echo "$ac_cv_header_stdc" >&6; }
20047 if test $ac_cv_header_stdc = yes; then
20048
20049 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20050
20051 fi
20052
20053 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20054 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20055 inttypes.h stdint.h unistd.h
20056 do :
20057 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20058 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20059 "
20060 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20061 cat >>confdefs.h <<_ACEOF
20062 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20063 _ACEOF
20064
20065 fi
20066
20067 done
20068
20069
20070 for ac_header in langinfo.h wchar.h
20071 do :
20072 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20073 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20074 "
20075 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20076 cat >>confdefs.h <<_ACEOF
20077 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20078 _ACEOF
20079
20080 fi
20081
20082 done
20083
20084
20085 if test "$ac_cv_header_wchar_h" != "yes"; then
20086 for ac_header in wcstr.h
20087 do :
20088 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20089 "
20090 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20091 cat >>confdefs.h <<_ACEOF
20092 #define HAVE_WCSTR_H 1
20093 _ACEOF
20094
20095 fi
20096
20097 done
20098
20099 fi
20100
20101 case "${host}" in
20102 *-pc-os2_emx | *-pc-os2-emx )
20103 if test $ac_cv_header_langinfo_h = "yes" \
20104 -a \( "$wx_cv_gccversion" = "EMX2" \
20105 -o "$wx_cv_gccversion" = "EMX3" \
20106 -o "$wx_cv_gccversion" = "Innotek5" \); then
20107 LIBS="$LIBS -lintl"
20108 fi
20109 ;;
20110 esac
20111
20112 if test "$USE_UNIX" = 1 ; then
20113 for ac_header in sys/select.h
20114 do :
20115 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20116 "
20117 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20118 cat >>confdefs.h <<_ACEOF
20119 #define HAVE_SYS_SELECT_H 1
20120 _ACEOF
20121
20122 fi
20123
20124 done
20125
20126
20127 ac_ext=cpp
20128 ac_cpp='$CXXCPP $CPPFLAGS'
20129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20132
20133 for ac_header in cxxabi.h
20134 do :
20135 ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default
20136 "
20137 if test "x$ac_cv_header_cxxabi_h" = xyes; then :
20138 cat >>confdefs.h <<_ACEOF
20139 #define HAVE_CXXABI_H 1
20140 _ACEOF
20141
20142 fi
20143
20144 done
20145
20146 ac_ext=c
20147 ac_cpp='$CPP $CPPFLAGS'
20148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20151
20152 fi
20153
20154
20155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20156 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20157 if ${ac_cv_c_const+:} false; then :
20158 $as_echo_n "(cached) " >&6
20159 else
20160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20161 /* end confdefs.h. */
20162
20163 int
20164 main ()
20165 {
20166
20167 #ifndef __cplusplus
20168 /* Ultrix mips cc rejects this sort of thing. */
20169 typedef int charset[2];
20170 const charset cs = { 0, 0 };
20171 /* SunOS 4.1.1 cc rejects this. */
20172 char const *const *pcpcc;
20173 char **ppc;
20174 /* NEC SVR4.0.2 mips cc rejects this. */
20175 struct point {int x, y;};
20176 static struct point const zero = {0,0};
20177 /* AIX XL C 1.02.0.0 rejects this.
20178 It does not let you subtract one const X* pointer from another in
20179 an arm of an if-expression whose if-part is not a constant
20180 expression */
20181 const char *g = "string";
20182 pcpcc = &g + (g ? g-g : 0);
20183 /* HPUX 7.0 cc rejects these. */
20184 ++pcpcc;
20185 ppc = (char**) pcpcc;
20186 pcpcc = (char const *const *) ppc;
20187 { /* SCO 3.2v4 cc rejects this sort of thing. */
20188 char tx;
20189 char *t = &tx;
20190 char const *s = 0 ? (char *) 0 : (char const *) 0;
20191
20192 *t++ = 0;
20193 if (s) return 0;
20194 }
20195 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20196 int x[] = {25, 17};
20197 const int *foo = &x[0];
20198 ++foo;
20199 }
20200 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20201 typedef const int *iptr;
20202 iptr p = 0;
20203 ++p;
20204 }
20205 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20206 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20207 struct s { int j; const int *ap[3]; } bx;
20208 struct s *b = &bx; b->j = 5;
20209 }
20210 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20211 const int foo = 10;
20212 if (!foo) return 0;
20213 }
20214 return !cs[0] && !zero.x;
20215 #endif
20216
20217 ;
20218 return 0;
20219 }
20220 _ACEOF
20221 if ac_fn_c_try_compile "$LINENO"; then :
20222 ac_cv_c_const=yes
20223 else
20224 ac_cv_c_const=no
20225 fi
20226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20227 fi
20228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20229 $as_echo "$ac_cv_c_const" >&6; }
20230 if test $ac_cv_c_const = no; then
20231
20232 $as_echo "#define const /**/" >>confdefs.h
20233
20234 fi
20235
20236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20237 $as_echo_n "checking for inline... " >&6; }
20238 if ${ac_cv_c_inline+:} false; then :
20239 $as_echo_n "(cached) " >&6
20240 else
20241 ac_cv_c_inline=no
20242 for ac_kw in inline __inline__ __inline; do
20243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20244 /* end confdefs.h. */
20245 #ifndef __cplusplus
20246 typedef int foo_t;
20247 static $ac_kw foo_t static_foo () {return 0; }
20248 $ac_kw foo_t foo () {return 0; }
20249 #endif
20250
20251 _ACEOF
20252 if ac_fn_c_try_compile "$LINENO"; then :
20253 ac_cv_c_inline=$ac_kw
20254 fi
20255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20256 test "$ac_cv_c_inline" != no && break
20257 done
20258
20259 fi
20260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20261 $as_echo "$ac_cv_c_inline" >&6; }
20262
20263 case $ac_cv_c_inline in
20264 inline | yes) ;;
20265 *)
20266 case $ac_cv_c_inline in
20267 no) ac_val=;;
20268 *) ac_val=$ac_cv_c_inline;;
20269 esac
20270 cat >>confdefs.h <<_ACEOF
20271 #ifndef __cplusplus
20272 #define inline $ac_val
20273 #endif
20274 _ACEOF
20275 ;;
20276 esac
20277
20278
20279 # The cast to long int works around a bug in the HP C Compiler
20280 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20281 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20282 # This bug is HP SR number 8606223364.
20283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20284 $as_echo_n "checking size of short... " >&6; }
20285 if ${ac_cv_sizeof_short+:} false; then :
20286 $as_echo_n "(cached) " >&6
20287 else
20288 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20289
20290 else
20291 if test "$ac_cv_type_short" = yes; then
20292 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20294 as_fn_error 77 "cannot compute sizeof (short)
20295 See \`config.log' for more details" "$LINENO" 5; }
20296 else
20297 ac_cv_sizeof_short=0
20298 fi
20299 fi
20300
20301 fi
20302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20303 $as_echo "$ac_cv_sizeof_short" >&6; }
20304
20305
20306
20307 cat >>confdefs.h <<_ACEOF
20308 #define SIZEOF_SHORT $ac_cv_sizeof_short
20309 _ACEOF
20310
20311
20312 # The cast to long int works around a bug in the HP C Compiler
20313 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20314 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20315 # This bug is HP SR number 8606223364.
20316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20317 $as_echo_n "checking size of void *... " >&6; }
20318 if ${ac_cv_sizeof_void_p+:} false; then :
20319 $as_echo_n "(cached) " >&6
20320 else
20321 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20322
20323 else
20324 if test "$ac_cv_type_void_p" = yes; then
20325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20327 as_fn_error 77 "cannot compute sizeof (void *)
20328 See \`config.log' for more details" "$LINENO" 5; }
20329 else
20330 ac_cv_sizeof_void_p=0
20331 fi
20332 fi
20333
20334 fi
20335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20336 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20337
20338
20339
20340 cat >>confdefs.h <<_ACEOF
20341 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20342 _ACEOF
20343
20344
20345 # The cast to long int works around a bug in the HP C Compiler
20346 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20347 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20348 # This bug is HP SR number 8606223364.
20349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20350 $as_echo_n "checking size of int... " >&6; }
20351 if ${ac_cv_sizeof_int+:} false; then :
20352 $as_echo_n "(cached) " >&6
20353 else
20354 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20355
20356 else
20357 if test "$ac_cv_type_int" = yes; then
20358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20360 as_fn_error 77 "cannot compute sizeof (int)
20361 See \`config.log' for more details" "$LINENO" 5; }
20362 else
20363 ac_cv_sizeof_int=0
20364 fi
20365 fi
20366
20367 fi
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20369 $as_echo "$ac_cv_sizeof_int" >&6; }
20370
20371
20372
20373 cat >>confdefs.h <<_ACEOF
20374 #define SIZEOF_INT $ac_cv_sizeof_int
20375 _ACEOF
20376
20377
20378 # The cast to long int works around a bug in the HP C Compiler
20379 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20380 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20381 # This bug is HP SR number 8606223364.
20382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20383 $as_echo_n "checking size of long... " >&6; }
20384 if ${ac_cv_sizeof_long+:} false; then :
20385 $as_echo_n "(cached) " >&6
20386 else
20387 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20388
20389 else
20390 if test "$ac_cv_type_long" = yes; then
20391 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20393 as_fn_error 77 "cannot compute sizeof (long)
20394 See \`config.log' for more details" "$LINENO" 5; }
20395 else
20396 ac_cv_sizeof_long=0
20397 fi
20398 fi
20399
20400 fi
20401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20402 $as_echo "$ac_cv_sizeof_long" >&6; }
20403
20404
20405
20406 cat >>confdefs.h <<_ACEOF
20407 #define SIZEOF_LONG $ac_cv_sizeof_long
20408 _ACEOF
20409
20410
20411 # The cast to long int works around a bug in the HP C Compiler
20412 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20413 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20414 # This bug is HP SR number 8606223364.
20415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20416 $as_echo_n "checking size of size_t... " >&6; }
20417 if ${ac_cv_sizeof_size_t+:} false; then :
20418 $as_echo_n "(cached) " >&6
20419 else
20420 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20421
20422 else
20423 if test "$ac_cv_type_size_t" = yes; then
20424 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20426 as_fn_error 77 "cannot compute sizeof (size_t)
20427 See \`config.log' for more details" "$LINENO" 5; }
20428 else
20429 ac_cv_sizeof_size_t=0
20430 fi
20431 fi
20432
20433 fi
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20435 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20436
20437
20438
20439 cat >>confdefs.h <<_ACEOF
20440 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20441 _ACEOF
20442
20443
20444
20445 case "${host}" in
20446 arm-*-linux* )
20447 # The cast to long int works around a bug in the HP C Compiler
20448 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20449 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20450 # This bug is HP SR number 8606223364.
20451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20452 $as_echo_n "checking size of long long... " >&6; }
20453 if ${ac_cv_sizeof_long_long+:} false; then :
20454 $as_echo_n "(cached) " >&6
20455 else
20456 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20457
20458 else
20459 if test "$ac_cv_type_long_long" = yes; then
20460 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20461 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20462 as_fn_error 77 "cannot compute sizeof (long long)
20463 See \`config.log' for more details" "$LINENO" 5; }
20464 else
20465 ac_cv_sizeof_long_long=0
20466 fi
20467 fi
20468
20469 fi
20470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20471 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20472
20473
20474
20475 cat >>confdefs.h <<_ACEOF
20476 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20477 _ACEOF
20478
20479
20480 ;;
20481 *-hp-hpux* )
20482 # The cast to long int works around a bug in the HP C Compiler
20483 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20484 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20485 # This bug is HP SR number 8606223364.
20486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20487 $as_echo_n "checking size of long long... " >&6; }
20488 if ${ac_cv_sizeof_long_long+:} false; then :
20489 $as_echo_n "(cached) " >&6
20490 else
20491 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20492
20493 else
20494 if test "$ac_cv_type_long_long" = yes; then
20495 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20497 as_fn_error 77 "cannot compute sizeof (long long)
20498 See \`config.log' for more details" "$LINENO" 5; }
20499 else
20500 ac_cv_sizeof_long_long=0
20501 fi
20502 fi
20503
20504 fi
20505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20506 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20507
20508
20509
20510 cat >>confdefs.h <<_ACEOF
20511 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20512 _ACEOF
20513
20514
20515 if test "$ac_cv_sizeof_long_long" != 0; then
20516 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20517 fi
20518 ;;
20519 * )
20520 # The cast to long int works around a bug in the HP C Compiler
20521 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20522 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20523 # This bug is HP SR number 8606223364.
20524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20525 $as_echo_n "checking size of long long... " >&6; }
20526 if ${ac_cv_sizeof_long_long+:} false; then :
20527 $as_echo_n "(cached) " >&6
20528 else
20529 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20530
20531 else
20532 if test "$ac_cv_type_long_long" = yes; then
20533 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20535 as_fn_error 77 "cannot compute sizeof (long long)
20536 See \`config.log' for more details" "$LINENO" 5; }
20537 else
20538 ac_cv_sizeof_long_long=0
20539 fi
20540 fi
20541
20542 fi
20543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20544 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20545
20546
20547
20548 cat >>confdefs.h <<_ACEOF
20549 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20550 _ACEOF
20551
20552
20553 esac
20554
20555 # The cast to long int works around a bug in the HP C Compiler
20556 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20557 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20558 # This bug is HP SR number 8606223364.
20559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20560 $as_echo_n "checking size of wchar_t... " >&6; }
20561 if ${ac_cv_sizeof_wchar_t+:} false; then :
20562 $as_echo_n "(cached) " >&6
20563 else
20564 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20565 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20566 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20567 # error \"fake wchar_t\"
20568 #endif
20569 #ifdef HAVE_WCHAR_H
20570 # ifdef __CYGWIN__
20571 # include <stddef.h>
20572 # endif
20573 # include <wchar.h>
20574 #endif
20575 #ifdef HAVE_STDLIB_H
20576 # include <stdlib.h>
20577 #endif
20578 #include <stdio.h>
20579
20580
20581 "; then :
20582
20583 else
20584 if test "$ac_cv_type_wchar_t" = yes; then
20585 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20587 as_fn_error 77 "cannot compute sizeof (wchar_t)
20588 See \`config.log' for more details" "$LINENO" 5; }
20589 else
20590 ac_cv_sizeof_wchar_t=0
20591 fi
20592 fi
20593
20594 fi
20595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20596 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20597
20598
20599
20600 cat >>confdefs.h <<_ACEOF
20601 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20602 _ACEOF
20603
20604
20605 if test "$ac_cv_sizeof_wchar_t" = 0; then
20606 as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
20607 fi
20608 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20609
20610
20611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20612 $as_echo_n "checking for va_copy... " >&6; }
20613 if ${wx_cv_func_va_copy+:} false; then :
20614 $as_echo_n "(cached) " >&6
20615 else
20616
20617 ac_ext=cpp
20618 ac_cpp='$CXXCPP $CPPFLAGS'
20619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20622
20623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20624 /* end confdefs.h. */
20625
20626
20627 #include <stdarg.h>
20628 void foo(char *f, ...)
20629 {
20630 va_list ap1, ap2;
20631 va_start(ap1, f);
20632 va_copy(ap2, ap1);
20633 va_end(ap2);
20634 va_end(ap1);
20635 }
20636 int main()
20637 {
20638 foo("hi", 17);
20639 return 0;
20640 }
20641
20642 _ACEOF
20643 if ac_fn_cxx_try_link "$LINENO"; then :
20644 wx_cv_func_va_copy=yes
20645 else
20646 wx_cv_func_va_copy=no
20647
20648 fi
20649 rm -f core conftest.err conftest.$ac_objext \
20650 conftest$ac_exeext conftest.$ac_ext
20651 ac_ext=c
20652 ac_cpp='$CPP $CPPFLAGS'
20653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20656
20657
20658
20659 fi
20660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20661 $as_echo "$wx_cv_func_va_copy" >&6; }
20662
20663 if test $wx_cv_func_va_copy = "yes"; then
20664 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20665
20666 else
20667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20668 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20669 if ${wx_cv_type_va_list_lvalue+:} false; then :
20670 $as_echo_n "(cached) " >&6
20671 else
20672
20673 if test "$cross_compiling" = yes; then :
20674 wx_cv_type_va_list_lvalue=yes
20675
20676 else
20677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20678 /* end confdefs.h. */
20679
20680
20681 #include <stdarg.h>
20682 int foo(char *f, ...)
20683 {
20684 va_list ap1, ap2;
20685 va_start(ap1, f);
20686 ap2 = ap1;
20687 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20688 return 1;
20689 va_end(ap2);
20690 va_end(ap1);
20691 return 0;
20692 }
20693 int main()
20694 {
20695 return foo("hi", 17);
20696 }
20697
20698 _ACEOF
20699 if ac_fn_c_try_run "$LINENO"; then :
20700 wx_cv_type_va_list_lvalue=yes
20701 else
20702 wx_cv_type_va_list_lvalue=no
20703 fi
20704 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20705 conftest.$ac_objext conftest.beam conftest.$ac_ext
20706 fi
20707
20708
20709
20710 fi
20711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20712 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20713
20714 if test $wx_cv_type_va_list_lvalue != "yes"; then
20715 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20716
20717 fi
20718 fi
20719
20720 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20721
20722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20723 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20724 if ${wx_cv_have_variadic_macros+:} false; then :
20725 $as_echo_n "(cached) " >&6
20726 else
20727
20728 ac_ext=cpp
20729 ac_cpp='$CXXCPP $CPPFLAGS'
20730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20733
20734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20735 /* end confdefs.h. */
20736
20737
20738 #include <stdio.h>
20739 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20740
20741 int
20742 main ()
20743 {
20744
20745 test("%s %d %p", "test", 1, 0);
20746
20747
20748 ;
20749 return 0;
20750 }
20751 _ACEOF
20752 if ac_fn_cxx_try_compile "$LINENO"; then :
20753 wx_cv_have_variadic_macros=yes
20754 else
20755 wx_cv_have_variadic_macros=no
20756
20757 fi
20758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20759 ac_ext=c
20760 ac_cpp='$CPP $CPPFLAGS'
20761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20764
20765
20766
20767 fi
20768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20769 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20770
20771 if test $wx_cv_have_variadic_macros = "yes"; then
20772 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20773
20774 fi
20775
20776 else
20777 $as_echo "#define wxNO_VARIADIC_MACROS 1" >>confdefs.h
20778
20779 fi
20780
20781 LARGEFILE_CPPFLAGS=
20782 # Check whether --enable-largefile was given.
20783 if test "${enable_largefile+set}" = set; then :
20784 enableval=$enable_largefile;
20785 fi
20786
20787 if test "$enable_largefile" != no; then
20788 wx_largefile=no
20789
20790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20791 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20792 if ${ac_cv_sys_file_offset_bits+:} false; then :
20793 $as_echo_n "(cached) " >&6
20794 else
20795
20796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20797 /* end confdefs.h. */
20798 #define _FILE_OFFSET_BITS 64
20799 #include <sys/types.h>
20800 int
20801 main ()
20802 {
20803 typedef struct {
20804 unsigned int field: sizeof(off_t) == 8;
20805 } wxlf;
20806
20807 ;
20808 return 0;
20809 }
20810 _ACEOF
20811 if ac_fn_c_try_compile "$LINENO"; then :
20812 ac_cv_sys_file_offset_bits=64
20813 else
20814 ac_cv_sys_file_offset_bits=no
20815 fi
20816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20817
20818
20819 fi
20820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20821 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20822
20823 if test "$ac_cv_sys_file_offset_bits" != no; then
20824 wx_largefile=yes
20825 cat >>confdefs.h <<_ACEOF
20826 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20827 _ACEOF
20828
20829 fi
20830
20831 if test "x$wx_largefile" != "xyes"; then
20832
20833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20834 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20835 if ${ac_cv_sys_large_files+:} false; then :
20836 $as_echo_n "(cached) " >&6
20837 else
20838
20839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20840 /* end confdefs.h. */
20841 #define _LARGE_FILES 1
20842 #include <sys/types.h>
20843 int
20844 main ()
20845 {
20846 typedef struct {
20847 unsigned int field: sizeof(off_t) == 8;
20848 } wxlf;
20849
20850 ;
20851 return 0;
20852 }
20853 _ACEOF
20854 if ac_fn_c_try_compile "$LINENO"; then :
20855 ac_cv_sys_large_files=1
20856 else
20857 ac_cv_sys_large_files=no
20858 fi
20859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20860
20861
20862 fi
20863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20864 $as_echo "$ac_cv_sys_large_files" >&6; }
20865
20866 if test "$ac_cv_sys_large_files" != no; then
20867 wx_largefile=yes
20868 cat >>confdefs.h <<_ACEOF
20869 #define _LARGE_FILES $ac_cv_sys_large_files
20870 _ACEOF
20871
20872 fi
20873
20874 fi
20875
20876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20877 $as_echo_n "checking if large file support is available... " >&6; }
20878 if test "x$wx_largefile" = "xyes"; then
20879 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20880
20881 fi
20882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20883 $as_echo "$wx_largefile" >&6; }
20884 fi
20885
20886 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20887 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
20888 elif test "$ac_cv_sys_large_files" = 1; then
20889 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
20890 fi
20891
20892 if test -n "$LARGEFILE_CPPFLAGS"; then
20893 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20894
20895 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20897 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20898 if ${wx_cv_STDC_EXT_required+:} false; then :
20899 $as_echo_n "(cached) " >&6
20900 else
20901
20902 ac_ext=cpp
20903 ac_cpp='$CXXCPP $CPPFLAGS'
20904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20907
20908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20909 /* end confdefs.h. */
20910
20911 int
20912 main ()
20913 {
20914
20915 #ifndef __STDC_EXT__
20916 choke me
20917 #endif
20918
20919 ;
20920 return 0;
20921 }
20922 _ACEOF
20923 if ac_fn_cxx_try_compile "$LINENO"; then :
20924 wx_cv_STDC_EXT_required=no
20925 else
20926 wx_cv_STDC_EXT_required=yes
20927
20928 fi
20929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20930 ac_ext=c
20931 ac_cpp='$CPP $CPPFLAGS'
20932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20935
20936
20937
20938 fi
20939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20940 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20941 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20942 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20943 fi
20944 fi
20945 fi
20946
20947 ac_ext=cpp
20948 ac_cpp='$CXXCPP $CPPFLAGS'
20949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20952
20953 old_CPPFLAGS="$CPPFLAGS"
20954 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20956 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20957 if ${ac_cv_sys_largefile_source+:} false; then :
20958 $as_echo_n "(cached) " >&6
20959 else
20960 while :; do
20961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20962 /* end confdefs.h. */
20963 #include <sys/types.h> /* for off_t */
20964 #include <stdio.h>
20965 int
20966 main ()
20967 {
20968 int (*fp) (FILE *, off_t, int) = fseeko;
20969 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20970 ;
20971 return 0;
20972 }
20973 _ACEOF
20974 if ac_fn_cxx_try_link "$LINENO"; then :
20975 ac_cv_sys_largefile_source=no; break
20976 fi
20977 rm -f core conftest.err conftest.$ac_objext \
20978 conftest$ac_exeext conftest.$ac_ext
20979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20980 /* end confdefs.h. */
20981 #define _LARGEFILE_SOURCE 1
20982 #include <sys/types.h> /* for off_t */
20983 #include <stdio.h>
20984 int
20985 main ()
20986 {
20987 int (*fp) (FILE *, off_t, int) = fseeko;
20988 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20989 ;
20990 return 0;
20991 }
20992 _ACEOF
20993 if ac_fn_cxx_try_link "$LINENO"; then :
20994 ac_cv_sys_largefile_source=1; break
20995 fi
20996 rm -f core conftest.err conftest.$ac_objext \
20997 conftest$ac_exeext conftest.$ac_ext
20998 ac_cv_sys_largefile_source=unknown
20999 break
21000 done
21001 fi
21002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
21003 $as_echo "$ac_cv_sys_largefile_source" >&6; }
21004 case $ac_cv_sys_largefile_source in #(
21005 no | unknown) ;;
21006 *)
21007 cat >>confdefs.h <<_ACEOF
21008 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21009 _ACEOF
21010 ;;
21011 esac
21012 rm -rf conftest*
21013
21014 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21015 # in glibc 2.1.3, but that breaks too many other things.
21016 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21017 if test $ac_cv_sys_largefile_source != unknown; then
21018
21019 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
21020
21021 fi
21022
21023 CPPFLAGS="$old_CPPFLAGS"
21024 ac_ext=c
21025 ac_cpp='$CPP $CPPFLAGS'
21026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21029
21030 if test "$ac_cv_sys_largefile_source" != no; then
21031 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21032 fi
21033
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
21035 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
21036 if ${ac_cv_c_bigendian+:} false; then :
21037 $as_echo_n "(cached) " >&6
21038 else
21039 ac_cv_c_bigendian=unknown
21040 # See if sys/param.h defines the BYTE_ORDER macro.
21041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21042 /* end confdefs.h. */
21043 #include <sys/types.h>
21044 #include <sys/param.h>
21045 int
21046 main ()
21047 {
21048
21049 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21050 bogus endian macros
21051 #endif
21052 ;
21053 return 0;
21054 }
21055 _ACEOF
21056 if ac_fn_c_try_compile "$LINENO"; then :
21057 # It does; now see whether it defined to BIG_ENDIAN or not.
21058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21059 /* end confdefs.h. */
21060 #include <sys/types.h>
21061 #include <sys/param.h>
21062 int
21063 main ()
21064 {
21065
21066 #if BYTE_ORDER != BIG_ENDIAN
21067 not big endian
21068 #endif
21069 ;
21070 return 0;
21071 }
21072 _ACEOF
21073 if ac_fn_c_try_compile "$LINENO"; then :
21074 ac_cv_c_bigendian=yes
21075 else
21076 ac_cv_c_bigendian=no
21077 fi
21078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21079 fi
21080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21081 if test $ac_cv_c_bigendian = unknown; then
21082 if test "$cross_compiling" = yes; then :
21083 ac_cv_c_bigendian=unknown
21084 else
21085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21086 /* end confdefs.h. */
21087 main () {
21088 /* Are we little or big endian? From Harbison&Steele. */
21089 union
21090 {
21091 long l;
21092 char c[sizeof (long)];
21093 } u;
21094 u.l = 1;
21095 exit (u.c[sizeof (long) - 1] == 1);
21096 }
21097 _ACEOF
21098 if ac_fn_c_try_run "$LINENO"; then :
21099 ac_cv_c_bigendian=no
21100 else
21101 ac_cv_c_bigendian=yes
21102 fi
21103 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21104 conftest.$ac_objext conftest.beam conftest.$ac_ext
21105 fi
21106
21107 fi
21108 fi
21109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21110 $as_echo "$ac_cv_c_bigendian" >&6; }
21111 if test $ac_cv_c_bigendian = unknown; then
21112 { $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
21113 $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;}
21114 fi
21115 if test $ac_cv_c_bigendian = yes; then
21116 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21117
21118 fi
21119
21120
21121
21122
21123 ac_ext=cpp
21124 ac_cpp='$CXXCPP $CPPFLAGS'
21125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21128
21129
21130 for ac_header in iostream
21131 do :
21132 ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
21133 "
21134 if test "x$ac_cv_header_iostream" = xyes; then :
21135 cat >>confdefs.h <<_ACEOF
21136 #define HAVE_IOSTREAM 1
21137 _ACEOF
21138
21139 fi
21140
21141 done
21142
21143
21144 if test "$ac_cv_header_iostream" = "yes" ; then
21145 :
21146 else
21147 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21148
21149 fi
21150
21151 ac_ext=c
21152 ac_cpp='$CPP $CPPFLAGS'
21153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21156
21157
21158
21159
21160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21161 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21162 if ${wx_cv_explicit+:} false; then :
21163 $as_echo_n "(cached) " >&6
21164 else
21165
21166
21167 ac_ext=cpp
21168 ac_cpp='$CXXCPP $CPPFLAGS'
21169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21172
21173
21174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21175 /* end confdefs.h. */
21176
21177 class Foo { public: explicit Foo(int) {} };
21178
21179 int
21180 main ()
21181 {
21182
21183 return 0;
21184
21185 ;
21186 return 0;
21187 }
21188 _ACEOF
21189 if ac_fn_cxx_try_compile "$LINENO"; then :
21190
21191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21192 /* end confdefs.h. */
21193
21194 class Foo { public: explicit Foo(int) {} };
21195 static void TakeFoo(const Foo& foo) { }
21196
21197 int
21198 main ()
21199 {
21200
21201 TakeFoo(17);
21202 return 0;
21203
21204 ;
21205 return 0;
21206 }
21207 _ACEOF
21208 if ac_fn_cxx_try_compile "$LINENO"; then :
21209 wx_cv_explicit=no
21210 else
21211 wx_cv_explicit=yes
21212
21213 fi
21214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21215
21216 else
21217 wx_cv_explicit=no
21218
21219 fi
21220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21221
21222 ac_ext=c
21223 ac_cpp='$CPP $CPPFLAGS'
21224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21227
21228
21229 fi
21230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21231 $as_echo "$wx_cv_explicit" >&6; }
21232
21233 if test "$wx_cv_explicit" = "yes"; then
21234 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21235
21236 fi
21237
21238
21239 if test "x$SUNCXX" = xyes; then
21240 CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21241 fi
21242
21243 if test "x$SUNCC" = xyes; then
21244 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21245 fi
21246
21247 if test "x$SGICC" = "xyes"; then
21248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21249 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21250 if ${wx_cv_prog_sgicc744+:} false; then :
21251 $as_echo_n "(cached) " >&6
21252 else
21253
21254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21255 /* end confdefs.h. */
21256
21257 int
21258 main ()
21259 {
21260
21261 #if _SGI_COMPILER_VERSION >= 744
21262 chock me: mipsPro is 7.4.4 or later
21263 #endif
21264
21265 ;
21266 return 0;
21267 }
21268 _ACEOF
21269 if ac_fn_c_try_compile "$LINENO"; then :
21270 wx_cv_prog_sgicc744=no
21271 else
21272 wx_cv_prog_sgicc744=yes
21273
21274 fi
21275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21276
21277
21278 fi
21279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21280 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21281
21282 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21283 CFLAGS="-woff 3970 $CFLAGS"
21284 fi
21285 fi
21286 if test "x$SGICXX" = "xyes"; then
21287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21288 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21289 if ${wx_cv_prog_sgicxx744+:} false; then :
21290 $as_echo_n "(cached) " >&6
21291 else
21292
21293 ac_ext=cpp
21294 ac_cpp='$CXXCPP $CPPFLAGS'
21295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21298
21299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21300 /* end confdefs.h. */
21301
21302 int
21303 main ()
21304 {
21305
21306 #if _SGI_COMPILER_VERSION >= 744
21307 chock me: mipsPro is 7.4.4 or later
21308 #endif
21309
21310 ;
21311 return 0;
21312 }
21313 _ACEOF
21314 if ac_fn_cxx_try_compile "$LINENO"; then :
21315 wx_cv_prog_sgicxx744=no
21316 else
21317 wx_cv_prog_sgicxx744=yes
21318
21319 fi
21320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21321 ac_ext=c
21322 ac_cpp='$CPP $CPPFLAGS'
21323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21326
21327
21328
21329 fi
21330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21331 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21332
21333 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21334 CXXFLAGS="-woff 3970 $CXXFLAGS"
21335 fi
21336 fi
21337
21338 if test "x$HPCC" = "xyes"; then
21339 CFLAGS="+W 2011,2450 $CFLAGS"
21340 fi
21341 if test "x$HPCXX" = "xyes"; then
21342 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
21343 fi
21344
21345 if test "x$COMPAQCXX" = "xyes"; then
21346 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21347 fi
21348
21349 ac_ext=cpp
21350 ac_cpp='$CXXCPP $CPPFLAGS'
21351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21354
21355
21356 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21357 if test "$wxUSE_UNICODE" = "yes"; then
21358 std_string="std::wstring"
21359 char_type="wchar_t"
21360 else
21361 std_string="std::string"
21362 char_type="char"
21363 fi
21364
21365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21366 $as_echo_n "checking for $std_string in <string>... " >&6; }
21367 if ${wx_cv_class_stdstring+:} false; then :
21368 $as_echo_n "(cached) " >&6
21369 else
21370
21371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21372 /* end confdefs.h. */
21373 #include <string>
21374 int
21375 main ()
21376 {
21377 $std_string foo;
21378 ;
21379 return 0;
21380 }
21381 _ACEOF
21382 if ac_fn_cxx_try_compile "$LINENO"; then :
21383 wx_cv_class_stdstring=yes
21384 else
21385 wx_cv_class_stdstring=no
21386
21387 fi
21388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21389
21390
21391 fi
21392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21393 $as_echo "$wx_cv_class_stdstring" >&6; }
21394
21395 if test "$wx_cv_class_stdstring" = yes; then
21396 if test "$wxUSE_UNICODE" = "yes"; then
21397 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21398
21399 fi
21400 else
21401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21402 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21403 if ${wx_cv_class_stdbasicstring+:} false; then :
21404 $as_echo_n "(cached) " >&6
21405 else
21406
21407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21408 /* end confdefs.h. */
21409
21410 #ifdef HAVE_WCHAR_H
21411 # ifdef __CYGWIN__
21412 # include <stddef.h>
21413 # endif
21414 # include <wchar.h>
21415 #endif
21416 #ifdef HAVE_STDLIB_H
21417 # include <stdlib.h>
21418 #endif
21419 #include <stdio.h>
21420 #include <string>
21421
21422 int
21423 main ()
21424 {
21425 std::basic_string<$char_type> foo;
21426 const $char_type* dummy = foo.c_str();
21427 ;
21428 return 0;
21429 }
21430 _ACEOF
21431 if ac_fn_cxx_try_compile "$LINENO"; then :
21432 wx_cv_class_stdbasicstring=yes
21433 else
21434 wx_cv_class_stdbasicstring=no
21435
21436 fi
21437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21438
21439
21440 fi
21441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21442 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21443
21444 if test "$wx_cv_class_stdbasicstring" != yes; then
21445 if test "$wxUSE_STL" = "yes"; then
21446 as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21447 elif test "$wxUSE_STD_STRING" = "yes"; then
21448 as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21449 else
21450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21451 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21452 wxUSE_STD_STRING=no
21453 fi
21454 fi
21455 fi
21456 fi
21457
21458 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21459 ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21460 "
21461 if test "x$ac_cv_type_std__istream" = xyes; then :
21462
21463 cat >>confdefs.h <<_ACEOF
21464 #define HAVE_STD__ISTREAM 1
21465 _ACEOF
21466
21467
21468 else
21469 wxUSE_STD_IOSTREAM=no
21470 fi
21471 ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21472 "
21473 if test "x$ac_cv_type_std__ostream" = xyes; then :
21474
21475 cat >>confdefs.h <<_ACEOF
21476 #define HAVE_STD__OSTREAM 1
21477 _ACEOF
21478
21479
21480 else
21481 wxUSE_STD_IOSTREAM=no
21482 fi
21483
21484
21485 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21486 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21487 as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21488 else
21489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21490 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21491 fi
21492 fi
21493 fi
21494
21495 if test "$wxUSE_STL" = "yes"; then
21496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21497 $as_echo_n "checking for basic STL functionality... " >&6; }
21498 if ${wx_cv_lib_stl+:} false; then :
21499 $as_echo_n "(cached) " >&6
21500 else
21501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21502 /* end confdefs.h. */
21503 #include <string>
21504 #include <functional>
21505 #include <algorithm>
21506 #include <vector>
21507 #include <list>
21508 int
21509 main ()
21510 {
21511 std::vector<int> moo;
21512 std::list<int> foo;
21513 std::vector<int>::iterator it =
21514 std::find_if(moo.begin(), moo.end(),
21515 std::bind2nd(std::less<int>(), 3));
21516 ;
21517 return 0;
21518 }
21519 _ACEOF
21520 if ac_fn_cxx_try_compile "$LINENO"; then :
21521 wx_cv_lib_stl=yes
21522 else
21523 wx_cv_lib_stl=no
21524
21525 fi
21526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21527
21528 fi
21529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21530 $as_echo "$wx_cv_lib_stl" >&6; }
21531
21532 if test "$wx_cv_lib_stl" != yes; then
21533 as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21534 fi
21535
21536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21537 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21538 if ${wx_cv_func_stdstring_compare+:} false; then :
21539 $as_echo_n "(cached) " >&6
21540 else
21541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21542 /* end confdefs.h. */
21543 #include <string>
21544 int
21545 main ()
21546 {
21547 std::string foo, bar;
21548 foo.compare(bar);
21549 foo.compare(1, 1, bar);
21550 foo.compare(1, 1, bar, 1, 1);
21551 foo.compare("");
21552 foo.compare(1, 1, "");
21553 foo.compare(1, 1, "", 2);
21554 ;
21555 return 0;
21556 }
21557 _ACEOF
21558 if ac_fn_cxx_try_compile "$LINENO"; then :
21559 wx_cv_func_stdstring_compare=yes
21560 else
21561 wx_cv_func_stdstring_compare=no
21562
21563 fi
21564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21565
21566 fi
21567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21568 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21569
21570 if test "$wx_cv_func_stdstring_compare" = yes; then
21571 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21572
21573 fi
21574
21575 if test "$wx_cv_class_gnuhashmapset" = yes; then
21576 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21577
21578 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21579
21580 fi
21581
21582 ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21583
21584 "
21585 if test "x$ac_cv_header_unordered_map" = xyes; then :
21586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21587 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21588 if ${wx_cv_class_stdunorderedmapset+:} false; then :
21589 $as_echo_n "(cached) " >&6
21590 else
21591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21592 /* end confdefs.h. */
21593 #include <unordered_map>
21594 #include <unordered_set>
21595 int
21596 main ()
21597 {
21598 std::unordered_map<double*, char*> test1;
21599 std::unordered_set<char*> test2;
21600 ;
21601 return 0;
21602 }
21603 _ACEOF
21604 if ac_fn_cxx_try_compile "$LINENO"; then :
21605 wx_cv_class_stdunorderedmapset=yes
21606 else
21607 wx_cv_class_stdunorderedmapset=no
21608 fi
21609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21610
21611
21612 fi
21613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21614 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21615 fi
21616
21617
21618
21619 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21620 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21621
21622 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21623
21624 else
21625 ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21626
21627 "
21628 if test "x$ac_cv_header_tr1_unordered_map" = xyes; then :
21629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21630 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21631 if ${wx_cv_class_tr1unorderedmapset+:} false; then :
21632 $as_echo_n "(cached) " >&6
21633 else
21634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21635 /* end confdefs.h. */
21636 #include <tr1/unordered_map>
21637 #include <tr1/unordered_set>
21638 int
21639 main ()
21640 {
21641 std::tr1::unordered_map<double*, char*> test1;
21642 std::tr1::unordered_set<char*> test2;
21643 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21644 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21645 #endif
21646 ;
21647 return 0;
21648 }
21649 _ACEOF
21650 if ac_fn_cxx_try_compile "$LINENO"; then :
21651 wx_cv_class_tr1unorderedmapset=yes
21652 else
21653 wx_cv_class_tr1unorderedmapset=no
21654 fi
21655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21656
21657
21658 fi
21659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21660 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21661 fi
21662
21663
21664
21665 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21666 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21667
21668 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21669
21670 else
21671 ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
21672
21673 "
21674 if test "x$ac_cv_header_hash_map" = xyes; then :
21675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21676 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21677 if ${wx_cv_class_stdhashmapset+:} false; then :
21678 $as_echo_n "(cached) " >&6
21679 else
21680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21681 /* end confdefs.h. */
21682 #include <hash_map>
21683 #include <hash_set>
21684 int
21685 main ()
21686 {
21687 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21688 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21689 ;
21690 return 0;
21691 }
21692 _ACEOF
21693 if ac_fn_cxx_try_compile "$LINENO"; then :
21694 wx_cv_class_stdhashmapset=yes
21695 else
21696 wx_cv_class_stdhashmapset=no
21697 fi
21698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21699
21700
21701 fi
21702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21703 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21704 fi
21705
21706
21707
21708 if test "$wx_cv_class_stdhashmapset" = yes; then
21709 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21710
21711 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21712
21713 fi
21714
21715 ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21716
21717 "
21718 if test "x$ac_cv_header_ext_hash_map" = xyes; then :
21719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21720 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21721 if ${wx_cv_class_gnuhashmapset+:} false; then :
21722 $as_echo_n "(cached) " >&6
21723 else
21724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21725 /* end confdefs.h. */
21726 #include <ext/hash_map>
21727 #include <ext/hash_set>
21728 int
21729 main ()
21730 {
21731 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21732 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21733 ;
21734 return 0;
21735 }
21736 _ACEOF
21737 if ac_fn_cxx_try_compile "$LINENO"; then :
21738 wx_cv_class_gnuhashmapset=yes
21739 else
21740 wx_cv_class_gnuhashmapset=no
21741 fi
21742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21743
21744
21745 fi
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21747 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21748 fi
21749
21750
21751
21752 fi
21753 fi
21754 fi
21755
21756 ac_ext=cpp
21757 ac_cpp='$CXXCPP $CPPFLAGS'
21758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21762 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21763 if test -z "$CXXCPP"; then
21764 if ${ac_cv_prog_CXXCPP+:} false; then :
21765 $as_echo_n "(cached) " >&6
21766 else
21767 # Double quotes because CXXCPP needs to be expanded
21768 for CXXCPP in "$CXX -E" "/lib/cpp"
21769 do
21770 ac_preproc_ok=false
21771 for ac_cxx_preproc_warn_flag in '' yes
21772 do
21773 # Use a header file that comes with gcc, so configuring glibc
21774 # with a fresh cross-compiler works.
21775 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21776 # <limits.h> exists even on freestanding compilers.
21777 # On the NeXT, cc -E runs the code through the compiler's parser,
21778 # not just through cpp. "Syntax error" is here to catch this case.
21779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21780 /* end confdefs.h. */
21781 #ifdef __STDC__
21782 # include <limits.h>
21783 #else
21784 # include <assert.h>
21785 #endif
21786 Syntax error
21787 _ACEOF
21788 if ac_fn_cxx_try_cpp "$LINENO"; then :
21789
21790 else
21791 # Broken: fails on valid input.
21792 continue
21793 fi
21794 rm -f conftest.err conftest.i conftest.$ac_ext
21795
21796 # OK, works on sane cases. Now check whether nonexistent headers
21797 # can be detected and how.
21798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21799 /* end confdefs.h. */
21800 #include <ac_nonexistent.h>
21801 _ACEOF
21802 if ac_fn_cxx_try_cpp "$LINENO"; then :
21803 # Broken: success on invalid input.
21804 continue
21805 else
21806 # Passes both tests.
21807 ac_preproc_ok=:
21808 break
21809 fi
21810 rm -f conftest.err conftest.i conftest.$ac_ext
21811
21812 done
21813 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21814 rm -f conftest.i conftest.err conftest.$ac_ext
21815 if $ac_preproc_ok; then :
21816 break
21817 fi
21818
21819 done
21820 ac_cv_prog_CXXCPP=$CXXCPP
21821
21822 fi
21823 CXXCPP=$ac_cv_prog_CXXCPP
21824 else
21825 ac_cv_prog_CXXCPP=$CXXCPP
21826 fi
21827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21828 $as_echo "$CXXCPP" >&6; }
21829 ac_preproc_ok=false
21830 for ac_cxx_preproc_warn_flag in '' yes
21831 do
21832 # Use a header file that comes with gcc, so configuring glibc
21833 # with a fresh cross-compiler works.
21834 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21835 # <limits.h> exists even on freestanding compilers.
21836 # On the NeXT, cc -E runs the code through the compiler's parser,
21837 # not just through cpp. "Syntax error" is here to catch this case.
21838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21839 /* end confdefs.h. */
21840 #ifdef __STDC__
21841 # include <limits.h>
21842 #else
21843 # include <assert.h>
21844 #endif
21845 Syntax error
21846 _ACEOF
21847 if ac_fn_cxx_try_cpp "$LINENO"; then :
21848
21849 else
21850 # Broken: fails on valid input.
21851 continue
21852 fi
21853 rm -f conftest.err conftest.i conftest.$ac_ext
21854
21855 # OK, works on sane cases. Now check whether nonexistent headers
21856 # can be detected and how.
21857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21858 /* end confdefs.h. */
21859 #include <ac_nonexistent.h>
21860 _ACEOF
21861 if ac_fn_cxx_try_cpp "$LINENO"; then :
21862 # Broken: success on invalid input.
21863 continue
21864 else
21865 # Passes both tests.
21866 ac_preproc_ok=:
21867 break
21868 fi
21869 rm -f conftest.err conftest.i conftest.$ac_ext
21870
21871 done
21872 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21873 rm -f conftest.i conftest.err conftest.$ac_ext
21874 if $ac_preproc_ok; then :
21875
21876 else
21877 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21879 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21880 See \`config.log' for more details" "$LINENO" 5; }
21881 fi
21882
21883 ac_ext=cpp
21884 ac_cpp='$CXXCPP $CPPFLAGS'
21885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21888
21889
21890 for ac_header in type_traits tr1/type_traits
21891 do :
21892 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21893 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21894 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21895 cat >>confdefs.h <<_ACEOF
21896 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21897 _ACEOF
21898
21899 fi
21900
21901 done
21902
21903
21904
21905
21906 if test -n "$GCC"; then
21907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21908 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21909 if ${wx_cv_cc_gcc_atomic_builtins+:} false; then :
21910 $as_echo_n "(cached) " >&6
21911 else
21912
21913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21914 /* end confdefs.h. */
21915
21916 int
21917 main ()
21918 {
21919
21920 unsigned int value=0;
21921 /* wxAtomicInc doesn't use return value here */
21922 __sync_fetch_and_add(&value, 2);
21923 __sync_sub_and_fetch(&value, 1);
21924 /* but wxAtomicDec does, so mimic that: */
21925 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21926
21927 ;
21928 return 0;
21929 }
21930 _ACEOF
21931 if ac_fn_cxx_try_link "$LINENO"; then :
21932 wx_cv_cc_gcc_atomic_builtins=yes
21933 else
21934 wx_cv_cc_gcc_atomic_builtins=no
21935 fi
21936 rm -f core conftest.err conftest.$ac_objext \
21937 conftest$ac_exeext conftest.$ac_ext
21938
21939 fi
21940
21941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21942 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21943 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21944 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21945
21946 fi
21947 fi
21948
21949
21950 ac_ext=c
21951 ac_cpp='$CPP $CPPFLAGS'
21952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21955
21956
21957
21958 SEARCH_INCLUDE="\
21959 /usr/local/include \
21960 /usr/local/X11/include \
21961 /usr/local/include/X11 \
21962 /usr/local/X11R7/include \
21963 /usr/local/X11R6/include \
21964 /usr/local/include/X11R7 \
21965 /usr/local/include/X11R6 \
21966 \
21967 /usr/Motif-2.1/include \
21968 /usr/Motif-1.2/include \
21969 /usr/include/Motif1.2 \
21970 \
21971 /usr/dt/include \
21972 /usr/openwin/include \
21973 \
21974 /usr/include/Xm \
21975 \
21976 /usr/X11R7/include \
21977 /usr/X11R6/include \
21978 /usr/X11R6.4/include \
21979 \
21980 /usr/include/X11R7 \
21981 /usr/include/X11R6 \
21982 \
21983 /usr/X11/include \
21984 /usr/include/X11 \
21985 \
21986 /usr/XFree86/include/X11 \
21987 /usr/pkg/include \
21988 \
21989 /usr/local/X1R5/include \
21990 /usr/local/include/X11R5 \
21991 /usr/X11R5/include \
21992 /usr/include/X11R5 \
21993 \
21994 /usr/local/X11R4/include \
21995 /usr/local/include/X11R4 \
21996 /usr/X11R4/include \
21997 /usr/include/X11R4 \
21998 \
21999 /usr/openwin/share/include"
22000
22001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
22002 $as_echo_n "checking for libraries directories... " >&6; }
22003
22004 case "${host}" in
22005 *-*-irix6* )
22006 if ${wx_cv_std_libpath+:} false; then :
22007 $as_echo_n "(cached) " >&6
22008 else
22009
22010 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
22011 for e in a so sl dylib dll.a; do
22012 libc="$d/libc.$e"
22013 if test -f $libc; then
22014 save_LIBS="$LIBS"
22015 LIBS="$libc"
22016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22017 /* end confdefs.h. */
22018
22019 int main() { return 0; }
22020
22021 _ACEOF
22022 if ac_fn_c_try_link "$LINENO"; then :
22023 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
22024 fi
22025 rm -f core conftest.err conftest.$ac_objext \
22026 conftest$ac_exeext conftest.$ac_ext
22027 LIBS="$save_LIBS"
22028 if test "x$wx_cv_std_libpath" != "x"; then
22029 break 2
22030 fi
22031 fi
22032 done
22033 done
22034
22035
22036 fi
22037
22038 ;;
22039
22040 *-*-solaris2* )
22041 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
22042 wx_cv_std_libpath="lib/64"
22043 fi
22044 ;;
22045
22046 *-*-linux* )
22047 if test "$ac_cv_sizeof_void_p" = 8; then
22048 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
22049 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
22050 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
22051 wx_cv_std_libpath="lib64"
22052 fi
22053 else
22054 case "${host}" in
22055 i*86-*-linux* )
22056 if test -d '/usr/lib/i386-linux-gnu'; then
22057 wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
22058 fi
22059 esac
22060 fi
22061
22062 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
22063 wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
22064 fi
22065 ;;
22066 esac
22067
22068 if test -z "$wx_cv_std_libpath"; then
22069 wx_cv_std_libpath="lib"
22070 fi
22071
22072 if test -z "$wx_cv_std_libfullpath"; then
22073 wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
22074 fi
22075
22076
22077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
22078 $as_echo "$wx_cv_std_libfullpath" >&6; }
22079
22080 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
22081
22082 if test "$build" != "$host" -a "$GCC" = yes; then
22083 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
22084 cross_root=`dirname $cross_root`
22085 cross_root=`dirname $cross_root`
22086
22087 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22088 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22089 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
22090
22091 if test -z "$PKG_CONFIG_PATH"; then
22092 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22093 export PKG_CONFIG_PATH
22094 fi
22095
22096 if test -z "$x_includes" -o "$x_includes" = NONE; then
22097
22098 ac_find_includes=
22099 for ac_dir in $SEARCH_INCLUDE /usr/include
22100 do
22101 if test -f "$ac_dir/X11/Intrinsic.h"; then
22102 ac_find_includes=$ac_dir
22103 break
22104 fi
22105 done
22106
22107 x_includes=$ac_find_includes
22108 fi
22109 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
22110
22111 ac_find_libraries=
22112 for ac_dir in $SEARCH_LIB
22113 do
22114 for ac_extension in a so sl dylib dll.a; do
22115 if test -f "$ac_dir/libXt.$ac_extension"; then
22116 ac_find_libraries=$ac_dir
22117 break 2
22118 fi
22119 done
22120 done
22121
22122 x_libraries=$ac_find_libraries
22123 fi
22124 fi
22125 fi
22126
22127
22128 cat >confcache <<\_ACEOF
22129 # This file is a shell script that caches the results of configure
22130 # tests run on this system so they can be shared between configure
22131 # scripts and configure runs, see configure's option --config-cache.
22132 # It is not useful on other systems. If it contains results you don't
22133 # want to keep, you may remove or edit it.
22134 #
22135 # config.status only pays attention to the cache file if you give it
22136 # the --recheck option to rerun configure.
22137 #
22138 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22139 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22140 # following values.
22141
22142 _ACEOF
22143
22144 # The following way of writing the cache mishandles newlines in values,
22145 # but we know of no workaround that is simple, portable, and efficient.
22146 # So, we kill variables containing newlines.
22147 # Ultrix sh set writes to stderr and can't be redirected directly,
22148 # and sets the high bit in the cache file unless we assign to the vars.
22149 (
22150 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22151 eval ac_val=\$$ac_var
22152 case $ac_val in #(
22153 *${as_nl}*)
22154 case $ac_var in #(
22155 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22156 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22157 esac
22158 case $ac_var in #(
22159 _ | IFS | as_nl) ;; #(
22160 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22161 *) { eval $ac_var=; unset $ac_var;} ;;
22162 esac ;;
22163 esac
22164 done
22165
22166 (set) 2>&1 |
22167 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22168 *${as_nl}ac_space=\ *)
22169 # `set' does not quote correctly, so add quotes: double-quote
22170 # substitution turns \\\\ into \\, and sed turns \\ into \.
22171 sed -n \
22172 "s/'/'\\\\''/g;
22173 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22174 ;; #(
22175 *)
22176 # `set' quotes correctly as required by POSIX, so do not add quotes.
22177 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22178 ;;
22179 esac |
22180 sort
22181 ) |
22182 sed '
22183 /^ac_cv_env_/b end
22184 t clear
22185 :clear
22186 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22187 t end
22188 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22189 :end' >>confcache
22190 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22191 if test -w "$cache_file"; then
22192 if test "x$cache_file" != "x/dev/null"; then
22193 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22194 $as_echo "$as_me: updating cache $cache_file" >&6;}
22195 if test ! -f "$cache_file" || test -h "$cache_file"; then
22196 cat confcache >"$cache_file"
22197 else
22198 case $cache_file in #(
22199 */* | ?:*)
22200 mv -f confcache "$cache_file"$$ &&
22201 mv -f "$cache_file"$$ "$cache_file" ;; #(
22202 *)
22203 mv -f confcache "$cache_file" ;;
22204 esac
22205 fi
22206 fi
22207 else
22208 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22209 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22210 fi
22211 fi
22212 rm -f confcache
22213
22214 have_cos=0
22215 have_floor=0
22216 for ac_func in cos
22217 do :
22218 ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
22219 if test "x$ac_cv_func_cos" = xyes; then :
22220 cat >>confdefs.h <<_ACEOF
22221 #define HAVE_COS 1
22222 _ACEOF
22223 have_cos=1
22224 fi
22225 done
22226
22227 for ac_func in floor
22228 do :
22229 ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22230 if test "x$ac_cv_func_floor" = xyes; then :
22231 cat >>confdefs.h <<_ACEOF
22232 #define HAVE_FLOOR 1
22233 _ACEOF
22234 have_floor=1
22235 fi
22236 done
22237
22238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22239 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22240 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22242 $as_echo "yes" >&6; }
22243 else
22244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22245 $as_echo "no" >&6; }
22246 LIBS="$LIBS -lm"
22247 # use different functions to avoid configure caching
22248 have_sin=0
22249 have_ceil=0
22250 for ac_func in sin
22251 do :
22252 ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
22253 if test "x$ac_cv_func_sin" = xyes; then :
22254 cat >>confdefs.h <<_ACEOF
22255 #define HAVE_SIN 1
22256 _ACEOF
22257 have_sin=1
22258 fi
22259 done
22260
22261 for ac_func in ceil
22262 do :
22263 ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22264 if test "x$ac_cv_func_ceil" = xyes; then :
22265 cat >>confdefs.h <<_ACEOF
22266 #define HAVE_CEIL 1
22267 _ACEOF
22268 have_ceil=1
22269 fi
22270 done
22271
22272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22273 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22274 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22276 $as_echo "yes" >&6; }
22277 else
22278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22279 $as_echo "no" >&6; }
22280 # not sure we should warn the user, crash, etc.
22281 fi
22282 fi
22283
22284 ac_ext=cpp
22285 ac_cpp='$CXXCPP $CPPFLAGS'
22286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22289
22290 if test "wxUSE_UNICODE" = "yes"; then
22291
22292 for wx_func in wcstoull
22293 do
22294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22295 $as_echo_n "checking for $wx_func... " >&6; }
22296 if eval \${wx_cv_func_$wx_func+:} false; then :
22297 $as_echo_n "(cached) " >&6
22298 else
22299
22300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22301 /* end confdefs.h. */
22302
22303
22304
22305 $ac_includes_default
22306
22307 int
22308 main ()
22309 {
22310
22311 #ifndef $wx_func
22312 &$wx_func;
22313 #endif
22314
22315
22316 ;
22317 return 0;
22318 }
22319
22320 _ACEOF
22321 if ac_fn_cxx_try_link "$LINENO"; then :
22322 eval wx_cv_func_$wx_func=yes
22323 else
22324 eval wx_cv_func_$wx_func=no
22325 fi
22326 rm -f core conftest.err conftest.$ac_objext \
22327 conftest$ac_exeext conftest.$ac_ext
22328
22329 fi
22330 eval ac_res=\$wx_cv_func_$wx_func
22331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22332 $as_echo "$ac_res" >&6; }
22333
22334 if eval test \$wx_cv_func_$wx_func = yes
22335 then
22336 cat >>confdefs.h <<_ACEOF
22337 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22338 _ACEOF
22339
22340
22341 else
22342 :
22343
22344 fi
22345 done
22346
22347 else
22348
22349 for wx_func in strtoull
22350 do
22351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22352 $as_echo_n "checking for $wx_func... " >&6; }
22353 if eval \${wx_cv_func_$wx_func+:} false; then :
22354 $as_echo_n "(cached) " >&6
22355 else
22356
22357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22358 /* end confdefs.h. */
22359
22360
22361
22362 $ac_includes_default
22363
22364 int
22365 main ()
22366 {
22367
22368 #ifndef $wx_func
22369 &$wx_func;
22370 #endif
22371
22372
22373 ;
22374 return 0;
22375 }
22376
22377 _ACEOF
22378 if ac_fn_cxx_try_link "$LINENO"; then :
22379 eval wx_cv_func_$wx_func=yes
22380 else
22381 eval wx_cv_func_$wx_func=no
22382 fi
22383 rm -f core conftest.err conftest.$ac_objext \
22384 conftest$ac_exeext conftest.$ac_ext
22385
22386 fi
22387 eval ac_res=\$wx_cv_func_$wx_func
22388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22389 $as_echo "$ac_res" >&6; }
22390
22391 if eval test \$wx_cv_func_$wx_func = yes
22392 then
22393 cat >>confdefs.h <<_ACEOF
22394 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22395 _ACEOF
22396
22397
22398 else
22399 :
22400
22401 fi
22402 done
22403
22404 fi
22405 ac_ext=c
22406 ac_cpp='$CPP $CPPFLAGS'
22407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22410
22411
22412
22413
22414 if test "$wxUSE_REGEX" != "no"; then
22415 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22416
22417
22418 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22420 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22421 wxUSE_REGEX=builtin
22422 fi
22423
22424 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22425 ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
22426 "
22427 if test "x$ac_cv_header_regex_h" = xyes; then :
22428 for ac_func in regcomp re_search
22429 do :
22430 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22431 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22432 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22433 cat >>confdefs.h <<_ACEOF
22434 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22435 _ACEOF
22436
22437 fi
22438 done
22439
22440 fi
22441
22442
22443
22444 if test "x$ac_cv_func_regcomp" != "xyes"; then
22445 if test "$wxUSE_REGEX" = "sys" ; then
22446 as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22447 else
22448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22449 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22450 wxUSE_REGEX=builtin
22451 fi
22452 else
22453 wxUSE_REGEX=sys
22454 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22455
22456 fi
22457 fi
22458 fi
22459
22460
22461 ZLIB_LINK=
22462 if test "$wxUSE_ZLIB" != "no" ; then
22463 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22464
22465
22466 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22467 if test "$USE_DARWIN" = 1; then
22468 system_zlib_h_ok="yes"
22469 else
22470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22471 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22472 if ${ac_cv_header_zlib_h+:} false; then :
22473 $as_echo_n "(cached) " >&6
22474 else
22475 if test "$cross_compiling" = yes; then :
22476 unset ac_cv_header_zlib_h
22477
22478 else
22479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22480 /* end confdefs.h. */
22481
22482 #include <zlib.h>
22483 #include <stdio.h>
22484
22485 int main()
22486 {
22487 FILE *f=fopen("conftestval", "w");
22488 if (!f) exit(1);
22489 fprintf(f, "%s",
22490 ZLIB_VERSION[0] == '1' &&
22491 (ZLIB_VERSION[2] > '1' ||
22492 (ZLIB_VERSION[2] == '1' &&
22493 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22494 exit(0);
22495 }
22496
22497 _ACEOF
22498 if ac_fn_c_try_run "$LINENO"; then :
22499 ac_cv_header_zlib_h=`cat conftestval`
22500 else
22501 ac_cv_header_zlib_h=no
22502 fi
22503 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22504 conftest.$ac_objext conftest.beam conftest.$ac_ext
22505 fi
22506
22507
22508 fi
22509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22510 $as_echo "$ac_cv_header_zlib_h" >&6; }
22511 ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22512 "
22513 if test "x$ac_cv_header_zlib_h" = xyes; then :
22514
22515 fi
22516
22517
22518
22519 system_zlib_h_ok=$ac_cv_header_zlib_h
22520 fi
22521
22522 if test "$system_zlib_h_ok" = "yes"; then
22523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22524 $as_echo_n "checking for deflate in -lz... " >&6; }
22525 if ${ac_cv_lib_z_deflate+:} false; then :
22526 $as_echo_n "(cached) " >&6
22527 else
22528 ac_check_lib_save_LIBS=$LIBS
22529 LIBS="-lz $LIBS"
22530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22531 /* end confdefs.h. */
22532
22533 /* Override any GCC internal prototype to avoid an error.
22534 Use char because int might match the return type of a GCC
22535 builtin and then its argument prototype would still apply. */
22536 #ifdef __cplusplus
22537 extern "C"
22538 #endif
22539 char deflate ();
22540 int
22541 main ()
22542 {
22543 return deflate ();
22544 ;
22545 return 0;
22546 }
22547 _ACEOF
22548 if ac_fn_c_try_link "$LINENO"; then :
22549 ac_cv_lib_z_deflate=yes
22550 else
22551 ac_cv_lib_z_deflate=no
22552 fi
22553 rm -f core conftest.err conftest.$ac_objext \
22554 conftest$ac_exeext conftest.$ac_ext
22555 LIBS=$ac_check_lib_save_LIBS
22556 fi
22557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22558 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22559 if test "x$ac_cv_lib_z_deflate" = xyes; then :
22560 ZLIB_LINK=" -lz"
22561 fi
22562
22563 fi
22564
22565 if test "x$ZLIB_LINK" = "x" ; then
22566 if test "$wxUSE_ZLIB" = "sys" ; then
22567 as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22568 else
22569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22570 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22571 wxUSE_ZLIB=builtin
22572 fi
22573 else
22574 wxUSE_ZLIB=sys
22575 fi
22576 fi
22577 fi
22578
22579
22580 PNG_LINK=
22581 if test "$wxUSE_LIBPNG" != "no" ; then
22582 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22583
22584
22585 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22587 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22588 wxUSE_LIBPNG=builtin
22589 fi
22590
22591 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22593 $as_echo_n "checking for png.h > 0.90... " >&6; }
22594 if ${ac_cv_header_png_h+:} false; then :
22595 $as_echo_n "(cached) " >&6
22596 else
22597 if test "$cross_compiling" = yes; then :
22598 unset ac_cv_header_png_h
22599
22600 else
22601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22602 /* end confdefs.h. */
22603
22604 #include <png.h>
22605 #include <stdio.h>
22606
22607 int main()
22608 {
22609 FILE *f=fopen("conftestval", "w");
22610 if (!f) exit(1);
22611 fprintf(f, "%s",
22612 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22613 exit(0);
22614 }
22615
22616 _ACEOF
22617 if ac_fn_c_try_run "$LINENO"; then :
22618 ac_cv_header_png_h=`cat conftestval`
22619 else
22620 ac_cv_header_png_h=no
22621 fi
22622 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22623 conftest.$ac_objext conftest.beam conftest.$ac_ext
22624 fi
22625
22626
22627 fi
22628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22629 $as_echo "$ac_cv_header_png_h" >&6; }
22630 ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
22631 "
22632 if test "x$ac_cv_header_png_h" = xyes; then :
22633
22634 fi
22635
22636
22637
22638 if test "$ac_cv_header_png_h" = "yes"; then
22639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22640 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22641 if ${ac_cv_lib_png_png_sig_cmp+:} false; then :
22642 $as_echo_n "(cached) " >&6
22643 else
22644 ac_check_lib_save_LIBS=$LIBS
22645 LIBS="-lpng -lz -lm $LIBS"
22646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22647 /* end confdefs.h. */
22648
22649 /* Override any GCC internal prototype to avoid an error.
22650 Use char because int might match the return type of a GCC
22651 builtin and then its argument prototype would still apply. */
22652 #ifdef __cplusplus
22653 extern "C"
22654 #endif
22655 char png_sig_cmp ();
22656 int
22657 main ()
22658 {
22659 return png_sig_cmp ();
22660 ;
22661 return 0;
22662 }
22663 _ACEOF
22664 if ac_fn_c_try_link "$LINENO"; then :
22665 ac_cv_lib_png_png_sig_cmp=yes
22666 else
22667 ac_cv_lib_png_png_sig_cmp=no
22668 fi
22669 rm -f core conftest.err conftest.$ac_objext \
22670 conftest$ac_exeext conftest.$ac_ext
22671 LIBS=$ac_check_lib_save_LIBS
22672 fi
22673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22674 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22675 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes; then :
22676 PNG_LINK=" -lpng -lz"
22677 fi
22678
22679 fi
22680
22681 if test "x$PNG_LINK" = "x" ; then
22682 if test "$wxUSE_LIBPNG" = "sys" ; then
22683 as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22684 else
22685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22686 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22687 wxUSE_LIBPNG=builtin
22688 fi
22689 else
22690 wxUSE_LIBPNG=sys
22691 fi
22692 fi
22693 fi
22694
22695
22696 JPEG_LINK=
22697 if test "$wxUSE_LIBJPEG" != "no" ; then
22698 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22699
22700
22701 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22703 $as_echo_n "checking for jpeglib.h... " >&6; }
22704 if ${ac_cv_header_jpeglib_h+:} false; then :
22705 $as_echo_n "(cached) " >&6
22706 else
22707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22708 /* end confdefs.h. */
22709
22710 #undef HAVE_STDLIB_H
22711 #include <stdio.h>
22712 #include <jpeglib.h>
22713
22714 int
22715 main ()
22716 {
22717
22718
22719 ;
22720 return 0;
22721 }
22722 _ACEOF
22723 if ac_fn_c_try_compile "$LINENO"; then :
22724 ac_cv_header_jpeglib_h=yes
22725 else
22726 ac_cv_header_jpeglib_h=no
22727
22728 fi
22729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22730
22731 fi
22732
22733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22734 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22735
22736 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22738 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22739 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false; then :
22740 $as_echo_n "(cached) " >&6
22741 else
22742 ac_check_lib_save_LIBS=$LIBS
22743 LIBS="-ljpeg $LIBS"
22744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22745 /* end confdefs.h. */
22746
22747 /* Override any GCC internal prototype to avoid an error.
22748 Use char because int might match the return type of a GCC
22749 builtin and then its argument prototype would still apply. */
22750 #ifdef __cplusplus
22751 extern "C"
22752 #endif
22753 char jpeg_read_header ();
22754 int
22755 main ()
22756 {
22757 return jpeg_read_header ();
22758 ;
22759 return 0;
22760 }
22761 _ACEOF
22762 if ac_fn_c_try_link "$LINENO"; then :
22763 ac_cv_lib_jpeg_jpeg_read_header=yes
22764 else
22765 ac_cv_lib_jpeg_jpeg_read_header=no
22766 fi
22767 rm -f core conftest.err conftest.$ac_objext \
22768 conftest$ac_exeext conftest.$ac_ext
22769 LIBS=$ac_check_lib_save_LIBS
22770 fi
22771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22772 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22773 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes; then :
22774 JPEG_LINK=" -ljpeg"
22775 fi
22776
22777 fi
22778
22779 if test "x$JPEG_LINK" = "x" ; then
22780 if test "$wxUSE_LIBJPEG" = "sys" ; then
22781 as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22782 else
22783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22784 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22785 wxUSE_LIBJPEG=builtin
22786 fi
22787 else
22788 wxUSE_LIBJPEG=sys
22789
22790 if test "$wxUSE_MSW" = 1; then
22791 ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22792 "
22793 if test "x$ac_cv_type_boolean" = xyes; then :
22794
22795 cat >>confdefs.h <<_ACEOF
22796 #define HAVE_BOOLEAN 1
22797 _ACEOF
22798
22799
22800 # The cast to long int works around a bug in the HP C Compiler
22801 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22802 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22803 # This bug is HP SR number 8606223364.
22804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22805 $as_echo_n "checking size of boolean... " >&6; }
22806 if ${ac_cv_sizeof_boolean+:} false; then :
22807 $as_echo_n "(cached) " >&6
22808 else
22809 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22810 #undef HAVE_BOOLEAN
22811 #include <stdio.h>
22812 #include <jpeglib.h>
22813
22814 "; then :
22815
22816 else
22817 if test "$ac_cv_type_boolean" = yes; then
22818 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22819 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22820 as_fn_error 77 "cannot compute sizeof (boolean)
22821 See \`config.log' for more details" "$LINENO" 5; }
22822 else
22823 ac_cv_sizeof_boolean=0
22824 fi
22825 fi
22826
22827 fi
22828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22829 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22830
22831
22832
22833 cat >>confdefs.h <<_ACEOF
22834 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22835 _ACEOF
22836
22837
22838 cat >>confdefs.h <<_ACEOF
22839 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22840 _ACEOF
22841
22842
22843 fi
22844
22845 fi
22846 fi
22847 fi
22848 fi
22849
22850
22851 TIFF_LINK=
22852 TIFF_PREREQ_LINKS=-lm
22853 if test "$wxUSE_LIBTIFF" != "no" ; then
22854 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22855
22856
22857 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22858 if test "$wxUSE_LIBJPEG" = "sys"; then
22859 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22860 fi
22861 if test "$wxUSE_ZLIB" = "sys"; then
22862 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22863 fi
22864 ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22865
22866 "
22867 if test "x$ac_cv_header_tiffio_h" = xyes; then :
22868
22869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22870 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22871 if ${ac_cv_lib_tiff_TIFFError+:} false; then :
22872 $as_echo_n "(cached) " >&6
22873 else
22874 ac_check_lib_save_LIBS=$LIBS
22875 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22877 /* end confdefs.h. */
22878
22879 /* Override any GCC internal prototype to avoid an error.
22880 Use char because int might match the return type of a GCC
22881 builtin and then its argument prototype would still apply. */
22882 #ifdef __cplusplus
22883 extern "C"
22884 #endif
22885 char TIFFError ();
22886 int
22887 main ()
22888 {
22889 return TIFFError ();
22890 ;
22891 return 0;
22892 }
22893 _ACEOF
22894 if ac_fn_c_try_link "$LINENO"; then :
22895 ac_cv_lib_tiff_TIFFError=yes
22896 else
22897 ac_cv_lib_tiff_TIFFError=no
22898 fi
22899 rm -f core conftest.err conftest.$ac_objext \
22900 conftest$ac_exeext conftest.$ac_ext
22901 LIBS=$ac_check_lib_save_LIBS
22902 fi
22903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22904 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22905 if test "x$ac_cv_lib_tiff_TIFFError" = xyes; then :
22906 TIFF_LINK=" -ltiff"
22907 fi
22908
22909
22910 fi
22911
22912
22913
22914 if test "x$TIFF_LINK" = "x" ; then
22915 if test "$wxUSE_LIBTIFF" = "sys" ; then
22916 as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22917 else
22918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22919 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22920 wxUSE_LIBTIFF=builtin
22921 fi
22922 else
22923 wxUSE_LIBTIFF=sys
22924 fi
22925 fi
22926 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22927 if test "$wxUSE_LIBJPEG" = "no"; then
22928 ac_configure_args="$ac_configure_args --disable-jpeg"
22929 fi
22930
22931 if test "$wxUSE_LIBLZMA" = "yes"; then
22932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
22933 $as_echo_n "checking for lzma_code in -llzma... " >&6; }
22934 if ${ac_cv_lib_lzma_lzma_code+:} false; then :
22935 $as_echo_n "(cached) " >&6
22936 else
22937 ac_check_lib_save_LIBS=$LIBS
22938 LIBS="-llzma $LIBS"
22939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22940 /* end confdefs.h. */
22941
22942 /* Override any GCC internal prototype to avoid an error.
22943 Use char because int might match the return type of a GCC
22944 builtin and then its argument prototype would still apply. */
22945 #ifdef __cplusplus
22946 extern "C"
22947 #endif
22948 char lzma_code ();
22949 int
22950 main ()
22951 {
22952 return lzma_code ();
22953 ;
22954 return 0;
22955 }
22956 _ACEOF
22957 if ac_fn_c_try_link "$LINENO"; then :
22958 ac_cv_lib_lzma_lzma_code=yes
22959 else
22960 ac_cv_lib_lzma_lzma_code=no
22961 fi
22962 rm -f core conftest.err conftest.$ac_objext \
22963 conftest$ac_exeext conftest.$ac_ext
22964 LIBS=$ac_check_lib_save_LIBS
22965 fi
22966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
22967 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
22968 if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then :
22969 LIBS="$LIBS -llzma"
22970 fi
22971
22972 else
22973 ac_configure_args="$ac_configure_args --disable-lzma"
22974 fi
22975
22976 if test "$wxUSE_LIBJBIG" = "yes"; then
22977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jbg_dec_init in -ljbig" >&5
22978 $as_echo_n "checking for jbg_dec_init in -ljbig... " >&6; }
22979 if ${ac_cv_lib_jbig_jbg_dec_init+:} false; then :
22980 $as_echo_n "(cached) " >&6
22981 else
22982 ac_check_lib_save_LIBS=$LIBS
22983 LIBS="-ljbig $LIBS"
22984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22985 /* end confdefs.h. */
22986
22987 /* Override any GCC internal prototype to avoid an error.
22988 Use char because int might match the return type of a GCC
22989 builtin and then its argument prototype would still apply. */
22990 #ifdef __cplusplus
22991 extern "C"
22992 #endif
22993 char jbg_dec_init ();
22994 int
22995 main ()
22996 {
22997 return jbg_dec_init ();
22998 ;
22999 return 0;
23000 }
23001 _ACEOF
23002 if ac_fn_c_try_link "$LINENO"; then :
23003 ac_cv_lib_jbig_jbg_dec_init=yes
23004 else
23005 ac_cv_lib_jbig_jbg_dec_init=no
23006 fi
23007 rm -f core conftest.err conftest.$ac_objext \
23008 conftest$ac_exeext conftest.$ac_ext
23009 LIBS=$ac_check_lib_save_LIBS
23010 fi
23011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jbig_jbg_dec_init" >&5
23012 $as_echo "$ac_cv_lib_jbig_jbg_dec_init" >&6; }
23013 if test "x$ac_cv_lib_jbig_jbg_dec_init" = xyes; then :
23014 LIBS="$LIBS -ljbig"
23015 fi
23016
23017 else
23018 ac_configure_args="$ac_configure_args --disable-jbig"
23019 fi
23020
23021
23022
23023 subdirs="$subdirs src/tiff"
23024
23025 fi
23026 fi
23027
23028
23029 if test "$wxUSE_EXPAT" != "no"; then
23030 wxUSE_XML=yes
23031 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
23032
23033 $as_echo "#define wxUSE_XML 1" >>confdefs.h
23034
23035
23036 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23037 ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
23038 "
23039 if test "x$ac_cv_header_expat_h" = xyes; then :
23040 found_expat_h=1
23041 fi
23042
23043
23044 if test "x$found_expat_h" = "x1"; then
23045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
23046 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
23047 if ${wx_cv_expat_is_not_broken+:} false; then :
23048 $as_echo_n "(cached) " >&6
23049 else
23050
23051 ac_ext=cpp
23052 ac_cpp='$CXXCPP $CPPFLAGS'
23053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23056
23057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23058 /* end confdefs.h. */
23059 #include <expat.h>
23060 int
23061 main ()
23062 {
23063
23064 ;
23065 return 0;
23066 }
23067 _ACEOF
23068 if ac_fn_cxx_try_compile "$LINENO"; then :
23069 wx_cv_expat_is_not_broken=yes
23070 else
23071 wx_cv_expat_is_not_broken=no
23072
23073 fi
23074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23075 ac_ext=c
23076 ac_cpp='$CPP $CPPFLAGS'
23077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23080
23081
23082
23083 fi
23084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
23085 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
23086 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
23088 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
23089 if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then :
23090 $as_echo_n "(cached) " >&6
23091 else
23092 ac_check_lib_save_LIBS=$LIBS
23093 LIBS="-lexpat $LIBS"
23094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23095 /* end confdefs.h. */
23096
23097 /* Override any GCC internal prototype to avoid an error.
23098 Use char because int might match the return type of a GCC
23099 builtin and then its argument prototype would still apply. */
23100 #ifdef __cplusplus
23101 extern "C"
23102 #endif
23103 char XML_ParserCreate ();
23104 int
23105 main ()
23106 {
23107 return XML_ParserCreate ();
23108 ;
23109 return 0;
23110 }
23111 _ACEOF
23112 if ac_fn_c_try_link "$LINENO"; then :
23113 ac_cv_lib_expat_XML_ParserCreate=yes
23114 else
23115 ac_cv_lib_expat_XML_ParserCreate=no
23116 fi
23117 rm -f core conftest.err conftest.$ac_objext \
23118 conftest$ac_exeext conftest.$ac_ext
23119 LIBS=$ac_check_lib_save_LIBS
23120 fi
23121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23122 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
23123 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then :
23124 EXPAT_LINK=" -lexpat"
23125 fi
23126
23127 fi
23128 fi
23129 if test "x$EXPAT_LINK" = "x" ; then
23130 if test "$wxUSE_EXPAT" = "sys" ; then
23131 as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
23132 else
23133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
23134 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23135 wxUSE_EXPAT=builtin
23136 fi
23137 else
23138 wxUSE_EXPAT=sys
23139 fi
23140 fi
23141 if test "$wxUSE_EXPAT" = "builtin" ; then
23142 subdirs="$subdirs src/expat"
23143
23144 fi
23145 fi
23146
23147
23148
23149 if test "$wxUSE_LIBMSPACK" != "no"; then
23150 ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
23151 "
23152 if test "x$ac_cv_header_mspack_h" = xyes; then :
23153 found_mspack_h=1
23154 fi
23155
23156
23157 if test "x$found_mspack_h" = "x1"; then
23158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
23159 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
23160 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false; then :
23161 $as_echo_n "(cached) " >&6
23162 else
23163 ac_check_lib_save_LIBS=$LIBS
23164 LIBS="-lmspack $LIBS"
23165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23166 /* end confdefs.h. */
23167
23168 /* Override any GCC internal prototype to avoid an error.
23169 Use char because int might match the return type of a GCC
23170 builtin and then its argument prototype would still apply. */
23171 #ifdef __cplusplus
23172 extern "C"
23173 #endif
23174 char mspack_create_chm_decompressor ();
23175 int
23176 main ()
23177 {
23178 return mspack_create_chm_decompressor ();
23179 ;
23180 return 0;
23181 }
23182 _ACEOF
23183 if ac_fn_c_try_link "$LINENO"; then :
23184 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
23185 else
23186 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
23187 fi
23188 rm -f core conftest.err conftest.$ac_objext \
23189 conftest$ac_exeext conftest.$ac_ext
23190 LIBS=$ac_check_lib_save_LIBS
23191 fi
23192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23193 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
23194 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes; then :
23195 MSPACK_LINK=" -lmspack"
23196 fi
23197
23198 fi
23199 if test "x$MSPACK_LINK" = "x" ; then
23200 wxUSE_LIBMSPACK=no
23201 fi
23202 fi
23203
23204 if test "$wxUSE_LIBMSPACK" != "no"; then
23205 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23206
23207 fi
23208
23209
23210
23211 TOOLKIT=
23212 TOOLKIT_INCLUDE=
23213 WIDGET_SET=
23214
23215 if test "$USE_WIN32" = 1 ; then
23216 for ac_header in w32api.h
23217 do :
23218 ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23219 "
23220 if test "x$ac_cv_header_w32api_h" = xyes; then :
23221 cat >>confdefs.h <<_ACEOF
23222 #define HAVE_W32API_H 1
23223 _ACEOF
23224
23225 fi
23226
23227 done
23228
23229 ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
23230 "
23231 if test "x$ac_cv_header_windows_h" = xyes; then :
23232
23233 else
23234
23235 as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23236
23237 fi
23238
23239
23240
23241 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23242 case "${host}" in
23243 x86_64-*-mingw32* )
23244 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
23245 ;;
23246 esac
23247 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23248 LIBS="$LIBS -loleacc"
23249 fi
23250
23251 case "${host}" in
23252 *-*-cygwin* )
23253 LIBS="$LIBS -lkernel32 -luser32"
23254 esac
23255
23256 WXCONFIG_RESFLAGS="--define __WIN32__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23257 fi
23258
23259 if test "$wxUSE_GUI" = "yes"; then
23260 USE_GUI=1
23261
23262 GUI_TK_LIBRARY=
23263
23264 WXGTK1=
23265 WXGTK127=
23266 WXGTK2=
23267 WXGTK3=
23268 WXGPE=
23269
23270 if test "$wxUSE_OLD_COCOA" = 1 ; then
23271 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23273 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23274 wxUSE_PRINTING_ARCHITECTURE=no
23275 fi
23276 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23278 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23279 wxUSE_DRAG_AND_DROP=no
23280 fi
23281 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23283 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23284 wxUSE_DRAGIMAGE=no
23285 fi
23286 fi
23287
23288 if test "$wxUSE_MSW" = 1 ; then
23289 TOOLKIT=MSW
23290 GUIDIST=MSW_DIST
23291
23292 case "${host}" in
23293 *-*-mingw32* )
23294 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23295 esac
23296 fi
23297
23298 if test "$wxUSE_GTK" = 1; then
23299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23300 $as_echo_n "checking for GTK+ version... " >&6; }
23301
23302 gtk_version_cached=1
23303 if ${wx_cv_lib_gtk+:} false; then :
23304 $as_echo_n "(cached) " >&6
23305 else
23306
23307 gtk_version_cached=0
23308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23309 $as_echo "" >&6; }
23310
23311 GTK_MODULES=
23312 if test "$wxUSE_THREADS" = "yes"; then
23313 GTK_MODULES=gthread
23314 fi
23315
23316 if test -z "$wxGTK_VERSION"; then
23317 wxGTK_VERSION=any
23318 fi
23319
23320 wx_cv_lib_gtk=
23321 if test "x$wxGTK_VERSION" != "x1"
23322 then
23323 case "${host}" in
23324 *-*-solaris2* )
23325 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23326 enable_gtktest=no
23327 fi
23328 esac
23329
23330 if test "$wxGTK_VERSION" != 3; then
23331 # Check whether --enable-gtktest was given.
23332 if test "${enable_gtktest+set}" = set; then :
23333 enableval=$enable_gtktest;
23334 else
23335 enable_gtktest=yes
23336 fi
23337
23338
23339 pkg_config_args=gtk+-2.0
23340 for module in . $GTK_MODULES
23341 do
23342 case "$module" in
23343 gthread)
23344 pkg_config_args="$pkg_config_args gthread-2.0"
23345 ;;
23346 esac
23347 done
23348
23349 no_gtk=""
23350
23351 # Extract the first word of "pkg-config", so it can be a program name with args.
23352 set dummy pkg-config; ac_word=$2
23353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23354 $as_echo_n "checking for $ac_word... " >&6; }
23355 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23356 $as_echo_n "(cached) " >&6
23357 else
23358 case $PKG_CONFIG in
23359 [\\/]* | ?:[\\/]*)
23360 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23361 ;;
23362 *)
23363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23364 for as_dir in $PATH
23365 do
23366 IFS=$as_save_IFS
23367 test -z "$as_dir" && as_dir=.
23368 for ac_exec_ext in '' $ac_executable_extensions; do
23369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23370 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23372 break 2
23373 fi
23374 done
23375 done
23376 IFS=$as_save_IFS
23377
23378 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23379 ;;
23380 esac
23381 fi
23382 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23383 if test -n "$PKG_CONFIG"; then
23384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23385 $as_echo "$PKG_CONFIG" >&6; }
23386 else
23387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23388 $as_echo "no" >&6; }
23389 fi
23390
23391
23392
23393 if test x$PKG_CONFIG != xno ; then
23394 if pkg-config --atleast-pkgconfig-version 0.7 ; then
23395 :
23396 else
23397 echo "*** pkg-config too old; version 0.7 or better required."
23398 no_gtk=yes
23399 PKG_CONFIG=no
23400 fi
23401 else
23402 no_gtk=yes
23403 fi
23404
23405 min_gtk_version=2.6.0
23406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23407 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23408
23409 if test x$PKG_CONFIG != xno ; then
23410 ## don't try to run the test against uninstalled libtool libs
23411 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23412 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23413 enable_gtktest=no
23414 fi
23415
23416 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23417 :
23418 else
23419 no_gtk=yes
23420 fi
23421 fi
23422
23423 if test x"$no_gtk" = x ; then
23424 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23425 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23426 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23427 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23428 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23429 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23430 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23431 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23432 if test "x$enable_gtktest" = "xyes" ; then
23433 ac_save_CFLAGS="$CFLAGS"
23434 ac_save_LIBS="$LIBS"
23435 CFLAGS="$CFLAGS $GTK_CFLAGS"
23436 LIBS="$GTK_LIBS $LIBS"
23437 rm -f conf.gtktest
23438 if test "$cross_compiling" = yes; then :
23439 echo $ac_n "cross compiling; assumed OK... $ac_c"
23440 else
23441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23442 /* end confdefs.h. */
23443
23444 #include <gtk/gtk.h>
23445 #include <stdio.h>
23446 #include <stdlib.h>
23447
23448 int
23449 main ()
23450 {
23451 int major, minor, micro;
23452 char *tmp_version;
23453
23454 system ("touch conf.gtktest");
23455
23456 /* HP/UX 9 (%@#!) writes to sscanf strings */
23457 tmp_version = g_strdup("$min_gtk_version");
23458 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23459 printf("%s, bad version string\n", "$min_gtk_version");
23460 exit(1);
23461 }
23462
23463 if ((gtk_major_version != $gtk_config_major_version) ||
23464 (gtk_minor_version != $gtk_config_minor_version) ||
23465 (gtk_micro_version != $gtk_config_micro_version))
23466 {
23467 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23468 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23469 gtk_major_version, gtk_minor_version, gtk_micro_version);
23470 printf ("*** was found! If pkg-config was correct, then it is best\n");
23471 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23472 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23473 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23474 printf("*** required on your system.\n");
23475 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23476 printf("*** to point to the correct configuration files\n");
23477 }
23478 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23479 (gtk_minor_version != GTK_MINOR_VERSION) ||
23480 (gtk_micro_version != GTK_MICRO_VERSION))
23481 {
23482 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23483 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23484 printf("*** library (version %d.%d.%d)\n",
23485 gtk_major_version, gtk_minor_version, gtk_micro_version);
23486 }
23487 else
23488 {
23489 if ((gtk_major_version > major) ||
23490 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23491 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23492 {
23493 return 0;
23494 }
23495 else
23496 {
23497 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23498 gtk_major_version, gtk_minor_version, gtk_micro_version);
23499 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23500 major, minor, micro);
23501 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23502 printf("***\n");
23503 printf("*** If you have already installed a sufficiently new version, this error\n");
23504 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23505 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23506 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23507 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23508 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23509 printf("*** so that the correct libraries are found at run-time))\n");
23510 }
23511 }
23512 return 1;
23513 }
23514
23515 _ACEOF
23516 if ac_fn_c_try_run "$LINENO"; then :
23517
23518 else
23519 no_gtk=yes
23520 fi
23521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23522 conftest.$ac_objext conftest.beam conftest.$ac_ext
23523 fi
23524
23525 CFLAGS="$ac_save_CFLAGS"
23526 LIBS="$ac_save_LIBS"
23527 fi
23528 fi
23529 if test "x$no_gtk" = x ; then
23530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23531 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23532 wx_cv_lib_gtk=2.0
23533 else
23534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23535 $as_echo "no" >&6; }
23536 if test "$PKG_CONFIG" = "no" ; then
23537 echo "*** A new enough version of pkg-config was not found."
23538 echo "*** See http://pkgconfig.sourceforge.net"
23539 else
23540 if test -f conf.gtktest ; then
23541 :
23542 else
23543 echo "*** Could not run GTK+ test program, checking why..."
23544 ac_save_CFLAGS="$CFLAGS"
23545 ac_save_LIBS="$LIBS"
23546 CFLAGS="$CFLAGS $GTK_CFLAGS"
23547 LIBS="$LIBS $GTK_LIBS"
23548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23549 /* end confdefs.h. */
23550
23551 #include <gtk/gtk.h>
23552 #include <stdio.h>
23553
23554 int
23555 main ()
23556 {
23557 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23558 ;
23559 return 0;
23560 }
23561 _ACEOF
23562 if ac_fn_c_try_link "$LINENO"; then :
23563 echo "*** The test program compiled, but did not run. This usually means"
23564 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23565 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23566 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23567 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23568 echo "*** is required on your system"
23569 echo "***"
23570 echo "*** If you have an old version installed, it is best to remove it, although"
23571 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23572 else
23573 echo "*** The test program failed to compile or link. See the file config.log for the"
23574 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23575 fi
23576 rm -f core conftest.err conftest.$ac_objext \
23577 conftest$ac_exeext conftest.$ac_ext
23578 CFLAGS="$ac_save_CFLAGS"
23579 LIBS="$ac_save_LIBS"
23580 fi
23581 fi
23582 GTK_CFLAGS=""
23583 GTK_LIBS=""
23584 :
23585 fi
23586
23587
23588 rm -f conf.gtktest
23589
23590 fi
23591 if test -z "$wx_cv_lib_gtk"; then
23592 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then
23593 # Check whether --enable-gtktest was given.
23594 if test "${enable_gtktest+set}" = set; then :
23595 enableval=$enable_gtktest;
23596 else
23597 enable_gtktest=yes
23598 fi
23599
23600
23601 pkg_gtk_version=gtk+-3.0
23602 pkg_config_args=$pkg_gtk_version
23603 for module in . $GTK_MODULES
23604 do
23605 case "$module" in
23606 gthread)
23607 pkg_gthread_version=gthread-2.0
23608 pkg_config_args="$pkg_config_args $pkg_gthread_version"
23609 ;;
23610 esac
23611 done
23612
23613 no_gtk=""
23614
23615 # Extract the first word of "pkg-config", so it can be a program name with args.
23616 set dummy pkg-config; ac_word=$2
23617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23618 $as_echo_n "checking for $ac_word... " >&6; }
23619 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23620 $as_echo_n "(cached) " >&6
23621 else
23622 case $PKG_CONFIG in
23623 [\\/]* | ?:[\\/]*)
23624 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23625 ;;
23626 *)
23627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23628 for as_dir in $PATH
23629 do
23630 IFS=$as_save_IFS
23631 test -z "$as_dir" && as_dir=.
23632 for ac_exec_ext in '' $ac_executable_extensions; do
23633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23634 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23636 break 2
23637 fi
23638 done
23639 done
23640 IFS=$as_save_IFS
23641
23642 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23643 ;;
23644 esac
23645 fi
23646 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23647 if test -n "$PKG_CONFIG"; then
23648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23649 $as_echo "$PKG_CONFIG" >&6; }
23650 else
23651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23652 $as_echo "no" >&6; }
23653 fi
23654
23655
23656
23657 if test x$PKG_CONFIG != xno ; then
23658 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23659 :
23660 else
23661 echo "*** pkg-config too old; version 0.7 or better required."
23662 no_gtk=yes
23663 PKG_CONFIG=no
23664 fi
23665 else
23666 no_gtk=yes
23667 fi
23668
23669 min_gtk_version=3.0.0
23670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23671 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23672
23673 if test x$PKG_CONFIG != xno ; then
23674 ## don't try to run the test against uninstalled libtool libs
23675 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23676 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23677 enable_gtktest=no
23678 fi
23679 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_gtk_version ; then
23680 :
23681 else
23682 no_gtk=yes
23683 fi
23684 fi
23685
23686 if test x"$no_gtk" = x ; then
23687 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23688 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23689 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23690 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23691 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23692 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23693 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23694 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23695 if test "x$enable_gtktest" = "xyes" ; then
23696 ac_save_CFLAGS="$CFLAGS"
23697 ac_save_LIBS="$LIBS"
23698 CFLAGS="$CFLAGS $GTK_CFLAGS"
23699 LIBS="$GTK_LIBS $LIBS"
23700 rm -f conf.gtktest
23701 if test "$cross_compiling" = yes; then :
23702 echo $ac_n "cross compiling; assumed OK... $ac_c"
23703 else
23704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23705 /* end confdefs.h. */
23706
23707 #include <gtk/gtk.h>
23708 #include <stdio.h>
23709 #include <stdlib.h>
23710
23711 int
23712 main ()
23713 {
23714 int major, minor, micro;
23715 char *tmp_version;
23716
23717 fclose (fopen ("conf.gtktest", "w"));
23718
23719 /* HP/UX 9 (%@#!) writes to sscanf strings */
23720 tmp_version = g_strdup("$min_gtk_version");
23721 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23722 printf("%s, bad version string\n", "$min_gtk_version");
23723 exit(1);
23724 }
23725
23726 if ((gtk_major_version != $gtk_config_major_version) ||
23727 (gtk_minor_version != $gtk_config_minor_version) ||
23728 (gtk_micro_version != $gtk_config_micro_version))
23729 {
23730 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23731 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23732 gtk_major_version, gtk_minor_version, gtk_micro_version);
23733 printf ("*** was found! If pkg-config was correct, then it is best\n");
23734 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23735 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23736 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23737 printf("*** required on your system.\n");
23738 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23739 printf("*** to point to the correct configuration files\n");
23740 }
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 else
23751 {
23752 if ((gtk_major_version > major) ||
23753 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23754 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23755 {
23756 return 0;
23757 }
23758 else
23759 {
23760 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23761 gtk_major_version, gtk_minor_version, gtk_micro_version);
23762 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23763 major, minor, micro);
23764 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23765 printf("***\n");
23766 printf("*** If you have already installed a sufficiently new version, this error\n");
23767 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23768 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23769 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23770 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23771 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23772 printf("*** so that the correct libraries are found at run-time))\n");
23773 }
23774 }
23775 return 1;
23776 }
23777
23778 _ACEOF
23779 if ac_fn_c_try_run "$LINENO"; then :
23780
23781 else
23782 no_gtk=yes
23783 fi
23784 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23785 conftest.$ac_objext conftest.beam conftest.$ac_ext
23786 fi
23787
23788 CFLAGS="$ac_save_CFLAGS"
23789 LIBS="$ac_save_LIBS"
23790 fi
23791 fi
23792 if test "x$no_gtk" = x ; then
23793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23794 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23795 wx_cv_lib_gtk=3
23796 else
23797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23798 $as_echo "no" >&6; }
23799 if test "$PKG_CONFIG" = "no" ; then
23800 echo "*** A new enough version of pkg-config was not found."
23801 echo "*** See http://pkgconfig.sourceforge.net"
23802 else
23803 if test -f conf.gtktest ; then
23804 :
23805 else
23806 echo "*** Could not run GTK+ test program, checking why..."
23807 ac_save_CFLAGS="$CFLAGS"
23808 ac_save_LIBS="$LIBS"
23809 CFLAGS="$CFLAGS $GTK_CFLAGS"
23810 LIBS="$LIBS $GTK_LIBS"
23811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23812 /* end confdefs.h. */
23813
23814 #include <gtk/gtk.h>
23815 #include <stdio.h>
23816
23817 int
23818 main ()
23819 {
23820 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23821 ;
23822 return 0;
23823 }
23824 _ACEOF
23825 if ac_fn_c_try_link "$LINENO"; then :
23826 echo "*** The test program compiled, but did not run. This usually means"
23827 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23828 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23829 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23830 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23831 echo "*** is required on your system"
23832 echo "***"
23833 echo "*** If you have an old version installed, it is best to remove it, although"
23834 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23835 else
23836 echo "*** The test program failed to compile or link. See the file config.log for the"
23837 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23838 fi
23839 rm -f core conftest.err conftest.$ac_objext \
23840 conftest$ac_exeext conftest.$ac_ext
23841 CFLAGS="$ac_save_CFLAGS"
23842 LIBS="$ac_save_LIBS"
23843 fi
23844 fi
23845 GTK_CFLAGS=""
23846 GTK_LIBS=""
23847 :
23848 fi
23849
23850
23851 rm -f conf.gtktest
23852
23853 fi
23854 fi
23855 fi
23856
23857 if test -z "$wx_cv_lib_gtk"; then
23858 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23859
23860 # Check whether --with-gtk-prefix was given.
23861 if test "${with_gtk_prefix+set}" = set; then :
23862 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23863 else
23864 gtk_config_prefix=""
23865 fi
23866
23867
23868 # Check whether --with-gtk-exec-prefix was given.
23869 if test "${with_gtk_exec_prefix+set}" = set; then :
23870 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23871 else
23872 gtk_config_exec_prefix=""
23873 fi
23874
23875 # Check whether --enable-gtktest was given.
23876 if test "${enable_gtktest+set}" = set; then :
23877 enableval=$enable_gtktest;
23878 else
23879 enable_gtktest=yes
23880 fi
23881
23882
23883 for module in . $GTK_MODULES
23884 do
23885 case "$module" in
23886 gthread)
23887 gtk_config_args="$gtk_config_args gthread"
23888 ;;
23889 esac
23890 done
23891
23892 if test x$gtk_config_exec_prefix != x ; then
23893 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23894 if test x${GTK_CONFIG+set} != xset ; then
23895 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23896 fi
23897 fi
23898 if test x$gtk_config_prefix != x ; then
23899 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23900 if test x${GTK_CONFIG+set} != xset ; then
23901 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23902 fi
23903 fi
23904
23905 # Extract the first word of "gtk-config", so it can be a program name with args.
23906 set dummy gtk-config; ac_word=$2
23907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23908 $as_echo_n "checking for $ac_word... " >&6; }
23909 if ${ac_cv_path_GTK_CONFIG+:} false; then :
23910 $as_echo_n "(cached) " >&6
23911 else
23912 case $GTK_CONFIG in
23913 [\\/]* | ?:[\\/]*)
23914 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23915 ;;
23916 *)
23917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23918 for as_dir in $PATH
23919 do
23920 IFS=$as_save_IFS
23921 test -z "$as_dir" && as_dir=.
23922 for ac_exec_ext in '' $ac_executable_extensions; do
23923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23924 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23926 break 2
23927 fi
23928 done
23929 done
23930 IFS=$as_save_IFS
23931
23932 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23933 ;;
23934 esac
23935 fi
23936 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23937 if test -n "$GTK_CONFIG"; then
23938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23939 $as_echo "$GTK_CONFIG" >&6; }
23940 else
23941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23942 $as_echo "no" >&6; }
23943 fi
23944
23945
23946 min_gtk_version=1.2.7
23947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23948 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23949 no_gtk=""
23950 if test "$GTK_CONFIG" = "no" ; then
23951 no_gtk=yes
23952 else
23953 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23954 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23955 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23956 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23957 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23958 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23959 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23960 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23961 if test "x$enable_gtktest" = "xyes" ; then
23962 ac_save_CFLAGS="$CFLAGS"
23963 ac_save_LIBS="$LIBS"
23964 CFLAGS="$CFLAGS $GTK_CFLAGS"
23965 LIBS="$GTK_LIBS $LIBS"
23966 rm -f conf.gtktest
23967 if test "$cross_compiling" = yes; then :
23968 echo $ac_n "cross compiling; assumed OK... $ac_c"
23969 else
23970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23971 /* end confdefs.h. */
23972
23973 #include <gtk/gtk.h>
23974 #include <stdio.h>
23975 #include <stdlib.h>
23976
23977 int
23978 main ()
23979 {
23980 int major, minor, micro;
23981 char *tmp_version;
23982
23983 system ("touch conf.gtktest");
23984
23985 /* HP/UX 9 (%@#!) writes to sscanf strings */
23986 tmp_version = g_strdup("$min_gtk_version");
23987 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23988 printf("%s, bad version string\n", "$min_gtk_version");
23989 exit(1);
23990 }
23991
23992 if ((gtk_major_version != $gtk_config_major_version) ||
23993 (gtk_minor_version != $gtk_config_minor_version) ||
23994 (gtk_micro_version != $gtk_config_micro_version))
23995 {
23996 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23997 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23998 gtk_major_version, gtk_minor_version, gtk_micro_version);
23999 printf ("*** was found! If gtk-config was correct, then it is best\n");
24000 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24001 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24002 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24003 printf("*** required on your system.\n");
24004 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24005 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24006 printf("*** before re-running configure\n");
24007 }
24008 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24009 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24010 (gtk_minor_version != GTK_MINOR_VERSION) ||
24011 (gtk_micro_version != GTK_MICRO_VERSION))
24012 {
24013 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24014 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24015 printf("*** library (version %d.%d.%d)\n",
24016 gtk_major_version, gtk_minor_version, gtk_micro_version);
24017 }
24018 #endif /* defined (GTK_MAJOR_VERSION) ... */
24019 else
24020 {
24021 if ((gtk_major_version > major) ||
24022 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24023 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24024 {
24025 return 0;
24026 }
24027 else
24028 {
24029 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24030 gtk_major_version, gtk_minor_version, gtk_micro_version);
24031 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24032 major, minor, micro);
24033 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24034 printf("***\n");
24035 printf("*** If you have already installed a sufficiently new version, this error\n");
24036 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24037 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24038 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24039 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24040 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24041 printf("*** so that the correct libraries are found at run-time))\n");
24042 }
24043 }
24044 return 1;
24045 }
24046
24047 _ACEOF
24048 if ac_fn_c_try_run "$LINENO"; then :
24049
24050 else
24051 no_gtk=yes
24052 fi
24053 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24054 conftest.$ac_objext conftest.beam conftest.$ac_ext
24055 fi
24056
24057 CFLAGS="$ac_save_CFLAGS"
24058 LIBS="$ac_save_LIBS"
24059 fi
24060 fi
24061 if test "x$no_gtk" = x ; then
24062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24063 $as_echo "yes" >&6; }
24064 wx_cv_lib_gtk=1.2.7
24065 else
24066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24067 $as_echo "no" >&6; }
24068 if test "$GTK_CONFIG" = "no" ; then
24069 echo "*** The gtk-config script installed by GTK could not be found"
24070 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24071 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24072 echo "*** full path to gtk-config."
24073 else
24074 if test -f conf.gtktest ; then
24075 :
24076 else
24077 echo "*** Could not run GTK test program, checking why..."
24078 CFLAGS="$CFLAGS $GTK_CFLAGS"
24079 LIBS="$LIBS $GTK_LIBS"
24080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24081 /* end confdefs.h. */
24082
24083 #include <gtk/gtk.h>
24084 #include <stdio.h>
24085
24086 int
24087 main ()
24088 {
24089 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24090 ;
24091 return 0;
24092 }
24093 _ACEOF
24094 if ac_fn_c_try_link "$LINENO"; then :
24095 echo "*** The test program compiled, but did not run. This usually means"
24096 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24097 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24098 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24099 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24100 echo "*** is required on your system"
24101 echo "***"
24102 echo "*** If you have an old version installed, it is best to remove it, although"
24103 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24104 echo "***"
24105 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24106 echo "*** came with the system with the command"
24107 echo "***"
24108 echo "*** rpm --erase --nodeps gtk gtk-devel"
24109 else
24110 echo "*** The test program failed to compile or link. See the file config.log for the"
24111 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24112 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24113 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24114 fi
24115 rm -f core conftest.err conftest.$ac_objext \
24116 conftest$ac_exeext conftest.$ac_ext
24117 CFLAGS="$ac_save_CFLAGS"
24118 LIBS="$ac_save_LIBS"
24119 fi
24120 fi
24121 GTK_CFLAGS=""
24122 GTK_LIBS=""
24123 :
24124 fi
24125
24126
24127 rm -f conf.gtktest
24128
24129
24130 if test -z "$wx_cv_lib_gtk"; then
24131
24132 # Check whether --with-gtk-prefix was given.
24133 if test "${with_gtk_prefix+set}" = set; then :
24134 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
24135 else
24136 gtk_config_prefix=""
24137 fi
24138
24139
24140 # Check whether --with-gtk-exec-prefix was given.
24141 if test "${with_gtk_exec_prefix+set}" = set; then :
24142 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
24143 else
24144 gtk_config_exec_prefix=""
24145 fi
24146
24147 # Check whether --enable-gtktest was given.
24148 if test "${enable_gtktest+set}" = set; then :
24149 enableval=$enable_gtktest;
24150 else
24151 enable_gtktest=yes
24152 fi
24153
24154
24155 for module in . $GTK_MODULES
24156 do
24157 case "$module" in
24158 gthread)
24159 gtk_config_args="$gtk_config_args gthread"
24160 ;;
24161 esac
24162 done
24163
24164 if test x$gtk_config_exec_prefix != x ; then
24165 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24166 if test x${GTK_CONFIG+set} != xset ; then
24167 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24168 fi
24169 fi
24170 if test x$gtk_config_prefix != x ; then
24171 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24172 if test x${GTK_CONFIG+set} != xset ; then
24173 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24174 fi
24175 fi
24176
24177 # Extract the first word of "gtk-config", so it can be a program name with args.
24178 set dummy gtk-config; ac_word=$2
24179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24180 $as_echo_n "checking for $ac_word... " >&6; }
24181 if ${ac_cv_path_GTK_CONFIG+:} false; then :
24182 $as_echo_n "(cached) " >&6
24183 else
24184 case $GTK_CONFIG in
24185 [\\/]* | ?:[\\/]*)
24186 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24187 ;;
24188 *)
24189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24190 for as_dir in $PATH
24191 do
24192 IFS=$as_save_IFS
24193 test -z "$as_dir" && as_dir=.
24194 for ac_exec_ext in '' $ac_executable_extensions; do
24195 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24196 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24198 break 2
24199 fi
24200 done
24201 done
24202 IFS=$as_save_IFS
24203
24204 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24205 ;;
24206 esac
24207 fi
24208 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24209 if test -n "$GTK_CONFIG"; then
24210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24211 $as_echo "$GTK_CONFIG" >&6; }
24212 else
24213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24214 $as_echo "no" >&6; }
24215 fi
24216
24217
24218 min_gtk_version=1.2.3
24219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24220 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24221 no_gtk=""
24222 if test "$GTK_CONFIG" = "no" ; then
24223 no_gtk=yes
24224 else
24225 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24226 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24227 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24228 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24229 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24230 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24231 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24232 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24233 if test "x$enable_gtktest" = "xyes" ; then
24234 ac_save_CFLAGS="$CFLAGS"
24235 ac_save_LIBS="$LIBS"
24236 CFLAGS="$CFLAGS $GTK_CFLAGS"
24237 LIBS="$GTK_LIBS $LIBS"
24238 rm -f conf.gtktest
24239 if test "$cross_compiling" = yes; then :
24240 echo $ac_n "cross compiling; assumed OK... $ac_c"
24241 else
24242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24243 /* end confdefs.h. */
24244
24245 #include <gtk/gtk.h>
24246 #include <stdio.h>
24247 #include <stdlib.h>
24248
24249 int
24250 main ()
24251 {
24252 int major, minor, micro;
24253 char *tmp_version;
24254
24255 system ("touch conf.gtktest");
24256
24257 /* HP/UX 9 (%@#!) writes to sscanf strings */
24258 tmp_version = g_strdup("$min_gtk_version");
24259 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24260 printf("%s, bad version string\n", "$min_gtk_version");
24261 exit(1);
24262 }
24263
24264 if ((gtk_major_version != $gtk_config_major_version) ||
24265 (gtk_minor_version != $gtk_config_minor_version) ||
24266 (gtk_micro_version != $gtk_config_micro_version))
24267 {
24268 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24269 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24270 gtk_major_version, gtk_minor_version, gtk_micro_version);
24271 printf ("*** was found! If gtk-config was correct, then it is best\n");
24272 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24273 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24274 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24275 printf("*** required on your system.\n");
24276 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24277 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24278 printf("*** before re-running configure\n");
24279 }
24280 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24281 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24282 (gtk_minor_version != GTK_MINOR_VERSION) ||
24283 (gtk_micro_version != GTK_MICRO_VERSION))
24284 {
24285 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24286 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24287 printf("*** library (version %d.%d.%d)\n",
24288 gtk_major_version, gtk_minor_version, gtk_micro_version);
24289 }
24290 #endif /* defined (GTK_MAJOR_VERSION) ... */
24291 else
24292 {
24293 if ((gtk_major_version > major) ||
24294 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24295 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24296 {
24297 return 0;
24298 }
24299 else
24300 {
24301 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24302 gtk_major_version, gtk_minor_version, gtk_micro_version);
24303 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24304 major, minor, micro);
24305 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24306 printf("***\n");
24307 printf("*** If you have already installed a sufficiently new version, this error\n");
24308 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24309 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24310 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24311 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24312 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24313 printf("*** so that the correct libraries are found at run-time))\n");
24314 }
24315 }
24316 return 1;
24317 }
24318
24319 _ACEOF
24320 if ac_fn_c_try_run "$LINENO"; then :
24321
24322 else
24323 no_gtk=yes
24324 fi
24325 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24326 conftest.$ac_objext conftest.beam conftest.$ac_ext
24327 fi
24328
24329 CFLAGS="$ac_save_CFLAGS"
24330 LIBS="$ac_save_LIBS"
24331 fi
24332 fi
24333 if test "x$no_gtk" = x ; then
24334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24335 $as_echo "yes" >&6; }
24336 wx_cv_lib_gtk=1.2.3
24337 else
24338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24339 $as_echo "no" >&6; }
24340 if test "$GTK_CONFIG" = "no" ; then
24341 echo "*** The gtk-config script installed by GTK could not be found"
24342 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24343 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24344 echo "*** full path to gtk-config."
24345 else
24346 if test -f conf.gtktest ; then
24347 :
24348 else
24349 echo "*** Could not run GTK test program, checking why..."
24350 CFLAGS="$CFLAGS $GTK_CFLAGS"
24351 LIBS="$LIBS $GTK_LIBS"
24352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24353 /* end confdefs.h. */
24354
24355 #include <gtk/gtk.h>
24356 #include <stdio.h>
24357
24358 int
24359 main ()
24360 {
24361 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24362 ;
24363 return 0;
24364 }
24365 _ACEOF
24366 if ac_fn_c_try_link "$LINENO"; then :
24367 echo "*** The test program compiled, but did not run. This usually means"
24368 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24369 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24370 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24371 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24372 echo "*** is required on your system"
24373 echo "***"
24374 echo "*** If you have an old version installed, it is best to remove it, although"
24375 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24376 echo "***"
24377 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24378 echo "*** came with the system with the command"
24379 echo "***"
24380 echo "*** rpm --erase --nodeps gtk gtk-devel"
24381 else
24382 echo "*** The test program failed to compile or link. See the file config.log for the"
24383 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24384 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24385 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24386 fi
24387 rm -f core conftest.err conftest.$ac_objext \
24388 conftest$ac_exeext conftest.$ac_ext
24389 CFLAGS="$ac_save_CFLAGS"
24390 LIBS="$ac_save_LIBS"
24391 fi
24392 fi
24393 GTK_CFLAGS=""
24394 GTK_LIBS=""
24395 :
24396 fi
24397
24398
24399 rm -f conf.gtktest
24400
24401 fi
24402 fi
24403 fi
24404
24405 if test -z "$wx_cv_lib_gtk"; then
24406 wx_cv_lib_gtk=none
24407 else
24408 GTK_LIBS="$GTK_LIBS -lX11"
24409
24410 wx_cv_cflags_gtk=$GTK_CFLAGS
24411 wx_cv_libs_gtk=$GTK_LIBS
24412 fi
24413
24414
24415 fi
24416
24417
24418 if test "$gtk_version_cached" = 1; then
24419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24420 $as_echo "$wx_cv_lib_gtk" >&6; }
24421 fi
24422
24423 case "$wx_cv_lib_gtk" in
24424 3) WXGTK3=1
24425 TOOLKIT_VERSION=3
24426 ;;
24427 2.0) WXGTK2=1
24428 TOOLKIT_VERSION=2
24429 ;;
24430 1.2.7) WXGTK127=1
24431 WXGTK1=1
24432 ;;
24433 1.2*) WXGTK1=1 ;;
24434 *) as_fn_error $? "
24435 The development files for GTK+ were not found. For GTK+ 2, please
24436 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24437 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24438 and that the version is 1.2.3 or above. Also check that the
24439 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24440 --libs' are in the LD_LIBRARY_PATH or equivalent.
24441 " "$LINENO" 5
24442 ;;
24443 esac
24444
24445 if test "$WXGTK3" = 1; then
24446 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24447
24448 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24449
24450 elif test "$WXGTK2" = 1; then
24451 save_CFLAGS="$CFLAGS"
24452 save_LIBS="$LIBS"
24453 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
24454 LIBS="$LIBS $wx_cv_libs_gtk"
24455
24456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24457 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24459 /* end confdefs.h. */
24460
24461 #include <gtk/gtk.h>
24462
24463 int
24464 main ()
24465 {
24466
24467 #if !GTK_CHECK_VERSION(2,18,0)
24468 Not GTK+ 2.18
24469 #endif
24470
24471 ;
24472 return 0;
24473 }
24474 _ACEOF
24475 if ac_fn_c_try_compile "$LINENO"; then :
24476
24477 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24478
24479 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24480
24481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24482 $as_echo "yes" >&6; }
24483 ac_wxgtk218=1
24484
24485 else
24486
24487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24488 $as_echo "no" >&6; }
24489 ac_wxgtk218=0
24490
24491 fi
24492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24493
24494 if test "$ac_wxgtk218" = 0; then
24495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24496 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24498 /* end confdefs.h. */
24499
24500 #include <gtk/gtk.h>
24501
24502 int
24503 main ()
24504 {
24505
24506 #if !GTK_CHECK_VERSION(2,10,0)
24507 Not GTK+ 2.10
24508 #endif
24509
24510 ;
24511 return 0;
24512 }
24513 _ACEOF
24514 if ac_fn_c_try_compile "$LINENO"; then :
24515
24516 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24517
24518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24519 $as_echo "yes" >&6; }
24520 ac_wxgtk210=1
24521
24522 else
24523
24524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24525 $as_echo "no" >&6; }
24526 ac_wxgtk210=0
24527
24528 fi
24529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24530 fi
24531
24532 CFLAGS="$save_CFLAGS"
24533 LIBS="$save_LIBS"
24534 else
24535 if test "$wxUSE_UNICODE" = "yes"; then
24536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24537 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24538 wxUSE_UNICODE=no
24539 fi
24540
24541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24542 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24543 if ${ac_cv_lib_gdk_gdk_im_open+:} false; then :
24544 $as_echo_n "(cached) " >&6
24545 else
24546 ac_check_lib_save_LIBS=$LIBS
24547 LIBS="-lgdk $LIBS"
24548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24549 /* end confdefs.h. */
24550
24551 /* Override any GCC internal prototype to avoid an error.
24552 Use char because int might match the return type of a GCC
24553 builtin and then its argument prototype would still apply. */
24554 #ifdef __cplusplus
24555 extern "C"
24556 #endif
24557 char gdk_im_open ();
24558 int
24559 main ()
24560 {
24561 return gdk_im_open ();
24562 ;
24563 return 0;
24564 }
24565 _ACEOF
24566 if ac_fn_c_try_link "$LINENO"; then :
24567 ac_cv_lib_gdk_gdk_im_open=yes
24568 else
24569 ac_cv_lib_gdk_gdk_im_open=no
24570 fi
24571 rm -f core conftest.err conftest.$ac_objext \
24572 conftest$ac_exeext conftest.$ac_ext
24573 LIBS=$ac_check_lib_save_LIBS
24574 fi
24575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24576 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24577 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes; then :
24578 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24579
24580 fi
24581
24582
24583 if test "$USE_DARWIN" != 1; then
24584 for ac_func in poll
24585 do :
24586 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
24587 if test "x$ac_cv_func_poll" = xyes; then :
24588 cat >>confdefs.h <<_ACEOF
24589 #define HAVE_POLL 1
24590 _ACEOF
24591
24592 fi
24593 done
24594
24595 fi
24596 fi
24597
24598 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24599 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24600 TOOLKIT=GTK
24601 GUIDIST=GTK_DIST
24602
24603 if test "$wxUSE_GPE" = "yes"; then
24604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24605 $as_echo_n "checking for gpewidget library... " >&6; }
24606
24607 ac_find_libraries=
24608 for ac_dir in $SEARCH_LIB
24609 do
24610 for ac_extension in a so sl dylib dll.a; do
24611 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24612 ac_find_libraries=$ac_dir
24613 break 2
24614 fi
24615 done
24616 done
24617
24618 if test "$ac_find_libraries" != "" ; then
24619
24620 if test "$ac_find_libraries" = "default location"; then
24621 ac_path_to_link=""
24622 else
24623 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24624 result=$?
24625 if test $result = 0; then
24626 ac_path_to_link=""
24627 else
24628 ac_path_to_link=" -L$ac_find_libraries"
24629 fi
24630 fi
24631
24632 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24633 WXGPE=1
24634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24635 $as_echo "found in $ac_find_libraries" >&6; }
24636 else
24637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24638 $as_echo "not found" >&6; }
24639 fi
24640
24641 fi
24642 fi
24643
24644 if test "$wxUSE_DFB" = 1; then
24645
24646
24647 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24648 if test -n "$ac_tool_prefix"; then
24649 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24650 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24652 $as_echo_n "checking for $ac_word... " >&6; }
24653 if ${ac_cv_path_PKG_CONFIG+:} false; then :
24654 $as_echo_n "(cached) " >&6
24655 else
24656 case $PKG_CONFIG in
24657 [\\/]* | ?:[\\/]*)
24658 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24659 ;;
24660 *)
24661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24662 for as_dir in $PATH
24663 do
24664 IFS=$as_save_IFS
24665 test -z "$as_dir" && as_dir=.
24666 for ac_exec_ext in '' $ac_executable_extensions; do
24667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24668 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24670 break 2
24671 fi
24672 done
24673 done
24674 IFS=$as_save_IFS
24675
24676 ;;
24677 esac
24678 fi
24679 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24680 if test -n "$PKG_CONFIG"; then
24681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24682 $as_echo "$PKG_CONFIG" >&6; }
24683 else
24684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24685 $as_echo "no" >&6; }
24686 fi
24687
24688
24689 fi
24690 if test -z "$ac_cv_path_PKG_CONFIG"; then
24691 ac_pt_PKG_CONFIG=$PKG_CONFIG
24692 # Extract the first word of "pkg-config", so it can be a program name with args.
24693 set dummy pkg-config; ac_word=$2
24694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24695 $as_echo_n "checking for $ac_word... " >&6; }
24696 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
24697 $as_echo_n "(cached) " >&6
24698 else
24699 case $ac_pt_PKG_CONFIG in
24700 [\\/]* | ?:[\\/]*)
24701 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24702 ;;
24703 *)
24704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24705 for as_dir in $PATH
24706 do
24707 IFS=$as_save_IFS
24708 test -z "$as_dir" && as_dir=.
24709 for ac_exec_ext in '' $ac_executable_extensions; do
24710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24711 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24713 break 2
24714 fi
24715 done
24716 done
24717 IFS=$as_save_IFS
24718
24719 ;;
24720 esac
24721 fi
24722 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24723 if test -n "$ac_pt_PKG_CONFIG"; then
24724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24725 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24726 else
24727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24728 $as_echo "no" >&6; }
24729 fi
24730
24731 if test "x$ac_pt_PKG_CONFIG" = x; then
24732 PKG_CONFIG=""
24733 else
24734 case $cross_compiling:$ac_tool_warned in
24735 yes:)
24736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24738 ac_tool_warned=yes ;;
24739 esac
24740 PKG_CONFIG=$ac_pt_PKG_CONFIG
24741 fi
24742 else
24743 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24744 fi
24745
24746 fi
24747 if test -n "$PKG_CONFIG"; then
24748 _pkg_min_version=0.9.0
24749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24750 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24751 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24753 $as_echo "yes" >&6; }
24754 else
24755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24756 $as_echo "no" >&6; }
24757 PKG_CONFIG=""
24758 fi
24759
24760 fi
24761
24762
24763 pkg_failed=no
24764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24765 $as_echo_n "checking for DIRECTFB... " >&6; }
24766
24767 if test -n "$PKG_CONFIG"; then
24768 if test -n "$DIRECTFB_CFLAGS"; then
24769 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24770 else
24771 if test -n "$PKG_CONFIG" && \
24772 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24773 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24774 ac_status=$?
24775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24776 test $ac_status = 0; }; then
24777 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24778 else
24779 pkg_failed=yes
24780 fi
24781 fi
24782 else
24783 pkg_failed=untried
24784 fi
24785 if test -n "$PKG_CONFIG"; then
24786 if test -n "$DIRECTFB_LIBS"; then
24787 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24788 else
24789 if test -n "$PKG_CONFIG" && \
24790 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24791 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24792 ac_status=$?
24793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24794 test $ac_status = 0; }; then
24795 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24796 else
24797 pkg_failed=yes
24798 fi
24799 fi
24800 else
24801 pkg_failed=untried
24802 fi
24803
24804
24805
24806 if test $pkg_failed = yes; then
24807
24808 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24809 _pkg_short_errors_supported=yes
24810 else
24811 _pkg_short_errors_supported=no
24812 fi
24813 if test $_pkg_short_errors_supported = yes; then
24814 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24815 else
24816 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24817 fi
24818 # Put the nasty error message in config.log where it belongs
24819 echo "$DIRECTFB_PKG_ERRORS" >&5
24820
24821
24822 as_fn_error $? "DirectFB not found." "$LINENO" 5
24823
24824
24825 elif test $pkg_failed = untried; then
24826
24827 as_fn_error $? "DirectFB not found." "$LINENO" 5
24828
24829
24830 else
24831 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24832 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24834 $as_echo "yes" >&6; }
24835
24836 wxUSE_UNIVERSAL="yes"
24837 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
24838 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
24839 TOOLKIT=DFB
24840 GUIDIST=DFB_DIST
24841
24842 fi
24843 fi
24844
24845 if test "$wxUSE_MICROWIN" = 1; then
24846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24847 $as_echo_n "checking for MicroWindows... " >&6; }
24848 if test "x$MICROWINDOWS" = x ; then
24849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24850 $as_echo "not found" >&6; }
24851 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24852 else
24853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24854 $as_echo "$MICROWINDOWS" >&6; }
24855 fi
24856
24857 if test -f $MICROWINDOWS/lib/libmwin.a; then
24858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24859 $as_echo "MicroWindows' libraries found." >&6; }
24860 else
24861 as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24862 fi
24863
24864 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24865 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24866
24867 wxUSE_UNIVERSAL="yes"
24868
24869 TOOLKIT=MICROWIN
24870 GUIDIST=MICROWIN_DIST
24871
24872 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24873 fi
24874
24875 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24877 $as_echo_n "checking for X... " >&6; }
24878
24879
24880 # Check whether --with-x was given.
24881 if test "${with_x+set}" = set; then :
24882 withval=$with_x;
24883 fi
24884
24885 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24886 if test "x$with_x" = xno; then
24887 # The user explicitly disabled X.
24888 have_x=disabled
24889 else
24890 case $x_includes,$x_libraries in #(
24891 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24892 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
24893 $as_echo_n "(cached) " >&6
24894 else
24895 # One or both of the vars are not set, and there is no cached value.
24896 ac_x_includes=no ac_x_libraries=no
24897 rm -f -r conftest.dir
24898 if mkdir conftest.dir; then
24899 cd conftest.dir
24900 cat >Imakefile <<'_ACEOF'
24901 incroot:
24902 @echo incroot='${INCROOT}'
24903 usrlibdir:
24904 @echo usrlibdir='${USRLIBDIR}'
24905 libdir:
24906 @echo libdir='${LIBDIR}'
24907 _ACEOF
24908 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24909 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24910 for ac_var in incroot usrlibdir libdir; do
24911 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24912 done
24913 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24914 for ac_extension in a so sl dylib la dll; do
24915 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24916 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24917 ac_im_usrlibdir=$ac_im_libdir; break
24918 fi
24919 done
24920 # Screen out bogus values from the imake configuration. They are
24921 # bogus both because they are the default anyway, and because
24922 # using them would break gcc on systems where it needs fixed includes.
24923 case $ac_im_incroot in
24924 /usr/include) ac_x_includes= ;;
24925 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24926 esac
24927 case $ac_im_usrlibdir in
24928 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24929 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24930 esac
24931 fi
24932 cd ..
24933 rm -f -r conftest.dir
24934 fi
24935
24936 # Standard set of common directories for X headers.
24937 # Check X11 before X11Rn because it is often a symlink to the current release.
24938 ac_x_header_dirs='
24939 /usr/X11/include
24940 /usr/X11R7/include
24941 /usr/X11R6/include
24942 /usr/X11R5/include
24943 /usr/X11R4/include
24944
24945 /usr/include/X11
24946 /usr/include/X11R7
24947 /usr/include/X11R6
24948 /usr/include/X11R5
24949 /usr/include/X11R4
24950
24951 /usr/local/X11/include
24952 /usr/local/X11R7/include
24953 /usr/local/X11R6/include
24954 /usr/local/X11R5/include
24955 /usr/local/X11R4/include
24956
24957 /usr/local/include/X11
24958 /usr/local/include/X11R7
24959 /usr/local/include/X11R6
24960 /usr/local/include/X11R5
24961 /usr/local/include/X11R4
24962
24963 /usr/X386/include
24964 /usr/x386/include
24965 /usr/XFree86/include/X11
24966
24967 /usr/include
24968 /usr/local/include
24969 /usr/unsupported/include
24970 /usr/athena/include
24971 /usr/local/x11r5/include
24972 /usr/lpp/Xamples/include
24973
24974 /usr/openwin/include
24975 /usr/openwin/share/include'
24976
24977 if test "$ac_x_includes" = no; then
24978 # Guess where to find include files, by looking for Xlib.h.
24979 # First, try using that file with no special directory specified.
24980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24981 /* end confdefs.h. */
24982 #include <X11/Xlib.h>
24983 _ACEOF
24984 if ac_fn_c_try_cpp "$LINENO"; then :
24985 # We can compile using X headers with no special include directory.
24986 ac_x_includes=
24987 else
24988 for ac_dir in $ac_x_header_dirs; do
24989 if test -r "$ac_dir/X11/Xlib.h"; then
24990 ac_x_includes=$ac_dir
24991 break
24992 fi
24993 done
24994 fi
24995 rm -f conftest.err conftest.i conftest.$ac_ext
24996 fi # $ac_x_includes = no
24997
24998 if test "$ac_x_libraries" = no; then
24999 # Check for the libraries.
25000 # See if we find them without any special options.
25001 # Don't add to $LIBS permanently.
25002 ac_save_LIBS=$LIBS
25003 LIBS="-lX11 $LIBS"
25004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25005 /* end confdefs.h. */
25006 #include <X11/Xlib.h>
25007 int
25008 main ()
25009 {
25010 XrmInitialize ()
25011 ;
25012 return 0;
25013 }
25014 _ACEOF
25015 if ac_fn_c_try_link "$LINENO"; then :
25016 LIBS=$ac_save_LIBS
25017 # We can link X programs with no special library path.
25018 ac_x_libraries=
25019 else
25020 LIBS=$ac_save_LIBS
25021 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25022 do
25023 # Don't even attempt the hair of trying to link an X program!
25024 for ac_extension in a so sl dylib la dll; do
25025 if test -r "$ac_dir/libX11.$ac_extension"; then
25026 ac_x_libraries=$ac_dir
25027 break 2
25028 fi
25029 done
25030 done
25031 fi
25032 rm -f core conftest.err conftest.$ac_objext \
25033 conftest$ac_exeext conftest.$ac_ext
25034 fi # $ac_x_libraries = no
25035
25036 case $ac_x_includes,$ac_x_libraries in #(
25037 no,* | *,no | *\'*)
25038 # Didn't find X, or a directory has "'" in its name.
25039 ac_cv_have_x="have_x=no";; #(
25040 *)
25041 # Record where we found X for the cache.
25042 ac_cv_have_x="have_x=yes\
25043 ac_x_includes='$ac_x_includes'\
25044 ac_x_libraries='$ac_x_libraries'"
25045 esac
25046 fi
25047 ;; #(
25048 *) have_x=yes;;
25049 esac
25050 eval "$ac_cv_have_x"
25051 fi # $with_x != no
25052
25053 if test "$have_x" != yes; then
25054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25055 $as_echo "$have_x" >&6; }
25056 no_x=yes
25057 else
25058 # If each of the values was on the command line, it overrides each guess.
25059 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25060 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25061 # Update the cache value to reflect the command line values.
25062 ac_cv_have_x="have_x=yes\
25063 ac_x_includes='$x_includes'\
25064 ac_x_libraries='$x_libraries'"
25065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25066 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25067 fi
25068
25069 if test "$no_x" = yes; then
25070 # Not all programs may use this symbol, but it does not hurt to define it.
25071
25072 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25073
25074 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25075 else
25076 if test -n "$x_includes"; then
25077 X_CFLAGS="$X_CFLAGS -I$x_includes"
25078 fi
25079
25080 # It would also be nice to do this for all -L options, not just this one.
25081 if test -n "$x_libraries"; then
25082 X_LIBS="$X_LIBS -L$x_libraries"
25083 # For Solaris; some versions of Sun CC require a space after -R and
25084 # others require no space. Words are not sufficient . . . .
25085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25086 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
25087 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25088 ac_xsave_c_werror_flag=$ac_c_werror_flag
25089 ac_c_werror_flag=yes
25090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25091 /* end confdefs.h. */
25092
25093 int
25094 main ()
25095 {
25096
25097 ;
25098 return 0;
25099 }
25100 _ACEOF
25101 if ac_fn_c_try_link "$LINENO"; then :
25102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25103 $as_echo "no" >&6; }
25104 X_LIBS="$X_LIBS -R$x_libraries"
25105 else
25106 LIBS="$ac_xsave_LIBS -R $x_libraries"
25107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25108 /* end confdefs.h. */
25109
25110 int
25111 main ()
25112 {
25113
25114 ;
25115 return 0;
25116 }
25117 _ACEOF
25118 if ac_fn_c_try_link "$LINENO"; then :
25119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25120 $as_echo "yes" >&6; }
25121 X_LIBS="$X_LIBS -R $x_libraries"
25122 else
25123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25124 $as_echo "neither works" >&6; }
25125 fi
25126 rm -f core conftest.err conftest.$ac_objext \
25127 conftest$ac_exeext conftest.$ac_ext
25128 fi
25129 rm -f core conftest.err conftest.$ac_objext \
25130 conftest$ac_exeext conftest.$ac_ext
25131 ac_c_werror_flag=$ac_xsave_c_werror_flag
25132 LIBS=$ac_xsave_LIBS
25133 fi
25134
25135 # Check for system-dependent libraries X programs must link with.
25136 # Do this before checking for the system-independent R6 libraries
25137 # (-lICE), since we may need -lsocket or whatever for X linking.
25138
25139 if test "$ISC" = yes; then
25140 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25141 else
25142 # Martyn Johnson says this is needed for Ultrix, if the X
25143 # libraries were built with DECnet support. And Karl Berry says
25144 # the Alpha needs dnet_stub (dnet does not exist).
25145 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25147 /* end confdefs.h. */
25148
25149 /* Override any GCC internal prototype to avoid an error.
25150 Use char because int might match the return type of a GCC
25151 builtin and then its argument prototype would still apply. */
25152 #ifdef __cplusplus
25153 extern "C"
25154 #endif
25155 char XOpenDisplay ();
25156 int
25157 main ()
25158 {
25159 return XOpenDisplay ();
25160 ;
25161 return 0;
25162 }
25163 _ACEOF
25164 if ac_fn_c_try_link "$LINENO"; then :
25165
25166 else
25167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25168 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25169 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
25170 $as_echo_n "(cached) " >&6
25171 else
25172 ac_check_lib_save_LIBS=$LIBS
25173 LIBS="-ldnet $LIBS"
25174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25175 /* end confdefs.h. */
25176
25177 /* Override any GCC internal prototype to avoid an error.
25178 Use char because int might match the return type of a GCC
25179 builtin and then its argument prototype would still apply. */
25180 #ifdef __cplusplus
25181 extern "C"
25182 #endif
25183 char dnet_ntoa ();
25184 int
25185 main ()
25186 {
25187 return dnet_ntoa ();
25188 ;
25189 return 0;
25190 }
25191 _ACEOF
25192 if ac_fn_c_try_link "$LINENO"; then :
25193 ac_cv_lib_dnet_dnet_ntoa=yes
25194 else
25195 ac_cv_lib_dnet_dnet_ntoa=no
25196 fi
25197 rm -f core conftest.err conftest.$ac_objext \
25198 conftest$ac_exeext conftest.$ac_ext
25199 LIBS=$ac_check_lib_save_LIBS
25200 fi
25201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25202 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25203 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
25204 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25205 fi
25206
25207 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25209 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25210 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
25211 $as_echo_n "(cached) " >&6
25212 else
25213 ac_check_lib_save_LIBS=$LIBS
25214 LIBS="-ldnet_stub $LIBS"
25215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25216 /* end confdefs.h. */
25217
25218 /* Override any GCC internal prototype to avoid an error.
25219 Use char because int might match the return type of a GCC
25220 builtin and then its argument prototype would still apply. */
25221 #ifdef __cplusplus
25222 extern "C"
25223 #endif
25224 char dnet_ntoa ();
25225 int
25226 main ()
25227 {
25228 return dnet_ntoa ();
25229 ;
25230 return 0;
25231 }
25232 _ACEOF
25233 if ac_fn_c_try_link "$LINENO"; then :
25234 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25235 else
25236 ac_cv_lib_dnet_stub_dnet_ntoa=no
25237 fi
25238 rm -f core conftest.err conftest.$ac_objext \
25239 conftest$ac_exeext conftest.$ac_ext
25240 LIBS=$ac_check_lib_save_LIBS
25241 fi
25242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25243 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25244 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
25245 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25246 fi
25247
25248 fi
25249 fi
25250 rm -f core conftest.err conftest.$ac_objext \
25251 conftest$ac_exeext conftest.$ac_ext
25252 LIBS="$ac_xsave_LIBS"
25253
25254 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25255 # to get the SysV transport functions.
25256 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25257 # needs -lnsl.
25258 # The nsl library prevents programs from opening the X display
25259 # on Irix 5.2, according to T.E. Dickey.
25260 # The functions gethostbyname, getservbyname, and inet_addr are
25261 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25262 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25263 if test "x$ac_cv_func_gethostbyname" = xyes; then :
25264
25265 fi
25266
25267 if test $ac_cv_func_gethostbyname = no; then
25268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25269 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25270 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
25271 $as_echo_n "(cached) " >&6
25272 else
25273 ac_check_lib_save_LIBS=$LIBS
25274 LIBS="-lnsl $LIBS"
25275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25276 /* end confdefs.h. */
25277
25278 /* Override any GCC internal prototype to avoid an error.
25279 Use char because int might match the return type of a GCC
25280 builtin and then its argument prototype would still apply. */
25281 #ifdef __cplusplus
25282 extern "C"
25283 #endif
25284 char gethostbyname ();
25285 int
25286 main ()
25287 {
25288 return gethostbyname ();
25289 ;
25290 return 0;
25291 }
25292 _ACEOF
25293 if ac_fn_c_try_link "$LINENO"; then :
25294 ac_cv_lib_nsl_gethostbyname=yes
25295 else
25296 ac_cv_lib_nsl_gethostbyname=no
25297 fi
25298 rm -f core conftest.err conftest.$ac_objext \
25299 conftest$ac_exeext conftest.$ac_ext
25300 LIBS=$ac_check_lib_save_LIBS
25301 fi
25302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25303 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25304 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
25305 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25306 fi
25307
25308 if test $ac_cv_lib_nsl_gethostbyname = no; then
25309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25310 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25311 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
25312 $as_echo_n "(cached) " >&6
25313 else
25314 ac_check_lib_save_LIBS=$LIBS
25315 LIBS="-lbsd $LIBS"
25316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25317 /* end confdefs.h. */
25318
25319 /* Override any GCC internal prototype to avoid an error.
25320 Use char because int might match the return type of a GCC
25321 builtin and then its argument prototype would still apply. */
25322 #ifdef __cplusplus
25323 extern "C"
25324 #endif
25325 char gethostbyname ();
25326 int
25327 main ()
25328 {
25329 return gethostbyname ();
25330 ;
25331 return 0;
25332 }
25333 _ACEOF
25334 if ac_fn_c_try_link "$LINENO"; then :
25335 ac_cv_lib_bsd_gethostbyname=yes
25336 else
25337 ac_cv_lib_bsd_gethostbyname=no
25338 fi
25339 rm -f core conftest.err conftest.$ac_objext \
25340 conftest$ac_exeext conftest.$ac_ext
25341 LIBS=$ac_check_lib_save_LIBS
25342 fi
25343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25344 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25345 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
25346 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25347 fi
25348
25349 fi
25350 fi
25351
25352 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25353 # socket/setsockopt and other routines are undefined under SCO ODT
25354 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25355 # on later versions), says Simon Leinen: it contains gethostby*
25356 # variants that don't use the name server (or something). -lsocket
25357 # must be given before -lnsl if both are needed. We assume that
25358 # if connect needs -lnsl, so does gethostbyname.
25359 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25360 if test "x$ac_cv_func_connect" = xyes; then :
25361
25362 fi
25363
25364 if test $ac_cv_func_connect = no; then
25365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25366 $as_echo_n "checking for connect in -lsocket... " >&6; }
25367 if ${ac_cv_lib_socket_connect+:} false; then :
25368 $as_echo_n "(cached) " >&6
25369 else
25370 ac_check_lib_save_LIBS=$LIBS
25371 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25373 /* end confdefs.h. */
25374
25375 /* Override any GCC internal prototype to avoid an error.
25376 Use char because int might match the return type of a GCC
25377 builtin and then its argument prototype would still apply. */
25378 #ifdef __cplusplus
25379 extern "C"
25380 #endif
25381 char connect ();
25382 int
25383 main ()
25384 {
25385 return connect ();
25386 ;
25387 return 0;
25388 }
25389 _ACEOF
25390 if ac_fn_c_try_link "$LINENO"; then :
25391 ac_cv_lib_socket_connect=yes
25392 else
25393 ac_cv_lib_socket_connect=no
25394 fi
25395 rm -f core conftest.err conftest.$ac_objext \
25396 conftest$ac_exeext conftest.$ac_ext
25397 LIBS=$ac_check_lib_save_LIBS
25398 fi
25399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25400 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25401 if test "x$ac_cv_lib_socket_connect" = xyes; then :
25402 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25403 fi
25404
25405 fi
25406
25407 # Guillermo Gomez says -lposix is necessary on A/UX.
25408 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25409 if test "x$ac_cv_func_remove" = xyes; then :
25410
25411 fi
25412
25413 if test $ac_cv_func_remove = no; then
25414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25415 $as_echo_n "checking for remove in -lposix... " >&6; }
25416 if ${ac_cv_lib_posix_remove+:} false; then :
25417 $as_echo_n "(cached) " >&6
25418 else
25419 ac_check_lib_save_LIBS=$LIBS
25420 LIBS="-lposix $LIBS"
25421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25422 /* end confdefs.h. */
25423
25424 /* Override any GCC internal prototype to avoid an error.
25425 Use char because int might match the return type of a GCC
25426 builtin and then its argument prototype would still apply. */
25427 #ifdef __cplusplus
25428 extern "C"
25429 #endif
25430 char remove ();
25431 int
25432 main ()
25433 {
25434 return remove ();
25435 ;
25436 return 0;
25437 }
25438 _ACEOF
25439 if ac_fn_c_try_link "$LINENO"; then :
25440 ac_cv_lib_posix_remove=yes
25441 else
25442 ac_cv_lib_posix_remove=no
25443 fi
25444 rm -f core conftest.err conftest.$ac_objext \
25445 conftest$ac_exeext conftest.$ac_ext
25446 LIBS=$ac_check_lib_save_LIBS
25447 fi
25448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25449 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25450 if test "x$ac_cv_lib_posix_remove" = xyes; then :
25451 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25452 fi
25453
25454 fi
25455
25456 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25457 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25458 if test "x$ac_cv_func_shmat" = xyes; then :
25459
25460 fi
25461
25462 if test $ac_cv_func_shmat = no; then
25463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25464 $as_echo_n "checking for shmat in -lipc... " >&6; }
25465 if ${ac_cv_lib_ipc_shmat+:} false; then :
25466 $as_echo_n "(cached) " >&6
25467 else
25468 ac_check_lib_save_LIBS=$LIBS
25469 LIBS="-lipc $LIBS"
25470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25471 /* end confdefs.h. */
25472
25473 /* Override any GCC internal prototype to avoid an error.
25474 Use char because int might match the return type of a GCC
25475 builtin and then its argument prototype would still apply. */
25476 #ifdef __cplusplus
25477 extern "C"
25478 #endif
25479 char shmat ();
25480 int
25481 main ()
25482 {
25483 return shmat ();
25484 ;
25485 return 0;
25486 }
25487 _ACEOF
25488 if ac_fn_c_try_link "$LINENO"; then :
25489 ac_cv_lib_ipc_shmat=yes
25490 else
25491 ac_cv_lib_ipc_shmat=no
25492 fi
25493 rm -f core conftest.err conftest.$ac_objext \
25494 conftest$ac_exeext conftest.$ac_ext
25495 LIBS=$ac_check_lib_save_LIBS
25496 fi
25497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25498 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25499 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
25500 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25501 fi
25502
25503 fi
25504 fi
25505
25506 # Check for libraries that X11R6 Xt/Xaw programs need.
25507 ac_save_LDFLAGS=$LDFLAGS
25508 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25509 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25510 # check for ICE first), but we must link in the order -lSM -lICE or
25511 # we get undefined symbols. So assume we have SM if we have ICE.
25512 # These have to be linked with before -lX11, unlike the other
25513 # libraries we check for below, so use a different variable.
25514 # John Interrante, Karl Berry
25515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25516 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25517 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
25518 $as_echo_n "(cached) " >&6
25519 else
25520 ac_check_lib_save_LIBS=$LIBS
25521 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25523 /* end confdefs.h. */
25524
25525 /* Override any GCC internal prototype to avoid an error.
25526 Use char because int might match the return type of a GCC
25527 builtin and then its argument prototype would still apply. */
25528 #ifdef __cplusplus
25529 extern "C"
25530 #endif
25531 char IceConnectionNumber ();
25532 int
25533 main ()
25534 {
25535 return IceConnectionNumber ();
25536 ;
25537 return 0;
25538 }
25539 _ACEOF
25540 if ac_fn_c_try_link "$LINENO"; then :
25541 ac_cv_lib_ICE_IceConnectionNumber=yes
25542 else
25543 ac_cv_lib_ICE_IceConnectionNumber=no
25544 fi
25545 rm -f core conftest.err conftest.$ac_objext \
25546 conftest$ac_exeext conftest.$ac_ext
25547 LIBS=$ac_check_lib_save_LIBS
25548 fi
25549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25550 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25551 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
25552 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25553 fi
25554
25555 LDFLAGS=$ac_save_LDFLAGS
25556
25557 fi
25558
25559
25560 if test "$no_x" = "yes"; then
25561 as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25562 fi
25563
25564 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25565 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25566 COMPILED_X_PROGRAM=0
25567
25568 fi
25569
25570 if test "$wxUSE_X11" = 1; then
25571 if test "$wxUSE_NANOX" = "yes"; then
25572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25573 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25574 if test "x$MICROWIN" = x ; then
25575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25576 $as_echo "not found" >&6; }
25577 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25578 else
25579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25580 $as_echo "$MICROWIN" >&6; }
25581 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25582
25583 fi
25584 fi
25585
25586 if test "$wxUSE_UNICODE" = "yes"; then
25587
25588
25589 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25590 if test -n "$ac_tool_prefix"; then
25591 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25592 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25594 $as_echo_n "checking for $ac_word... " >&6; }
25595 if ${ac_cv_path_PKG_CONFIG+:} false; then :
25596 $as_echo_n "(cached) " >&6
25597 else
25598 case $PKG_CONFIG in
25599 [\\/]* | ?:[\\/]*)
25600 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25601 ;;
25602 *)
25603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25604 for as_dir in $PATH
25605 do
25606 IFS=$as_save_IFS
25607 test -z "$as_dir" && as_dir=.
25608 for ac_exec_ext in '' $ac_executable_extensions; do
25609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25610 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25612 break 2
25613 fi
25614 done
25615 done
25616 IFS=$as_save_IFS
25617
25618 ;;
25619 esac
25620 fi
25621 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25622 if test -n "$PKG_CONFIG"; then
25623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25624 $as_echo "$PKG_CONFIG" >&6; }
25625 else
25626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25627 $as_echo "no" >&6; }
25628 fi
25629
25630
25631 fi
25632 if test -z "$ac_cv_path_PKG_CONFIG"; then
25633 ac_pt_PKG_CONFIG=$PKG_CONFIG
25634 # Extract the first word of "pkg-config", so it can be a program name with args.
25635 set dummy pkg-config; ac_word=$2
25636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25637 $as_echo_n "checking for $ac_word... " >&6; }
25638 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
25639 $as_echo_n "(cached) " >&6
25640 else
25641 case $ac_pt_PKG_CONFIG in
25642 [\\/]* | ?:[\\/]*)
25643 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25644 ;;
25645 *)
25646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25647 for as_dir in $PATH
25648 do
25649 IFS=$as_save_IFS
25650 test -z "$as_dir" && as_dir=.
25651 for ac_exec_ext in '' $ac_executable_extensions; do
25652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25653 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25655 break 2
25656 fi
25657 done
25658 done
25659 IFS=$as_save_IFS
25660
25661 ;;
25662 esac
25663 fi
25664 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25665 if test -n "$ac_pt_PKG_CONFIG"; then
25666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25667 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25668 else
25669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25670 $as_echo "no" >&6; }
25671 fi
25672
25673 if test "x$ac_pt_PKG_CONFIG" = x; then
25674 PKG_CONFIG=""
25675 else
25676 case $cross_compiling:$ac_tool_warned in
25677 yes:)
25678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25680 ac_tool_warned=yes ;;
25681 esac
25682 PKG_CONFIG=$ac_pt_PKG_CONFIG
25683 fi
25684 else
25685 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25686 fi
25687
25688 fi
25689 if test -n "$PKG_CONFIG"; then
25690 _pkg_min_version=0.9.0
25691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25692 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25693 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25695 $as_echo "yes" >&6; }
25696 else
25697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25698 $as_echo "no" >&6; }
25699 PKG_CONFIG=""
25700 fi
25701
25702 fi
25703
25704
25705 pkg_failed=no
25706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25707 $as_echo_n "checking for PANGOX... " >&6; }
25708
25709 if test -n "$PKG_CONFIG"; then
25710 if test -n "$PANGOX_CFLAGS"; then
25711 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
25712 else
25713 if test -n "$PKG_CONFIG" && \
25714 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25715 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25716 ac_status=$?
25717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25718 test $ac_status = 0; }; then
25719 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25720 else
25721 pkg_failed=yes
25722 fi
25723 fi
25724 else
25725 pkg_failed=untried
25726 fi
25727 if test -n "$PKG_CONFIG"; then
25728 if test -n "$PANGOX_LIBS"; then
25729 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
25730 else
25731 if test -n "$PKG_CONFIG" && \
25732 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25733 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25734 ac_status=$?
25735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25736 test $ac_status = 0; }; then
25737 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25738 else
25739 pkg_failed=yes
25740 fi
25741 fi
25742 else
25743 pkg_failed=untried
25744 fi
25745
25746
25747
25748 if test $pkg_failed = yes; then
25749
25750 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25751 _pkg_short_errors_supported=yes
25752 else
25753 _pkg_short_errors_supported=no
25754 fi
25755 if test $_pkg_short_errors_supported = yes; then
25756 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25757 else
25758 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25759 fi
25760 # Put the nasty error message in config.log where it belongs
25761 echo "$PANGOX_PKG_ERRORS" >&5
25762
25763
25764 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25765
25766
25767 elif test $pkg_failed = untried; then
25768
25769 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25770
25771
25772 else
25773 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
25774 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
25775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25776 $as_echo "yes" >&6; }
25777
25778 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
25779 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
25780 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25781
25782 fi
25783
25784 pkg_failed=no
25785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25786 $as_echo_n "checking for PANGOFT2... " >&6; }
25787
25788 if test -n "$PKG_CONFIG"; then
25789 if test -n "$PANGOFT2_CFLAGS"; then
25790 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
25791 else
25792 if test -n "$PKG_CONFIG" && \
25793 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25794 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25795 ac_status=$?
25796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25797 test $ac_status = 0; }; then
25798 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25799 else
25800 pkg_failed=yes
25801 fi
25802 fi
25803 else
25804 pkg_failed=untried
25805 fi
25806 if test -n "$PKG_CONFIG"; then
25807 if test -n "$PANGOFT2_LIBS"; then
25808 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
25809 else
25810 if test -n "$PKG_CONFIG" && \
25811 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25812 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25813 ac_status=$?
25814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25815 test $ac_status = 0; }; then
25816 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25817 else
25818 pkg_failed=yes
25819 fi
25820 fi
25821 else
25822 pkg_failed=untried
25823 fi
25824
25825
25826
25827 if test $pkg_failed = yes; then
25828
25829 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25830 _pkg_short_errors_supported=yes
25831 else
25832 _pkg_short_errors_supported=no
25833 fi
25834 if test $_pkg_short_errors_supported = yes; then
25835 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25836 else
25837 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25838 fi
25839 # Put the nasty error message in config.log where it belongs
25840 echo "$PANGOFT2_PKG_ERRORS" >&5
25841
25842
25843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25844 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25845 wxUSE_PRINTING_ARCHITECTURE="no"
25846
25847
25848 elif test $pkg_failed = untried; then
25849
25850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25851 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25852 wxUSE_PRINTING_ARCHITECTURE="no"
25853
25854
25855 else
25856 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
25857 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
25858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25859 $as_echo "yes" >&6; }
25860
25861 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
25862 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
25863 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25864
25865 fi
25866
25867 pkg_failed=no
25868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25869 $as_echo_n "checking for PANGOXFT... " >&6; }
25870
25871 if test -n "$PKG_CONFIG"; then
25872 if test -n "$PANGOXFT_CFLAGS"; then
25873 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
25874 else
25875 if test -n "$PKG_CONFIG" && \
25876 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25877 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25878 ac_status=$?
25879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25880 test $ac_status = 0; }; then
25881 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25882 else
25883 pkg_failed=yes
25884 fi
25885 fi
25886 else
25887 pkg_failed=untried
25888 fi
25889 if test -n "$PKG_CONFIG"; then
25890 if test -n "$PANGOXFT_LIBS"; then
25891 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
25892 else
25893 if test -n "$PKG_CONFIG" && \
25894 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25895 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25896 ac_status=$?
25897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25898 test $ac_status = 0; }; then
25899 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25900 else
25901 pkg_failed=yes
25902 fi
25903 fi
25904 else
25905 pkg_failed=untried
25906 fi
25907
25908
25909
25910 if test $pkg_failed = yes; then
25911
25912 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25913 _pkg_short_errors_supported=yes
25914 else
25915 _pkg_short_errors_supported=no
25916 fi
25917 if test $_pkg_short_errors_supported = yes; then
25918 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25919 else
25920 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25921 fi
25922 # Put the nasty error message in config.log where it belongs
25923 echo "$PANGOXFT_PKG_ERRORS" >&5
25924
25925
25926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25927 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25928
25929
25930 elif test $pkg_failed = untried; then
25931
25932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25933 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25934
25935
25936 else
25937 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
25938 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
25939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25940 $as_echo "yes" >&6; }
25941
25942 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25943
25944 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
25945 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
25946 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25947
25948 fi
25949 save_LIBS="$LIBS"
25950 LIBS="$LIBS $PANGOX_LIBS"
25951 for ac_func in pango_font_family_is_monospace
25952 do :
25953 ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25954 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes; then :
25955 cat >>confdefs.h <<_ACEOF
25956 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25957 _ACEOF
25958
25959 fi
25960 done
25961
25962 LIBS="$save_LIBS"
25963 fi
25964
25965 wxUSE_UNIVERSAL="yes"
25966
25967 if test "$wxUSE_NANOX" = "yes"; then
25968 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25969 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"
25970 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25971 else
25972 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25973 fi
25974
25975 TOOLKIT=X11
25976 GUIDIST=X11_DIST
25977 fi
25978
25979 if test "$wxUSE_MOTIF" = 1; then
25980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25981 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25982
25983 ac_find_includes=
25984 for ac_dir in $SEARCH_INCLUDE /usr/include
25985 do
25986 if test -f "$ac_dir/Xm/Xm.h"; then
25987 ac_find_includes=$ac_dir
25988 break
25989 fi
25990 done
25991
25992 if test "$ac_find_includes" != "" ; then
25993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25994 $as_echo "found in $ac_find_includes" >&6; }
25995
25996 if test "x$ac_find_includes" = "x/usr/include"; then
25997 ac_path_to_include=""
25998 else
25999 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
26000 result=$?
26001 if test $result = 0; then
26002 ac_path_to_include=""
26003 else
26004 ac_path_to_include=" -I$ac_find_includes"
26005 fi
26006 fi
26007
26008 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
26009 else
26010 save_CFLAGS=$CFLAGS
26011 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26012
26013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26014 /* end confdefs.h. */
26015
26016 #include <Xm/Xm.h>
26017
26018 int
26019 main ()
26020 {
26021
26022 int version;
26023 version = xmUseVersion;
26024
26025 ;
26026 return 0;
26027 }
26028 _ACEOF
26029 if ac_fn_c_try_compile "$LINENO"; then :
26030
26031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26032 $as_echo "found in default search path" >&6; }
26033 COMPILED_X_PROGRAM=1
26034
26035 else
26036
26037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26038 $as_echo "no" >&6; }
26039 as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
26040
26041
26042 fi
26043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26044
26045 CFLAGS=$save_CFLAGS
26046 fi
26047
26048
26049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
26050 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
26051
26052 ac_find_libraries=
26053 for ac_dir in $SEARCH_LIB
26054 do
26055 for ac_extension in a so sl dylib dll.a; do
26056 if test -f "$ac_dir/libXm.$ac_extension"; then
26057 ac_find_libraries=$ac_dir
26058 break 2
26059 fi
26060 done
26061 done
26062
26063
26064 if test "x$ac_find_libraries" != "x" ; then
26065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26066 $as_echo "found in $ac_find_libraries" >&6; }
26067
26068
26069 if test "$ac_find_libraries" = "default location"; then
26070 ac_path_to_link=""
26071 else
26072 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26073 result=$?
26074 if test $result = 0; then
26075 ac_path_to_link=""
26076 else
26077 ac_path_to_link=" -L$ac_find_libraries"
26078 fi
26079 fi
26080
26081 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26082 else
26083 save_CFLAGS=$CFLAGS
26084 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26085 save_LIBS="$LIBS"
26086 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
26087
26088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26089 /* end confdefs.h. */
26090
26091 #include <Xm/Xm.h>
26092
26093 int
26094 main ()
26095 {
26096
26097 int version;
26098 version = xmUseVersion;
26099
26100 ;
26101 return 0;
26102 }
26103 _ACEOF
26104 if ac_fn_c_try_link "$LINENO"; then :
26105
26106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26107 $as_echo "found in default search path" >&6; }
26108 COMPILED_X_PROGRAM=1
26109
26110 else
26111
26112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26113 $as_echo "no" >&6; }
26114 as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
26115
26116
26117 fi
26118 rm -f core conftest.err conftest.$ac_objext \
26119 conftest$ac_exeext conftest.$ac_ext
26120
26121 CFLAGS=$save_CFLAGS
26122 LIBS="$save_LIBS"
26123 fi
26124
26125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
26126 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
26127 libp_link=""
26128 libsm_ice_link=""
26129 libs_found=0
26130 for libp in "" " -lXp"; do
26131 if test "$libs_found" = 0; then
26132 for libsm_ice in "" " -lSM -lICE"; do
26133 if test "$libs_found" = 0; then
26134 save_LIBS="$LIBS"
26135 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26136 save_CFLAGS=$CFLAGS
26137 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26138
26139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26140 /* end confdefs.h. */
26141
26142 #include <Xm/Xm.h>
26143 #include <Xm/List.h>
26144
26145 int
26146 main ()
26147 {
26148
26149 XmString string = NULL;
26150 Widget w = NULL;
26151 int position = 0;
26152 XmListAddItem(w, string, position);
26153
26154 ;
26155 return 0;
26156 }
26157 _ACEOF
26158 if ac_fn_c_try_link "$LINENO"; then :
26159
26160 libp_link="$libp"
26161 libsm_ice_link="$libsm_ice"
26162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
26163 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26164 libs_found=1
26165
26166 fi
26167 rm -f core conftest.err conftest.$ac_objext \
26168 conftest$ac_exeext conftest.$ac_ext
26169
26170 LIBS="$save_LIBS"
26171 CFLAGS=$save_CFLAGS
26172 fi
26173 done
26174 fi
26175 done
26176
26177 if test "$libs_found" = 0; then
26178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26179 $as_echo "can't find the right libraries" >&6; }
26180 as_fn_error $? "can't link a simple motif program" "$LINENO" 5
26181 fi
26182
26183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26184 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26185 if ${ac_cv_lib_Sgm_SgCreateList+:} false; then :
26186 $as_echo_n "(cached) " >&6
26187 else
26188 ac_check_lib_save_LIBS=$LIBS
26189 LIBS="-lSgm $LIBS"
26190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26191 /* end confdefs.h. */
26192
26193 /* Override any GCC internal prototype to avoid an error.
26194 Use char because int might match the return type of a GCC
26195 builtin and then its argument prototype would still apply. */
26196 #ifdef __cplusplus
26197 extern "C"
26198 #endif
26199 char SgCreateList ();
26200 int
26201 main ()
26202 {
26203 return SgCreateList ();
26204 ;
26205 return 0;
26206 }
26207 _ACEOF
26208 if ac_fn_c_try_link "$LINENO"; then :
26209 ac_cv_lib_Sgm_SgCreateList=yes
26210 else
26211 ac_cv_lib_Sgm_SgCreateList=no
26212 fi
26213 rm -f core conftest.err conftest.$ac_objext \
26214 conftest$ac_exeext conftest.$ac_ext
26215 LIBS=$ac_check_lib_save_LIBS
26216 fi
26217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26218 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26219 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes; then :
26220 libsgm_link=" -lSgm"
26221 fi
26222
26223
26224 save_CFLAGS=$CFLAGS
26225 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26226
26227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26228 $as_echo_n "checking for Motif 2... " >&6; }
26229 if ${wx_cv_lib_motif2+:} false; then :
26230 $as_echo_n "(cached) " >&6
26231 else
26232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26233 /* end confdefs.h. */
26234
26235 #include <Xm/Xm.h>
26236
26237 int
26238 main ()
26239 {
26240
26241 #if XmVersion < 2000
26242 Not Motif 2
26243 #endif
26244
26245 ;
26246 return 0;
26247 }
26248 _ACEOF
26249 if ac_fn_c_try_compile "$LINENO"; then :
26250 wx_cv_lib_motif2="yes"
26251 else
26252 wx_cv_lib_motif2="no"
26253 fi
26254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26255 fi
26256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26257 $as_echo "$wx_cv_lib_motif2" >&6; }
26258 if test "$wx_cv_lib_motif2" = "yes"; then
26259 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26260
26261 else
26262 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26263
26264 fi
26265
26266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26267 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26268 if ${wx_cv_lib_lesstif+:} false; then :
26269 $as_echo_n "(cached) " >&6
26270 else
26271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26272 /* end confdefs.h. */
26273
26274 #include <Xm/Xm.h>
26275
26276 int
26277 main ()
26278 {
26279
26280 #if !defined(LesstifVersion) || LesstifVersion <= 0
26281 Not Lesstif
26282 #endif
26283
26284 ;
26285 return 0;
26286 }
26287 _ACEOF
26288 if ac_fn_c_try_compile "$LINENO"; then :
26289 wx_cv_lib_lesstif="yes"
26290 else
26291 wx_cv_lib_lesstif="no"
26292 fi
26293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26294
26295 fi
26296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26297 $as_echo "$wx_cv_lib_lesstif" >&6; }
26298 if test "$wx_cv_lib_lesstif" = "yes"; then
26299 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26300
26301 else
26302 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26303
26304 fi
26305
26306 CFLAGS=$save_CFLAGS
26307
26308 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26309 TOOLKIT=MOTIF
26310 GUIDIST=MOTIF_DIST
26311 fi
26312
26313 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26314 if test "$wxUSE_LIBXPM" = "sys"; then
26315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26316 $as_echo_n "checking for Xpm library... " >&6; }
26317
26318 ac_find_libraries=
26319 for ac_dir in $SEARCH_LIB
26320 do
26321 for ac_extension in a so sl dylib dll.a; do
26322 if test -f "$ac_dir/libXpm.$ac_extension"; then
26323 ac_find_libraries=$ac_dir
26324 break 2
26325 fi
26326 done
26327 done
26328
26329 if test "$ac_find_libraries" != "" ; then
26330
26331 if test "$ac_find_libraries" = "default location"; then
26332 ac_path_to_link=""
26333 else
26334 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26335 result=$?
26336 if test $result = 0; then
26337 ac_path_to_link=""
26338 else
26339 ac_path_to_link=" -L$ac_find_libraries"
26340 fi
26341 fi
26342
26343 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26345 $as_echo "found in $ac_find_libraries" >&6; }
26346
26347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26348 $as_echo_n "checking for X11/xpm.h... " >&6; }
26349 if ${wx_cv_x11_xpm_h+:} false; then :
26350 $as_echo_n "(cached) " >&6
26351 else
26352
26353 save_CFLAGS=$CFLAGS
26354 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26355
26356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26357 /* end confdefs.h. */
26358
26359 #include <X11/xpm.h>
26360
26361 int
26362 main ()
26363 {
26364
26365 int version;
26366 version = XpmLibraryVersion();
26367
26368 ;
26369 return 0;
26370 }
26371 _ACEOF
26372 if ac_fn_c_try_compile "$LINENO"; then :
26373 wx_cv_x11_xpm_h=yes
26374 else
26375 wx_cv_x11_xpm_h=no
26376
26377 fi
26378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26379
26380 CFLAGS=$save_CFLAGS
26381
26382
26383 fi
26384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26385 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26386
26387 if test $wx_cv_x11_xpm_h = "yes"; then
26388 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26389 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26390
26391 else
26392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26393 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26394 fi
26395 fi
26396
26397 fi
26398
26399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26400 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26401 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
26402 $as_echo_n "(cached) " >&6
26403 else
26404 ac_check_lib_save_LIBS=$LIBS
26405 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26407 /* end confdefs.h. */
26408
26409 /* Override any GCC internal prototype to avoid an error.
26410 Use char because int might match the return type of a GCC
26411 builtin and then its argument prototype would still apply. */
26412 #ifdef __cplusplus
26413 extern "C"
26414 #endif
26415 char XShapeQueryExtension ();
26416 int
26417 main ()
26418 {
26419 return XShapeQueryExtension ();
26420 ;
26421 return 0;
26422 }
26423 _ACEOF
26424 if ac_fn_c_try_link "$LINENO"; then :
26425 ac_cv_lib_Xext_XShapeQueryExtension=yes
26426 else
26427 ac_cv_lib_Xext_XShapeQueryExtension=no
26428 fi
26429 rm -f core conftest.err conftest.$ac_objext \
26430 conftest$ac_exeext conftest.$ac_ext
26431 LIBS=$ac_check_lib_save_LIBS
26432 fi
26433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26434 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26435 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
26436
26437 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26438 wxHAVE_XEXT_LIB=1
26439
26440 fi
26441
26442
26443 if test "$wxHAVE_XEXT_LIB" = 1; then
26444 save_CFLAGS="$CFLAGS"
26445 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26446
26447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26448 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26450 /* end confdefs.h. */
26451
26452 #include <X11/Xlib.h>
26453 #include <X11/extensions/shape.h>
26454
26455 int
26456 main ()
26457 {
26458
26459 int dummy1, dummy2;
26460 XShapeQueryExtension((Display*)NULL,
26461 (int*)NULL, (int*)NULL);
26462
26463 ;
26464 return 0;
26465 }
26466 _ACEOF
26467 if ac_fn_c_try_compile "$LINENO"; then :
26468
26469 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26470
26471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26472 $as_echo "found" >&6; }
26473
26474 else
26475
26476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26477 $as_echo "not found" >&6; }
26478
26479 fi
26480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26481 CFLAGS="$save_CFLAGS"
26482
26483 fi
26484 fi
26485
26486 if test "$wxUSE_OSX_CARBON" = 1; then
26487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26488 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26489 if test "$GCC" = yes; then
26490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26491 $as_echo "gcc" >&6; }
26492 CPPFLAGS_PASCAL="-fpascal-strings"
26493 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26495 $as_echo "xlc" >&6; }
26496 CPPFLAGS_PASCAL="-qmacpstr"
26497 else
26498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26499 $as_echo "none" >&6; }
26500 fi
26501
26502 if test "x$wxUSE_UNIX" = "xyes"; then
26503 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26504 else
26505 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26506 fi
26507
26508 TOOLKIT=OSX_CARBON
26509 GUIDIST=OSX_CARBON_DIST
26510 WXBASEPORT="_carbon"
26511
26512 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26513 fi
26514
26515 if test "$wxUSE_OSX_COCOA" = 1; then
26516 TOOLKIT=OSX_COCOA
26517 GUIDIST=OSX_COCOA_DIST
26518
26519 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26520 fi
26521
26522 if test "$wxUSE_OSX_IPHONE" = 1; then
26523 TOOLKIT=OSX_IPHONE
26524 fi
26525
26526 if test "$wxUSE_OLD_COCOA" = 1; then
26527 TOOLKIT=COCOA
26528 GUIDIST=COCOA_DIST
26529 fi
26530
26531 if test "$wxUSE_PM" = 1; then
26532 TOOLKIT=PM
26533 GUIDIST=PM_DIST
26534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26535 $as_echo_n "checking for type SPBCDATA... " >&6; }
26536 if ${wx_cv_spbcdata+:} false; then :
26537 $as_echo_n "(cached) " >&6
26538 else
26539
26540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26541 /* end confdefs.h. */
26542
26543 #define INCL_PM
26544 #include <os2.h>
26545
26546 int
26547 main ()
26548 {
26549
26550 SPBCDATA test;
26551
26552 ;
26553 return 0;
26554 }
26555 _ACEOF
26556 if ac_fn_c_try_compile "$LINENO"; then :
26557 wx_cv_spbcdata=yes
26558 else
26559 wx_cv_spbcdata=no
26560
26561 fi
26562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26563
26564
26565 fi
26566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26567 $as_echo "$wx_cv_spbcdata" >&6; }
26568
26569 if test $wx_cv_spbcdata = "yes"; then
26570 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26571
26572 fi
26573 fi
26574
26575 if test "$TOOLKIT" = "PM" ; then
26576 TOOLKIT_DIR="os2"
26577 else
26578 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26579 fi
26580
26581 if test "$wxUSE_UNIVERSAL" = "yes"; then
26582 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26583 WIDGET_SET=univ
26584 fi
26585
26586 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26587 DISTDIR="wx\$(TOOLKIT)"
26588 else
26589 USE_GUI=0
26590
26591 TOOLKIT_DIR="base"
26592
26593 if test "$USE_WIN32" = 1 ; then
26594 TOOLKIT="MSW"
26595 fi
26596
26597 GUIDIST="BASE_DIST"
26598 DISTDIR="wxBase"
26599 fi
26600
26601
26602
26603 if test "$wxUSE_GUI" = "yes"; then
26604 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26605 for ac_header in X11/Xlib.h
26606 do :
26607 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26608 "
26609 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
26610 cat >>confdefs.h <<_ACEOF
26611 #define HAVE_X11_XLIB_H 1
26612 _ACEOF
26613
26614 fi
26615
26616 done
26617
26618 for ac_header in X11/XKBlib.h
26619 do :
26620 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26621 #if HAVE_X11_XLIB_H
26622 #include <X11/Xlib.h>
26623 #endif
26624
26625 "
26626 if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
26627 cat >>confdefs.h <<_ACEOF
26628 #define HAVE_X11_XKBLIB_H 1
26629 _ACEOF
26630
26631 fi
26632
26633 done
26634
26635 fi
26636 fi
26637
26638
26639
26640 USE_XINERAMA=0
26641 if test "$wxUSE_DISPLAY" = "yes"; then
26642 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26643
26644 ac_find_libraries=
26645
26646 fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
26647
26648
26649 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26650 if test -n "$ac_tool_prefix"; then
26651 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26652 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26654 $as_echo_n "checking for $ac_word... " >&6; }
26655 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26656 $as_echo_n "(cached) " >&6
26657 else
26658 case $PKG_CONFIG in
26659 [\\/]* | ?:[\\/]*)
26660 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26661 ;;
26662 *)
26663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26664 for as_dir in $PATH
26665 do
26666 IFS=$as_save_IFS
26667 test -z "$as_dir" && as_dir=.
26668 for ac_exec_ext in '' $ac_executable_extensions; do
26669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26670 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26672 break 2
26673 fi
26674 done
26675 done
26676 IFS=$as_save_IFS
26677
26678 ;;
26679 esac
26680 fi
26681 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26682 if test -n "$PKG_CONFIG"; then
26683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26684 $as_echo "$PKG_CONFIG" >&6; }
26685 else
26686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26687 $as_echo "no" >&6; }
26688 fi
26689
26690
26691 fi
26692 if test -z "$ac_cv_path_PKG_CONFIG"; then
26693 ac_pt_PKG_CONFIG=$PKG_CONFIG
26694 # Extract the first word of "pkg-config", so it can be a program name with args.
26695 set dummy pkg-config; ac_word=$2
26696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26697 $as_echo_n "checking for $ac_word... " >&6; }
26698 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26699 $as_echo_n "(cached) " >&6
26700 else
26701 case $ac_pt_PKG_CONFIG in
26702 [\\/]* | ?:[\\/]*)
26703 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26704 ;;
26705 *)
26706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26707 for as_dir in $PATH
26708 do
26709 IFS=$as_save_IFS
26710 test -z "$as_dir" && as_dir=.
26711 for ac_exec_ext in '' $ac_executable_extensions; do
26712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26713 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26715 break 2
26716 fi
26717 done
26718 done
26719 IFS=$as_save_IFS
26720
26721 ;;
26722 esac
26723 fi
26724 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26725 if test -n "$ac_pt_PKG_CONFIG"; then
26726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26727 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26728 else
26729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26730 $as_echo "no" >&6; }
26731 fi
26732
26733 if test "x$ac_pt_PKG_CONFIG" = x; then
26734 PKG_CONFIG=""
26735 else
26736 case $cross_compiling:$ac_tool_warned in
26737 yes:)
26738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26740 ac_tool_warned=yes ;;
26741 esac
26742 PKG_CONFIG=$ac_pt_PKG_CONFIG
26743 fi
26744 else
26745 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26746 fi
26747
26748 fi
26749 if test -n "$PKG_CONFIG"; then
26750 _pkg_min_version=0.9.0
26751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26752 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26753 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26755 $as_echo "yes" >&6; }
26756 else
26757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26758 $as_echo "no" >&6; }
26759 PKG_CONFIG=""
26760 fi
26761
26762 fi 6> /dev/null
26763
26764 pkg_failed=no
26765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26766 $as_echo_n "checking for Xinerama... " >&6; }
26767
26768 if test -n "$PKG_CONFIG"; then
26769 if test -n "$Xinerama_CFLAGS"; then
26770 pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
26771 else
26772 if test -n "$PKG_CONFIG" && \
26773 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26774 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26775 ac_status=$?
26776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26777 test $ac_status = 0; }; then
26778 pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26779 else
26780 pkg_failed=yes
26781 fi
26782 fi
26783 else
26784 pkg_failed=untried
26785 fi
26786 if test -n "$PKG_CONFIG"; then
26787 if test -n "$Xinerama_LIBS"; then
26788 pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
26789 else
26790 if test -n "$PKG_CONFIG" && \
26791 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26792 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26793 ac_status=$?
26794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26795 test $ac_status = 0; }; then
26796 pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26797 else
26798 pkg_failed=yes
26799 fi
26800 fi
26801 else
26802 pkg_failed=untried
26803 fi
26804
26805
26806
26807 if test $pkg_failed = yes; then
26808
26809 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26810 _pkg_short_errors_supported=yes
26811 else
26812 _pkg_short_errors_supported=no
26813 fi
26814 if test $_pkg_short_errors_supported = yes; then
26815 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26816 else
26817 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26818 fi
26819 # Put the nasty error message in config.log where it belongs
26820 echo "$Xinerama_PKG_ERRORS" >&5
26821
26822
26823 if test "x$ac_find_libraries" = "x"; then
26824 if test "xXineramaQueryScreens" != "x"; then
26825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26826 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26827 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26828 $as_echo_n "(cached) " >&6
26829 else
26830 ac_check_lib_save_LIBS=$LIBS
26831 LIBS="-lXinerama $LIBS"
26832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26833 /* end confdefs.h. */
26834
26835 /* Override any GCC internal prototype to avoid an error.
26836 Use char because int might match the return type of a GCC
26837 builtin and then its argument prototype would still apply. */
26838 #ifdef __cplusplus
26839 extern "C"
26840 #endif
26841 char XineramaQueryScreens ();
26842 int
26843 main ()
26844 {
26845 return XineramaQueryScreens ();
26846 ;
26847 return 0;
26848 }
26849 _ACEOF
26850 if ac_fn_c_try_link "$LINENO"; then :
26851 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26852 else
26853 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26854 fi
26855 rm -f core conftest.err conftest.$ac_objext \
26856 conftest$ac_exeext conftest.$ac_ext
26857 LIBS=$ac_check_lib_save_LIBS
26858 fi
26859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26860 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26861 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26862 ac_find_libraries="std"
26863 fi
26864
26865 fi
26866 fi
26867
26868 if test "x$ac_find_libraries" = "x"; then
26869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26870 $as_echo_n "checking elsewhere... " >&6; }
26871
26872 ac_find_libraries=
26873 for ac_dir in $SEARCH_LIB
26874 do
26875 for ac_extension in a so sl dylib dll.a; do
26876 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26877 ac_find_libraries=$ac_dir
26878 break 2
26879 fi
26880 done
26881 done
26882
26883 if test "x$ac_find_libraries" != "x"; then
26884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26885 $as_echo "yes" >&6; }
26886 else
26887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26888 $as_echo "no" >&6; }
26889 fi
26890 fi
26891
26892 elif test $pkg_failed = untried; then
26893
26894 if test "x$ac_find_libraries" = "x"; then
26895 if test "xXineramaQueryScreens" != "x"; then
26896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26897 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26898 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26899 $as_echo_n "(cached) " >&6
26900 else
26901 ac_check_lib_save_LIBS=$LIBS
26902 LIBS="-lXinerama $LIBS"
26903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26904 /* end confdefs.h. */
26905
26906 /* Override any GCC internal prototype to avoid an error.
26907 Use char because int might match the return type of a GCC
26908 builtin and then its argument prototype would still apply. */
26909 #ifdef __cplusplus
26910 extern "C"
26911 #endif
26912 char XineramaQueryScreens ();
26913 int
26914 main ()
26915 {
26916 return XineramaQueryScreens ();
26917 ;
26918 return 0;
26919 }
26920 _ACEOF
26921 if ac_fn_c_try_link "$LINENO"; then :
26922 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26923 else
26924 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26925 fi
26926 rm -f core conftest.err conftest.$ac_objext \
26927 conftest$ac_exeext conftest.$ac_ext
26928 LIBS=$ac_check_lib_save_LIBS
26929 fi
26930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26931 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26932 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26933 ac_find_libraries="std"
26934 fi
26935
26936 fi
26937 fi
26938
26939 if test "x$ac_find_libraries" = "x"; then
26940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26941 $as_echo_n "checking elsewhere... " >&6; }
26942
26943 ac_find_libraries=
26944 for ac_dir in $SEARCH_LIB
26945 do
26946 for ac_extension in a so sl dylib dll.a; do
26947 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26948 ac_find_libraries=$ac_dir
26949 break 2
26950 fi
26951 done
26952 done
26953
26954 if test "x$ac_find_libraries" != "x"; then
26955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26956 $as_echo "yes" >&6; }
26957 else
26958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26959 $as_echo "no" >&6; }
26960 fi
26961 fi
26962
26963 else
26964 Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
26965 Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
26966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26967 $as_echo "yes" >&6; }
26968
26969 ac_find_libraries="std"
26970
26971 eval ac_find_cflags=\$Xinerama_CFLAGS
26972 eval fl_libs=\$Xinerama_LIBS
26973
26974 for fl_path in $fl_libs
26975 do
26976 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26977 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
26978 fi
26979 done
26980
26981 fi
26982
26983 if test "$ac_find_libraries" != "" ; then
26984 if test "$ac_find_libraries" != "std" ; then
26985
26986 if test "$ac_find_libraries" = "default location"; then
26987 ac_path_to_link=""
26988 else
26989 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26990 result=$?
26991 if test $result = 0; then
26992 ac_path_to_link=""
26993 else
26994 ac_path_to_link=" -L$ac_find_libraries"
26995 fi
26996 fi
26997
26998 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26999 LDFLAGS="$LDFLAGS $ac_path_to_link"
27000 fi
27001 fi
27002 USE_XINERAMA=1
27003 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27004 else
27005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
27006 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27007 wxUSE_DISPLAY="no"
27008 fi
27009 elif test "$wxUSE_MSW" = 1; then
27010 ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
27011 "
27012 if test "x$ac_cv_header_ddraw_h" = xyes; then :
27013
27014 fi
27015
27016
27017 fi
27018 fi
27019
27020 if test "$wxUSE_DISPLAY" = "yes"; then
27021 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
27022
27023 ac_find_libraries=
27024
27025 fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
27026
27027
27028 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27029 if test -n "$ac_tool_prefix"; then
27030 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27031 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27033 $as_echo_n "checking for $ac_word... " >&6; }
27034 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27035 $as_echo_n "(cached) " >&6
27036 else
27037 case $PKG_CONFIG in
27038 [\\/]* | ?:[\\/]*)
27039 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27040 ;;
27041 *)
27042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27043 for as_dir in $PATH
27044 do
27045 IFS=$as_save_IFS
27046 test -z "$as_dir" && as_dir=.
27047 for ac_exec_ext in '' $ac_executable_extensions; do
27048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27049 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27051 break 2
27052 fi
27053 done
27054 done
27055 IFS=$as_save_IFS
27056
27057 ;;
27058 esac
27059 fi
27060 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27061 if test -n "$PKG_CONFIG"; then
27062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27063 $as_echo "$PKG_CONFIG" >&6; }
27064 else
27065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27066 $as_echo "no" >&6; }
27067 fi
27068
27069
27070 fi
27071 if test -z "$ac_cv_path_PKG_CONFIG"; then
27072 ac_pt_PKG_CONFIG=$PKG_CONFIG
27073 # Extract the first word of "pkg-config", so it can be a program name with args.
27074 set dummy pkg-config; ac_word=$2
27075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27076 $as_echo_n "checking for $ac_word... " >&6; }
27077 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27078 $as_echo_n "(cached) " >&6
27079 else
27080 case $ac_pt_PKG_CONFIG in
27081 [\\/]* | ?:[\\/]*)
27082 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27083 ;;
27084 *)
27085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27086 for as_dir in $PATH
27087 do
27088 IFS=$as_save_IFS
27089 test -z "$as_dir" && as_dir=.
27090 for ac_exec_ext in '' $ac_executable_extensions; do
27091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27092 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27094 break 2
27095 fi
27096 done
27097 done
27098 IFS=$as_save_IFS
27099
27100 ;;
27101 esac
27102 fi
27103 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27104 if test -n "$ac_pt_PKG_CONFIG"; then
27105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27106 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27107 else
27108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27109 $as_echo "no" >&6; }
27110 fi
27111
27112 if test "x$ac_pt_PKG_CONFIG" = x; then
27113 PKG_CONFIG=""
27114 else
27115 case $cross_compiling:$ac_tool_warned in
27116 yes:)
27117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27119 ac_tool_warned=yes ;;
27120 esac
27121 PKG_CONFIG=$ac_pt_PKG_CONFIG
27122 fi
27123 else
27124 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27125 fi
27126
27127 fi
27128 if test -n "$PKG_CONFIG"; then
27129 _pkg_min_version=0.9.0
27130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27131 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27132 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27134 $as_echo "yes" >&6; }
27135 else
27136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27137 $as_echo "no" >&6; }
27138 PKG_CONFIG=""
27139 fi
27140
27141 fi 6> /dev/null
27142
27143 pkg_failed=no
27144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
27145 $as_echo_n "checking for Xxf86vm... " >&6; }
27146
27147 if test -n "$PKG_CONFIG"; then
27148 if test -n "$Xxf86vm_CFLAGS"; then
27149 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
27150 else
27151 if test -n "$PKG_CONFIG" && \
27152 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27153 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27154 ac_status=$?
27155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27156 test $ac_status = 0; }; then
27157 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27158 else
27159 pkg_failed=yes
27160 fi
27161 fi
27162 else
27163 pkg_failed=untried
27164 fi
27165 if test -n "$PKG_CONFIG"; then
27166 if test -n "$Xxf86vm_LIBS"; then
27167 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
27168 else
27169 if test -n "$PKG_CONFIG" && \
27170 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27171 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27172 ac_status=$?
27173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27174 test $ac_status = 0; }; then
27175 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27176 else
27177 pkg_failed=yes
27178 fi
27179 fi
27180 else
27181 pkg_failed=untried
27182 fi
27183
27184
27185
27186 if test $pkg_failed = yes; then
27187
27188 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27189 _pkg_short_errors_supported=yes
27190 else
27191 _pkg_short_errors_supported=no
27192 fi
27193 if test $_pkg_short_errors_supported = yes; then
27194 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27195 else
27196 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27197 fi
27198 # Put the nasty error message in config.log where it belongs
27199 echo "$Xxf86vm_PKG_ERRORS" >&5
27200
27201
27202 if test "x$ac_find_libraries" = "x"; then
27203 if test "xXF86VidModeQueryExtension" != "x"; then
27204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27205 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27206 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27207 $as_echo_n "(cached) " >&6
27208 else
27209 ac_check_lib_save_LIBS=$LIBS
27210 LIBS="-lXxf86vm $LIBS"
27211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27212 /* end confdefs.h. */
27213
27214 /* Override any GCC internal prototype to avoid an error.
27215 Use char because int might match the return type of a GCC
27216 builtin and then its argument prototype would still apply. */
27217 #ifdef __cplusplus
27218 extern "C"
27219 #endif
27220 char XF86VidModeQueryExtension ();
27221 int
27222 main ()
27223 {
27224 return XF86VidModeQueryExtension ();
27225 ;
27226 return 0;
27227 }
27228 _ACEOF
27229 if ac_fn_c_try_link "$LINENO"; then :
27230 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27231 else
27232 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27233 fi
27234 rm -f core conftest.err conftest.$ac_objext \
27235 conftest$ac_exeext conftest.$ac_ext
27236 LIBS=$ac_check_lib_save_LIBS
27237 fi
27238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27239 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27240 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27241 ac_find_libraries="std"
27242 fi
27243
27244 fi
27245 fi
27246
27247 if test "x$ac_find_libraries" = "x"; then
27248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27249 $as_echo_n "checking elsewhere... " >&6; }
27250
27251 ac_find_libraries=
27252 for ac_dir in $SEARCH_LIB
27253 do
27254 for ac_extension in a so sl dylib dll.a; do
27255 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27256 ac_find_libraries=$ac_dir
27257 break 2
27258 fi
27259 done
27260 done
27261
27262 if test "x$ac_find_libraries" != "x"; then
27263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27264 $as_echo "yes" >&6; }
27265 else
27266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27267 $as_echo "no" >&6; }
27268 fi
27269 fi
27270
27271 elif test $pkg_failed = untried; then
27272
27273 if test "x$ac_find_libraries" = "x"; then
27274 if test "xXF86VidModeQueryExtension" != "x"; then
27275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27276 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27277 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27278 $as_echo_n "(cached) " >&6
27279 else
27280 ac_check_lib_save_LIBS=$LIBS
27281 LIBS="-lXxf86vm $LIBS"
27282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27283 /* end confdefs.h. */
27284
27285 /* Override any GCC internal prototype to avoid an error.
27286 Use char because int might match the return type of a GCC
27287 builtin and then its argument prototype would still apply. */
27288 #ifdef __cplusplus
27289 extern "C"
27290 #endif
27291 char XF86VidModeQueryExtension ();
27292 int
27293 main ()
27294 {
27295 return XF86VidModeQueryExtension ();
27296 ;
27297 return 0;
27298 }
27299 _ACEOF
27300 if ac_fn_c_try_link "$LINENO"; then :
27301 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27302 else
27303 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27304 fi
27305 rm -f core conftest.err conftest.$ac_objext \
27306 conftest$ac_exeext conftest.$ac_ext
27307 LIBS=$ac_check_lib_save_LIBS
27308 fi
27309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27310 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27311 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27312 ac_find_libraries="std"
27313 fi
27314
27315 fi
27316 fi
27317
27318 if test "x$ac_find_libraries" = "x"; then
27319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27320 $as_echo_n "checking elsewhere... " >&6; }
27321
27322 ac_find_libraries=
27323 for ac_dir in $SEARCH_LIB
27324 do
27325 for ac_extension in a so sl dylib dll.a; do
27326 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27327 ac_find_libraries=$ac_dir
27328 break 2
27329 fi
27330 done
27331 done
27332
27333 if test "x$ac_find_libraries" != "x"; then
27334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27335 $as_echo "yes" >&6; }
27336 else
27337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27338 $as_echo "no" >&6; }
27339 fi
27340 fi
27341
27342 else
27343 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
27344 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
27345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27346 $as_echo "yes" >&6; }
27347
27348 ac_find_libraries="std"
27349
27350 eval ac_find_cflags=\$Xxf86vm_CFLAGS
27351 eval fl_libs=\$Xxf86vm_LIBS
27352
27353 for fl_path in $fl_libs
27354 do
27355 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27356 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27357 fi
27358 done
27359
27360 fi
27361
27362 if test "$ac_find_libraries" != "" ; then
27363 for ac_header in X11/extensions/xf86vmode.h
27364 do :
27365 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27366 #if HAVE_X11_XLIB_H
27367 #include <X11/Xlib.h>
27368 #endif
27369
27370 "
27371 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes; then :
27372 cat >>confdefs.h <<_ACEOF
27373 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27374 _ACEOF
27375
27376 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27377
27378 fi
27379
27380 done
27381
27382 fi
27383 fi
27384 fi
27385
27386 if test "$wxUSE_DETECT_SM" = "yes"; then
27387 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27388
27389 ac_find_libraries=
27390
27391 fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
27392
27393
27394 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27395 if test -n "$ac_tool_prefix"; then
27396 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27397 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27399 $as_echo_n "checking for $ac_word... " >&6; }
27400 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27401 $as_echo_n "(cached) " >&6
27402 else
27403 case $PKG_CONFIG in
27404 [\\/]* | ?:[\\/]*)
27405 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27406 ;;
27407 *)
27408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27409 for as_dir in $PATH
27410 do
27411 IFS=$as_save_IFS
27412 test -z "$as_dir" && as_dir=.
27413 for ac_exec_ext in '' $ac_executable_extensions; do
27414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27415 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27417 break 2
27418 fi
27419 done
27420 done
27421 IFS=$as_save_IFS
27422
27423 ;;
27424 esac
27425 fi
27426 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27427 if test -n "$PKG_CONFIG"; then
27428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27429 $as_echo "$PKG_CONFIG" >&6; }
27430 else
27431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27432 $as_echo "no" >&6; }
27433 fi
27434
27435
27436 fi
27437 if test -z "$ac_cv_path_PKG_CONFIG"; then
27438 ac_pt_PKG_CONFIG=$PKG_CONFIG
27439 # Extract the first word of "pkg-config", so it can be a program name with args.
27440 set dummy pkg-config; ac_word=$2
27441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27442 $as_echo_n "checking for $ac_word... " >&6; }
27443 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27444 $as_echo_n "(cached) " >&6
27445 else
27446 case $ac_pt_PKG_CONFIG in
27447 [\\/]* | ?:[\\/]*)
27448 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27449 ;;
27450 *)
27451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27452 for as_dir in $PATH
27453 do
27454 IFS=$as_save_IFS
27455 test -z "$as_dir" && as_dir=.
27456 for ac_exec_ext in '' $ac_executable_extensions; do
27457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27458 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27460 break 2
27461 fi
27462 done
27463 done
27464 IFS=$as_save_IFS
27465
27466 ;;
27467 esac
27468 fi
27469 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27470 if test -n "$ac_pt_PKG_CONFIG"; then
27471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27472 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27473 else
27474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27475 $as_echo "no" >&6; }
27476 fi
27477
27478 if test "x$ac_pt_PKG_CONFIG" = x; then
27479 PKG_CONFIG=""
27480 else
27481 case $cross_compiling:$ac_tool_warned in
27482 yes:)
27483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27485 ac_tool_warned=yes ;;
27486 esac
27487 PKG_CONFIG=$ac_pt_PKG_CONFIG
27488 fi
27489 else
27490 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27491 fi
27492
27493 fi
27494 if test -n "$PKG_CONFIG"; then
27495 _pkg_min_version=0.9.0
27496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27497 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27498 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27500 $as_echo "yes" >&6; }
27501 else
27502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27503 $as_echo "no" >&6; }
27504 PKG_CONFIG=""
27505 fi
27506
27507 fi 6> /dev/null
27508
27509 pkg_failed=no
27510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27511 $as_echo_n "checking for SM... " >&6; }
27512
27513 if test -n "$PKG_CONFIG"; then
27514 if test -n "$SM_CFLAGS"; then
27515 pkg_cv_SM_CFLAGS="$SM_CFLAGS"
27516 else
27517 if test -n "$PKG_CONFIG" && \
27518 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27519 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27520 ac_status=$?
27521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27522 test $ac_status = 0; }; then
27523 pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27524 else
27525 pkg_failed=yes
27526 fi
27527 fi
27528 else
27529 pkg_failed=untried
27530 fi
27531 if test -n "$PKG_CONFIG"; then
27532 if test -n "$SM_LIBS"; then
27533 pkg_cv_SM_LIBS="$SM_LIBS"
27534 else
27535 if test -n "$PKG_CONFIG" && \
27536 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27537 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27538 ac_status=$?
27539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27540 test $ac_status = 0; }; then
27541 pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27542 else
27543 pkg_failed=yes
27544 fi
27545 fi
27546 else
27547 pkg_failed=untried
27548 fi
27549
27550
27551
27552 if test $pkg_failed = yes; then
27553
27554 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27555 _pkg_short_errors_supported=yes
27556 else
27557 _pkg_short_errors_supported=no
27558 fi
27559 if test $_pkg_short_errors_supported = yes; then
27560 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27561 else
27562 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27563 fi
27564 # Put the nasty error message in config.log where it belongs
27565 echo "$SM_PKG_ERRORS" >&5
27566
27567
27568 if test "x$ac_find_libraries" = "x"; then
27569 if test "xSmcOpenConnection" != "x"; then
27570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27571 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27572 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27573 $as_echo_n "(cached) " >&6
27574 else
27575 ac_check_lib_save_LIBS=$LIBS
27576 LIBS="-lSM $LIBS"
27577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27578 /* end confdefs.h. */
27579
27580 /* Override any GCC internal prototype to avoid an error.
27581 Use char because int might match the return type of a GCC
27582 builtin and then its argument prototype would still apply. */
27583 #ifdef __cplusplus
27584 extern "C"
27585 #endif
27586 char SmcOpenConnection ();
27587 int
27588 main ()
27589 {
27590 return SmcOpenConnection ();
27591 ;
27592 return 0;
27593 }
27594 _ACEOF
27595 if ac_fn_c_try_link "$LINENO"; then :
27596 ac_cv_lib_SM_SmcOpenConnection=yes
27597 else
27598 ac_cv_lib_SM_SmcOpenConnection=no
27599 fi
27600 rm -f core conftest.err conftest.$ac_objext \
27601 conftest$ac_exeext conftest.$ac_ext
27602 LIBS=$ac_check_lib_save_LIBS
27603 fi
27604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27605 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27606 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27607 ac_find_libraries="std"
27608 fi
27609
27610 fi
27611 fi
27612
27613 if test "x$ac_find_libraries" = "x"; then
27614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27615 $as_echo_n "checking elsewhere... " >&6; }
27616
27617 ac_find_libraries=
27618 for ac_dir in $SEARCH_LIB
27619 do
27620 for ac_extension in a so sl dylib dll.a; do
27621 if test -f "$ac_dir/libSM.$ac_extension"; then
27622 ac_find_libraries=$ac_dir
27623 break 2
27624 fi
27625 done
27626 done
27627
27628 if test "x$ac_find_libraries" != "x"; then
27629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27630 $as_echo "yes" >&6; }
27631 else
27632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27633 $as_echo "no" >&6; }
27634 fi
27635 fi
27636
27637 elif test $pkg_failed = untried; then
27638
27639 if test "x$ac_find_libraries" = "x"; then
27640 if test "xSmcOpenConnection" != "x"; then
27641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27642 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27643 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27644 $as_echo_n "(cached) " >&6
27645 else
27646 ac_check_lib_save_LIBS=$LIBS
27647 LIBS="-lSM $LIBS"
27648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27649 /* end confdefs.h. */
27650
27651 /* Override any GCC internal prototype to avoid an error.
27652 Use char because int might match the return type of a GCC
27653 builtin and then its argument prototype would still apply. */
27654 #ifdef __cplusplus
27655 extern "C"
27656 #endif
27657 char SmcOpenConnection ();
27658 int
27659 main ()
27660 {
27661 return SmcOpenConnection ();
27662 ;
27663 return 0;
27664 }
27665 _ACEOF
27666 if ac_fn_c_try_link "$LINENO"; then :
27667 ac_cv_lib_SM_SmcOpenConnection=yes
27668 else
27669 ac_cv_lib_SM_SmcOpenConnection=no
27670 fi
27671 rm -f core conftest.err conftest.$ac_objext \
27672 conftest$ac_exeext conftest.$ac_ext
27673 LIBS=$ac_check_lib_save_LIBS
27674 fi
27675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27676 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27677 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27678 ac_find_libraries="std"
27679 fi
27680
27681 fi
27682 fi
27683
27684 if test "x$ac_find_libraries" = "x"; then
27685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27686 $as_echo_n "checking elsewhere... " >&6; }
27687
27688 ac_find_libraries=
27689 for ac_dir in $SEARCH_LIB
27690 do
27691 for ac_extension in a so sl dylib dll.a; do
27692 if test -f "$ac_dir/libSM.$ac_extension"; then
27693 ac_find_libraries=$ac_dir
27694 break 2
27695 fi
27696 done
27697 done
27698
27699 if test "x$ac_find_libraries" != "x"; then
27700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27701 $as_echo "yes" >&6; }
27702 else
27703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27704 $as_echo "no" >&6; }
27705 fi
27706 fi
27707
27708 else
27709 SM_CFLAGS=$pkg_cv_SM_CFLAGS
27710 SM_LIBS=$pkg_cv_SM_LIBS
27711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27712 $as_echo "yes" >&6; }
27713
27714 ac_find_libraries="std"
27715
27716 eval ac_find_cflags=\$SM_CFLAGS
27717 eval fl_libs=\$SM_LIBS
27718
27719 for fl_path in $fl_libs
27720 do
27721 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27722 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27723 fi
27724 done
27725
27726 fi
27727
27728 if test "$ac_find_libraries" != "" ; then
27729 if test "$ac_find_libraries" != "std" ; then
27730
27731 if test "$ac_find_libraries" = "default location"; then
27732 ac_path_to_link=""
27733 else
27734 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27735 result=$?
27736 if test $result = 0; then
27737 ac_path_to_link=""
27738 else
27739 ac_path_to_link=" -L$ac_find_libraries"
27740 fi
27741 fi
27742
27743 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27744 LDFLAGS="$LDFLAGS $ac_path_to_link"
27745 fi
27746 fi
27747 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
27748 else
27749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27750 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27751 wxUSE_DETECT_SM="no"
27752 fi
27753 else
27754 wxUSE_DETECT_SM="no"
27755 fi
27756 fi
27757
27758
27759
27760 USE_OPENGL=0
27761 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27762
27763
27764 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27765 OPENGL_LIBS="-framework OpenGL -framework AGL"
27766 elif test "$wxUSE_MSW" = 1; then
27767 OPENGL_LIBS="-lopengl32 -lglu32"
27768 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27769
27770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27771 $as_echo_n "checking for OpenGL headers... " >&6; }
27772
27773 ac_find_includes=
27774 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
27775 do
27776 if test -f "$ac_dir/GL/gl.h"; then
27777 ac_find_includes=$ac_dir
27778 break
27779 fi
27780 done
27781
27782 if test "$ac_find_includes" != "" ; then
27783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27784 $as_echo "found in $ac_find_includes" >&6; }
27785
27786 if test "x$ac_find_includes" = "x/usr/include"; then
27787 ac_path_to_include=""
27788 else
27789 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27790 result=$?
27791 if test $result = 0; then
27792 ac_path_to_include=""
27793 else
27794 ac_path_to_include=" -I$ac_find_includes"
27795 fi
27796 fi
27797
27798 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
27799 else
27800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27801 $as_echo "not found" >&6; }
27802 fi
27803
27804 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27805 "
27806 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
27807
27808 ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27809 "
27810 if test "x$ac_cv_header_GL_glu_h" = xyes; then :
27811
27812 found_gl=0
27813
27814
27815 ac_find_libraries=
27816
27817 fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
27818
27819
27820 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27821 if test -n "$ac_tool_prefix"; then
27822 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27823 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27825 $as_echo_n "checking for $ac_word... " >&6; }
27826 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27827 $as_echo_n "(cached) " >&6
27828 else
27829 case $PKG_CONFIG in
27830 [\\/]* | ?:[\\/]*)
27831 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27832 ;;
27833 *)
27834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27835 for as_dir in $PATH
27836 do
27837 IFS=$as_save_IFS
27838 test -z "$as_dir" && as_dir=.
27839 for ac_exec_ext in '' $ac_executable_extensions; do
27840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27841 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27843 break 2
27844 fi
27845 done
27846 done
27847 IFS=$as_save_IFS
27848
27849 ;;
27850 esac
27851 fi
27852 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27853 if test -n "$PKG_CONFIG"; then
27854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27855 $as_echo "$PKG_CONFIG" >&6; }
27856 else
27857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27858 $as_echo "no" >&6; }
27859 fi
27860
27861
27862 fi
27863 if test -z "$ac_cv_path_PKG_CONFIG"; then
27864 ac_pt_PKG_CONFIG=$PKG_CONFIG
27865 # Extract the first word of "pkg-config", so it can be a program name with args.
27866 set dummy pkg-config; ac_word=$2
27867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27868 $as_echo_n "checking for $ac_word... " >&6; }
27869 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27870 $as_echo_n "(cached) " >&6
27871 else
27872 case $ac_pt_PKG_CONFIG in
27873 [\\/]* | ?:[\\/]*)
27874 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27875 ;;
27876 *)
27877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27878 for as_dir in $PATH
27879 do
27880 IFS=$as_save_IFS
27881 test -z "$as_dir" && as_dir=.
27882 for ac_exec_ext in '' $ac_executable_extensions; do
27883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27884 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27886 break 2
27887 fi
27888 done
27889 done
27890 IFS=$as_save_IFS
27891
27892 ;;
27893 esac
27894 fi
27895 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27896 if test -n "$ac_pt_PKG_CONFIG"; then
27897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27898 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27899 else
27900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27901 $as_echo "no" >&6; }
27902 fi
27903
27904 if test "x$ac_pt_PKG_CONFIG" = x; then
27905 PKG_CONFIG=""
27906 else
27907 case $cross_compiling:$ac_tool_warned in
27908 yes:)
27909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27911 ac_tool_warned=yes ;;
27912 esac
27913 PKG_CONFIG=$ac_pt_PKG_CONFIG
27914 fi
27915 else
27916 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27917 fi
27918
27919 fi
27920 if test -n "$PKG_CONFIG"; then
27921 _pkg_min_version=0.9.0
27922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27923 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27924 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27926 $as_echo "yes" >&6; }
27927 else
27928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27929 $as_echo "no" >&6; }
27930 PKG_CONFIG=""
27931 fi
27932
27933 fi 6> /dev/null
27934
27935 pkg_failed=no
27936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27937 $as_echo_n "checking for GL... " >&6; }
27938
27939 if test -n "$PKG_CONFIG"; then
27940 if test -n "$GL_CFLAGS"; then
27941 pkg_cv_GL_CFLAGS="$GL_CFLAGS"
27942 else
27943 if test -n "$PKG_CONFIG" && \
27944 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27945 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27946 ac_status=$?
27947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27948 test $ac_status = 0; }; then
27949 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27950 else
27951 pkg_failed=yes
27952 fi
27953 fi
27954 else
27955 pkg_failed=untried
27956 fi
27957 if test -n "$PKG_CONFIG"; then
27958 if test -n "$GL_LIBS"; then
27959 pkg_cv_GL_LIBS="$GL_LIBS"
27960 else
27961 if test -n "$PKG_CONFIG" && \
27962 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27963 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27964 ac_status=$?
27965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27966 test $ac_status = 0; }; then
27967 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27968 else
27969 pkg_failed=yes
27970 fi
27971 fi
27972 else
27973 pkg_failed=untried
27974 fi
27975
27976
27977
27978 if test $pkg_failed = yes; then
27979
27980 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27981 _pkg_short_errors_supported=yes
27982 else
27983 _pkg_short_errors_supported=no
27984 fi
27985 if test $_pkg_short_errors_supported = yes; then
27986 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27987 else
27988 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27989 fi
27990 # Put the nasty error message in config.log where it belongs
27991 echo "$GL_PKG_ERRORS" >&5
27992
27993
27994 if test "x$ac_find_libraries" = "x"; then
27995 if test "xglBegin" != "x"; then
27996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27997 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27998 if ${ac_cv_lib_GL_glBegin+:} false; then :
27999 $as_echo_n "(cached) " >&6
28000 else
28001 ac_check_lib_save_LIBS=$LIBS
28002 LIBS="-lGL $LIBS"
28003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28004 /* end confdefs.h. */
28005
28006 /* Override any GCC internal prototype to avoid an error.
28007 Use char because int might match the return type of a GCC
28008 builtin and then its argument prototype would still apply. */
28009 #ifdef __cplusplus
28010 extern "C"
28011 #endif
28012 char glBegin ();
28013 int
28014 main ()
28015 {
28016 return glBegin ();
28017 ;
28018 return 0;
28019 }
28020 _ACEOF
28021 if ac_fn_c_try_link "$LINENO"; then :
28022 ac_cv_lib_GL_glBegin=yes
28023 else
28024 ac_cv_lib_GL_glBegin=no
28025 fi
28026 rm -f core conftest.err conftest.$ac_objext \
28027 conftest$ac_exeext conftest.$ac_ext
28028 LIBS=$ac_check_lib_save_LIBS
28029 fi
28030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28031 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28032 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
28033 ac_find_libraries="std"
28034 fi
28035
28036 fi
28037 fi
28038
28039 if test "x$ac_find_libraries" = "x"; then
28040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28041 $as_echo_n "checking elsewhere... " >&6; }
28042
28043 ac_find_libraries=
28044 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28045 do
28046 for ac_extension in a so sl dylib dll.a; do
28047 if test -f "$ac_dir/libGL.$ac_extension"; then
28048 ac_find_libraries=$ac_dir
28049 break 2
28050 fi
28051 done
28052 done
28053
28054 if test "x$ac_find_libraries" != "x"; then
28055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28056 $as_echo "yes" >&6; }
28057 else
28058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28059 $as_echo "no" >&6; }
28060 fi
28061 fi
28062
28063 elif test $pkg_failed = untried; then
28064
28065 if test "x$ac_find_libraries" = "x"; then
28066 if test "xglBegin" != "x"; then
28067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
28068 $as_echo_n "checking for glBegin in -lGL... " >&6; }
28069 if ${ac_cv_lib_GL_glBegin+:} false; then :
28070 $as_echo_n "(cached) " >&6
28071 else
28072 ac_check_lib_save_LIBS=$LIBS
28073 LIBS="-lGL $LIBS"
28074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28075 /* end confdefs.h. */
28076
28077 /* Override any GCC internal prototype to avoid an error.
28078 Use char because int might match the return type of a GCC
28079 builtin and then its argument prototype would still apply. */
28080 #ifdef __cplusplus
28081 extern "C"
28082 #endif
28083 char glBegin ();
28084 int
28085 main ()
28086 {
28087 return glBegin ();
28088 ;
28089 return 0;
28090 }
28091 _ACEOF
28092 if ac_fn_c_try_link "$LINENO"; then :
28093 ac_cv_lib_GL_glBegin=yes
28094 else
28095 ac_cv_lib_GL_glBegin=no
28096 fi
28097 rm -f core conftest.err conftest.$ac_objext \
28098 conftest$ac_exeext conftest.$ac_ext
28099 LIBS=$ac_check_lib_save_LIBS
28100 fi
28101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28102 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28103 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
28104 ac_find_libraries="std"
28105 fi
28106
28107 fi
28108 fi
28109
28110 if test "x$ac_find_libraries" = "x"; then
28111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28112 $as_echo_n "checking elsewhere... " >&6; }
28113
28114 ac_find_libraries=
28115 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28116 do
28117 for ac_extension in a so sl dylib dll.a; do
28118 if test -f "$ac_dir/libGL.$ac_extension"; then
28119 ac_find_libraries=$ac_dir
28120 break 2
28121 fi
28122 done
28123 done
28124
28125 if test "x$ac_find_libraries" != "x"; then
28126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28127 $as_echo "yes" >&6; }
28128 else
28129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28130 $as_echo "no" >&6; }
28131 fi
28132 fi
28133
28134 else
28135 GL_CFLAGS=$pkg_cv_GL_CFLAGS
28136 GL_LIBS=$pkg_cv_GL_LIBS
28137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28138 $as_echo "yes" >&6; }
28139
28140 ac_find_libraries="std"
28141
28142 eval ac_find_cflags=\$GL_CFLAGS
28143 eval fl_libs=\$GL_LIBS
28144
28145 for fl_path in $fl_libs
28146 do
28147 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28148 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28149 fi
28150 done
28151
28152 fi
28153
28154 if test "$ac_find_libraries" != "" ; then
28155 if test "$ac_find_libraries" != "std" ; then
28156
28157 if test "$ac_find_libraries" = "default location"; then
28158 ac_path_to_link=""
28159 else
28160 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28161 result=$?
28162 if test $result = 0; then
28163 ac_path_to_link=""
28164 else
28165 ac_path_to_link=" -L$ac_find_libraries"
28166 fi
28167 fi
28168
28169 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28170 LDFLAGS_GL="$ac_path_to_link"
28171 fi
28172 fi
28173
28174
28175 ac_find_libraries=
28176
28177 fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
28178
28179
28180 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28181 if test -n "$ac_tool_prefix"; then
28182 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28183 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28185 $as_echo_n "checking for $ac_word... " >&6; }
28186 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28187 $as_echo_n "(cached) " >&6
28188 else
28189 case $PKG_CONFIG in
28190 [\\/]* | ?:[\\/]*)
28191 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28192 ;;
28193 *)
28194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28195 for as_dir in $PATH
28196 do
28197 IFS=$as_save_IFS
28198 test -z "$as_dir" && as_dir=.
28199 for ac_exec_ext in '' $ac_executable_extensions; do
28200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28201 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28203 break 2
28204 fi
28205 done
28206 done
28207 IFS=$as_save_IFS
28208
28209 ;;
28210 esac
28211 fi
28212 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28213 if test -n "$PKG_CONFIG"; then
28214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28215 $as_echo "$PKG_CONFIG" >&6; }
28216 else
28217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28218 $as_echo "no" >&6; }
28219 fi
28220
28221
28222 fi
28223 if test -z "$ac_cv_path_PKG_CONFIG"; then
28224 ac_pt_PKG_CONFIG=$PKG_CONFIG
28225 # Extract the first word of "pkg-config", so it can be a program name with args.
28226 set dummy pkg-config; ac_word=$2
28227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28228 $as_echo_n "checking for $ac_word... " >&6; }
28229 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28230 $as_echo_n "(cached) " >&6
28231 else
28232 case $ac_pt_PKG_CONFIG in
28233 [\\/]* | ?:[\\/]*)
28234 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28235 ;;
28236 *)
28237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28238 for as_dir in $PATH
28239 do
28240 IFS=$as_save_IFS
28241 test -z "$as_dir" && as_dir=.
28242 for ac_exec_ext in '' $ac_executable_extensions; do
28243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28244 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28246 break 2
28247 fi
28248 done
28249 done
28250 IFS=$as_save_IFS
28251
28252 ;;
28253 esac
28254 fi
28255 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28256 if test -n "$ac_pt_PKG_CONFIG"; then
28257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28258 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28259 else
28260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28261 $as_echo "no" >&6; }
28262 fi
28263
28264 if test "x$ac_pt_PKG_CONFIG" = x; then
28265 PKG_CONFIG=""
28266 else
28267 case $cross_compiling:$ac_tool_warned in
28268 yes:)
28269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28271 ac_tool_warned=yes ;;
28272 esac
28273 PKG_CONFIG=$ac_pt_PKG_CONFIG
28274 fi
28275 else
28276 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28277 fi
28278
28279 fi
28280 if test -n "$PKG_CONFIG"; then
28281 _pkg_min_version=0.9.0
28282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28283 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28284 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28286 $as_echo "yes" >&6; }
28287 else
28288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28289 $as_echo "no" >&6; }
28290 PKG_CONFIG=""
28291 fi
28292
28293 fi 6> /dev/null
28294
28295 pkg_failed=no
28296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28297 $as_echo_n "checking for GLU... " >&6; }
28298
28299 if test -n "$PKG_CONFIG"; then
28300 if test -n "$GLU_CFLAGS"; then
28301 pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
28302 else
28303 if test -n "$PKG_CONFIG" && \
28304 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28305 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28306 ac_status=$?
28307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28308 test $ac_status = 0; }; then
28309 pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28310 else
28311 pkg_failed=yes
28312 fi
28313 fi
28314 else
28315 pkg_failed=untried
28316 fi
28317 if test -n "$PKG_CONFIG"; then
28318 if test -n "$GLU_LIBS"; then
28319 pkg_cv_GLU_LIBS="$GLU_LIBS"
28320 else
28321 if test -n "$PKG_CONFIG" && \
28322 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28323 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28324 ac_status=$?
28325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28326 test $ac_status = 0; }; then
28327 pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28328 else
28329 pkg_failed=yes
28330 fi
28331 fi
28332 else
28333 pkg_failed=untried
28334 fi
28335
28336
28337
28338 if test $pkg_failed = yes; then
28339
28340 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28341 _pkg_short_errors_supported=yes
28342 else
28343 _pkg_short_errors_supported=no
28344 fi
28345 if test $_pkg_short_errors_supported = yes; then
28346 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28347 else
28348 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28349 fi
28350 # Put the nasty error message in config.log where it belongs
28351 echo "$GLU_PKG_ERRORS" >&5
28352
28353
28354 if test "x$ac_find_libraries" = "x"; then
28355 if test "xgluBeginCurve" != "x"; then
28356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28357 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28358 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28359 $as_echo_n "(cached) " >&6
28360 else
28361 ac_check_lib_save_LIBS=$LIBS
28362 LIBS="-lGLU $LIBS"
28363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28364 /* end confdefs.h. */
28365
28366 /* Override any GCC internal prototype to avoid an error.
28367 Use char because int might match the return type of a GCC
28368 builtin and then its argument prototype would still apply. */
28369 #ifdef __cplusplus
28370 extern "C"
28371 #endif
28372 char gluBeginCurve ();
28373 int
28374 main ()
28375 {
28376 return gluBeginCurve ();
28377 ;
28378 return 0;
28379 }
28380 _ACEOF
28381 if ac_fn_c_try_link "$LINENO"; then :
28382 ac_cv_lib_GLU_gluBeginCurve=yes
28383 else
28384 ac_cv_lib_GLU_gluBeginCurve=no
28385 fi
28386 rm -f core conftest.err conftest.$ac_objext \
28387 conftest$ac_exeext conftest.$ac_ext
28388 LIBS=$ac_check_lib_save_LIBS
28389 fi
28390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28391 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28392 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28393 ac_find_libraries="std"
28394 fi
28395
28396 fi
28397 fi
28398
28399 if test "x$ac_find_libraries" = "x"; then
28400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28401 $as_echo_n "checking elsewhere... " >&6; }
28402
28403 ac_find_libraries=
28404 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28405 do
28406 for ac_extension in a so sl dylib dll.a; do
28407 if test -f "$ac_dir/libGLU.$ac_extension"; then
28408 ac_find_libraries=$ac_dir
28409 break 2
28410 fi
28411 done
28412 done
28413
28414 if test "x$ac_find_libraries" != "x"; then
28415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28416 $as_echo "yes" >&6; }
28417 else
28418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28419 $as_echo "no" >&6; }
28420 fi
28421 fi
28422
28423 elif test $pkg_failed = untried; then
28424
28425 if test "x$ac_find_libraries" = "x"; then
28426 if test "xgluBeginCurve" != "x"; then
28427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28428 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28429 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28430 $as_echo_n "(cached) " >&6
28431 else
28432 ac_check_lib_save_LIBS=$LIBS
28433 LIBS="-lGLU $LIBS"
28434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28435 /* end confdefs.h. */
28436
28437 /* Override any GCC internal prototype to avoid an error.
28438 Use char because int might match the return type of a GCC
28439 builtin and then its argument prototype would still apply. */
28440 #ifdef __cplusplus
28441 extern "C"
28442 #endif
28443 char gluBeginCurve ();
28444 int
28445 main ()
28446 {
28447 return gluBeginCurve ();
28448 ;
28449 return 0;
28450 }
28451 _ACEOF
28452 if ac_fn_c_try_link "$LINENO"; then :
28453 ac_cv_lib_GLU_gluBeginCurve=yes
28454 else
28455 ac_cv_lib_GLU_gluBeginCurve=no
28456 fi
28457 rm -f core conftest.err conftest.$ac_objext \
28458 conftest$ac_exeext conftest.$ac_ext
28459 LIBS=$ac_check_lib_save_LIBS
28460 fi
28461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28462 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28463 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28464 ac_find_libraries="std"
28465 fi
28466
28467 fi
28468 fi
28469
28470 if test "x$ac_find_libraries" = "x"; then
28471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28472 $as_echo_n "checking elsewhere... " >&6; }
28473
28474 ac_find_libraries=
28475 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28476 do
28477 for ac_extension in a so sl dylib dll.a; do
28478 if test -f "$ac_dir/libGLU.$ac_extension"; then
28479 ac_find_libraries=$ac_dir
28480 break 2
28481 fi
28482 done
28483 done
28484
28485 if test "x$ac_find_libraries" != "x"; then
28486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28487 $as_echo "yes" >&6; }
28488 else
28489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28490 $as_echo "no" >&6; }
28491 fi
28492 fi
28493
28494 else
28495 GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
28496 GLU_LIBS=$pkg_cv_GLU_LIBS
28497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28498 $as_echo "yes" >&6; }
28499
28500 ac_find_libraries="std"
28501
28502 eval ac_find_cflags=\$GLU_CFLAGS
28503 eval fl_libs=\$GLU_LIBS
28504
28505 for fl_path in $fl_libs
28506 do
28507 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28508 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28509 fi
28510 done
28511
28512 fi
28513
28514 if test "$ac_find_libraries" != "" ; then
28515 if test "$ac_find_libraries" != "std" ; then
28516
28517 if test "$ac_find_libraries" = "default location"; then
28518 ac_path_to_link=""
28519 else
28520 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28521 result=$?
28522 if test $result = 0; then
28523 ac_path_to_link=""
28524 else
28525 ac_path_to_link=" -L$ac_find_libraries"
28526 fi
28527 fi
28528
28529 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28530 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28531 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28532 fi
28533 fi
28534
28535 found_gl=1
28536 OPENGL_LIBS="-lGL -lGLU"
28537 fi
28538 fi
28539
28540 if test "$found_gl" != 1; then
28541
28542 ac_find_libraries=
28543
28544 fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
28545
28546
28547 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28548 if test -n "$ac_tool_prefix"; then
28549 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28550 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28552 $as_echo_n "checking for $ac_word... " >&6; }
28553 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28554 $as_echo_n "(cached) " >&6
28555 else
28556 case $PKG_CONFIG in
28557 [\\/]* | ?:[\\/]*)
28558 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28559 ;;
28560 *)
28561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28562 for as_dir in $PATH
28563 do
28564 IFS=$as_save_IFS
28565 test -z "$as_dir" && as_dir=.
28566 for ac_exec_ext in '' $ac_executable_extensions; do
28567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28568 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28570 break 2
28571 fi
28572 done
28573 done
28574 IFS=$as_save_IFS
28575
28576 ;;
28577 esac
28578 fi
28579 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28580 if test -n "$PKG_CONFIG"; then
28581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28582 $as_echo "$PKG_CONFIG" >&6; }
28583 else
28584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28585 $as_echo "no" >&6; }
28586 fi
28587
28588
28589 fi
28590 if test -z "$ac_cv_path_PKG_CONFIG"; then
28591 ac_pt_PKG_CONFIG=$PKG_CONFIG
28592 # Extract the first word of "pkg-config", so it can be a program name with args.
28593 set dummy pkg-config; ac_word=$2
28594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28595 $as_echo_n "checking for $ac_word... " >&6; }
28596 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28597 $as_echo_n "(cached) " >&6
28598 else
28599 case $ac_pt_PKG_CONFIG in
28600 [\\/]* | ?:[\\/]*)
28601 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28602 ;;
28603 *)
28604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28605 for as_dir in $PATH
28606 do
28607 IFS=$as_save_IFS
28608 test -z "$as_dir" && as_dir=.
28609 for ac_exec_ext in '' $ac_executable_extensions; do
28610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28611 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28613 break 2
28614 fi
28615 done
28616 done
28617 IFS=$as_save_IFS
28618
28619 ;;
28620 esac
28621 fi
28622 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28623 if test -n "$ac_pt_PKG_CONFIG"; then
28624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28625 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28626 else
28627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28628 $as_echo "no" >&6; }
28629 fi
28630
28631 if test "x$ac_pt_PKG_CONFIG" = x; then
28632 PKG_CONFIG=""
28633 else
28634 case $cross_compiling:$ac_tool_warned in
28635 yes:)
28636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28638 ac_tool_warned=yes ;;
28639 esac
28640 PKG_CONFIG=$ac_pt_PKG_CONFIG
28641 fi
28642 else
28643 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28644 fi
28645
28646 fi
28647 if test -n "$PKG_CONFIG"; then
28648 _pkg_min_version=0.9.0
28649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28650 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28651 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28653 $as_echo "yes" >&6; }
28654 else
28655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28656 $as_echo "no" >&6; }
28657 PKG_CONFIG=""
28658 fi
28659
28660 fi 6> /dev/null
28661
28662 pkg_failed=no
28663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28664 $as_echo_n "checking for MesaGL... " >&6; }
28665
28666 if test -n "$PKG_CONFIG"; then
28667 if test -n "$MesaGL_CFLAGS"; then
28668 pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
28669 else
28670 if test -n "$PKG_CONFIG" && \
28671 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28672 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28673 ac_status=$?
28674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28675 test $ac_status = 0; }; then
28676 pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28677 else
28678 pkg_failed=yes
28679 fi
28680 fi
28681 else
28682 pkg_failed=untried
28683 fi
28684 if test -n "$PKG_CONFIG"; then
28685 if test -n "$MesaGL_LIBS"; then
28686 pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
28687 else
28688 if test -n "$PKG_CONFIG" && \
28689 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28690 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28691 ac_status=$?
28692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28693 test $ac_status = 0; }; then
28694 pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28695 else
28696 pkg_failed=yes
28697 fi
28698 fi
28699 else
28700 pkg_failed=untried
28701 fi
28702
28703
28704
28705 if test $pkg_failed = yes; then
28706
28707 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28708 _pkg_short_errors_supported=yes
28709 else
28710 _pkg_short_errors_supported=no
28711 fi
28712 if test $_pkg_short_errors_supported = yes; then
28713 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28714 else
28715 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28716 fi
28717 # Put the nasty error message in config.log where it belongs
28718 echo "$MesaGL_PKG_ERRORS" >&5
28719
28720
28721 if test "x$ac_find_libraries" = "x"; then
28722 if test "xglEnable" != "x"; then
28723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28724 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28725 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28726 $as_echo_n "(cached) " >&6
28727 else
28728 ac_check_lib_save_LIBS=$LIBS
28729 LIBS="-lMesaGL $LIBS"
28730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28731 /* end confdefs.h. */
28732
28733 /* Override any GCC internal prototype to avoid an error.
28734 Use char because int might match the return type of a GCC
28735 builtin and then its argument prototype would still apply. */
28736 #ifdef __cplusplus
28737 extern "C"
28738 #endif
28739 char glEnable ();
28740 int
28741 main ()
28742 {
28743 return glEnable ();
28744 ;
28745 return 0;
28746 }
28747 _ACEOF
28748 if ac_fn_c_try_link "$LINENO"; then :
28749 ac_cv_lib_MesaGL_glEnable=yes
28750 else
28751 ac_cv_lib_MesaGL_glEnable=no
28752 fi
28753 rm -f core conftest.err conftest.$ac_objext \
28754 conftest$ac_exeext conftest.$ac_ext
28755 LIBS=$ac_check_lib_save_LIBS
28756 fi
28757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28758 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28759 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28760 ac_find_libraries="std"
28761 fi
28762
28763 fi
28764 fi
28765
28766 if test "x$ac_find_libraries" = "x"; then
28767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28768 $as_echo_n "checking elsewhere... " >&6; }
28769
28770 ac_find_libraries=
28771 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28772 do
28773 for ac_extension in a so sl dylib dll.a; do
28774 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28775 ac_find_libraries=$ac_dir
28776 break 2
28777 fi
28778 done
28779 done
28780
28781 if test "x$ac_find_libraries" != "x"; then
28782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28783 $as_echo "yes" >&6; }
28784 else
28785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28786 $as_echo "no" >&6; }
28787 fi
28788 fi
28789
28790 elif test $pkg_failed = untried; then
28791
28792 if test "x$ac_find_libraries" = "x"; then
28793 if test "xglEnable" != "x"; then
28794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28795 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28796 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28797 $as_echo_n "(cached) " >&6
28798 else
28799 ac_check_lib_save_LIBS=$LIBS
28800 LIBS="-lMesaGL $LIBS"
28801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28802 /* end confdefs.h. */
28803
28804 /* Override any GCC internal prototype to avoid an error.
28805 Use char because int might match the return type of a GCC
28806 builtin and then its argument prototype would still apply. */
28807 #ifdef __cplusplus
28808 extern "C"
28809 #endif
28810 char glEnable ();
28811 int
28812 main ()
28813 {
28814 return glEnable ();
28815 ;
28816 return 0;
28817 }
28818 _ACEOF
28819 if ac_fn_c_try_link "$LINENO"; then :
28820 ac_cv_lib_MesaGL_glEnable=yes
28821 else
28822 ac_cv_lib_MesaGL_glEnable=no
28823 fi
28824 rm -f core conftest.err conftest.$ac_objext \
28825 conftest$ac_exeext conftest.$ac_ext
28826 LIBS=$ac_check_lib_save_LIBS
28827 fi
28828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28829 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28830 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28831 ac_find_libraries="std"
28832 fi
28833
28834 fi
28835 fi
28836
28837 if test "x$ac_find_libraries" = "x"; then
28838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28839 $as_echo_n "checking elsewhere... " >&6; }
28840
28841 ac_find_libraries=
28842 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28843 do
28844 for ac_extension in a so sl dylib dll.a; do
28845 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28846 ac_find_libraries=$ac_dir
28847 break 2
28848 fi
28849 done
28850 done
28851
28852 if test "x$ac_find_libraries" != "x"; then
28853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28854 $as_echo "yes" >&6; }
28855 else
28856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28857 $as_echo "no" >&6; }
28858 fi
28859 fi
28860
28861 else
28862 MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
28863 MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
28864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28865 $as_echo "yes" >&6; }
28866
28867 ac_find_libraries="std"
28868
28869 eval ac_find_cflags=\$MesaGL_CFLAGS
28870 eval fl_libs=\$MesaGL_LIBS
28871
28872 for fl_path in $fl_libs
28873 do
28874 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28875 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28876 fi
28877 done
28878
28879 fi
28880
28881 if test "$ac_find_libraries" != "" ; then
28882 if test "$ac_find_libraries" != "std" ; then
28883
28884 if test "$ac_find_libraries" = "default location"; then
28885 ac_path_to_link=""
28886 else
28887 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28888 result=$?
28889 if test $result = 0; then
28890 ac_path_to_link=""
28891 else
28892 ac_path_to_link=" -L$ac_find_libraries"
28893 fi
28894 fi
28895
28896 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28897 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28898 fi
28899 fi
28900 OPENGL_LIBS="-lMesaGL -lMesaGLU"
28901 fi
28902 fi
28903
28904 fi
28905
28906
28907
28908 fi
28909
28910
28911
28912 if test "x$OPENGL_LIBS" = "x"; then
28913 if test "$wxUSE_OPENGL" = "yes"; then
28914 as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
28915 else
28916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28917 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28918 wxUSE_OPENGL=no
28919 USE_OPENGL=0
28920 fi
28921 fi
28922 else
28923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28924 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28925 wxUSE_OPENGL="no"
28926 fi
28927
28928 if test "$wxUSE_OPENGL" = "auto"; then
28929 wxUSE_OPENGL=yes
28930 fi
28931
28932 if test "$wxUSE_OPENGL" = "yes"; then
28933 USE_OPENGL=1
28934 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28935
28936 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28937
28938 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28939 fi
28940 fi
28941
28942
28943 if test -n "$TOOLKIT" ; then
28944 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28945 fi
28946
28947
28948
28949 if test "$wxUSE_SHARED" = "yes"; then
28950 case "${host}" in
28951 *-pc-msdosdjgpp )
28952 wxUSE_SHARED=no
28953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28954 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28955 ;;
28956 esac
28957 fi
28958
28959 if test "$wxUSE_SHARED" = "yes"; then
28960
28961
28962 case "${host}" in
28963 *-*-cygwin* | *-*-mingw* )
28964 wx_cv_version_script=no
28965 ;;
28966
28967 *)
28968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28969 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28970 if ${wx_cv_version_script+:} false; then :
28971 $as_echo_n "(cached) " >&6
28972 else
28973
28974 echo "VER_1 { *; };" >conftest.sym
28975 echo "int main() { return 0; }" >conftest.cpp
28976
28977 if { ac_try='
28978 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28979 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28980 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28981 (eval $ac_try) 2>&5
28982 ac_status=$?
28983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28984 test $ac_status = 0; }; } ; then
28985 if test -s conftest.stderr ; then
28986 wx_cv_version_script=no
28987 else
28988 wx_cv_version_script=yes
28989 fi
28990 else
28991 wx_cv_version_script=no
28992 fi
28993
28994 if test $wx_cv_version_script = yes
28995 then
28996 echo "struct B { virtual ~B() { } }; \
28997 struct D : public B { }; \
28998 void F() { D d; }" > conftest.cpp
28999
29000 if { ac_try='
29001 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29002 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29003 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29004 (eval $ac_try) 2>&5
29005 ac_status=$?
29006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29007 test $ac_status = 0; }; } &&
29008 { ac_try='
29009 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29010 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29011 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29012 (eval $ac_try) 2>&5
29013 ac_status=$?
29014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29015 test $ac_status = 0; }; }
29016 then
29017 if { ac_try='
29018 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29019 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29020 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29021 (eval $ac_try) 2>&5
29022 ac_status=$?
29023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29024 test $ac_status = 0; }; }
29025 then
29026 wx_cv_version_script=yes
29027 else
29028 wx_cv_version_script=no
29029 fi
29030 fi
29031 fi
29032
29033 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29034 rm -f conftest1.output conftest2.output conftest3.output
29035
29036 fi
29037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
29038 $as_echo "$wx_cv_version_script" >&6; }
29039
29040 if test $wx_cv_version_script = yes ; then
29041 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
29042 fi
29043 ;;
29044 esac
29045
29046
29047 if test "$wxUSE_VISIBILITY" != "no"; then
29048
29049
29050 if test -n "$GCC"; then
29051 CFLAGS_VISIBILITY="-fvisibility=hidden"
29052 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
29053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
29054 $as_echo_n "checking for symbols visibility support... " >&6; }
29055 if ${wx_cv_cc_visibility+:} false; then :
29056 $as_echo_n "(cached) " >&6
29057 else
29058
29059 wx_save_CXXFLAGS="$CXXFLAGS"
29060 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29061 ac_ext=cpp
29062 ac_cpp='$CXXCPP $CPPFLAGS'
29063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29066
29067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29068 /* end confdefs.h. */
29069
29070 /* we need gcc >= 4.0, older versions with visibility support
29071 didn't have class visibility: */
29072 #if defined(__GNUC__) && __GNUC__ < 4
29073 error this gcc is too old;
29074 #endif
29075
29076 /* visibility only makes sense for ELF shared libs: */
29077 #if !defined(__ELF__) && !defined(__APPLE__)
29078 error this platform has no visibility;
29079 #endif
29080
29081 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
29082 #if defined(__clang__)
29083 clang compiler is still broken w.r.t. visibility;
29084 #endif
29085
29086 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
29087 extern __attribute__((__visibility__("default"))) int exportedvar;
29088 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
29089 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
29090 class __attribute__((__visibility__("default"))) Foo {
29091 Foo() {}
29092 };
29093
29094 int
29095 main ()
29096 {
29097
29098 ;
29099 return 0;
29100 }
29101 _ACEOF
29102 if ac_fn_cxx_try_compile "$LINENO"; then :
29103 wx_cv_cc_visibility=yes
29104 else
29105 wx_cv_cc_visibility=no
29106 fi
29107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29108 ac_ext=c
29109 ac_cpp='$CPP $CPPFLAGS'
29110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29113
29114 CXXFLAGS="$wx_save_CXXFLAGS"
29115 fi
29116
29117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
29118 $as_echo "$wx_cv_cc_visibility" >&6; }
29119 if test $wx_cv_cc_visibility = yes; then
29120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
29121 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
29122 if ${wx_cv_cc_broken_libstdcxx_visibility+:} false; then :
29123 $as_echo_n "(cached) " >&6
29124 else
29125
29126 wx_save_CXXFLAGS="$CXXFLAGS"
29127 wx_save_LDFLAGS="$LDFLAGS"
29128 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29129 LDFLAGS="$LDFLAGS -shared -fPIC"
29130 ac_ext=cpp
29131 ac_cpp='$CXXCPP $CPPFLAGS'
29132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29135
29136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29137 /* end confdefs.h. */
29138
29139 #include <string>
29140
29141 int
29142 main ()
29143 {
29144
29145 std::string s("hello");
29146 return s.length();
29147
29148 ;
29149 return 0;
29150 }
29151 _ACEOF
29152 if ac_fn_cxx_try_link "$LINENO"; then :
29153 wx_cv_cc_broken_libstdcxx_visibility=no
29154 else
29155 wx_cv_cc_broken_libstdcxx_visibility=yes
29156 fi
29157 rm -f core conftest.err conftest.$ac_objext \
29158 conftest$ac_exeext conftest.$ac_ext
29159 ac_ext=c
29160 ac_cpp='$CPP $CPPFLAGS'
29161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29164
29165 CXXFLAGS="$wx_save_CXXFLAGS"
29166 LDFLAGS="$wx_save_LDFLAGS"
29167 fi
29168
29169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29170 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29171
29172 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29174 $as_echo_n "checking whether we can work around it... " >&6; }
29175 if ${wx_cv_cc_visibility_workaround+:} false; then :
29176 $as_echo_n "(cached) " >&6
29177 else
29178
29179 ac_ext=cpp
29180 ac_cpp='$CXXCPP $CPPFLAGS'
29181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29184
29185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29186 /* end confdefs.h. */
29187
29188 #pragma GCC visibility push(default)
29189 #include <string>
29190 #pragma GCC visibility pop
29191
29192 int
29193 main ()
29194 {
29195
29196 std::string s("hello");
29197 return s.length();
29198
29199 ;
29200 return 0;
29201 }
29202 _ACEOF
29203 if ac_fn_cxx_try_link "$LINENO"; then :
29204 wx_cv_cc_visibility_workaround=no
29205 else
29206 wx_cv_cc_visibility_workaround=yes
29207 fi
29208 rm -f core conftest.err conftest.$ac_objext \
29209 conftest$ac_exeext conftest.$ac_ext
29210 ac_ext=c
29211 ac_cpp='$CPP $CPPFLAGS'
29212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29215
29216
29217 fi
29218
29219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29220 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29221
29222 if test $wx_cv_cc_visibility_workaround = no; then
29223 wx_cv_cc_visibility=no
29224 fi
29225 fi
29226 fi
29227
29228 if test $wx_cv_cc_visibility = yes; then
29229 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29230
29231 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29232 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29233
29234 fi
29235 else
29236 CFLAGS_VISIBILITY=""
29237 CXXFLAGS_VISIBILITY=""
29238 fi
29239
29240
29241 fi
29242
29243 fi
29244
29245 if test "x$SUNCXX" = xyes; then
29246 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
29247 WXCONFIG_RPATH="-R\$libdir"
29248 else
29249 case "${host}" in
29250 *-*-linux* | *-*-gnu* )
29251 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29252 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29253 ;;
29254
29255 *-*-solaris2* )
29256
29257 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
29258
29259 saveLdflags="$LDFLAGS"
29260 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29262 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29264 /* end confdefs.h. */
29265
29266 int
29267 main ()
29268 {
29269
29270 ;
29271 return 0;
29272 }
29273 _ACEOF
29274 if ac_fn_c_try_link "$LINENO"; then :
29275
29276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29277 $as_echo "yes" >&6; }
29278 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29279 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29280
29281 else
29282
29283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29284 $as_echo "no" >&6; }
29285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29286 $as_echo_n "checking if the linker accepts -R... " >&6; }
29287 LDFLAGS="$saveLdflags -Wl,-R,/"
29288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29289 /* end confdefs.h. */
29290
29291 int
29292 main ()
29293 {
29294
29295 ;
29296 return 0;
29297 }
29298 _ACEOF
29299 if ac_fn_c_try_link "$LINENO"; then :
29300
29301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29302 $as_echo "yes" >&6; }
29303 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
29304 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29305
29306 else
29307
29308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29309 $as_echo "no" >&6; }
29310
29311 fi
29312 rm -f core conftest.err conftest.$ac_objext \
29313 conftest$ac_exeext conftest.$ac_ext
29314
29315 fi
29316 rm -f core conftest.err conftest.$ac_objext \
29317 conftest$ac_exeext conftest.$ac_ext
29318 LDFLAGS="$saveLdflags"
29319 ;;
29320
29321 *-*-darwin* )
29322 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
29323 if test "$install_name_tool" -a -x "$install_name_tool"; then
29324 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29325 cat <<EOF >change-install-names
29326 #!/bin/sh
29327 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29328 for i in \${libnames} ; do
29329 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29330 for dep in \${libnames} ; do
29331 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29332 done
29333 done
29334 EOF
29335 chmod +x change-install-names
29336 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29337 fi
29338
29339 HEADER_PAD_OPTION="-headerpad_max_install_names"
29340 ;;
29341
29342 *-*-cygwin* | *-*-mingw32* )
29343 ;;
29344
29345 *-*-hpux* )
29346 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
29347 WXCONFIG_RPATH="-Wl,+b,\$libdir"
29348 ;;
29349
29350 esac
29351 fi
29352
29353 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29354
29355 if test $wxUSE_RPATH = "no"; then
29356 SAMPLES_RPATH_FLAG=''
29357 DYLIB_PATH_POSTLINK=''
29358 WXCONFIG_RPATH=''
29359 fi
29360
29361 SHARED=1
29362
29363 else
29364
29365 config_linkage_component="-static"
29366 SHARED=0
29367
29368 fi
29369
29370
29371 UNICODE=0
29372 lib_unicode_suffix=
29373 WX_CHARTYPE="ansi"
29374 if test "$wxUSE_UNICODE" = "yes"; then
29375 lib_unicode_suffix=u
29376 WX_CHARTYPE="unicode"
29377 UNICODE=1
29378 fi
29379
29380 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29381 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29382
29383 DEBUG_INFO=0
29384 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29385 DEBUG_INFO=1
29386 fi
29387
29388 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29389
29390 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29391
29392 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29393
29394
29395 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29396 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29397 else
29398 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29399 fi
29400 if test "${TOOLKIT_DIR}" = "os2"; then
29401 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29402 else
29403 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29404 fi
29405
29406
29407
29408 if test "$wxUSE_OLD_COCOA" = 1; then
29409
29410 ac_ext=c
29411 ac_cpp='$CPP $CPPFLAGS'
29412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29415
29416 ac_ext=m
29417
29418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29419 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29421 /* end confdefs.h. */
29422 #include <AppKit/NSEvent.h>
29423 #include <CoreFoundation/CoreFoundation.h>
29424
29425 int
29426 main ()
29427 {
29428
29429 ;
29430 return 0;
29431 }
29432 _ACEOF
29433 if ac_fn_c_try_compile "$LINENO"; then :
29434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29435 $as_echo "no" >&6; }
29436 else
29437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29438 $as_echo "yes" >&6; }
29439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29440 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29442 /* end confdefs.h. */
29443 #define __Point__ 1
29444 #include <AppKit/NSEvent.h>
29445 #include <CoreFoundation/CoreFoundation.h>
29446
29447 int
29448 main ()
29449 {
29450
29451 ;
29452 return 0;
29453 }
29454 _ACEOF
29455 if ac_fn_c_try_compile "$LINENO"; then :
29456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29457 $as_echo "yes" >&6; }
29458 $as_echo "#define __Point__ 1" >>confdefs.h
29459
29460
29461 else
29462 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29464 as_fn_error $? "no
29465 See \`config.log' for more details" "$LINENO" 5; }
29466
29467 fi
29468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29469
29470 fi
29471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29472 ac_ext=c
29473 ac_cpp='$CPP $CPPFLAGS'
29474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29477
29478 fi
29479
29480
29481 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29482 if test "x$ac_cv_type_mode_t" = xyes; then :
29483
29484 else
29485
29486 cat >>confdefs.h <<_ACEOF
29487 #define mode_t int
29488 _ACEOF
29489
29490 fi
29491
29492 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29493 if test "x$ac_cv_type_off_t" = xyes; then :
29494
29495 else
29496
29497 cat >>confdefs.h <<_ACEOF
29498 #define off_t long int
29499 _ACEOF
29500
29501 fi
29502
29503 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29504 if test "x$ac_cv_type_pid_t" = xyes; then :
29505
29506 else
29507
29508 cat >>confdefs.h <<_ACEOF
29509 #define pid_t int
29510 _ACEOF
29511
29512 fi
29513
29514 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29515 if test "x$ac_cv_type_size_t" = xyes; then :
29516
29517 else
29518
29519 cat >>confdefs.h <<_ACEOF
29520 #define size_t unsigned int
29521 _ACEOF
29522
29523 fi
29524
29525
29526 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29527 if test "x$ac_cv_type_ssize_t" = xyes; then :
29528
29529 cat >>confdefs.h <<_ACEOF
29530 #define HAVE_SSIZE_T 1
29531 _ACEOF
29532
29533
29534 fi
29535
29536
29537 ac_ext=cpp
29538 ac_cpp='$CXXCPP $CPPFLAGS'
29539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29543 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29544 if ${wx_cv_size_t_is_uint+:} false; then :
29545 $as_echo_n "(cached) " >&6
29546 else
29547
29548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29549 /* end confdefs.h. */
29550 #include <stddef.h>
29551 int
29552 main ()
29553 {
29554
29555 return 0; }
29556
29557 struct Foo { void foo(size_t); void foo(unsigned int); };
29558
29559 int bar() {
29560
29561 ;
29562 return 0;
29563 }
29564 _ACEOF
29565 if ac_fn_cxx_try_compile "$LINENO"; then :
29566 wx_cv_size_t_is_uint=no
29567 else
29568 wx_cv_size_t_is_uint=yes
29569
29570 fi
29571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29572
29573
29574 fi
29575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29576 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29577
29578 if test "$wx_cv_size_t_is_uint" = "yes"; then
29579 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29580
29581 else
29582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29583 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29584 if ${wx_cv_size_t_is_ulong+:} false; then :
29585 $as_echo_n "(cached) " >&6
29586 else
29587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29588 /* end confdefs.h. */
29589 #include <stddef.h>
29590 int
29591 main ()
29592 {
29593
29594 return 0; }
29595
29596 struct Foo { void foo(size_t); void foo(unsigned long); };
29597
29598 int bar() {
29599
29600 ;
29601 return 0;
29602 }
29603 _ACEOF
29604 if ac_fn_cxx_try_compile "$LINENO"; then :
29605 wx_cv_size_t_is_ulong=no
29606 else
29607 wx_cv_size_t_is_ulong=yes
29608
29609 fi
29610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29611
29612 fi
29613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29614 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29615
29616 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29617 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29618
29619 fi
29620 fi
29621
29622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29623 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29624 if ${wx_cv_wchar_t_is_separate_type+:} false; then :
29625 $as_echo_n "(cached) " >&6
29626 else
29627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29628 /* end confdefs.h. */
29629 #include <wchar.h>
29630 int
29631 main ()
29632 {
29633
29634 return 0; }
29635
29636 struct Foo { void foo(wchar_t);
29637 void foo(unsigned short);
29638 void foo(unsigned int);
29639 void foo(unsigned long); };
29640
29641 int bar() {
29642
29643 ;
29644 return 0;
29645 }
29646 _ACEOF
29647 if ac_fn_cxx_try_compile "$LINENO"; then :
29648 wx_cv_wchar_t_is_separate_type=yes
29649 else
29650 wx_cv_wchar_t_is_separate_type=no
29651
29652 fi
29653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29654
29655 fi
29656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29657 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29658
29659 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29660 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29661
29662 else
29663 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29664
29665 fi
29666
29667 ac_ext=c
29668 ac_cpp='$CPP $CPPFLAGS'
29669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29672
29673
29674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29675 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29676 if ${wx_cv_struct_pw_gecos+:} false; then :
29677 $as_echo_n "(cached) " >&6
29678 else
29679
29680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29681 /* end confdefs.h. */
29682 #include <pwd.h>
29683 int
29684 main ()
29685 {
29686
29687 char *p;
29688 struct passwd *pw;
29689 p = pw->pw_gecos;
29690
29691 ;
29692 return 0;
29693 }
29694 _ACEOF
29695 if ac_fn_c_try_compile "$LINENO"; then :
29696
29697 wx_cv_struct_pw_gecos=yes
29698
29699 else
29700
29701 wx_cv_struct_pw_gecos=no
29702
29703
29704 fi
29705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29706
29707
29708 fi
29709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29710 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29711
29712 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29713 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29714
29715 fi
29716
29717
29718 WCSLEN_FOUND=0
29719 WCHAR_LINK=
29720 for ac_func in wcslen
29721 do :
29722 ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
29723 if test "x$ac_cv_func_wcslen" = xyes; then :
29724 cat >>confdefs.h <<_ACEOF
29725 #define HAVE_WCSLEN 1
29726 _ACEOF
29727 WCSLEN_FOUND=1
29728 fi
29729 done
29730
29731
29732 if test "$WCSLEN_FOUND" = 0; then
29733 if test "$TOOLKIT" = "MSW"; then
29734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29735 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29736 if ${ac_cv_lib_msvcrt_wcslen+:} false; then :
29737 $as_echo_n "(cached) " >&6
29738 else
29739 ac_check_lib_save_LIBS=$LIBS
29740 LIBS="-lmsvcrt $LIBS"
29741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29742 /* end confdefs.h. */
29743
29744 /* Override any GCC internal prototype to avoid an error.
29745 Use char because int might match the return type of a GCC
29746 builtin and then its argument prototype would still apply. */
29747 #ifdef __cplusplus
29748 extern "C"
29749 #endif
29750 char wcslen ();
29751 int
29752 main ()
29753 {
29754 return wcslen ();
29755 ;
29756 return 0;
29757 }
29758 _ACEOF
29759 if ac_fn_c_try_link "$LINENO"; then :
29760 ac_cv_lib_msvcrt_wcslen=yes
29761 else
29762 ac_cv_lib_msvcrt_wcslen=no
29763 fi
29764 rm -f core conftest.err conftest.$ac_objext \
29765 conftest$ac_exeext conftest.$ac_ext
29766 LIBS=$ac_check_lib_save_LIBS
29767 fi
29768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29769 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29770 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes; then :
29771 WCHAR_OK=1
29772 fi
29773
29774 else
29775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29776 $as_echo_n "checking for wcslen in -lw... " >&6; }
29777 if ${ac_cv_lib_w_wcslen+:} false; then :
29778 $as_echo_n "(cached) " >&6
29779 else
29780 ac_check_lib_save_LIBS=$LIBS
29781 LIBS="-lw $LIBS"
29782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29783 /* end confdefs.h. */
29784
29785 /* Override any GCC internal prototype to avoid an error.
29786 Use char because int might match the return type of a GCC
29787 builtin and then its argument prototype would still apply. */
29788 #ifdef __cplusplus
29789 extern "C"
29790 #endif
29791 char wcslen ();
29792 int
29793 main ()
29794 {
29795 return wcslen ();
29796 ;
29797 return 0;
29798 }
29799 _ACEOF
29800 if ac_fn_c_try_link "$LINENO"; then :
29801 ac_cv_lib_w_wcslen=yes
29802 else
29803 ac_cv_lib_w_wcslen=no
29804 fi
29805 rm -f core conftest.err conftest.$ac_objext \
29806 conftest$ac_exeext conftest.$ac_ext
29807 LIBS=$ac_check_lib_save_LIBS
29808 fi
29809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29810 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29811 if test "x$ac_cv_lib_w_wcslen" = xyes; then :
29812
29813 WCHAR_LINK=" -lw"
29814 WCSLEN_FOUND=1
29815
29816 fi
29817
29818 fi
29819 fi
29820
29821 if test "$WCSLEN_FOUND" = 1; then
29822 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29823
29824 fi
29825
29826 for ac_func in wcsftime
29827 do :
29828 ac_fn_c_check_func "$LINENO" "wcsftime" "ac_cv_func_wcsftime"
29829 if test "x$ac_cv_func_wcsftime" = xyes; then :
29830 cat >>confdefs.h <<_ACEOF
29831 #define HAVE_WCSFTIME 1
29832 _ACEOF
29833
29834 fi
29835 done
29836
29837
29838 if test "$wxUSE_MAC" != 1; then
29839 for ac_func in strnlen wcsdup wcsnlen wcscasecmp wcsncasecmp
29840 do :
29841 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29842 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29843 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29844 cat >>confdefs.h <<_ACEOF
29845 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29846 _ACEOF
29847
29848 fi
29849 done
29850
29851 fi
29852
29853 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29854 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29855 fi
29856
29857 ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29858 "
29859 if test "x$ac_cv_type_mbstate_t" = xyes; then :
29860
29861 cat >>confdefs.h <<_ACEOF
29862 #define HAVE_MBSTATE_T 1
29863 _ACEOF
29864
29865 for ac_func in wcsrtombs
29866 do :
29867 ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29868 if test "x$ac_cv_func_wcsrtombs" = xyes; then :
29869 cat >>confdefs.h <<_ACEOF
29870 #define HAVE_WCSRTOMBS 1
29871 _ACEOF
29872
29873 fi
29874 done
29875
29876 fi
29877
29878
29879 for ac_func in snprintf vsnprintf vsscanf
29880 do :
29881 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29882 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29883 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29884 cat >>confdefs.h <<_ACEOF
29885 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29886 _ACEOF
29887
29888 fi
29889 done
29890
29891
29892 ac_ext=cpp
29893 ac_cpp='$CXXCPP $CPPFLAGS'
29894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29897
29898 if test "$ac_cv_func_vsnprintf" = "yes"; then
29899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29900 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29901 if ${wx_cv_func_vsnprintf_decl+:} 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 #include <stdio.h>
29909 #include <stdarg.h>
29910
29911 int
29912 main ()
29913 {
29914
29915 char *buf;
29916 va_list ap;
29917 vsnprintf(buf, 10u, "%s", ap);
29918
29919 ;
29920 return 0;
29921 }
29922 _ACEOF
29923 if ac_fn_cxx_try_compile "$LINENO"; then :
29924 wx_cv_func_vsnprintf_decl=yes
29925 else
29926 wx_cv_func_vsnprintf_decl=no
29927
29928 fi
29929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29930
29931
29932 fi
29933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29934 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29935
29936 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29937 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29938
29939
29940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29941 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29942 if ${wx_cv_func_broken_vsnprintf_decl+:} false; then :
29943 $as_echo_n "(cached) " >&6
29944 else
29945
29946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29947 /* end confdefs.h. */
29948
29949 #include <stdio.h>
29950 #include <stdarg.h>
29951 #ifdef __MSL__
29952 #if __MSL__ >= 0x6000
29953 namespace std {}
29954 using namespace std;
29955 #endif
29956 #endif
29957
29958 int
29959 main ()
29960 {
29961
29962 char *buf;
29963 va_list ap;
29964 const char *fmt = "%s";
29965 vsnprintf(buf, 10u, fmt, ap);
29966
29967 ;
29968 return 0;
29969 }
29970 _ACEOF
29971 if ac_fn_cxx_try_compile "$LINENO"; then :
29972 wx_cv_func_broken_vsnprintf_decl=no
29973 else
29974 wx_cv_func_broken_vsnprintf_decl=yes
29975
29976 fi
29977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29978
29979
29980 fi
29981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29982 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29983
29984 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29985 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29986
29987 fi
29988 fi
29989 fi
29990
29991 if test "$ac_cv_func_snprintf" = "yes"; then
29992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29993 $as_echo_n "checking for snprintf declaration... " >&6; }
29994 if ${wx_cv_func_snprintf_decl+:} false; then :
29995 $as_echo_n "(cached) " >&6
29996 else
29997
29998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29999 /* end confdefs.h. */
30000
30001 #include <stdio.h>
30002 #include <stdarg.h>
30003 #ifdef __MSL__
30004 #if __MSL__ >= 0x6000
30005 namespace std {}
30006 using namespace std;
30007 #endif
30008 #endif
30009
30010 int
30011 main ()
30012 {
30013
30014 char *buf;
30015 snprintf(buf, 10u, "%s", "wx");
30016
30017 ;
30018 return 0;
30019 }
30020 _ACEOF
30021 if ac_fn_cxx_try_compile "$LINENO"; then :
30022 wx_cv_func_snprintf_decl=yes
30023 else
30024 wx_cv_func_snprintf_decl=no
30025
30026 fi
30027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30028
30029
30030 fi
30031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
30032 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
30033
30034 if test "$wx_cv_func_snprintf_decl" = "yes"; then
30035 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
30036
30037 fi
30038
30039 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
30040
30041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
30042 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
30043 if ${wx_cv_func_snprintf_pos_params+:} false; then :
30044 $as_echo_n "(cached) " >&6
30045 else
30046
30047 if test "$cross_compiling" = yes; then :
30048
30049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
30050 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
30051 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
30052 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
30053 wx_cv_func_snprintf_pos_params=no
30054
30055
30056 else
30057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30058 /* end confdefs.h. */
30059
30060 #include <stdio.h>
30061
30062 int main (void)
30063 {
30064 char buffer[128];
30065 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
30066 if (strcmp ("2 3 1", buffer) == 0)
30067 exit (0);
30068 exit (1);
30069 }
30070
30071 _ACEOF
30072 if ac_fn_cxx_try_run "$LINENO"; then :
30073 wx_cv_func_snprintf_pos_params=no
30074 else
30075 wx_cv_func_snprintf_pos_params=yes
30076 fi
30077 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30078 conftest.$ac_objext conftest.beam conftest.$ac_ext
30079 fi
30080
30081
30082
30083 fi
30084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
30085 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
30086
30087 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
30088 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
30089
30090 fi
30091 fi
30092 fi
30093
30094 if test "$ac_cv_func_vsscanf" = "yes"; then
30095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
30096 $as_echo_n "checking for vsscanf declaration... " >&6; }
30097 if ${wx_cv_func_vsscanf_decl+:} false; then :
30098 $as_echo_n "(cached) " >&6
30099 else
30100
30101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30102 /* end confdefs.h. */
30103
30104 #include <stdio.h>
30105 #include <stdarg.h>
30106 #ifdef __MSL__
30107 #if __MSL__ >= 0x6000
30108 namespace std {}
30109 using namespace std;
30110 #endif
30111 #endif
30112
30113 int
30114 main ()
30115 {
30116
30117 char *buf;
30118 va_list args;
30119 vsscanf(buf, "%s", args);
30120
30121 ;
30122 return 0;
30123 }
30124 _ACEOF
30125 if ac_fn_cxx_try_compile "$LINENO"; then :
30126 wx_cv_func_vsscanf_decl=yes
30127 else
30128 wx_cv_func_vsscanf_decl=no
30129
30130 fi
30131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30132
30133
30134 fi
30135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
30136 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
30137
30138 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
30139 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
30140
30141 fi
30142 fi
30143 ac_ext=c
30144 ac_cpp='$CPP $CPPFLAGS'
30145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30148
30149
30150 if test "$wxUSE_UNICODE" = yes; then
30151
30152 wchar_headers="#include <stdio.h>
30153 #include <wchar.h>"
30154 case "${host}" in
30155 *-*-solaris2* )
30156 for ac_header in widec.h
30157 do :
30158 ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
30159 "
30160 if test "x$ac_cv_header_widec_h" = xyes; then :
30161 cat >>confdefs.h <<_ACEOF
30162 #define HAVE_WIDEC_H 1
30163 _ACEOF
30164
30165 fi
30166
30167 done
30168
30169 if test "$ac_cv_header_widec_h" = "yes"; then
30170 wchar_headers="$wchar_headers
30171 #include <widec.h>"
30172 fi
30173 esac
30174
30175
30176 for wx_func in putws fputws wprintf vswprintf vswscanf
30177 do
30178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30179 $as_echo_n "checking for $wx_func... " >&6; }
30180 if eval \${wx_cv_func_$wx_func+:} false; then :
30181 $as_echo_n "(cached) " >&6
30182 else
30183
30184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30185 /* end confdefs.h. */
30186
30187
30188 $wchar_headers
30189 $ac_includes_default
30190
30191 int
30192 main ()
30193 {
30194
30195 #ifndef $wx_func
30196 &$wx_func;
30197 #endif
30198
30199
30200 ;
30201 return 0;
30202 }
30203
30204 _ACEOF
30205 if ac_fn_c_try_link "$LINENO"; then :
30206 eval wx_cv_func_$wx_func=yes
30207 else
30208 eval wx_cv_func_$wx_func=no
30209 fi
30210 rm -f core conftest.err conftest.$ac_objext \
30211 conftest$ac_exeext conftest.$ac_ext
30212
30213 fi
30214 eval ac_res=\$wx_cv_func_$wx_func
30215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30216 $as_echo "$ac_res" >&6; }
30217
30218 if eval test \$wx_cv_func_$wx_func = yes
30219 then
30220 cat >>confdefs.h <<_ACEOF
30221 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30222 _ACEOF
30223
30224
30225 else
30226 :
30227
30228 fi
30229 done
30230
30231
30232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30233 $as_echo_n "checking for _vsnwprintf... " >&6; }
30234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30235 /* end confdefs.h. */
30236 #include <wchar.h>
30237 int
30238 main ()
30239 {
30240 &_vsnwprintf;
30241 ;
30242 return 0;
30243 }
30244 _ACEOF
30245 if ac_fn_c_try_compile "$LINENO"; then :
30246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30247 $as_echo "yes" >&6; }
30248 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30249
30250 else
30251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30252 $as_echo "no" >&6; }
30253 fi
30254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
30255 fi
30256
30257 if test "$wxUSE_FILE" = "yes"; then
30258
30259 for wx_func in fsync
30260 do
30261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30262 $as_echo_n "checking for $wx_func... " >&6; }
30263 if eval \${wx_cv_func_$wx_func+:} false; then :
30264 $as_echo_n "(cached) " >&6
30265 else
30266
30267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30268 /* end confdefs.h. */
30269
30270
30271
30272 $ac_includes_default
30273
30274 int
30275 main ()
30276 {
30277
30278 #ifndef $wx_func
30279 &$wx_func;
30280 #endif
30281
30282
30283 ;
30284 return 0;
30285 }
30286
30287 _ACEOF
30288 if ac_fn_c_try_link "$LINENO"; then :
30289 eval wx_cv_func_$wx_func=yes
30290 else
30291 eval wx_cv_func_$wx_func=no
30292 fi
30293 rm -f core conftest.err conftest.$ac_objext \
30294 conftest$ac_exeext conftest.$ac_ext
30295
30296 fi
30297 eval ac_res=\$wx_cv_func_$wx_func
30298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30299 $as_echo "$ac_res" >&6; }
30300
30301 if eval test \$wx_cv_func_$wx_func = yes
30302 then
30303 cat >>confdefs.h <<_ACEOF
30304 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30305 _ACEOF
30306
30307
30308 else
30309 :
30310
30311 fi
30312 done
30313
30314 fi
30315
30316 ac_ext=cpp
30317 ac_cpp='$CXXCPP $CPPFLAGS'
30318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30321
30322
30323 for wx_func in round
30324 do
30325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30326 $as_echo_n "checking for $wx_func... " >&6; }
30327 if eval \${wx_cv_func_$wx_func+:} false; then :
30328 $as_echo_n "(cached) " >&6
30329 else
30330
30331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30332 /* end confdefs.h. */
30333
30334
30335 #include <math.h>
30336 $ac_includes_default
30337
30338 int
30339 main ()
30340 {
30341
30342 #ifndef $wx_func
30343 &$wx_func;
30344 #endif
30345
30346
30347 ;
30348 return 0;
30349 }
30350
30351 _ACEOF
30352 if ac_fn_cxx_try_link "$LINENO"; then :
30353 eval wx_cv_func_$wx_func=yes
30354 else
30355 eval wx_cv_func_$wx_func=no
30356 fi
30357 rm -f core conftest.err conftest.$ac_objext \
30358 conftest$ac_exeext conftest.$ac_ext
30359
30360 fi
30361 eval ac_res=\$wx_cv_func_$wx_func
30362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30363 $as_echo "$ac_res" >&6; }
30364
30365 if eval test \$wx_cv_func_$wx_func = yes
30366 then
30367 cat >>confdefs.h <<_ACEOF
30368 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30369 _ACEOF
30370
30371
30372 else
30373 :
30374
30375 fi
30376 done
30377
30378 ac_ext=c
30379 ac_cpp='$CPP $CPPFLAGS'
30380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30383
30384
30385 if test "$TOOLKIT" != "MSW"; then
30386
30387 if test "$wxUSE_LIBICONV" != "no" ; then
30388
30389
30390
30391 # Check whether --with-libiconv-prefix was given.
30392 if test "${with_libiconv_prefix+set}" = set; then :
30393 withval=$with_libiconv_prefix;
30394 for dir in `echo "$withval" | tr : ' '`; do
30395 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30396 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30397 done
30398
30399 fi
30400
30401
30402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30403 $as_echo_n "checking for iconv... " >&6; }
30404 if ${am_cv_func_iconv+:} false; then :
30405 $as_echo_n "(cached) " >&6
30406 else
30407
30408 am_cv_func_iconv="no, consider installing GNU libiconv"
30409 am_cv_lib_iconv=no
30410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30411 /* end confdefs.h. */
30412 #include <stdlib.h>
30413 #include <iconv.h>
30414 int
30415 main ()
30416 {
30417 iconv_t cd = iconv_open("","");
30418 iconv(cd,NULL,NULL,NULL,NULL);
30419 iconv_close(cd);
30420 ;
30421 return 0;
30422 }
30423 _ACEOF
30424 if ac_fn_c_try_link "$LINENO"; then :
30425 am_cv_func_iconv=yes
30426 fi
30427 rm -f core conftest.err conftest.$ac_objext \
30428 conftest$ac_exeext conftest.$ac_ext
30429 if test "$am_cv_func_iconv" != yes; then
30430 am_save_LIBS="$LIBS"
30431 LIBS="$LIBS -liconv"
30432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30433 /* end confdefs.h. */
30434 #include <stdlib.h>
30435 #include <iconv.h>
30436 int
30437 main ()
30438 {
30439 iconv_t cd = iconv_open("","");
30440 iconv(cd,NULL,NULL,NULL,NULL);
30441 iconv_close(cd);
30442 ;
30443 return 0;
30444 }
30445 _ACEOF
30446 if ac_fn_c_try_link "$LINENO"; then :
30447 am_cv_lib_iconv=yes
30448 am_cv_func_iconv=yes
30449 fi
30450 rm -f core conftest.err conftest.$ac_objext \
30451 conftest$ac_exeext conftest.$ac_ext
30452 LIBS="$am_save_LIBS"
30453 fi
30454
30455 fi
30456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30457 $as_echo "$am_cv_func_iconv" >&6; }
30458 if test "$am_cv_func_iconv" = yes; then
30459
30460 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30461
30462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30463 $as_echo_n "checking if iconv needs const... " >&6; }
30464 if ${wx_cv_func_iconv_const+:} false; then :
30465 $as_echo_n "(cached) " >&6
30466 else
30467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30468 /* end confdefs.h. */
30469
30470 #include <stdlib.h>
30471 #include <iconv.h>
30472 extern
30473 #ifdef __cplusplus
30474 "C"
30475 #endif
30476 #if defined(__STDC__) || defined(__cplusplus)
30477 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30478 #else
30479 size_t iconv();
30480 #endif
30481
30482 int
30483 main ()
30484 {
30485
30486 ;
30487 return 0;
30488 }
30489 _ACEOF
30490 if ac_fn_c_try_compile "$LINENO"; then :
30491 wx_cv_func_iconv_const="no"
30492 else
30493 wx_cv_func_iconv_const="yes"
30494
30495 fi
30496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30497
30498 fi
30499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30500 $as_echo "$wx_cv_func_iconv_const" >&6; }
30501
30502 iconv_const=
30503 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30504 iconv_const="const"
30505 fi
30506
30507
30508 cat >>confdefs.h <<_ACEOF
30509 #define ICONV_CONST $iconv_const
30510 _ACEOF
30511
30512 fi
30513 LIBICONV=
30514 if test "$am_cv_lib_iconv" = yes; then
30515 LIBICONV="-liconv"
30516 fi
30517
30518
30519 LIBS="$LIBICONV $LIBS"
30520 fi
30521
30522 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30523 for ac_func in sigaction
30524 do :
30525 ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
30526 if test "x$ac_cv_func_sigaction" = xyes; then :
30527 cat >>confdefs.h <<_ACEOF
30528 #define HAVE_SIGACTION 1
30529 _ACEOF
30530
30531 fi
30532 done
30533
30534
30535 if test "$ac_cv_func_sigaction" = "no"; then
30536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30537 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30538 wxUSE_ON_FATAL_EXCEPTION=no
30539 fi
30540
30541 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30543 $as_echo_n "checking for sa_handler type... " >&6; }
30544 if ${wx_cv_type_sa_handler+:} false; then :
30545 $as_echo_n "(cached) " >&6
30546 else
30547
30548 ac_ext=cpp
30549 ac_cpp='$CXXCPP $CPPFLAGS'
30550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30553
30554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30555 /* end confdefs.h. */
30556 #include <signal.h>
30557 int
30558 main ()
30559 {
30560
30561 extern void testSigHandler(int);
30562
30563 struct sigaction sa;
30564 sa.sa_handler = testSigHandler;
30565
30566 ;
30567 return 0;
30568 }
30569 _ACEOF
30570 if ac_fn_cxx_try_compile "$LINENO"; then :
30571
30572 wx_cv_type_sa_handler=int
30573
30574 else
30575
30576 wx_cv_type_sa_handler=void
30577
30578 fi
30579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30580 ac_ext=c
30581 ac_cpp='$CPP $CPPFLAGS'
30582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30585
30586
30587 fi
30588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30589 $as_echo "$wx_cv_type_sa_handler" >&6; }
30590
30591 cat >>confdefs.h <<_ACEOF
30592 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30593 _ACEOF
30594
30595 fi
30596 fi
30597
30598 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30600 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30601 if ${wx_cv_func_backtrace+:} false; then :
30602 $as_echo_n "(cached) " >&6
30603 else
30604
30605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
30606 $as_echo_n "checking for library containing backtrace... " >&6; }
30607 if ${ac_cv_search_backtrace+:} false; then :
30608 $as_echo_n "(cached) " >&6
30609 else
30610 ac_func_search_save_LIBS=$LIBS
30611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30612 /* end confdefs.h. */
30613
30614 /* Override any GCC internal prototype to avoid an error.
30615 Use char because int might match the return type of a GCC
30616 builtin and then its argument prototype would still apply. */
30617 #ifdef __cplusplus
30618 extern "C"
30619 #endif
30620 char backtrace ();
30621 int
30622 main ()
30623 {
30624 return backtrace ();
30625 ;
30626 return 0;
30627 }
30628 _ACEOF
30629 for ac_lib in '' execinfo; do
30630 if test -z "$ac_lib"; then
30631 ac_res="none required"
30632 else
30633 ac_res=-l$ac_lib
30634 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
30635 fi
30636 if ac_fn_c_try_link "$LINENO"; then :
30637 ac_cv_search_backtrace=$ac_res
30638 fi
30639 rm -f core conftest.err conftest.$ac_objext \
30640 conftest$ac_exeext
30641 if ${ac_cv_search_backtrace+:} false; then :
30642 break
30643 fi
30644 done
30645 if ${ac_cv_search_backtrace+:} false; then :
30646
30647 else
30648 ac_cv_search_backtrace=no
30649 fi
30650 rm conftest.$ac_ext
30651 LIBS=$ac_func_search_save_LIBS
30652 fi
30653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
30654 $as_echo "$ac_cv_search_backtrace" >&6; }
30655 ac_res=$ac_cv_search_backtrace
30656 if test "$ac_res" != no; then :
30657 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
30658
30659 ac_ext=cpp
30660 ac_cpp='$CXXCPP $CPPFLAGS'
30661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30664
30665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30666 /* end confdefs.h. */
30667 #include <execinfo.h>
30668 int
30669 main ()
30670 {
30671
30672 void *trace[1];
30673 char **messages;
30674 backtrace(trace, 1);
30675 messages = backtrace_symbols(trace, 1);
30676
30677 ;
30678 return 0;
30679 }
30680 _ACEOF
30681 if ac_fn_cxx_try_link "$LINENO"; then :
30682 wx_cv_func_backtrace=yes
30683 else
30684 wx_cv_func_backtrace=no
30685
30686 fi
30687 rm -f core conftest.err conftest.$ac_objext \
30688 conftest$ac_exeext conftest.$ac_ext
30689 ac_ext=c
30690 ac_cpp='$CPP $CPPFLAGS'
30691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30694
30695
30696 else
30697 wx_cv_func_backtrace=no
30698
30699 fi
30700
30701
30702
30703 fi
30704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30705 $as_echo "$wx_cv_func_backtrace" >&6; }
30706
30707 if test "$wx_cv_func_backtrace" = "no"; then
30708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30709 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30710 wxUSE_STACKWALKER=no
30711 else
30712 if test "$ac_cv_header_cxxabi_h" = "yes"; then
30713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30714 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30715 if ${wx_cv_func_cxa_demangle+:} false; then :
30716 $as_echo_n "(cached) " >&6
30717 else
30718
30719 ac_ext=cpp
30720 ac_cpp='$CXXCPP $CPPFLAGS'
30721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30724
30725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30726 /* end confdefs.h. */
30727 #include <cxxabi.h>
30728 int
30729 main ()
30730 {
30731
30732 int rc;
30733 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30734
30735 ;
30736 return 0;
30737 }
30738 _ACEOF
30739 if ac_fn_cxx_try_link "$LINENO"; then :
30740 wx_cv_func_cxa_demangle=yes
30741 else
30742 wx_cv_func_cxa_demangle=no
30743
30744 fi
30745 rm -f core conftest.err conftest.$ac_objext \
30746 conftest$ac_exeext conftest.$ac_ext
30747 ac_ext=c
30748 ac_cpp='$CPP $CPPFLAGS'
30749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30752
30753
30754
30755 fi
30756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30757 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30758 else
30759 wx_cv_func_cxa_demangle=no
30760 fi
30761
30762 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30763 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30764
30765 fi
30766 fi
30767 fi
30768
30769 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30771 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30772 wxUSE_STACKWALKER=no
30773 fi
30774
30775
30776 for ac_func in mkstemp mktemp
30777 do :
30778 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30779 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30780 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30781 cat >>confdefs.h <<_ACEOF
30782 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30783 _ACEOF
30784 break
30785 fi
30786 done
30787
30788
30789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30790 $as_echo_n "checking for statfs... " >&6; }
30791 if ${wx_cv_func_statfs+:} false; then :
30792 $as_echo_n "(cached) " >&6
30793 else
30794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30795 /* end confdefs.h. */
30796
30797 #if defined(__BSD__)
30798 #include <sys/param.h>
30799 #include <sys/mount.h>
30800 #else
30801 #include <sys/vfs.h>
30802 #endif
30803
30804 int
30805 main ()
30806 {
30807
30808 long l;
30809 struct statfs fs;
30810 statfs("/", &fs);
30811 l = fs.f_bsize;
30812 l += fs.f_blocks;
30813 l += fs.f_bavail;
30814
30815 ;
30816 return 0;
30817 }
30818 _ACEOF
30819 if ac_fn_c_try_compile "$LINENO"; then :
30820 wx_cv_func_statfs=yes
30821 else
30822 wx_cv_func_statfs=no
30823
30824 fi
30825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30826
30827 fi
30828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30829 $as_echo "$wx_cv_func_statfs" >&6; }
30830
30831 if test "$wx_cv_func_statfs" = "yes"; then
30832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30833 $as_echo_n "checking for statfs declaration... " >&6; }
30834 if ${wx_cv_func_statfs_decl+:} false; then :
30835 $as_echo_n "(cached) " >&6
30836 else
30837 ac_ext=cpp
30838 ac_cpp='$CXXCPP $CPPFLAGS'
30839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30842
30843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30844 /* end confdefs.h. */
30845
30846 #if defined(__BSD__)
30847 #include <sys/param.h>
30848 #include <sys/mount.h>
30849 #else
30850 #include <sys/vfs.h>
30851 #endif
30852
30853 int
30854 main ()
30855 {
30856
30857 struct statfs fs;
30858 statfs("", &fs);
30859
30860 ;
30861 return 0;
30862 }
30863 _ACEOF
30864 if ac_fn_cxx_try_compile "$LINENO"; then :
30865 wx_cv_func_statfs_decl=yes
30866 else
30867 wx_cv_func_statfs_decl=no
30868
30869 fi
30870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30871 ac_ext=c
30872 ac_cpp='$CPP $CPPFLAGS'
30873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30876
30877
30878 fi
30879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30880 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30881
30882 if test "$wx_cv_func_statfs_decl" = "yes"; then
30883 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30884
30885 fi
30886
30887 wx_cv_type_statvfs_t="struct statfs"
30888 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30889
30890 else
30891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30892 $as_echo_n "checking for statvfs... " >&6; }
30893 if ${wx_cv_func_statvfs+:} false; then :
30894 $as_echo_n "(cached) " >&6
30895 else
30896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30897 /* end confdefs.h. */
30898
30899 #include <stddef.h>
30900 #include <sys/statvfs.h>
30901
30902 int
30903 main ()
30904 {
30905
30906 statvfs("/", NULL);
30907
30908 ;
30909 return 0;
30910 }
30911 _ACEOF
30912 if ac_fn_c_try_compile "$LINENO"; then :
30913 wx_cv_func_statvfs=yes
30914 else
30915 wx_cv_func_statvfs=no
30916
30917 fi
30918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30919
30920 fi
30921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30922 $as_echo "$wx_cv_func_statvfs" >&6; }
30923
30924 if test "$wx_cv_func_statvfs" = "yes"; then
30925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30926 $as_echo_n "checking for statvfs argument type... " >&6; }
30927 if ${wx_cv_type_statvfs_t+:} false; then :
30928 $as_echo_n "(cached) " >&6
30929 else
30930 ac_ext=cpp
30931 ac_cpp='$CXXCPP $CPPFLAGS'
30932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30935
30936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30937 /* end confdefs.h. */
30938
30939 #include <sys/statvfs.h>
30940
30941 int
30942 main ()
30943 {
30944
30945 long l;
30946 statvfs_t fs;
30947 statvfs("/", &fs);
30948 l = fs.f_bsize;
30949 l += fs.f_blocks;
30950 l += fs.f_bavail;
30951
30952 ;
30953 return 0;
30954 }
30955 _ACEOF
30956 if ac_fn_cxx_try_compile "$LINENO"; then :
30957 wx_cv_type_statvfs_t=statvfs_t
30958 else
30959
30960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30961 /* end confdefs.h. */
30962
30963 #include <sys/statvfs.h>
30964
30965 int
30966 main ()
30967 {
30968
30969 long l;
30970 struct statvfs fs;
30971 statvfs("/", &fs);
30972 l = fs.f_bsize;
30973 l += fs.f_blocks;
30974 l += fs.f_bavail;
30975
30976 ;
30977 return 0;
30978 }
30979 _ACEOF
30980 if ac_fn_cxx_try_compile "$LINENO"; then :
30981 wx_cv_type_statvfs_t="struct statvfs"
30982 else
30983 wx_cv_type_statvfs_t="unknown"
30984
30985 fi
30986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30987
30988
30989 fi
30990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30991 ac_ext=c
30992 ac_cpp='$CPP $CPPFLAGS'
30993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30996
30997
30998 fi
30999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
31000 $as_echo "$wx_cv_type_statvfs_t" >&6; }
31001
31002 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31003 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
31004
31005 fi
31006 else
31007 wx_cv_type_statvfs_t="unknown"
31008 fi
31009 fi
31010
31011 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31012 cat >>confdefs.h <<_ACEOF
31013 #define WX_STATFS_T $wx_cv_type_statvfs_t
31014 _ACEOF
31015
31016 else
31017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31018 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31019 fi
31020
31021 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31022 for ac_func in fcntl flock
31023 do :
31024 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31025 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31026 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31027 cat >>confdefs.h <<_ACEOF
31028 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31029 _ACEOF
31030 break
31031 fi
31032 done
31033
31034
31035 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
31037 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31038 wxUSE_SNGLINST_CHECKER=no
31039 fi
31040 fi
31041
31042 for ac_func in setenv putenv
31043 do :
31044 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31045 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31046 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31047 cat >>confdefs.h <<_ACEOF
31048 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31049 _ACEOF
31050 break
31051 fi
31052 done
31053
31054 if test "$ac_cv_func_setenv" = "yes"; then
31055 for ac_func in unsetenv
31056 do :
31057 ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
31058 if test "x$ac_cv_func_unsetenv" = xyes; then :
31059 cat >>confdefs.h <<_ACEOF
31060 #define HAVE_UNSETENV 1
31061 _ACEOF
31062
31063 fi
31064 done
31065
31066 fi
31067
31068 HAVE_SOME_SLEEP_FUNC=0
31069 if test "$USE_BEOS" = 1; then
31070 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
31071
31072 HAVE_SOME_SLEEP_FUNC=1
31073 fi
31074
31075 if test "$USE_DARWIN" = 1; then
31076 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
31077
31078 HAVE_SOME_SLEEP_FUNC=1
31079 fi
31080
31081 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31082 POSIX4_LINK=
31083 for ac_func in nanosleep
31084 do :
31085 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
31086 if test "x$ac_cv_func_nanosleep" = xyes; then :
31087 cat >>confdefs.h <<_ACEOF
31088 #define HAVE_NANOSLEEP 1
31089 _ACEOF
31090 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31091
31092 else
31093
31094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
31095 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
31096 if ${ac_cv_lib_posix4_nanosleep+:} false; then :
31097 $as_echo_n "(cached) " >&6
31098 else
31099 ac_check_lib_save_LIBS=$LIBS
31100 LIBS="-lposix4 $LIBS"
31101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31102 /* end confdefs.h. */
31103
31104 /* Override any GCC internal prototype to avoid an error.
31105 Use char because int might match the return type of a GCC
31106 builtin and then its argument prototype would still apply. */
31107 #ifdef __cplusplus
31108 extern "C"
31109 #endif
31110 char nanosleep ();
31111 int
31112 main ()
31113 {
31114 return nanosleep ();
31115 ;
31116 return 0;
31117 }
31118 _ACEOF
31119 if ac_fn_c_try_link "$LINENO"; then :
31120 ac_cv_lib_posix4_nanosleep=yes
31121 else
31122 ac_cv_lib_posix4_nanosleep=no
31123 fi
31124 rm -f core conftest.err conftest.$ac_objext \
31125 conftest$ac_exeext conftest.$ac_ext
31126 LIBS=$ac_check_lib_save_LIBS
31127 fi
31128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
31129 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
31130 if test "x$ac_cv_lib_posix4_nanosleep" = xyes; then :
31131
31132 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31133
31134 POSIX4_LINK=" -lposix4"
31135
31136 else
31137
31138
31139 for wx_func in usleep
31140 do
31141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31142 $as_echo_n "checking for $wx_func... " >&6; }
31143 if eval \${wx_cv_func_$wx_func+:} false; then :
31144 $as_echo_n "(cached) " >&6
31145 else
31146
31147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31148 /* end confdefs.h. */
31149
31150
31151
31152 $ac_includes_default
31153
31154 int
31155 main ()
31156 {
31157
31158 #ifndef $wx_func
31159 &$wx_func;
31160 #endif
31161
31162
31163 ;
31164 return 0;
31165 }
31166
31167 _ACEOF
31168 if ac_fn_c_try_link "$LINENO"; then :
31169 eval wx_cv_func_$wx_func=yes
31170 else
31171 eval wx_cv_func_$wx_func=no
31172 fi
31173 rm -f core conftest.err conftest.$ac_objext \
31174 conftest$ac_exeext conftest.$ac_ext
31175
31176 fi
31177 eval ac_res=\$wx_cv_func_$wx_func
31178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31179 $as_echo "$ac_res" >&6; }
31180
31181 if eval test \$wx_cv_func_$wx_func = yes
31182 then
31183 cat >>confdefs.h <<_ACEOF
31184 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31185 _ACEOF
31186
31187
31188 else
31189 :
31190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
31191 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31192
31193 fi
31194 done
31195
31196
31197
31198 fi
31199
31200
31201
31202 fi
31203 done
31204
31205 fi
31206
31207
31208 for wx_func in uname
31209 do
31210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31211 $as_echo_n "checking for $wx_func... " >&6; }
31212 if eval \${wx_cv_func_$wx_func+:} false; then :
31213 $as_echo_n "(cached) " >&6
31214 else
31215
31216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31217 /* end confdefs.h. */
31218
31219
31220 #include <sys/utsname.h>
31221 $ac_includes_default
31222
31223 int
31224 main ()
31225 {
31226
31227 #ifndef $wx_func
31228 &$wx_func;
31229 #endif
31230
31231
31232 ;
31233 return 0;
31234 }
31235
31236 _ACEOF
31237 if ac_fn_c_try_link "$LINENO"; then :
31238 eval wx_cv_func_$wx_func=yes
31239 else
31240 eval wx_cv_func_$wx_func=no
31241 fi
31242 rm -f core conftest.err conftest.$ac_objext \
31243 conftest$ac_exeext conftest.$ac_ext
31244
31245 fi
31246 eval ac_res=\$wx_cv_func_$wx_func
31247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31248 $as_echo "$ac_res" >&6; }
31249
31250 if eval test \$wx_cv_func_$wx_func = yes
31251 then
31252 cat >>confdefs.h <<_ACEOF
31253 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31254 _ACEOF
31255
31256
31257 else
31258 :
31259
31260 fi
31261 done
31262
31263 if test "$wx_cv_func_uname" != yes; then
31264
31265 for wx_func in gethostname
31266 do
31267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31268 $as_echo_n "checking for $wx_func... " >&6; }
31269 if eval \${wx_cv_func_$wx_func+:} false; then :
31270 $as_echo_n "(cached) " >&6
31271 else
31272
31273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31274 /* end confdefs.h. */
31275
31276
31277
31278 $ac_includes_default
31279
31280 int
31281 main ()
31282 {
31283
31284 #ifndef $wx_func
31285 &$wx_func;
31286 #endif
31287
31288
31289 ;
31290 return 0;
31291 }
31292
31293 _ACEOF
31294 if ac_fn_c_try_link "$LINENO"; then :
31295 eval wx_cv_func_$wx_func=yes
31296 else
31297 eval wx_cv_func_$wx_func=no
31298 fi
31299 rm -f core conftest.err conftest.$ac_objext \
31300 conftest$ac_exeext conftest.$ac_ext
31301
31302 fi
31303 eval ac_res=\$wx_cv_func_$wx_func
31304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31305 $as_echo "$ac_res" >&6; }
31306
31307 if eval test \$wx_cv_func_$wx_func = yes
31308 then
31309 cat >>confdefs.h <<_ACEOF
31310 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31311 _ACEOF
31312
31313
31314 else
31315 :
31316
31317 fi
31318 done
31319
31320 fi
31321
31322
31323 for wx_func in strtok_r
31324 do
31325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31326 $as_echo_n "checking for $wx_func... " >&6; }
31327 if eval \${wx_cv_func_$wx_func+:} false; then :
31328 $as_echo_n "(cached) " >&6
31329 else
31330
31331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31332 /* end confdefs.h. */
31333
31334
31335 #define _REENTRANT
31336 $ac_includes_default
31337
31338 int
31339 main ()
31340 {
31341
31342 #ifndef $wx_func
31343 &$wx_func;
31344 #endif
31345
31346
31347 ;
31348 return 0;
31349 }
31350
31351 _ACEOF
31352 if ac_fn_c_try_link "$LINENO"; then :
31353 eval wx_cv_func_$wx_func=yes
31354 else
31355 eval wx_cv_func_$wx_func=no
31356 fi
31357 rm -f core conftest.err conftest.$ac_objext \
31358 conftest$ac_exeext conftest.$ac_ext
31359
31360 fi
31361 eval ac_res=\$wx_cv_func_$wx_func
31362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31363 $as_echo "$ac_res" >&6; }
31364
31365 if eval test \$wx_cv_func_$wx_func = yes
31366 then
31367 cat >>confdefs.h <<_ACEOF
31368 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31369 _ACEOF
31370
31371
31372 else
31373 :
31374
31375 fi
31376 done
31377
31378
31379 INET_LINK=
31380 for ac_func in inet_addr
31381 do :
31382 ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31383 if test "x$ac_cv_func_inet_addr" = xyes; then :
31384 cat >>confdefs.h <<_ACEOF
31385 #define HAVE_INET_ADDR 1
31386 _ACEOF
31387 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31388
31389 else
31390
31391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31392 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31393 if ${ac_cv_lib_nsl_inet_addr+:} false; then :
31394 $as_echo_n "(cached) " >&6
31395 else
31396 ac_check_lib_save_LIBS=$LIBS
31397 LIBS="-lnsl $LIBS"
31398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31399 /* end confdefs.h. */
31400
31401 /* Override any GCC internal prototype to avoid an error.
31402 Use char because int might match the return type of a GCC
31403 builtin and then its argument prototype would still apply. */
31404 #ifdef __cplusplus
31405 extern "C"
31406 #endif
31407 char inet_addr ();
31408 int
31409 main ()
31410 {
31411 return inet_addr ();
31412 ;
31413 return 0;
31414 }
31415 _ACEOF
31416 if ac_fn_c_try_link "$LINENO"; then :
31417 ac_cv_lib_nsl_inet_addr=yes
31418 else
31419 ac_cv_lib_nsl_inet_addr=no
31420 fi
31421 rm -f core conftest.err conftest.$ac_objext \
31422 conftest$ac_exeext conftest.$ac_ext
31423 LIBS=$ac_check_lib_save_LIBS
31424 fi
31425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31426 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31427 if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
31428 INET_LINK="nsl"
31429 else
31430
31431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31432 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31433 if ${ac_cv_lib_resolv_inet_addr+:} false; then :
31434 $as_echo_n "(cached) " >&6
31435 else
31436 ac_check_lib_save_LIBS=$LIBS
31437 LIBS="-lresolv $LIBS"
31438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31439 /* end confdefs.h. */
31440
31441 /* Override any GCC internal prototype to avoid an error.
31442 Use char because int might match the return type of a GCC
31443 builtin and then its argument prototype would still apply. */
31444 #ifdef __cplusplus
31445 extern "C"
31446 #endif
31447 char inet_addr ();
31448 int
31449 main ()
31450 {
31451 return inet_addr ();
31452 ;
31453 return 0;
31454 }
31455 _ACEOF
31456 if ac_fn_c_try_link "$LINENO"; then :
31457 ac_cv_lib_resolv_inet_addr=yes
31458 else
31459 ac_cv_lib_resolv_inet_addr=no
31460 fi
31461 rm -f core conftest.err conftest.$ac_objext \
31462 conftest$ac_exeext conftest.$ac_ext
31463 LIBS=$ac_check_lib_save_LIBS
31464 fi
31465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31466 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31467 if test "x$ac_cv_lib_resolv_inet_addr" = xyes; then :
31468 INET_LINK="resolv"
31469 else
31470
31471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31472 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31473 if ${ac_cv_lib_socket_inet_addr+:} false; then :
31474 $as_echo_n "(cached) " >&6
31475 else
31476 ac_check_lib_save_LIBS=$LIBS
31477 LIBS="-lsocket $LIBS"
31478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31479 /* end confdefs.h. */
31480
31481 /* Override any GCC internal prototype to avoid an error.
31482 Use char because int might match the return type of a GCC
31483 builtin and then its argument prototype would still apply. */
31484 #ifdef __cplusplus
31485 extern "C"
31486 #endif
31487 char inet_addr ();
31488 int
31489 main ()
31490 {
31491 return inet_addr ();
31492 ;
31493 return 0;
31494 }
31495 _ACEOF
31496 if ac_fn_c_try_link "$LINENO"; then :
31497 ac_cv_lib_socket_inet_addr=yes
31498 else
31499 ac_cv_lib_socket_inet_addr=no
31500 fi
31501 rm -f core conftest.err conftest.$ac_objext \
31502 conftest$ac_exeext conftest.$ac_ext
31503 LIBS=$ac_check_lib_save_LIBS
31504 fi
31505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31506 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31507 if test "x$ac_cv_lib_socket_inet_addr" = xyes; then :
31508 INET_LINK="socket"
31509
31510 fi
31511
31512
31513
31514 fi
31515
31516
31517
31518 fi
31519
31520
31521
31522 fi
31523 done
31524
31525
31526 for ac_func in inet_aton
31527 do :
31528 ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31529 if test "x$ac_cv_func_inet_aton" = xyes; then :
31530 cat >>confdefs.h <<_ACEOF
31531 #define HAVE_INET_ATON 1
31532 _ACEOF
31533 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31534
31535 else
31536
31537 as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31539 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31540 if eval \${$as_ac_Lib+:} false; then :
31541 $as_echo_n "(cached) " >&6
31542 else
31543 ac_check_lib_save_LIBS=$LIBS
31544 LIBS="-l$INET_LINK $LIBS"
31545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31546 /* end confdefs.h. */
31547
31548 /* Override any GCC internal prototype to avoid an error.
31549 Use char because int might match the return type of a GCC
31550 builtin and then its argument prototype would still apply. */
31551 #ifdef __cplusplus
31552 extern "C"
31553 #endif
31554 char inet_aton ();
31555 int
31556 main ()
31557 {
31558 return inet_aton ();
31559 ;
31560 return 0;
31561 }
31562 _ACEOF
31563 if ac_fn_c_try_link "$LINENO"; then :
31564 eval "$as_ac_Lib=yes"
31565 else
31566 eval "$as_ac_Lib=no"
31567 fi
31568 rm -f core conftest.err conftest.$ac_objext \
31569 conftest$ac_exeext conftest.$ac_ext
31570 LIBS=$ac_check_lib_save_LIBS
31571 fi
31572 eval ac_res=\$$as_ac_Lib
31573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31574 $as_echo "$ac_res" >&6; }
31575 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
31576 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31577
31578 fi
31579
31580
31581 fi
31582 done
31583
31584
31585 if test "x$INET_LINK" != "x"; then
31586 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31587
31588 INET_LINK=" -l$INET_LINK"
31589 fi
31590
31591
31592 for wx_func in fdopen
31593 do
31594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31595 $as_echo_n "checking for $wx_func... " >&6; }
31596 if eval \${wx_cv_func_$wx_func+:} false; then :
31597 $as_echo_n "(cached) " >&6
31598 else
31599
31600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31601 /* end confdefs.h. */
31602
31603
31604
31605 $ac_includes_default
31606
31607 int
31608 main ()
31609 {
31610
31611 #ifndef $wx_func
31612 &$wx_func;
31613 #endif
31614
31615
31616 ;
31617 return 0;
31618 }
31619
31620 _ACEOF
31621 if ac_fn_c_try_link "$LINENO"; then :
31622 eval wx_cv_func_$wx_func=yes
31623 else
31624 eval wx_cv_func_$wx_func=no
31625 fi
31626 rm -f core conftest.err conftest.$ac_objext \
31627 conftest$ac_exeext conftest.$ac_ext
31628
31629 fi
31630 eval ac_res=\$wx_cv_func_$wx_func
31631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31632 $as_echo "$ac_res" >&6; }
31633
31634 if eval test \$wx_cv_func_$wx_func = yes
31635 then
31636 cat >>confdefs.h <<_ACEOF
31637 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31638 _ACEOF
31639
31640
31641 else
31642 :
31643
31644 fi
31645 done
31646
31647
31648 if test "$wxUSE_TARSTREAM" = "yes"; then
31649
31650 for wx_func in sysconf
31651 do
31652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31653 $as_echo_n "checking for $wx_func... " >&6; }
31654 if eval \${wx_cv_func_$wx_func+:} false; then :
31655 $as_echo_n "(cached) " >&6
31656 else
31657
31658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31659 /* end confdefs.h. */
31660
31661
31662
31663 $ac_includes_default
31664
31665 int
31666 main ()
31667 {
31668
31669 #ifndef $wx_func
31670 &$wx_func;
31671 #endif
31672
31673
31674 ;
31675 return 0;
31676 }
31677
31678 _ACEOF
31679 if ac_fn_c_try_link "$LINENO"; then :
31680 eval wx_cv_func_$wx_func=yes
31681 else
31682 eval wx_cv_func_$wx_func=no
31683 fi
31684 rm -f core conftest.err conftest.$ac_objext \
31685 conftest$ac_exeext conftest.$ac_ext
31686
31687 fi
31688 eval ac_res=\$wx_cv_func_$wx_func
31689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31690 $as_echo "$ac_res" >&6; }
31691
31692 if eval test \$wx_cv_func_$wx_func = yes
31693 then
31694 cat >>confdefs.h <<_ACEOF
31695 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31696 _ACEOF
31697
31698
31699 else
31700 :
31701
31702 fi
31703 done
31704
31705
31706
31707 for wx_func in getpwuid_r
31708 do
31709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31710 $as_echo_n "checking for $wx_func... " >&6; }
31711 if eval \${wx_cv_func_$wx_func+:} false; then :
31712 $as_echo_n "(cached) " >&6
31713 else
31714
31715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31716 /* end confdefs.h. */
31717
31718
31719
31720 #define _REENTRANT
31721 #include <pwd.h>
31722
31723 $ac_includes_default
31724
31725 int
31726 main ()
31727 {
31728
31729 #ifndef $wx_func
31730 &$wx_func;
31731 #endif
31732
31733 struct passwd pw, *ppw;
31734 char buf[1024];
31735 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31736
31737
31738 ;
31739 return 0;
31740 }
31741
31742 _ACEOF
31743 if ac_fn_c_try_link "$LINENO"; then :
31744 eval wx_cv_func_$wx_func=yes
31745 else
31746 eval wx_cv_func_$wx_func=no
31747 fi
31748 rm -f core conftest.err conftest.$ac_objext \
31749 conftest$ac_exeext conftest.$ac_ext
31750
31751 fi
31752 eval ac_res=\$wx_cv_func_$wx_func
31753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31754 $as_echo "$ac_res" >&6; }
31755
31756 if eval test \$wx_cv_func_$wx_func = yes
31757 then
31758 cat >>confdefs.h <<_ACEOF
31759 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31760 _ACEOF
31761
31762
31763 else
31764 :
31765
31766 fi
31767 done
31768
31769
31770
31771 for wx_func in getgrgid_r
31772 do
31773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31774 $as_echo_n "checking for $wx_func... " >&6; }
31775 if eval \${wx_cv_func_$wx_func+:} false; then :
31776 $as_echo_n "(cached) " >&6
31777 else
31778
31779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31780 /* end confdefs.h. */
31781
31782
31783
31784 #define _REENTRANT
31785 #include <grp.h>
31786
31787 $ac_includes_default
31788
31789 int
31790 main ()
31791 {
31792
31793 #ifndef $wx_func
31794 &$wx_func;
31795 #endif
31796
31797 struct group grp, *pgrp;
31798 char buf[1024];
31799 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31800
31801
31802 ;
31803 return 0;
31804 }
31805
31806 _ACEOF
31807 if ac_fn_c_try_link "$LINENO"; then :
31808 eval wx_cv_func_$wx_func=yes
31809 else
31810 eval wx_cv_func_$wx_func=no
31811 fi
31812 rm -f core conftest.err conftest.$ac_objext \
31813 conftest$ac_exeext conftest.$ac_ext
31814
31815 fi
31816 eval ac_res=\$wx_cv_func_$wx_func
31817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31818 $as_echo "$ac_res" >&6; }
31819
31820 if eval test \$wx_cv_func_$wx_func = yes
31821 then
31822 cat >>confdefs.h <<_ACEOF
31823 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31824 _ACEOF
31825
31826
31827 else
31828 :
31829
31830 fi
31831 done
31832
31833 fi
31834
31835 fi
31836
31837
31838
31839 cat >confcache <<\_ACEOF
31840 # This file is a shell script that caches the results of configure
31841 # tests run on this system so they can be shared between configure
31842 # scripts and configure runs, see configure's option --config-cache.
31843 # It is not useful on other systems. If it contains results you don't
31844 # want to keep, you may remove or edit it.
31845 #
31846 # config.status only pays attention to the cache file if you give it
31847 # the --recheck option to rerun configure.
31848 #
31849 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31850 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31851 # following values.
31852
31853 _ACEOF
31854
31855 # The following way of writing the cache mishandles newlines in values,
31856 # but we know of no workaround that is simple, portable, and efficient.
31857 # So, we kill variables containing newlines.
31858 # Ultrix sh set writes to stderr and can't be redirected directly,
31859 # and sets the high bit in the cache file unless we assign to the vars.
31860 (
31861 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31862 eval ac_val=\$$ac_var
31863 case $ac_val in #(
31864 *${as_nl}*)
31865 case $ac_var in #(
31866 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31867 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31868 esac
31869 case $ac_var in #(
31870 _ | IFS | as_nl) ;; #(
31871 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31872 *) { eval $ac_var=; unset $ac_var;} ;;
31873 esac ;;
31874 esac
31875 done
31876
31877 (set) 2>&1 |
31878 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31879 *${as_nl}ac_space=\ *)
31880 # `set' does not quote correctly, so add quotes: double-quote
31881 # substitution turns \\\\ into \\, and sed turns \\ into \.
31882 sed -n \
31883 "s/'/'\\\\''/g;
31884 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31885 ;; #(
31886 *)
31887 # `set' quotes correctly as required by POSIX, so do not add quotes.
31888 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31889 ;;
31890 esac |
31891 sort
31892 ) |
31893 sed '
31894 /^ac_cv_env_/b end
31895 t clear
31896 :clear
31897 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31898 t end
31899 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31900 :end' >>confcache
31901 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31902 if test -w "$cache_file"; then
31903 if test "x$cache_file" != "x/dev/null"; then
31904 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31905 $as_echo "$as_me: updating cache $cache_file" >&6;}
31906 if test ! -f "$cache_file" || test -h "$cache_file"; then
31907 cat confcache >"$cache_file"
31908 else
31909 case $cache_file in #(
31910 */* | ?:*)
31911 mv -f confcache "$cache_file"$$ &&
31912 mv -f "$cache_file"$$ "$cache_file" ;; #(
31913 *)
31914 mv -f confcache "$cache_file" ;;
31915 esac
31916 fi
31917 fi
31918 else
31919 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31920 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31921 fi
31922 fi
31923 rm -f confcache
31924
31925
31926 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31927
31928
31929 THREADS_LINK=
31930 THREADS_CFLAGS=
31931
31932 if test "$wxUSE_THREADS" = "yes" ; then
31933 if test "$USE_BEOS" = 1; then
31934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31935 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31936 wxUSE_THREADS="no"
31937 fi
31938 fi
31939
31940 if test "$wxUSE_THREADS" = "yes" ; then
31941
31942
31943 THREAD_OPTS="-pthread"
31944 if test "x$SUNCXX" = xyes; then
31945 THREAD_OPTS="-mt lthread $THREAD_OPTS"
31946 fi
31947
31948 case "${host}" in
31949 *-*-solaris2* | *-*-sunos4* )
31950 if test "x$GCC" = "xyes"; then
31951 THREAD_OPTS="-pthreads $THREAD_OPTS"
31952 fi
31953 ;;
31954 *-*-freebsd*)
31955 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31956 ;;
31957 *-*-darwin* | *-*-cygwin* )
31958 THREAD_OPTS=""
31959 ;;
31960 *-*-aix*)
31961 THREAD_OPTS="pthreads"
31962 ;;
31963 *-hp-hpux* )
31964 if test "x$GCC" = "xyes"; then
31965 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
31966 THREAD_OPTS=""
31967 else
31968 THREAD_OPTS="-mt"
31969 fi
31970 ;;
31971
31972 *-*-irix* )
31973 if test "x$GCC" = "xyes"; then
31974 THREAD_OPTS=""
31975 fi
31976 ;;
31977
31978 *-*-qnx*)
31979 THREAD_OPTS=""
31980 ;;
31981
31982 *-*-*UnixWare*)
31983 if test "x$GCC" != "xyes"; then
31984 THREAD_OPTS="-Ethread"
31985 fi
31986 ;;
31987 esac
31988
31989 case "${host}" in
31990 *-*-qnx*)
31991 THREAD_OPTS="none pthread"
31992 ;;
31993
31994 *)
31995 THREAD_OPTS="$THREAD_OPTS pthread none"
31996 ;;
31997 esac
31998
31999 THREADS_OK=no
32000 for flag in $THREAD_OPTS; do
32001 case $flag in
32002 none)
32003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
32004 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
32005 ;;
32006
32007 -*)
32008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
32009 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
32010 THREADS_CFLAGS="$flag"
32011 ;;
32012
32013 *)
32014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
32015 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
32016 THREADS_LINK="-l$flag"
32017 ;;
32018 esac
32019
32020 save_LIBS="$LIBS"
32021 save_CFLAGS="$CFLAGS"
32022 LIBS="$THREADS_LINK $LIBS"
32023 CFLAGS="$THREADS_CFLAGS $CFLAGS"
32024
32025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32026 /* end confdefs.h. */
32027 #include <pthread.h>
32028 int
32029 main ()
32030 {
32031 pthread_create(0,0,0,0);
32032 ;
32033 return 0;
32034 }
32035 _ACEOF
32036 if ac_fn_c_try_link "$LINENO"; then :
32037 THREADS_OK=yes
32038 fi
32039 rm -f core conftest.err conftest.$ac_objext \
32040 conftest$ac_exeext conftest.$ac_ext
32041
32042 LIBS="$save_LIBS"
32043 CFLAGS="$save_CFLAGS"
32044
32045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
32046 $as_echo "$THREADS_OK" >&6; }
32047 if test "x$THREADS_OK" = "xyes"; then
32048 break;
32049 fi
32050
32051 THREADS_LINK=""
32052 THREADS_CFLAGS=""
32053 done
32054
32055 if test "x$THREADS_OK" != "xyes"; then
32056 wxUSE_THREADS=no
32057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
32058 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32059 else
32060 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
32061 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
32062 LIBS="$THREADS_LINK $LIBS"
32063
32064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
32065 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
32066 flag=no
32067 case "${host}" in
32068 *-aix*)
32069 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
32070 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
32071 flag="-D_THREAD_SAFE"
32072 ;;
32073 *-freebsd*)
32074 flag="-D_THREAD_SAFE"
32075 ;;
32076 *-hp-hpux* )
32077 flag="-D_REENTRANT"
32078 if test "x$GCC" != "xyes"; then
32079 flag="$flag -D_RWSTD_MULTI_THREAD"
32080 fi
32081 ;;
32082 *solaris* | alpha*-osf*)
32083 flag="-D_REENTRANT"
32084 ;;
32085 esac
32086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
32087 $as_echo "${flag}" >&6; }
32088 if test "x$flag" != xno; then
32089 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
32090 fi
32091
32092 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
32093 fi
32094 fi
32095
32096 if test "$wxUSE_THREADS" = "yes" ; then
32097 for ac_func in pthread_setconcurrency
32098 do :
32099 ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
32100 if test "x$ac_cv_func_pthread_setconcurrency" = xyes; then :
32101 cat >>confdefs.h <<_ACEOF
32102 #define HAVE_PTHREAD_SETCONCURRENCY 1
32103 _ACEOF
32104 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
32105
32106 else
32107
32108 for ac_func in thr_setconcurrency
32109 do :
32110 ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
32111 if test "x$ac_cv_func_thr_setconcurrency" = xyes; then :
32112 cat >>confdefs.h <<_ACEOF
32113 #define HAVE_THR_SETCONCURRENCY 1
32114 _ACEOF
32115 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
32116
32117 else
32118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
32119 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
32120 fi
32121 done
32122
32123
32124 fi
32125 done
32126
32127
32128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
32129 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
32130 if ${wx_cv_func_pthread_cleanup+:} false; then :
32131 $as_echo_n "(cached) " >&6
32132 else
32133
32134 ac_ext=cpp
32135 ac_cpp='$CXXCPP $CPPFLAGS'
32136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32139
32140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32141 /* end confdefs.h. */
32142 #include <pthread.h>
32143 void ThreadCleanupFunc(void *p);
32144
32145 int
32146 main ()
32147 {
32148
32149 void *p;
32150 pthread_cleanup_push(ThreadCleanupFunc, p);
32151 pthread_cleanup_pop(0);
32152
32153 ;
32154 return 0;
32155 }
32156 _ACEOF
32157 if ac_fn_cxx_try_compile "$LINENO"; then :
32158
32159 wx_cv_func_pthread_cleanup=yes
32160
32161 else
32162
32163 wx_cv_func_pthread_cleanup=no
32164
32165
32166 fi
32167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32168 ac_ext=c
32169 ac_cpp='$CPP $CPPFLAGS'
32170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32173
32174
32175 fi
32176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
32177 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
32178 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
32179 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
32180
32181 fi
32182
32183 for ac_header in sched.h
32184 do :
32185 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
32186 "
32187 if test "x$ac_cv_header_sched_h" = xyes; then :
32188 cat >>confdefs.h <<_ACEOF
32189 #define HAVE_SCHED_H 1
32190 _ACEOF
32191
32192 fi
32193
32194 done
32195
32196 if test "$ac_cv_header_sched_h" = "yes"; then
32197 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
32198 if test "x$ac_cv_func_sched_yield" = xyes; then :
32199 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32200
32201 else
32202
32203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
32204 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
32205 if ${ac_cv_lib_posix4_sched_yield+:} false; then :
32206 $as_echo_n "(cached) " >&6
32207 else
32208 ac_check_lib_save_LIBS=$LIBS
32209 LIBS="-lposix4 $LIBS"
32210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32211 /* end confdefs.h. */
32212
32213 /* Override any GCC internal prototype to avoid an error.
32214 Use char because int might match the return type of a GCC
32215 builtin and then its argument prototype would still apply. */
32216 #ifdef __cplusplus
32217 extern "C"
32218 #endif
32219 char sched_yield ();
32220 int
32221 main ()
32222 {
32223 return sched_yield ();
32224 ;
32225 return 0;
32226 }
32227 _ACEOF
32228 if ac_fn_c_try_link "$LINENO"; then :
32229 ac_cv_lib_posix4_sched_yield=yes
32230 else
32231 ac_cv_lib_posix4_sched_yield=no
32232 fi
32233 rm -f core conftest.err conftest.$ac_objext \
32234 conftest$ac_exeext conftest.$ac_ext
32235 LIBS=$ac_check_lib_save_LIBS
32236 fi
32237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
32238 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
32239 if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then :
32240 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32241 POSIX4_LINK=" -lposix4"
32242 else
32243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
32244 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32245
32246 fi
32247
32248
32249
32250 fi
32251
32252 fi
32253
32254 HAVE_PRIOR_FUNCS=0
32255 ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32256 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes; then :
32257 ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32258 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes; then :
32259 ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32260 if test "x$ac_cv_func_sched_get_priority_max" = xyes; then :
32261 HAVE_PRIOR_FUNCS=1
32262 else
32263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32264 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32265 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false; then :
32266 $as_echo_n "(cached) " >&6
32267 else
32268 ac_check_lib_save_LIBS=$LIBS
32269 LIBS="-lposix4 $LIBS"
32270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32271 /* end confdefs.h. */
32272
32273 /* Override any GCC internal prototype to avoid an error.
32274 Use char because int might match the return type of a GCC
32275 builtin and then its argument prototype would still apply. */
32276 #ifdef __cplusplus
32277 extern "C"
32278 #endif
32279 char sched_get_priority_max ();
32280 int
32281 main ()
32282 {
32283 return sched_get_priority_max ();
32284 ;
32285 return 0;
32286 }
32287 _ACEOF
32288 if ac_fn_c_try_link "$LINENO"; then :
32289 ac_cv_lib_posix4_sched_get_priority_max=yes
32290 else
32291 ac_cv_lib_posix4_sched_get_priority_max=no
32292 fi
32293 rm -f core conftest.err conftest.$ac_objext \
32294 conftest$ac_exeext conftest.$ac_ext
32295 LIBS=$ac_check_lib_save_LIBS
32296 fi
32297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32298 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32299 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes; then :
32300
32301 HAVE_PRIOR_FUNCS=1
32302 POSIX4_LINK=" -lposix4"
32303
32304 fi
32305
32306
32307 fi
32308
32309
32310 fi
32311
32312
32313 fi
32314
32315
32316 if test "$HAVE_PRIOR_FUNCS" = 1; then
32317 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32318
32319 else
32320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32321 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32322 fi
32323
32324 ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32325 if test "x$ac_cv_func_pthread_cancel" = xyes; then :
32326 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32327
32328 else
32329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32330 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32331 fi
32332
32333
32334 ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32335 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes; then :
32336 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32337
32338 else
32339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32340 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32341 fi
32342
32343
32344 ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32345 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes; then :
32346 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32347
32348 fi
32349
32350
32351
32352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32353 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32354 if ${wx_cv_type_pthread_mutexattr_t+:} false; then :
32355 $as_echo_n "(cached) " >&6
32356 else
32357
32358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32359 /* end confdefs.h. */
32360 #include <pthread.h>
32361 int
32362 main ()
32363 {
32364
32365 pthread_mutexattr_t attr;
32366 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32367
32368 ;
32369 return 0;
32370 }
32371 _ACEOF
32372 if ac_fn_c_try_compile "$LINENO"; then :
32373 wx_cv_type_pthread_mutexattr_t=yes
32374 else
32375 wx_cv_type_pthread_mutexattr_t=no
32376
32377 fi
32378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32379
32380 fi
32381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32382 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32383
32384 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32385 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32386
32387
32388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32389 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32390 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false; then :
32391 $as_echo_n "(cached) " >&6
32392 else
32393
32394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32395 /* end confdefs.h. */
32396 #include <pthread.h>
32397 int
32398 main ()
32399 {
32400
32401 pthread_mutexattr_t attr;
32402 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32403
32404 ;
32405 return 0;
32406 }
32407 _ACEOF
32408 if ac_fn_c_try_compile "$LINENO"; then :
32409 wx_cv_func_pthread_mutexattr_settype_decl=yes
32410 else
32411 wx_cv_func_pthread_mutexattr_settype_decl=no
32412
32413 fi
32414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32415
32416 fi
32417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32418 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32419 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32420 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32421
32422 fi
32423 else
32424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32425 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32426 if ${wx_cv_type_pthread_rec_mutex_init+:} false; then :
32427 $as_echo_n "(cached) " >&6
32428 else
32429
32430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32431 /* end confdefs.h. */
32432 #include <pthread.h>
32433 int
32434 main ()
32435 {
32436
32437 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32438
32439 ;
32440 return 0;
32441 }
32442 _ACEOF
32443 if ac_fn_c_try_compile "$LINENO"; then :
32444
32445 wx_cv_type_pthread_rec_mutex_init=yes
32446
32447 else
32448
32449 wx_cv_type_pthread_rec_mutex_init=no
32450
32451
32452 fi
32453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32454
32455 fi
32456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32457 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32458 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32459 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32460
32461 else
32462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32463 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32464 fi
32465 fi
32466
32467 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32468 if test "$USE_NETBSD" = 1; then
32469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32470 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32471 wxUSE_COMPILER_TLS=no
32472 else
32473 wxUSE_COMPILER_TLS=yes
32474 fi
32475 fi
32476
32477 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32479 $as_echo_n "checking for __thread keyword... " >&6; }
32480 if ${wx_cv_cc___thread+:} false; then :
32481 $as_echo_n "(cached) " >&6
32482 else
32483
32484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32485 /* end confdefs.h. */
32486 #include <pthread.h>
32487 int
32488 main ()
32489 {
32490
32491 static __thread int n = 0;
32492 static __thread int *p = 0;
32493
32494 ;
32495 return 0;
32496 }
32497 _ACEOF
32498 if ac_fn_c_try_compile "$LINENO"; then :
32499 wx_cv_cc___thread=yes
32500 else
32501 wx_cv_cc___thread=no
32502
32503 fi
32504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32505
32506
32507 fi
32508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32509 $as_echo "$wx_cv_cc___thread" >&6; }
32510
32511 if test "$wx_cv_cc___thread" = "yes"; then
32512
32513 GXX_VERSION=""
32514
32515
32516
32517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32518 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32519
32520 if test "x$GCC" = "xyes" ; then :
32521
32522 if test -z "" ; then :
32523
32524 ax_gcc_option_test="int main()
32525 {
32526 return 0;
32527 }"
32528
32529 else
32530
32531 ax_gcc_option_test=""
32532
32533 fi
32534
32535 # Dump the test program to file
32536 cat <<EOF > conftest.c
32537 $ax_gcc_option_test
32538 EOF
32539
32540 # Dump back the file to the log, useful for debugging purposes
32541 { ac_try='cat conftest.c 1>&5'
32542 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32543 (eval $ac_try) 2>&5
32544 ac_status=$?
32545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32546 test $ac_status = 0; }; }
32547
32548 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
32549 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32550 (eval $ac_try) 2>&5
32551 ac_status=$?
32552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32553 test $ac_status = 0; }; } ; then :
32554
32555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32556 $as_echo "yes" >&6; }
32557
32558 ax_gcc_version_option=yes
32559
32560
32561 else
32562
32563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32564 $as_echo "no" >&6; }
32565
32566 ax_gcc_version_option=no
32567
32568
32569 fi
32570
32571 else
32572
32573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32574 $as_echo "no gcc available" >&6; }
32575
32576 fi
32577
32578 if test "x$GXX" = "xyes"; then :
32579
32580 if test "x$ax_gxx_version_option" != "no"; then :
32581
32582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32583 $as_echo_n "checking gxx version... " >&6; }
32584 if ${ax_cv_gxx_version+:} false; then :
32585 $as_echo_n "(cached) " >&6
32586 else
32587
32588 ax_cv_gxx_version="`$CXX -dumpversion`"
32589 if test "x$ax_cv_gxx_version" = "x"; then :
32590
32591 ax_cv_gxx_version=""
32592
32593 fi
32594
32595 fi
32596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32597 $as_echo "$ax_cv_gxx_version" >&6; }
32598 GXX_VERSION=$ax_cv_gxx_version
32599
32600 fi
32601
32602 fi
32603
32604
32605 if test -n "$ax_cv_gxx_version"; then
32606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32607 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32608 case "$ax_cv_gxx_version" in
32609 1.* | 2.* | 3.* )
32610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32611 $as_echo "no, it's broken" >&6; }
32612 wx_cv_cc___thread=no
32613 ;;
32614 *)
32615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32616 $as_echo "yes, it works" >&6; }
32617 ;;
32618 esac
32619 fi
32620 fi
32621
32622 if test "$wx_cv_cc___thread" = "yes"; then
32623 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32624
32625 fi
32626 fi
32627
32628 if test "$ac_cv_header_cxxabi_h" = "yes"; then
32629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in <cxxabi.h>" >&5
32630 $as_echo_n "checking for abi::__forced_unwind() in <cxxabi.h>... " >&6; }
32631 if ${wx_cv_type_abi_forced_unwind+:} false; then :
32632 $as_echo_n "(cached) " >&6
32633 else
32634
32635 ac_ext=cpp
32636 ac_cpp='$CXXCPP $CPPFLAGS'
32637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32640
32641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32642 /* end confdefs.h. */
32643 #include <cxxabi.h>
32644 int
32645 main ()
32646 {
32647
32648 void foo(abi::__forced_unwind&);
32649
32650 ;
32651 return 0;
32652 }
32653 _ACEOF
32654 if ac_fn_cxx_try_compile "$LINENO"; then :
32655 wx_cv_type_abi_forced_unwind=yes
32656 else
32657 wx_cv_type_abi_forced_unwind=no
32658
32659 fi
32660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32661 ac_ext=c
32662 ac_cpp='$CPP $CPPFLAGS'
32663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32666
32667
32668
32669 fi
32670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5
32671 $as_echo "$wx_cv_type_abi_forced_unwind" >&6; }
32672 else
32673 wx_cv_type_abi_forced_unwind=no
32674 fi
32675
32676 if test "$wx_cv_type_abi_forced_unwind" = "yes"; then
32677 $as_echo "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h
32678
32679 fi
32680 fi
32681
32682 else
32683 if test "$wxUSE_THREADS" = "yes" ; then
32684 case "${host}" in
32685 x86_64-*-mingw32* )
32686 ;;
32687 *-*-mingw32* )
32688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32689 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32690 if ${wx_cv_cflags_mthread+:} false; then :
32691 $as_echo_n "(cached) " >&6
32692 else
32693
32694 CFLAGS_OLD="$CFLAGS"
32695 CFLAGS="-mthreads $CFLAGS"
32696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32697 /* end confdefs.h. */
32698
32699 int
32700 main ()
32701 {
32702
32703 ;
32704 return 0;
32705 }
32706 _ACEOF
32707 if ac_fn_c_try_compile "$LINENO"; then :
32708 wx_cv_cflags_mthread=yes
32709 else
32710 wx_cv_cflags_mthread=no
32711
32712 fi
32713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32714
32715
32716 fi
32717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32718 $as_echo "$wx_cv_cflags_mthread" >&6; }
32719
32720 if test "$wx_cv_cflags_mthread" = "yes"; then
32721 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
32722 LDFLAGS="$LDFLAGS -mthreads"
32723 else
32724 CFLAGS="$CFLAGS_OLD"
32725 fi
32726 ;;
32727 *-pc-os2*emx )
32728 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32729 LDFLAGS="$LDFLAGS -Zmt"
32730 ;;
32731 esac
32732 fi
32733 fi
32734
32735 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32736 if test "x$ac_cv_func_localtime_r" = xyes; then :
32737 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32738
32739 fi
32740
32741 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32742 if test "x$ac_cv_func_gmtime_r" = xyes; then :
32743 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32744
32745 fi
32746
32747
32748
32749
32750 ac_ext=c
32751 ac_cpp='$CPP $CPPFLAGS'
32752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32755
32756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32757 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32758
32759 if ${ac_cv_func_which_gethostbyname_r+:} false; then :
32760 $as_echo_n "(cached) " >&6
32761 else
32762
32763
32764 ################################################################
32765
32766 ac_cv_func_which_gethostbyname_r=unknown
32767
32768 #
32769 # ONE ARGUMENT (sanity check)
32770 #
32771
32772 # This should fail, as there is no variant of gethostbyname_r() that takes
32773 # a single argument. If it actually compiles, then we can assume that
32774 # netdb.h is not declaring the function, and the compiler is thereby
32775 # assuming an implicit prototype. In which case, we're out of luck.
32776 #
32777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32778 /* end confdefs.h. */
32779 #include <netdb.h>
32780 int
32781 main ()
32782 {
32783
32784 char *name = "www.gnu.org";
32785 (void)gethostbyname_r(name) /* ; */
32786
32787
32788 ;
32789 return 0;
32790 }
32791 _ACEOF
32792 if ac_fn_c_try_compile "$LINENO"; then :
32793 ac_cv_func_which_gethostbyname_r=no
32794
32795 fi
32796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32797
32798 #
32799 # SIX ARGUMENTS
32800 # (e.g. Linux)
32801 #
32802
32803 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32804
32805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32806 /* end confdefs.h. */
32807 #include <netdb.h>
32808 int
32809 main ()
32810 {
32811
32812 char *name = "www.gnu.org";
32813 struct hostent ret, *retp;
32814 char buf[1024];
32815 int buflen = 1024;
32816 int my_h_errno;
32817 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32818
32819
32820 ;
32821 return 0;
32822 }
32823 _ACEOF
32824 if ac_fn_c_try_compile "$LINENO"; then :
32825 ac_cv_func_which_gethostbyname_r=six
32826
32827 fi
32828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32829
32830 fi
32831
32832 #
32833 # FIVE ARGUMENTS
32834 # (e.g. Solaris)
32835 #
32836
32837 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32838
32839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32840 /* end confdefs.h. */
32841 #include <netdb.h>
32842 int
32843 main ()
32844 {
32845
32846 char *name = "www.gnu.org";
32847 struct hostent ret;
32848 char buf[1024];
32849 int buflen = 1024;
32850 int my_h_errno;
32851 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32852
32853
32854 ;
32855 return 0;
32856 }
32857 _ACEOF
32858 if ac_fn_c_try_compile "$LINENO"; then :
32859 ac_cv_func_which_gethostbyname_r=five
32860
32861 fi
32862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32863
32864 fi
32865
32866 #
32867 # THREE ARGUMENTS
32868 # (e.g. AIX, HP-UX, Tru64)
32869 #
32870
32871 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32872
32873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32874 /* end confdefs.h. */
32875 #include <netdb.h>
32876 int
32877 main ()
32878 {
32879
32880 char *name = "www.gnu.org";
32881 struct hostent ret;
32882 struct hostent_data data;
32883 (void)gethostbyname_r(name, &ret, &data) /* ; */
32884
32885
32886 ;
32887 return 0;
32888 }
32889 _ACEOF
32890 if ac_fn_c_try_compile "$LINENO"; then :
32891 ac_cv_func_which_gethostbyname_r=three
32892
32893 fi
32894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32895
32896 fi
32897
32898 ################################################################
32899
32900
32901 fi
32902
32903 case "$ac_cv_func_which_gethostbyname_r" in
32904 three)
32905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32906 $as_echo "three" >&6; }
32907 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32908
32909 ;;
32910
32911 five)
32912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32913 $as_echo "five" >&6; }
32914 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32915
32916 ;;
32917
32918 six)
32919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32920 $as_echo "six" >&6; }
32921 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32922
32923 ;;
32924
32925 no)
32926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32927 $as_echo "cannot find function declaration in netdb.h" >&6; }
32928 ;;
32929
32930 unknown)
32931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32932 $as_echo "can't tell" >&6; }
32933 ;;
32934
32935 *)
32936 as_fn_error $? "internal error" "$LINENO" 5
32937 ;;
32938 esac
32939
32940 ac_ext=c
32941 ac_cpp='$CPP $CPPFLAGS'
32942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32945
32946
32947
32948 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32949 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32950 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32951 if test "x$ac_cv_func_gethostbyname" = xyes; then :
32952 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32953
32954 fi
32955
32956 fi
32957
32958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32959 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32960 if ${ac_cv_func_which_getservbyname_r+:} false; then :
32961 $as_echo_n "(cached) " >&6
32962 else
32963
32964 ac_ext=cpp
32965 ac_cpp='$CXXCPP $CPPFLAGS'
32966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32969
32970
32971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32972 /* end confdefs.h. */
32973 #include <netdb.h>
32974 int
32975 main ()
32976 {
32977
32978 char *name;
32979 char *proto;
32980 struct servent *se, *res;
32981 char buffer[2048];
32982 int buflen = 2048;
32983 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32984
32985 ;
32986 return 0;
32987 }
32988 _ACEOF
32989 if ac_fn_cxx_try_compile "$LINENO"; then :
32990 ac_cv_func_which_getservbyname_r=six
32991 else
32992
32993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32994 /* end confdefs.h. */
32995 #include <netdb.h>
32996 int
32997 main ()
32998 {
32999
33000 char *name;
33001 char *proto;
33002 struct servent *se;
33003 char buffer[2048];
33004 int buflen = 2048;
33005 (void) getservbyname_r(name, proto, se, buffer, buflen)
33006
33007 ;
33008 return 0;
33009 }
33010 _ACEOF
33011 if ac_fn_cxx_try_compile "$LINENO"; then :
33012 ac_cv_func_which_getservbyname_r=five
33013 else
33014
33015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33016 /* end confdefs.h. */
33017 #include <netdb.h>
33018 int
33019 main ()
33020 {
33021
33022 char *name;
33023 char *proto;
33024 struct servent *se;
33025 struct servent_data data;
33026 (void) getservbyname_r(name, proto, se, &data);
33027
33028 ;
33029 return 0;
33030 }
33031 _ACEOF
33032 if ac_fn_cxx_try_compile "$LINENO"; then :
33033 ac_cv_func_which_getservbyname_r=four
33034 else
33035 ac_cv_func_which_getservbyname_r=no
33036
33037 fi
33038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33039
33040
33041 fi
33042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33043
33044
33045 fi
33046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33047 ac_ext=c
33048 ac_cpp='$CPP $CPPFLAGS'
33049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33052
33053
33054
33055 fi
33056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
33057 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
33058
33059 if test $ac_cv_func_which_getservbyname_r = six; then
33060 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
33061
33062 elif test $ac_cv_func_which_getservbyname_r = five; then
33063 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
33064
33065 elif test $ac_cv_func_which_getservbyname_r = four; then
33066 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
33067
33068 fi
33069
33070
33071 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
33072 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
33073 for ac_func in getservbyname
33074 do :
33075 ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
33076 if test "x$ac_cv_func_getservbyname" = xyes; then :
33077 cat >>confdefs.h <<_ACEOF
33078 #define HAVE_GETSERVBYNAME 1
33079 _ACEOF
33080 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
33081
33082 fi
33083 done
33084
33085 fi
33086
33087 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
33088
33089
33090 if test "$wxUSE_THREADS" = "yes"; then
33091 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
33092
33093
33094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33095 else
33096 if test "$wx_cv_func_strtok_r" = "yes"; then
33097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
33098 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
33099 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33100 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
33101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33102 $as_echo "yes" >&6; }
33103 else
33104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33105 $as_echo "no" >&6; }
33106 fi
33107 fi
33108 fi
33109
33110 if test "$WXGTK3" = 1 ; then
33111 cat >>confdefs.h <<_ACEOF
33112 #define __WXGTK3__ 1
33113 _ACEOF
33114
33115 WXGTK2=1
33116 fi
33117 if test "$WXGTK2" = 1 ; then
33118 cat >>confdefs.h <<_ACEOF
33119 #define __WXGTK20__ $WXGTK2
33120 _ACEOF
33121
33122 fi
33123
33124 if test "$WXGTK127" = 1 ; then
33125 cat >>confdefs.h <<_ACEOF
33126 #define __WXGTK127__ $WXGTK127
33127 _ACEOF
33128
33129 fi
33130
33131 if test "$WXGPE" = 1 ; then
33132 cat >>confdefs.h <<_ACEOF
33133 #define __WXGPE__ $WXGPE
33134 _ACEOF
33135
33136 fi
33137
33138 DEBUG_CFLAGS=
33139 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
33140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
33141 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
33142 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
33143 DEBUG_CFLAGS="-g"
33144 fi
33145
33146 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33147 wxUSE_DEBUG_INFO=yes
33148 if test "$GCC" = yes; then
33149 DEBUG_CFLAGS="-ggdb"
33150 fi
33151 fi
33152
33153 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
33154 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
33155
33156 if test "$wxUSE_GTK" = 1 ; then
33157 if test "$WXGTK2" = 1 ; then
33158 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
33159 else
33160 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
33161 fi
33162 fi
33163 fi
33164
33165 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33166 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
33167
33168 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
33169
33170 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
33171
33172 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33173 fi
33174
33175 if test "$wxUSE_DMALLOC" = "yes" ; then
33176 DMALLOC_LIBS="-ldmallocthcxx"
33177 fi
33178
33179 PROFILE_FLAGS=
33180 if test "$wxUSE_PROFILE" = "yes" ; then
33181 PROFILE_FLAGS=" -pg"
33182 fi
33183
33184 if test "$GCC" = "yes" ; then
33185 if test "$wxUSE_NO_RTTI" = "yes" ; then
33186 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
33187 fi
33188 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33189 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
33190 fi
33191 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33192 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
33193 fi
33194
33195 case "${host}" in
33196 powerpc*-*-aix* )
33197 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
33198 ;;
33199 *-hppa* )
33200 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
33201 ;;
33202 esac
33203 fi
33204
33205 OPTIMISE_CFLAGS=
33206 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
33207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
33208 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
33209 else
33210 if test "$wxUSE_OPTIMISE" = "no" ; then
33211 if test "$GCC" = yes ; then
33212 OPTIMISE_CFLAGS="-O0"
33213 fi
33214 else
33215 if test "$GCC" = yes ; then
33216 case "${host}" in
33217 *-pc-os2_emx | *-pc-os2-emx )
33218 OPTIMISE_CFLAGS="-O2"
33219 ;;
33220 *)
33221 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
33222 ;;
33223 esac
33224 else
33225 OPTIMISE_CFLAGS="-O"
33226 fi
33227 fi
33228 fi
33229
33230
33231 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
33232 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
33233
33234
33235 WXWIN_COMPATIBILITY_2_8="yes"
33236 fi
33237
33238 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
33239 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
33240
33241 fi
33242
33243
33244 if test "$wxUSE_GUI" = "yes"; then
33245 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
33246
33247
33248 fi
33249
33250
33251 if test "$wxUSE_UNIX" = "yes"; then
33252 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
33253
33254 fi
33255
33256
33257 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33258
33259 HAVE_DL_FUNCS=0
33260 HAVE_SHL_FUNCS=0
33261 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33262 if test "$USE_DOS" = 1; then
33263 HAVE_DL_FUNCS=0
33264 else
33265 for ac_func in dlopen
33266 do :
33267 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
33268 if test "x$ac_cv_func_dlopen" = xyes; then :
33269 cat >>confdefs.h <<_ACEOF
33270 #define HAVE_DLOPEN 1
33271 _ACEOF
33272
33273 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33274
33275 HAVE_DL_FUNCS=1
33276
33277 else
33278
33279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
33280 $as_echo_n "checking for dlopen in -ldl... " >&6; }
33281 if ${ac_cv_lib_dl_dlopen+:} false; then :
33282 $as_echo_n "(cached) " >&6
33283 else
33284 ac_check_lib_save_LIBS=$LIBS
33285 LIBS="-ldl $LIBS"
33286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33287 /* end confdefs.h. */
33288
33289 /* Override any GCC internal prototype to avoid an error.
33290 Use char because int might match the return type of a GCC
33291 builtin and then its argument prototype would still apply. */
33292 #ifdef __cplusplus
33293 extern "C"
33294 #endif
33295 char dlopen ();
33296 int
33297 main ()
33298 {
33299 return dlopen ();
33300 ;
33301 return 0;
33302 }
33303 _ACEOF
33304 if ac_fn_c_try_link "$LINENO"; then :
33305 ac_cv_lib_dl_dlopen=yes
33306 else
33307 ac_cv_lib_dl_dlopen=no
33308 fi
33309 rm -f core conftest.err conftest.$ac_objext \
33310 conftest$ac_exeext conftest.$ac_ext
33311 LIBS=$ac_check_lib_save_LIBS
33312 fi
33313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33314 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33315 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
33316
33317 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33318
33319 HAVE_DL_FUNCS=1
33320 DL_LINK=" -ldl$DL_LINK"
33321
33322 else
33323
33324 for ac_func in shl_load
33325 do :
33326 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
33327 if test "x$ac_cv_func_shl_load" = xyes; then :
33328 cat >>confdefs.h <<_ACEOF
33329 #define HAVE_SHL_LOAD 1
33330 _ACEOF
33331
33332 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33333
33334 HAVE_SHL_FUNCS=1
33335
33336 else
33337
33338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33339 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33340 if ${ac_cv_lib_shl_load_dld+:} false; then :
33341 $as_echo_n "(cached) " >&6
33342 else
33343 ac_check_lib_save_LIBS=$LIBS
33344 LIBS="-lshl_load $LIBS"
33345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33346 /* end confdefs.h. */
33347
33348 /* Override any GCC internal prototype to avoid an error.
33349 Use char because int might match the return type of a GCC
33350 builtin and then its argument prototype would still apply. */
33351 #ifdef __cplusplus
33352 extern "C"
33353 #endif
33354 char dld ();
33355 int
33356 main ()
33357 {
33358 return dld ();
33359 ;
33360 return 0;
33361 }
33362 _ACEOF
33363 if ac_fn_c_try_link "$LINENO"; then :
33364 ac_cv_lib_shl_load_dld=yes
33365 else
33366 ac_cv_lib_shl_load_dld=no
33367 fi
33368 rm -f core conftest.err conftest.$ac_objext \
33369 conftest$ac_exeext conftest.$ac_ext
33370 LIBS=$ac_check_lib_save_LIBS
33371 fi
33372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33373 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33374 if test "x$ac_cv_lib_shl_load_dld" = xyes; then :
33375
33376 HAVE_SHL_FUNCS=1
33377 DL_LINK=" -ldld$DL_LINK"
33378
33379 fi
33380
33381
33382 fi
33383 done
33384
33385
33386 fi
33387
33388
33389 fi
33390 done
33391
33392
33393 if test "$HAVE_DL_FUNCS" = 1; then
33394 for ac_func in dlerror
33395 do :
33396 ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
33397 if test "x$ac_cv_func_dlerror" = xyes; then :
33398 cat >>confdefs.h <<_ACEOF
33399 #define HAVE_DLERROR 1
33400 _ACEOF
33401 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33402
33403 else
33404
33405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33406 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33407 if ${ac_cv_lib_dl_dlerror+:} false; then :
33408 $as_echo_n "(cached) " >&6
33409 else
33410 ac_check_lib_save_LIBS=$LIBS
33411 LIBS="-ldl $LIBS"
33412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33413 /* end confdefs.h. */
33414
33415 /* Override any GCC internal prototype to avoid an error.
33416 Use char because int might match the return type of a GCC
33417 builtin and then its argument prototype would still apply. */
33418 #ifdef __cplusplus
33419 extern "C"
33420 #endif
33421 char dlerror ();
33422 int
33423 main ()
33424 {
33425 return dlerror ();
33426 ;
33427 return 0;
33428 }
33429 _ACEOF
33430 if ac_fn_c_try_link "$LINENO"; then :
33431 ac_cv_lib_dl_dlerror=yes
33432 else
33433 ac_cv_lib_dl_dlerror=no
33434 fi
33435 rm -f core conftest.err conftest.$ac_objext \
33436 conftest$ac_exeext conftest.$ac_ext
33437 LIBS=$ac_check_lib_save_LIBS
33438 fi
33439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33440 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33441 if test "x$ac_cv_lib_dl_dlerror" = xyes; then :
33442 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33443
33444 fi
33445
33446
33447
33448 fi
33449 done
33450
33451 fi
33452 fi
33453
33454 if test "$USE_DARWIN" = 1; then
33455 HAVE_DL_FUNCS=1
33456 fi
33457
33458 if test "$HAVE_DL_FUNCS" = 0; then
33459 if test "$HAVE_SHL_FUNCS" = 0; then
33460 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33462 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33463 wxUSE_DYNAMIC_LOADER=no
33464 wxUSE_DYNLIB_CLASS=no
33465 else
33466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33467 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33468 fi
33469 fi
33470 fi
33471 fi
33472 fi
33473
33474 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33475 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33476
33477 fi
33478 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33479 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33480
33481 fi
33482
33483
33484
33485 if test "$wxUSE_PLUGINS" = "yes" ; then
33486 if test "$wxUSE_SHARED" = "no" ; then
33487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33488 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33489 wxUSE_PLUGINS=no
33490 fi
33491 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33493 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33494 wxUSE_PLUGINS=no
33495 fi
33496 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33498 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33499 wxUSE_PLUGINS=no
33500 fi
33501 if test "$wxUSE_PLUGINS" = "yes" ; then
33502 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33503
33504 fi
33505 fi
33506
33507
33508 if test "$wxUSE_FSWATCHER" = "yes"; then
33509 if test "$wxUSE_MSW" != "1"; then
33510 if test "$wxUSE_UNIX" = "yes"; then
33511 for ac_header in sys/inotify.h
33512 do :
33513 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33514 "
33515 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
33516 cat >>confdefs.h <<_ACEOF
33517 #define HAVE_SYS_INOTIFY_H 1
33518 _ACEOF
33519
33520 fi
33521
33522 done
33523
33524 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33525 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33526
33527 else
33528 for ac_header in sys/event.h
33529 do :
33530 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33531 "
33532 if test "x$ac_cv_header_sys_event_h" = xyes; then :
33533 cat >>confdefs.h <<_ACEOF
33534 #define HAVE_SYS_EVENT_H 1
33535 _ACEOF
33536
33537 fi
33538
33539 done
33540
33541 if test "$ac_cv_header_sys_event_h" = "yes"; then
33542 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33543
33544 else
33545 wxUSE_FSWATCHER=no
33546 fi
33547 fi
33548 else
33549 wxUSE_FSWATCHER=no
33550 fi
33551 else
33552 if test "$wxUSE_THREADS" != "yes"; then
33553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33554 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33555 wxUSE_FSWATCHER=no
33556 fi
33557 fi
33558
33559 if test "$wxUSE_FSWATCHER" = "yes"; then
33560 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33561
33562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
33563 else
33564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33565 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33566 fi
33567 fi
33568
33569
33570 if test "$wxUSE_STL" = "yes"; then
33571 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33572
33573 fi
33574
33575 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33576 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33577
33578 fi
33579
33580 if test "$wxUSE_ANY" = "yes"; then
33581 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33582
33583 fi
33584
33585 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33586 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33587
33588 fi
33589
33590 if test "$wxUSE_TIMER" = "yes"; then
33591 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33592
33593 fi
33594
33595 if test "$USE_UNIX" = 1 ; then
33596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33597 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33598 if ${ac_cv_header_sys_soundcard+:} false; then :
33599 $as_echo_n "(cached) " >&6
33600 else
33601
33602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33603 /* end confdefs.h. */
33604
33605 #include <sys/ioctl.h>
33606 #include <sys/soundcard.h>
33607
33608 int
33609 main ()
33610 {
33611
33612 ioctl(0, SNDCTL_DSP_SPEED, 0);
33613
33614 ;
33615 return 0;
33616 }
33617 _ACEOF
33618 if ac_fn_c_try_link "$LINENO"; then :
33619 ac_cv_header_sys_soundcard=yes
33620 else
33621
33622 saveLibs="$LIBS"
33623 LIBS="$saveLibs -lossaudio"
33624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33625 /* end confdefs.h. */
33626
33627 #include <sys/ioctl.h>
33628 #include <sys/soundcard.h>
33629
33630 int
33631 main ()
33632 {
33633
33634 ioctl(0, SNDCTL_DSP_SPEED, 0);
33635
33636 ;
33637 return 0;
33638 }
33639 _ACEOF
33640 if ac_fn_c_try_link "$LINENO"; then :
33641 ac_cv_header_sys_soundcard=yes
33642 else
33643
33644 LIBS="$saveLibs"
33645 ac_cv_header_sys_soundcard=no
33646
33647
33648 fi
33649 rm -f core conftest.err conftest.$ac_objext \
33650 conftest$ac_exeext conftest.$ac_ext
33651
33652
33653 fi
33654 rm -f core conftest.err conftest.$ac_objext \
33655 conftest$ac_exeext conftest.$ac_ext
33656
33657 fi
33658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33659 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33660
33661 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33662 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33663
33664 fi
33665 fi
33666
33667 WITH_PLUGIN_SDL=0
33668 if test "$wxUSE_SOUND" = "yes"; then
33669 if test "$USE_UNIX" = 1 ; then
33670 if test "$wxUSE_LIBSDL" != "no"; then
33671
33672 # Check whether --with-sdl-prefix was given.
33673 if test "${with_sdl_prefix+set}" = set; then :
33674 withval=$with_sdl_prefix; sdl_prefix="$withval"
33675 else
33676 sdl_prefix=""
33677 fi
33678
33679
33680 # Check whether --with-sdl-exec-prefix was given.
33681 if test "${with_sdl_exec_prefix+set}" = set; then :
33682 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
33683 else
33684 sdl_exec_prefix=""
33685 fi
33686
33687 # Check whether --enable-sdltest was given.
33688 if test "${enable_sdltest+set}" = set; then :
33689 enableval=$enable_sdltest;
33690 else
33691 enable_sdltest=yes
33692 fi
33693
33694
33695 if test x$sdl_exec_prefix != x ; then
33696 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33697 if test x${SDL_CONFIG+set} != xset ; then
33698 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33699 fi
33700 fi
33701 if test x$sdl_prefix != x ; then
33702 sdl_args="$sdl_args --prefix=$sdl_prefix"
33703 if test x${SDL_CONFIG+set} != xset ; then
33704 SDL_CONFIG=$sdl_prefix/bin/sdl-config
33705 fi
33706 fi
33707
33708 if test "x$prefix" != xNONE; then
33709 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33710 fi
33711 # Extract the first word of "sdl-config", so it can be a program name with args.
33712 set dummy sdl-config; ac_word=$2
33713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33714 $as_echo_n "checking for $ac_word... " >&6; }
33715 if ${ac_cv_path_SDL_CONFIG+:} false; then :
33716 $as_echo_n "(cached) " >&6
33717 else
33718 case $SDL_CONFIG in
33719 [\\/]* | ?:[\\/]*)
33720 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33721 ;;
33722 *)
33723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33724 for as_dir in $PATH
33725 do
33726 IFS=$as_save_IFS
33727 test -z "$as_dir" && as_dir=.
33728 for ac_exec_ext in '' $ac_executable_extensions; do
33729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33730 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33732 break 2
33733 fi
33734 done
33735 done
33736 IFS=$as_save_IFS
33737
33738 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33739 ;;
33740 esac
33741 fi
33742 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33743 if test -n "$SDL_CONFIG"; then
33744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33745 $as_echo "$SDL_CONFIG" >&6; }
33746 else
33747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33748 $as_echo "no" >&6; }
33749 fi
33750
33751
33752 min_sdl_version=1.2.0
33753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33754 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33755 no_sdl=""
33756 if test "$SDL_CONFIG" = "no" ; then
33757 no_sdl=yes
33758 else
33759 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33760 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33761
33762 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33763 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33764 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33765 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33766 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33767 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33768 if test "x$enable_sdltest" = "xyes" ; then
33769 ac_save_CFLAGS="$CFLAGS"
33770 ac_save_CXXFLAGS="$CXXFLAGS"
33771 ac_save_LIBS="$LIBS"
33772 CFLAGS="$CFLAGS $SDL_CFLAGS"
33773 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33774 LIBS="$LIBS $SDL_LIBS"
33775 rm -f conf.sdltest
33776 if test "$cross_compiling" = yes; then :
33777 echo $ac_n "cross compiling; assumed OK... $ac_c"
33778 else
33779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33780 /* end confdefs.h. */
33781
33782 #include <stdio.h>
33783 #include <stdlib.h>
33784 #include <string.h>
33785 #include "SDL.h"
33786
33787 char*
33788 my_strdup (char *str)
33789 {
33790 char *new_str;
33791
33792 if (str)
33793 {
33794 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33795 strcpy (new_str, str);
33796 }
33797 else
33798 new_str = NULL;
33799
33800 return new_str;
33801 }
33802
33803 int main (int argc, char *argv[])
33804 {
33805 int major, minor, micro;
33806 char *tmp_version;
33807
33808 /* This hangs on some systems (?)
33809 system ("touch conf.sdltest");
33810 */
33811 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33812
33813 /* HP/UX 9 (%@#!) writes to sscanf strings */
33814 tmp_version = my_strdup("$min_sdl_version");
33815 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33816 printf("%s, bad version string\n", "$min_sdl_version");
33817 exit(1);
33818 }
33819
33820 if (($sdl_major_version > major) ||
33821 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33822 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33823 {
33824 return 0;
33825 }
33826 else
33827 {
33828 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33829 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33830 printf("*** best to upgrade to the required version.\n");
33831 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33832 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33833 printf("*** config.cache before re-running configure\n");
33834 return 1;
33835 }
33836 }
33837
33838
33839 _ACEOF
33840 if ac_fn_c_try_run "$LINENO"; then :
33841
33842 else
33843 no_sdl=yes
33844 fi
33845 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33846 conftest.$ac_objext conftest.beam conftest.$ac_ext
33847 fi
33848
33849 CFLAGS="$ac_save_CFLAGS"
33850 CXXFLAGS="$ac_save_CXXFLAGS"
33851 LIBS="$ac_save_LIBS"
33852 fi
33853 fi
33854 if test "x$no_sdl" = x ; then
33855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33856 $as_echo "yes" >&6; }
33857
33858 EXTRALIBS_SDL="$SDL_LIBS"
33859 CFLAGS="$SDL_CFLAGS $CFLAGS"
33860 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
33861 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33862
33863
33864 else
33865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33866 $as_echo "no" >&6; }
33867 if test "$SDL_CONFIG" = "no" ; then
33868 echo "*** The sdl-config script installed by SDL could not be found"
33869 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33870 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33871 echo "*** full path to sdl-config."
33872 else
33873 if test -f conf.sdltest ; then
33874 :
33875 else
33876 echo "*** Could not run SDL test program, checking why..."
33877 CFLAGS="$CFLAGS $SDL_CFLAGS"
33878 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33879 LIBS="$LIBS $SDL_LIBS"
33880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33881 /* end confdefs.h. */
33882
33883 #include <stdio.h>
33884 #include "SDL.h"
33885
33886 int main(int argc, char *argv[])
33887 { return 0; }
33888 #undef main
33889 #define main K_and_R_C_main
33890
33891 int
33892 main ()
33893 {
33894 return 0;
33895 ;
33896 return 0;
33897 }
33898 _ACEOF
33899 if ac_fn_c_try_link "$LINENO"; then :
33900 echo "*** The test program compiled, but did not run. This usually means"
33901 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33902 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33903 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33904 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33905 echo "*** is required on your system"
33906 echo "***"
33907 echo "*** If you have an old version installed, it is best to remove it, although"
33908 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33909 else
33910 echo "*** The test program failed to compile or link. See the file config.log for the"
33911 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33912 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33913 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33914 fi
33915 rm -f core conftest.err conftest.$ac_objext \
33916 conftest$ac_exeext conftest.$ac_ext
33917 CFLAGS="$ac_save_CFLAGS"
33918 CXXFLAGS="$ac_save_CXXFLAGS"
33919 LIBS="$ac_save_LIBS"
33920 fi
33921 fi
33922 SDL_CFLAGS=""
33923 SDL_LIBS=""
33924 wxUSE_LIBSDL="no"
33925 fi
33926
33927
33928 rm -f conf.sdltest
33929
33930 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33931 WITH_PLUGIN_SDL=1
33932 fi
33933 fi
33934 fi
33935 fi
33936
33937 if test "$wxUSE_SOUND" = "yes"; then
33938 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33939
33940 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33941 fi
33942
33943 if test "$WXGTK2" = 1; then
33944
33945
33946 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33947 if test -n "$ac_tool_prefix"; then
33948 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33949 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33951 $as_echo_n "checking for $ac_word... " >&6; }
33952 if ${ac_cv_path_PKG_CONFIG+:} false; then :
33953 $as_echo_n "(cached) " >&6
33954 else
33955 case $PKG_CONFIG in
33956 [\\/]* | ?:[\\/]*)
33957 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33958 ;;
33959 *)
33960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33961 for as_dir in $PATH
33962 do
33963 IFS=$as_save_IFS
33964 test -z "$as_dir" && as_dir=.
33965 for ac_exec_ext in '' $ac_executable_extensions; do
33966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33967 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33969 break 2
33970 fi
33971 done
33972 done
33973 IFS=$as_save_IFS
33974
33975 ;;
33976 esac
33977 fi
33978 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33979 if test -n "$PKG_CONFIG"; then
33980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33981 $as_echo "$PKG_CONFIG" >&6; }
33982 else
33983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33984 $as_echo "no" >&6; }
33985 fi
33986
33987
33988 fi
33989 if test -z "$ac_cv_path_PKG_CONFIG"; then
33990 ac_pt_PKG_CONFIG=$PKG_CONFIG
33991 # Extract the first word of "pkg-config", so it can be a program name with args.
33992 set dummy pkg-config; ac_word=$2
33993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33994 $as_echo_n "checking for $ac_word... " >&6; }
33995 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
33996 $as_echo_n "(cached) " >&6
33997 else
33998 case $ac_pt_PKG_CONFIG in
33999 [\\/]* | ?:[\\/]*)
34000 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34001 ;;
34002 *)
34003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34004 for as_dir in $PATH
34005 do
34006 IFS=$as_save_IFS
34007 test -z "$as_dir" && as_dir=.
34008 for ac_exec_ext in '' $ac_executable_extensions; do
34009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34010 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34012 break 2
34013 fi
34014 done
34015 done
34016 IFS=$as_save_IFS
34017
34018 ;;
34019 esac
34020 fi
34021 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
34022 if test -n "$ac_pt_PKG_CONFIG"; then
34023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
34024 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
34025 else
34026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34027 $as_echo "no" >&6; }
34028 fi
34029
34030 if test "x$ac_pt_PKG_CONFIG" = x; then
34031 PKG_CONFIG=""
34032 else
34033 case $cross_compiling:$ac_tool_warned in
34034 yes:)
34035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
34036 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
34037 ac_tool_warned=yes ;;
34038 esac
34039 PKG_CONFIG=$ac_pt_PKG_CONFIG
34040 fi
34041 else
34042 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
34043 fi
34044
34045 fi
34046 if test -n "$PKG_CONFIG"; then
34047 _pkg_min_version=0.9.0
34048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
34049 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
34050 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34052 $as_echo "yes" >&6; }
34053 else
34054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34055 $as_echo "no" >&6; }
34056 PKG_CONFIG=""
34057 fi
34058
34059 fi
34060
34061 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34062
34063 if test "$wxUSE_GTKPRINT" = "yes" ; then
34064 if test "$WXGTK3" = 1; then
34065 gtk_unix_print="gtk+-unix-print-3.0"
34066 else
34067 gtk_unix_print="gtk+-unix-print-2.0 >= 2.10"
34068 fi
34069
34070 pkg_failed=no
34071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
34072 $as_echo_n "checking for GTKPRINT... " >&6; }
34073
34074 if test -n "$PKG_CONFIG"; then
34075 if test -n "$GTKPRINT_CFLAGS"; then
34076 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
34077 else
34078 if test -n "$PKG_CONFIG" && \
34079 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34080 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34081 ac_status=$?
34082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34083 test $ac_status = 0; }; then
34084 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
34085 else
34086 pkg_failed=yes
34087 fi
34088 fi
34089 else
34090 pkg_failed=untried
34091 fi
34092 if test -n "$PKG_CONFIG"; then
34093 if test -n "$GTKPRINT_LIBS"; then
34094 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
34095 else
34096 if test -n "$PKG_CONFIG" && \
34097 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34098 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34099 ac_status=$?
34100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34101 test $ac_status = 0; }; then
34102 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
34103 else
34104 pkg_failed=yes
34105 fi
34106 fi
34107 else
34108 pkg_failed=untried
34109 fi
34110
34111
34112
34113 if test $pkg_failed = yes; then
34114
34115 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34116 _pkg_short_errors_supported=yes
34117 else
34118 _pkg_short_errors_supported=no
34119 fi
34120 if test $_pkg_short_errors_supported = yes; then
34121 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
34122 else
34123 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
34124 fi
34125 # Put the nasty error message in config.log where it belongs
34126 echo "$GTKPRINT_PKG_ERRORS" >&5
34127
34128
34129 { $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
34130 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34131 wxUSE_GTKPRINT="no"
34132
34133
34134 elif test $pkg_failed = untried; then
34135
34136 { $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
34137 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34138 wxUSE_GTKPRINT="no"
34139
34140
34141 else
34142 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
34143 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
34144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34145 $as_echo "yes" >&6; }
34146
34147 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
34148 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
34149 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
34150 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
34151
34152
34153 fi
34154 fi
34155
34156 if test "$WXGTK3" = 1; then
34157 wxUSE_LIBGNOMEPRINT=no
34158 fi
34159
34160 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34161
34162
34163 pkg_failed=no
34164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
34165 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
34166
34167 if test -n "$PKG_CONFIG"; then
34168 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
34169 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
34170 else
34171 if test -n "$PKG_CONFIG" && \
34172 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34173 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34174 ac_status=$?
34175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34176 test $ac_status = 0; }; then
34177 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34178 else
34179 pkg_failed=yes
34180 fi
34181 fi
34182 else
34183 pkg_failed=untried
34184 fi
34185 if test -n "$PKG_CONFIG"; then
34186 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
34187 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
34188 else
34189 if test -n "$PKG_CONFIG" && \
34190 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34191 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34192 ac_status=$?
34193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34194 test $ac_status = 0; }; then
34195 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34196 else
34197 pkg_failed=yes
34198 fi
34199 fi
34200 else
34201 pkg_failed=untried
34202 fi
34203
34204
34205
34206 if test $pkg_failed = yes; then
34207
34208 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34209 _pkg_short_errors_supported=yes
34210 else
34211 _pkg_short_errors_supported=no
34212 fi
34213 if test $_pkg_short_errors_supported = yes; then
34214 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34215 else
34216 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34217 fi
34218 # Put the nasty error message in config.log where it belongs
34219 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
34220
34221
34222 if test "$wxUSE_GTKPRINT" = yes; then
34223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34224 $as_echo "no" >&6; }
34225 else
34226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34227 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34228 fi
34229 wxUSE_LIBGNOMEPRINT="no"
34230
34231
34232 elif test $pkg_failed = untried; then
34233
34234 if test "$wxUSE_GTKPRINT" = yes; then
34235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34236 $as_echo "no" >&6; }
34237 else
34238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34239 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34240 fi
34241 wxUSE_LIBGNOMEPRINT="no"
34242
34243
34244 else
34245 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
34246 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
34247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34248 $as_echo "yes" >&6; }
34249
34250 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
34251 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
34252 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
34253 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
34254
34255
34256 fi
34257 fi
34258 fi
34259
34260 if test "$wxUSE_MIMETYPE" = "yes" ; then
34261 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
34262
34263
34264 pkg_failed=no
34265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
34266 $as_echo_n "checking for GNOMEVFS... " >&6; }
34267
34268 if test -n "$PKG_CONFIG"; then
34269 if test -n "$GNOMEVFS_CFLAGS"; then
34270 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
34271 else
34272 if test -n "$PKG_CONFIG" && \
34273 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34274 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34275 ac_status=$?
34276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34277 test $ac_status = 0; }; then
34278 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34279 else
34280 pkg_failed=yes
34281 fi
34282 fi
34283 else
34284 pkg_failed=untried
34285 fi
34286 if test -n "$PKG_CONFIG"; then
34287 if test -n "$GNOMEVFS_LIBS"; then
34288 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
34289 else
34290 if test -n "$PKG_CONFIG" && \
34291 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34292 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34293 ac_status=$?
34294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34295 test $ac_status = 0; }; then
34296 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34297 else
34298 pkg_failed=yes
34299 fi
34300 fi
34301 else
34302 pkg_failed=untried
34303 fi
34304
34305
34306
34307 if test $pkg_failed = yes; then
34308
34309 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34310 _pkg_short_errors_supported=yes
34311 else
34312 _pkg_short_errors_supported=no
34313 fi
34314 if test $_pkg_short_errors_supported = yes; then
34315 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34316 else
34317 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34318 fi
34319 # Put the nasty error message in config.log where it belongs
34320 echo "$GNOMEVFS_PKG_ERRORS" >&5
34321
34322
34323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34324 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34325 wxUSE_LIBGNOMEVFS="no"
34326
34327
34328 elif test $pkg_failed = untried; then
34329
34330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34331 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34332 wxUSE_LIBGNOMEVFS="no"
34333
34334
34335 else
34336 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
34337 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
34338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34339 $as_echo "yes" >&6; }
34340
34341 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34342 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
34343 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
34344 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34345
34346
34347 fi
34348 fi
34349 fi
34350
34351 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34352 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34353 HAVE_LIBNOTIFY=0
34354
34355 pkg_failed=no
34356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34357 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34358
34359 if test -n "$PKG_CONFIG"; then
34360 if test -n "$LIBNOTIFY_CFLAGS"; then
34361 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34362 else
34363 if test -n "$PKG_CONFIG" && \
34364 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34365 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34366 ac_status=$?
34367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34368 test $ac_status = 0; }; then
34369 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34370 else
34371 pkg_failed=yes
34372 fi
34373 fi
34374 else
34375 pkg_failed=untried
34376 fi
34377 if test -n "$PKG_CONFIG"; then
34378 if test -n "$LIBNOTIFY_LIBS"; then
34379 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34380 else
34381 if test -n "$PKG_CONFIG" && \
34382 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34383 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34384 ac_status=$?
34385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34386 test $ac_status = 0; }; then
34387 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34388 else
34389 pkg_failed=yes
34390 fi
34391 fi
34392 else
34393 pkg_failed=untried
34394 fi
34395
34396
34397
34398 if test $pkg_failed = yes; then
34399
34400 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34401 _pkg_short_errors_supported=yes
34402 else
34403 _pkg_short_errors_supported=no
34404 fi
34405 if test $_pkg_short_errors_supported = yes; then
34406 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34407 else
34408 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34409 fi
34410 # Put the nasty error message in config.log where it belongs
34411 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34412
34413
34414
34415 pkg_failed=no
34416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34417 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34418
34419 if test -n "$PKG_CONFIG"; then
34420 if test -n "$LIBNOTIFY_CFLAGS"; then
34421 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34422 else
34423 if test -n "$PKG_CONFIG" && \
34424 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34425 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34426 ac_status=$?
34427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34428 test $ac_status = 0; }; then
34429 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34430 else
34431 pkg_failed=yes
34432 fi
34433 fi
34434 else
34435 pkg_failed=untried
34436 fi
34437 if test -n "$PKG_CONFIG"; then
34438 if test -n "$LIBNOTIFY_LIBS"; then
34439 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34440 else
34441 if test -n "$PKG_CONFIG" && \
34442 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34443 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34444 ac_status=$?
34445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34446 test $ac_status = 0; }; then
34447 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34448 else
34449 pkg_failed=yes
34450 fi
34451 fi
34452 else
34453 pkg_failed=untried
34454 fi
34455
34456
34457
34458 if test $pkg_failed = yes; then
34459
34460 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34461 _pkg_short_errors_supported=yes
34462 else
34463 _pkg_short_errors_supported=no
34464 fi
34465 if test $_pkg_short_errors_supported = yes; then
34466 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34467 else
34468 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34469 fi
34470 # Put the nasty error message in config.log where it belongs
34471 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34472
34473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34474 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34475
34476 elif test $pkg_failed = untried; then
34477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34478 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34479
34480 else
34481 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34482 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34484 $as_echo "yes" >&6; }
34485 HAVE_LIBNOTIFY=1
34486 fi
34487
34488
34489 elif test $pkg_failed = untried; then
34490
34491
34492 pkg_failed=no
34493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34494 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34495
34496 if test -n "$PKG_CONFIG"; then
34497 if test -n "$LIBNOTIFY_CFLAGS"; then
34498 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34499 else
34500 if test -n "$PKG_CONFIG" && \
34501 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34502 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34503 ac_status=$?
34504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34505 test $ac_status = 0; }; then
34506 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34507 else
34508 pkg_failed=yes
34509 fi
34510 fi
34511 else
34512 pkg_failed=untried
34513 fi
34514 if test -n "$PKG_CONFIG"; then
34515 if test -n "$LIBNOTIFY_LIBS"; then
34516 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34517 else
34518 if test -n "$PKG_CONFIG" && \
34519 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34520 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34521 ac_status=$?
34522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34523 test $ac_status = 0; }; then
34524 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34525 else
34526 pkg_failed=yes
34527 fi
34528 fi
34529 else
34530 pkg_failed=untried
34531 fi
34532
34533
34534
34535 if test $pkg_failed = yes; then
34536
34537 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34538 _pkg_short_errors_supported=yes
34539 else
34540 _pkg_short_errors_supported=no
34541 fi
34542 if test $_pkg_short_errors_supported = yes; then
34543 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34544 else
34545 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34546 fi
34547 # Put the nasty error message in config.log where it belongs
34548 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34549
34550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34551 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34552
34553 elif test $pkg_failed = untried; then
34554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34555 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34556
34557 else
34558 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34559 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34561 $as_echo "yes" >&6; }
34562 HAVE_LIBNOTIFY=1
34563 fi
34564
34565
34566 else
34567 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34568 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34570 $as_echo "yes" >&6; }
34571
34572 HAVE_LIBNOTIFY=1
34573 $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34574
34575
34576 fi
34577
34578 if test "$HAVE_LIBNOTIFY" = "1" ; then
34579 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34580 CFLAGS="$LIBNOTIFY_CFLAGS $CFLAGS"
34581 CXXFLAGS="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34582 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34583
34584 fi
34585 fi
34586 fi
34587
34588 if test "$wxUSE_LIBHILDON" = "yes" ; then
34589
34590 pkg_failed=no
34591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34592 $as_echo_n "checking for HILDON... " >&6; }
34593
34594 if test -n "$PKG_CONFIG"; then
34595 if test -n "$HILDON_CFLAGS"; then
34596 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
34597 else
34598 if test -n "$PKG_CONFIG" && \
34599 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34600 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34601 ac_status=$?
34602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34603 test $ac_status = 0; }; then
34604 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34605 else
34606 pkg_failed=yes
34607 fi
34608 fi
34609 else
34610 pkg_failed=untried
34611 fi
34612 if test -n "$PKG_CONFIG"; then
34613 if test -n "$HILDON_LIBS"; then
34614 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
34615 else
34616 if test -n "$PKG_CONFIG" && \
34617 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34618 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34619 ac_status=$?
34620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34621 test $ac_status = 0; }; then
34622 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34623 else
34624 pkg_failed=yes
34625 fi
34626 fi
34627 else
34628 pkg_failed=untried
34629 fi
34630
34631
34632
34633 if test $pkg_failed = yes; then
34634
34635 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34636 _pkg_short_errors_supported=yes
34637 else
34638 _pkg_short_errors_supported=no
34639 fi
34640 if test $_pkg_short_errors_supported = yes; then
34641 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34642 else
34643 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34644 fi
34645 # Put the nasty error message in config.log where it belongs
34646 echo "$HILDON_PKG_ERRORS" >&5
34647
34648
34649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34650 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34651 wxUSE_LIBHILDON="no"
34652 ac_hildon_lgpl=0
34653
34654
34655 elif test $pkg_failed = untried; then
34656
34657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34658 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34659 wxUSE_LIBHILDON="no"
34660 ac_hildon_lgpl=0
34661
34662
34663 else
34664 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
34665 HILDON_LIBS=$pkg_cv_HILDON_LIBS
34666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34667 $as_echo "yes" >&6; }
34668
34669 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON_LIBS"
34670 CFLAGS="$CFLAGS $HILDON_CFLAGS"
34671 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
34672 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34673
34674 ac_hildon_lgpl=1
34675
34676 fi
34677
34678 if test "$ac_hildon_lgpl" = 0 ; then
34679
34680 pkg_failed=no
34681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34682 $as_echo_n "checking for HILDON2... " >&6; }
34683
34684 if test -n "$PKG_CONFIG"; then
34685 if test -n "$HILDON2_CFLAGS"; then
34686 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
34687 else
34688 if test -n "$PKG_CONFIG" && \
34689 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34690 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34691 ac_status=$?
34692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34693 test $ac_status = 0; }; then
34694 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34695 else
34696 pkg_failed=yes
34697 fi
34698 fi
34699 else
34700 pkg_failed=untried
34701 fi
34702 if test -n "$PKG_CONFIG"; then
34703 if test -n "$HILDON2_LIBS"; then
34704 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
34705 else
34706 if test -n "$PKG_CONFIG" && \
34707 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34708 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34709 ac_status=$?
34710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34711 test $ac_status = 0; }; then
34712 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34713 else
34714 pkg_failed=yes
34715 fi
34716 fi
34717 else
34718 pkg_failed=untried
34719 fi
34720
34721
34722
34723 if test $pkg_failed = yes; then
34724
34725 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34726 _pkg_short_errors_supported=yes
34727 else
34728 _pkg_short_errors_supported=no
34729 fi
34730 if test $_pkg_short_errors_supported = yes; then
34731 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34732 else
34733 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34734 fi
34735 # Put the nasty error message in config.log where it belongs
34736 echo "$HILDON2_PKG_ERRORS" >&5
34737
34738
34739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34740 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34741 wxUSE_LIBHILDON2="no"
34742
34743
34744 elif test $pkg_failed = untried; then
34745
34746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34747 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34748 wxUSE_LIBHILDON2="no"
34749
34750
34751 else
34752 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
34753 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
34754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34755 $as_echo "yes" >&6; }
34756
34757 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON2_LIBS"
34758 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
34759 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
34760 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34761
34762
34763 fi
34764 fi
34765 fi
34766 fi
34767
34768 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34769 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34770
34771 fi
34772
34773 if test "$wxUSE_STOPWATCH" = "yes"; then
34774 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34775
34776 fi
34777
34778 if test "$wxUSE_DATETIME" = "yes"; then
34779 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34780
34781 fi
34782
34783 if test "$wxUSE_FILE" = "yes"; then
34784 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34785
34786 fi
34787
34788 if test "$wxUSE_FFILE" = "yes"; then
34789 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34790
34791 fi
34792
34793 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34794 if test "$wxUSE_STREAMS" != yes; then
34795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34796 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34797 wxUSE_ARCHIVE_STREAMS=no
34798 else
34799 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34800
34801 fi
34802 fi
34803
34804 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34805 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34807 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34808 elif test "$wxUSE_ZLIB" = "no"; then
34809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34810 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34811 else
34812 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34813
34814 fi
34815 fi
34816
34817 if test "$wxUSE_TARSTREAM" = "yes"; then
34818 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34820 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34821 else
34822 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34823
34824 fi
34825 fi
34826
34827 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34828 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34829
34830 fi
34831
34832 if test "$wxUSE_FILESYSTEM" = "yes"; then
34833 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
34834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34835 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34836 wxUSE_FILESYSTEM=no
34837 else
34838 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34839
34840 fi
34841 fi
34842
34843 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34844 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34846 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34847 else
34848 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34849
34850 fi
34851 fi
34852
34853 if test "$wxUSE_FS_ZIP" = "yes"; then
34854 if test "$wxUSE_FS_ARCHIVE" != yes; then
34855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34856 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34857 else
34858 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34859
34860 fi
34861 fi
34862
34863 if test "$wxUSE_FSVOLUME" = "yes"; then
34864 $as_echo "#define wxUSE_FSVOLUME 1" >>confdefs.h
34865
34866 fi
34867
34868 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34869 if test "$USE_UNIX" != 1; then
34870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34871 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34872 wxUSE_ON_FATAL_EXCEPTION=no
34873 else
34874 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34875
34876 fi
34877 fi
34878
34879 if test "$wxUSE_STACKWALKER" = "yes"; then
34880 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34881
34882 fi
34883
34884 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34885 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34887 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34888 wxUSE_DEBUGREPORT=no
34889 else
34890 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34891
34892 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
34894 fi
34895 fi
34896 fi
34897
34898 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34899 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34900
34901 fi
34902
34903 if test "$wxUSE_BUSYINFO" = "yes"; then
34904 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34905
34906 fi
34907
34908 if test "$wxUSE_HOTKEY" = "yes"; then
34909 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34911 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34912 wxUSE_HOTKEY=no
34913 fi
34914 elif test "$wxUSE_HOTKEY" = "auto"; then
34915 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34916 wxUSE_HOTKEY=yes
34917 fi
34918 fi
34919 if test "$wxUSE_HOTKEY" = "yes"; then
34920 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34921
34922 fi
34923
34924 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34925 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34926
34927 fi
34928
34929 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34930 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34931
34932 fi
34933
34934 if test "$wxUSE_STD_STRING" = "yes"; then
34935 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34936
34937 fi
34938
34939 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34940 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34941
34942 fi
34943
34944 if test "$wxUSE_STDPATHS" = "yes"; then
34945 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34946
34947 fi
34948
34949 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34950 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34951
34952 fi
34953
34954 if test "$wxUSE_TEXTFILE" = "yes"; then
34955 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34957 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34958 else
34959 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34960
34961 fi
34962 fi
34963
34964 if test "$wxUSE_CONFIG" = "yes" ; then
34965 if test "$wxUSE_TEXTFILE" != "yes"; then
34966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34967 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34968 else
34969 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34970
34971 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34972
34973 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34974 fi
34975 fi
34976
34977 if test "$wxUSE_INTL" = "yes" ; then
34978 if test "$wxUSE_FILE" != "yes"; then
34979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34980 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34981 else
34982 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34983
34984 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34985 GUIDIST="$GUIDIST INTL_DIST"
34986 fi
34987 fi
34988
34989 if test "$wxUSE_XLOCALE" = "yes" ; then
34990 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34991
34992 ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34993 #include <locale.h>
34994 "
34995 if test "x$ac_cv_type_locale_t" = xyes; then :
34996
34997 cat >>confdefs.h <<_ACEOF
34998 #define HAVE_LOCALE_T 1
34999 _ACEOF
35000
35001
35002 fi
35003
35004 fi
35005
35006 if test "$wxUSE_LOG" = "yes"; then
35007 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
35008
35009
35010 if test "$wxUSE_LOGGUI" = "yes"; then
35011 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
35012
35013 fi
35014
35015 if test "$wxUSE_LOGWINDOW" = "yes"; then
35016 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
35017
35018 fi
35019
35020 if test "$wxUSE_LOGDIALOG" = "yes"; then
35021 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
35022
35023 fi
35024
35025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
35026 fi
35027
35028 if test "$wxUSE_LONGLONG" = "yes"; then
35029 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
35030
35031 fi
35032
35033 if test "$wxUSE_GEOMETRY" = "yes"; then
35034 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
35035
35036 fi
35037
35038 if test "$wxUSE_BASE64" = "yes"; then
35039 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
35040
35041 fi
35042
35043 if test "$wxUSE_STREAMS" = "yes" ; then
35044 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
35045
35046 fi
35047
35048 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35049 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
35050
35051 fi
35052
35053 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
35054 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
35055
35056 fi
35057
35058
35059 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
35060 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
35061
35062
35063 if test "$wxUSE_UNIX" = "yes"; then
35064 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
35065 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
35066
35067 fi
35068
35069 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
35070 for ac_header in sys/epoll.h
35071 do :
35072 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
35073 "
35074 if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
35075 cat >>confdefs.h <<_ACEOF
35076 #define HAVE_SYS_EPOLL_H 1
35077 _ACEOF
35078
35079 fi
35080
35081 done
35082
35083 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
35084 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
35085
35086 else
35087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
35088 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
35089 fi
35090 fi
35091 fi
35092 fi
35093
35094
35095 for ac_func in gettimeofday ftime
35096 do :
35097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35099 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
35100 cat >>confdefs.h <<_ACEOF
35101 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35102 _ACEOF
35103 break
35104 fi
35105 done
35106
35107
35108 if test "$ac_cv_func_gettimeofday" = "yes"; then
35109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
35110 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
35111 if ${wx_cv_func_gettimeofday_has_2_args+:} false; then :
35112 $as_echo_n "(cached) " >&6
35113 else
35114
35115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35116 /* end confdefs.h. */
35117
35118 #include <sys/time.h>
35119 #include <unistd.h>
35120
35121 int
35122 main ()
35123 {
35124
35125 struct timeval tv;
35126 gettimeofday(&tv, NULL);
35127
35128 ;
35129 return 0;
35130 }
35131 _ACEOF
35132 if ac_fn_c_try_compile "$LINENO"; then :
35133 wx_cv_func_gettimeofday_has_2_args=yes
35134 else
35135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35136 /* end confdefs.h. */
35137
35138 #include <sys/time.h>
35139 #include <unistd.h>
35140
35141 int
35142 main ()
35143 {
35144
35145 struct timeval tv;
35146 gettimeofday(&tv);
35147
35148 ;
35149 return 0;
35150 }
35151 _ACEOF
35152 if ac_fn_c_try_compile "$LINENO"; then :
35153 wx_cv_func_gettimeofday_has_2_args=no
35154 else
35155
35156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
35157 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35158 wx_cv_func_gettimeofday_has_2_args=unknown
35159
35160
35161 fi
35162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35163
35164 fi
35165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35166
35167 fi
35168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35169 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
35170
35171 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35172 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
35173
35174 fi
35175 fi
35176
35177 if test "$wxUSE_DATETIME" = "yes"; then
35178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
35179 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
35180 if ${wx_cv_var_timezone+:} false; then :
35181 $as_echo_n "(cached) " >&6
35182 else
35183
35184 ac_ext=cpp
35185 ac_cpp='$CXXCPP $CPPFLAGS'
35186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35189
35190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35191 /* end confdefs.h. */
35192
35193 #include <time.h>
35194
35195 int
35196 main ()
35197 {
35198
35199 int tz;
35200 tz = timezone;
35201
35202 ;
35203 return 0;
35204 }
35205 _ACEOF
35206 if ac_fn_cxx_try_compile "$LINENO"; then :
35207
35208 wx_cv_var_timezone=timezone
35209
35210 else
35211
35212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35213 /* end confdefs.h. */
35214
35215 #include <time.h>
35216
35217 int
35218 main ()
35219 {
35220
35221 int tz;
35222 tz = _timezone;
35223
35224 ;
35225 return 0;
35226 }
35227 _ACEOF
35228 if ac_fn_cxx_try_compile "$LINENO"; then :
35229
35230 wx_cv_var_timezone=_timezone
35231
35232 else
35233
35234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35235 /* end confdefs.h. */
35236
35237 #include <time.h>
35238
35239 int
35240 main ()
35241 {
35242
35243 int tz;
35244 tz = __timezone;
35245
35246 ;
35247 return 0;
35248 }
35249 _ACEOF
35250 if ac_fn_cxx_try_compile "$LINENO"; then :
35251
35252 wx_cv_var_timezone=__timezone
35253
35254 else
35255
35256 if test "$USE_DOS" = 0 ; then
35257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
35258 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
35259 fi
35260
35261
35262 fi
35263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35264
35265
35266 fi
35267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35268
35269
35270 fi
35271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35272 ac_ext=c
35273 ac_cpp='$CPP $CPPFLAGS'
35274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35277
35278
35279
35280 fi
35281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
35282 $as_echo "$wx_cv_var_timezone" >&6; }
35283
35284 if test "x$wx_cv_var_timezone" != x ; then
35285 cat >>confdefs.h <<_ACEOF
35286 #define WX_TIMEZONE $wx_cv_var_timezone
35287 _ACEOF
35288
35289 fi
35290
35291 for ac_func in localtime
35292 do :
35293 ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
35294 if test "x$ac_cv_func_localtime" = xyes; then :
35295 cat >>confdefs.h <<_ACEOF
35296 #define HAVE_LOCALTIME 1
35297 _ACEOF
35298
35299 fi
35300 done
35301
35302
35303 if test "$ac_cv_func_localtime" = "yes"; then
35304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
35305 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
35306 if ${wx_cv_struct_tm_has_gmtoff+:} false; then :
35307 $as_echo_n "(cached) " >&6
35308 else
35309
35310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35311 /* end confdefs.h. */
35312
35313 #include <time.h>
35314
35315 int
35316 main ()
35317 {
35318
35319 struct tm tm;
35320 tm.tm_gmtoff++;
35321
35322 ;
35323 return 0;
35324 }
35325 _ACEOF
35326 if ac_fn_c_try_compile "$LINENO"; then :
35327
35328 wx_cv_struct_tm_has_gmtoff=yes
35329
35330 else
35331 wx_cv_struct_tm_has_gmtoff=no
35332
35333 fi
35334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35335
35336 fi
35337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35338 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35339 fi
35340
35341 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35342 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35343
35344 fi
35345
35346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35347 fi
35348
35349
35350 for ac_func in setpriority
35351 do :
35352 ac_fn_c_check_func "$LINENO" "setpriority" "ac_cv_func_setpriority"
35353 if test "x$ac_cv_func_setpriority" = xyes; then :
35354 cat >>confdefs.h <<_ACEOF
35355 #define HAVE_SETPRIORITY 1
35356 _ACEOF
35357
35358 fi
35359 done
35360
35361
35362
35363 if test "$wxUSE_SOCKETS" = "yes"; then
35364 if test "$TOOLKIT" != "MSW"; then
35365 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
35366 if test "x$ac_cv_func_socket" = xyes; then :
35367
35368 else
35369
35370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35371 $as_echo_n "checking for socket in -lsocket... " >&6; }
35372 if ${ac_cv_lib_socket_socket+:} false; then :
35373 $as_echo_n "(cached) " >&6
35374 else
35375 ac_check_lib_save_LIBS=$LIBS
35376 LIBS="-lsocket $LIBS"
35377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35378 /* end confdefs.h. */
35379
35380 /* Override any GCC internal prototype to avoid an error.
35381 Use char because int might match the return type of a GCC
35382 builtin and then its argument prototype would still apply. */
35383 #ifdef __cplusplus
35384 extern "C"
35385 #endif
35386 char socket ();
35387 int
35388 main ()
35389 {
35390 return socket ();
35391 ;
35392 return 0;
35393 }
35394 _ACEOF
35395 if ac_fn_c_try_link "$LINENO"; then :
35396 ac_cv_lib_socket_socket=yes
35397 else
35398 ac_cv_lib_socket_socket=no
35399 fi
35400 rm -f core conftest.err conftest.$ac_objext \
35401 conftest$ac_exeext conftest.$ac_ext
35402 LIBS=$ac_check_lib_save_LIBS
35403 fi
35404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35405 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35406 if test "x$ac_cv_lib_socket_socket" = xyes; then :
35407 if test "$INET_LINK" != " -lsocket"; then
35408 INET_LINK="$INET_LINK -lsocket"
35409 fi
35410 else
35411
35412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35413 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35414 wxUSE_SOCKETS=no
35415
35416
35417 fi
35418
35419
35420
35421 fi
35422
35423 fi
35424 fi
35425
35426 if test "$wxUSE_SOCKETS" = "yes" ; then
35427 if test "$TOOLKIT" != "MSW"; then
35428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35429 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35430 if ${wx_cv_type_getsockname3+:} false; then :
35431 $as_echo_n "(cached) " >&6
35432 else
35433
35434 ac_ext=cpp
35435 ac_cpp='$CXXCPP $CPPFLAGS'
35436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35439
35440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35441 /* end confdefs.h. */
35442
35443 #include <sys/types.h>
35444 #include <sys/socket.h>
35445
35446 int
35447 main ()
35448 {
35449
35450 socklen_t len;
35451 getsockname(0, 0, &len);
35452
35453 ;
35454 return 0;
35455 }
35456 _ACEOF
35457 if ac_fn_cxx_try_compile "$LINENO"; then :
35458 wx_cv_type_getsockname3=socklen_t
35459 else
35460
35461 CFLAGS_OLD="$CFLAGS"
35462 if test "$GCC" = yes ; then
35463 CFLAGS="-Werror $CFLAGS"
35464 fi
35465
35466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35467 /* end confdefs.h. */
35468
35469 #include <sys/types.h>
35470 #include <sys/socket.h>
35471
35472 int
35473 main ()
35474 {
35475
35476 size_t len;
35477 getsockname(0, 0, &len);
35478
35479 ;
35480 return 0;
35481 }
35482 _ACEOF
35483 if ac_fn_cxx_try_compile "$LINENO"; then :
35484 wx_cv_type_getsockname3=size_t
35485 else
35486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35487 /* end confdefs.h. */
35488
35489 #include <sys/types.h>
35490 #include <sys/socket.h>
35491
35492 int
35493 main ()
35494 {
35495
35496 int len;
35497 getsockname(0, 0, &len);
35498
35499 ;
35500 return 0;
35501 }
35502 _ACEOF
35503 if ac_fn_cxx_try_compile "$LINENO"; then :
35504 wx_cv_type_getsockname3=int
35505 else
35506 wx_cv_type_getsockname3=unknown
35507
35508 fi
35509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35510
35511 fi
35512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35513
35514 CFLAGS="$CFLAGS_OLD"
35515
35516
35517 fi
35518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35519 ac_ext=c
35520 ac_cpp='$CPP $CPPFLAGS'
35521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35524
35525
35526 fi
35527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35528 $as_echo "$wx_cv_type_getsockname3" >&6; }
35529
35530 if test "$wx_cv_type_getsockname3" = "unknown"; then
35531 wxUSE_SOCKETS=no
35532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35533 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35534 else
35535 cat >>confdefs.h <<_ACEOF
35536 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35537 _ACEOF
35538
35539 fi
35540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35541 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35542 if ${wx_cv_type_getsockopt5+:} false; then :
35543 $as_echo_n "(cached) " >&6
35544 else
35545
35546 ac_ext=cpp
35547 ac_cpp='$CXXCPP $CPPFLAGS'
35548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35551
35552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35553 /* end confdefs.h. */
35554
35555 #include <sys/types.h>
35556 #include <sys/socket.h>
35557
35558 int
35559 main ()
35560 {
35561
35562 socklen_t len;
35563 getsockopt(0, 0, 0, 0, &len);
35564
35565 ;
35566 return 0;
35567 }
35568 _ACEOF
35569 if ac_fn_cxx_try_compile "$LINENO"; then :
35570 wx_cv_type_getsockopt5=socklen_t
35571 else
35572
35573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35574 /* end confdefs.h. */
35575
35576 #include <sys/types.h>
35577 #include <sys/socket.h>
35578
35579 int
35580 main ()
35581 {
35582
35583 size_t len;
35584 getsockopt(0, 0, 0, 0, &len);
35585
35586 ;
35587 return 0;
35588 }
35589 _ACEOF
35590 if ac_fn_cxx_try_compile "$LINENO"; then :
35591 wx_cv_type_getsockopt5=size_t
35592 else
35593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35594 /* end confdefs.h. */
35595
35596 #include <sys/types.h>
35597 #include <sys/socket.h>
35598
35599 int
35600 main ()
35601 {
35602
35603 int len;
35604 getsockopt(0, 0, 0, 0, &len);
35605
35606 ;
35607 return 0;
35608 }
35609 _ACEOF
35610 if ac_fn_cxx_try_compile "$LINENO"; then :
35611 wx_cv_type_getsockopt5=int
35612 else
35613 wx_cv_type_getsockopt5=unknown
35614
35615 fi
35616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35617
35618 fi
35619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35620
35621
35622 fi
35623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35624 ac_ext=c
35625 ac_cpp='$CPP $CPPFLAGS'
35626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35629
35630
35631 fi
35632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35633 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35634
35635 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35636 wxUSE_SOCKETS=no
35637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35638 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35639 else
35640 cat >>confdefs.h <<_ACEOF
35641 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35642 _ACEOF
35643
35644 fi
35645 fi
35646 fi
35647
35648 if test "$wxUSE_SOCKETS" = "yes" ; then
35649 if test "$wxUSE_IPV6" = "yes"; then
35650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35651 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35652 if ${wx_cv_type_sockaddr_in6+:} false; then :
35653 $as_echo_n "(cached) " >&6
35654 else
35655
35656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35657 /* end confdefs.h. */
35658
35659 #include <sys/types.h>
35660 #include <sys/socket.h>
35661 #include <netinet/in.h>
35662
35663 int
35664 main ()
35665 {
35666
35667 struct sockaddr_in6 sa6;
35668
35669 ;
35670 return 0;
35671 }
35672 _ACEOF
35673 if ac_fn_c_try_compile "$LINENO"; then :
35674 wx_cv_type_sockaddr_in6=yes
35675 else
35676 wx_cv_type_sockaddr_in6=no
35677
35678 fi
35679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35680
35681
35682 fi
35683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35684 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35685
35686 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35687 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35688
35689 else
35690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35691 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35692 fi
35693 fi
35694
35695 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35696
35697 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35698 fi
35699
35700 if test "$wxUSE_PROTOCOL" = "yes"; then
35701 if test "$wxUSE_SOCKETS" != "yes"; then
35702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35703 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35704 wxUSE_PROTOCOL=no
35705 fi
35706 fi
35707
35708 if test "$wxUSE_PROTOCOL" = "yes"; then
35709 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35710
35711
35712 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35713 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35714
35715 fi
35716 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35717 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35718
35719 fi
35720 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35721 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35722
35723 fi
35724 else
35725 if test "$wxUSE_FS_INET" = "yes"; then
35726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35727 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35728 wxUSE_FS_INET="no"
35729 fi
35730 fi
35731
35732 if test "$wxUSE_URL" = "yes"; then
35733 if test "$wxUSE_PROTOCOL" != "yes"; then
35734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35735 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35736 wxUSE_URL=no
35737 fi
35738 if test "$wxUSE_URL" = "yes"; then
35739 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35740
35741 fi
35742 fi
35743
35744 if test "$wxUSE_VARIANT" = "yes"; then
35745 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35746
35747 fi
35748
35749 if test "$wxUSE_FS_INET" = "yes"; then
35750 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35751
35752 fi
35753
35754
35755 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35756 wxUSE_JOYSTICK=no
35757
35758 if test "$TOOLKIT" = "MSW"; then
35759 wxUSE_JOYSTICK=yes
35760
35761 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35762 if test "$USE_DARWIN" = 1; then
35763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35764 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35765 ac_ext=cpp
35766 ac_cpp='$CXXCPP $CPPFLAGS'
35767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35770
35771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35772 /* end confdefs.h. */
35773 #include <IOKit/hid/IOHIDLib.h>
35774 int
35775 main ()
35776 {
35777 IOHIDQueueInterface *qi = NULL;
35778 IOHIDCallbackFunction cb = NULL;
35779 qi->setEventCallout(NULL, cb, NULL, NULL);
35780 ;
35781 return 0;
35782 }
35783 _ACEOF
35784 if ac_fn_cxx_try_compile "$LINENO"; then :
35785 wxUSE_JOYSTICK=yes
35786
35787 fi
35788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35789 ac_ext=c
35790 ac_cpp='$CPP $CPPFLAGS'
35791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35794
35795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35796 $as_echo "$wxUSE_JOYSTICK" >&6; }
35797 fi
35798
35799 else
35800 for ac_header in linux/joystick.h
35801 do :
35802 ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35803 "
35804 if test "x$ac_cv_header_linux_joystick_h" = xyes; then :
35805 cat >>confdefs.h <<_ACEOF
35806 #define HAVE_LINUX_JOYSTICK_H 1
35807 _ACEOF
35808 wxUSE_JOYSTICK=yes
35809 fi
35810
35811 done
35812
35813 fi
35814
35815 if test "$wxUSE_JOYSTICK" = "yes"; then
35816 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35817
35818 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35819 else
35820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35821 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35822 fi
35823 fi
35824
35825
35826
35827 if test "$wxUSE_FONTENUM" = "yes" ; then
35828 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35829
35830 fi
35831
35832 if test "$wxUSE_FONTMAP" = "yes" ; then
35833 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35834
35835 fi
35836
35837 if test "$wxUSE_UNICODE" = "yes" ; then
35838 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35839
35840
35841 if test "$USE_WIN32" != 1; then
35842 wxUSE_UNICODE_MSLU=no
35843 fi
35844
35845 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35847 $as_echo_n "checking for main in -lunicows... " >&6; }
35848 if ${ac_cv_lib_unicows_main+:} false; then :
35849 $as_echo_n "(cached) " >&6
35850 else
35851 ac_check_lib_save_LIBS=$LIBS
35852 LIBS="-lunicows $LIBS"
35853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35854 /* end confdefs.h. */
35855
35856
35857 int
35858 main ()
35859 {
35860 return main ();
35861 ;
35862 return 0;
35863 }
35864 _ACEOF
35865 if ac_fn_c_try_link "$LINENO"; then :
35866 ac_cv_lib_unicows_main=yes
35867 else
35868 ac_cv_lib_unicows_main=no
35869 fi
35870 rm -f core conftest.err conftest.$ac_objext \
35871 conftest$ac_exeext conftest.$ac_ext
35872 LIBS=$ac_check_lib_save_LIBS
35873 fi
35874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35875 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35876 if test "x$ac_cv_lib_unicows_main" = xyes; then :
35877
35878 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35879
35880
35881 else
35882
35883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35884 Applications will only run on Windows NT/2000/XP!" >&5
35885 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35886 Applications will only run on Windows NT/2000/XP!" >&2;}
35887 wxUSE_UNICODE_MSLU=no
35888
35889 fi
35890
35891 fi
35892 fi
35893
35894 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35895 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35896
35897
35898 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35899 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35900
35901 fi
35902 fi
35903
35904
35905 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35906 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35907
35908 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35909 fi
35910
35911 if test "$wxUSE_MDI" = "yes"; then
35912 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35913
35914
35915 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35916 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35917
35918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35919 fi
35920 fi
35921
35922 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35923 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35924
35925 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35926 fi
35927
35928 if test "$wxUSE_HELP" = "yes"; then
35929 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35930
35931 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35932
35933 if test "$wxUSE_MSW" = 1; then
35934 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35935 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35936
35937 fi
35938 fi
35939
35940 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35941 if test "$wxUSE_HTML" = "yes"; then
35942 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35943
35944 else
35945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35946 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35947 wxUSE_WXHTML_HELP=no
35948 fi
35949 fi
35950 fi
35951
35952 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35953 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35954
35955 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35956 fi
35957
35958 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35959 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35960
35961 fi
35962
35963 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35964
35965
35966 if test "$wxUSE_SVG" = "yes"; then
35967 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35968
35969 fi
35970
35971
35972 if test "$wxUSE_METAFILE" = "yes"; then
35973 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35975 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35976 wxUSE_METAFILE=no
35977 fi
35978 elif test "$wxUSE_METAFILE" = "auto"; then
35979 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35980 wxUSE_METAFILE=yes
35981 fi
35982 fi
35983
35984 if test "$wxUSE_METAFILE" = "yes"; then
35985 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35986
35987 if test "$wxUSE_MSW" = 1; then
35988 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35989
35990 fi
35991 fi
35992
35993
35994 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
35995 -o "$wxUSE_CLIPBOARD" = "yes" \
35996 -o "$wxUSE_OLE" = "yes" \
35997 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
35998 ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35999 "
36000 if test "x$ac_cv_header_ole2_h" = xyes; then :
36001
36002 fi
36003
36004
36005
36006 if test "$ac_cv_header_ole2_h" = "yes" ; then
36007 if test "$GCC" = yes ; then
36008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
36009 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
36010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36011 /* end confdefs.h. */
36012 #include <windows.h>
36013 #include <ole2.h>
36014 int
36015 main ()
36016 {
36017
36018 ;
36019 return 0;
36020 }
36021 _ACEOF
36022 if ac_fn_c_try_compile "$LINENO"; then :
36023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36024 $as_echo "no" >&6; }
36025 else
36026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36027 $as_echo "yes" >&6; }
36028 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
36029 fi
36030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36031 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36032 if test "$wxUSE_OLE" = "yes" ; then
36033 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
36034
36035 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
36036
36037 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
36038
36039 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
36040 fi
36041 fi
36042
36043 if test "$wxUSE_DATAOBJ" = "yes" ; then
36044 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36045
36046 fi
36047 else
36048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
36049 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36050
36051 wxUSE_CLIPBOARD=no
36052 wxUSE_DRAG_AND_DROP=no
36053 wxUSE_DATAOBJ=no
36054 wxUSE_OLE=no
36055 fi
36056 fi
36057
36058 if test "$wxUSE_IPC" = "yes"; then
36059 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
36060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36061 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36062 wxUSE_IPC=no
36063 fi
36064
36065 if test "$wxUSE_IPC" = "yes"; then
36066 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
36067
36068 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
36069 fi
36070 fi
36071
36072 if test "$wxUSE_DATAOBJ" = "yes"; then
36073 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36074
36075 else
36076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
36077 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
36078 wxUSE_CLIPBOARD=no
36079 wxUSE_DRAG_AND_DROP=no
36080 fi
36081
36082 if test "$wxUSE_CLIPBOARD" = "yes"; then
36083 if test "$wxUSE_DFB" = 1; then
36084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
36085 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
36086 wxUSE_CLIPBOARD=no
36087 fi
36088
36089 if test "$wxUSE_CLIPBOARD" = "yes"; then
36090 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
36091
36092 fi
36093 fi
36094
36095 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36096 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
36097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
36098 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
36099 wxUSE_DRAG_AND_DROP=no
36100 fi
36101
36102 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36103 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
36104
36105 fi
36106
36107 fi
36108
36109 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36110 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36111 fi
36112
36113 if test "$wxUSE_CLIPBOARD" = "yes"; then
36114 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
36115 fi
36116
36117 if test "$wxUSE_SPLINES" = "yes" ; then
36118 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
36119
36120 fi
36121
36122 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
36123 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
36124
36125 fi
36126
36127 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
36128 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
36129
36130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
36131 fi
36132
36133 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
36134 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
36135
36136 fi
36137
36138
36139 USES_CONTROLS=0
36140 if test "$wxUSE_CONTROLS" = "yes"; then
36141 USES_CONTROLS=1
36142 fi
36143
36144 if test "$wxUSE_MARKUP" = "yes"; then
36145 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
36146
36147 fi
36148
36149 if test "$wxUSE_ACCEL" = "yes"; then
36150 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
36151
36152 USES_CONTROLS=1
36153 fi
36154
36155 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
36156 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
36157
36158 USES_CONTROLS=1
36159 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
36160 fi
36161
36162 if test "$wxUSE_BANNERWINDOW" = "yes"; then
36163 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
36164
36165 fi
36166
36167 if test "$wxUSE_BUTTON" = "yes"; then
36168 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
36169
36170 USES_CONTROLS=1
36171 fi
36172
36173 if test "$wxUSE_BMPBUTTON" = "yes"; then
36174 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
36175
36176 USES_CONTROLS=1
36177 fi
36178
36179 if test "$wxUSE_CALCTRL" = "yes"; then
36180 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
36181
36182 USES_CONTROLS=1
36183 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36184 fi
36185
36186 if test "$wxUSE_CARET" = "yes"; then
36187 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
36188
36189 USES_CONTROLS=1
36190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36191 fi
36192
36193 if test "$wxUSE_COLLPANE" = "yes"; then
36194 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
36195
36196 USES_CONTROLS=1
36197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
36198 fi
36199
36200 if test "$wxUSE_COMBOBOX" = "yes"; then
36201 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
36202
36203 USES_CONTROLS=1
36204 fi
36205
36206 if test "$wxUSE_COMBOCTRL" = "yes"; then
36207 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
36208
36209 USES_CONTROLS=1
36210 fi
36211
36212 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
36213 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
36214
36215 USES_CONTROLS=1
36216 fi
36217
36218 if test "$wxUSE_CHOICE" = "yes"; then
36219 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
36220
36221 USES_CONTROLS=1
36222 fi
36223
36224 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36225 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
36226
36227 USES_CONTROLS=1
36228 fi
36229
36230 if test "$wxUSE_CHECKBOX" = "yes"; then
36231 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
36232
36233 USES_CONTROLS=1
36234 fi
36235
36236 if test "$wxUSE_CHECKLST" = "yes"; then
36237 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
36238
36239 USES_CONTROLS=1
36240 fi
36241
36242 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
36243 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
36244
36245 USES_CONTROLS=1
36246 fi
36247
36248 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
36249 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
36250
36251 USES_CONTROLS=1
36252 fi
36253
36254 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
36255 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
36256
36257 USES_CONTROLS=1
36258 fi
36259
36260 if test "$wxUSE_FILECTRL" = "yes"; then
36261 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
36262
36263 USES_CONTROLS=1
36264 fi
36265
36266 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
36267 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
36268
36269 USES_CONTROLS=1
36270 fi
36271
36272 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
36273 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
36274
36275 USES_CONTROLS=1
36276 fi
36277
36278 if test "$wxUSE_DISPLAY" = "yes"; then
36279 if test "$wxUSE_DFB" = 1; then
36280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
36281 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
36282 wxUSE_DISPLAY=no
36283 else
36284 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
36285
36286 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36287 fi
36288 fi
36289
36290 if test "$wxUSE_DETECT_SM" = "yes"; then
36291 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
36292
36293 fi
36294
36295 if test "$wxUSE_GAUGE" = "yes"; then
36296 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
36297
36298 USES_CONTROLS=1
36299 fi
36300
36301 if test "$wxUSE_GRID" = "yes"; then
36302 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
36303
36304 USES_CONTROLS=1
36305 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36306 fi
36307
36308 if test "$wxUSE_HEADERCTRL" = "yes"; then
36309 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
36310
36311 USES_CONTROLS=1
36312 fi
36313
36314 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
36315 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
36316
36317 USES_CONTROLS=1
36318 fi
36319
36320 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
36321 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
36322
36323 USES_CONTROLS=1
36324 fi
36325
36326 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
36327 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
36328
36329 USES_CONTROLS=1
36330 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
36331 fi
36332
36333 if test "$wxUSE_IMAGLIST" = "yes"; then
36334 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
36335
36336 fi
36337
36338 if test "$wxUSE_INFOBAR" = "yes"; then
36339 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36340
36341 fi
36342
36343 if test "$wxUSE_LISTBOOK" = "yes"; then
36344 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36345
36346 USES_CONTROLS=1
36347 fi
36348
36349 if test "$wxUSE_LISTBOX" = "yes"; then
36350 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36351
36352 USES_CONTROLS=1
36353 fi
36354
36355 if test "$wxUSE_LISTCTRL" = "yes"; then
36356 if test "$wxUSE_IMAGLIST" = "yes"; then
36357 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36358
36359 USES_CONTROLS=1
36360 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36361 else
36362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36363 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36364 fi
36365 fi
36366
36367 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36368 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36369
36370 USES_CONTROLS=1
36371 fi
36372
36373 if test "$wxUSE_NOTEBOOK" = "yes"; then
36374 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36375
36376 USES_CONTROLS=1
36377 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36378 fi
36379
36380 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36381 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36382
36383 fi
36384
36385 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36386 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36387
36388 USES_CONTROLS=1
36389 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
36390 fi
36391
36392 if test "$wxUSE_RADIOBOX" = "yes"; then
36393 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36394
36395 USES_CONTROLS=1
36396 fi
36397
36398 if test "$wxUSE_RADIOBTN" = "yes"; then
36399 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36400
36401 USES_CONTROLS=1
36402 fi
36403
36404 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36405 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36406
36407 fi
36408
36409 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36410 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36411
36412 fi
36413
36414 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36415 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36416
36417 fi
36418
36419 if test "$wxUSE_SASH" = "yes"; then
36420 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36421
36422 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36423 fi
36424
36425 if test "$wxUSE_SCROLLBAR" = "yes"; then
36426 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36427
36428 USES_CONTROLS=1
36429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
36430 fi
36431
36432 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36433 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36434
36435 USES_CONTROLS=1
36436 fi
36437
36438 if test "$wxUSE_SLIDER" = "yes"; then
36439 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36440
36441 USES_CONTROLS=1
36442 fi
36443
36444 if test "$wxUSE_SPINBTN" = "yes"; then
36445 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36446
36447 USES_CONTROLS=1
36448 fi
36449
36450 if test "$wxUSE_SPINCTRL" = "yes"; then
36451 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36452
36453 USES_CONTROLS=1
36454 fi
36455
36456 if test "$wxUSE_SPLITTER" = "yes"; then
36457 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36458
36459 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36460 fi
36461
36462 if test "$wxUSE_STATBMP" = "yes"; then
36463 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36464
36465 USES_CONTROLS=1
36466 fi
36467
36468 if test "$wxUSE_STATBOX" = "yes"; then
36469 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36470
36471 USES_CONTROLS=1
36472 fi
36473
36474 if test "$wxUSE_STATTEXT" = "yes"; then
36475 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36476
36477 USES_CONTROLS=1
36478 fi
36479
36480 if test "$wxUSE_STATLINE" = "yes"; then
36481 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36482
36483 USES_CONTROLS=1
36484 fi
36485
36486 if test "$wxUSE_STATUSBAR" = "yes"; then
36487 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36488
36489 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36490
36491 USES_CONTROLS=1
36492
36493 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36494 fi
36495
36496 if test "$wxUSE_TEXTCTRL" = "yes"; then
36497 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36498
36499 USES_CONTROLS=1
36500 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36501
36502 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36503
36504 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36505
36506 fi
36507
36508 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36509 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36510
36511 USES_CONTROLS=1
36512 fi
36513
36514 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36515 if test "$wxUSE_OLD_COCOA" = 1 ; then
36516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36517 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36518 wxUSE_TOGGLEBTN=no
36519 fi
36520
36521 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36522 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36523
36524 USES_CONTROLS=1
36525 fi
36526 fi
36527
36528 if test "$wxUSE_TOOLBAR" = "yes"; then
36529 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36530
36531 USES_CONTROLS=1
36532
36533 if test "$wxUSE_UNIVERSAL" = "yes"; then
36534 wxUSE_TOOLBAR_NATIVE="no"
36535 else
36536 wxUSE_TOOLBAR_NATIVE="yes"
36537 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36538
36539 fi
36540
36541 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36542 fi
36543
36544 if test "$wxUSE_TOOLTIPS" = "yes"; then
36545 if test "$wxUSE_MOTIF" = 1; then
36546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36547 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36548 else
36549 if test "$wxUSE_UNIVERSAL" = "yes"; then
36550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36551 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36552 else
36553 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36554
36555 fi
36556 fi
36557 fi
36558
36559 if test "$wxUSE_TREEBOOK" = "yes"; then
36560 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36561
36562 USES_CONTROLS=1
36563 fi
36564
36565 if test "$wxUSE_TOOLBOOK" = "yes"; then
36566 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36567
36568 USES_CONTROLS=1
36569 fi
36570
36571 if test "$wxUSE_TREECTRL" = "yes"; then
36572 if test "$wxUSE_IMAGLIST" = "yes"; then
36573 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36574
36575 USES_CONTROLS=1
36576 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36577 else
36578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36579 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36580 fi
36581 fi
36582
36583 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36584 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36585
36586 USES_CONTROLS=1
36587 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
36588 fi
36589
36590 if test "$wxUSE_POPUPWIN" = "yes"; then
36591 if test "$wxUSE_OLD_COCOA" = 1 ; then
36592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36593 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36594 else
36595 if test "$wxUSE_PM" = 1; then
36596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36597 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36598 else
36599 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36600
36601 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
36602
36603 USES_CONTROLS=1
36604 fi
36605 fi
36606 fi
36607
36608 if test "$wxUSE_PREFERENCES_EDITOR" = "yes"; then
36609 $as_echo "#define wxUSE_PREFERENCES_EDITOR 1" >>confdefs.h
36610
36611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS prefseditor"
36612 fi
36613
36614 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36615 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36617 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36618 else
36619 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36620
36621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
36622 fi
36623 fi
36624
36625 if test "$wxUSE_TIPWINDOW" = "yes"; then
36626 if test "$wxUSE_PM" = 1; then
36627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36628 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36629 else
36630 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36631
36632 fi
36633 fi
36634
36635 if test "$USES_CONTROLS" = 1; then
36636 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36637
36638 fi
36639
36640
36641 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36642 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36643
36644 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36645 fi
36646
36647 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36648 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36649
36650 fi
36651
36652 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36653 if test "$wxUSE_GTK" != 1; then
36654 if test "$wxUSE_LIBPNG" != no -a \
36655 "$wxUSE_IMAGE" = yes -a \
36656 "$wxUSE_STREAMS" = yes; then
36657 wxUSE_ARTPROVIDER_TANGO="yes"
36658 fi
36659 fi
36660 fi
36661
36662 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36663 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36664
36665 fi
36666
36667 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36668 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36669
36670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36671 fi
36672
36673 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36674 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36676 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36677 else
36678 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36679
36680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36681 fi
36682 fi
36683
36684 USE_HTML=0
36685 if test "$wxUSE_HTML" = "yes"; then
36686 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36687
36688 USE_HTML=1
36689 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36690 fi
36691 if test "$wxUSE_WEBKIT" = "yes"; then
36692 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36693 old_CPPFLAGS="$CPPFLAGS"
36694 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36695 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36696 #include <Carbon/Carbon.h>
36697 #include <WebKit/WebKit.h>
36698
36699 "
36700 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36701
36702 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36703
36704 WEBKIT_LINK="-framework WebKit"
36705
36706 else
36707
36708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36709 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36710 wxUSE_WEBKIT=no
36711
36712 fi
36713
36714
36715 CPPFLAGS="$old_CPPFLAGS"
36716 elif test "$wxUSE_OLD_COCOA" = 1; then
36717 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36718
36719 else
36720 wxUSE_WEBKIT=no
36721 fi
36722 if test "$wxUSE_WEBKIT" = "yes"; then
36723 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36724 fi
36725 fi
36726
36727 USE_XRC=0
36728 if test "$wxUSE_XRC" = "yes"; then
36729 if test "$wxUSE_XML" != "yes"; then
36730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36731 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36732 wxUSE_XRC=no
36733 else
36734 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36735
36736 USE_XRC=1
36737 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
36738 fi
36739 fi
36740
36741 USE_AUI=0
36742 if test "$wxUSE_AUI" = "yes"; then
36743 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36744
36745 USE_AUI=1
36746 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
36747 fi
36748
36749 USE_PROPGRID=0
36750 if test "$wxUSE_PROPGRID" = "yes"; then
36751 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36752
36753 USE_PROPGRID=1
36754 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
36755 fi
36756
36757 USE_RIBBON=0
36758 if test "$wxUSE_RIBBON" = "yes"; then
36759 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36760
36761 USE_RIBBON=1
36762 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
36763 fi
36764
36765 USE_STC=0
36766 if test "$wxUSE_STC" = "yes"; then
36767 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36768
36769 USE_STC=1
36770 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
36771
36772 # Extract the first word of "python", so it can be a program name with args.
36773 set dummy python; ac_word=$2
36774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36775 $as_echo_n "checking for $ac_word... " >&6; }
36776 if ${ac_cv_path_PYTHON+:} false; then :
36777 $as_echo_n "(cached) " >&6
36778 else
36779 case $PYTHON in
36780 [\\/]* | ?:[\\/]*)
36781 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
36782 ;;
36783 *)
36784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36785 for as_dir in $PATH
36786 do
36787 IFS=$as_save_IFS
36788 test -z "$as_dir" && as_dir=.
36789 for ac_exec_ext in '' $ac_executable_extensions; do
36790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36791 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
36792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36793 break 2
36794 fi
36795 done
36796 done
36797 IFS=$as_save_IFS
36798
36799 ;;
36800 esac
36801 fi
36802 PYTHON=$ac_cv_path_PYTHON
36803 if test -n "$PYTHON"; then
36804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36805 $as_echo "$PYTHON" >&6; }
36806 else
36807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36808 $as_echo "no" >&6; }
36809 fi
36810
36811
36812 if test "x$PYTHON" = "x"; then
36813 COND_PYTHON="#"
36814 fi
36815
36816 fi
36817
36818 if test "$wxUSE_MENUS" = "yes"; then
36819 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36820
36821 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36822 fi
36823
36824 if test "$wxUSE_MIMETYPE" = "yes"; then
36825 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36826
36827 fi
36828
36829 if test "$wxUSE_MINIFRAME" = "yes"; then
36830 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36831
36832 fi
36833
36834 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36835 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36836
36837 fi
36838
36839 if test "$wxUSE_TASKBARICON" = "yes"; then
36840 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36841
36842 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36843
36844 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36845 fi
36846
36847
36848 if test "$wxUSE_VALIDATORS" = "yes"; then
36849 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36850
36851 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36852 fi
36853
36854 if test "$wxUSE_PALETTE" = "yes" ; then
36855 if test "$wxUSE_DFB" = 1; then
36856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36857 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36858 wxUSE_PALETTE=no
36859 else
36860 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36861
36862 fi
36863 fi
36864
36865 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36866 LIBS=" -lunicows $LIBS"
36867 fi
36868
36869 USE_RICHTEXT=0
36870 if test "$wxUSE_RICHTEXT" = "yes"; then
36871 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36872
36873 USE_RICHTEXT=1
36874 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
36875 fi
36876
36877 if test "$wxUSE_WEBVIEW" = "yes"; then
36878 USE_WEBVIEW_WEBKIT=0
36879 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36880 if test "$wxUSE_GTK" = 1; then
36881 webkitgtk=webkit-1.0
36882 if test "$WXGTK3" = 1; then
36883 webkitgtk=webkitgtk-3.0
36884 fi
36885
36886 pkg_failed=no
36887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36888 $as_echo_n "checking for WEBKIT... " >&6; }
36889
36890 if test -n "$PKG_CONFIG"; then
36891 if test -n "$WEBKIT_CFLAGS"; then
36892 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
36893 else
36894 if test -n "$PKG_CONFIG" && \
36895 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36896 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36897 ac_status=$?
36898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36899 test $ac_status = 0; }; then
36900 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36901 else
36902 pkg_failed=yes
36903 fi
36904 fi
36905 else
36906 pkg_failed=untried
36907 fi
36908 if test -n "$PKG_CONFIG"; then
36909 if test -n "$WEBKIT_LIBS"; then
36910 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
36911 else
36912 if test -n "$PKG_CONFIG" && \
36913 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36914 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36915 ac_status=$?
36916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36917 test $ac_status = 0; }; then
36918 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36919 else
36920 pkg_failed=yes
36921 fi
36922 fi
36923 else
36924 pkg_failed=untried
36925 fi
36926
36927
36928
36929 if test $pkg_failed = yes; then
36930
36931 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36932 _pkg_short_errors_supported=yes
36933 else
36934 _pkg_short_errors_supported=no
36935 fi
36936 if test $_pkg_short_errors_supported = yes; then
36937 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36938 else
36939 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36940 fi
36941 # Put the nasty error message in config.log where it belongs
36942 echo "$WEBKIT_PKG_ERRORS" >&5
36943
36944
36945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36946 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36947
36948 elif test $pkg_failed = untried; then
36949
36950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36951 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36952
36953 else
36954 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
36955 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
36956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36957 $as_echo "yes" >&6; }
36958
36959 USE_WEBVIEW_WEBKIT=1
36960 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
36961 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36962
36963 fi
36964 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36965 old_CPPFLAGS="$CPPFLAGS"
36966 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36967 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36968 #include <Carbon/Carbon.h>
36969 #include <WebKit/WebKit.h>
36970
36971 "
36972 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36973
36974 USE_WEBVIEW_WEBKIT=1
36975 WEBKIT_LINK="-framework WebKit"
36976
36977 else
36978
36979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36980 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36981
36982 fi
36983
36984
36985 CPPFLAGS="$old_CPPFLAGS"
36986 fi
36987 fi
36988
36989 wxUSE_WEBVIEW="no"
36990 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36991 if test "$USE_WEBVIEW_WEBKIT" = 1; then
36992 wxUSE_WEBVIEW="yes"
36993 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36994
36995 else
36996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36997 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36998 fi
36999 elif test "$wxUSE_MSW" = 1; then
37000 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
37001 wxUSE_WEBVIEW="yes"
37002 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
37003
37004 fi
37005 fi
37006 fi
37007
37008 if test "$wxUSE_WEBVIEW" = "yes"; then
37009 USE_WEBVIEW=1
37010 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
37011
37012 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
37013 else
37014 USE_WEBVIEW=0
37015 fi
37016
37017
37018 if test "$wxUSE_IMAGE" = "yes" ; then
37019 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
37020
37021
37022 if test "$wxUSE_GIF" = "yes" ; then
37023 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
37024
37025 fi
37026
37027 if test "$wxUSE_PCX" = "yes" ; then
37028 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
37029
37030 fi
37031
37032 if test "$wxUSE_TGA" = "yes" ; then
37033 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
37034
37035 fi
37036
37037 if test "$wxUSE_IFF" = "yes" ; then
37038 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
37039
37040 fi
37041
37042 if test "$wxUSE_PNM" = "yes" ; then
37043 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
37044
37045 fi
37046
37047 if test "$wxUSE_XPM" = "yes" ; then
37048 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
37049
37050 fi
37051
37052 if test "$wxUSE_ICO_CUR" = "yes" ; then
37053 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
37054
37055 fi
37056 fi
37057
37058
37059 if test "$wxUSE_ABOUTDLG" = "yes"; then
37060 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
37061
37062 fi
37063
37064 if test "$wxUSE_CHOICEDLG" = "yes"; then
37065 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
37066
37067 fi
37068
37069 if test "$wxUSE_COLOURDLG" = "yes"; then
37070 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
37071
37072 fi
37073
37074 if test "$wxUSE_FILEDLG" = "yes"; then
37075 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
37076
37077 fi
37078
37079 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37080 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
37081
37082 fi
37083
37084 if test "$wxUSE_FONTDLG" = "yes"; then
37085 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
37086
37087 fi
37088
37089 if test "$wxUSE_DIRDLG" = "yes"; then
37090 if test "$wxUSE_TREECTRL" != "yes"; then
37091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37092 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37093 else
37094 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
37095
37096 fi
37097 fi
37098
37099 if test "$wxUSE_MSGDLG" = "yes"; then
37100 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
37101
37102 fi
37103
37104 if test "$wxUSE_NUMBERDLG" = "yes"; then
37105 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
37106
37107 fi
37108
37109 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37110 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
37111
37112 fi
37113
37114 if test "$wxUSE_SPLASH" = "yes"; then
37115 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
37116
37117 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
37118 fi
37119
37120 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37121 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
37122
37123 fi
37124
37125 if test "$wxUSE_TEXTDLG" = "yes"; then
37126 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
37127
37128 fi
37129
37130 if test "$wxUSE_WIZARDDLG" = "yes"; then
37131 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
37132
37133 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37134 fi
37135
37136
37137 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
37138 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
37139 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
37140
37141 fi
37142 fi
37143
37144
37145 if test "$wxUSE_MSW" = 1 ; then
37146
37147 if test "$wxUSE_DC_CACHEING" = "yes"; then
37148 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
37149
37150 fi
37151
37152 if test "$wxUSE_DIB" = "yes"; then
37153 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
37154
37155 fi
37156
37157 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
37158 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
37159
37160 fi
37161
37162 if test "$wxUSE_UXTHEME" = "yes"; then
37163 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
37164
37165 fi
37166
37167 fi
37168
37169 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
37170 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
37171
37172 fi
37173
37174 if test "$USE_WIN32" = 1 ; then
37175 if test "$wxUSE_INICONF" = "yes"; then
37176 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
37177
37178 fi
37179
37180 if test "$wxUSE_REGKEY" = "yes"; then
37181 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
37182
37183 fi
37184 fi
37185
37186
37187 if test "$wxUSE_MAC" = 1; then
37188 wxUSE_GRAPHICS_CONTEXT="yes"
37189 fi
37190
37191 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
37192 wx_has_graphics=0
37193 if test "$wxUSE_MSW" = 1; then
37194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
37195 $as_echo_n "checking if GDI+ is available... " >&6; }
37196 if ${wx_cv_lib_gdiplus+:} false; then :
37197 $as_echo_n "(cached) " >&6
37198 else
37199
37200 ac_ext=cpp
37201 ac_cpp='$CXXCPP $CPPFLAGS'
37202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37205
37206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37207 /* end confdefs.h. */
37208 #include <windows.h>
37209 #include <gdiplus.h>
37210 int
37211 main ()
37212 {
37213
37214 using namespace Gdiplus;
37215
37216 ;
37217 return 0;
37218 }
37219 _ACEOF
37220 if ac_fn_cxx_try_compile "$LINENO"; then :
37221 wx_cv_lib_gdiplus=yes
37222 else
37223 wx_cv_lib_gdiplus=no
37224
37225 fi
37226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37227 ac_ext=c
37228 ac_cpp='$CPP $CPPFLAGS'
37229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37232
37233
37234
37235 fi
37236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
37237 $as_echo "$wx_cv_lib_gdiplus" >&6; }
37238 if test "$wx_cv_lib_gdiplus" = "yes"; then
37239 wx_has_graphics=1
37240 fi
37241 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
37242
37243 pkg_failed=no
37244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
37245 $as_echo_n "checking for CAIRO... " >&6; }
37246
37247 if test -n "$PKG_CONFIG"; then
37248 if test -n "$CAIRO_CFLAGS"; then
37249 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
37250 else
37251 if test -n "$PKG_CONFIG" && \
37252 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37253 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37254 ac_status=$?
37255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37256 test $ac_status = 0; }; then
37257 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
37258 else
37259 pkg_failed=yes
37260 fi
37261 fi
37262 else
37263 pkg_failed=untried
37264 fi
37265 if test -n "$PKG_CONFIG"; then
37266 if test -n "$CAIRO_LIBS"; then
37267 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
37268 else
37269 if test -n "$PKG_CONFIG" && \
37270 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37271 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37272 ac_status=$?
37273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37274 test $ac_status = 0; }; then
37275 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
37276 else
37277 pkg_failed=yes
37278 fi
37279 fi
37280 else
37281 pkg_failed=untried
37282 fi
37283
37284
37285
37286 if test $pkg_failed = yes; then
37287
37288 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37289 _pkg_short_errors_supported=yes
37290 else
37291 _pkg_short_errors_supported=no
37292 fi
37293 if test $_pkg_short_errors_supported = yes; then
37294 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
37295 else
37296 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
37297 fi
37298 # Put the nasty error message in config.log where it belongs
37299 echo "$CAIRO_PKG_ERRORS" >&5
37300
37301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37302 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37303
37304 elif test $pkg_failed = untried; then
37305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37306 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37307
37308 else
37309 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
37310 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
37311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37312 $as_echo "yes" >&6; }
37313 wx_has_graphics=1
37314 fi
37315 if test "$wx_has_graphics" = 1; then
37316 save_LIBS="$LIBS"
37317 LIBS="$LIBS $CAIRO_LIBS"
37318 for ac_func in cairo_push_group
37319 do :
37320 ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
37321 if test "x$ac_cv_func_cairo_push_group" = xyes; then :
37322 cat >>confdefs.h <<_ACEOF
37323 #define HAVE_CAIRO_PUSH_GROUP 1
37324 _ACEOF
37325
37326 fi
37327 done
37328
37329 LIBS="$save_LIBS"
37330 if test "$ac_cv_func_cairo_push_group" = "no"; then
37331 wx_has_graphics=0
37332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
37333 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
37334 else
37335 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
37336
37337
37338 if test "$wxUSE_GTK" != 1; then
37339 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
37340 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
37341 fi
37342 fi
37343 fi
37344 else
37345 wx_has_graphics=1
37346 fi
37347
37348 if test "$wx_has_graphics" = 1; then
37349 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37350
37351 else
37352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37353 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37354 fi
37355 fi
37356
37357
37358 USE_MEDIA=0
37359
37360 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37361 USE_MEDIA=1
37362
37363 if test "$wxUSE_GTK" = 1; then
37364 wxUSE_GSTREAMER="no"
37365
37366 GST_VERSION_MAJOR=0
37367 GST_VERSION_MINOR=10
37368 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37369
37370 if test "$wxUSE_GSTREAMER8" = "no"; then
37371
37372 pkg_failed=no
37373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37374 $as_echo_n "checking for GST... " >&6; }
37375
37376 if test -n "$PKG_CONFIG"; then
37377 if test -n "$GST_CFLAGS"; then
37378 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37379 else
37380 if test -n "$PKG_CONFIG" && \
37381 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37382 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37383 ac_status=$?
37384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37385 test $ac_status = 0; }; then
37386 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37387 else
37388 pkg_failed=yes
37389 fi
37390 fi
37391 else
37392 pkg_failed=untried
37393 fi
37394 if test -n "$PKG_CONFIG"; then
37395 if test -n "$GST_LIBS"; then
37396 pkg_cv_GST_LIBS="$GST_LIBS"
37397 else
37398 if test -n "$PKG_CONFIG" && \
37399 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37400 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37401 ac_status=$?
37402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37403 test $ac_status = 0; }; then
37404 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37405 else
37406 pkg_failed=yes
37407 fi
37408 fi
37409 else
37410 pkg_failed=untried
37411 fi
37412
37413
37414
37415 if test $pkg_failed = yes; then
37416
37417 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37418 _pkg_short_errors_supported=yes
37419 else
37420 _pkg_short_errors_supported=no
37421 fi
37422 if test $_pkg_short_errors_supported = yes; then
37423 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37424 else
37425 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37426 fi
37427 # Put the nasty error message in config.log where it belongs
37428 echo "$GST_PKG_ERRORS" >&5
37429
37430
37431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37432 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37433 GST_VERSION_MINOR=8
37434
37435
37436 elif test $pkg_failed = untried; then
37437
37438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37439 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37440 GST_VERSION_MINOR=8
37441
37442
37443 else
37444 GST_CFLAGS=$pkg_cv_GST_CFLAGS
37445 GST_LIBS=$pkg_cv_GST_LIBS
37446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37447 $as_echo "yes" >&6; }
37448
37449 wxUSE_GSTREAMER="yes"
37450 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37451
37452 fi
37453 else
37454 GST_VERSION_MINOR=8
37455 fi
37456
37457 if test $GST_VERSION_MINOR = "8"; then
37458 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37459
37460 pkg_failed=no
37461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37462 $as_echo_n "checking for GST... " >&6; }
37463
37464 if test -n "$PKG_CONFIG"; then
37465 if test -n "$GST_CFLAGS"; then
37466 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37467 else
37468 if test -n "$PKG_CONFIG" && \
37469 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37470 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37471 ac_status=$?
37472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37473 test $ac_status = 0; }; then
37474 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37475 else
37476 pkg_failed=yes
37477 fi
37478 fi
37479 else
37480 pkg_failed=untried
37481 fi
37482 if test -n "$PKG_CONFIG"; then
37483 if test -n "$GST_LIBS"; then
37484 pkg_cv_GST_LIBS="$GST_LIBS"
37485 else
37486 if test -n "$PKG_CONFIG" && \
37487 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37488 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37489 ac_status=$?
37490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37491 test $ac_status = 0; }; then
37492 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37493 else
37494 pkg_failed=yes
37495 fi
37496 fi
37497 else
37498 pkg_failed=untried
37499 fi
37500
37501
37502
37503 if test $pkg_failed = yes; then
37504
37505 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37506 _pkg_short_errors_supported=yes
37507 else
37508 _pkg_short_errors_supported=no
37509 fi
37510 if test $_pkg_short_errors_supported = yes; then
37511 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37512 else
37513 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37514 fi
37515 # Put the nasty error message in config.log where it belongs
37516 echo "$GST_PKG_ERRORS" >&5
37517
37518
37519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37520 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37521
37522 elif test $pkg_failed = untried; then
37523
37524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37525 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37526
37527 else
37528 GST_CFLAGS=$pkg_cv_GST_CFLAGS
37529 GST_LIBS=$pkg_cv_GST_LIBS
37530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37531 $as_echo "yes" >&6; }
37532 wxUSE_GSTREAMER="yes"
37533 fi
37534 fi
37535
37536
37537 if test "$wxUSE_GSTREAMER" = "yes"; then
37538 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
37539 EXTRALIBS_MEDIA="$GST_LIBS"
37540
37541 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37542
37543 else
37544 USE_MEDIA=0
37545 fi
37546
37547 elif test "$wxUSE_MAC" = 1; then
37548 GST_LIBS="-framework QTKit"
37549 fi
37550
37551 if test $USE_MEDIA = 1; then
37552 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
37553 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37554
37555 else
37556 if test "$wxUSE_MEDIACTRL" = "yes"; then
37557 as_fn_error $? "GStreamer not available" "$LINENO" 5
37558 else
37559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37560 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37561 fi
37562 fi
37563 fi
37564
37565
37566 if test "$cross_compiling" != "no"; then
37567 OSINFO="\"$host\""
37568 else
37569 OSINFO=`uname -s -r -m`
37570 OSINFO="\"$OSINFO\""
37571 fi
37572
37573 cat >>confdefs.h <<_ACEOF
37574 #define WXWIN_OS_DESCRIPTION $OSINFO
37575 _ACEOF
37576
37577
37578
37579 if test "x$prefix" != "xNONE"; then
37580 wxPREFIX=$prefix
37581 else
37582 wxPREFIX=$ac_default_prefix
37583 fi
37584
37585 cat >>confdefs.h <<_ACEOF
37586 #define wxINSTALL_PREFIX "$wxPREFIX"
37587 _ACEOF
37588
37589
37590
37591
37592 STD_BASE_LIBS="base"
37593 STD_GUI_LIBS=""
37594 BUILT_WX_LIBS="base"
37595 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
37596
37597 if test "$wxUSE_SOCKETS" = "yes" ; then
37598 STD_BASE_LIBS="net $STD_BASE_LIBS"
37599 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
37600 fi
37601 if test "$wxUSE_XML" = "yes" ; then
37602 STD_BASE_LIBS="xml $STD_BASE_LIBS"
37603 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
37604 fi
37605
37606 if test "$wxUSE_GUI" = "yes"; then
37607 STD_GUI_LIBS="adv core"
37608 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
37609
37610 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37611 STD_GUI_LIBS="qa $STD_GUI_LIBS"
37612 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
37613 fi
37614 if test "$wxUSE_HTML" = "yes" ; then
37615 STD_GUI_LIBS="html $STD_GUI_LIBS"
37616 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
37617 fi
37618 if test "$wxUSE_MEDIACTRL" = "yes" ; then
37619 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
37620 fi
37621 if test "$wxUSE_OPENGL" = "yes" ; then
37622 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
37623 fi
37624 if test "$wxUSE_AUI" = "yes" ; then
37625 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
37626 fi
37627 if test "$wxUSE_PROPGRID" = "yes" ; then
37628 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
37629 fi
37630 if test "$wxUSE_RIBBON" = "yes" ; then
37631 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
37632 fi
37633 if test "$wxUSE_RICHTEXT" = "yes" ; then
37634 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
37635 fi
37636 if test "$wxUSE_STC" = "yes" ; then
37637 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
37638 fi
37639 if test "$wxUSE_WEBVIEW" = "yes" ; then
37640 STD_GUI_LIBS="webview $STD_GUI_LIBS"
37641 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
37642 fi
37643 if test "$wxUSE_XRC" = "yes" ; then
37644 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
37645 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
37646 fi
37647 fi
37648
37649
37650
37651
37652
37653
37654
37655 EXTRA_FRAMEWORKS=
37656 if test "$wxUSE_MAC" = 1 ; then
37657 if test "$USE_DARWIN" = 1; then
37658 if test "$wxUSE_OSX_IPHONE" = 1; then
37659 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37660 else
37661 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37662
37663
37664 if test "$cross_compiling" != "no"; then
37665 wx_cv_target_x86_64=no
37666 else
37667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37668 $as_echo_n "checking if we target only x86_64... " >&6; }
37669 if ${wx_cv_target_x86_64+:} false; then :
37670 $as_echo_n "(cached) " >&6
37671 else
37672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37673 /* end confdefs.h. */
37674 int main() { return 0; }
37675 _ACEOF
37676 if ac_fn_c_try_link "$LINENO"; then :
37677 if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
37678 wx_cv_target_x86_64=no
37679 else
37680 wx_cv_target_x86_64=yes
37681 fi
37682
37683 fi
37684 rm -f core conftest.err conftest.$ac_objext \
37685 conftest$ac_exeext conftest.$ac_ext
37686
37687 fi
37688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37689 $as_echo "$wx_cv_target_x86_64" >&6; }
37690 fi
37691
37692 if test "$wx_cv_target_x86_64" != "yes"; then
37693 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37694 fi
37695 fi
37696 fi
37697 fi
37698 if test "$wxUSE_OLD_COCOA" = 1 ; then
37699 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
37700 if test "$wxUSE_MEDIACTRL" = "yes"; then
37701 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37702 fi
37703 fi
37704 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37705 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37706 fi
37707
37708 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
37709 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37710
37711 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37712
37713 if test "$wxUSE_GUI" = "yes"; then
37714
37715
37716 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37717 erase event exec font image minimal render \
37718 shaped svg taborder vscroll widgets wrapsizer"
37719
37720 if test "$wxUSE_MONOLITHIC" != "yes"; then
37721 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37722 fi
37723 if test "$TOOLKIT" = "MSW"; then
37724 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
37725 if test "$wxUSE_UNIVERSAL" != "yes"; then
37726 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37727 fi
37728 fi
37729 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37730 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
37731 fi
37732 else
37733 SAMPLES_SUBDIRS="console"
37734 if test "$wxUSE_SOCKETS" = "yes" ; then
37735 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37736 fi
37737 if test "$wxUSE_IPC" = "yes" ; then
37738 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
37739 fi
37740 fi
37741
37742
37743 if test "x$INTELCC" = "xyes" ; then
37744 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
37745 elif test "$GCC" = yes ; then
37746 CWARNINGS="-Wall -Wundef"
37747 fi
37748
37749 if test "x$INTELCXX" = "xyes" ; then
37750 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37751 elif test "$GXX" = yes ; then
37752 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37754 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37755 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false; then :
37756 $as_echo_n "(cached) " >&6
37757 else
37758 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
37759
37760 ac_ext=cpp
37761 ac_cpp='$CXXCPP $CPPFLAGS'
37762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37765
37766 ac_save_CXXFLAGS="$CXXFLAGS"
37767 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37768 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37770 /* end confdefs.h. */
37771
37772 int
37773 main ()
37774 {
37775 return 0;
37776 ;
37777 return 0;
37778 }
37779 _ACEOF
37780 if ac_fn_cxx_try_compile "$LINENO"; then :
37781 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37782 fi
37783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37784 done
37785 CXXFLAGS="$ac_save_CXXFLAGS"
37786 ac_ext=c
37787 ac_cpp='$CPP $CPPFLAGS'
37788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37791
37792
37793 fi
37794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37795 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37796 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37797 .ok|.ok,*) ;;
37798 .|.no|.no,*) ;;
37799 *)
37800 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
37801 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37802 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37803 ac_status=$?
37804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37805 test $ac_status = 0; }
37806 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37807 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37808 ac_status=$?
37809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37810 test $ac_status = 0; }
37811 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37812 fi
37813 ;;
37814 esac
37815
37816
37817 if test "$wxUSE_MAC" = 1 ; then
37818 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
37819 fi
37820 fi
37821
37822
37823 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
37824 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37825
37826
37827 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
37828 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37829 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37830 $CPPFLAGS `
37831
37832 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37833 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37834 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37835 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37836 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37837
37838 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37839
37840
37841 if test "x$MWCC" = "xyes"; then
37842
37843 CC="$CC -cwd source -I-"
37844 CXX="$CXX -cwd source -I-"
37845 fi
37846
37847
37848 LIBS=`echo $LIBS`
37849 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37850 EXTRALIBS_XML="$EXPAT_LINK"
37851 EXTRALIBS_HTML="$MSPACK_LINK"
37852 EXTRALIBS_MEDIA="$GST_LIBS"
37853 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37854 if test "$wxUSE_GUI" = "yes"; then
37855 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37856 fi
37857 if test "$wxUSE_OPENGL" = "yes"; then
37858 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37859 fi
37860
37861 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
37862
37863 WXCONFIG_LIBS="$LIBS"
37864
37865 if test "$wxUSE_REGEX" = "builtin" ; then
37866 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37867 fi
37868 if test "$wxUSE_EXPAT" = "builtin" ; then
37869 wxconfig_3rdparty="expat $wxconfig_3rdparty"
37870 fi
37871 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37872 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
37873 fi
37874 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37875 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
37876 fi
37877 if test "$wxUSE_LIBPNG" = "builtin" ; then
37878 wxconfig_3rdparty="png $wxconfig_3rdparty"
37879 fi
37880 if test "$wxUSE_ZLIB" = "builtin" ; then
37881 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
37882 fi
37883
37884 for i in $wxconfig_3rdparty ; do
37885 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37886 done
37887
37888
37889 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37890 WXUNIV=1
37891
37892 case "$wxUNIV_THEMES" in
37893 ''|all)
37894 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37895
37896 ;;
37897
37898 *)
37899 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37900 cat >>confdefs.h <<_ACEOF
37901 #define wxUSE_THEME_$t 1
37902 _ACEOF
37903
37904 done
37905 esac
37906 else
37907 WXUNIV=0
37908 fi
37909
37910
37911
37912
37913
37914
37915
37916
37917 if test $wxUSE_MONOLITHIC = "yes" ; then
37918 MONOLITHIC=1
37919 else
37920 MONOLITHIC=0
37921 fi
37922
37923 if test $wxUSE_PLUGINS = "yes" ; then
37924 USE_PLUGINS=1
37925 else
37926 USE_PLUGINS=0
37927 fi
37928
37929 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37930 USE_QA=1
37931 else
37932 USE_QA=0
37933 fi
37934
37935 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37936 OFFICIAL_BUILD=1
37937 else
37938 OFFICIAL_BUILD=0
37939 fi
37940
37941
37942
37943
37944
37945
37946
37947
37948
37949
37950
37951
37952
37953
37954
37955
37956
37957
37958
37959
37960
37961
37962
37963 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37964
37965
37966
37967
37968
37969
37970
37971
37972
37973
37974 case "$TOOLKIT" in
37975 GTK)
37976 TOOLKIT_DESC="GTK+"
37977 if test "$WXGTK2" = 1; then
37978 if test "$WXGTK3" = 1; then
37979 TOOLKIT_DESC="$TOOLKIT_DESC 3"
37980 else
37981 TOOLKIT_DESC="$TOOLKIT_DESC 2"
37982 fi
37983 if test "$wxUSE_GTKPRINT" = "yes" ; then
37984 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
37985 fi
37986 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37987 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
37988 fi
37989 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37990 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
37991 fi
37992 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
37993 TOOLKIT_EXTRA="$TOOLKIT_EXTRA libnotify"
37994 fi
37995 if test "$wxUSE_LIBHILDON" = "yes"; then
37996 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37997 fi
37998 if test "$wxUSE_LIBHILDON2" = "yes"; then
37999 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
38000 fi
38001
38002 if test "$TOOLKIT_EXTRA" != ""; then
38003 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
38004 fi
38005 fi
38006 ;;
38007
38008 ?*)
38009 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
38010 ;;
38011
38012 *)
38013 TOOLKIT_DESC="base only"
38014 ;;
38015 esac
38016
38017 if test "$wxUSE_WINE" = "yes"; then
38018 BAKEFILE_FORCE_PLATFORM=win32
38019 fi
38020
38021 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
38022 then
38023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
38024 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
38025 if ${wx_cv_gcc_pch_bug+:} false; then :
38026 $as_echo_n "(cached) " >&6
38027 else
38028
38029 echo '#include <stdio.h>
38030 const wchar_t test_var[] = L"awidetest";' > conftest.h
38031
38032 echo '#include "conftest.h"
38033 int main()
38034 {
38035 printf("%ls", test_var);
38036 return 0;
38037 }' > conftest.cpp
38038
38039 wx_cv_gcc_pch_bug="pch not supported"
38040
38041 if $CXX conftest.h >/dev/null 2>&1
38042 then
38043 wx_cv_gcc_pch_bug=
38044
38045 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
38046 then
38047 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
38048 grep awidetest >/dev/null
38049 then
38050 wx_cv_gcc_pch_bug=no
38051 else
38052 wx_cv_gcc_pch_bug=yes
38053 fi
38054 fi
38055 fi
38056
38057 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
38058
38059 fi
38060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
38061 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
38062
38063 if test "$wx_cv_gcc_pch_bug" = yes; then
38064 bk_use_pch=no
38065 fi
38066 fi
38067
38068 # Find a good install program. We prefer a C program (faster),
38069 # so one script is as good as another. But avoid the broken or
38070 # incompatible versions:
38071 # SysV /etc/install, /usr/sbin/install
38072 # SunOS /usr/etc/install
38073 # IRIX /sbin/install
38074 # AIX /bin/install
38075 # AmigaOS /C/install, which installs bootblocks on floppy discs
38076 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38077 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38078 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38079 # OS/2's system install, which has a completely different semantic
38080 # ./install, which can be erroneously created by make from ./install.sh.
38081 # Reject install programs that cannot install multiple files.
38082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
38083 $as_echo_n "checking for a BSD-compatible install... " >&6; }
38084 if test -z "$INSTALL"; then
38085 if ${ac_cv_path_install+:} false; then :
38086 $as_echo_n "(cached) " >&6
38087 else
38088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38089 for as_dir in $PATH
38090 do
38091 IFS=$as_save_IFS
38092 test -z "$as_dir" && as_dir=.
38093 # Account for people who put trailing slashes in PATH elements.
38094 case $as_dir/ in #((
38095 ./ | .// | /[cC]/* | \
38096 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
38097 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
38098 /usr/ucb/* ) ;;
38099 *)
38100 # OSF1 and SCO ODT 3.0 have their own names for install.
38101 # Don't use installbsd from OSF since it installs stuff as root
38102 # by default.
38103 for ac_prog in ginstall scoinst install; do
38104 for ac_exec_ext in '' $ac_executable_extensions; do
38105 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38106 if test $ac_prog = install &&
38107 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38108 # AIX install. It has an incompatible calling convention.
38109 :
38110 elif test $ac_prog = install &&
38111 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38112 # program-specific install script used by HP pwplus--don't use.
38113 :
38114 else
38115 rm -rf conftest.one conftest.two conftest.dir
38116 echo one > conftest.one
38117 echo two > conftest.two
38118 mkdir conftest.dir
38119 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
38120 test -s conftest.one && test -s conftest.two &&
38121 test -s conftest.dir/conftest.one &&
38122 test -s conftest.dir/conftest.two
38123 then
38124 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
38125 break 3
38126 fi
38127 fi
38128 fi
38129 done
38130 done
38131 ;;
38132 esac
38133
38134 done
38135 IFS=$as_save_IFS
38136
38137 rm -rf conftest.one conftest.two conftest.dir
38138
38139 fi
38140 if test "${ac_cv_path_install+set}" = set; then
38141 INSTALL=$ac_cv_path_install
38142 else
38143 # As a last resort, use the slow shell script. Don't cache a
38144 # value for INSTALL within a source directory, because that will
38145 # break other packages using the cache if that directory is
38146 # removed, or if the value is a relative name.
38147 INSTALL=$ac_install_sh
38148 fi
38149 fi
38150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
38151 $as_echo "$INSTALL" >&6; }
38152
38153 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38154 # It thinks the first close brace ends the variable substitution.
38155 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
38156
38157 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
38158
38159 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38160
38161
38162
38163
38164
38165
38166
38167 if test "x$BAKEFILE_HOST" = "x"; then
38168 if test "x${host}" = "x" ; then
38169 as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
38170 fi
38171
38172 BAKEFILE_HOST="${host}"
38173 fi
38174
38175 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38176
38177 if test -n "$ac_tool_prefix"; then
38178 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38179 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
38180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38181 $as_echo_n "checking for $ac_word... " >&6; }
38182 if ${ac_cv_prog_RANLIB+:} false; then :
38183 $as_echo_n "(cached) " >&6
38184 else
38185 if test -n "$RANLIB"; then
38186 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
38187 else
38188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38189 for as_dir in $PATH
38190 do
38191 IFS=$as_save_IFS
38192 test -z "$as_dir" && as_dir=.
38193 for ac_exec_ext in '' $ac_executable_extensions; do
38194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38195 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
38196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38197 break 2
38198 fi
38199 done
38200 done
38201 IFS=$as_save_IFS
38202
38203 fi
38204 fi
38205 RANLIB=$ac_cv_prog_RANLIB
38206 if test -n "$RANLIB"; then
38207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
38208 $as_echo "$RANLIB" >&6; }
38209 else
38210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38211 $as_echo "no" >&6; }
38212 fi
38213
38214
38215 fi
38216 if test -z "$ac_cv_prog_RANLIB"; then
38217 ac_ct_RANLIB=$RANLIB
38218 # Extract the first word of "ranlib", so it can be a program name with args.
38219 set dummy ranlib; ac_word=$2
38220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38221 $as_echo_n "checking for $ac_word... " >&6; }
38222 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
38223 $as_echo_n "(cached) " >&6
38224 else
38225 if test -n "$ac_ct_RANLIB"; then
38226 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
38227 else
38228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38229 for as_dir in $PATH
38230 do
38231 IFS=$as_save_IFS
38232 test -z "$as_dir" && as_dir=.
38233 for ac_exec_ext in '' $ac_executable_extensions; do
38234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38235 ac_cv_prog_ac_ct_RANLIB="ranlib"
38236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38237 break 2
38238 fi
38239 done
38240 done
38241 IFS=$as_save_IFS
38242
38243 fi
38244 fi
38245 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
38246 if test -n "$ac_ct_RANLIB"; then
38247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
38248 $as_echo "$ac_ct_RANLIB" >&6; }
38249 else
38250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38251 $as_echo "no" >&6; }
38252 fi
38253
38254 if test "x$ac_ct_RANLIB" = x; then
38255 RANLIB=":"
38256 else
38257 case $cross_compiling:$ac_tool_warned in
38258 yes:)
38259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38260 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38261 ac_tool_warned=yes ;;
38262 esac
38263 RANLIB=$ac_ct_RANLIB
38264 fi
38265 else
38266 RANLIB="$ac_cv_prog_RANLIB"
38267 fi
38268
38269
38270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
38271 $as_echo_n "checking whether ln -s works... " >&6; }
38272 LN_S=$as_ln_s
38273 if test "$LN_S" = "ln -s"; then
38274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38275 $as_echo "yes" >&6; }
38276 else
38277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
38278 $as_echo "no, using $LN_S" >&6; }
38279 fi
38280
38281
38282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38283 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
38284 set x ${MAKE-make}
38285 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
38286 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
38287 $as_echo_n "(cached) " >&6
38288 else
38289 cat >conftest.make <<\_ACEOF
38290 SHELL = /bin/sh
38291 all:
38292 @echo '@@@%%%=$(MAKE)=@@@%%%'
38293 _ACEOF
38294 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
38295 case `${MAKE-make} -f conftest.make 2>/dev/null` in
38296 *@@@%%%=?*=@@@%%%*)
38297 eval ac_cv_prog_make_${ac_make}_set=yes;;
38298 *)
38299 eval ac_cv_prog_make_${ac_make}_set=no;;
38300 esac
38301 rm -f conftest.make
38302 fi
38303 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
38304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38305 $as_echo "yes" >&6; }
38306 SET_MAKE=
38307 else
38308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38309 $as_echo "no" >&6; }
38310 SET_MAKE="MAKE=${MAKE-make}"
38311 fi
38312
38313
38314
38315 if test "x$SUNCXX" = "xyes"; then
38316 AR=$CXX
38317 AROPTIONS="-xar -o"
38318
38319 elif test "x$SGICC" = "xyes"; then
38320 AR=$CXX
38321 AROPTIONS="-ar -o"
38322
38323 else
38324 if test -n "$ac_tool_prefix"; then
38325 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38326 set dummy ${ac_tool_prefix}ar; ac_word=$2
38327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38328 $as_echo_n "checking for $ac_word... " >&6; }
38329 if ${ac_cv_prog_AR+:} false; then :
38330 $as_echo_n "(cached) " >&6
38331 else
38332 if test -n "$AR"; then
38333 ac_cv_prog_AR="$AR" # Let the user override the test.
38334 else
38335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38336 for as_dir in $PATH
38337 do
38338 IFS=$as_save_IFS
38339 test -z "$as_dir" && as_dir=.
38340 for ac_exec_ext in '' $ac_executable_extensions; do
38341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38342 ac_cv_prog_AR="${ac_tool_prefix}ar"
38343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38344 break 2
38345 fi
38346 done
38347 done
38348 IFS=$as_save_IFS
38349
38350 fi
38351 fi
38352 AR=$ac_cv_prog_AR
38353 if test -n "$AR"; then
38354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38355 $as_echo "$AR" >&6; }
38356 else
38357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38358 $as_echo "no" >&6; }
38359 fi
38360
38361
38362 fi
38363 if test -z "$ac_cv_prog_AR"; then
38364 ac_ct_AR=$AR
38365 # Extract the first word of "ar", so it can be a program name with args.
38366 set dummy ar; ac_word=$2
38367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38368 $as_echo_n "checking for $ac_word... " >&6; }
38369 if ${ac_cv_prog_ac_ct_AR+:} false; then :
38370 $as_echo_n "(cached) " >&6
38371 else
38372 if test -n "$ac_ct_AR"; then
38373 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38374 else
38375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38376 for as_dir in $PATH
38377 do
38378 IFS=$as_save_IFS
38379 test -z "$as_dir" && as_dir=.
38380 for ac_exec_ext in '' $ac_executable_extensions; do
38381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38382 ac_cv_prog_ac_ct_AR="ar"
38383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38384 break 2
38385 fi
38386 done
38387 done
38388 IFS=$as_save_IFS
38389
38390 fi
38391 fi
38392 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38393 if test -n "$ac_ct_AR"; then
38394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38395 $as_echo "$ac_ct_AR" >&6; }
38396 else
38397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38398 $as_echo "no" >&6; }
38399 fi
38400
38401 if test "x$ac_ct_AR" = x; then
38402 AR="ar"
38403 else
38404 case $cross_compiling:$ac_tool_warned in
38405 yes:)
38406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38408 ac_tool_warned=yes ;;
38409 esac
38410 AR=$ac_ct_AR
38411 fi
38412 else
38413 AR="$ac_cv_prog_AR"
38414 fi
38415
38416 AROPTIONS=rcu
38417 fi
38418
38419
38420 if test -n "$ac_tool_prefix"; then
38421 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38422 set dummy ${ac_tool_prefix}strip; ac_word=$2
38423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38424 $as_echo_n "checking for $ac_word... " >&6; }
38425 if ${ac_cv_prog_STRIP+:} false; then :
38426 $as_echo_n "(cached) " >&6
38427 else
38428 if test -n "$STRIP"; then
38429 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38430 else
38431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38432 for as_dir in $PATH
38433 do
38434 IFS=$as_save_IFS
38435 test -z "$as_dir" && as_dir=.
38436 for ac_exec_ext in '' $ac_executable_extensions; do
38437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38438 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38440 break 2
38441 fi
38442 done
38443 done
38444 IFS=$as_save_IFS
38445
38446 fi
38447 fi
38448 STRIP=$ac_cv_prog_STRIP
38449 if test -n "$STRIP"; then
38450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38451 $as_echo "$STRIP" >&6; }
38452 else
38453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38454 $as_echo "no" >&6; }
38455 fi
38456
38457
38458 fi
38459 if test -z "$ac_cv_prog_STRIP"; then
38460 ac_ct_STRIP=$STRIP
38461 # Extract the first word of "strip", so it can be a program name with args.
38462 set dummy strip; ac_word=$2
38463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38464 $as_echo_n "checking for $ac_word... " >&6; }
38465 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
38466 $as_echo_n "(cached) " >&6
38467 else
38468 if test -n "$ac_ct_STRIP"; then
38469 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38470 else
38471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38472 for as_dir in $PATH
38473 do
38474 IFS=$as_save_IFS
38475 test -z "$as_dir" && as_dir=.
38476 for ac_exec_ext in '' $ac_executable_extensions; do
38477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38478 ac_cv_prog_ac_ct_STRIP="strip"
38479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38480 break 2
38481 fi
38482 done
38483 done
38484 IFS=$as_save_IFS
38485
38486 fi
38487 fi
38488 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38489 if test -n "$ac_ct_STRIP"; then
38490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38491 $as_echo "$ac_ct_STRIP" >&6; }
38492 else
38493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38494 $as_echo "no" >&6; }
38495 fi
38496
38497 if test "x$ac_ct_STRIP" = x; then
38498 STRIP=":"
38499 else
38500 case $cross_compiling:$ac_tool_warned in
38501 yes:)
38502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38504 ac_tool_warned=yes ;;
38505 esac
38506 STRIP=$ac_ct_STRIP
38507 fi
38508 else
38509 STRIP="$ac_cv_prog_STRIP"
38510 fi
38511
38512 if test -n "$ac_tool_prefix"; then
38513 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38514 set dummy ${ac_tool_prefix}nm; ac_word=$2
38515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38516 $as_echo_n "checking for $ac_word... " >&6; }
38517 if ${ac_cv_prog_NM+:} false; then :
38518 $as_echo_n "(cached) " >&6
38519 else
38520 if test -n "$NM"; then
38521 ac_cv_prog_NM="$NM" # Let the user override the test.
38522 else
38523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38524 for as_dir in $PATH
38525 do
38526 IFS=$as_save_IFS
38527 test -z "$as_dir" && as_dir=.
38528 for ac_exec_ext in '' $ac_executable_extensions; do
38529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38530 ac_cv_prog_NM="${ac_tool_prefix}nm"
38531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38532 break 2
38533 fi
38534 done
38535 done
38536 IFS=$as_save_IFS
38537
38538 fi
38539 fi
38540 NM=$ac_cv_prog_NM
38541 if test -n "$NM"; then
38542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38543 $as_echo "$NM" >&6; }
38544 else
38545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38546 $as_echo "no" >&6; }
38547 fi
38548
38549
38550 fi
38551 if test -z "$ac_cv_prog_NM"; then
38552 ac_ct_NM=$NM
38553 # Extract the first word of "nm", so it can be a program name with args.
38554 set dummy nm; ac_word=$2
38555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38556 $as_echo_n "checking for $ac_word... " >&6; }
38557 if ${ac_cv_prog_ac_ct_NM+:} false; then :
38558 $as_echo_n "(cached) " >&6
38559 else
38560 if test -n "$ac_ct_NM"; then
38561 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38562 else
38563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38564 for as_dir in $PATH
38565 do
38566 IFS=$as_save_IFS
38567 test -z "$as_dir" && as_dir=.
38568 for ac_exec_ext in '' $ac_executable_extensions; do
38569 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38570 ac_cv_prog_ac_ct_NM="nm"
38571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38572 break 2
38573 fi
38574 done
38575 done
38576 IFS=$as_save_IFS
38577
38578 fi
38579 fi
38580 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38581 if test -n "$ac_ct_NM"; then
38582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38583 $as_echo "$ac_ct_NM" >&6; }
38584 else
38585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38586 $as_echo "no" >&6; }
38587 fi
38588
38589 if test "x$ac_ct_NM" = x; then
38590 NM=":"
38591 else
38592 case $cross_compiling:$ac_tool_warned in
38593 yes:)
38594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38596 ac_tool_warned=yes ;;
38597 esac
38598 NM=$ac_ct_NM
38599 fi
38600 else
38601 NM="$ac_cv_prog_NM"
38602 fi
38603
38604
38605 INSTALL_DIR="mkdir -p"
38606
38607
38608 LDFLAGS_GUI=
38609 case ${BAKEFILE_HOST} in
38610 *-*-cygwin* | *-*-mingw32* )
38611 LDFLAGS_GUI="-mwindows"
38612 esac
38613
38614
38615 fi
38616
38617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38618 $as_echo_n "checking if make is GNU make... " >&6; }
38619 if ${bakefile_cv_prog_makeisgnu+:} false; then :
38620 $as_echo_n "(cached) " >&6
38621 else
38622
38623 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38624 egrep -s GNU > /dev/null); then
38625 bakefile_cv_prog_makeisgnu="yes"
38626 else
38627 bakefile_cv_prog_makeisgnu="no"
38628 fi
38629
38630 fi
38631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38632 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38633
38634 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38635 IF_GNU_MAKE=""
38636 else
38637 IF_GNU_MAKE="#"
38638 fi
38639
38640
38641
38642 PLATFORM_UNIX=0
38643 PLATFORM_WIN32=0
38644 PLATFORM_MSDOS=0
38645 PLATFORM_MAC=0
38646 PLATFORM_MACOS=0
38647 PLATFORM_MACOSX=0
38648 PLATFORM_OS2=0
38649 PLATFORM_BEOS=0
38650
38651 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38652 case "${BAKEFILE_HOST}" in
38653 *-*-mingw32* )
38654 PLATFORM_WIN32=1
38655 ;;
38656 *-pc-msdosdjgpp )
38657 PLATFORM_MSDOS=1
38658 ;;
38659 *-pc-os2_emx | *-pc-os2-emx )
38660 PLATFORM_OS2=1
38661 ;;
38662 *-*-darwin* )
38663 PLATFORM_MAC=1
38664 PLATFORM_MACOSX=1
38665 ;;
38666 *-*-beos* )
38667 PLATFORM_BEOS=1
38668 ;;
38669 powerpc-apple-macos* )
38670 PLATFORM_MAC=1
38671 PLATFORM_MACOS=1
38672 ;;
38673 * )
38674 PLATFORM_UNIX=1
38675 ;;
38676 esac
38677 else
38678 case "$BAKEFILE_FORCE_PLATFORM" in
38679 win32 )
38680 PLATFORM_WIN32=1
38681 ;;
38682 msdos )
38683 PLATFORM_MSDOS=1
38684 ;;
38685 os2 )
38686 PLATFORM_OS2=1
38687 ;;
38688 darwin )
38689 PLATFORM_MAC=1
38690 PLATFORM_MACOSX=1
38691 ;;
38692 unix )
38693 PLATFORM_UNIX=1
38694 ;;
38695 beos )
38696 PLATFORM_BEOS=1
38697 ;;
38698 * )
38699 as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38700 ;;
38701 esac
38702 fi
38703
38704
38705
38706
38707
38708
38709
38710
38711
38712
38713
38714 # Check whether --enable-omf was given.
38715 if test "${enable_omf+set}" = set; then :
38716 enableval=$enable_omf; bk_os2_use_omf="$enableval"
38717 fi
38718
38719
38720 case "${BAKEFILE_HOST}" in
38721 *-*-darwin* )
38722 if test "x$GCC" = "xyes"; then
38723 CFLAGS="$CFLAGS -fno-common"
38724 CXXFLAGS="$CXXFLAGS -fno-common"
38725 fi
38726 if test "x$XLCC" = "xyes"; then
38727 CFLAGS="$CFLAGS -qnocommon"
38728 CXXFLAGS="$CXXFLAGS -qnocommon"
38729 fi
38730 ;;
38731
38732 *-pc-os2_emx | *-pc-os2-emx )
38733 if test "x$bk_os2_use_omf" = "xyes" ; then
38734 AR=emxomfar
38735 RANLIB=:
38736 LDFLAGS="-Zomf $LDFLAGS"
38737 CFLAGS="-Zomf $CFLAGS"
38738 CXXFLAGS="-Zomf $CXXFLAGS"
38739 OS2_LIBEXT="lib"
38740 else
38741 OS2_LIBEXT="a"
38742 fi
38743 ;;
38744
38745 i*86-*-beos* )
38746 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
38747 ;;
38748 esac
38749
38750
38751 SO_SUFFIX="so"
38752 SO_SUFFIX_MODULE="so"
38753 EXEEXT=""
38754 LIBPREFIX="lib"
38755 LIBEXT=".a"
38756 DLLPREFIX="lib"
38757 DLLPREFIX_MODULE=""
38758 DLLIMP_SUFFIX=""
38759 dlldir="$libdir"
38760
38761 case "${BAKEFILE_HOST}" in
38762 ia64-hp-hpux* )
38763 ;;
38764 *-hp-hpux* )
38765 SO_SUFFIX="sl"
38766 SO_SUFFIX_MODULE="sl"
38767 ;;
38768 *-*-aix* )
38769 SO_SUFFIX="a"
38770 SO_SUFFIX_MODULE="a"
38771 ;;
38772 *-*-cygwin* )
38773 SO_SUFFIX="dll"
38774 SO_SUFFIX_MODULE="dll"
38775 DLLIMP_SUFFIX="dll.a"
38776 EXEEXT=".exe"
38777 DLLPREFIX="cyg"
38778 dlldir="$bindir"
38779 ;;
38780 *-*-mingw32* )
38781 SO_SUFFIX="dll"
38782 SO_SUFFIX_MODULE="dll"
38783 DLLIMP_SUFFIX="dll.a"
38784 EXEEXT=".exe"
38785 DLLPREFIX=""
38786 dlldir="$bindir"
38787 ;;
38788 *-pc-msdosdjgpp )
38789 EXEEXT=".exe"
38790 DLLPREFIX=""
38791 dlldir="$bindir"
38792 ;;
38793 *-pc-os2_emx | *-pc-os2-emx )
38794 SO_SUFFIX="dll"
38795 SO_SUFFIX_MODULE="dll"
38796 DLLIMP_SUFFIX=$OS2_LIBEXT
38797 EXEEXT=".exe"
38798 DLLPREFIX=""
38799 LIBPREFIX=""
38800 LIBEXT=".$OS2_LIBEXT"
38801 dlldir="$bindir"
38802 ;;
38803 *-*-darwin* )
38804 SO_SUFFIX="dylib"
38805 SO_SUFFIX_MODULE="bundle"
38806 ;;
38807 esac
38808
38809 if test "x$DLLIMP_SUFFIX" = "x" ; then
38810 DLLIMP_SUFFIX="$SO_SUFFIX"
38811 fi
38812
38813
38814
38815
38816
38817
38818
38819
38820
38821
38822
38823
38824 PIC_FLAG=""
38825 if test "x$GCC" = "xyes"; then
38826 PIC_FLAG="-fPIC"
38827 fi
38828
38829 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
38830 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
38831 WINDOWS_IMPLIB=0
38832
38833 case "${BAKEFILE_HOST}" in
38834 *-hp-hpux* )
38835 if test "x$GCC" != "xyes"; then
38836 LDFLAGS="$LDFLAGS -L/usr/lib"
38837
38838 SHARED_LD_CC="${CC} -b -o"
38839 SHARED_LD_CXX="${CXX} -b -o"
38840 PIC_FLAG="+Z"
38841 fi
38842 ;;
38843
38844 *-*-linux* )
38845 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38846 PIC_FLAG="-KPIC"
38847 elif test "x$SUNCXX" = "xyes"; then
38848 SHARED_LD_CC="${CC} -G -o"
38849 SHARED_LD_CXX="${CXX} -G -o"
38850 PIC_FLAG="-KPIC"
38851 fi
38852 ;;
38853
38854 *-*-solaris2* )
38855 if test "x$SUNCXX" = xyes ; then
38856 SHARED_LD_CC="${CC} -G -o"
38857 SHARED_LD_CXX="${CXX} -G -o"
38858 PIC_FLAG="-KPIC"
38859 fi
38860 ;;
38861
38862 *-*-darwin* )
38863
38864 D='$'
38865 cat <<EOF >shared-ld-sh
38866 #!/bin/sh
38867 #-----------------------------------------------------------------------------
38868 #-- Name: distrib/mac/shared-ld-sh
38869 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38870 #-- Author: Gilles Depeyrot
38871 #-- Copyright: (c) 2002 Gilles Depeyrot
38872 #-- Licence: any use permitted
38873 #-----------------------------------------------------------------------------
38874
38875 verbose=0
38876 args=""
38877 objects=""
38878 linking_flag="-dynamiclib"
38879 ldargs="-r -keep_private_externs -nostdlib"
38880
38881 if test "x${D}CXX" = "x"; then
38882 CXX="c++"
38883 fi
38884
38885 while test ${D}# -gt 0; do
38886 case ${D}1 in
38887
38888 -v)
38889 verbose=1
38890 ;;
38891
38892 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38893 # collect these options and values
38894 args="${D}{args} ${D}1 ${D}2"
38895 shift
38896 ;;
38897
38898 -arch|-isysroot)
38899 # collect these options and values
38900 ldargs="${D}{ldargs} ${D}1 ${D}2"
38901 shift
38902 ;;
38903
38904 -s|-Wl,*)
38905 # collect these load args
38906 ldargs="${D}{ldargs} ${D}1"
38907 ;;
38908
38909 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38910 # collect these options
38911 args="${D}{args} ${D}1"
38912 ;;
38913
38914 -dynamiclib|-bundle)
38915 linking_flag="${D}1"
38916 ;;
38917
38918 -*)
38919 echo "shared-ld: unhandled option '${D}1'"
38920 exit 1
38921 ;;
38922
38923 *.o | *.a | *.dylib)
38924 # collect object files
38925 objects="${D}{objects} ${D}1"
38926 ;;
38927
38928 *)
38929 echo "shared-ld: unhandled argument '${D}1'"
38930 exit 1
38931 ;;
38932
38933 esac
38934 shift
38935 done
38936
38937 status=0
38938
38939 #
38940 # Link one module containing all the others
38941 #
38942 if test ${D}{verbose} = 1; then
38943 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38944 fi
38945 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38946 status=${D}?
38947
38948 #
38949 # Link the shared library from the single module created, but only if the
38950 # previous command didn't fail:
38951 #
38952 if test ${D}{status} = 0; then
38953 if test ${D}{verbose} = 1; then
38954 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38955 fi
38956 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38957 status=${D}?
38958 fi
38959
38960 #
38961 # Remove intermediate module
38962 #
38963 rm -f master.${D}${D}.o
38964
38965 exit ${D}status
38966 EOF
38967
38968 chmod +x shared-ld-sh
38969
38970 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38971 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38972
38973
38974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38975 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38976 if ${bakefile_cv_gcc31+:} false; then :
38977 $as_echo_n "(cached) " >&6
38978 else
38979
38980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38981 /* end confdefs.h. */
38982
38983 int
38984 main ()
38985 {
38986
38987 #if (__GNUC__ < 3) || \
38988 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38989 This is old gcc
38990 #endif
38991
38992 ;
38993 return 0;
38994 }
38995 _ACEOF
38996 if ac_fn_c_try_compile "$LINENO"; then :
38997
38998 bakefile_cv_gcc31=yes
38999
39000 else
39001
39002 bakefile_cv_gcc31=no
39003
39004
39005 fi
39006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39007
39008 fi
39009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
39010 $as_echo "$bakefile_cv_gcc31" >&6; }
39011 if test "$bakefile_cv_gcc31" = "no"; then
39012 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39013 SHARED_LD_CXX="$SHARED_LD_CC"
39014 else
39015 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39016 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39017 fi
39018
39019 if test "x$GCC" == "xyes"; then
39020 PIC_FLAG="-dynamic -fPIC"
39021 fi
39022 if test "x$XLCC" = "xyes"; then
39023 PIC_FLAG="-dynamic -DPIC"
39024 fi
39025 ;;
39026
39027 *-*-aix* )
39028 if test "x$GCC" = "xyes"; then
39029 PIC_FLAG=""
39030
39031 case "${BAKEFILE_HOST}" in
39032 *-*-aix5* )
39033 LD_EXPFULL="-Wl,-bexpfull"
39034 ;;
39035 esac
39036
39037 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
39038 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
39039 else
39040 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39041 set dummy makeC++SharedLib; ac_word=$2
39042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39043 $as_echo_n "checking for $ac_word... " >&6; }
39044 if ${ac_cv_prog_AIX_CXX_LD+:} false; then :
39045 $as_echo_n "(cached) " >&6
39046 else
39047 if test -n "$AIX_CXX_LD"; then
39048 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
39049 else
39050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39051 for as_dir in $PATH
39052 do
39053 IFS=$as_save_IFS
39054 test -z "$as_dir" && as_dir=.
39055 for ac_exec_ext in '' $ac_executable_extensions; do
39056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39057 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
39058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39059 break 2
39060 fi
39061 done
39062 done
39063 IFS=$as_save_IFS
39064
39065 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
39066 fi
39067 fi
39068 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
39069 if test -n "$AIX_CXX_LD"; then
39070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
39071 $as_echo "$AIX_CXX_LD" >&6; }
39072 else
39073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39074 $as_echo "no" >&6; }
39075 fi
39076
39077
39078 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
39079 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
39080 fi
39081 ;;
39082
39083 *-*-beos* )
39084 SHARED_LD_CC="${LD} -nostart -o"
39085 SHARED_LD_CXX="${LD} -nostart -o"
39086 ;;
39087
39088 *-*-irix* )
39089 if test "x$GCC" != "xyes"; then
39090 PIC_FLAG="-KPIC"
39091 fi
39092 ;;
39093
39094 *-*-cygwin* | *-*-mingw32* )
39095 PIC_FLAG=""
39096 SHARED_LD_CC="\$(CC) -shared -o"
39097 SHARED_LD_CXX="\$(CXX) -shared -o"
39098 WINDOWS_IMPLIB=1
39099 ;;
39100
39101 *-pc-os2_emx | *-pc-os2-emx )
39102 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39103 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39104 PIC_FLAG=""
39105
39106 D='$'
39107 cat <<EOF >dllar.sh
39108 #!/bin/sh
39109 #
39110 # dllar - a tool to build both a .dll and an .a file
39111 # from a set of object (.o) files for EMX/OS2.
39112 #
39113 # Written by Andrew Zabolotny, bit@freya.etu.ru
39114 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39115 #
39116 # This script will accept a set of files on the command line.
39117 # All the public symbols from the .o files will be exported into
39118 # a .DEF file, then linker will be run (through gcc) against them to
39119 # build a shared library consisting of all given .o files. All libraries
39120 # (.a) will be first decompressed into component .o files then act as
39121 # described above. You can optionally give a description (-d "description")
39122 # which will be put into .DLL. To see the list of accepted options (as well
39123 # as command-line format) simply run this program without options. The .DLL
39124 # is built to be imported by name (there is no guarantee that new versions
39125 # of the library you build will have same ordinals for same symbols).
39126 #
39127 # dllar is free software; you can redistribute it and/or modify
39128 # it under the terms of the GNU General Public License as published by
39129 # the Free Software Foundation; either version 2, or (at your option)
39130 # any later version.
39131 #
39132 # dllar is distributed in the hope that it will be useful,
39133 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39134 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39135 # GNU General Public License for more details.
39136 #
39137 # You should have received a copy of the GNU General Public License
39138 # along with dllar; see the file COPYING. If not, write to the Free
39139 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39140 # 02111-1307, USA.
39141
39142 # To successfuly run this program you will need:
39143 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39144 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39145 # - gcc
39146 # (used to build the .dll)
39147 # - emxexp
39148 # (used to create .def file from .o files)
39149 # - emximp
39150 # (used to create .a file from .def file)
39151 # - GNU text utilites (cat, sort, uniq)
39152 # used to process emxexp output
39153 # - GNU file utilities (mv, rm)
39154 # - GNU sed
39155 # - lxlite (optional, see flag below)
39156 # (used for general .dll cleanup)
39157 #
39158
39159 flag_USE_LXLITE=1;
39160
39161 #
39162 # helper functions
39163 # basnam, variant of basename, which does _not_ remove the path, _iff_
39164 # second argument (suffix to remove) is given
39165 basnam(){
39166 case ${D}# in
39167 1)
39168 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39169 ;;
39170 2)
39171 echo ${D}1 | sed 's/'${D}2'${D}//'
39172 ;;
39173 *)
39174 echo "error in basnam ${D}*"
39175 exit 8
39176 ;;
39177 esac
39178 }
39179
39180 # Cleanup temporary files and output
39181 CleanUp() {
39182 cd ${D}curDir
39183 for i in ${D}inputFiles ; do
39184 case ${D}i in
39185 *!)
39186 rm -rf \`basnam ${D}i !\`
39187 ;;
39188 *)
39189 ;;
39190 esac
39191 done
39192
39193 # Kill result in case of failure as there is just to many stupid make/nmake
39194 # things out there which doesn't do this.
39195 if [ ${D}# -eq 0 ]; then
39196 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39197 fi
39198 }
39199
39200 # Print usage and exit script with rc=1.
39201 PrintHelp() {
39202 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
39203 echo ' [-name-mangler-script script.sh]'
39204 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
39205 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
39206 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
39207 echo ' [*.o] [*.a]'
39208 echo '*> "output_file" should have no extension.'
39209 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39210 echo ' The import library name is derived from this and is set to "name".a,'
39211 echo ' unless overridden by -import'
39212 echo '*> "importlib_name" should have no extension.'
39213 echo ' If it has the .o, or .a extension, it is automatically removed.'
39214 echo ' This name is used as the import library name and may be longer and'
39215 echo ' more descriptive than the DLL name which has to follow the old '
39216 echo ' 8.3 convention of FAT.'
39217 echo '*> "script.sh may be given to override the output_file name by a'
39218 echo ' different name. It is mainly useful if the regular make process'
39219 echo ' of some package does not take into account OS/2 restriction of'
39220 echo ' DLL name lengths. It takes the importlib name as input and is'
39221 echo ' supposed to procude a shorter name as output. The script should'
39222 echo ' expect to get importlib_name without extension and should produce'
39223 echo ' a (max.) 8 letter name without extension.'
39224 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39225 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39226 echo ' These flags will be put at the start of GCC command line.'
39227 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
39228 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
39229 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39230 echo ' If the last character of a symbol is "*", all symbols beginning'
39231 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39232 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
39233 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39234 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
39235 echo ' C runtime DLLs.'
39236 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
39237 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39238 echo ' unchanged to GCC at the end of command line.'
39239 echo '*> If you create a DLL from a library and you do not specify -o,'
39240 echo ' the basename for DLL and import library will be set to library name,'
39241 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39242 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39243 echo ' library will be renamed into gcc_s.a.'
39244 echo '--------'
39245 echo 'Example:'
39246 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39247 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39248 CleanUp
39249 exit 1
39250 }
39251
39252 # Execute a command.
39253 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39254 # @Uses Whatever CleanUp() uses.
39255 doCommand() {
39256 echo "${D}*"
39257 eval ${D}*
39258 rcCmd=${D}?
39259
39260 if [ ${D}rcCmd -ne 0 ]; then
39261 echo "command failed, exit code="${D}rcCmd
39262 CleanUp
39263 exit ${D}rcCmd
39264 fi
39265 }
39266
39267 # main routine
39268 # setup globals
39269 cmdLine=${D}*
39270 outFile=""
39271 outimpFile=""
39272 inputFiles=""
39273 renameScript=""
39274 description=""
39275 CC=gcc.exe
39276 CFLAGS="-s -Zcrtdll"
39277 EXTRA_CFLAGS=""
39278 EXPORT_BY_ORDINALS=0
39279 exclude_symbols=""
39280 library_flags=""
39281 curDir=\`pwd\`
39282 curDirS=curDir
39283 case ${D}curDirS in
39284 */)
39285 ;;
39286 *)
39287 curDirS=${D}{curDirS}"/"
39288 ;;
39289 esac
39290 # Parse commandline
39291 libsToLink=0
39292 omfLinking=0
39293 while [ ${D}1 ]; do
39294 case ${D}1 in
39295 -ord*)
39296 EXPORT_BY_ORDINALS=1;
39297 ;;
39298 -o*)
39299 shift
39300 outFile=${D}1
39301 ;;
39302 -i*)
39303 shift
39304 outimpFile=${D}1
39305 ;;
39306 -name-mangler-script)
39307 shift
39308 renameScript=${D}1
39309 ;;
39310 -d*)
39311 shift
39312 description=${D}1
39313 ;;
39314 -f*)
39315 shift
39316 CFLAGS=${D}1
39317 ;;
39318 -c*)
39319 shift
39320 CC=${D}1
39321 ;;
39322 -h*)
39323 PrintHelp
39324 ;;
39325 -ex*)
39326 shift
39327 exclude_symbols=${D}{exclude_symbols}${D}1" "
39328 ;;
39329 -libf*)
39330 shift
39331 library_flags=${D}{library_flags}${D}1" "
39332 ;;
39333 -nocrt*)
39334 CFLAGS="-s"
39335 ;;
39336 -nolxl*)
39337 flag_USE_LXLITE=0
39338 ;;
39339 -* | /*)
39340 case ${D}1 in
39341 -L* | -l*)
39342 libsToLink=1
39343 ;;
39344 -Zomf)
39345 omfLinking=1
39346 ;;
39347 *)
39348 ;;
39349 esac
39350 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39351 ;;
39352 *.dll)
39353 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39354 if [ ${D}omfLinking -eq 1 ]; then
39355 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39356 else
39357 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39358 fi
39359 ;;
39360 *)
39361 found=0;
39362 if [ ${D}libsToLink -ne 0 ]; then
39363 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39364 else
39365 for file in ${D}1 ; do
39366 if [ -f ${D}file ]; then
39367 inputFiles="${D}{inputFiles} ${D}file"
39368 found=1
39369 fi
39370 done
39371 if [ ${D}found -eq 0 ]; then
39372 echo "ERROR: No file(s) found: "${D}1
39373 exit 8
39374 fi
39375 fi
39376 ;;
39377 esac
39378 shift
39379 done # iterate cmdline words
39380
39381 #
39382 if [ -z "${D}inputFiles" ]; then
39383 echo "dllar: no input files"
39384 PrintHelp
39385 fi
39386
39387 # Now extract all .o files from .a files
39388 newInputFiles=""
39389 for file in ${D}inputFiles ; do
39390 case ${D}file in
39391 *.a | *.lib)
39392 case ${D}file in
39393 *.a)
39394 suffix=".a"
39395 AR="ar"
39396 ;;
39397 *.lib)
39398 suffix=".lib"
39399 AR="emxomfar"
39400 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39401 ;;
39402 *)
39403 ;;
39404 esac
39405 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39406 mkdir ${D}dirname
39407 if [ ${D}? -ne 0 ]; then
39408 echo "Failed to create subdirectory ./${D}dirname"
39409 CleanUp
39410 exit 8;
39411 fi
39412 # Append '!' to indicate archive
39413 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39414 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39415 cd ${D}curDir
39416 found=0;
39417 for subfile in ${D}dirname/*.o* ; do
39418 if [ -f ${D}subfile ]; then
39419 found=1
39420 if [ -s ${D}subfile ]; then
39421 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39422 newInputFiles="${D}newInputFiles ${D}subfile"
39423 fi
39424 fi
39425 done
39426 if [ ${D}found -eq 0 ]; then
39427 echo "WARNING: there are no files in archive \\'${D}file\\'"
39428 fi
39429 ;;
39430 *)
39431 newInputFiles="${D}{newInputFiles} ${D}file"
39432 ;;
39433 esac
39434 done
39435 inputFiles="${D}newInputFiles"
39436
39437 # Output filename(s).
39438 do_backup=0;
39439 if [ -z ${D}outFile ]; then
39440 do_backup=1;
39441 set outFile ${D}inputFiles; outFile=${D}2
39442 fi
39443
39444 # If it is an archive, remove the '!' and the '_%' suffixes
39445 case ${D}outFile in
39446 *_%!)
39447 outFile=\`basnam ${D}outFile _%!\`
39448 ;;
39449 *)
39450 ;;
39451 esac
39452 case ${D}outFile in
39453 *.dll)
39454 outFile=\`basnam ${D}outFile .dll\`
39455 ;;
39456 *.DLL)
39457 outFile=\`basnam ${D}outFile .DLL\`
39458 ;;
39459 *.o)
39460 outFile=\`basnam ${D}outFile .o\`
39461 ;;
39462 *.obj)
39463 outFile=\`basnam ${D}outFile .obj\`
39464 ;;
39465 *.a)
39466 outFile=\`basnam ${D}outFile .a\`
39467 ;;
39468 *.lib)
39469 outFile=\`basnam ${D}outFile .lib\`
39470 ;;
39471 *)
39472 ;;
39473 esac
39474 case ${D}outimpFile in
39475 *.a)
39476 outimpFile=\`basnam ${D}outimpFile .a\`
39477 ;;
39478 *.lib)
39479 outimpFile=\`basnam ${D}outimpFile .lib\`
39480 ;;
39481 *)
39482 ;;
39483 esac
39484 if [ -z ${D}outimpFile ]; then
39485 outimpFile=${D}outFile
39486 fi
39487 defFile="${D}{outFile}.def"
39488 arcFile="${D}{outimpFile}.a"
39489 arcFile2="${D}{outimpFile}.lib"
39490
39491 #create ${D}dllFile as something matching 8.3 restrictions,
39492 if [ -z ${D}renameScript ] ; then
39493 dllFile="${D}outFile"
39494 else
39495 dllFile=\`${D}renameScript ${D}outimpFile\`
39496 fi
39497
39498 if [ ${D}do_backup -ne 0 ] ; then
39499 if [ -f ${D}arcFile ] ; then
39500 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39501 fi
39502 if [ -f ${D}arcFile2 ] ; then
39503 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39504 fi
39505 fi
39506
39507 # Extract public symbols from all the object files.
39508 tmpdefFile=${D}{defFile}_%
39509 rm -f ${D}tmpdefFile
39510 for file in ${D}inputFiles ; do
39511 case ${D}file in
39512 *!)
39513 ;;
39514 *)
39515 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39516 ;;
39517 esac
39518 done
39519
39520 # Create the def file.
39521 rm -f ${D}defFile
39522 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39523 dllFile="${D}{dllFile}.dll"
39524 if [ ! -z ${D}description ]; then
39525 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
39526 fi
39527 echo "EXPORTS" >> ${D}defFile
39528
39529 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39530 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39531
39532 # Checks if the export is ok or not.
39533 for word in ${D}exclude_symbols; do
39534 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39535 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39536 done
39537
39538
39539 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39540 sed "=" < ${D}tmpdefFile | \\
39541 sed '
39542 N
39543 : loop
39544 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39545 t loop
39546 ' > ${D}{tmpdefFile}%
39547 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39548 else
39549 rm -f ${D}{tmpdefFile}%
39550 fi
39551 cat ${D}tmpdefFile >> ${D}defFile
39552 rm -f ${D}tmpdefFile
39553
39554 # Do linking, create implib, and apply lxlite.
39555 gccCmdl="";
39556 for file in ${D}inputFiles ; do
39557 case ${D}file in
39558 *!)
39559 ;;
39560 *)
39561 gccCmdl="${D}gccCmdl ${D}file"
39562 ;;
39563 esac
39564 done
39565 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39566 touch "${D}{outFile}.dll"
39567
39568 doCommand "emximp -o ${D}arcFile ${D}defFile"
39569 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39570 add_flags="";
39571 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39572 add_flags="-ynd"
39573 fi
39574 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39575 fi
39576 doCommand "emxomf -s -l ${D}arcFile"
39577
39578 # Successful exit.
39579 CleanUp 1
39580 exit 0
39581 EOF
39582
39583 chmod +x dllar.sh
39584 ;;
39585
39586 powerpc-apple-macos* | \
39587 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
39588 *-*-mirbsd* | \
39589 *-*-sunos4* | \
39590 *-*-osf* | \
39591 *-*-dgux5* | \
39592 *-*-sysv5* | \
39593 *-pc-msdosdjgpp )
39594 ;;
39595
39596 *)
39597 as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
39598 esac
39599
39600 if test "x$PIC_FLAG" != "x" ; then
39601 PIC_FLAG="$PIC_FLAG -DPIC"
39602 fi
39603
39604 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39605 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39606 fi
39607 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39608 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39609 fi
39610
39611
39612
39613
39614
39615
39616
39617
39618
39619 USE_SOVERSION=0
39620 USE_SOVERLINUX=0
39621 USE_SOVERSOLARIS=0
39622 USE_SOVERCYGWIN=0
39623 USE_SOTWOSYMLINKS=0
39624 USE_MACVERSION=0
39625 SONAME_FLAG=
39626
39627 case "${BAKEFILE_HOST}" in
39628 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39629 *-*-k*bsd*-gnu | *-*-mirbsd* )
39630 if test "x$SUNCXX" = "xyes"; then
39631 SONAME_FLAG="-h "
39632 else
39633 SONAME_FLAG="-Wl,-soname,"
39634 fi
39635 USE_SOVERSION=1
39636 USE_SOVERLINUX=1
39637 USE_SOTWOSYMLINKS=1
39638 ;;
39639
39640 *-*-solaris2* )
39641 SONAME_FLAG="-h "
39642 USE_SOVERSION=1
39643 USE_SOVERSOLARIS=1
39644 ;;
39645
39646 *-*-darwin* )
39647 USE_MACVERSION=1
39648 USE_SOVERSION=1
39649 USE_SOTWOSYMLINKS=1
39650 ;;
39651
39652 *-*-cygwin* )
39653 USE_SOVERSION=1
39654 USE_SOVERCYGWIN=1
39655 ;;
39656 esac
39657
39658
39659
39660
39661
39662
39663
39664
39665
39666
39667 # Check whether --enable-dependency-tracking was given.
39668 if test "${enable_dependency_tracking+set}" = set; then :
39669 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
39670 fi
39671
39672
39673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39674 $as_echo_n "checking for dependency tracking method... " >&6; }
39675
39676 BK_DEPS=""
39677 if test "x$bk_use_trackdeps" = "xno" ; then
39678 DEPS_TRACKING=0
39679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39680 $as_echo "disabled" >&6; }
39681 else
39682 DEPS_TRACKING=1
39683
39684 if test "x$GCC" = "xyes"; then
39685 DEPSMODE=gcc
39686 DEPSFLAG="-MMD"
39687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39688 $as_echo "gcc" >&6; }
39689 elif test "x$MWCC" = "xyes"; then
39690 DEPSMODE=mwcc
39691 DEPSFLAG="-MM"
39692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39693 $as_echo "mwcc" >&6; }
39694 elif test "x$SUNCC" = "xyes"; then
39695 DEPSMODE=unixcc
39696 DEPSFLAG="-xM1"
39697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39698 $as_echo "Sun cc" >&6; }
39699 elif test "x$SGICC" = "xyes"; then
39700 DEPSMODE=unixcc
39701 DEPSFLAG="-M"
39702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39703 $as_echo "SGI cc" >&6; }
39704 elif test "x$HPCC" = "xyes"; then
39705 DEPSMODE=unixcc
39706 DEPSFLAG="+make"
39707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39708 $as_echo "HP cc" >&6; }
39709 elif test "x$COMPAQCC" = "xyes"; then
39710 DEPSMODE=gcc
39711 DEPSFLAG="-MD"
39712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39713 $as_echo "Compaq cc" >&6; }
39714 else
39715 DEPS_TRACKING=0
39716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39717 $as_echo "none" >&6; }
39718 fi
39719
39720 if test $DEPS_TRACKING = 1 ; then
39721
39722 D='$'
39723 cat <<EOF >bk-deps
39724 #!/bin/sh
39725
39726 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39727 # script. It is used to track C/C++ files dependencies in portable way.
39728 #
39729 # Permission is given to use this file in any way.
39730
39731 DEPSMODE=${DEPSMODE}
39732 DEPSFLAG="${DEPSFLAG}"
39733 DEPSDIRBASE=.deps
39734
39735 if test ${D}DEPSMODE = gcc ; then
39736 ${D}* ${D}{DEPSFLAG}
39737 status=${D}?
39738
39739 # determine location of created files:
39740 while test ${D}# -gt 0; do
39741 case "${D}1" in
39742 -o )
39743 shift
39744 objfile=${D}1
39745 ;;
39746 -* )
39747 ;;
39748 * )
39749 srcfile=${D}1
39750 ;;
39751 esac
39752 shift
39753 done
39754 objfilebase=\`basename ${D}objfile\`
39755 builddir=\`dirname ${D}objfile\`
39756 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39757 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39758 depsdir=${D}builddir/${D}DEPSDIRBASE
39759 mkdir -p ${D}depsdir
39760
39761 # if the compiler failed, we're done:
39762 if test ${D}{status} != 0 ; then
39763 rm -f ${D}depfile
39764 exit ${D}{status}
39765 fi
39766
39767 # move created file to the location we want it in:
39768 if test -f ${D}depfile ; then
39769 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39770 rm -f ${D}depfile
39771 else
39772 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39773 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39774 if test ! -f ${D}depfile ; then
39775 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39776 depfile="${D}objfile.d"
39777 fi
39778 if test -f ${D}depfile ; then
39779 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39780 rm -f ${D}depfile
39781 fi
39782 fi
39783 exit 0
39784
39785 elif test ${D}DEPSMODE = mwcc ; then
39786 ${D}* || exit ${D}?
39787 # Run mwcc again with -MM and redirect into the dep file we want
39788 # NOTE: We can't use shift here because we need ${D}* to be valid
39789 prevarg=
39790 for arg in ${D}* ; do
39791 if test "${D}prevarg" = "-o"; then
39792 objfile=${D}arg
39793 else
39794 case "${D}arg" in
39795 -* )
39796 ;;
39797 * )
39798 srcfile=${D}arg
39799 ;;
39800 esac
39801 fi
39802 prevarg="${D}arg"
39803 done
39804
39805 objfilebase=\`basename ${D}objfile\`
39806 builddir=\`dirname ${D}objfile\`
39807 depsdir=${D}builddir/${D}DEPSDIRBASE
39808 mkdir -p ${D}depsdir
39809
39810 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39811 exit 0
39812
39813 elif test ${D}DEPSMODE = unixcc; then
39814 ${D}* || exit ${D}?
39815 # Run compiler again with deps flag and redirect into the dep file.
39816 # It doesn't work if the '-o FILE' option is used, but without it the
39817 # dependency file will contain the wrong name for the object. So it is
39818 # removed from the command line, and the dep file is fixed with sed.
39819 cmd=""
39820 while test ${D}# -gt 0; do
39821 case "${D}1" in
39822 -o )
39823 shift
39824 objfile=${D}1
39825 ;;
39826 * )
39827 eval arg${D}#=\\${D}1
39828 cmd="${D}cmd \\${D}arg${D}#"
39829 ;;
39830 esac
39831 shift
39832 done
39833
39834 objfilebase=\`basename ${D}objfile\`
39835 builddir=\`dirname ${D}objfile\`
39836 depsdir=${D}builddir/${D}DEPSDIRBASE
39837 mkdir -p ${D}depsdir
39838
39839 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39840 exit 0
39841
39842 else
39843 ${D}*
39844 exit ${D}?
39845 fi
39846 EOF
39847
39848 chmod +x bk-deps
39849 BK_DEPS="`pwd`/bk-deps"
39850 fi
39851 fi
39852
39853
39854
39855
39856
39857 case ${BAKEFILE_HOST} in
39858 *-*-cygwin* | *-*-mingw32* )
39859 if test -n "$ac_tool_prefix"; then
39860 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39861 set dummy ${ac_tool_prefix}windres; ac_word=$2
39862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39863 $as_echo_n "checking for $ac_word... " >&6; }
39864 if ${ac_cv_prog_WINDRES+:} false; then :
39865 $as_echo_n "(cached) " >&6
39866 else
39867 if test -n "$WINDRES"; then
39868 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
39869 else
39870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39871 for as_dir in $PATH
39872 do
39873 IFS=$as_save_IFS
39874 test -z "$as_dir" && as_dir=.
39875 for ac_exec_ext in '' $ac_executable_extensions; do
39876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39877 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
39878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39879 break 2
39880 fi
39881 done
39882 done
39883 IFS=$as_save_IFS
39884
39885 fi
39886 fi
39887 WINDRES=$ac_cv_prog_WINDRES
39888 if test -n "$WINDRES"; then
39889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39890 $as_echo "$WINDRES" >&6; }
39891 else
39892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39893 $as_echo "no" >&6; }
39894 fi
39895
39896
39897 fi
39898 if test -z "$ac_cv_prog_WINDRES"; then
39899 ac_ct_WINDRES=$WINDRES
39900 # Extract the first word of "windres", so it can be a program name with args.
39901 set dummy windres; ac_word=$2
39902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39903 $as_echo_n "checking for $ac_word... " >&6; }
39904 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
39905 $as_echo_n "(cached) " >&6
39906 else
39907 if test -n "$ac_ct_WINDRES"; then
39908 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
39909 else
39910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39911 for as_dir in $PATH
39912 do
39913 IFS=$as_save_IFS
39914 test -z "$as_dir" && as_dir=.
39915 for ac_exec_ext in '' $ac_executable_extensions; do
39916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39917 ac_cv_prog_ac_ct_WINDRES="windres"
39918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39919 break 2
39920 fi
39921 done
39922 done
39923 IFS=$as_save_IFS
39924
39925 fi
39926 fi
39927 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
39928 if test -n "$ac_ct_WINDRES"; then
39929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39930 $as_echo "$ac_ct_WINDRES" >&6; }
39931 else
39932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39933 $as_echo "no" >&6; }
39934 fi
39935
39936 if test "x$ac_ct_WINDRES" = x; then
39937 WINDRES=""
39938 else
39939 case $cross_compiling:$ac_tool_warned in
39940 yes:)
39941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39942 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39943 ac_tool_warned=yes ;;
39944 esac
39945 WINDRES=$ac_ct_WINDRES
39946 fi
39947 else
39948 WINDRES="$ac_cv_prog_WINDRES"
39949 fi
39950
39951 ;;
39952
39953 *-*-darwin* | powerpc-apple-macos* )
39954 # Extract the first word of "Rez", so it can be a program name with args.
39955 set dummy Rez; ac_word=$2
39956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39957 $as_echo_n "checking for $ac_word... " >&6; }
39958 if ${ac_cv_prog_REZ+:} false; then :
39959 $as_echo_n "(cached) " >&6
39960 else
39961 if test -n "$REZ"; then
39962 ac_cv_prog_REZ="$REZ" # Let the user override the test.
39963 else
39964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39965 for as_dir in $PATH
39966 do
39967 IFS=$as_save_IFS
39968 test -z "$as_dir" && as_dir=.
39969 for ac_exec_ext in '' $ac_executable_extensions; do
39970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39971 ac_cv_prog_REZ="Rez"
39972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39973 break 2
39974 fi
39975 done
39976 done
39977 IFS=$as_save_IFS
39978
39979 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
39980 fi
39981 fi
39982 REZ=$ac_cv_prog_REZ
39983 if test -n "$REZ"; then
39984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39985 $as_echo "$REZ" >&6; }
39986 else
39987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39988 $as_echo "no" >&6; }
39989 fi
39990
39991
39992 # Extract the first word of "SetFile", so it can be a program name with args.
39993 set dummy SetFile; ac_word=$2
39994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39995 $as_echo_n "checking for $ac_word... " >&6; }
39996 if ${ac_cv_prog_SETFILE+:} false; then :
39997 $as_echo_n "(cached) " >&6
39998 else
39999 if test -n "$SETFILE"; then
40000 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
40001 else
40002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40003 for as_dir in $PATH
40004 do
40005 IFS=$as_save_IFS
40006 test -z "$as_dir" && as_dir=.
40007 for ac_exec_ext in '' $ac_executable_extensions; do
40008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40009 ac_cv_prog_SETFILE="SetFile"
40010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40011 break 2
40012 fi
40013 done
40014 done
40015 IFS=$as_save_IFS
40016
40017 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
40018 fi
40019 fi
40020 SETFILE=$ac_cv_prog_SETFILE
40021 if test -n "$SETFILE"; then
40022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
40023 $as_echo "$SETFILE" >&6; }
40024 else
40025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40026 $as_echo "no" >&6; }
40027 fi
40028
40029
40030 ;;
40031 esac
40032
40033
40034
40035
40036
40037
40038
40039
40040
40041 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
40042
40043
40044 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
40045
40046
40047
40048 # Check whether --enable-precomp-headers was given.
40049 if test "${enable_precomp_headers+set}" = set; then :
40050 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
40051 fi
40052
40053
40054 GCC_PCH=0
40055 ICC_PCH=0
40056 USE_PCH=0
40057 BK_MAKE_PCH=""
40058
40059 case ${BAKEFILE_HOST} in
40060 *-*-cygwin* )
40061 bk_use_pch="no"
40062 ;;
40063 esac
40064
40065 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40066 if test "x$GCC" = "xyes"; then
40067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
40068 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
40069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40070 /* end confdefs.h. */
40071
40072 int
40073 main ()
40074 {
40075
40076 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40077 There is no PCH support
40078 #endif
40079 #if (__GNUC__ < 3)
40080 There is no PCH support
40081 #endif
40082 #if (__GNUC__ == 3) && \
40083 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40084 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
40085 ( defined(__INTEL_COMPILER) )
40086 There is no PCH support
40087 #endif
40088
40089 ;
40090 return 0;
40091 }
40092 _ACEOF
40093 if ac_fn_c_try_compile "$LINENO"; then :
40094
40095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40096 $as_echo "yes" >&6; }
40097 GCC_PCH=1
40098
40099 else
40100
40101 if test "$INTELCXX8" = "yes"; then
40102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40103 $as_echo "yes" >&6; }
40104 ICC_PCH=1
40105 if test "$INTELCXX10" = "yes"; then
40106 ICC_PCH_CREATE_SWITCH="-pch-create"
40107 ICC_PCH_USE_SWITCH="-pch-use"
40108 else
40109 ICC_PCH_CREATE_SWITCH="-create-pch"
40110 ICC_PCH_USE_SWITCH="-use-pch"
40111 fi
40112 else
40113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40114 $as_echo "no" >&6; }
40115 fi
40116
40117 fi
40118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40119 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
40120 USE_PCH=1
40121
40122 D='$'
40123 cat <<EOF >bk-make-pch
40124 #!/bin/sh
40125
40126 # This script is part of Bakefile (http://www.bakefile.org) autoconf
40127 # script. It is used to generated precompiled headers.
40128 #
40129 # Permission is given to use this file in any way.
40130
40131 outfile="${D}{1}"
40132 header="${D}{2}"
40133 shift
40134 shift
40135
40136 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
40137
40138 compiler=""
40139 headerfile=""
40140
40141 while test ${D}{#} -gt 0; do
40142 add_to_cmdline=1
40143 case "${D}{1}" in
40144 -I* )
40145 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40146 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40147 headerfile="${D}{incdir}/${D}{header}"
40148 fi
40149 ;;
40150 -use-pch|-use_pch|-pch-use )
40151 shift
40152 add_to_cmdline=0
40153 ;;
40154 esac
40155 if test ${D}add_to_cmdline = 1 ; then
40156 compiler="${D}{compiler} ${D}{1}"
40157 fi
40158 shift
40159 done
40160
40161 if test "x${D}{headerfile}" = "x" ; then
40162 echo "error: can't find header ${D}{header} in include paths" >&2
40163 else
40164 if test -f ${D}{outfile} ; then
40165 rm -f ${D}{outfile}
40166 else
40167 mkdir -p \`dirname ${D}{outfile}\`
40168 fi
40169 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40170 mkdir -p ${D}{builddir}/.deps
40171 if test "x${GCC_PCH}" = "x1" ; then
40172 # can do this because gcc is >= 3.4:
40173 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40174 elif test "x${ICC_PCH}" = "x1" ; then
40175 filename=pch_gen-${D}${D}
40176 file=${D}{filename}.c
40177 dfile=${D}{filename}.d
40178 cat > ${D}file <<EOT
40179 #include "${D}header"
40180 EOT
40181 # using -MF icc complains about differing command lines in creation/use
40182 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
40183 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
40184 rm -f ${D}file ${D}dfile ${D}{filename}.o
40185 fi
40186 exit ${D}{?}
40187 fi
40188 EOF
40189
40190 chmod +x bk-make-pch
40191 BK_MAKE_PCH="`pwd`/bk-make-pch"
40192 fi
40193 fi
40194 fi
40195
40196
40197
40198
40199
40200
40201
40202 COND_BUILD_debug="#"
40203 if test "x$BUILD" = "xdebug" ; then
40204 COND_BUILD_debug=""
40205 fi
40206
40207 COND_BUILD_debug_DEBUG_INFO_default="#"
40208 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40209 COND_BUILD_debug_DEBUG_INFO_default=""
40210 fi
40211
40212 COND_BUILD_release="#"
40213 if test "x$BUILD" = "xrelease" ; then
40214 COND_BUILD_release=""
40215 fi
40216
40217 COND_BUILD_release_DEBUG_INFO_default="#"
40218 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40219 COND_BUILD_release_DEBUG_INFO_default=""
40220 fi
40221
40222 COND_DEBUG_FLAG_0="#"
40223 if test "x$DEBUG_FLAG" = "x0" ; then
40224 COND_DEBUG_FLAG_0=""
40225 fi
40226
40227 COND_DEBUG_INFO_0="#"
40228 if test "x$DEBUG_INFO" = "x0" ; then
40229 COND_DEBUG_INFO_0=""
40230 fi
40231
40232 COND_DEBUG_INFO_1="#"
40233 if test "x$DEBUG_INFO" = "x1" ; then
40234 COND_DEBUG_INFO_1=""
40235 fi
40236
40237 COND_DEPS_TRACKING_0="#"
40238 if test "x$DEPS_TRACKING" = "x0" ; then
40239 COND_DEPS_TRACKING_0=""
40240 fi
40241
40242 COND_DEPS_TRACKING_1="#"
40243 if test "x$DEPS_TRACKING" = "x1" ; then
40244 COND_DEPS_TRACKING_1=""
40245 fi
40246
40247 COND_GCC_PCH_1="#"
40248 if test "x$GCC_PCH" = "x1" ; then
40249 COND_GCC_PCH_1=""
40250 fi
40251
40252 COND_ICC_PCH_1="#"
40253 if test "x$ICC_PCH" = "x1" ; then
40254 COND_ICC_PCH_1=""
40255 fi
40256
40257 COND_MONOLITHIC_0="#"
40258 if test "x$MONOLITHIC" = "x0" ; then
40259 COND_MONOLITHIC_0=""
40260 fi
40261
40262 COND_MONOLITHIC_0_SHARED_0="#"
40263 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40264 COND_MONOLITHIC_0_SHARED_0=""
40265 fi
40266
40267 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
40268 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40269 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
40270 fi
40271
40272 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40273 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40274 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40275 fi
40276
40277 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
40278 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40279 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
40280 fi
40281
40282 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
40283 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40284 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
40285 fi
40286
40287 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
40288 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40289 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
40290 fi
40291
40292 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
40293 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40294 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
40295 fi
40296
40297 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
40298 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40299 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
40300 fi
40301
40302 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
40303 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40304 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
40305 fi
40306
40307 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
40308 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40309 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
40310 fi
40311
40312 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
40313 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40314 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
40315 fi
40316
40317 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40318 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40319 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40320 fi
40321
40322 COND_MONOLITHIC_0_SHARED_1="#"
40323 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40324 COND_MONOLITHIC_0_SHARED_1=""
40325 fi
40326
40327 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
40328 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40329 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
40330 fi
40331
40332 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40333 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40334 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40335 fi
40336
40337 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
40338 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40339 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
40340 fi
40341
40342 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
40343 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40344 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
40345 fi
40346
40347 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
40348 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40349 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
40350 fi
40351
40352 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
40353 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40354 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
40355 fi
40356
40357 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
40358 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40359 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
40360 fi
40361
40362 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
40363 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40364 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
40365 fi
40366
40367 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
40368 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40369 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
40370 fi
40371
40372 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
40373 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40374 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
40375 fi
40376
40377 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40378 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40379 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40380 fi
40381
40382 COND_MONOLITHIC_0_USE_AUI_1="#"
40383 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40384 COND_MONOLITHIC_0_USE_AUI_1=""
40385 fi
40386
40387 COND_MONOLITHIC_0_USE_GUI_1="#"
40388 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40389 COND_MONOLITHIC_0_USE_GUI_1=""
40390 fi
40391
40392 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
40393 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40394 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
40395 fi
40396
40397 COND_MONOLITHIC_0_USE_HTML_1="#"
40398 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40399 COND_MONOLITHIC_0_USE_HTML_1=""
40400 fi
40401
40402 COND_MONOLITHIC_0_USE_MEDIA_1="#"
40403 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40404 COND_MONOLITHIC_0_USE_MEDIA_1=""
40405 fi
40406
40407 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
40408 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40409 COND_MONOLITHIC_0_USE_PROPGRID_1=""
40410 fi
40411
40412 COND_MONOLITHIC_0_USE_QA_1="#"
40413 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40414 COND_MONOLITHIC_0_USE_QA_1=""
40415 fi
40416
40417 COND_MONOLITHIC_0_USE_RIBBON_1="#"
40418 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40419 COND_MONOLITHIC_0_USE_RIBBON_1=""
40420 fi
40421
40422 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
40423 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40424 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
40425 fi
40426
40427 COND_MONOLITHIC_0_USE_STC_1="#"
40428 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40429 COND_MONOLITHIC_0_USE_STC_1=""
40430 fi
40431
40432 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
40433 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40434 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
40435 fi
40436
40437 COND_MONOLITHIC_0_USE_XRC_1="#"
40438 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40439 COND_MONOLITHIC_0_USE_XRC_1=""
40440 fi
40441
40442 COND_MONOLITHIC_1="#"
40443 if test "x$MONOLITHIC" = "x1" ; then
40444 COND_MONOLITHIC_1=""
40445 fi
40446
40447 COND_MONOLITHIC_1_SHARED_0="#"
40448 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40449 COND_MONOLITHIC_1_SHARED_0=""
40450 fi
40451
40452 COND_MONOLITHIC_1_SHARED_1="#"
40453 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40454 COND_MONOLITHIC_1_SHARED_1=""
40455 fi
40456
40457 COND_MONOLITHIC_1_USE_STC_1="#"
40458 if test "x$MONOLITHIC" = "x1" -a "x$USE_STC" = "x1" ; then
40459 COND_MONOLITHIC_1_USE_STC_1=""
40460 fi
40461
40462 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40463 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40464 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40465 fi
40466
40467 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40468 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40469 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40470 fi
40471
40472 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
40473 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40474 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
40475 fi
40476
40477 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40478 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40479 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40480 fi
40481
40482 COND_PLATFORM_MACOSX_1="#"
40483 if test "x$PLATFORM_MACOSX" = "x1" ; then
40484 COND_PLATFORM_MACOSX_1=""
40485 fi
40486
40487 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
40488 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40489 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
40490 fi
40491
40492 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
40493 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40494 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
40495 fi
40496
40497 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40498 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40499 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40500 fi
40501
40502 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40503 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40504 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40505 fi
40506
40507 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40508 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40509 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40510 fi
40511
40512 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40513 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40514 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40515 fi
40516
40517 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40518 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40519 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40520 fi
40521
40522 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
40523 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40524 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
40525 fi
40526
40527 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40528 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40529 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40530 fi
40531
40532 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
40533 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40534 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
40535 fi
40536
40537 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40538 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40539 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40540 fi
40541
40542 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40543 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40544 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40545 fi
40546
40547 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40548 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40549 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40550 fi
40551
40552 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
40553 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40554 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
40555 fi
40556
40557 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40558 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40559 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40560 fi
40561
40562 COND_PLATFORM_MAC_0="#"
40563 if test "x$PLATFORM_MAC" = "x0" ; then
40564 COND_PLATFORM_MAC_0=""
40565 fi
40566
40567 COND_PLATFORM_MAC_1="#"
40568 if test "x$PLATFORM_MAC" = "x1" ; then
40569 COND_PLATFORM_MAC_1=""
40570 fi
40571
40572 COND_PLATFORM_MSDOS_0="#"
40573 if test "x$PLATFORM_MSDOS" = "x0" ; then
40574 COND_PLATFORM_MSDOS_0=""
40575 fi
40576
40577 COND_PLATFORM_MSDOS_1="#"
40578 if test "x$PLATFORM_MSDOS" = "x1" ; then
40579 COND_PLATFORM_MSDOS_1=""
40580 fi
40581
40582 COND_PLATFORM_OS2_1="#"
40583 if test "x$PLATFORM_OS2" = "x1" ; then
40584 COND_PLATFORM_OS2_1=""
40585 fi
40586
40587 COND_PLATFORM_UNIX_0="#"
40588 if test "x$PLATFORM_UNIX" = "x0" ; then
40589 COND_PLATFORM_UNIX_0=""
40590 fi
40591
40592 COND_PLATFORM_UNIX_1="#"
40593 if test "x$PLATFORM_UNIX" = "x1" ; then
40594 COND_PLATFORM_UNIX_1=""
40595 fi
40596
40597 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40598 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40599 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40600 fi
40601
40602 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40603 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40604 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40605 fi
40606
40607 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40608 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40609 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40610 fi
40611
40612 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40613 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40614 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40615 fi
40616
40617 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40618 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40619 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40620 fi
40621
40622 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40623 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40624 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40625 fi
40626
40627 COND_PLATFORM_WIN32_0="#"
40628 if test "x$PLATFORM_WIN32" = "x0" ; then
40629 COND_PLATFORM_WIN32_0=""
40630 fi
40631
40632 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40633 if test "x$PLATFORM_WIN32" = "x0" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40634 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40635 fi
40636
40637 COND_PLATFORM_WIN32_1="#"
40638 if test "x$PLATFORM_WIN32" = "x1" ; then
40639 COND_PLATFORM_WIN32_1=""
40640 fi
40641
40642 COND_PLATFORM_WIN32_1_SHARED_0="#"
40643 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40644 COND_PLATFORM_WIN32_1_SHARED_0=""
40645 fi
40646
40647 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40648 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40649 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40650 fi
40651
40652 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40653 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40654 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40655 fi
40656
40657 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40658 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40659 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40660 fi
40661
40662 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40663 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40664 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40665 fi
40666
40667 COND_SHARED_0="#"
40668 if test "x$SHARED" = "x0" ; then
40669 COND_SHARED_0=""
40670 fi
40671
40672 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40673 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40674 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40675 fi
40676
40677 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40678 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40679 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40680 fi
40681
40682 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40683 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40684 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40685 fi
40686
40687 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40688 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40689 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40690 fi
40691
40692 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40693 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40694 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40695 fi
40696
40697 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40698 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40699 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40700 fi
40701
40702 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40703 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40704 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40705 fi
40706
40707 COND_SHARED_0_USE_STC_1="#"
40708 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40709 COND_SHARED_0_USE_STC_1=""
40710 fi
40711
40712 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
40713 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40714 COND_SHARED_0_wxUSE_EXPAT_builtin=""
40715 fi
40716
40717 COND_SHARED_0_wxUSE_REGEX_builtin="#"
40718 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40719 COND_SHARED_0_wxUSE_REGEX_builtin=""
40720 fi
40721
40722 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
40723 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40724 COND_SHARED_0_wxUSE_ZLIB_builtin=""
40725 fi
40726
40727 COND_SHARED_1="#"
40728 if test "x$SHARED" = "x1" ; then
40729 COND_SHARED_1=""
40730 fi
40731
40732 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40733 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40734 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40735 fi
40736
40737 COND_TOOLKIT_="#"
40738 if test "x$TOOLKIT" = "x" ; then
40739 COND_TOOLKIT_=""
40740 fi
40741
40742 COND_TOOLKIT_COCOA="#"
40743 if test "x$TOOLKIT" = "xCOCOA" ; then
40744 COND_TOOLKIT_COCOA=""
40745 fi
40746
40747 COND_TOOLKIT_COCOA_USE_GUI_1="#"
40748 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40749 COND_TOOLKIT_COCOA_USE_GUI_1=""
40750 fi
40751
40752 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40753 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40754 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40755 fi
40756
40757 COND_TOOLKIT_DFB="#"
40758 if test "x$TOOLKIT" = "xDFB" ; then
40759 COND_TOOLKIT_DFB=""
40760 fi
40761
40762 COND_TOOLKIT_DFB_USE_GUI_1="#"
40763 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40764 COND_TOOLKIT_DFB_USE_GUI_1=""
40765 fi
40766
40767 COND_TOOLKIT_GTK="#"
40768 if test "x$TOOLKIT" = "xGTK" ; then
40769 COND_TOOLKIT_GTK=""
40770 fi
40771
40772 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
40773 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40774 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
40775 fi
40776
40777 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40778 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40779 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40780 fi
40781
40782 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40783 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40784 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40785 fi
40786
40787 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
40788 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40789 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
40790 fi
40791
40792 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1="#"
40793 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40794 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1=""
40795 fi
40796
40797 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
40798 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40799 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
40800 fi
40801
40802 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1="#"
40803 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x1" ; then
40804 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1=""
40805 fi
40806
40807 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40808 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40809 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40810 fi
40811
40812 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40813 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40814 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40815 fi
40816
40817 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0="#"
40818 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40819 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0=""
40820 fi
40821
40822 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0="#"
40823 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40824 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0=""
40825 fi
40826
40827 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
40828 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40829 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
40830 fi
40831
40832 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
40833 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40834 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
40835 fi
40836
40837 COND_TOOLKIT_GTK_USE_GUI_1="#"
40838 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40839 COND_TOOLKIT_GTK_USE_GUI_1=""
40840 fi
40841
40842 COND_TOOLKIT_MAC="#"
40843 if test "x$TOOLKIT" = "xMAC" ; then
40844 COND_TOOLKIT_MAC=""
40845 fi
40846
40847 COND_TOOLKIT_MOTIF="#"
40848 if test "x$TOOLKIT" = "xMOTIF" ; then
40849 COND_TOOLKIT_MOTIF=""
40850 fi
40851
40852 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40853 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40854 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40855 fi
40856
40857 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40858 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40859 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40860 fi
40861
40862 COND_TOOLKIT_MSW="#"
40863 if test "x$TOOLKIT" = "xMSW" ; then
40864 COND_TOOLKIT_MSW=""
40865 fi
40866
40867 COND_TOOLKIT_MSW_USE_GUI_1="#"
40868 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40869 COND_TOOLKIT_MSW_USE_GUI_1=""
40870 fi
40871
40872 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40873 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40874 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40875 fi
40876
40877 COND_TOOLKIT_MSW_WXUNIV_0="#"
40878 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40879 COND_TOOLKIT_MSW_WXUNIV_0=""
40880 fi
40881
40882 COND_TOOLKIT_OSX_CARBON="#"
40883 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40884 COND_TOOLKIT_OSX_CARBON=""
40885 fi
40886
40887 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40888 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40889 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40890 fi
40891
40892 COND_TOOLKIT_OSX_COCOA="#"
40893 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40894 COND_TOOLKIT_OSX_COCOA=""
40895 fi
40896
40897 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40898 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40899 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40900 fi
40901
40902 COND_TOOLKIT_OSX_IPHONE="#"
40903 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40904 COND_TOOLKIT_OSX_IPHONE=""
40905 fi
40906
40907 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40908 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40909 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40910 fi
40911
40912 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40913 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40914 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40915 fi
40916
40917 COND_TOOLKIT_PM="#"
40918 if test "x$TOOLKIT" = "xPM" ; then
40919 COND_TOOLKIT_PM=""
40920 fi
40921
40922 COND_TOOLKIT_PM_USE_GUI_1="#"
40923 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40924 COND_TOOLKIT_PM_USE_GUI_1=""
40925 fi
40926
40927 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40928 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40929 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40930 fi
40931
40932 COND_TOOLKIT_WINCE="#"
40933 if test "x$TOOLKIT" = "xWINCE" ; then
40934 COND_TOOLKIT_WINCE=""
40935 fi
40936
40937 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40938 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40939 COND_TOOLKIT_WINCE_USE_GUI_1=""
40940 fi
40941
40942 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40943 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40944 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40945 fi
40946
40947 COND_TOOLKIT_WINCE_WXUNIV_0="#"
40948 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40949 COND_TOOLKIT_WINCE_WXUNIV_0=""
40950 fi
40951
40952 COND_TOOLKIT_X11="#"
40953 if test "x$TOOLKIT" = "xX11" ; then
40954 COND_TOOLKIT_X11=""
40955 fi
40956
40957 COND_TOOLKIT_X11_USE_GUI_1="#"
40958 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40959 COND_TOOLKIT_X11_USE_GUI_1=""
40960 fi
40961
40962 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1="#"
40963 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40964 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1=""
40965 fi
40966
40967 COND_TOOLKIT_X11_WXUNIV_1="#"
40968 if test "x$TOOLKIT" = "xX11" -a "x$WXUNIV" = "x1" ; then
40969 COND_TOOLKIT_X11_WXUNIV_1=""
40970 fi
40971
40972 COND_UNICODE_1="#"
40973 if test "x$UNICODE" = "x1" ; then
40974 COND_UNICODE_1=""
40975 fi
40976
40977 COND_USE_CAIRO_1="#"
40978 if test "x$USE_CAIRO" = "x1" ; then
40979 COND_USE_CAIRO_1=""
40980 fi
40981
40982 COND_USE_EXCEPTIONS_0="#"
40983 if test "x$USE_EXCEPTIONS" = "x0" ; then
40984 COND_USE_EXCEPTIONS_0=""
40985 fi
40986
40987 COND_USE_EXCEPTIONS_1="#"
40988 if test "x$USE_EXCEPTIONS" = "x1" ; then
40989 COND_USE_EXCEPTIONS_1=""
40990 fi
40991
40992 COND_USE_GUI_0="#"
40993 if test "x$USE_GUI" = "x0" ; then
40994 COND_USE_GUI_0=""
40995 fi
40996
40997 COND_USE_GUI_1="#"
40998 if test "x$USE_GUI" = "x1" ; then
40999 COND_USE_GUI_1=""
41000 fi
41001
41002 COND_USE_GUI_1_USE_OPENGL_1="#"
41003 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41004 COND_USE_GUI_1_USE_OPENGL_1=""
41005 fi
41006
41007 COND_USE_GUI_1_WXUNIV_0="#"
41008 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41009 COND_USE_GUI_1_WXUNIV_0=""
41010 fi
41011
41012 COND_USE_GUI_1_WXUNIV_1="#"
41013 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41014 COND_USE_GUI_1_WXUNIV_1=""
41015 fi
41016
41017 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
41018 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41019 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
41020 fi
41021
41022 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
41023 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41024 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
41025 fi
41026
41027 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
41028 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41029 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
41030 fi
41031
41032 COND_USE_OPENGL_1="#"
41033 if test "x$USE_OPENGL" = "x1" ; then
41034 COND_USE_OPENGL_1=""
41035 fi
41036
41037 COND_USE_PCH_1="#"
41038 if test "x$USE_PCH" = "x1" ; then
41039 COND_USE_PCH_1=""
41040 fi
41041
41042 COND_USE_PLUGINS_0="#"
41043 if test "x$USE_PLUGINS" = "x0" ; then
41044 COND_USE_PLUGINS_0=""
41045 fi
41046
41047 COND_USE_RTTI_0="#"
41048 if test "x$USE_RTTI" = "x0" ; then
41049 COND_USE_RTTI_0=""
41050 fi
41051
41052 COND_USE_RTTI_1="#"
41053 if test "x$USE_RTTI" = "x1" ; then
41054 COND_USE_RTTI_1=""
41055 fi
41056
41057 COND_USE_SOTWOSYMLINKS_1="#"
41058 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
41059 COND_USE_SOTWOSYMLINKS_1=""
41060 fi
41061
41062 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
41063 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41064 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
41065 fi
41066
41067 COND_USE_SOVERLINUX_1="#"
41068 if test "x$USE_SOVERLINUX" = "x1" ; then
41069 COND_USE_SOVERLINUX_1=""
41070 fi
41071
41072 COND_USE_SOVERSION_0="#"
41073 if test "x$USE_SOVERSION" = "x0" ; then
41074 COND_USE_SOVERSION_0=""
41075 fi
41076
41077 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
41078 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
41079 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
41080 fi
41081
41082 COND_USE_SOVERSOLARIS_1="#"
41083 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41084 COND_USE_SOVERSOLARIS_1=""
41085 fi
41086
41087 COND_USE_STC_1="#"
41088 if test "x$USE_STC" = "x1" ; then
41089 COND_USE_STC_1=""
41090 fi
41091
41092 COND_USE_THREADS_0="#"
41093 if test "x$USE_THREADS" = "x0" ; then
41094 COND_USE_THREADS_0=""
41095 fi
41096
41097 COND_USE_THREADS_1="#"
41098 if test "x$USE_THREADS" = "x1" ; then
41099 COND_USE_THREADS_1=""
41100 fi
41101
41102 COND_USE_XRC_1="#"
41103 if test "x$USE_XRC" = "x1" ; then
41104 COND_USE_XRC_1=""
41105 fi
41106
41107 COND_WINDOWS_IMPLIB_1="#"
41108 if test "x$WINDOWS_IMPLIB" = "x1" ; then
41109 COND_WINDOWS_IMPLIB_1=""
41110 fi
41111
41112 COND_WITH_PLUGIN_SDL_1="#"
41113 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41114 COND_WITH_PLUGIN_SDL_1=""
41115 fi
41116
41117 COND_WXUNIV_0="#"
41118 if test "x$WXUNIV" = "x0" ; then
41119 COND_WXUNIV_0=""
41120 fi
41121
41122 COND_WXUNIV_1="#"
41123 if test "x$WXUNIV" = "x1" ; then
41124 COND_WXUNIV_1=""
41125 fi
41126
41127 COND_wxUSE_EXPAT_builtin="#"
41128 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41129 COND_wxUSE_EXPAT_builtin=""
41130 fi
41131
41132 COND_wxUSE_LIBJPEG_builtin="#"
41133 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41134 COND_wxUSE_LIBJPEG_builtin=""
41135 fi
41136
41137 COND_wxUSE_LIBPNG_builtin="#"
41138 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41139 COND_wxUSE_LIBPNG_builtin=""
41140 fi
41141
41142 COND_wxUSE_LIBTIFF_builtin="#"
41143 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41144 COND_wxUSE_LIBTIFF_builtin=""
41145 fi
41146
41147 COND_wxUSE_REGEX_builtin="#"
41148 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41149 COND_wxUSE_REGEX_builtin=""
41150 fi
41151
41152 COND_wxUSE_ZLIB_builtin="#"
41153 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41154 COND_wxUSE_ZLIB_builtin=""
41155 fi
41156
41157
41158
41159 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
41160 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
41161 fi
41162
41163 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41164 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
41165 fi
41166
41167
41168 case ${INSTALL} in
41169 /* ) # Absolute
41170 ;;
41171 ?:* ) # Drive letter, considered as absolute.
41172 ;;
41173 *)
41174 INSTALL=`pwd`/${INSTALL} ;;
41175 esac
41176
41177 if test "$wxUSE_GUI" = "yes"; then
41178
41179 if test "$wxUSE_MSW" = 1 ; then
41180 if test "x$WINDRES" = "x"; then
41181 as_fn_error $? "Required windres program not found" "$LINENO" 5
41182 fi
41183
41184 RESCOMP="$WINDRES"
41185 fi
41186
41187 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
41188 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
41189 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
41190
41191 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
41192
41193 # Extract the first word of "DeRez", so it can be a program name with args.
41194 set dummy DeRez; ac_word=$2
41195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41196 $as_echo_n "checking for $ac_word... " >&6; }
41197 if ${ac_cv_prog_DEREZ+:} false; then :
41198 $as_echo_n "(cached) " >&6
41199 else
41200 if test -n "$DEREZ"; then
41201 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
41202 else
41203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41204 for as_dir in $PATH
41205 do
41206 IFS=$as_save_IFS
41207 test -z "$as_dir" && as_dir=.
41208 for ac_exec_ext in '' $ac_executable_extensions; do
41209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41210 ac_cv_prog_DEREZ="DeRez"
41211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41212 break 2
41213 fi
41214 done
41215 done
41216 IFS=$as_save_IFS
41217
41218 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
41219 fi
41220 fi
41221 DEREZ=$ac_cv_prog_DEREZ
41222 if test -n "$DEREZ"; then
41223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
41224 $as_echo "$DEREZ" >&6; }
41225 else
41226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41227 $as_echo "no" >&6; }
41228 fi
41229
41230
41231
41232 MACSETFILE="\$(SETFILE)"
41233
41234 if test "$wxUSE_OSX_CARBON" = 1; then
41235 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
41236 RESCOMP="$REZ"
41237 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
41238 else
41239 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
41240 RESCOMP="cat /dev/null \| $REZ"
41241 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
41242 fi
41243
41244 else
41245 MACSETFILE="@true"
41246
41247 if test "$wxUSE_PM" = 1; then
41248 RESCOMP="emxbind"
41249 WXCONFIG_RESFLAGS="-ep"
41250
41251 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
41252 else
41253 POSTLINK_COMMAND="@true"
41254 fi
41255 fi
41256
41257 fi
41258
41259
41260 if test $GCC_PCH = 1
41261 then
41262 if test "$wx_cv_gcc_pch_bug" = yes; then
41263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
41264 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
41265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
41266 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41268 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41269 fi
41270
41271 # Our WX_PRECOMP flag does not make sense for any language except C++ because
41272 # the headers that benefit from precompilation are mostly C++ headers.
41273 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41274 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41275 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41276 fi
41277
41278
41279 if test "$wxUSE_MAC" = 1 ; then
41280 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41281 if test "x$disable_macosx_deps" = "xyes"; then
41282 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
41283 mv temp bk-deps
41284 chmod +x bk-deps
41285 fi
41286 fi
41287 fi
41288
41289 if test "$wxUSE_SHARED" = "yes"; then
41290 case "${host}" in
41291 *-pc-os2_emx | *-pc-os2-emx )
41292 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41293 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41294 cp -p ${srcdir}/src/os2/dllnames.sh .
41295 cp -p ${srcdir}/src/os2/dllar.sh .
41296 ;;
41297 esac
41298 fi
41299 if test "$wxUSE_OMF" = "yes"; then
41300 case "${host}" in
41301 *-pc-os2_emx | *-pc-os2-emx )
41302 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
41303 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41304 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41305 ;;
41306 esac
41307 fi
41308
41309 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41310
41311
41312 case "${host}" in
41313 *-*-solaris2* )
41314 if test "$GCC" = yes; then
41315 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
41316 LIBS=`echo $LIBS | sed 's/-mt//g'`
41317 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41318 fi
41319 ;;
41320
41321 *-*-linux* )
41322 if test "x$SUNCXX" = xyes; then
41323 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
41324 LIBS=`echo $LIBS | sed 's/-pthread//g'`
41325 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41326 fi
41327 ;;
41328 esac
41329
41330 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
41331 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41332 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
41333 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41334
41335 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41336
41337
41338
41339
41340
41341
41342
41343
41344
41345
41346
41347
41348
41349
41350
41351
41352
41353
41354
41355
41356
41357
41358
41359
41360
41361
41362
41363
41364
41365
41366
41367
41368
41369
41370
41371
41372
41373
41374
41375
41376
41377
41378
41379
41380
41381
41382
41383
41384
41385
41386
41387
41388
41389
41390
41391
41392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41393 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41394 set x ${MAKE-make}
41395 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41396 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
41397 $as_echo_n "(cached) " >&6
41398 else
41399 cat >conftest.make <<\_ACEOF
41400 SHELL = /bin/sh
41401 all:
41402 @echo '@@@%%%=$(MAKE)=@@@%%%'
41403 _ACEOF
41404 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41405 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41406 *@@@%%%=?*=@@@%%%*)
41407 eval ac_cv_prog_make_${ac_make}_set=yes;;
41408 *)
41409 eval ac_cv_prog_make_${ac_make}_set=no;;
41410 esac
41411 rm -f conftest.make
41412 fi
41413 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
41414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41415 $as_echo "yes" >&6; }
41416 SET_MAKE=
41417 else
41418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41419 $as_echo "no" >&6; }
41420 SET_MAKE="MAKE=${MAKE-make}"
41421 fi
41422
41423
41424
41425 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41426
41427
41428 if test "$USE_WIN32" = 1; then
41429 ac_config_commands="$ac_config_commands rcdefs.h"
41430
41431 fi
41432
41433 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41434
41435
41436 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41437
41438
41439 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
41440
41441
41442 if test "$wx_cv_version_script" = "yes"; then
41443 ac_config_files="$ac_config_files version-script"
41444
41445 fi
41446 ac_config_files="$ac_config_files Makefile"
41447
41448
41449 ac_config_commands="$ac_config_commands wx-config"
41450
41451
41452
41453 if test "$wxWITH_SUBDIRS" != "no"; then
41454 if test "$wxUSE_GUI" = "yes"; then
41455 SUBDIRS="samples demos utils"
41456 else
41457 SUBDIRS="samples utils"
41458 fi
41459
41460
41461
41462 # Check whether --with-cppunit-prefix was given.
41463 if test "${with_cppunit_prefix+set}" = set; then :
41464 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
41465 else
41466 cppunit_config_prefix=""
41467 fi
41468
41469
41470 # Check whether --with-cppunit-exec-prefix was given.
41471 if test "${with_cppunit_exec_prefix+set}" = set; then :
41472 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
41473 else
41474 cppunit_config_exec_prefix=""
41475 fi
41476
41477
41478 if test x$cppunit_config_exec_prefix != x ; then
41479 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41480 if test x${CPPUNIT_CONFIG+set} != xset ; then
41481 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41482 fi
41483 fi
41484 if test x$cppunit_config_prefix != x ; then
41485 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41486 if test x${CPPUNIT_CONFIG+set} != xset ; then
41487 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41488 fi
41489 fi
41490
41491 # Extract the first word of "cppunit-config", so it can be a program name with args.
41492 set dummy cppunit-config; ac_word=$2
41493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41494 $as_echo_n "checking for $ac_word... " >&6; }
41495 if ${ac_cv_path_CPPUNIT_CONFIG+:} false; then :
41496 $as_echo_n "(cached) " >&6
41497 else
41498 case $CPPUNIT_CONFIG in
41499 [\\/]* | ?:[\\/]*)
41500 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41501 ;;
41502 *)
41503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41504 for as_dir in $PATH
41505 do
41506 IFS=$as_save_IFS
41507 test -z "$as_dir" && as_dir=.
41508 for ac_exec_ext in '' $ac_executable_extensions; do
41509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41510 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41512 break 2
41513 fi
41514 done
41515 done
41516 IFS=$as_save_IFS
41517
41518 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41519 ;;
41520 esac
41521 fi
41522 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41523 if test -n "$CPPUNIT_CONFIG"; then
41524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41525 $as_echo "$CPPUNIT_CONFIG" >&6; }
41526 else
41527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41528 $as_echo "no" >&6; }
41529 fi
41530
41531
41532 cppunit_version_min=1.8.0
41533
41534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41535 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41536 no_cppunit=""
41537 if test "$CPPUNIT_CONFIG" = "no" ; then
41538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41539 $as_echo "no" >&6; }
41540 no_cppunit=yes
41541 else
41542 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41543 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41544 cppunit_version=`$CPPUNIT_CONFIG --version`
41545
41546 cppunit_major_version=`echo $cppunit_version | \
41547 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41548 cppunit_minor_version=`echo $cppunit_version | \
41549 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41550 cppunit_micro_version=`echo $cppunit_version | \
41551 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41552
41553 cppunit_major_min=`echo $cppunit_version_min | \
41554 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41555 cppunit_minor_min=`echo $cppunit_version_min | \
41556 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41557 cppunit_micro_min=`echo $cppunit_version_min | \
41558 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41559
41560 cppunit_version_proper=`expr \
41561 $cppunit_major_version \> $cppunit_major_min \| \
41562 $cppunit_major_version \= $cppunit_major_min \& \
41563 $cppunit_minor_version \> $cppunit_minor_min \| \
41564 $cppunit_major_version \= $cppunit_major_min \& \
41565 $cppunit_minor_version \= $cppunit_minor_min \& \
41566 $cppunit_micro_version \>= $cppunit_micro_min `
41567
41568 if test "$cppunit_version_proper" = "1" ; then
41569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41570 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41571 else
41572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41573 $as_echo "no" >&6; }
41574 no_cppunit=yes
41575 fi
41576 fi
41577
41578 if test "x$no_cppunit" = x ; then
41579 SUBDIRS="$SUBDIRS tests"
41580 else
41581 CPPUNIT_CFLAGS=""
41582 CPPUNIT_LIBS=""
41583 :
41584 fi
41585
41586
41587
41588
41589
41590 for subdir in $SUBDIRS; do
41591 if test -d ${srcdir}/${subdir} ; then
41592 if test "$wxUSE_GUI" = "yes"; then
41593 if test ${subdir} = "samples"; then
41594 makefiles="samples/Makefile.in $makefiles"
41595 for sample in $SAMPLES_SUBDIRS; do
41596 if test -d $srcdir/samples/$sample; then
41597 makefiles="samples/$sample/Makefile.in $makefiles"
41598 fi
41599 done
41600 else
41601 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
41602 eval "disabled=\$$disabled_var"
41603 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
41604 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41605 fi
41606 else
41607 if test ${subdir} = "samples"; then
41608 makefiles="samples/Makefile.in $makefiles"
41609 for sample in `echo $SAMPLES_SUBDIRS`; do
41610 if test -d $srcdir/samples/$sample; then
41611 makefiles="samples/$sample/Makefile.in $makefiles"
41612 fi
41613 done
41614 elif test ${subdir} = "utils"; then
41615 makefiles=""
41616 for util in ifacecheck ; do
41617 if test -d $srcdir/utils/$util ; then
41618 makefiles="utils/$util/src/Makefile.in \
41619 $makefiles"
41620 fi
41621 done
41622 else
41623 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41624 fi
41625 fi
41626
41627 for mkin in $makefiles ; do
41628 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41629 ac_config_files="$ac_config_files $mk"
41630
41631 done
41632 fi
41633 done
41634 fi
41635 cat >confcache <<\_ACEOF
41636 # This file is a shell script that caches the results of configure
41637 # tests run on this system so they can be shared between configure
41638 # scripts and configure runs, see configure's option --config-cache.
41639 # It is not useful on other systems. If it contains results you don't
41640 # want to keep, you may remove or edit it.
41641 #
41642 # config.status only pays attention to the cache file if you give it
41643 # the --recheck option to rerun configure.
41644 #
41645 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41646 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41647 # following values.
41648
41649 _ACEOF
41650
41651 # The following way of writing the cache mishandles newlines in values,
41652 # but we know of no workaround that is simple, portable, and efficient.
41653 # So, we kill variables containing newlines.
41654 # Ultrix sh set writes to stderr and can't be redirected directly,
41655 # and sets the high bit in the cache file unless we assign to the vars.
41656 (
41657 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41658 eval ac_val=\$$ac_var
41659 case $ac_val in #(
41660 *${as_nl}*)
41661 case $ac_var in #(
41662 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41663 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41664 esac
41665 case $ac_var in #(
41666 _ | IFS | as_nl) ;; #(
41667 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
41668 *) { eval $ac_var=; unset $ac_var;} ;;
41669 esac ;;
41670 esac
41671 done
41672
41673 (set) 2>&1 |
41674 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41675 *${as_nl}ac_space=\ *)
41676 # `set' does not quote correctly, so add quotes: double-quote
41677 # substitution turns \\\\ into \\, and sed turns \\ into \.
41678 sed -n \
41679 "s/'/'\\\\''/g;
41680 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41681 ;; #(
41682 *)
41683 # `set' quotes correctly as required by POSIX, so do not add quotes.
41684 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41685 ;;
41686 esac |
41687 sort
41688 ) |
41689 sed '
41690 /^ac_cv_env_/b end
41691 t clear
41692 :clear
41693 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41694 t end
41695 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41696 :end' >>confcache
41697 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41698 if test -w "$cache_file"; then
41699 if test "x$cache_file" != "x/dev/null"; then
41700 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41701 $as_echo "$as_me: updating cache $cache_file" >&6;}
41702 if test ! -f "$cache_file" || test -h "$cache_file"; then
41703 cat confcache >"$cache_file"
41704 else
41705 case $cache_file in #(
41706 */* | ?:*)
41707 mv -f confcache "$cache_file"$$ &&
41708 mv -f "$cache_file"$$ "$cache_file" ;; #(
41709 *)
41710 mv -f confcache "$cache_file" ;;
41711 esac
41712 fi
41713 fi
41714 else
41715 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41716 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41717 fi
41718 fi
41719 rm -f confcache
41720
41721 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41722 # Let make expand exec_prefix.
41723 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41724
41725 DEFS=-DHAVE_CONFIG_H
41726
41727 ac_libobjs=
41728 ac_ltlibobjs=
41729 U=
41730 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41731 # 1. Remove the extension, and $U if already installed.
41732 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41733 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
41734 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41735 # will be set to the directory where LIBOBJS objects are built.
41736 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41737 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
41738 done
41739 LIBOBJS=$ac_libobjs
41740
41741 LTLIBOBJS=$ac_ltlibobjs
41742
41743
41744
41745 : "${CONFIG_STATUS=./config.status}"
41746 ac_write_fail=0
41747 ac_clean_files_save=$ac_clean_files
41748 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41749 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41750 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41751 as_write_fail=0
41752 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41753 #! $SHELL
41754 # Generated by $as_me.
41755 # Run this file to recreate the current configuration.
41756 # Compiler output produced by configure, useful for debugging
41757 # configure, is in config.log if it exists.
41758
41759 debug=false
41760 ac_cs_recheck=false
41761 ac_cs_silent=false
41762
41763 SHELL=\${CONFIG_SHELL-$SHELL}
41764 export SHELL
41765 _ASEOF
41766 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
41767 ## -------------------- ##
41768 ## M4sh Initialization. ##
41769 ## -------------------- ##
41770
41771 # Be more Bourne compatible
41772 DUALCASE=1; export DUALCASE # for MKS sh
41773 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
41774 emulate sh
41775 NULLCMD=:
41776 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41777 # is contrary to our usage. Disable this feature.
41778 alias -g '${1+"$@"}'='"$@"'
41779 setopt NO_GLOB_SUBST
41780 else
41781 case `(set -o) 2>/dev/null` in #(
41782 *posix*) :
41783 set -o posix ;; #(
41784 *) :
41785 ;;
41786 esac
41787 fi
41788
41789
41790 as_nl='
41791 '
41792 export as_nl
41793 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41794 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41795 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41796 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41797 # Prefer a ksh shell builtin over an external printf program on Solaris,
41798 # but without wasting forks for bash or zsh.
41799 if test -z "$BASH_VERSION$ZSH_VERSION" \
41800 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41801 as_echo='print -r --'
41802 as_echo_n='print -rn --'
41803 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41804 as_echo='printf %s\n'
41805 as_echo_n='printf %s'
41806 else
41807 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41808 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
41809 as_echo_n='/usr/ucb/echo -n'
41810 else
41811 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41812 as_echo_n_body='eval
41813 arg=$1;
41814 case $arg in #(
41815 *"$as_nl"*)
41816 expr "X$arg" : "X\\(.*\\)$as_nl";
41817 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41818 esac;
41819 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41820 '
41821 export as_echo_n_body
41822 as_echo_n='sh -c $as_echo_n_body as_echo'
41823 fi
41824 export as_echo_body
41825 as_echo='sh -c $as_echo_body as_echo'
41826 fi
41827
41828 # The user is always right.
41829 if test "${PATH_SEPARATOR+set}" != set; then
41830 PATH_SEPARATOR=:
41831 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41832 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41833 PATH_SEPARATOR=';'
41834 }
41835 fi
41836
41837
41838 # IFS
41839 # We need space, tab and new line, in precisely that order. Quoting is
41840 # there to prevent editors from complaining about space-tab.
41841 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41842 # splitting by setting IFS to empty value.)
41843 IFS=" "" $as_nl"
41844
41845 # Find who we are. Look in the path if we contain no directory separator.
41846 as_myself=
41847 case $0 in #((
41848 *[\\/]* ) as_myself=$0 ;;
41849 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41850 for as_dir in $PATH
41851 do
41852 IFS=$as_save_IFS
41853 test -z "$as_dir" && as_dir=.
41854 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41855 done
41856 IFS=$as_save_IFS
41857
41858 ;;
41859 esac
41860 # We did not find ourselves, most probably we were run as `sh COMMAND'
41861 # in which case we are not to be found in the path.
41862 if test "x$as_myself" = x; then
41863 as_myself=$0
41864 fi
41865 if test ! -f "$as_myself"; then
41866 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41867 exit 1
41868 fi
41869
41870 # Unset variables that we do not need and which cause bugs (e.g. in
41871 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41872 # suppresses any "Segmentation fault" message there. '((' could
41873 # trigger a bug in pdksh 5.2.14.
41874 for as_var in BASH_ENV ENV MAIL MAILPATH
41875 do eval test x\${$as_var+set} = xset \
41876 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
41877 done
41878 PS1='$ '
41879 PS2='> '
41880 PS4='+ '
41881
41882 # NLS nuisances.
41883 LC_ALL=C
41884 export LC_ALL
41885 LANGUAGE=C
41886 export LANGUAGE
41887
41888 # CDPATH.
41889 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
41890
41891
41892 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41893 # ----------------------------------------
41894 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41895 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41896 # script with STATUS, using 1 if that was 0.
41897 as_fn_error ()
41898 {
41899 as_status=$1; test $as_status -eq 0 && as_status=1
41900 if test "$4"; then
41901 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41902 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41903 fi
41904 $as_echo "$as_me: error: $2" >&2
41905 as_fn_exit $as_status
41906 } # as_fn_error
41907
41908
41909 # as_fn_set_status STATUS
41910 # -----------------------
41911 # Set $? to STATUS, without forking.
41912 as_fn_set_status ()
41913 {
41914 return $1
41915 } # as_fn_set_status
41916
41917 # as_fn_exit STATUS
41918 # -----------------
41919 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41920 as_fn_exit ()
41921 {
41922 set +e
41923 as_fn_set_status $1
41924 exit $1
41925 } # as_fn_exit
41926
41927 # as_fn_unset VAR
41928 # ---------------
41929 # Portably unset VAR.
41930 as_fn_unset ()
41931 {
41932 { eval $1=; unset $1;}
41933 }
41934 as_unset=as_fn_unset
41935 # as_fn_append VAR VALUE
41936 # ----------------------
41937 # Append the text in VALUE to the end of the definition contained in VAR. Take
41938 # advantage of any shell optimizations that allow amortized linear growth over
41939 # repeated appends, instead of the typical quadratic growth present in naive
41940 # implementations.
41941 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
41942 eval 'as_fn_append ()
41943 {
41944 eval $1+=\$2
41945 }'
41946 else
41947 as_fn_append ()
41948 {
41949 eval $1=\$$1\$2
41950 }
41951 fi # as_fn_append
41952
41953 # as_fn_arith ARG...
41954 # ------------------
41955 # Perform arithmetic evaluation on the ARGs, and store the result in the
41956 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41957 # must be portable across $(()) and expr.
41958 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
41959 eval 'as_fn_arith ()
41960 {
41961 as_val=$(( $* ))
41962 }'
41963 else
41964 as_fn_arith ()
41965 {
41966 as_val=`expr "$@" || test $? -eq 1`
41967 }
41968 fi # as_fn_arith
41969
41970
41971 if expr a : '\(a\)' >/dev/null 2>&1 &&
41972 test "X`expr 00001 : '.*\(...\)'`" = X001; then
41973 as_expr=expr
41974 else
41975 as_expr=false
41976 fi
41977
41978 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41979 as_basename=basename
41980 else
41981 as_basename=false
41982 fi
41983
41984 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
41985 as_dirname=dirname
41986 else
41987 as_dirname=false
41988 fi
41989
41990 as_me=`$as_basename -- "$0" ||
41991 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41992 X"$0" : 'X\(//\)$' \| \
41993 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41994 $as_echo X/"$0" |
41995 sed '/^.*\/\([^/][^/]*\)\/*$/{
41996 s//\1/
41997 q
41998 }
41999 /^X\/\(\/\/\)$/{
42000 s//\1/
42001 q
42002 }
42003 /^X\/\(\/\).*/{
42004 s//\1/
42005 q
42006 }
42007 s/.*/./; q'`
42008
42009 # Avoid depending upon Character Ranges.
42010 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
42011 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42012 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
42013 as_cr_digits='0123456789'
42014 as_cr_alnum=$as_cr_Letters$as_cr_digits
42015
42016 ECHO_C= ECHO_N= ECHO_T=
42017 case `echo -n x` in #(((((
42018 -n*)
42019 case `echo 'xy\c'` in
42020 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
42021 xy) ECHO_C='\c';;
42022 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
42023 ECHO_T=' ';;
42024 esac;;
42025 *)
42026 ECHO_N='-n';;
42027 esac
42028
42029 rm -f conf$$ conf$$.exe conf$$.file
42030 if test -d conf$$.dir; then
42031 rm -f conf$$.dir/conf$$.file
42032 else
42033 rm -f conf$$.dir
42034 mkdir conf$$.dir 2>/dev/null
42035 fi
42036 if (echo >conf$$.file) 2>/dev/null; then
42037 if ln -s conf$$.file conf$$ 2>/dev/null; then
42038 as_ln_s='ln -s'
42039 # ... but there are two gotchas:
42040 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
42041 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
42042 # In both cases, we have to default to `cp -pR'.
42043 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
42044 as_ln_s='cp -pR'
42045 elif ln conf$$.file conf$$ 2>/dev/null; then
42046 as_ln_s=ln
42047 else
42048 as_ln_s='cp -pR'
42049 fi
42050 else
42051 as_ln_s='cp -pR'
42052 fi
42053 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
42054 rmdir conf$$.dir 2>/dev/null
42055
42056
42057 # as_fn_mkdir_p
42058 # -------------
42059 # Create "$as_dir" as a directory, including parents if necessary.
42060 as_fn_mkdir_p ()
42061 {
42062
42063 case $as_dir in #(
42064 -*) as_dir=./$as_dir;;
42065 esac
42066 test -d "$as_dir" || eval $as_mkdir_p || {
42067 as_dirs=
42068 while :; do
42069 case $as_dir in #(
42070 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
42071 *) as_qdir=$as_dir;;
42072 esac
42073 as_dirs="'$as_qdir' $as_dirs"
42074 as_dir=`$as_dirname -- "$as_dir" ||
42075 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42076 X"$as_dir" : 'X\(//\)[^/]' \| \
42077 X"$as_dir" : 'X\(//\)$' \| \
42078 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
42079 $as_echo X"$as_dir" |
42080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42081 s//\1/
42082 q
42083 }
42084 /^X\(\/\/\)[^/].*/{
42085 s//\1/
42086 q
42087 }
42088 /^X\(\/\/\)$/{
42089 s//\1/
42090 q
42091 }
42092 /^X\(\/\).*/{
42093 s//\1/
42094 q
42095 }
42096 s/.*/./; q'`
42097 test -d "$as_dir" && break
42098 done
42099 test -z "$as_dirs" || eval "mkdir $as_dirs"
42100 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
42101
42102
42103 } # as_fn_mkdir_p
42104 if mkdir -p . 2>/dev/null; then
42105 as_mkdir_p='mkdir -p "$as_dir"'
42106 else
42107 test -d ./-p && rmdir ./-p
42108 as_mkdir_p=false
42109 fi
42110
42111
42112 # as_fn_executable_p FILE
42113 # -----------------------
42114 # Test if FILE is an executable regular file.
42115 as_fn_executable_p ()
42116 {
42117 test -f "$1" && test -x "$1"
42118 } # as_fn_executable_p
42119 as_test_x='test -x'
42120 as_executable_p=as_fn_executable_p
42121
42122 # Sed expression to map a string onto a valid CPP name.
42123 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42124
42125 # Sed expression to map a string onto a valid variable name.
42126 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42127
42128
42129 exec 6>&1
42130 ## ----------------------------------- ##
42131 ## Main body of $CONFIG_STATUS script. ##
42132 ## ----------------------------------- ##
42133 _ASEOF
42134 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
42135
42136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42137 # Save the log message, to keep $0 and so on meaningful, and to
42138 # report actual input values of CONFIG_FILES etc. instead of their
42139 # values after options handling.
42140 ac_log="
42141 This file was extended by wxWidgets $as_me 2.9.5, which was
42142 generated by GNU Autoconf 2.69. Invocation command line was
42143
42144 CONFIG_FILES = $CONFIG_FILES
42145 CONFIG_HEADERS = $CONFIG_HEADERS
42146 CONFIG_LINKS = $CONFIG_LINKS
42147 CONFIG_COMMANDS = $CONFIG_COMMANDS
42148 $ $0 $@
42149
42150 on `(hostname || uname -n) 2>/dev/null | sed 1q`
42151 "
42152
42153 _ACEOF
42154
42155 case $ac_config_files in *"
42156 "*) set x $ac_config_files; shift; ac_config_files=$*;;
42157 esac
42158
42159 case $ac_config_headers in *"
42160 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
42161 esac
42162
42163
42164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42165 # Files that config.status was made for.
42166 config_files="$ac_config_files"
42167 config_headers="$ac_config_headers"
42168 config_commands="$ac_config_commands"
42169
42170 _ACEOF
42171
42172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42173 ac_cs_usage="\
42174 \`$as_me' instantiates files and other configuration actions
42175 from templates according to the current configuration. Unless the files
42176 and actions are specified as TAGs, all are instantiated by default.
42177
42178 Usage: $0 [OPTION]... [TAG]...
42179
42180 -h, --help print this help, then exit
42181 -V, --version print version number and configuration settings, then exit
42182 --config print configuration, then exit
42183 -q, --quiet, --silent
42184 do not print progress messages
42185 -d, --debug don't remove temporary files
42186 --recheck update $as_me by reconfiguring in the same conditions
42187 --file=FILE[:TEMPLATE]
42188 instantiate the configuration file FILE
42189 --header=FILE[:TEMPLATE]
42190 instantiate the configuration header FILE
42191
42192 Configuration files:
42193 $config_files
42194
42195 Configuration headers:
42196 $config_headers
42197
42198 Configuration commands:
42199 $config_commands
42200
42201 Report bugs to <wx-dev@lists.wxwidgets.org>."
42202
42203 _ACEOF
42204 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42205 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
42206 ac_cs_version="\\
42207 wxWidgets config.status 2.9.5
42208 configured by $0, generated by GNU Autoconf 2.69,
42209 with options \\"\$ac_cs_config\\"
42210
42211 Copyright (C) 2012 Free Software Foundation, Inc.
42212 This config.status script is free software; the Free Software Foundation
42213 gives unlimited permission to copy, distribute and modify it."
42214
42215 ac_pwd='$ac_pwd'
42216 srcdir='$srcdir'
42217 INSTALL='$INSTALL'
42218 test -n "\$AWK" || AWK=awk
42219 _ACEOF
42220
42221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42222 # The default lists apply if the user does not specify any file.
42223 ac_need_defaults=:
42224 while test $# != 0
42225 do
42226 case $1 in
42227 --*=?*)
42228 ac_option=`expr "X$1" : 'X\([^=]*\)='`
42229 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
42230 ac_shift=:
42231 ;;
42232 --*=)
42233 ac_option=`expr "X$1" : 'X\([^=]*\)='`
42234 ac_optarg=
42235 ac_shift=:
42236 ;;
42237 *)
42238 ac_option=$1
42239 ac_optarg=$2
42240 ac_shift=shift
42241 ;;
42242 esac
42243
42244 case $ac_option in
42245 # Handling of the options.
42246 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42247 ac_cs_recheck=: ;;
42248 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42249 $as_echo "$ac_cs_version"; exit ;;
42250 --config | --confi | --conf | --con | --co | --c )
42251 $as_echo "$ac_cs_config"; exit ;;
42252 --debug | --debu | --deb | --de | --d | -d )
42253 debug=: ;;
42254 --file | --fil | --fi | --f )
42255 $ac_shift
42256 case $ac_optarg in
42257 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42258 '') as_fn_error $? "missing file argument" ;;
42259 esac
42260 as_fn_append CONFIG_FILES " '$ac_optarg'"
42261 ac_need_defaults=false;;
42262 --header | --heade | --head | --hea )
42263 $ac_shift
42264 case $ac_optarg in
42265 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42266 esac
42267 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
42268 ac_need_defaults=false;;
42269 --he | --h)
42270 # Conflict between --help and --header
42271 as_fn_error $? "ambiguous option: \`$1'
42272 Try \`$0 --help' for more information.";;
42273 --help | --hel | -h )
42274 $as_echo "$ac_cs_usage"; exit ;;
42275 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42276 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42277 ac_cs_silent=: ;;
42278
42279 # This is an error.
42280 -*) as_fn_error $? "unrecognized option: \`$1'
42281 Try \`$0 --help' for more information." ;;
42282
42283 *) as_fn_append ac_config_targets " $1"
42284 ac_need_defaults=false ;;
42285
42286 esac
42287 shift
42288 done
42289
42290 ac_configure_extra_args=
42291
42292 if $ac_cs_silent; then
42293 exec 6>/dev/null
42294 ac_configure_extra_args="$ac_configure_extra_args --silent"
42295 fi
42296
42297 _ACEOF
42298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42299 if \$ac_cs_recheck; then
42300 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42301 shift
42302 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42303 CONFIG_SHELL='$SHELL'
42304 export CONFIG_SHELL
42305 exec "\$@"
42306 fi
42307
42308 _ACEOF
42309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42310 exec 5>>config.log
42311 {
42312 echo
42313 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42314 ## Running $as_me. ##
42315 _ASBOX
42316 $as_echo "$ac_log"
42317 } >&5
42318
42319 _ACEOF
42320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42321 #
42322 # INIT-COMMANDS
42323 #
42324
42325 CPP="$CPP"
42326 infile="$srcdir/include/wx/msw/genrcdefs.h"
42327 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42328
42329
42330 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42331 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42332 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42333 LN_S="${LN_S}"
42334
42335
42336 _ACEOF
42337
42338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42339
42340 # Handling of arguments.
42341 for ac_config_target in $ac_config_targets
42342 do
42343 case $ac_config_target in
42344 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42345 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
42346 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42347 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42348 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42349 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
42350 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42351 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
42352 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
42353
42354 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42355 esac
42356 done
42357
42358
42359 # If the user did not use the arguments to specify the items to instantiate,
42360 # then the envvar interface is used. Set only those that are not.
42361 # We use the long form for the default assignment because of an extremely
42362 # bizarre bug on SunOS 4.1.3.
42363 if $ac_need_defaults; then
42364 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42365 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42366 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42367 fi
42368
42369 # Have a temporary directory for convenience. Make it in the build tree
42370 # simply because there is no reason against having it here, and in addition,
42371 # creating and moving files from /tmp can sometimes cause problems.
42372 # Hook for its removal unless debugging.
42373 # Note that there is a small window in which the directory will not be cleaned:
42374 # after its creation but before its name has been assigned to `$tmp'.
42375 $debug ||
42376 {
42377 tmp= ac_tmp=
42378 trap 'exit_status=$?
42379 : "${ac_tmp:=$tmp}"
42380 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42381 ' 0
42382 trap 'as_fn_exit 1' 1 2 13 15
42383 }
42384 # Create a (secure) tmp directory for tmp files.
42385
42386 {
42387 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42388 test -d "$tmp"
42389 } ||
42390 {
42391 tmp=./conf$$-$RANDOM
42392 (umask 077 && mkdir "$tmp")
42393 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
42394 ac_tmp=$tmp
42395
42396 # Set up the scripts for CONFIG_FILES section.
42397 # No need to generate them if there are no CONFIG_FILES.
42398 # This happens for instance with `./config.status config.h'.
42399 if test -n "$CONFIG_FILES"; then
42400
42401
42402 ac_cr=`echo X | tr X '\015'`
42403 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42404 # But we know of no other shell where ac_cr would be empty at this
42405 # point, so we can use a bashism as a fallback.
42406 if test "x$ac_cr" = x; then
42407 eval ac_cr=\$\'\\r\'
42408 fi
42409 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42410 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42411 ac_cs_awk_cr='\\r'
42412 else
42413 ac_cs_awk_cr=$ac_cr
42414 fi
42415
42416 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42417 _ACEOF
42418
42419
42420 {
42421 echo "cat >conf$$subs.awk <<_ACEOF" &&
42422 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42423 echo "_ACEOF"
42424 } >conf$$subs.sh ||
42425 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42426 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42427 ac_delim='%!_!# '
42428 for ac_last_try in false false false false false :; do
42429 . ./conf$$subs.sh ||
42430 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42431
42432 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
42433 if test $ac_delim_n = $ac_delim_num; then
42434 break
42435 elif $ac_last_try; then
42436 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42437 else
42438 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42439 fi
42440 done
42441 rm -f conf$$subs.sh
42442
42443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42444 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
42445 _ACEOF
42446 sed -n '
42447 h
42448 s/^/S["/; s/!.*/"]=/
42449 p
42450 g
42451 s/^[^!]*!//
42452 :repl
42453 t repl
42454 s/'"$ac_delim"'$//
42455 t delim
42456 :nl
42457 h
42458 s/\(.\{148\}\)..*/\1/
42459 t more1
42460 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
42461 p
42462 n
42463 b repl
42464 :more1
42465 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42466 p
42467 g
42468 s/.\{148\}//
42469 t nl
42470 :delim
42471 h
42472 s/\(.\{148\}\)..*/\1/
42473 t more2
42474 s/["\\]/\\&/g; s/^/"/; s/$/"/
42475 p
42476 b
42477 :more2
42478 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42479 p
42480 g
42481 s/.\{148\}//
42482 t delim
42483 ' <conf$$subs.awk | sed '
42484 /^[^""]/{
42485 N
42486 s/\n//
42487 }
42488 ' >>$CONFIG_STATUS || ac_write_fail=1
42489 rm -f conf$$subs.awk
42490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42491 _ACAWK
42492 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
42493 for (key in S) S_is_set[key] = 1
42494 FS = "\a"
42495
42496 }
42497 {
42498 line = $ 0
42499 nfields = split(line, field, "@")
42500 substed = 0
42501 len = length(field[1])
42502 for (i = 2; i < nfields; i++) {
42503 key = field[i]
42504 keylen = length(key)
42505 if (S_is_set[key]) {
42506 value = S[key]
42507 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42508 len += length(value) + length(field[++i])
42509 substed = 1
42510 } else
42511 len += 1 + keylen
42512 }
42513
42514 print line
42515 }
42516
42517 _ACAWK
42518 _ACEOF
42519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42520 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42521 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
42522 else
42523 cat
42524 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
42525 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
42526 _ACEOF
42527
42528 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42529 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
42530 # trailing colons and then remove the whole line if VPATH becomes empty
42531 # (actually we leave an empty line to preserve line numbers).
42532 if test "x$srcdir" = x.; then
42533 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
42534 h
42535 s///
42536 s/^/:/
42537 s/[ ]*$/:/
42538 s/:\$(srcdir):/:/g
42539 s/:\${srcdir}:/:/g
42540 s/:@srcdir@:/:/g
42541 s/^:*//
42542 s/:*$//
42543 x
42544 s/\(=[ ]*\).*/\1/
42545 G
42546 s/\n//
42547 s/^[^=]*=[ ]*$//
42548 }'
42549 fi
42550
42551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42552 fi # test -n "$CONFIG_FILES"
42553
42554 # Set up the scripts for CONFIG_HEADERS section.
42555 # No need to generate them if there are no CONFIG_HEADERS.
42556 # This happens for instance with `./config.status Makefile'.
42557 if test -n "$CONFIG_HEADERS"; then
42558 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
42559 BEGIN {
42560 _ACEOF
42561
42562 # Transform confdefs.h into an awk script `defines.awk', embedded as
42563 # here-document in config.status, that substitutes the proper values into
42564 # config.h.in to produce config.h.
42565
42566 # Create a delimiter string that does not exist in confdefs.h, to ease
42567 # handling of long lines.
42568 ac_delim='%!_!# '
42569 for ac_last_try in false false :; do
42570 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
42571 if test -z "$ac_tt"; then
42572 break
42573 elif $ac_last_try; then
42574 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
42575 else
42576 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42577 fi
42578 done
42579
42580 # For the awk script, D is an array of macro values keyed by name,
42581 # likewise P contains macro parameters if any. Preserve backslash
42582 # newline sequences.
42583
42584 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42585 sed -n '
42586 s/.\{148\}/&'"$ac_delim"'/g
42587 t rset
42588 :rset
42589 s/^[ ]*#[ ]*define[ ][ ]*/ /
42590 t def
42591 d
42592 :def
42593 s/\\$//
42594 t bsnl
42595 s/["\\]/\\&/g
42596 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42597 D["\1"]=" \3"/p
42598 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
42599 d
42600 :bsnl
42601 s/["\\]/\\&/g
42602 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42603 D["\1"]=" \3\\\\\\n"\\/p
42604 t cont
42605 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
42606 t cont
42607 d
42608 :cont
42609 n
42610 s/.\{148\}/&'"$ac_delim"'/g
42611 t clear
42612 :clear
42613 s/\\$//
42614 t bsnlc
42615 s/["\\]/\\&/g; s/^/"/; s/$/"/p
42616 d
42617 :bsnlc
42618 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
42619 b cont
42620 ' <confdefs.h | sed '
42621 s/'"$ac_delim"'/"\\\
42622 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42623
42624 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42625 for (key in D) D_is_set[key] = 1
42626 FS = "\a"
42627 }
42628 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42629 line = \$ 0
42630 split(line, arg, " ")
42631 if (arg[1] == "#") {
42632 defundef = arg[2]
42633 mac1 = arg[3]
42634 } else {
42635 defundef = substr(arg[1], 2)
42636 mac1 = arg[2]
42637 }
42638 split(mac1, mac2, "(") #)
42639 macro = mac2[1]
42640 prefix = substr(line, 1, index(line, defundef) - 1)
42641 if (D_is_set[macro]) {
42642 # Preserve the white space surrounding the "#".
42643 print prefix "define", macro P[macro] D[macro]
42644 next
42645 } else {
42646 # Replace #undef with comments. This is necessary, for example,
42647 # in the case of _POSIX_SOURCE, which is predefined and required
42648 # on some systems where configure will not decide to define it.
42649 if (defundef == "undef") {
42650 print "/*", prefix defundef, macro, "*/"
42651 next
42652 }
42653 }
42654 }
42655 { print }
42656 _ACAWK
42657 _ACEOF
42658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42659 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
42660 fi # test -n "$CONFIG_HEADERS"
42661
42662
42663 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42664 shift
42665 for ac_tag
42666 do
42667 case $ac_tag in
42668 :[FHLC]) ac_mode=$ac_tag; continue;;
42669 esac
42670 case $ac_mode$ac_tag in
42671 :[FHL]*:*);;
42672 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
42673 :[FH]-) ac_tag=-:-;;
42674 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
42675 esac
42676 ac_save_IFS=$IFS
42677 IFS=:
42678 set x $ac_tag
42679 IFS=$ac_save_IFS
42680 shift
42681 ac_file=$1
42682 shift
42683
42684 case $ac_mode in
42685 :L) ac_source=$1;;
42686 :[FH])
42687 ac_file_inputs=
42688 for ac_f
42689 do
42690 case $ac_f in
42691 -) ac_f="$ac_tmp/stdin";;
42692 *) # Look for the file first in the build tree, then in the source tree
42693 # (if the path is not absolute). The absolute path cannot be DOS-style,
42694 # because $ac_f cannot contain `:'.
42695 test -f "$ac_f" ||
42696 case $ac_f in
42697 [\\/$]*) false;;
42698 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
42699 esac ||
42700 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42701 esac
42702 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42703 as_fn_append ac_file_inputs " '$ac_f'"
42704 done
42705
42706 # Let's still pretend it is `configure' which instantiates (i.e., don't
42707 # use $as_me), people would be surprised to read:
42708 # /* config.h. Generated by config.status. */
42709 configure_input='Generated from '`
42710 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42711 `' by configure.'
42712 if test x"$ac_file" != x-; then
42713 configure_input="$ac_file. $configure_input"
42714 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42715 $as_echo "$as_me: creating $ac_file" >&6;}
42716 fi
42717 # Neutralize special characters interpreted by sed in replacement strings.
42718 case $configure_input in #(
42719 *\&* | *\|* | *\\* )
42720 ac_sed_conf_input=`$as_echo "$configure_input" |
42721 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42722 *) ac_sed_conf_input=$configure_input;;
42723 esac
42724
42725 case $ac_tag in
42726 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42727 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
42728 esac
42729 ;;
42730 esac
42731
42732 ac_dir=`$as_dirname -- "$ac_file" ||
42733 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42734 X"$ac_file" : 'X\(//\)[^/]' \| \
42735 X"$ac_file" : 'X\(//\)$' \| \
42736 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42737 $as_echo X"$ac_file" |
42738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42739 s//\1/
42740 q
42741 }
42742 /^X\(\/\/\)[^/].*/{
42743 s//\1/
42744 q
42745 }
42746 /^X\(\/\/\)$/{
42747 s//\1/
42748 q
42749 }
42750 /^X\(\/\).*/{
42751 s//\1/
42752 q
42753 }
42754 s/.*/./; q'`
42755 as_dir="$ac_dir"; as_fn_mkdir_p
42756 ac_builddir=.
42757
42758 case "$ac_dir" in
42759 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42760 *)
42761 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42762 # A ".." for each directory in $ac_dir_suffix.
42763 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42764 case $ac_top_builddir_sub in
42765 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42766 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42767 esac ;;
42768 esac
42769 ac_abs_top_builddir=$ac_pwd
42770 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42771 # for backward compatibility:
42772 ac_top_builddir=$ac_top_build_prefix
42773
42774 case $srcdir in
42775 .) # We are building in place.
42776 ac_srcdir=.
42777 ac_top_srcdir=$ac_top_builddir_sub
42778 ac_abs_top_srcdir=$ac_pwd ;;
42779 [\\/]* | ?:[\\/]* ) # Absolute name.
42780 ac_srcdir=$srcdir$ac_dir_suffix;
42781 ac_top_srcdir=$srcdir
42782 ac_abs_top_srcdir=$srcdir ;;
42783 *) # Relative name.
42784 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42785 ac_top_srcdir=$ac_top_build_prefix$srcdir
42786 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42787 esac
42788 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42789
42790
42791 case $ac_mode in
42792 :F)
42793 #
42794 # CONFIG_FILE
42795 #
42796
42797 case $INSTALL in
42798 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42799 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
42800 esac
42801 _ACEOF
42802
42803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42804 # If the template does not know about datarootdir, expand it.
42805 # FIXME: This hack should be removed a few years after 2.60.
42806 ac_datarootdir_hack=; ac_datarootdir_seen=
42807 ac_sed_dataroot='
42808 /datarootdir/ {
42809 p
42810 q
42811 }
42812 /@datadir@/p
42813 /@docdir@/p
42814 /@infodir@/p
42815 /@localedir@/p
42816 /@mandir@/p'
42817 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42818 *datarootdir*) ac_datarootdir_seen=yes;;
42819 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
42820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42821 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42822 _ACEOF
42823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42824 ac_datarootdir_hack='
42825 s&@datadir@&$datadir&g
42826 s&@docdir@&$docdir&g
42827 s&@infodir@&$infodir&g
42828 s&@localedir@&$localedir&g
42829 s&@mandir@&$mandir&g
42830 s&\\\${datarootdir}&$datarootdir&g' ;;
42831 esac
42832 _ACEOF
42833
42834 # Neutralize VPATH when `$srcdir' = `.'.
42835 # Shell code in configure.ac might set extrasub.
42836 # FIXME: do we really want to maintain this feature?
42837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42838 ac_sed_extra="$ac_vpsub
42839 $extrasub
42840 _ACEOF
42841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42842 :t
42843 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42844 s|@configure_input@|$ac_sed_conf_input|;t t
42845 s&@top_builddir@&$ac_top_builddir_sub&;t t
42846 s&@top_build_prefix@&$ac_top_build_prefix&;t t
42847 s&@srcdir@&$ac_srcdir&;t t
42848 s&@abs_srcdir@&$ac_abs_srcdir&;t t
42849 s&@top_srcdir@&$ac_top_srcdir&;t t
42850 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42851 s&@builddir@&$ac_builddir&;t t
42852 s&@abs_builddir@&$ac_abs_builddir&;t t
42853 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42854 s&@INSTALL@&$ac_INSTALL&;t t
42855 $ac_datarootdir_hack
42856 "
42857 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
42858 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42859
42860 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42861 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
42862 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
42863 "$ac_tmp/out"`; test -z "$ac_out"; } &&
42864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42865 which seems to be undefined. Please make sure it is defined" >&5
42866 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42867 which seems to be undefined. Please make sure it is defined" >&2;}
42868
42869 rm -f "$ac_tmp/stdin"
42870 case $ac_file in
42871 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42872 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42873 esac \
42874 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42875 ;;
42876 :H)
42877 #
42878 # CONFIG_HEADER
42879 #
42880 if test x"$ac_file" != x-; then
42881 {
42882 $as_echo "/* $configure_input */" \
42883 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42884 } >"$ac_tmp/config.h" \
42885 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42886 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42887 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42888 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42889 else
42890 rm -f "$ac_file"
42891 mv "$ac_tmp/config.h" "$ac_file" \
42892 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42893 fi
42894 else
42895 $as_echo "/* $configure_input */" \
42896 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42897 || as_fn_error $? "could not create -" "$LINENO" 5
42898 fi
42899 ;;
42900
42901 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42902 $as_echo "$as_me: executing $ac_file commands" >&6;}
42903 ;;
42904 esac
42905
42906
42907 case $ac_file$ac_mode in
42908 "rcdefs.h":C)
42909 mkdir -p $outdir &&
42910 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42911 ;;
42912 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42913 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42914 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
42915 "wx-config":C) rm -f wx-config
42916 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42917 ;;
42918
42919 esac
42920 done # for ac_tag
42921
42922
42923 as_fn_exit 0
42924 _ACEOF
42925 ac_clean_files=$ac_clean_files_save
42926
42927 test $ac_write_fail = 0 ||
42928 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
42929
42930
42931 # configure is writing to config.log, and then calls config.status.
42932 # config.status does its own redirection, appending to config.log.
42933 # Unfortunately, on DOS this fails, as config.log is still kept open
42934 # by configure, so config.status won't be able to write to it; its
42935 # output is simply discarded. So we exec the FD to /dev/null,
42936 # effectively closing config.log, so it can be properly (re)opened and
42937 # appended to by config.status. When coming back to configure, we
42938 # need to make the FD available again.
42939 if test "$no_create" != yes; then
42940 ac_cs_success=:
42941 ac_config_status_args=
42942 test "$silent" = yes &&
42943 ac_config_status_args="$ac_config_status_args --quiet"
42944 exec 5>/dev/null
42945 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42946 exec 5>>config.log
42947 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42948 # would make configure fail if this is the last instruction.
42949 $ac_cs_success || as_fn_exit 1
42950 fi
42951
42952 #
42953 # CONFIG_SUBDIRS section.
42954 #
42955 if test "$no_recursion" != yes; then
42956
42957 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42958 # so they do not pile up.
42959 ac_sub_configure_args=
42960 ac_prev=
42961 eval "set x $ac_configure_args"
42962 shift
42963 for ac_arg
42964 do
42965 if test -n "$ac_prev"; then
42966 ac_prev=
42967 continue
42968 fi
42969 case $ac_arg in
42970 -cache-file | --cache-file | --cache-fil | --cache-fi \
42971 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42972 ac_prev=cache_file ;;
42973 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42974 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42975 | --c=*)
42976 ;;
42977 --config-cache | -C)
42978 ;;
42979 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42980 ac_prev=srcdir ;;
42981 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42982 ;;
42983 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42984 ac_prev=prefix ;;
42985 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42986 ;;
42987 --disable-option-checking)
42988 ;;
42989 *)
42990 case $ac_arg in
42991 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42992 esac
42993 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
42994 esac
42995 done
42996
42997 # Always prepend --prefix to ensure using the same prefix
42998 # in subdir configurations.
42999 ac_arg="--prefix=$prefix"
43000 case $ac_arg in
43001 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
43002 esac
43003 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
43004
43005 # Pass --silent
43006 if test "$silent" = yes; then
43007 ac_sub_configure_args="--silent $ac_sub_configure_args"
43008 fi
43009
43010 # Always prepend --disable-option-checking to silence warnings, since
43011 # different subdirs can have different --enable and --with options.
43012 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
43013
43014 ac_popdir=`pwd`
43015 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
43016
43017 # Do not complain, so a configure script can configure whichever
43018 # parts of a large source tree are present.
43019 test -d "$srcdir/$ac_dir" || continue
43020
43021 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
43022 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
43023 $as_echo "$ac_msg" >&6
43024 as_dir="$ac_dir"; as_fn_mkdir_p
43025 ac_builddir=.
43026
43027 case "$ac_dir" in
43028 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
43029 *)
43030 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
43031 # A ".." for each directory in $ac_dir_suffix.
43032 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
43033 case $ac_top_builddir_sub in
43034 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
43035 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
43036 esac ;;
43037 esac
43038 ac_abs_top_builddir=$ac_pwd
43039 ac_abs_builddir=$ac_pwd$ac_dir_suffix
43040 # for backward compatibility:
43041 ac_top_builddir=$ac_top_build_prefix
43042
43043 case $srcdir in
43044 .) # We are building in place.
43045 ac_srcdir=.
43046 ac_top_srcdir=$ac_top_builddir_sub
43047 ac_abs_top_srcdir=$ac_pwd ;;
43048 [\\/]* | ?:[\\/]* ) # Absolute name.
43049 ac_srcdir=$srcdir$ac_dir_suffix;
43050 ac_top_srcdir=$srcdir
43051 ac_abs_top_srcdir=$srcdir ;;
43052 *) # Relative name.
43053 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
43054 ac_top_srcdir=$ac_top_build_prefix$srcdir
43055 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
43056 esac
43057 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
43058
43059
43060 cd "$ac_dir"
43061
43062 # Check for guested configure; otherwise get Cygnus style configure.
43063 if test -f "$ac_srcdir/configure.gnu"; then
43064 ac_sub_configure=$ac_srcdir/configure.gnu
43065 elif test -f "$ac_srcdir/configure"; then
43066 ac_sub_configure=$ac_srcdir/configure
43067 elif test -f "$ac_srcdir/configure.in"; then
43068 # This should be Cygnus configure.
43069 ac_sub_configure=$ac_aux_dir/configure
43070 else
43071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
43072 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43073 ac_sub_configure=
43074 fi
43075
43076 # The recursion is here.
43077 if test -n "$ac_sub_configure"; then
43078 # Make the cache file name correct relative to the subdirectory.
43079 case $cache_file in
43080 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
43081 *) # Relative name.
43082 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
43083 esac
43084
43085 { $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
43086 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43087 # The eval makes quoting arguments work.
43088 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
43089 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
43090 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
43091 fi
43092
43093 cd "$ac_popdir"
43094 done
43095 fi
43096 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
43097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
43098 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
43099 fi
43100
43101
43102 echo
43103 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43104 echo ""
43105 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
43106 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43107 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43108 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
43109 if test "$wxUSE_UNICODE" = "yes"; then
43110 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
43111 echo " (using UTF-8)"
43112 else
43113 echo " (using wchar_t)"
43114 fi
43115 else
43116 echo
43117 fi
43118
43119 echo " What level of wxWidgets compatibility should be enabled?"
43120 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
43121 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
43122
43123 echo " Which libraries should wxWidgets use?"
43124 echo " STL ${wxUSE_STL}"
43125 echo " jpeg ${wxUSE_LIBJPEG-none}"
43126 echo " png ${wxUSE_LIBPNG-none}"
43127 echo " regex ${wxUSE_REGEX}"
43128 echo " tiff ${wxUSE_LIBTIFF-none}"
43129 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43130 echo " xpm ${wxUSE_LIBXPM-none}"
43131 fi
43132 echo " zlib ${wxUSE_ZLIB}"
43133 echo " expat ${wxUSE_EXPAT}"
43134 echo " libmspack ${wxUSE_LIBMSPACK}"
43135 echo " sdl ${wxUSE_LIBSDL}"
43136
43137 echo ""
43138