]> git.saurik.com Git - wxWidgets.git/blob - configure
Further refine of #15226: wxRichTextCtrl: Implement setting properties with undo...
[wxWidgets.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for wxWidgets 3.0.0.
4 #
5 # Report bugs to <wx-dev@lists.wxwidgets.org>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176 esac
177 fi
178 "
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
206 fi
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 do
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
218 /*)
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
227 fi
228 fi
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
238
239
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
260 fi
261
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wx-dev@lists.wxwidgets.org about your system, including
271 $0: any error possibly output before this message. Then
272 $0: install a modern shell, or manually run the script
273 $0: under such a shell if you do have one."
274 fi
275 exit 1
276 fi
277 fi
278 fi
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
284
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
292 {
293 { eval $1=; unset $1;}
294 }
295 as_unset=as_fn_unset
296
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
301 {
302 return $1
303 } # as_fn_set_status
304
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
309 {
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
314
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
319 {
320
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
344 q
345 }
346 /^X\(\/\/\)$/{
347 s//\1/
348 q
349 }
350 /^X\(\/\).*/{
351 s//\1/
352 q
353 }
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359
360
361 } # as_fn_mkdir_p
362
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
367 {
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
378 {
379 eval $1+=\$2
380 }'
381 else
382 as_fn_append ()
383 {
384 eval $1=\$$1\$2
385 }
386 fi # as_fn_append
387
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
395 {
396 as_val=$(( $* ))
397 }'
398 else
399 as_fn_arith ()
400 {
401 as_val=`expr "$@" || test $? -eq 1`
402 }
403 fi # as_fn_arith
404
405
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
412 {
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 fi
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
421
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
427 fi
428
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
433 fi
434
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
439 fi
440
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
448 q
449 }
450 /^X\/\(\/\/\)$/{
451 s//\1/
452 q
453 }
454 /^X\/\(\/\).*/{
455 s//\1/
456 q
457 }
458 s/.*/./; q'`
459
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
466
467
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
474 p
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
480 b
481 :lineno
482 N
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
501 }
502
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
512 *)
513 ECHO_N='-n';;
514 esac
515
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
522 fi
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
536 fi
537 else
538 as_ln_s='cp -pR'
539 fi
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
542
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
548 fi
549
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
552
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
562
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
568 #
569 # Initializations.
570 #
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
579
580 # Identity of this package.
581 PACKAGE_NAME='wxWidgets'
582 PACKAGE_TARNAME='wxwidgets'
583 PACKAGE_VERSION='3.0.0'
584 PACKAGE_STRING='wxWidgets 3.0.0'
585 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
586 PACKAGE_URL=''
587
588 ac_unique_file="wx-config.in"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
624
625 enable_option_checking=no
626 ac_subst_vars='LTLIBOBJS
627 LIBOBJS
628 CPPUNIT_CONFIG
629 DLLTOOL
630 GCC
631 MACSETFILE
632 POSTLINK_COMMAND
633 LIBWXMACRES
634 WX_RESOURCES_MACOSX_DATA
635 WX_RESOURCES_MACOSX_ASCII
636 RESCOMP
637 WX_VERSION_TAG
638 DMALLOC_LIBS
639 OPENGL_LIBS
640 LDFLAGS_GL
641 SAMPLES_SUBDIRS
642 DISTDIR
643 GUIDIST
644 WXCONFIG_RESFLAGS
645 WXCONFIG_LDFLAGS_GUI
646 WXCONFIG_LDFLAGS
647 WXCONFIG_RPATH
648 WXCONFIG_LIBS
649 WXCONFIG_CXXFLAGS
650 WXCONFIG_CFLAGS
651 WXCONFIG_CPPFLAGS
652 WX_CHARTYPE
653 WX_SUBVERSION
654 WX_VERSION
655 WX_RELEASE
656 WIDGET_SET
657 cross_compiling
658 TOOLCHAIN_FULLNAME
659 TOOLCHAIN_NAME
660 TOOLKIT_DIR
661 TOOLKIT
662 USE_GUI
663 WX_LIBRARY_BASENAME_GUI
664 WX_LIBRARY_BASENAME_NOGUI
665 SHARED
666 DEREZ
667 COND_wxUSE_ZLIB_builtin
668 COND_wxUSE_REGEX_builtin
669 COND_wxUSE_LIBTIFF_builtin
670 COND_wxUSE_LIBPNG_builtin
671 COND_wxUSE_LIBJPEG_builtin
672 COND_wxUSE_EXPAT_builtin
673 COND_WXUNIV_1
674 COND_WXUNIV_0
675 COND_WITH_PLUGIN_SDL_1
676 COND_WINDOWS_IMPLIB_1
677 COND_USE_XRC_1
678 COND_USE_THREADS_1
679 COND_USE_THREADS_0
680 COND_USE_STC_1
681 COND_USE_SOVERSOLARIS_1
682 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
683 COND_USE_SOVERSION_0
684 COND_USE_SOVERLINUX_1
685 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
686 COND_USE_SOTWOSYMLINKS_1
687 COND_USE_RTTI_1
688 COND_USE_RTTI_0
689 COND_USE_PLUGINS_0
690 COND_USE_PCH_1
691 COND_USE_OPENGL_1
692 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
693 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
694 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
695 COND_USE_GUI_1_WXUNIV_1
696 COND_USE_GUI_1_WXUNIV_0
697 COND_USE_GUI_1_USE_OPENGL_1
698 COND_USE_GUI_1
699 COND_USE_GUI_0
700 COND_USE_EXCEPTIONS_1
701 COND_USE_EXCEPTIONS_0
702 COND_USE_CAIRO_1
703 COND_UNICODE_1
704 COND_TOOLKIT_X11_WXUNIV_1
705 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
706 COND_TOOLKIT_X11_USE_GUI_1
707 COND_TOOLKIT_X11
708 COND_TOOLKIT_WINCE_WXUNIV_0
709 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
710 COND_TOOLKIT_WINCE_USE_GUI_1
711 COND_TOOLKIT_WINCE
712 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
713 COND_TOOLKIT_PM_USE_GUI_1
714 COND_TOOLKIT_PM
715 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
716 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
717 COND_TOOLKIT_OSX_IPHONE
718 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
719 COND_TOOLKIT_OSX_COCOA
720 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
721 COND_TOOLKIT_OSX_CARBON
722 COND_TOOLKIT_MSW_WXUNIV_0
723 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
724 COND_TOOLKIT_MSW_USE_GUI_1
725 COND_TOOLKIT_MSW
726 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
727 COND_TOOLKIT_MOTIF_USE_GUI_1
728 COND_TOOLKIT_MOTIF
729 COND_TOOLKIT_MAC
730 COND_TOOLKIT_GTK_USE_GUI_1
731 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
732 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
733 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
734 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
735 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
736 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
737 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
738 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
739 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
740 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
741 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
742 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
743 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
744 COND_TOOLKIT_GTK
745 COND_TOOLKIT_DFB_USE_GUI_1
746 COND_TOOLKIT_DFB
747 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
748 COND_TOOLKIT_COCOA_USE_GUI_1
749 COND_TOOLKIT_COCOA
750 COND_TOOLKIT_
751 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
752 COND_SHARED_1
753 COND_SHARED_0_wxUSE_ZLIB_builtin
754 COND_SHARED_0_wxUSE_REGEX_builtin
755 COND_SHARED_0_wxUSE_EXPAT_builtin
756 COND_SHARED_0_USE_STC_1
757 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
758 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
759 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
760 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
761 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
762 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
763 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
764 COND_SHARED_0
765 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
766 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
767 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
768 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
769 COND_PLATFORM_WIN32_1_SHARED_0
770 COND_PLATFORM_WIN32_1
771 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
772 COND_PLATFORM_WIN32_0
773 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
774 COND_PLATFORM_UNIX_1_USE_GUI_1
775 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
776 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
777 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
778 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
779 COND_PLATFORM_UNIX_1
780 COND_PLATFORM_UNIX_0
781 COND_PLATFORM_OS2_1
782 COND_PLATFORM_MSDOS_1
783 COND_PLATFORM_MSDOS_0
784 COND_PLATFORM_MAC_1
785 COND_PLATFORM_MAC_0
786 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
787 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
788 COND_PLATFORM_MACOSX_1_USE_GUI_1
789 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
790 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
791 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
792 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
793 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
794 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
795 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
796 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
797 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
798 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
799 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
800 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
801 COND_PLATFORM_MACOSX_1
802 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
803 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
804 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
805 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
806 COND_MONOLITHIC_1_USE_STC_1
807 COND_MONOLITHIC_1_SHARED_1
808 COND_MONOLITHIC_1_SHARED_0
809 COND_MONOLITHIC_1
810 COND_MONOLITHIC_0_USE_XRC_1
811 COND_MONOLITHIC_0_USE_WEBVIEW_1
812 COND_MONOLITHIC_0_USE_STC_1
813 COND_MONOLITHIC_0_USE_RICHTEXT_1
814 COND_MONOLITHIC_0_USE_RIBBON_1
815 COND_MONOLITHIC_0_USE_QA_1
816 COND_MONOLITHIC_0_USE_PROPGRID_1
817 COND_MONOLITHIC_0_USE_MEDIA_1
818 COND_MONOLITHIC_0_USE_HTML_1
819 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
820 COND_MONOLITHIC_0_USE_GUI_1
821 COND_MONOLITHIC_0_USE_AUI_1
822 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
823 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
824 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
825 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
826 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
827 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
829 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
832 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
833 COND_MONOLITHIC_0_SHARED_1
834 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
835 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
837 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
838 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
839 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
840 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
844 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
845 COND_MONOLITHIC_0_SHARED_0
846 COND_MONOLITHIC_0
847 COND_ICC_PCH_1
848 COND_GCC_PCH_1
849 COND_DEPS_TRACKING_1
850 COND_DEPS_TRACKING_0
851 COND_DEBUG_INFO_1
852 COND_DEBUG_INFO_0
853 COND_DEBUG_FLAG_0
854 COND_BUILD_release_DEBUG_INFO_default
855 COND_BUILD_release
856 COND_BUILD_debug_DEBUG_INFO_default
857 COND_BUILD_debug
858 BK_MAKE_PCH
859 ICC_PCH_USE_SWITCH
860 ICC_PCH_CREATE_SWITCH
861 ICC_PCH
862 GCC_PCH
863 OBJCXXFLAGS
864 SETFILE
865 REZ
866 WINDRES
867 BK_DEPS
868 DEPS_TRACKING
869 SONAME_FLAG
870 USE_SOTWOSYMLINKS
871 USE_MACVERSION
872 USE_SOVERCYGWIN
873 USE_SOVERSOLARIS
874 USE_SOVERLINUX
875 USE_SOVERSION
876 WINDOWS_IMPLIB
877 PIC_FLAG
878 SHARED_LD_MODULE_CXX
879 SHARED_LD_MODULE_CC
880 SHARED_LD_CXX
881 SHARED_LD_CC
882 AIX_CXX_LD
883 dlldir
884 DLLPREFIX_MODULE
885 DLLPREFIX
886 LIBEXT
887 LIBPREFIX
888 DLLIMP_SUFFIX
889 SO_SUFFIX_MODULE
890 SO_SUFFIX
891 PLATFORM_BEOS
892 PLATFORM_OS2
893 PLATFORM_MACOSX
894 PLATFORM_MACOS
895 PLATFORM_MAC
896 PLATFORM_MSDOS
897 PLATFORM_WIN32
898 PLATFORM_UNIX
899 IF_GNU_MAKE
900 LDFLAGS_GUI
901 INSTALL_DIR
902 NM
903 STRIP
904 AROPTIONS
905 MAKE_SET
906 SET_MAKE
907 LN_S
908 INSTALL_DATA
909 INSTALL_SCRIPT
910 INSTALL_PROGRAM
911 RANLIB
912 CPPUNIT_LIBS
913 CPPUNIT_CFLAGS
914 HOST_SUFFIX
915 HEADER_PAD_OPTION
916 SAMPLES_RPATH_FLAG
917 DYLIB_RPATH_POSTLINK
918 DYLIB_RPATH_INSTALL
919 TOOLKIT_VERSION
920 TOOLKIT_LOWERCASE
921 DEBUG_FLAG
922 DEBUG_INFO
923 UNICODE
924 WITH_PLUGIN_SDL
925 EXTRALIBS_STC
926 EXTRALIBS_SDL
927 EXTRALIBS_OPENGL
928 EXTRALIBS_GUI
929 EXTRALIBS_MEDIA
930 EXTRALIBS_HTML
931 EXTRALIBS_XML
932 EXTRALIBS
933 CXXWARNINGS
934 USE_PLUGINS
935 MONOLITHIC
936 WXUNIV
937 WX_LIB_FLAVOUR
938 WX_FLAVOUR
939 OFFICIAL_BUILD
940 VENDOR
941 wxUSE_LIBTIFF
942 wxUSE_LIBPNG
943 wxUSE_LIBJPEG
944 wxUSE_EXPAT
945 wxUSE_REGEX
946 wxUSE_ZLIB
947 STD_GUI_LIBS
948 STD_BASE_LIBS
949 BUILT_WX_LIBS
950 ALL_WX_LIBS
951 GST_LIBS
952 GST_CFLAGS
953 CAIRO_LIBS
954 CAIRO_CFLAGS
955 WEBKIT_LIBS
956 WEBKIT_CFLAGS
957 COND_PYTHON
958 PYTHON
959 HILDON2_LIBS
960 HILDON2_CFLAGS
961 HILDON_LIBS
962 HILDON_CFLAGS
963 LIBNOTIFY_LIBS
964 LIBNOTIFY_CFLAGS
965 GNOMEVFS_LIBS
966 GNOMEVFS_CFLAGS
967 LIBGNOMEPRINTUI_LIBS
968 LIBGNOMEPRINTUI_CFLAGS
969 GTKPRINT_LIBS
970 GTKPRINT_CFLAGS
971 SDL_LIBS
972 SDL_CFLAGS
973 SDL_CONFIG
974 GXX_VERSION
975 LIBICONV
976 CXXFLAGS_VISIBILITY
977 CFLAGS_VISIBILITY
978 MesaGL_LIBS
979 MesaGL_CFLAGS
980 GLU_LIBS
981 GLU_CFLAGS
982 GL_LIBS
983 GL_CFLAGS
984 SM_LIBS
985 SM_CFLAGS
986 Xxf86vm_LIBS
987 Xxf86vm_CFLAGS
988 Xinerama_LIBS
989 Xinerama_CFLAGS
990 PANGOXFT_LIBS
991 PANGOXFT_CFLAGS
992 PANGOFT2_LIBS
993 PANGOFT2_CFLAGS
994 PANGOX_LIBS
995 PANGOX_CFLAGS
996 X_EXTRA_LIBS
997 X_LIBS
998 X_PRE_LIBS
999 X_CFLAGS
1000 XMKMF
1001 DIRECTFB_LIBS
1002 DIRECTFB_CFLAGS
1003 GTK_CONFIG
1004 GTK_LIBS
1005 GTK_CFLAGS
1006 PKG_CONFIG
1007 subdirs
1008 CXXCPP
1009 AR
1010 ac_ct_CXX
1011 CXXFLAGS
1012 CXX
1013 EGREP
1014 GREP
1015 CPP
1016 OBJEXT
1017 EXEEXT
1018 ac_ct_CC
1019 CPPFLAGS
1020 LDFLAGS
1021 CFLAGS
1022 CC
1023 wx_top_builddir
1024 host_os
1025 host_vendor
1026 host_cpu
1027 host
1028 build_os
1029 build_vendor
1030 build_cpu
1031 build
1032 target_alias
1033 host_alias
1034 build_alias
1035 LIBS
1036 ECHO_T
1037 ECHO_N
1038 ECHO_C
1039 DEFS
1040 mandir
1041 localedir
1042 libdir
1043 psdir
1044 pdfdir
1045 dvidir
1046 htmldir
1047 infodir
1048 docdir
1049 oldincludedir
1050 includedir
1051 localstatedir
1052 sharedstatedir
1053 sysconfdir
1054 datadir
1055 datarootdir
1056 libexecdir
1057 sbindir
1058 bindir
1059 program_transform_name
1060 prefix
1061 exec_prefix
1062 PACKAGE_URL
1063 PACKAGE_BUGREPORT
1064 PACKAGE_STRING
1065 PACKAGE_VERSION
1066 PACKAGE_TARNAME
1067 PACKAGE_NAME
1068 PATH_SEPARATOR
1069 SHELL'
1070 ac_subst_files=''
1071 ac_user_opts='
1072 enable_option_checking
1073 enable_gui
1074 enable_monolithic
1075 enable_plugins
1076 with_subdirs
1077 with_flavour
1078 enable_official_build
1079 enable_vendor
1080 enable_all_features
1081 enable_universal
1082 with_themes
1083 with_gtk
1084 with_motif
1085 with_osx_carbon
1086 with_osx_cocoa
1087 with_osx_iphone
1088 with_osx
1089 with_carbon
1090 with_cocoa
1091 with_iphone
1092 with_mac
1093 with_old_cocoa
1094 with_wine
1095 with_msw
1096 with_pm
1097 with_directfb
1098 with_microwin
1099 with_x11
1100 enable_nanox
1101 enable_gpe
1102 with_libpng
1103 with_libjpeg
1104 with_libtiff
1105 with_libjbig
1106 with_liblzma
1107 with_libxpm
1108 with_libiconv
1109 with_libmspack
1110 with_gtkprint
1111 with_gnomeprint
1112 with_gnomevfs
1113 with_libnotify
1114 with_hildon
1115 with_opengl
1116 with_dmalloc
1117 with_sdl
1118 with_regex
1119 with_zlib
1120 with_expat
1121 with_macosx_sdk
1122 with_macosx_version_min
1123 enable_debug
1124 enable_debug_flag
1125 enable_debug_info
1126 enable_debug_gdb
1127 enable_debug_cntxt
1128 enable_mem_tracing
1129 enable_shared
1130 enable_stl
1131 enable_std_containers
1132 enable_std_iostreams
1133 enable_std_string
1134 enable_std_string_conv_in_wxstring
1135 enable_unicode
1136 enable_mslu
1137 enable_utf8
1138 enable_utf8only
1139 enable_extended_rtti
1140 enable_omf
1141 enable_optimise
1142 enable_profile
1143 enable_no_rtti
1144 enable_no_exceptions
1145 enable_permissive
1146 enable_no_deps
1147 enable_vararg_macros
1148 enable_universal_binary
1149 enable_macosx_arch
1150 enable_compat26
1151 enable_compat28
1152 enable_rpath
1153 enable_objc_uniquifying
1154 enable_visibility
1155 enable_tls
1156 enable_intl
1157 enable_xlocale
1158 enable_config
1159 enable_protocols
1160 enable_ftp
1161 enable_http
1162 enable_fileproto
1163 enable_sockets
1164 enable_ipv6
1165 enable_ole
1166 enable_dataobj
1167 enable_ipc
1168 enable_baseevtloop
1169 enable_epollloop
1170 enable_selectloop
1171 enable_any
1172 enable_apple_ieee
1173 enable_arcstream
1174 enable_base64
1175 enable_backtrace
1176 enable_catch_segvs
1177 enable_cmdline
1178 enable_datetime
1179 enable_debugreport
1180 enable_dialupman
1181 enable_dynlib
1182 enable_dynamicloader
1183 enable_exceptions
1184 enable_ffile
1185 enable_file
1186 enable_filehistory
1187 enable_filesystem
1188 enable_fontenum
1189 enable_fontmap
1190 enable_fs_archive
1191 enable_fs_inet
1192 enable_fs_zip
1193 enable_fsvolume
1194 enable_fswatcher
1195 enable_geometry
1196 enable_log
1197 enable_longlong
1198 enable_mimetype
1199 enable_printfposparam
1200 enable_snglinst
1201 enable_sound
1202 enable_stdpaths
1203 enable_stopwatch
1204 enable_streams
1205 enable_sysoptions
1206 enable_tarstream
1207 enable_textbuf
1208 enable_textfile
1209 enable_timer
1210 enable_variant
1211 enable_zipstream
1212 enable_url
1213 enable_protocol
1214 enable_protocol_http
1215 enable_protocol_ftp
1216 enable_protocol_file
1217 enable_threads
1218 enable_iniconf
1219 enable_regkey
1220 enable_docview
1221 enable_help
1222 enable_mshtmlhelp
1223 enable_html
1224 enable_htmlhelp
1225 enable_xrc
1226 enable_aui
1227 enable_propgrid
1228 enable_ribbon
1229 enable_stc
1230 enable_constraints
1231 enable_loggui
1232 enable_logwin
1233 enable_logdialog
1234 enable_mdi
1235 enable_mdidoc
1236 enable_mediactrl
1237 enable_gstreamer8
1238 enable_richtext
1239 enable_postscript
1240 enable_printarch
1241 enable_svg
1242 enable_webkit
1243 enable_webview
1244 enable_graphics_ctx
1245 enable_clipboard
1246 enable_dnd
1247 enable_controls
1248 enable_markup
1249 enable_accel
1250 enable_animatectrl
1251 enable_bannerwindow
1252 enable_artstd
1253 enable_arttango
1254 enable_bmpbutton
1255 enable_bmpcombobox
1256 enable_button
1257 enable_calendar
1258 enable_caret
1259 enable_checkbox
1260 enable_checklst
1261 enable_choice
1262 enable_choicebook
1263 enable_collpane
1264 enable_colourpicker
1265 enable_combobox
1266 enable_comboctrl
1267 enable_commandlinkbutton
1268 enable_dataviewctrl
1269 enable_datepick
1270 enable_detect_sm
1271 enable_dirpicker
1272 enable_display
1273 enable_editablebox
1274 enable_filectrl
1275 enable_filepicker
1276 enable_fontpicker
1277 enable_gauge
1278 enable_grid
1279 enable_headerctrl
1280 enable_hyperlink
1281 enable_imaglist
1282 enable_infobar
1283 enable_listbook
1284 enable_listbox
1285 enable_listctrl
1286 enable_notebook
1287 enable_notifmsg
1288 enable_odcombobox
1289 enable_popupwin
1290 enable_prefseditor
1291 enable_radiobox
1292 enable_radiobtn
1293 enable_richmsgdlg
1294 enable_richtooltip
1295 enable_rearrangectrl
1296 enable_sash
1297 enable_scrollbar
1298 enable_searchctrl
1299 enable_slider
1300 enable_spinbtn
1301 enable_spinctrl
1302 enable_splitter
1303 enable_statbmp
1304 enable_statbox
1305 enable_statline
1306 enable_stattext
1307 enable_statusbar
1308 enable_taskbaricon
1309 enable_tbarnative
1310 enable_textctrl
1311 enable_tipwindow
1312 enable_togglebtn
1313 enable_toolbar
1314 enable_toolbook
1315 enable_treebook
1316 enable_treectrl
1317 enable_treelist
1318 enable_commondlg
1319 enable_aboutdlg
1320 enable_choicedlg
1321 enable_coldlg
1322 enable_filedlg
1323 enable_finddlg
1324 enable_fontdlg
1325 enable_dirdlg
1326 enable_msgdlg
1327 enable_numberdlg
1328 enable_splash
1329 enable_textdlg
1330 enable_tipdlg
1331 enable_progressdlg
1332 enable_wizarddlg
1333 enable_menus
1334 enable_miniframe
1335 enable_tooltips
1336 enable_splines
1337 enable_mousewheel
1338 enable_validators
1339 enable_busyinfo
1340 enable_hotkey
1341 enable_joystick
1342 enable_metafile
1343 enable_dragimage
1344 enable_accessibility
1345 enable_uiactionsim
1346 enable_dctransform
1347 enable_webviewwebkit
1348 enable_palette
1349 enable_image
1350 enable_gif
1351 enable_pcx
1352 enable_tga
1353 enable_iff
1354 enable_pnm
1355 enable_xpm
1356 enable_ico_cur
1357 enable_dccache
1358 enable_ps_in_msw
1359 enable_ownerdrawn
1360 enable_uxtheme
1361 enable_wxdib
1362 enable_webviewie
1363 enable_autoidman
1364 enable_largefile
1365 enable_gtktest
1366 with_gtk_prefix
1367 with_gtk_exec_prefix
1368 with_x
1369 with_libiconv_prefix
1370 with_sdl_prefix
1371 with_sdl_exec_prefix
1372 enable_sdltest
1373 enable_dependency_tracking
1374 enable_precomp_headers
1375 with_cppunit_prefix
1376 with_cppunit_exec_prefix
1377 '
1378 ac_precious_vars='build_alias
1379 host_alias
1380 target_alias
1381 CC
1382 CFLAGS
1383 LDFLAGS
1384 LIBS
1385 CPPFLAGS
1386 CPP
1387 CXX
1388 CXXFLAGS
1389 CCC
1390 CXXCPP
1391 PKG_CONFIG
1392 DIRECTFB_CFLAGS
1393 DIRECTFB_LIBS
1394 XMKMF
1395 PANGOX_CFLAGS
1396 PANGOX_LIBS
1397 PANGOFT2_CFLAGS
1398 PANGOFT2_LIBS
1399 PANGOXFT_CFLAGS
1400 PANGOXFT_LIBS
1401 Xinerama_CFLAGS
1402 Xinerama_LIBS
1403 Xxf86vm_CFLAGS
1404 Xxf86vm_LIBS
1405 SM_CFLAGS
1406 SM_LIBS
1407 GL_CFLAGS
1408 GL_LIBS
1409 GLU_CFLAGS
1410 GLU_LIBS
1411 MesaGL_CFLAGS
1412 MesaGL_LIBS
1413 GTKPRINT_CFLAGS
1414 GTKPRINT_LIBS
1415 LIBGNOMEPRINTUI_CFLAGS
1416 LIBGNOMEPRINTUI_LIBS
1417 GNOMEVFS_CFLAGS
1418 GNOMEVFS_LIBS
1419 LIBNOTIFY_CFLAGS
1420 LIBNOTIFY_LIBS
1421 HILDON_CFLAGS
1422 HILDON_LIBS
1423 HILDON2_CFLAGS
1424 HILDON2_LIBS
1425 WEBKIT_CFLAGS
1426 WEBKIT_LIBS
1427 CAIRO_CFLAGS
1428 CAIRO_LIBS
1429 GST_CFLAGS
1430 GST_LIBS'
1431 ac_subdirs_all='src/tiff
1432 src/expat'
1433
1434 # Initialize some variables set by options.
1435 ac_init_help=
1436 ac_init_version=false
1437 ac_unrecognized_opts=
1438 ac_unrecognized_sep=
1439 # The variables have the same names as the options, with
1440 # dashes changed to underlines.
1441 cache_file=/dev/null
1442 exec_prefix=NONE
1443 no_create=
1444 no_recursion=
1445 prefix=NONE
1446 program_prefix=NONE
1447 program_suffix=NONE
1448 program_transform_name=s,x,x,
1449 silent=
1450 site=
1451 srcdir=
1452 verbose=
1453 x_includes=NONE
1454 x_libraries=NONE
1455
1456 # Installation directory options.
1457 # These are left unexpanded so users can "make install exec_prefix=/foo"
1458 # and all the variables that are supposed to be based on exec_prefix
1459 # by default will actually change.
1460 # Use braces instead of parens because sh, perl, etc. also accept them.
1461 # (The list follows the same order as the GNU Coding Standards.)
1462 bindir='${exec_prefix}/bin'
1463 sbindir='${exec_prefix}/sbin'
1464 libexecdir='${exec_prefix}/libexec'
1465 datarootdir='${prefix}/share'
1466 datadir='${datarootdir}'
1467 sysconfdir='${prefix}/etc'
1468 sharedstatedir='${prefix}/com'
1469 localstatedir='${prefix}/var'
1470 includedir='${prefix}/include'
1471 oldincludedir='/usr/include'
1472 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1473 infodir='${datarootdir}/info'
1474 htmldir='${docdir}'
1475 dvidir='${docdir}'
1476 pdfdir='${docdir}'
1477 psdir='${docdir}'
1478 libdir='${exec_prefix}/lib'
1479 localedir='${datarootdir}/locale'
1480 mandir='${datarootdir}/man'
1481
1482 ac_prev=
1483 ac_dashdash=
1484 for ac_option
1485 do
1486 # If the previous option needs an argument, assign it.
1487 if test -n "$ac_prev"; then
1488 eval $ac_prev=\$ac_option
1489 ac_prev=
1490 continue
1491 fi
1492
1493 case $ac_option in
1494 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1495 *=) ac_optarg= ;;
1496 *) ac_optarg=yes ;;
1497 esac
1498
1499 # Accept the important Cygnus configure options, so we can diagnose typos.
1500
1501 case $ac_dashdash$ac_option in
1502 --)
1503 ac_dashdash=yes ;;
1504
1505 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1506 ac_prev=bindir ;;
1507 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1508 bindir=$ac_optarg ;;
1509
1510 -build | --build | --buil | --bui | --bu)
1511 ac_prev=build_alias ;;
1512 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1513 build_alias=$ac_optarg ;;
1514
1515 -cache-file | --cache-file | --cache-fil | --cache-fi \
1516 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1517 ac_prev=cache_file ;;
1518 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1519 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1520 cache_file=$ac_optarg ;;
1521
1522 --config-cache | -C)
1523 cache_file=config.cache ;;
1524
1525 -datadir | --datadir | --datadi | --datad)
1526 ac_prev=datadir ;;
1527 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1528 datadir=$ac_optarg ;;
1529
1530 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1531 | --dataroo | --dataro | --datar)
1532 ac_prev=datarootdir ;;
1533 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1534 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1535 datarootdir=$ac_optarg ;;
1536
1537 -disable-* | --disable-*)
1538 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1539 # Reject names that are not valid shell variable names.
1540 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1541 as_fn_error $? "invalid feature name: $ac_useropt"
1542 ac_useropt_orig=$ac_useropt
1543 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1544 case $ac_user_opts in
1545 *"
1546 "enable_$ac_useropt"
1547 "*) ;;
1548 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1549 ac_unrecognized_sep=', ';;
1550 esac
1551 eval enable_$ac_useropt=no ;;
1552
1553 -docdir | --docdir | --docdi | --doc | --do)
1554 ac_prev=docdir ;;
1555 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1556 docdir=$ac_optarg ;;
1557
1558 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1559 ac_prev=dvidir ;;
1560 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1561 dvidir=$ac_optarg ;;
1562
1563 -enable-* | --enable-*)
1564 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1565 # Reject names that are not valid shell variable names.
1566 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1567 as_fn_error $? "invalid feature name: $ac_useropt"
1568 ac_useropt_orig=$ac_useropt
1569 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1570 case $ac_user_opts in
1571 *"
1572 "enable_$ac_useropt"
1573 "*) ;;
1574 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1575 ac_unrecognized_sep=', ';;
1576 esac
1577 eval enable_$ac_useropt=\$ac_optarg ;;
1578
1579 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1580 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1581 | --exec | --exe | --ex)
1582 ac_prev=exec_prefix ;;
1583 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1584 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1585 | --exec=* | --exe=* | --ex=*)
1586 exec_prefix=$ac_optarg ;;
1587
1588 -gas | --gas | --ga | --g)
1589 # Obsolete; use --with-gas.
1590 with_gas=yes ;;
1591
1592 -help | --help | --hel | --he | -h)
1593 ac_init_help=long ;;
1594 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1595 ac_init_help=recursive ;;
1596 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1597 ac_init_help=short ;;
1598
1599 -host | --host | --hos | --ho)
1600 ac_prev=host_alias ;;
1601 -host=* | --host=* | --hos=* | --ho=*)
1602 host_alias=$ac_optarg ;;
1603
1604 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1605 ac_prev=htmldir ;;
1606 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1607 | --ht=*)
1608 htmldir=$ac_optarg ;;
1609
1610 -includedir | --includedir | --includedi | --included | --include \
1611 | --includ | --inclu | --incl | --inc)
1612 ac_prev=includedir ;;
1613 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1614 | --includ=* | --inclu=* | --incl=* | --inc=*)
1615 includedir=$ac_optarg ;;
1616
1617 -infodir | --infodir | --infodi | --infod | --info | --inf)
1618 ac_prev=infodir ;;
1619 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1620 infodir=$ac_optarg ;;
1621
1622 -libdir | --libdir | --libdi | --libd)
1623 ac_prev=libdir ;;
1624 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1625 libdir=$ac_optarg ;;
1626
1627 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1628 | --libexe | --libex | --libe)
1629 ac_prev=libexecdir ;;
1630 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1631 | --libexe=* | --libex=* | --libe=*)
1632 libexecdir=$ac_optarg ;;
1633
1634 -localedir | --localedir | --localedi | --localed | --locale)
1635 ac_prev=localedir ;;
1636 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1637 localedir=$ac_optarg ;;
1638
1639 -localstatedir | --localstatedir | --localstatedi | --localstated \
1640 | --localstate | --localstat | --localsta | --localst | --locals)
1641 ac_prev=localstatedir ;;
1642 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1643 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1644 localstatedir=$ac_optarg ;;
1645
1646 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1647 ac_prev=mandir ;;
1648 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1649 mandir=$ac_optarg ;;
1650
1651 -nfp | --nfp | --nf)
1652 # Obsolete; use --without-fp.
1653 with_fp=no ;;
1654
1655 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1656 | --no-cr | --no-c | -n)
1657 no_create=yes ;;
1658
1659 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1660 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1661 no_recursion=yes ;;
1662
1663 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1664 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1665 | --oldin | --oldi | --old | --ol | --o)
1666 ac_prev=oldincludedir ;;
1667 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1668 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1669 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1670 oldincludedir=$ac_optarg ;;
1671
1672 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1673 ac_prev=prefix ;;
1674 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1675 prefix=$ac_optarg ;;
1676
1677 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1678 | --program-pre | --program-pr | --program-p)
1679 ac_prev=program_prefix ;;
1680 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1681 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1682 program_prefix=$ac_optarg ;;
1683
1684 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1685 | --program-suf | --program-su | --program-s)
1686 ac_prev=program_suffix ;;
1687 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1688 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1689 program_suffix=$ac_optarg ;;
1690
1691 -program-transform-name | --program-transform-name \
1692 | --program-transform-nam | --program-transform-na \
1693 | --program-transform-n | --program-transform- \
1694 | --program-transform | --program-transfor \
1695 | --program-transfo | --program-transf \
1696 | --program-trans | --program-tran \
1697 | --progr-tra | --program-tr | --program-t)
1698 ac_prev=program_transform_name ;;
1699 -program-transform-name=* | --program-transform-name=* \
1700 | --program-transform-nam=* | --program-transform-na=* \
1701 | --program-transform-n=* | --program-transform-=* \
1702 | --program-transform=* | --program-transfor=* \
1703 | --program-transfo=* | --program-transf=* \
1704 | --program-trans=* | --program-tran=* \
1705 | --progr-tra=* | --program-tr=* | --program-t=*)
1706 program_transform_name=$ac_optarg ;;
1707
1708 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1709 ac_prev=pdfdir ;;
1710 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1711 pdfdir=$ac_optarg ;;
1712
1713 -psdir | --psdir | --psdi | --psd | --ps)
1714 ac_prev=psdir ;;
1715 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1716 psdir=$ac_optarg ;;
1717
1718 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1719 | -silent | --silent | --silen | --sile | --sil)
1720 silent=yes ;;
1721
1722 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1723 ac_prev=sbindir ;;
1724 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1725 | --sbi=* | --sb=*)
1726 sbindir=$ac_optarg ;;
1727
1728 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1729 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1730 | --sharedst | --shareds | --shared | --share | --shar \
1731 | --sha | --sh)
1732 ac_prev=sharedstatedir ;;
1733 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1734 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1735 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1736 | --sha=* | --sh=*)
1737 sharedstatedir=$ac_optarg ;;
1738
1739 -site | --site | --sit)
1740 ac_prev=site ;;
1741 -site=* | --site=* | --sit=*)
1742 site=$ac_optarg ;;
1743
1744 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1745 ac_prev=srcdir ;;
1746 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1747 srcdir=$ac_optarg ;;
1748
1749 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1750 | --syscon | --sysco | --sysc | --sys | --sy)
1751 ac_prev=sysconfdir ;;
1752 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1753 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1754 sysconfdir=$ac_optarg ;;
1755
1756 -target | --target | --targe | --targ | --tar | --ta | --t)
1757 ac_prev=target_alias ;;
1758 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1759 target_alias=$ac_optarg ;;
1760
1761 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1762 verbose=yes ;;
1763
1764 -version | --version | --versio | --versi | --vers | -V)
1765 ac_init_version=: ;;
1766
1767 -with-* | --with-*)
1768 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1769 # Reject names that are not valid shell variable names.
1770 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1771 as_fn_error $? "invalid package name: $ac_useropt"
1772 ac_useropt_orig=$ac_useropt
1773 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1774 case $ac_user_opts in
1775 *"
1776 "with_$ac_useropt"
1777 "*) ;;
1778 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1779 ac_unrecognized_sep=', ';;
1780 esac
1781 eval with_$ac_useropt=\$ac_optarg ;;
1782
1783 -without-* | --without-*)
1784 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1785 # Reject names that are not valid shell variable names.
1786 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1787 as_fn_error $? "invalid package name: $ac_useropt"
1788 ac_useropt_orig=$ac_useropt
1789 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1790 case $ac_user_opts in
1791 *"
1792 "with_$ac_useropt"
1793 "*) ;;
1794 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1795 ac_unrecognized_sep=', ';;
1796 esac
1797 eval with_$ac_useropt=no ;;
1798
1799 --x)
1800 # Obsolete; use --with-x.
1801 with_x=yes ;;
1802
1803 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1804 | --x-incl | --x-inc | --x-in | --x-i)
1805 ac_prev=x_includes ;;
1806 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1807 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1808 x_includes=$ac_optarg ;;
1809
1810 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1811 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1812 ac_prev=x_libraries ;;
1813 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1814 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1815 x_libraries=$ac_optarg ;;
1816
1817 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1818 Try \`$0 --help' for more information"
1819 ;;
1820
1821 *=*)
1822 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1823 # Reject names that are not valid shell variable names.
1824 case $ac_envvar in #(
1825 '' | [0-9]* | *[!_$as_cr_alnum]* )
1826 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1827 esac
1828 eval $ac_envvar=\$ac_optarg
1829 export $ac_envvar ;;
1830
1831 *)
1832 # FIXME: should be removed in autoconf 3.0.
1833 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1834 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1835 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1836 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1837 ;;
1838
1839 esac
1840 done
1841
1842 if test -n "$ac_prev"; then
1843 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1844 as_fn_error $? "missing argument to $ac_option"
1845 fi
1846
1847 if test -n "$ac_unrecognized_opts"; then
1848 case $enable_option_checking in
1849 no) ;;
1850 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1851 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1852 esac
1853 fi
1854
1855 # Check all directory arguments for consistency.
1856 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1857 datadir sysconfdir sharedstatedir localstatedir includedir \
1858 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1859 libdir localedir mandir
1860 do
1861 eval ac_val=\$$ac_var
1862 # Remove trailing slashes.
1863 case $ac_val in
1864 */ )
1865 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1866 eval $ac_var=\$ac_val;;
1867 esac
1868 # Be sure to have absolute directory names.
1869 case $ac_val in
1870 [\\/$]* | ?:[\\/]* ) continue;;
1871 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1872 esac
1873 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1874 done
1875
1876 # There might be people who depend on the old broken behavior: `$host'
1877 # used to hold the argument of --host etc.
1878 # FIXME: To remove some day.
1879 build=$build_alias
1880 host=$host_alias
1881 target=$target_alias
1882
1883 # FIXME: To remove some day.
1884 if test "x$host_alias" != x; then
1885 if test "x$build_alias" = x; then
1886 cross_compiling=maybe
1887 elif test "x$build_alias" != "x$host_alias"; then
1888 cross_compiling=yes
1889 fi
1890 fi
1891
1892 ac_tool_prefix=
1893 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1894
1895 test "$silent" = yes && exec 6>/dev/null
1896
1897
1898 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1899 ac_ls_di=`ls -di .` &&
1900 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1901 as_fn_error $? "working directory cannot be determined"
1902 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1903 as_fn_error $? "pwd does not report name of working directory"
1904
1905
1906 # Find the source files, if location was not specified.
1907 if test -z "$srcdir"; then
1908 ac_srcdir_defaulted=yes
1909 # Try the directory containing this script, then the parent directory.
1910 ac_confdir=`$as_dirname -- "$as_myself" ||
1911 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1912 X"$as_myself" : 'X\(//\)[^/]' \| \
1913 X"$as_myself" : 'X\(//\)$' \| \
1914 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1915 $as_echo X"$as_myself" |
1916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1917 s//\1/
1918 q
1919 }
1920 /^X\(\/\/\)[^/].*/{
1921 s//\1/
1922 q
1923 }
1924 /^X\(\/\/\)$/{
1925 s//\1/
1926 q
1927 }
1928 /^X\(\/\).*/{
1929 s//\1/
1930 q
1931 }
1932 s/.*/./; q'`
1933 srcdir=$ac_confdir
1934 if test ! -r "$srcdir/$ac_unique_file"; then
1935 srcdir=..
1936 fi
1937 else
1938 ac_srcdir_defaulted=no
1939 fi
1940 if test ! -r "$srcdir/$ac_unique_file"; then
1941 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1942 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1943 fi
1944 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1945 ac_abs_confdir=`(
1946 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1947 pwd)`
1948 # When building in place, set srcdir=.
1949 if test "$ac_abs_confdir" = "$ac_pwd"; then
1950 srcdir=.
1951 fi
1952 # Remove unnecessary trailing slashes from srcdir.
1953 # Double slashes in file names in object file debugging info
1954 # mess up M-x gdb in Emacs.
1955 case $srcdir in
1956 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1957 esac
1958 for ac_var in $ac_precious_vars; do
1959 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1960 eval ac_env_${ac_var}_value=\$${ac_var}
1961 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1962 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1963 done
1964
1965 #
1966 # Report the --help message.
1967 #
1968 if test "$ac_init_help" = "long"; then
1969 # Omit some internal or obsolete options to make the list less imposing.
1970 # This message is too long to be a string in the A/UX 3.1 sh.
1971 cat <<_ACEOF
1972 \`configure' configures wxWidgets 3.0.0 to adapt to many kinds of systems.
1973
1974 Usage: $0 [OPTION]... [VAR=VALUE]...
1975
1976 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1977 VAR=VALUE. See below for descriptions of some of the useful variables.
1978
1979 Defaults for the options are specified in brackets.
1980
1981 Configuration:
1982 -h, --help display this help and exit
1983 --help=short display options specific to this package
1984 --help=recursive display the short help of all the included packages
1985 -V, --version display version information and exit
1986 -q, --quiet, --silent do not print \`checking ...' messages
1987 --cache-file=FILE cache test results in FILE [disabled]
1988 -C, --config-cache alias for \`--cache-file=config.cache'
1989 -n, --no-create do not create output files
1990 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1991
1992 Installation directories:
1993 --prefix=PREFIX install architecture-independent files in PREFIX
1994 [$ac_default_prefix]
1995 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1996 [PREFIX]
1997
1998 By default, \`make install' will install all the files in
1999 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2000 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2001 for instance \`--prefix=\$HOME'.
2002
2003 For better control, use the options below.
2004
2005 Fine tuning of the installation directories:
2006 --bindir=DIR user executables [EPREFIX/bin]
2007 --sbindir=DIR system admin executables [EPREFIX/sbin]
2008 --libexecdir=DIR program executables [EPREFIX/libexec]
2009 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2010 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2011 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2012 --libdir=DIR object code libraries [EPREFIX/lib]
2013 --includedir=DIR C header files [PREFIX/include]
2014 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2015 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2016 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2017 --infodir=DIR info documentation [DATAROOTDIR/info]
2018 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2019 --mandir=DIR man documentation [DATAROOTDIR/man]
2020 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2021 --htmldir=DIR html documentation [DOCDIR]
2022 --dvidir=DIR dvi documentation [DOCDIR]
2023 --pdfdir=DIR pdf documentation [DOCDIR]
2024 --psdir=DIR ps documentation [DOCDIR]
2025 _ACEOF
2026
2027 cat <<\_ACEOF
2028
2029 X features:
2030 --x-includes=DIR X include files are in DIR
2031 --x-libraries=DIR X library files are in DIR
2032
2033 System types:
2034 --build=BUILD configure for building on BUILD [guessed]
2035 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2036 _ACEOF
2037 fi
2038
2039 if test -n "$ac_init_help"; then
2040 case $ac_init_help in
2041 short | recursive ) echo "Configuration of wxWidgets 3.0.0:";;
2042 esac
2043 cat <<\_ACEOF
2044
2045 Optional Features:
2046 --disable-option-checking ignore unrecognized --enable/--with options
2047 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2048 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2049 --disable-gui don't build GUI parts of the library
2050 --enable-monolithic build wxWidgets as single library
2051 --enable-plugins build parts of wxWidgets as loadable components
2052 --enable-official_build official build of wxWidgets (win32 DLL only)
2053 --enable-vendor=VENDOR vendor name (win32 DLL only)
2054 --disable-all-features disable all optional features to build minimal library
2055 --enable-universal use wxWidgets GUI controls instead of native ones
2056 --enable-nanox use NanoX
2057 --enable-gpe use GNOME PDA Environment features if possible
2058 --enable-debug build library for debugging
2059 --disable-debug_flag disable all debugging support
2060 --enable-debug_info generate debug information
2061 --enable-debug_gdb create code with extra GDB debugging information
2062 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
2063 --enable-mem_tracing obsolete, don't use: create code with memory tracing
2064 --disable-shared create static library instead of shared
2065 --enable-stl use standard C++ classes for everything
2066 --enable-std_containers use standard C++ container classes
2067 --enable-std_iostreams use standard C++ stream classes
2068 --enable-std_string use standard C++ string classes
2069 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2070 --disable-unicode compile without Unicode support
2071 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2072 --enable-utf8 use UTF-8 representation for strings (Unix only)
2073 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2074 --enable-extended_rtti use extended RTTI (XTI)
2075 --enable-omf use OMF object format
2076 --disable-optimise compile without optimisations
2077 --enable-profile create code with profiling information
2078 --enable-no_rtti create code without RTTI information
2079 --enable-no_exceptions create code without C++ exceptions handling
2080 --enable-permissive compile code disregarding strict ANSI
2081 --enable-no_deps create code without dependency information
2082 --disable-vararg_macros don't use vararg macros, even if they are supported
2083 --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
2084 --enable-macosx_arch=ARCH build for just the specified architecture
2085 --enable-compat26 enable wxWidgets 2.6 compatibility
2086 --disable-compat28 disable wxWidgets 2.8 compatibility
2087 --disable-rpath disable use of rpath for uninstalled builds
2088 --enable-objc_uniquifying enable Objective-C class name uniquifying
2089 --disable-visibility disable use of ELF symbols visibility even if supported
2090 --disable-tls disable use of compiler TLS support
2091 --enable-intl use internationalization system
2092 --enable-xlocale use x-locale support (requires wxLocale)
2093 --enable-config use wxConfig (and derived) classes
2094 --enable-protocols use wxProtocol and derived classes
2095 --enable-ftp use wxFTP (requires wxProtocol
2096 --enable-http use wxHTTP (requires wxProtocol
2097 --enable-fileproto use wxFileProto class (requires wxProtocol
2098 --enable-sockets use socket/network classes
2099 --enable-ipv6 enable IPv6 support in wxSocket
2100 --enable-ole use OLE classes (Win32 only)
2101 --enable-dataobj use data object classes
2102 --enable-ipc use interprocess communication (wxSocket etc.)
2103 --enable-baseevtloop use event loop in console programs too
2104 --enable-epollloop use wxEpollDispatcher class (Linux only)
2105 --enable-selectloop use wxSelectDispatcher class
2106 --enable-any use wxAny class
2107 --enable-apple_ieee use the Apple IEEE codec
2108 --enable-arcstream use wxArchive streams
2109 --enable-base64 use base64 encoding/decoding functions
2110 --enable-backtrace use wxStackWalker class for getting backtraces
2111 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
2112 --enable-cmdline use wxCmdLineParser class
2113 --enable-datetime use wxDateTime class
2114 --enable-debugreport use wxDebugReport class
2115 --enable-dialupman use dialup network classes
2116 --enable-dynlib use wxLibrary class for DLL loading
2117 --enable-dynamicloader use (new) wxDynamicLibrary class
2118 --enable-exceptions build exception-safe library
2119 --enable-ffile use wxFFile class
2120 --enable-file use wxFile class
2121 --enable-filehistory use wxFileHistory class
2122 --enable-filesystem use virtual file systems classes
2123 --enable-fontenum use wxFontEnumerator class
2124 --enable-fontmap use font encodings conversion classes
2125 --enable-fs_archive use virtual archive filesystems
2126 --enable-fs_inet use virtual HTTP/FTP filesystems
2127 --enable-fs_zip now replaced by fs_archive
2128 --enable-fsvolume use wxFSVolume class
2129 --enable-fswatcher use wxFileSystemWatcher class
2130 --enable-geometry use geometry class
2131 --enable-log use logging system
2132 --enable-longlong use wxLongLong class
2133 --enable-mimetype use wxMimeTypesManager
2134 --enable-printfposparam use wxVsnprintf() which supports positional parameters
2135 --enable-snglinst use wxSingleInstanceChecker class
2136 --enable-sound use wxSound class
2137 --enable-stdpaths use wxStandardPaths class
2138 --enable-stopwatch use wxStopWatch class
2139 --enable-streams use wxStream etc classes
2140 --enable-sysoptions use wxSystemOptions
2141 --enable-tarstream use wxTar streams
2142 --enable-textbuf use wxTextBuffer class
2143 --enable-textfile use wxTextFile class
2144 --enable-timer use wxTimer class
2145 --enable-variant use wxVariant class
2146 --enable-zipstream use wxZip streams
2147 --enable-url use wxURL class
2148 --enable-protocol use wxProtocol class
2149 --enable-protocol-http HTTP support in wxProtocol
2150 --enable-protocol-ftp FTP support in wxProtocol
2151 --enable-protocol-file FILE support in wxProtocol
2152 --enable-threads use threads
2153 --enable-iniconf use wxIniConfig (Win32 only)
2154 --enable-regkey use wxRegKey class (Win32 only)
2155 --enable-docview use document view architecture
2156 --enable-help use help subsystem
2157 --enable-mshtmlhelp use MS HTML Help (win32)
2158 --enable-html use wxHTML sub-library
2159 --enable-htmlhelp use wxHTML-based help
2160 --enable-xrc use XRC resources sub-library
2161 --enable-aui use AUI docking library
2162 --enable-propgrid use wxPropertyGrid library
2163 --enable-ribbon use wxRibbon library
2164 --enable-stc use wxStyledTextCtrl library
2165 --enable-constraints use layout-constraints system
2166 --enable-loggui use standard GUI logger
2167 --enable-logwin use wxLogWindow
2168 --enable-logdialog use wxLogDialog
2169 --enable-mdi use multiple document interface architecture
2170 --enable-mdidoc use docview architecture with MDI
2171 --enable-mediactrl use wxMediaCtrl class
2172 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
2173 --enable-richtext use wxRichTextCtrl
2174 --enable-postscript use wxPostscriptDC device context (default for gtk+)
2175 --enable-printarch use printing architecture
2176 --enable-svg use wxSVGFileDC device context
2177 --enable-webkit use wxWebKitCtrl (Mac-only, use wxWebView instead)
2178 --enable-webview use wxWebView library
2179 --enable-graphics_ctx use graphics context 2D drawing API
2180 --enable-clipboard use wxClipboard class
2181 --enable-dnd use Drag'n'Drop classes
2182 --disable-controls disable compilation of all standard controls
2183 --enable-markup support wxControl::SetLabelMarkup
2184 --enable-accel use accelerators
2185 --enable-animatectrl use wxAnimationCtrl class
2186 --enable-bannerwindow use wxBannerWindow class
2187 --enable-artstd use standard XPM icons in wxArtProvider
2188 --enable-arttango use Tango icons in wxArtProvider
2189 --enable-bmpbutton use wxBitmapButton class
2190 --enable-bmpcombobox use wxBitmapComboBox class
2191 --enable-button use wxButton class
2192 --enable-calendar use wxCalendarCtrl class
2193 --enable-caret use wxCaret class
2194 --enable-checkbox use wxCheckBox class
2195 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
2196 --enable-choice use wxChoice class
2197 --enable-choicebook use wxChoicebook class
2198 --enable-collpane use wxCollapsiblePane class
2199 --enable-colourpicker use wxColourPickerCtrl class
2200 --enable-combobox use wxComboBox class
2201 --enable-comboctrl use wxComboCtrl class
2202 --enable-commandlinkbutton use wxCommmandLinkButton class
2203 --enable-dataviewctrl use wxDataViewCtrl class
2204 --enable-datepick use wxDatePickerCtrl class
2205 --enable-detect_sm use code to detect X11 session manager
2206 --enable-dirpicker use wxDirPickerCtrl class
2207 --enable-display use wxDisplay class
2208 --enable-editablebox use wxEditableListBox class
2209 --enable-filectrl use wxFileCtrl class
2210 --enable-filepicker use wxFilePickerCtrl class
2211 --enable-fontpicker use wxFontPickerCtrl class
2212 --enable-gauge use wxGauge class
2213 --enable-grid use wxGrid class
2214 --enable-headerctrl use wxHeaderCtrl class
2215 --enable-hyperlink use wxHyperlinkCtrl class
2216 --enable-imaglist use wxImageList class
2217 --enable-infobar use wxInfoBar class
2218 --enable-listbook use wxListbook class
2219 --enable-listbox use wxListBox class
2220 --enable-listctrl use wxListCtrl class
2221 --enable-notebook use wxNotebook class
2222 --enable-notifmsg use wxNotificationMessage class
2223 --enable-odcombobox use wxOwnerDrawnComboBox class
2224 --enable-popupwin use wxPopUpWindow class
2225 --enable-prefseditor use wxPreferencesEditor class
2226 --enable-radiobox use wxRadioBox class
2227 --enable-radiobtn use wxRadioButton class
2228 --enable-richmsgdlg use wxRichMessageDialog class
2229 --enable-richtooltip use wxRichToolTip class
2230 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
2231 --enable-sash use wxSashWindow class
2232 --enable-scrollbar use wxScrollBar class and scrollable windows
2233 --enable-searchctrl use wxSearchCtrl class
2234 --enable-slider use wxSlider class
2235 --enable-spinbtn use wxSpinButton class
2236 --enable-spinctrl use wxSpinCtrl class
2237 --enable-splitter use wxSplitterWindow class
2238 --enable-statbmp use wxStaticBitmap class
2239 --enable-statbox use wxStaticBox class
2240 --enable-statline use wxStaticLine class
2241 --enable-stattext use wxStaticText class
2242 --enable-statusbar use wxStatusBar class
2243 --enable-taskbaricon use wxTaskBarIcon class
2244 --enable-tbarnative use native wxToolBar class
2245 --enable-textctrl use wxTextCtrl class
2246 --enable-timepick use wxTimePickerCtrl class
2247 --enable-tipwindow use wxTipWindow class
2248 --enable-togglebtn use wxToggleButton class
2249 --enable-toolbar use wxToolBar class
2250 --enable-toolbook use wxToolbook class
2251 --enable-treebook use wxTreebook class
2252 --enable-treectrl use wxTreeCtrl class
2253 --enable-treelist use wxTreeListCtrl class
2254 --enable-commondlg use all common dialogs
2255 --enable-aboutdlg use wxAboutBox
2256 --enable-choicedlg use wxChoiceDialog
2257 --enable-coldlg use wxColourDialog
2258 --enable-filedlg use wxFileDialog
2259 --enable-finddlg use wxFindReplaceDialog
2260 --enable-fontdlg use wxFontDialog
2261 --enable-dirdlg use wxDirDialog
2262 --enable-msgdlg use wxMessageDialog
2263 --enable-numberdlg use wxNumberEntryDialog
2264 --enable-splash use wxSplashScreen
2265 --enable-textdlg use wxTextDialog
2266 --enable-tipdlg use startup tips
2267 --enable-progressdlg use wxProgressDialog
2268 --enable-wizarddlg use wxWizard
2269 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
2270 --enable-miniframe use wxMiniFrame class
2271 --enable-tooltips use wxToolTip class
2272 --enable-splines use spline drawing code
2273 --enable-mousewheel use mousewheel
2274 --enable-validators use wxValidator and derived classes
2275 --enable-busyinfo use wxBusyInfo
2276 --enable-hotkey use wxWindow::RegisterHotKey()
2277 --enable-joystick use wxJoystick
2278 --enable-metafiles use wxMetaFile
2279 --enable-dragimage use wxDragImage
2280 --enable-accessibility enable accessibility support
2281 --enable-uiactionsim use wxUIActionSimulator (experimental)
2282 --enable-dctransform use wxDC::SetTransformMatrix and related
2283 --enable-webviewwebkit use wxWebView WebKit backend
2284 --enable-palette use wxPalette class
2285 --enable-image use wxImage class
2286 --enable-gif use gif images (GIF file format)
2287 --enable-pcx use pcx images (PCX file format)
2288 --enable-tga use tga images (TGA file format)
2289 --enable-iff use iff images (IFF file format)
2290 --enable-pnm use pnm images (PNM file format)
2291 --enable-xpm use xpm images (XPM file format)
2292 --enable-ico_cur use Windows ICO and CUR formats
2293 --enable-dccache cache temporary wxDC objects (Win32 only)
2294 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
2295 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
2296 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
2297 --enable-wxdib use wxDIB class (Win32 only)
2298 --enable-webviewie use wxWebView IE backend (Win32 only)
2299 --enable-autoidman use automatic ids management
2300 --disable-largefile omit support for large files
2301 --disable-gtktest do not try to compile and run a test GTK+ program
2302 --disable-gtktest Do not try to compile and run a test GTK program
2303 --disable-sdltest Do not try to compile and run a test SDL program
2304 --enable-omf use OMF object format (OS/2)
2305 --disable-dependency-tracking
2306 don't use dependency tracking even if the compiler
2307 can
2308 --disable-precomp-headers
2309 don't use precompiled headers even if compiler can
2310
2311 Optional Packages:
2312 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2313 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2314 --without-subdirs don't generate makefiles for samples/demos/...
2315 --with-flavour=NAME specify a name to identify this build
2316 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2317 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2318 --with-motif use Motif/Lesstif
2319 --with-osx_carbon use Mac OS X (Carbon)
2320 --with-osx_cocoa use Mac OS X (Cocoa)
2321 --with-osx_iphone use iPhone OS X port
2322 --with-osx use Mac OS X (default port, currently Carbon)
2323 --with-carbon same as --with-osx_carbon
2324 --with-cocoa same as --with-osx_cocoa
2325 --with-iphone same as --with-osx_iphone
2326 --with-mac same as --with-osx
2327 --with-old_cocoa use old, deprecated, Cocoa port
2328 --with-wine use Wine
2329 --with-msw use MS-Windows
2330 --with-pm use OS/2 Presentation Manager
2331 --with-directfb use DirectFB
2332 --with-microwin use MicroWindows
2333 --with-x11 use X11
2334 --with-libpng use libpng (PNG image format)
2335 --with-libjpeg use libjpeg (JPEG file format)
2336 --with-libtiff use libtiff (TIFF file format)
2337 --without-libjbig don't use libjbig in libtiff even if available)
2338 --without-liblzma don't use liblzma in libtiff even if available)
2339 --with-libxpm use libxpm (XPM file format)
2340 --with-libiconv use libiconv (character conversion)
2341 --with-libmspack use libmspack (CHM help files loading)
2342 --without-gtkprint don't use GTK printing support
2343 --without-gnomeprint don't use GNOME printing libraries
2344 --with-gnomevfs use GNOME VFS for associating MIME types
2345 --with-libnotify use libnotify for notifications
2346 --with-hildon use Hildon framework for Nokia 770/800/810
2347 --with-opengl use OpenGL (or Mesa)
2348 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2349 --with-sdl use SDL for audio on Unix
2350 --with-regex enable support for wxRegEx class
2351 --with-zlib use zlib for LZW compression
2352 --with-expat enable XML support using expat parser
2353 --with-macosx-sdk=PATH use an OS X SDK at PATH
2354 --with-macosx-version-min=VER build binaries which require at least this OS X version
2355 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2356 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2357 --with-x use the X Window System
2358 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2359 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2360 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2361 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2362 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2363
2364 Some influential environment variables:
2365 CC C compiler command
2366 CFLAGS C compiler flags
2367 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2368 nonstandard directory <lib dir>
2369 LIBS libraries to pass to the linker, e.g. -l<library>
2370 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2371 you have headers in a nonstandard directory <include dir>
2372 CPP C preprocessor
2373 CXX C++ compiler command
2374 CXXFLAGS C++ compiler flags
2375 CXXCPP C++ preprocessor
2376 PKG_CONFIG path to pkg-config utility
2377 DIRECTFB_CFLAGS
2378 C compiler flags for DIRECTFB, overriding pkg-config
2379 DIRECTFB_LIBS
2380 linker flags for DIRECTFB, overriding pkg-config
2381 XMKMF Path to xmkmf, Makefile generator for X Window System
2382 PANGOX_CFLAGS
2383 C compiler flags for PANGOX, overriding pkg-config
2384 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2385 PANGOFT2_CFLAGS
2386 C compiler flags for PANGOFT2, overriding pkg-config
2387 PANGOFT2_LIBS
2388 linker flags for PANGOFT2, overriding pkg-config
2389 PANGOXFT_CFLAGS
2390 C compiler flags for PANGOXFT, overriding pkg-config
2391 PANGOXFT_LIBS
2392 linker flags for PANGOXFT, overriding pkg-config
2393 Xinerama_CFLAGS
2394 C compiler flags for Xinerama, overriding pkg-config
2395 Xinerama_LIBS
2396 linker flags for Xinerama, overriding pkg-config
2397 Xxf86vm_CFLAGS
2398 C compiler flags for Xxf86vm, overriding pkg-config
2399 Xxf86vm_LIBS
2400 linker flags for Xxf86vm, overriding pkg-config
2401 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2402 SM_LIBS linker flags for SM, overriding pkg-config
2403 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2404 GL_LIBS linker flags for GL, overriding pkg-config
2405 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2406 GLU_LIBS linker flags for GLU, overriding pkg-config
2407 MesaGL_CFLAGS
2408 C compiler flags for MesaGL, overriding pkg-config
2409 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2410 GTKPRINT_CFLAGS
2411 C compiler flags for GTKPRINT, overriding pkg-config
2412 GTKPRINT_LIBS
2413 linker flags for GTKPRINT, overriding pkg-config
2414 LIBGNOMEPRINTUI_CFLAGS
2415 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2416 LIBGNOMEPRINTUI_LIBS
2417 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2418 GNOMEVFS_CFLAGS
2419 C compiler flags for GNOMEVFS, overriding pkg-config
2420 GNOMEVFS_LIBS
2421 linker flags for GNOMEVFS, overriding pkg-config
2422 LIBNOTIFY_CFLAGS
2423 C compiler flags for LIBNOTIFY, overriding pkg-config
2424 LIBNOTIFY_LIBS
2425 linker flags for LIBNOTIFY, overriding pkg-config
2426 HILDON_CFLAGS
2427 C compiler flags for HILDON, overriding pkg-config
2428 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2429 HILDON2_CFLAGS
2430 C compiler flags for HILDON2, overriding pkg-config
2431 HILDON2_LIBS
2432 linker flags for HILDON2, overriding pkg-config
2433 WEBKIT_CFLAGS
2434 C compiler flags for WEBKIT, overriding pkg-config
2435 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2436 CAIRO_CFLAGS
2437 C compiler flags for CAIRO, overriding pkg-config
2438 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2439 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2440 GST_LIBS linker flags for GST, overriding pkg-config
2441
2442 Use these variables to override the choices made by `configure' or to help
2443 it to find libraries and programs with nonstandard names/locations.
2444
2445 Report bugs to <wx-dev@lists.wxwidgets.org>.
2446 _ACEOF
2447 ac_status=$?
2448 fi
2449
2450 if test "$ac_init_help" = "recursive"; then
2451 # If there are subdirs, report their specific --help.
2452 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2453 test -d "$ac_dir" ||
2454 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2455 continue
2456 ac_builddir=.
2457
2458 case "$ac_dir" in
2459 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2460 *)
2461 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2462 # A ".." for each directory in $ac_dir_suffix.
2463 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2464 case $ac_top_builddir_sub in
2465 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2466 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2467 esac ;;
2468 esac
2469 ac_abs_top_builddir=$ac_pwd
2470 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2471 # for backward compatibility:
2472 ac_top_builddir=$ac_top_build_prefix
2473
2474 case $srcdir in
2475 .) # We are building in place.
2476 ac_srcdir=.
2477 ac_top_srcdir=$ac_top_builddir_sub
2478 ac_abs_top_srcdir=$ac_pwd ;;
2479 [\\/]* | ?:[\\/]* ) # Absolute name.
2480 ac_srcdir=$srcdir$ac_dir_suffix;
2481 ac_top_srcdir=$srcdir
2482 ac_abs_top_srcdir=$srcdir ;;
2483 *) # Relative name.
2484 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2485 ac_top_srcdir=$ac_top_build_prefix$srcdir
2486 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2487 esac
2488 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2489
2490 cd "$ac_dir" || { ac_status=$?; continue; }
2491 # Check for guested configure.
2492 if test -f "$ac_srcdir/configure.gnu"; then
2493 echo &&
2494 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2495 elif test -f "$ac_srcdir/configure"; then
2496 echo &&
2497 $SHELL "$ac_srcdir/configure" --help=recursive
2498 else
2499 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2500 fi || ac_status=$?
2501 cd "$ac_pwd" || { ac_status=$?; break; }
2502 done
2503 fi
2504
2505 test -n "$ac_init_help" && exit $ac_status
2506 if $ac_init_version; then
2507 cat <<\_ACEOF
2508 wxWidgets configure 3.0.0
2509 generated by GNU Autoconf 2.69
2510
2511 Copyright (C) 2012 Free Software Foundation, Inc.
2512 This configure script is free software; the Free Software Foundation
2513 gives unlimited permission to copy, distribute and modify it.
2514 _ACEOF
2515 exit
2516 fi
2517
2518 ## ------------------------ ##
2519 ## Autoconf initialization. ##
2520 ## ------------------------ ##
2521
2522 # ac_fn_c_try_compile LINENO
2523 # --------------------------
2524 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2525 ac_fn_c_try_compile ()
2526 {
2527 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2528 rm -f conftest.$ac_objext
2529 if { { ac_try="$ac_compile"
2530 case "(($ac_try" in
2531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2532 *) ac_try_echo=$ac_try;;
2533 esac
2534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2535 $as_echo "$ac_try_echo"; } >&5
2536 (eval "$ac_compile") 2>conftest.err
2537 ac_status=$?
2538 if test -s conftest.err; then
2539 grep -v '^ *+' conftest.err >conftest.er1
2540 cat conftest.er1 >&5
2541 mv -f conftest.er1 conftest.err
2542 fi
2543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2544 test $ac_status = 0; } && {
2545 test -z "$ac_c_werror_flag" ||
2546 test ! -s conftest.err
2547 } && test -s conftest.$ac_objext; then :
2548 ac_retval=0
2549 else
2550 $as_echo "$as_me: failed program was:" >&5
2551 sed 's/^/| /' conftest.$ac_ext >&5
2552
2553 ac_retval=1
2554 fi
2555 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2556 as_fn_set_status $ac_retval
2557
2558 } # ac_fn_c_try_compile
2559
2560 # ac_fn_c_try_cpp LINENO
2561 # ----------------------
2562 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2563 ac_fn_c_try_cpp ()
2564 {
2565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2566 if { { ac_try="$ac_cpp conftest.$ac_ext"
2567 case "(($ac_try" in
2568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2569 *) ac_try_echo=$ac_try;;
2570 esac
2571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2572 $as_echo "$ac_try_echo"; } >&5
2573 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2574 ac_status=$?
2575 if test -s conftest.err; then
2576 grep -v '^ *+' conftest.err >conftest.er1
2577 cat conftest.er1 >&5
2578 mv -f conftest.er1 conftest.err
2579 fi
2580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2581 test $ac_status = 0; } > conftest.i && {
2582 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2583 test ! -s conftest.err
2584 }; then :
2585 ac_retval=0
2586 else
2587 $as_echo "$as_me: failed program was:" >&5
2588 sed 's/^/| /' conftest.$ac_ext >&5
2589
2590 ac_retval=1
2591 fi
2592 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2593 as_fn_set_status $ac_retval
2594
2595 } # ac_fn_c_try_cpp
2596
2597 # ac_fn_cxx_try_compile LINENO
2598 # ----------------------------
2599 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2600 ac_fn_cxx_try_compile ()
2601 {
2602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2603 rm -f conftest.$ac_objext
2604 if { { ac_try="$ac_compile"
2605 case "(($ac_try" in
2606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2607 *) ac_try_echo=$ac_try;;
2608 esac
2609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2610 $as_echo "$ac_try_echo"; } >&5
2611 (eval "$ac_compile") 2>conftest.err
2612 ac_status=$?
2613 if test -s conftest.err; then
2614 grep -v '^ *+' conftest.err >conftest.er1
2615 cat conftest.er1 >&5
2616 mv -f conftest.er1 conftest.err
2617 fi
2618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2619 test $ac_status = 0; } && {
2620 test -z "$ac_cxx_werror_flag" ||
2621 test ! -s conftest.err
2622 } && test -s conftest.$ac_objext; then :
2623 ac_retval=0
2624 else
2625 $as_echo "$as_me: failed program was:" >&5
2626 sed 's/^/| /' conftest.$ac_ext >&5
2627
2628 ac_retval=1
2629 fi
2630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2631 as_fn_set_status $ac_retval
2632
2633 } # ac_fn_cxx_try_compile
2634
2635 # ac_fn_c_try_link LINENO
2636 # -----------------------
2637 # Try to link conftest.$ac_ext, and return whether this succeeded.
2638 ac_fn_c_try_link ()
2639 {
2640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2641 rm -f conftest.$ac_objext conftest$ac_exeext
2642 if { { ac_try="$ac_link"
2643 case "(($ac_try" in
2644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2645 *) ac_try_echo=$ac_try;;
2646 esac
2647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2648 $as_echo "$ac_try_echo"; } >&5
2649 (eval "$ac_link") 2>conftest.err
2650 ac_status=$?
2651 if test -s conftest.err; then
2652 grep -v '^ *+' conftest.err >conftest.er1
2653 cat conftest.er1 >&5
2654 mv -f conftest.er1 conftest.err
2655 fi
2656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2657 test $ac_status = 0; } && {
2658 test -z "$ac_c_werror_flag" ||
2659 test ! -s conftest.err
2660 } && test -s conftest$ac_exeext && {
2661 test "$cross_compiling" = yes ||
2662 test -x conftest$ac_exeext
2663 }; then :
2664 ac_retval=0
2665 else
2666 $as_echo "$as_me: failed program was:" >&5
2667 sed 's/^/| /' conftest.$ac_ext >&5
2668
2669 ac_retval=1
2670 fi
2671 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2672 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2673 # interfere with the next link command; also delete a directory that is
2674 # left behind by Apple's compiler. We do this before executing the actions.
2675 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2676 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2677 as_fn_set_status $ac_retval
2678
2679 } # ac_fn_c_try_link
2680
2681 # ac_fn_cxx_try_link LINENO
2682 # -------------------------
2683 # Try to link conftest.$ac_ext, and return whether this succeeded.
2684 ac_fn_cxx_try_link ()
2685 {
2686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2687 rm -f conftest.$ac_objext conftest$ac_exeext
2688 if { { ac_try="$ac_link"
2689 case "(($ac_try" in
2690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2691 *) ac_try_echo=$ac_try;;
2692 esac
2693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2694 $as_echo "$ac_try_echo"; } >&5
2695 (eval "$ac_link") 2>conftest.err
2696 ac_status=$?
2697 if test -s conftest.err; then
2698 grep -v '^ *+' conftest.err >conftest.er1
2699 cat conftest.er1 >&5
2700 mv -f conftest.er1 conftest.err
2701 fi
2702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2703 test $ac_status = 0; } && {
2704 test -z "$ac_cxx_werror_flag" ||
2705 test ! -s conftest.err
2706 } && test -s conftest$ac_exeext && {
2707 test "$cross_compiling" = yes ||
2708 test -x conftest$ac_exeext
2709 }; then :
2710 ac_retval=0
2711 else
2712 $as_echo "$as_me: failed program was:" >&5
2713 sed 's/^/| /' conftest.$ac_ext >&5
2714
2715 ac_retval=1
2716 fi
2717 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2718 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2719 # interfere with the next link command; also delete a directory that is
2720 # left behind by Apple's compiler. We do this before executing the actions.
2721 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2722 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2723 as_fn_set_status $ac_retval
2724
2725 } # ac_fn_cxx_try_link
2726
2727 # ac_fn_c_try_run LINENO
2728 # ----------------------
2729 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2730 # that executables *can* be run.
2731 ac_fn_c_try_run ()
2732 {
2733 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2734 if { { ac_try="$ac_link"
2735 case "(($ac_try" in
2736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2737 *) ac_try_echo=$ac_try;;
2738 esac
2739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2740 $as_echo "$ac_try_echo"; } >&5
2741 (eval "$ac_link") 2>&5
2742 ac_status=$?
2743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2744 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2745 { { case "(($ac_try" in
2746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747 *) ac_try_echo=$ac_try;;
2748 esac
2749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2750 $as_echo "$ac_try_echo"; } >&5
2751 (eval "$ac_try") 2>&5
2752 ac_status=$?
2753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2754 test $ac_status = 0; }; }; then :
2755 ac_retval=0
2756 else
2757 $as_echo "$as_me: program exited with status $ac_status" >&5
2758 $as_echo "$as_me: failed program was:" >&5
2759 sed 's/^/| /' conftest.$ac_ext >&5
2760
2761 ac_retval=$ac_status
2762 fi
2763 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2765 as_fn_set_status $ac_retval
2766
2767 } # ac_fn_c_try_run
2768
2769 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2770 # -------------------------------------------------------
2771 # Tests whether HEADER exists and can be compiled using the include files in
2772 # INCLUDES, setting the cache variable VAR accordingly.
2773 ac_fn_c_check_header_compile ()
2774 {
2775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2777 $as_echo_n "checking for $2... " >&6; }
2778 if eval \${$3+:} false; then :
2779 $as_echo_n "(cached) " >&6
2780 else
2781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2782 /* end confdefs.h. */
2783 $4
2784 #include <$2>
2785 _ACEOF
2786 if ac_fn_c_try_compile "$LINENO"; then :
2787 eval "$3=yes"
2788 else
2789 eval "$3=no"
2790 fi
2791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2792 fi
2793 eval ac_res=\$$3
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2795 $as_echo "$ac_res" >&6; }
2796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2797
2798 } # ac_fn_c_check_header_compile
2799
2800 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2801 # ---------------------------------------------------------
2802 # Tests whether HEADER exists and can be compiled using the include files in
2803 # INCLUDES, setting the cache variable VAR accordingly.
2804 ac_fn_cxx_check_header_compile ()
2805 {
2806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2808 $as_echo_n "checking for $2... " >&6; }
2809 if eval \${$3+:} false; then :
2810 $as_echo_n "(cached) " >&6
2811 else
2812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2813 /* end confdefs.h. */
2814 $4
2815 #include <$2>
2816 _ACEOF
2817 if ac_fn_cxx_try_compile "$LINENO"; then :
2818 eval "$3=yes"
2819 else
2820 eval "$3=no"
2821 fi
2822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2823 fi
2824 eval ac_res=\$$3
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2826 $as_echo "$ac_res" >&6; }
2827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2828
2829 } # ac_fn_cxx_check_header_compile
2830
2831 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2832 # --------------------------------------------
2833 # Tries to find the compile-time value of EXPR in a program that includes
2834 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2835 # computed
2836 ac_fn_c_compute_int ()
2837 {
2838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2839 if test "$cross_compiling" = yes; then
2840 # Depending upon the size, compute the lo and hi bounds.
2841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2842 /* end confdefs.h. */
2843 $4
2844 int
2845 main ()
2846 {
2847 static int test_array [1 - 2 * !(($2) >= 0)];
2848 test_array [0] = 0;
2849 return test_array [0];
2850
2851 ;
2852 return 0;
2853 }
2854 _ACEOF
2855 if ac_fn_c_try_compile "$LINENO"; then :
2856 ac_lo=0 ac_mid=0
2857 while :; do
2858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2859 /* end confdefs.h. */
2860 $4
2861 int
2862 main ()
2863 {
2864 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2865 test_array [0] = 0;
2866 return test_array [0];
2867
2868 ;
2869 return 0;
2870 }
2871 _ACEOF
2872 if ac_fn_c_try_compile "$LINENO"; then :
2873 ac_hi=$ac_mid; break
2874 else
2875 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2876 if test $ac_lo -le $ac_mid; then
2877 ac_lo= ac_hi=
2878 break
2879 fi
2880 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2881 fi
2882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2883 done
2884 else
2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2887 $4
2888 int
2889 main ()
2890 {
2891 static int test_array [1 - 2 * !(($2) < 0)];
2892 test_array [0] = 0;
2893 return test_array [0];
2894
2895 ;
2896 return 0;
2897 }
2898 _ACEOF
2899 if ac_fn_c_try_compile "$LINENO"; then :
2900 ac_hi=-1 ac_mid=-1
2901 while :; do
2902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2903 /* end confdefs.h. */
2904 $4
2905 int
2906 main ()
2907 {
2908 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2909 test_array [0] = 0;
2910 return test_array [0];
2911
2912 ;
2913 return 0;
2914 }
2915 _ACEOF
2916 if ac_fn_c_try_compile "$LINENO"; then :
2917 ac_lo=$ac_mid; break
2918 else
2919 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2920 if test $ac_mid -le $ac_hi; then
2921 ac_lo= ac_hi=
2922 break
2923 fi
2924 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2925 fi
2926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2927 done
2928 else
2929 ac_lo= ac_hi=
2930 fi
2931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2932 fi
2933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2934 # Binary search between lo and hi bounds.
2935 while test "x$ac_lo" != "x$ac_hi"; do
2936 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2938 /* end confdefs.h. */
2939 $4
2940 int
2941 main ()
2942 {
2943 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2944 test_array [0] = 0;
2945 return test_array [0];
2946
2947 ;
2948 return 0;
2949 }
2950 _ACEOF
2951 if ac_fn_c_try_compile "$LINENO"; then :
2952 ac_hi=$ac_mid
2953 else
2954 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2955 fi
2956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2957 done
2958 case $ac_lo in #((
2959 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2960 '') ac_retval=1 ;;
2961 esac
2962 else
2963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2964 /* end confdefs.h. */
2965 $4
2966 static long int longval () { return $2; }
2967 static unsigned long int ulongval () { return $2; }
2968 #include <stdio.h>
2969 #include <stdlib.h>
2970 int
2971 main ()
2972 {
2973
2974 FILE *f = fopen ("conftest.val", "w");
2975 if (! f)
2976 return 1;
2977 if (($2) < 0)
2978 {
2979 long int i = longval ();
2980 if (i != ($2))
2981 return 1;
2982 fprintf (f, "%ld", i);
2983 }
2984 else
2985 {
2986 unsigned long int i = ulongval ();
2987 if (i != ($2))
2988 return 1;
2989 fprintf (f, "%lu", i);
2990 }
2991 /* Do not output a trailing newline, as this causes \r\n confusion
2992 on some platforms. */
2993 return ferror (f) || fclose (f) != 0;
2994
2995 ;
2996 return 0;
2997 }
2998 _ACEOF
2999 if ac_fn_c_try_run "$LINENO"; then :
3000 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3001 else
3002 ac_retval=1
3003 fi
3004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3005 conftest.$ac_objext conftest.beam conftest.$ac_ext
3006 rm -f conftest.val
3007
3008 fi
3009 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3010 as_fn_set_status $ac_retval
3011
3012 } # ac_fn_c_compute_int
3013
3014 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3015 # ---------------------------------------------
3016 # Tests whether TYPE exists after having included INCLUDES, setting cache
3017 # variable VAR accordingly.
3018 ac_fn_cxx_check_type ()
3019 {
3020 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3022 $as_echo_n "checking for $2... " >&6; }
3023 if eval \${$3+:} false; then :
3024 $as_echo_n "(cached) " >&6
3025 else
3026 eval "$3=no"
3027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3028 /* end confdefs.h. */
3029 $4
3030 int
3031 main ()
3032 {
3033 if (sizeof ($2))
3034 return 0;
3035 ;
3036 return 0;
3037 }
3038 _ACEOF
3039 if ac_fn_cxx_try_compile "$LINENO"; then :
3040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3041 /* end confdefs.h. */
3042 $4
3043 int
3044 main ()
3045 {
3046 if (sizeof (($2)))
3047 return 0;
3048 ;
3049 return 0;
3050 }
3051 _ACEOF
3052 if ac_fn_cxx_try_compile "$LINENO"; then :
3053
3054 else
3055 eval "$3=yes"
3056 fi
3057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3058 fi
3059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3060 fi
3061 eval ac_res=\$$3
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3063 $as_echo "$ac_res" >&6; }
3064 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3065
3066 } # ac_fn_cxx_check_type
3067
3068 # ac_fn_cxx_try_cpp LINENO
3069 # ------------------------
3070 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3071 ac_fn_cxx_try_cpp ()
3072 {
3073 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3074 if { { ac_try="$ac_cpp conftest.$ac_ext"
3075 case "(($ac_try" in
3076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3077 *) ac_try_echo=$ac_try;;
3078 esac
3079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3080 $as_echo "$ac_try_echo"; } >&5
3081 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3082 ac_status=$?
3083 if test -s conftest.err; then
3084 grep -v '^ *+' conftest.err >conftest.er1
3085 cat conftest.er1 >&5
3086 mv -f conftest.er1 conftest.err
3087 fi
3088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3089 test $ac_status = 0; } > conftest.i && {
3090 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3091 test ! -s conftest.err
3092 }; then :
3093 ac_retval=0
3094 else
3095 $as_echo "$as_me: failed program was:" >&5
3096 sed 's/^/| /' conftest.$ac_ext >&5
3097
3098 ac_retval=1
3099 fi
3100 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3101 as_fn_set_status $ac_retval
3102
3103 } # ac_fn_cxx_try_cpp
3104
3105 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3106 # ---------------------------------------------------------
3107 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3108 # the include files in INCLUDES and setting the cache variable VAR
3109 # accordingly.
3110 ac_fn_cxx_check_header_mongrel ()
3111 {
3112 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3113 if eval \${$3+:} false; then :
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3115 $as_echo_n "checking for $2... " >&6; }
3116 if eval \${$3+:} false; then :
3117 $as_echo_n "(cached) " >&6
3118 fi
3119 eval ac_res=\$$3
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3121 $as_echo "$ac_res" >&6; }
3122 else
3123 # Is the header compilable?
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3125 $as_echo_n "checking $2 usability... " >&6; }
3126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3127 /* end confdefs.h. */
3128 $4
3129 #include <$2>
3130 _ACEOF
3131 if ac_fn_cxx_try_compile "$LINENO"; then :
3132 ac_header_compiler=yes
3133 else
3134 ac_header_compiler=no
3135 fi
3136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3138 $as_echo "$ac_header_compiler" >&6; }
3139
3140 # Is the header present?
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3142 $as_echo_n "checking $2 presence... " >&6; }
3143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3144 /* end confdefs.h. */
3145 #include <$2>
3146 _ACEOF
3147 if ac_fn_cxx_try_cpp "$LINENO"; then :
3148 ac_header_preproc=yes
3149 else
3150 ac_header_preproc=no
3151 fi
3152 rm -f conftest.err conftest.i conftest.$ac_ext
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3154 $as_echo "$ac_header_preproc" >&6; }
3155
3156 # So? What about this header?
3157 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3158 yes:no: )
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3160 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3162 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3163 ;;
3164 no:yes:* )
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3166 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3168 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3170 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3172 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3174 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3175 ( $as_echo "## ----------------------------------------- ##
3176 ## Report this to wx-dev@lists.wxwidgets.org ##
3177 ## ----------------------------------------- ##"
3178 ) | sed "s/^/$as_me: WARNING: /" >&2
3179 ;;
3180 esac
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3182 $as_echo_n "checking for $2... " >&6; }
3183 if eval \${$3+:} false; then :
3184 $as_echo_n "(cached) " >&6
3185 else
3186 eval "$3=\$ac_header_compiler"
3187 fi
3188 eval ac_res=\$$3
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3190 $as_echo "$ac_res" >&6; }
3191 fi
3192 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3193
3194 } # ac_fn_cxx_check_header_mongrel
3195
3196 # ac_fn_c_check_func LINENO FUNC VAR
3197 # ----------------------------------
3198 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3199 ac_fn_c_check_func ()
3200 {
3201 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3203 $as_echo_n "checking for $2... " >&6; }
3204 if eval \${$3+:} false; then :
3205 $as_echo_n "(cached) " >&6
3206 else
3207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3208 /* end confdefs.h. */
3209 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3211 #define $2 innocuous_$2
3212
3213 /* System header to define __stub macros and hopefully few prototypes,
3214 which can conflict with char $2 (); below.
3215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3216 <limits.h> exists even on freestanding compilers. */
3217
3218 #ifdef __STDC__
3219 # include <limits.h>
3220 #else
3221 # include <assert.h>
3222 #endif
3223
3224 #undef $2
3225
3226 /* Override any GCC internal prototype to avoid an error.
3227 Use char because int might match the return type of a GCC
3228 builtin and then its argument prototype would still apply. */
3229 #ifdef __cplusplus
3230 extern "C"
3231 #endif
3232 char $2 ();
3233 /* The GNU C library defines this for functions which it implements
3234 to always fail with ENOSYS. Some functions are actually named
3235 something starting with __ and the normal name is an alias. */
3236 #if defined __stub_$2 || defined __stub___$2
3237 choke me
3238 #endif
3239
3240 int
3241 main ()
3242 {
3243 return $2 ();
3244 ;
3245 return 0;
3246 }
3247 _ACEOF
3248 if ac_fn_c_try_link "$LINENO"; then :
3249 eval "$3=yes"
3250 else
3251 eval "$3=no"
3252 fi
3253 rm -f core conftest.err conftest.$ac_objext \
3254 conftest$ac_exeext conftest.$ac_ext
3255 fi
3256 eval ac_res=\$$3
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3258 $as_echo "$ac_res" >&6; }
3259 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3260
3261 } # ac_fn_c_check_func
3262
3263 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3264 # -------------------------------------------
3265 # Tests whether TYPE exists after having included INCLUDES, setting cache
3266 # variable VAR accordingly.
3267 ac_fn_c_check_type ()
3268 {
3269 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3271 $as_echo_n "checking for $2... " >&6; }
3272 if eval \${$3+:} false; then :
3273 $as_echo_n "(cached) " >&6
3274 else
3275 eval "$3=no"
3276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3277 /* end confdefs.h. */
3278 $4
3279 int
3280 main ()
3281 {
3282 if (sizeof ($2))
3283 return 0;
3284 ;
3285 return 0;
3286 }
3287 _ACEOF
3288 if ac_fn_c_try_compile "$LINENO"; then :
3289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3290 /* end confdefs.h. */
3291 $4
3292 int
3293 main ()
3294 {
3295 if (sizeof (($2)))
3296 return 0;
3297 ;
3298 return 0;
3299 }
3300 _ACEOF
3301 if ac_fn_c_try_compile "$LINENO"; then :
3302
3303 else
3304 eval "$3=yes"
3305 fi
3306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307 fi
3308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3309 fi
3310 eval ac_res=\$$3
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3312 $as_echo "$ac_res" >&6; }
3313 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3314
3315 } # ac_fn_c_check_type
3316
3317 # ac_fn_cxx_try_run LINENO
3318 # ------------------------
3319 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3320 # that executables *can* be run.
3321 ac_fn_cxx_try_run ()
3322 {
3323 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3324 if { { ac_try="$ac_link"
3325 case "(($ac_try" in
3326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3327 *) ac_try_echo=$ac_try;;
3328 esac
3329 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3330 $as_echo "$ac_try_echo"; } >&5
3331 (eval "$ac_link") 2>&5
3332 ac_status=$?
3333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3334 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3335 { { case "(($ac_try" in
3336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3337 *) ac_try_echo=$ac_try;;
3338 esac
3339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3340 $as_echo "$ac_try_echo"; } >&5
3341 (eval "$ac_try") 2>&5
3342 ac_status=$?
3343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3344 test $ac_status = 0; }; }; then :
3345 ac_retval=0
3346 else
3347 $as_echo "$as_me: program exited with status $ac_status" >&5
3348 $as_echo "$as_me: failed program was:" >&5
3349 sed 's/^/| /' conftest.$ac_ext >&5
3350
3351 ac_retval=$ac_status
3352 fi
3353 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3354 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3355 as_fn_set_status $ac_retval
3356
3357 } # ac_fn_cxx_try_run
3358 cat >config.log <<_ACEOF
3359 This file contains any messages produced by compilers while
3360 running configure, to aid debugging if configure makes a mistake.
3361
3362 It was created by wxWidgets $as_me 3.0.0, which was
3363 generated by GNU Autoconf 2.69. Invocation command line was
3364
3365 $ $0 $@
3366
3367 _ACEOF
3368 exec 5>>config.log
3369 {
3370 cat <<_ASUNAME
3371 ## --------- ##
3372 ## Platform. ##
3373 ## --------- ##
3374
3375 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3376 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3377 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3378 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3379 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3380
3381 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3382 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3383
3384 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3385 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3386 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3387 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3388 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3389 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3390 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3391
3392 _ASUNAME
3393
3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3395 for as_dir in $PATH
3396 do
3397 IFS=$as_save_IFS
3398 test -z "$as_dir" && as_dir=.
3399 $as_echo "PATH: $as_dir"
3400 done
3401 IFS=$as_save_IFS
3402
3403 } >&5
3404
3405 cat >&5 <<_ACEOF
3406
3407
3408 ## ----------- ##
3409 ## Core tests. ##
3410 ## ----------- ##
3411
3412 _ACEOF
3413
3414
3415 # Keep a trace of the command line.
3416 # Strip out --no-create and --no-recursion so they do not pile up.
3417 # Strip out --silent because we don't want to record it for future runs.
3418 # Also quote any args containing shell meta-characters.
3419 # Make two passes to allow for proper duplicate-argument suppression.
3420 ac_configure_args=
3421 ac_configure_args0=
3422 ac_configure_args1=
3423 ac_must_keep_next=false
3424 for ac_pass in 1 2
3425 do
3426 for ac_arg
3427 do
3428 case $ac_arg in
3429 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3430 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3431 | -silent | --silent | --silen | --sile | --sil)
3432 continue ;;
3433 *\'*)
3434 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3435 esac
3436 case $ac_pass in
3437 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3438 2)
3439 as_fn_append ac_configure_args1 " '$ac_arg'"
3440 if test $ac_must_keep_next = true; then
3441 ac_must_keep_next=false # Got value, back to normal.
3442 else
3443 case $ac_arg in
3444 *=* | --config-cache | -C | -disable-* | --disable-* \
3445 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3446 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3447 | -with-* | --with-* | -without-* | --without-* | --x)
3448 case "$ac_configure_args0 " in
3449 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3450 esac
3451 ;;
3452 -* ) ac_must_keep_next=true ;;
3453 esac
3454 fi
3455 as_fn_append ac_configure_args " '$ac_arg'"
3456 ;;
3457 esac
3458 done
3459 done
3460 { ac_configure_args0=; unset ac_configure_args0;}
3461 { ac_configure_args1=; unset ac_configure_args1;}
3462
3463 # When interrupted or exit'd, cleanup temporary files, and complete
3464 # config.log. We remove comments because anyway the quotes in there
3465 # would cause problems or look ugly.
3466 # WARNING: Use '\'' to represent an apostrophe within the trap.
3467 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3468 trap 'exit_status=$?
3469 # Save into config.log some information that might help in debugging.
3470 {
3471 echo
3472
3473 $as_echo "## ---------------- ##
3474 ## Cache variables. ##
3475 ## ---------------- ##"
3476 echo
3477 # The following way of writing the cache mishandles newlines in values,
3478 (
3479 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3480 eval ac_val=\$$ac_var
3481 case $ac_val in #(
3482 *${as_nl}*)
3483 case $ac_var in #(
3484 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3485 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3486 esac
3487 case $ac_var in #(
3488 _ | IFS | as_nl) ;; #(
3489 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3490 *) { eval $ac_var=; unset $ac_var;} ;;
3491 esac ;;
3492 esac
3493 done
3494 (set) 2>&1 |
3495 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3496 *${as_nl}ac_space=\ *)
3497 sed -n \
3498 "s/'\''/'\''\\\\'\'''\''/g;
3499 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3500 ;; #(
3501 *)
3502 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3503 ;;
3504 esac |
3505 sort
3506 )
3507 echo
3508
3509 $as_echo "## ----------------- ##
3510 ## Output variables. ##
3511 ## ----------------- ##"
3512 echo
3513 for ac_var in $ac_subst_vars
3514 do
3515 eval ac_val=\$$ac_var
3516 case $ac_val in
3517 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3518 esac
3519 $as_echo "$ac_var='\''$ac_val'\''"
3520 done | sort
3521 echo
3522
3523 if test -n "$ac_subst_files"; then
3524 $as_echo "## ------------------- ##
3525 ## File substitutions. ##
3526 ## ------------------- ##"
3527 echo
3528 for ac_var in $ac_subst_files
3529 do
3530 eval ac_val=\$$ac_var
3531 case $ac_val in
3532 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3533 esac
3534 $as_echo "$ac_var='\''$ac_val'\''"
3535 done | sort
3536 echo
3537 fi
3538
3539 if test -s confdefs.h; then
3540 $as_echo "## ----------- ##
3541 ## confdefs.h. ##
3542 ## ----------- ##"
3543 echo
3544 cat confdefs.h
3545 echo
3546 fi
3547 test "$ac_signal" != 0 &&
3548 $as_echo "$as_me: caught signal $ac_signal"
3549 $as_echo "$as_me: exit $exit_status"
3550 } >&5
3551 rm -f core *.core core.conftest.* &&
3552 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3553 exit $exit_status
3554 ' 0
3555 for ac_signal in 1 2 13 15; do
3556 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3557 done
3558 ac_signal=0
3559
3560 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3561 rm -f -r conftest* confdefs.h
3562
3563 $as_echo "/* confdefs.h */" > confdefs.h
3564
3565 # Predefined preprocessor variables.
3566
3567 cat >>confdefs.h <<_ACEOF
3568 #define PACKAGE_NAME "$PACKAGE_NAME"
3569 _ACEOF
3570
3571 cat >>confdefs.h <<_ACEOF
3572 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3573 _ACEOF
3574
3575 cat >>confdefs.h <<_ACEOF
3576 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3577 _ACEOF
3578
3579 cat >>confdefs.h <<_ACEOF
3580 #define PACKAGE_STRING "$PACKAGE_STRING"
3581 _ACEOF
3582
3583 cat >>confdefs.h <<_ACEOF
3584 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3585 _ACEOF
3586
3587 cat >>confdefs.h <<_ACEOF
3588 #define PACKAGE_URL "$PACKAGE_URL"
3589 _ACEOF
3590
3591
3592 # Let the site file select an alternate cache file if it wants to.
3593 # Prefer an explicitly selected file to automatically selected ones.
3594 ac_site_file1=NONE
3595 ac_site_file2=NONE
3596 if test -n "$CONFIG_SITE"; then
3597 # We do not want a PATH search for config.site.
3598 case $CONFIG_SITE in #((
3599 -*) ac_site_file1=./$CONFIG_SITE;;
3600 */*) ac_site_file1=$CONFIG_SITE;;
3601 *) ac_site_file1=./$CONFIG_SITE;;
3602 esac
3603 elif test "x$prefix" != xNONE; then
3604 ac_site_file1=$prefix/share/config.site
3605 ac_site_file2=$prefix/etc/config.site
3606 else
3607 ac_site_file1=$ac_default_prefix/share/config.site
3608 ac_site_file2=$ac_default_prefix/etc/config.site
3609 fi
3610 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3611 do
3612 test "x$ac_site_file" = xNONE && continue
3613 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3615 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3616 sed 's/^/| /' "$ac_site_file" >&5
3617 . "$ac_site_file" \
3618 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3620 as_fn_error $? "failed to load site script $ac_site_file
3621 See \`config.log' for more details" "$LINENO" 5; }
3622 fi
3623 done
3624
3625 if test -r "$cache_file"; then
3626 # Some versions of bash will fail to source /dev/null (special files
3627 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3628 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3630 $as_echo "$as_me: loading cache $cache_file" >&6;}
3631 case $cache_file in
3632 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3633 *) . "./$cache_file";;
3634 esac
3635 fi
3636 else
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3638 $as_echo "$as_me: creating cache $cache_file" >&6;}
3639 >$cache_file
3640 fi
3641
3642 # Check that the precious variables saved in the cache have kept the same
3643 # value.
3644 ac_cache_corrupted=false
3645 for ac_var in $ac_precious_vars; do
3646 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3647 eval ac_new_set=\$ac_env_${ac_var}_set
3648 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3649 eval ac_new_val=\$ac_env_${ac_var}_value
3650 case $ac_old_set,$ac_new_set in
3651 set,)
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3653 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3654 ac_cache_corrupted=: ;;
3655 ,set)
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3657 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3658 ac_cache_corrupted=: ;;
3659 ,);;
3660 *)
3661 if test "x$ac_old_val" != "x$ac_new_val"; then
3662 # differences in whitespace do not lead to failure.
3663 ac_old_val_w=`echo x $ac_old_val`
3664 ac_new_val_w=`echo x $ac_new_val`
3665 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3667 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3668 ac_cache_corrupted=:
3669 else
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3671 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3672 eval $ac_var=\$ac_old_val
3673 fi
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3675 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3677 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3678 fi;;
3679 esac
3680 # Pass precious variables to config.status.
3681 if test "$ac_new_set" = set; then
3682 case $ac_new_val in
3683 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3684 *) ac_arg=$ac_var=$ac_new_val ;;
3685 esac
3686 case " $ac_configure_args " in
3687 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3688 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3689 esac
3690 fi
3691 done
3692 if $ac_cache_corrupted; then
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3696 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3697 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3698 fi
3699 ## -------------------- ##
3700 ## Main body of script. ##
3701 ## -------------------- ##
3702
3703 ac_ext=c
3704 ac_cpp='$CPP $CPPFLAGS'
3705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3708
3709
3710
3711
3712
3713 ac_aux_dir=
3714 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3715 if test -f "$ac_dir/install-sh"; then
3716 ac_aux_dir=$ac_dir
3717 ac_install_sh="$ac_aux_dir/install-sh -c"
3718 break
3719 elif test -f "$ac_dir/install.sh"; then
3720 ac_aux_dir=$ac_dir
3721 ac_install_sh="$ac_aux_dir/install.sh -c"
3722 break
3723 elif test -f "$ac_dir/shtool"; then
3724 ac_aux_dir=$ac_dir
3725 ac_install_sh="$ac_aux_dir/shtool install -c"
3726 break
3727 fi
3728 done
3729 if test -z "$ac_aux_dir"; then
3730 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3731 fi
3732
3733 # These three variables are undocumented and unsupported,
3734 # and are intended to be withdrawn in a future Autoconf release.
3735 # They can cause serious problems if a builder's source tree is in a directory
3736 # whose full name contains unusual characters.
3737 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3738 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3739 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3740
3741
3742 # Make sure we can run config.sub.
3743 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3744 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3745
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3747 $as_echo_n "checking build system type... " >&6; }
3748 if ${ac_cv_build+:} false; then :
3749 $as_echo_n "(cached) " >&6
3750 else
3751 ac_build_alias=$build_alias
3752 test "x$ac_build_alias" = x &&
3753 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3754 test "x$ac_build_alias" = x &&
3755 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3756 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3757 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3758
3759 fi
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3761 $as_echo "$ac_cv_build" >&6; }
3762 case $ac_cv_build in
3763 *-*-*) ;;
3764 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3765 esac
3766 build=$ac_cv_build
3767 ac_save_IFS=$IFS; IFS='-'
3768 set x $ac_cv_build
3769 shift
3770 build_cpu=$1
3771 build_vendor=$2
3772 shift; shift
3773 # Remember, the first character of IFS is used to create $*,
3774 # except with old shells:
3775 build_os=$*
3776 IFS=$ac_save_IFS
3777 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3778
3779
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3781 $as_echo_n "checking host system type... " >&6; }
3782 if ${ac_cv_host+:} false; then :
3783 $as_echo_n "(cached) " >&6
3784 else
3785 if test "x$host_alias" = x; then
3786 ac_cv_host=$ac_cv_build
3787 else
3788 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3789 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3790 fi
3791
3792 fi
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3794 $as_echo "$ac_cv_host" >&6; }
3795 case $ac_cv_host in
3796 *-*-*) ;;
3797 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3798 esac
3799 host=$ac_cv_host
3800 ac_save_IFS=$IFS; IFS='-'
3801 set x $ac_cv_host
3802 shift
3803 host_cpu=$1
3804 host_vendor=$2
3805 shift; shift
3806 # Remember, the first character of IFS is used to create $*,
3807 # except with old shells:
3808 host_os=$*
3809 IFS=$ac_save_IFS
3810 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3811
3812
3813
3814 if test "$cross_compiling" != "no"; then
3815 HOST_PREFIX="${host_alias}-"
3816 HOST_SUFFIX="-$host_alias"
3817 else
3818 HOST_PREFIX=
3819 HOST_SUFFIX=
3820 fi
3821
3822
3823 wx_major_version_number=3
3824 wx_minor_version_number=0
3825 wx_release_number=0
3826 wx_subrelease_number=0
3827
3828 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
3829 WX_VERSION=$WX_RELEASE.$wx_release_number
3830 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
3831
3832 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
3833
3834
3835 wx_top_builddir="`pwd`"
3836
3837
3838
3839
3840 USE_UNIX=1
3841 USE_OS2=0
3842 USE_WIN32=0
3843 USE_DOS=0
3844 USE_BEOS=0
3845 USE_MAC=0
3846
3847 USE_AIX=
3848 USE_BSD= USE_DARWIN= USE_FREEBSD=
3849 USE_GNU= USE_HPUX=
3850 USE_LINUX=
3851 USE_NETBSD=
3852 USE_OPENBSD=
3853 USE_OSF= USE_SGI=
3854 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
3855 USE_ULTRIX=
3856 USE_UNIXWARE=
3857
3858 USE_ALPHA=
3859
3860 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
3861
3862 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3863
3864 DEFAULT_wxUSE_OLD_COCOA=0
3865 DEFAULT_wxUSE_GTK=0
3866 DEFAULT_wxUSE_OSX_CARBON=0
3867 DEFAULT_wxUSE_OSX_COCOA=0
3868 DEFAULT_wxUSE_OSX_IPHONE=0
3869 DEFAULT_wxUSE_MICROWIN=0
3870 DEFAULT_wxUSE_MOTIF=0
3871 DEFAULT_wxUSE_MSW=0
3872 DEFAULT_wxUSE_PM=0
3873 DEFAULT_wxUSE_X11=0
3874 DEFAULT_wxUSE_DFB=0
3875
3876 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
3877 DEFAULT_DEFAULT_wxUSE_GTK=0
3878 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
3879 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
3880 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
3881 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
3882 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3883 DEFAULT_DEFAULT_wxUSE_MSW=0
3884 DEFAULT_DEFAULT_wxUSE_PM=0
3885 DEFAULT_DEFAULT_wxUSE_X11=0
3886 DEFAULT_DEFAULT_wxUSE_DFB=0
3887
3888 PROGRAM_EXT=
3889 SAMPLES_RPATH_FLAG=
3890 DYLIB_RPATH_INSTALL=
3891 DYLIB_RPATH_POSTLINK=
3892
3893 DEFAULT_STD_FLAG=yes
3894
3895 case "${host}" in
3896 *-hp-hpux* )
3897 USE_HPUX=1
3898 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3899 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3900 $as_echo "#define __HPUX__ 1" >>confdefs.h
3901
3902
3903 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
3904 ;;
3905 *-*-linux* )
3906 USE_LINUX=1
3907 $as_echo "#define __LINUX__ 1" >>confdefs.h
3908
3909 TMP=`uname -m`
3910 if test "x$TMP" = "xalpha"; then
3911 USE_ALPHA=1
3912 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3913
3914 fi
3915 DEFAULT_DEFAULT_wxUSE_GTK=1
3916 ;;
3917 *-*-gnu* | *-*-k*bsd*-gnu )
3918 USE_GNU=1
3919 TMP=`uname -m`
3920 if test "x$TMP" = "xalpha"; then
3921 USE_ALPHA=1
3922 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3923
3924 fi
3925 DEFAULT_DEFAULT_wxUSE_GTK=1
3926 ;;
3927 *-*-irix5* | *-*-irix6* )
3928 USE_SGI=1
3929 USE_SVR4=1
3930 $as_echo "#define __SGI__ 1" >>confdefs.h
3931
3932 $as_echo "#define __SVR4__ 1" >>confdefs.h
3933
3934 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3935 ;;
3936 *-*-qnx*)
3937 USE_QNX=1
3938 $as_echo "#define __QNX__ 1" >>confdefs.h
3939
3940 DEFAULT_DEFAULT_wxUSE_X11=1
3941 ;;
3942 *-*-solaris2* )
3943 USE_SUN=1
3944 USE_SOLARIS=1
3945 USE_SVR4=1
3946 $as_echo "#define __SUN__ 1" >>confdefs.h
3947
3948 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3949
3950 $as_echo "#define __SVR4__ 1" >>confdefs.h
3951
3952 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3953 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3954 ;;
3955 *-*-sunos4* )
3956 USE_SUN=1
3957 USE_SUNOS=1
3958 USE_BSD=1
3959 $as_echo "#define __SUN__ 1" >>confdefs.h
3960
3961 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3962
3963 $as_echo "#define __BSD__ 1" >>confdefs.h
3964
3965 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3966 ;;
3967 *-*-freebsd*)
3968 USE_BSD=1
3969 USE_FREEBSD=1
3970 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3971
3972 $as_echo "#define __BSD__ 1" >>confdefs.h
3973
3974 DEFAULT_DEFAULT_wxUSE_GTK=1
3975 ;;
3976 *-*-openbsd*|*-*-mirbsd*)
3977 USE_BSD=1
3978 USE_OPENBSD=1
3979 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3980
3981 $as_echo "#define __BSD__ 1" >>confdefs.h
3982
3983 DEFAULT_DEFAULT_wxUSE_GTK=1
3984 ;;
3985 *-*-netbsd*)
3986 USE_BSD=1
3987 USE_NETBSD=1
3988 $as_echo "#define __NETBSD__ 1" >>confdefs.h
3989
3990 $as_echo "#define __BSD__ 1" >>confdefs.h
3991
3992 DEFAULT_DEFAULT_wxUSE_GTK=1
3993 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3994
3995 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
3996 ;;
3997 *-*-osf* )
3998 USE_ALPHA=1
3999 USE_OSF=1
4000 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4001
4002 $as_echo "#define __OSF__ 1" >>confdefs.h
4003
4004 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4005 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
4006 ;;
4007 *-*-dgux5* )
4008 USE_ALPHA=1
4009 USE_SVR4=1
4010 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4011
4012 $as_echo "#define __SVR4__ 1" >>confdefs.h
4013
4014 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4015 ;;
4016 *-*-sysv5* )
4017 USE_SYSV=1
4018 USE_SVR4=1
4019 $as_echo "#define __SYSV__ 1" >>confdefs.h
4020
4021 $as_echo "#define __SVR4__ 1" >>confdefs.h
4022
4023 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4024 ;;
4025 *-*-aix* )
4026 USE_AIX=1
4027 USE_SYSV=1
4028 USE_SVR4=1
4029 $as_echo "#define __AIX__ 1" >>confdefs.h
4030
4031 $as_echo "#define __SYSV__ 1" >>confdefs.h
4032
4033 $as_echo "#define __SVR4__ 1" >>confdefs.h
4034
4035 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4036 ;;
4037
4038 *-*-*UnixWare*)
4039 USE_SYSV=1
4040 USE_SVR4=1
4041 USE_UNIXWARE=1
4042 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4043
4044 ;;
4045
4046 *-*-cygwin* | *-*-mingw32* )
4047 PROGRAM_EXT=".exe"
4048 DEFAULT_DEFAULT_wxUSE_MSW=1
4049 ;;
4050
4051 *-pc-msdosdjgpp )
4052 USE_UNIX=0
4053 USE_DOS=1
4054 $as_echo "#define __DOS__ 1" >>confdefs.h
4055
4056 PROGRAM_EXT=".exe"
4057 ;;
4058
4059 *-pc-os2_emx | *-pc-os2-emx )
4060 $as_echo "#define __EMX__ 1" >>confdefs.h
4061
4062 USE_OS2=1
4063 $as_echo "#define __OS2__ 1" >>confdefs.h
4064
4065 PROGRAM_EXT=".exe"
4066 DEFAULT_DEFAULT_wxUSE_PM=1
4067 CXX=gcc
4068 LDFLAGS="$LDFLAGS -Zcrtdll"
4069 ac_executable_extensions=".exe"
4070 export ac_executable_extensions
4071 ac_save_IFS="$IFS"
4072 IFS='\\'
4073 ac_TEMP_PATH=
4074 for ac_dir in $PATH; do
4075 IFS=$ac_save_IFS
4076 if test -z "$ac_TEMP_PATH"; then
4077 ac_TEMP_PATH="$ac_dir"
4078 else
4079 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
4080 fi
4081 done
4082 export PATH="$ac_TEMP_PATH"
4083 unset ac_TEMP_PATH
4084 DEFAULT_STD_FLAG=no
4085 ;;
4086
4087 arm-apple-darwin*)
4088 USE_BSD=1
4089 USE_DARWIN=1
4090 $as_echo "#define __BSD__ 1" >>confdefs.h
4091
4092 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4093
4094 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
4095 ;;
4096
4097 *-*-darwin* )
4098 USE_BSD=1
4099 USE_DARWIN=1
4100 $as_echo "#define __BSD__ 1" >>confdefs.h
4101
4102 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4103
4104 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4105
4106 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=1
4107 ;;
4108
4109 *-*-beos* )
4110 USE_BEOS=1
4111 $as_echo "#define __BEOS__ 1" >>confdefs.h
4112
4113 ;;
4114
4115 *)
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4117 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4119 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4120
4121 DEFAULT_DEFAULT_wxUSE_X11=1
4122 DEFAULT_wxUSE_SHARED=no
4123 esac
4124
4125
4126
4127 DEFAULT_wxUSE_ALL_FEATURES=yes
4128
4129 DEFAULT_wxUSE_STD_CONTAINERS=no
4130 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
4131 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
4132
4133 DEFAULT_wxUSE_DMALLOC=no
4134 DEFAULT_wxUSE_LIBGNOMEVFS=no
4135 DEFAULT_wxUSE_LIBHILDON=no
4136 DEFAULT_wxUSE_LIBHILDON2=no
4137 DEFAULT_wxUSE_LIBMSPACK=no
4138 DEFAULT_wxUSE_LIBSDL=no
4139
4140 DEFAULT_wxUSE_ACCESSIBILITY=no
4141 DEFAULT_wxUSE_IPV6=no
4142 DEFAULT_wxUSE_GSTREAMER8=no
4143 DEFAULT_wxUSE_UNICODE_UTF8=no
4144 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
4145
4146 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
4147 DEFAULT_wxUSE_OPENGL=auto
4148 DEFAULT_wxUSE_MEDIACTRL=auto
4149 DEFAULT_wxUSE_COMPILER_TLS=auto
4150 DEFAULT_wxUSE_HOTKEY=auto
4151 DEFAULT_wxUSE_METAFILE=auto
4152
4153 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
4154 DEFAULT_wxUSE_MAC_ARCH=no
4155
4156 DEFAULT_wxUSE_OFFICIAL_BUILD=no
4157
4158 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
4159
4160
4161
4162
4163
4164 enablestring=disable
4165 defaultval=
4166 if test -z "$defaultval"; then
4167 if test x"$enablestring" = xdisable; then
4168 defaultval=yes
4169 else
4170 defaultval=no
4171 fi
4172 fi
4173
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4175 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4176 # Check whether --enable-gui was given.
4177 if test "${enable_gui+set}" = set; then :
4178 enableval=$enable_gui;
4179 if test "$enableval" = yes; then
4180 wx_cv_use_gui='wxUSE_GUI=yes'
4181 else
4182 wx_cv_use_gui='wxUSE_GUI=no'
4183 fi
4184
4185 else
4186
4187 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4188
4189 fi
4190
4191
4192 eval "$wx_cv_use_gui"
4193
4194 if test x"$enablestring" = xdisable; then
4195 if test $wxUSE_GUI = no; then
4196 result=yes
4197 else
4198 result=no
4199 fi
4200 else
4201 result=$wxUSE_GUI
4202 fi
4203
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4205 $as_echo "$result" >&6; }
4206
4207
4208 enablestring=
4209 defaultval=
4210 if test -z "$defaultval"; then
4211 if test x"$enablestring" = xdisable; then
4212 defaultval=yes
4213 else
4214 defaultval=no
4215 fi
4216 fi
4217
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4219 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4220 # Check whether --enable-monolithic was given.
4221 if test "${enable_monolithic+set}" = set; then :
4222 enableval=$enable_monolithic;
4223 if test "$enableval" = yes; then
4224 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
4225 else
4226 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
4227 fi
4228
4229 else
4230
4231 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4232
4233 fi
4234
4235
4236 eval "$wx_cv_use_monolithic"
4237
4238 if test x"$enablestring" = xdisable; then
4239 if test $wxUSE_MONOLITHIC = no; then
4240 result=yes
4241 else
4242 result=no
4243 fi
4244 else
4245 result=$wxUSE_MONOLITHIC
4246 fi
4247
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4249 $as_echo "$result" >&6; }
4250
4251
4252 enablestring=
4253 defaultval=
4254 if test -z "$defaultval"; then
4255 if test x"$enablestring" = xdisable; then
4256 defaultval=yes
4257 else
4258 defaultval=no
4259 fi
4260 fi
4261
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-plugins" >&5
4263 $as_echo_n "checking for --${enablestring:-enable}-plugins... " >&6; }
4264 # Check whether --enable-plugins was given.
4265 if test "${enable_plugins+set}" = set; then :
4266 enableval=$enable_plugins;
4267 if test "$enableval" = yes; then
4268 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4269 else
4270 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4271 fi
4272
4273 else
4274
4275 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4276
4277 fi
4278
4279
4280 eval "$wx_cv_use_plugins"
4281
4282 if test x"$enablestring" = xdisable; then
4283 if test $wxUSE_PLUGINS = no; then
4284 result=yes
4285 else
4286 result=no
4287 fi
4288 else
4289 result=$wxUSE_PLUGINS
4290 fi
4291
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4293 $as_echo "$result" >&6; }
4294
4295
4296 withstring=without
4297 defaultval=$wxUSE_ALL_FEATURES
4298 if test -z "$defaultval"; then
4299 if test x"$withstring" = xwithout; then
4300 defaultval=yes
4301 else
4302 defaultval=no
4303 fi
4304 fi
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4306 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4307
4308 # Check whether --with-subdirs was given.
4309 if test "${with_subdirs+set}" = set; then :
4310 withval=$with_subdirs;
4311 if test "$withval" = yes; then
4312 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
4313 else
4314 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
4315 fi
4316
4317 else
4318
4319 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4320
4321 fi
4322
4323
4324 eval "$wx_cv_use_subdirs"
4325
4326 if test x"$withstring" = xwithout; then
4327 if test $wxWITH_SUBDIRS = yes; then
4328 result=no
4329 else
4330 result=yes
4331 fi
4332 else
4333 result=$wxWITH_SUBDIRS
4334 fi
4335
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4337 $as_echo "$result" >&6; }
4338
4339
4340 # Check whether --with-flavour was given.
4341 if test "${with_flavour+set}" = set; then :
4342 withval=$with_flavour; WX_FLAVOUR="$withval"
4343 fi
4344
4345
4346 enablestring=
4347 defaultval=
4348 if test -z "$defaultval"; then
4349 if test x"$enablestring" = xdisable; then
4350 defaultval=yes
4351 else
4352 defaultval=no
4353 fi
4354 fi
4355
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4357 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4358 # Check whether --enable-official_build was given.
4359 if test "${enable_official_build+set}" = set; then :
4360 enableval=$enable_official_build;
4361 if test "$enableval" = yes; then
4362 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
4363 else
4364 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
4365 fi
4366
4367 else
4368
4369 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4370
4371 fi
4372
4373
4374 eval "$wx_cv_use_official_build"
4375
4376 if test x"$enablestring" = xdisable; then
4377 if test $wxUSE_OFFICIAL_BUILD = no; then
4378 result=yes
4379 else
4380 result=no
4381 fi
4382 else
4383 result=$wxUSE_OFFICIAL_BUILD
4384 fi
4385
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4387 $as_echo "$result" >&6; }
4388
4389 # Check whether --enable-vendor was given.
4390 if test "${enable_vendor+set}" = set; then :
4391 enableval=$enable_vendor; VENDOR="$enableval"
4392 fi
4393
4394 if test "x$VENDOR" = "x"; then
4395 VENDOR="custom"
4396 fi
4397
4398
4399 enablestring=disable
4400 defaultval=
4401 if test -z "$defaultval"; then
4402 if test x"$enablestring" = xdisable; then
4403 defaultval=yes
4404 else
4405 defaultval=no
4406 fi
4407 fi
4408
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-all-features" >&5
4410 $as_echo_n "checking for --${enablestring:-enable}-all-features... " >&6; }
4411 # Check whether --enable-all-features was given.
4412 if test "${enable_all_features+set}" = set; then :
4413 enableval=$enable_all_features;
4414 if test "$enableval" = yes; then
4415 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4416 else
4417 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4418 fi
4419
4420 else
4421
4422 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4423
4424 fi
4425
4426
4427 eval "$wx_cv_use_all_features"
4428
4429 if test x"$enablestring" = xdisable; then
4430 if test $wxUSE_ALL_FEATURES = no; then
4431 result=yes
4432 else
4433 result=no
4434 fi
4435 else
4436 result=$wxUSE_ALL_FEATURES
4437 fi
4438
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4440 $as_echo "$result" >&6; }
4441
4442
4443 if test "$wxUSE_ALL_FEATURES" = "no"; then
4444 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
4445 DEFAULT_wxUSE_MEDIACTRL=no
4446 fi
4447
4448
4449 if test "$wxUSE_GUI" = "yes"; then
4450
4451
4452 enablestring=
4453 defaultval=
4454 if test -z "$defaultval"; then
4455 if test x"$enablestring" = xdisable; then
4456 defaultval=yes
4457 else
4458 defaultval=no
4459 fi
4460 fi
4461
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4463 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4464 # Check whether --enable-universal was given.
4465 if test "${enable_universal+set}" = set; then :
4466 enableval=$enable_universal;
4467 if test "$enableval" = yes; then
4468 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
4469 else
4470 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
4471 fi
4472
4473 else
4474
4475 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4476
4477 fi
4478
4479
4480 eval "$wx_cv_use_universal"
4481
4482 if test x"$enablestring" = xdisable; then
4483 if test $wxUSE_UNIVERSAL = no; then
4484 result=yes
4485 else
4486 result=no
4487 fi
4488 else
4489 result=$wxUSE_UNIVERSAL
4490 fi
4491
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4493 $as_echo "$result" >&6; }
4494
4495 if test "$wxUSE_UNIVERSAL" = "yes"; then
4496
4497 # Check whether --with-themes was given.
4498 if test "${with_themes+set}" = set; then :
4499 withval=$with_themes; wxUNIV_THEMES="$withval"
4500 fi
4501
4502 fi
4503
4504
4505 # Check whether --with-gtk was given.
4506 if test "${with_gtk+set}" = set; then :
4507 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4508 fi
4509
4510
4511 # Check whether --with-motif was given.
4512 if test "${with_motif+set}" = set; then :
4513 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4514 fi
4515
4516
4517 # Check whether --with-osx_carbon was given.
4518 if test "${with_osx_carbon+set}" = set; then :
4519 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4520 fi
4521
4522
4523 # Check whether --with-osx_cocoa was given.
4524 if test "${with_osx_cocoa+set}" = set; then :
4525 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4526 fi
4527
4528
4529 # Check whether --with-osx_iphone was given.
4530 if test "${with_osx_iphone+set}" = set; then :
4531 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4532 fi
4533
4534
4535 # Check whether --with-osx was given.
4536 if test "${with_osx+set}" = set; then :
4537 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4538 fi
4539
4540
4541 # Check whether --with-carbon was given.
4542 if test "${with_carbon+set}" = set; then :
4543 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4544 fi
4545
4546
4547 # Check whether --with-cocoa was given.
4548 if test "${with_cocoa+set}" = set; then :
4549 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4550 fi
4551
4552
4553 # Check whether --with-iphone was given.
4554 if test "${with_iphone+set}" = set; then :
4555 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4556 fi
4557
4558
4559 # Check whether --with-mac was given.
4560 if test "${with_mac+set}" = set; then :
4561 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4562 fi
4563
4564
4565 # Check whether --with-old_cocoa was given.
4566 if test "${with_old_cocoa+set}" = set; then :
4567 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4568 fi
4569
4570
4571 # Check whether --with-wine was given.
4572 if test "${with_wine+set}" = set; then :
4573 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4574 fi
4575
4576
4577 # Check whether --with-msw was given.
4578 if test "${with_msw+set}" = set; then :
4579 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4580 fi
4581
4582
4583 # Check whether --with-pm was given.
4584 if test "${with_pm+set}" = set; then :
4585 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4586 fi
4587
4588
4589 # Check whether --with-directfb was given.
4590 if test "${with_directfb+set}" = set; then :
4591 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4592 fi
4593
4594
4595 # Check whether --with-microwin was given.
4596 if test "${with_microwin+set}" = set; then :
4597 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4598 fi
4599
4600
4601 # Check whether --with-x11 was given.
4602 if test "${with_x11+set}" = set; then :
4603 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4604 fi
4605
4606
4607 enablestring=
4608 defaultval=
4609 if test -z "$defaultval"; then
4610 if test x"$enablestring" = xdisable; then
4611 defaultval=yes
4612 else
4613 defaultval=no
4614 fi
4615 fi
4616
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4618 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4619 # Check whether --enable-nanox was given.
4620 if test "${enable_nanox+set}" = set; then :
4621 enableval=$enable_nanox;
4622 if test "$enableval" = yes; then
4623 wx_cv_use_nanox='wxUSE_NANOX=yes'
4624 else
4625 wx_cv_use_nanox='wxUSE_NANOX=no'
4626 fi
4627
4628 else
4629
4630 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4631
4632 fi
4633
4634
4635 eval "$wx_cv_use_nanox"
4636
4637 if test x"$enablestring" = xdisable; then
4638 if test $wxUSE_NANOX = no; then
4639 result=yes
4640 else
4641 result=no
4642 fi
4643 else
4644 result=$wxUSE_NANOX
4645 fi
4646
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4648 $as_echo "$result" >&6; }
4649
4650
4651 enablestring=
4652 defaultval=
4653 if test -z "$defaultval"; then
4654 if test x"$enablestring" = xdisable; then
4655 defaultval=yes
4656 else
4657 defaultval=no
4658 fi
4659 fi
4660
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gpe" >&5
4662 $as_echo_n "checking for --${enablestring:-enable}-gpe... " >&6; }
4663 # Check whether --enable-gpe was given.
4664 if test "${enable_gpe+set}" = set; then :
4665 enableval=$enable_gpe;
4666 if test "$enableval" = yes; then
4667 wx_cv_use_gpe='wxUSE_GPE=yes'
4668 else
4669 wx_cv_use_gpe='wxUSE_GPE=no'
4670 fi
4671
4672 else
4673
4674 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4675
4676 fi
4677
4678
4679 eval "$wx_cv_use_gpe"
4680
4681 if test x"$enablestring" = xdisable; then
4682 if test $wxUSE_GPE = no; then
4683 result=yes
4684 else
4685 result=no
4686 fi
4687 else
4688 result=$wxUSE_GPE
4689 fi
4690
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4692 $as_echo "$result" >&6; }
4693
4694
4695
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4697 $as_echo_n "checking for toolkit... " >&6; }
4698
4699
4700
4701 # In Wine, we need to default to MSW, not GTK or MOTIF
4702 if test "$wxUSE_WINE" = "yes"; then
4703 DEFAULT_DEFAULT_wxUSE_GTK=0
4704 DEFAULT_DEFAULT_wxUSE_MOTIF=0
4705 DEFAULT_DEFAULT_wxUSE_MSW=1
4706 wxUSE_SHARED=no
4707 CC=${CC:-winegcc}
4708 CXX=${CXX:-wineg++}
4709 fi
4710
4711
4712 if test "$wxUSE_GUI" = "yes"; then
4713
4714 if test "$USE_BEOS" = 1; then
4715 as_fn_error $? "BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4716 fi
4717
4718 if test "$TOOLKIT_GIVEN" = 1; then
4719 for toolkit in $ALL_TOOLKITS; do
4720 var=wxUSE_$toolkit
4721 eval "value=\$${var}"
4722 if test "x$value" = "xno"; then
4723 eval "$var=0"
4724 elif test "x$value" != "x"; then
4725 eval "$var=1"
4726 fi
4727
4728 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4729 eval "wx${toolkit}_VERSION=$value"
4730 fi
4731 done
4732 else
4733 for toolkit in $ALL_TOOLKITS; do
4734 var=DEFAULT_DEFAULT_wxUSE_$toolkit
4735 eval "wxUSE_$toolkit=\$${var}"
4736 done
4737 fi
4738
4739 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4740 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4741 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4742
4743 case "${host}" in
4744 *-pc-os2_emx | *-pc-os2-emx )
4745 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4746 esac
4747
4748 case "$NUM_TOOLKITS" in
4749 1)
4750 ;;
4751 0)
4752 as_fn_error $? "Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4753 ;;
4754 *)
4755 as_fn_error $? "Please specify at most one toolkit" "$LINENO" 5
4756 esac
4757
4758 for toolkit in $ALL_TOOLKITS; do
4759 var=wxUSE_$toolkit
4760 eval "value=\$${var}"
4761 if test "$value" = 1; then
4762 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4764 $as_echo "$toolkit_echo" >&6; }
4765 fi
4766 done
4767 else
4768 if test "x$host_alias" != "x"; then
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4770 $as_echo "base ($host_alias hosted) only" >&6; }
4771 else
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4773 $as_echo "base only" >&6; }
4774 fi
4775 fi
4776
4777 wxUSE_MAC=0
4778 if test "$wxUSE_OSX_CARBON" = 1 \
4779 -o "$wxUSE_OSX_COCOA" = 1 \
4780 -o "$wxUSE_OSX_IPHONE" = 1; then
4781 wxUSE_MAC=1
4782 fi
4783
4784
4785
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4787 $as_echo_n "checking for --with-libpng... " >&6; }
4788
4789 # Check whether --with-libpng was given.
4790 if test "${with_libpng+set}" = set; then :
4791 withval=$with_libpng;
4792 if test "$withval" = yes; then
4793 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
4794 elif test "$withval" = no; then
4795 wx_cv_use_libpng='wxUSE_LIBPNG=no'
4796 elif test "$withval" = sys; then
4797 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
4798 elif test "$withval" = builtin; then
4799 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
4800 else
4801 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4802 fi
4803
4804 else
4805
4806 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4807
4808 fi
4809
4810
4811 eval "$wx_cv_use_libpng"
4812
4813 if test "$wxUSE_LIBPNG" = yes; then
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4815 $as_echo "yes" >&6; }
4816 elif test "$wxUSE_LIBPNG" = no; then
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4818 $as_echo "no" >&6; }
4819 elif test "$wxUSE_LIBPNG" = sys; then
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4821 $as_echo "system version" >&6; }
4822 elif test "$wxUSE_LIBPNG" = builtin; then
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4824 $as_echo "builtin version" >&6; }
4825 else
4826 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4827 fi
4828
4829
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4831 $as_echo_n "checking for --with-libjpeg... " >&6; }
4832
4833 # Check whether --with-libjpeg was given.
4834 if test "${with_libjpeg+set}" = set; then :
4835 withval=$with_libjpeg;
4836 if test "$withval" = yes; then
4837 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
4838 elif test "$withval" = no; then
4839 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
4840 elif test "$withval" = sys; then
4841 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
4842 elif test "$withval" = builtin; then
4843 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
4844 else
4845 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4846 fi
4847
4848 else
4849
4850 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4851
4852 fi
4853
4854
4855 eval "$wx_cv_use_libjpeg"
4856
4857 if test "$wxUSE_LIBJPEG" = yes; then
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4859 $as_echo "yes" >&6; }
4860 elif test "$wxUSE_LIBJPEG" = no; then
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4862 $as_echo "no" >&6; }
4863 elif test "$wxUSE_LIBJPEG" = sys; then
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4865 $as_echo "system version" >&6; }
4866 elif test "$wxUSE_LIBJPEG" = builtin; then
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4868 $as_echo "builtin version" >&6; }
4869 else
4870 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4871 fi
4872
4873
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libtiff" >&5
4875 $as_echo_n "checking for --with-libtiff... " >&6; }
4876
4877 # Check whether --with-libtiff was given.
4878 if test "${with_libtiff+set}" = set; then :
4879 withval=$with_libtiff;
4880 if test "$withval" = yes; then
4881 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4882 elif test "$withval" = no; then
4883 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4884 elif test "$withval" = sys; then
4885 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4886 elif test "$withval" = builtin; then
4887 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4888 else
4889 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4890 fi
4891
4892 else
4893
4894 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4895
4896 fi
4897
4898
4899 eval "$wx_cv_use_libtiff"
4900
4901 if test "$wxUSE_LIBTIFF" = yes; then
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4903 $as_echo "yes" >&6; }
4904 elif test "$wxUSE_LIBTIFF" = no; then
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4906 $as_echo "no" >&6; }
4907 elif test "$wxUSE_LIBTIFF" = sys; then
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4909 $as_echo "system version" >&6; }
4910 elif test "$wxUSE_LIBTIFF" = builtin; then
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4912 $as_echo "builtin version" >&6; }
4913 else
4914 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4915 fi
4916
4917
4918 withstring=without
4919 defaultval=$wxUSE_ALL_FEATURES
4920 if test -z "$defaultval"; then
4921 if test x"$withstring" = xwithout; then
4922 defaultval=yes
4923 else
4924 defaultval=no
4925 fi
4926 fi
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libjbig" >&5
4928 $as_echo_n "checking for --${withstring:-with}-libjbig... " >&6; }
4929
4930 # Check whether --with-libjbig was given.
4931 if test "${with_libjbig+set}" = set; then :
4932 withval=$with_libjbig;
4933 if test "$withval" = yes; then
4934 wx_cv_use_libjbig='wxUSE_LIBJBIG=yes'
4935 else
4936 wx_cv_use_libjbig='wxUSE_LIBJBIG=no'
4937 fi
4938
4939 else
4940
4941 wx_cv_use_libjbig='wxUSE_LIBJBIG=${'DEFAULT_wxUSE_LIBJBIG":-$defaultval}"
4942
4943 fi
4944
4945
4946 eval "$wx_cv_use_libjbig"
4947
4948 if test x"$withstring" = xwithout; then
4949 if test $wxUSE_LIBJBIG = yes; then
4950 result=no
4951 else
4952 result=yes
4953 fi
4954 else
4955 result=$wxUSE_LIBJBIG
4956 fi
4957
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4959 $as_echo "$result" >&6; }
4960
4961
4962 withstring=without
4963 defaultval=$wxUSE_ALL_FEATURES
4964 if test -z "$defaultval"; then
4965 if test x"$withstring" = xwithout; then
4966 defaultval=yes
4967 else
4968 defaultval=no
4969 fi
4970 fi
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-liblzma" >&5
4972 $as_echo_n "checking for --${withstring:-with}-liblzma... " >&6; }
4973
4974 # Check whether --with-liblzma was given.
4975 if test "${with_liblzma+set}" = set; then :
4976 withval=$with_liblzma;
4977 if test "$withval" = yes; then
4978 wx_cv_use_liblzma='wxUSE_LIBLZMA=yes'
4979 else
4980 wx_cv_use_liblzma='wxUSE_LIBLZMA=no'
4981 fi
4982
4983 else
4984
4985 wx_cv_use_liblzma='wxUSE_LIBLZMA=${'DEFAULT_wxUSE_LIBLZMA":-$defaultval}"
4986
4987 fi
4988
4989
4990 eval "$wx_cv_use_liblzma"
4991
4992 if test x"$withstring" = xwithout; then
4993 if test $wxUSE_LIBLZMA = yes; then
4994 result=no
4995 else
4996 result=yes
4997 fi
4998 else
4999 result=$wxUSE_LIBLZMA
5000 fi
5001
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5003 $as_echo "$result" >&6; }
5004
5005
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
5007 $as_echo_n "checking for --with-libxpm... " >&6; }
5008
5009 # Check whether --with-libxpm was given.
5010 if test "${with_libxpm+set}" = set; then :
5011 withval=$with_libxpm;
5012 if test "$withval" = yes; then
5013 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
5014 elif test "$withval" = no; then
5015 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
5016 elif test "$withval" = sys; then
5017 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
5018 elif test "$withval" = builtin; then
5019 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
5020 else
5021 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
5022 fi
5023
5024 else
5025
5026 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
5027
5028 fi
5029
5030
5031 eval "$wx_cv_use_libxpm"
5032
5033 if test "$wxUSE_LIBXPM" = yes; then
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5035 $as_echo "yes" >&6; }
5036 elif test "$wxUSE_LIBXPM" = no; then
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5038 $as_echo "no" >&6; }
5039 elif test "$wxUSE_LIBXPM" = sys; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5041 $as_echo "system version" >&6; }
5042 elif test "$wxUSE_LIBXPM" = builtin; then
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5044 $as_echo "builtin version" >&6; }
5045 else
5046 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
5047 fi
5048
5049
5050 withstring=
5051 defaultval=$wxUSE_ALL_FEATURES
5052 if test -z "$defaultval"; then
5053 if test x"$withstring" = xwithout; then
5054 defaultval=yes
5055 else
5056 defaultval=no
5057 fi
5058 fi
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
5060 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
5061
5062 # Check whether --with-libiconv was given.
5063 if test "${with_libiconv+set}" = set; then :
5064 withval=$with_libiconv;
5065 if test "$withval" = yes; then
5066 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
5067 else
5068 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
5069 fi
5070
5071 else
5072
5073 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
5074
5075 fi
5076
5077
5078 eval "$wx_cv_use_libiconv"
5079
5080 if test x"$withstring" = xwithout; then
5081 if test $wxUSE_LIBICONV = yes; then
5082 result=no
5083 else
5084 result=yes
5085 fi
5086 else
5087 result=$wxUSE_LIBICONV
5088 fi
5089
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5091 $as_echo "$result" >&6; }
5092
5093
5094 withstring=
5095 defaultval=$wxUSE_ALL_FEATURES
5096 if test -z "$defaultval"; then
5097 if test x"$withstring" = xwithout; then
5098 defaultval=yes
5099 else
5100 defaultval=no
5101 fi
5102 fi
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
5104 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
5105
5106 # Check whether --with-libmspack was given.
5107 if test "${with_libmspack+set}" = set; then :
5108 withval=$with_libmspack;
5109 if test "$withval" = yes; then
5110 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5111 else
5112 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5113 fi
5114
5115 else
5116
5117 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5118
5119 fi
5120
5121
5122 eval "$wx_cv_use_libmspack"
5123
5124 if test x"$withstring" = xwithout; then
5125 if test $wxUSE_LIBMSPACK = yes; then
5126 result=no
5127 else
5128 result=yes
5129 fi
5130 else
5131 result=$wxUSE_LIBMSPACK
5132 fi
5133
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5135 $as_echo "$result" >&6; }
5136
5137
5138 withstring=without
5139 defaultval=$wxUSE_ALL_FEATURES
5140 if test -z "$defaultval"; then
5141 if test x"$withstring" = xwithout; then
5142 defaultval=yes
5143 else
5144 defaultval=no
5145 fi
5146 fi
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5148 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5149
5150 # Check whether --with-gtkprint was given.
5151 if test "${with_gtkprint+set}" = set; then :
5152 withval=$with_gtkprint;
5153 if test "$withval" = yes; then
5154 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5155 else
5156 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5157 fi
5158
5159 else
5160
5161 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5162
5163 fi
5164
5165
5166 eval "$wx_cv_use_gtkprint"
5167
5168 if test x"$withstring" = xwithout; then
5169 if test $wxUSE_GTKPRINT = yes; then
5170 result=no
5171 else
5172 result=yes
5173 fi
5174 else
5175 result=$wxUSE_GTKPRINT
5176 fi
5177
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5179 $as_echo "$result" >&6; }
5180
5181
5182 withstring=without
5183 defaultval=$wxUSE_ALL_FEATURES
5184 if test -z "$defaultval"; then
5185 if test x"$withstring" = xwithout; then
5186 defaultval=yes
5187 else
5188 defaultval=no
5189 fi
5190 fi
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5192 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5193
5194 # Check whether --with-gnomeprint was given.
5195 if test "${with_gnomeprint+set}" = set; then :
5196 withval=$with_gnomeprint;
5197 if test "$withval" = yes; then
5198 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
5199 else
5200 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
5201 fi
5202
5203 else
5204
5205 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5206
5207 fi
5208
5209
5210 eval "$wx_cv_use_gnomeprint"
5211
5212 if test x"$withstring" = xwithout; then
5213 if test $wxUSE_LIBGNOMEPRINT = yes; then
5214 result=no
5215 else
5216 result=yes
5217 fi
5218 else
5219 result=$wxUSE_LIBGNOMEPRINT
5220 fi
5221
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5223 $as_echo "$result" >&6; }
5224
5225
5226 withstring=
5227 defaultval=$wxUSE_ALL_FEATURES
5228 if test -z "$defaultval"; then
5229 if test x"$withstring" = xwithout; then
5230 defaultval=yes
5231 else
5232 defaultval=no
5233 fi
5234 fi
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5236 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5237
5238 # Check whether --with-gnomevfs was given.
5239 if test "${with_gnomevfs+set}" = set; then :
5240 withval=$with_gnomevfs;
5241 if test "$withval" = yes; then
5242 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5243 else
5244 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5245 fi
5246
5247 else
5248
5249 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5250
5251 fi
5252
5253
5254 eval "$wx_cv_use_gnomevfs"
5255
5256 if test x"$withstring" = xwithout; then
5257 if test $wxUSE_LIBGNOMEVFS = yes; then
5258 result=no
5259 else
5260 result=yes
5261 fi
5262 else
5263 result=$wxUSE_LIBGNOMEVFS
5264 fi
5265
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5267 $as_echo "$result" >&6; }
5268
5269
5270 withstring=
5271 defaultval=$wxUSE_ALL_FEATURES
5272 if test -z "$defaultval"; then
5273 if test x"$withstring" = xwithout; then
5274 defaultval=yes
5275 else
5276 defaultval=no
5277 fi
5278 fi
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libnotify" >&5
5280 $as_echo_n "checking for --${withstring:-with}-libnotify... " >&6; }
5281
5282 # Check whether --with-libnotify was given.
5283 if test "${with_libnotify+set}" = set; then :
5284 withval=$with_libnotify;
5285 if test "$withval" = yes; then
5286 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=yes'
5287 else
5288 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=no'
5289 fi
5290
5291 else
5292
5293 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}"
5294
5295 fi
5296
5297
5298 eval "$wx_cv_use_libnotify"
5299
5300 if test x"$withstring" = xwithout; then
5301 if test $wxUSE_LIBNOTIFY = yes; then
5302 result=no
5303 else
5304 result=yes
5305 fi
5306 else
5307 result=$wxUSE_LIBNOTIFY
5308 fi
5309
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5311 $as_echo "$result" >&6; }
5312
5313
5314 withstring=
5315 defaultval=$wxUSE_ALL_FEATURES
5316 if test -z "$defaultval"; then
5317 if test x"$withstring" = xwithout; then
5318 defaultval=yes
5319 else
5320 defaultval=no
5321 fi
5322 fi
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5324 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5325
5326 # Check whether --with-hildon was given.
5327 if test "${with_hildon+set}" = set; then :
5328 withval=$with_hildon;
5329 if test "$withval" = yes; then
5330 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
5331 else
5332 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
5333 fi
5334
5335 else
5336
5337 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5338
5339 fi
5340
5341
5342 eval "$wx_cv_use_hildon"
5343
5344 if test x"$withstring" = xwithout; then
5345 if test $wxUSE_LIBHILDON = yes; then
5346 result=no
5347 else
5348 result=yes
5349 fi
5350 else
5351 result=$wxUSE_LIBHILDON
5352 fi
5353
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5355 $as_echo "$result" >&6; }
5356
5357
5358 withstring=
5359 defaultval=$wxUSE_ALL_FEATURES
5360 if test -z "$defaultval"; then
5361 if test x"$withstring" = xwithout; then
5362 defaultval=yes
5363 else
5364 defaultval=no
5365 fi
5366 fi
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5368 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5369
5370 # Check whether --with-opengl was given.
5371 if test "${with_opengl+set}" = set; then :
5372 withval=$with_opengl;
5373 if test "$withval" = yes; then
5374 wx_cv_use_opengl='wxUSE_OPENGL=yes'
5375 else
5376 wx_cv_use_opengl='wxUSE_OPENGL=no'
5377 fi
5378
5379 else
5380
5381 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5382
5383 fi
5384
5385
5386 eval "$wx_cv_use_opengl"
5387
5388 if test x"$withstring" = xwithout; then
5389 if test $wxUSE_OPENGL = yes; then
5390 result=no
5391 else
5392 result=yes
5393 fi
5394 else
5395 result=$wxUSE_OPENGL
5396 fi
5397
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5399 $as_echo "$result" >&6; }
5400
5401
5402 fi
5403
5404
5405 withstring=
5406 defaultval=$wxUSE_ALL_FEATURES
5407 if test -z "$defaultval"; then
5408 if test x"$withstring" = xwithout; then
5409 defaultval=yes
5410 else
5411 defaultval=no
5412 fi
5413 fi
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5415 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5416
5417 # Check whether --with-dmalloc was given.
5418 if test "${with_dmalloc+set}" = set; then :
5419 withval=$with_dmalloc;
5420 if test "$withval" = yes; then
5421 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5422 else
5423 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5424 fi
5425
5426 else
5427
5428 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5429
5430 fi
5431
5432
5433 eval "$wx_cv_use_dmalloc"
5434
5435 if test x"$withstring" = xwithout; then
5436 if test $wxUSE_DMALLOC = yes; then
5437 result=no
5438 else
5439 result=yes
5440 fi
5441 else
5442 result=$wxUSE_DMALLOC
5443 fi
5444
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5446 $as_echo "$result" >&6; }
5447
5448
5449 withstring=
5450 defaultval=$wxUSE_ALL_FEATURES
5451 if test -z "$defaultval"; then
5452 if test x"$withstring" = xwithout; then
5453 defaultval=yes
5454 else
5455 defaultval=no
5456 fi
5457 fi
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5459 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5460
5461 # Check whether --with-sdl was given.
5462 if test "${with_sdl+set}" = set; then :
5463 withval=$with_sdl;
5464 if test "$withval" = yes; then
5465 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
5466 else
5467 wx_cv_use_sdl='wxUSE_LIBSDL=no'
5468 fi
5469
5470 else
5471
5472 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5473
5474 fi
5475
5476
5477 eval "$wx_cv_use_sdl"
5478
5479 if test x"$withstring" = xwithout; then
5480 if test $wxUSE_LIBSDL = yes; then
5481 result=no
5482 else
5483 result=yes
5484 fi
5485 else
5486 result=$wxUSE_LIBSDL
5487 fi
5488
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5490 $as_echo "$result" >&6; }
5491
5492
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5494 $as_echo_n "checking for --with-regex... " >&6; }
5495
5496 # Check whether --with-regex was given.
5497 if test "${with_regex+set}" = set; then :
5498 withval=$with_regex;
5499 if test "$withval" = yes; then
5500 wx_cv_use_regex='wxUSE_REGEX=yes'
5501 elif test "$withval" = no; then
5502 wx_cv_use_regex='wxUSE_REGEX=no'
5503 elif test "$withval" = sys; then
5504 wx_cv_use_regex='wxUSE_REGEX=sys'
5505 elif test "$withval" = builtin; then
5506 wx_cv_use_regex='wxUSE_REGEX=builtin'
5507 else
5508 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5509 fi
5510
5511 else
5512
5513 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5514
5515 fi
5516
5517
5518 eval "$wx_cv_use_regex"
5519
5520 if test "$wxUSE_REGEX" = yes; then
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5522 $as_echo "yes" >&6; }
5523 elif test "$wxUSE_REGEX" = no; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5525 $as_echo "no" >&6; }
5526 elif test "$wxUSE_REGEX" = sys; then
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5528 $as_echo "system version" >&6; }
5529 elif test "$wxUSE_REGEX" = builtin; then
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5531 $as_echo "builtin version" >&6; }
5532 else
5533 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5534 fi
5535
5536
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5538 $as_echo_n "checking for --with-zlib... " >&6; }
5539
5540 # Check whether --with-zlib was given.
5541 if test "${with_zlib+set}" = set; then :
5542 withval=$with_zlib;
5543 if test "$withval" = yes; then
5544 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5545 elif test "$withval" = no; then
5546 wx_cv_use_zlib='wxUSE_ZLIB=no'
5547 elif test "$withval" = sys; then
5548 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5549 elif test "$withval" = builtin; then
5550 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5551 else
5552 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5553 fi
5554
5555 else
5556
5557 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5558
5559 fi
5560
5561
5562 eval "$wx_cv_use_zlib"
5563
5564 if test "$wxUSE_ZLIB" = yes; then
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5566 $as_echo "yes" >&6; }
5567 elif test "$wxUSE_ZLIB" = no; then
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5569 $as_echo "no" >&6; }
5570 elif test "$wxUSE_ZLIB" = sys; then
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5572 $as_echo "system version" >&6; }
5573 elif test "$wxUSE_ZLIB" = builtin; then
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5575 $as_echo "builtin version" >&6; }
5576 else
5577 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5578 fi
5579
5580
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5582 $as_echo_n "checking for --with-expat... " >&6; }
5583
5584 # Check whether --with-expat was given.
5585 if test "${with_expat+set}" = set; then :
5586 withval=$with_expat;
5587 if test "$withval" = yes; then
5588 wx_cv_use_expat='wxUSE_EXPAT=yes'
5589 elif test "$withval" = no; then
5590 wx_cv_use_expat='wxUSE_EXPAT=no'
5591 elif test "$withval" = sys; then
5592 wx_cv_use_expat='wxUSE_EXPAT=sys'
5593 elif test "$withval" = builtin; then
5594 wx_cv_use_expat='wxUSE_EXPAT=builtin'
5595 else
5596 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5597 fi
5598
5599 else
5600
5601 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5602
5603 fi
5604
5605
5606 eval "$wx_cv_use_expat"
5607
5608 if test "$wxUSE_EXPAT" = yes; then
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5610 $as_echo "yes" >&6; }
5611 elif test "$wxUSE_EXPAT" = no; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5613 $as_echo "no" >&6; }
5614 elif test "$wxUSE_EXPAT" = sys; then
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5616 $as_echo "system version" >&6; }
5617 elif test "$wxUSE_EXPAT" = builtin; then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5619 $as_echo "builtin version" >&6; }
5620 else
5621 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5622 fi
5623
5624
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5626 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5627
5628 # Check whether --with-macosx-sdk was given.
5629 if test "${with_macosx_sdk+set}" = set; then :
5630 withval=$with_macosx_sdk;
5631 wxUSE_MACOSX_SDK=$withval
5632 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5633
5634 fi
5635
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5637 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5638
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5640 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5641
5642 # Check whether --with-macosx-version-min was given.
5643 if test "${with_macosx_version_min+set}" = set; then :
5644 withval=$with_macosx_version_min;
5645 wxUSE_MACOSX_VERSION_MIN=$withval
5646 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5647
5648 fi
5649
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5651 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5652
5653
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5655 $as_echo_n "checking for --enable-debug... " >&6; }
5656 # Check whether --enable-debug was given.
5657 if test "${enable_debug+set}" = set; then :
5658 enableval=$enable_debug;
5659 if test "$enableval" = yes; then
5660 wxUSE_DEBUG=yes
5661 elif test "$enableval" = no; then
5662 wxUSE_DEBUG=no
5663 elif test "$enableval" = max; then
5664 wxUSE_DEBUG=yes
5665 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5666 else
5667 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5668 fi
5669
5670 else
5671 wxUSE_DEBUG=default
5672
5673 fi
5674
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5676 $as_echo "${enable_debug-default}" >&6; }
5677
5678 case "$wxUSE_DEBUG" in
5679 yes)
5680 DEFAULT_wxUSE_DEBUG_FLAG=yes
5681 DEFAULT_wxUSE_DEBUG_INFO=yes
5682
5683 DEFAULT_wxUSE_OPTIMISE=no
5684 ;;
5685
5686 no)
5687 DEFAULT_wxUSE_DEBUG_FLAG=no
5688 DEFAULT_wxUSE_DEBUG_INFO=no
5689 ;;
5690
5691 default)
5692 DEFAULT_wxUSE_DEBUG_FLAG=yes
5693 DEFAULT_wxUSE_DEBUG_INFO=no
5694 ;;
5695 esac
5696
5697
5698 enablestring=disable
5699 defaultval=
5700 if test -z "$defaultval"; then
5701 if test x"$enablestring" = xdisable; then
5702 defaultval=yes
5703 else
5704 defaultval=no
5705 fi
5706 fi
5707
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5709 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5710 # Check whether --enable-debug_flag was given.
5711 if test "${enable_debug_flag+set}" = set; then :
5712 enableval=$enable_debug_flag;
5713 if test "$enableval" = yes; then
5714 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5715 else
5716 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5717 fi
5718
5719 else
5720
5721 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5722
5723 fi
5724
5725
5726 eval "$wx_cv_use_debug_flag"
5727
5728 if test x"$enablestring" = xdisable; then
5729 if test $wxUSE_DEBUG_FLAG = no; then
5730 result=yes
5731 else
5732 result=no
5733 fi
5734 else
5735 result=$wxUSE_DEBUG_FLAG
5736 fi
5737
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5739 $as_echo "$result" >&6; }
5740
5741
5742 enablestring=
5743 defaultval=
5744 if test -z "$defaultval"; then
5745 if test x"$enablestring" = xdisable; then
5746 defaultval=yes
5747 else
5748 defaultval=no
5749 fi
5750 fi
5751
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5753 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5754 # Check whether --enable-debug_info was given.
5755 if test "${enable_debug_info+set}" = set; then :
5756 enableval=$enable_debug_info;
5757 if test "$enableval" = yes; then
5758 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5759 else
5760 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5761 fi
5762
5763 else
5764
5765 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5766
5767 fi
5768
5769
5770 eval "$wx_cv_use_debug_info"
5771
5772 if test x"$enablestring" = xdisable; then
5773 if test $wxUSE_DEBUG_INFO = no; then
5774 result=yes
5775 else
5776 result=no
5777 fi
5778 else
5779 result=$wxUSE_DEBUG_INFO
5780 fi
5781
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5783 $as_echo "$result" >&6; }
5784
5785
5786
5787
5788 enablestring=
5789 defaultval=
5790 if test -z "$defaultval"; then
5791 if test x"$enablestring" = xdisable; then
5792 defaultval=yes
5793 else
5794 defaultval=no
5795 fi
5796 fi
5797
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5799 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5800 # Check whether --enable-debug_gdb was given.
5801 if test "${enable_debug_gdb+set}" = set; then :
5802 enableval=$enable_debug_gdb;
5803 if test "$enableval" = yes; then
5804 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5805 else
5806 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5807 fi
5808
5809 else
5810
5811 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5812
5813 fi
5814
5815
5816 eval "$wx_cv_use_debug_gdb"
5817
5818 if test x"$enablestring" = xdisable; then
5819 if test $wxUSE_DEBUG_GDB = no; then
5820 result=yes
5821 else
5822 result=no
5823 fi
5824 else
5825 result=$wxUSE_DEBUG_GDB
5826 fi
5827
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5829 $as_echo "$result" >&6; }
5830
5831
5832 enablestring=
5833 defaultval=
5834 if test -z "$defaultval"; then
5835 if test x"$enablestring" = xdisable; then
5836 defaultval=yes
5837 else
5838 defaultval=no
5839 fi
5840 fi
5841
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5843 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5844 # Check whether --enable-debug_cntxt was given.
5845 if test "${enable_debug_cntxt+set}" = set; then :
5846 enableval=$enable_debug_cntxt;
5847 if test "$enableval" = yes; then
5848 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5849 else
5850 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5851 fi
5852
5853 else
5854
5855 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5856
5857 fi
5858
5859
5860 eval "$wx_cv_use_debug_cntxt"
5861
5862 if test x"$enablestring" = xdisable; then
5863 if test $wxUSE_DEBUG_CONTEXT = no; then
5864 result=yes
5865 else
5866 result=no
5867 fi
5868 else
5869 result=$wxUSE_DEBUG_CONTEXT
5870 fi
5871
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5873 $as_echo "$result" >&6; }
5874
5875
5876 enablestring=
5877 defaultval=
5878 if test -z "$defaultval"; then
5879 if test x"$enablestring" = xdisable; then
5880 defaultval=yes
5881 else
5882 defaultval=no
5883 fi
5884 fi
5885
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5887 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5888 # Check whether --enable-mem_tracing was given.
5889 if test "${enable_mem_tracing+set}" = set; then :
5890 enableval=$enable_mem_tracing;
5891 if test "$enableval" = yes; then
5892 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5893 else
5894 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5895 fi
5896
5897 else
5898
5899 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5900
5901 fi
5902
5903
5904 eval "$wx_cv_use_mem_tracing"
5905
5906 if test x"$enablestring" = xdisable; then
5907 if test $wxUSE_MEM_TRACING = no; then
5908 result=yes
5909 else
5910 result=no
5911 fi
5912 else
5913 result=$wxUSE_MEM_TRACING
5914 fi
5915
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5917 $as_echo "$result" >&6; }
5918
5919
5920
5921
5922 enablestring=disable
5923 defaultval=
5924 if test -z "$defaultval"; then
5925 if test x"$enablestring" = xdisable; then
5926 defaultval=yes
5927 else
5928 defaultval=no
5929 fi
5930 fi
5931
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5933 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5934 # Check whether --enable-shared was given.
5935 if test "${enable_shared+set}" = set; then :
5936 enableval=$enable_shared;
5937 if test "$enableval" = yes; then
5938 wx_cv_use_shared='wxUSE_SHARED=yes'
5939 else
5940 wx_cv_use_shared='wxUSE_SHARED=no'
5941 fi
5942
5943 else
5944
5945 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5946
5947 fi
5948
5949
5950 eval "$wx_cv_use_shared"
5951
5952 if test x"$enablestring" = xdisable; then
5953 if test $wxUSE_SHARED = no; then
5954 result=yes
5955 else
5956 result=no
5957 fi
5958 else
5959 result=$wxUSE_SHARED
5960 fi
5961
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5963 $as_echo "$result" >&6; }
5964
5965
5966 enablestring=
5967 defaultval=
5968 if test -z "$defaultval"; then
5969 if test x"$enablestring" = xdisable; then
5970 defaultval=yes
5971 else
5972 defaultval=no
5973 fi
5974 fi
5975
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5977 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5978 # Check whether --enable-stl was given.
5979 if test "${enable_stl+set}" = set; then :
5980 enableval=$enable_stl;
5981 if test "$enableval" = yes; then
5982 wx_cv_use_stl='wxUSE_STL=yes'
5983 else
5984 wx_cv_use_stl='wxUSE_STL=no'
5985 fi
5986
5987 else
5988
5989 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5990
5991 fi
5992
5993
5994 eval "$wx_cv_use_stl"
5995
5996 if test x"$enablestring" = xdisable; then
5997 if test $wxUSE_STL = no; then
5998 result=yes
5999 else
6000 result=no
6001 fi
6002 else
6003 result=$wxUSE_STL
6004 fi
6005
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6007 $as_echo "$result" >&6; }
6008
6009 if test "$wxUSE_STL" = "yes"; then
6010 DEFAULT_wxUSE_STD_CONTAINERS=yes
6011 DEFAULT_wxUSE_STD_IOSTREAM=yes
6012 DEFAULT_wxUSE_STD_STRING=yes
6013 fi
6014
6015 enablestring=
6016 defaultval=
6017 if test -z "$defaultval"; then
6018 if test x"$enablestring" = xdisable; then
6019 defaultval=yes
6020 else
6021 defaultval=no
6022 fi
6023 fi
6024
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
6026 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
6027 # Check whether --enable-std_containers was given.
6028 if test "${enable_std_containers+set}" = set; then :
6029 enableval=$enable_std_containers;
6030 if test "$enableval" = yes; then
6031 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
6032 else
6033 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
6034 fi
6035
6036 else
6037
6038 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
6039
6040 fi
6041
6042
6043 eval "$wx_cv_use_std_containers"
6044
6045 if test x"$enablestring" = xdisable; then
6046 if test $wxUSE_STD_CONTAINERS = no; then
6047 result=yes
6048 else
6049 result=no
6050 fi
6051 else
6052 result=$wxUSE_STD_CONTAINERS
6053 fi
6054
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6056 $as_echo "$result" >&6; }
6057
6058
6059 enablestring=
6060 defaultval=
6061 if test -z "$defaultval"; then
6062 if test x"$enablestring" = xdisable; then
6063 defaultval=yes
6064 else
6065 defaultval=no
6066 fi
6067 fi
6068
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
6070 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
6071 # Check whether --enable-std_iostreams was given.
6072 if test "${enable_std_iostreams+set}" = set; then :
6073 enableval=$enable_std_iostreams;
6074 if test "$enableval" = yes; then
6075 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6076 else
6077 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6078 fi
6079
6080 else
6081
6082 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
6083
6084 fi
6085
6086
6087 eval "$wx_cv_use_std_iostreams"
6088
6089 if test x"$enablestring" = xdisable; then
6090 if test $wxUSE_STD_IOSTREAM = no; then
6091 result=yes
6092 else
6093 result=no
6094 fi
6095 else
6096 result=$wxUSE_STD_IOSTREAM
6097 fi
6098
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6100 $as_echo "$result" >&6; }
6101
6102
6103 enablestring=
6104 defaultval=
6105 if test -z "$defaultval"; then
6106 if test x"$enablestring" = xdisable; then
6107 defaultval=yes
6108 else
6109 defaultval=no
6110 fi
6111 fi
6112
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
6114 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
6115 # Check whether --enable-std_string was given.
6116 if test "${enable_std_string+set}" = set; then :
6117 enableval=$enable_std_string;
6118 if test "$enableval" = yes; then
6119 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
6120 else
6121 wx_cv_use_std_string='wxUSE_STD_STRING=no'
6122 fi
6123
6124 else
6125
6126 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6127
6128 fi
6129
6130
6131 eval "$wx_cv_use_std_string"
6132
6133 if test x"$enablestring" = xdisable; then
6134 if test $wxUSE_STD_STRING = no; then
6135 result=yes
6136 else
6137 result=no
6138 fi
6139 else
6140 result=$wxUSE_STD_STRING
6141 fi
6142
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6144 $as_echo "$result" >&6; }
6145
6146
6147 enablestring=
6148 defaultval=
6149 if test -z "$defaultval"; then
6150 if test x"$enablestring" = xdisable; then
6151 defaultval=yes
6152 else
6153 defaultval=no
6154 fi
6155 fi
6156
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6158 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
6159 # Check whether --enable-std_string_conv_in_wxstring was given.
6160 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6161 enableval=$enable_std_string_conv_in_wxstring;
6162 if test "$enableval" = yes; then
6163 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6164 else
6165 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6166 fi
6167
6168 else
6169
6170 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6171
6172 fi
6173
6174
6175 eval "$wx_cv_use_std_string_conv_in_wxstring"
6176
6177 if test x"$enablestring" = xdisable; then
6178 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6179 result=yes
6180 else
6181 result=no
6182 fi
6183 else
6184 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6185 fi
6186
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6188 $as_echo "$result" >&6; }
6189
6190
6191 enablestring=disable
6192 defaultval=
6193 if test -z "$defaultval"; then
6194 if test x"$enablestring" = xdisable; then
6195 defaultval=yes
6196 else
6197 defaultval=no
6198 fi
6199 fi
6200
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6202 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6203 # Check whether --enable-unicode was given.
6204 if test "${enable_unicode+set}" = set; then :
6205 enableval=$enable_unicode;
6206 if test "$enableval" = yes; then
6207 wx_cv_use_unicode='wxUSE_UNICODE=yes'
6208 else
6209 wx_cv_use_unicode='wxUSE_UNICODE=no'
6210 fi
6211
6212 else
6213
6214 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6215
6216 fi
6217
6218
6219 eval "$wx_cv_use_unicode"
6220
6221 if test x"$enablestring" = xdisable; then
6222 if test $wxUSE_UNICODE = no; then
6223 result=yes
6224 else
6225 result=no
6226 fi
6227 else
6228 result=$wxUSE_UNICODE
6229 fi
6230
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6232 $as_echo "$result" >&6; }
6233
6234
6235 enablestring=
6236 defaultval=
6237 if test -z "$defaultval"; then
6238 if test x"$enablestring" = xdisable; then
6239 defaultval=yes
6240 else
6241 defaultval=no
6242 fi
6243 fi
6244
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6246 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6247 # Check whether --enable-mslu was given.
6248 if test "${enable_mslu+set}" = set; then :
6249 enableval=$enable_mslu;
6250 if test "$enableval" = yes; then
6251 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6252 else
6253 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6254 fi
6255
6256 else
6257
6258 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6259
6260 fi
6261
6262
6263 eval "$wx_cv_use_mslu"
6264
6265 if test x"$enablestring" = xdisable; then
6266 if test $wxUSE_UNICODE_MSLU = no; then
6267 result=yes
6268 else
6269 result=no
6270 fi
6271 else
6272 result=$wxUSE_UNICODE_MSLU
6273 fi
6274
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6276 $as_echo "$result" >&6; }
6277
6278
6279 enablestring=
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6281 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6282 # Check whether --enable-utf8 was given.
6283 if test "${enable_utf8+set}" = set; then :
6284 enableval=$enable_utf8;
6285 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6286
6287 else
6288
6289 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6290
6291 fi
6292
6293
6294 eval "$wx_cv_use_utf8"
6295
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6297 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6298
6299
6300 enablestring=
6301 defaultval=
6302 if test -z "$defaultval"; then
6303 if test x"$enablestring" = xdisable; then
6304 defaultval=yes
6305 else
6306 defaultval=no
6307 fi
6308 fi
6309
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6311 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6312 # Check whether --enable-utf8only was given.
6313 if test "${enable_utf8only+set}" = set; then :
6314 enableval=$enable_utf8only;
6315 if test "$enableval" = yes; then
6316 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6317 else
6318 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6319 fi
6320
6321 else
6322
6323 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6324
6325 fi
6326
6327
6328 eval "$wx_cv_use_utf8only"
6329
6330 if test x"$enablestring" = xdisable; then
6331 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6332 result=yes
6333 else
6334 result=no
6335 fi
6336 else
6337 result=$wxUSE_UNICODE_UTF8_LOCALE
6338 fi
6339
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6341 $as_echo "$result" >&6; }
6342
6343
6344 enablestring=
6345 defaultval=
6346 if test -z "$defaultval"; then
6347 if test x"$enablestring" = xdisable; then
6348 defaultval=yes
6349 else
6350 defaultval=no
6351 fi
6352 fi
6353
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6355 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6356 # Check whether --enable-extended_rtti was given.
6357 if test "${enable_extended_rtti+set}" = set; then :
6358 enableval=$enable_extended_rtti;
6359 if test "$enableval" = yes; then
6360 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
6361 else
6362 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
6363 fi
6364
6365 else
6366
6367 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6368
6369 fi
6370
6371
6372 eval "$wx_cv_use_extended_rtti"
6373
6374 if test x"$enablestring" = xdisable; then
6375 if test $wxUSE_EXTENDED_RTTI = no; then
6376 result=yes
6377 else
6378 result=no
6379 fi
6380 else
6381 result=$wxUSE_EXTENDED_RTTI
6382 fi
6383
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6385 $as_echo "$result" >&6; }
6386
6387 if test "$USE_OS2" = 1; then
6388 DEFAULT_wxUSE_OMF=no
6389
6390 enablestring=
6391 defaultval=
6392 if test -z "$defaultval"; then
6393 if test x"$enablestring" = xdisable; then
6394 defaultval=yes
6395 else
6396 defaultval=no
6397 fi
6398 fi
6399
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6401 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6402 # Check whether --enable-omf was given.
6403 if test "${enable_omf+set}" = set; then :
6404 enableval=$enable_omf;
6405 if test "$enableval" = yes; then
6406 wx_cv_use_omf='wxUSE_OMF=yes'
6407 else
6408 wx_cv_use_omf='wxUSE_OMF=no'
6409 fi
6410
6411 else
6412
6413 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6414
6415 fi
6416
6417
6418 eval "$wx_cv_use_omf"
6419
6420 if test x"$enablestring" = xdisable; then
6421 if test $wxUSE_OMF = no; then
6422 result=yes
6423 else
6424 result=no
6425 fi
6426 else
6427 result=$wxUSE_OMF
6428 fi
6429
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6431 $as_echo "$result" >&6; }
6432
6433 fi
6434
6435
6436 enablestring=disable
6437 defaultval=
6438 if test -z "$defaultval"; then
6439 if test x"$enablestring" = xdisable; then
6440 defaultval=yes
6441 else
6442 defaultval=no
6443 fi
6444 fi
6445
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6447 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6448 # Check whether --enable-optimise was given.
6449 if test "${enable_optimise+set}" = set; then :
6450 enableval=$enable_optimise;
6451 if test "$enableval" = yes; then
6452 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6453 else
6454 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6455 fi
6456
6457 else
6458
6459 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6460
6461 fi
6462
6463
6464 eval "$wx_cv_use_optimise"
6465
6466 if test x"$enablestring" = xdisable; then
6467 if test $wxUSE_OPTIMISE = no; then
6468 result=yes
6469 else
6470 result=no
6471 fi
6472 else
6473 result=$wxUSE_OPTIMISE
6474 fi
6475
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6477 $as_echo "$result" >&6; }
6478
6479
6480
6481 enablestring=
6482 defaultval=
6483 if test -z "$defaultval"; then
6484 if test x"$enablestring" = xdisable; then
6485 defaultval=yes
6486 else
6487 defaultval=no
6488 fi
6489 fi
6490
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6492 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6493 # Check whether --enable-profile was given.
6494 if test "${enable_profile+set}" = set; then :
6495 enableval=$enable_profile;
6496 if test "$enableval" = yes; then
6497 wx_cv_use_profile='wxUSE_PROFILE=yes'
6498 else
6499 wx_cv_use_profile='wxUSE_PROFILE=no'
6500 fi
6501
6502 else
6503
6504 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6505
6506 fi
6507
6508
6509 eval "$wx_cv_use_profile"
6510
6511 if test x"$enablestring" = xdisable; then
6512 if test $wxUSE_PROFILE = no; then
6513 result=yes
6514 else
6515 result=no
6516 fi
6517 else
6518 result=$wxUSE_PROFILE
6519 fi
6520
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6522 $as_echo "$result" >&6; }
6523
6524
6525 enablestring=
6526 defaultval=
6527 if test -z "$defaultval"; then
6528 if test x"$enablestring" = xdisable; then
6529 defaultval=yes
6530 else
6531 defaultval=no
6532 fi
6533 fi
6534
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6536 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6537 # Check whether --enable-no_rtti was given.
6538 if test "${enable_no_rtti+set}" = set; then :
6539 enableval=$enable_no_rtti;
6540 if test "$enableval" = yes; then
6541 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6542 else
6543 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6544 fi
6545
6546 else
6547
6548 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6549
6550 fi
6551
6552
6553 eval "$wx_cv_use_no_rtti"
6554
6555 if test x"$enablestring" = xdisable; then
6556 if test $wxUSE_NO_RTTI = no; then
6557 result=yes
6558 else
6559 result=no
6560 fi
6561 else
6562 result=$wxUSE_NO_RTTI
6563 fi
6564
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6566 $as_echo "$result" >&6; }
6567
6568
6569 enablestring=
6570 defaultval=
6571 if test -z "$defaultval"; then
6572 if test x"$enablestring" = xdisable; then
6573 defaultval=yes
6574 else
6575 defaultval=no
6576 fi
6577 fi
6578
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6580 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6581 # Check whether --enable-no_exceptions was given.
6582 if test "${enable_no_exceptions+set}" = set; then :
6583 enableval=$enable_no_exceptions;
6584 if test "$enableval" = yes; then
6585 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6586 else
6587 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6588 fi
6589
6590 else
6591
6592 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6593
6594 fi
6595
6596
6597 eval "$wx_cv_use_no_exceptions"
6598
6599 if test x"$enablestring" = xdisable; then
6600 if test $wxUSE_NO_EXCEPTIONS = no; then
6601 result=yes
6602 else
6603 result=no
6604 fi
6605 else
6606 result=$wxUSE_NO_EXCEPTIONS
6607 fi
6608
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6610 $as_echo "$result" >&6; }
6611
6612
6613 enablestring=
6614 defaultval=
6615 if test -z "$defaultval"; then
6616 if test x"$enablestring" = xdisable; then
6617 defaultval=yes
6618 else
6619 defaultval=no
6620 fi
6621 fi
6622
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6624 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6625 # Check whether --enable-permissive was given.
6626 if test "${enable_permissive+set}" = set; then :
6627 enableval=$enable_permissive;
6628 if test "$enableval" = yes; then
6629 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
6630 else
6631 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
6632 fi
6633
6634 else
6635
6636 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6637
6638 fi
6639
6640
6641 eval "$wx_cv_use_permissive"
6642
6643 if test x"$enablestring" = xdisable; then
6644 if test $wxUSE_PERMISSIVE = no; then
6645 result=yes
6646 else
6647 result=no
6648 fi
6649 else
6650 result=$wxUSE_PERMISSIVE
6651 fi
6652
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6654 $as_echo "$result" >&6; }
6655
6656
6657 enablestring=
6658 defaultval=
6659 if test -z "$defaultval"; then
6660 if test x"$enablestring" = xdisable; then
6661 defaultval=yes
6662 else
6663 defaultval=no
6664 fi
6665 fi
6666
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6668 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6669 # Check whether --enable-no_deps was given.
6670 if test "${enable_no_deps+set}" = set; then :
6671 enableval=$enable_no_deps;
6672 if test "$enableval" = yes; then
6673 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6674 else
6675 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6676 fi
6677
6678 else
6679
6680 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6681
6682 fi
6683
6684
6685 eval "$wx_cv_use_no_deps"
6686
6687 if test x"$enablestring" = xdisable; then
6688 if test $wxUSE_NO_DEPS = no; then
6689 result=yes
6690 else
6691 result=no
6692 fi
6693 else
6694 result=$wxUSE_NO_DEPS
6695 fi
6696
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6698 $as_echo "$result" >&6; }
6699
6700
6701 enablestring=disable
6702 defaultval=
6703 if test -z "$defaultval"; then
6704 if test x"$enablestring" = xdisable; then
6705 defaultval=yes
6706 else
6707 defaultval=no
6708 fi
6709 fi
6710
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6712 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6713 # Check whether --enable-vararg_macros was given.
6714 if test "${enable_vararg_macros+set}" = set; then :
6715 enableval=$enable_vararg_macros;
6716 if test "$enableval" = yes; then
6717 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6718 else
6719 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6720 fi
6721
6722 else
6723
6724 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6725
6726 fi
6727
6728
6729 eval "$wx_cv_use_vararg_macros"
6730
6731 if test x"$enablestring" = xdisable; then
6732 if test $wxUSE_VARARG_MACROS = no; then
6733 result=yes
6734 else
6735 result=no
6736 fi
6737 else
6738 result=$wxUSE_VARARG_MACROS
6739 fi
6740
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6742 $as_echo "$result" >&6; }
6743
6744
6745
6746 enablestring=
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6748 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6749 # Check whether --enable-universal_binary was given.
6750 if test "${enable_universal_binary+set}" = set; then :
6751 enableval=$enable_universal_binary;
6752 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6753
6754 else
6755
6756 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6757
6758 fi
6759
6760
6761 eval "$wx_cv_use_universal_binary"
6762
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6764 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6765
6766
6767 enablestring=
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6769 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6770 # Check whether --enable-macosx_arch was given.
6771 if test "${enable_macosx_arch+set}" = set; then :
6772 enableval=$enable_macosx_arch;
6773 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6774
6775 else
6776
6777 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6778
6779 fi
6780
6781
6782 eval "$wx_cv_use_macosx_arch"
6783
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6785 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6786
6787
6788
6789 enablestring=
6790 defaultval=
6791 if test -z "$defaultval"; then
6792 if test x"$enablestring" = xdisable; then
6793 defaultval=yes
6794 else
6795 defaultval=no
6796 fi
6797 fi
6798
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6800 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6801 # Check whether --enable-compat26 was given.
6802 if test "${enable_compat26+set}" = set; then :
6803 enableval=$enable_compat26;
6804 if test "$enableval" = yes; then
6805 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
6806 else
6807 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
6808 fi
6809
6810 else
6811
6812 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6813
6814 fi
6815
6816
6817 eval "$wx_cv_use_compat26"
6818
6819 if test x"$enablestring" = xdisable; then
6820 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6821 result=yes
6822 else
6823 result=no
6824 fi
6825 else
6826 result=$WXWIN_COMPATIBILITY_2_6
6827 fi
6828
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6830 $as_echo "$result" >&6; }
6831
6832
6833 enablestring=disable
6834 defaultval=
6835 if test -z "$defaultval"; then
6836 if test x"$enablestring" = xdisable; then
6837 defaultval=yes
6838 else
6839 defaultval=no
6840 fi
6841 fi
6842
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6844 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6845 # Check whether --enable-compat28 was given.
6846 if test "${enable_compat28+set}" = set; then :
6847 enableval=$enable_compat28;
6848 if test "$enableval" = yes; then
6849 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6850 else
6851 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6852 fi
6853
6854 else
6855
6856 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6857
6858 fi
6859
6860
6861 eval "$wx_cv_use_compat28"
6862
6863 if test x"$enablestring" = xdisable; then
6864 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6865 result=yes
6866 else
6867 result=no
6868 fi
6869 else
6870 result=$WXWIN_COMPATIBILITY_2_8
6871 fi
6872
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6874 $as_echo "$result" >&6; }
6875
6876
6877
6878 enablestring=disable
6879 defaultval=
6880 if test -z "$defaultval"; then
6881 if test x"$enablestring" = xdisable; then
6882 defaultval=yes
6883 else
6884 defaultval=no
6885 fi
6886 fi
6887
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6889 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6890 # Check whether --enable-rpath was given.
6891 if test "${enable_rpath+set}" = set; then :
6892 enableval=$enable_rpath;
6893 if test "$enableval" = yes; then
6894 wx_cv_use_rpath='wxUSE_RPATH=yes'
6895 else
6896 wx_cv_use_rpath='wxUSE_RPATH=no'
6897 fi
6898
6899 else
6900
6901 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6902
6903 fi
6904
6905
6906 eval "$wx_cv_use_rpath"
6907
6908 if test x"$enablestring" = xdisable; then
6909 if test $wxUSE_RPATH = no; then
6910 result=yes
6911 else
6912 result=no
6913 fi
6914 else
6915 result=$wxUSE_RPATH
6916 fi
6917
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6919 $as_echo "$result" >&6; }
6920
6921
6922
6923 enablestring=
6924 defaultval=
6925 if test -z "$defaultval"; then
6926 if test x"$enablestring" = xdisable; then
6927 defaultval=yes
6928 else
6929 defaultval=no
6930 fi
6931 fi
6932
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6934 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6935 # Check whether --enable-objc_uniquifying was given.
6936 if test "${enable_objc_uniquifying+set}" = set; then :
6937 enableval=$enable_objc_uniquifying;
6938 if test "$enableval" = yes; then
6939 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6940 else
6941 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6942 fi
6943
6944 else
6945
6946 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6947
6948 fi
6949
6950
6951 eval "$wx_cv_use_objc_uniquifying"
6952
6953 if test x"$enablestring" = xdisable; then
6954 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6955 result=yes
6956 else
6957 result=no
6958 fi
6959 else
6960 result=$wxUSE_OBJC_UNIQUIFYING
6961 fi
6962
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6964 $as_echo "$result" >&6; }
6965
6966
6967
6968 enablestring=disable
6969 defaultval=
6970 if test -z "$defaultval"; then
6971 if test x"$enablestring" = xdisable; then
6972 defaultval=yes
6973 else
6974 defaultval=no
6975 fi
6976 fi
6977
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6979 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6980 # Check whether --enable-visibility was given.
6981 if test "${enable_visibility+set}" = set; then :
6982 enableval=$enable_visibility;
6983 if test "$enableval" = yes; then
6984 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6985 else
6986 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6987 fi
6988
6989 else
6990
6991 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6992
6993 fi
6994
6995
6996 eval "$wx_cv_use_visibility"
6997
6998 if test x"$enablestring" = xdisable; then
6999 if test $wxUSE_VISIBILITY = no; then
7000 result=yes
7001 else
7002 result=no
7003 fi
7004 else
7005 result=$wxUSE_VISIBILITY
7006 fi
7007
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7009 $as_echo "$result" >&6; }
7010
7011
7012 enablestring=disable
7013 defaultval=
7014 if test -z "$defaultval"; then
7015 if test x"$enablestring" = xdisable; then
7016 defaultval=yes
7017 else
7018 defaultval=no
7019 fi
7020 fi
7021
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
7023 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
7024 # Check whether --enable-tls was given.
7025 if test "${enable_tls+set}" = set; then :
7026 enableval=$enable_tls;
7027 if test "$enableval" = yes; then
7028 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
7029 else
7030 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
7031 fi
7032
7033 else
7034
7035 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
7036
7037 fi
7038
7039
7040 eval "$wx_cv_use_tls"
7041
7042 if test x"$enablestring" = xdisable; then
7043 if test $wxUSE_COMPILER_TLS = no; then
7044 result=yes
7045 else
7046 result=no
7047 fi
7048 else
7049 result=$wxUSE_COMPILER_TLS
7050 fi
7051
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7053 $as_echo "$result" >&6; }
7054
7055
7056
7057
7058 enablestring=
7059 defaultval=$wxUSE_ALL_FEATURES
7060 if test -z "$defaultval"; then
7061 if test x"$enablestring" = xdisable; then
7062 defaultval=yes
7063 else
7064 defaultval=no
7065 fi
7066 fi
7067
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
7069 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
7070 # Check whether --enable-intl was given.
7071 if test "${enable_intl+set}" = set; then :
7072 enableval=$enable_intl;
7073 if test "$enableval" = yes; then
7074 wx_cv_use_intl='wxUSE_INTL=yes'
7075 else
7076 wx_cv_use_intl='wxUSE_INTL=no'
7077 fi
7078
7079 else
7080
7081 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
7082
7083 fi
7084
7085
7086 eval "$wx_cv_use_intl"
7087
7088 if test x"$enablestring" = xdisable; then
7089 if test $wxUSE_INTL = no; then
7090 result=yes
7091 else
7092 result=no
7093 fi
7094 else
7095 result=$wxUSE_INTL
7096 fi
7097
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7099 $as_echo "$result" >&6; }
7100
7101
7102 enablestring=
7103 defaultval=$wxUSE_ALL_FEATURES
7104 if test -z "$defaultval"; then
7105 if test x"$enablestring" = xdisable; then
7106 defaultval=yes
7107 else
7108 defaultval=no
7109 fi
7110 fi
7111
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
7113 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
7114 # Check whether --enable-xlocale was given.
7115 if test "${enable_xlocale+set}" = set; then :
7116 enableval=$enable_xlocale;
7117 if test "$enableval" = yes; then
7118 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
7119 else
7120 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
7121 fi
7122
7123 else
7124
7125 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7126
7127 fi
7128
7129
7130 eval "$wx_cv_use_xlocale"
7131
7132 if test x"$enablestring" = xdisable; then
7133 if test $wxUSE_XLOCALE = no; then
7134 result=yes
7135 else
7136 result=no
7137 fi
7138 else
7139 result=$wxUSE_XLOCALE
7140 fi
7141
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7143 $as_echo "$result" >&6; }
7144
7145
7146 enablestring=
7147 defaultval=$wxUSE_ALL_FEATURES
7148 if test -z "$defaultval"; then
7149 if test x"$enablestring" = xdisable; then
7150 defaultval=yes
7151 else
7152 defaultval=no
7153 fi
7154 fi
7155
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
7157 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
7158 # Check whether --enable-config was given.
7159 if test "${enable_config+set}" = set; then :
7160 enableval=$enable_config;
7161 if test "$enableval" = yes; then
7162 wx_cv_use_config='wxUSE_CONFIG=yes'
7163 else
7164 wx_cv_use_config='wxUSE_CONFIG=no'
7165 fi
7166
7167 else
7168
7169 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7170
7171 fi
7172
7173
7174 eval "$wx_cv_use_config"
7175
7176 if test x"$enablestring" = xdisable; then
7177 if test $wxUSE_CONFIG = no; then
7178 result=yes
7179 else
7180 result=no
7181 fi
7182 else
7183 result=$wxUSE_CONFIG
7184 fi
7185
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7187 $as_echo "$result" >&6; }
7188
7189
7190
7191 enablestring=
7192 defaultval=$wxUSE_ALL_FEATURES
7193 if test -z "$defaultval"; then
7194 if test x"$enablestring" = xdisable; then
7195 defaultval=yes
7196 else
7197 defaultval=no
7198 fi
7199 fi
7200
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7202 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7203 # Check whether --enable-protocols was given.
7204 if test "${enable_protocols+set}" = set; then :
7205 enableval=$enable_protocols;
7206 if test "$enableval" = yes; then
7207 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
7208 else
7209 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
7210 fi
7211
7212 else
7213
7214 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7215
7216 fi
7217
7218
7219 eval "$wx_cv_use_protocols"
7220
7221 if test x"$enablestring" = xdisable; then
7222 if test $wxUSE_PROTOCOL = no; then
7223 result=yes
7224 else
7225 result=no
7226 fi
7227 else
7228 result=$wxUSE_PROTOCOL
7229 fi
7230
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7232 $as_echo "$result" >&6; }
7233
7234
7235 enablestring=
7236 defaultval=$wxUSE_ALL_FEATURES
7237 if test -z "$defaultval"; then
7238 if test x"$enablestring" = xdisable; then
7239 defaultval=yes
7240 else
7241 defaultval=no
7242 fi
7243 fi
7244
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7246 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7247 # Check whether --enable-ftp was given.
7248 if test "${enable_ftp+set}" = set; then :
7249 enableval=$enable_ftp;
7250 if test "$enableval" = yes; then
7251 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7252 else
7253 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7254 fi
7255
7256 else
7257
7258 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7259
7260 fi
7261
7262
7263 eval "$wx_cv_use_ftp"
7264
7265 if test x"$enablestring" = xdisable; then
7266 if test $wxUSE_PROTOCOL_FTP = no; then
7267 result=yes
7268 else
7269 result=no
7270 fi
7271 else
7272 result=$wxUSE_PROTOCOL_FTP
7273 fi
7274
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7276 $as_echo "$result" >&6; }
7277
7278
7279 enablestring=
7280 defaultval=$wxUSE_ALL_FEATURES
7281 if test -z "$defaultval"; then
7282 if test x"$enablestring" = xdisable; then
7283 defaultval=yes
7284 else
7285 defaultval=no
7286 fi
7287 fi
7288
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7290 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7291 # Check whether --enable-http was given.
7292 if test "${enable_http+set}" = set; then :
7293 enableval=$enable_http;
7294 if test "$enableval" = yes; then
7295 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7296 else
7297 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7298 fi
7299
7300 else
7301
7302 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7303
7304 fi
7305
7306
7307 eval "$wx_cv_use_http"
7308
7309 if test x"$enablestring" = xdisable; then
7310 if test $wxUSE_PROTOCOL_HTTP = no; then
7311 result=yes
7312 else
7313 result=no
7314 fi
7315 else
7316 result=$wxUSE_PROTOCOL_HTTP
7317 fi
7318
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7320 $as_echo "$result" >&6; }
7321
7322
7323 enablestring=
7324 defaultval=$wxUSE_ALL_FEATURES
7325 if test -z "$defaultval"; then
7326 if test x"$enablestring" = xdisable; then
7327 defaultval=yes
7328 else
7329 defaultval=no
7330 fi
7331 fi
7332
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7334 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7335 # Check whether --enable-fileproto was given.
7336 if test "${enable_fileproto+set}" = set; then :
7337 enableval=$enable_fileproto;
7338 if test "$enableval" = yes; then
7339 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
7340 else
7341 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
7342 fi
7343
7344 else
7345
7346 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7347
7348 fi
7349
7350
7351 eval "$wx_cv_use_fileproto"
7352
7353 if test x"$enablestring" = xdisable; then
7354 if test $wxUSE_PROTOCOL_FILE = no; then
7355 result=yes
7356 else
7357 result=no
7358 fi
7359 else
7360 result=$wxUSE_PROTOCOL_FILE
7361 fi
7362
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7364 $as_echo "$result" >&6; }
7365
7366
7367 enablestring=
7368 defaultval=$wxUSE_ALL_FEATURES
7369 if test -z "$defaultval"; then
7370 if test x"$enablestring" = xdisable; then
7371 defaultval=yes
7372 else
7373 defaultval=no
7374 fi
7375 fi
7376
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7378 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7379 # Check whether --enable-sockets was given.
7380 if test "${enable_sockets+set}" = set; then :
7381 enableval=$enable_sockets;
7382 if test "$enableval" = yes; then
7383 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7384 else
7385 wx_cv_use_sockets='wxUSE_SOCKETS=no'
7386 fi
7387
7388 else
7389
7390 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7391
7392 fi
7393
7394
7395 eval "$wx_cv_use_sockets"
7396
7397 if test x"$enablestring" = xdisable; then
7398 if test $wxUSE_SOCKETS = no; then
7399 result=yes
7400 else
7401 result=no
7402 fi
7403 else
7404 result=$wxUSE_SOCKETS
7405 fi
7406
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7408 $as_echo "$result" >&6; }
7409
7410
7411 enablestring=
7412 defaultval=$wxUSE_ALL_FEATURES
7413 if test -z "$defaultval"; then
7414 if test x"$enablestring" = xdisable; then
7415 defaultval=yes
7416 else
7417 defaultval=no
7418 fi
7419 fi
7420
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7422 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7423 # Check whether --enable-ipv6 was given.
7424 if test "${enable_ipv6+set}" = set; then :
7425 enableval=$enable_ipv6;
7426 if test "$enableval" = yes; then
7427 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7428 else
7429 wx_cv_use_ipv6='wxUSE_IPV6=no'
7430 fi
7431
7432 else
7433
7434 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7435
7436 fi
7437
7438
7439 eval "$wx_cv_use_ipv6"
7440
7441 if test x"$enablestring" = xdisable; then
7442 if test $wxUSE_IPV6 = no; then
7443 result=yes
7444 else
7445 result=no
7446 fi
7447 else
7448 result=$wxUSE_IPV6
7449 fi
7450
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7452 $as_echo "$result" >&6; }
7453
7454
7455 enablestring=
7456 defaultval=$wxUSE_ALL_FEATURES
7457 if test -z "$defaultval"; then
7458 if test x"$enablestring" = xdisable; then
7459 defaultval=yes
7460 else
7461 defaultval=no
7462 fi
7463 fi
7464
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7466 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7467 # Check whether --enable-ole was given.
7468 if test "${enable_ole+set}" = set; then :
7469 enableval=$enable_ole;
7470 if test "$enableval" = yes; then
7471 wx_cv_use_ole='wxUSE_OLE=yes'
7472 else
7473 wx_cv_use_ole='wxUSE_OLE=no'
7474 fi
7475
7476 else
7477
7478 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7479
7480 fi
7481
7482
7483 eval "$wx_cv_use_ole"
7484
7485 if test x"$enablestring" = xdisable; then
7486 if test $wxUSE_OLE = no; then
7487 result=yes
7488 else
7489 result=no
7490 fi
7491 else
7492 result=$wxUSE_OLE
7493 fi
7494
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7496 $as_echo "$result" >&6; }
7497
7498
7499 enablestring=
7500 defaultval=$wxUSE_ALL_FEATURES
7501 if test -z "$defaultval"; then
7502 if test x"$enablestring" = xdisable; then
7503 defaultval=yes
7504 else
7505 defaultval=no
7506 fi
7507 fi
7508
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7510 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7511 # Check whether --enable-dataobj was given.
7512 if test "${enable_dataobj+set}" = set; then :
7513 enableval=$enable_dataobj;
7514 if test "$enableval" = yes; then
7515 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7516 else
7517 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7518 fi
7519
7520 else
7521
7522 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7523
7524 fi
7525
7526
7527 eval "$wx_cv_use_dataobj"
7528
7529 if test x"$enablestring" = xdisable; then
7530 if test $wxUSE_DATAOBJ = no; then
7531 result=yes
7532 else
7533 result=no
7534 fi
7535 else
7536 result=$wxUSE_DATAOBJ
7537 fi
7538
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7540 $as_echo "$result" >&6; }
7541
7542
7543
7544 enablestring=
7545 defaultval=$wxUSE_ALL_FEATURES
7546 if test -z "$defaultval"; then
7547 if test x"$enablestring" = xdisable; then
7548 defaultval=yes
7549 else
7550 defaultval=no
7551 fi
7552 fi
7553
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7555 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7556 # Check whether --enable-ipc was given.
7557 if test "${enable_ipc+set}" = set; then :
7558 enableval=$enable_ipc;
7559 if test "$enableval" = yes; then
7560 wx_cv_use_ipc='wxUSE_IPC=yes'
7561 else
7562 wx_cv_use_ipc='wxUSE_IPC=no'
7563 fi
7564
7565 else
7566
7567 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7568
7569 fi
7570
7571
7572 eval "$wx_cv_use_ipc"
7573
7574 if test x"$enablestring" = xdisable; then
7575 if test $wxUSE_IPC = no; then
7576 result=yes
7577 else
7578 result=no
7579 fi
7580 else
7581 result=$wxUSE_IPC
7582 fi
7583
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7585 $as_echo "$result" >&6; }
7586
7587
7588
7589 enablestring=
7590 defaultval=$wxUSE_ALL_FEATURES
7591 if test -z "$defaultval"; then
7592 if test x"$enablestring" = xdisable; then
7593 defaultval=yes
7594 else
7595 defaultval=no
7596 fi
7597 fi
7598
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7600 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7601 # Check whether --enable-baseevtloop was given.
7602 if test "${enable_baseevtloop+set}" = set; then :
7603 enableval=$enable_baseevtloop;
7604 if test "$enableval" = yes; then
7605 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
7606 else
7607 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
7608 fi
7609
7610 else
7611
7612 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7613
7614 fi
7615
7616
7617 eval "$wx_cv_use_baseevtloop"
7618
7619 if test x"$enablestring" = xdisable; then
7620 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7621 result=yes
7622 else
7623 result=no
7624 fi
7625 else
7626 result=$wxUSE_CONSOLE_EVENTLOOP
7627 fi
7628
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7630 $as_echo "$result" >&6; }
7631
7632
7633 enablestring=
7634 defaultval=$wxUSE_ALL_FEATURES
7635 if test -z "$defaultval"; then
7636 if test x"$enablestring" = xdisable; then
7637 defaultval=yes
7638 else
7639 defaultval=no
7640 fi
7641 fi
7642
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7644 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7645 # Check whether --enable-epollloop was given.
7646 if test "${enable_epollloop+set}" = set; then :
7647 enableval=$enable_epollloop;
7648 if test "$enableval" = yes; then
7649 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7650 else
7651 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7652 fi
7653
7654 else
7655
7656 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7657
7658 fi
7659
7660
7661 eval "$wx_cv_use_epollloop"
7662
7663 if test x"$enablestring" = xdisable; then
7664 if test $wxUSE_EPOLL_DISPATCHER = no; then
7665 result=yes
7666 else
7667 result=no
7668 fi
7669 else
7670 result=$wxUSE_EPOLL_DISPATCHER
7671 fi
7672
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7674 $as_echo "$result" >&6; }
7675
7676
7677 enablestring=
7678 defaultval=$wxUSE_ALL_FEATURES
7679 if test -z "$defaultval"; then
7680 if test x"$enablestring" = xdisable; then
7681 defaultval=yes
7682 else
7683 defaultval=no
7684 fi
7685 fi
7686
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7688 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7689 # Check whether --enable-selectloop was given.
7690 if test "${enable_selectloop+set}" = set; then :
7691 enableval=$enable_selectloop;
7692 if test "$enableval" = yes; then
7693 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7694 else
7695 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7696 fi
7697
7698 else
7699
7700 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7701
7702 fi
7703
7704
7705 eval "$wx_cv_use_selectloop"
7706
7707 if test x"$enablestring" = xdisable; then
7708 if test $wxUSE_SELECT_DISPATCHER = no; then
7709 result=yes
7710 else
7711 result=no
7712 fi
7713 else
7714 result=$wxUSE_SELECT_DISPATCHER
7715 fi
7716
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7718 $as_echo "$result" >&6; }
7719
7720
7721
7722 enablestring=
7723 defaultval=$wxUSE_ALL_FEATURES
7724 if test -z "$defaultval"; then
7725 if test x"$enablestring" = xdisable; then
7726 defaultval=yes
7727 else
7728 defaultval=no
7729 fi
7730 fi
7731
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7733 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7734 # Check whether --enable-any was given.
7735 if test "${enable_any+set}" = set; then :
7736 enableval=$enable_any;
7737 if test "$enableval" = yes; then
7738 wx_cv_use_any='wxUSE_ANY=yes'
7739 else
7740 wx_cv_use_any='wxUSE_ANY=no'
7741 fi
7742
7743 else
7744
7745 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7746
7747 fi
7748
7749
7750 eval "$wx_cv_use_any"
7751
7752 if test x"$enablestring" = xdisable; then
7753 if test $wxUSE_ANY = no; then
7754 result=yes
7755 else
7756 result=no
7757 fi
7758 else
7759 result=$wxUSE_ANY
7760 fi
7761
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7763 $as_echo "$result" >&6; }
7764
7765
7766 enablestring=
7767 defaultval=$wxUSE_ALL_FEATURES
7768 if test -z "$defaultval"; then
7769 if test x"$enablestring" = xdisable; then
7770 defaultval=yes
7771 else
7772 defaultval=no
7773 fi
7774 fi
7775
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7777 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7778 # Check whether --enable-apple_ieee was given.
7779 if test "${enable_apple_ieee+set}" = set; then :
7780 enableval=$enable_apple_ieee;
7781 if test "$enableval" = yes; then
7782 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7783 else
7784 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7785 fi
7786
7787 else
7788
7789 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7790
7791 fi
7792
7793
7794 eval "$wx_cv_use_apple_ieee"
7795
7796 if test x"$enablestring" = xdisable; then
7797 if test $wxUSE_APPLE_IEEE = no; then
7798 result=yes
7799 else
7800 result=no
7801 fi
7802 else
7803 result=$wxUSE_APPLE_IEEE
7804 fi
7805
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7807 $as_echo "$result" >&6; }
7808
7809
7810 enablestring=
7811 defaultval=$wxUSE_ALL_FEATURES
7812 if test -z "$defaultval"; then
7813 if test x"$enablestring" = xdisable; then
7814 defaultval=yes
7815 else
7816 defaultval=no
7817 fi
7818 fi
7819
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7821 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7822 # Check whether --enable-arcstream was given.
7823 if test "${enable_arcstream+set}" = set; then :
7824 enableval=$enable_arcstream;
7825 if test "$enableval" = yes; then
7826 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7827 else
7828 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7829 fi
7830
7831 else
7832
7833 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7834
7835 fi
7836
7837
7838 eval "$wx_cv_use_arcstream"
7839
7840 if test x"$enablestring" = xdisable; then
7841 if test $wxUSE_ARCHIVE_STREAMS = no; then
7842 result=yes
7843 else
7844 result=no
7845 fi
7846 else
7847 result=$wxUSE_ARCHIVE_STREAMS
7848 fi
7849
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7851 $as_echo "$result" >&6; }
7852
7853
7854 enablestring=
7855 defaultval=$wxUSE_ALL_FEATURES
7856 if test -z "$defaultval"; then
7857 if test x"$enablestring" = xdisable; then
7858 defaultval=yes
7859 else
7860 defaultval=no
7861 fi
7862 fi
7863
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7865 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7866 # Check whether --enable-base64 was given.
7867 if test "${enable_base64+set}" = set; then :
7868 enableval=$enable_base64;
7869 if test "$enableval" = yes; then
7870 wx_cv_use_base64='wxUSE_BASE64=yes'
7871 else
7872 wx_cv_use_base64='wxUSE_BASE64=no'
7873 fi
7874
7875 else
7876
7877 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7878
7879 fi
7880
7881
7882 eval "$wx_cv_use_base64"
7883
7884 if test x"$enablestring" = xdisable; then
7885 if test $wxUSE_BASE64 = no; then
7886 result=yes
7887 else
7888 result=no
7889 fi
7890 else
7891 result=$wxUSE_BASE64
7892 fi
7893
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7895 $as_echo "$result" >&6; }
7896
7897
7898 enablestring=
7899 defaultval=$wxUSE_ALL_FEATURES
7900 if test -z "$defaultval"; then
7901 if test x"$enablestring" = xdisable; then
7902 defaultval=yes
7903 else
7904 defaultval=no
7905 fi
7906 fi
7907
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7909 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7910 # Check whether --enable-backtrace was given.
7911 if test "${enable_backtrace+set}" = set; then :
7912 enableval=$enable_backtrace;
7913 if test "$enableval" = yes; then
7914 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7915 else
7916 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7917 fi
7918
7919 else
7920
7921 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7922
7923 fi
7924
7925
7926 eval "$wx_cv_use_backtrace"
7927
7928 if test x"$enablestring" = xdisable; then
7929 if test $wxUSE_STACKWALKER = no; then
7930 result=yes
7931 else
7932 result=no
7933 fi
7934 else
7935 result=$wxUSE_STACKWALKER
7936 fi
7937
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7939 $as_echo "$result" >&6; }
7940
7941
7942 enablestring=
7943 defaultval=$wxUSE_ALL_FEATURES
7944 if test -z "$defaultval"; then
7945 if test x"$enablestring" = xdisable; then
7946 defaultval=yes
7947 else
7948 defaultval=no
7949 fi
7950 fi
7951
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7953 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7954 # Check whether --enable-catch_segvs was given.
7955 if test "${enable_catch_segvs+set}" = set; then :
7956 enableval=$enable_catch_segvs;
7957 if test "$enableval" = yes; then
7958 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7959 else
7960 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7961 fi
7962
7963 else
7964
7965 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7966
7967 fi
7968
7969
7970 eval "$wx_cv_use_catch_segvs"
7971
7972 if test x"$enablestring" = xdisable; then
7973 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7974 result=yes
7975 else
7976 result=no
7977 fi
7978 else
7979 result=$wxUSE_ON_FATAL_EXCEPTION
7980 fi
7981
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7983 $as_echo "$result" >&6; }
7984
7985
7986 enablestring=
7987 defaultval=$wxUSE_ALL_FEATURES
7988 if test -z "$defaultval"; then
7989 if test x"$enablestring" = xdisable; then
7990 defaultval=yes
7991 else
7992 defaultval=no
7993 fi
7994 fi
7995
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7997 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7998 # Check whether --enable-cmdline was given.
7999 if test "${enable_cmdline+set}" = set; then :
8000 enableval=$enable_cmdline;
8001 if test "$enableval" = yes; then
8002 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
8003 else
8004 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
8005 fi
8006
8007 else
8008
8009 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
8010
8011 fi
8012
8013
8014 eval "$wx_cv_use_cmdline"
8015
8016 if test x"$enablestring" = xdisable; then
8017 if test $wxUSE_CMDLINE_PARSER = no; then
8018 result=yes
8019 else
8020 result=no
8021 fi
8022 else
8023 result=$wxUSE_CMDLINE_PARSER
8024 fi
8025
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8027 $as_echo "$result" >&6; }
8028
8029
8030 enablestring=
8031 defaultval=$wxUSE_ALL_FEATURES
8032 if test -z "$defaultval"; then
8033 if test x"$enablestring" = xdisable; then
8034 defaultval=yes
8035 else
8036 defaultval=no
8037 fi
8038 fi
8039
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
8041 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
8042 # Check whether --enable-datetime was given.
8043 if test "${enable_datetime+set}" = set; then :
8044 enableval=$enable_datetime;
8045 if test "$enableval" = yes; then
8046 wx_cv_use_datetime='wxUSE_DATETIME=yes'
8047 else
8048 wx_cv_use_datetime='wxUSE_DATETIME=no'
8049 fi
8050
8051 else
8052
8053 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
8054
8055 fi
8056
8057
8058 eval "$wx_cv_use_datetime"
8059
8060 if test x"$enablestring" = xdisable; then
8061 if test $wxUSE_DATETIME = no; then
8062 result=yes
8063 else
8064 result=no
8065 fi
8066 else
8067 result=$wxUSE_DATETIME
8068 fi
8069
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8071 $as_echo "$result" >&6; }
8072
8073
8074 enablestring=
8075 defaultval=$wxUSE_ALL_FEATURES
8076 if test -z "$defaultval"; then
8077 if test x"$enablestring" = xdisable; then
8078 defaultval=yes
8079 else
8080 defaultval=no
8081 fi
8082 fi
8083
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
8085 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
8086 # Check whether --enable-debugreport was given.
8087 if test "${enable_debugreport+set}" = set; then :
8088 enableval=$enable_debugreport;
8089 if test "$enableval" = yes; then
8090 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
8091 else
8092 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
8093 fi
8094
8095 else
8096
8097 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
8098
8099 fi
8100
8101
8102 eval "$wx_cv_use_debugreport"
8103
8104 if test x"$enablestring" = xdisable; then
8105 if test $wxUSE_DEBUGREPORT = no; then
8106 result=yes
8107 else
8108 result=no
8109 fi
8110 else
8111 result=$wxUSE_DEBUGREPORT
8112 fi
8113
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8115 $as_echo "$result" >&6; }
8116
8117
8118 enablestring=
8119 defaultval=$wxUSE_ALL_FEATURES
8120 if test -z "$defaultval"; then
8121 if test x"$enablestring" = xdisable; then
8122 defaultval=yes
8123 else
8124 defaultval=no
8125 fi
8126 fi
8127
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8129 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8130 # Check whether --enable-dialupman was given.
8131 if test "${enable_dialupman+set}" = set; then :
8132 enableval=$enable_dialupman;
8133 if test "$enableval" = yes; then
8134 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
8135 else
8136 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
8137 fi
8138
8139 else
8140
8141 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8142
8143 fi
8144
8145
8146 eval "$wx_cv_use_dialupman"
8147
8148 if test x"$enablestring" = xdisable; then
8149 if test $wxUSE_DIALUP_MANAGER = no; then
8150 result=yes
8151 else
8152 result=no
8153 fi
8154 else
8155 result=$wxUSE_DIALUP_MANAGER
8156 fi
8157
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8159 $as_echo "$result" >&6; }
8160
8161
8162 enablestring=
8163 defaultval=$wxUSE_ALL_FEATURES
8164 if test -z "$defaultval"; then
8165 if test x"$enablestring" = xdisable; then
8166 defaultval=yes
8167 else
8168 defaultval=no
8169 fi
8170 fi
8171
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8173 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8174 # Check whether --enable-dynlib was given.
8175 if test "${enable_dynlib+set}" = set; then :
8176 enableval=$enable_dynlib;
8177 if test "$enableval" = yes; then
8178 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8179 else
8180 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8181 fi
8182
8183 else
8184
8185 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8186
8187 fi
8188
8189
8190 eval "$wx_cv_use_dynlib"
8191
8192 if test x"$enablestring" = xdisable; then
8193 if test $wxUSE_DYNLIB_CLASS = no; then
8194 result=yes
8195 else
8196 result=no
8197 fi
8198 else
8199 result=$wxUSE_DYNLIB_CLASS
8200 fi
8201
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8203 $as_echo "$result" >&6; }
8204
8205
8206 enablestring=
8207 defaultval=$wxUSE_ALL_FEATURES
8208 if test -z "$defaultval"; then
8209 if test x"$enablestring" = xdisable; then
8210 defaultval=yes
8211 else
8212 defaultval=no
8213 fi
8214 fi
8215
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8217 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8218 # Check whether --enable-dynamicloader was given.
8219 if test "${enable_dynamicloader+set}" = set; then :
8220 enableval=$enable_dynamicloader;
8221 if test "$enableval" = yes; then
8222 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8223 else
8224 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8225 fi
8226
8227 else
8228
8229 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8230
8231 fi
8232
8233
8234 eval "$wx_cv_use_dynamicloader"
8235
8236 if test x"$enablestring" = xdisable; then
8237 if test $wxUSE_DYNAMIC_LOADER = no; then
8238 result=yes
8239 else
8240 result=no
8241 fi
8242 else
8243 result=$wxUSE_DYNAMIC_LOADER
8244 fi
8245
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8247 $as_echo "$result" >&6; }
8248
8249
8250 enablestring=
8251 defaultval=$wxUSE_ALL_FEATURES
8252 if test -z "$defaultval"; then
8253 if test x"$enablestring" = xdisable; then
8254 defaultval=yes
8255 else
8256 defaultval=no
8257 fi
8258 fi
8259
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8261 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8262 # Check whether --enable-exceptions was given.
8263 if test "${enable_exceptions+set}" = set; then :
8264 enableval=$enable_exceptions;
8265 if test "$enableval" = yes; then
8266 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
8267 else
8268 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
8269 fi
8270
8271 else
8272
8273 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8274
8275 fi
8276
8277
8278 eval "$wx_cv_use_exceptions"
8279
8280 if test x"$enablestring" = xdisable; then
8281 if test $wxUSE_EXCEPTIONS = no; then
8282 result=yes
8283 else
8284 result=no
8285 fi
8286 else
8287 result=$wxUSE_EXCEPTIONS
8288 fi
8289
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8291 $as_echo "$result" >&6; }
8292
8293
8294 enablestring=
8295 defaultval=$wxUSE_ALL_FEATURES
8296 if test -z "$defaultval"; then
8297 if test x"$enablestring" = xdisable; then
8298 defaultval=yes
8299 else
8300 defaultval=no
8301 fi
8302 fi
8303
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8305 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8306 # Check whether --enable-ffile was given.
8307 if test "${enable_ffile+set}" = set; then :
8308 enableval=$enable_ffile;
8309 if test "$enableval" = yes; then
8310 wx_cv_use_ffile='wxUSE_FFILE=yes'
8311 else
8312 wx_cv_use_ffile='wxUSE_FFILE=no'
8313 fi
8314
8315 else
8316
8317 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8318
8319 fi
8320
8321
8322 eval "$wx_cv_use_ffile"
8323
8324 if test x"$enablestring" = xdisable; then
8325 if test $wxUSE_FFILE = no; then
8326 result=yes
8327 else
8328 result=no
8329 fi
8330 else
8331 result=$wxUSE_FFILE
8332 fi
8333
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8335 $as_echo "$result" >&6; }
8336
8337
8338 enablestring=
8339 defaultval=$wxUSE_ALL_FEATURES
8340 if test -z "$defaultval"; then
8341 if test x"$enablestring" = xdisable; then
8342 defaultval=yes
8343 else
8344 defaultval=no
8345 fi
8346 fi
8347
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8349 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8350 # Check whether --enable-file was given.
8351 if test "${enable_file+set}" = set; then :
8352 enableval=$enable_file;
8353 if test "$enableval" = yes; then
8354 wx_cv_use_file='wxUSE_FILE=yes'
8355 else
8356 wx_cv_use_file='wxUSE_FILE=no'
8357 fi
8358
8359 else
8360
8361 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8362
8363 fi
8364
8365
8366 eval "$wx_cv_use_file"
8367
8368 if test x"$enablestring" = xdisable; then
8369 if test $wxUSE_FILE = no; then
8370 result=yes
8371 else
8372 result=no
8373 fi
8374 else
8375 result=$wxUSE_FILE
8376 fi
8377
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8379 $as_echo "$result" >&6; }
8380
8381
8382 enablestring=
8383 defaultval=$wxUSE_ALL_FEATURES
8384 if test -z "$defaultval"; then
8385 if test x"$enablestring" = xdisable; then
8386 defaultval=yes
8387 else
8388 defaultval=no
8389 fi
8390 fi
8391
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8393 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8394 # Check whether --enable-filehistory was given.
8395 if test "${enable_filehistory+set}" = set; then :
8396 enableval=$enable_filehistory;
8397 if test "$enableval" = yes; then
8398 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
8399 else
8400 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
8401 fi
8402
8403 else
8404
8405 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8406
8407 fi
8408
8409
8410 eval "$wx_cv_use_filehistory"
8411
8412 if test x"$enablestring" = xdisable; then
8413 if test $wxUSE_FILE_HISTORY = no; then
8414 result=yes
8415 else
8416 result=no
8417 fi
8418 else
8419 result=$wxUSE_FILE_HISTORY
8420 fi
8421
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8423 $as_echo "$result" >&6; }
8424
8425
8426 enablestring=
8427 defaultval=$wxUSE_ALL_FEATURES
8428 if test -z "$defaultval"; then
8429 if test x"$enablestring" = xdisable; then
8430 defaultval=yes
8431 else
8432 defaultval=no
8433 fi
8434 fi
8435
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8437 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8438 # Check whether --enable-filesystem was given.
8439 if test "${enable_filesystem+set}" = set; then :
8440 enableval=$enable_filesystem;
8441 if test "$enableval" = yes; then
8442 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8443 else
8444 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8445 fi
8446
8447 else
8448
8449 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8450
8451 fi
8452
8453
8454 eval "$wx_cv_use_filesystem"
8455
8456 if test x"$enablestring" = xdisable; then
8457 if test $wxUSE_FILESYSTEM = no; then
8458 result=yes
8459 else
8460 result=no
8461 fi
8462 else
8463 result=$wxUSE_FILESYSTEM
8464 fi
8465
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8467 $as_echo "$result" >&6; }
8468
8469
8470 enablestring=
8471 defaultval=$wxUSE_ALL_FEATURES
8472 if test -z "$defaultval"; then
8473 if test x"$enablestring" = xdisable; then
8474 defaultval=yes
8475 else
8476 defaultval=no
8477 fi
8478 fi
8479
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8481 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8482 # Check whether --enable-fontenum was given.
8483 if test "${enable_fontenum+set}" = set; then :
8484 enableval=$enable_fontenum;
8485 if test "$enableval" = yes; then
8486 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8487 else
8488 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8489 fi
8490
8491 else
8492
8493 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8494
8495 fi
8496
8497
8498 eval "$wx_cv_use_fontenum"
8499
8500 if test x"$enablestring" = xdisable; then
8501 if test $wxUSE_FONTENUM = no; then
8502 result=yes
8503 else
8504 result=no
8505 fi
8506 else
8507 result=$wxUSE_FONTENUM
8508 fi
8509
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8511 $as_echo "$result" >&6; }
8512
8513
8514 enablestring=
8515 defaultval=$wxUSE_ALL_FEATURES
8516 if test -z "$defaultval"; then
8517 if test x"$enablestring" = xdisable; then
8518 defaultval=yes
8519 else
8520 defaultval=no
8521 fi
8522 fi
8523
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8525 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8526 # Check whether --enable-fontmap was given.
8527 if test "${enable_fontmap+set}" = set; then :
8528 enableval=$enable_fontmap;
8529 if test "$enableval" = yes; then
8530 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
8531 else
8532 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
8533 fi
8534
8535 else
8536
8537 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8538
8539 fi
8540
8541
8542 eval "$wx_cv_use_fontmap"
8543
8544 if test x"$enablestring" = xdisable; then
8545 if test $wxUSE_FONTMAP = no; then
8546 result=yes
8547 else
8548 result=no
8549 fi
8550 else
8551 result=$wxUSE_FONTMAP
8552 fi
8553
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8555 $as_echo "$result" >&6; }
8556
8557
8558 enablestring=
8559 defaultval=$wxUSE_ALL_FEATURES
8560 if test -z "$defaultval"; then
8561 if test x"$enablestring" = xdisable; then
8562 defaultval=yes
8563 else
8564 defaultval=no
8565 fi
8566 fi
8567
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8569 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8570 # Check whether --enable-fs_archive was given.
8571 if test "${enable_fs_archive+set}" = set; then :
8572 enableval=$enable_fs_archive;
8573 if test "$enableval" = yes; then
8574 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8575 else
8576 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8577 fi
8578
8579 else
8580
8581 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8582
8583 fi
8584
8585
8586 eval "$wx_cv_use_fs_archive"
8587
8588 if test x"$enablestring" = xdisable; then
8589 if test $wxUSE_FS_ARCHIVE = no; then
8590 result=yes
8591 else
8592 result=no
8593 fi
8594 else
8595 result=$wxUSE_FS_ARCHIVE
8596 fi
8597
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8599 $as_echo "$result" >&6; }
8600
8601
8602 enablestring=
8603 defaultval=$wxUSE_ALL_FEATURES
8604 if test -z "$defaultval"; then
8605 if test x"$enablestring" = xdisable; then
8606 defaultval=yes
8607 else
8608 defaultval=no
8609 fi
8610 fi
8611
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8613 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8614 # Check whether --enable-fs_inet was given.
8615 if test "${enable_fs_inet+set}" = set; then :
8616 enableval=$enable_fs_inet;
8617 if test "$enableval" = yes; then
8618 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8619 else
8620 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8621 fi
8622
8623 else
8624
8625 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8626
8627 fi
8628
8629
8630 eval "$wx_cv_use_fs_inet"
8631
8632 if test x"$enablestring" = xdisable; then
8633 if test $wxUSE_FS_INET = no; then
8634 result=yes
8635 else
8636 result=no
8637 fi
8638 else
8639 result=$wxUSE_FS_INET
8640 fi
8641
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8643 $as_echo "$result" >&6; }
8644
8645
8646 enablestring=
8647 defaultval=$wxUSE_ALL_FEATURES
8648 if test -z "$defaultval"; then
8649 if test x"$enablestring" = xdisable; then
8650 defaultval=yes
8651 else
8652 defaultval=no
8653 fi
8654 fi
8655
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8657 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8658 # Check whether --enable-fs_zip was given.
8659 if test "${enable_fs_zip+set}" = set; then :
8660 enableval=$enable_fs_zip;
8661 if test "$enableval" = yes; then
8662 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
8663 else
8664 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
8665 fi
8666
8667 else
8668
8669 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8670
8671 fi
8672
8673
8674 eval "$wx_cv_use_fs_zip"
8675
8676 if test x"$enablestring" = xdisable; then
8677 if test $wxUSE_FS_ZIP = no; then
8678 result=yes
8679 else
8680 result=no
8681 fi
8682 else
8683 result=$wxUSE_FS_ZIP
8684 fi
8685
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8687 $as_echo "$result" >&6; }
8688
8689
8690 enablestring=
8691 defaultval=$wxUSE_ALL_FEATURES
8692 if test -z "$defaultval"; then
8693 if test x"$enablestring" = xdisable; then
8694 defaultval=yes
8695 else
8696 defaultval=no
8697 fi
8698 fi
8699
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fsvolume" >&5
8701 $as_echo_n "checking for --${enablestring:-enable}-fsvolume... " >&6; }
8702 # Check whether --enable-fsvolume was given.
8703 if test "${enable_fsvolume+set}" = set; then :
8704 enableval=$enable_fsvolume;
8705 if test "$enableval" = yes; then
8706 wx_cv_use_fsvolume='wxUSE_FSVOLUME=yes'
8707 else
8708 wx_cv_use_fsvolume='wxUSE_FSVOLUME=no'
8709 fi
8710
8711 else
8712
8713 wx_cv_use_fsvolume='wxUSE_FSVOLUME=${'DEFAULT_wxUSE_FSVOLUME":-$defaultval}"
8714
8715 fi
8716
8717
8718 eval "$wx_cv_use_fsvolume"
8719
8720 if test x"$enablestring" = xdisable; then
8721 if test $wxUSE_FSVOLUME = no; then
8722 result=yes
8723 else
8724 result=no
8725 fi
8726 else
8727 result=$wxUSE_FSVOLUME
8728 fi
8729
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8731 $as_echo "$result" >&6; }
8732
8733
8734 enablestring=
8735 defaultval=$wxUSE_ALL_FEATURES
8736 if test -z "$defaultval"; then
8737 if test x"$enablestring" = xdisable; then
8738 defaultval=yes
8739 else
8740 defaultval=no
8741 fi
8742 fi
8743
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8745 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8746 # Check whether --enable-fswatcher was given.
8747 if test "${enable_fswatcher+set}" = set; then :
8748 enableval=$enable_fswatcher;
8749 if test "$enableval" = yes; then
8750 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8751 else
8752 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8753 fi
8754
8755 else
8756
8757 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8758
8759 fi
8760
8761
8762 eval "$wx_cv_use_fswatcher"
8763
8764 if test x"$enablestring" = xdisable; then
8765 if test $wxUSE_FSWATCHER = no; then
8766 result=yes
8767 else
8768 result=no
8769 fi
8770 else
8771 result=$wxUSE_FSWATCHER
8772 fi
8773
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8775 $as_echo "$result" >&6; }
8776
8777
8778 enablestring=
8779 defaultval=$wxUSE_ALL_FEATURES
8780 if test -z "$defaultval"; then
8781 if test x"$enablestring" = xdisable; then
8782 defaultval=yes
8783 else
8784 defaultval=no
8785 fi
8786 fi
8787
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8789 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8790 # Check whether --enable-geometry was given.
8791 if test "${enable_geometry+set}" = set; then :
8792 enableval=$enable_geometry;
8793 if test "$enableval" = yes; then
8794 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8795 else
8796 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8797 fi
8798
8799 else
8800
8801 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8802
8803 fi
8804
8805
8806 eval "$wx_cv_use_geometry"
8807
8808 if test x"$enablestring" = xdisable; then
8809 if test $wxUSE_GEOMETRY = no; then
8810 result=yes
8811 else
8812 result=no
8813 fi
8814 else
8815 result=$wxUSE_GEOMETRY
8816 fi
8817
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8819 $as_echo "$result" >&6; }
8820
8821
8822 enablestring=
8823 defaultval=$wxUSE_ALL_FEATURES
8824 if test -z "$defaultval"; then
8825 if test x"$enablestring" = xdisable; then
8826 defaultval=yes
8827 else
8828 defaultval=no
8829 fi
8830 fi
8831
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8833 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8834 # Check whether --enable-log was given.
8835 if test "${enable_log+set}" = set; then :
8836 enableval=$enable_log;
8837 if test "$enableval" = yes; then
8838 wx_cv_use_log='wxUSE_LOG=yes'
8839 else
8840 wx_cv_use_log='wxUSE_LOG=no'
8841 fi
8842
8843 else
8844
8845 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8846
8847 fi
8848
8849
8850 eval "$wx_cv_use_log"
8851
8852 if test x"$enablestring" = xdisable; then
8853 if test $wxUSE_LOG = no; then
8854 result=yes
8855 else
8856 result=no
8857 fi
8858 else
8859 result=$wxUSE_LOG
8860 fi
8861
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8863 $as_echo "$result" >&6; }
8864
8865
8866 enablestring=
8867 defaultval=$wxUSE_ALL_FEATURES
8868 if test -z "$defaultval"; then
8869 if test x"$enablestring" = xdisable; then
8870 defaultval=yes
8871 else
8872 defaultval=no
8873 fi
8874 fi
8875
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8877 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8878 # Check whether --enable-longlong was given.
8879 if test "${enable_longlong+set}" = set; then :
8880 enableval=$enable_longlong;
8881 if test "$enableval" = yes; then
8882 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8883 else
8884 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8885 fi
8886
8887 else
8888
8889 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8890
8891 fi
8892
8893
8894 eval "$wx_cv_use_longlong"
8895
8896 if test x"$enablestring" = xdisable; then
8897 if test $wxUSE_LONGLONG = no; then
8898 result=yes
8899 else
8900 result=no
8901 fi
8902 else
8903 result=$wxUSE_LONGLONG
8904 fi
8905
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8907 $as_echo "$result" >&6; }
8908
8909
8910 enablestring=
8911 defaultval=$wxUSE_ALL_FEATURES
8912 if test -z "$defaultval"; then
8913 if test x"$enablestring" = xdisable; then
8914 defaultval=yes
8915 else
8916 defaultval=no
8917 fi
8918 fi
8919
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8921 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8922 # Check whether --enable-mimetype was given.
8923 if test "${enable_mimetype+set}" = set; then :
8924 enableval=$enable_mimetype;
8925 if test "$enableval" = yes; then
8926 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8927 else
8928 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8929 fi
8930
8931 else
8932
8933 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8934
8935 fi
8936
8937
8938 eval "$wx_cv_use_mimetype"
8939
8940 if test x"$enablestring" = xdisable; then
8941 if test $wxUSE_MIMETYPE = no; then
8942 result=yes
8943 else
8944 result=no
8945 fi
8946 else
8947 result=$wxUSE_MIMETYPE
8948 fi
8949
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8951 $as_echo "$result" >&6; }
8952
8953
8954 enablestring=
8955 defaultval=$wxUSE_ALL_FEATURES
8956 if test -z "$defaultval"; then
8957 if test x"$enablestring" = xdisable; then
8958 defaultval=yes
8959 else
8960 defaultval=no
8961 fi
8962 fi
8963
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8965 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8966 # Check whether --enable-printfposparam was given.
8967 if test "${enable_printfposparam+set}" = set; then :
8968 enableval=$enable_printfposparam;
8969 if test "$enableval" = yes; then
8970 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8971 else
8972 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8973 fi
8974
8975 else
8976
8977 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8978
8979 fi
8980
8981
8982 eval "$wx_cv_use_printfposparam"
8983
8984 if test x"$enablestring" = xdisable; then
8985 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8986 result=yes
8987 else
8988 result=no
8989 fi
8990 else
8991 result=$wxUSE_PRINTF_POS_PARAMS
8992 fi
8993
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8995 $as_echo "$result" >&6; }
8996
8997
8998 enablestring=
8999 defaultval=$wxUSE_ALL_FEATURES
9000 if test -z "$defaultval"; then
9001 if test x"$enablestring" = xdisable; then
9002 defaultval=yes
9003 else
9004 defaultval=no
9005 fi
9006 fi
9007
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
9009 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
9010 # Check whether --enable-snglinst was given.
9011 if test "${enable_snglinst+set}" = set; then :
9012 enableval=$enable_snglinst;
9013 if test "$enableval" = yes; then
9014 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
9015 else
9016 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
9017 fi
9018
9019 else
9020
9021 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
9022
9023 fi
9024
9025
9026 eval "$wx_cv_use_snglinst"
9027
9028 if test x"$enablestring" = xdisable; then
9029 if test $wxUSE_SNGLINST_CHECKER = no; then
9030 result=yes
9031 else
9032 result=no
9033 fi
9034 else
9035 result=$wxUSE_SNGLINST_CHECKER
9036 fi
9037
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9039 $as_echo "$result" >&6; }
9040
9041
9042 enablestring=
9043 defaultval=$wxUSE_ALL_FEATURES
9044 if test -z "$defaultval"; then
9045 if test x"$enablestring" = xdisable; then
9046 defaultval=yes
9047 else
9048 defaultval=no
9049 fi
9050 fi
9051
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
9053 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
9054 # Check whether --enable-sound was given.
9055 if test "${enable_sound+set}" = set; then :
9056 enableval=$enable_sound;
9057 if test "$enableval" = yes; then
9058 wx_cv_use_sound='wxUSE_SOUND=yes'
9059 else
9060 wx_cv_use_sound='wxUSE_SOUND=no'
9061 fi
9062
9063 else
9064
9065 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
9066
9067 fi
9068
9069
9070 eval "$wx_cv_use_sound"
9071
9072 if test x"$enablestring" = xdisable; then
9073 if test $wxUSE_SOUND = no; then
9074 result=yes
9075 else
9076 result=no
9077 fi
9078 else
9079 result=$wxUSE_SOUND
9080 fi
9081
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9083 $as_echo "$result" >&6; }
9084
9085
9086 enablestring=
9087 defaultval=$wxUSE_ALL_FEATURES
9088 if test -z "$defaultval"; then
9089 if test x"$enablestring" = xdisable; then
9090 defaultval=yes
9091 else
9092 defaultval=no
9093 fi
9094 fi
9095
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
9097 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
9098 # Check whether --enable-stdpaths was given.
9099 if test "${enable_stdpaths+set}" = set; then :
9100 enableval=$enable_stdpaths;
9101 if test "$enableval" = yes; then
9102 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
9103 else
9104 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
9105 fi
9106
9107 else
9108
9109 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
9110
9111 fi
9112
9113
9114 eval "$wx_cv_use_stdpaths"
9115
9116 if test x"$enablestring" = xdisable; then
9117 if test $wxUSE_STDPATHS = no; then
9118 result=yes
9119 else
9120 result=no
9121 fi
9122 else
9123 result=$wxUSE_STDPATHS
9124 fi
9125
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9127 $as_echo "$result" >&6; }
9128
9129
9130 enablestring=
9131 defaultval=$wxUSE_ALL_FEATURES
9132 if test -z "$defaultval"; then
9133 if test x"$enablestring" = xdisable; then
9134 defaultval=yes
9135 else
9136 defaultval=no
9137 fi
9138 fi
9139
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
9141 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
9142 # Check whether --enable-stopwatch was given.
9143 if test "${enable_stopwatch+set}" = set; then :
9144 enableval=$enable_stopwatch;
9145 if test "$enableval" = yes; then
9146 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
9147 else
9148 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
9149 fi
9150
9151 else
9152
9153 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
9154
9155 fi
9156
9157
9158 eval "$wx_cv_use_stopwatch"
9159
9160 if test x"$enablestring" = xdisable; then
9161 if test $wxUSE_STOPWATCH = no; then
9162 result=yes
9163 else
9164 result=no
9165 fi
9166 else
9167 result=$wxUSE_STOPWATCH
9168 fi
9169
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9171 $as_echo "$result" >&6; }
9172
9173
9174 enablestring=
9175 defaultval=$wxUSE_ALL_FEATURES
9176 if test -z "$defaultval"; then
9177 if test x"$enablestring" = xdisable; then
9178 defaultval=yes
9179 else
9180 defaultval=no
9181 fi
9182 fi
9183
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9185 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9186 # Check whether --enable-streams was given.
9187 if test "${enable_streams+set}" = set; then :
9188 enableval=$enable_streams;
9189 if test "$enableval" = yes; then
9190 wx_cv_use_streams='wxUSE_STREAMS=yes'
9191 else
9192 wx_cv_use_streams='wxUSE_STREAMS=no'
9193 fi
9194
9195 else
9196
9197 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9198
9199 fi
9200
9201
9202 eval "$wx_cv_use_streams"
9203
9204 if test x"$enablestring" = xdisable; then
9205 if test $wxUSE_STREAMS = no; then
9206 result=yes
9207 else
9208 result=no
9209 fi
9210 else
9211 result=$wxUSE_STREAMS
9212 fi
9213
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9215 $as_echo "$result" >&6; }
9216
9217
9218 enablestring=
9219 defaultval=$wxUSE_ALL_FEATURES
9220 if test -z "$defaultval"; then
9221 if test x"$enablestring" = xdisable; then
9222 defaultval=yes
9223 else
9224 defaultval=no
9225 fi
9226 fi
9227
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9229 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9230 # Check whether --enable-sysoptions was given.
9231 if test "${enable_sysoptions+set}" = set; then :
9232 enableval=$enable_sysoptions;
9233 if test "$enableval" = yes; then
9234 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9235 else
9236 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9237 fi
9238
9239 else
9240
9241 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9242
9243 fi
9244
9245
9246 eval "$wx_cv_use_sysoptions"
9247
9248 if test x"$enablestring" = xdisable; then
9249 if test $wxUSE_SYSTEM_OPTIONS = no; then
9250 result=yes
9251 else
9252 result=no
9253 fi
9254 else
9255 result=$wxUSE_SYSTEM_OPTIONS
9256 fi
9257
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9259 $as_echo "$result" >&6; }
9260
9261
9262 enablestring=
9263 defaultval=$wxUSE_ALL_FEATURES
9264 if test -z "$defaultval"; then
9265 if test x"$enablestring" = xdisable; then
9266 defaultval=yes
9267 else
9268 defaultval=no
9269 fi
9270 fi
9271
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9273 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9274 # Check whether --enable-tarstream was given.
9275 if test "${enable_tarstream+set}" = set; then :
9276 enableval=$enable_tarstream;
9277 if test "$enableval" = yes; then
9278 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9279 else
9280 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9281 fi
9282
9283 else
9284
9285 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9286
9287 fi
9288
9289
9290 eval "$wx_cv_use_tarstream"
9291
9292 if test x"$enablestring" = xdisable; then
9293 if test $wxUSE_TARSTREAM = no; then
9294 result=yes
9295 else
9296 result=no
9297 fi
9298 else
9299 result=$wxUSE_TARSTREAM
9300 fi
9301
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9303 $as_echo "$result" >&6; }
9304
9305
9306 enablestring=
9307 defaultval=$wxUSE_ALL_FEATURES
9308 if test -z "$defaultval"; then
9309 if test x"$enablestring" = xdisable; then
9310 defaultval=yes
9311 else
9312 defaultval=no
9313 fi
9314 fi
9315
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9317 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9318 # Check whether --enable-textbuf was given.
9319 if test "${enable_textbuf+set}" = set; then :
9320 enableval=$enable_textbuf;
9321 if test "$enableval" = yes; then
9322 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9323 else
9324 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9325 fi
9326
9327 else
9328
9329 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9330
9331 fi
9332
9333
9334 eval "$wx_cv_use_textbuf"
9335
9336 if test x"$enablestring" = xdisable; then
9337 if test $wxUSE_TEXTBUFFER = no; then
9338 result=yes
9339 else
9340 result=no
9341 fi
9342 else
9343 result=$wxUSE_TEXTBUFFER
9344 fi
9345
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9347 $as_echo "$result" >&6; }
9348
9349
9350 enablestring=
9351 defaultval=$wxUSE_ALL_FEATURES
9352 if test -z "$defaultval"; then
9353 if test x"$enablestring" = xdisable; then
9354 defaultval=yes
9355 else
9356 defaultval=no
9357 fi
9358 fi
9359
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9361 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9362 # Check whether --enable-textfile was given.
9363 if test "${enable_textfile+set}" = set; then :
9364 enableval=$enable_textfile;
9365 if test "$enableval" = yes; then
9366 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9367 else
9368 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9369 fi
9370
9371 else
9372
9373 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9374
9375 fi
9376
9377
9378 eval "$wx_cv_use_textfile"
9379
9380 if test x"$enablestring" = xdisable; then
9381 if test $wxUSE_TEXTFILE = no; then
9382 result=yes
9383 else
9384 result=no
9385 fi
9386 else
9387 result=$wxUSE_TEXTFILE
9388 fi
9389
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9391 $as_echo "$result" >&6; }
9392
9393
9394 enablestring=
9395 defaultval=$wxUSE_ALL_FEATURES
9396 if test -z "$defaultval"; then
9397 if test x"$enablestring" = xdisable; then
9398 defaultval=yes
9399 else
9400 defaultval=no
9401 fi
9402 fi
9403
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9405 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9406 # Check whether --enable-timer was given.
9407 if test "${enable_timer+set}" = set; then :
9408 enableval=$enable_timer;
9409 if test "$enableval" = yes; then
9410 wx_cv_use_timer='wxUSE_TIMER=yes'
9411 else
9412 wx_cv_use_timer='wxUSE_TIMER=no'
9413 fi
9414
9415 else
9416
9417 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9418
9419 fi
9420
9421
9422 eval "$wx_cv_use_timer"
9423
9424 if test x"$enablestring" = xdisable; then
9425 if test $wxUSE_TIMER = no; then
9426 result=yes
9427 else
9428 result=no
9429 fi
9430 else
9431 result=$wxUSE_TIMER
9432 fi
9433
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9435 $as_echo "$result" >&6; }
9436
9437
9438 enablestring=
9439 defaultval=$wxUSE_ALL_FEATURES
9440 if test -z "$defaultval"; then
9441 if test x"$enablestring" = xdisable; then
9442 defaultval=yes
9443 else
9444 defaultval=no
9445 fi
9446 fi
9447
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9449 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9450 # Check whether --enable-variant was given.
9451 if test "${enable_variant+set}" = set; then :
9452 enableval=$enable_variant;
9453 if test "$enableval" = yes; then
9454 wx_cv_use_variant='wxUSE_VARIANT=yes'
9455 else
9456 wx_cv_use_variant='wxUSE_VARIANT=no'
9457 fi
9458
9459 else
9460
9461 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9462
9463 fi
9464
9465
9466 eval "$wx_cv_use_variant"
9467
9468 if test x"$enablestring" = xdisable; then
9469 if test $wxUSE_VARIANT = no; then
9470 result=yes
9471 else
9472 result=no
9473 fi
9474 else
9475 result=$wxUSE_VARIANT
9476 fi
9477
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9479 $as_echo "$result" >&6; }
9480
9481
9482 enablestring=
9483 defaultval=$wxUSE_ALL_FEATURES
9484 if test -z "$defaultval"; then
9485 if test x"$enablestring" = xdisable; then
9486 defaultval=yes
9487 else
9488 defaultval=no
9489 fi
9490 fi
9491
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9493 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9494 # Check whether --enable-zipstream was given.
9495 if test "${enable_zipstream+set}" = set; then :
9496 enableval=$enable_zipstream;
9497 if test "$enableval" = yes; then
9498 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9499 else
9500 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9501 fi
9502
9503 else
9504
9505 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9506
9507 fi
9508
9509
9510 eval "$wx_cv_use_zipstream"
9511
9512 if test x"$enablestring" = xdisable; then
9513 if test $wxUSE_ZIPSTREAM = no; then
9514 result=yes
9515 else
9516 result=no
9517 fi
9518 else
9519 result=$wxUSE_ZIPSTREAM
9520 fi
9521
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9523 $as_echo "$result" >&6; }
9524
9525
9526
9527 enablestring=
9528 defaultval=$wxUSE_ALL_FEATURES
9529 if test -z "$defaultval"; then
9530 if test x"$enablestring" = xdisable; then
9531 defaultval=yes
9532 else
9533 defaultval=no
9534 fi
9535 fi
9536
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9538 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9539 # Check whether --enable-url was given.
9540 if test "${enable_url+set}" = set; then :
9541 enableval=$enable_url;
9542 if test "$enableval" = yes; then
9543 wx_cv_use_url='wxUSE_URL=yes'
9544 else
9545 wx_cv_use_url='wxUSE_URL=no'
9546 fi
9547
9548 else
9549
9550 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9551
9552 fi
9553
9554
9555 eval "$wx_cv_use_url"
9556
9557 if test x"$enablestring" = xdisable; then
9558 if test $wxUSE_URL = no; then
9559 result=yes
9560 else
9561 result=no
9562 fi
9563 else
9564 result=$wxUSE_URL
9565 fi
9566
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9568 $as_echo "$result" >&6; }
9569
9570
9571 enablestring=
9572 defaultval=$wxUSE_ALL_FEATURES
9573 if test -z "$defaultval"; then
9574 if test x"$enablestring" = xdisable; then
9575 defaultval=yes
9576 else
9577 defaultval=no
9578 fi
9579 fi
9580
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9582 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9583 # Check whether --enable-protocol was given.
9584 if test "${enable_protocol+set}" = set; then :
9585 enableval=$enable_protocol;
9586 if test "$enableval" = yes; then
9587 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9588 else
9589 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9590 fi
9591
9592 else
9593
9594 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9595
9596 fi
9597
9598
9599 eval "$wx_cv_use_protocol"
9600
9601 if test x"$enablestring" = xdisable; then
9602 if test $wxUSE_PROTOCOL = no; then
9603 result=yes
9604 else
9605 result=no
9606 fi
9607 else
9608 result=$wxUSE_PROTOCOL
9609 fi
9610
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9612 $as_echo "$result" >&6; }
9613
9614
9615 enablestring=
9616 defaultval=$wxUSE_ALL_FEATURES
9617 if test -z "$defaultval"; then
9618 if test x"$enablestring" = xdisable; then
9619 defaultval=yes
9620 else
9621 defaultval=no
9622 fi
9623 fi
9624
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9626 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9627 # Check whether --enable-protocol_http was given.
9628 if test "${enable_protocol_http+set}" = set; then :
9629 enableval=$enable_protocol_http;
9630 if test "$enableval" = yes; then
9631 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9632 else
9633 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9634 fi
9635
9636 else
9637
9638 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9639
9640 fi
9641
9642
9643 eval "$wx_cv_use_protocol_http"
9644
9645 if test x"$enablestring" = xdisable; then
9646 if test $wxUSE_PROTOCOL_HTTP = no; then
9647 result=yes
9648 else
9649 result=no
9650 fi
9651 else
9652 result=$wxUSE_PROTOCOL_HTTP
9653 fi
9654
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9656 $as_echo "$result" >&6; }
9657
9658
9659 enablestring=
9660 defaultval=$wxUSE_ALL_FEATURES
9661 if test -z "$defaultval"; then
9662 if test x"$enablestring" = xdisable; then
9663 defaultval=yes
9664 else
9665 defaultval=no
9666 fi
9667 fi
9668
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9670 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9671 # Check whether --enable-protocol_ftp was given.
9672 if test "${enable_protocol_ftp+set}" = set; then :
9673 enableval=$enable_protocol_ftp;
9674 if test "$enableval" = yes; then
9675 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9676 else
9677 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9678 fi
9679
9680 else
9681
9682 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9683
9684 fi
9685
9686
9687 eval "$wx_cv_use_protocol_ftp"
9688
9689 if test x"$enablestring" = xdisable; then
9690 if test $wxUSE_PROTOCOL_FTP = no; then
9691 result=yes
9692 else
9693 result=no
9694 fi
9695 else
9696 result=$wxUSE_PROTOCOL_FTP
9697 fi
9698
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9700 $as_echo "$result" >&6; }
9701
9702
9703 enablestring=
9704 defaultval=$wxUSE_ALL_FEATURES
9705 if test -z "$defaultval"; then
9706 if test x"$enablestring" = xdisable; then
9707 defaultval=yes
9708 else
9709 defaultval=no
9710 fi
9711 fi
9712
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9714 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9715 # Check whether --enable-protocol_file was given.
9716 if test "${enable_protocol_file+set}" = set; then :
9717 enableval=$enable_protocol_file;
9718 if test "$enableval" = yes; then
9719 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9720 else
9721 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9722 fi
9723
9724 else
9725
9726 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9727
9728 fi
9729
9730
9731 eval "$wx_cv_use_protocol_file"
9732
9733 if test x"$enablestring" = xdisable; then
9734 if test $wxUSE_PROTOCOL_FILE = no; then
9735 result=yes
9736 else
9737 result=no
9738 fi
9739 else
9740 result=$wxUSE_PROTOCOL_FILE
9741 fi
9742
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9744 $as_echo "$result" >&6; }
9745
9746
9747
9748 enablestring=
9749 defaultval=$wxUSE_ALL_FEATURES
9750 if test -z "$defaultval"; then
9751 if test x"$enablestring" = xdisable; then
9752 defaultval=yes
9753 else
9754 defaultval=no
9755 fi
9756 fi
9757
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9759 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9760 # Check whether --enable-threads was given.
9761 if test "${enable_threads+set}" = set; then :
9762 enableval=$enable_threads;
9763 if test "$enableval" = yes; then
9764 wx_cv_use_threads='wxUSE_THREADS=yes'
9765 else
9766 wx_cv_use_threads='wxUSE_THREADS=no'
9767 fi
9768
9769 else
9770
9771 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9772
9773 fi
9774
9775
9776 eval "$wx_cv_use_threads"
9777
9778 if test x"$enablestring" = xdisable; then
9779 if test $wxUSE_THREADS = no; then
9780 result=yes
9781 else
9782 result=no
9783 fi
9784 else
9785 result=$wxUSE_THREADS
9786 fi
9787
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9789 $as_echo "$result" >&6; }
9790
9791
9792
9793 enablestring=
9794 defaultval=
9795 if test -z "$defaultval"; then
9796 if test x"$enablestring" = xdisable; then
9797 defaultval=yes
9798 else
9799 defaultval=no
9800 fi
9801 fi
9802
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9804 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9805 # Check whether --enable-iniconf was given.
9806 if test "${enable_iniconf+set}" = set; then :
9807 enableval=$enable_iniconf;
9808 if test "$enableval" = yes; then
9809 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9810 else
9811 wx_cv_use_iniconf='wxUSE_INICONF=no'
9812 fi
9813
9814 else
9815
9816 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9817
9818 fi
9819
9820
9821 eval "$wx_cv_use_iniconf"
9822
9823 if test x"$enablestring" = xdisable; then
9824 if test $wxUSE_INICONF = no; then
9825 result=yes
9826 else
9827 result=no
9828 fi
9829 else
9830 result=$wxUSE_INICONF
9831 fi
9832
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9834 $as_echo "$result" >&6; }
9835
9836
9837 enablestring=
9838 defaultval=$wxUSE_ALL_FEATURES
9839 if test -z "$defaultval"; then
9840 if test x"$enablestring" = xdisable; then
9841 defaultval=yes
9842 else
9843 defaultval=no
9844 fi
9845 fi
9846
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9848 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9849 # Check whether --enable-regkey was given.
9850 if test "${enable_regkey+set}" = set; then :
9851 enableval=$enable_regkey;
9852 if test "$enableval" = yes; then
9853 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9854 else
9855 wx_cv_use_regkey='wxUSE_REGKEY=no'
9856 fi
9857
9858 else
9859
9860 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9861
9862 fi
9863
9864
9865 eval "$wx_cv_use_regkey"
9866
9867 if test x"$enablestring" = xdisable; then
9868 if test $wxUSE_REGKEY = no; then
9869 result=yes
9870 else
9871 result=no
9872 fi
9873 else
9874 result=$wxUSE_REGKEY
9875 fi
9876
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9878 $as_echo "$result" >&6; }
9879
9880
9881 if test "$wxUSE_GUI" = "yes"; then
9882
9883
9884
9885 enablestring=
9886 defaultval=$wxUSE_ALL_FEATURES
9887 if test -z "$defaultval"; then
9888 if test x"$enablestring" = xdisable; then
9889 defaultval=yes
9890 else
9891 defaultval=no
9892 fi
9893 fi
9894
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9896 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9897 # Check whether --enable-docview was given.
9898 if test "${enable_docview+set}" = set; then :
9899 enableval=$enable_docview;
9900 if test "$enableval" = yes; then
9901 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9902 else
9903 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9904 fi
9905
9906 else
9907
9908 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9909
9910 fi
9911
9912
9913 eval "$wx_cv_use_docview"
9914
9915 if test x"$enablestring" = xdisable; then
9916 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9917 result=yes
9918 else
9919 result=no
9920 fi
9921 else
9922 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9923 fi
9924
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9926 $as_echo "$result" >&6; }
9927
9928
9929 enablestring=
9930 defaultval=$wxUSE_ALL_FEATURES
9931 if test -z "$defaultval"; then
9932 if test x"$enablestring" = xdisable; then
9933 defaultval=yes
9934 else
9935 defaultval=no
9936 fi
9937 fi
9938
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9940 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9941 # Check whether --enable-help was given.
9942 if test "${enable_help+set}" = set; then :
9943 enableval=$enable_help;
9944 if test "$enableval" = yes; then
9945 wx_cv_use_help='wxUSE_HELP=yes'
9946 else
9947 wx_cv_use_help='wxUSE_HELP=no'
9948 fi
9949
9950 else
9951
9952 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9953
9954 fi
9955
9956
9957 eval "$wx_cv_use_help"
9958
9959 if test x"$enablestring" = xdisable; then
9960 if test $wxUSE_HELP = no; then
9961 result=yes
9962 else
9963 result=no
9964 fi
9965 else
9966 result=$wxUSE_HELP
9967 fi
9968
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9970 $as_echo "$result" >&6; }
9971
9972
9973 enablestring=
9974 defaultval=$wxUSE_ALL_FEATURES
9975 if test -z "$defaultval"; then
9976 if test x"$enablestring" = xdisable; then
9977 defaultval=yes
9978 else
9979 defaultval=no
9980 fi
9981 fi
9982
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9984 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9985 # Check whether --enable-mshtmlhelp was given.
9986 if test "${enable_mshtmlhelp+set}" = set; then :
9987 enableval=$enable_mshtmlhelp;
9988 if test "$enableval" = yes; then
9989 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9990 else
9991 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9992 fi
9993
9994 else
9995
9996 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9997
9998 fi
9999
10000
10001 eval "$wx_cv_use_mshtmlhelp"
10002
10003 if test x"$enablestring" = xdisable; then
10004 if test $wxUSE_MS_HTML_HELP = no; then
10005 result=yes
10006 else
10007 result=no
10008 fi
10009 else
10010 result=$wxUSE_MS_HTML_HELP
10011 fi
10012
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10014 $as_echo "$result" >&6; }
10015
10016
10017 enablestring=
10018 defaultval=$wxUSE_ALL_FEATURES
10019 if test -z "$defaultval"; then
10020 if test x"$enablestring" = xdisable; then
10021 defaultval=yes
10022 else
10023 defaultval=no
10024 fi
10025 fi
10026
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
10028 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
10029 # Check whether --enable-html was given.
10030 if test "${enable_html+set}" = set; then :
10031 enableval=$enable_html;
10032 if test "$enableval" = yes; then
10033 wx_cv_use_html='wxUSE_HTML=yes'
10034 else
10035 wx_cv_use_html='wxUSE_HTML=no'
10036 fi
10037
10038 else
10039
10040 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
10041
10042 fi
10043
10044
10045 eval "$wx_cv_use_html"
10046
10047 if test x"$enablestring" = xdisable; then
10048 if test $wxUSE_HTML = no; then
10049 result=yes
10050 else
10051 result=no
10052 fi
10053 else
10054 result=$wxUSE_HTML
10055 fi
10056
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10058 $as_echo "$result" >&6; }
10059
10060
10061 enablestring=
10062 defaultval=$wxUSE_ALL_FEATURES
10063 if test -z "$defaultval"; then
10064 if test x"$enablestring" = xdisable; then
10065 defaultval=yes
10066 else
10067 defaultval=no
10068 fi
10069 fi
10070
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
10072 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
10073 # Check whether --enable-htmlhelp was given.
10074 if test "${enable_htmlhelp+set}" = set; then :
10075 enableval=$enable_htmlhelp;
10076 if test "$enableval" = yes; then
10077 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
10078 else
10079 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
10080 fi
10081
10082 else
10083
10084 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
10085
10086 fi
10087
10088
10089 eval "$wx_cv_use_htmlhelp"
10090
10091 if test x"$enablestring" = xdisable; then
10092 if test $wxUSE_WXHTML_HELP = no; then
10093 result=yes
10094 else
10095 result=no
10096 fi
10097 else
10098 result=$wxUSE_WXHTML_HELP
10099 fi
10100
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10102 $as_echo "$result" >&6; }
10103
10104
10105 enablestring=
10106 defaultval=$wxUSE_ALL_FEATURES
10107 if test -z "$defaultval"; then
10108 if test x"$enablestring" = xdisable; then
10109 defaultval=yes
10110 else
10111 defaultval=no
10112 fi
10113 fi
10114
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
10116 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
10117 # Check whether --enable-xrc was given.
10118 if test "${enable_xrc+set}" = set; then :
10119 enableval=$enable_xrc;
10120 if test "$enableval" = yes; then
10121 wx_cv_use_xrc='wxUSE_XRC=yes'
10122 else
10123 wx_cv_use_xrc='wxUSE_XRC=no'
10124 fi
10125
10126 else
10127
10128 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
10129
10130 fi
10131
10132
10133 eval "$wx_cv_use_xrc"
10134
10135 if test x"$enablestring" = xdisable; then
10136 if test $wxUSE_XRC = no; then
10137 result=yes
10138 else
10139 result=no
10140 fi
10141 else
10142 result=$wxUSE_XRC
10143 fi
10144
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10146 $as_echo "$result" >&6; }
10147
10148
10149 enablestring=
10150 defaultval=$wxUSE_ALL_FEATURES
10151 if test -z "$defaultval"; then
10152 if test x"$enablestring" = xdisable; then
10153 defaultval=yes
10154 else
10155 defaultval=no
10156 fi
10157 fi
10158
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
10160 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
10161 # Check whether --enable-aui was given.
10162 if test "${enable_aui+set}" = set; then :
10163 enableval=$enable_aui;
10164 if test "$enableval" = yes; then
10165 wx_cv_use_aui='wxUSE_AUI=yes'
10166 else
10167 wx_cv_use_aui='wxUSE_AUI=no'
10168 fi
10169
10170 else
10171
10172 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10173
10174 fi
10175
10176
10177 eval "$wx_cv_use_aui"
10178
10179 if test x"$enablestring" = xdisable; then
10180 if test $wxUSE_AUI = no; then
10181 result=yes
10182 else
10183 result=no
10184 fi
10185 else
10186 result=$wxUSE_AUI
10187 fi
10188
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10190 $as_echo "$result" >&6; }
10191
10192
10193 enablestring=
10194 defaultval=$wxUSE_ALL_FEATURES
10195 if test -z "$defaultval"; then
10196 if test x"$enablestring" = xdisable; then
10197 defaultval=yes
10198 else
10199 defaultval=no
10200 fi
10201 fi
10202
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10204 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10205 # Check whether --enable-propgrid was given.
10206 if test "${enable_propgrid+set}" = set; then :
10207 enableval=$enable_propgrid;
10208 if test "$enableval" = yes; then
10209 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10210 else
10211 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10212 fi
10213
10214 else
10215
10216 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10217
10218 fi
10219
10220
10221 eval "$wx_cv_use_propgrid"
10222
10223 if test x"$enablestring" = xdisable; then
10224 if test $wxUSE_PROPGRID = no; then
10225 result=yes
10226 else
10227 result=no
10228 fi
10229 else
10230 result=$wxUSE_PROPGRID
10231 fi
10232
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10234 $as_echo "$result" >&6; }
10235
10236
10237 enablestring=
10238 defaultval=$wxUSE_ALL_FEATURES
10239 if test -z "$defaultval"; then
10240 if test x"$enablestring" = xdisable; then
10241 defaultval=yes
10242 else
10243 defaultval=no
10244 fi
10245 fi
10246
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10248 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10249 # Check whether --enable-ribbon was given.
10250 if test "${enable_ribbon+set}" = set; then :
10251 enableval=$enable_ribbon;
10252 if test "$enableval" = yes; then
10253 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10254 else
10255 wx_cv_use_ribbon='wxUSE_RIBBON=no'
10256 fi
10257
10258 else
10259
10260 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10261
10262 fi
10263
10264
10265 eval "$wx_cv_use_ribbon"
10266
10267 if test x"$enablestring" = xdisable; then
10268 if test $wxUSE_RIBBON = no; then
10269 result=yes
10270 else
10271 result=no
10272 fi
10273 else
10274 result=$wxUSE_RIBBON
10275 fi
10276
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10278 $as_echo "$result" >&6; }
10279
10280
10281 enablestring=
10282 defaultval=$wxUSE_ALL_FEATURES
10283 if test -z "$defaultval"; then
10284 if test x"$enablestring" = xdisable; then
10285 defaultval=yes
10286 else
10287 defaultval=no
10288 fi
10289 fi
10290
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10292 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10293 # Check whether --enable-stc was given.
10294 if test "${enable_stc+set}" = set; then :
10295 enableval=$enable_stc;
10296 if test "$enableval" = yes; then
10297 wx_cv_use_stc='wxUSE_STC=yes'
10298 else
10299 wx_cv_use_stc='wxUSE_STC=no'
10300 fi
10301
10302 else
10303
10304 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10305
10306 fi
10307
10308
10309 eval "$wx_cv_use_stc"
10310
10311 if test x"$enablestring" = xdisable; then
10312 if test $wxUSE_STC = no; then
10313 result=yes
10314 else
10315 result=no
10316 fi
10317 else
10318 result=$wxUSE_STC
10319 fi
10320
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10322 $as_echo "$result" >&6; }
10323
10324
10325 enablestring=
10326 defaultval=$wxUSE_ALL_FEATURES
10327 if test -z "$defaultval"; then
10328 if test x"$enablestring" = xdisable; then
10329 defaultval=yes
10330 else
10331 defaultval=no
10332 fi
10333 fi
10334
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10336 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10337 # Check whether --enable-constraints was given.
10338 if test "${enable_constraints+set}" = set; then :
10339 enableval=$enable_constraints;
10340 if test "$enableval" = yes; then
10341 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10342 else
10343 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10344 fi
10345
10346 else
10347
10348 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10349
10350 fi
10351
10352
10353 eval "$wx_cv_use_constraints"
10354
10355 if test x"$enablestring" = xdisable; then
10356 if test $wxUSE_CONSTRAINTS = no; then
10357 result=yes
10358 else
10359 result=no
10360 fi
10361 else
10362 result=$wxUSE_CONSTRAINTS
10363 fi
10364
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10366 $as_echo "$result" >&6; }
10367
10368
10369 enablestring=
10370 defaultval=$wxUSE_ALL_FEATURES
10371 if test -z "$defaultval"; then
10372 if test x"$enablestring" = xdisable; then
10373 defaultval=yes
10374 else
10375 defaultval=no
10376 fi
10377 fi
10378
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10380 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10381 # Check whether --enable-loggui was given.
10382 if test "${enable_loggui+set}" = set; then :
10383 enableval=$enable_loggui;
10384 if test "$enableval" = yes; then
10385 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10386 else
10387 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10388 fi
10389
10390 else
10391
10392 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10393
10394 fi
10395
10396
10397 eval "$wx_cv_use_loggui"
10398
10399 if test x"$enablestring" = xdisable; then
10400 if test $wxUSE_LOGGUI = no; then
10401 result=yes
10402 else
10403 result=no
10404 fi
10405 else
10406 result=$wxUSE_LOGGUI
10407 fi
10408
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10410 $as_echo "$result" >&6; }
10411
10412
10413 enablestring=
10414 defaultval=$wxUSE_ALL_FEATURES
10415 if test -z "$defaultval"; then
10416 if test x"$enablestring" = xdisable; then
10417 defaultval=yes
10418 else
10419 defaultval=no
10420 fi
10421 fi
10422
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10424 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10425 # Check whether --enable-logwin was given.
10426 if test "${enable_logwin+set}" = set; then :
10427 enableval=$enable_logwin;
10428 if test "$enableval" = yes; then
10429 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10430 else
10431 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10432 fi
10433
10434 else
10435
10436 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10437
10438 fi
10439
10440
10441 eval "$wx_cv_use_logwin"
10442
10443 if test x"$enablestring" = xdisable; then
10444 if test $wxUSE_LOGWINDOW = no; then
10445 result=yes
10446 else
10447 result=no
10448 fi
10449 else
10450 result=$wxUSE_LOGWINDOW
10451 fi
10452
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10454 $as_echo "$result" >&6; }
10455
10456
10457 enablestring=
10458 defaultval=$wxUSE_ALL_FEATURES
10459 if test -z "$defaultval"; then
10460 if test x"$enablestring" = xdisable; then
10461 defaultval=yes
10462 else
10463 defaultval=no
10464 fi
10465 fi
10466
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10468 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10469 # Check whether --enable-logdialog was given.
10470 if test "${enable_logdialog+set}" = set; then :
10471 enableval=$enable_logdialog;
10472 if test "$enableval" = yes; then
10473 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10474 else
10475 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10476 fi
10477
10478 else
10479
10480 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10481
10482 fi
10483
10484
10485 eval "$wx_cv_use_logdialog"
10486
10487 if test x"$enablestring" = xdisable; then
10488 if test $wxUSE_LOGDIALOG = no; then
10489 result=yes
10490 else
10491 result=no
10492 fi
10493 else
10494 result=$wxUSE_LOGDIALOG
10495 fi
10496
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10498 $as_echo "$result" >&6; }
10499
10500
10501 enablestring=
10502 defaultval=$wxUSE_ALL_FEATURES
10503 if test -z "$defaultval"; then
10504 if test x"$enablestring" = xdisable; then
10505 defaultval=yes
10506 else
10507 defaultval=no
10508 fi
10509 fi
10510
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10512 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10513 # Check whether --enable-mdi was given.
10514 if test "${enable_mdi+set}" = set; then :
10515 enableval=$enable_mdi;
10516 if test "$enableval" = yes; then
10517 wx_cv_use_mdi='wxUSE_MDI=yes'
10518 else
10519 wx_cv_use_mdi='wxUSE_MDI=no'
10520 fi
10521
10522 else
10523
10524 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10525
10526 fi
10527
10528
10529 eval "$wx_cv_use_mdi"
10530
10531 if test x"$enablestring" = xdisable; then
10532 if test $wxUSE_MDI = no; then
10533 result=yes
10534 else
10535 result=no
10536 fi
10537 else
10538 result=$wxUSE_MDI
10539 fi
10540
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10542 $as_echo "$result" >&6; }
10543
10544
10545 enablestring=
10546 defaultval=$wxUSE_ALL_FEATURES
10547 if test -z "$defaultval"; then
10548 if test x"$enablestring" = xdisable; then
10549 defaultval=yes
10550 else
10551 defaultval=no
10552 fi
10553 fi
10554
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10556 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10557 # Check whether --enable-mdidoc was given.
10558 if test "${enable_mdidoc+set}" = set; then :
10559 enableval=$enable_mdidoc;
10560 if test "$enableval" = yes; then
10561 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10562 else
10563 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10564 fi
10565
10566 else
10567
10568 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10569
10570 fi
10571
10572
10573 eval "$wx_cv_use_mdidoc"
10574
10575 if test x"$enablestring" = xdisable; then
10576 if test $wxUSE_MDI_ARCHITECTURE = no; then
10577 result=yes
10578 else
10579 result=no
10580 fi
10581 else
10582 result=$wxUSE_MDI_ARCHITECTURE
10583 fi
10584
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10586 $as_echo "$result" >&6; }
10587
10588
10589 enablestring=
10590 defaultval=$wxUSE_ALL_FEATURES
10591 if test -z "$defaultval"; then
10592 if test x"$enablestring" = xdisable; then
10593 defaultval=yes
10594 else
10595 defaultval=no
10596 fi
10597 fi
10598
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10600 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10601 # Check whether --enable-mediactrl was given.
10602 if test "${enable_mediactrl+set}" = set; then :
10603 enableval=$enable_mediactrl;
10604 if test "$enableval" = yes; then
10605 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10606 else
10607 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10608 fi
10609
10610 else
10611
10612 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10613
10614 fi
10615
10616
10617 eval "$wx_cv_use_mediactrl"
10618
10619 if test x"$enablestring" = xdisable; then
10620 if test $wxUSE_MEDIACTRL = no; then
10621 result=yes
10622 else
10623 result=no
10624 fi
10625 else
10626 result=$wxUSE_MEDIACTRL
10627 fi
10628
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10630 $as_echo "$result" >&6; }
10631
10632
10633 enablestring=
10634 defaultval=$wxUSE_ALL_FEATURES
10635 if test -z "$defaultval"; then
10636 if test x"$enablestring" = xdisable; then
10637 defaultval=yes
10638 else
10639 defaultval=no
10640 fi
10641 fi
10642
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10644 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10645 # Check whether --enable-gstreamer8 was given.
10646 if test "${enable_gstreamer8+set}" = set; then :
10647 enableval=$enable_gstreamer8;
10648 if test "$enableval" = yes; then
10649 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10650 else
10651 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10652 fi
10653
10654 else
10655
10656 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10657
10658 fi
10659
10660
10661 eval "$wx_cv_use_gstreamer8"
10662
10663 if test x"$enablestring" = xdisable; then
10664 if test $wxUSE_GSTREAMER8 = no; then
10665 result=yes
10666 else
10667 result=no
10668 fi
10669 else
10670 result=$wxUSE_GSTREAMER8
10671 fi
10672
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10674 $as_echo "$result" >&6; }
10675
10676
10677 enablestring=
10678 defaultval=$wxUSE_ALL_FEATURES
10679 if test -z "$defaultval"; then
10680 if test x"$enablestring" = xdisable; then
10681 defaultval=yes
10682 else
10683 defaultval=no
10684 fi
10685 fi
10686
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10688 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10689 # Check whether --enable-richtext was given.
10690 if test "${enable_richtext+set}" = set; then :
10691 enableval=$enable_richtext;
10692 if test "$enableval" = yes; then
10693 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10694 else
10695 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10696 fi
10697
10698 else
10699
10700 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10701
10702 fi
10703
10704
10705 eval "$wx_cv_use_richtext"
10706
10707 if test x"$enablestring" = xdisable; then
10708 if test $wxUSE_RICHTEXT = no; then
10709 result=yes
10710 else
10711 result=no
10712 fi
10713 else
10714 result=$wxUSE_RICHTEXT
10715 fi
10716
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10718 $as_echo "$result" >&6; }
10719
10720
10721 enablestring=
10722 defaultval=$wxUSE_ALL_FEATURES
10723 if test -z "$defaultval"; then
10724 if test x"$enablestring" = xdisable; then
10725 defaultval=yes
10726 else
10727 defaultval=no
10728 fi
10729 fi
10730
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10732 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10733 # Check whether --enable-postscript was given.
10734 if test "${enable_postscript+set}" = set; then :
10735 enableval=$enable_postscript;
10736 if test "$enableval" = yes; then
10737 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10738 else
10739 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10740 fi
10741
10742 else
10743
10744 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10745
10746 fi
10747
10748
10749 eval "$wx_cv_use_postscript"
10750
10751 if test x"$enablestring" = xdisable; then
10752 if test $wxUSE_POSTSCRIPT = no; then
10753 result=yes
10754 else
10755 result=no
10756 fi
10757 else
10758 result=$wxUSE_POSTSCRIPT
10759 fi
10760
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10762 $as_echo "$result" >&6; }
10763
10764
10765 enablestring=
10766 defaultval=$wxUSE_ALL_FEATURES
10767 if test -z "$defaultval"; then
10768 if test x"$enablestring" = xdisable; then
10769 defaultval=yes
10770 else
10771 defaultval=no
10772 fi
10773 fi
10774
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10776 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10777 # Check whether --enable-printarch was given.
10778 if test "${enable_printarch+set}" = set; then :
10779 enableval=$enable_printarch;
10780 if test "$enableval" = yes; then
10781 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10782 else
10783 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10784 fi
10785
10786 else
10787
10788 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10789
10790 fi
10791
10792
10793 eval "$wx_cv_use_printarch"
10794
10795 if test x"$enablestring" = xdisable; then
10796 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10797 result=yes
10798 else
10799 result=no
10800 fi
10801 else
10802 result=$wxUSE_PRINTING_ARCHITECTURE
10803 fi
10804
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10806 $as_echo "$result" >&6; }
10807
10808
10809 enablestring=
10810 defaultval=$wxUSE_ALL_FEATURES
10811 if test -z "$defaultval"; then
10812 if test x"$enablestring" = xdisable; then
10813 defaultval=yes
10814 else
10815 defaultval=no
10816 fi
10817 fi
10818
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10820 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10821 # Check whether --enable-svg was given.
10822 if test "${enable_svg+set}" = set; then :
10823 enableval=$enable_svg;
10824 if test "$enableval" = yes; then
10825 wx_cv_use_svg='wxUSE_SVG=yes'
10826 else
10827 wx_cv_use_svg='wxUSE_SVG=no'
10828 fi
10829
10830 else
10831
10832 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10833
10834 fi
10835
10836
10837 eval "$wx_cv_use_svg"
10838
10839 if test x"$enablestring" = xdisable; then
10840 if test $wxUSE_SVG = no; then
10841 result=yes
10842 else
10843 result=no
10844 fi
10845 else
10846 result=$wxUSE_SVG
10847 fi
10848
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10850 $as_echo "$result" >&6; }
10851
10852
10853 enablestring=
10854 defaultval=$wxUSE_ALL_FEATURES
10855 if test -z "$defaultval"; then
10856 if test x"$enablestring" = xdisable; then
10857 defaultval=yes
10858 else
10859 defaultval=no
10860 fi
10861 fi
10862
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10864 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10865 # Check whether --enable-webkit was given.
10866 if test "${enable_webkit+set}" = set; then :
10867 enableval=$enable_webkit;
10868 if test "$enableval" = yes; then
10869 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10870 else
10871 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10872 fi
10873
10874 else
10875
10876 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10877
10878 fi
10879
10880
10881 eval "$wx_cv_use_webkit"
10882
10883 if test x"$enablestring" = xdisable; then
10884 if test $wxUSE_WEBKIT = no; then
10885 result=yes
10886 else
10887 result=no
10888 fi
10889 else
10890 result=$wxUSE_WEBKIT
10891 fi
10892
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10894 $as_echo "$result" >&6; }
10895
10896
10897 enablestring=
10898 defaultval=$wxUSE_ALL_FEATURES
10899 if test -z "$defaultval"; then
10900 if test x"$enablestring" = xdisable; then
10901 defaultval=yes
10902 else
10903 defaultval=no
10904 fi
10905 fi
10906
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10908 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10909 # Check whether --enable-webview was given.
10910 if test "${enable_webview+set}" = set; then :
10911 enableval=$enable_webview;
10912 if test "$enableval" = yes; then
10913 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10914 else
10915 wx_cv_use_webview='wxUSE_WEBVIEW=no'
10916 fi
10917
10918 else
10919
10920 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10921
10922 fi
10923
10924
10925 eval "$wx_cv_use_webview"
10926
10927 if test x"$enablestring" = xdisable; then
10928 if test $wxUSE_WEBVIEW = no; then
10929 result=yes
10930 else
10931 result=no
10932 fi
10933 else
10934 result=$wxUSE_WEBVIEW
10935 fi
10936
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10938 $as_echo "$result" >&6; }
10939
10940
10941 if test "$wxUSE_MAC" != 1; then
10942
10943 enablestring=
10944 defaultval=$wxUSE_ALL_FEATURES
10945 if test -z "$defaultval"; then
10946 if test x"$enablestring" = xdisable; then
10947 defaultval=yes
10948 else
10949 defaultval=no
10950 fi
10951 fi
10952
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10954 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10955 # Check whether --enable-graphics_ctx was given.
10956 if test "${enable_graphics_ctx+set}" = set; then :
10957 enableval=$enable_graphics_ctx;
10958 if test "$enableval" = yes; then
10959 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10960 else
10961 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10962 fi
10963
10964 else
10965
10966 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10967
10968 fi
10969
10970
10971 eval "$wx_cv_use_graphics_ctx"
10972
10973 if test x"$enablestring" = xdisable; then
10974 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10975 result=yes
10976 else
10977 result=no
10978 fi
10979 else
10980 result=$wxUSE_GRAPHICS_CONTEXT
10981 fi
10982
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10984 $as_echo "$result" >&6; }
10985
10986 fi
10987
10988
10989
10990 enablestring=
10991 defaultval=$wxUSE_ALL_FEATURES
10992 if test -z "$defaultval"; then
10993 if test x"$enablestring" = xdisable; then
10994 defaultval=yes
10995 else
10996 defaultval=no
10997 fi
10998 fi
10999
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
11001 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
11002 # Check whether --enable-clipboard was given.
11003 if test "${enable_clipboard+set}" = set; then :
11004 enableval=$enable_clipboard;
11005 if test "$enableval" = yes; then
11006 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
11007 else
11008 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
11009 fi
11010
11011 else
11012
11013 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
11014
11015 fi
11016
11017
11018 eval "$wx_cv_use_clipboard"
11019
11020 if test x"$enablestring" = xdisable; then
11021 if test $wxUSE_CLIPBOARD = no; then
11022 result=yes
11023 else
11024 result=no
11025 fi
11026 else
11027 result=$wxUSE_CLIPBOARD
11028 fi
11029
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11031 $as_echo "$result" >&6; }
11032
11033
11034 enablestring=
11035 defaultval=$wxUSE_ALL_FEATURES
11036 if test -z "$defaultval"; then
11037 if test x"$enablestring" = xdisable; then
11038 defaultval=yes
11039 else
11040 defaultval=no
11041 fi
11042 fi
11043
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
11045 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
11046 # Check whether --enable-dnd was given.
11047 if test "${enable_dnd+set}" = set; then :
11048 enableval=$enable_dnd;
11049 if test "$enableval" = yes; then
11050 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
11051 else
11052 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
11053 fi
11054
11055 else
11056
11057 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
11058
11059 fi
11060
11061
11062 eval "$wx_cv_use_dnd"
11063
11064 if test x"$enablestring" = xdisable; then
11065 if test $wxUSE_DRAG_AND_DROP = no; then
11066 result=yes
11067 else
11068 result=no
11069 fi
11070 else
11071 result=$wxUSE_DRAG_AND_DROP
11072 fi
11073
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11075 $as_echo "$result" >&6; }
11076
11077
11078
11079 DEFAULT_wxUSE_CONTROLS=none
11080
11081 enablestring=disable
11082 defaultval=
11083 if test -z "$defaultval"; then
11084 if test x"$enablestring" = xdisable; then
11085 defaultval=yes
11086 else
11087 defaultval=no
11088 fi
11089 fi
11090
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
11092 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
11093 # Check whether --enable-controls was given.
11094 if test "${enable_controls+set}" = set; then :
11095 enableval=$enable_controls;
11096 if test "$enableval" = yes; then
11097 wx_cv_use_controls='wxUSE_CONTROLS=yes'
11098 else
11099 wx_cv_use_controls='wxUSE_CONTROLS=no'
11100 fi
11101
11102 else
11103
11104 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
11105
11106 fi
11107
11108
11109 eval "$wx_cv_use_controls"
11110
11111 if test x"$enablestring" = xdisable; then
11112 if test $wxUSE_CONTROLS = no; then
11113 result=yes
11114 else
11115 result=no
11116 fi
11117 else
11118 result=$wxUSE_CONTROLS
11119 fi
11120
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11122 $as_echo "$result" >&6; }
11123
11124
11125 if test "$wxUSE_CONTROLS" = "no"; then
11126 DEFAULT_wxUSE_ACCEL=no
11127 DEFAULT_wxUSE_ANIMATIONCTRL=no
11128 DEFAULT_wxUSE_BANNERWINDOW=no
11129 DEFAULT_wxUSE_BMPBUTTON=no
11130 DEFAULT_wxUSE_BUTTON=no
11131 DEFAULT_wxUSE_CALCTRL=no
11132 DEFAULT_wxUSE_CARET=no
11133 DEFAULT_wxUSE_CHECKBOX=no
11134 DEFAULT_wxUSE_CHECKLISTBOX=no
11135 DEFAULT_wxUSE_CHOICE=no
11136 DEFAULT_wxUSE_CHOICEBOOK=no
11137 DEFAULT_wxUSE_COLLPANE=no
11138 DEFAULT_wxUSE_COLOURPICKERCTRL=no
11139 DEFAULT_wxUSE_COMBOBOX=no
11140 DEFAULT_wxUSE_COMBOBOX=no
11141 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
11142 DEFAULT_wxUSE_DATAVIEWCTRL=no
11143 DEFAULT_wxUSE_DATEPICKCTRL=no
11144 DEFAULT_wxUSE_DETECT_SM=no
11145 DEFAULT_wxUSE_DIRPICKERCTRL=no
11146 DEFAULT_wxUSE_DISPLAY=no
11147 DEFAULT_wxUSE_FILECTRL=no
11148 DEFAULT_wxUSE_FILEPICKERCTRL=no
11149 DEFAULT_wxUSE_FONTPICKERCTRL=no
11150 DEFAULT_wxUSE_GAUGE=no
11151 DEFAULT_wxUSE_GRID=no
11152 DEFAULT_wxUSE_HEADERCTRL=no
11153 DEFAULT_wxUSE_HYPERLINKCTRL=no
11154 DEFAULT_wxUSE_IMAGLIST=no
11155 DEFAULT_wxUSE_LISTBOOK=no
11156 DEFAULT_wxUSE_LISTBOX=no
11157 DEFAULT_wxUSE_LISTCTRL=no
11158 DEFAULT_wxUSE_MARKUP=no
11159 DEFAULT_wxUSE_NOTEBOOK=no
11160 DEFAULT_wxUSE_POPUPWIN=no
11161 DEFAULT_wxUSE_RADIOBOX=no
11162 DEFAULT_wxUSE_RADIOBTN=no
11163 DEFAULT_wxUSE_RICHMSGDLG=no
11164 DEFAULT_wxUSE_RICHTOOLTIP=no
11165 DEFAULT_wxUSE_REARRANGECTRL=no
11166 DEFAULT_wxUSE_SASH=no
11167 DEFAULT_wxUSE_SCROLLBAR=no
11168 DEFAULT_wxUSE_SEARCHCTRL=no
11169 DEFAULT_wxUSE_SLIDER=no
11170 DEFAULT_wxUSE_SPINBTN=no
11171 DEFAULT_wxUSE_SPINCTRL=no
11172 DEFAULT_wxUSE_SPLITTER=no
11173 DEFAULT_wxUSE_STATBMP=no
11174 DEFAULT_wxUSE_STATBOX=no
11175 DEFAULT_wxUSE_STATLINE=no
11176 DEFAULT_wxUSE_STATUSBAR=no
11177 DEFAULT_wxUSE_TIMEPICKCTRL=no
11178 DEFAULT_wxUSE_TIPWINDOW=no
11179 DEFAULT_wxUSE_TOGGLEBTN=no
11180 DEFAULT_wxUSE_TOOLBAR=no
11181 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11182 DEFAULT_wxUSE_TOOLBOOK=no
11183 DEFAULT_wxUSE_TOOLTIPS=no
11184 DEFAULT_wxUSE_TREEBOOK=no
11185 DEFAULT_wxUSE_TREECTRL=no
11186 DEFAULT_wxUSE_TREELISTCTRL=no
11187 fi
11188
11189
11190 enablestring=
11191 defaultval=$wxUSE_ALL_FEATURES
11192 if test -z "$defaultval"; then
11193 if test x"$enablestring" = xdisable; then
11194 defaultval=yes
11195 else
11196 defaultval=no
11197 fi
11198 fi
11199
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11201 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11202 # Check whether --enable-markup was given.
11203 if test "${enable_markup+set}" = set; then :
11204 enableval=$enable_markup;
11205 if test "$enableval" = yes; then
11206 wx_cv_use_markup='wxUSE_MARKUP=yes'
11207 else
11208 wx_cv_use_markup='wxUSE_MARKUP=no'
11209 fi
11210
11211 else
11212
11213 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11214
11215 fi
11216
11217
11218 eval "$wx_cv_use_markup"
11219
11220 if test x"$enablestring" = xdisable; then
11221 if test $wxUSE_MARKUP = no; then
11222 result=yes
11223 else
11224 result=no
11225 fi
11226 else
11227 result=$wxUSE_MARKUP
11228 fi
11229
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11231 $as_echo "$result" >&6; }
11232
11233
11234
11235 enablestring=
11236 defaultval=$wxUSE_ALL_FEATURES
11237 if test -z "$defaultval"; then
11238 if test x"$enablestring" = xdisable; then
11239 defaultval=yes
11240 else
11241 defaultval=no
11242 fi
11243 fi
11244
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11246 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11247 # Check whether --enable-accel was given.
11248 if test "${enable_accel+set}" = set; then :
11249 enableval=$enable_accel;
11250 if test "$enableval" = yes; then
11251 wx_cv_use_accel='wxUSE_ACCEL=yes'
11252 else
11253 wx_cv_use_accel='wxUSE_ACCEL=no'
11254 fi
11255
11256 else
11257
11258 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11259
11260 fi
11261
11262
11263 eval "$wx_cv_use_accel"
11264
11265 if test x"$enablestring" = xdisable; then
11266 if test $wxUSE_ACCEL = no; then
11267 result=yes
11268 else
11269 result=no
11270 fi
11271 else
11272 result=$wxUSE_ACCEL
11273 fi
11274
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11276 $as_echo "$result" >&6; }
11277
11278
11279 enablestring=
11280 defaultval=$wxUSE_ALL_FEATURES
11281 if test -z "$defaultval"; then
11282 if test x"$enablestring" = xdisable; then
11283 defaultval=yes
11284 else
11285 defaultval=no
11286 fi
11287 fi
11288
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11290 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11291 # Check whether --enable-animatectrl was given.
11292 if test "${enable_animatectrl+set}" = set; then :
11293 enableval=$enable_animatectrl;
11294 if test "$enableval" = yes; then
11295 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11296 else
11297 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11298 fi
11299
11300 else
11301
11302 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11303
11304 fi
11305
11306
11307 eval "$wx_cv_use_animatectrl"
11308
11309 if test x"$enablestring" = xdisable; then
11310 if test $wxUSE_ANIMATIONCTRL = no; then
11311 result=yes
11312 else
11313 result=no
11314 fi
11315 else
11316 result=$wxUSE_ANIMATIONCTRL
11317 fi
11318
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11320 $as_echo "$result" >&6; }
11321
11322
11323 enablestring=
11324 defaultval=$wxUSE_ALL_FEATURES
11325 if test -z "$defaultval"; then
11326 if test x"$enablestring" = xdisable; then
11327 defaultval=yes
11328 else
11329 defaultval=no
11330 fi
11331 fi
11332
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11334 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11335 # Check whether --enable-bannerwindow was given.
11336 if test "${enable_bannerwindow+set}" = set; then :
11337 enableval=$enable_bannerwindow;
11338 if test "$enableval" = yes; then
11339 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11340 else
11341 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11342 fi
11343
11344 else
11345
11346 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11347
11348 fi
11349
11350
11351 eval "$wx_cv_use_bannerwindow"
11352
11353 if test x"$enablestring" = xdisable; then
11354 if test $wxUSE_BANNERWINDOW = no; then
11355 result=yes
11356 else
11357 result=no
11358 fi
11359 else
11360 result=$wxUSE_BANNERWINDOW
11361 fi
11362
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11364 $as_echo "$result" >&6; }
11365
11366
11367 enablestring=
11368 defaultval=$wxUSE_ALL_FEATURES
11369 if test -z "$defaultval"; then
11370 if test x"$enablestring" = xdisable; then
11371 defaultval=yes
11372 else
11373 defaultval=no
11374 fi
11375 fi
11376
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11378 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11379 # Check whether --enable-artstd was given.
11380 if test "${enable_artstd+set}" = set; then :
11381 enableval=$enable_artstd;
11382 if test "$enableval" = yes; then
11383 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11384 else
11385 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11386 fi
11387
11388 else
11389
11390 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11391
11392 fi
11393
11394
11395 eval "$wx_cv_use_artstd"
11396
11397 if test x"$enablestring" = xdisable; then
11398 if test $wxUSE_ARTPROVIDER_STD = no; then
11399 result=yes
11400 else
11401 result=no
11402 fi
11403 else
11404 result=$wxUSE_ARTPROVIDER_STD
11405 fi
11406
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11408 $as_echo "$result" >&6; }
11409
11410
11411 enablestring=
11412 defaultval=$wxUSE_ALL_FEATURES
11413 if test -z "$defaultval"; then
11414 if test x"$enablestring" = xdisable; then
11415 defaultval=yes
11416 else
11417 defaultval=no
11418 fi
11419 fi
11420
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11422 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11423 # Check whether --enable-arttango was given.
11424 if test "${enable_arttango+set}" = set; then :
11425 enableval=$enable_arttango;
11426 if test "$enableval" = yes; then
11427 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11428 else
11429 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11430 fi
11431
11432 else
11433
11434 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11435
11436 fi
11437
11438
11439 eval "$wx_cv_use_arttango"
11440
11441 if test x"$enablestring" = xdisable; then
11442 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11443 result=yes
11444 else
11445 result=no
11446 fi
11447 else
11448 result=$wxUSE_ARTPROVIDER_TANGO
11449 fi
11450
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11452 $as_echo "$result" >&6; }
11453
11454
11455 enablestring=
11456 defaultval=$wxUSE_ALL_FEATURES
11457 if test -z "$defaultval"; then
11458 if test x"$enablestring" = xdisable; then
11459 defaultval=yes
11460 else
11461 defaultval=no
11462 fi
11463 fi
11464
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11466 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11467 # Check whether --enable-bmpbutton was given.
11468 if test "${enable_bmpbutton+set}" = set; then :
11469 enableval=$enable_bmpbutton;
11470 if test "$enableval" = yes; then
11471 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11472 else
11473 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11474 fi
11475
11476 else
11477
11478 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11479
11480 fi
11481
11482
11483 eval "$wx_cv_use_bmpbutton"
11484
11485 if test x"$enablestring" = xdisable; then
11486 if test $wxUSE_BMPBUTTON = no; then
11487 result=yes
11488 else
11489 result=no
11490 fi
11491 else
11492 result=$wxUSE_BMPBUTTON
11493 fi
11494
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11496 $as_echo "$result" >&6; }
11497
11498
11499 enablestring=
11500 defaultval=$wxUSE_ALL_FEATURES
11501 if test -z "$defaultval"; then
11502 if test x"$enablestring" = xdisable; then
11503 defaultval=yes
11504 else
11505 defaultval=no
11506 fi
11507 fi
11508
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11510 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11511 # Check whether --enable-bmpcombobox was given.
11512 if test "${enable_bmpcombobox+set}" = set; then :
11513 enableval=$enable_bmpcombobox;
11514 if test "$enableval" = yes; then
11515 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11516 else
11517 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11518 fi
11519
11520 else
11521
11522 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11523
11524 fi
11525
11526
11527 eval "$wx_cv_use_bmpcombobox"
11528
11529 if test x"$enablestring" = xdisable; then
11530 if test $wxUSE_BITMAPCOMBOBOX = no; then
11531 result=yes
11532 else
11533 result=no
11534 fi
11535 else
11536 result=$wxUSE_BITMAPCOMBOBOX
11537 fi
11538
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11540 $as_echo "$result" >&6; }
11541
11542
11543 enablestring=
11544 defaultval=$wxUSE_ALL_FEATURES
11545 if test -z "$defaultval"; then
11546 if test x"$enablestring" = xdisable; then
11547 defaultval=yes
11548 else
11549 defaultval=no
11550 fi
11551 fi
11552
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11554 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11555 # Check whether --enable-button was given.
11556 if test "${enable_button+set}" = set; then :
11557 enableval=$enable_button;
11558 if test "$enableval" = yes; then
11559 wx_cv_use_button='wxUSE_BUTTON=yes'
11560 else
11561 wx_cv_use_button='wxUSE_BUTTON=no'
11562 fi
11563
11564 else
11565
11566 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11567
11568 fi
11569
11570
11571 eval "$wx_cv_use_button"
11572
11573 if test x"$enablestring" = xdisable; then
11574 if test $wxUSE_BUTTON = no; then
11575 result=yes
11576 else
11577 result=no
11578 fi
11579 else
11580 result=$wxUSE_BUTTON
11581 fi
11582
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11584 $as_echo "$result" >&6; }
11585
11586
11587 enablestring=
11588 defaultval=$wxUSE_ALL_FEATURES
11589 if test -z "$defaultval"; then
11590 if test x"$enablestring" = xdisable; then
11591 defaultval=yes
11592 else
11593 defaultval=no
11594 fi
11595 fi
11596
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11598 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11599 # Check whether --enable-calendar was given.
11600 if test "${enable_calendar+set}" = set; then :
11601 enableval=$enable_calendar;
11602 if test "$enableval" = yes; then
11603 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11604 else
11605 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11606 fi
11607
11608 else
11609
11610 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11611
11612 fi
11613
11614
11615 eval "$wx_cv_use_calendar"
11616
11617 if test x"$enablestring" = xdisable; then
11618 if test $wxUSE_CALCTRL = no; then
11619 result=yes
11620 else
11621 result=no
11622 fi
11623 else
11624 result=$wxUSE_CALCTRL
11625 fi
11626
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11628 $as_echo "$result" >&6; }
11629
11630
11631 enablestring=
11632 defaultval=$wxUSE_ALL_FEATURES
11633 if test -z "$defaultval"; then
11634 if test x"$enablestring" = xdisable; then
11635 defaultval=yes
11636 else
11637 defaultval=no
11638 fi
11639 fi
11640
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11642 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11643 # Check whether --enable-caret was given.
11644 if test "${enable_caret+set}" = set; then :
11645 enableval=$enable_caret;
11646 if test "$enableval" = yes; then
11647 wx_cv_use_caret='wxUSE_CARET=yes'
11648 else
11649 wx_cv_use_caret='wxUSE_CARET=no'
11650 fi
11651
11652 else
11653
11654 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11655
11656 fi
11657
11658
11659 eval "$wx_cv_use_caret"
11660
11661 if test x"$enablestring" = xdisable; then
11662 if test $wxUSE_CARET = no; then
11663 result=yes
11664 else
11665 result=no
11666 fi
11667 else
11668 result=$wxUSE_CARET
11669 fi
11670
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11672 $as_echo "$result" >&6; }
11673
11674
11675 enablestring=
11676 defaultval=$wxUSE_ALL_FEATURES
11677 if test -z "$defaultval"; then
11678 if test x"$enablestring" = xdisable; then
11679 defaultval=yes
11680 else
11681 defaultval=no
11682 fi
11683 fi
11684
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11686 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11687 # Check whether --enable-checkbox was given.
11688 if test "${enable_checkbox+set}" = set; then :
11689 enableval=$enable_checkbox;
11690 if test "$enableval" = yes; then
11691 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11692 else
11693 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11694 fi
11695
11696 else
11697
11698 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11699
11700 fi
11701
11702
11703 eval "$wx_cv_use_checkbox"
11704
11705 if test x"$enablestring" = xdisable; then
11706 if test $wxUSE_CHECKBOX = no; then
11707 result=yes
11708 else
11709 result=no
11710 fi
11711 else
11712 result=$wxUSE_CHECKBOX
11713 fi
11714
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11716 $as_echo "$result" >&6; }
11717
11718
11719 enablestring=
11720 defaultval=$wxUSE_ALL_FEATURES
11721 if test -z "$defaultval"; then
11722 if test x"$enablestring" = xdisable; then
11723 defaultval=yes
11724 else
11725 defaultval=no
11726 fi
11727 fi
11728
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11730 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11731 # Check whether --enable-checklst was given.
11732 if test "${enable_checklst+set}" = set; then :
11733 enableval=$enable_checklst;
11734 if test "$enableval" = yes; then
11735 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11736 else
11737 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11738 fi
11739
11740 else
11741
11742 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11743
11744 fi
11745
11746
11747 eval "$wx_cv_use_checklst"
11748
11749 if test x"$enablestring" = xdisable; then
11750 if test $wxUSE_CHECKLST = no; then
11751 result=yes
11752 else
11753 result=no
11754 fi
11755 else
11756 result=$wxUSE_CHECKLST
11757 fi
11758
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11760 $as_echo "$result" >&6; }
11761
11762
11763 enablestring=
11764 defaultval=$wxUSE_ALL_FEATURES
11765 if test -z "$defaultval"; then
11766 if test x"$enablestring" = xdisable; then
11767 defaultval=yes
11768 else
11769 defaultval=no
11770 fi
11771 fi
11772
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11774 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11775 # Check whether --enable-choice was given.
11776 if test "${enable_choice+set}" = set; then :
11777 enableval=$enable_choice;
11778 if test "$enableval" = yes; then
11779 wx_cv_use_choice='wxUSE_CHOICE=yes'
11780 else
11781 wx_cv_use_choice='wxUSE_CHOICE=no'
11782 fi
11783
11784 else
11785
11786 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11787
11788 fi
11789
11790
11791 eval "$wx_cv_use_choice"
11792
11793 if test x"$enablestring" = xdisable; then
11794 if test $wxUSE_CHOICE = no; then
11795 result=yes
11796 else
11797 result=no
11798 fi
11799 else
11800 result=$wxUSE_CHOICE
11801 fi
11802
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11804 $as_echo "$result" >&6; }
11805
11806
11807 enablestring=
11808 defaultval=$wxUSE_ALL_FEATURES
11809 if test -z "$defaultval"; then
11810 if test x"$enablestring" = xdisable; then
11811 defaultval=yes
11812 else
11813 defaultval=no
11814 fi
11815 fi
11816
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11818 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11819 # Check whether --enable-choicebook was given.
11820 if test "${enable_choicebook+set}" = set; then :
11821 enableval=$enable_choicebook;
11822 if test "$enableval" = yes; then
11823 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11824 else
11825 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11826 fi
11827
11828 else
11829
11830 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11831
11832 fi
11833
11834
11835 eval "$wx_cv_use_choicebook"
11836
11837 if test x"$enablestring" = xdisable; then
11838 if test $wxUSE_CHOICEBOOK = no; then
11839 result=yes
11840 else
11841 result=no
11842 fi
11843 else
11844 result=$wxUSE_CHOICEBOOK
11845 fi
11846
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11848 $as_echo "$result" >&6; }
11849
11850
11851 enablestring=
11852 defaultval=$wxUSE_ALL_FEATURES
11853 if test -z "$defaultval"; then
11854 if test x"$enablestring" = xdisable; then
11855 defaultval=yes
11856 else
11857 defaultval=no
11858 fi
11859 fi
11860
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11862 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11863 # Check whether --enable-collpane was given.
11864 if test "${enable_collpane+set}" = set; then :
11865 enableval=$enable_collpane;
11866 if test "$enableval" = yes; then
11867 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11868 else
11869 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11870 fi
11871
11872 else
11873
11874 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11875
11876 fi
11877
11878
11879 eval "$wx_cv_use_collpane"
11880
11881 if test x"$enablestring" = xdisable; then
11882 if test $wxUSE_COLLPANE = no; then
11883 result=yes
11884 else
11885 result=no
11886 fi
11887 else
11888 result=$wxUSE_COLLPANE
11889 fi
11890
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11892 $as_echo "$result" >&6; }
11893
11894
11895 enablestring=
11896 defaultval=$wxUSE_ALL_FEATURES
11897 if test -z "$defaultval"; then
11898 if test x"$enablestring" = xdisable; then
11899 defaultval=yes
11900 else
11901 defaultval=no
11902 fi
11903 fi
11904
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11906 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11907 # Check whether --enable-colourpicker was given.
11908 if test "${enable_colourpicker+set}" = set; then :
11909 enableval=$enable_colourpicker;
11910 if test "$enableval" = yes; then
11911 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11912 else
11913 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11914 fi
11915
11916 else
11917
11918 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11919
11920 fi
11921
11922
11923 eval "$wx_cv_use_colourpicker"
11924
11925 if test x"$enablestring" = xdisable; then
11926 if test $wxUSE_COLOURPICKERCTRL = no; then
11927 result=yes
11928 else
11929 result=no
11930 fi
11931 else
11932 result=$wxUSE_COLOURPICKERCTRL
11933 fi
11934
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11936 $as_echo "$result" >&6; }
11937
11938
11939 enablestring=
11940 defaultval=$wxUSE_ALL_FEATURES
11941 if test -z "$defaultval"; then
11942 if test x"$enablestring" = xdisable; then
11943 defaultval=yes
11944 else
11945 defaultval=no
11946 fi
11947 fi
11948
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11950 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11951 # Check whether --enable-combobox was given.
11952 if test "${enable_combobox+set}" = set; then :
11953 enableval=$enable_combobox;
11954 if test "$enableval" = yes; then
11955 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11956 else
11957 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11958 fi
11959
11960 else
11961
11962 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11963
11964 fi
11965
11966
11967 eval "$wx_cv_use_combobox"
11968
11969 if test x"$enablestring" = xdisable; then
11970 if test $wxUSE_COMBOBOX = no; then
11971 result=yes
11972 else
11973 result=no
11974 fi
11975 else
11976 result=$wxUSE_COMBOBOX
11977 fi
11978
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11980 $as_echo "$result" >&6; }
11981
11982
11983 enablestring=
11984 defaultval=$wxUSE_ALL_FEATURES
11985 if test -z "$defaultval"; then
11986 if test x"$enablestring" = xdisable; then
11987 defaultval=yes
11988 else
11989 defaultval=no
11990 fi
11991 fi
11992
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11994 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11995 # Check whether --enable-comboctrl was given.
11996 if test "${enable_comboctrl+set}" = set; then :
11997 enableval=$enable_comboctrl;
11998 if test "$enableval" = yes; then
11999 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
12000 else
12001 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
12002 fi
12003
12004 else
12005
12006 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
12007
12008 fi
12009
12010
12011 eval "$wx_cv_use_comboctrl"
12012
12013 if test x"$enablestring" = xdisable; then
12014 if test $wxUSE_COMBOCTRL = no; then
12015 result=yes
12016 else
12017 result=no
12018 fi
12019 else
12020 result=$wxUSE_COMBOCTRL
12021 fi
12022
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12024 $as_echo "$result" >&6; }
12025
12026
12027 enablestring=
12028 defaultval=$wxUSE_ALL_FEATURES
12029 if test -z "$defaultval"; then
12030 if test x"$enablestring" = xdisable; then
12031 defaultval=yes
12032 else
12033 defaultval=no
12034 fi
12035 fi
12036
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
12038 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
12039 # Check whether --enable-commandlinkbutton was given.
12040 if test "${enable_commandlinkbutton+set}" = set; then :
12041 enableval=$enable_commandlinkbutton;
12042 if test "$enableval" = yes; then
12043 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
12044 else
12045 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
12046 fi
12047
12048 else
12049
12050 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
12051
12052 fi
12053
12054
12055 eval "$wx_cv_use_commandlinkbutton"
12056
12057 if test x"$enablestring" = xdisable; then
12058 if test $wxUSE_COMMANDLINKBUTTON = no; then
12059 result=yes
12060 else
12061 result=no
12062 fi
12063 else
12064 result=$wxUSE_COMMANDLINKBUTTON
12065 fi
12066
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12068 $as_echo "$result" >&6; }
12069
12070
12071 enablestring=
12072 defaultval=$wxUSE_ALL_FEATURES
12073 if test -z "$defaultval"; then
12074 if test x"$enablestring" = xdisable; then
12075 defaultval=yes
12076 else
12077 defaultval=no
12078 fi
12079 fi
12080
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
12082 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
12083 # Check whether --enable-dataviewctrl was given.
12084 if test "${enable_dataviewctrl+set}" = set; then :
12085 enableval=$enable_dataviewctrl;
12086 if test "$enableval" = yes; then
12087 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12088 else
12089 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12090 fi
12091
12092 else
12093
12094 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12095
12096 fi
12097
12098
12099 eval "$wx_cv_use_dataviewctrl"
12100
12101 if test x"$enablestring" = xdisable; then
12102 if test $wxUSE_DATAVIEWCTRL = no; then
12103 result=yes
12104 else
12105 result=no
12106 fi
12107 else
12108 result=$wxUSE_DATAVIEWCTRL
12109 fi
12110
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12112 $as_echo "$result" >&6; }
12113
12114
12115 enablestring=
12116 defaultval=$wxUSE_ALL_FEATURES
12117 if test -z "$defaultval"; then
12118 if test x"$enablestring" = xdisable; then
12119 defaultval=yes
12120 else
12121 defaultval=no
12122 fi
12123 fi
12124
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
12126 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
12127 # Check whether --enable-datepick was given.
12128 if test "${enable_datepick+set}" = set; then :
12129 enableval=$enable_datepick;
12130 if test "$enableval" = yes; then
12131 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
12132 else
12133 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
12134 fi
12135
12136 else
12137
12138 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
12139
12140 fi
12141
12142
12143 eval "$wx_cv_use_datepick"
12144
12145 if test x"$enablestring" = xdisable; then
12146 if test $wxUSE_DATEPICKCTRL = no; then
12147 result=yes
12148 else
12149 result=no
12150 fi
12151 else
12152 result=$wxUSE_DATEPICKCTRL
12153 fi
12154
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12156 $as_echo "$result" >&6; }
12157
12158
12159 enablestring=
12160 defaultval=$wxUSE_ALL_FEATURES
12161 if test -z "$defaultval"; then
12162 if test x"$enablestring" = xdisable; then
12163 defaultval=yes
12164 else
12165 defaultval=no
12166 fi
12167 fi
12168
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
12170 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
12171 # Check whether --enable-detect_sm was given.
12172 if test "${enable_detect_sm+set}" = set; then :
12173 enableval=$enable_detect_sm;
12174 if test "$enableval" = yes; then
12175 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12176 else
12177 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12178 fi
12179
12180 else
12181
12182 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12183
12184 fi
12185
12186
12187 eval "$wx_cv_use_detect_sm"
12188
12189 if test x"$enablestring" = xdisable; then
12190 if test $wxUSE_DETECT_SM = no; then
12191 result=yes
12192 else
12193 result=no
12194 fi
12195 else
12196 result=$wxUSE_DETECT_SM
12197 fi
12198
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12200 $as_echo "$result" >&6; }
12201
12202
12203 enablestring=
12204 defaultval=$wxUSE_ALL_FEATURES
12205 if test -z "$defaultval"; then
12206 if test x"$enablestring" = xdisable; then
12207 defaultval=yes
12208 else
12209 defaultval=no
12210 fi
12211 fi
12212
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12214 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12215 # Check whether --enable-dirpicker was given.
12216 if test "${enable_dirpicker+set}" = set; then :
12217 enableval=$enable_dirpicker;
12218 if test "$enableval" = yes; then
12219 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12220 else
12221 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12222 fi
12223
12224 else
12225
12226 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12227
12228 fi
12229
12230
12231 eval "$wx_cv_use_dirpicker"
12232
12233 if test x"$enablestring" = xdisable; then
12234 if test $wxUSE_DIRPICKERCTRL = no; then
12235 result=yes
12236 else
12237 result=no
12238 fi
12239 else
12240 result=$wxUSE_DIRPICKERCTRL
12241 fi
12242
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12244 $as_echo "$result" >&6; }
12245
12246
12247 enablestring=
12248 defaultval=$wxUSE_ALL_FEATURES
12249 if test -z "$defaultval"; then
12250 if test x"$enablestring" = xdisable; then
12251 defaultval=yes
12252 else
12253 defaultval=no
12254 fi
12255 fi
12256
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12258 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12259 # Check whether --enable-display was given.
12260 if test "${enable_display+set}" = set; then :
12261 enableval=$enable_display;
12262 if test "$enableval" = yes; then
12263 wx_cv_use_display='wxUSE_DISPLAY=yes'
12264 else
12265 wx_cv_use_display='wxUSE_DISPLAY=no'
12266 fi
12267
12268 else
12269
12270 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12271
12272 fi
12273
12274
12275 eval "$wx_cv_use_display"
12276
12277 if test x"$enablestring" = xdisable; then
12278 if test $wxUSE_DISPLAY = no; then
12279 result=yes
12280 else
12281 result=no
12282 fi
12283 else
12284 result=$wxUSE_DISPLAY
12285 fi
12286
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12288 $as_echo "$result" >&6; }
12289
12290
12291 enablestring=
12292 defaultval=$wxUSE_ALL_FEATURES
12293 if test -z "$defaultval"; then
12294 if test x"$enablestring" = xdisable; then
12295 defaultval=yes
12296 else
12297 defaultval=no
12298 fi
12299 fi
12300
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12302 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12303 # Check whether --enable-editablebox was given.
12304 if test "${enable_editablebox+set}" = set; then :
12305 enableval=$enable_editablebox;
12306 if test "$enableval" = yes; then
12307 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12308 else
12309 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12310 fi
12311
12312 else
12313
12314 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12315
12316 fi
12317
12318
12319 eval "$wx_cv_use_editablebox"
12320
12321 if test x"$enablestring" = xdisable; then
12322 if test $wxUSE_EDITABLELISTBOX = no; then
12323 result=yes
12324 else
12325 result=no
12326 fi
12327 else
12328 result=$wxUSE_EDITABLELISTBOX
12329 fi
12330
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12332 $as_echo "$result" >&6; }
12333
12334
12335 enablestring=
12336 defaultval=$wxUSE_ALL_FEATURES
12337 if test -z "$defaultval"; then
12338 if test x"$enablestring" = xdisable; then
12339 defaultval=yes
12340 else
12341 defaultval=no
12342 fi
12343 fi
12344
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12346 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12347 # Check whether --enable-filectrl was given.
12348 if test "${enable_filectrl+set}" = set; then :
12349 enableval=$enable_filectrl;
12350 if test "$enableval" = yes; then
12351 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12352 else
12353 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12354 fi
12355
12356 else
12357
12358 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12359
12360 fi
12361
12362
12363 eval "$wx_cv_use_filectrl"
12364
12365 if test x"$enablestring" = xdisable; then
12366 if test $wxUSE_FILECTRL = no; then
12367 result=yes
12368 else
12369 result=no
12370 fi
12371 else
12372 result=$wxUSE_FILECTRL
12373 fi
12374
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12376 $as_echo "$result" >&6; }
12377
12378
12379 enablestring=
12380 defaultval=$wxUSE_ALL_FEATURES
12381 if test -z "$defaultval"; then
12382 if test x"$enablestring" = xdisable; then
12383 defaultval=yes
12384 else
12385 defaultval=no
12386 fi
12387 fi
12388
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12390 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12391 # Check whether --enable-filepicker was given.
12392 if test "${enable_filepicker+set}" = set; then :
12393 enableval=$enable_filepicker;
12394 if test "$enableval" = yes; then
12395 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12396 else
12397 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12398 fi
12399
12400 else
12401
12402 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12403
12404 fi
12405
12406
12407 eval "$wx_cv_use_filepicker"
12408
12409 if test x"$enablestring" = xdisable; then
12410 if test $wxUSE_FILEPICKERCTRL = no; then
12411 result=yes
12412 else
12413 result=no
12414 fi
12415 else
12416 result=$wxUSE_FILEPICKERCTRL
12417 fi
12418
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12420 $as_echo "$result" >&6; }
12421
12422
12423 enablestring=
12424 defaultval=$wxUSE_ALL_FEATURES
12425 if test -z "$defaultval"; then
12426 if test x"$enablestring" = xdisable; then
12427 defaultval=yes
12428 else
12429 defaultval=no
12430 fi
12431 fi
12432
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12434 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12435 # Check whether --enable-fontpicker was given.
12436 if test "${enable_fontpicker+set}" = set; then :
12437 enableval=$enable_fontpicker;
12438 if test "$enableval" = yes; then
12439 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12440 else
12441 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12442 fi
12443
12444 else
12445
12446 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12447
12448 fi
12449
12450
12451 eval "$wx_cv_use_fontpicker"
12452
12453 if test x"$enablestring" = xdisable; then
12454 if test $wxUSE_FONTPICKERCTRL = no; then
12455 result=yes
12456 else
12457 result=no
12458 fi
12459 else
12460 result=$wxUSE_FONTPICKERCTRL
12461 fi
12462
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12464 $as_echo "$result" >&6; }
12465
12466
12467 enablestring=
12468 defaultval=$wxUSE_ALL_FEATURES
12469 if test -z "$defaultval"; then
12470 if test x"$enablestring" = xdisable; then
12471 defaultval=yes
12472 else
12473 defaultval=no
12474 fi
12475 fi
12476
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12478 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12479 # Check whether --enable-gauge was given.
12480 if test "${enable_gauge+set}" = set; then :
12481 enableval=$enable_gauge;
12482 if test "$enableval" = yes; then
12483 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12484 else
12485 wx_cv_use_gauge='wxUSE_GAUGE=no'
12486 fi
12487
12488 else
12489
12490 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12491
12492 fi
12493
12494
12495 eval "$wx_cv_use_gauge"
12496
12497 if test x"$enablestring" = xdisable; then
12498 if test $wxUSE_GAUGE = no; then
12499 result=yes
12500 else
12501 result=no
12502 fi
12503 else
12504 result=$wxUSE_GAUGE
12505 fi
12506
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12508 $as_echo "$result" >&6; }
12509
12510
12511 enablestring=
12512 defaultval=$wxUSE_ALL_FEATURES
12513 if test -z "$defaultval"; then
12514 if test x"$enablestring" = xdisable; then
12515 defaultval=yes
12516 else
12517 defaultval=no
12518 fi
12519 fi
12520
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12522 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12523 # Check whether --enable-grid was given.
12524 if test "${enable_grid+set}" = set; then :
12525 enableval=$enable_grid;
12526 if test "$enableval" = yes; then
12527 wx_cv_use_grid='wxUSE_GRID=yes'
12528 else
12529 wx_cv_use_grid='wxUSE_GRID=no'
12530 fi
12531
12532 else
12533
12534 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12535
12536 fi
12537
12538
12539 eval "$wx_cv_use_grid"
12540
12541 if test x"$enablestring" = xdisable; then
12542 if test $wxUSE_GRID = no; then
12543 result=yes
12544 else
12545 result=no
12546 fi
12547 else
12548 result=$wxUSE_GRID
12549 fi
12550
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12552 $as_echo "$result" >&6; }
12553
12554
12555 enablestring=
12556 defaultval=$wxUSE_ALL_FEATURES
12557 if test -z "$defaultval"; then
12558 if test x"$enablestring" = xdisable; then
12559 defaultval=yes
12560 else
12561 defaultval=no
12562 fi
12563 fi
12564
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12566 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12567 # Check whether --enable-headerctrl was given.
12568 if test "${enable_headerctrl+set}" = set; then :
12569 enableval=$enable_headerctrl;
12570 if test "$enableval" = yes; then
12571 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12572 else
12573 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12574 fi
12575
12576 else
12577
12578 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12579
12580 fi
12581
12582
12583 eval "$wx_cv_use_headerctrl"
12584
12585 if test x"$enablestring" = xdisable; then
12586 if test $wxUSE_HEADERCTRL = no; then
12587 result=yes
12588 else
12589 result=no
12590 fi
12591 else
12592 result=$wxUSE_HEADERCTRL
12593 fi
12594
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12596 $as_echo "$result" >&6; }
12597
12598
12599 enablestring=
12600 defaultval=$wxUSE_ALL_FEATURES
12601 if test -z "$defaultval"; then
12602 if test x"$enablestring" = xdisable; then
12603 defaultval=yes
12604 else
12605 defaultval=no
12606 fi
12607 fi
12608
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12610 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12611 # Check whether --enable-hyperlink was given.
12612 if test "${enable_hyperlink+set}" = set; then :
12613 enableval=$enable_hyperlink;
12614 if test "$enableval" = yes; then
12615 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12616 else
12617 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12618 fi
12619
12620 else
12621
12622 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12623
12624 fi
12625
12626
12627 eval "$wx_cv_use_hyperlink"
12628
12629 if test x"$enablestring" = xdisable; then
12630 if test $wxUSE_HYPERLINKCTRL = no; then
12631 result=yes
12632 else
12633 result=no
12634 fi
12635 else
12636 result=$wxUSE_HYPERLINKCTRL
12637 fi
12638
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12640 $as_echo "$result" >&6; }
12641
12642
12643 enablestring=
12644 defaultval=$wxUSE_ALL_FEATURES
12645 if test -z "$defaultval"; then
12646 if test x"$enablestring" = xdisable; then
12647 defaultval=yes
12648 else
12649 defaultval=no
12650 fi
12651 fi
12652
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12654 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12655 # Check whether --enable-imaglist was given.
12656 if test "${enable_imaglist+set}" = set; then :
12657 enableval=$enable_imaglist;
12658 if test "$enableval" = yes; then
12659 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12660 else
12661 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12662 fi
12663
12664 else
12665
12666 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12667
12668 fi
12669
12670
12671 eval "$wx_cv_use_imaglist"
12672
12673 if test x"$enablestring" = xdisable; then
12674 if test $wxUSE_IMAGLIST = no; then
12675 result=yes
12676 else
12677 result=no
12678 fi
12679 else
12680 result=$wxUSE_IMAGLIST
12681 fi
12682
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12684 $as_echo "$result" >&6; }
12685
12686
12687 enablestring=
12688 defaultval=$wxUSE_ALL_FEATURES
12689 if test -z "$defaultval"; then
12690 if test x"$enablestring" = xdisable; then
12691 defaultval=yes
12692 else
12693 defaultval=no
12694 fi
12695 fi
12696
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12698 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12699 # Check whether --enable-infobar was given.
12700 if test "${enable_infobar+set}" = set; then :
12701 enableval=$enable_infobar;
12702 if test "$enableval" = yes; then
12703 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12704 else
12705 wx_cv_use_infobar='wxUSE_INFOBAR=no'
12706 fi
12707
12708 else
12709
12710 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12711
12712 fi
12713
12714
12715 eval "$wx_cv_use_infobar"
12716
12717 if test x"$enablestring" = xdisable; then
12718 if test $wxUSE_INFOBAR = no; then
12719 result=yes
12720 else
12721 result=no
12722 fi
12723 else
12724 result=$wxUSE_INFOBAR
12725 fi
12726
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12728 $as_echo "$result" >&6; }
12729
12730
12731 enablestring=
12732 defaultval=$wxUSE_ALL_FEATURES
12733 if test -z "$defaultval"; then
12734 if test x"$enablestring" = xdisable; then
12735 defaultval=yes
12736 else
12737 defaultval=no
12738 fi
12739 fi
12740
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12742 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12743 # Check whether --enable-listbook was given.
12744 if test "${enable_listbook+set}" = set; then :
12745 enableval=$enable_listbook;
12746 if test "$enableval" = yes; then
12747 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12748 else
12749 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12750 fi
12751
12752 else
12753
12754 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12755
12756 fi
12757
12758
12759 eval "$wx_cv_use_listbook"
12760
12761 if test x"$enablestring" = xdisable; then
12762 if test $wxUSE_LISTBOOK = no; then
12763 result=yes
12764 else
12765 result=no
12766 fi
12767 else
12768 result=$wxUSE_LISTBOOK
12769 fi
12770
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12772 $as_echo "$result" >&6; }
12773
12774
12775 enablestring=
12776 defaultval=$wxUSE_ALL_FEATURES
12777 if test -z "$defaultval"; then
12778 if test x"$enablestring" = xdisable; then
12779 defaultval=yes
12780 else
12781 defaultval=no
12782 fi
12783 fi
12784
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12786 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12787 # Check whether --enable-listbox was given.
12788 if test "${enable_listbox+set}" = set; then :
12789 enableval=$enable_listbox;
12790 if test "$enableval" = yes; then
12791 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12792 else
12793 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12794 fi
12795
12796 else
12797
12798 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12799
12800 fi
12801
12802
12803 eval "$wx_cv_use_listbox"
12804
12805 if test x"$enablestring" = xdisable; then
12806 if test $wxUSE_LISTBOX = no; then
12807 result=yes
12808 else
12809 result=no
12810 fi
12811 else
12812 result=$wxUSE_LISTBOX
12813 fi
12814
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12816 $as_echo "$result" >&6; }
12817
12818
12819 enablestring=
12820 defaultval=$wxUSE_ALL_FEATURES
12821 if test -z "$defaultval"; then
12822 if test x"$enablestring" = xdisable; then
12823 defaultval=yes
12824 else
12825 defaultval=no
12826 fi
12827 fi
12828
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12830 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12831 # Check whether --enable-listctrl was given.
12832 if test "${enable_listctrl+set}" = set; then :
12833 enableval=$enable_listctrl;
12834 if test "$enableval" = yes; then
12835 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12836 else
12837 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12838 fi
12839
12840 else
12841
12842 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12843
12844 fi
12845
12846
12847 eval "$wx_cv_use_listctrl"
12848
12849 if test x"$enablestring" = xdisable; then
12850 if test $wxUSE_LISTCTRL = no; then
12851 result=yes
12852 else
12853 result=no
12854 fi
12855 else
12856 result=$wxUSE_LISTCTRL
12857 fi
12858
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12860 $as_echo "$result" >&6; }
12861
12862
12863 enablestring=
12864 defaultval=$wxUSE_ALL_FEATURES
12865 if test -z "$defaultval"; then
12866 if test x"$enablestring" = xdisable; then
12867 defaultval=yes
12868 else
12869 defaultval=no
12870 fi
12871 fi
12872
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12874 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12875 # Check whether --enable-notebook was given.
12876 if test "${enable_notebook+set}" = set; then :
12877 enableval=$enable_notebook;
12878 if test "$enableval" = yes; then
12879 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12880 else
12881 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12882 fi
12883
12884 else
12885
12886 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12887
12888 fi
12889
12890
12891 eval "$wx_cv_use_notebook"
12892
12893 if test x"$enablestring" = xdisable; then
12894 if test $wxUSE_NOTEBOOK = no; then
12895 result=yes
12896 else
12897 result=no
12898 fi
12899 else
12900 result=$wxUSE_NOTEBOOK
12901 fi
12902
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12904 $as_echo "$result" >&6; }
12905
12906
12907 enablestring=
12908 defaultval=$wxUSE_ALL_FEATURES
12909 if test -z "$defaultval"; then
12910 if test x"$enablestring" = xdisable; then
12911 defaultval=yes
12912 else
12913 defaultval=no
12914 fi
12915 fi
12916
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12918 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12919 # Check whether --enable-notifmsg was given.
12920 if test "${enable_notifmsg+set}" = set; then :
12921 enableval=$enable_notifmsg;
12922 if test "$enableval" = yes; then
12923 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12924 else
12925 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12926 fi
12927
12928 else
12929
12930 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12931
12932 fi
12933
12934
12935 eval "$wx_cv_use_notifmsg"
12936
12937 if test x"$enablestring" = xdisable; then
12938 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12939 result=yes
12940 else
12941 result=no
12942 fi
12943 else
12944 result=$wxUSE_NOTIFICATION_MESSAGE
12945 fi
12946
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12948 $as_echo "$result" >&6; }
12949
12950
12951 enablestring=
12952 defaultval=$wxUSE_ALL_FEATURES
12953 if test -z "$defaultval"; then
12954 if test x"$enablestring" = xdisable; then
12955 defaultval=yes
12956 else
12957 defaultval=no
12958 fi
12959 fi
12960
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12962 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12963 # Check whether --enable-odcombobox was given.
12964 if test "${enable_odcombobox+set}" = set; then :
12965 enableval=$enable_odcombobox;
12966 if test "$enableval" = yes; then
12967 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12968 else
12969 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12970 fi
12971
12972 else
12973
12974 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12975
12976 fi
12977
12978
12979 eval "$wx_cv_use_odcombobox"
12980
12981 if test x"$enablestring" = xdisable; then
12982 if test $wxUSE_ODCOMBOBOX = no; then
12983 result=yes
12984 else
12985 result=no
12986 fi
12987 else
12988 result=$wxUSE_ODCOMBOBOX
12989 fi
12990
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12992 $as_echo "$result" >&6; }
12993
12994
12995 enablestring=
12996 defaultval=$wxUSE_ALL_FEATURES
12997 if test -z "$defaultval"; then
12998 if test x"$enablestring" = xdisable; then
12999 defaultval=yes
13000 else
13001 defaultval=no
13002 fi
13003 fi
13004
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
13006 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
13007 # Check whether --enable-popupwin was given.
13008 if test "${enable_popupwin+set}" = set; then :
13009 enableval=$enable_popupwin;
13010 if test "$enableval" = yes; then
13011 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13012 else
13013 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13014 fi
13015
13016 else
13017
13018 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13019
13020 fi
13021
13022
13023 eval "$wx_cv_use_popupwin"
13024
13025 if test x"$enablestring" = xdisable; then
13026 if test $wxUSE_POPUPWIN = no; then
13027 result=yes
13028 else
13029 result=no
13030 fi
13031 else
13032 result=$wxUSE_POPUPWIN
13033 fi
13034
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13036 $as_echo "$result" >&6; }
13037
13038
13039 enablestring=
13040 defaultval=$wxUSE_ALL_FEATURES
13041 if test -z "$defaultval"; then
13042 if test x"$enablestring" = xdisable; then
13043 defaultval=yes
13044 else
13045 defaultval=no
13046 fi
13047 fi
13048
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-prefseditor" >&5
13050 $as_echo_n "checking for --${enablestring:-enable}-prefseditor... " >&6; }
13051 # Check whether --enable-prefseditor was given.
13052 if test "${enable_prefseditor+set}" = set; then :
13053 enableval=$enable_prefseditor;
13054 if test "$enableval" = yes; then
13055 wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=yes'
13056 else
13057 wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=no'
13058 fi
13059
13060 else
13061
13062 wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=${'DEFAULT_wxUSE_PREFERENCES_EDITOR":-$defaultval}"
13063
13064 fi
13065
13066
13067 eval "$wx_cv_use_prefseditor"
13068
13069 if test x"$enablestring" = xdisable; then
13070 if test $wxUSE_PREFERENCES_EDITOR = no; then
13071 result=yes
13072 else
13073 result=no
13074 fi
13075 else
13076 result=$wxUSE_PREFERENCES_EDITOR
13077 fi
13078
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13080 $as_echo "$result" >&6; }
13081
13082
13083 enablestring=
13084 defaultval=$wxUSE_ALL_FEATURES
13085 if test -z "$defaultval"; then
13086 if test x"$enablestring" = xdisable; then
13087 defaultval=yes
13088 else
13089 defaultval=no
13090 fi
13091 fi
13092
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
13094 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
13095 # Check whether --enable-radiobox was given.
13096 if test "${enable_radiobox+set}" = set; then :
13097 enableval=$enable_radiobox;
13098 if test "$enableval" = yes; then
13099 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
13100 else
13101 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
13102 fi
13103
13104 else
13105
13106 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
13107
13108 fi
13109
13110
13111 eval "$wx_cv_use_radiobox"
13112
13113 if test x"$enablestring" = xdisable; then
13114 if test $wxUSE_RADIOBOX = no; then
13115 result=yes
13116 else
13117 result=no
13118 fi
13119 else
13120 result=$wxUSE_RADIOBOX
13121 fi
13122
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13124 $as_echo "$result" >&6; }
13125
13126
13127 enablestring=
13128 defaultval=$wxUSE_ALL_FEATURES
13129 if test -z "$defaultval"; then
13130 if test x"$enablestring" = xdisable; then
13131 defaultval=yes
13132 else
13133 defaultval=no
13134 fi
13135 fi
13136
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
13138 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
13139 # Check whether --enable-radiobtn was given.
13140 if test "${enable_radiobtn+set}" = set; then :
13141 enableval=$enable_radiobtn;
13142 if test "$enableval" = yes; then
13143 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
13144 else
13145 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
13146 fi
13147
13148 else
13149
13150 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
13151
13152 fi
13153
13154
13155 eval "$wx_cv_use_radiobtn"
13156
13157 if test x"$enablestring" = xdisable; then
13158 if test $wxUSE_RADIOBTN = no; then
13159 result=yes
13160 else
13161 result=no
13162 fi
13163 else
13164 result=$wxUSE_RADIOBTN
13165 fi
13166
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13168 $as_echo "$result" >&6; }
13169
13170
13171 enablestring=
13172 defaultval=$wxUSE_ALL_FEATURES
13173 if test -z "$defaultval"; then
13174 if test x"$enablestring" = xdisable; then
13175 defaultval=yes
13176 else
13177 defaultval=no
13178 fi
13179 fi
13180
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
13182 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
13183 # Check whether --enable-richmsgdlg was given.
13184 if test "${enable_richmsgdlg+set}" = set; then :
13185 enableval=$enable_richmsgdlg;
13186 if test "$enableval" = yes; then
13187 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
13188 else
13189 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
13190 fi
13191
13192 else
13193
13194 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
13195
13196 fi
13197
13198
13199 eval "$wx_cv_use_richmsgdlg"
13200
13201 if test x"$enablestring" = xdisable; then
13202 if test $wxUSE_RICHMSGDLG = no; then
13203 result=yes
13204 else
13205 result=no
13206 fi
13207 else
13208 result=$wxUSE_RICHMSGDLG
13209 fi
13210
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13212 $as_echo "$result" >&6; }
13213
13214
13215 enablestring=
13216 defaultval=$wxUSE_ALL_FEATURES
13217 if test -z "$defaultval"; then
13218 if test x"$enablestring" = xdisable; then
13219 defaultval=yes
13220 else
13221 defaultval=no
13222 fi
13223 fi
13224
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
13226 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
13227 # Check whether --enable-richtooltip was given.
13228 if test "${enable_richtooltip+set}" = set; then :
13229 enableval=$enable_richtooltip;
13230 if test "$enableval" = yes; then
13231 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
13232 else
13233 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
13234 fi
13235
13236 else
13237
13238 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13239
13240 fi
13241
13242
13243 eval "$wx_cv_use_richtooltip"
13244
13245 if test x"$enablestring" = xdisable; then
13246 if test $wxUSE_RICHTOOLTIP = no; then
13247 result=yes
13248 else
13249 result=no
13250 fi
13251 else
13252 result=$wxUSE_RICHTOOLTIP
13253 fi
13254
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13256 $as_echo "$result" >&6; }
13257
13258
13259 enablestring=
13260 defaultval=$wxUSE_ALL_FEATURES
13261 if test -z "$defaultval"; then
13262 if test x"$enablestring" = xdisable; then
13263 defaultval=yes
13264 else
13265 defaultval=no
13266 fi
13267 fi
13268
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13270 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13271 # Check whether --enable-rearrangectrl was given.
13272 if test "${enable_rearrangectrl+set}" = set; then :
13273 enableval=$enable_rearrangectrl;
13274 if test "$enableval" = yes; then
13275 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13276 else
13277 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13278 fi
13279
13280 else
13281
13282 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13283
13284 fi
13285
13286
13287 eval "$wx_cv_use_rearrangectrl"
13288
13289 if test x"$enablestring" = xdisable; then
13290 if test $wxUSE_REARRANGECTRL = no; then
13291 result=yes
13292 else
13293 result=no
13294 fi
13295 else
13296 result=$wxUSE_REARRANGECTRL
13297 fi
13298
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13300 $as_echo "$result" >&6; }
13301
13302
13303 enablestring=
13304 defaultval=$wxUSE_ALL_FEATURES
13305 if test -z "$defaultval"; then
13306 if test x"$enablestring" = xdisable; then
13307 defaultval=yes
13308 else
13309 defaultval=no
13310 fi
13311 fi
13312
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13314 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13315 # Check whether --enable-sash was given.
13316 if test "${enable_sash+set}" = set; then :
13317 enableval=$enable_sash;
13318 if test "$enableval" = yes; then
13319 wx_cv_use_sash='wxUSE_SASH=yes'
13320 else
13321 wx_cv_use_sash='wxUSE_SASH=no'
13322 fi
13323
13324 else
13325
13326 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13327
13328 fi
13329
13330
13331 eval "$wx_cv_use_sash"
13332
13333 if test x"$enablestring" = xdisable; then
13334 if test $wxUSE_SASH = no; then
13335 result=yes
13336 else
13337 result=no
13338 fi
13339 else
13340 result=$wxUSE_SASH
13341 fi
13342
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13344 $as_echo "$result" >&6; }
13345
13346
13347 enablestring=
13348 defaultval=$wxUSE_ALL_FEATURES
13349 if test -z "$defaultval"; then
13350 if test x"$enablestring" = xdisable; then
13351 defaultval=yes
13352 else
13353 defaultval=no
13354 fi
13355 fi
13356
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13358 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13359 # Check whether --enable-scrollbar was given.
13360 if test "${enable_scrollbar+set}" = set; then :
13361 enableval=$enable_scrollbar;
13362 if test "$enableval" = yes; then
13363 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13364 else
13365 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13366 fi
13367
13368 else
13369
13370 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13371
13372 fi
13373
13374
13375 eval "$wx_cv_use_scrollbar"
13376
13377 if test x"$enablestring" = xdisable; then
13378 if test $wxUSE_SCROLLBAR = no; then
13379 result=yes
13380 else
13381 result=no
13382 fi
13383 else
13384 result=$wxUSE_SCROLLBAR
13385 fi
13386
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13388 $as_echo "$result" >&6; }
13389
13390
13391 enablestring=
13392 defaultval=$wxUSE_ALL_FEATURES
13393 if test -z "$defaultval"; then
13394 if test x"$enablestring" = xdisable; then
13395 defaultval=yes
13396 else
13397 defaultval=no
13398 fi
13399 fi
13400
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13402 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13403 # Check whether --enable-searchctrl was given.
13404 if test "${enable_searchctrl+set}" = set; then :
13405 enableval=$enable_searchctrl;
13406 if test "$enableval" = yes; then
13407 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13408 else
13409 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13410 fi
13411
13412 else
13413
13414 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13415
13416 fi
13417
13418
13419 eval "$wx_cv_use_searchctrl"
13420
13421 if test x"$enablestring" = xdisable; then
13422 if test $wxUSE_SEARCHCTRL = no; then
13423 result=yes
13424 else
13425 result=no
13426 fi
13427 else
13428 result=$wxUSE_SEARCHCTRL
13429 fi
13430
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13432 $as_echo "$result" >&6; }
13433
13434
13435 enablestring=
13436 defaultval=$wxUSE_ALL_FEATURES
13437 if test -z "$defaultval"; then
13438 if test x"$enablestring" = xdisable; then
13439 defaultval=yes
13440 else
13441 defaultval=no
13442 fi
13443 fi
13444
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13446 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13447 # Check whether --enable-slider was given.
13448 if test "${enable_slider+set}" = set; then :
13449 enableval=$enable_slider;
13450 if test "$enableval" = yes; then
13451 wx_cv_use_slider='wxUSE_SLIDER=yes'
13452 else
13453 wx_cv_use_slider='wxUSE_SLIDER=no'
13454 fi
13455
13456 else
13457
13458 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13459
13460 fi
13461
13462
13463 eval "$wx_cv_use_slider"
13464
13465 if test x"$enablestring" = xdisable; then
13466 if test $wxUSE_SLIDER = no; then
13467 result=yes
13468 else
13469 result=no
13470 fi
13471 else
13472 result=$wxUSE_SLIDER
13473 fi
13474
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13476 $as_echo "$result" >&6; }
13477
13478
13479 enablestring=
13480 defaultval=$wxUSE_ALL_FEATURES
13481 if test -z "$defaultval"; then
13482 if test x"$enablestring" = xdisable; then
13483 defaultval=yes
13484 else
13485 defaultval=no
13486 fi
13487 fi
13488
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13490 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13491 # Check whether --enable-spinbtn was given.
13492 if test "${enable_spinbtn+set}" = set; then :
13493 enableval=$enable_spinbtn;
13494 if test "$enableval" = yes; then
13495 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13496 else
13497 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13498 fi
13499
13500 else
13501
13502 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13503
13504 fi
13505
13506
13507 eval "$wx_cv_use_spinbtn"
13508
13509 if test x"$enablestring" = xdisable; then
13510 if test $wxUSE_SPINBTN = no; then
13511 result=yes
13512 else
13513 result=no
13514 fi
13515 else
13516 result=$wxUSE_SPINBTN
13517 fi
13518
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13520 $as_echo "$result" >&6; }
13521
13522
13523 enablestring=
13524 defaultval=$wxUSE_ALL_FEATURES
13525 if test -z "$defaultval"; then
13526 if test x"$enablestring" = xdisable; then
13527 defaultval=yes
13528 else
13529 defaultval=no
13530 fi
13531 fi
13532
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13534 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13535 # Check whether --enable-spinctrl was given.
13536 if test "${enable_spinctrl+set}" = set; then :
13537 enableval=$enable_spinctrl;
13538 if test "$enableval" = yes; then
13539 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13540 else
13541 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13542 fi
13543
13544 else
13545
13546 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13547
13548 fi
13549
13550
13551 eval "$wx_cv_use_spinctrl"
13552
13553 if test x"$enablestring" = xdisable; then
13554 if test $wxUSE_SPINCTRL = no; then
13555 result=yes
13556 else
13557 result=no
13558 fi
13559 else
13560 result=$wxUSE_SPINCTRL
13561 fi
13562
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13564 $as_echo "$result" >&6; }
13565
13566
13567 enablestring=
13568 defaultval=$wxUSE_ALL_FEATURES
13569 if test -z "$defaultval"; then
13570 if test x"$enablestring" = xdisable; then
13571 defaultval=yes
13572 else
13573 defaultval=no
13574 fi
13575 fi
13576
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13578 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13579 # Check whether --enable-splitter was given.
13580 if test "${enable_splitter+set}" = set; then :
13581 enableval=$enable_splitter;
13582 if test "$enableval" = yes; then
13583 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13584 else
13585 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13586 fi
13587
13588 else
13589
13590 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13591
13592 fi
13593
13594
13595 eval "$wx_cv_use_splitter"
13596
13597 if test x"$enablestring" = xdisable; then
13598 if test $wxUSE_SPLITTER = no; then
13599 result=yes
13600 else
13601 result=no
13602 fi
13603 else
13604 result=$wxUSE_SPLITTER
13605 fi
13606
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13608 $as_echo "$result" >&6; }
13609
13610
13611 enablestring=
13612 defaultval=$wxUSE_ALL_FEATURES
13613 if test -z "$defaultval"; then
13614 if test x"$enablestring" = xdisable; then
13615 defaultval=yes
13616 else
13617 defaultval=no
13618 fi
13619 fi
13620
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13622 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13623 # Check whether --enable-statbmp was given.
13624 if test "${enable_statbmp+set}" = set; then :
13625 enableval=$enable_statbmp;
13626 if test "$enableval" = yes; then
13627 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13628 else
13629 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13630 fi
13631
13632 else
13633
13634 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13635
13636 fi
13637
13638
13639 eval "$wx_cv_use_statbmp"
13640
13641 if test x"$enablestring" = xdisable; then
13642 if test $wxUSE_STATBMP = no; then
13643 result=yes
13644 else
13645 result=no
13646 fi
13647 else
13648 result=$wxUSE_STATBMP
13649 fi
13650
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13652 $as_echo "$result" >&6; }
13653
13654
13655 enablestring=
13656 defaultval=$wxUSE_ALL_FEATURES
13657 if test -z "$defaultval"; then
13658 if test x"$enablestring" = xdisable; then
13659 defaultval=yes
13660 else
13661 defaultval=no
13662 fi
13663 fi
13664
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13666 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13667 # Check whether --enable-statbox was given.
13668 if test "${enable_statbox+set}" = set; then :
13669 enableval=$enable_statbox;
13670 if test "$enableval" = yes; then
13671 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13672 else
13673 wx_cv_use_statbox='wxUSE_STATBOX=no'
13674 fi
13675
13676 else
13677
13678 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13679
13680 fi
13681
13682
13683 eval "$wx_cv_use_statbox"
13684
13685 if test x"$enablestring" = xdisable; then
13686 if test $wxUSE_STATBOX = no; then
13687 result=yes
13688 else
13689 result=no
13690 fi
13691 else
13692 result=$wxUSE_STATBOX
13693 fi
13694
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13696 $as_echo "$result" >&6; }
13697
13698
13699 enablestring=
13700 defaultval=$wxUSE_ALL_FEATURES
13701 if test -z "$defaultval"; then
13702 if test x"$enablestring" = xdisable; then
13703 defaultval=yes
13704 else
13705 defaultval=no
13706 fi
13707 fi
13708
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13710 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13711 # Check whether --enable-statline was given.
13712 if test "${enable_statline+set}" = set; then :
13713 enableval=$enable_statline;
13714 if test "$enableval" = yes; then
13715 wx_cv_use_statline='wxUSE_STATLINE=yes'
13716 else
13717 wx_cv_use_statline='wxUSE_STATLINE=no'
13718 fi
13719
13720 else
13721
13722 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13723
13724 fi
13725
13726
13727 eval "$wx_cv_use_statline"
13728
13729 if test x"$enablestring" = xdisable; then
13730 if test $wxUSE_STATLINE = no; then
13731 result=yes
13732 else
13733 result=no
13734 fi
13735 else
13736 result=$wxUSE_STATLINE
13737 fi
13738
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13740 $as_echo "$result" >&6; }
13741
13742
13743 enablestring=
13744 defaultval=$wxUSE_ALL_FEATURES
13745 if test -z "$defaultval"; then
13746 if test x"$enablestring" = xdisable; then
13747 defaultval=yes
13748 else
13749 defaultval=no
13750 fi
13751 fi
13752
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13754 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13755 # Check whether --enable-stattext was given.
13756 if test "${enable_stattext+set}" = set; then :
13757 enableval=$enable_stattext;
13758 if test "$enableval" = yes; then
13759 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13760 else
13761 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13762 fi
13763
13764 else
13765
13766 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13767
13768 fi
13769
13770
13771 eval "$wx_cv_use_stattext"
13772
13773 if test x"$enablestring" = xdisable; then
13774 if test $wxUSE_STATTEXT = no; then
13775 result=yes
13776 else
13777 result=no
13778 fi
13779 else
13780 result=$wxUSE_STATTEXT
13781 fi
13782
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13784 $as_echo "$result" >&6; }
13785
13786
13787 enablestring=
13788 defaultval=$wxUSE_ALL_FEATURES
13789 if test -z "$defaultval"; then
13790 if test x"$enablestring" = xdisable; then
13791 defaultval=yes
13792 else
13793 defaultval=no
13794 fi
13795 fi
13796
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13798 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13799 # Check whether --enable-statusbar was given.
13800 if test "${enable_statusbar+set}" = set; then :
13801 enableval=$enable_statusbar;
13802 if test "$enableval" = yes; then
13803 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13804 else
13805 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13806 fi
13807
13808 else
13809
13810 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13811
13812 fi
13813
13814
13815 eval "$wx_cv_use_statusbar"
13816
13817 if test x"$enablestring" = xdisable; then
13818 if test $wxUSE_STATUSBAR = no; then
13819 result=yes
13820 else
13821 result=no
13822 fi
13823 else
13824 result=$wxUSE_STATUSBAR
13825 fi
13826
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13828 $as_echo "$result" >&6; }
13829
13830
13831 enablestring=
13832 defaultval=$wxUSE_ALL_FEATURES
13833 if test -z "$defaultval"; then
13834 if test x"$enablestring" = xdisable; then
13835 defaultval=yes
13836 else
13837 defaultval=no
13838 fi
13839 fi
13840
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13842 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13843 # Check whether --enable-taskbaricon was given.
13844 if test "${enable_taskbaricon+set}" = set; then :
13845 enableval=$enable_taskbaricon;
13846 if test "$enableval" = yes; then
13847 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13848 else
13849 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13850 fi
13851
13852 else
13853
13854 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13855
13856 fi
13857
13858
13859 eval "$wx_cv_use_taskbaricon"
13860
13861 if test x"$enablestring" = xdisable; then
13862 if test $wxUSE_TASKBARICON = no; then
13863 result=yes
13864 else
13865 result=no
13866 fi
13867 else
13868 result=$wxUSE_TASKBARICON
13869 fi
13870
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13872 $as_echo "$result" >&6; }
13873
13874
13875 enablestring=
13876 defaultval=$wxUSE_ALL_FEATURES
13877 if test -z "$defaultval"; then
13878 if test x"$enablestring" = xdisable; then
13879 defaultval=yes
13880 else
13881 defaultval=no
13882 fi
13883 fi
13884
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13886 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13887 # Check whether --enable-tbarnative was given.
13888 if test "${enable_tbarnative+set}" = set; then :
13889 enableval=$enable_tbarnative;
13890 if test "$enableval" = yes; then
13891 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13892 else
13893 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13894 fi
13895
13896 else
13897
13898 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13899
13900 fi
13901
13902
13903 eval "$wx_cv_use_tbarnative"
13904
13905 if test x"$enablestring" = xdisable; then
13906 if test $wxUSE_TOOLBAR_NATIVE = no; then
13907 result=yes
13908 else
13909 result=no
13910 fi
13911 else
13912 result=$wxUSE_TOOLBAR_NATIVE
13913 fi
13914
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13916 $as_echo "$result" >&6; }
13917
13918
13919 enablestring=
13920 defaultval=$wxUSE_ALL_FEATURES
13921 if test -z "$defaultval"; then
13922 if test x"$enablestring" = xdisable; then
13923 defaultval=yes
13924 else
13925 defaultval=no
13926 fi
13927 fi
13928
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13930 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13931 # Check whether --enable-textctrl was given.
13932 if test "${enable_textctrl+set}" = set; then :
13933 enableval=$enable_textctrl;
13934 if test "$enableval" = yes; then
13935 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13936 else
13937 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13938 fi
13939
13940 else
13941
13942 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13943
13944 fi
13945
13946
13947 eval "$wx_cv_use_textctrl"
13948
13949 if test x"$enablestring" = xdisable; then
13950 if test $wxUSE_TEXTCTRL = no; then
13951 result=yes
13952 else
13953 result=no
13954 fi
13955 else
13956 result=$wxUSE_TEXTCTRL
13957 fi
13958
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13960 $as_echo "$result" >&6; }
13961
13962
13963 enablestring=
13964 defaultval=$wxUSE_ALL_FEATURES
13965 if test -z "$defaultval"; then
13966 if test x"$enablestring" = xdisable; then
13967 defaultval=yes
13968 else
13969 defaultval=no
13970 fi
13971 fi
13972
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13974 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13975 # Check whether --enable-datepick was given.
13976 if test "${enable_datepick+set}" = set; then :
13977 enableval=$enable_datepick;
13978 if test "$enableval" = yes; then
13979 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13980 else
13981 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13982 fi
13983
13984 else
13985
13986 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13987
13988 fi
13989
13990
13991 eval "$wx_cv_use_datepick"
13992
13993 if test x"$enablestring" = xdisable; then
13994 if test $wxUSE_TIMEPICKCTRL = no; then
13995 result=yes
13996 else
13997 result=no
13998 fi
13999 else
14000 result=$wxUSE_TIMEPICKCTRL
14001 fi
14002
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14004 $as_echo "$result" >&6; }
14005
14006
14007 enablestring=
14008 defaultval=$wxUSE_ALL_FEATURES
14009 if test -z "$defaultval"; then
14010 if test x"$enablestring" = xdisable; then
14011 defaultval=yes
14012 else
14013 defaultval=no
14014 fi
14015 fi
14016
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
14018 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
14019 # Check whether --enable-tipwindow was given.
14020 if test "${enable_tipwindow+set}" = set; then :
14021 enableval=$enable_tipwindow;
14022 if test "$enableval" = yes; then
14023 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14024 else
14025 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14026 fi
14027
14028 else
14029
14030 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14031
14032 fi
14033
14034
14035 eval "$wx_cv_use_tipwindow"
14036
14037 if test x"$enablestring" = xdisable; then
14038 if test $wxUSE_TIPWINDOW = no; then
14039 result=yes
14040 else
14041 result=no
14042 fi
14043 else
14044 result=$wxUSE_TIPWINDOW
14045 fi
14046
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14048 $as_echo "$result" >&6; }
14049
14050
14051 enablestring=
14052 defaultval=$wxUSE_ALL_FEATURES
14053 if test -z "$defaultval"; then
14054 if test x"$enablestring" = xdisable; then
14055 defaultval=yes
14056 else
14057 defaultval=no
14058 fi
14059 fi
14060
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
14062 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
14063 # Check whether --enable-togglebtn was given.
14064 if test "${enable_togglebtn+set}" = set; then :
14065 enableval=$enable_togglebtn;
14066 if test "$enableval" = yes; then
14067 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
14068 else
14069 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
14070 fi
14071
14072 else
14073
14074 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
14075
14076 fi
14077
14078
14079 eval "$wx_cv_use_togglebtn"
14080
14081 if test x"$enablestring" = xdisable; then
14082 if test $wxUSE_TOGGLEBTN = no; then
14083 result=yes
14084 else
14085 result=no
14086 fi
14087 else
14088 result=$wxUSE_TOGGLEBTN
14089 fi
14090
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14092 $as_echo "$result" >&6; }
14093
14094
14095 enablestring=
14096 defaultval=$wxUSE_ALL_FEATURES
14097 if test -z "$defaultval"; then
14098 if test x"$enablestring" = xdisable; then
14099 defaultval=yes
14100 else
14101 defaultval=no
14102 fi
14103 fi
14104
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
14106 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
14107 # Check whether --enable-toolbar was given.
14108 if test "${enable_toolbar+set}" = set; then :
14109 enableval=$enable_toolbar;
14110 if test "$enableval" = yes; then
14111 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
14112 else
14113 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
14114 fi
14115
14116 else
14117
14118 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
14119
14120 fi
14121
14122
14123 eval "$wx_cv_use_toolbar"
14124
14125 if test x"$enablestring" = xdisable; then
14126 if test $wxUSE_TOOLBAR = no; then
14127 result=yes
14128 else
14129 result=no
14130 fi
14131 else
14132 result=$wxUSE_TOOLBAR
14133 fi
14134
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14136 $as_echo "$result" >&6; }
14137
14138
14139 enablestring=
14140 defaultval=$wxUSE_ALL_FEATURES
14141 if test -z "$defaultval"; then
14142 if test x"$enablestring" = xdisable; then
14143 defaultval=yes
14144 else
14145 defaultval=no
14146 fi
14147 fi
14148
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
14150 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
14151 # Check whether --enable-toolbook was given.
14152 if test "${enable_toolbook+set}" = set; then :
14153 enableval=$enable_toolbook;
14154 if test "$enableval" = yes; then
14155 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
14156 else
14157 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
14158 fi
14159
14160 else
14161
14162 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14163
14164 fi
14165
14166
14167 eval "$wx_cv_use_toolbook"
14168
14169 if test x"$enablestring" = xdisable; then
14170 if test $wxUSE_TOOLBOOK = no; then
14171 result=yes
14172 else
14173 result=no
14174 fi
14175 else
14176 result=$wxUSE_TOOLBOOK
14177 fi
14178
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14180 $as_echo "$result" >&6; }
14181
14182
14183 enablestring=
14184 defaultval=$wxUSE_ALL_FEATURES
14185 if test -z "$defaultval"; then
14186 if test x"$enablestring" = xdisable; then
14187 defaultval=yes
14188 else
14189 defaultval=no
14190 fi
14191 fi
14192
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
14194 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
14195 # Check whether --enable-treebook was given.
14196 if test "${enable_treebook+set}" = set; then :
14197 enableval=$enable_treebook;
14198 if test "$enableval" = yes; then
14199 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
14200 else
14201 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
14202 fi
14203
14204 else
14205
14206 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14207
14208 fi
14209
14210
14211 eval "$wx_cv_use_treebook"
14212
14213 if test x"$enablestring" = xdisable; then
14214 if test $wxUSE_TREEBOOK = no; then
14215 result=yes
14216 else
14217 result=no
14218 fi
14219 else
14220 result=$wxUSE_TREEBOOK
14221 fi
14222
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14224 $as_echo "$result" >&6; }
14225
14226
14227 enablestring=
14228 defaultval=$wxUSE_ALL_FEATURES
14229 if test -z "$defaultval"; then
14230 if test x"$enablestring" = xdisable; then
14231 defaultval=yes
14232 else
14233 defaultval=no
14234 fi
14235 fi
14236
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14238 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14239 # Check whether --enable-treectrl was given.
14240 if test "${enable_treectrl+set}" = set; then :
14241 enableval=$enable_treectrl;
14242 if test "$enableval" = yes; then
14243 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14244 else
14245 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14246 fi
14247
14248 else
14249
14250 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14251
14252 fi
14253
14254
14255 eval "$wx_cv_use_treectrl"
14256
14257 if test x"$enablestring" = xdisable; then
14258 if test $wxUSE_TREECTRL = no; then
14259 result=yes
14260 else
14261 result=no
14262 fi
14263 else
14264 result=$wxUSE_TREECTRL
14265 fi
14266
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14268 $as_echo "$result" >&6; }
14269
14270
14271 enablestring=
14272 defaultval=$wxUSE_ALL_FEATURES
14273 if test -z "$defaultval"; then
14274 if test x"$enablestring" = xdisable; then
14275 defaultval=yes
14276 else
14277 defaultval=no
14278 fi
14279 fi
14280
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14282 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14283 # Check whether --enable-treelist was given.
14284 if test "${enable_treelist+set}" = set; then :
14285 enableval=$enable_treelist;
14286 if test "$enableval" = yes; then
14287 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14288 else
14289 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14290 fi
14291
14292 else
14293
14294 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14295
14296 fi
14297
14298
14299 eval "$wx_cv_use_treelist"
14300
14301 if test x"$enablestring" = xdisable; then
14302 if test $wxUSE_TREELISTCTRL = no; then
14303 result=yes
14304 else
14305 result=no
14306 fi
14307 else
14308 result=$wxUSE_TREELISTCTRL
14309 fi
14310
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14312 $as_echo "$result" >&6; }
14313
14314
14315
14316
14317 enablestring=
14318 defaultval=$wxUSE_ALL_FEATURES
14319 if test -z "$defaultval"; then
14320 if test x"$enablestring" = xdisable; then
14321 defaultval=yes
14322 else
14323 defaultval=no
14324 fi
14325 fi
14326
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14328 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14329 # Check whether --enable-commondlg was given.
14330 if test "${enable_commondlg+set}" = set; then :
14331 enableval=$enable_commondlg;
14332 if test "$enableval" = yes; then
14333 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14334 else
14335 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14336 fi
14337
14338 else
14339
14340 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14341
14342 fi
14343
14344
14345 eval "$wx_cv_use_commondlg"
14346
14347 if test x"$enablestring" = xdisable; then
14348 if test $wxUSE_COMMONDLGS = no; then
14349 result=yes
14350 else
14351 result=no
14352 fi
14353 else
14354 result=$wxUSE_COMMONDLGS
14355 fi
14356
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14358 $as_echo "$result" >&6; }
14359
14360
14361 enablestring=
14362 defaultval=$wxUSE_ALL_FEATURES
14363 if test -z "$defaultval"; then
14364 if test x"$enablestring" = xdisable; then
14365 defaultval=yes
14366 else
14367 defaultval=no
14368 fi
14369 fi
14370
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14372 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14373 # Check whether --enable-aboutdlg was given.
14374 if test "${enable_aboutdlg+set}" = set; then :
14375 enableval=$enable_aboutdlg;
14376 if test "$enableval" = yes; then
14377 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14378 else
14379 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14380 fi
14381
14382 else
14383
14384 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14385
14386 fi
14387
14388
14389 eval "$wx_cv_use_aboutdlg"
14390
14391 if test x"$enablestring" = xdisable; then
14392 if test $wxUSE_ABOUTDLG = no; then
14393 result=yes
14394 else
14395 result=no
14396 fi
14397 else
14398 result=$wxUSE_ABOUTDLG
14399 fi
14400
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14402 $as_echo "$result" >&6; }
14403
14404
14405 enablestring=
14406 defaultval=$wxUSE_ALL_FEATURES
14407 if test -z "$defaultval"; then
14408 if test x"$enablestring" = xdisable; then
14409 defaultval=yes
14410 else
14411 defaultval=no
14412 fi
14413 fi
14414
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14416 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14417 # Check whether --enable-choicedlg was given.
14418 if test "${enable_choicedlg+set}" = set; then :
14419 enableval=$enable_choicedlg;
14420 if test "$enableval" = yes; then
14421 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14422 else
14423 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14424 fi
14425
14426 else
14427
14428 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14429
14430 fi
14431
14432
14433 eval "$wx_cv_use_choicedlg"
14434
14435 if test x"$enablestring" = xdisable; then
14436 if test $wxUSE_CHOICEDLG = no; then
14437 result=yes
14438 else
14439 result=no
14440 fi
14441 else
14442 result=$wxUSE_CHOICEDLG
14443 fi
14444
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14446 $as_echo "$result" >&6; }
14447
14448
14449 enablestring=
14450 defaultval=$wxUSE_ALL_FEATURES
14451 if test -z "$defaultval"; then
14452 if test x"$enablestring" = xdisable; then
14453 defaultval=yes
14454 else
14455 defaultval=no
14456 fi
14457 fi
14458
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14460 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14461 # Check whether --enable-coldlg was given.
14462 if test "${enable_coldlg+set}" = set; then :
14463 enableval=$enable_coldlg;
14464 if test "$enableval" = yes; then
14465 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14466 else
14467 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14468 fi
14469
14470 else
14471
14472 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14473
14474 fi
14475
14476
14477 eval "$wx_cv_use_coldlg"
14478
14479 if test x"$enablestring" = xdisable; then
14480 if test $wxUSE_COLOURDLG = no; then
14481 result=yes
14482 else
14483 result=no
14484 fi
14485 else
14486 result=$wxUSE_COLOURDLG
14487 fi
14488
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14490 $as_echo "$result" >&6; }
14491
14492
14493 enablestring=
14494 defaultval=$wxUSE_ALL_FEATURES
14495 if test -z "$defaultval"; then
14496 if test x"$enablestring" = xdisable; then
14497 defaultval=yes
14498 else
14499 defaultval=no
14500 fi
14501 fi
14502
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14504 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14505 # Check whether --enable-filedlg was given.
14506 if test "${enable_filedlg+set}" = set; then :
14507 enableval=$enable_filedlg;
14508 if test "$enableval" = yes; then
14509 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14510 else
14511 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14512 fi
14513
14514 else
14515
14516 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14517
14518 fi
14519
14520
14521 eval "$wx_cv_use_filedlg"
14522
14523 if test x"$enablestring" = xdisable; then
14524 if test $wxUSE_FILEDLG = no; then
14525 result=yes
14526 else
14527 result=no
14528 fi
14529 else
14530 result=$wxUSE_FILEDLG
14531 fi
14532
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14534 $as_echo "$result" >&6; }
14535
14536
14537 enablestring=
14538 defaultval=$wxUSE_ALL_FEATURES
14539 if test -z "$defaultval"; then
14540 if test x"$enablestring" = xdisable; then
14541 defaultval=yes
14542 else
14543 defaultval=no
14544 fi
14545 fi
14546
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14548 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14549 # Check whether --enable-finddlg was given.
14550 if test "${enable_finddlg+set}" = set; then :
14551 enableval=$enable_finddlg;
14552 if test "$enableval" = yes; then
14553 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14554 else
14555 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14556 fi
14557
14558 else
14559
14560 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14561
14562 fi
14563
14564
14565 eval "$wx_cv_use_finddlg"
14566
14567 if test x"$enablestring" = xdisable; then
14568 if test $wxUSE_FINDREPLDLG = no; then
14569 result=yes
14570 else
14571 result=no
14572 fi
14573 else
14574 result=$wxUSE_FINDREPLDLG
14575 fi
14576
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14578 $as_echo "$result" >&6; }
14579
14580
14581 enablestring=
14582 defaultval=$wxUSE_ALL_FEATURES
14583 if test -z "$defaultval"; then
14584 if test x"$enablestring" = xdisable; then
14585 defaultval=yes
14586 else
14587 defaultval=no
14588 fi
14589 fi
14590
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14592 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14593 # Check whether --enable-fontdlg was given.
14594 if test "${enable_fontdlg+set}" = set; then :
14595 enableval=$enable_fontdlg;
14596 if test "$enableval" = yes; then
14597 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14598 else
14599 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14600 fi
14601
14602 else
14603
14604 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14605
14606 fi
14607
14608
14609 eval "$wx_cv_use_fontdlg"
14610
14611 if test x"$enablestring" = xdisable; then
14612 if test $wxUSE_FONTDLG = no; then
14613 result=yes
14614 else
14615 result=no
14616 fi
14617 else
14618 result=$wxUSE_FONTDLG
14619 fi
14620
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14622 $as_echo "$result" >&6; }
14623
14624
14625 enablestring=
14626 defaultval=$wxUSE_ALL_FEATURES
14627 if test -z "$defaultval"; then
14628 if test x"$enablestring" = xdisable; then
14629 defaultval=yes
14630 else
14631 defaultval=no
14632 fi
14633 fi
14634
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14636 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14637 # Check whether --enable-dirdlg was given.
14638 if test "${enable_dirdlg+set}" = set; then :
14639 enableval=$enable_dirdlg;
14640 if test "$enableval" = yes; then
14641 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14642 else
14643 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14644 fi
14645
14646 else
14647
14648 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14649
14650 fi
14651
14652
14653 eval "$wx_cv_use_dirdlg"
14654
14655 if test x"$enablestring" = xdisable; then
14656 if test $wxUSE_DIRDLG = no; then
14657 result=yes
14658 else
14659 result=no
14660 fi
14661 else
14662 result=$wxUSE_DIRDLG
14663 fi
14664
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14666 $as_echo "$result" >&6; }
14667
14668
14669 enablestring=
14670 defaultval=$wxUSE_ALL_FEATURES
14671 if test -z "$defaultval"; then
14672 if test x"$enablestring" = xdisable; then
14673 defaultval=yes
14674 else
14675 defaultval=no
14676 fi
14677 fi
14678
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14680 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14681 # Check whether --enable-msgdlg was given.
14682 if test "${enable_msgdlg+set}" = set; then :
14683 enableval=$enable_msgdlg;
14684 if test "$enableval" = yes; then
14685 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14686 else
14687 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14688 fi
14689
14690 else
14691
14692 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14693
14694 fi
14695
14696
14697 eval "$wx_cv_use_msgdlg"
14698
14699 if test x"$enablestring" = xdisable; then
14700 if test $wxUSE_MSGDLG = no; then
14701 result=yes
14702 else
14703 result=no
14704 fi
14705 else
14706 result=$wxUSE_MSGDLG
14707 fi
14708
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14710 $as_echo "$result" >&6; }
14711
14712
14713 enablestring=
14714 defaultval=$wxUSE_ALL_FEATURES
14715 if test -z "$defaultval"; then
14716 if test x"$enablestring" = xdisable; then
14717 defaultval=yes
14718 else
14719 defaultval=no
14720 fi
14721 fi
14722
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14724 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14725 # Check whether --enable-numberdlg was given.
14726 if test "${enable_numberdlg+set}" = set; then :
14727 enableval=$enable_numberdlg;
14728 if test "$enableval" = yes; then
14729 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14730 else
14731 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14732 fi
14733
14734 else
14735
14736 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14737
14738 fi
14739
14740
14741 eval "$wx_cv_use_numberdlg"
14742
14743 if test x"$enablestring" = xdisable; then
14744 if test $wxUSE_NUMBERDLG = no; then
14745 result=yes
14746 else
14747 result=no
14748 fi
14749 else
14750 result=$wxUSE_NUMBERDLG
14751 fi
14752
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14754 $as_echo "$result" >&6; }
14755
14756
14757 enablestring=
14758 defaultval=$wxUSE_ALL_FEATURES
14759 if test -z "$defaultval"; then
14760 if test x"$enablestring" = xdisable; then
14761 defaultval=yes
14762 else
14763 defaultval=no
14764 fi
14765 fi
14766
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14768 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14769 # Check whether --enable-splash was given.
14770 if test "${enable_splash+set}" = set; then :
14771 enableval=$enable_splash;
14772 if test "$enableval" = yes; then
14773 wx_cv_use_splash='wxUSE_SPLASH=yes'
14774 else
14775 wx_cv_use_splash='wxUSE_SPLASH=no'
14776 fi
14777
14778 else
14779
14780 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14781
14782 fi
14783
14784
14785 eval "$wx_cv_use_splash"
14786
14787 if test x"$enablestring" = xdisable; then
14788 if test $wxUSE_SPLASH = no; then
14789 result=yes
14790 else
14791 result=no
14792 fi
14793 else
14794 result=$wxUSE_SPLASH
14795 fi
14796
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14798 $as_echo "$result" >&6; }
14799
14800
14801 enablestring=
14802 defaultval=$wxUSE_ALL_FEATURES
14803 if test -z "$defaultval"; then
14804 if test x"$enablestring" = xdisable; then
14805 defaultval=yes
14806 else
14807 defaultval=no
14808 fi
14809 fi
14810
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14812 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14813 # Check whether --enable-textdlg was given.
14814 if test "${enable_textdlg+set}" = set; then :
14815 enableval=$enable_textdlg;
14816 if test "$enableval" = yes; then
14817 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14818 else
14819 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14820 fi
14821
14822 else
14823
14824 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14825
14826 fi
14827
14828
14829 eval "$wx_cv_use_textdlg"
14830
14831 if test x"$enablestring" = xdisable; then
14832 if test $wxUSE_TEXTDLG = no; then
14833 result=yes
14834 else
14835 result=no
14836 fi
14837 else
14838 result=$wxUSE_TEXTDLG
14839 fi
14840
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14842 $as_echo "$result" >&6; }
14843
14844
14845 enablestring=
14846 defaultval=$wxUSE_ALL_FEATURES
14847 if test -z "$defaultval"; then
14848 if test x"$enablestring" = xdisable; then
14849 defaultval=yes
14850 else
14851 defaultval=no
14852 fi
14853 fi
14854
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14856 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14857 # Check whether --enable-tipdlg was given.
14858 if test "${enable_tipdlg+set}" = set; then :
14859 enableval=$enable_tipdlg;
14860 if test "$enableval" = yes; then
14861 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14862 else
14863 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14864 fi
14865
14866 else
14867
14868 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14869
14870 fi
14871
14872
14873 eval "$wx_cv_use_tipdlg"
14874
14875 if test x"$enablestring" = xdisable; then
14876 if test $wxUSE_STARTUP_TIPS = no; then
14877 result=yes
14878 else
14879 result=no
14880 fi
14881 else
14882 result=$wxUSE_STARTUP_TIPS
14883 fi
14884
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14886 $as_echo "$result" >&6; }
14887
14888
14889 enablestring=
14890 defaultval=$wxUSE_ALL_FEATURES
14891 if test -z "$defaultval"; then
14892 if test x"$enablestring" = xdisable; then
14893 defaultval=yes
14894 else
14895 defaultval=no
14896 fi
14897 fi
14898
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14900 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14901 # Check whether --enable-progressdlg was given.
14902 if test "${enable_progressdlg+set}" = set; then :
14903 enableval=$enable_progressdlg;
14904 if test "$enableval" = yes; then
14905 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14906 else
14907 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14908 fi
14909
14910 else
14911
14912 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14913
14914 fi
14915
14916
14917 eval "$wx_cv_use_progressdlg"
14918
14919 if test x"$enablestring" = xdisable; then
14920 if test $wxUSE_PROGRESSDLG = no; then
14921 result=yes
14922 else
14923 result=no
14924 fi
14925 else
14926 result=$wxUSE_PROGRESSDLG
14927 fi
14928
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14930 $as_echo "$result" >&6; }
14931
14932
14933 enablestring=
14934 defaultval=$wxUSE_ALL_FEATURES
14935 if test -z "$defaultval"; then
14936 if test x"$enablestring" = xdisable; then
14937 defaultval=yes
14938 else
14939 defaultval=no
14940 fi
14941 fi
14942
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14944 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14945 # Check whether --enable-wizarddlg was given.
14946 if test "${enable_wizarddlg+set}" = set; then :
14947 enableval=$enable_wizarddlg;
14948 if test "$enableval" = yes; then
14949 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14950 else
14951 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14952 fi
14953
14954 else
14955
14956 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14957
14958 fi
14959
14960
14961 eval "$wx_cv_use_wizarddlg"
14962
14963 if test x"$enablestring" = xdisable; then
14964 if test $wxUSE_WIZARDDLG = no; then
14965 result=yes
14966 else
14967 result=no
14968 fi
14969 else
14970 result=$wxUSE_WIZARDDLG
14971 fi
14972
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14974 $as_echo "$result" >&6; }
14975
14976
14977
14978
14979 enablestring=
14980 defaultval=$wxUSE_ALL_FEATURES
14981 if test -z "$defaultval"; then
14982 if test x"$enablestring" = xdisable; then
14983 defaultval=yes
14984 else
14985 defaultval=no
14986 fi
14987 fi
14988
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14990 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14991 # Check whether --enable-menus was given.
14992 if test "${enable_menus+set}" = set; then :
14993 enableval=$enable_menus;
14994 if test "$enableval" = yes; then
14995 wx_cv_use_menus='wxUSE_MENUS=yes'
14996 else
14997 wx_cv_use_menus='wxUSE_MENUS=no'
14998 fi
14999
15000 else
15001
15002 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15003
15004 fi
15005
15006
15007 eval "$wx_cv_use_menus"
15008
15009 if test x"$enablestring" = xdisable; then
15010 if test $wxUSE_MENUS = no; then
15011 result=yes
15012 else
15013 result=no
15014 fi
15015 else
15016 result=$wxUSE_MENUS
15017 fi
15018
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15020 $as_echo "$result" >&6; }
15021
15022
15023 enablestring=
15024 defaultval=$wxUSE_ALL_FEATURES
15025 if test -z "$defaultval"; then
15026 if test x"$enablestring" = xdisable; then
15027 defaultval=yes
15028 else
15029 defaultval=no
15030 fi
15031 fi
15032
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
15034 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
15035 # Check whether --enable-miniframe was given.
15036 if test "${enable_miniframe+set}" = set; then :
15037 enableval=$enable_miniframe;
15038 if test "$enableval" = yes; then
15039 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15040 else
15041 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15042 fi
15043
15044 else
15045
15046 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15047
15048 fi
15049
15050
15051 eval "$wx_cv_use_miniframe"
15052
15053 if test x"$enablestring" = xdisable; then
15054 if test $wxUSE_MINIFRAME = no; then
15055 result=yes
15056 else
15057 result=no
15058 fi
15059 else
15060 result=$wxUSE_MINIFRAME
15061 fi
15062
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15064 $as_echo "$result" >&6; }
15065
15066
15067 enablestring=
15068 defaultval=$wxUSE_ALL_FEATURES
15069 if test -z "$defaultval"; then
15070 if test x"$enablestring" = xdisable; then
15071 defaultval=yes
15072 else
15073 defaultval=no
15074 fi
15075 fi
15076
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
15078 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
15079 # Check whether --enable-tooltips was given.
15080 if test "${enable_tooltips+set}" = set; then :
15081 enableval=$enable_tooltips;
15082 if test "$enableval" = yes; then
15083 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15084 else
15085 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15086 fi
15087
15088 else
15089
15090 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15091
15092 fi
15093
15094
15095 eval "$wx_cv_use_tooltips"
15096
15097 if test x"$enablestring" = xdisable; then
15098 if test $wxUSE_TOOLTIPS = no; then
15099 result=yes
15100 else
15101 result=no
15102 fi
15103 else
15104 result=$wxUSE_TOOLTIPS
15105 fi
15106
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15108 $as_echo "$result" >&6; }
15109
15110
15111 enablestring=
15112 defaultval=$wxUSE_ALL_FEATURES
15113 if test -z "$defaultval"; then
15114 if test x"$enablestring" = xdisable; then
15115 defaultval=yes
15116 else
15117 defaultval=no
15118 fi
15119 fi
15120
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
15122 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
15123 # Check whether --enable-splines was given.
15124 if test "${enable_splines+set}" = set; then :
15125 enableval=$enable_splines;
15126 if test "$enableval" = yes; then
15127 wx_cv_use_splines='wxUSE_SPLINES=yes'
15128 else
15129 wx_cv_use_splines='wxUSE_SPLINES=no'
15130 fi
15131
15132 else
15133
15134 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15135
15136 fi
15137
15138
15139 eval "$wx_cv_use_splines"
15140
15141 if test x"$enablestring" = xdisable; then
15142 if test $wxUSE_SPLINES = no; then
15143 result=yes
15144 else
15145 result=no
15146 fi
15147 else
15148 result=$wxUSE_SPLINES
15149 fi
15150
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15152 $as_echo "$result" >&6; }
15153
15154
15155 enablestring=
15156 defaultval=$wxUSE_ALL_FEATURES
15157 if test -z "$defaultval"; then
15158 if test x"$enablestring" = xdisable; then
15159 defaultval=yes
15160 else
15161 defaultval=no
15162 fi
15163 fi
15164
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
15166 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
15167 # Check whether --enable-mousewheel was given.
15168 if test "${enable_mousewheel+set}" = set; then :
15169 enableval=$enable_mousewheel;
15170 if test "$enableval" = yes; then
15171 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15172 else
15173 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15174 fi
15175
15176 else
15177
15178 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15179
15180 fi
15181
15182
15183 eval "$wx_cv_use_mousewheel"
15184
15185 if test x"$enablestring" = xdisable; then
15186 if test $wxUSE_MOUSEWHEEL = no; then
15187 result=yes
15188 else
15189 result=no
15190 fi
15191 else
15192 result=$wxUSE_MOUSEWHEEL
15193 fi
15194
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15196 $as_echo "$result" >&6; }
15197
15198
15199 enablestring=
15200 defaultval=$wxUSE_ALL_FEATURES
15201 if test -z "$defaultval"; then
15202 if test x"$enablestring" = xdisable; then
15203 defaultval=yes
15204 else
15205 defaultval=no
15206 fi
15207 fi
15208
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
15210 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
15211 # Check whether --enable-validators was given.
15212 if test "${enable_validators+set}" = set; then :
15213 enableval=$enable_validators;
15214 if test "$enableval" = yes; then
15215 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15216 else
15217 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15218 fi
15219
15220 else
15221
15222 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15223
15224 fi
15225
15226
15227 eval "$wx_cv_use_validators"
15228
15229 if test x"$enablestring" = xdisable; then
15230 if test $wxUSE_VALIDATORS = no; then
15231 result=yes
15232 else
15233 result=no
15234 fi
15235 else
15236 result=$wxUSE_VALIDATORS
15237 fi
15238
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15240 $as_echo "$result" >&6; }
15241
15242
15243 enablestring=
15244 defaultval=$wxUSE_ALL_FEATURES
15245 if test -z "$defaultval"; then
15246 if test x"$enablestring" = xdisable; then
15247 defaultval=yes
15248 else
15249 defaultval=no
15250 fi
15251 fi
15252
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15254 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15255 # Check whether --enable-busyinfo was given.
15256 if test "${enable_busyinfo+set}" = set; then :
15257 enableval=$enable_busyinfo;
15258 if test "$enableval" = yes; then
15259 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15260 else
15261 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15262 fi
15263
15264 else
15265
15266 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15267
15268 fi
15269
15270
15271 eval "$wx_cv_use_busyinfo"
15272
15273 if test x"$enablestring" = xdisable; then
15274 if test $wxUSE_BUSYINFO = no; then
15275 result=yes
15276 else
15277 result=no
15278 fi
15279 else
15280 result=$wxUSE_BUSYINFO
15281 fi
15282
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15284 $as_echo "$result" >&6; }
15285
15286
15287 enablestring=
15288 defaultval=$wxUSE_ALL_FEATURES
15289 if test -z "$defaultval"; then
15290 if test x"$enablestring" = xdisable; then
15291 defaultval=yes
15292 else
15293 defaultval=no
15294 fi
15295 fi
15296
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15298 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15299 # Check whether --enable-hotkey was given.
15300 if test "${enable_hotkey+set}" = set; then :
15301 enableval=$enable_hotkey;
15302 if test "$enableval" = yes; then
15303 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15304 else
15305 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15306 fi
15307
15308 else
15309
15310 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15311
15312 fi
15313
15314
15315 eval "$wx_cv_use_hotkey"
15316
15317 if test x"$enablestring" = xdisable; then
15318 if test $wxUSE_HOTKEY = no; then
15319 result=yes
15320 else
15321 result=no
15322 fi
15323 else
15324 result=$wxUSE_HOTKEY
15325 fi
15326
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15328 $as_echo "$result" >&6; }
15329
15330
15331 enablestring=
15332 defaultval=$wxUSE_ALL_FEATURES
15333 if test -z "$defaultval"; then
15334 if test x"$enablestring" = xdisable; then
15335 defaultval=yes
15336 else
15337 defaultval=no
15338 fi
15339 fi
15340
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15342 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15343 # Check whether --enable-joystick was given.
15344 if test "${enable_joystick+set}" = set; then :
15345 enableval=$enable_joystick;
15346 if test "$enableval" = yes; then
15347 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15348 else
15349 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15350 fi
15351
15352 else
15353
15354 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15355
15356 fi
15357
15358
15359 eval "$wx_cv_use_joystick"
15360
15361 if test x"$enablestring" = xdisable; then
15362 if test $wxUSE_JOYSTICK = no; then
15363 result=yes
15364 else
15365 result=no
15366 fi
15367 else
15368 result=$wxUSE_JOYSTICK
15369 fi
15370
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15372 $as_echo "$result" >&6; }
15373
15374
15375 enablestring=
15376 defaultval=$wxUSE_ALL_FEATURES
15377 if test -z "$defaultval"; then
15378 if test x"$enablestring" = xdisable; then
15379 defaultval=yes
15380 else
15381 defaultval=no
15382 fi
15383 fi
15384
15385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15386 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15387 # Check whether --enable-metafile was given.
15388 if test "${enable_metafile+set}" = set; then :
15389 enableval=$enable_metafile;
15390 if test "$enableval" = yes; then
15391 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15392 else
15393 wx_cv_use_metafile='wxUSE_METAFILE=no'
15394 fi
15395
15396 else
15397
15398 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15399
15400 fi
15401
15402
15403 eval "$wx_cv_use_metafile"
15404
15405 if test x"$enablestring" = xdisable; then
15406 if test $wxUSE_METAFILE = no; then
15407 result=yes
15408 else
15409 result=no
15410 fi
15411 else
15412 result=$wxUSE_METAFILE
15413 fi
15414
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15416 $as_echo "$result" >&6; }
15417
15418
15419 enablestring=
15420 defaultval=$wxUSE_ALL_FEATURES
15421 if test -z "$defaultval"; then
15422 if test x"$enablestring" = xdisable; then
15423 defaultval=yes
15424 else
15425 defaultval=no
15426 fi
15427 fi
15428
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15430 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15431 # Check whether --enable-dragimage was given.
15432 if test "${enable_dragimage+set}" = set; then :
15433 enableval=$enable_dragimage;
15434 if test "$enableval" = yes; then
15435 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15436 else
15437 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15438 fi
15439
15440 else
15441
15442 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15443
15444 fi
15445
15446
15447 eval "$wx_cv_use_dragimage"
15448
15449 if test x"$enablestring" = xdisable; then
15450 if test $wxUSE_DRAGIMAGE = no; then
15451 result=yes
15452 else
15453 result=no
15454 fi
15455 else
15456 result=$wxUSE_DRAGIMAGE
15457 fi
15458
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15460 $as_echo "$result" >&6; }
15461
15462
15463 enablestring=
15464 defaultval=$wxUSE_ALL_FEATURES
15465 if test -z "$defaultval"; then
15466 if test x"$enablestring" = xdisable; then
15467 defaultval=yes
15468 else
15469 defaultval=no
15470 fi
15471 fi
15472
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15474 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15475 # Check whether --enable-accessibility was given.
15476 if test "${enable_accessibility+set}" = set; then :
15477 enableval=$enable_accessibility;
15478 if test "$enableval" = yes; then
15479 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15480 else
15481 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15482 fi
15483
15484 else
15485
15486 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15487
15488 fi
15489
15490
15491 eval "$wx_cv_use_accessibility"
15492
15493 if test x"$enablestring" = xdisable; then
15494 if test $wxUSE_ACCESSIBILITY = no; then
15495 result=yes
15496 else
15497 result=no
15498 fi
15499 else
15500 result=$wxUSE_ACCESSIBILITY
15501 fi
15502
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15504 $as_echo "$result" >&6; }
15505
15506
15507 enablestring=
15508 defaultval=$wxUSE_ALL_FEATURES
15509 if test -z "$defaultval"; then
15510 if test x"$enablestring" = xdisable; then
15511 defaultval=yes
15512 else
15513 defaultval=no
15514 fi
15515 fi
15516
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15518 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15519 # Check whether --enable-uiactionsim was given.
15520 if test "${enable_uiactionsim+set}" = set; then :
15521 enableval=$enable_uiactionsim;
15522 if test "$enableval" = yes; then
15523 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15524 else
15525 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15526 fi
15527
15528 else
15529
15530 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15531
15532 fi
15533
15534
15535 eval "$wx_cv_use_uiactionsim"
15536
15537 if test x"$enablestring" = xdisable; then
15538 if test $wxUSE_UIACTIONSIMULATOR = no; then
15539 result=yes
15540 else
15541 result=no
15542 fi
15543 else
15544 result=$wxUSE_UIACTIONSIMULATOR
15545 fi
15546
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15548 $as_echo "$result" >&6; }
15549
15550
15551 enablestring=
15552 defaultval=$wxUSE_ALL_FEATURES
15553 if test -z "$defaultval"; then
15554 if test x"$enablestring" = xdisable; then
15555 defaultval=yes
15556 else
15557 defaultval=no
15558 fi
15559 fi
15560
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15562 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15563 # Check whether --enable-dctransform was given.
15564 if test "${enable_dctransform+set}" = set; then :
15565 enableval=$enable_dctransform;
15566 if test "$enableval" = yes; then
15567 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15568 else
15569 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15570 fi
15571
15572 else
15573
15574 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15575
15576 fi
15577
15578
15579 eval "$wx_cv_use_dctransform"
15580
15581 if test x"$enablestring" = xdisable; then
15582 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15583 result=yes
15584 else
15585 result=no
15586 fi
15587 else
15588 result=$wxUSE_DC_TRANSFORM_MATRIX
15589 fi
15590
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15592 $as_echo "$result" >&6; }
15593
15594
15595 enablestring=
15596 defaultval=$wxUSE_ALL_FEATURES
15597 if test -z "$defaultval"; then
15598 if test x"$enablestring" = xdisable; then
15599 defaultval=yes
15600 else
15601 defaultval=no
15602 fi
15603 fi
15604
15605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15606 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15607 # Check whether --enable-webviewwebkit was given.
15608 if test "${enable_webviewwebkit+set}" = set; then :
15609 enableval=$enable_webviewwebkit;
15610 if test "$enableval" = yes; then
15611 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15612 else
15613 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15614 fi
15615
15616 else
15617
15618 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15619
15620 fi
15621
15622
15623 eval "$wx_cv_use_webviewwebkit"
15624
15625 if test x"$enablestring" = xdisable; then
15626 if test $wxUSE_WEBVIEW_WEBKIT = no; then
15627 result=yes
15628 else
15629 result=no
15630 fi
15631 else
15632 result=$wxUSE_WEBVIEW_WEBKIT
15633 fi
15634
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15636 $as_echo "$result" >&6; }
15637
15638
15639
15640
15641 enablestring=
15642 defaultval=$wxUSE_ALL_FEATURES
15643 if test -z "$defaultval"; then
15644 if test x"$enablestring" = xdisable; then
15645 defaultval=yes
15646 else
15647 defaultval=no
15648 fi
15649 fi
15650
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15652 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15653 # Check whether --enable-palette was given.
15654 if test "${enable_palette+set}" = set; then :
15655 enableval=$enable_palette;
15656 if test "$enableval" = yes; then
15657 wx_cv_use_palette='wxUSE_PALETTE=yes'
15658 else
15659 wx_cv_use_palette='wxUSE_PALETTE=no'
15660 fi
15661
15662 else
15663
15664 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15665
15666 fi
15667
15668
15669 eval "$wx_cv_use_palette"
15670
15671 if test x"$enablestring" = xdisable; then
15672 if test $wxUSE_PALETTE = no; then
15673 result=yes
15674 else
15675 result=no
15676 fi
15677 else
15678 result=$wxUSE_PALETTE
15679 fi
15680
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15682 $as_echo "$result" >&6; }
15683
15684
15685 enablestring=
15686 defaultval=$wxUSE_ALL_FEATURES
15687 if test -z "$defaultval"; then
15688 if test x"$enablestring" = xdisable; then
15689 defaultval=yes
15690 else
15691 defaultval=no
15692 fi
15693 fi
15694
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15696 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15697 # Check whether --enable-image was given.
15698 if test "${enable_image+set}" = set; then :
15699 enableval=$enable_image;
15700 if test "$enableval" = yes; then
15701 wx_cv_use_image='wxUSE_IMAGE=yes'
15702 else
15703 wx_cv_use_image='wxUSE_IMAGE=no'
15704 fi
15705
15706 else
15707
15708 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15709
15710 fi
15711
15712
15713 eval "$wx_cv_use_image"
15714
15715 if test x"$enablestring" = xdisable; then
15716 if test $wxUSE_IMAGE = no; then
15717 result=yes
15718 else
15719 result=no
15720 fi
15721 else
15722 result=$wxUSE_IMAGE
15723 fi
15724
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15726 $as_echo "$result" >&6; }
15727
15728
15729 enablestring=
15730 defaultval=$wxUSE_ALL_FEATURES
15731 if test -z "$defaultval"; then
15732 if test x"$enablestring" = xdisable; then
15733 defaultval=yes
15734 else
15735 defaultval=no
15736 fi
15737 fi
15738
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15740 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15741 # Check whether --enable-gif was given.
15742 if test "${enable_gif+set}" = set; then :
15743 enableval=$enable_gif;
15744 if test "$enableval" = yes; then
15745 wx_cv_use_gif='wxUSE_GIF=yes'
15746 else
15747 wx_cv_use_gif='wxUSE_GIF=no'
15748 fi
15749
15750 else
15751
15752 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15753
15754 fi
15755
15756
15757 eval "$wx_cv_use_gif"
15758
15759 if test x"$enablestring" = xdisable; then
15760 if test $wxUSE_GIF = no; then
15761 result=yes
15762 else
15763 result=no
15764 fi
15765 else
15766 result=$wxUSE_GIF
15767 fi
15768
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15770 $as_echo "$result" >&6; }
15771
15772
15773 enablestring=
15774 defaultval=$wxUSE_ALL_FEATURES
15775 if test -z "$defaultval"; then
15776 if test x"$enablestring" = xdisable; then
15777 defaultval=yes
15778 else
15779 defaultval=no
15780 fi
15781 fi
15782
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15784 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15785 # Check whether --enable-pcx was given.
15786 if test "${enable_pcx+set}" = set; then :
15787 enableval=$enable_pcx;
15788 if test "$enableval" = yes; then
15789 wx_cv_use_pcx='wxUSE_PCX=yes'
15790 else
15791 wx_cv_use_pcx='wxUSE_PCX=no'
15792 fi
15793
15794 else
15795
15796 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15797
15798 fi
15799
15800
15801 eval "$wx_cv_use_pcx"
15802
15803 if test x"$enablestring" = xdisable; then
15804 if test $wxUSE_PCX = no; then
15805 result=yes
15806 else
15807 result=no
15808 fi
15809 else
15810 result=$wxUSE_PCX
15811 fi
15812
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15814 $as_echo "$result" >&6; }
15815
15816
15817 enablestring=
15818 defaultval=$wxUSE_ALL_FEATURES
15819 if test -z "$defaultval"; then
15820 if test x"$enablestring" = xdisable; then
15821 defaultval=yes
15822 else
15823 defaultval=no
15824 fi
15825 fi
15826
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15828 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15829 # Check whether --enable-tga was given.
15830 if test "${enable_tga+set}" = set; then :
15831 enableval=$enable_tga;
15832 if test "$enableval" = yes; then
15833 wx_cv_use_tga='wxUSE_TGA=yes'
15834 else
15835 wx_cv_use_tga='wxUSE_TGA=no'
15836 fi
15837
15838 else
15839
15840 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15841
15842 fi
15843
15844
15845 eval "$wx_cv_use_tga"
15846
15847 if test x"$enablestring" = xdisable; then
15848 if test $wxUSE_TGA = no; then
15849 result=yes
15850 else
15851 result=no
15852 fi
15853 else
15854 result=$wxUSE_TGA
15855 fi
15856
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15858 $as_echo "$result" >&6; }
15859
15860
15861 enablestring=
15862 defaultval=$wxUSE_ALL_FEATURES
15863 if test -z "$defaultval"; then
15864 if test x"$enablestring" = xdisable; then
15865 defaultval=yes
15866 else
15867 defaultval=no
15868 fi
15869 fi
15870
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15872 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15873 # Check whether --enable-iff was given.
15874 if test "${enable_iff+set}" = set; then :
15875 enableval=$enable_iff;
15876 if test "$enableval" = yes; then
15877 wx_cv_use_iff='wxUSE_IFF=yes'
15878 else
15879 wx_cv_use_iff='wxUSE_IFF=no'
15880 fi
15881
15882 else
15883
15884 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15885
15886 fi
15887
15888
15889 eval "$wx_cv_use_iff"
15890
15891 if test x"$enablestring" = xdisable; then
15892 if test $wxUSE_IFF = no; then
15893 result=yes
15894 else
15895 result=no
15896 fi
15897 else
15898 result=$wxUSE_IFF
15899 fi
15900
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15902 $as_echo "$result" >&6; }
15903
15904
15905 enablestring=
15906 defaultval=$wxUSE_ALL_FEATURES
15907 if test -z "$defaultval"; then
15908 if test x"$enablestring" = xdisable; then
15909 defaultval=yes
15910 else
15911 defaultval=no
15912 fi
15913 fi
15914
15915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15916 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15917 # Check whether --enable-pnm was given.
15918 if test "${enable_pnm+set}" = set; then :
15919 enableval=$enable_pnm;
15920 if test "$enableval" = yes; then
15921 wx_cv_use_pnm='wxUSE_PNM=yes'
15922 else
15923 wx_cv_use_pnm='wxUSE_PNM=no'
15924 fi
15925
15926 else
15927
15928 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15929
15930 fi
15931
15932
15933 eval "$wx_cv_use_pnm"
15934
15935 if test x"$enablestring" = xdisable; then
15936 if test $wxUSE_PNM = no; then
15937 result=yes
15938 else
15939 result=no
15940 fi
15941 else
15942 result=$wxUSE_PNM
15943 fi
15944
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15946 $as_echo "$result" >&6; }
15947
15948
15949 enablestring=
15950 defaultval=$wxUSE_ALL_FEATURES
15951 if test -z "$defaultval"; then
15952 if test x"$enablestring" = xdisable; then
15953 defaultval=yes
15954 else
15955 defaultval=no
15956 fi
15957 fi
15958
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15960 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15961 # Check whether --enable-xpm was given.
15962 if test "${enable_xpm+set}" = set; then :
15963 enableval=$enable_xpm;
15964 if test "$enableval" = yes; then
15965 wx_cv_use_xpm='wxUSE_XPM=yes'
15966 else
15967 wx_cv_use_xpm='wxUSE_XPM=no'
15968 fi
15969
15970 else
15971
15972 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15973
15974 fi
15975
15976
15977 eval "$wx_cv_use_xpm"
15978
15979 if test x"$enablestring" = xdisable; then
15980 if test $wxUSE_XPM = no; then
15981 result=yes
15982 else
15983 result=no
15984 fi
15985 else
15986 result=$wxUSE_XPM
15987 fi
15988
15989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15990 $as_echo "$result" >&6; }
15991
15992
15993 enablestring=
15994 defaultval=$wxUSE_ALL_FEATURES
15995 if test -z "$defaultval"; then
15996 if test x"$enablestring" = xdisable; then
15997 defaultval=yes
15998 else
15999 defaultval=no
16000 fi
16001 fi
16002
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
16004 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
16005 # Check whether --enable-ico_cur was given.
16006 if test "${enable_ico_cur+set}" = set; then :
16007 enableval=$enable_ico_cur;
16008 if test "$enableval" = yes; then
16009 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16010 else
16011 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16012 fi
16013
16014 else
16015
16016 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16017
16018 fi
16019
16020
16021 eval "$wx_cv_use_ico_cur"
16022
16023 if test x"$enablestring" = xdisable; then
16024 if test $wxUSE_ICO_CUR = no; then
16025 result=yes
16026 else
16027 result=no
16028 fi
16029 else
16030 result=$wxUSE_ICO_CUR
16031 fi
16032
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16034 $as_echo "$result" >&6; }
16035
16036
16037
16038
16039 enablestring=
16040 defaultval=$wxUSE_ALL_FEATURES
16041 if test -z "$defaultval"; then
16042 if test x"$enablestring" = xdisable; then
16043 defaultval=yes
16044 else
16045 defaultval=no
16046 fi
16047 fi
16048
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
16050 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
16051 # Check whether --enable-dccache was given.
16052 if test "${enable_dccache+set}" = set; then :
16053 enableval=$enable_dccache;
16054 if test "$enableval" = yes; then
16055 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16056 else
16057 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16058 fi
16059
16060 else
16061
16062 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16063
16064 fi
16065
16066
16067 eval "$wx_cv_use_dccache"
16068
16069 if test x"$enablestring" = xdisable; then
16070 if test $wxUSE_DC_CACHEING = no; then
16071 result=yes
16072 else
16073 result=no
16074 fi
16075 else
16076 result=$wxUSE_DC_CACHEING
16077 fi
16078
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16080 $as_echo "$result" >&6; }
16081
16082
16083 enablestring=
16084 defaultval=$wxUSE_ALL_FEATURES
16085 if test -z "$defaultval"; then
16086 if test x"$enablestring" = xdisable; then
16087 defaultval=yes
16088 else
16089 defaultval=no
16090 fi
16091 fi
16092
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
16094 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
16095 # Check whether --enable-ps-in-msw was given.
16096 if test "${enable_ps_in_msw+set}" = set; then :
16097 enableval=$enable_ps_in_msw;
16098 if test "$enableval" = yes; then
16099 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16100 else
16101 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16102 fi
16103
16104 else
16105
16106 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16107
16108 fi
16109
16110
16111 eval "$wx_cv_use_ps_in_msw"
16112
16113 if test x"$enablestring" = xdisable; then
16114 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
16115 result=yes
16116 else
16117 result=no
16118 fi
16119 else
16120 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16121 fi
16122
16123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16124 $as_echo "$result" >&6; }
16125
16126
16127 enablestring=
16128 defaultval=$wxUSE_ALL_FEATURES
16129 if test -z "$defaultval"; then
16130 if test x"$enablestring" = xdisable; then
16131 defaultval=yes
16132 else
16133 defaultval=no
16134 fi
16135 fi
16136
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
16138 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
16139 # Check whether --enable-ownerdrawn was given.
16140 if test "${enable_ownerdrawn+set}" = set; then :
16141 enableval=$enable_ownerdrawn;
16142 if test "$enableval" = yes; then
16143 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16144 else
16145 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16146 fi
16147
16148 else
16149
16150 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16151
16152 fi
16153
16154
16155 eval "$wx_cv_use_ownerdrawn"
16156
16157 if test x"$enablestring" = xdisable; then
16158 if test $wxUSE_OWNER_DRAWN = no; then
16159 result=yes
16160 else
16161 result=no
16162 fi
16163 else
16164 result=$wxUSE_OWNER_DRAWN
16165 fi
16166
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16168 $as_echo "$result" >&6; }
16169
16170
16171 enablestring=
16172 defaultval=$wxUSE_ALL_FEATURES
16173 if test -z "$defaultval"; then
16174 if test x"$enablestring" = xdisable; then
16175 defaultval=yes
16176 else
16177 defaultval=no
16178 fi
16179 fi
16180
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
16182 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
16183 # Check whether --enable-uxtheme was given.
16184 if test "${enable_uxtheme+set}" = set; then :
16185 enableval=$enable_uxtheme;
16186 if test "$enableval" = yes; then
16187 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16188 else
16189 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16190 fi
16191
16192 else
16193
16194 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16195
16196 fi
16197
16198
16199 eval "$wx_cv_use_uxtheme"
16200
16201 if test x"$enablestring" = xdisable; then
16202 if test $wxUSE_UXTHEME = no; then
16203 result=yes
16204 else
16205 result=no
16206 fi
16207 else
16208 result=$wxUSE_UXTHEME
16209 fi
16210
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16212 $as_echo "$result" >&6; }
16213
16214
16215 enablestring=
16216 defaultval=$wxUSE_ALL_FEATURES
16217 if test -z "$defaultval"; then
16218 if test x"$enablestring" = xdisable; then
16219 defaultval=yes
16220 else
16221 defaultval=no
16222 fi
16223 fi
16224
16225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
16226 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
16227 # Check whether --enable-wxdib was given.
16228 if test "${enable_wxdib+set}" = set; then :
16229 enableval=$enable_wxdib;
16230 if test "$enableval" = yes; then
16231 wx_cv_use_wxdib='wxUSE_DIB=yes'
16232 else
16233 wx_cv_use_wxdib='wxUSE_DIB=no'
16234 fi
16235
16236 else
16237
16238 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16239
16240 fi
16241
16242
16243 eval "$wx_cv_use_wxdib"
16244
16245 if test x"$enablestring" = xdisable; then
16246 if test $wxUSE_DIB = no; then
16247 result=yes
16248 else
16249 result=no
16250 fi
16251 else
16252 result=$wxUSE_DIB
16253 fi
16254
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16256 $as_echo "$result" >&6; }
16257
16258
16259 enablestring=
16260 defaultval=$wxUSE_ALL_FEATURES
16261 if test -z "$defaultval"; then
16262 if test x"$enablestring" = xdisable; then
16263 defaultval=yes
16264 else
16265 defaultval=no
16266 fi
16267 fi
16268
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16270 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16271 # Check whether --enable-webviewie was given.
16272 if test "${enable_webviewie+set}" = set; then :
16273 enableval=$enable_webviewie;
16274 if test "$enableval" = yes; then
16275 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16276 else
16277 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16278 fi
16279
16280 else
16281
16282 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16283
16284 fi
16285
16286
16287 eval "$wx_cv_use_webviewie"
16288
16289 if test x"$enablestring" = xdisable; then
16290 if test $wxUSE_WEBVIEW_IE = no; then
16291 result=yes
16292 else
16293 result=no
16294 fi
16295 else
16296 result=$wxUSE_WEBVIEW_IE
16297 fi
16298
16299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16300 $as_echo "$result" >&6; }
16301
16302
16303 if test "$wxUSE_MSW" != 1; then
16304 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16305 fi
16306
16307
16308 enablestring=
16309 defaultval=$wxUSE_ALL_FEATURES
16310 if test -z "$defaultval"; then
16311 if test x"$enablestring" = xdisable; then
16312 defaultval=yes
16313 else
16314 defaultval=no
16315 fi
16316 fi
16317
16318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16319 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16320 # Check whether --enable-autoidman was given.
16321 if test "${enable_autoidman+set}" = set; then :
16322 enableval=$enable_autoidman;
16323 if test "$enableval" = yes; then
16324 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16325 else
16326 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16327 fi
16328
16329 else
16330
16331 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16332
16333 fi
16334
16335
16336 eval "$wx_cv_use_autoidman"
16337
16338 if test x"$enablestring" = xdisable; then
16339 if test $wxUSE_AUTOID_MANAGEMENT = no; then
16340 result=yes
16341 else
16342 result=no
16343 fi
16344 else
16345 result=$wxUSE_AUTOID_MANAGEMENT
16346 fi
16347
16348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16349 $as_echo "$result" >&6; }
16350
16351
16352 fi
16353
16354
16355 cat >confcache <<\_ACEOF
16356 # This file is a shell script that caches the results of configure
16357 # tests run on this system so they can be shared between configure
16358 # scripts and configure runs, see configure's option --config-cache.
16359 # It is not useful on other systems. If it contains results you don't
16360 # want to keep, you may remove or edit it.
16361 #
16362 # config.status only pays attention to the cache file if you give it
16363 # the --recheck option to rerun configure.
16364 #
16365 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16366 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16367 # following values.
16368
16369 _ACEOF
16370
16371 # The following way of writing the cache mishandles newlines in values,
16372 # but we know of no workaround that is simple, portable, and efficient.
16373 # So, we kill variables containing newlines.
16374 # Ultrix sh set writes to stderr and can't be redirected directly,
16375 # and sets the high bit in the cache file unless we assign to the vars.
16376 (
16377 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16378 eval ac_val=\$$ac_var
16379 case $ac_val in #(
16380 *${as_nl}*)
16381 case $ac_var in #(
16382 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16383 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16384 esac
16385 case $ac_var in #(
16386 _ | IFS | as_nl) ;; #(
16387 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16388 *) { eval $ac_var=; unset $ac_var;} ;;
16389 esac ;;
16390 esac
16391 done
16392
16393 (set) 2>&1 |
16394 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16395 *${as_nl}ac_space=\ *)
16396 # `set' does not quote correctly, so add quotes: double-quote
16397 # substitution turns \\\\ into \\, and sed turns \\ into \.
16398 sed -n \
16399 "s/'/'\\\\''/g;
16400 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16401 ;; #(
16402 *)
16403 # `set' quotes correctly as required by POSIX, so do not add quotes.
16404 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16405 ;;
16406 esac |
16407 sort
16408 ) |
16409 sed '
16410 /^ac_cv_env_/b end
16411 t clear
16412 :clear
16413 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16414 t end
16415 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16416 :end' >>confcache
16417 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16418 if test -w "$cache_file"; then
16419 if test "x$cache_file" != "x/dev/null"; then
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16421 $as_echo "$as_me: updating cache $cache_file" >&6;}
16422 if test ! -f "$cache_file" || test -h "$cache_file"; then
16423 cat confcache >"$cache_file"
16424 else
16425 case $cache_file in #(
16426 */* | ?:*)
16427 mv -f confcache "$cache_file"$$ &&
16428 mv -f "$cache_file"$$ "$cache_file" ;; #(
16429 *)
16430 mv -f confcache "$cache_file" ;;
16431 esac
16432 fi
16433 fi
16434 else
16435 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16436 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16437 fi
16438 fi
16439 rm -f confcache
16440
16441 CFLAGS=${CFLAGS:=}
16442 ac_ext=c
16443 ac_cpp='$CPP $CPPFLAGS'
16444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16447 if test -n "$ac_tool_prefix"; then
16448 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16449 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16451 $as_echo_n "checking for $ac_word... " >&6; }
16452 if ${ac_cv_prog_CC+:} false; then :
16453 $as_echo_n "(cached) " >&6
16454 else
16455 if test -n "$CC"; then
16456 ac_cv_prog_CC="$CC" # Let the user override the test.
16457 else
16458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16459 for as_dir in $PATH
16460 do
16461 IFS=$as_save_IFS
16462 test -z "$as_dir" && as_dir=.
16463 for ac_exec_ext in '' $ac_executable_extensions; do
16464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16465 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16467 break 2
16468 fi
16469 done
16470 done
16471 IFS=$as_save_IFS
16472
16473 fi
16474 fi
16475 CC=$ac_cv_prog_CC
16476 if test -n "$CC"; then
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16478 $as_echo "$CC" >&6; }
16479 else
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16481 $as_echo "no" >&6; }
16482 fi
16483
16484
16485 fi
16486 if test -z "$ac_cv_prog_CC"; then
16487 ac_ct_CC=$CC
16488 # Extract the first word of "gcc", so it can be a program name with args.
16489 set dummy gcc; ac_word=$2
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16491 $as_echo_n "checking for $ac_word... " >&6; }
16492 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16493 $as_echo_n "(cached) " >&6
16494 else
16495 if test -n "$ac_ct_CC"; then
16496 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16497 else
16498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16499 for as_dir in $PATH
16500 do
16501 IFS=$as_save_IFS
16502 test -z "$as_dir" && as_dir=.
16503 for ac_exec_ext in '' $ac_executable_extensions; do
16504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16505 ac_cv_prog_ac_ct_CC="gcc"
16506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16507 break 2
16508 fi
16509 done
16510 done
16511 IFS=$as_save_IFS
16512
16513 fi
16514 fi
16515 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16516 if test -n "$ac_ct_CC"; then
16517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16518 $as_echo "$ac_ct_CC" >&6; }
16519 else
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16521 $as_echo "no" >&6; }
16522 fi
16523
16524 if test "x$ac_ct_CC" = x; then
16525 CC=""
16526 else
16527 case $cross_compiling:$ac_tool_warned in
16528 yes:)
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16530 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16531 ac_tool_warned=yes ;;
16532 esac
16533 CC=$ac_ct_CC
16534 fi
16535 else
16536 CC="$ac_cv_prog_CC"
16537 fi
16538
16539 if test -z "$CC"; then
16540 if test -n "$ac_tool_prefix"; then
16541 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16542 set dummy ${ac_tool_prefix}cc; ac_word=$2
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16544 $as_echo_n "checking for $ac_word... " >&6; }
16545 if ${ac_cv_prog_CC+:} false; then :
16546 $as_echo_n "(cached) " >&6
16547 else
16548 if test -n "$CC"; then
16549 ac_cv_prog_CC="$CC" # Let the user override the test.
16550 else
16551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16552 for as_dir in $PATH
16553 do
16554 IFS=$as_save_IFS
16555 test -z "$as_dir" && as_dir=.
16556 for ac_exec_ext in '' $ac_executable_extensions; do
16557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16558 ac_cv_prog_CC="${ac_tool_prefix}cc"
16559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16560 break 2
16561 fi
16562 done
16563 done
16564 IFS=$as_save_IFS
16565
16566 fi
16567 fi
16568 CC=$ac_cv_prog_CC
16569 if test -n "$CC"; then
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16571 $as_echo "$CC" >&6; }
16572 else
16573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16574 $as_echo "no" >&6; }
16575 fi
16576
16577
16578 fi
16579 fi
16580 if test -z "$CC"; then
16581 # Extract the first word of "cc", so it can be a program name with args.
16582 set dummy cc; ac_word=$2
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16584 $as_echo_n "checking for $ac_word... " >&6; }
16585 if ${ac_cv_prog_CC+:} false; then :
16586 $as_echo_n "(cached) " >&6
16587 else
16588 if test -n "$CC"; then
16589 ac_cv_prog_CC="$CC" # Let the user override the test.
16590 else
16591 ac_prog_rejected=no
16592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16593 for as_dir in $PATH
16594 do
16595 IFS=$as_save_IFS
16596 test -z "$as_dir" && as_dir=.
16597 for ac_exec_ext in '' $ac_executable_extensions; do
16598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16599 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16600 ac_prog_rejected=yes
16601 continue
16602 fi
16603 ac_cv_prog_CC="cc"
16604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16605 break 2
16606 fi
16607 done
16608 done
16609 IFS=$as_save_IFS
16610
16611 if test $ac_prog_rejected = yes; then
16612 # We found a bogon in the path, so make sure we never use it.
16613 set dummy $ac_cv_prog_CC
16614 shift
16615 if test $# != 0; then
16616 # We chose a different compiler from the bogus one.
16617 # However, it has the same basename, so the bogon will be chosen
16618 # first if we set CC to just the basename; use the full file name.
16619 shift
16620 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16621 fi
16622 fi
16623 fi
16624 fi
16625 CC=$ac_cv_prog_CC
16626 if test -n "$CC"; then
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16628 $as_echo "$CC" >&6; }
16629 else
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16631 $as_echo "no" >&6; }
16632 fi
16633
16634
16635 fi
16636 if test -z "$CC"; then
16637 if test -n "$ac_tool_prefix"; then
16638 for ac_prog in cl.exe
16639 do
16640 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16641 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16643 $as_echo_n "checking for $ac_word... " >&6; }
16644 if ${ac_cv_prog_CC+:} false; then :
16645 $as_echo_n "(cached) " >&6
16646 else
16647 if test -n "$CC"; then
16648 ac_cv_prog_CC="$CC" # Let the user override the test.
16649 else
16650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16651 for as_dir in $PATH
16652 do
16653 IFS=$as_save_IFS
16654 test -z "$as_dir" && as_dir=.
16655 for ac_exec_ext in '' $ac_executable_extensions; do
16656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16657 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16659 break 2
16660 fi
16661 done
16662 done
16663 IFS=$as_save_IFS
16664
16665 fi
16666 fi
16667 CC=$ac_cv_prog_CC
16668 if test -n "$CC"; then
16669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16670 $as_echo "$CC" >&6; }
16671 else
16672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16673 $as_echo "no" >&6; }
16674 fi
16675
16676
16677 test -n "$CC" && break
16678 done
16679 fi
16680 if test -z "$CC"; then
16681 ac_ct_CC=$CC
16682 for ac_prog in cl.exe
16683 do
16684 # Extract the first word of "$ac_prog", so it can be a program name with args.
16685 set dummy $ac_prog; ac_word=$2
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16687 $as_echo_n "checking for $ac_word... " >&6; }
16688 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16689 $as_echo_n "(cached) " >&6
16690 else
16691 if test -n "$ac_ct_CC"; then
16692 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16693 else
16694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16695 for as_dir in $PATH
16696 do
16697 IFS=$as_save_IFS
16698 test -z "$as_dir" && as_dir=.
16699 for ac_exec_ext in '' $ac_executable_extensions; do
16700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16701 ac_cv_prog_ac_ct_CC="$ac_prog"
16702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16703 break 2
16704 fi
16705 done
16706 done
16707 IFS=$as_save_IFS
16708
16709 fi
16710 fi
16711 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16712 if test -n "$ac_ct_CC"; then
16713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16714 $as_echo "$ac_ct_CC" >&6; }
16715 else
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16717 $as_echo "no" >&6; }
16718 fi
16719
16720
16721 test -n "$ac_ct_CC" && break
16722 done
16723
16724 if test "x$ac_ct_CC" = x; then
16725 CC=""
16726 else
16727 case $cross_compiling:$ac_tool_warned in
16728 yes:)
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16731 ac_tool_warned=yes ;;
16732 esac
16733 CC=$ac_ct_CC
16734 fi
16735 fi
16736
16737 fi
16738
16739
16740 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16741 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16742 as_fn_error $? "no acceptable C compiler found in \$PATH
16743 See \`config.log' for more details" "$LINENO" 5; }
16744
16745 # Provide some information about the compiler.
16746 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16747 set X $ac_compile
16748 ac_compiler=$2
16749 for ac_option in --version -v -V -qversion; do
16750 { { ac_try="$ac_compiler $ac_option >&5"
16751 case "(($ac_try" in
16752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16753 *) ac_try_echo=$ac_try;;
16754 esac
16755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16756 $as_echo "$ac_try_echo"; } >&5
16757 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16758 ac_status=$?
16759 if test -s conftest.err; then
16760 sed '10a\
16761 ... rest of stderr output deleted ...
16762 10q' conftest.err >conftest.er1
16763 cat conftest.er1 >&5
16764 fi
16765 rm -f conftest.er1 conftest.err
16766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16767 test $ac_status = 0; }
16768 done
16769
16770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16771 /* end confdefs.h. */
16772
16773 int
16774 main ()
16775 {
16776
16777 ;
16778 return 0;
16779 }
16780 _ACEOF
16781 ac_clean_files_save=$ac_clean_files
16782 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16783 # Try to create an executable without -o first, disregard a.out.
16784 # It will help us diagnose broken compilers, and finding out an intuition
16785 # of exeext.
16786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16787 $as_echo_n "checking whether the C compiler works... " >&6; }
16788 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16789
16790 # The possible output files:
16791 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16792
16793 ac_rmfiles=
16794 for ac_file in $ac_files
16795 do
16796 case $ac_file in
16797 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16798 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16799 esac
16800 done
16801 rm -f $ac_rmfiles
16802
16803 if { { ac_try="$ac_link_default"
16804 case "(($ac_try" in
16805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16806 *) ac_try_echo=$ac_try;;
16807 esac
16808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16809 $as_echo "$ac_try_echo"; } >&5
16810 (eval "$ac_link_default") 2>&5
16811 ac_status=$?
16812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16813 test $ac_status = 0; }; then :
16814 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16815 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16816 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16817 # so that the user can short-circuit this test for compilers unknown to
16818 # Autoconf.
16819 for ac_file in $ac_files ''
16820 do
16821 test -f "$ac_file" || continue
16822 case $ac_file in
16823 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16824 ;;
16825 [ab].out )
16826 # We found the default executable, but exeext='' is most
16827 # certainly right.
16828 break;;
16829 *.* )
16830 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16831 then :; else
16832 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16833 fi
16834 # We set ac_cv_exeext here because the later test for it is not
16835 # safe: cross compilers may not add the suffix if given an `-o'
16836 # argument, so we may need to know it at that point already.
16837 # Even if this section looks crufty: it has the advantage of
16838 # actually working.
16839 break;;
16840 * )
16841 break;;
16842 esac
16843 done
16844 test "$ac_cv_exeext" = no && ac_cv_exeext=
16845
16846 else
16847 ac_file=''
16848 fi
16849 if test -z "$ac_file"; then :
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16851 $as_echo "no" >&6; }
16852 $as_echo "$as_me: failed program was:" >&5
16853 sed 's/^/| /' conftest.$ac_ext >&5
16854
16855 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16857 as_fn_error 77 "C compiler cannot create executables
16858 See \`config.log' for more details" "$LINENO" 5; }
16859 else
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16861 $as_echo "yes" >&6; }
16862 fi
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16864 $as_echo_n "checking for C compiler default output file name... " >&6; }
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16866 $as_echo "$ac_file" >&6; }
16867 ac_exeext=$ac_cv_exeext
16868
16869 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16870 ac_clean_files=$ac_clean_files_save
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16872 $as_echo_n "checking for suffix of executables... " >&6; }
16873 if { { ac_try="$ac_link"
16874 case "(($ac_try" in
16875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16876 *) ac_try_echo=$ac_try;;
16877 esac
16878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16879 $as_echo "$ac_try_echo"; } >&5
16880 (eval "$ac_link") 2>&5
16881 ac_status=$?
16882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16883 test $ac_status = 0; }; then :
16884 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16885 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16886 # work properly (i.e., refer to `conftest.exe'), while it won't with
16887 # `rm'.
16888 for ac_file in conftest.exe conftest conftest.*; do
16889 test -f "$ac_file" || continue
16890 case $ac_file in
16891 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16892 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16893 break;;
16894 * ) break;;
16895 esac
16896 done
16897 else
16898 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16900 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16901 See \`config.log' for more details" "$LINENO" 5; }
16902 fi
16903 rm -f conftest conftest$ac_cv_exeext
16904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16905 $as_echo "$ac_cv_exeext" >&6; }
16906
16907 rm -f conftest.$ac_ext
16908 EXEEXT=$ac_cv_exeext
16909 ac_exeext=$EXEEXT
16910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16911 /* end confdefs.h. */
16912 #include <stdio.h>
16913 int
16914 main ()
16915 {
16916 FILE *f = fopen ("conftest.out", "w");
16917 return ferror (f) || fclose (f) != 0;
16918
16919 ;
16920 return 0;
16921 }
16922 _ACEOF
16923 ac_clean_files="$ac_clean_files conftest.out"
16924 # Check that the compiler produces executables we can run. If not, either
16925 # the compiler is broken, or we cross compile.
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16927 $as_echo_n "checking whether we are cross compiling... " >&6; }
16928 if test "$cross_compiling" != yes; then
16929 { { ac_try="$ac_link"
16930 case "(($ac_try" in
16931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16932 *) ac_try_echo=$ac_try;;
16933 esac
16934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16935 $as_echo "$ac_try_echo"; } >&5
16936 (eval "$ac_link") 2>&5
16937 ac_status=$?
16938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16939 test $ac_status = 0; }
16940 if { ac_try='./conftest$ac_cv_exeext'
16941 { { case "(($ac_try" in
16942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16943 *) ac_try_echo=$ac_try;;
16944 esac
16945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16946 $as_echo "$ac_try_echo"; } >&5
16947 (eval "$ac_try") 2>&5
16948 ac_status=$?
16949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16950 test $ac_status = 0; }; }; then
16951 cross_compiling=no
16952 else
16953 if test "$cross_compiling" = maybe; then
16954 cross_compiling=yes
16955 else
16956 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16957 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16958 as_fn_error $? "cannot run C compiled programs.
16959 If you meant to cross compile, use \`--host'.
16960 See \`config.log' for more details" "$LINENO" 5; }
16961 fi
16962 fi
16963 fi
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16965 $as_echo "$cross_compiling" >&6; }
16966
16967 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16968 ac_clean_files=$ac_clean_files_save
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16970 $as_echo_n "checking for suffix of object files... " >&6; }
16971 if ${ac_cv_objext+:} false; then :
16972 $as_echo_n "(cached) " >&6
16973 else
16974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16975 /* end confdefs.h. */
16976
16977 int
16978 main ()
16979 {
16980
16981 ;
16982 return 0;
16983 }
16984 _ACEOF
16985 rm -f conftest.o conftest.obj
16986 if { { ac_try="$ac_compile"
16987 case "(($ac_try" in
16988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16989 *) ac_try_echo=$ac_try;;
16990 esac
16991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16992 $as_echo "$ac_try_echo"; } >&5
16993 (eval "$ac_compile") 2>&5
16994 ac_status=$?
16995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16996 test $ac_status = 0; }; then :
16997 for ac_file in conftest.o conftest.obj conftest.*; do
16998 test -f "$ac_file" || continue;
16999 case $ac_file in
17000 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
17001 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17002 break;;
17003 esac
17004 done
17005 else
17006 $as_echo "$as_me: failed program was:" >&5
17007 sed 's/^/| /' conftest.$ac_ext >&5
17008
17009 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17011 as_fn_error $? "cannot compute suffix of object files: cannot compile
17012 See \`config.log' for more details" "$LINENO" 5; }
17013 fi
17014 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17015 fi
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
17017 $as_echo "$ac_cv_objext" >&6; }
17018 OBJEXT=$ac_cv_objext
17019 ac_objext=$OBJEXT
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
17021 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
17022 if ${ac_cv_c_compiler_gnu+:} false; then :
17023 $as_echo_n "(cached) " >&6
17024 else
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17027
17028 int
17029 main ()
17030 {
17031 #ifndef __GNUC__
17032 choke me
17033 #endif
17034
17035 ;
17036 return 0;
17037 }
17038 _ACEOF
17039 if ac_fn_c_try_compile "$LINENO"; then :
17040 ac_compiler_gnu=yes
17041 else
17042 ac_compiler_gnu=no
17043 fi
17044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17045 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17046
17047 fi
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
17049 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
17050 if test $ac_compiler_gnu = yes; then
17051 GCC=yes
17052 else
17053 GCC=
17054 fi
17055 ac_test_CFLAGS=${CFLAGS+set}
17056 ac_save_CFLAGS=$CFLAGS
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17058 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17059 if ${ac_cv_prog_cc_g+:} false; then :
17060 $as_echo_n "(cached) " >&6
17061 else
17062 ac_save_c_werror_flag=$ac_c_werror_flag
17063 ac_c_werror_flag=yes
17064 ac_cv_prog_cc_g=no
17065 CFLAGS="-g"
17066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17067 /* end confdefs.h. */
17068
17069 int
17070 main ()
17071 {
17072
17073 ;
17074 return 0;
17075 }
17076 _ACEOF
17077 if ac_fn_c_try_compile "$LINENO"; then :
17078 ac_cv_prog_cc_g=yes
17079 else
17080 CFLAGS=""
17081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17082 /* end confdefs.h. */
17083
17084 int
17085 main ()
17086 {
17087
17088 ;
17089 return 0;
17090 }
17091 _ACEOF
17092 if ac_fn_c_try_compile "$LINENO"; then :
17093
17094 else
17095 ac_c_werror_flag=$ac_save_c_werror_flag
17096 CFLAGS="-g"
17097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17098 /* end confdefs.h. */
17099
17100 int
17101 main ()
17102 {
17103
17104 ;
17105 return 0;
17106 }
17107 _ACEOF
17108 if ac_fn_c_try_compile "$LINENO"; then :
17109 ac_cv_prog_cc_g=yes
17110 fi
17111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17112 fi
17113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17114 fi
17115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17116 ac_c_werror_flag=$ac_save_c_werror_flag
17117 fi
17118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17119 $as_echo "$ac_cv_prog_cc_g" >&6; }
17120 if test "$ac_test_CFLAGS" = set; then
17121 CFLAGS=$ac_save_CFLAGS
17122 elif test $ac_cv_prog_cc_g = yes; then
17123 if test "$GCC" = yes; then
17124 CFLAGS="-g -O2"
17125 else
17126 CFLAGS="-g"
17127 fi
17128 else
17129 if test "$GCC" = yes; then
17130 CFLAGS="-O2"
17131 else
17132 CFLAGS=
17133 fi
17134 fi
17135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17136 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17137 if ${ac_cv_prog_cc_c89+:} false; then :
17138 $as_echo_n "(cached) " >&6
17139 else
17140 ac_cv_prog_cc_c89=no
17141 ac_save_CC=$CC
17142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17143 /* end confdefs.h. */
17144 #include <stdarg.h>
17145 #include <stdio.h>
17146 struct stat;
17147 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17148 struct buf { int x; };
17149 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17150 static char *e (p, i)
17151 char **p;
17152 int i;
17153 {
17154 return p[i];
17155 }
17156 static char *f (char * (*g) (char **, int), char **p, ...)
17157 {
17158 char *s;
17159 va_list v;
17160 va_start (v,p);
17161 s = g (p, va_arg (v,int));
17162 va_end (v);
17163 return s;
17164 }
17165
17166 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17167 function prototypes and stuff, but not '\xHH' hex character constants.
17168 These don't provoke an error unfortunately, instead are silently treated
17169 as 'x'. The following induces an error, until -std is added to get
17170 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17171 array size at least. It's necessary to write '\x00'==0 to get something
17172 that's true only with -std. */
17173 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17174
17175 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17176 inside strings and character constants. */
17177 #define FOO(x) 'x'
17178 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17179
17180 int test (int i, double x);
17181 struct s1 {int (*f) (int a);};
17182 struct s2 {int (*f) (double a);};
17183 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17184 int argc;
17185 char **argv;
17186 int
17187 main ()
17188 {
17189 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17190 ;
17191 return 0;
17192 }
17193 _ACEOF
17194 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17195 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17196 do
17197 CC="$ac_save_CC $ac_arg"
17198 if ac_fn_c_try_compile "$LINENO"; then :
17199 ac_cv_prog_cc_c89=$ac_arg
17200 fi
17201 rm -f core conftest.err conftest.$ac_objext
17202 test "x$ac_cv_prog_cc_c89" != "xno" && break
17203 done
17204 rm -f conftest.$ac_ext
17205 CC=$ac_save_CC
17206
17207 fi
17208 # AC_CACHE_VAL
17209 case "x$ac_cv_prog_cc_c89" in
17210 x)
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17212 $as_echo "none needed" >&6; } ;;
17213 xno)
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17215 $as_echo "unsupported" >&6; } ;;
17216 *)
17217 CC="$CC $ac_cv_prog_cc_c89"
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17219 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17220 esac
17221 if test "x$ac_cv_prog_cc_c89" != xno; then :
17222
17223 fi
17224
17225 ac_ext=c
17226 ac_cpp='$CPP $CPPFLAGS'
17227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17230
17231
17232
17233
17234
17235
17236
17237
17238 ac_ext=c
17239 ac_cpp='$CPP $CPPFLAGS'
17240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17243
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17245 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17246 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17247 $as_echo_n "(cached) " >&6
17248 else
17249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17250 /* end confdefs.h. */
17251
17252 int
17253 main ()
17254 {
17255
17256 #ifndef __INTEL_COMPILER
17257 choke me
17258 #endif
17259
17260 ;
17261 return 0;
17262 }
17263 _ACEOF
17264 if ac_fn_c_try_compile "$LINENO"; then :
17265 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17266 else
17267 bakefile_cv_c_compiler___INTEL_COMPILER=no
17268
17269 fi
17270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17271
17272
17273 fi
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17275 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17276 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17277 :; INTELCC=yes
17278 else
17279 :;
17280 fi
17281 ac_ext=c
17282 ac_cpp='$CPP $CPPFLAGS'
17283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17286
17287
17288
17289
17290 if test "$INTELCC" = "yes"; then
17291
17292
17293 ac_ext=c
17294 ac_cpp='$CPP $CPPFLAGS'
17295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17298
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17300 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17301 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17302 $as_echo_n "(cached) " >&6
17303 else
17304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17305 /* end confdefs.h. */
17306
17307 int
17308 main ()
17309 {
17310
17311 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17312 choke me
17313 #endif
17314
17315 ;
17316 return 0;
17317 }
17318 _ACEOF
17319 if ac_fn_c_try_compile "$LINENO"; then :
17320 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17321 else
17322 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17323
17324 fi
17325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17326
17327
17328 fi
17329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17330 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17331 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17332 :; INTELCC8=yes
17333 else
17334 :;
17335 fi
17336 ac_ext=c
17337 ac_cpp='$CPP $CPPFLAGS'
17338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17341
17342
17343
17344
17345
17346 ac_ext=c
17347 ac_cpp='$CPP $CPPFLAGS'
17348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17351
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17353 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17354 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17355 $as_echo_n "(cached) " >&6
17356 else
17357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17358 /* end confdefs.h. */
17359
17360 int
17361 main ()
17362 {
17363
17364 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17365 choke me
17366 #endif
17367
17368 ;
17369 return 0;
17370 }
17371 _ACEOF
17372 if ac_fn_c_try_compile "$LINENO"; then :
17373 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17374 else
17375 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17376
17377 fi
17378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17379
17380
17381 fi
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17383 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17384 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17385 :; INTELCC10=yes
17386 else
17387 :;
17388 fi
17389 ac_ext=c
17390 ac_cpp='$CPP $CPPFLAGS'
17391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17394
17395
17396
17397 fi
17398
17399 if test "x$GCC" != "xyes"; then
17400 if test "xCC" = "xC"; then
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17402 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17403 if ${bakefile_cv_c_exto+:} false; then :
17404 $as_echo_n "(cached) " >&6
17405 else
17406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17407 /* end confdefs.h. */
17408
17409 int
17410 main ()
17411 {
17412
17413 ;
17414 return 0;
17415 }
17416 _ACEOF
17417 rm -f conftest.$ac_objext conftest.$ac_ext.o
17418 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17419 (eval $ac_compile) 2>&5
17420 ac_status=$?
17421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17422 test $ac_status = 0; }; then :
17423 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17424 case $ac_file in
17425 conftest.$ac_ext.o)
17426 bakefile_cv_c_exto="-ext o"
17427 ;;
17428 *)
17429 ;;
17430 esac
17431 done
17432 else
17433 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17435 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
17436 See \`config.log' for more details" "$LINENO" 5; }
17437
17438 fi
17439 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17440
17441 fi
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17443 $as_echo "$bakefile_cv_c_exto" >&6; }
17444 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17445 if test "c" = "c"; then
17446 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17447 fi
17448 if test "c" = "cxx"; then
17449 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17450 fi
17451 fi
17452
17453 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17454 unset ac_cv_prog_cc_g
17455 ac_test_CFLAGS=${CFLAGS+set}
17456 ac_save_CFLAGS=$CFLAGS
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17458 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17459 if ${ac_cv_prog_cc_g+:} false; then :
17460 $as_echo_n "(cached) " >&6
17461 else
17462 ac_save_c_werror_flag=$ac_c_werror_flag
17463 ac_c_werror_flag=yes
17464 ac_cv_prog_cc_g=no
17465 CFLAGS="-g"
17466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17467 /* end confdefs.h. */
17468
17469 int
17470 main ()
17471 {
17472
17473 ;
17474 return 0;
17475 }
17476 _ACEOF
17477 if ac_fn_c_try_compile "$LINENO"; then :
17478 ac_cv_prog_cc_g=yes
17479 else
17480 CFLAGS=""
17481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17482 /* end confdefs.h. */
17483
17484 int
17485 main ()
17486 {
17487
17488 ;
17489 return 0;
17490 }
17491 _ACEOF
17492 if ac_fn_c_try_compile "$LINENO"; then :
17493
17494 else
17495 ac_c_werror_flag=$ac_save_c_werror_flag
17496 CFLAGS="-g"
17497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17498 /* end confdefs.h. */
17499
17500 int
17501 main ()
17502 {
17503
17504 ;
17505 return 0;
17506 }
17507 _ACEOF
17508 if ac_fn_c_try_compile "$LINENO"; then :
17509 ac_cv_prog_cc_g=yes
17510 fi
17511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17512 fi
17513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17514 fi
17515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17516 ac_c_werror_flag=$ac_save_c_werror_flag
17517 fi
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17519 $as_echo "$ac_cv_prog_cc_g" >&6; }
17520 if test "$ac_test_CFLAGS" = set; then
17521 CFLAGS=$ac_save_CFLAGS
17522 elif test $ac_cv_prog_cc_g = yes; then
17523 if test "$GCC" = yes; then
17524 CFLAGS="-g -O2"
17525 else
17526 CFLAGS="-g"
17527 fi
17528 else
17529 if test "$GCC" = yes; then
17530 CFLAGS="-O2"
17531 else
17532 CFLAGS=
17533 fi
17534 fi
17535 fi
17536 fi
17537
17538 case `uname -s` in
17539 AIX*)
17540
17541
17542 ac_ext=c
17543 ac_cpp='$CPP $CPPFLAGS'
17544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17547
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17549 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17550 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17551 $as_echo_n "(cached) " >&6
17552 else
17553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17554 /* end confdefs.h. */
17555
17556 int
17557 main ()
17558 {
17559
17560 #ifndef __xlC__
17561 choke me
17562 #endif
17563
17564 ;
17565 return 0;
17566 }
17567 _ACEOF
17568 if ac_fn_c_try_compile "$LINENO"; then :
17569 bakefile_cv_c_compiler___xlC__=yes
17570 else
17571 bakefile_cv_c_compiler___xlC__=no
17572
17573 fi
17574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17575
17576
17577 fi
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17579 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17580 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17581 :; XLCC=yes
17582 else
17583 :;
17584 fi
17585 ac_ext=c
17586 ac_cpp='$CPP $CPPFLAGS'
17587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17590
17591
17592
17593 ;;
17594
17595 Darwin)
17596
17597
17598 ac_ext=c
17599 ac_cpp='$CPP $CPPFLAGS'
17600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17603
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17605 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17606 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17607 $as_echo_n "(cached) " >&6
17608 else
17609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17610 /* end confdefs.h. */
17611
17612 int
17613 main ()
17614 {
17615
17616 #ifndef __MWERKS__
17617 choke me
17618 #endif
17619
17620 ;
17621 return 0;
17622 }
17623 _ACEOF
17624 if ac_fn_c_try_compile "$LINENO"; then :
17625 bakefile_cv_c_compiler___MWERKS__=yes
17626 else
17627 bakefile_cv_c_compiler___MWERKS__=no
17628
17629 fi
17630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17631
17632
17633 fi
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17635 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17636 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17637 :; MWCC=yes
17638 else
17639 :;
17640 fi
17641 ac_ext=c
17642 ac_cpp='$CPP $CPPFLAGS'
17643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17646
17647
17648
17649 if test "$MWCC" != "yes"; then
17650
17651
17652 ac_ext=c
17653 ac_cpp='$CPP $CPPFLAGS'
17654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17657
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17659 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17660 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17661 $as_echo_n "(cached) " >&6
17662 else
17663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17664 /* end confdefs.h. */
17665
17666 int
17667 main ()
17668 {
17669
17670 #ifndef __xlC__
17671 choke me
17672 #endif
17673
17674 ;
17675 return 0;
17676 }
17677 _ACEOF
17678 if ac_fn_c_try_compile "$LINENO"; then :
17679 bakefile_cv_c_compiler___xlC__=yes
17680 else
17681 bakefile_cv_c_compiler___xlC__=no
17682
17683 fi
17684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17685
17686
17687 fi
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17689 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17690 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17691 :; XLCC=yes
17692 else
17693 :;
17694 fi
17695 ac_ext=c
17696 ac_cpp='$CPP $CPPFLAGS'
17697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17700
17701
17702
17703 fi
17704 ;;
17705
17706 IRIX*)
17707
17708
17709 ac_ext=c
17710 ac_cpp='$CPP $CPPFLAGS'
17711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17714
17715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17716 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17717 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17718 $as_echo_n "(cached) " >&6
17719 else
17720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17721 /* end confdefs.h. */
17722
17723 int
17724 main ()
17725 {
17726
17727 #ifndef _SGI_COMPILER_VERSION
17728 choke me
17729 #endif
17730
17731 ;
17732 return 0;
17733 }
17734 _ACEOF
17735 if ac_fn_c_try_compile "$LINENO"; then :
17736 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17737 else
17738 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17739
17740 fi
17741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17742
17743
17744 fi
17745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17746 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17747 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17748 :; SGICC=yes
17749 else
17750 :;
17751 fi
17752 ac_ext=c
17753 ac_cpp='$CPP $CPPFLAGS'
17754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17757
17758
17759
17760 ;;
17761
17762 Linux*)
17763 if test "$INTELCC" != "yes"; then
17764
17765
17766 ac_ext=c
17767 ac_cpp='$CPP $CPPFLAGS'
17768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17771
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17773 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17774 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17775 $as_echo_n "(cached) " >&6
17776 else
17777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17778 /* end confdefs.h. */
17779
17780 int
17781 main ()
17782 {
17783
17784 #ifndef __SUNPRO_C
17785 choke me
17786 #endif
17787
17788 ;
17789 return 0;
17790 }
17791 _ACEOF
17792 if ac_fn_c_try_compile "$LINENO"; then :
17793 bakefile_cv_c_compiler___SUNPRO_C=yes
17794 else
17795 bakefile_cv_c_compiler___SUNPRO_C=no
17796
17797 fi
17798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17799
17800
17801 fi
17802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17803 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17804 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17805 :; SUNCC=yes
17806 else
17807 :;
17808 fi
17809 ac_ext=c
17810 ac_cpp='$CPP $CPPFLAGS'
17811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17814
17815
17816
17817 fi
17818 ;;
17819
17820 HP-UX*)
17821
17822
17823 ac_ext=c
17824 ac_cpp='$CPP $CPPFLAGS'
17825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17828
17829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17830 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17831 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17832 $as_echo_n "(cached) " >&6
17833 else
17834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17835 /* end confdefs.h. */
17836
17837 int
17838 main ()
17839 {
17840
17841 #ifndef __HP_cc
17842 choke me
17843 #endif
17844
17845 ;
17846 return 0;
17847 }
17848 _ACEOF
17849 if ac_fn_c_try_compile "$LINENO"; then :
17850 bakefile_cv_c_compiler___HP_cc=yes
17851 else
17852 bakefile_cv_c_compiler___HP_cc=no
17853
17854 fi
17855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17856
17857
17858 fi
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17860 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17861 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17862 :; HPCC=yes
17863 else
17864 :;
17865 fi
17866 ac_ext=c
17867 ac_cpp='$CPP $CPPFLAGS'
17868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17871
17872
17873
17874 ;;
17875
17876 OSF1)
17877
17878
17879 ac_ext=c
17880 ac_cpp='$CPP $CPPFLAGS'
17881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17884
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17886 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17887 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17888 $as_echo_n "(cached) " >&6
17889 else
17890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17891 /* end confdefs.h. */
17892
17893 int
17894 main ()
17895 {
17896
17897 #ifndef __DECC
17898 choke me
17899 #endif
17900
17901 ;
17902 return 0;
17903 }
17904 _ACEOF
17905 if ac_fn_c_try_compile "$LINENO"; then :
17906 bakefile_cv_c_compiler___DECC=yes
17907 else
17908 bakefile_cv_c_compiler___DECC=no
17909
17910 fi
17911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17912
17913
17914 fi
17915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17916 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17917 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17918 :; COMPAQCC=yes
17919 else
17920 :;
17921 fi
17922 ac_ext=c
17923 ac_cpp='$CPP $CPPFLAGS'
17924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17927
17928
17929
17930 ;;
17931
17932 SunOS)
17933
17934
17935 ac_ext=c
17936 ac_cpp='$CPP $CPPFLAGS'
17937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17940
17941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17942 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17943 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17944 $as_echo_n "(cached) " >&6
17945 else
17946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17947 /* end confdefs.h. */
17948
17949 int
17950 main ()
17951 {
17952
17953 #ifndef __SUNPRO_C
17954 choke me
17955 #endif
17956
17957 ;
17958 return 0;
17959 }
17960 _ACEOF
17961 if ac_fn_c_try_compile "$LINENO"; then :
17962 bakefile_cv_c_compiler___SUNPRO_C=yes
17963 else
17964 bakefile_cv_c_compiler___SUNPRO_C=no
17965
17966 fi
17967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17968
17969
17970 fi
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17972 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17973 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17974 :; SUNCC=yes
17975 else
17976 :;
17977 fi
17978 ac_ext=c
17979 ac_cpp='$CPP $CPPFLAGS'
17980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17983
17984
17985
17986 ;;
17987 esac
17988 fi
17989
17990
17991
17992 ac_ext=c
17993 ac_cpp='$CPP $CPPFLAGS'
17994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17998 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17999 # On Suns, sometimes $CPP names a directory.
18000 if test -n "$CPP" && test -d "$CPP"; then
18001 CPP=
18002 fi
18003 if test -z "$CPP"; then
18004 if ${ac_cv_prog_CPP+:} false; then :
18005 $as_echo_n "(cached) " >&6
18006 else
18007 # Double quotes because CPP needs to be expanded
18008 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18009 do
18010 ac_preproc_ok=false
18011 for ac_c_preproc_warn_flag in '' yes
18012 do
18013 # Use a header file that comes with gcc, so configuring glibc
18014 # with a fresh cross-compiler works.
18015 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18016 # <limits.h> exists even on freestanding compilers.
18017 # On the NeXT, cc -E runs the code through the compiler's parser,
18018 # not just through cpp. "Syntax error" is here to catch this case.
18019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18020 /* end confdefs.h. */
18021 #ifdef __STDC__
18022 # include <limits.h>
18023 #else
18024 # include <assert.h>
18025 #endif
18026 Syntax error
18027 _ACEOF
18028 if ac_fn_c_try_cpp "$LINENO"; then :
18029
18030 else
18031 # Broken: fails on valid input.
18032 continue
18033 fi
18034 rm -f conftest.err conftest.i conftest.$ac_ext
18035
18036 # OK, works on sane cases. Now check whether nonexistent headers
18037 # can be detected and how.
18038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18039 /* end confdefs.h. */
18040 #include <ac_nonexistent.h>
18041 _ACEOF
18042 if ac_fn_c_try_cpp "$LINENO"; then :
18043 # Broken: success on invalid input.
18044 continue
18045 else
18046 # Passes both tests.
18047 ac_preproc_ok=:
18048 break
18049 fi
18050 rm -f conftest.err conftest.i conftest.$ac_ext
18051
18052 done
18053 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18054 rm -f conftest.i conftest.err conftest.$ac_ext
18055 if $ac_preproc_ok; then :
18056 break
18057 fi
18058
18059 done
18060 ac_cv_prog_CPP=$CPP
18061
18062 fi
18063 CPP=$ac_cv_prog_CPP
18064 else
18065 ac_cv_prog_CPP=$CPP
18066 fi
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
18068 $as_echo "$CPP" >&6; }
18069 ac_preproc_ok=false
18070 for ac_c_preproc_warn_flag in '' yes
18071 do
18072 # Use a header file that comes with gcc, so configuring glibc
18073 # with a fresh cross-compiler works.
18074 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18075 # <limits.h> exists even on freestanding compilers.
18076 # On the NeXT, cc -E runs the code through the compiler's parser,
18077 # not just through cpp. "Syntax error" is here to catch this case.
18078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18079 /* end confdefs.h. */
18080 #ifdef __STDC__
18081 # include <limits.h>
18082 #else
18083 # include <assert.h>
18084 #endif
18085 Syntax error
18086 _ACEOF
18087 if ac_fn_c_try_cpp "$LINENO"; then :
18088
18089 else
18090 # Broken: fails on valid input.
18091 continue
18092 fi
18093 rm -f conftest.err conftest.i conftest.$ac_ext
18094
18095 # OK, works on sane cases. Now check whether nonexistent headers
18096 # can be detected and how.
18097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18098 /* end confdefs.h. */
18099 #include <ac_nonexistent.h>
18100 _ACEOF
18101 if ac_fn_c_try_cpp "$LINENO"; then :
18102 # Broken: success on invalid input.
18103 continue
18104 else
18105 # Passes both tests.
18106 ac_preproc_ok=:
18107 break
18108 fi
18109 rm -f conftest.err conftest.i conftest.$ac_ext
18110
18111 done
18112 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18113 rm -f conftest.i conftest.err conftest.$ac_ext
18114 if $ac_preproc_ok; then :
18115
18116 else
18117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18119 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
18120 See \`config.log' for more details" "$LINENO" 5; }
18121 fi
18122
18123 ac_ext=c
18124 ac_cpp='$CPP $CPPFLAGS'
18125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18128
18129
18130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
18131 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
18132 if ${ac_cv_path_GREP+:} false; then :
18133 $as_echo_n "(cached) " >&6
18134 else
18135 if test -z "$GREP"; then
18136 ac_path_GREP_found=false
18137 # Loop through the user's path and test for each of PROGNAME-LIST
18138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18139 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18140 do
18141 IFS=$as_save_IFS
18142 test -z "$as_dir" && as_dir=.
18143 for ac_prog in grep ggrep; do
18144 for ac_exec_ext in '' $ac_executable_extensions; do
18145 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18146 as_fn_executable_p "$ac_path_GREP" || continue
18147 # Check for GNU ac_path_GREP and select it if it is found.
18148 # Check for GNU $ac_path_GREP
18149 case `"$ac_path_GREP" --version 2>&1` in
18150 *GNU*)
18151 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18152 *)
18153 ac_count=0
18154 $as_echo_n 0123456789 >"conftest.in"
18155 while :
18156 do
18157 cat "conftest.in" "conftest.in" >"conftest.tmp"
18158 mv "conftest.tmp" "conftest.in"
18159 cp "conftest.in" "conftest.nl"
18160 $as_echo 'GREP' >> "conftest.nl"
18161 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18162 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18163 as_fn_arith $ac_count + 1 && ac_count=$as_val
18164 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18165 # Best one so far, save it but keep looking for a better one
18166 ac_cv_path_GREP="$ac_path_GREP"
18167 ac_path_GREP_max=$ac_count
18168 fi
18169 # 10*(2^10) chars as input seems more than enough
18170 test $ac_count -gt 10 && break
18171 done
18172 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18173 esac
18174
18175 $ac_path_GREP_found && break 3
18176 done
18177 done
18178 done
18179 IFS=$as_save_IFS
18180 if test -z "$ac_cv_path_GREP"; then
18181 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18182 fi
18183 else
18184 ac_cv_path_GREP=$GREP
18185 fi
18186
18187 fi
18188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
18189 $as_echo "$ac_cv_path_GREP" >&6; }
18190 GREP="$ac_cv_path_GREP"
18191
18192
18193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18194 $as_echo_n "checking for egrep... " >&6; }
18195 if ${ac_cv_path_EGREP+:} false; then :
18196 $as_echo_n "(cached) " >&6
18197 else
18198 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18199 then ac_cv_path_EGREP="$GREP -E"
18200 else
18201 if test -z "$EGREP"; then
18202 ac_path_EGREP_found=false
18203 # Loop through the user's path and test for each of PROGNAME-LIST
18204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18205 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18206 do
18207 IFS=$as_save_IFS
18208 test -z "$as_dir" && as_dir=.
18209 for ac_prog in egrep; do
18210 for ac_exec_ext in '' $ac_executable_extensions; do
18211 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18212 as_fn_executable_p "$ac_path_EGREP" || continue
18213 # Check for GNU ac_path_EGREP and select it if it is found.
18214 # Check for GNU $ac_path_EGREP
18215 case `"$ac_path_EGREP" --version 2>&1` in
18216 *GNU*)
18217 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18218 *)
18219 ac_count=0
18220 $as_echo_n 0123456789 >"conftest.in"
18221 while :
18222 do
18223 cat "conftest.in" "conftest.in" >"conftest.tmp"
18224 mv "conftest.tmp" "conftest.in"
18225 cp "conftest.in" "conftest.nl"
18226 $as_echo 'EGREP' >> "conftest.nl"
18227 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18228 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18229 as_fn_arith $ac_count + 1 && ac_count=$as_val
18230 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18231 # Best one so far, save it but keep looking for a better one
18232 ac_cv_path_EGREP="$ac_path_EGREP"
18233 ac_path_EGREP_max=$ac_count
18234 fi
18235 # 10*(2^10) chars as input seems more than enough
18236 test $ac_count -gt 10 && break
18237 done
18238 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18239 esac
18240
18241 $ac_path_EGREP_found && break 3
18242 done
18243 done
18244 done
18245 IFS=$as_save_IFS
18246 if test -z "$ac_cv_path_EGREP"; then
18247 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18248 fi
18249 else
18250 ac_cv_path_EGREP=$EGREP
18251 fi
18252
18253 fi
18254 fi
18255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18256 $as_echo "$ac_cv_path_EGREP" >&6; }
18257 EGREP="$ac_cv_path_EGREP"
18258
18259
18260 if test $ac_cv_c_compiler_gnu = yes; then
18261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18262 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18263 if ${ac_cv_prog_gcc_traditional+:} false; then :
18264 $as_echo_n "(cached) " >&6
18265 else
18266 ac_pattern="Autoconf.*'x'"
18267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18268 /* end confdefs.h. */
18269 #include <sgtty.h>
18270 Autoconf TIOCGETP
18271 _ACEOF
18272 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18273 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18274 ac_cv_prog_gcc_traditional=yes
18275 else
18276 ac_cv_prog_gcc_traditional=no
18277 fi
18278 rm -f conftest*
18279
18280
18281 if test $ac_cv_prog_gcc_traditional = no; then
18282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18283 /* end confdefs.h. */
18284 #include <termio.h>
18285 Autoconf TCGETA
18286 _ACEOF
18287 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18288 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18289 ac_cv_prog_gcc_traditional=yes
18290 fi
18291 rm -f conftest*
18292
18293 fi
18294 fi
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18296 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18297 if test $ac_cv_prog_gcc_traditional = yes; then
18298 CC="$CC -traditional"
18299 fi
18300 fi
18301
18302
18303 CXXFLAGS=${CXXFLAGS:=}
18304 ac_ext=cpp
18305 ac_cpp='$CXXCPP $CPPFLAGS'
18306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18309 if test -z "$CXX"; then
18310 if test -n "$CCC"; then
18311 CXX=$CCC
18312 else
18313 if test -n "$ac_tool_prefix"; then
18314 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18315 do
18316 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18317 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18319 $as_echo_n "checking for $ac_word... " >&6; }
18320 if ${ac_cv_prog_CXX+:} false; then :
18321 $as_echo_n "(cached) " >&6
18322 else
18323 if test -n "$CXX"; then
18324 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18325 else
18326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18327 for as_dir in $PATH
18328 do
18329 IFS=$as_save_IFS
18330 test -z "$as_dir" && as_dir=.
18331 for ac_exec_ext in '' $ac_executable_extensions; do
18332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18333 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18335 break 2
18336 fi
18337 done
18338 done
18339 IFS=$as_save_IFS
18340
18341 fi
18342 fi
18343 CXX=$ac_cv_prog_CXX
18344 if test -n "$CXX"; then
18345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18346 $as_echo "$CXX" >&6; }
18347 else
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18349 $as_echo "no" >&6; }
18350 fi
18351
18352
18353 test -n "$CXX" && break
18354 done
18355 fi
18356 if test -z "$CXX"; then
18357 ac_ct_CXX=$CXX
18358 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18359 do
18360 # Extract the first word of "$ac_prog", so it can be a program name with args.
18361 set dummy $ac_prog; ac_word=$2
18362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18363 $as_echo_n "checking for $ac_word... " >&6; }
18364 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
18365 $as_echo_n "(cached) " >&6
18366 else
18367 if test -n "$ac_ct_CXX"; then
18368 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18369 else
18370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18371 for as_dir in $PATH
18372 do
18373 IFS=$as_save_IFS
18374 test -z "$as_dir" && as_dir=.
18375 for ac_exec_ext in '' $ac_executable_extensions; do
18376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18377 ac_cv_prog_ac_ct_CXX="$ac_prog"
18378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18379 break 2
18380 fi
18381 done
18382 done
18383 IFS=$as_save_IFS
18384
18385 fi
18386 fi
18387 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18388 if test -n "$ac_ct_CXX"; then
18389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18390 $as_echo "$ac_ct_CXX" >&6; }
18391 else
18392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18393 $as_echo "no" >&6; }
18394 fi
18395
18396
18397 test -n "$ac_ct_CXX" && break
18398 done
18399
18400 if test "x$ac_ct_CXX" = x; then
18401 CXX="g++"
18402 else
18403 case $cross_compiling:$ac_tool_warned in
18404 yes:)
18405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18407 ac_tool_warned=yes ;;
18408 esac
18409 CXX=$ac_ct_CXX
18410 fi
18411 fi
18412
18413 fi
18414 fi
18415 # Provide some information about the compiler.
18416 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18417 set X $ac_compile
18418 ac_compiler=$2
18419 for ac_option in --version -v -V -qversion; do
18420 { { ac_try="$ac_compiler $ac_option >&5"
18421 case "(($ac_try" in
18422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18423 *) ac_try_echo=$ac_try;;
18424 esac
18425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18426 $as_echo "$ac_try_echo"; } >&5
18427 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18428 ac_status=$?
18429 if test -s conftest.err; then
18430 sed '10a\
18431 ... rest of stderr output deleted ...
18432 10q' conftest.err >conftest.er1
18433 cat conftest.er1 >&5
18434 fi
18435 rm -f conftest.er1 conftest.err
18436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18437 test $ac_status = 0; }
18438 done
18439
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18441 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18442 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18443 $as_echo_n "(cached) " >&6
18444 else
18445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18446 /* end confdefs.h. */
18447
18448 int
18449 main ()
18450 {
18451 #ifndef __GNUC__
18452 choke me
18453 #endif
18454
18455 ;
18456 return 0;
18457 }
18458 _ACEOF
18459 if ac_fn_cxx_try_compile "$LINENO"; then :
18460 ac_compiler_gnu=yes
18461 else
18462 ac_compiler_gnu=no
18463 fi
18464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18465 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18466
18467 fi
18468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18469 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18470 if test $ac_compiler_gnu = yes; then
18471 GXX=yes
18472 else
18473 GXX=
18474 fi
18475 ac_test_CXXFLAGS=${CXXFLAGS+set}
18476 ac_save_CXXFLAGS=$CXXFLAGS
18477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18478 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18479 if ${ac_cv_prog_cxx_g+:} false; then :
18480 $as_echo_n "(cached) " >&6
18481 else
18482 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18483 ac_cxx_werror_flag=yes
18484 ac_cv_prog_cxx_g=no
18485 CXXFLAGS="-g"
18486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18487 /* end confdefs.h. */
18488
18489 int
18490 main ()
18491 {
18492
18493 ;
18494 return 0;
18495 }
18496 _ACEOF
18497 if ac_fn_cxx_try_compile "$LINENO"; then :
18498 ac_cv_prog_cxx_g=yes
18499 else
18500 CXXFLAGS=""
18501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18502 /* end confdefs.h. */
18503
18504 int
18505 main ()
18506 {
18507
18508 ;
18509 return 0;
18510 }
18511 _ACEOF
18512 if ac_fn_cxx_try_compile "$LINENO"; then :
18513
18514 else
18515 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18516 CXXFLAGS="-g"
18517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18518 /* end confdefs.h. */
18519
18520 int
18521 main ()
18522 {
18523
18524 ;
18525 return 0;
18526 }
18527 _ACEOF
18528 if ac_fn_cxx_try_compile "$LINENO"; then :
18529 ac_cv_prog_cxx_g=yes
18530 fi
18531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18532 fi
18533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18534 fi
18535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18536 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18537 fi
18538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18539 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18540 if test "$ac_test_CXXFLAGS" = set; then
18541 CXXFLAGS=$ac_save_CXXFLAGS
18542 elif test $ac_cv_prog_cxx_g = yes; then
18543 if test "$GXX" = yes; then
18544 CXXFLAGS="-g -O2"
18545 else
18546 CXXFLAGS="-g"
18547 fi
18548 else
18549 if test "$GXX" = yes; then
18550 CXXFLAGS="-O2"
18551 else
18552 CXXFLAGS=
18553 fi
18554 fi
18555 ac_ext=c
18556 ac_cpp='$CPP $CPPFLAGS'
18557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18560
18561
18562
18563
18564
18565
18566
18567
18568 ac_ext=cpp
18569 ac_cpp='$CXXCPP $CPPFLAGS'
18570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18573
18574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18575 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18576 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18577 $as_echo_n "(cached) " >&6
18578 else
18579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18580 /* end confdefs.h. */
18581
18582 int
18583 main ()
18584 {
18585
18586 #ifndef __INTEL_COMPILER
18587 choke me
18588 #endif
18589
18590 ;
18591 return 0;
18592 }
18593 _ACEOF
18594 if ac_fn_cxx_try_compile "$LINENO"; then :
18595 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18596 else
18597 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18598
18599 fi
18600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18601
18602
18603 fi
18604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18605 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18606 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18607 :; INTELCXX=yes
18608 else
18609 :;
18610 fi
18611 ac_ext=c
18612 ac_cpp='$CPP $CPPFLAGS'
18613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18616
18617
18618
18619
18620 if test "$INTELCXX" = "yes"; then
18621
18622
18623 ac_ext=cpp
18624 ac_cpp='$CXXCPP $CPPFLAGS'
18625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18628
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18630 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18631 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18632 $as_echo_n "(cached) " >&6
18633 else
18634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18635 /* end confdefs.h. */
18636
18637 int
18638 main ()
18639 {
18640
18641 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18642 choke me
18643 #endif
18644
18645 ;
18646 return 0;
18647 }
18648 _ACEOF
18649 if ac_fn_cxx_try_compile "$LINENO"; then :
18650 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18651 else
18652 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18653
18654 fi
18655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18656
18657
18658 fi
18659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18660 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18661 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18662 :; INTELCXX8=yes
18663 else
18664 :;
18665 fi
18666 ac_ext=c
18667 ac_cpp='$CPP $CPPFLAGS'
18668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18671
18672
18673
18674
18675
18676 ac_ext=cpp
18677 ac_cpp='$CXXCPP $CPPFLAGS'
18678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18681
18682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18683 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18684 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18685 $as_echo_n "(cached) " >&6
18686 else
18687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18688 /* end confdefs.h. */
18689
18690 int
18691 main ()
18692 {
18693
18694 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18695 choke me
18696 #endif
18697
18698 ;
18699 return 0;
18700 }
18701 _ACEOF
18702 if ac_fn_cxx_try_compile "$LINENO"; then :
18703 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18704 else
18705 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18706
18707 fi
18708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18709
18710
18711 fi
18712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18713 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18714 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18715 :; INTELCXX10=yes
18716 else
18717 :;
18718 fi
18719 ac_ext=c
18720 ac_cpp='$CPP $CPPFLAGS'
18721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18724
18725
18726
18727 fi
18728
18729 if test "x$GCXX" != "xyes"; then
18730 if test "xCXX" = "xC"; then
18731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18732 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18733 if ${bakefile_cv_c_exto+:} false; then :
18734 $as_echo_n "(cached) " >&6
18735 else
18736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18737 /* end confdefs.h. */
18738
18739 int
18740 main ()
18741 {
18742
18743 ;
18744 return 0;
18745 }
18746 _ACEOF
18747 rm -f conftest.$ac_objext conftest.$ac_ext.o
18748 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18749 (eval $ac_compile) 2>&5
18750 ac_status=$?
18751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18752 test $ac_status = 0; }; then :
18753 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18754 case $ac_file in
18755 conftest.$ac_ext.o)
18756 bakefile_cv_c_exto="-ext o"
18757 ;;
18758 *)
18759 ;;
18760 esac
18761 done
18762 else
18763 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18764 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18765 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
18766 See \`config.log' for more details" "$LINENO" 5; }
18767
18768 fi
18769 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18770
18771 fi
18772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18773 $as_echo "$bakefile_cv_c_exto" >&6; }
18774 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18775 if test "c" = "c"; then
18776 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18777 fi
18778 if test "c" = "cxx"; then
18779 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18780 fi
18781 fi
18782
18783 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18784 unset ac_cv_prog_cc_g
18785 ac_test_CFLAGS=${CFLAGS+set}
18786 ac_save_CFLAGS=$CFLAGS
18787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18788 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18789 if ${ac_cv_prog_cc_g+:} false; then :
18790 $as_echo_n "(cached) " >&6
18791 else
18792 ac_save_c_werror_flag=$ac_c_werror_flag
18793 ac_c_werror_flag=yes
18794 ac_cv_prog_cc_g=no
18795 CFLAGS="-g"
18796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18797 /* end confdefs.h. */
18798
18799 int
18800 main ()
18801 {
18802
18803 ;
18804 return 0;
18805 }
18806 _ACEOF
18807 if ac_fn_c_try_compile "$LINENO"; then :
18808 ac_cv_prog_cc_g=yes
18809 else
18810 CFLAGS=""
18811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18812 /* end confdefs.h. */
18813
18814 int
18815 main ()
18816 {
18817
18818 ;
18819 return 0;
18820 }
18821 _ACEOF
18822 if ac_fn_c_try_compile "$LINENO"; then :
18823
18824 else
18825 ac_c_werror_flag=$ac_save_c_werror_flag
18826 CFLAGS="-g"
18827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18828 /* end confdefs.h. */
18829
18830 int
18831 main ()
18832 {
18833
18834 ;
18835 return 0;
18836 }
18837 _ACEOF
18838 if ac_fn_c_try_compile "$LINENO"; then :
18839 ac_cv_prog_cc_g=yes
18840 fi
18841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18842 fi
18843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18844 fi
18845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18846 ac_c_werror_flag=$ac_save_c_werror_flag
18847 fi
18848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18849 $as_echo "$ac_cv_prog_cc_g" >&6; }
18850 if test "$ac_test_CFLAGS" = set; then
18851 CFLAGS=$ac_save_CFLAGS
18852 elif test $ac_cv_prog_cc_g = yes; then
18853 if test "$GCC" = yes; then
18854 CFLAGS="-g -O2"
18855 else
18856 CFLAGS="-g"
18857 fi
18858 else
18859 if test "$GCC" = yes; then
18860 CFLAGS="-O2"
18861 else
18862 CFLAGS=
18863 fi
18864 fi
18865 fi
18866 fi
18867
18868 case `uname -s` in
18869 AIX*)
18870
18871
18872 ac_ext=cpp
18873 ac_cpp='$CXXCPP $CPPFLAGS'
18874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18877
18878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18879 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18880 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18881 $as_echo_n "(cached) " >&6
18882 else
18883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18884 /* end confdefs.h. */
18885
18886 int
18887 main ()
18888 {
18889
18890 #ifndef __xlC__
18891 choke me
18892 #endif
18893
18894 ;
18895 return 0;
18896 }
18897 _ACEOF
18898 if ac_fn_cxx_try_compile "$LINENO"; then :
18899 bakefile_cv_cxx_compiler___xlC__=yes
18900 else
18901 bakefile_cv_cxx_compiler___xlC__=no
18902
18903 fi
18904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18905
18906
18907 fi
18908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18909 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18910 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18911 :; XLCXX=yes
18912 else
18913 :;
18914 fi
18915 ac_ext=c
18916 ac_cpp='$CPP $CPPFLAGS'
18917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18920
18921
18922
18923 ;;
18924
18925 Darwin)
18926
18927
18928 ac_ext=cpp
18929 ac_cpp='$CXXCPP $CPPFLAGS'
18930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18933
18934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18935 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18936 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18937 $as_echo_n "(cached) " >&6
18938 else
18939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18940 /* end confdefs.h. */
18941
18942 int
18943 main ()
18944 {
18945
18946 #ifndef __MWERKS__
18947 choke me
18948 #endif
18949
18950 ;
18951 return 0;
18952 }
18953 _ACEOF
18954 if ac_fn_cxx_try_compile "$LINENO"; then :
18955 bakefile_cv_cxx_compiler___MWERKS__=yes
18956 else
18957 bakefile_cv_cxx_compiler___MWERKS__=no
18958
18959 fi
18960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18961
18962
18963 fi
18964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18965 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18966 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18967 :; MWCXX=yes
18968 else
18969 :;
18970 fi
18971 ac_ext=c
18972 ac_cpp='$CPP $CPPFLAGS'
18973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18976
18977
18978
18979 if test "$MWCXX" != "yes"; then
18980
18981
18982 ac_ext=cpp
18983 ac_cpp='$CXXCPP $CPPFLAGS'
18984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18987
18988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18989 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18990 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18991 $as_echo_n "(cached) " >&6
18992 else
18993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18994 /* end confdefs.h. */
18995
18996 int
18997 main ()
18998 {
18999
19000 #ifndef __xlC__
19001 choke me
19002 #endif
19003
19004 ;
19005 return 0;
19006 }
19007 _ACEOF
19008 if ac_fn_cxx_try_compile "$LINENO"; then :
19009 bakefile_cv_cxx_compiler___xlC__=yes
19010 else
19011 bakefile_cv_cxx_compiler___xlC__=no
19012
19013 fi
19014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19015
19016
19017 fi
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19019 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
19020 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19021 :; XLCXX=yes
19022 else
19023 :;
19024 fi
19025 ac_ext=c
19026 ac_cpp='$CPP $CPPFLAGS'
19027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19030
19031
19032
19033 fi
19034 ;;
19035
19036 IRIX*)
19037
19038
19039 ac_ext=cpp
19040 ac_cpp='$CXXCPP $CPPFLAGS'
19041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19044
19045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
19046 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
19047 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
19048 $as_echo_n "(cached) " >&6
19049 else
19050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19051 /* end confdefs.h. */
19052
19053 int
19054 main ()
19055 {
19056
19057 #ifndef _SGI_COMPILER_VERSION
19058 choke me
19059 #endif
19060
19061 ;
19062 return 0;
19063 }
19064 _ACEOF
19065 if ac_fn_cxx_try_compile "$LINENO"; then :
19066 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19067 else
19068 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19069
19070 fi
19071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19072
19073
19074 fi
19075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19076 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19077 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19078 :; SGICXX=yes
19079 else
19080 :;
19081 fi
19082 ac_ext=c
19083 ac_cpp='$CPP $CPPFLAGS'
19084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19087
19088
19089
19090 ;;
19091
19092 Linux*)
19093 if test "$INTELCXX" != "yes"; then
19094
19095
19096 ac_ext=cpp
19097 ac_cpp='$CXXCPP $CPPFLAGS'
19098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19101
19102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19103 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19104 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19105 $as_echo_n "(cached) " >&6
19106 else
19107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19108 /* end confdefs.h. */
19109
19110 int
19111 main ()
19112 {
19113
19114 #ifndef __SUNPRO_CC
19115 choke me
19116 #endif
19117
19118 ;
19119 return 0;
19120 }
19121 _ACEOF
19122 if ac_fn_cxx_try_compile "$LINENO"; then :
19123 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19124 else
19125 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19126
19127 fi
19128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19129
19130
19131 fi
19132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19133 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19134 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19135 :; SUNCXX=yes
19136 else
19137 :;
19138 fi
19139 ac_ext=c
19140 ac_cpp='$CPP $CPPFLAGS'
19141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19144
19145
19146
19147 fi
19148 ;;
19149
19150 HP-UX*)
19151
19152
19153 ac_ext=cpp
19154 ac_cpp='$CXXCPP $CPPFLAGS'
19155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19158
19159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
19160 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
19161 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
19162 $as_echo_n "(cached) " >&6
19163 else
19164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19165 /* end confdefs.h. */
19166
19167 int
19168 main ()
19169 {
19170
19171 #ifndef __HP_aCC
19172 choke me
19173 #endif
19174
19175 ;
19176 return 0;
19177 }
19178 _ACEOF
19179 if ac_fn_cxx_try_compile "$LINENO"; then :
19180 bakefile_cv_cxx_compiler___HP_aCC=yes
19181 else
19182 bakefile_cv_cxx_compiler___HP_aCC=no
19183
19184 fi
19185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19186
19187
19188 fi
19189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19190 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19191 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19192 :; HPCXX=yes
19193 else
19194 :;
19195 fi
19196 ac_ext=c
19197 ac_cpp='$CPP $CPPFLAGS'
19198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19201
19202
19203
19204 ;;
19205
19206 OSF1)
19207
19208
19209 ac_ext=cpp
19210 ac_cpp='$CXXCPP $CPPFLAGS'
19211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19214
19215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19216 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19217 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19218 $as_echo_n "(cached) " >&6
19219 else
19220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19221 /* end confdefs.h. */
19222
19223 int
19224 main ()
19225 {
19226
19227 #ifndef __DECCXX
19228 choke me
19229 #endif
19230
19231 ;
19232 return 0;
19233 }
19234 _ACEOF
19235 if ac_fn_cxx_try_compile "$LINENO"; then :
19236 bakefile_cv_cxx_compiler___DECCXX=yes
19237 else
19238 bakefile_cv_cxx_compiler___DECCXX=no
19239
19240 fi
19241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19242
19243
19244 fi
19245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19246 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19247 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19248 :; COMPAQCXX=yes
19249 else
19250 :;
19251 fi
19252 ac_ext=c
19253 ac_cpp='$CPP $CPPFLAGS'
19254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19257
19258
19259
19260 ;;
19261
19262 SunOS)
19263
19264
19265 ac_ext=cpp
19266 ac_cpp='$CXXCPP $CPPFLAGS'
19267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19270
19271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19272 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19273 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19274 $as_echo_n "(cached) " >&6
19275 else
19276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19277 /* end confdefs.h. */
19278
19279 int
19280 main ()
19281 {
19282
19283 #ifndef __SUNPRO_CC
19284 choke me
19285 #endif
19286
19287 ;
19288 return 0;
19289 }
19290 _ACEOF
19291 if ac_fn_cxx_try_compile "$LINENO"; then :
19292 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19293 else
19294 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19295
19296 fi
19297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19298
19299
19300 fi
19301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19302 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19303 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19304 :; SUNCXX=yes
19305 else
19306 :;
19307 fi
19308 ac_ext=c
19309 ac_cpp='$CPP $CPPFLAGS'
19310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19313
19314
19315
19316 ;;
19317 esac
19318 fi
19319
19320
19321
19322 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19323 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19324 fi
19325
19326 if test "x$SUNCXX" != xyes; then
19327 if test -n "$ac_tool_prefix"; then
19328 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19329 set dummy ${ac_tool_prefix}ar; ac_word=$2
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19331 $as_echo_n "checking for $ac_word... " >&6; }
19332 if ${ac_cv_prog_AR+:} false; then :
19333 $as_echo_n "(cached) " >&6
19334 else
19335 if test -n "$AR"; then
19336 ac_cv_prog_AR="$AR" # Let the user override the test.
19337 else
19338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19339 for as_dir in $PATH
19340 do
19341 IFS=$as_save_IFS
19342 test -z "$as_dir" && as_dir=.
19343 for ac_exec_ext in '' $ac_executable_extensions; do
19344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19345 ac_cv_prog_AR="${ac_tool_prefix}ar"
19346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19347 break 2
19348 fi
19349 done
19350 done
19351 IFS=$as_save_IFS
19352
19353 fi
19354 fi
19355 AR=$ac_cv_prog_AR
19356 if test -n "$AR"; then
19357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19358 $as_echo "$AR" >&6; }
19359 else
19360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19361 $as_echo "no" >&6; }
19362 fi
19363
19364
19365 fi
19366 if test -z "$ac_cv_prog_AR"; then
19367 ac_ct_AR=$AR
19368 # Extract the first word of "ar", so it can be a program name with args.
19369 set dummy ar; ac_word=$2
19370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19371 $as_echo_n "checking for $ac_word... " >&6; }
19372 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19373 $as_echo_n "(cached) " >&6
19374 else
19375 if test -n "$ac_ct_AR"; then
19376 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19377 else
19378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19379 for as_dir in $PATH
19380 do
19381 IFS=$as_save_IFS
19382 test -z "$as_dir" && as_dir=.
19383 for ac_exec_ext in '' $ac_executable_extensions; do
19384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19385 ac_cv_prog_ac_ct_AR="ar"
19386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19387 break 2
19388 fi
19389 done
19390 done
19391 IFS=$as_save_IFS
19392
19393 fi
19394 fi
19395 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19396 if test -n "$ac_ct_AR"; then
19397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19398 $as_echo "$ac_ct_AR" >&6; }
19399 else
19400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19401 $as_echo "no" >&6; }
19402 fi
19403
19404 if test "x$ac_ct_AR" = x; then
19405 AR=""
19406 else
19407 case $cross_compiling:$ac_tool_warned in
19408 yes:)
19409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19411 ac_tool_warned=yes ;;
19412 esac
19413 AR=$ac_ct_AR
19414 fi
19415 else
19416 AR="$ac_cv_prog_AR"
19417 fi
19418
19419 if test "x$AR" = "x" ; then
19420 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19421 fi
19422 fi
19423
19424
19425 if test "$wxUSE_MAC" = 1; then
19426
19427 retest_macosx_linking=no
19428
19429 OSX_ARCH_OPTS=""
19430
19431 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19432 if test "x$wxUSE_MAC_ARCH" != xno; then
19433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19434 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19435 fi
19436
19437 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19438 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19439 else OSX_ARCH_OPTS="ppc,i386"
19440 if test "$wxUSE_OSX_COCOA" = 1; then
19441 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19442 fi
19443 fi
19444
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19446 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19448 $as_echo "$OSX_ARCH_OPTS" >&6; }
19449
19450 retest_macosx_linking=yes
19451 else
19452 if test "x$wxUSE_MAC_ARCH" != xno; then
19453 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19454 fi
19455 fi
19456
19457 if test "x$OSX_ARCH_OPTS" != "x"; then
19458 if echo $OSX_ARCH_OPTS | grep -q ","; then
19459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19460 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19461 disable_macosx_deps=yes
19462
19463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19464 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19465 bk_use_pch=no
19466 fi
19467
19468 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19469
19470 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19471 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19472 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19473 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19474 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19475 fi
19476
19477 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19478 wxUSE_MACOSX_SDK=
19479 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19480 # TODO: Search for most recent SDK and use it.
19481 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19482 fi
19483
19484
19485 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19487 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19488 if ! test -d "$wxUSE_MACOSX_SDK"; then
19489 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19491 as_fn_error $? "not found
19492 See \`config.log' for more details" "$LINENO" 5; }
19493 else
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19495 $as_echo "exists" >&6; }
19496 fi
19497 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19498 retest_macosx_linking=yes
19499 fi
19500
19501 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19502 wxUSE_MACOSX_VERSION_MIN=
19503 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19504 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19506 $as_echo_n "checking SDK deployment version... " >&6; }
19507
19508 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/'`
19509
19510 # If that failed, try again with the new key
19511 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19512
19513 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/'`
19514
19515 fi
19516
19517 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19518 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19520 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19521 else
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19523 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19524 wxUSE_MACOSX_VERSION_MIN=
19525 fi
19526 else
19527 wxUSE_MACOSX_VERSION_MIN=
19528 fi
19529 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19530 wxUSE_MACOSX_VERSION_MIN=10.5
19531 fi
19532
19533 if test "x$MACOSX_SDK_OPTS" != "x"; then
19534 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19535 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19536 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19537 retest_macosx_linking=yes
19538 fi
19539
19540 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19541 if test "$wxUSE_OSX_IPHONE" = 1; then
19542 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19543 else
19544 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19545 fi
19546 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19547 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19548 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19549 retest_macosx_linking=yes
19550 fi
19551
19552 if test "x$retest_macosx_linking" = "xyes"; then
19553 ac_ext=c
19554 ac_cpp='$CPP $CPPFLAGS'
19555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19558
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19560 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19562 /* end confdefs.h. */
19563
19564 int
19565 main ()
19566 {
19567
19568 ;
19569 return 0;
19570 }
19571 _ACEOF
19572 if ac_fn_c_try_link "$LINENO"; then :
19573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19574 $as_echo "yes" >&6; }
19575 else
19576 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19578 as_fn_error $? "no. Try a different SDK
19579 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19580 fi
19581 rm -f core conftest.err conftest.$ac_objext \
19582 conftest$ac_exeext conftest.$ac_ext
19583 ac_ext=c
19584 ac_cpp='$CPP $CPPFLAGS'
19585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19588
19589
19590 ac_ext=cpp
19591 ac_cpp='$CXXCPP $CPPFLAGS'
19592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19595
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19597 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19599 /* end confdefs.h. */
19600
19601 int
19602 main ()
19603 {
19604
19605 ;
19606 return 0;
19607 }
19608 _ACEOF
19609 if ac_fn_cxx_try_link "$LINENO"; then :
19610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19611 $as_echo "yes" >&6; }
19612 else
19613 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19614 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19615 as_fn_error $? "no. Try a different SDK
19616 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19617 fi
19618 rm -f core conftest.err conftest.$ac_objext \
19619 conftest$ac_exeext conftest.$ac_ext
19620 ac_ext=c
19621 ac_cpp='$CPP $CPPFLAGS'
19622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19625
19626 fi
19627
19628 fi
19629 case "${host}" in
19630
19631 *-*-darwin* )
19632 INSTALL_PROGRAM="cp -fp"
19633 INSTALL_DATA="cp -fp"
19634 ;;
19635 *)
19636 ;;
19637 esac
19638
19639
19640 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19641 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19642
19643
19644 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19645 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19646 fi
19647
19648 if test "x$USE_AIX" = "x1"; then
19649 if test "x$XLCXX" = "xyes"; then
19650 CXXFLAGS="-qunique $CXXFLAGS"
19651 fi
19652
19653 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19654 fi
19655
19656 case "${host}" in
19657 powerpc-*-darwin* )
19658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19659 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19661 /* end confdefs.h. */
19662
19663 int
19664 main ()
19665 {
19666 #ifndef __POWERPC__
19667 choke me for lack of PowerPC
19668 #endif
19669
19670 ;
19671 return 0;
19672 }
19673 _ACEOF
19674 if ac_fn_c_try_compile "$LINENO"; then :
19675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19676 $as_echo "yes" >&6; }
19677 else
19678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19679 $as_echo "no" >&6; }
19680 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19681
19682
19683 fi
19684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19685 ;;
19686 esac
19687
19688 case "${host}" in
19689 *-*-darwin* )
19690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19691 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19693 /* end confdefs.h. */
19694 #include <CoreFoundation/CFBase.h>
19695
19696 int
19697 main ()
19698 {
19699
19700 ;
19701 return 0;
19702 }
19703 _ACEOF
19704 if ac_fn_c_try_compile "$LINENO"; then :
19705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19706 $as_echo "yes" >&6; }
19707 else
19708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19709 $as_echo "no" >&6; }
19710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19711 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19713 /* end confdefs.h. */
19714 #define __CF_USE_FRAMEWORK_INCLUDES__
19715 #include <CoreFoundation/CFBase.h>
19716
19717 int
19718 main ()
19719 {
19720
19721 ;
19722 return 0;
19723 }
19724 _ACEOF
19725 if ac_fn_c_try_compile "$LINENO"; then :
19726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19727 $as_echo "yes" >&6; }
19728 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19729 else
19730 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19732 as_fn_error $? "no. CoreFoundation not available.
19733 See \`config.log' for more details" "$LINENO" 5; }
19734
19735 fi
19736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19737
19738
19739 fi
19740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19741 ;;
19742 esac
19743
19744 wants_win32=0
19745 doesnt_want_win32=0
19746 case "${host}" in
19747 *-*-cygwin*)
19748 if test "$wxUSE_MSW" = 1 ; then
19749 wants_win32=1
19750 else
19751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19752 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19753 if ${wx_cv_nocygwin+:} false; then :
19754 $as_echo_n "(cached) " >&6
19755 else
19756
19757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19758 /* end confdefs.h. */
19759
19760 int
19761 main ()
19762 {
19763
19764 #ifdef __MINGW32__
19765 choke me
19766 #endif
19767
19768 ;
19769 return 0;
19770 }
19771 _ACEOF
19772 if ac_fn_c_try_compile "$LINENO"; then :
19773 wx_cv_nocygwin=no
19774 else
19775 wx_cv_nocygwin=yes
19776
19777 fi
19778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19779
19780
19781 fi
19782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19783 $as_echo "$wx_cv_nocygwin" >&6; }
19784
19785 if test "$wx_cv_nocygwin" = "yes"; then
19786 wants_win32=1
19787 else
19788 doesnt_want_win32=1
19789 fi
19790 fi
19791 if test "$wants_win32" = 1 ; then
19792 BAKEFILE_FORCE_PLATFORM=win32
19793 fi
19794 ;;
19795 *-*-mingw*)
19796 wants_win32=1
19797 ;;
19798 esac
19799
19800 if test "$wxUSE_WINE" = "yes"; then
19801 wants_win32=1
19802 LDFLAGS_GUI="-mwindows"
19803 fi
19804
19805 if test "$wants_win32" = 1 ; then
19806 USE_UNIX=0
19807 USE_WIN32=1
19808 $as_echo "#define __WIN32__ 1" >>confdefs.h
19809
19810 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19811
19812 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19813
19814 $as_echo "#define STRICT 1" >>confdefs.h
19815
19816 fi
19817 if test "$doesnt_want_win32" = 1 ; then
19818 USE_UNIX=1
19819 USE_WIN32=0
19820 fi
19821
19822 if test "$USE_UNIX" = 1 ; then
19823 wxUSE_UNIX=yes
19824 $as_echo "#define __UNIX__ 1" >>confdefs.h
19825
19826 fi
19827
19828 case "${host}" in
19829 *-pc-os2_emx | *-pc-os2-emx )
19830 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19832 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19833 if ${ac_cv_lib_cExt_drand48+:} false; then :
19834 $as_echo_n "(cached) " >&6
19835 else
19836 ac_check_lib_save_LIBS=$LIBS
19837 LIBS="-lcExt $LIBS"
19838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19839 /* end confdefs.h. */
19840
19841 /* Override any GCC internal prototype to avoid an error.
19842 Use char because int might match the return type of a GCC
19843 builtin and then its argument prototype would still apply. */
19844 #ifdef __cplusplus
19845 extern "C"
19846 #endif
19847 char drand48 ();
19848 int
19849 main ()
19850 {
19851 return drand48 ();
19852 ;
19853 return 0;
19854 }
19855 _ACEOF
19856 if ac_fn_c_try_link "$LINENO"; then :
19857 ac_cv_lib_cExt_drand48=yes
19858 else
19859 ac_cv_lib_cExt_drand48=no
19860 fi
19861 rm -f core conftest.err conftest.$ac_objext \
19862 conftest$ac_exeext conftest.$ac_ext
19863 LIBS=$ac_check_lib_save_LIBS
19864 fi
19865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19866 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19867 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19868 LIBS="$LIBS -lcExt"
19869 fi
19870
19871 fi
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19873 $as_echo_n "checking for gcc/libc version... " >&6; }
19874 if ${wx_cv_gccversion+:} false; then :
19875 $as_echo_n "(cached) " >&6
19876 else
19877
19878 if test "$cross_compiling" = yes; then :
19879 wx_cv_gccversion="EMX2"
19880
19881 else
19882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19883 /* end confdefs.h. */
19884
19885 #include <stdio.h>
19886
19887 int main()
19888 {
19889 FILE *f=fopen("conftestval", "w");
19890 if (!f) exit(1);
19891 fprintf(f,
19892 #if (__GNUC__ < 3)
19893 "EMX2"
19894 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19895 "EMX3"
19896 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19897 "Innotek5"
19898 #else
19899 "Innotek6"
19900 #endif
19901 );
19902 exit(0);
19903 }
19904
19905 _ACEOF
19906 if ac_fn_c_try_run "$LINENO"; then :
19907 wx_cv_gccversion=`cat conftestval`
19908 else
19909 wx_cv_gccversion="EMX2"
19910 fi
19911 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19912 conftest.$ac_objext conftest.beam conftest.$ac_ext
19913 fi
19914
19915
19916 fi
19917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19918 $as_echo "$wx_cv_gccversion" >&6; }
19919 if test "$wx_cv_gccversion" = "EMX2"; then
19920 LIBS="$LIBS -lstdcpp"
19921 LDFLAGS="$LDFLAGS -Zsysv-signals"
19922 else
19923 if test "$wx_cv_gccversion" = "EMX3"; then
19924 LIBS="$LIBS -lstdcxx -lgcc"
19925 LDFLAGS="$LDFLAGS -Zsysv-signals"
19926 else
19927 LIBS="$LIBS -lstdc++"
19928 fi
19929 fi
19930 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19932 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19933 wxUSE_OMF=yes
19934 enable_omf=yes
19935 fi
19936 ;;
19937 esac
19938
19939
19940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19941 $as_echo_n "checking for ANSI C header files... " >&6; }
19942 if ${ac_cv_header_stdc+:} false; then :
19943 $as_echo_n "(cached) " >&6
19944 else
19945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19946 /* end confdefs.h. */
19947 #include <stdlib.h>
19948 #include <stdarg.h>
19949 #include <string.h>
19950 #include <float.h>
19951
19952 int
19953 main ()
19954 {
19955
19956 ;
19957 return 0;
19958 }
19959 _ACEOF
19960 if ac_fn_c_try_compile "$LINENO"; then :
19961 ac_cv_header_stdc=yes
19962 else
19963 ac_cv_header_stdc=no
19964 fi
19965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19966
19967 if test $ac_cv_header_stdc = yes; then
19968 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19970 /* end confdefs.h. */
19971 #include <string.h>
19972
19973 _ACEOF
19974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19975 $EGREP "memchr" >/dev/null 2>&1; then :
19976
19977 else
19978 ac_cv_header_stdc=no
19979 fi
19980 rm -f conftest*
19981
19982 fi
19983
19984 if test $ac_cv_header_stdc = yes; then
19985 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19987 /* end confdefs.h. */
19988 #include <stdlib.h>
19989
19990 _ACEOF
19991 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19992 $EGREP "free" >/dev/null 2>&1; then :
19993
19994 else
19995 ac_cv_header_stdc=no
19996 fi
19997 rm -f conftest*
19998
19999 fi
20000
20001 if test $ac_cv_header_stdc = yes; then
20002 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20003 if test "$cross_compiling" = yes; then :
20004 :
20005 else
20006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20007 /* end confdefs.h. */
20008 #include <ctype.h>
20009 #include <stdlib.h>
20010 #if ((' ' & 0x0FF) == 0x020)
20011 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20012 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20013 #else
20014 # define ISLOWER(c) \
20015 (('a' <= (c) && (c) <= 'i') \
20016 || ('j' <= (c) && (c) <= 'r') \
20017 || ('s' <= (c) && (c) <= 'z'))
20018 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20019 #endif
20020
20021 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20022 int
20023 main ()
20024 {
20025 int i;
20026 for (i = 0; i < 256; i++)
20027 if (XOR (islower (i), ISLOWER (i))
20028 || toupper (i) != TOUPPER (i))
20029 return 2;
20030 return 0;
20031 }
20032 _ACEOF
20033 if ac_fn_c_try_run "$LINENO"; then :
20034
20035 else
20036 ac_cv_header_stdc=no
20037 fi
20038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20039 conftest.$ac_objext conftest.beam conftest.$ac_ext
20040 fi
20041
20042 fi
20043 fi
20044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20045 $as_echo "$ac_cv_header_stdc" >&6; }
20046 if test $ac_cv_header_stdc = yes; then
20047
20048 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20049
20050 fi
20051
20052 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20053 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20054 inttypes.h stdint.h unistd.h
20055 do :
20056 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20057 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20058 "
20059 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20060 cat >>confdefs.h <<_ACEOF
20061 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20062 _ACEOF
20063
20064 fi
20065
20066 done
20067
20068
20069 for ac_header in langinfo.h wchar.h
20070 do :
20071 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20072 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20073 "
20074 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20075 cat >>confdefs.h <<_ACEOF
20076 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20077 _ACEOF
20078
20079 fi
20080
20081 done
20082
20083
20084 if test "$ac_cv_header_wchar_h" != "yes"; then
20085 for ac_header in wcstr.h
20086 do :
20087 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20088 "
20089 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20090 cat >>confdefs.h <<_ACEOF
20091 #define HAVE_WCSTR_H 1
20092 _ACEOF
20093
20094 fi
20095
20096 done
20097
20098 fi
20099
20100 case "${host}" in
20101 *-pc-os2_emx | *-pc-os2-emx )
20102 if test $ac_cv_header_langinfo_h = "yes" \
20103 -a \( "$wx_cv_gccversion" = "EMX2" \
20104 -o "$wx_cv_gccversion" = "EMX3" \
20105 -o "$wx_cv_gccversion" = "Innotek5" \); then
20106 LIBS="$LIBS -lintl"
20107 fi
20108 ;;
20109 esac
20110
20111 if test "$USE_UNIX" = 1 ; then
20112 for ac_header in sys/select.h
20113 do :
20114 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20115 "
20116 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20117 cat >>confdefs.h <<_ACEOF
20118 #define HAVE_SYS_SELECT_H 1
20119 _ACEOF
20120
20121 fi
20122
20123 done
20124
20125
20126 ac_ext=cpp
20127 ac_cpp='$CXXCPP $CPPFLAGS'
20128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20131
20132 for ac_header in cxxabi.h
20133 do :
20134 ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default
20135 "
20136 if test "x$ac_cv_header_cxxabi_h" = xyes; then :
20137 cat >>confdefs.h <<_ACEOF
20138 #define HAVE_CXXABI_H 1
20139 _ACEOF
20140
20141 fi
20142
20143 done
20144
20145 ac_ext=c
20146 ac_cpp='$CPP $CPPFLAGS'
20147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20150
20151 fi
20152
20153
20154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20155 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20156 if ${ac_cv_c_const+:} false; then :
20157 $as_echo_n "(cached) " >&6
20158 else
20159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20160 /* end confdefs.h. */
20161
20162 int
20163 main ()
20164 {
20165
20166 #ifndef __cplusplus
20167 /* Ultrix mips cc rejects this sort of thing. */
20168 typedef int charset[2];
20169 const charset cs = { 0, 0 };
20170 /* SunOS 4.1.1 cc rejects this. */
20171 char const *const *pcpcc;
20172 char **ppc;
20173 /* NEC SVR4.0.2 mips cc rejects this. */
20174 struct point {int x, y;};
20175 static struct point const zero = {0,0};
20176 /* AIX XL C 1.02.0.0 rejects this.
20177 It does not let you subtract one const X* pointer from another in
20178 an arm of an if-expression whose if-part is not a constant
20179 expression */
20180 const char *g = "string";
20181 pcpcc = &g + (g ? g-g : 0);
20182 /* HPUX 7.0 cc rejects these. */
20183 ++pcpcc;
20184 ppc = (char**) pcpcc;
20185 pcpcc = (char const *const *) ppc;
20186 { /* SCO 3.2v4 cc rejects this sort of thing. */
20187 char tx;
20188 char *t = &tx;
20189 char const *s = 0 ? (char *) 0 : (char const *) 0;
20190
20191 *t++ = 0;
20192 if (s) return 0;
20193 }
20194 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20195 int x[] = {25, 17};
20196 const int *foo = &x[0];
20197 ++foo;
20198 }
20199 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20200 typedef const int *iptr;
20201 iptr p = 0;
20202 ++p;
20203 }
20204 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20205 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20206 struct s { int j; const int *ap[3]; } bx;
20207 struct s *b = &bx; b->j = 5;
20208 }
20209 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20210 const int foo = 10;
20211 if (!foo) return 0;
20212 }
20213 return !cs[0] && !zero.x;
20214 #endif
20215
20216 ;
20217 return 0;
20218 }
20219 _ACEOF
20220 if ac_fn_c_try_compile "$LINENO"; then :
20221 ac_cv_c_const=yes
20222 else
20223 ac_cv_c_const=no
20224 fi
20225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20226 fi
20227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20228 $as_echo "$ac_cv_c_const" >&6; }
20229 if test $ac_cv_c_const = no; then
20230
20231 $as_echo "#define const /**/" >>confdefs.h
20232
20233 fi
20234
20235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20236 $as_echo_n "checking for inline... " >&6; }
20237 if ${ac_cv_c_inline+:} false; then :
20238 $as_echo_n "(cached) " >&6
20239 else
20240 ac_cv_c_inline=no
20241 for ac_kw in inline __inline__ __inline; do
20242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20243 /* end confdefs.h. */
20244 #ifndef __cplusplus
20245 typedef int foo_t;
20246 static $ac_kw foo_t static_foo () {return 0; }
20247 $ac_kw foo_t foo () {return 0; }
20248 #endif
20249
20250 _ACEOF
20251 if ac_fn_c_try_compile "$LINENO"; then :
20252 ac_cv_c_inline=$ac_kw
20253 fi
20254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20255 test "$ac_cv_c_inline" != no && break
20256 done
20257
20258 fi
20259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20260 $as_echo "$ac_cv_c_inline" >&6; }
20261
20262 case $ac_cv_c_inline in
20263 inline | yes) ;;
20264 *)
20265 case $ac_cv_c_inline in
20266 no) ac_val=;;
20267 *) ac_val=$ac_cv_c_inline;;
20268 esac
20269 cat >>confdefs.h <<_ACEOF
20270 #ifndef __cplusplus
20271 #define inline $ac_val
20272 #endif
20273 _ACEOF
20274 ;;
20275 esac
20276
20277
20278 # The cast to long int works around a bug in the HP C Compiler
20279 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20280 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20281 # This bug is HP SR number 8606223364.
20282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20283 $as_echo_n "checking size of short... " >&6; }
20284 if ${ac_cv_sizeof_short+:} false; then :
20285 $as_echo_n "(cached) " >&6
20286 else
20287 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20288
20289 else
20290 if test "$ac_cv_type_short" = yes; then
20291 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20293 as_fn_error 77 "cannot compute sizeof (short)
20294 See \`config.log' for more details" "$LINENO" 5; }
20295 else
20296 ac_cv_sizeof_short=0
20297 fi
20298 fi
20299
20300 fi
20301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20302 $as_echo "$ac_cv_sizeof_short" >&6; }
20303
20304
20305
20306 cat >>confdefs.h <<_ACEOF
20307 #define SIZEOF_SHORT $ac_cv_sizeof_short
20308 _ACEOF
20309
20310
20311 # The cast to long int works around a bug in the HP C Compiler
20312 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20313 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20314 # This bug is HP SR number 8606223364.
20315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20316 $as_echo_n "checking size of void *... " >&6; }
20317 if ${ac_cv_sizeof_void_p+:} false; then :
20318 $as_echo_n "(cached) " >&6
20319 else
20320 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20321
20322 else
20323 if test "$ac_cv_type_void_p" = yes; then
20324 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20326 as_fn_error 77 "cannot compute sizeof (void *)
20327 See \`config.log' for more details" "$LINENO" 5; }
20328 else
20329 ac_cv_sizeof_void_p=0
20330 fi
20331 fi
20332
20333 fi
20334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20335 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20336
20337
20338
20339 cat >>confdefs.h <<_ACEOF
20340 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20341 _ACEOF
20342
20343
20344 # The cast to long int works around a bug in the HP C Compiler
20345 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20346 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20347 # This bug is HP SR number 8606223364.
20348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20349 $as_echo_n "checking size of int... " >&6; }
20350 if ${ac_cv_sizeof_int+:} false; then :
20351 $as_echo_n "(cached) " >&6
20352 else
20353 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20354
20355 else
20356 if test "$ac_cv_type_int" = yes; then
20357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20359 as_fn_error 77 "cannot compute sizeof (int)
20360 See \`config.log' for more details" "$LINENO" 5; }
20361 else
20362 ac_cv_sizeof_int=0
20363 fi
20364 fi
20365
20366 fi
20367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20368 $as_echo "$ac_cv_sizeof_int" >&6; }
20369
20370
20371
20372 cat >>confdefs.h <<_ACEOF
20373 #define SIZEOF_INT $ac_cv_sizeof_int
20374 _ACEOF
20375
20376
20377 # The cast to long int works around a bug in the HP C Compiler
20378 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20379 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20380 # This bug is HP SR number 8606223364.
20381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20382 $as_echo_n "checking size of long... " >&6; }
20383 if ${ac_cv_sizeof_long+:} false; then :
20384 $as_echo_n "(cached) " >&6
20385 else
20386 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20387
20388 else
20389 if test "$ac_cv_type_long" = yes; then
20390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20392 as_fn_error 77 "cannot compute sizeof (long)
20393 See \`config.log' for more details" "$LINENO" 5; }
20394 else
20395 ac_cv_sizeof_long=0
20396 fi
20397 fi
20398
20399 fi
20400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20401 $as_echo "$ac_cv_sizeof_long" >&6; }
20402
20403
20404
20405 cat >>confdefs.h <<_ACEOF
20406 #define SIZEOF_LONG $ac_cv_sizeof_long
20407 _ACEOF
20408
20409
20410 # The cast to long int works around a bug in the HP C Compiler
20411 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20412 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20413 # This bug is HP SR number 8606223364.
20414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20415 $as_echo_n "checking size of size_t... " >&6; }
20416 if ${ac_cv_sizeof_size_t+:} false; then :
20417 $as_echo_n "(cached) " >&6
20418 else
20419 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20420
20421 else
20422 if test "$ac_cv_type_size_t" = yes; then
20423 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20425 as_fn_error 77 "cannot compute sizeof (size_t)
20426 See \`config.log' for more details" "$LINENO" 5; }
20427 else
20428 ac_cv_sizeof_size_t=0
20429 fi
20430 fi
20431
20432 fi
20433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20434 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20435
20436
20437
20438 cat >>confdefs.h <<_ACEOF
20439 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20440 _ACEOF
20441
20442
20443
20444 case "${host}" in
20445 arm-*-linux* )
20446 # The cast to long int works around a bug in the HP C Compiler
20447 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20448 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20449 # This bug is HP SR number 8606223364.
20450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20451 $as_echo_n "checking size of long long... " >&6; }
20452 if ${ac_cv_sizeof_long_long+:} false; then :
20453 $as_echo_n "(cached) " >&6
20454 else
20455 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20456
20457 else
20458 if test "$ac_cv_type_long_long" = yes; then
20459 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20460 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20461 as_fn_error 77 "cannot compute sizeof (long long)
20462 See \`config.log' for more details" "$LINENO" 5; }
20463 else
20464 ac_cv_sizeof_long_long=0
20465 fi
20466 fi
20467
20468 fi
20469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20470 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20471
20472
20473
20474 cat >>confdefs.h <<_ACEOF
20475 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20476 _ACEOF
20477
20478
20479 ;;
20480 *-hp-hpux* )
20481 # The cast to long int works around a bug in the HP C Compiler
20482 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20483 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20484 # This bug is HP SR number 8606223364.
20485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20486 $as_echo_n "checking size of long long... " >&6; }
20487 if ${ac_cv_sizeof_long_long+:} false; then :
20488 $as_echo_n "(cached) " >&6
20489 else
20490 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20491
20492 else
20493 if test "$ac_cv_type_long_long" = yes; then
20494 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20496 as_fn_error 77 "cannot compute sizeof (long long)
20497 See \`config.log' for more details" "$LINENO" 5; }
20498 else
20499 ac_cv_sizeof_long_long=0
20500 fi
20501 fi
20502
20503 fi
20504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20505 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20506
20507
20508
20509 cat >>confdefs.h <<_ACEOF
20510 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20511 _ACEOF
20512
20513
20514 if test "$ac_cv_sizeof_long_long" != 0; then
20515 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20516 fi
20517 ;;
20518 * )
20519 # The cast to long int works around a bug in the HP C Compiler
20520 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20521 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20522 # This bug is HP SR number 8606223364.
20523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20524 $as_echo_n "checking size of long long... " >&6; }
20525 if ${ac_cv_sizeof_long_long+:} false; then :
20526 $as_echo_n "(cached) " >&6
20527 else
20528 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20529
20530 else
20531 if test "$ac_cv_type_long_long" = yes; then
20532 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20534 as_fn_error 77 "cannot compute sizeof (long long)
20535 See \`config.log' for more details" "$LINENO" 5; }
20536 else
20537 ac_cv_sizeof_long_long=0
20538 fi
20539 fi
20540
20541 fi
20542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20543 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20544
20545
20546
20547 cat >>confdefs.h <<_ACEOF
20548 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20549 _ACEOF
20550
20551
20552 esac
20553
20554 # The cast to long int works around a bug in the HP C Compiler
20555 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20556 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20557 # This bug is HP SR number 8606223364.
20558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20559 $as_echo_n "checking size of wchar_t... " >&6; }
20560 if ${ac_cv_sizeof_wchar_t+:} false; then :
20561 $as_echo_n "(cached) " >&6
20562 else
20563 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20564 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20565 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20566 # error \"fake wchar_t\"
20567 #endif
20568 #ifdef HAVE_WCHAR_H
20569 # ifdef __CYGWIN__
20570 # include <stddef.h>
20571 # endif
20572 # include <wchar.h>
20573 #endif
20574 #ifdef HAVE_STDLIB_H
20575 # include <stdlib.h>
20576 #endif
20577 #include <stdio.h>
20578
20579
20580 "; then :
20581
20582 else
20583 if test "$ac_cv_type_wchar_t" = yes; then
20584 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20586 as_fn_error 77 "cannot compute sizeof (wchar_t)
20587 See \`config.log' for more details" "$LINENO" 5; }
20588 else
20589 ac_cv_sizeof_wchar_t=0
20590 fi
20591 fi
20592
20593 fi
20594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20595 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20596
20597
20598
20599 cat >>confdefs.h <<_ACEOF
20600 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20601 _ACEOF
20602
20603
20604 if test "$ac_cv_sizeof_wchar_t" = 0; then
20605 as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
20606 fi
20607 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20608
20609
20610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20611 $as_echo_n "checking for va_copy... " >&6; }
20612 if ${wx_cv_func_va_copy+:} false; then :
20613 $as_echo_n "(cached) " >&6
20614 else
20615
20616 ac_ext=cpp
20617 ac_cpp='$CXXCPP $CPPFLAGS'
20618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20621
20622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20623 /* end confdefs.h. */
20624
20625
20626 #include <stdarg.h>
20627 void foo(char *f, ...)
20628 {
20629 va_list ap1, ap2;
20630 va_start(ap1, f);
20631 va_copy(ap2, ap1);
20632 va_end(ap2);
20633 va_end(ap1);
20634 }
20635 int main()
20636 {
20637 foo("hi", 17);
20638 return 0;
20639 }
20640
20641 _ACEOF
20642 if ac_fn_cxx_try_link "$LINENO"; then :
20643 wx_cv_func_va_copy=yes
20644 else
20645 wx_cv_func_va_copy=no
20646
20647 fi
20648 rm -f core conftest.err conftest.$ac_objext \
20649 conftest$ac_exeext conftest.$ac_ext
20650 ac_ext=c
20651 ac_cpp='$CPP $CPPFLAGS'
20652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20655
20656
20657
20658 fi
20659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20660 $as_echo "$wx_cv_func_va_copy" >&6; }
20661
20662 if test $wx_cv_func_va_copy = "yes"; then
20663 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20664
20665 else
20666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20667 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20668 if ${wx_cv_type_va_list_lvalue+:} false; then :
20669 $as_echo_n "(cached) " >&6
20670 else
20671
20672 if test "$cross_compiling" = yes; then :
20673 wx_cv_type_va_list_lvalue=yes
20674
20675 else
20676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20677 /* end confdefs.h. */
20678
20679
20680 #include <stdarg.h>
20681 int foo(char *f, ...)
20682 {
20683 va_list ap1, ap2;
20684 va_start(ap1, f);
20685 ap2 = ap1;
20686 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20687 return 1;
20688 va_end(ap2);
20689 va_end(ap1);
20690 return 0;
20691 }
20692 int main()
20693 {
20694 return foo("hi", 17);
20695 }
20696
20697 _ACEOF
20698 if ac_fn_c_try_run "$LINENO"; then :
20699 wx_cv_type_va_list_lvalue=yes
20700 else
20701 wx_cv_type_va_list_lvalue=no
20702 fi
20703 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20704 conftest.$ac_objext conftest.beam conftest.$ac_ext
20705 fi
20706
20707
20708
20709 fi
20710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20711 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20712
20713 if test $wx_cv_type_va_list_lvalue != "yes"; then
20714 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20715
20716 fi
20717 fi
20718
20719 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20720
20721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20722 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20723 if ${wx_cv_have_variadic_macros+:} false; then :
20724 $as_echo_n "(cached) " >&6
20725 else
20726
20727 ac_ext=cpp
20728 ac_cpp='$CXXCPP $CPPFLAGS'
20729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20732
20733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20734 /* end confdefs.h. */
20735
20736
20737 #include <stdio.h>
20738 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20739
20740 int
20741 main ()
20742 {
20743
20744 test("%s %d %p", "test", 1, 0);
20745
20746
20747 ;
20748 return 0;
20749 }
20750 _ACEOF
20751 if ac_fn_cxx_try_compile "$LINENO"; then :
20752 wx_cv_have_variadic_macros=yes
20753 else
20754 wx_cv_have_variadic_macros=no
20755
20756 fi
20757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20758 ac_ext=c
20759 ac_cpp='$CPP $CPPFLAGS'
20760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20763
20764
20765
20766 fi
20767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20768 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20769
20770 if test $wx_cv_have_variadic_macros = "yes"; then
20771 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20772
20773 fi
20774
20775 else
20776 $as_echo "#define wxNO_VARIADIC_MACROS 1" >>confdefs.h
20777
20778 fi
20779
20780 LARGEFILE_CPPFLAGS=
20781 # Check whether --enable-largefile was given.
20782 if test "${enable_largefile+set}" = set; then :
20783 enableval=$enable_largefile;
20784 fi
20785
20786 if test "$enable_largefile" != no; then
20787 wx_largefile=no
20788
20789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20790 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20791 if ${ac_cv_sys_file_offset_bits+:} false; then :
20792 $as_echo_n "(cached) " >&6
20793 else
20794
20795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20796 /* end confdefs.h. */
20797 #define _FILE_OFFSET_BITS 64
20798 #include <sys/types.h>
20799 int
20800 main ()
20801 {
20802 typedef struct {
20803 unsigned int field: sizeof(off_t) == 8;
20804 } wxlf;
20805
20806 ;
20807 return 0;
20808 }
20809 _ACEOF
20810 if ac_fn_c_try_compile "$LINENO"; then :
20811 ac_cv_sys_file_offset_bits=64
20812 else
20813 ac_cv_sys_file_offset_bits=no
20814 fi
20815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20816
20817
20818 fi
20819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20820 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20821
20822 if test "$ac_cv_sys_file_offset_bits" != no; then
20823 wx_largefile=yes
20824 cat >>confdefs.h <<_ACEOF
20825 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20826 _ACEOF
20827
20828 fi
20829
20830 if test "x$wx_largefile" != "xyes"; then
20831
20832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20833 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20834 if ${ac_cv_sys_large_files+:} false; then :
20835 $as_echo_n "(cached) " >&6
20836 else
20837
20838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20839 /* end confdefs.h. */
20840 #define _LARGE_FILES 1
20841 #include <sys/types.h>
20842 int
20843 main ()
20844 {
20845 typedef struct {
20846 unsigned int field: sizeof(off_t) == 8;
20847 } wxlf;
20848
20849 ;
20850 return 0;
20851 }
20852 _ACEOF
20853 if ac_fn_c_try_compile "$LINENO"; then :
20854 ac_cv_sys_large_files=1
20855 else
20856 ac_cv_sys_large_files=no
20857 fi
20858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20859
20860
20861 fi
20862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20863 $as_echo "$ac_cv_sys_large_files" >&6; }
20864
20865 if test "$ac_cv_sys_large_files" != no; then
20866 wx_largefile=yes
20867 cat >>confdefs.h <<_ACEOF
20868 #define _LARGE_FILES $ac_cv_sys_large_files
20869 _ACEOF
20870
20871 fi
20872
20873 fi
20874
20875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20876 $as_echo_n "checking if large file support is available... " >&6; }
20877 if test "x$wx_largefile" = "xyes"; then
20878 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20879
20880 fi
20881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20882 $as_echo "$wx_largefile" >&6; }
20883 fi
20884
20885 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20886 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
20887 elif test "$ac_cv_sys_large_files" = 1; then
20888 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
20889 fi
20890
20891 if test -n "$LARGEFILE_CPPFLAGS"; then
20892 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20893
20894 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20896 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20897 if ${wx_cv_STDC_EXT_required+:} false; then :
20898 $as_echo_n "(cached) " >&6
20899 else
20900
20901 ac_ext=cpp
20902 ac_cpp='$CXXCPP $CPPFLAGS'
20903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20906
20907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20908 /* end confdefs.h. */
20909
20910 int
20911 main ()
20912 {
20913
20914 #ifndef __STDC_EXT__
20915 choke me
20916 #endif
20917
20918 ;
20919 return 0;
20920 }
20921 _ACEOF
20922 if ac_fn_cxx_try_compile "$LINENO"; then :
20923 wx_cv_STDC_EXT_required=no
20924 else
20925 wx_cv_STDC_EXT_required=yes
20926
20927 fi
20928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20929 ac_ext=c
20930 ac_cpp='$CPP $CPPFLAGS'
20931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20934
20935
20936
20937 fi
20938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20939 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20940 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20941 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20942 fi
20943 fi
20944 fi
20945
20946 ac_ext=cpp
20947 ac_cpp='$CXXCPP $CPPFLAGS'
20948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20951
20952 old_CPPFLAGS="$CPPFLAGS"
20953 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20955 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20956 if ${ac_cv_sys_largefile_source+:} false; then :
20957 $as_echo_n "(cached) " >&6
20958 else
20959 while :; do
20960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20961 /* end confdefs.h. */
20962 #include <sys/types.h> /* for off_t */
20963 #include <stdio.h>
20964 int
20965 main ()
20966 {
20967 int (*fp) (FILE *, off_t, int) = fseeko;
20968 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20969 ;
20970 return 0;
20971 }
20972 _ACEOF
20973 if ac_fn_cxx_try_link "$LINENO"; then :
20974 ac_cv_sys_largefile_source=no; break
20975 fi
20976 rm -f core conftest.err conftest.$ac_objext \
20977 conftest$ac_exeext conftest.$ac_ext
20978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20979 /* end confdefs.h. */
20980 #define _LARGEFILE_SOURCE 1
20981 #include <sys/types.h> /* for off_t */
20982 #include <stdio.h>
20983 int
20984 main ()
20985 {
20986 int (*fp) (FILE *, off_t, int) = fseeko;
20987 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20988 ;
20989 return 0;
20990 }
20991 _ACEOF
20992 if ac_fn_cxx_try_link "$LINENO"; then :
20993 ac_cv_sys_largefile_source=1; break
20994 fi
20995 rm -f core conftest.err conftest.$ac_objext \
20996 conftest$ac_exeext conftest.$ac_ext
20997 ac_cv_sys_largefile_source=unknown
20998 break
20999 done
21000 fi
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
21002 $as_echo "$ac_cv_sys_largefile_source" >&6; }
21003 case $ac_cv_sys_largefile_source in #(
21004 no | unknown) ;;
21005 *)
21006 cat >>confdefs.h <<_ACEOF
21007 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21008 _ACEOF
21009 ;;
21010 esac
21011 rm -rf conftest*
21012
21013 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21014 # in glibc 2.1.3, but that breaks too many other things.
21015 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21016 if test $ac_cv_sys_largefile_source != unknown; then
21017
21018 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
21019
21020 fi
21021
21022 CPPFLAGS="$old_CPPFLAGS"
21023 ac_ext=c
21024 ac_cpp='$CPP $CPPFLAGS'
21025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21028
21029 if test "$ac_cv_sys_largefile_source" != no; then
21030 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21031 fi
21032
21033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
21034 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
21035 if ${ac_cv_c_bigendian+:} false; then :
21036 $as_echo_n "(cached) " >&6
21037 else
21038 ac_cv_c_bigendian=unknown
21039 # See if sys/param.h defines the BYTE_ORDER macro.
21040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21041 /* end confdefs.h. */
21042 #include <sys/types.h>
21043 #include <sys/param.h>
21044 int
21045 main ()
21046 {
21047
21048 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21049 bogus endian macros
21050 #endif
21051 ;
21052 return 0;
21053 }
21054 _ACEOF
21055 if ac_fn_c_try_compile "$LINENO"; then :
21056 # It does; now see whether it defined to BIG_ENDIAN or not.
21057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21058 /* end confdefs.h. */
21059 #include <sys/types.h>
21060 #include <sys/param.h>
21061 int
21062 main ()
21063 {
21064
21065 #if BYTE_ORDER != BIG_ENDIAN
21066 not big endian
21067 #endif
21068 ;
21069 return 0;
21070 }
21071 _ACEOF
21072 if ac_fn_c_try_compile "$LINENO"; then :
21073 ac_cv_c_bigendian=yes
21074 else
21075 ac_cv_c_bigendian=no
21076 fi
21077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21078 fi
21079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21080 if test $ac_cv_c_bigendian = unknown; then
21081 if test "$cross_compiling" = yes; then :
21082 ac_cv_c_bigendian=unknown
21083 else
21084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21085 /* end confdefs.h. */
21086 main () {
21087 /* Are we little or big endian? From Harbison&Steele. */
21088 union
21089 {
21090 long l;
21091 char c[sizeof (long)];
21092 } u;
21093 u.l = 1;
21094 exit (u.c[sizeof (long) - 1] == 1);
21095 }
21096 _ACEOF
21097 if ac_fn_c_try_run "$LINENO"; then :
21098 ac_cv_c_bigendian=no
21099 else
21100 ac_cv_c_bigendian=yes
21101 fi
21102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21103 conftest.$ac_objext conftest.beam conftest.$ac_ext
21104 fi
21105
21106 fi
21107 fi
21108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21109 $as_echo "$ac_cv_c_bigendian" >&6; }
21110 if test $ac_cv_c_bigendian = unknown; then
21111 { $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
21112 $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;}
21113 fi
21114 if test $ac_cv_c_bigendian = yes; then
21115 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21116
21117 fi
21118
21119
21120
21121
21122 ac_ext=cpp
21123 ac_cpp='$CXXCPP $CPPFLAGS'
21124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21127
21128
21129 for ac_header in iostream
21130 do :
21131 ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
21132 "
21133 if test "x$ac_cv_header_iostream" = xyes; then :
21134 cat >>confdefs.h <<_ACEOF
21135 #define HAVE_IOSTREAM 1
21136 _ACEOF
21137
21138 fi
21139
21140 done
21141
21142
21143 if test "$ac_cv_header_iostream" = "yes" ; then
21144 :
21145 else
21146 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21147
21148 fi
21149
21150 ac_ext=c
21151 ac_cpp='$CPP $CPPFLAGS'
21152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21155
21156
21157
21158
21159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21160 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21161 if ${wx_cv_explicit+:} false; then :
21162 $as_echo_n "(cached) " >&6
21163 else
21164
21165
21166 ac_ext=cpp
21167 ac_cpp='$CXXCPP $CPPFLAGS'
21168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21171
21172
21173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21174 /* end confdefs.h. */
21175
21176 class Foo { public: explicit Foo(int) {} };
21177
21178 int
21179 main ()
21180 {
21181
21182 return 0;
21183
21184 ;
21185 return 0;
21186 }
21187 _ACEOF
21188 if ac_fn_cxx_try_compile "$LINENO"; then :
21189
21190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21191 /* end confdefs.h. */
21192
21193 class Foo { public: explicit Foo(int) {} };
21194 static void TakeFoo(const Foo& foo) { }
21195
21196 int
21197 main ()
21198 {
21199
21200 TakeFoo(17);
21201 return 0;
21202
21203 ;
21204 return 0;
21205 }
21206 _ACEOF
21207 if ac_fn_cxx_try_compile "$LINENO"; then :
21208 wx_cv_explicit=no
21209 else
21210 wx_cv_explicit=yes
21211
21212 fi
21213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21214
21215 else
21216 wx_cv_explicit=no
21217
21218 fi
21219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21220
21221 ac_ext=c
21222 ac_cpp='$CPP $CPPFLAGS'
21223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21226
21227
21228 fi
21229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21230 $as_echo "$wx_cv_explicit" >&6; }
21231
21232 if test "$wx_cv_explicit" = "yes"; then
21233 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21234
21235 fi
21236
21237
21238 if test "x$SUNCXX" = xyes; then
21239 CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21240 fi
21241
21242 if test "x$SUNCC" = xyes; then
21243 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21244 fi
21245
21246 if test "x$SGICC" = "xyes"; then
21247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21248 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21249 if ${wx_cv_prog_sgicc744+:} false; then :
21250 $as_echo_n "(cached) " >&6
21251 else
21252
21253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21254 /* end confdefs.h. */
21255
21256 int
21257 main ()
21258 {
21259
21260 #if _SGI_COMPILER_VERSION >= 744
21261 chock me: mipsPro is 7.4.4 or later
21262 #endif
21263
21264 ;
21265 return 0;
21266 }
21267 _ACEOF
21268 if ac_fn_c_try_compile "$LINENO"; then :
21269 wx_cv_prog_sgicc744=no
21270 else
21271 wx_cv_prog_sgicc744=yes
21272
21273 fi
21274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21275
21276
21277 fi
21278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21279 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21280
21281 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21282 CFLAGS="-woff 3970 $CFLAGS"
21283 fi
21284 fi
21285 if test "x$SGICXX" = "xyes"; then
21286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21287 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21288 if ${wx_cv_prog_sgicxx744+:} false; then :
21289 $as_echo_n "(cached) " >&6
21290 else
21291
21292 ac_ext=cpp
21293 ac_cpp='$CXXCPP $CPPFLAGS'
21294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21297
21298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21299 /* end confdefs.h. */
21300
21301 int
21302 main ()
21303 {
21304
21305 #if _SGI_COMPILER_VERSION >= 744
21306 chock me: mipsPro is 7.4.4 or later
21307 #endif
21308
21309 ;
21310 return 0;
21311 }
21312 _ACEOF
21313 if ac_fn_cxx_try_compile "$LINENO"; then :
21314 wx_cv_prog_sgicxx744=no
21315 else
21316 wx_cv_prog_sgicxx744=yes
21317
21318 fi
21319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21320 ac_ext=c
21321 ac_cpp='$CPP $CPPFLAGS'
21322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21325
21326
21327
21328 fi
21329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21330 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21331
21332 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21333 CXXFLAGS="-woff 3970 $CXXFLAGS"
21334 fi
21335 fi
21336
21337 if test "x$HPCC" = "xyes"; then
21338 CFLAGS="+W 2011,2450 $CFLAGS"
21339 fi
21340 if test "x$HPCXX" = "xyes"; then
21341 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
21342 fi
21343
21344 if test "x$COMPAQCXX" = "xyes"; then
21345 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21346 fi
21347
21348 ac_ext=cpp
21349 ac_cpp='$CXXCPP $CPPFLAGS'
21350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21353
21354
21355 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21356 if test "$wxUSE_UNICODE" = "yes"; then
21357 std_string="std::wstring"
21358 char_type="wchar_t"
21359 else
21360 std_string="std::string"
21361 char_type="char"
21362 fi
21363
21364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21365 $as_echo_n "checking for $std_string in <string>... " >&6; }
21366 if ${wx_cv_class_stdstring+:} false; then :
21367 $as_echo_n "(cached) " >&6
21368 else
21369
21370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21371 /* end confdefs.h. */
21372 #include <string>
21373 int
21374 main ()
21375 {
21376 $std_string foo;
21377 ;
21378 return 0;
21379 }
21380 _ACEOF
21381 if ac_fn_cxx_try_compile "$LINENO"; then :
21382 wx_cv_class_stdstring=yes
21383 else
21384 wx_cv_class_stdstring=no
21385
21386 fi
21387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21388
21389
21390 fi
21391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21392 $as_echo "$wx_cv_class_stdstring" >&6; }
21393
21394 if test "$wx_cv_class_stdstring" = yes; then
21395 if test "$wxUSE_UNICODE" = "yes"; then
21396 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21397
21398 fi
21399 else
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21401 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21402 if ${wx_cv_class_stdbasicstring+:} false; then :
21403 $as_echo_n "(cached) " >&6
21404 else
21405
21406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21407 /* end confdefs.h. */
21408
21409 #ifdef HAVE_WCHAR_H
21410 # ifdef __CYGWIN__
21411 # include <stddef.h>
21412 # endif
21413 # include <wchar.h>
21414 #endif
21415 #ifdef HAVE_STDLIB_H
21416 # include <stdlib.h>
21417 #endif
21418 #include <stdio.h>
21419 #include <string>
21420
21421 int
21422 main ()
21423 {
21424 std::basic_string<$char_type> foo;
21425 const $char_type* dummy = foo.c_str();
21426 ;
21427 return 0;
21428 }
21429 _ACEOF
21430 if ac_fn_cxx_try_compile "$LINENO"; then :
21431 wx_cv_class_stdbasicstring=yes
21432 else
21433 wx_cv_class_stdbasicstring=no
21434
21435 fi
21436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21437
21438
21439 fi
21440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21441 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21442
21443 if test "$wx_cv_class_stdbasicstring" != yes; then
21444 if test "$wxUSE_STL" = "yes"; then
21445 as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21446 elif test "$wxUSE_STD_STRING" = "yes"; then
21447 as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21448 else
21449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21450 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21451 wxUSE_STD_STRING=no
21452 fi
21453 fi
21454 fi
21455 fi
21456
21457 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21458 ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21459 "
21460 if test "x$ac_cv_type_std__istream" = xyes; then :
21461
21462 cat >>confdefs.h <<_ACEOF
21463 #define HAVE_STD__ISTREAM 1
21464 _ACEOF
21465
21466
21467 else
21468 wxUSE_STD_IOSTREAM=no
21469 fi
21470 ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21471 "
21472 if test "x$ac_cv_type_std__ostream" = xyes; then :
21473
21474 cat >>confdefs.h <<_ACEOF
21475 #define HAVE_STD__OSTREAM 1
21476 _ACEOF
21477
21478
21479 else
21480 wxUSE_STD_IOSTREAM=no
21481 fi
21482
21483
21484 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21485 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21486 as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21487 else
21488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21489 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21490 fi
21491 fi
21492 fi
21493
21494 if test "$wxUSE_STL" = "yes"; then
21495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21496 $as_echo_n "checking for basic STL functionality... " >&6; }
21497 if ${wx_cv_lib_stl+:} false; then :
21498 $as_echo_n "(cached) " >&6
21499 else
21500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21501 /* end confdefs.h. */
21502 #include <string>
21503 #include <functional>
21504 #include <algorithm>
21505 #include <vector>
21506 #include <list>
21507 int
21508 main ()
21509 {
21510 std::vector<int> moo;
21511 std::list<int> foo;
21512 std::vector<int>::iterator it =
21513 std::find_if(moo.begin(), moo.end(),
21514 std::bind2nd(std::less<int>(), 3));
21515 ;
21516 return 0;
21517 }
21518 _ACEOF
21519 if ac_fn_cxx_try_compile "$LINENO"; then :
21520 wx_cv_lib_stl=yes
21521 else
21522 wx_cv_lib_stl=no
21523
21524 fi
21525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21526
21527 fi
21528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21529 $as_echo "$wx_cv_lib_stl" >&6; }
21530
21531 if test "$wx_cv_lib_stl" != yes; then
21532 as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21533 fi
21534
21535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21536 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21537 if ${wx_cv_func_stdstring_compare+:} false; then :
21538 $as_echo_n "(cached) " >&6
21539 else
21540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21541 /* end confdefs.h. */
21542 #include <string>
21543 int
21544 main ()
21545 {
21546 std::string foo, bar;
21547 foo.compare(bar);
21548 foo.compare(1, 1, bar);
21549 foo.compare(1, 1, bar, 1, 1);
21550 foo.compare("");
21551 foo.compare(1, 1, "");
21552 foo.compare(1, 1, "", 2);
21553 ;
21554 return 0;
21555 }
21556 _ACEOF
21557 if ac_fn_cxx_try_compile "$LINENO"; then :
21558 wx_cv_func_stdstring_compare=yes
21559 else
21560 wx_cv_func_stdstring_compare=no
21561
21562 fi
21563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21564
21565 fi
21566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21567 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21568
21569 if test "$wx_cv_func_stdstring_compare" = yes; then
21570 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21571
21572 fi
21573
21574 if test "$wx_cv_class_gnuhashmapset" = yes; then
21575 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21576
21577 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21578
21579 fi
21580
21581 ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21582
21583 "
21584 if test "x$ac_cv_header_unordered_map" = xyes; then :
21585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21586 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21587 if ${wx_cv_class_stdunorderedmapset+:} false; then :
21588 $as_echo_n "(cached) " >&6
21589 else
21590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21591 /* end confdefs.h. */
21592 #include <unordered_map>
21593 #include <unordered_set>
21594 int
21595 main ()
21596 {
21597 std::unordered_map<double*, char*> test1;
21598 std::unordered_set<char*> test2;
21599 ;
21600 return 0;
21601 }
21602 _ACEOF
21603 if ac_fn_cxx_try_compile "$LINENO"; then :
21604 wx_cv_class_stdunorderedmapset=yes
21605 else
21606 wx_cv_class_stdunorderedmapset=no
21607 fi
21608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21609
21610
21611 fi
21612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21613 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21614 fi
21615
21616
21617
21618 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21619 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21620
21621 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21622
21623 else
21624 ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21625
21626 "
21627 if test "x$ac_cv_header_tr1_unordered_map" = xyes; then :
21628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21629 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21630 if ${wx_cv_class_tr1unorderedmapset+:} false; then :
21631 $as_echo_n "(cached) " >&6
21632 else
21633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21634 /* end confdefs.h. */
21635 #include <tr1/unordered_map>
21636 #include <tr1/unordered_set>
21637 int
21638 main ()
21639 {
21640 std::tr1::unordered_map<double*, char*> test1;
21641 std::tr1::unordered_set<char*> test2;
21642 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21643 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21644 #endif
21645 ;
21646 return 0;
21647 }
21648 _ACEOF
21649 if ac_fn_cxx_try_compile "$LINENO"; then :
21650 wx_cv_class_tr1unorderedmapset=yes
21651 else
21652 wx_cv_class_tr1unorderedmapset=no
21653 fi
21654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21655
21656
21657 fi
21658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21659 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21660 fi
21661
21662
21663
21664 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21665 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21666
21667 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21668
21669 else
21670 ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
21671
21672 "
21673 if test "x$ac_cv_header_hash_map" = xyes; then :
21674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21675 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21676 if ${wx_cv_class_stdhashmapset+:} false; then :
21677 $as_echo_n "(cached) " >&6
21678 else
21679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21680 /* end confdefs.h. */
21681 #include <hash_map>
21682 #include <hash_set>
21683 int
21684 main ()
21685 {
21686 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21687 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21688 ;
21689 return 0;
21690 }
21691 _ACEOF
21692 if ac_fn_cxx_try_compile "$LINENO"; then :
21693 wx_cv_class_stdhashmapset=yes
21694 else
21695 wx_cv_class_stdhashmapset=no
21696 fi
21697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21698
21699
21700 fi
21701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21702 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21703 fi
21704
21705
21706
21707 if test "$wx_cv_class_stdhashmapset" = yes; then
21708 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21709
21710 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21711
21712 fi
21713
21714 ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21715
21716 "
21717 if test "x$ac_cv_header_ext_hash_map" = xyes; then :
21718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21719 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21720 if ${wx_cv_class_gnuhashmapset+:} false; then :
21721 $as_echo_n "(cached) " >&6
21722 else
21723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21724 /* end confdefs.h. */
21725 #include <ext/hash_map>
21726 #include <ext/hash_set>
21727 int
21728 main ()
21729 {
21730 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21731 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21732 ;
21733 return 0;
21734 }
21735 _ACEOF
21736 if ac_fn_cxx_try_compile "$LINENO"; then :
21737 wx_cv_class_gnuhashmapset=yes
21738 else
21739 wx_cv_class_gnuhashmapset=no
21740 fi
21741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21742
21743
21744 fi
21745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21746 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21747 fi
21748
21749
21750
21751 fi
21752 fi
21753 fi
21754
21755 ac_ext=cpp
21756 ac_cpp='$CXXCPP $CPPFLAGS'
21757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21761 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21762 if test -z "$CXXCPP"; then
21763 if ${ac_cv_prog_CXXCPP+:} false; then :
21764 $as_echo_n "(cached) " >&6
21765 else
21766 # Double quotes because CXXCPP needs to be expanded
21767 for CXXCPP in "$CXX -E" "/lib/cpp"
21768 do
21769 ac_preproc_ok=false
21770 for ac_cxx_preproc_warn_flag in '' yes
21771 do
21772 # Use a header file that comes with gcc, so configuring glibc
21773 # with a fresh cross-compiler works.
21774 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21775 # <limits.h> exists even on freestanding compilers.
21776 # On the NeXT, cc -E runs the code through the compiler's parser,
21777 # not just through cpp. "Syntax error" is here to catch this case.
21778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21779 /* end confdefs.h. */
21780 #ifdef __STDC__
21781 # include <limits.h>
21782 #else
21783 # include <assert.h>
21784 #endif
21785 Syntax error
21786 _ACEOF
21787 if ac_fn_cxx_try_cpp "$LINENO"; then :
21788
21789 else
21790 # Broken: fails on valid input.
21791 continue
21792 fi
21793 rm -f conftest.err conftest.i conftest.$ac_ext
21794
21795 # OK, works on sane cases. Now check whether nonexistent headers
21796 # can be detected and how.
21797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21798 /* end confdefs.h. */
21799 #include <ac_nonexistent.h>
21800 _ACEOF
21801 if ac_fn_cxx_try_cpp "$LINENO"; then :
21802 # Broken: success on invalid input.
21803 continue
21804 else
21805 # Passes both tests.
21806 ac_preproc_ok=:
21807 break
21808 fi
21809 rm -f conftest.err conftest.i conftest.$ac_ext
21810
21811 done
21812 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21813 rm -f conftest.i conftest.err conftest.$ac_ext
21814 if $ac_preproc_ok; then :
21815 break
21816 fi
21817
21818 done
21819 ac_cv_prog_CXXCPP=$CXXCPP
21820
21821 fi
21822 CXXCPP=$ac_cv_prog_CXXCPP
21823 else
21824 ac_cv_prog_CXXCPP=$CXXCPP
21825 fi
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21827 $as_echo "$CXXCPP" >&6; }
21828 ac_preproc_ok=false
21829 for ac_cxx_preproc_warn_flag in '' yes
21830 do
21831 # Use a header file that comes with gcc, so configuring glibc
21832 # with a fresh cross-compiler works.
21833 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21834 # <limits.h> exists even on freestanding compilers.
21835 # On the NeXT, cc -E runs the code through the compiler's parser,
21836 # not just through cpp. "Syntax error" is here to catch this case.
21837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21838 /* end confdefs.h. */
21839 #ifdef __STDC__
21840 # include <limits.h>
21841 #else
21842 # include <assert.h>
21843 #endif
21844 Syntax error
21845 _ACEOF
21846 if ac_fn_cxx_try_cpp "$LINENO"; then :
21847
21848 else
21849 # Broken: fails on valid input.
21850 continue
21851 fi
21852 rm -f conftest.err conftest.i conftest.$ac_ext
21853
21854 # OK, works on sane cases. Now check whether nonexistent headers
21855 # can be detected and how.
21856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21857 /* end confdefs.h. */
21858 #include <ac_nonexistent.h>
21859 _ACEOF
21860 if ac_fn_cxx_try_cpp "$LINENO"; then :
21861 # Broken: success on invalid input.
21862 continue
21863 else
21864 # Passes both tests.
21865 ac_preproc_ok=:
21866 break
21867 fi
21868 rm -f conftest.err conftest.i conftest.$ac_ext
21869
21870 done
21871 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21872 rm -f conftest.i conftest.err conftest.$ac_ext
21873 if $ac_preproc_ok; then :
21874
21875 else
21876 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21877 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21878 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21879 See \`config.log' for more details" "$LINENO" 5; }
21880 fi
21881
21882 ac_ext=cpp
21883 ac_cpp='$CXXCPP $CPPFLAGS'
21884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21887
21888
21889 for ac_header in type_traits tr1/type_traits
21890 do :
21891 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21892 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21893 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21894 cat >>confdefs.h <<_ACEOF
21895 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21896 _ACEOF
21897 break
21898 fi
21899
21900 done
21901
21902
21903
21904
21905 if test -n "$GCC"; then
21906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21907 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21908 if ${wx_cv_cc_gcc_atomic_builtins+:} false; then :
21909 $as_echo_n "(cached) " >&6
21910 else
21911
21912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21913 /* end confdefs.h. */
21914
21915 int
21916 main ()
21917 {
21918
21919 unsigned int value=0;
21920 /* wxAtomicInc doesn't use return value here */
21921 __sync_fetch_and_add(&value, 2);
21922 __sync_sub_and_fetch(&value, 1);
21923 /* but wxAtomicDec does, so mimic that: */
21924 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21925
21926 ;
21927 return 0;
21928 }
21929 _ACEOF
21930 if ac_fn_cxx_try_link "$LINENO"; then :
21931 wx_cv_cc_gcc_atomic_builtins=yes
21932 else
21933 wx_cv_cc_gcc_atomic_builtins=no
21934 fi
21935 rm -f core conftest.err conftest.$ac_objext \
21936 conftest$ac_exeext conftest.$ac_ext
21937
21938 fi
21939
21940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21941 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21942 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21943 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21944
21945 fi
21946 fi
21947
21948
21949 ac_ext=c
21950 ac_cpp='$CPP $CPPFLAGS'
21951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21954
21955
21956
21957 SEARCH_INCLUDE="\
21958 /usr/local/include \
21959 /usr/local/X11/include \
21960 /usr/local/include/X11 \
21961 /usr/local/X11R7/include \
21962 /usr/local/X11R6/include \
21963 /usr/local/include/X11R7 \
21964 /usr/local/include/X11R6 \
21965 \
21966 /usr/Motif-2.1/include \
21967 /usr/Motif-1.2/include \
21968 /usr/include/Motif1.2 \
21969 \
21970 /usr/dt/include \
21971 /usr/openwin/include \
21972 \
21973 /usr/include/Xm \
21974 \
21975 /usr/X11R7/include \
21976 /usr/X11R6/include \
21977 /usr/X11R6.4/include \
21978 \
21979 /usr/include/X11R7 \
21980 /usr/include/X11R6 \
21981 \
21982 /usr/X11/include \
21983 /usr/include/X11 \
21984 \
21985 /usr/XFree86/include/X11 \
21986 /usr/pkg/include \
21987 \
21988 /usr/local/X1R5/include \
21989 /usr/local/include/X11R5 \
21990 /usr/X11R5/include \
21991 /usr/include/X11R5 \
21992 \
21993 /usr/local/X11R4/include \
21994 /usr/local/include/X11R4 \
21995 /usr/X11R4/include \
21996 /usr/include/X11R4 \
21997 \
21998 /usr/openwin/share/include"
21999
22000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
22001 $as_echo_n "checking for libraries directories... " >&6; }
22002
22003 case "${host}" in
22004 *-*-irix6* )
22005 if ${wx_cv_std_libpath+:} false; then :
22006 $as_echo_n "(cached) " >&6
22007 else
22008
22009 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
22010 for e in a so sl dylib dll.a; do
22011 libc="$d/libc.$e"
22012 if test -f $libc; then
22013 save_LIBS="$LIBS"
22014 LIBS="$libc"
22015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22016 /* end confdefs.h. */
22017
22018 int main() { return 0; }
22019
22020 _ACEOF
22021 if ac_fn_c_try_link "$LINENO"; then :
22022 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
22023 fi
22024 rm -f core conftest.err conftest.$ac_objext \
22025 conftest$ac_exeext conftest.$ac_ext
22026 LIBS="$save_LIBS"
22027 if test "x$wx_cv_std_libpath" != "x"; then
22028 break 2
22029 fi
22030 fi
22031 done
22032 done
22033
22034
22035 fi
22036
22037 ;;
22038
22039 *-*-solaris2* )
22040 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
22041 wx_cv_std_libpath="lib/64"
22042 fi
22043 ;;
22044
22045 *-*-linux* )
22046 if test "$ac_cv_sizeof_void_p" = 8; then
22047 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
22048 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
22049 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
22050 wx_cv_std_libpath="lib64"
22051 fi
22052 else
22053 case "${host}" in
22054 i*86-*-linux* )
22055 if test -d '/usr/lib/i386-linux-gnu'; then
22056 wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
22057 fi
22058 esac
22059 fi
22060
22061 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
22062 wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
22063 fi
22064 ;;
22065 esac
22066
22067 if test -z "$wx_cv_std_libpath"; then
22068 wx_cv_std_libpath="lib"
22069 fi
22070
22071 if test -z "$wx_cv_std_libfullpath"; then
22072 wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
22073 fi
22074
22075
22076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
22077 $as_echo "$wx_cv_std_libfullpath" >&6; }
22078
22079 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
22080
22081 if test "$build" != "$host" -a "$GCC" = yes; then
22082 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
22083 cross_root=`dirname $cross_root`
22084 cross_root=`dirname $cross_root`
22085
22086 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22087 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22088 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
22089
22090 if test -z "$PKG_CONFIG_PATH"; then
22091 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22092 export PKG_CONFIG_PATH
22093 fi
22094
22095 if test -z "$x_includes" -o "$x_includes" = NONE; then
22096
22097 ac_find_includes=
22098 for ac_dir in $SEARCH_INCLUDE /usr/include
22099 do
22100 if test -f "$ac_dir/X11/Intrinsic.h"; then
22101 ac_find_includes=$ac_dir
22102 break
22103 fi
22104 done
22105
22106 x_includes=$ac_find_includes
22107 fi
22108 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
22109
22110 ac_find_libraries=
22111 for ac_dir in $SEARCH_LIB
22112 do
22113 for ac_extension in a so sl dylib dll.a; do
22114 if test -f "$ac_dir/libXt.$ac_extension"; then
22115 ac_find_libraries=$ac_dir
22116 break 2
22117 fi
22118 done
22119 done
22120
22121 x_libraries=$ac_find_libraries
22122 fi
22123 fi
22124 fi
22125
22126
22127 cat >confcache <<\_ACEOF
22128 # This file is a shell script that caches the results of configure
22129 # tests run on this system so they can be shared between configure
22130 # scripts and configure runs, see configure's option --config-cache.
22131 # It is not useful on other systems. If it contains results you don't
22132 # want to keep, you may remove or edit it.
22133 #
22134 # config.status only pays attention to the cache file if you give it
22135 # the --recheck option to rerun configure.
22136 #
22137 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22138 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22139 # following values.
22140
22141 _ACEOF
22142
22143 # The following way of writing the cache mishandles newlines in values,
22144 # but we know of no workaround that is simple, portable, and efficient.
22145 # So, we kill variables containing newlines.
22146 # Ultrix sh set writes to stderr and can't be redirected directly,
22147 # and sets the high bit in the cache file unless we assign to the vars.
22148 (
22149 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22150 eval ac_val=\$$ac_var
22151 case $ac_val in #(
22152 *${as_nl}*)
22153 case $ac_var in #(
22154 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22155 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22156 esac
22157 case $ac_var in #(
22158 _ | IFS | as_nl) ;; #(
22159 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22160 *) { eval $ac_var=; unset $ac_var;} ;;
22161 esac ;;
22162 esac
22163 done
22164
22165 (set) 2>&1 |
22166 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22167 *${as_nl}ac_space=\ *)
22168 # `set' does not quote correctly, so add quotes: double-quote
22169 # substitution turns \\\\ into \\, and sed turns \\ into \.
22170 sed -n \
22171 "s/'/'\\\\''/g;
22172 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22173 ;; #(
22174 *)
22175 # `set' quotes correctly as required by POSIX, so do not add quotes.
22176 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22177 ;;
22178 esac |
22179 sort
22180 ) |
22181 sed '
22182 /^ac_cv_env_/b end
22183 t clear
22184 :clear
22185 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22186 t end
22187 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22188 :end' >>confcache
22189 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22190 if test -w "$cache_file"; then
22191 if test "x$cache_file" != "x/dev/null"; then
22192 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22193 $as_echo "$as_me: updating cache $cache_file" >&6;}
22194 if test ! -f "$cache_file" || test -h "$cache_file"; then
22195 cat confcache >"$cache_file"
22196 else
22197 case $cache_file in #(
22198 */* | ?:*)
22199 mv -f confcache "$cache_file"$$ &&
22200 mv -f "$cache_file"$$ "$cache_file" ;; #(
22201 *)
22202 mv -f confcache "$cache_file" ;;
22203 esac
22204 fi
22205 fi
22206 else
22207 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22208 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22209 fi
22210 fi
22211 rm -f confcache
22212
22213 have_cos=0
22214 have_floor=0
22215 for ac_func in cos
22216 do :
22217 ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
22218 if test "x$ac_cv_func_cos" = xyes; then :
22219 cat >>confdefs.h <<_ACEOF
22220 #define HAVE_COS 1
22221 _ACEOF
22222 have_cos=1
22223 fi
22224 done
22225
22226 for ac_func in floor
22227 do :
22228 ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22229 if test "x$ac_cv_func_floor" = xyes; then :
22230 cat >>confdefs.h <<_ACEOF
22231 #define HAVE_FLOOR 1
22232 _ACEOF
22233 have_floor=1
22234 fi
22235 done
22236
22237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22238 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22239 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22241 $as_echo "yes" >&6; }
22242 else
22243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22244 $as_echo "no" >&6; }
22245 LIBS="$LIBS -lm"
22246 # use different functions to avoid configure caching
22247 have_sin=0
22248 have_ceil=0
22249 for ac_func in sin
22250 do :
22251 ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
22252 if test "x$ac_cv_func_sin" = xyes; then :
22253 cat >>confdefs.h <<_ACEOF
22254 #define HAVE_SIN 1
22255 _ACEOF
22256 have_sin=1
22257 fi
22258 done
22259
22260 for ac_func in ceil
22261 do :
22262 ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22263 if test "x$ac_cv_func_ceil" = xyes; then :
22264 cat >>confdefs.h <<_ACEOF
22265 #define HAVE_CEIL 1
22266 _ACEOF
22267 have_ceil=1
22268 fi
22269 done
22270
22271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22272 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22273 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22275 $as_echo "yes" >&6; }
22276 else
22277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22278 $as_echo "no" >&6; }
22279 # not sure we should warn the user, crash, etc.
22280 fi
22281 fi
22282
22283 ac_ext=cpp
22284 ac_cpp='$CXXCPP $CPPFLAGS'
22285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22288
22289 if test "wxUSE_UNICODE" = "yes"; then
22290
22291 for wx_func in wcstoull
22292 do
22293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22294 $as_echo_n "checking for $wx_func... " >&6; }
22295 if eval \${wx_cv_func_$wx_func+:} false; then :
22296 $as_echo_n "(cached) " >&6
22297 else
22298
22299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22300 /* end confdefs.h. */
22301
22302
22303
22304 $ac_includes_default
22305
22306 int
22307 main ()
22308 {
22309
22310 #ifndef $wx_func
22311 &$wx_func;
22312 #endif
22313
22314
22315 ;
22316 return 0;
22317 }
22318
22319 _ACEOF
22320 if ac_fn_cxx_try_link "$LINENO"; then :
22321 eval wx_cv_func_$wx_func=yes
22322 else
22323 eval wx_cv_func_$wx_func=no
22324 fi
22325 rm -f core conftest.err conftest.$ac_objext \
22326 conftest$ac_exeext conftest.$ac_ext
22327
22328 fi
22329 eval ac_res=\$wx_cv_func_$wx_func
22330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22331 $as_echo "$ac_res" >&6; }
22332
22333 if eval test \$wx_cv_func_$wx_func = yes
22334 then
22335 cat >>confdefs.h <<_ACEOF
22336 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22337 _ACEOF
22338
22339
22340 else
22341 :
22342
22343 fi
22344 done
22345
22346 else
22347
22348 for wx_func in strtoull
22349 do
22350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22351 $as_echo_n "checking for $wx_func... " >&6; }
22352 if eval \${wx_cv_func_$wx_func+:} false; then :
22353 $as_echo_n "(cached) " >&6
22354 else
22355
22356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22357 /* end confdefs.h. */
22358
22359
22360
22361 $ac_includes_default
22362
22363 int
22364 main ()
22365 {
22366
22367 #ifndef $wx_func
22368 &$wx_func;
22369 #endif
22370
22371
22372 ;
22373 return 0;
22374 }
22375
22376 _ACEOF
22377 if ac_fn_cxx_try_link "$LINENO"; then :
22378 eval wx_cv_func_$wx_func=yes
22379 else
22380 eval wx_cv_func_$wx_func=no
22381 fi
22382 rm -f core conftest.err conftest.$ac_objext \
22383 conftest$ac_exeext conftest.$ac_ext
22384
22385 fi
22386 eval ac_res=\$wx_cv_func_$wx_func
22387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22388 $as_echo "$ac_res" >&6; }
22389
22390 if eval test \$wx_cv_func_$wx_func = yes
22391 then
22392 cat >>confdefs.h <<_ACEOF
22393 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22394 _ACEOF
22395
22396
22397 else
22398 :
22399
22400 fi
22401 done
22402
22403 fi
22404 ac_ext=c
22405 ac_cpp='$CPP $CPPFLAGS'
22406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22409
22410
22411
22412
22413 if test "$wxUSE_REGEX" != "no"; then
22414 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22415
22416
22417 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22419 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22420 wxUSE_REGEX=builtin
22421 fi
22422
22423 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22424 ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
22425 "
22426 if test "x$ac_cv_header_regex_h" = xyes; then :
22427 for ac_func in regcomp re_search
22428 do :
22429 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22430 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22431 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22432 cat >>confdefs.h <<_ACEOF
22433 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22434 _ACEOF
22435
22436 fi
22437 done
22438
22439 fi
22440
22441
22442
22443 if test "x$ac_cv_func_regcomp" != "xyes"; then
22444 if test "$wxUSE_REGEX" = "sys" ; then
22445 as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22446 else
22447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22448 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22449 wxUSE_REGEX=builtin
22450 fi
22451 else
22452 wxUSE_REGEX=sys
22453 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22454
22455 fi
22456 fi
22457 fi
22458
22459
22460 ZLIB_LINK=
22461 if test "$wxUSE_ZLIB" != "no" ; then
22462 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22463
22464
22465 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22466 if test "$USE_DARWIN" = 1; then
22467 system_zlib_h_ok="yes"
22468 else
22469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22470 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22471 if ${ac_cv_header_zlib_h+:} false; then :
22472 $as_echo_n "(cached) " >&6
22473 else
22474 if test "$cross_compiling" = yes; then :
22475 unset ac_cv_header_zlib_h
22476
22477 else
22478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22479 /* end confdefs.h. */
22480
22481 #include <zlib.h>
22482 #include <stdio.h>
22483
22484 int main()
22485 {
22486 FILE *f=fopen("conftestval", "w");
22487 if (!f) exit(1);
22488 fprintf(f, "%s",
22489 ZLIB_VERSION[0] == '1' &&
22490 (ZLIB_VERSION[2] > '1' ||
22491 (ZLIB_VERSION[2] == '1' &&
22492 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22493 exit(0);
22494 }
22495
22496 _ACEOF
22497 if ac_fn_c_try_run "$LINENO"; then :
22498 ac_cv_header_zlib_h=`cat conftestval`
22499 else
22500 ac_cv_header_zlib_h=no
22501 fi
22502 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22503 conftest.$ac_objext conftest.beam conftest.$ac_ext
22504 fi
22505
22506
22507 fi
22508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22509 $as_echo "$ac_cv_header_zlib_h" >&6; }
22510 ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22511 "
22512 if test "x$ac_cv_header_zlib_h" = xyes; then :
22513
22514 fi
22515
22516
22517
22518 system_zlib_h_ok=$ac_cv_header_zlib_h
22519 fi
22520
22521 if test "$system_zlib_h_ok" = "yes"; then
22522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22523 $as_echo_n "checking for deflate in -lz... " >&6; }
22524 if ${ac_cv_lib_z_deflate+:} false; then :
22525 $as_echo_n "(cached) " >&6
22526 else
22527 ac_check_lib_save_LIBS=$LIBS
22528 LIBS="-lz $LIBS"
22529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22530 /* end confdefs.h. */
22531
22532 /* Override any GCC internal prototype to avoid an error.
22533 Use char because int might match the return type of a GCC
22534 builtin and then its argument prototype would still apply. */
22535 #ifdef __cplusplus
22536 extern "C"
22537 #endif
22538 char deflate ();
22539 int
22540 main ()
22541 {
22542 return deflate ();
22543 ;
22544 return 0;
22545 }
22546 _ACEOF
22547 if ac_fn_c_try_link "$LINENO"; then :
22548 ac_cv_lib_z_deflate=yes
22549 else
22550 ac_cv_lib_z_deflate=no
22551 fi
22552 rm -f core conftest.err conftest.$ac_objext \
22553 conftest$ac_exeext conftest.$ac_ext
22554 LIBS=$ac_check_lib_save_LIBS
22555 fi
22556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22557 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22558 if test "x$ac_cv_lib_z_deflate" = xyes; then :
22559 ZLIB_LINK=" -lz"
22560 fi
22561
22562 fi
22563
22564 if test "x$ZLIB_LINK" = "x" ; then
22565 if test "$wxUSE_ZLIB" = "sys" ; then
22566 as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22567 else
22568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22569 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22570 wxUSE_ZLIB=builtin
22571 fi
22572 else
22573 wxUSE_ZLIB=sys
22574 fi
22575 fi
22576 fi
22577
22578
22579 PNG_LINK=
22580 if test "$wxUSE_LIBPNG" != "no" ; then
22581 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22582
22583
22584 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22586 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22587 wxUSE_LIBPNG=builtin
22588 fi
22589
22590 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22592 $as_echo_n "checking for png.h > 0.90... " >&6; }
22593 if ${ac_cv_header_png_h+:} false; then :
22594 $as_echo_n "(cached) " >&6
22595 else
22596 if test "$cross_compiling" = yes; then :
22597 unset ac_cv_header_png_h
22598
22599 else
22600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22601 /* end confdefs.h. */
22602
22603 #include <png.h>
22604 #include <stdio.h>
22605
22606 int main()
22607 {
22608 FILE *f=fopen("conftestval", "w");
22609 if (!f) exit(1);
22610 fprintf(f, "%s",
22611 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22612 exit(0);
22613 }
22614
22615 _ACEOF
22616 if ac_fn_c_try_run "$LINENO"; then :
22617 ac_cv_header_png_h=`cat conftestval`
22618 else
22619 ac_cv_header_png_h=no
22620 fi
22621 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22622 conftest.$ac_objext conftest.beam conftest.$ac_ext
22623 fi
22624
22625
22626 fi
22627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22628 $as_echo "$ac_cv_header_png_h" >&6; }
22629 ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
22630 "
22631 if test "x$ac_cv_header_png_h" = xyes; then :
22632
22633 fi
22634
22635
22636
22637 if test "$ac_cv_header_png_h" = "yes"; then
22638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22639 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22640 if ${ac_cv_lib_png_png_sig_cmp+:} false; then :
22641 $as_echo_n "(cached) " >&6
22642 else
22643 ac_check_lib_save_LIBS=$LIBS
22644 LIBS="-lpng -lz -lm $LIBS"
22645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22646 /* end confdefs.h. */
22647
22648 /* Override any GCC internal prototype to avoid an error.
22649 Use char because int might match the return type of a GCC
22650 builtin and then its argument prototype would still apply. */
22651 #ifdef __cplusplus
22652 extern "C"
22653 #endif
22654 char png_sig_cmp ();
22655 int
22656 main ()
22657 {
22658 return png_sig_cmp ();
22659 ;
22660 return 0;
22661 }
22662 _ACEOF
22663 if ac_fn_c_try_link "$LINENO"; then :
22664 ac_cv_lib_png_png_sig_cmp=yes
22665 else
22666 ac_cv_lib_png_png_sig_cmp=no
22667 fi
22668 rm -f core conftest.err conftest.$ac_objext \
22669 conftest$ac_exeext conftest.$ac_ext
22670 LIBS=$ac_check_lib_save_LIBS
22671 fi
22672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22673 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22674 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes; then :
22675 PNG_LINK=" -lpng -lz"
22676 fi
22677
22678 fi
22679
22680 if test "x$PNG_LINK" = "x" ; then
22681 if test "$wxUSE_LIBPNG" = "sys" ; then
22682 as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22683 else
22684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22685 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22686 wxUSE_LIBPNG=builtin
22687 fi
22688 else
22689 wxUSE_LIBPNG=sys
22690 fi
22691 fi
22692 fi
22693
22694
22695 JPEG_LINK=
22696 if test "$wxUSE_LIBJPEG" != "no" ; then
22697 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22698
22699
22700 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22702 $as_echo_n "checking for jpeglib.h... " >&6; }
22703 if ${ac_cv_header_jpeglib_h+:} false; then :
22704 $as_echo_n "(cached) " >&6
22705 else
22706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22707 /* end confdefs.h. */
22708
22709 #undef HAVE_STDLIB_H
22710 #include <stdio.h>
22711 #include <jpeglib.h>
22712
22713 int
22714 main ()
22715 {
22716
22717
22718 ;
22719 return 0;
22720 }
22721 _ACEOF
22722 if ac_fn_c_try_compile "$LINENO"; then :
22723 ac_cv_header_jpeglib_h=yes
22724 else
22725 ac_cv_header_jpeglib_h=no
22726
22727 fi
22728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22729
22730 fi
22731
22732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22733 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22734
22735 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22737 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22738 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false; then :
22739 $as_echo_n "(cached) " >&6
22740 else
22741 ac_check_lib_save_LIBS=$LIBS
22742 LIBS="-ljpeg $LIBS"
22743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22744 /* end confdefs.h. */
22745
22746 /* Override any GCC internal prototype to avoid an error.
22747 Use char because int might match the return type of a GCC
22748 builtin and then its argument prototype would still apply. */
22749 #ifdef __cplusplus
22750 extern "C"
22751 #endif
22752 char jpeg_read_header ();
22753 int
22754 main ()
22755 {
22756 return jpeg_read_header ();
22757 ;
22758 return 0;
22759 }
22760 _ACEOF
22761 if ac_fn_c_try_link "$LINENO"; then :
22762 ac_cv_lib_jpeg_jpeg_read_header=yes
22763 else
22764 ac_cv_lib_jpeg_jpeg_read_header=no
22765 fi
22766 rm -f core conftest.err conftest.$ac_objext \
22767 conftest$ac_exeext conftest.$ac_ext
22768 LIBS=$ac_check_lib_save_LIBS
22769 fi
22770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22771 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22772 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes; then :
22773 JPEG_LINK=" -ljpeg"
22774 fi
22775
22776 fi
22777
22778 if test "x$JPEG_LINK" = "x" ; then
22779 if test "$wxUSE_LIBJPEG" = "sys" ; then
22780 as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22781 else
22782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22783 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22784 wxUSE_LIBJPEG=builtin
22785 fi
22786 else
22787 wxUSE_LIBJPEG=sys
22788
22789 if test "$wxUSE_MSW" = 1; then
22790 ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22791 "
22792 if test "x$ac_cv_type_boolean" = xyes; then :
22793
22794 cat >>confdefs.h <<_ACEOF
22795 #define HAVE_BOOLEAN 1
22796 _ACEOF
22797
22798
22799 # The cast to long int works around a bug in the HP C Compiler
22800 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22801 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22802 # This bug is HP SR number 8606223364.
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22804 $as_echo_n "checking size of boolean... " >&6; }
22805 if ${ac_cv_sizeof_boolean+:} false; then :
22806 $as_echo_n "(cached) " >&6
22807 else
22808 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22809 #undef HAVE_BOOLEAN
22810 #include <stdio.h>
22811 #include <jpeglib.h>
22812
22813 "; then :
22814
22815 else
22816 if test "$ac_cv_type_boolean" = yes; then
22817 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22819 as_fn_error 77 "cannot compute sizeof (boolean)
22820 See \`config.log' for more details" "$LINENO" 5; }
22821 else
22822 ac_cv_sizeof_boolean=0
22823 fi
22824 fi
22825
22826 fi
22827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22828 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22829
22830
22831
22832 cat >>confdefs.h <<_ACEOF
22833 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22834 _ACEOF
22835
22836
22837 cat >>confdefs.h <<_ACEOF
22838 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22839 _ACEOF
22840
22841
22842 fi
22843
22844 fi
22845 fi
22846 fi
22847 fi
22848
22849
22850 TIFF_LINK=
22851 TIFF_PREREQ_LINKS=-lm
22852 if test "$wxUSE_LIBTIFF" != "no" ; then
22853 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22854
22855
22856 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22857 if test "$wxUSE_LIBJPEG" = "sys"; then
22858 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22859 fi
22860 if test "$wxUSE_ZLIB" = "sys"; then
22861 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22862 fi
22863 ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22864
22865 "
22866 if test "x$ac_cv_header_tiffio_h" = xyes; then :
22867
22868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22869 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22870 if ${ac_cv_lib_tiff_TIFFError+:} false; then :
22871 $as_echo_n "(cached) " >&6
22872 else
22873 ac_check_lib_save_LIBS=$LIBS
22874 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22876 /* end confdefs.h. */
22877
22878 /* Override any GCC internal prototype to avoid an error.
22879 Use char because int might match the return type of a GCC
22880 builtin and then its argument prototype would still apply. */
22881 #ifdef __cplusplus
22882 extern "C"
22883 #endif
22884 char TIFFError ();
22885 int
22886 main ()
22887 {
22888 return TIFFError ();
22889 ;
22890 return 0;
22891 }
22892 _ACEOF
22893 if ac_fn_c_try_link "$LINENO"; then :
22894 ac_cv_lib_tiff_TIFFError=yes
22895 else
22896 ac_cv_lib_tiff_TIFFError=no
22897 fi
22898 rm -f core conftest.err conftest.$ac_objext \
22899 conftest$ac_exeext conftest.$ac_ext
22900 LIBS=$ac_check_lib_save_LIBS
22901 fi
22902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22903 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22904 if test "x$ac_cv_lib_tiff_TIFFError" = xyes; then :
22905 TIFF_LINK=" -ltiff"
22906 fi
22907
22908
22909 fi
22910
22911
22912
22913 if test "x$TIFF_LINK" = "x" ; then
22914 if test "$wxUSE_LIBTIFF" = "sys" ; then
22915 as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22916 else
22917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22918 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22919 wxUSE_LIBTIFF=builtin
22920 fi
22921 else
22922 wxUSE_LIBTIFF=sys
22923 fi
22924 fi
22925 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22926 if test "$wxUSE_LIBJPEG" = "no"; then
22927 ac_configure_args="$ac_configure_args --disable-jpeg"
22928 fi
22929
22930 if test "$wxUSE_LIBLZMA" = "yes"; then
22931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
22932 $as_echo_n "checking for lzma_code in -llzma... " >&6; }
22933 if ${ac_cv_lib_lzma_lzma_code+:} false; then :
22934 $as_echo_n "(cached) " >&6
22935 else
22936 ac_check_lib_save_LIBS=$LIBS
22937 LIBS="-llzma $LIBS"
22938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22939 /* end confdefs.h. */
22940
22941 /* Override any GCC internal prototype to avoid an error.
22942 Use char because int might match the return type of a GCC
22943 builtin and then its argument prototype would still apply. */
22944 #ifdef __cplusplus
22945 extern "C"
22946 #endif
22947 char lzma_code ();
22948 int
22949 main ()
22950 {
22951 return lzma_code ();
22952 ;
22953 return 0;
22954 }
22955 _ACEOF
22956 if ac_fn_c_try_link "$LINENO"; then :
22957 ac_cv_lib_lzma_lzma_code=yes
22958 else
22959 ac_cv_lib_lzma_lzma_code=no
22960 fi
22961 rm -f core conftest.err conftest.$ac_objext \
22962 conftest$ac_exeext conftest.$ac_ext
22963 LIBS=$ac_check_lib_save_LIBS
22964 fi
22965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
22966 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
22967 if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then :
22968 LIBS="$LIBS -llzma"
22969 fi
22970
22971 else
22972 ac_configure_args="$ac_configure_args --disable-lzma"
22973 fi
22974
22975 if test "$wxUSE_LIBJBIG" = "yes"; then
22976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jbg_dec_init in -ljbig" >&5
22977 $as_echo_n "checking for jbg_dec_init in -ljbig... " >&6; }
22978 if ${ac_cv_lib_jbig_jbg_dec_init+:} false; then :
22979 $as_echo_n "(cached) " >&6
22980 else
22981 ac_check_lib_save_LIBS=$LIBS
22982 LIBS="-ljbig $LIBS"
22983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22984 /* end confdefs.h. */
22985
22986 /* Override any GCC internal prototype to avoid an error.
22987 Use char because int might match the return type of a GCC
22988 builtin and then its argument prototype would still apply. */
22989 #ifdef __cplusplus
22990 extern "C"
22991 #endif
22992 char jbg_dec_init ();
22993 int
22994 main ()
22995 {
22996 return jbg_dec_init ();
22997 ;
22998 return 0;
22999 }
23000 _ACEOF
23001 if ac_fn_c_try_link "$LINENO"; then :
23002 ac_cv_lib_jbig_jbg_dec_init=yes
23003 else
23004 ac_cv_lib_jbig_jbg_dec_init=no
23005 fi
23006 rm -f core conftest.err conftest.$ac_objext \
23007 conftest$ac_exeext conftest.$ac_ext
23008 LIBS=$ac_check_lib_save_LIBS
23009 fi
23010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jbig_jbg_dec_init" >&5
23011 $as_echo "$ac_cv_lib_jbig_jbg_dec_init" >&6; }
23012 if test "x$ac_cv_lib_jbig_jbg_dec_init" = xyes; then :
23013 LIBS="$LIBS -ljbig"
23014 fi
23015
23016 else
23017 ac_configure_args="$ac_configure_args --disable-jbig"
23018 fi
23019
23020
23021
23022 subdirs="$subdirs src/tiff"
23023
23024 fi
23025 fi
23026
23027
23028 if test "$wxUSE_EXPAT" != "no"; then
23029 wxUSE_XML=yes
23030 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
23031
23032 $as_echo "#define wxUSE_XML 1" >>confdefs.h
23033
23034
23035 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23036 ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
23037 "
23038 if test "x$ac_cv_header_expat_h" = xyes; then :
23039 found_expat_h=1
23040 fi
23041
23042
23043 if test "x$found_expat_h" = "x1"; then
23044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
23045 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
23046 if ${wx_cv_expat_is_not_broken+:} false; then :
23047 $as_echo_n "(cached) " >&6
23048 else
23049
23050 ac_ext=cpp
23051 ac_cpp='$CXXCPP $CPPFLAGS'
23052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23055
23056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23057 /* end confdefs.h. */
23058 #include <expat.h>
23059 int
23060 main ()
23061 {
23062
23063 ;
23064 return 0;
23065 }
23066 _ACEOF
23067 if ac_fn_cxx_try_compile "$LINENO"; then :
23068 wx_cv_expat_is_not_broken=yes
23069 else
23070 wx_cv_expat_is_not_broken=no
23071
23072 fi
23073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23074 ac_ext=c
23075 ac_cpp='$CPP $CPPFLAGS'
23076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23079
23080
23081
23082 fi
23083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
23084 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
23085 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
23087 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
23088 if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then :
23089 $as_echo_n "(cached) " >&6
23090 else
23091 ac_check_lib_save_LIBS=$LIBS
23092 LIBS="-lexpat $LIBS"
23093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23094 /* end confdefs.h. */
23095
23096 /* Override any GCC internal prototype to avoid an error.
23097 Use char because int might match the return type of a GCC
23098 builtin and then its argument prototype would still apply. */
23099 #ifdef __cplusplus
23100 extern "C"
23101 #endif
23102 char XML_ParserCreate ();
23103 int
23104 main ()
23105 {
23106 return XML_ParserCreate ();
23107 ;
23108 return 0;
23109 }
23110 _ACEOF
23111 if ac_fn_c_try_link "$LINENO"; then :
23112 ac_cv_lib_expat_XML_ParserCreate=yes
23113 else
23114 ac_cv_lib_expat_XML_ParserCreate=no
23115 fi
23116 rm -f core conftest.err conftest.$ac_objext \
23117 conftest$ac_exeext conftest.$ac_ext
23118 LIBS=$ac_check_lib_save_LIBS
23119 fi
23120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23121 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
23122 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then :
23123 EXPAT_LINK=" -lexpat"
23124 fi
23125
23126 fi
23127 fi
23128 if test "x$EXPAT_LINK" = "x" ; then
23129 if test "$wxUSE_EXPAT" = "sys" ; then
23130 as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
23131 else
23132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
23133 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23134 wxUSE_EXPAT=builtin
23135 fi
23136 else
23137 wxUSE_EXPAT=sys
23138 fi
23139 fi
23140 if test "$wxUSE_EXPAT" = "builtin" ; then
23141 subdirs="$subdirs src/expat"
23142
23143 fi
23144 fi
23145
23146
23147
23148 if test "$wxUSE_LIBMSPACK" != "no"; then
23149 ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
23150 "
23151 if test "x$ac_cv_header_mspack_h" = xyes; then :
23152 found_mspack_h=1
23153 fi
23154
23155
23156 if test "x$found_mspack_h" = "x1"; then
23157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
23158 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
23159 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false; then :
23160 $as_echo_n "(cached) " >&6
23161 else
23162 ac_check_lib_save_LIBS=$LIBS
23163 LIBS="-lmspack $LIBS"
23164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23165 /* end confdefs.h. */
23166
23167 /* Override any GCC internal prototype to avoid an error.
23168 Use char because int might match the return type of a GCC
23169 builtin and then its argument prototype would still apply. */
23170 #ifdef __cplusplus
23171 extern "C"
23172 #endif
23173 char mspack_create_chm_decompressor ();
23174 int
23175 main ()
23176 {
23177 return mspack_create_chm_decompressor ();
23178 ;
23179 return 0;
23180 }
23181 _ACEOF
23182 if ac_fn_c_try_link "$LINENO"; then :
23183 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
23184 else
23185 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
23186 fi
23187 rm -f core conftest.err conftest.$ac_objext \
23188 conftest$ac_exeext conftest.$ac_ext
23189 LIBS=$ac_check_lib_save_LIBS
23190 fi
23191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23192 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
23193 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes; then :
23194 MSPACK_LINK=" -lmspack"
23195 fi
23196
23197 fi
23198 if test "x$MSPACK_LINK" = "x" ; then
23199 wxUSE_LIBMSPACK=no
23200 fi
23201 fi
23202
23203 if test "$wxUSE_LIBMSPACK" != "no"; then
23204 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23205
23206 fi
23207
23208
23209
23210 TOOLKIT=
23211 TOOLKIT_INCLUDE=
23212 WIDGET_SET=
23213
23214 if test "$USE_WIN32" = 1 ; then
23215 for ac_header in w32api.h
23216 do :
23217 ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23218 "
23219 if test "x$ac_cv_header_w32api_h" = xyes; then :
23220 cat >>confdefs.h <<_ACEOF
23221 #define HAVE_W32API_H 1
23222 _ACEOF
23223
23224 fi
23225
23226 done
23227
23228 ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
23229 "
23230 if test "x$ac_cv_header_windows_h" = xyes; then :
23231
23232 else
23233
23234 as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23235
23236 fi
23237
23238
23239
23240 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23241 case "${host}" in
23242 x86_64-*-mingw32* )
23243 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
23244 ;;
23245 esac
23246 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23247 LIBS="$LIBS -loleacc"
23248 fi
23249
23250 case "${host}" in
23251 *-*-cygwin* )
23252 LIBS="$LIBS -lkernel32 -luser32"
23253 esac
23254
23255 WXCONFIG_RESFLAGS="--define __WIN32__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23256 fi
23257
23258 if test "$wxUSE_GUI" = "yes"; then
23259 USE_GUI=1
23260
23261 GUI_TK_LIBRARY=
23262
23263 WXGTK1=
23264 WXGTK127=
23265 WXGTK2=
23266 WXGTK3=
23267 WXGPE=
23268
23269 if test "$wxUSE_OLD_COCOA" = 1 ; then
23270 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23272 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23273 wxUSE_PRINTING_ARCHITECTURE=no
23274 fi
23275 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23277 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23278 wxUSE_DRAG_AND_DROP=no
23279 fi
23280 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23282 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23283 wxUSE_DRAGIMAGE=no
23284 fi
23285 fi
23286
23287 if test "$wxUSE_MSW" = 1 ; then
23288 TOOLKIT=MSW
23289 GUIDIST=MSW_DIST
23290
23291 case "${host}" in
23292 *-*-mingw32* )
23293 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23294 esac
23295 fi
23296
23297 if test "$wxUSE_GTK" = 1; then
23298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23299 $as_echo_n "checking for GTK+ version... " >&6; }
23300
23301 gtk_version_cached=1
23302 if ${wx_cv_lib_gtk+:} false; then :
23303 $as_echo_n "(cached) " >&6
23304 else
23305
23306 gtk_version_cached=0
23307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23308 $as_echo "" >&6; }
23309
23310 GTK_MODULES=
23311 if test "$wxUSE_THREADS" = "yes"; then
23312 GTK_MODULES=gthread
23313 fi
23314
23315 if test -z "$wxGTK_VERSION"; then
23316 wxGTK_VERSION=any
23317 fi
23318
23319 wx_cv_lib_gtk=
23320 if test "x$wxGTK_VERSION" != "x1"
23321 then
23322 case "${host}" in
23323 *-*-solaris2* )
23324 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23325 enable_gtktest=no
23326 fi
23327 esac
23328
23329 if test "$wxGTK_VERSION" != 3; then
23330 # Check whether --enable-gtktest was given.
23331 if test "${enable_gtktest+set}" = set; then :
23332 enableval=$enable_gtktest;
23333 else
23334 enable_gtktest=yes
23335 fi
23336
23337
23338 pkg_config_args=gtk+-2.0
23339 for module in . $GTK_MODULES
23340 do
23341 case "$module" in
23342 gthread)
23343 pkg_config_args="$pkg_config_args gthread-2.0"
23344 ;;
23345 esac
23346 done
23347
23348 no_gtk=""
23349
23350 # Extract the first word of "pkg-config", so it can be a program name with args.
23351 set dummy pkg-config; ac_word=$2
23352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23353 $as_echo_n "checking for $ac_word... " >&6; }
23354 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23355 $as_echo_n "(cached) " >&6
23356 else
23357 case $PKG_CONFIG in
23358 [\\/]* | ?:[\\/]*)
23359 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23360 ;;
23361 *)
23362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23363 for as_dir in $PATH
23364 do
23365 IFS=$as_save_IFS
23366 test -z "$as_dir" && as_dir=.
23367 for ac_exec_ext in '' $ac_executable_extensions; do
23368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23369 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23371 break 2
23372 fi
23373 done
23374 done
23375 IFS=$as_save_IFS
23376
23377 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23378 ;;
23379 esac
23380 fi
23381 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23382 if test -n "$PKG_CONFIG"; then
23383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23384 $as_echo "$PKG_CONFIG" >&6; }
23385 else
23386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23387 $as_echo "no" >&6; }
23388 fi
23389
23390
23391
23392 if test x$PKG_CONFIG != xno ; then
23393 if pkg-config --atleast-pkgconfig-version 0.7 ; then
23394 :
23395 else
23396 echo "*** pkg-config too old; version 0.7 or better required."
23397 no_gtk=yes
23398 PKG_CONFIG=no
23399 fi
23400 else
23401 no_gtk=yes
23402 fi
23403
23404 min_gtk_version=2.6.0
23405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23406 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23407
23408 if test x$PKG_CONFIG != xno ; then
23409 ## don't try to run the test against uninstalled libtool libs
23410 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23411 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23412 enable_gtktest=no
23413 fi
23414
23415 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23416 :
23417 else
23418 no_gtk=yes
23419 fi
23420 fi
23421
23422 if test x"$no_gtk" = x ; then
23423 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23424 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23425 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23426 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23427 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23428 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23429 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23430 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23431 if test "x$enable_gtktest" = "xyes" ; then
23432 ac_save_CFLAGS="$CFLAGS"
23433 ac_save_LIBS="$LIBS"
23434 CFLAGS="$CFLAGS $GTK_CFLAGS"
23435 LIBS="$GTK_LIBS $LIBS"
23436 rm -f conf.gtktest
23437 if test "$cross_compiling" = yes; then :
23438 echo $ac_n "cross compiling; assumed OK... $ac_c"
23439 else
23440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23441 /* end confdefs.h. */
23442
23443 #include <gtk/gtk.h>
23444 #include <stdio.h>
23445 #include <stdlib.h>
23446
23447 int
23448 main ()
23449 {
23450 int major, minor, micro;
23451 char *tmp_version;
23452
23453 system ("touch conf.gtktest");
23454
23455 /* HP/UX 9 (%@#!) writes to sscanf strings */
23456 tmp_version = g_strdup("$min_gtk_version");
23457 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23458 printf("%s, bad version string\n", "$min_gtk_version");
23459 exit(1);
23460 }
23461
23462 if ((gtk_major_version != $gtk_config_major_version) ||
23463 (gtk_minor_version != $gtk_config_minor_version) ||
23464 (gtk_micro_version != $gtk_config_micro_version))
23465 {
23466 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23467 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23468 gtk_major_version, gtk_minor_version, gtk_micro_version);
23469 printf ("*** was found! If pkg-config was correct, then it is best\n");
23470 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23471 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23472 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23473 printf("*** required on your system.\n");
23474 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23475 printf("*** to point to the correct configuration files\n");
23476 }
23477 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23478 (gtk_minor_version != GTK_MINOR_VERSION) ||
23479 (gtk_micro_version != GTK_MICRO_VERSION))
23480 {
23481 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23482 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23483 printf("*** library (version %d.%d.%d)\n",
23484 gtk_major_version, gtk_minor_version, gtk_micro_version);
23485 }
23486 else
23487 {
23488 if ((gtk_major_version > major) ||
23489 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23490 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23491 {
23492 return 0;
23493 }
23494 else
23495 {
23496 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23497 gtk_major_version, gtk_minor_version, gtk_micro_version);
23498 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23499 major, minor, micro);
23500 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23501 printf("***\n");
23502 printf("*** If you have already installed a sufficiently new version, this error\n");
23503 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23504 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23505 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23506 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23507 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23508 printf("*** so that the correct libraries are found at run-time))\n");
23509 }
23510 }
23511 return 1;
23512 }
23513
23514 _ACEOF
23515 if ac_fn_c_try_run "$LINENO"; then :
23516
23517 else
23518 no_gtk=yes
23519 fi
23520 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23521 conftest.$ac_objext conftest.beam conftest.$ac_ext
23522 fi
23523
23524 CFLAGS="$ac_save_CFLAGS"
23525 LIBS="$ac_save_LIBS"
23526 fi
23527 fi
23528 if test "x$no_gtk" = x ; then
23529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23530 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23531 wx_cv_lib_gtk=2.0
23532 else
23533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23534 $as_echo "no" >&6; }
23535 if test "$PKG_CONFIG" = "no" ; then
23536 echo "*** A new enough version of pkg-config was not found."
23537 echo "*** See http://pkgconfig.sourceforge.net"
23538 else
23539 if test -f conf.gtktest ; then
23540 :
23541 else
23542 echo "*** Could not run GTK+ test program, checking why..."
23543 ac_save_CFLAGS="$CFLAGS"
23544 ac_save_LIBS="$LIBS"
23545 CFLAGS="$CFLAGS $GTK_CFLAGS"
23546 LIBS="$LIBS $GTK_LIBS"
23547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23548 /* end confdefs.h. */
23549
23550 #include <gtk/gtk.h>
23551 #include <stdio.h>
23552
23553 int
23554 main ()
23555 {
23556 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23557 ;
23558 return 0;
23559 }
23560 _ACEOF
23561 if ac_fn_c_try_link "$LINENO"; then :
23562 echo "*** The test program compiled, but did not run. This usually means"
23563 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23564 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23565 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23566 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23567 echo "*** is required on your system"
23568 echo "***"
23569 echo "*** If you have an old version installed, it is best to remove it, although"
23570 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23571 else
23572 echo "*** The test program failed to compile or link. See the file config.log for the"
23573 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23574 fi
23575 rm -f core conftest.err conftest.$ac_objext \
23576 conftest$ac_exeext conftest.$ac_ext
23577 CFLAGS="$ac_save_CFLAGS"
23578 LIBS="$ac_save_LIBS"
23579 fi
23580 fi
23581 GTK_CFLAGS=""
23582 GTK_LIBS=""
23583 :
23584 fi
23585
23586
23587 rm -f conf.gtktest
23588
23589 fi
23590 if test -z "$wx_cv_lib_gtk"; then
23591 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then
23592 # Check whether --enable-gtktest was given.
23593 if test "${enable_gtktest+set}" = set; then :
23594 enableval=$enable_gtktest;
23595 else
23596 enable_gtktest=yes
23597 fi
23598
23599
23600 pkg_gtk_version=gtk+-3.0
23601 pkg_config_args=$pkg_gtk_version
23602 for module in . $GTK_MODULES
23603 do
23604 case "$module" in
23605 gthread)
23606 pkg_gthread_version=gthread-2.0
23607 pkg_config_args="$pkg_config_args $pkg_gthread_version"
23608 ;;
23609 esac
23610 done
23611
23612 no_gtk=""
23613
23614 # Extract the first word of "pkg-config", so it can be a program name with args.
23615 set dummy pkg-config; ac_word=$2
23616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23617 $as_echo_n "checking for $ac_word... " >&6; }
23618 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23619 $as_echo_n "(cached) " >&6
23620 else
23621 case $PKG_CONFIG in
23622 [\\/]* | ?:[\\/]*)
23623 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23624 ;;
23625 *)
23626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23627 for as_dir in $PATH
23628 do
23629 IFS=$as_save_IFS
23630 test -z "$as_dir" && as_dir=.
23631 for ac_exec_ext in '' $ac_executable_extensions; do
23632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23633 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23635 break 2
23636 fi
23637 done
23638 done
23639 IFS=$as_save_IFS
23640
23641 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23642 ;;
23643 esac
23644 fi
23645 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23646 if test -n "$PKG_CONFIG"; then
23647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23648 $as_echo "$PKG_CONFIG" >&6; }
23649 else
23650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23651 $as_echo "no" >&6; }
23652 fi
23653
23654
23655
23656 if test x$PKG_CONFIG != xno ; then
23657 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23658 :
23659 else
23660 echo "*** pkg-config too old; version 0.7 or better required."
23661 no_gtk=yes
23662 PKG_CONFIG=no
23663 fi
23664 else
23665 no_gtk=yes
23666 fi
23667
23668 min_gtk_version=3.0.0
23669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23670 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23671
23672 if test x$PKG_CONFIG != xno ; then
23673 ## don't try to run the test against uninstalled libtool libs
23674 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23675 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23676 enable_gtktest=no
23677 fi
23678 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_gtk_version ; then
23679 :
23680 else
23681 no_gtk=yes
23682 fi
23683 fi
23684
23685 if test x"$no_gtk" = x ; then
23686 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23687 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23688 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23689 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23690 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23691 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23692 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23693 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23694 if test "x$enable_gtktest" = "xyes" ; then
23695 ac_save_CFLAGS="$CFLAGS"
23696 ac_save_LIBS="$LIBS"
23697 CFLAGS="$CFLAGS $GTK_CFLAGS"
23698 LIBS="$GTK_LIBS $LIBS"
23699 rm -f conf.gtktest
23700 if test "$cross_compiling" = yes; then :
23701 echo $ac_n "cross compiling; assumed OK... $ac_c"
23702 else
23703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23704 /* end confdefs.h. */
23705
23706 #include <gtk/gtk.h>
23707 #include <stdio.h>
23708 #include <stdlib.h>
23709
23710 int
23711 main ()
23712 {
23713 int major, minor, micro;
23714 char *tmp_version;
23715
23716 fclose (fopen ("conf.gtktest", "w"));
23717
23718 /* HP/UX 9 (%@#!) writes to sscanf strings */
23719 tmp_version = g_strdup("$min_gtk_version");
23720 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23721 printf("%s, bad version string\n", "$min_gtk_version");
23722 exit(1);
23723 }
23724
23725 if ((gtk_major_version != $gtk_config_major_version) ||
23726 (gtk_minor_version != $gtk_config_minor_version) ||
23727 (gtk_micro_version != $gtk_config_micro_version))
23728 {
23729 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23730 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23731 gtk_major_version, gtk_minor_version, gtk_micro_version);
23732 printf ("*** was found! If pkg-config was correct, then it is best\n");
23733 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23734 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23735 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23736 printf("*** required on your system.\n");
23737 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23738 printf("*** to point to the correct configuration files\n");
23739 }
23740 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23741 (gtk_minor_version != GTK_MINOR_VERSION) ||
23742 (gtk_micro_version != GTK_MICRO_VERSION))
23743 {
23744 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23745 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23746 printf("*** library (version %d.%d.%d)\n",
23747 gtk_major_version, gtk_minor_version, gtk_micro_version);
23748 }
23749 else
23750 {
23751 if ((gtk_major_version > major) ||
23752 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23753 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23754 {
23755 return 0;
23756 }
23757 else
23758 {
23759 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23760 gtk_major_version, gtk_minor_version, gtk_micro_version);
23761 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23762 major, minor, micro);
23763 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23764 printf("***\n");
23765 printf("*** If you have already installed a sufficiently new version, this error\n");
23766 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23767 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23768 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23769 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23770 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23771 printf("*** so that the correct libraries are found at run-time))\n");
23772 }
23773 }
23774 return 1;
23775 }
23776
23777 _ACEOF
23778 if ac_fn_c_try_run "$LINENO"; then :
23779
23780 else
23781 no_gtk=yes
23782 fi
23783 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23784 conftest.$ac_objext conftest.beam conftest.$ac_ext
23785 fi
23786
23787 CFLAGS="$ac_save_CFLAGS"
23788 LIBS="$ac_save_LIBS"
23789 fi
23790 fi
23791 if test "x$no_gtk" = x ; then
23792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23793 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23794 wx_cv_lib_gtk=3
23795 else
23796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23797 $as_echo "no" >&6; }
23798 if test "$PKG_CONFIG" = "no" ; then
23799 echo "*** A new enough version of pkg-config was not found."
23800 echo "*** See http://pkgconfig.sourceforge.net"
23801 else
23802 if test -f conf.gtktest ; then
23803 :
23804 else
23805 echo "*** Could not run GTK+ test program, checking why..."
23806 ac_save_CFLAGS="$CFLAGS"
23807 ac_save_LIBS="$LIBS"
23808 CFLAGS="$CFLAGS $GTK_CFLAGS"
23809 LIBS="$LIBS $GTK_LIBS"
23810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23811 /* end confdefs.h. */
23812
23813 #include <gtk/gtk.h>
23814 #include <stdio.h>
23815
23816 int
23817 main ()
23818 {
23819 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23820 ;
23821 return 0;
23822 }
23823 _ACEOF
23824 if ac_fn_c_try_link "$LINENO"; then :
23825 echo "*** The test program compiled, but did not run. This usually means"
23826 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23827 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23828 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23829 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23830 echo "*** is required on your system"
23831 echo "***"
23832 echo "*** If you have an old version installed, it is best to remove it, although"
23833 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23834 else
23835 echo "*** The test program failed to compile or link. See the file config.log for the"
23836 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23837 fi
23838 rm -f core conftest.err conftest.$ac_objext \
23839 conftest$ac_exeext conftest.$ac_ext
23840 CFLAGS="$ac_save_CFLAGS"
23841 LIBS="$ac_save_LIBS"
23842 fi
23843 fi
23844 GTK_CFLAGS=""
23845 GTK_LIBS=""
23846 :
23847 fi
23848
23849
23850 rm -f conf.gtktest
23851
23852 fi
23853 fi
23854 fi
23855
23856 if test -z "$wx_cv_lib_gtk"; then
23857 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23858
23859 # Check whether --with-gtk-prefix was given.
23860 if test "${with_gtk_prefix+set}" = set; then :
23861 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23862 else
23863 gtk_config_prefix=""
23864 fi
23865
23866
23867 # Check whether --with-gtk-exec-prefix was given.
23868 if test "${with_gtk_exec_prefix+set}" = set; then :
23869 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23870 else
23871 gtk_config_exec_prefix=""
23872 fi
23873
23874 # Check whether --enable-gtktest was given.
23875 if test "${enable_gtktest+set}" = set; then :
23876 enableval=$enable_gtktest;
23877 else
23878 enable_gtktest=yes
23879 fi
23880
23881
23882 for module in . $GTK_MODULES
23883 do
23884 case "$module" in
23885 gthread)
23886 gtk_config_args="$gtk_config_args gthread"
23887 ;;
23888 esac
23889 done
23890
23891 if test x$gtk_config_exec_prefix != x ; then
23892 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23893 if test x${GTK_CONFIG+set} != xset ; then
23894 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23895 fi
23896 fi
23897 if test x$gtk_config_prefix != x ; then
23898 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23899 if test x${GTK_CONFIG+set} != xset ; then
23900 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23901 fi
23902 fi
23903
23904 # Extract the first word of "gtk-config", so it can be a program name with args.
23905 set dummy gtk-config; ac_word=$2
23906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23907 $as_echo_n "checking for $ac_word... " >&6; }
23908 if ${ac_cv_path_GTK_CONFIG+:} false; then :
23909 $as_echo_n "(cached) " >&6
23910 else
23911 case $GTK_CONFIG in
23912 [\\/]* | ?:[\\/]*)
23913 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23914 ;;
23915 *)
23916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23917 for as_dir in $PATH
23918 do
23919 IFS=$as_save_IFS
23920 test -z "$as_dir" && as_dir=.
23921 for ac_exec_ext in '' $ac_executable_extensions; do
23922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23923 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23925 break 2
23926 fi
23927 done
23928 done
23929 IFS=$as_save_IFS
23930
23931 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23932 ;;
23933 esac
23934 fi
23935 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23936 if test -n "$GTK_CONFIG"; then
23937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23938 $as_echo "$GTK_CONFIG" >&6; }
23939 else
23940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23941 $as_echo "no" >&6; }
23942 fi
23943
23944
23945 min_gtk_version=1.2.7
23946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23947 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23948 no_gtk=""
23949 if test "$GTK_CONFIG" = "no" ; then
23950 no_gtk=yes
23951 else
23952 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23953 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23954 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23955 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23956 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23957 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23958 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23959 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23960 if test "x$enable_gtktest" = "xyes" ; then
23961 ac_save_CFLAGS="$CFLAGS"
23962 ac_save_LIBS="$LIBS"
23963 CFLAGS="$CFLAGS $GTK_CFLAGS"
23964 LIBS="$GTK_LIBS $LIBS"
23965 rm -f conf.gtktest
23966 if test "$cross_compiling" = yes; then :
23967 echo $ac_n "cross compiling; assumed OK... $ac_c"
23968 else
23969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23970 /* end confdefs.h. */
23971
23972 #include <gtk/gtk.h>
23973 #include <stdio.h>
23974 #include <stdlib.h>
23975
23976 int
23977 main ()
23978 {
23979 int major, minor, micro;
23980 char *tmp_version;
23981
23982 system ("touch conf.gtktest");
23983
23984 /* HP/UX 9 (%@#!) writes to sscanf strings */
23985 tmp_version = g_strdup("$min_gtk_version");
23986 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23987 printf("%s, bad version string\n", "$min_gtk_version");
23988 exit(1);
23989 }
23990
23991 if ((gtk_major_version != $gtk_config_major_version) ||
23992 (gtk_minor_version != $gtk_config_minor_version) ||
23993 (gtk_micro_version != $gtk_config_micro_version))
23994 {
23995 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23996 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23997 gtk_major_version, gtk_minor_version, gtk_micro_version);
23998 printf ("*** was found! If gtk-config was correct, then it is best\n");
23999 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24000 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24001 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24002 printf("*** required on your system.\n");
24003 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24004 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24005 printf("*** before re-running configure\n");
24006 }
24007 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24008 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24009 (gtk_minor_version != GTK_MINOR_VERSION) ||
24010 (gtk_micro_version != GTK_MICRO_VERSION))
24011 {
24012 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24013 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24014 printf("*** library (version %d.%d.%d)\n",
24015 gtk_major_version, gtk_minor_version, gtk_micro_version);
24016 }
24017 #endif /* defined (GTK_MAJOR_VERSION) ... */
24018 else
24019 {
24020 if ((gtk_major_version > major) ||
24021 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24022 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24023 {
24024 return 0;
24025 }
24026 else
24027 {
24028 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24029 gtk_major_version, gtk_minor_version, gtk_micro_version);
24030 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24031 major, minor, micro);
24032 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24033 printf("***\n");
24034 printf("*** If you have already installed a sufficiently new version, this error\n");
24035 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24036 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24037 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24038 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24039 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24040 printf("*** so that the correct libraries are found at run-time))\n");
24041 }
24042 }
24043 return 1;
24044 }
24045
24046 _ACEOF
24047 if ac_fn_c_try_run "$LINENO"; then :
24048
24049 else
24050 no_gtk=yes
24051 fi
24052 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24053 conftest.$ac_objext conftest.beam conftest.$ac_ext
24054 fi
24055
24056 CFLAGS="$ac_save_CFLAGS"
24057 LIBS="$ac_save_LIBS"
24058 fi
24059 fi
24060 if test "x$no_gtk" = x ; then
24061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24062 $as_echo "yes" >&6; }
24063 wx_cv_lib_gtk=1.2.7
24064 else
24065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24066 $as_echo "no" >&6; }
24067 if test "$GTK_CONFIG" = "no" ; then
24068 echo "*** The gtk-config script installed by GTK could not be found"
24069 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24070 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24071 echo "*** full path to gtk-config."
24072 else
24073 if test -f conf.gtktest ; then
24074 :
24075 else
24076 echo "*** Could not run GTK test program, checking why..."
24077 CFLAGS="$CFLAGS $GTK_CFLAGS"
24078 LIBS="$LIBS $GTK_LIBS"
24079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24080 /* end confdefs.h. */
24081
24082 #include <gtk/gtk.h>
24083 #include <stdio.h>
24084
24085 int
24086 main ()
24087 {
24088 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24089 ;
24090 return 0;
24091 }
24092 _ACEOF
24093 if ac_fn_c_try_link "$LINENO"; then :
24094 echo "*** The test program compiled, but did not run. This usually means"
24095 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24096 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24097 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24098 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24099 echo "*** is required on your system"
24100 echo "***"
24101 echo "*** If you have an old version installed, it is best to remove it, although"
24102 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24103 echo "***"
24104 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24105 echo "*** came with the system with the command"
24106 echo "***"
24107 echo "*** rpm --erase --nodeps gtk gtk-devel"
24108 else
24109 echo "*** The test program failed to compile or link. See the file config.log for the"
24110 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24111 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24112 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24113 fi
24114 rm -f core conftest.err conftest.$ac_objext \
24115 conftest$ac_exeext conftest.$ac_ext
24116 CFLAGS="$ac_save_CFLAGS"
24117 LIBS="$ac_save_LIBS"
24118 fi
24119 fi
24120 GTK_CFLAGS=""
24121 GTK_LIBS=""
24122 :
24123 fi
24124
24125
24126 rm -f conf.gtktest
24127
24128
24129 if test -z "$wx_cv_lib_gtk"; then
24130
24131 # Check whether --with-gtk-prefix was given.
24132 if test "${with_gtk_prefix+set}" = set; then :
24133 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
24134 else
24135 gtk_config_prefix=""
24136 fi
24137
24138
24139 # Check whether --with-gtk-exec-prefix was given.
24140 if test "${with_gtk_exec_prefix+set}" = set; then :
24141 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
24142 else
24143 gtk_config_exec_prefix=""
24144 fi
24145
24146 # Check whether --enable-gtktest was given.
24147 if test "${enable_gtktest+set}" = set; then :
24148 enableval=$enable_gtktest;
24149 else
24150 enable_gtktest=yes
24151 fi
24152
24153
24154 for module in . $GTK_MODULES
24155 do
24156 case "$module" in
24157 gthread)
24158 gtk_config_args="$gtk_config_args gthread"
24159 ;;
24160 esac
24161 done
24162
24163 if test x$gtk_config_exec_prefix != x ; then
24164 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24165 if test x${GTK_CONFIG+set} != xset ; then
24166 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24167 fi
24168 fi
24169 if test x$gtk_config_prefix != x ; then
24170 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24171 if test x${GTK_CONFIG+set} != xset ; then
24172 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24173 fi
24174 fi
24175
24176 # Extract the first word of "gtk-config", so it can be a program name with args.
24177 set dummy gtk-config; ac_word=$2
24178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24179 $as_echo_n "checking for $ac_word... " >&6; }
24180 if ${ac_cv_path_GTK_CONFIG+:} false; then :
24181 $as_echo_n "(cached) " >&6
24182 else
24183 case $GTK_CONFIG in
24184 [\\/]* | ?:[\\/]*)
24185 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24186 ;;
24187 *)
24188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24189 for as_dir in $PATH
24190 do
24191 IFS=$as_save_IFS
24192 test -z "$as_dir" && as_dir=.
24193 for ac_exec_ext in '' $ac_executable_extensions; do
24194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24195 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24197 break 2
24198 fi
24199 done
24200 done
24201 IFS=$as_save_IFS
24202
24203 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24204 ;;
24205 esac
24206 fi
24207 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24208 if test -n "$GTK_CONFIG"; then
24209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24210 $as_echo "$GTK_CONFIG" >&6; }
24211 else
24212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24213 $as_echo "no" >&6; }
24214 fi
24215
24216
24217 min_gtk_version=1.2.3
24218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24219 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24220 no_gtk=""
24221 if test "$GTK_CONFIG" = "no" ; then
24222 no_gtk=yes
24223 else
24224 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24225 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24226 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24227 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24228 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24229 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24230 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24231 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24232 if test "x$enable_gtktest" = "xyes" ; then
24233 ac_save_CFLAGS="$CFLAGS"
24234 ac_save_LIBS="$LIBS"
24235 CFLAGS="$CFLAGS $GTK_CFLAGS"
24236 LIBS="$GTK_LIBS $LIBS"
24237 rm -f conf.gtktest
24238 if test "$cross_compiling" = yes; then :
24239 echo $ac_n "cross compiling; assumed OK... $ac_c"
24240 else
24241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24242 /* end confdefs.h. */
24243
24244 #include <gtk/gtk.h>
24245 #include <stdio.h>
24246 #include <stdlib.h>
24247
24248 int
24249 main ()
24250 {
24251 int major, minor, micro;
24252 char *tmp_version;
24253
24254 system ("touch conf.gtktest");
24255
24256 /* HP/UX 9 (%@#!) writes to sscanf strings */
24257 tmp_version = g_strdup("$min_gtk_version");
24258 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24259 printf("%s, bad version string\n", "$min_gtk_version");
24260 exit(1);
24261 }
24262
24263 if ((gtk_major_version != $gtk_config_major_version) ||
24264 (gtk_minor_version != $gtk_config_minor_version) ||
24265 (gtk_micro_version != $gtk_config_micro_version))
24266 {
24267 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24268 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24269 gtk_major_version, gtk_minor_version, gtk_micro_version);
24270 printf ("*** was found! If gtk-config was correct, then it is best\n");
24271 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24272 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24273 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24274 printf("*** required on your system.\n");
24275 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24276 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24277 printf("*** before re-running configure\n");
24278 }
24279 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24280 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24281 (gtk_minor_version != GTK_MINOR_VERSION) ||
24282 (gtk_micro_version != GTK_MICRO_VERSION))
24283 {
24284 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24285 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24286 printf("*** library (version %d.%d.%d)\n",
24287 gtk_major_version, gtk_minor_version, gtk_micro_version);
24288 }
24289 #endif /* defined (GTK_MAJOR_VERSION) ... */
24290 else
24291 {
24292 if ((gtk_major_version > major) ||
24293 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24294 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24295 {
24296 return 0;
24297 }
24298 else
24299 {
24300 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24301 gtk_major_version, gtk_minor_version, gtk_micro_version);
24302 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24303 major, minor, micro);
24304 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24305 printf("***\n");
24306 printf("*** If you have already installed a sufficiently new version, this error\n");
24307 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24308 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24309 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24310 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24311 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24312 printf("*** so that the correct libraries are found at run-time))\n");
24313 }
24314 }
24315 return 1;
24316 }
24317
24318 _ACEOF
24319 if ac_fn_c_try_run "$LINENO"; then :
24320
24321 else
24322 no_gtk=yes
24323 fi
24324 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24325 conftest.$ac_objext conftest.beam conftest.$ac_ext
24326 fi
24327
24328 CFLAGS="$ac_save_CFLAGS"
24329 LIBS="$ac_save_LIBS"
24330 fi
24331 fi
24332 if test "x$no_gtk" = x ; then
24333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24334 $as_echo "yes" >&6; }
24335 wx_cv_lib_gtk=1.2.3
24336 else
24337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24338 $as_echo "no" >&6; }
24339 if test "$GTK_CONFIG" = "no" ; then
24340 echo "*** The gtk-config script installed by GTK could not be found"
24341 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24342 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24343 echo "*** full path to gtk-config."
24344 else
24345 if test -f conf.gtktest ; then
24346 :
24347 else
24348 echo "*** Could not run GTK test program, checking why..."
24349 CFLAGS="$CFLAGS $GTK_CFLAGS"
24350 LIBS="$LIBS $GTK_LIBS"
24351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24352 /* end confdefs.h. */
24353
24354 #include <gtk/gtk.h>
24355 #include <stdio.h>
24356
24357 int
24358 main ()
24359 {
24360 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24361 ;
24362 return 0;
24363 }
24364 _ACEOF
24365 if ac_fn_c_try_link "$LINENO"; then :
24366 echo "*** The test program compiled, but did not run. This usually means"
24367 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24368 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24369 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24370 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24371 echo "*** is required on your system"
24372 echo "***"
24373 echo "*** If you have an old version installed, it is best to remove it, although"
24374 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24375 echo "***"
24376 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24377 echo "*** came with the system with the command"
24378 echo "***"
24379 echo "*** rpm --erase --nodeps gtk gtk-devel"
24380 else
24381 echo "*** The test program failed to compile or link. See the file config.log for the"
24382 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24383 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24384 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24385 fi
24386 rm -f core conftest.err conftest.$ac_objext \
24387 conftest$ac_exeext conftest.$ac_ext
24388 CFLAGS="$ac_save_CFLAGS"
24389 LIBS="$ac_save_LIBS"
24390 fi
24391 fi
24392 GTK_CFLAGS=""
24393 GTK_LIBS=""
24394 :
24395 fi
24396
24397
24398 rm -f conf.gtktest
24399
24400 fi
24401 fi
24402 fi
24403
24404 if test -z "$wx_cv_lib_gtk"; then
24405 wx_cv_lib_gtk=none
24406 else
24407 GTK_LIBS="$GTK_LIBS -lX11"
24408
24409 wx_cv_cflags_gtk=$GTK_CFLAGS
24410 wx_cv_libs_gtk=$GTK_LIBS
24411 fi
24412
24413
24414 fi
24415
24416
24417 if test "$gtk_version_cached" = 1; then
24418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24419 $as_echo "$wx_cv_lib_gtk" >&6; }
24420 fi
24421
24422 case "$wx_cv_lib_gtk" in
24423 3) WXGTK3=1
24424 TOOLKIT_VERSION=3
24425 ;;
24426 2.0) WXGTK2=1
24427 TOOLKIT_VERSION=2
24428 ;;
24429 1.2.7) WXGTK127=1
24430 WXGTK1=1
24431 ;;
24432 1.2*) WXGTK1=1 ;;
24433 *) as_fn_error $? "
24434 The development files for GTK+ were not found. For GTK+ 2, please
24435 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24436 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24437 and that the version is 1.2.3 or above. Also check that the
24438 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24439 --libs' are in the LD_LIBRARY_PATH or equivalent.
24440 " "$LINENO" 5
24441 ;;
24442 esac
24443
24444 if test "$WXGTK3" = 1; then
24445 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24446
24447 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24448
24449 elif test "$WXGTK2" = 1; then
24450 save_CFLAGS="$CFLAGS"
24451 save_LIBS="$LIBS"
24452 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
24453 LIBS="$LIBS $wx_cv_libs_gtk"
24454
24455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24456 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24458 /* end confdefs.h. */
24459
24460 #include <gtk/gtk.h>
24461
24462 int
24463 main ()
24464 {
24465
24466 #if !GTK_CHECK_VERSION(2,18,0)
24467 Not GTK+ 2.18
24468 #endif
24469
24470 ;
24471 return 0;
24472 }
24473 _ACEOF
24474 if ac_fn_c_try_compile "$LINENO"; then :
24475
24476 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24477
24478 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24479
24480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24481 $as_echo "yes" >&6; }
24482 ac_wxgtk218=1
24483
24484 else
24485
24486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24487 $as_echo "no" >&6; }
24488 ac_wxgtk218=0
24489
24490 fi
24491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24492
24493 if test "$ac_wxgtk218" = 0; then
24494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24495 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24497 /* end confdefs.h. */
24498
24499 #include <gtk/gtk.h>
24500
24501 int
24502 main ()
24503 {
24504
24505 #if !GTK_CHECK_VERSION(2,10,0)
24506 Not GTK+ 2.10
24507 #endif
24508
24509 ;
24510 return 0;
24511 }
24512 _ACEOF
24513 if ac_fn_c_try_compile "$LINENO"; then :
24514
24515 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24516
24517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24518 $as_echo "yes" >&6; }
24519 ac_wxgtk210=1
24520
24521 else
24522
24523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24524 $as_echo "no" >&6; }
24525 ac_wxgtk210=0
24526
24527 fi
24528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24529 fi
24530
24531 CFLAGS="$save_CFLAGS"
24532 LIBS="$save_LIBS"
24533 else
24534 if test "$wxUSE_UNICODE" = "yes"; then
24535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24536 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24537 wxUSE_UNICODE=no
24538 fi
24539
24540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24541 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24542 if ${ac_cv_lib_gdk_gdk_im_open+:} false; then :
24543 $as_echo_n "(cached) " >&6
24544 else
24545 ac_check_lib_save_LIBS=$LIBS
24546 LIBS="-lgdk $LIBS"
24547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24548 /* end confdefs.h. */
24549
24550 /* Override any GCC internal prototype to avoid an error.
24551 Use char because int might match the return type of a GCC
24552 builtin and then its argument prototype would still apply. */
24553 #ifdef __cplusplus
24554 extern "C"
24555 #endif
24556 char gdk_im_open ();
24557 int
24558 main ()
24559 {
24560 return gdk_im_open ();
24561 ;
24562 return 0;
24563 }
24564 _ACEOF
24565 if ac_fn_c_try_link "$LINENO"; then :
24566 ac_cv_lib_gdk_gdk_im_open=yes
24567 else
24568 ac_cv_lib_gdk_gdk_im_open=no
24569 fi
24570 rm -f core conftest.err conftest.$ac_objext \
24571 conftest$ac_exeext conftest.$ac_ext
24572 LIBS=$ac_check_lib_save_LIBS
24573 fi
24574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24575 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24576 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes; then :
24577 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24578
24579 fi
24580
24581
24582 if test "$USE_DARWIN" != 1; then
24583 for ac_func in poll
24584 do :
24585 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
24586 if test "x$ac_cv_func_poll" = xyes; then :
24587 cat >>confdefs.h <<_ACEOF
24588 #define HAVE_POLL 1
24589 _ACEOF
24590
24591 fi
24592 done
24593
24594 fi
24595 fi
24596
24597 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24598 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24599 TOOLKIT=GTK
24600 GUIDIST=GTK_DIST
24601
24602 if test "$wxUSE_GPE" = "yes"; then
24603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24604 $as_echo_n "checking for gpewidget library... " >&6; }
24605
24606 ac_find_libraries=
24607 for ac_dir in $SEARCH_LIB
24608 do
24609 for ac_extension in a so sl dylib dll.a; do
24610 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24611 ac_find_libraries=$ac_dir
24612 break 2
24613 fi
24614 done
24615 done
24616
24617 if test "$ac_find_libraries" != "" ; then
24618
24619 if test "$ac_find_libraries" = "default location"; then
24620 ac_path_to_link=""
24621 else
24622 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24623 result=$?
24624 if test $result = 0; then
24625 ac_path_to_link=""
24626 else
24627 ac_path_to_link=" -L$ac_find_libraries"
24628 fi
24629 fi
24630
24631 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24632 WXGPE=1
24633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24634 $as_echo "found in $ac_find_libraries" >&6; }
24635 else
24636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24637 $as_echo "not found" >&6; }
24638 fi
24639
24640 fi
24641 fi
24642
24643 if test "$wxUSE_DFB" = 1; then
24644
24645
24646 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24647 if test -n "$ac_tool_prefix"; then
24648 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24649 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24651 $as_echo_n "checking for $ac_word... " >&6; }
24652 if ${ac_cv_path_PKG_CONFIG+:} false; then :
24653 $as_echo_n "(cached) " >&6
24654 else
24655 case $PKG_CONFIG in
24656 [\\/]* | ?:[\\/]*)
24657 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24658 ;;
24659 *)
24660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24661 for as_dir in $PATH
24662 do
24663 IFS=$as_save_IFS
24664 test -z "$as_dir" && as_dir=.
24665 for ac_exec_ext in '' $ac_executable_extensions; do
24666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24667 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24669 break 2
24670 fi
24671 done
24672 done
24673 IFS=$as_save_IFS
24674
24675 ;;
24676 esac
24677 fi
24678 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24679 if test -n "$PKG_CONFIG"; then
24680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24681 $as_echo "$PKG_CONFIG" >&6; }
24682 else
24683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24684 $as_echo "no" >&6; }
24685 fi
24686
24687
24688 fi
24689 if test -z "$ac_cv_path_PKG_CONFIG"; then
24690 ac_pt_PKG_CONFIG=$PKG_CONFIG
24691 # Extract the first word of "pkg-config", so it can be a program name with args.
24692 set dummy pkg-config; ac_word=$2
24693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24694 $as_echo_n "checking for $ac_word... " >&6; }
24695 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
24696 $as_echo_n "(cached) " >&6
24697 else
24698 case $ac_pt_PKG_CONFIG in
24699 [\\/]* | ?:[\\/]*)
24700 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24701 ;;
24702 *)
24703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24704 for as_dir in $PATH
24705 do
24706 IFS=$as_save_IFS
24707 test -z "$as_dir" && as_dir=.
24708 for ac_exec_ext in '' $ac_executable_extensions; do
24709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24710 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24712 break 2
24713 fi
24714 done
24715 done
24716 IFS=$as_save_IFS
24717
24718 ;;
24719 esac
24720 fi
24721 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24722 if test -n "$ac_pt_PKG_CONFIG"; then
24723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24724 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24725 else
24726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24727 $as_echo "no" >&6; }
24728 fi
24729
24730 if test "x$ac_pt_PKG_CONFIG" = x; then
24731 PKG_CONFIG=""
24732 else
24733 case $cross_compiling:$ac_tool_warned in
24734 yes:)
24735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24737 ac_tool_warned=yes ;;
24738 esac
24739 PKG_CONFIG=$ac_pt_PKG_CONFIG
24740 fi
24741 else
24742 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24743 fi
24744
24745 fi
24746 if test -n "$PKG_CONFIG"; then
24747 _pkg_min_version=0.9.0
24748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24749 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24750 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24752 $as_echo "yes" >&6; }
24753 else
24754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24755 $as_echo "no" >&6; }
24756 PKG_CONFIG=""
24757 fi
24758
24759 fi
24760
24761
24762 pkg_failed=no
24763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24764 $as_echo_n "checking for DIRECTFB... " >&6; }
24765
24766 if test -n "$PKG_CONFIG"; then
24767 if test -n "$DIRECTFB_CFLAGS"; then
24768 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24769 else
24770 if test -n "$PKG_CONFIG" && \
24771 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24772 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24773 ac_status=$?
24774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24775 test $ac_status = 0; }; then
24776 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24777 else
24778 pkg_failed=yes
24779 fi
24780 fi
24781 else
24782 pkg_failed=untried
24783 fi
24784 if test -n "$PKG_CONFIG"; then
24785 if test -n "$DIRECTFB_LIBS"; then
24786 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24787 else
24788 if test -n "$PKG_CONFIG" && \
24789 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24790 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24791 ac_status=$?
24792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24793 test $ac_status = 0; }; then
24794 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24795 else
24796 pkg_failed=yes
24797 fi
24798 fi
24799 else
24800 pkg_failed=untried
24801 fi
24802
24803
24804
24805 if test $pkg_failed = yes; then
24806
24807 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24808 _pkg_short_errors_supported=yes
24809 else
24810 _pkg_short_errors_supported=no
24811 fi
24812 if test $_pkg_short_errors_supported = yes; then
24813 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24814 else
24815 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24816 fi
24817 # Put the nasty error message in config.log where it belongs
24818 echo "$DIRECTFB_PKG_ERRORS" >&5
24819
24820
24821 as_fn_error $? "DirectFB not found." "$LINENO" 5
24822
24823
24824 elif test $pkg_failed = untried; then
24825
24826 as_fn_error $? "DirectFB not found." "$LINENO" 5
24827
24828
24829 else
24830 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24831 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24833 $as_echo "yes" >&6; }
24834
24835 wxUSE_UNIVERSAL="yes"
24836 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
24837 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
24838 TOOLKIT=DFB
24839 GUIDIST=DFB_DIST
24840
24841 fi
24842 fi
24843
24844 if test "$wxUSE_MICROWIN" = 1; then
24845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24846 $as_echo_n "checking for MicroWindows... " >&6; }
24847 if test "x$MICROWINDOWS" = x ; then
24848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24849 $as_echo "not found" >&6; }
24850 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24851 else
24852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24853 $as_echo "$MICROWINDOWS" >&6; }
24854 fi
24855
24856 if test -f $MICROWINDOWS/lib/libmwin.a; then
24857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24858 $as_echo "MicroWindows' libraries found." >&6; }
24859 else
24860 as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24861 fi
24862
24863 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24864 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24865
24866 wxUSE_UNIVERSAL="yes"
24867
24868 TOOLKIT=MICROWIN
24869 GUIDIST=MICROWIN_DIST
24870
24871 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24872 fi
24873
24874 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24876 $as_echo_n "checking for X... " >&6; }
24877
24878
24879 # Check whether --with-x was given.
24880 if test "${with_x+set}" = set; then :
24881 withval=$with_x;
24882 fi
24883
24884 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24885 if test "x$with_x" = xno; then
24886 # The user explicitly disabled X.
24887 have_x=disabled
24888 else
24889 case $x_includes,$x_libraries in #(
24890 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24891 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
24892 $as_echo_n "(cached) " >&6
24893 else
24894 # One or both of the vars are not set, and there is no cached value.
24895 ac_x_includes=no ac_x_libraries=no
24896 rm -f -r conftest.dir
24897 if mkdir conftest.dir; then
24898 cd conftest.dir
24899 cat >Imakefile <<'_ACEOF'
24900 incroot:
24901 @echo incroot='${INCROOT}'
24902 usrlibdir:
24903 @echo usrlibdir='${USRLIBDIR}'
24904 libdir:
24905 @echo libdir='${LIBDIR}'
24906 _ACEOF
24907 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24908 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24909 for ac_var in incroot usrlibdir libdir; do
24910 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24911 done
24912 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24913 for ac_extension in a so sl dylib la dll; do
24914 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24915 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24916 ac_im_usrlibdir=$ac_im_libdir; break
24917 fi
24918 done
24919 # Screen out bogus values from the imake configuration. They are
24920 # bogus both because they are the default anyway, and because
24921 # using them would break gcc on systems where it needs fixed includes.
24922 case $ac_im_incroot in
24923 /usr/include) ac_x_includes= ;;
24924 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24925 esac
24926 case $ac_im_usrlibdir in
24927 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24928 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24929 esac
24930 fi
24931 cd ..
24932 rm -f -r conftest.dir
24933 fi
24934
24935 # Standard set of common directories for X headers.
24936 # Check X11 before X11Rn because it is often a symlink to the current release.
24937 ac_x_header_dirs='
24938 /usr/X11/include
24939 /usr/X11R7/include
24940 /usr/X11R6/include
24941 /usr/X11R5/include
24942 /usr/X11R4/include
24943
24944 /usr/include/X11
24945 /usr/include/X11R7
24946 /usr/include/X11R6
24947 /usr/include/X11R5
24948 /usr/include/X11R4
24949
24950 /usr/local/X11/include
24951 /usr/local/X11R7/include
24952 /usr/local/X11R6/include
24953 /usr/local/X11R5/include
24954 /usr/local/X11R4/include
24955
24956 /usr/local/include/X11
24957 /usr/local/include/X11R7
24958 /usr/local/include/X11R6
24959 /usr/local/include/X11R5
24960 /usr/local/include/X11R4
24961
24962 /usr/X386/include
24963 /usr/x386/include
24964 /usr/XFree86/include/X11
24965
24966 /usr/include
24967 /usr/local/include
24968 /usr/unsupported/include
24969 /usr/athena/include
24970 /usr/local/x11r5/include
24971 /usr/lpp/Xamples/include
24972
24973 /usr/openwin/include
24974 /usr/openwin/share/include'
24975
24976 if test "$ac_x_includes" = no; then
24977 # Guess where to find include files, by looking for Xlib.h.
24978 # First, try using that file with no special directory specified.
24979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24980 /* end confdefs.h. */
24981 #include <X11/Xlib.h>
24982 _ACEOF
24983 if ac_fn_c_try_cpp "$LINENO"; then :
24984 # We can compile using X headers with no special include directory.
24985 ac_x_includes=
24986 else
24987 for ac_dir in $ac_x_header_dirs; do
24988 if test -r "$ac_dir/X11/Xlib.h"; then
24989 ac_x_includes=$ac_dir
24990 break
24991 fi
24992 done
24993 fi
24994 rm -f conftest.err conftest.i conftest.$ac_ext
24995 fi # $ac_x_includes = no
24996
24997 if test "$ac_x_libraries" = no; then
24998 # Check for the libraries.
24999 # See if we find them without any special options.
25000 # Don't add to $LIBS permanently.
25001 ac_save_LIBS=$LIBS
25002 LIBS="-lX11 $LIBS"
25003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25004 /* end confdefs.h. */
25005 #include <X11/Xlib.h>
25006 int
25007 main ()
25008 {
25009 XrmInitialize ()
25010 ;
25011 return 0;
25012 }
25013 _ACEOF
25014 if ac_fn_c_try_link "$LINENO"; then :
25015 LIBS=$ac_save_LIBS
25016 # We can link X programs with no special library path.
25017 ac_x_libraries=
25018 else
25019 LIBS=$ac_save_LIBS
25020 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25021 do
25022 # Don't even attempt the hair of trying to link an X program!
25023 for ac_extension in a so sl dylib la dll; do
25024 if test -r "$ac_dir/libX11.$ac_extension"; then
25025 ac_x_libraries=$ac_dir
25026 break 2
25027 fi
25028 done
25029 done
25030 fi
25031 rm -f core conftest.err conftest.$ac_objext \
25032 conftest$ac_exeext conftest.$ac_ext
25033 fi # $ac_x_libraries = no
25034
25035 case $ac_x_includes,$ac_x_libraries in #(
25036 no,* | *,no | *\'*)
25037 # Didn't find X, or a directory has "'" in its name.
25038 ac_cv_have_x="have_x=no";; #(
25039 *)
25040 # Record where we found X for the cache.
25041 ac_cv_have_x="have_x=yes\
25042 ac_x_includes='$ac_x_includes'\
25043 ac_x_libraries='$ac_x_libraries'"
25044 esac
25045 fi
25046 ;; #(
25047 *) have_x=yes;;
25048 esac
25049 eval "$ac_cv_have_x"
25050 fi # $with_x != no
25051
25052 if test "$have_x" != yes; then
25053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25054 $as_echo "$have_x" >&6; }
25055 no_x=yes
25056 else
25057 # If each of the values was on the command line, it overrides each guess.
25058 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25059 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25060 # Update the cache value to reflect the command line values.
25061 ac_cv_have_x="have_x=yes\
25062 ac_x_includes='$x_includes'\
25063 ac_x_libraries='$x_libraries'"
25064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25065 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25066 fi
25067
25068 if test "$no_x" = yes; then
25069 # Not all programs may use this symbol, but it does not hurt to define it.
25070
25071 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25072
25073 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25074 else
25075 if test -n "$x_includes"; then
25076 X_CFLAGS="$X_CFLAGS -I$x_includes"
25077 fi
25078
25079 # It would also be nice to do this for all -L options, not just this one.
25080 if test -n "$x_libraries"; then
25081 X_LIBS="$X_LIBS -L$x_libraries"
25082 # For Solaris; some versions of Sun CC require a space after -R and
25083 # others require no space. Words are not sufficient . . . .
25084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25085 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
25086 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25087 ac_xsave_c_werror_flag=$ac_c_werror_flag
25088 ac_c_werror_flag=yes
25089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25090 /* end confdefs.h. */
25091
25092 int
25093 main ()
25094 {
25095
25096 ;
25097 return 0;
25098 }
25099 _ACEOF
25100 if ac_fn_c_try_link "$LINENO"; then :
25101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25102 $as_echo "no" >&6; }
25103 X_LIBS="$X_LIBS -R$x_libraries"
25104 else
25105 LIBS="$ac_xsave_LIBS -R $x_libraries"
25106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25107 /* end confdefs.h. */
25108
25109 int
25110 main ()
25111 {
25112
25113 ;
25114 return 0;
25115 }
25116 _ACEOF
25117 if ac_fn_c_try_link "$LINENO"; then :
25118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25119 $as_echo "yes" >&6; }
25120 X_LIBS="$X_LIBS -R $x_libraries"
25121 else
25122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25123 $as_echo "neither works" >&6; }
25124 fi
25125 rm -f core conftest.err conftest.$ac_objext \
25126 conftest$ac_exeext conftest.$ac_ext
25127 fi
25128 rm -f core conftest.err conftest.$ac_objext \
25129 conftest$ac_exeext conftest.$ac_ext
25130 ac_c_werror_flag=$ac_xsave_c_werror_flag
25131 LIBS=$ac_xsave_LIBS
25132 fi
25133
25134 # Check for system-dependent libraries X programs must link with.
25135 # Do this before checking for the system-independent R6 libraries
25136 # (-lICE), since we may need -lsocket or whatever for X linking.
25137
25138 if test "$ISC" = yes; then
25139 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25140 else
25141 # Martyn Johnson says this is needed for Ultrix, if the X
25142 # libraries were built with DECnet support. And Karl Berry says
25143 # the Alpha needs dnet_stub (dnet does not exist).
25144 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25146 /* end confdefs.h. */
25147
25148 /* Override any GCC internal prototype to avoid an error.
25149 Use char because int might match the return type of a GCC
25150 builtin and then its argument prototype would still apply. */
25151 #ifdef __cplusplus
25152 extern "C"
25153 #endif
25154 char XOpenDisplay ();
25155 int
25156 main ()
25157 {
25158 return XOpenDisplay ();
25159 ;
25160 return 0;
25161 }
25162 _ACEOF
25163 if ac_fn_c_try_link "$LINENO"; then :
25164
25165 else
25166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25167 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25168 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
25169 $as_echo_n "(cached) " >&6
25170 else
25171 ac_check_lib_save_LIBS=$LIBS
25172 LIBS="-ldnet $LIBS"
25173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25174 /* end confdefs.h. */
25175
25176 /* Override any GCC internal prototype to avoid an error.
25177 Use char because int might match the return type of a GCC
25178 builtin and then its argument prototype would still apply. */
25179 #ifdef __cplusplus
25180 extern "C"
25181 #endif
25182 char dnet_ntoa ();
25183 int
25184 main ()
25185 {
25186 return dnet_ntoa ();
25187 ;
25188 return 0;
25189 }
25190 _ACEOF
25191 if ac_fn_c_try_link "$LINENO"; then :
25192 ac_cv_lib_dnet_dnet_ntoa=yes
25193 else
25194 ac_cv_lib_dnet_dnet_ntoa=no
25195 fi
25196 rm -f core conftest.err conftest.$ac_objext \
25197 conftest$ac_exeext conftest.$ac_ext
25198 LIBS=$ac_check_lib_save_LIBS
25199 fi
25200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25201 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25202 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
25203 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25204 fi
25205
25206 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25208 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25209 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
25210 $as_echo_n "(cached) " >&6
25211 else
25212 ac_check_lib_save_LIBS=$LIBS
25213 LIBS="-ldnet_stub $LIBS"
25214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25215 /* end confdefs.h. */
25216
25217 /* Override any GCC internal prototype to avoid an error.
25218 Use char because int might match the return type of a GCC
25219 builtin and then its argument prototype would still apply. */
25220 #ifdef __cplusplus
25221 extern "C"
25222 #endif
25223 char dnet_ntoa ();
25224 int
25225 main ()
25226 {
25227 return dnet_ntoa ();
25228 ;
25229 return 0;
25230 }
25231 _ACEOF
25232 if ac_fn_c_try_link "$LINENO"; then :
25233 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25234 else
25235 ac_cv_lib_dnet_stub_dnet_ntoa=no
25236 fi
25237 rm -f core conftest.err conftest.$ac_objext \
25238 conftest$ac_exeext conftest.$ac_ext
25239 LIBS=$ac_check_lib_save_LIBS
25240 fi
25241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25242 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25243 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
25244 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25245 fi
25246
25247 fi
25248 fi
25249 rm -f core conftest.err conftest.$ac_objext \
25250 conftest$ac_exeext conftest.$ac_ext
25251 LIBS="$ac_xsave_LIBS"
25252
25253 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25254 # to get the SysV transport functions.
25255 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25256 # needs -lnsl.
25257 # The nsl library prevents programs from opening the X display
25258 # on Irix 5.2, according to T.E. Dickey.
25259 # The functions gethostbyname, getservbyname, and inet_addr are
25260 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25261 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25262 if test "x$ac_cv_func_gethostbyname" = xyes; then :
25263
25264 fi
25265
25266 if test $ac_cv_func_gethostbyname = no; then
25267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25268 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25269 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
25270 $as_echo_n "(cached) " >&6
25271 else
25272 ac_check_lib_save_LIBS=$LIBS
25273 LIBS="-lnsl $LIBS"
25274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25275 /* end confdefs.h. */
25276
25277 /* Override any GCC internal prototype to avoid an error.
25278 Use char because int might match the return type of a GCC
25279 builtin and then its argument prototype would still apply. */
25280 #ifdef __cplusplus
25281 extern "C"
25282 #endif
25283 char gethostbyname ();
25284 int
25285 main ()
25286 {
25287 return gethostbyname ();
25288 ;
25289 return 0;
25290 }
25291 _ACEOF
25292 if ac_fn_c_try_link "$LINENO"; then :
25293 ac_cv_lib_nsl_gethostbyname=yes
25294 else
25295 ac_cv_lib_nsl_gethostbyname=no
25296 fi
25297 rm -f core conftest.err conftest.$ac_objext \
25298 conftest$ac_exeext conftest.$ac_ext
25299 LIBS=$ac_check_lib_save_LIBS
25300 fi
25301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25302 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25303 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
25304 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25305 fi
25306
25307 if test $ac_cv_lib_nsl_gethostbyname = no; then
25308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25309 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25310 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
25311 $as_echo_n "(cached) " >&6
25312 else
25313 ac_check_lib_save_LIBS=$LIBS
25314 LIBS="-lbsd $LIBS"
25315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25316 /* end confdefs.h. */
25317
25318 /* Override any GCC internal prototype to avoid an error.
25319 Use char because int might match the return type of a GCC
25320 builtin and then its argument prototype would still apply. */
25321 #ifdef __cplusplus
25322 extern "C"
25323 #endif
25324 char gethostbyname ();
25325 int
25326 main ()
25327 {
25328 return gethostbyname ();
25329 ;
25330 return 0;
25331 }
25332 _ACEOF
25333 if ac_fn_c_try_link "$LINENO"; then :
25334 ac_cv_lib_bsd_gethostbyname=yes
25335 else
25336 ac_cv_lib_bsd_gethostbyname=no
25337 fi
25338 rm -f core conftest.err conftest.$ac_objext \
25339 conftest$ac_exeext conftest.$ac_ext
25340 LIBS=$ac_check_lib_save_LIBS
25341 fi
25342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25343 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25344 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
25345 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25346 fi
25347
25348 fi
25349 fi
25350
25351 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25352 # socket/setsockopt and other routines are undefined under SCO ODT
25353 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25354 # on later versions), says Simon Leinen: it contains gethostby*
25355 # variants that don't use the name server (or something). -lsocket
25356 # must be given before -lnsl if both are needed. We assume that
25357 # if connect needs -lnsl, so does gethostbyname.
25358 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25359 if test "x$ac_cv_func_connect" = xyes; then :
25360
25361 fi
25362
25363 if test $ac_cv_func_connect = no; then
25364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25365 $as_echo_n "checking for connect in -lsocket... " >&6; }
25366 if ${ac_cv_lib_socket_connect+:} false; then :
25367 $as_echo_n "(cached) " >&6
25368 else
25369 ac_check_lib_save_LIBS=$LIBS
25370 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25372 /* end confdefs.h. */
25373
25374 /* Override any GCC internal prototype to avoid an error.
25375 Use char because int might match the return type of a GCC
25376 builtin and then its argument prototype would still apply. */
25377 #ifdef __cplusplus
25378 extern "C"
25379 #endif
25380 char connect ();
25381 int
25382 main ()
25383 {
25384 return connect ();
25385 ;
25386 return 0;
25387 }
25388 _ACEOF
25389 if ac_fn_c_try_link "$LINENO"; then :
25390 ac_cv_lib_socket_connect=yes
25391 else
25392 ac_cv_lib_socket_connect=no
25393 fi
25394 rm -f core conftest.err conftest.$ac_objext \
25395 conftest$ac_exeext conftest.$ac_ext
25396 LIBS=$ac_check_lib_save_LIBS
25397 fi
25398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25399 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25400 if test "x$ac_cv_lib_socket_connect" = xyes; then :
25401 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25402 fi
25403
25404 fi
25405
25406 # Guillermo Gomez says -lposix is necessary on A/UX.
25407 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25408 if test "x$ac_cv_func_remove" = xyes; then :
25409
25410 fi
25411
25412 if test $ac_cv_func_remove = no; then
25413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25414 $as_echo_n "checking for remove in -lposix... " >&6; }
25415 if ${ac_cv_lib_posix_remove+:} false; then :
25416 $as_echo_n "(cached) " >&6
25417 else
25418 ac_check_lib_save_LIBS=$LIBS
25419 LIBS="-lposix $LIBS"
25420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25421 /* end confdefs.h. */
25422
25423 /* Override any GCC internal prototype to avoid an error.
25424 Use char because int might match the return type of a GCC
25425 builtin and then its argument prototype would still apply. */
25426 #ifdef __cplusplus
25427 extern "C"
25428 #endif
25429 char remove ();
25430 int
25431 main ()
25432 {
25433 return remove ();
25434 ;
25435 return 0;
25436 }
25437 _ACEOF
25438 if ac_fn_c_try_link "$LINENO"; then :
25439 ac_cv_lib_posix_remove=yes
25440 else
25441 ac_cv_lib_posix_remove=no
25442 fi
25443 rm -f core conftest.err conftest.$ac_objext \
25444 conftest$ac_exeext conftest.$ac_ext
25445 LIBS=$ac_check_lib_save_LIBS
25446 fi
25447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25448 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25449 if test "x$ac_cv_lib_posix_remove" = xyes; then :
25450 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25451 fi
25452
25453 fi
25454
25455 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25456 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25457 if test "x$ac_cv_func_shmat" = xyes; then :
25458
25459 fi
25460
25461 if test $ac_cv_func_shmat = no; then
25462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25463 $as_echo_n "checking for shmat in -lipc... " >&6; }
25464 if ${ac_cv_lib_ipc_shmat+:} false; then :
25465 $as_echo_n "(cached) " >&6
25466 else
25467 ac_check_lib_save_LIBS=$LIBS
25468 LIBS="-lipc $LIBS"
25469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25470 /* end confdefs.h. */
25471
25472 /* Override any GCC internal prototype to avoid an error.
25473 Use char because int might match the return type of a GCC
25474 builtin and then its argument prototype would still apply. */
25475 #ifdef __cplusplus
25476 extern "C"
25477 #endif
25478 char shmat ();
25479 int
25480 main ()
25481 {
25482 return shmat ();
25483 ;
25484 return 0;
25485 }
25486 _ACEOF
25487 if ac_fn_c_try_link "$LINENO"; then :
25488 ac_cv_lib_ipc_shmat=yes
25489 else
25490 ac_cv_lib_ipc_shmat=no
25491 fi
25492 rm -f core conftest.err conftest.$ac_objext \
25493 conftest$ac_exeext conftest.$ac_ext
25494 LIBS=$ac_check_lib_save_LIBS
25495 fi
25496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25497 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25498 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
25499 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25500 fi
25501
25502 fi
25503 fi
25504
25505 # Check for libraries that X11R6 Xt/Xaw programs need.
25506 ac_save_LDFLAGS=$LDFLAGS
25507 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25508 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25509 # check for ICE first), but we must link in the order -lSM -lICE or
25510 # we get undefined symbols. So assume we have SM if we have ICE.
25511 # These have to be linked with before -lX11, unlike the other
25512 # libraries we check for below, so use a different variable.
25513 # John Interrante, Karl Berry
25514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25515 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25516 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
25517 $as_echo_n "(cached) " >&6
25518 else
25519 ac_check_lib_save_LIBS=$LIBS
25520 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25522 /* end confdefs.h. */
25523
25524 /* Override any GCC internal prototype to avoid an error.
25525 Use char because int might match the return type of a GCC
25526 builtin and then its argument prototype would still apply. */
25527 #ifdef __cplusplus
25528 extern "C"
25529 #endif
25530 char IceConnectionNumber ();
25531 int
25532 main ()
25533 {
25534 return IceConnectionNumber ();
25535 ;
25536 return 0;
25537 }
25538 _ACEOF
25539 if ac_fn_c_try_link "$LINENO"; then :
25540 ac_cv_lib_ICE_IceConnectionNumber=yes
25541 else
25542 ac_cv_lib_ICE_IceConnectionNumber=no
25543 fi
25544 rm -f core conftest.err conftest.$ac_objext \
25545 conftest$ac_exeext conftest.$ac_ext
25546 LIBS=$ac_check_lib_save_LIBS
25547 fi
25548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25549 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25550 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
25551 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25552 fi
25553
25554 LDFLAGS=$ac_save_LDFLAGS
25555
25556 fi
25557
25558
25559 if test "$no_x" = "yes"; then
25560 as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25561 fi
25562
25563 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25564 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25565 COMPILED_X_PROGRAM=0
25566
25567 fi
25568
25569 if test "$wxUSE_X11" = 1; then
25570 if test "$wxUSE_NANOX" = "yes"; then
25571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25572 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25573 if test "x$MICROWIN" = x ; then
25574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25575 $as_echo "not found" >&6; }
25576 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25577 else
25578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25579 $as_echo "$MICROWIN" >&6; }
25580 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25581
25582 fi
25583 fi
25584
25585 if test "$wxUSE_UNICODE" = "yes"; then
25586
25587
25588 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25589 if test -n "$ac_tool_prefix"; then
25590 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25591 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25593 $as_echo_n "checking for $ac_word... " >&6; }
25594 if ${ac_cv_path_PKG_CONFIG+:} false; then :
25595 $as_echo_n "(cached) " >&6
25596 else
25597 case $PKG_CONFIG in
25598 [\\/]* | ?:[\\/]*)
25599 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25600 ;;
25601 *)
25602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25603 for as_dir in $PATH
25604 do
25605 IFS=$as_save_IFS
25606 test -z "$as_dir" && as_dir=.
25607 for ac_exec_ext in '' $ac_executable_extensions; do
25608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25609 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25611 break 2
25612 fi
25613 done
25614 done
25615 IFS=$as_save_IFS
25616
25617 ;;
25618 esac
25619 fi
25620 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25621 if test -n "$PKG_CONFIG"; then
25622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25623 $as_echo "$PKG_CONFIG" >&6; }
25624 else
25625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25626 $as_echo "no" >&6; }
25627 fi
25628
25629
25630 fi
25631 if test -z "$ac_cv_path_PKG_CONFIG"; then
25632 ac_pt_PKG_CONFIG=$PKG_CONFIG
25633 # Extract the first word of "pkg-config", so it can be a program name with args.
25634 set dummy pkg-config; ac_word=$2
25635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25636 $as_echo_n "checking for $ac_word... " >&6; }
25637 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
25638 $as_echo_n "(cached) " >&6
25639 else
25640 case $ac_pt_PKG_CONFIG in
25641 [\\/]* | ?:[\\/]*)
25642 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25643 ;;
25644 *)
25645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25646 for as_dir in $PATH
25647 do
25648 IFS=$as_save_IFS
25649 test -z "$as_dir" && as_dir=.
25650 for ac_exec_ext in '' $ac_executable_extensions; do
25651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25652 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25654 break 2
25655 fi
25656 done
25657 done
25658 IFS=$as_save_IFS
25659
25660 ;;
25661 esac
25662 fi
25663 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25664 if test -n "$ac_pt_PKG_CONFIG"; then
25665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25666 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25667 else
25668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25669 $as_echo "no" >&6; }
25670 fi
25671
25672 if test "x$ac_pt_PKG_CONFIG" = x; then
25673 PKG_CONFIG=""
25674 else
25675 case $cross_compiling:$ac_tool_warned in
25676 yes:)
25677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25678 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25679 ac_tool_warned=yes ;;
25680 esac
25681 PKG_CONFIG=$ac_pt_PKG_CONFIG
25682 fi
25683 else
25684 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25685 fi
25686
25687 fi
25688 if test -n "$PKG_CONFIG"; then
25689 _pkg_min_version=0.9.0
25690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25691 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25692 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25694 $as_echo "yes" >&6; }
25695 else
25696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25697 $as_echo "no" >&6; }
25698 PKG_CONFIG=""
25699 fi
25700
25701 fi
25702
25703
25704 pkg_failed=no
25705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25706 $as_echo_n "checking for PANGOX... " >&6; }
25707
25708 if test -n "$PKG_CONFIG"; then
25709 if test -n "$PANGOX_CFLAGS"; then
25710 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
25711 else
25712 if test -n "$PKG_CONFIG" && \
25713 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25714 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25715 ac_status=$?
25716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25717 test $ac_status = 0; }; then
25718 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25719 else
25720 pkg_failed=yes
25721 fi
25722 fi
25723 else
25724 pkg_failed=untried
25725 fi
25726 if test -n "$PKG_CONFIG"; then
25727 if test -n "$PANGOX_LIBS"; then
25728 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
25729 else
25730 if test -n "$PKG_CONFIG" && \
25731 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25732 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25733 ac_status=$?
25734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25735 test $ac_status = 0; }; then
25736 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25737 else
25738 pkg_failed=yes
25739 fi
25740 fi
25741 else
25742 pkg_failed=untried
25743 fi
25744
25745
25746
25747 if test $pkg_failed = yes; then
25748
25749 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25750 _pkg_short_errors_supported=yes
25751 else
25752 _pkg_short_errors_supported=no
25753 fi
25754 if test $_pkg_short_errors_supported = yes; then
25755 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25756 else
25757 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25758 fi
25759 # Put the nasty error message in config.log where it belongs
25760 echo "$PANGOX_PKG_ERRORS" >&5
25761
25762
25763 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25764
25765
25766 elif test $pkg_failed = untried; then
25767
25768 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25769
25770
25771 else
25772 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
25773 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
25774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25775 $as_echo "yes" >&6; }
25776
25777 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
25778 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
25779 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25780
25781 fi
25782
25783 pkg_failed=no
25784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25785 $as_echo_n "checking for PANGOFT2... " >&6; }
25786
25787 if test -n "$PKG_CONFIG"; then
25788 if test -n "$PANGOFT2_CFLAGS"; then
25789 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
25790 else
25791 if test -n "$PKG_CONFIG" && \
25792 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25793 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25794 ac_status=$?
25795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25796 test $ac_status = 0; }; then
25797 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25798 else
25799 pkg_failed=yes
25800 fi
25801 fi
25802 else
25803 pkg_failed=untried
25804 fi
25805 if test -n "$PKG_CONFIG"; then
25806 if test -n "$PANGOFT2_LIBS"; then
25807 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
25808 else
25809 if test -n "$PKG_CONFIG" && \
25810 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25811 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25812 ac_status=$?
25813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25814 test $ac_status = 0; }; then
25815 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25816 else
25817 pkg_failed=yes
25818 fi
25819 fi
25820 else
25821 pkg_failed=untried
25822 fi
25823
25824
25825
25826 if test $pkg_failed = yes; then
25827
25828 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25829 _pkg_short_errors_supported=yes
25830 else
25831 _pkg_short_errors_supported=no
25832 fi
25833 if test $_pkg_short_errors_supported = yes; then
25834 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25835 else
25836 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25837 fi
25838 # Put the nasty error message in config.log where it belongs
25839 echo "$PANGOFT2_PKG_ERRORS" >&5
25840
25841
25842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25843 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25844 wxUSE_PRINTING_ARCHITECTURE="no"
25845
25846
25847 elif test $pkg_failed = untried; then
25848
25849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25850 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25851 wxUSE_PRINTING_ARCHITECTURE="no"
25852
25853
25854 else
25855 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
25856 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
25857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25858 $as_echo "yes" >&6; }
25859
25860 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
25861 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
25862 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25863
25864 fi
25865
25866 pkg_failed=no
25867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25868 $as_echo_n "checking for PANGOXFT... " >&6; }
25869
25870 if test -n "$PKG_CONFIG"; then
25871 if test -n "$PANGOXFT_CFLAGS"; then
25872 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
25873 else
25874 if test -n "$PKG_CONFIG" && \
25875 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25876 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25877 ac_status=$?
25878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25879 test $ac_status = 0; }; then
25880 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25881 else
25882 pkg_failed=yes
25883 fi
25884 fi
25885 else
25886 pkg_failed=untried
25887 fi
25888 if test -n "$PKG_CONFIG"; then
25889 if test -n "$PANGOXFT_LIBS"; then
25890 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
25891 else
25892 if test -n "$PKG_CONFIG" && \
25893 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25894 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25895 ac_status=$?
25896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25897 test $ac_status = 0; }; then
25898 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25899 else
25900 pkg_failed=yes
25901 fi
25902 fi
25903 else
25904 pkg_failed=untried
25905 fi
25906
25907
25908
25909 if test $pkg_failed = yes; then
25910
25911 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25912 _pkg_short_errors_supported=yes
25913 else
25914 _pkg_short_errors_supported=no
25915 fi
25916 if test $_pkg_short_errors_supported = yes; then
25917 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25918 else
25919 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25920 fi
25921 # Put the nasty error message in config.log where it belongs
25922 echo "$PANGOXFT_PKG_ERRORS" >&5
25923
25924
25925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25926 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25927
25928
25929 elif test $pkg_failed = untried; then
25930
25931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25932 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25933
25934
25935 else
25936 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
25937 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
25938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25939 $as_echo "yes" >&6; }
25940
25941 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25942
25943 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
25944 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
25945 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25946
25947 fi
25948 save_LIBS="$LIBS"
25949 LIBS="$LIBS $PANGOX_LIBS"
25950 for ac_func in pango_font_family_is_monospace
25951 do :
25952 ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25953 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes; then :
25954 cat >>confdefs.h <<_ACEOF
25955 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25956 _ACEOF
25957
25958 fi
25959 done
25960
25961 LIBS="$save_LIBS"
25962 fi
25963
25964 wxUSE_UNIVERSAL="yes"
25965
25966 if test "$wxUSE_NANOX" = "yes"; then
25967 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25968 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"
25969 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25970 else
25971 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25972 fi
25973
25974 TOOLKIT=X11
25975 GUIDIST=X11_DIST
25976 fi
25977
25978 if test "$wxUSE_MOTIF" = 1; then
25979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25980 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25981
25982 ac_find_includes=
25983 for ac_dir in $SEARCH_INCLUDE /usr/include
25984 do
25985 if test -f "$ac_dir/Xm/Xm.h"; then
25986 ac_find_includes=$ac_dir
25987 break
25988 fi
25989 done
25990
25991 if test "$ac_find_includes" != "" ; then
25992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25993 $as_echo "found in $ac_find_includes" >&6; }
25994
25995 if test "x$ac_find_includes" = "x/usr/include"; then
25996 ac_path_to_include=""
25997 else
25998 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25999 result=$?
26000 if test $result = 0; then
26001 ac_path_to_include=""
26002 else
26003 ac_path_to_include=" -I$ac_find_includes"
26004 fi
26005 fi
26006
26007 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
26008 else
26009 save_CFLAGS=$CFLAGS
26010 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26011
26012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26013 /* end confdefs.h. */
26014
26015 #include <Xm/Xm.h>
26016
26017 int
26018 main ()
26019 {
26020
26021 int version;
26022 version = xmUseVersion;
26023
26024 ;
26025 return 0;
26026 }
26027 _ACEOF
26028 if ac_fn_c_try_compile "$LINENO"; then :
26029
26030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26031 $as_echo "found in default search path" >&6; }
26032 COMPILED_X_PROGRAM=1
26033
26034 else
26035
26036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26037 $as_echo "no" >&6; }
26038 as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
26039
26040
26041 fi
26042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26043
26044 CFLAGS=$save_CFLAGS
26045 fi
26046
26047
26048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
26049 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
26050
26051 ac_find_libraries=
26052 for ac_dir in $SEARCH_LIB
26053 do
26054 for ac_extension in a so sl dylib dll.a; do
26055 if test -f "$ac_dir/libXm.$ac_extension"; then
26056 ac_find_libraries=$ac_dir
26057 break 2
26058 fi
26059 done
26060 done
26061
26062
26063 if test "x$ac_find_libraries" != "x" ; then
26064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26065 $as_echo "found in $ac_find_libraries" >&6; }
26066
26067
26068 if test "$ac_find_libraries" = "default location"; then
26069 ac_path_to_link=""
26070 else
26071 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26072 result=$?
26073 if test $result = 0; then
26074 ac_path_to_link=""
26075 else
26076 ac_path_to_link=" -L$ac_find_libraries"
26077 fi
26078 fi
26079
26080 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26081 else
26082 save_CFLAGS=$CFLAGS
26083 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26084 save_LIBS="$LIBS"
26085 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
26086
26087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26088 /* end confdefs.h. */
26089
26090 #include <Xm/Xm.h>
26091
26092 int
26093 main ()
26094 {
26095
26096 int version;
26097 version = xmUseVersion;
26098
26099 ;
26100 return 0;
26101 }
26102 _ACEOF
26103 if ac_fn_c_try_link "$LINENO"; then :
26104
26105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26106 $as_echo "found in default search path" >&6; }
26107 COMPILED_X_PROGRAM=1
26108
26109 else
26110
26111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26112 $as_echo "no" >&6; }
26113 as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
26114
26115
26116 fi
26117 rm -f core conftest.err conftest.$ac_objext \
26118 conftest$ac_exeext conftest.$ac_ext
26119
26120 CFLAGS=$save_CFLAGS
26121 LIBS="$save_LIBS"
26122 fi
26123
26124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
26125 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
26126 libp_link=""
26127 libsm_ice_link=""
26128 libs_found=0
26129 for libp in "" " -lXp"; do
26130 if test "$libs_found" = 0; then
26131 for libsm_ice in "" " -lSM -lICE"; do
26132 if test "$libs_found" = 0; then
26133 save_LIBS="$LIBS"
26134 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26135 save_CFLAGS=$CFLAGS
26136 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26137
26138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26139 /* end confdefs.h. */
26140
26141 #include <Xm/Xm.h>
26142 #include <Xm/List.h>
26143
26144 int
26145 main ()
26146 {
26147
26148 XmString string = NULL;
26149 Widget w = NULL;
26150 int position = 0;
26151 XmListAddItem(w, string, position);
26152
26153 ;
26154 return 0;
26155 }
26156 _ACEOF
26157 if ac_fn_c_try_link "$LINENO"; then :
26158
26159 libp_link="$libp"
26160 libsm_ice_link="$libsm_ice"
26161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
26162 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26163 libs_found=1
26164
26165 fi
26166 rm -f core conftest.err conftest.$ac_objext \
26167 conftest$ac_exeext conftest.$ac_ext
26168
26169 LIBS="$save_LIBS"
26170 CFLAGS=$save_CFLAGS
26171 fi
26172 done
26173 fi
26174 done
26175
26176 if test "$libs_found" = 0; then
26177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26178 $as_echo "can't find the right libraries" >&6; }
26179 as_fn_error $? "can't link a simple motif program" "$LINENO" 5
26180 fi
26181
26182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26183 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26184 if ${ac_cv_lib_Sgm_SgCreateList+:} false; then :
26185 $as_echo_n "(cached) " >&6
26186 else
26187 ac_check_lib_save_LIBS=$LIBS
26188 LIBS="-lSgm $LIBS"
26189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26190 /* end confdefs.h. */
26191
26192 /* Override any GCC internal prototype to avoid an error.
26193 Use char because int might match the return type of a GCC
26194 builtin and then its argument prototype would still apply. */
26195 #ifdef __cplusplus
26196 extern "C"
26197 #endif
26198 char SgCreateList ();
26199 int
26200 main ()
26201 {
26202 return SgCreateList ();
26203 ;
26204 return 0;
26205 }
26206 _ACEOF
26207 if ac_fn_c_try_link "$LINENO"; then :
26208 ac_cv_lib_Sgm_SgCreateList=yes
26209 else
26210 ac_cv_lib_Sgm_SgCreateList=no
26211 fi
26212 rm -f core conftest.err conftest.$ac_objext \
26213 conftest$ac_exeext conftest.$ac_ext
26214 LIBS=$ac_check_lib_save_LIBS
26215 fi
26216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26217 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26218 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes; then :
26219 libsgm_link=" -lSgm"
26220 fi
26221
26222
26223 save_CFLAGS=$CFLAGS
26224 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26225
26226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26227 $as_echo_n "checking for Motif 2... " >&6; }
26228 if ${wx_cv_lib_motif2+:} false; then :
26229 $as_echo_n "(cached) " >&6
26230 else
26231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26232 /* end confdefs.h. */
26233
26234 #include <Xm/Xm.h>
26235
26236 int
26237 main ()
26238 {
26239
26240 #if XmVersion < 2000
26241 Not Motif 2
26242 #endif
26243
26244 ;
26245 return 0;
26246 }
26247 _ACEOF
26248 if ac_fn_c_try_compile "$LINENO"; then :
26249 wx_cv_lib_motif2="yes"
26250 else
26251 wx_cv_lib_motif2="no"
26252 fi
26253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26254 fi
26255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26256 $as_echo "$wx_cv_lib_motif2" >&6; }
26257 if test "$wx_cv_lib_motif2" = "yes"; then
26258 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26259
26260 else
26261 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26262
26263 fi
26264
26265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26266 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26267 if ${wx_cv_lib_lesstif+:} false; then :
26268 $as_echo_n "(cached) " >&6
26269 else
26270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26271 /* end confdefs.h. */
26272
26273 #include <Xm/Xm.h>
26274
26275 int
26276 main ()
26277 {
26278
26279 #if !defined(LesstifVersion) || LesstifVersion <= 0
26280 Not Lesstif
26281 #endif
26282
26283 ;
26284 return 0;
26285 }
26286 _ACEOF
26287 if ac_fn_c_try_compile "$LINENO"; then :
26288 wx_cv_lib_lesstif="yes"
26289 else
26290 wx_cv_lib_lesstif="no"
26291 fi
26292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26293
26294 fi
26295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26296 $as_echo "$wx_cv_lib_lesstif" >&6; }
26297 if test "$wx_cv_lib_lesstif" = "yes"; then
26298 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26299
26300 else
26301 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26302
26303 fi
26304
26305 CFLAGS=$save_CFLAGS
26306
26307 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26308 TOOLKIT=MOTIF
26309 GUIDIST=MOTIF_DIST
26310 fi
26311
26312 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26313 if test "$wxUSE_LIBXPM" = "sys"; then
26314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26315 $as_echo_n "checking for Xpm library... " >&6; }
26316
26317 ac_find_libraries=
26318 for ac_dir in $SEARCH_LIB
26319 do
26320 for ac_extension in a so sl dylib dll.a; do
26321 if test -f "$ac_dir/libXpm.$ac_extension"; then
26322 ac_find_libraries=$ac_dir
26323 break 2
26324 fi
26325 done
26326 done
26327
26328 if test "$ac_find_libraries" != "" ; then
26329
26330 if test "$ac_find_libraries" = "default location"; then
26331 ac_path_to_link=""
26332 else
26333 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26334 result=$?
26335 if test $result = 0; then
26336 ac_path_to_link=""
26337 else
26338 ac_path_to_link=" -L$ac_find_libraries"
26339 fi
26340 fi
26341
26342 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26344 $as_echo "found in $ac_find_libraries" >&6; }
26345
26346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26347 $as_echo_n "checking for X11/xpm.h... " >&6; }
26348 if ${wx_cv_x11_xpm_h+:} false; then :
26349 $as_echo_n "(cached) " >&6
26350 else
26351
26352 save_CFLAGS=$CFLAGS
26353 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26354
26355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26356 /* end confdefs.h. */
26357
26358 #include <X11/xpm.h>
26359
26360 int
26361 main ()
26362 {
26363
26364 int version;
26365 version = XpmLibraryVersion();
26366
26367 ;
26368 return 0;
26369 }
26370 _ACEOF
26371 if ac_fn_c_try_compile "$LINENO"; then :
26372 wx_cv_x11_xpm_h=yes
26373 else
26374 wx_cv_x11_xpm_h=no
26375
26376 fi
26377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26378
26379 CFLAGS=$save_CFLAGS
26380
26381
26382 fi
26383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26384 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26385
26386 if test $wx_cv_x11_xpm_h = "yes"; then
26387 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26388 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26389
26390 else
26391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26392 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26393 fi
26394 fi
26395
26396 fi
26397
26398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26399 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26400 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
26401 $as_echo_n "(cached) " >&6
26402 else
26403 ac_check_lib_save_LIBS=$LIBS
26404 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26406 /* end confdefs.h. */
26407
26408 /* Override any GCC internal prototype to avoid an error.
26409 Use char because int might match the return type of a GCC
26410 builtin and then its argument prototype would still apply. */
26411 #ifdef __cplusplus
26412 extern "C"
26413 #endif
26414 char XShapeQueryExtension ();
26415 int
26416 main ()
26417 {
26418 return XShapeQueryExtension ();
26419 ;
26420 return 0;
26421 }
26422 _ACEOF
26423 if ac_fn_c_try_link "$LINENO"; then :
26424 ac_cv_lib_Xext_XShapeQueryExtension=yes
26425 else
26426 ac_cv_lib_Xext_XShapeQueryExtension=no
26427 fi
26428 rm -f core conftest.err conftest.$ac_objext \
26429 conftest$ac_exeext conftest.$ac_ext
26430 LIBS=$ac_check_lib_save_LIBS
26431 fi
26432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26433 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26434 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
26435
26436 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26437 wxHAVE_XEXT_LIB=1
26438
26439 fi
26440
26441
26442 if test "$wxHAVE_XEXT_LIB" = 1; then
26443 save_CFLAGS="$CFLAGS"
26444 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26445
26446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26447 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26449 /* end confdefs.h. */
26450
26451 #include <X11/Xlib.h>
26452 #include <X11/extensions/shape.h>
26453
26454 int
26455 main ()
26456 {
26457
26458 int dummy1, dummy2;
26459 XShapeQueryExtension((Display*)NULL,
26460 (int*)NULL, (int*)NULL);
26461
26462 ;
26463 return 0;
26464 }
26465 _ACEOF
26466 if ac_fn_c_try_compile "$LINENO"; then :
26467
26468 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26469
26470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26471 $as_echo "found" >&6; }
26472
26473 else
26474
26475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26476 $as_echo "not found" >&6; }
26477
26478 fi
26479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26480 CFLAGS="$save_CFLAGS"
26481
26482 fi
26483 fi
26484
26485 if test "$wxUSE_OSX_CARBON" = 1; then
26486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26487 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26488 if test "$GCC" = yes; then
26489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26490 $as_echo "gcc" >&6; }
26491 CPPFLAGS_PASCAL="-fpascal-strings"
26492 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26494 $as_echo "xlc" >&6; }
26495 CPPFLAGS_PASCAL="-qmacpstr"
26496 else
26497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26498 $as_echo "none" >&6; }
26499 fi
26500
26501 if test "x$wxUSE_UNIX" = "xyes"; then
26502 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26503 else
26504 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26505 fi
26506
26507 TOOLKIT=OSX_CARBON
26508 GUIDIST=OSX_CARBON_DIST
26509 WXBASEPORT="_carbon"
26510
26511 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26512 fi
26513
26514 if test "$wxUSE_OSX_COCOA" = 1; then
26515 TOOLKIT=OSX_COCOA
26516 GUIDIST=OSX_COCOA_DIST
26517
26518 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26519 fi
26520
26521 if test "$wxUSE_OSX_IPHONE" = 1; then
26522 TOOLKIT=OSX_IPHONE
26523 fi
26524
26525 if test "$wxUSE_OLD_COCOA" = 1; then
26526 TOOLKIT=COCOA
26527 GUIDIST=COCOA_DIST
26528 fi
26529
26530 if test "$wxUSE_PM" = 1; then
26531 TOOLKIT=PM
26532 GUIDIST=PM_DIST
26533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26534 $as_echo_n "checking for type SPBCDATA... " >&6; }
26535 if ${wx_cv_spbcdata+:} false; then :
26536 $as_echo_n "(cached) " >&6
26537 else
26538
26539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26540 /* end confdefs.h. */
26541
26542 #define INCL_PM
26543 #include <os2.h>
26544
26545 int
26546 main ()
26547 {
26548
26549 SPBCDATA test;
26550
26551 ;
26552 return 0;
26553 }
26554 _ACEOF
26555 if ac_fn_c_try_compile "$LINENO"; then :
26556 wx_cv_spbcdata=yes
26557 else
26558 wx_cv_spbcdata=no
26559
26560 fi
26561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26562
26563
26564 fi
26565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26566 $as_echo "$wx_cv_spbcdata" >&6; }
26567
26568 if test $wx_cv_spbcdata = "yes"; then
26569 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26570
26571 fi
26572 fi
26573
26574 if test "$TOOLKIT" = "PM" ; then
26575 TOOLKIT_DIR="os2"
26576 else
26577 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26578 fi
26579
26580 if test "$wxUSE_UNIVERSAL" = "yes"; then
26581 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26582 WIDGET_SET=univ
26583 fi
26584
26585 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26586 DISTDIR="wx\$(TOOLKIT)"
26587 else
26588 USE_GUI=0
26589
26590 TOOLKIT_DIR="base"
26591
26592 if test "$USE_WIN32" = 1 ; then
26593 TOOLKIT="MSW"
26594 fi
26595
26596 GUIDIST="BASE_DIST"
26597 DISTDIR="wxBase"
26598 fi
26599
26600
26601
26602 if test "$wxUSE_GUI" = "yes"; then
26603 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26604 for ac_header in X11/Xlib.h
26605 do :
26606 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26607 "
26608 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
26609 cat >>confdefs.h <<_ACEOF
26610 #define HAVE_X11_XLIB_H 1
26611 _ACEOF
26612
26613 fi
26614
26615 done
26616
26617 for ac_header in X11/XKBlib.h
26618 do :
26619 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26620 #if HAVE_X11_XLIB_H
26621 #include <X11/Xlib.h>
26622 #endif
26623
26624 "
26625 if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
26626 cat >>confdefs.h <<_ACEOF
26627 #define HAVE_X11_XKBLIB_H 1
26628 _ACEOF
26629
26630 fi
26631
26632 done
26633
26634 fi
26635 fi
26636
26637
26638
26639 USE_XINERAMA=0
26640 if test "$wxUSE_DISPLAY" = "yes"; then
26641 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26642
26643 ac_find_libraries=
26644
26645 fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
26646
26647
26648 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26649 if test -n "$ac_tool_prefix"; then
26650 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26651 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26653 $as_echo_n "checking for $ac_word... " >&6; }
26654 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26655 $as_echo_n "(cached) " >&6
26656 else
26657 case $PKG_CONFIG in
26658 [\\/]* | ?:[\\/]*)
26659 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26660 ;;
26661 *)
26662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26663 for as_dir in $PATH
26664 do
26665 IFS=$as_save_IFS
26666 test -z "$as_dir" && as_dir=.
26667 for ac_exec_ext in '' $ac_executable_extensions; do
26668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26669 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26671 break 2
26672 fi
26673 done
26674 done
26675 IFS=$as_save_IFS
26676
26677 ;;
26678 esac
26679 fi
26680 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26681 if test -n "$PKG_CONFIG"; then
26682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26683 $as_echo "$PKG_CONFIG" >&6; }
26684 else
26685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26686 $as_echo "no" >&6; }
26687 fi
26688
26689
26690 fi
26691 if test -z "$ac_cv_path_PKG_CONFIG"; then
26692 ac_pt_PKG_CONFIG=$PKG_CONFIG
26693 # Extract the first word of "pkg-config", so it can be a program name with args.
26694 set dummy pkg-config; ac_word=$2
26695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26696 $as_echo_n "checking for $ac_word... " >&6; }
26697 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26698 $as_echo_n "(cached) " >&6
26699 else
26700 case $ac_pt_PKG_CONFIG in
26701 [\\/]* | ?:[\\/]*)
26702 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26703 ;;
26704 *)
26705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26706 for as_dir in $PATH
26707 do
26708 IFS=$as_save_IFS
26709 test -z "$as_dir" && as_dir=.
26710 for ac_exec_ext in '' $ac_executable_extensions; do
26711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26712 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26714 break 2
26715 fi
26716 done
26717 done
26718 IFS=$as_save_IFS
26719
26720 ;;
26721 esac
26722 fi
26723 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26724 if test -n "$ac_pt_PKG_CONFIG"; then
26725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26726 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26727 else
26728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26729 $as_echo "no" >&6; }
26730 fi
26731
26732 if test "x$ac_pt_PKG_CONFIG" = x; then
26733 PKG_CONFIG=""
26734 else
26735 case $cross_compiling:$ac_tool_warned in
26736 yes:)
26737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26739 ac_tool_warned=yes ;;
26740 esac
26741 PKG_CONFIG=$ac_pt_PKG_CONFIG
26742 fi
26743 else
26744 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26745 fi
26746
26747 fi
26748 if test -n "$PKG_CONFIG"; then
26749 _pkg_min_version=0.9.0
26750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26751 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26752 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26754 $as_echo "yes" >&6; }
26755 else
26756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26757 $as_echo "no" >&6; }
26758 PKG_CONFIG=""
26759 fi
26760
26761 fi 6> /dev/null
26762
26763 pkg_failed=no
26764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26765 $as_echo_n "checking for Xinerama... " >&6; }
26766
26767 if test -n "$PKG_CONFIG"; then
26768 if test -n "$Xinerama_CFLAGS"; then
26769 pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
26770 else
26771 if test -n "$PKG_CONFIG" && \
26772 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26773 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26774 ac_status=$?
26775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26776 test $ac_status = 0; }; then
26777 pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26778 else
26779 pkg_failed=yes
26780 fi
26781 fi
26782 else
26783 pkg_failed=untried
26784 fi
26785 if test -n "$PKG_CONFIG"; then
26786 if test -n "$Xinerama_LIBS"; then
26787 pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
26788 else
26789 if test -n "$PKG_CONFIG" && \
26790 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26791 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26792 ac_status=$?
26793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26794 test $ac_status = 0; }; then
26795 pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26796 else
26797 pkg_failed=yes
26798 fi
26799 fi
26800 else
26801 pkg_failed=untried
26802 fi
26803
26804
26805
26806 if test $pkg_failed = yes; then
26807
26808 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26809 _pkg_short_errors_supported=yes
26810 else
26811 _pkg_short_errors_supported=no
26812 fi
26813 if test $_pkg_short_errors_supported = yes; then
26814 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26815 else
26816 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26817 fi
26818 # Put the nasty error message in config.log where it belongs
26819 echo "$Xinerama_PKG_ERRORS" >&5
26820
26821
26822 if test "x$ac_find_libraries" = "x"; then
26823 if test "xXineramaQueryScreens" != "x"; then
26824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26825 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26826 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26827 $as_echo_n "(cached) " >&6
26828 else
26829 ac_check_lib_save_LIBS=$LIBS
26830 LIBS="-lXinerama $LIBS"
26831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26832 /* end confdefs.h. */
26833
26834 /* Override any GCC internal prototype to avoid an error.
26835 Use char because int might match the return type of a GCC
26836 builtin and then its argument prototype would still apply. */
26837 #ifdef __cplusplus
26838 extern "C"
26839 #endif
26840 char XineramaQueryScreens ();
26841 int
26842 main ()
26843 {
26844 return XineramaQueryScreens ();
26845 ;
26846 return 0;
26847 }
26848 _ACEOF
26849 if ac_fn_c_try_link "$LINENO"; then :
26850 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26851 else
26852 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26853 fi
26854 rm -f core conftest.err conftest.$ac_objext \
26855 conftest$ac_exeext conftest.$ac_ext
26856 LIBS=$ac_check_lib_save_LIBS
26857 fi
26858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26859 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26860 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26861 ac_find_libraries="std"
26862 fi
26863
26864 fi
26865 fi
26866
26867 if test "x$ac_find_libraries" = "x"; then
26868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26869 $as_echo_n "checking elsewhere... " >&6; }
26870
26871 ac_find_libraries=
26872 for ac_dir in $SEARCH_LIB
26873 do
26874 for ac_extension in a so sl dylib dll.a; do
26875 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26876 ac_find_libraries=$ac_dir
26877 break 2
26878 fi
26879 done
26880 done
26881
26882 if test "x$ac_find_libraries" != "x"; then
26883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26884 $as_echo "yes" >&6; }
26885 else
26886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26887 $as_echo "no" >&6; }
26888 fi
26889 fi
26890
26891 elif test $pkg_failed = untried; then
26892
26893 if test "x$ac_find_libraries" = "x"; then
26894 if test "xXineramaQueryScreens" != "x"; then
26895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26896 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26897 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26898 $as_echo_n "(cached) " >&6
26899 else
26900 ac_check_lib_save_LIBS=$LIBS
26901 LIBS="-lXinerama $LIBS"
26902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26903 /* end confdefs.h. */
26904
26905 /* Override any GCC internal prototype to avoid an error.
26906 Use char because int might match the return type of a GCC
26907 builtin and then its argument prototype would still apply. */
26908 #ifdef __cplusplus
26909 extern "C"
26910 #endif
26911 char XineramaQueryScreens ();
26912 int
26913 main ()
26914 {
26915 return XineramaQueryScreens ();
26916 ;
26917 return 0;
26918 }
26919 _ACEOF
26920 if ac_fn_c_try_link "$LINENO"; then :
26921 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26922 else
26923 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26924 fi
26925 rm -f core conftest.err conftest.$ac_objext \
26926 conftest$ac_exeext conftest.$ac_ext
26927 LIBS=$ac_check_lib_save_LIBS
26928 fi
26929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26930 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26931 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26932 ac_find_libraries="std"
26933 fi
26934
26935 fi
26936 fi
26937
26938 if test "x$ac_find_libraries" = "x"; then
26939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26940 $as_echo_n "checking elsewhere... " >&6; }
26941
26942 ac_find_libraries=
26943 for ac_dir in $SEARCH_LIB
26944 do
26945 for ac_extension in a so sl dylib dll.a; do
26946 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26947 ac_find_libraries=$ac_dir
26948 break 2
26949 fi
26950 done
26951 done
26952
26953 if test "x$ac_find_libraries" != "x"; then
26954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26955 $as_echo "yes" >&6; }
26956 else
26957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26958 $as_echo "no" >&6; }
26959 fi
26960 fi
26961
26962 else
26963 Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
26964 Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
26965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26966 $as_echo "yes" >&6; }
26967
26968 ac_find_libraries="std"
26969
26970 eval ac_find_cflags=\$Xinerama_CFLAGS
26971 eval fl_libs=\$Xinerama_LIBS
26972
26973 for fl_path in $fl_libs
26974 do
26975 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26976 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
26977 fi
26978 done
26979
26980 fi
26981
26982 if test "$ac_find_libraries" != "" ; then
26983 if test "$ac_find_libraries" != "std" ; then
26984
26985 if test "$ac_find_libraries" = "default location"; then
26986 ac_path_to_link=""
26987 else
26988 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26989 result=$?
26990 if test $result = 0; then
26991 ac_path_to_link=""
26992 else
26993 ac_path_to_link=" -L$ac_find_libraries"
26994 fi
26995 fi
26996
26997 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26998 LDFLAGS="$LDFLAGS $ac_path_to_link"
26999 fi
27000 fi
27001 USE_XINERAMA=1
27002 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27003 else
27004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
27005 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27006 wxUSE_DISPLAY="no"
27007 fi
27008 elif test "$wxUSE_MSW" = 1; then
27009 ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
27010 "
27011 if test "x$ac_cv_header_ddraw_h" = xyes; then :
27012
27013 fi
27014
27015
27016 fi
27017 fi
27018
27019 if test "$wxUSE_DISPLAY" = "yes"; then
27020 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
27021
27022 ac_find_libraries=
27023
27024 fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
27025
27026
27027 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27028 if test -n "$ac_tool_prefix"; then
27029 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27030 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27032 $as_echo_n "checking for $ac_word... " >&6; }
27033 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27034 $as_echo_n "(cached) " >&6
27035 else
27036 case $PKG_CONFIG in
27037 [\\/]* | ?:[\\/]*)
27038 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27039 ;;
27040 *)
27041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27042 for as_dir in $PATH
27043 do
27044 IFS=$as_save_IFS
27045 test -z "$as_dir" && as_dir=.
27046 for ac_exec_ext in '' $ac_executable_extensions; do
27047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27048 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27050 break 2
27051 fi
27052 done
27053 done
27054 IFS=$as_save_IFS
27055
27056 ;;
27057 esac
27058 fi
27059 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27060 if test -n "$PKG_CONFIG"; then
27061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27062 $as_echo "$PKG_CONFIG" >&6; }
27063 else
27064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27065 $as_echo "no" >&6; }
27066 fi
27067
27068
27069 fi
27070 if test -z "$ac_cv_path_PKG_CONFIG"; then
27071 ac_pt_PKG_CONFIG=$PKG_CONFIG
27072 # Extract the first word of "pkg-config", so it can be a program name with args.
27073 set dummy pkg-config; ac_word=$2
27074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27075 $as_echo_n "checking for $ac_word... " >&6; }
27076 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27077 $as_echo_n "(cached) " >&6
27078 else
27079 case $ac_pt_PKG_CONFIG in
27080 [\\/]* | ?:[\\/]*)
27081 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27082 ;;
27083 *)
27084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27085 for as_dir in $PATH
27086 do
27087 IFS=$as_save_IFS
27088 test -z "$as_dir" && as_dir=.
27089 for ac_exec_ext in '' $ac_executable_extensions; do
27090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27091 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27093 break 2
27094 fi
27095 done
27096 done
27097 IFS=$as_save_IFS
27098
27099 ;;
27100 esac
27101 fi
27102 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27103 if test -n "$ac_pt_PKG_CONFIG"; then
27104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27105 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27106 else
27107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27108 $as_echo "no" >&6; }
27109 fi
27110
27111 if test "x$ac_pt_PKG_CONFIG" = x; then
27112 PKG_CONFIG=""
27113 else
27114 case $cross_compiling:$ac_tool_warned in
27115 yes:)
27116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27118 ac_tool_warned=yes ;;
27119 esac
27120 PKG_CONFIG=$ac_pt_PKG_CONFIG
27121 fi
27122 else
27123 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27124 fi
27125
27126 fi
27127 if test -n "$PKG_CONFIG"; then
27128 _pkg_min_version=0.9.0
27129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27130 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27131 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27133 $as_echo "yes" >&6; }
27134 else
27135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27136 $as_echo "no" >&6; }
27137 PKG_CONFIG=""
27138 fi
27139
27140 fi 6> /dev/null
27141
27142 pkg_failed=no
27143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
27144 $as_echo_n "checking for Xxf86vm... " >&6; }
27145
27146 if test -n "$PKG_CONFIG"; then
27147 if test -n "$Xxf86vm_CFLAGS"; then
27148 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
27149 else
27150 if test -n "$PKG_CONFIG" && \
27151 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27152 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27153 ac_status=$?
27154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27155 test $ac_status = 0; }; then
27156 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27157 else
27158 pkg_failed=yes
27159 fi
27160 fi
27161 else
27162 pkg_failed=untried
27163 fi
27164 if test -n "$PKG_CONFIG"; then
27165 if test -n "$Xxf86vm_LIBS"; then
27166 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
27167 else
27168 if test -n "$PKG_CONFIG" && \
27169 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27170 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27171 ac_status=$?
27172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27173 test $ac_status = 0; }; then
27174 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27175 else
27176 pkg_failed=yes
27177 fi
27178 fi
27179 else
27180 pkg_failed=untried
27181 fi
27182
27183
27184
27185 if test $pkg_failed = yes; then
27186
27187 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27188 _pkg_short_errors_supported=yes
27189 else
27190 _pkg_short_errors_supported=no
27191 fi
27192 if test $_pkg_short_errors_supported = yes; then
27193 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27194 else
27195 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27196 fi
27197 # Put the nasty error message in config.log where it belongs
27198 echo "$Xxf86vm_PKG_ERRORS" >&5
27199
27200
27201 if test "x$ac_find_libraries" = "x"; then
27202 if test "xXF86VidModeQueryExtension" != "x"; then
27203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27204 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27205 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27206 $as_echo_n "(cached) " >&6
27207 else
27208 ac_check_lib_save_LIBS=$LIBS
27209 LIBS="-lXxf86vm $LIBS"
27210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27211 /* end confdefs.h. */
27212
27213 /* Override any GCC internal prototype to avoid an error.
27214 Use char because int might match the return type of a GCC
27215 builtin and then its argument prototype would still apply. */
27216 #ifdef __cplusplus
27217 extern "C"
27218 #endif
27219 char XF86VidModeQueryExtension ();
27220 int
27221 main ()
27222 {
27223 return XF86VidModeQueryExtension ();
27224 ;
27225 return 0;
27226 }
27227 _ACEOF
27228 if ac_fn_c_try_link "$LINENO"; then :
27229 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27230 else
27231 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27232 fi
27233 rm -f core conftest.err conftest.$ac_objext \
27234 conftest$ac_exeext conftest.$ac_ext
27235 LIBS=$ac_check_lib_save_LIBS
27236 fi
27237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27238 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27239 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27240 ac_find_libraries="std"
27241 fi
27242
27243 fi
27244 fi
27245
27246 if test "x$ac_find_libraries" = "x"; then
27247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27248 $as_echo_n "checking elsewhere... " >&6; }
27249
27250 ac_find_libraries=
27251 for ac_dir in $SEARCH_LIB
27252 do
27253 for ac_extension in a so sl dylib dll.a; do
27254 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27255 ac_find_libraries=$ac_dir
27256 break 2
27257 fi
27258 done
27259 done
27260
27261 if test "x$ac_find_libraries" != "x"; then
27262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27263 $as_echo "yes" >&6; }
27264 else
27265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27266 $as_echo "no" >&6; }
27267 fi
27268 fi
27269
27270 elif test $pkg_failed = untried; then
27271
27272 if test "x$ac_find_libraries" = "x"; then
27273 if test "xXF86VidModeQueryExtension" != "x"; then
27274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27275 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27276 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27277 $as_echo_n "(cached) " >&6
27278 else
27279 ac_check_lib_save_LIBS=$LIBS
27280 LIBS="-lXxf86vm $LIBS"
27281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27282 /* end confdefs.h. */
27283
27284 /* Override any GCC internal prototype to avoid an error.
27285 Use char because int might match the return type of a GCC
27286 builtin and then its argument prototype would still apply. */
27287 #ifdef __cplusplus
27288 extern "C"
27289 #endif
27290 char XF86VidModeQueryExtension ();
27291 int
27292 main ()
27293 {
27294 return XF86VidModeQueryExtension ();
27295 ;
27296 return 0;
27297 }
27298 _ACEOF
27299 if ac_fn_c_try_link "$LINENO"; then :
27300 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27301 else
27302 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27303 fi
27304 rm -f core conftest.err conftest.$ac_objext \
27305 conftest$ac_exeext conftest.$ac_ext
27306 LIBS=$ac_check_lib_save_LIBS
27307 fi
27308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27309 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27310 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27311 ac_find_libraries="std"
27312 fi
27313
27314 fi
27315 fi
27316
27317 if test "x$ac_find_libraries" = "x"; then
27318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27319 $as_echo_n "checking elsewhere... " >&6; }
27320
27321 ac_find_libraries=
27322 for ac_dir in $SEARCH_LIB
27323 do
27324 for ac_extension in a so sl dylib dll.a; do
27325 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27326 ac_find_libraries=$ac_dir
27327 break 2
27328 fi
27329 done
27330 done
27331
27332 if test "x$ac_find_libraries" != "x"; then
27333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27334 $as_echo "yes" >&6; }
27335 else
27336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27337 $as_echo "no" >&6; }
27338 fi
27339 fi
27340
27341 else
27342 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
27343 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
27344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27345 $as_echo "yes" >&6; }
27346
27347 ac_find_libraries="std"
27348
27349 eval ac_find_cflags=\$Xxf86vm_CFLAGS
27350 eval fl_libs=\$Xxf86vm_LIBS
27351
27352 for fl_path in $fl_libs
27353 do
27354 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27355 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27356 fi
27357 done
27358
27359 fi
27360
27361 if test "$ac_find_libraries" != "" ; then
27362 for ac_header in X11/extensions/xf86vmode.h
27363 do :
27364 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27365 #if HAVE_X11_XLIB_H
27366 #include <X11/Xlib.h>
27367 #endif
27368
27369 "
27370 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes; then :
27371 cat >>confdefs.h <<_ACEOF
27372 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27373 _ACEOF
27374
27375 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27376
27377 fi
27378
27379 done
27380
27381 fi
27382 fi
27383 fi
27384
27385 if test "$wxUSE_DETECT_SM" = "yes"; then
27386 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27387
27388 ac_find_libraries=
27389
27390 fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
27391
27392
27393 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27394 if test -n "$ac_tool_prefix"; then
27395 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27396 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27398 $as_echo_n "checking for $ac_word... " >&6; }
27399 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27400 $as_echo_n "(cached) " >&6
27401 else
27402 case $PKG_CONFIG in
27403 [\\/]* | ?:[\\/]*)
27404 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27405 ;;
27406 *)
27407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27408 for as_dir in $PATH
27409 do
27410 IFS=$as_save_IFS
27411 test -z "$as_dir" && as_dir=.
27412 for ac_exec_ext in '' $ac_executable_extensions; do
27413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27414 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27416 break 2
27417 fi
27418 done
27419 done
27420 IFS=$as_save_IFS
27421
27422 ;;
27423 esac
27424 fi
27425 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27426 if test -n "$PKG_CONFIG"; then
27427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27428 $as_echo "$PKG_CONFIG" >&6; }
27429 else
27430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27431 $as_echo "no" >&6; }
27432 fi
27433
27434
27435 fi
27436 if test -z "$ac_cv_path_PKG_CONFIG"; then
27437 ac_pt_PKG_CONFIG=$PKG_CONFIG
27438 # Extract the first word of "pkg-config", so it can be a program name with args.
27439 set dummy pkg-config; ac_word=$2
27440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27441 $as_echo_n "checking for $ac_word... " >&6; }
27442 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27443 $as_echo_n "(cached) " >&6
27444 else
27445 case $ac_pt_PKG_CONFIG in
27446 [\\/]* | ?:[\\/]*)
27447 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27448 ;;
27449 *)
27450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27451 for as_dir in $PATH
27452 do
27453 IFS=$as_save_IFS
27454 test -z "$as_dir" && as_dir=.
27455 for ac_exec_ext in '' $ac_executable_extensions; do
27456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27457 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27459 break 2
27460 fi
27461 done
27462 done
27463 IFS=$as_save_IFS
27464
27465 ;;
27466 esac
27467 fi
27468 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27469 if test -n "$ac_pt_PKG_CONFIG"; then
27470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27471 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27472 else
27473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27474 $as_echo "no" >&6; }
27475 fi
27476
27477 if test "x$ac_pt_PKG_CONFIG" = x; then
27478 PKG_CONFIG=""
27479 else
27480 case $cross_compiling:$ac_tool_warned in
27481 yes:)
27482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27484 ac_tool_warned=yes ;;
27485 esac
27486 PKG_CONFIG=$ac_pt_PKG_CONFIG
27487 fi
27488 else
27489 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27490 fi
27491
27492 fi
27493 if test -n "$PKG_CONFIG"; then
27494 _pkg_min_version=0.9.0
27495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27496 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27497 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27499 $as_echo "yes" >&6; }
27500 else
27501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27502 $as_echo "no" >&6; }
27503 PKG_CONFIG=""
27504 fi
27505
27506 fi 6> /dev/null
27507
27508 pkg_failed=no
27509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27510 $as_echo_n "checking for SM... " >&6; }
27511
27512 if test -n "$PKG_CONFIG"; then
27513 if test -n "$SM_CFLAGS"; then
27514 pkg_cv_SM_CFLAGS="$SM_CFLAGS"
27515 else
27516 if test -n "$PKG_CONFIG" && \
27517 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27518 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27519 ac_status=$?
27520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27521 test $ac_status = 0; }; then
27522 pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27523 else
27524 pkg_failed=yes
27525 fi
27526 fi
27527 else
27528 pkg_failed=untried
27529 fi
27530 if test -n "$PKG_CONFIG"; then
27531 if test -n "$SM_LIBS"; then
27532 pkg_cv_SM_LIBS="$SM_LIBS"
27533 else
27534 if test -n "$PKG_CONFIG" && \
27535 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27536 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27537 ac_status=$?
27538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27539 test $ac_status = 0; }; then
27540 pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27541 else
27542 pkg_failed=yes
27543 fi
27544 fi
27545 else
27546 pkg_failed=untried
27547 fi
27548
27549
27550
27551 if test $pkg_failed = yes; then
27552
27553 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27554 _pkg_short_errors_supported=yes
27555 else
27556 _pkg_short_errors_supported=no
27557 fi
27558 if test $_pkg_short_errors_supported = yes; then
27559 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27560 else
27561 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27562 fi
27563 # Put the nasty error message in config.log where it belongs
27564 echo "$SM_PKG_ERRORS" >&5
27565
27566
27567 if test "x$ac_find_libraries" = "x"; then
27568 if test "xSmcOpenConnection" != "x"; then
27569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27570 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27571 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27572 $as_echo_n "(cached) " >&6
27573 else
27574 ac_check_lib_save_LIBS=$LIBS
27575 LIBS="-lSM $LIBS"
27576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27577 /* end confdefs.h. */
27578
27579 /* Override any GCC internal prototype to avoid an error.
27580 Use char because int might match the return type of a GCC
27581 builtin and then its argument prototype would still apply. */
27582 #ifdef __cplusplus
27583 extern "C"
27584 #endif
27585 char SmcOpenConnection ();
27586 int
27587 main ()
27588 {
27589 return SmcOpenConnection ();
27590 ;
27591 return 0;
27592 }
27593 _ACEOF
27594 if ac_fn_c_try_link "$LINENO"; then :
27595 ac_cv_lib_SM_SmcOpenConnection=yes
27596 else
27597 ac_cv_lib_SM_SmcOpenConnection=no
27598 fi
27599 rm -f core conftest.err conftest.$ac_objext \
27600 conftest$ac_exeext conftest.$ac_ext
27601 LIBS=$ac_check_lib_save_LIBS
27602 fi
27603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27604 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27605 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27606 ac_find_libraries="std"
27607 fi
27608
27609 fi
27610 fi
27611
27612 if test "x$ac_find_libraries" = "x"; then
27613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27614 $as_echo_n "checking elsewhere... " >&6; }
27615
27616 ac_find_libraries=
27617 for ac_dir in $SEARCH_LIB
27618 do
27619 for ac_extension in a so sl dylib dll.a; do
27620 if test -f "$ac_dir/libSM.$ac_extension"; then
27621 ac_find_libraries=$ac_dir
27622 break 2
27623 fi
27624 done
27625 done
27626
27627 if test "x$ac_find_libraries" != "x"; then
27628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27629 $as_echo "yes" >&6; }
27630 else
27631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27632 $as_echo "no" >&6; }
27633 fi
27634 fi
27635
27636 elif test $pkg_failed = untried; then
27637
27638 if test "x$ac_find_libraries" = "x"; then
27639 if test "xSmcOpenConnection" != "x"; then
27640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27641 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27642 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27643 $as_echo_n "(cached) " >&6
27644 else
27645 ac_check_lib_save_LIBS=$LIBS
27646 LIBS="-lSM $LIBS"
27647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27648 /* end confdefs.h. */
27649
27650 /* Override any GCC internal prototype to avoid an error.
27651 Use char because int might match the return type of a GCC
27652 builtin and then its argument prototype would still apply. */
27653 #ifdef __cplusplus
27654 extern "C"
27655 #endif
27656 char SmcOpenConnection ();
27657 int
27658 main ()
27659 {
27660 return SmcOpenConnection ();
27661 ;
27662 return 0;
27663 }
27664 _ACEOF
27665 if ac_fn_c_try_link "$LINENO"; then :
27666 ac_cv_lib_SM_SmcOpenConnection=yes
27667 else
27668 ac_cv_lib_SM_SmcOpenConnection=no
27669 fi
27670 rm -f core conftest.err conftest.$ac_objext \
27671 conftest$ac_exeext conftest.$ac_ext
27672 LIBS=$ac_check_lib_save_LIBS
27673 fi
27674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27675 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27676 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27677 ac_find_libraries="std"
27678 fi
27679
27680 fi
27681 fi
27682
27683 if test "x$ac_find_libraries" = "x"; then
27684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27685 $as_echo_n "checking elsewhere... " >&6; }
27686
27687 ac_find_libraries=
27688 for ac_dir in $SEARCH_LIB
27689 do
27690 for ac_extension in a so sl dylib dll.a; do
27691 if test -f "$ac_dir/libSM.$ac_extension"; then
27692 ac_find_libraries=$ac_dir
27693 break 2
27694 fi
27695 done
27696 done
27697
27698 if test "x$ac_find_libraries" != "x"; then
27699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27700 $as_echo "yes" >&6; }
27701 else
27702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27703 $as_echo "no" >&6; }
27704 fi
27705 fi
27706
27707 else
27708 SM_CFLAGS=$pkg_cv_SM_CFLAGS
27709 SM_LIBS=$pkg_cv_SM_LIBS
27710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27711 $as_echo "yes" >&6; }
27712
27713 ac_find_libraries="std"
27714
27715 eval ac_find_cflags=\$SM_CFLAGS
27716 eval fl_libs=\$SM_LIBS
27717
27718 for fl_path in $fl_libs
27719 do
27720 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27721 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27722 fi
27723 done
27724
27725 fi
27726
27727 if test "$ac_find_libraries" != "" ; then
27728 if test "$ac_find_libraries" != "std" ; then
27729
27730 if test "$ac_find_libraries" = "default location"; then
27731 ac_path_to_link=""
27732 else
27733 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27734 result=$?
27735 if test $result = 0; then
27736 ac_path_to_link=""
27737 else
27738 ac_path_to_link=" -L$ac_find_libraries"
27739 fi
27740 fi
27741
27742 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27743 LDFLAGS="$LDFLAGS $ac_path_to_link"
27744 fi
27745 fi
27746 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
27747 else
27748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27749 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27750 wxUSE_DETECT_SM="no"
27751 fi
27752 else
27753 wxUSE_DETECT_SM="no"
27754 fi
27755 fi
27756
27757
27758
27759 USE_OPENGL=0
27760 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27761
27762
27763 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27764 OPENGL_LIBS="-framework OpenGL -framework AGL"
27765 elif test "$wxUSE_MSW" = 1; then
27766 OPENGL_LIBS="-lopengl32 -lglu32"
27767 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27768
27769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27770 $as_echo_n "checking for OpenGL headers... " >&6; }
27771
27772 ac_find_includes=
27773 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
27774 do
27775 if test -f "$ac_dir/GL/gl.h"; then
27776 ac_find_includes=$ac_dir
27777 break
27778 fi
27779 done
27780
27781 if test "$ac_find_includes" != "" ; then
27782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27783 $as_echo "found in $ac_find_includes" >&6; }
27784
27785 if test "x$ac_find_includes" = "x/usr/include"; then
27786 ac_path_to_include=""
27787 else
27788 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27789 result=$?
27790 if test $result = 0; then
27791 ac_path_to_include=""
27792 else
27793 ac_path_to_include=" -I$ac_find_includes"
27794 fi
27795 fi
27796
27797 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
27798 else
27799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27800 $as_echo "not found" >&6; }
27801 fi
27802
27803 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27804 "
27805 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
27806
27807 ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27808 "
27809 if test "x$ac_cv_header_GL_glu_h" = xyes; then :
27810
27811 found_gl=0
27812
27813
27814 ac_find_libraries=
27815
27816 fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
27817
27818
27819 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27820 if test -n "$ac_tool_prefix"; then
27821 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27822 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27824 $as_echo_n "checking for $ac_word... " >&6; }
27825 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27826 $as_echo_n "(cached) " >&6
27827 else
27828 case $PKG_CONFIG in
27829 [\\/]* | ?:[\\/]*)
27830 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27831 ;;
27832 *)
27833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27834 for as_dir in $PATH
27835 do
27836 IFS=$as_save_IFS
27837 test -z "$as_dir" && as_dir=.
27838 for ac_exec_ext in '' $ac_executable_extensions; do
27839 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27840 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27842 break 2
27843 fi
27844 done
27845 done
27846 IFS=$as_save_IFS
27847
27848 ;;
27849 esac
27850 fi
27851 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27852 if test -n "$PKG_CONFIG"; then
27853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27854 $as_echo "$PKG_CONFIG" >&6; }
27855 else
27856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27857 $as_echo "no" >&6; }
27858 fi
27859
27860
27861 fi
27862 if test -z "$ac_cv_path_PKG_CONFIG"; then
27863 ac_pt_PKG_CONFIG=$PKG_CONFIG
27864 # Extract the first word of "pkg-config", so it can be a program name with args.
27865 set dummy pkg-config; ac_word=$2
27866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27867 $as_echo_n "checking for $ac_word... " >&6; }
27868 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27869 $as_echo_n "(cached) " >&6
27870 else
27871 case $ac_pt_PKG_CONFIG in
27872 [\\/]* | ?:[\\/]*)
27873 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27874 ;;
27875 *)
27876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27877 for as_dir in $PATH
27878 do
27879 IFS=$as_save_IFS
27880 test -z "$as_dir" && as_dir=.
27881 for ac_exec_ext in '' $ac_executable_extensions; do
27882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27883 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27885 break 2
27886 fi
27887 done
27888 done
27889 IFS=$as_save_IFS
27890
27891 ;;
27892 esac
27893 fi
27894 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27895 if test -n "$ac_pt_PKG_CONFIG"; then
27896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27897 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27898 else
27899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27900 $as_echo "no" >&6; }
27901 fi
27902
27903 if test "x$ac_pt_PKG_CONFIG" = x; then
27904 PKG_CONFIG=""
27905 else
27906 case $cross_compiling:$ac_tool_warned in
27907 yes:)
27908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27910 ac_tool_warned=yes ;;
27911 esac
27912 PKG_CONFIG=$ac_pt_PKG_CONFIG
27913 fi
27914 else
27915 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27916 fi
27917
27918 fi
27919 if test -n "$PKG_CONFIG"; then
27920 _pkg_min_version=0.9.0
27921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27922 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27923 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27925 $as_echo "yes" >&6; }
27926 else
27927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27928 $as_echo "no" >&6; }
27929 PKG_CONFIG=""
27930 fi
27931
27932 fi 6> /dev/null
27933
27934 pkg_failed=no
27935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27936 $as_echo_n "checking for GL... " >&6; }
27937
27938 if test -n "$PKG_CONFIG"; then
27939 if test -n "$GL_CFLAGS"; then
27940 pkg_cv_GL_CFLAGS="$GL_CFLAGS"
27941 else
27942 if test -n "$PKG_CONFIG" && \
27943 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27944 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27945 ac_status=$?
27946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27947 test $ac_status = 0; }; then
27948 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27949 else
27950 pkg_failed=yes
27951 fi
27952 fi
27953 else
27954 pkg_failed=untried
27955 fi
27956 if test -n "$PKG_CONFIG"; then
27957 if test -n "$GL_LIBS"; then
27958 pkg_cv_GL_LIBS="$GL_LIBS"
27959 else
27960 if test -n "$PKG_CONFIG" && \
27961 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27962 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27963 ac_status=$?
27964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27965 test $ac_status = 0; }; then
27966 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27967 else
27968 pkg_failed=yes
27969 fi
27970 fi
27971 else
27972 pkg_failed=untried
27973 fi
27974
27975
27976
27977 if test $pkg_failed = yes; then
27978
27979 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27980 _pkg_short_errors_supported=yes
27981 else
27982 _pkg_short_errors_supported=no
27983 fi
27984 if test $_pkg_short_errors_supported = yes; then
27985 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27986 else
27987 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27988 fi
27989 # Put the nasty error message in config.log where it belongs
27990 echo "$GL_PKG_ERRORS" >&5
27991
27992
27993 if test "x$ac_find_libraries" = "x"; then
27994 if test "xglBegin" != "x"; then
27995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27996 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27997 if ${ac_cv_lib_GL_glBegin+:} false; then :
27998 $as_echo_n "(cached) " >&6
27999 else
28000 ac_check_lib_save_LIBS=$LIBS
28001 LIBS="-lGL $LIBS"
28002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28003 /* end confdefs.h. */
28004
28005 /* Override any GCC internal prototype to avoid an error.
28006 Use char because int might match the return type of a GCC
28007 builtin and then its argument prototype would still apply. */
28008 #ifdef __cplusplus
28009 extern "C"
28010 #endif
28011 char glBegin ();
28012 int
28013 main ()
28014 {
28015 return glBegin ();
28016 ;
28017 return 0;
28018 }
28019 _ACEOF
28020 if ac_fn_c_try_link "$LINENO"; then :
28021 ac_cv_lib_GL_glBegin=yes
28022 else
28023 ac_cv_lib_GL_glBegin=no
28024 fi
28025 rm -f core conftest.err conftest.$ac_objext \
28026 conftest$ac_exeext conftest.$ac_ext
28027 LIBS=$ac_check_lib_save_LIBS
28028 fi
28029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28030 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28031 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
28032 ac_find_libraries="std"
28033 fi
28034
28035 fi
28036 fi
28037
28038 if test "x$ac_find_libraries" = "x"; then
28039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28040 $as_echo_n "checking elsewhere... " >&6; }
28041
28042 ac_find_libraries=
28043 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28044 do
28045 for ac_extension in a so sl dylib dll.a; do
28046 if test -f "$ac_dir/libGL.$ac_extension"; then
28047 ac_find_libraries=$ac_dir
28048 break 2
28049 fi
28050 done
28051 done
28052
28053 if test "x$ac_find_libraries" != "x"; then
28054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28055 $as_echo "yes" >&6; }
28056 else
28057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28058 $as_echo "no" >&6; }
28059 fi
28060 fi
28061
28062 elif test $pkg_failed = untried; then
28063
28064 if test "x$ac_find_libraries" = "x"; then
28065 if test "xglBegin" != "x"; then
28066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
28067 $as_echo_n "checking for glBegin in -lGL... " >&6; }
28068 if ${ac_cv_lib_GL_glBegin+:} false; then :
28069 $as_echo_n "(cached) " >&6
28070 else
28071 ac_check_lib_save_LIBS=$LIBS
28072 LIBS="-lGL $LIBS"
28073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28074 /* end confdefs.h. */
28075
28076 /* Override any GCC internal prototype to avoid an error.
28077 Use char because int might match the return type of a GCC
28078 builtin and then its argument prototype would still apply. */
28079 #ifdef __cplusplus
28080 extern "C"
28081 #endif
28082 char glBegin ();
28083 int
28084 main ()
28085 {
28086 return glBegin ();
28087 ;
28088 return 0;
28089 }
28090 _ACEOF
28091 if ac_fn_c_try_link "$LINENO"; then :
28092 ac_cv_lib_GL_glBegin=yes
28093 else
28094 ac_cv_lib_GL_glBegin=no
28095 fi
28096 rm -f core conftest.err conftest.$ac_objext \
28097 conftest$ac_exeext conftest.$ac_ext
28098 LIBS=$ac_check_lib_save_LIBS
28099 fi
28100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28101 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28102 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
28103 ac_find_libraries="std"
28104 fi
28105
28106 fi
28107 fi
28108
28109 if test "x$ac_find_libraries" = "x"; then
28110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28111 $as_echo_n "checking elsewhere... " >&6; }
28112
28113 ac_find_libraries=
28114 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28115 do
28116 for ac_extension in a so sl dylib dll.a; do
28117 if test -f "$ac_dir/libGL.$ac_extension"; then
28118 ac_find_libraries=$ac_dir
28119 break 2
28120 fi
28121 done
28122 done
28123
28124 if test "x$ac_find_libraries" != "x"; then
28125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28126 $as_echo "yes" >&6; }
28127 else
28128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28129 $as_echo "no" >&6; }
28130 fi
28131 fi
28132
28133 else
28134 GL_CFLAGS=$pkg_cv_GL_CFLAGS
28135 GL_LIBS=$pkg_cv_GL_LIBS
28136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28137 $as_echo "yes" >&6; }
28138
28139 ac_find_libraries="std"
28140
28141 eval ac_find_cflags=\$GL_CFLAGS
28142 eval fl_libs=\$GL_LIBS
28143
28144 for fl_path in $fl_libs
28145 do
28146 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28147 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28148 fi
28149 done
28150
28151 fi
28152
28153 if test "$ac_find_libraries" != "" ; then
28154 if test "$ac_find_libraries" != "std" ; then
28155
28156 if test "$ac_find_libraries" = "default location"; then
28157 ac_path_to_link=""
28158 else
28159 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28160 result=$?
28161 if test $result = 0; then
28162 ac_path_to_link=""
28163 else
28164 ac_path_to_link=" -L$ac_find_libraries"
28165 fi
28166 fi
28167
28168 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28169 LDFLAGS_GL="$ac_path_to_link"
28170 fi
28171 fi
28172
28173
28174 ac_find_libraries=
28175
28176 fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
28177
28178
28179 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28180 if test -n "$ac_tool_prefix"; then
28181 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28182 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28184 $as_echo_n "checking for $ac_word... " >&6; }
28185 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28186 $as_echo_n "(cached) " >&6
28187 else
28188 case $PKG_CONFIG in
28189 [\\/]* | ?:[\\/]*)
28190 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28191 ;;
28192 *)
28193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28194 for as_dir in $PATH
28195 do
28196 IFS=$as_save_IFS
28197 test -z "$as_dir" && as_dir=.
28198 for ac_exec_ext in '' $ac_executable_extensions; do
28199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28200 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28202 break 2
28203 fi
28204 done
28205 done
28206 IFS=$as_save_IFS
28207
28208 ;;
28209 esac
28210 fi
28211 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28212 if test -n "$PKG_CONFIG"; then
28213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28214 $as_echo "$PKG_CONFIG" >&6; }
28215 else
28216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28217 $as_echo "no" >&6; }
28218 fi
28219
28220
28221 fi
28222 if test -z "$ac_cv_path_PKG_CONFIG"; then
28223 ac_pt_PKG_CONFIG=$PKG_CONFIG
28224 # Extract the first word of "pkg-config", so it can be a program name with args.
28225 set dummy pkg-config; ac_word=$2
28226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28227 $as_echo_n "checking for $ac_word... " >&6; }
28228 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28229 $as_echo_n "(cached) " >&6
28230 else
28231 case $ac_pt_PKG_CONFIG in
28232 [\\/]* | ?:[\\/]*)
28233 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28234 ;;
28235 *)
28236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28237 for as_dir in $PATH
28238 do
28239 IFS=$as_save_IFS
28240 test -z "$as_dir" && as_dir=.
28241 for ac_exec_ext in '' $ac_executable_extensions; do
28242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28243 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28245 break 2
28246 fi
28247 done
28248 done
28249 IFS=$as_save_IFS
28250
28251 ;;
28252 esac
28253 fi
28254 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28255 if test -n "$ac_pt_PKG_CONFIG"; then
28256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28257 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28258 else
28259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28260 $as_echo "no" >&6; }
28261 fi
28262
28263 if test "x$ac_pt_PKG_CONFIG" = x; then
28264 PKG_CONFIG=""
28265 else
28266 case $cross_compiling:$ac_tool_warned in
28267 yes:)
28268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28269 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28270 ac_tool_warned=yes ;;
28271 esac
28272 PKG_CONFIG=$ac_pt_PKG_CONFIG
28273 fi
28274 else
28275 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28276 fi
28277
28278 fi
28279 if test -n "$PKG_CONFIG"; then
28280 _pkg_min_version=0.9.0
28281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28282 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28283 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28285 $as_echo "yes" >&6; }
28286 else
28287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28288 $as_echo "no" >&6; }
28289 PKG_CONFIG=""
28290 fi
28291
28292 fi 6> /dev/null
28293
28294 pkg_failed=no
28295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28296 $as_echo_n "checking for GLU... " >&6; }
28297
28298 if test -n "$PKG_CONFIG"; then
28299 if test -n "$GLU_CFLAGS"; then
28300 pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
28301 else
28302 if test -n "$PKG_CONFIG" && \
28303 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28304 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28305 ac_status=$?
28306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28307 test $ac_status = 0; }; then
28308 pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28309 else
28310 pkg_failed=yes
28311 fi
28312 fi
28313 else
28314 pkg_failed=untried
28315 fi
28316 if test -n "$PKG_CONFIG"; then
28317 if test -n "$GLU_LIBS"; then
28318 pkg_cv_GLU_LIBS="$GLU_LIBS"
28319 else
28320 if test -n "$PKG_CONFIG" && \
28321 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28322 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28323 ac_status=$?
28324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28325 test $ac_status = 0; }; then
28326 pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28327 else
28328 pkg_failed=yes
28329 fi
28330 fi
28331 else
28332 pkg_failed=untried
28333 fi
28334
28335
28336
28337 if test $pkg_failed = yes; then
28338
28339 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28340 _pkg_short_errors_supported=yes
28341 else
28342 _pkg_short_errors_supported=no
28343 fi
28344 if test $_pkg_short_errors_supported = yes; then
28345 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28346 else
28347 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28348 fi
28349 # Put the nasty error message in config.log where it belongs
28350 echo "$GLU_PKG_ERRORS" >&5
28351
28352
28353 if test "x$ac_find_libraries" = "x"; then
28354 if test "xgluBeginCurve" != "x"; then
28355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28356 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28357 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28358 $as_echo_n "(cached) " >&6
28359 else
28360 ac_check_lib_save_LIBS=$LIBS
28361 LIBS="-lGLU $LIBS"
28362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28363 /* end confdefs.h. */
28364
28365 /* Override any GCC internal prototype to avoid an error.
28366 Use char because int might match the return type of a GCC
28367 builtin and then its argument prototype would still apply. */
28368 #ifdef __cplusplus
28369 extern "C"
28370 #endif
28371 char gluBeginCurve ();
28372 int
28373 main ()
28374 {
28375 return gluBeginCurve ();
28376 ;
28377 return 0;
28378 }
28379 _ACEOF
28380 if ac_fn_c_try_link "$LINENO"; then :
28381 ac_cv_lib_GLU_gluBeginCurve=yes
28382 else
28383 ac_cv_lib_GLU_gluBeginCurve=no
28384 fi
28385 rm -f core conftest.err conftest.$ac_objext \
28386 conftest$ac_exeext conftest.$ac_ext
28387 LIBS=$ac_check_lib_save_LIBS
28388 fi
28389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28390 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28391 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28392 ac_find_libraries="std"
28393 fi
28394
28395 fi
28396 fi
28397
28398 if test "x$ac_find_libraries" = "x"; then
28399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28400 $as_echo_n "checking elsewhere... " >&6; }
28401
28402 ac_find_libraries=
28403 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28404 do
28405 for ac_extension in a so sl dylib dll.a; do
28406 if test -f "$ac_dir/libGLU.$ac_extension"; then
28407 ac_find_libraries=$ac_dir
28408 break 2
28409 fi
28410 done
28411 done
28412
28413 if test "x$ac_find_libraries" != "x"; then
28414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28415 $as_echo "yes" >&6; }
28416 else
28417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28418 $as_echo "no" >&6; }
28419 fi
28420 fi
28421
28422 elif test $pkg_failed = untried; then
28423
28424 if test "x$ac_find_libraries" = "x"; then
28425 if test "xgluBeginCurve" != "x"; then
28426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28427 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28428 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28429 $as_echo_n "(cached) " >&6
28430 else
28431 ac_check_lib_save_LIBS=$LIBS
28432 LIBS="-lGLU $LIBS"
28433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28434 /* end confdefs.h. */
28435
28436 /* Override any GCC internal prototype to avoid an error.
28437 Use char because int might match the return type of a GCC
28438 builtin and then its argument prototype would still apply. */
28439 #ifdef __cplusplus
28440 extern "C"
28441 #endif
28442 char gluBeginCurve ();
28443 int
28444 main ()
28445 {
28446 return gluBeginCurve ();
28447 ;
28448 return 0;
28449 }
28450 _ACEOF
28451 if ac_fn_c_try_link "$LINENO"; then :
28452 ac_cv_lib_GLU_gluBeginCurve=yes
28453 else
28454 ac_cv_lib_GLU_gluBeginCurve=no
28455 fi
28456 rm -f core conftest.err conftest.$ac_objext \
28457 conftest$ac_exeext conftest.$ac_ext
28458 LIBS=$ac_check_lib_save_LIBS
28459 fi
28460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28461 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28462 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28463 ac_find_libraries="std"
28464 fi
28465
28466 fi
28467 fi
28468
28469 if test "x$ac_find_libraries" = "x"; then
28470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28471 $as_echo_n "checking elsewhere... " >&6; }
28472
28473 ac_find_libraries=
28474 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28475 do
28476 for ac_extension in a so sl dylib dll.a; do
28477 if test -f "$ac_dir/libGLU.$ac_extension"; then
28478 ac_find_libraries=$ac_dir
28479 break 2
28480 fi
28481 done
28482 done
28483
28484 if test "x$ac_find_libraries" != "x"; then
28485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28486 $as_echo "yes" >&6; }
28487 else
28488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28489 $as_echo "no" >&6; }
28490 fi
28491 fi
28492
28493 else
28494 GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
28495 GLU_LIBS=$pkg_cv_GLU_LIBS
28496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28497 $as_echo "yes" >&6; }
28498
28499 ac_find_libraries="std"
28500
28501 eval ac_find_cflags=\$GLU_CFLAGS
28502 eval fl_libs=\$GLU_LIBS
28503
28504 for fl_path in $fl_libs
28505 do
28506 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28507 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28508 fi
28509 done
28510
28511 fi
28512
28513 if test "$ac_find_libraries" != "" ; then
28514 if test "$ac_find_libraries" != "std" ; then
28515
28516 if test "$ac_find_libraries" = "default location"; then
28517 ac_path_to_link=""
28518 else
28519 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28520 result=$?
28521 if test $result = 0; then
28522 ac_path_to_link=""
28523 else
28524 ac_path_to_link=" -L$ac_find_libraries"
28525 fi
28526 fi
28527
28528 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28529 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28530 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28531 fi
28532 fi
28533
28534 found_gl=1
28535 OPENGL_LIBS="-lGL -lGLU"
28536 fi
28537 fi
28538
28539 if test "$found_gl" != 1; then
28540
28541 ac_find_libraries=
28542
28543 fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
28544
28545
28546 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28547 if test -n "$ac_tool_prefix"; then
28548 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28549 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28551 $as_echo_n "checking for $ac_word... " >&6; }
28552 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28553 $as_echo_n "(cached) " >&6
28554 else
28555 case $PKG_CONFIG in
28556 [\\/]* | ?:[\\/]*)
28557 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28558 ;;
28559 *)
28560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28561 for as_dir in $PATH
28562 do
28563 IFS=$as_save_IFS
28564 test -z "$as_dir" && as_dir=.
28565 for ac_exec_ext in '' $ac_executable_extensions; do
28566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28567 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28569 break 2
28570 fi
28571 done
28572 done
28573 IFS=$as_save_IFS
28574
28575 ;;
28576 esac
28577 fi
28578 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28579 if test -n "$PKG_CONFIG"; then
28580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28581 $as_echo "$PKG_CONFIG" >&6; }
28582 else
28583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28584 $as_echo "no" >&6; }
28585 fi
28586
28587
28588 fi
28589 if test -z "$ac_cv_path_PKG_CONFIG"; then
28590 ac_pt_PKG_CONFIG=$PKG_CONFIG
28591 # Extract the first word of "pkg-config", so it can be a program name with args.
28592 set dummy pkg-config; ac_word=$2
28593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28594 $as_echo_n "checking for $ac_word... " >&6; }
28595 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28596 $as_echo_n "(cached) " >&6
28597 else
28598 case $ac_pt_PKG_CONFIG in
28599 [\\/]* | ?:[\\/]*)
28600 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28601 ;;
28602 *)
28603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28604 for as_dir in $PATH
28605 do
28606 IFS=$as_save_IFS
28607 test -z "$as_dir" && as_dir=.
28608 for ac_exec_ext in '' $ac_executable_extensions; do
28609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28610 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28612 break 2
28613 fi
28614 done
28615 done
28616 IFS=$as_save_IFS
28617
28618 ;;
28619 esac
28620 fi
28621 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28622 if test -n "$ac_pt_PKG_CONFIG"; then
28623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28624 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28625 else
28626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28627 $as_echo "no" >&6; }
28628 fi
28629
28630 if test "x$ac_pt_PKG_CONFIG" = x; then
28631 PKG_CONFIG=""
28632 else
28633 case $cross_compiling:$ac_tool_warned in
28634 yes:)
28635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28636 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28637 ac_tool_warned=yes ;;
28638 esac
28639 PKG_CONFIG=$ac_pt_PKG_CONFIG
28640 fi
28641 else
28642 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28643 fi
28644
28645 fi
28646 if test -n "$PKG_CONFIG"; then
28647 _pkg_min_version=0.9.0
28648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28649 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28650 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28652 $as_echo "yes" >&6; }
28653 else
28654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28655 $as_echo "no" >&6; }
28656 PKG_CONFIG=""
28657 fi
28658
28659 fi 6> /dev/null
28660
28661 pkg_failed=no
28662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28663 $as_echo_n "checking for MesaGL... " >&6; }
28664
28665 if test -n "$PKG_CONFIG"; then
28666 if test -n "$MesaGL_CFLAGS"; then
28667 pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
28668 else
28669 if test -n "$PKG_CONFIG" && \
28670 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28671 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28672 ac_status=$?
28673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28674 test $ac_status = 0; }; then
28675 pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28676 else
28677 pkg_failed=yes
28678 fi
28679 fi
28680 else
28681 pkg_failed=untried
28682 fi
28683 if test -n "$PKG_CONFIG"; then
28684 if test -n "$MesaGL_LIBS"; then
28685 pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
28686 else
28687 if test -n "$PKG_CONFIG" && \
28688 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28689 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28690 ac_status=$?
28691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28692 test $ac_status = 0; }; then
28693 pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28694 else
28695 pkg_failed=yes
28696 fi
28697 fi
28698 else
28699 pkg_failed=untried
28700 fi
28701
28702
28703
28704 if test $pkg_failed = yes; then
28705
28706 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28707 _pkg_short_errors_supported=yes
28708 else
28709 _pkg_short_errors_supported=no
28710 fi
28711 if test $_pkg_short_errors_supported = yes; then
28712 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28713 else
28714 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28715 fi
28716 # Put the nasty error message in config.log where it belongs
28717 echo "$MesaGL_PKG_ERRORS" >&5
28718
28719
28720 if test "x$ac_find_libraries" = "x"; then
28721 if test "xglEnable" != "x"; then
28722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28723 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28724 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28725 $as_echo_n "(cached) " >&6
28726 else
28727 ac_check_lib_save_LIBS=$LIBS
28728 LIBS="-lMesaGL $LIBS"
28729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28730 /* end confdefs.h. */
28731
28732 /* Override any GCC internal prototype to avoid an error.
28733 Use char because int might match the return type of a GCC
28734 builtin and then its argument prototype would still apply. */
28735 #ifdef __cplusplus
28736 extern "C"
28737 #endif
28738 char glEnable ();
28739 int
28740 main ()
28741 {
28742 return glEnable ();
28743 ;
28744 return 0;
28745 }
28746 _ACEOF
28747 if ac_fn_c_try_link "$LINENO"; then :
28748 ac_cv_lib_MesaGL_glEnable=yes
28749 else
28750 ac_cv_lib_MesaGL_glEnable=no
28751 fi
28752 rm -f core conftest.err conftest.$ac_objext \
28753 conftest$ac_exeext conftest.$ac_ext
28754 LIBS=$ac_check_lib_save_LIBS
28755 fi
28756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28757 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28758 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28759 ac_find_libraries="std"
28760 fi
28761
28762 fi
28763 fi
28764
28765 if test "x$ac_find_libraries" = "x"; then
28766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28767 $as_echo_n "checking elsewhere... " >&6; }
28768
28769 ac_find_libraries=
28770 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28771 do
28772 for ac_extension in a so sl dylib dll.a; do
28773 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28774 ac_find_libraries=$ac_dir
28775 break 2
28776 fi
28777 done
28778 done
28779
28780 if test "x$ac_find_libraries" != "x"; then
28781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28782 $as_echo "yes" >&6; }
28783 else
28784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28785 $as_echo "no" >&6; }
28786 fi
28787 fi
28788
28789 elif test $pkg_failed = untried; then
28790
28791 if test "x$ac_find_libraries" = "x"; then
28792 if test "xglEnable" != "x"; then
28793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28794 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28795 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28796 $as_echo_n "(cached) " >&6
28797 else
28798 ac_check_lib_save_LIBS=$LIBS
28799 LIBS="-lMesaGL $LIBS"
28800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28801 /* end confdefs.h. */
28802
28803 /* Override any GCC internal prototype to avoid an error.
28804 Use char because int might match the return type of a GCC
28805 builtin and then its argument prototype would still apply. */
28806 #ifdef __cplusplus
28807 extern "C"
28808 #endif
28809 char glEnable ();
28810 int
28811 main ()
28812 {
28813 return glEnable ();
28814 ;
28815 return 0;
28816 }
28817 _ACEOF
28818 if ac_fn_c_try_link "$LINENO"; then :
28819 ac_cv_lib_MesaGL_glEnable=yes
28820 else
28821 ac_cv_lib_MesaGL_glEnable=no
28822 fi
28823 rm -f core conftest.err conftest.$ac_objext \
28824 conftest$ac_exeext conftest.$ac_ext
28825 LIBS=$ac_check_lib_save_LIBS
28826 fi
28827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28828 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28829 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28830 ac_find_libraries="std"
28831 fi
28832
28833 fi
28834 fi
28835
28836 if test "x$ac_find_libraries" = "x"; then
28837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28838 $as_echo_n "checking elsewhere... " >&6; }
28839
28840 ac_find_libraries=
28841 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28842 do
28843 for ac_extension in a so sl dylib dll.a; do
28844 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28845 ac_find_libraries=$ac_dir
28846 break 2
28847 fi
28848 done
28849 done
28850
28851 if test "x$ac_find_libraries" != "x"; then
28852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28853 $as_echo "yes" >&6; }
28854 else
28855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28856 $as_echo "no" >&6; }
28857 fi
28858 fi
28859
28860 else
28861 MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
28862 MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
28863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28864 $as_echo "yes" >&6; }
28865
28866 ac_find_libraries="std"
28867
28868 eval ac_find_cflags=\$MesaGL_CFLAGS
28869 eval fl_libs=\$MesaGL_LIBS
28870
28871 for fl_path in $fl_libs
28872 do
28873 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28874 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28875 fi
28876 done
28877
28878 fi
28879
28880 if test "$ac_find_libraries" != "" ; then
28881 if test "$ac_find_libraries" != "std" ; then
28882
28883 if test "$ac_find_libraries" = "default location"; then
28884 ac_path_to_link=""
28885 else
28886 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28887 result=$?
28888 if test $result = 0; then
28889 ac_path_to_link=""
28890 else
28891 ac_path_to_link=" -L$ac_find_libraries"
28892 fi
28893 fi
28894
28895 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28896 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28897 fi
28898 fi
28899 OPENGL_LIBS="-lMesaGL -lMesaGLU"
28900 fi
28901 fi
28902
28903 fi
28904
28905
28906
28907 fi
28908
28909
28910
28911 if test "x$OPENGL_LIBS" = "x"; then
28912 if test "$wxUSE_OPENGL" = "yes"; then
28913 as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
28914 else
28915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28916 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28917 wxUSE_OPENGL=no
28918 USE_OPENGL=0
28919 fi
28920 fi
28921 else
28922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28923 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28924 wxUSE_OPENGL="no"
28925 fi
28926
28927 if test "$wxUSE_OPENGL" = "auto"; then
28928 wxUSE_OPENGL=yes
28929 fi
28930
28931 if test "$wxUSE_OPENGL" = "yes"; then
28932 USE_OPENGL=1
28933 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28934
28935 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28936
28937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28938 fi
28939 fi
28940
28941
28942 if test -n "$TOOLKIT" ; then
28943 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28944 fi
28945
28946
28947
28948 if test "$wxUSE_SHARED" = "yes"; then
28949 case "${host}" in
28950 *-pc-msdosdjgpp )
28951 wxUSE_SHARED=no
28952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28953 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28954 ;;
28955 esac
28956 fi
28957
28958 if test "$wxUSE_SHARED" = "yes"; then
28959
28960
28961 case "${host}" in
28962 *-*-cygwin* | *-*-mingw* )
28963 wx_cv_version_script=no
28964 ;;
28965
28966 *)
28967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28968 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28969 if ${wx_cv_version_script+:} false; then :
28970 $as_echo_n "(cached) " >&6
28971 else
28972
28973 echo "VER_1 { *; };" >conftest.sym
28974 echo "int main() { return 0; }" >conftest.cpp
28975
28976 if { ac_try='
28977 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28978 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28979 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28980 (eval $ac_try) 2>&5
28981 ac_status=$?
28982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28983 test $ac_status = 0; }; } ; then
28984 if test -s conftest.stderr ; then
28985 wx_cv_version_script=no
28986 else
28987 wx_cv_version_script=yes
28988 fi
28989 else
28990 wx_cv_version_script=no
28991 fi
28992
28993 if test $wx_cv_version_script = yes
28994 then
28995 echo "struct B { virtual ~B() { } }; \
28996 struct D : public B { }; \
28997 void F() { D d; }" > conftest.cpp
28998
28999 if { ac_try='
29000 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29001 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29002 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29003 (eval $ac_try) 2>&5
29004 ac_status=$?
29005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29006 test $ac_status = 0; }; } &&
29007 { ac_try='
29008 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29009 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29010 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29011 (eval $ac_try) 2>&5
29012 ac_status=$?
29013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29014 test $ac_status = 0; }; }
29015 then
29016 if { ac_try='
29017 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29018 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29019 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29020 (eval $ac_try) 2>&5
29021 ac_status=$?
29022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29023 test $ac_status = 0; }; }
29024 then
29025 wx_cv_version_script=yes
29026 else
29027 wx_cv_version_script=no
29028 fi
29029 fi
29030 fi
29031
29032 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29033 rm -f conftest1.output conftest2.output conftest3.output
29034
29035 fi
29036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
29037 $as_echo "$wx_cv_version_script" >&6; }
29038
29039 if test $wx_cv_version_script = yes ; then
29040 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
29041 fi
29042 ;;
29043 esac
29044
29045
29046 if test "$wxUSE_VISIBILITY" != "no"; then
29047
29048
29049 if test -n "$GCC"; then
29050 CFLAGS_VISIBILITY="-fvisibility=hidden"
29051 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
29052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
29053 $as_echo_n "checking for symbols visibility support... " >&6; }
29054 if ${wx_cv_cc_visibility+:} false; then :
29055 $as_echo_n "(cached) " >&6
29056 else
29057
29058 wx_save_CXXFLAGS="$CXXFLAGS"
29059 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29060 ac_ext=cpp
29061 ac_cpp='$CXXCPP $CPPFLAGS'
29062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29065
29066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29067 /* end confdefs.h. */
29068
29069 /* we need gcc >= 4.0, older versions with visibility support
29070 didn't have class visibility: */
29071 #if defined(__GNUC__) && __GNUC__ < 4
29072 error this gcc is too old;
29073 #endif
29074
29075 /* visibility only makes sense for ELF shared libs: */
29076 #if !defined(__ELF__) && !defined(__APPLE__)
29077 error this platform has no visibility;
29078 #endif
29079
29080 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
29081 #if defined(__clang__)
29082 clang compiler is still broken w.r.t. visibility;
29083 #endif
29084
29085 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
29086 extern __attribute__((__visibility__("default"))) int exportedvar;
29087 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
29088 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
29089 class __attribute__((__visibility__("default"))) Foo {
29090 Foo() {}
29091 };
29092
29093 int
29094 main ()
29095 {
29096
29097 ;
29098 return 0;
29099 }
29100 _ACEOF
29101 if ac_fn_cxx_try_compile "$LINENO"; then :
29102 wx_cv_cc_visibility=yes
29103 else
29104 wx_cv_cc_visibility=no
29105 fi
29106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29107 ac_ext=c
29108 ac_cpp='$CPP $CPPFLAGS'
29109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29112
29113 CXXFLAGS="$wx_save_CXXFLAGS"
29114 fi
29115
29116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
29117 $as_echo "$wx_cv_cc_visibility" >&6; }
29118 if test $wx_cv_cc_visibility = yes; then
29119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
29120 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
29121 if ${wx_cv_cc_broken_libstdcxx_visibility+:} false; then :
29122 $as_echo_n "(cached) " >&6
29123 else
29124
29125 wx_save_CXXFLAGS="$CXXFLAGS"
29126 wx_save_LDFLAGS="$LDFLAGS"
29127 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29128 LDFLAGS="$LDFLAGS -shared -fPIC"
29129 ac_ext=cpp
29130 ac_cpp='$CXXCPP $CPPFLAGS'
29131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29134
29135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29136 /* end confdefs.h. */
29137
29138 #include <string>
29139
29140 int
29141 main ()
29142 {
29143
29144 std::string s("hello");
29145 return s.length();
29146
29147 ;
29148 return 0;
29149 }
29150 _ACEOF
29151 if ac_fn_cxx_try_link "$LINENO"; then :
29152 wx_cv_cc_broken_libstdcxx_visibility=no
29153 else
29154 wx_cv_cc_broken_libstdcxx_visibility=yes
29155 fi
29156 rm -f core conftest.err conftest.$ac_objext \
29157 conftest$ac_exeext conftest.$ac_ext
29158 ac_ext=c
29159 ac_cpp='$CPP $CPPFLAGS'
29160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29163
29164 CXXFLAGS="$wx_save_CXXFLAGS"
29165 LDFLAGS="$wx_save_LDFLAGS"
29166 fi
29167
29168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29169 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29170
29171 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29173 $as_echo_n "checking whether we can work around it... " >&6; }
29174 if ${wx_cv_cc_visibility_workaround+:} false; then :
29175 $as_echo_n "(cached) " >&6
29176 else
29177
29178 ac_ext=cpp
29179 ac_cpp='$CXXCPP $CPPFLAGS'
29180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29183
29184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29185 /* end confdefs.h. */
29186
29187 #pragma GCC visibility push(default)
29188 #include <string>
29189 #pragma GCC visibility pop
29190
29191 int
29192 main ()
29193 {
29194
29195 std::string s("hello");
29196 return s.length();
29197
29198 ;
29199 return 0;
29200 }
29201 _ACEOF
29202 if ac_fn_cxx_try_link "$LINENO"; then :
29203 wx_cv_cc_visibility_workaround=no
29204 else
29205 wx_cv_cc_visibility_workaround=yes
29206 fi
29207 rm -f core conftest.err conftest.$ac_objext \
29208 conftest$ac_exeext conftest.$ac_ext
29209 ac_ext=c
29210 ac_cpp='$CPP $CPPFLAGS'
29211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29214
29215
29216 fi
29217
29218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29219 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29220
29221 if test $wx_cv_cc_visibility_workaround = no; then
29222 wx_cv_cc_visibility=no
29223 fi
29224 fi
29225 fi
29226
29227 if test $wx_cv_cc_visibility = yes; then
29228 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29229
29230 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29231 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29232
29233 fi
29234 else
29235 CFLAGS_VISIBILITY=""
29236 CXXFLAGS_VISIBILITY=""
29237 fi
29238
29239
29240 fi
29241
29242 fi
29243
29244 if test "x$SUNCXX" = xyes; then
29245 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
29246 WXCONFIG_RPATH="-R\$libdir"
29247 else
29248 case "${host}" in
29249 *-*-linux* | *-*-gnu* )
29250 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29251 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29252 ;;
29253
29254 *-*-solaris2* )
29255
29256 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
29257
29258 saveLdflags="$LDFLAGS"
29259 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29261 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29263 /* end confdefs.h. */
29264
29265 int
29266 main ()
29267 {
29268
29269 ;
29270 return 0;
29271 }
29272 _ACEOF
29273 if ac_fn_c_try_link "$LINENO"; then :
29274
29275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29276 $as_echo "yes" >&6; }
29277 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29278 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29279
29280 else
29281
29282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29283 $as_echo "no" >&6; }
29284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29285 $as_echo_n "checking if the linker accepts -R... " >&6; }
29286 LDFLAGS="$saveLdflags -Wl,-R,/"
29287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29288 /* end confdefs.h. */
29289
29290 int
29291 main ()
29292 {
29293
29294 ;
29295 return 0;
29296 }
29297 _ACEOF
29298 if ac_fn_c_try_link "$LINENO"; then :
29299
29300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29301 $as_echo "yes" >&6; }
29302 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
29303 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29304
29305 else
29306
29307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29308 $as_echo "no" >&6; }
29309
29310 fi
29311 rm -f core conftest.err conftest.$ac_objext \
29312 conftest$ac_exeext conftest.$ac_ext
29313
29314 fi
29315 rm -f core conftest.err conftest.$ac_objext \
29316 conftest$ac_exeext conftest.$ac_ext
29317 LDFLAGS="$saveLdflags"
29318 ;;
29319
29320 *-*-darwin* )
29321 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
29322 if test "$install_name_tool" -a -x "$install_name_tool"; then
29323 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29324 cat <<EOF >change-install-names
29325 #!/bin/sh
29326 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29327 changes=''
29328 for dep in \${libnames} ; do
29329 changes="\${changes} -change \${4}/\${dep} \${3}/\${dep}"
29330 done
29331 for i in \${libnames} ; do
29332 ${HOST_PREFIX}install_name_tool \${changes} -id \${3}/\${i} \${1}/\${i}
29333 done
29334 ${HOST_PREFIX}install_name_tool \${changes} \${2}/wxrc-${WX_RELEASE}
29335 EOF
29336 chmod +x change-install-names
29337 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \${DESTDIR}\${bindir} \${libdir} \$(wx_top_builddir)/lib"
29338 fi
29339
29340 HEADER_PAD_OPTION="-headerpad_max_install_names"
29341 ;;
29342
29343 *-*-cygwin* | *-*-mingw32* )
29344 ;;
29345
29346 *-*-hpux* )
29347 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
29348 WXCONFIG_RPATH="-Wl,+b,\$libdir"
29349 ;;
29350
29351 esac
29352 fi
29353
29354 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29355
29356 if test $wxUSE_RPATH = "no"; then
29357 SAMPLES_RPATH_FLAG=''
29358 DYLIB_PATH_POSTLINK=''
29359 WXCONFIG_RPATH=''
29360 fi
29361
29362 SHARED=1
29363
29364 else
29365
29366 config_linkage_component="-static"
29367 SHARED=0
29368
29369 fi
29370
29371
29372 UNICODE=0
29373 lib_unicode_suffix=
29374 WX_CHARTYPE="ansi"
29375 if test "$wxUSE_UNICODE" = "yes"; then
29376 lib_unicode_suffix=u
29377 WX_CHARTYPE="unicode"
29378 UNICODE=1
29379 fi
29380
29381 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29382 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29383
29384 DEBUG_INFO=0
29385 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29386 DEBUG_INFO=1
29387 fi
29388
29389 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29390
29391 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29392
29393 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29394
29395
29396 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29397 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29398 else
29399 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29400 fi
29401 if test "${TOOLKIT_DIR}" = "os2"; then
29402 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29403 else
29404 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29405 fi
29406
29407
29408
29409 if test "$wxUSE_OLD_COCOA" = 1; then
29410
29411 ac_ext=c
29412 ac_cpp='$CPP $CPPFLAGS'
29413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29416
29417 ac_ext=m
29418
29419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29420 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29422 /* end confdefs.h. */
29423 #include <AppKit/NSEvent.h>
29424 #include <CoreFoundation/CoreFoundation.h>
29425
29426 int
29427 main ()
29428 {
29429
29430 ;
29431 return 0;
29432 }
29433 _ACEOF
29434 if ac_fn_c_try_compile "$LINENO"; then :
29435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29436 $as_echo "no" >&6; }
29437 else
29438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29439 $as_echo "yes" >&6; }
29440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29441 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29443 /* end confdefs.h. */
29444 #define __Point__ 1
29445 #include <AppKit/NSEvent.h>
29446 #include <CoreFoundation/CoreFoundation.h>
29447
29448 int
29449 main ()
29450 {
29451
29452 ;
29453 return 0;
29454 }
29455 _ACEOF
29456 if ac_fn_c_try_compile "$LINENO"; then :
29457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29458 $as_echo "yes" >&6; }
29459 $as_echo "#define __Point__ 1" >>confdefs.h
29460
29461
29462 else
29463 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29465 as_fn_error $? "no
29466 See \`config.log' for more details" "$LINENO" 5; }
29467
29468 fi
29469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29470
29471 fi
29472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29473 ac_ext=c
29474 ac_cpp='$CPP $CPPFLAGS'
29475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29478
29479 fi
29480
29481
29482 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29483 if test "x$ac_cv_type_mode_t" = xyes; then :
29484
29485 else
29486
29487 cat >>confdefs.h <<_ACEOF
29488 #define mode_t int
29489 _ACEOF
29490
29491 fi
29492
29493 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29494 if test "x$ac_cv_type_off_t" = xyes; then :
29495
29496 else
29497
29498 cat >>confdefs.h <<_ACEOF
29499 #define off_t long int
29500 _ACEOF
29501
29502 fi
29503
29504 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29505 if test "x$ac_cv_type_pid_t" = xyes; then :
29506
29507 else
29508
29509 cat >>confdefs.h <<_ACEOF
29510 #define pid_t int
29511 _ACEOF
29512
29513 fi
29514
29515 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29516 if test "x$ac_cv_type_size_t" = xyes; then :
29517
29518 else
29519
29520 cat >>confdefs.h <<_ACEOF
29521 #define size_t unsigned int
29522 _ACEOF
29523
29524 fi
29525
29526
29527 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29528 if test "x$ac_cv_type_ssize_t" = xyes; then :
29529
29530 cat >>confdefs.h <<_ACEOF
29531 #define HAVE_SSIZE_T 1
29532 _ACEOF
29533
29534
29535 fi
29536
29537
29538 ac_ext=cpp
29539 ac_cpp='$CXXCPP $CPPFLAGS'
29540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29544 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29545 if ${wx_cv_size_t_is_uint+:} false; then :
29546 $as_echo_n "(cached) " >&6
29547 else
29548
29549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29550 /* end confdefs.h. */
29551 #include <stddef.h>
29552 int
29553 main ()
29554 {
29555
29556 return 0; }
29557
29558 struct Foo { void foo(size_t); void foo(unsigned int); };
29559
29560 int bar() {
29561
29562 ;
29563 return 0;
29564 }
29565 _ACEOF
29566 if ac_fn_cxx_try_compile "$LINENO"; then :
29567 wx_cv_size_t_is_uint=no
29568 else
29569 wx_cv_size_t_is_uint=yes
29570
29571 fi
29572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29573
29574
29575 fi
29576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29577 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29578
29579 if test "$wx_cv_size_t_is_uint" = "yes"; then
29580 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29581
29582 else
29583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29584 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29585 if ${wx_cv_size_t_is_ulong+:} false; then :
29586 $as_echo_n "(cached) " >&6
29587 else
29588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29589 /* end confdefs.h. */
29590 #include <stddef.h>
29591 int
29592 main ()
29593 {
29594
29595 return 0; }
29596
29597 struct Foo { void foo(size_t); void foo(unsigned long); };
29598
29599 int bar() {
29600
29601 ;
29602 return 0;
29603 }
29604 _ACEOF
29605 if ac_fn_cxx_try_compile "$LINENO"; then :
29606 wx_cv_size_t_is_ulong=no
29607 else
29608 wx_cv_size_t_is_ulong=yes
29609
29610 fi
29611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29612
29613 fi
29614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29615 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29616
29617 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29618 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29619
29620 fi
29621 fi
29622
29623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29624 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29625 if ${wx_cv_wchar_t_is_separate_type+:} false; then :
29626 $as_echo_n "(cached) " >&6
29627 else
29628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29629 /* end confdefs.h. */
29630 #include <wchar.h>
29631 int
29632 main ()
29633 {
29634
29635 return 0; }
29636
29637 struct Foo { void foo(wchar_t);
29638 void foo(unsigned short);
29639 void foo(unsigned int);
29640 void foo(unsigned long); };
29641
29642 int bar() {
29643
29644 ;
29645 return 0;
29646 }
29647 _ACEOF
29648 if ac_fn_cxx_try_compile "$LINENO"; then :
29649 wx_cv_wchar_t_is_separate_type=yes
29650 else
29651 wx_cv_wchar_t_is_separate_type=no
29652
29653 fi
29654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29655
29656 fi
29657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29658 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29659
29660 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29661 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29662
29663 else
29664 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29665
29666 fi
29667
29668 ac_ext=c
29669 ac_cpp='$CPP $CPPFLAGS'
29670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29673
29674
29675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29676 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29677 if ${wx_cv_struct_pw_gecos+:} false; then :
29678 $as_echo_n "(cached) " >&6
29679 else
29680
29681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29682 /* end confdefs.h. */
29683 #include <pwd.h>
29684 int
29685 main ()
29686 {
29687
29688 char *p;
29689 struct passwd *pw;
29690 p = pw->pw_gecos;
29691
29692 ;
29693 return 0;
29694 }
29695 _ACEOF
29696 if ac_fn_c_try_compile "$LINENO"; then :
29697
29698 wx_cv_struct_pw_gecos=yes
29699
29700 else
29701
29702 wx_cv_struct_pw_gecos=no
29703
29704
29705 fi
29706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29707
29708
29709 fi
29710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29711 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29712
29713 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29714 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29715
29716 fi
29717
29718
29719 WCSLEN_FOUND=0
29720 WCHAR_LINK=
29721 for ac_func in wcslen
29722 do :
29723 ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
29724 if test "x$ac_cv_func_wcslen" = xyes; then :
29725 cat >>confdefs.h <<_ACEOF
29726 #define HAVE_WCSLEN 1
29727 _ACEOF
29728 WCSLEN_FOUND=1
29729 fi
29730 done
29731
29732
29733 if test "$WCSLEN_FOUND" = 0; then
29734 if test "$TOOLKIT" = "MSW"; then
29735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29736 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29737 if ${ac_cv_lib_msvcrt_wcslen+:} false; then :
29738 $as_echo_n "(cached) " >&6
29739 else
29740 ac_check_lib_save_LIBS=$LIBS
29741 LIBS="-lmsvcrt $LIBS"
29742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29743 /* end confdefs.h. */
29744
29745 /* Override any GCC internal prototype to avoid an error.
29746 Use char because int might match the return type of a GCC
29747 builtin and then its argument prototype would still apply. */
29748 #ifdef __cplusplus
29749 extern "C"
29750 #endif
29751 char wcslen ();
29752 int
29753 main ()
29754 {
29755 return wcslen ();
29756 ;
29757 return 0;
29758 }
29759 _ACEOF
29760 if ac_fn_c_try_link "$LINENO"; then :
29761 ac_cv_lib_msvcrt_wcslen=yes
29762 else
29763 ac_cv_lib_msvcrt_wcslen=no
29764 fi
29765 rm -f core conftest.err conftest.$ac_objext \
29766 conftest$ac_exeext conftest.$ac_ext
29767 LIBS=$ac_check_lib_save_LIBS
29768 fi
29769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29770 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29771 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes; then :
29772 WCHAR_OK=1
29773 fi
29774
29775 else
29776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29777 $as_echo_n "checking for wcslen in -lw... " >&6; }
29778 if ${ac_cv_lib_w_wcslen+:} false; then :
29779 $as_echo_n "(cached) " >&6
29780 else
29781 ac_check_lib_save_LIBS=$LIBS
29782 LIBS="-lw $LIBS"
29783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29784 /* end confdefs.h. */
29785
29786 /* Override any GCC internal prototype to avoid an error.
29787 Use char because int might match the return type of a GCC
29788 builtin and then its argument prototype would still apply. */
29789 #ifdef __cplusplus
29790 extern "C"
29791 #endif
29792 char wcslen ();
29793 int
29794 main ()
29795 {
29796 return wcslen ();
29797 ;
29798 return 0;
29799 }
29800 _ACEOF
29801 if ac_fn_c_try_link "$LINENO"; then :
29802 ac_cv_lib_w_wcslen=yes
29803 else
29804 ac_cv_lib_w_wcslen=no
29805 fi
29806 rm -f core conftest.err conftest.$ac_objext \
29807 conftest$ac_exeext conftest.$ac_ext
29808 LIBS=$ac_check_lib_save_LIBS
29809 fi
29810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29811 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29812 if test "x$ac_cv_lib_w_wcslen" = xyes; then :
29813
29814 WCHAR_LINK=" -lw"
29815 WCSLEN_FOUND=1
29816
29817 fi
29818
29819 fi
29820 fi
29821
29822 if test "$WCSLEN_FOUND" = 1; then
29823 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29824
29825 fi
29826
29827 for ac_func in wcsftime
29828 do :
29829 ac_fn_c_check_func "$LINENO" "wcsftime" "ac_cv_func_wcsftime"
29830 if test "x$ac_cv_func_wcsftime" = xyes; then :
29831 cat >>confdefs.h <<_ACEOF
29832 #define HAVE_WCSFTIME 1
29833 _ACEOF
29834
29835 fi
29836 done
29837
29838
29839 if test "$wxUSE_MAC" != 1; then
29840 for ac_func in strnlen wcsdup wcsnlen wcscasecmp wcsncasecmp
29841 do :
29842 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29843 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29844 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29845 cat >>confdefs.h <<_ACEOF
29846 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29847 _ACEOF
29848
29849 fi
29850 done
29851
29852 fi
29853
29854 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29855 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29856 fi
29857
29858 ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29859 "
29860 if test "x$ac_cv_type_mbstate_t" = xyes; then :
29861
29862 cat >>confdefs.h <<_ACEOF
29863 #define HAVE_MBSTATE_T 1
29864 _ACEOF
29865
29866 for ac_func in wcsrtombs
29867 do :
29868 ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29869 if test "x$ac_cv_func_wcsrtombs" = xyes; then :
29870 cat >>confdefs.h <<_ACEOF
29871 #define HAVE_WCSRTOMBS 1
29872 _ACEOF
29873
29874 fi
29875 done
29876
29877 fi
29878
29879
29880 for ac_func in snprintf vsnprintf vsscanf
29881 do :
29882 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29883 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29884 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29885 cat >>confdefs.h <<_ACEOF
29886 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29887 _ACEOF
29888
29889 fi
29890 done
29891
29892
29893 ac_ext=cpp
29894 ac_cpp='$CXXCPP $CPPFLAGS'
29895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29898
29899 if test "$ac_cv_func_vsnprintf" = "yes"; then
29900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29901 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29902 if ${wx_cv_func_vsnprintf_decl+:} false; then :
29903 $as_echo_n "(cached) " >&6
29904 else
29905
29906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29907 /* end confdefs.h. */
29908
29909 #include <stdio.h>
29910 #include <stdarg.h>
29911
29912 int
29913 main ()
29914 {
29915
29916 char *buf;
29917 va_list ap;
29918 vsnprintf(buf, 10u, "%s", ap);
29919
29920 ;
29921 return 0;
29922 }
29923 _ACEOF
29924 if ac_fn_cxx_try_compile "$LINENO"; then :
29925 wx_cv_func_vsnprintf_decl=yes
29926 else
29927 wx_cv_func_vsnprintf_decl=no
29928
29929 fi
29930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29931
29932
29933 fi
29934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29935 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29936
29937 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29938 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29939
29940
29941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29942 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29943 if ${wx_cv_func_broken_vsnprintf_decl+:} false; then :
29944 $as_echo_n "(cached) " >&6
29945 else
29946
29947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29948 /* end confdefs.h. */
29949
29950 #include <stdio.h>
29951 #include <stdarg.h>
29952 #ifdef __MSL__
29953 #if __MSL__ >= 0x6000
29954 namespace std {}
29955 using namespace std;
29956 #endif
29957 #endif
29958
29959 int
29960 main ()
29961 {
29962
29963 char *buf;
29964 va_list ap;
29965 const char *fmt = "%s";
29966 vsnprintf(buf, 10u, fmt, ap);
29967
29968 ;
29969 return 0;
29970 }
29971 _ACEOF
29972 if ac_fn_cxx_try_compile "$LINENO"; then :
29973 wx_cv_func_broken_vsnprintf_decl=no
29974 else
29975 wx_cv_func_broken_vsnprintf_decl=yes
29976
29977 fi
29978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29979
29980
29981 fi
29982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29983 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29984
29985 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29986 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29987
29988 fi
29989 fi
29990 fi
29991
29992 if test "$ac_cv_func_snprintf" = "yes"; then
29993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29994 $as_echo_n "checking for snprintf declaration... " >&6; }
29995 if ${wx_cv_func_snprintf_decl+:} false; then :
29996 $as_echo_n "(cached) " >&6
29997 else
29998
29999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30000 /* end confdefs.h. */
30001
30002 #include <stdio.h>
30003 #include <stdarg.h>
30004 #ifdef __MSL__
30005 #if __MSL__ >= 0x6000
30006 namespace std {}
30007 using namespace std;
30008 #endif
30009 #endif
30010
30011 int
30012 main ()
30013 {
30014
30015 char *buf;
30016 snprintf(buf, 10u, "%s", "wx");
30017
30018 ;
30019 return 0;
30020 }
30021 _ACEOF
30022 if ac_fn_cxx_try_compile "$LINENO"; then :
30023 wx_cv_func_snprintf_decl=yes
30024 else
30025 wx_cv_func_snprintf_decl=no
30026
30027 fi
30028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30029
30030
30031 fi
30032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
30033 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
30034
30035 if test "$wx_cv_func_snprintf_decl" = "yes"; then
30036 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
30037
30038 fi
30039
30040 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
30041
30042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
30043 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
30044 if ${wx_cv_func_snprintf_pos_params+:} false; then :
30045 $as_echo_n "(cached) " >&6
30046 else
30047
30048 if test "$cross_compiling" = yes; then :
30049
30050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
30051 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
30052 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
30053 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
30054 wx_cv_func_snprintf_pos_params=no
30055
30056
30057 else
30058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30059 /* end confdefs.h. */
30060
30061 #include <stdio.h>
30062
30063 int main (void)
30064 {
30065 char buffer[128];
30066 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
30067 if (strcmp ("2 3 1", buffer) == 0)
30068 exit (0);
30069 exit (1);
30070 }
30071
30072 _ACEOF
30073 if ac_fn_cxx_try_run "$LINENO"; then :
30074 wx_cv_func_snprintf_pos_params=no
30075 else
30076 wx_cv_func_snprintf_pos_params=yes
30077 fi
30078 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30079 conftest.$ac_objext conftest.beam conftest.$ac_ext
30080 fi
30081
30082
30083
30084 fi
30085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
30086 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
30087
30088 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
30089 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
30090
30091 fi
30092 fi
30093 fi
30094
30095 if test "$ac_cv_func_vsscanf" = "yes"; then
30096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
30097 $as_echo_n "checking for vsscanf declaration... " >&6; }
30098 if ${wx_cv_func_vsscanf_decl+:} false; then :
30099 $as_echo_n "(cached) " >&6
30100 else
30101
30102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30103 /* end confdefs.h. */
30104
30105 #include <stdio.h>
30106 #include <stdarg.h>
30107 #ifdef __MSL__
30108 #if __MSL__ >= 0x6000
30109 namespace std {}
30110 using namespace std;
30111 #endif
30112 #endif
30113
30114 int
30115 main ()
30116 {
30117
30118 char *buf;
30119 va_list args;
30120 vsscanf(buf, "%s", args);
30121
30122 ;
30123 return 0;
30124 }
30125 _ACEOF
30126 if ac_fn_cxx_try_compile "$LINENO"; then :
30127 wx_cv_func_vsscanf_decl=yes
30128 else
30129 wx_cv_func_vsscanf_decl=no
30130
30131 fi
30132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30133
30134
30135 fi
30136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
30137 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
30138
30139 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
30140 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
30141
30142 fi
30143 fi
30144 ac_ext=c
30145 ac_cpp='$CPP $CPPFLAGS'
30146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30149
30150
30151 if test "$wxUSE_UNICODE" = yes; then
30152
30153 wchar_headers="#include <stdio.h>
30154 #include <wchar.h>"
30155 case "${host}" in
30156 *-*-solaris2* )
30157 for ac_header in widec.h
30158 do :
30159 ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
30160 "
30161 if test "x$ac_cv_header_widec_h" = xyes; then :
30162 cat >>confdefs.h <<_ACEOF
30163 #define HAVE_WIDEC_H 1
30164 _ACEOF
30165
30166 fi
30167
30168 done
30169
30170 if test "$ac_cv_header_widec_h" = "yes"; then
30171 wchar_headers="$wchar_headers
30172 #include <widec.h>"
30173 fi
30174 esac
30175
30176
30177 for wx_func in putws fputws wprintf vswprintf vswscanf
30178 do
30179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30180 $as_echo_n "checking for $wx_func... " >&6; }
30181 if eval \${wx_cv_func_$wx_func+:} false; then :
30182 $as_echo_n "(cached) " >&6
30183 else
30184
30185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30186 /* end confdefs.h. */
30187
30188
30189 $wchar_headers
30190 $ac_includes_default
30191
30192 int
30193 main ()
30194 {
30195
30196 #ifndef $wx_func
30197 &$wx_func;
30198 #endif
30199
30200
30201 ;
30202 return 0;
30203 }
30204
30205 _ACEOF
30206 if ac_fn_c_try_link "$LINENO"; then :
30207 eval wx_cv_func_$wx_func=yes
30208 else
30209 eval wx_cv_func_$wx_func=no
30210 fi
30211 rm -f core conftest.err conftest.$ac_objext \
30212 conftest$ac_exeext conftest.$ac_ext
30213
30214 fi
30215 eval ac_res=\$wx_cv_func_$wx_func
30216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30217 $as_echo "$ac_res" >&6; }
30218
30219 if eval test \$wx_cv_func_$wx_func = yes
30220 then
30221 cat >>confdefs.h <<_ACEOF
30222 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30223 _ACEOF
30224
30225
30226 else
30227 :
30228
30229 fi
30230 done
30231
30232
30233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30234 $as_echo_n "checking for _vsnwprintf... " >&6; }
30235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30236 /* end confdefs.h. */
30237 #include <wchar.h>
30238 int
30239 main ()
30240 {
30241 &_vsnwprintf;
30242 ;
30243 return 0;
30244 }
30245 _ACEOF
30246 if ac_fn_c_try_compile "$LINENO"; then :
30247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30248 $as_echo "yes" >&6; }
30249 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30250
30251 else
30252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30253 $as_echo "no" >&6; }
30254 fi
30255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
30256 fi
30257
30258 if test "$wxUSE_FILE" = "yes"; then
30259
30260 for wx_func in fsync
30261 do
30262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30263 $as_echo_n "checking for $wx_func... " >&6; }
30264 if eval \${wx_cv_func_$wx_func+:} false; then :
30265 $as_echo_n "(cached) " >&6
30266 else
30267
30268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30269 /* end confdefs.h. */
30270
30271
30272
30273 $ac_includes_default
30274
30275 int
30276 main ()
30277 {
30278
30279 #ifndef $wx_func
30280 &$wx_func;
30281 #endif
30282
30283
30284 ;
30285 return 0;
30286 }
30287
30288 _ACEOF
30289 if ac_fn_c_try_link "$LINENO"; then :
30290 eval wx_cv_func_$wx_func=yes
30291 else
30292 eval wx_cv_func_$wx_func=no
30293 fi
30294 rm -f core conftest.err conftest.$ac_objext \
30295 conftest$ac_exeext conftest.$ac_ext
30296
30297 fi
30298 eval ac_res=\$wx_cv_func_$wx_func
30299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30300 $as_echo "$ac_res" >&6; }
30301
30302 if eval test \$wx_cv_func_$wx_func = yes
30303 then
30304 cat >>confdefs.h <<_ACEOF
30305 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30306 _ACEOF
30307
30308
30309 else
30310 :
30311
30312 fi
30313 done
30314
30315 fi
30316
30317 ac_ext=cpp
30318 ac_cpp='$CXXCPP $CPPFLAGS'
30319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30322
30323
30324 for wx_func in round
30325 do
30326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30327 $as_echo_n "checking for $wx_func... " >&6; }
30328 if eval \${wx_cv_func_$wx_func+:} false; then :
30329 $as_echo_n "(cached) " >&6
30330 else
30331
30332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30333 /* end confdefs.h. */
30334
30335
30336 #include <math.h>
30337 $ac_includes_default
30338
30339 int
30340 main ()
30341 {
30342
30343 #ifndef $wx_func
30344 &$wx_func;
30345 #endif
30346
30347
30348 ;
30349 return 0;
30350 }
30351
30352 _ACEOF
30353 if ac_fn_cxx_try_link "$LINENO"; then :
30354 eval wx_cv_func_$wx_func=yes
30355 else
30356 eval wx_cv_func_$wx_func=no
30357 fi
30358 rm -f core conftest.err conftest.$ac_objext \
30359 conftest$ac_exeext conftest.$ac_ext
30360
30361 fi
30362 eval ac_res=\$wx_cv_func_$wx_func
30363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30364 $as_echo "$ac_res" >&6; }
30365
30366 if eval test \$wx_cv_func_$wx_func = yes
30367 then
30368 cat >>confdefs.h <<_ACEOF
30369 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30370 _ACEOF
30371
30372
30373 else
30374 :
30375
30376 fi
30377 done
30378
30379 ac_ext=c
30380 ac_cpp='$CPP $CPPFLAGS'
30381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30384
30385
30386 if test "$TOOLKIT" != "MSW"; then
30387
30388 if test "$wxUSE_LIBICONV" != "no" ; then
30389
30390
30391
30392 # Check whether --with-libiconv-prefix was given.
30393 if test "${with_libiconv_prefix+set}" = set; then :
30394 withval=$with_libiconv_prefix;
30395 for dir in `echo "$withval" | tr : ' '`; do
30396 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30397 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30398 done
30399
30400 fi
30401
30402
30403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30404 $as_echo_n "checking for iconv... " >&6; }
30405 if ${am_cv_func_iconv+:} false; then :
30406 $as_echo_n "(cached) " >&6
30407 else
30408
30409 am_cv_func_iconv="no, consider installing GNU libiconv"
30410 am_cv_lib_iconv=no
30411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30412 /* end confdefs.h. */
30413 #include <stdlib.h>
30414 #include <iconv.h>
30415 int
30416 main ()
30417 {
30418 iconv_t cd = iconv_open("","");
30419 iconv(cd,NULL,NULL,NULL,NULL);
30420 iconv_close(cd);
30421 ;
30422 return 0;
30423 }
30424 _ACEOF
30425 if ac_fn_c_try_link "$LINENO"; then :
30426 am_cv_func_iconv=yes
30427 fi
30428 rm -f core conftest.err conftest.$ac_objext \
30429 conftest$ac_exeext conftest.$ac_ext
30430 if test "$am_cv_func_iconv" != yes; then
30431 am_save_LIBS="$LIBS"
30432 LIBS="$LIBS -liconv"
30433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30434 /* end confdefs.h. */
30435 #include <stdlib.h>
30436 #include <iconv.h>
30437 int
30438 main ()
30439 {
30440 iconv_t cd = iconv_open("","");
30441 iconv(cd,NULL,NULL,NULL,NULL);
30442 iconv_close(cd);
30443 ;
30444 return 0;
30445 }
30446 _ACEOF
30447 if ac_fn_c_try_link "$LINENO"; then :
30448 am_cv_lib_iconv=yes
30449 am_cv_func_iconv=yes
30450 fi
30451 rm -f core conftest.err conftest.$ac_objext \
30452 conftest$ac_exeext conftest.$ac_ext
30453 LIBS="$am_save_LIBS"
30454 fi
30455
30456 fi
30457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30458 $as_echo "$am_cv_func_iconv" >&6; }
30459 if test "$am_cv_func_iconv" = yes; then
30460
30461 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30462
30463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30464 $as_echo_n "checking if iconv needs const... " >&6; }
30465 if ${wx_cv_func_iconv_const+:} false; then :
30466 $as_echo_n "(cached) " >&6
30467 else
30468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30469 /* end confdefs.h. */
30470
30471 #include <stdlib.h>
30472 #include <iconv.h>
30473 extern
30474 #ifdef __cplusplus
30475 "C"
30476 #endif
30477 #if defined(__STDC__) || defined(__cplusplus)
30478 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30479 #else
30480 size_t iconv();
30481 #endif
30482
30483 int
30484 main ()
30485 {
30486
30487 ;
30488 return 0;
30489 }
30490 _ACEOF
30491 if ac_fn_c_try_compile "$LINENO"; then :
30492 wx_cv_func_iconv_const="no"
30493 else
30494 wx_cv_func_iconv_const="yes"
30495
30496 fi
30497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30498
30499 fi
30500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30501 $as_echo "$wx_cv_func_iconv_const" >&6; }
30502
30503 iconv_const=
30504 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30505 iconv_const="const"
30506 fi
30507
30508
30509 cat >>confdefs.h <<_ACEOF
30510 #define ICONV_CONST $iconv_const
30511 _ACEOF
30512
30513 fi
30514 LIBICONV=
30515 if test "$am_cv_lib_iconv" = yes; then
30516 LIBICONV="-liconv"
30517 fi
30518
30519
30520 LIBS="$LIBICONV $LIBS"
30521 fi
30522
30523 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30524 for ac_func in sigaction
30525 do :
30526 ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
30527 if test "x$ac_cv_func_sigaction" = xyes; then :
30528 cat >>confdefs.h <<_ACEOF
30529 #define HAVE_SIGACTION 1
30530 _ACEOF
30531
30532 fi
30533 done
30534
30535
30536 if test "$ac_cv_func_sigaction" = "no"; then
30537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30538 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30539 wxUSE_ON_FATAL_EXCEPTION=no
30540 fi
30541
30542 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30544 $as_echo_n "checking for sa_handler type... " >&6; }
30545 if ${wx_cv_type_sa_handler+:} false; then :
30546 $as_echo_n "(cached) " >&6
30547 else
30548
30549 ac_ext=cpp
30550 ac_cpp='$CXXCPP $CPPFLAGS'
30551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30554
30555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30556 /* end confdefs.h. */
30557 #include <signal.h>
30558 int
30559 main ()
30560 {
30561
30562 extern void testSigHandler(int);
30563
30564 struct sigaction sa;
30565 sa.sa_handler = testSigHandler;
30566
30567 ;
30568 return 0;
30569 }
30570 _ACEOF
30571 if ac_fn_cxx_try_compile "$LINENO"; then :
30572
30573 wx_cv_type_sa_handler=int
30574
30575 else
30576
30577 wx_cv_type_sa_handler=void
30578
30579 fi
30580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30581 ac_ext=c
30582 ac_cpp='$CPP $CPPFLAGS'
30583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30586
30587
30588 fi
30589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30590 $as_echo "$wx_cv_type_sa_handler" >&6; }
30591
30592 cat >>confdefs.h <<_ACEOF
30593 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30594 _ACEOF
30595
30596 fi
30597 fi
30598
30599 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30601 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30602 if ${wx_cv_func_backtrace+:} false; then :
30603 $as_echo_n "(cached) " >&6
30604 else
30605
30606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
30607 $as_echo_n "checking for library containing backtrace... " >&6; }
30608 if ${ac_cv_search_backtrace+:} false; then :
30609 $as_echo_n "(cached) " >&6
30610 else
30611 ac_func_search_save_LIBS=$LIBS
30612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30613 /* end confdefs.h. */
30614
30615 /* Override any GCC internal prototype to avoid an error.
30616 Use char because int might match the return type of a GCC
30617 builtin and then its argument prototype would still apply. */
30618 #ifdef __cplusplus
30619 extern "C"
30620 #endif
30621 char backtrace ();
30622 int
30623 main ()
30624 {
30625 return backtrace ();
30626 ;
30627 return 0;
30628 }
30629 _ACEOF
30630 for ac_lib in '' execinfo; do
30631 if test -z "$ac_lib"; then
30632 ac_res="none required"
30633 else
30634 ac_res=-l$ac_lib
30635 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
30636 fi
30637 if ac_fn_c_try_link "$LINENO"; then :
30638 ac_cv_search_backtrace=$ac_res
30639 fi
30640 rm -f core conftest.err conftest.$ac_objext \
30641 conftest$ac_exeext
30642 if ${ac_cv_search_backtrace+:} false; then :
30643 break
30644 fi
30645 done
30646 if ${ac_cv_search_backtrace+:} false; then :
30647
30648 else
30649 ac_cv_search_backtrace=no
30650 fi
30651 rm conftest.$ac_ext
30652 LIBS=$ac_func_search_save_LIBS
30653 fi
30654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
30655 $as_echo "$ac_cv_search_backtrace" >&6; }
30656 ac_res=$ac_cv_search_backtrace
30657 if test "$ac_res" != no; then :
30658 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
30659
30660 ac_ext=cpp
30661 ac_cpp='$CXXCPP $CPPFLAGS'
30662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30665
30666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30667 /* end confdefs.h. */
30668 #include <execinfo.h>
30669 int
30670 main ()
30671 {
30672
30673 void *trace[1];
30674 char **messages;
30675 backtrace(trace, 1);
30676 messages = backtrace_symbols(trace, 1);
30677
30678 ;
30679 return 0;
30680 }
30681 _ACEOF
30682 if ac_fn_cxx_try_link "$LINENO"; then :
30683 wx_cv_func_backtrace=yes
30684 else
30685 wx_cv_func_backtrace=no
30686
30687 fi
30688 rm -f core conftest.err conftest.$ac_objext \
30689 conftest$ac_exeext conftest.$ac_ext
30690 ac_ext=c
30691 ac_cpp='$CPP $CPPFLAGS'
30692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30695
30696
30697 else
30698 wx_cv_func_backtrace=no
30699
30700 fi
30701
30702
30703
30704 fi
30705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30706 $as_echo "$wx_cv_func_backtrace" >&6; }
30707
30708 if test "$wx_cv_func_backtrace" = "no"; then
30709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30710 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30711 wxUSE_STACKWALKER=no
30712 else
30713 if test "$ac_cv_header_cxxabi_h" = "yes"; then
30714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30715 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30716 if ${wx_cv_func_cxa_demangle+:} false; then :
30717 $as_echo_n "(cached) " >&6
30718 else
30719
30720 ac_ext=cpp
30721 ac_cpp='$CXXCPP $CPPFLAGS'
30722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30725
30726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30727 /* end confdefs.h. */
30728 #include <cxxabi.h>
30729 int
30730 main ()
30731 {
30732
30733 int rc;
30734 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30735
30736 ;
30737 return 0;
30738 }
30739 _ACEOF
30740 if ac_fn_cxx_try_link "$LINENO"; then :
30741 wx_cv_func_cxa_demangle=yes
30742 else
30743 wx_cv_func_cxa_demangle=no
30744
30745 fi
30746 rm -f core conftest.err conftest.$ac_objext \
30747 conftest$ac_exeext conftest.$ac_ext
30748 ac_ext=c
30749 ac_cpp='$CPP $CPPFLAGS'
30750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30753
30754
30755
30756 fi
30757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30758 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30759 else
30760 wx_cv_func_cxa_demangle=no
30761 fi
30762
30763 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30764 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30765
30766 fi
30767 fi
30768 fi
30769
30770 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30772 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30773 wxUSE_STACKWALKER=no
30774 fi
30775
30776
30777 for ac_func in mkstemp mktemp
30778 do :
30779 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30780 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30781 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30782 cat >>confdefs.h <<_ACEOF
30783 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30784 _ACEOF
30785 break
30786 fi
30787 done
30788
30789
30790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30791 $as_echo_n "checking for statfs... " >&6; }
30792 if ${wx_cv_func_statfs+:} false; then :
30793 $as_echo_n "(cached) " >&6
30794 else
30795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30796 /* end confdefs.h. */
30797
30798 #if defined(__BSD__)
30799 #include <sys/param.h>
30800 #include <sys/mount.h>
30801 #else
30802 #include <sys/vfs.h>
30803 #endif
30804
30805 int
30806 main ()
30807 {
30808
30809 long l;
30810 struct statfs fs;
30811 statfs("/", &fs);
30812 l = fs.f_bsize;
30813 l += fs.f_blocks;
30814 l += fs.f_bavail;
30815
30816 ;
30817 return 0;
30818 }
30819 _ACEOF
30820 if ac_fn_c_try_compile "$LINENO"; then :
30821 wx_cv_func_statfs=yes
30822 else
30823 wx_cv_func_statfs=no
30824
30825 fi
30826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30827
30828 fi
30829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30830 $as_echo "$wx_cv_func_statfs" >&6; }
30831
30832 if test "$wx_cv_func_statfs" = "yes"; then
30833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30834 $as_echo_n "checking for statfs declaration... " >&6; }
30835 if ${wx_cv_func_statfs_decl+:} false; then :
30836 $as_echo_n "(cached) " >&6
30837 else
30838 ac_ext=cpp
30839 ac_cpp='$CXXCPP $CPPFLAGS'
30840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30843
30844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30845 /* end confdefs.h. */
30846
30847 #if defined(__BSD__)
30848 #include <sys/param.h>
30849 #include <sys/mount.h>
30850 #else
30851 #include <sys/vfs.h>
30852 #endif
30853
30854 int
30855 main ()
30856 {
30857
30858 struct statfs fs;
30859 statfs("", &fs);
30860
30861 ;
30862 return 0;
30863 }
30864 _ACEOF
30865 if ac_fn_cxx_try_compile "$LINENO"; then :
30866 wx_cv_func_statfs_decl=yes
30867 else
30868 wx_cv_func_statfs_decl=no
30869
30870 fi
30871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30872 ac_ext=c
30873 ac_cpp='$CPP $CPPFLAGS'
30874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30877
30878
30879 fi
30880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30881 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30882
30883 if test "$wx_cv_func_statfs_decl" = "yes"; then
30884 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30885
30886 fi
30887
30888 wx_cv_type_statvfs_t="struct statfs"
30889 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30890
30891 else
30892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30893 $as_echo_n "checking for statvfs... " >&6; }
30894 if ${wx_cv_func_statvfs+:} false; then :
30895 $as_echo_n "(cached) " >&6
30896 else
30897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30898 /* end confdefs.h. */
30899
30900 #include <stddef.h>
30901 #include <sys/statvfs.h>
30902
30903 int
30904 main ()
30905 {
30906
30907 statvfs("/", NULL);
30908
30909 ;
30910 return 0;
30911 }
30912 _ACEOF
30913 if ac_fn_c_try_compile "$LINENO"; then :
30914 wx_cv_func_statvfs=yes
30915 else
30916 wx_cv_func_statvfs=no
30917
30918 fi
30919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30920
30921 fi
30922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30923 $as_echo "$wx_cv_func_statvfs" >&6; }
30924
30925 if test "$wx_cv_func_statvfs" = "yes"; then
30926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30927 $as_echo_n "checking for statvfs argument type... " >&6; }
30928 if ${wx_cv_type_statvfs_t+:} false; then :
30929 $as_echo_n "(cached) " >&6
30930 else
30931 ac_ext=cpp
30932 ac_cpp='$CXXCPP $CPPFLAGS'
30933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30936
30937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30938 /* end confdefs.h. */
30939
30940 #include <sys/statvfs.h>
30941
30942 int
30943 main ()
30944 {
30945
30946 long l;
30947 statvfs_t fs;
30948 statvfs("/", &fs);
30949 l = fs.f_bsize;
30950 l += fs.f_blocks;
30951 l += fs.f_bavail;
30952
30953 ;
30954 return 0;
30955 }
30956 _ACEOF
30957 if ac_fn_cxx_try_compile "$LINENO"; then :
30958 wx_cv_type_statvfs_t=statvfs_t
30959 else
30960
30961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30962 /* end confdefs.h. */
30963
30964 #include <sys/statvfs.h>
30965
30966 int
30967 main ()
30968 {
30969
30970 long l;
30971 struct statvfs fs;
30972 statvfs("/", &fs);
30973 l = fs.f_bsize;
30974 l += fs.f_blocks;
30975 l += fs.f_bavail;
30976
30977 ;
30978 return 0;
30979 }
30980 _ACEOF
30981 if ac_fn_cxx_try_compile "$LINENO"; then :
30982 wx_cv_type_statvfs_t="struct statvfs"
30983 else
30984 wx_cv_type_statvfs_t="unknown"
30985
30986 fi
30987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30988
30989
30990 fi
30991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30992 ac_ext=c
30993 ac_cpp='$CPP $CPPFLAGS'
30994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30997
30998
30999 fi
31000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
31001 $as_echo "$wx_cv_type_statvfs_t" >&6; }
31002
31003 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31004 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
31005
31006 fi
31007 else
31008 wx_cv_type_statvfs_t="unknown"
31009 fi
31010 fi
31011
31012 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31013 cat >>confdefs.h <<_ACEOF
31014 #define WX_STATFS_T $wx_cv_type_statvfs_t
31015 _ACEOF
31016
31017 else
31018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31019 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31020 fi
31021
31022 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31023 for ac_func in fcntl flock
31024 do :
31025 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31026 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31027 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31028 cat >>confdefs.h <<_ACEOF
31029 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31030 _ACEOF
31031 break
31032 fi
31033 done
31034
31035
31036 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
31038 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31039 wxUSE_SNGLINST_CHECKER=no
31040 fi
31041 fi
31042
31043 for ac_func in setenv putenv
31044 do :
31045 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31046 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31047 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31048 cat >>confdefs.h <<_ACEOF
31049 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31050 _ACEOF
31051 break
31052 fi
31053 done
31054
31055 if test "$ac_cv_func_setenv" = "yes"; then
31056 for ac_func in unsetenv
31057 do :
31058 ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
31059 if test "x$ac_cv_func_unsetenv" = xyes; then :
31060 cat >>confdefs.h <<_ACEOF
31061 #define HAVE_UNSETENV 1
31062 _ACEOF
31063
31064 fi
31065 done
31066
31067 fi
31068
31069 HAVE_SOME_SLEEP_FUNC=0
31070 if test "$USE_BEOS" = 1; then
31071 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
31072
31073 HAVE_SOME_SLEEP_FUNC=1
31074 fi
31075
31076 if test "$USE_DARWIN" = 1; then
31077 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
31078
31079 HAVE_SOME_SLEEP_FUNC=1
31080 fi
31081
31082 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31083 POSIX4_LINK=
31084 for ac_func in nanosleep
31085 do :
31086 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
31087 if test "x$ac_cv_func_nanosleep" = xyes; then :
31088 cat >>confdefs.h <<_ACEOF
31089 #define HAVE_NANOSLEEP 1
31090 _ACEOF
31091 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31092
31093 else
31094
31095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
31096 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
31097 if ${ac_cv_lib_posix4_nanosleep+:} false; then :
31098 $as_echo_n "(cached) " >&6
31099 else
31100 ac_check_lib_save_LIBS=$LIBS
31101 LIBS="-lposix4 $LIBS"
31102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31103 /* end confdefs.h. */
31104
31105 /* Override any GCC internal prototype to avoid an error.
31106 Use char because int might match the return type of a GCC
31107 builtin and then its argument prototype would still apply. */
31108 #ifdef __cplusplus
31109 extern "C"
31110 #endif
31111 char nanosleep ();
31112 int
31113 main ()
31114 {
31115 return nanosleep ();
31116 ;
31117 return 0;
31118 }
31119 _ACEOF
31120 if ac_fn_c_try_link "$LINENO"; then :
31121 ac_cv_lib_posix4_nanosleep=yes
31122 else
31123 ac_cv_lib_posix4_nanosleep=no
31124 fi
31125 rm -f core conftest.err conftest.$ac_objext \
31126 conftest$ac_exeext conftest.$ac_ext
31127 LIBS=$ac_check_lib_save_LIBS
31128 fi
31129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
31130 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
31131 if test "x$ac_cv_lib_posix4_nanosleep" = xyes; then :
31132
31133 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31134
31135 POSIX4_LINK=" -lposix4"
31136
31137 else
31138
31139
31140 for wx_func in usleep
31141 do
31142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31143 $as_echo_n "checking for $wx_func... " >&6; }
31144 if eval \${wx_cv_func_$wx_func+:} false; then :
31145 $as_echo_n "(cached) " >&6
31146 else
31147
31148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31149 /* end confdefs.h. */
31150
31151
31152
31153 $ac_includes_default
31154
31155 int
31156 main ()
31157 {
31158
31159 #ifndef $wx_func
31160 &$wx_func;
31161 #endif
31162
31163
31164 ;
31165 return 0;
31166 }
31167
31168 _ACEOF
31169 if ac_fn_c_try_link "$LINENO"; then :
31170 eval wx_cv_func_$wx_func=yes
31171 else
31172 eval wx_cv_func_$wx_func=no
31173 fi
31174 rm -f core conftest.err conftest.$ac_objext \
31175 conftest$ac_exeext conftest.$ac_ext
31176
31177 fi
31178 eval ac_res=\$wx_cv_func_$wx_func
31179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31180 $as_echo "$ac_res" >&6; }
31181
31182 if eval test \$wx_cv_func_$wx_func = yes
31183 then
31184 cat >>confdefs.h <<_ACEOF
31185 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31186 _ACEOF
31187
31188
31189 else
31190 :
31191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
31192 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31193
31194 fi
31195 done
31196
31197
31198
31199 fi
31200
31201
31202
31203 fi
31204 done
31205
31206 fi
31207
31208
31209 for wx_func in uname
31210 do
31211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31212 $as_echo_n "checking for $wx_func... " >&6; }
31213 if eval \${wx_cv_func_$wx_func+:} false; then :
31214 $as_echo_n "(cached) " >&6
31215 else
31216
31217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31218 /* end confdefs.h. */
31219
31220
31221 #include <sys/utsname.h>
31222 $ac_includes_default
31223
31224 int
31225 main ()
31226 {
31227
31228 #ifndef $wx_func
31229 &$wx_func;
31230 #endif
31231
31232
31233 ;
31234 return 0;
31235 }
31236
31237 _ACEOF
31238 if ac_fn_c_try_link "$LINENO"; then :
31239 eval wx_cv_func_$wx_func=yes
31240 else
31241 eval wx_cv_func_$wx_func=no
31242 fi
31243 rm -f core conftest.err conftest.$ac_objext \
31244 conftest$ac_exeext conftest.$ac_ext
31245
31246 fi
31247 eval ac_res=\$wx_cv_func_$wx_func
31248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31249 $as_echo "$ac_res" >&6; }
31250
31251 if eval test \$wx_cv_func_$wx_func = yes
31252 then
31253 cat >>confdefs.h <<_ACEOF
31254 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31255 _ACEOF
31256
31257
31258 else
31259 :
31260
31261 fi
31262 done
31263
31264 if test "$wx_cv_func_uname" != yes; then
31265
31266 for wx_func in gethostname
31267 do
31268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31269 $as_echo_n "checking for $wx_func... " >&6; }
31270 if eval \${wx_cv_func_$wx_func+:} false; then :
31271 $as_echo_n "(cached) " >&6
31272 else
31273
31274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31275 /* end confdefs.h. */
31276
31277
31278
31279 $ac_includes_default
31280
31281 int
31282 main ()
31283 {
31284
31285 #ifndef $wx_func
31286 &$wx_func;
31287 #endif
31288
31289
31290 ;
31291 return 0;
31292 }
31293
31294 _ACEOF
31295 if ac_fn_c_try_link "$LINENO"; then :
31296 eval wx_cv_func_$wx_func=yes
31297 else
31298 eval wx_cv_func_$wx_func=no
31299 fi
31300 rm -f core conftest.err conftest.$ac_objext \
31301 conftest$ac_exeext conftest.$ac_ext
31302
31303 fi
31304 eval ac_res=\$wx_cv_func_$wx_func
31305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31306 $as_echo "$ac_res" >&6; }
31307
31308 if eval test \$wx_cv_func_$wx_func = yes
31309 then
31310 cat >>confdefs.h <<_ACEOF
31311 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31312 _ACEOF
31313
31314
31315 else
31316 :
31317
31318 fi
31319 done
31320
31321 fi
31322
31323
31324 for wx_func in strtok_r
31325 do
31326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31327 $as_echo_n "checking for $wx_func... " >&6; }
31328 if eval \${wx_cv_func_$wx_func+:} false; then :
31329 $as_echo_n "(cached) " >&6
31330 else
31331
31332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31333 /* end confdefs.h. */
31334
31335
31336 #define _REENTRANT
31337 $ac_includes_default
31338
31339 int
31340 main ()
31341 {
31342
31343 #ifndef $wx_func
31344 &$wx_func;
31345 #endif
31346
31347
31348 ;
31349 return 0;
31350 }
31351
31352 _ACEOF
31353 if ac_fn_c_try_link "$LINENO"; then :
31354 eval wx_cv_func_$wx_func=yes
31355 else
31356 eval wx_cv_func_$wx_func=no
31357 fi
31358 rm -f core conftest.err conftest.$ac_objext \
31359 conftest$ac_exeext conftest.$ac_ext
31360
31361 fi
31362 eval ac_res=\$wx_cv_func_$wx_func
31363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31364 $as_echo "$ac_res" >&6; }
31365
31366 if eval test \$wx_cv_func_$wx_func = yes
31367 then
31368 cat >>confdefs.h <<_ACEOF
31369 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31370 _ACEOF
31371
31372
31373 else
31374 :
31375
31376 fi
31377 done
31378
31379
31380 INET_LINK=
31381 for ac_func in inet_addr
31382 do :
31383 ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31384 if test "x$ac_cv_func_inet_addr" = xyes; then :
31385 cat >>confdefs.h <<_ACEOF
31386 #define HAVE_INET_ADDR 1
31387 _ACEOF
31388 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31389
31390 else
31391
31392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31393 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31394 if ${ac_cv_lib_nsl_inet_addr+:} false; then :
31395 $as_echo_n "(cached) " >&6
31396 else
31397 ac_check_lib_save_LIBS=$LIBS
31398 LIBS="-lnsl $LIBS"
31399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31400 /* end confdefs.h. */
31401
31402 /* Override any GCC internal prototype to avoid an error.
31403 Use char because int might match the return type of a GCC
31404 builtin and then its argument prototype would still apply. */
31405 #ifdef __cplusplus
31406 extern "C"
31407 #endif
31408 char inet_addr ();
31409 int
31410 main ()
31411 {
31412 return inet_addr ();
31413 ;
31414 return 0;
31415 }
31416 _ACEOF
31417 if ac_fn_c_try_link "$LINENO"; then :
31418 ac_cv_lib_nsl_inet_addr=yes
31419 else
31420 ac_cv_lib_nsl_inet_addr=no
31421 fi
31422 rm -f core conftest.err conftest.$ac_objext \
31423 conftest$ac_exeext conftest.$ac_ext
31424 LIBS=$ac_check_lib_save_LIBS
31425 fi
31426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31427 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31428 if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
31429 INET_LINK="nsl"
31430 else
31431
31432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31433 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31434 if ${ac_cv_lib_resolv_inet_addr+:} false; then :
31435 $as_echo_n "(cached) " >&6
31436 else
31437 ac_check_lib_save_LIBS=$LIBS
31438 LIBS="-lresolv $LIBS"
31439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31440 /* end confdefs.h. */
31441
31442 /* Override any GCC internal prototype to avoid an error.
31443 Use char because int might match the return type of a GCC
31444 builtin and then its argument prototype would still apply. */
31445 #ifdef __cplusplus
31446 extern "C"
31447 #endif
31448 char inet_addr ();
31449 int
31450 main ()
31451 {
31452 return inet_addr ();
31453 ;
31454 return 0;
31455 }
31456 _ACEOF
31457 if ac_fn_c_try_link "$LINENO"; then :
31458 ac_cv_lib_resolv_inet_addr=yes
31459 else
31460 ac_cv_lib_resolv_inet_addr=no
31461 fi
31462 rm -f core conftest.err conftest.$ac_objext \
31463 conftest$ac_exeext conftest.$ac_ext
31464 LIBS=$ac_check_lib_save_LIBS
31465 fi
31466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31467 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31468 if test "x$ac_cv_lib_resolv_inet_addr" = xyes; then :
31469 INET_LINK="resolv"
31470 else
31471
31472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31473 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31474 if ${ac_cv_lib_socket_inet_addr+:} false; then :
31475 $as_echo_n "(cached) " >&6
31476 else
31477 ac_check_lib_save_LIBS=$LIBS
31478 LIBS="-lsocket $LIBS"
31479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31480 /* end confdefs.h. */
31481
31482 /* Override any GCC internal prototype to avoid an error.
31483 Use char because int might match the return type of a GCC
31484 builtin and then its argument prototype would still apply. */
31485 #ifdef __cplusplus
31486 extern "C"
31487 #endif
31488 char inet_addr ();
31489 int
31490 main ()
31491 {
31492 return inet_addr ();
31493 ;
31494 return 0;
31495 }
31496 _ACEOF
31497 if ac_fn_c_try_link "$LINENO"; then :
31498 ac_cv_lib_socket_inet_addr=yes
31499 else
31500 ac_cv_lib_socket_inet_addr=no
31501 fi
31502 rm -f core conftest.err conftest.$ac_objext \
31503 conftest$ac_exeext conftest.$ac_ext
31504 LIBS=$ac_check_lib_save_LIBS
31505 fi
31506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31507 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31508 if test "x$ac_cv_lib_socket_inet_addr" = xyes; then :
31509 INET_LINK="socket"
31510
31511 fi
31512
31513
31514
31515 fi
31516
31517
31518
31519 fi
31520
31521
31522
31523 fi
31524 done
31525
31526
31527 for ac_func in inet_aton
31528 do :
31529 ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31530 if test "x$ac_cv_func_inet_aton" = xyes; then :
31531 cat >>confdefs.h <<_ACEOF
31532 #define HAVE_INET_ATON 1
31533 _ACEOF
31534 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31535
31536 else
31537
31538 as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31540 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31541 if eval \${$as_ac_Lib+:} false; then :
31542 $as_echo_n "(cached) " >&6
31543 else
31544 ac_check_lib_save_LIBS=$LIBS
31545 LIBS="-l$INET_LINK $LIBS"
31546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31547 /* end confdefs.h. */
31548
31549 /* Override any GCC internal prototype to avoid an error.
31550 Use char because int might match the return type of a GCC
31551 builtin and then its argument prototype would still apply. */
31552 #ifdef __cplusplus
31553 extern "C"
31554 #endif
31555 char inet_aton ();
31556 int
31557 main ()
31558 {
31559 return inet_aton ();
31560 ;
31561 return 0;
31562 }
31563 _ACEOF
31564 if ac_fn_c_try_link "$LINENO"; then :
31565 eval "$as_ac_Lib=yes"
31566 else
31567 eval "$as_ac_Lib=no"
31568 fi
31569 rm -f core conftest.err conftest.$ac_objext \
31570 conftest$ac_exeext conftest.$ac_ext
31571 LIBS=$ac_check_lib_save_LIBS
31572 fi
31573 eval ac_res=\$$as_ac_Lib
31574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31575 $as_echo "$ac_res" >&6; }
31576 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
31577 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31578
31579 fi
31580
31581
31582 fi
31583 done
31584
31585
31586 if test "x$INET_LINK" != "x"; then
31587 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31588
31589 INET_LINK=" -l$INET_LINK"
31590 fi
31591
31592
31593 for wx_func in fdopen
31594 do
31595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31596 $as_echo_n "checking for $wx_func... " >&6; }
31597 if eval \${wx_cv_func_$wx_func+:} false; then :
31598 $as_echo_n "(cached) " >&6
31599 else
31600
31601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31602 /* end confdefs.h. */
31603
31604
31605
31606 $ac_includes_default
31607
31608 int
31609 main ()
31610 {
31611
31612 #ifndef $wx_func
31613 &$wx_func;
31614 #endif
31615
31616
31617 ;
31618 return 0;
31619 }
31620
31621 _ACEOF
31622 if ac_fn_c_try_link "$LINENO"; then :
31623 eval wx_cv_func_$wx_func=yes
31624 else
31625 eval wx_cv_func_$wx_func=no
31626 fi
31627 rm -f core conftest.err conftest.$ac_objext \
31628 conftest$ac_exeext conftest.$ac_ext
31629
31630 fi
31631 eval ac_res=\$wx_cv_func_$wx_func
31632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31633 $as_echo "$ac_res" >&6; }
31634
31635 if eval test \$wx_cv_func_$wx_func = yes
31636 then
31637 cat >>confdefs.h <<_ACEOF
31638 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31639 _ACEOF
31640
31641
31642 else
31643 :
31644
31645 fi
31646 done
31647
31648
31649 if test "$wxUSE_TARSTREAM" = "yes"; then
31650
31651 for wx_func in sysconf
31652 do
31653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31654 $as_echo_n "checking for $wx_func... " >&6; }
31655 if eval \${wx_cv_func_$wx_func+:} false; then :
31656 $as_echo_n "(cached) " >&6
31657 else
31658
31659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31660 /* end confdefs.h. */
31661
31662
31663
31664 $ac_includes_default
31665
31666 int
31667 main ()
31668 {
31669
31670 #ifndef $wx_func
31671 &$wx_func;
31672 #endif
31673
31674
31675 ;
31676 return 0;
31677 }
31678
31679 _ACEOF
31680 if ac_fn_c_try_link "$LINENO"; then :
31681 eval wx_cv_func_$wx_func=yes
31682 else
31683 eval wx_cv_func_$wx_func=no
31684 fi
31685 rm -f core conftest.err conftest.$ac_objext \
31686 conftest$ac_exeext conftest.$ac_ext
31687
31688 fi
31689 eval ac_res=\$wx_cv_func_$wx_func
31690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31691 $as_echo "$ac_res" >&6; }
31692
31693 if eval test \$wx_cv_func_$wx_func = yes
31694 then
31695 cat >>confdefs.h <<_ACEOF
31696 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31697 _ACEOF
31698
31699
31700 else
31701 :
31702
31703 fi
31704 done
31705
31706
31707
31708 for wx_func in getpwuid_r
31709 do
31710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31711 $as_echo_n "checking for $wx_func... " >&6; }
31712 if eval \${wx_cv_func_$wx_func+:} false; then :
31713 $as_echo_n "(cached) " >&6
31714 else
31715
31716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31717 /* end confdefs.h. */
31718
31719
31720
31721 #define _REENTRANT
31722 #include <pwd.h>
31723
31724 $ac_includes_default
31725
31726 int
31727 main ()
31728 {
31729
31730 #ifndef $wx_func
31731 &$wx_func;
31732 #endif
31733
31734 struct passwd pw, *ppw;
31735 char buf[1024];
31736 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31737
31738
31739 ;
31740 return 0;
31741 }
31742
31743 _ACEOF
31744 if ac_fn_c_try_link "$LINENO"; then :
31745 eval wx_cv_func_$wx_func=yes
31746 else
31747 eval wx_cv_func_$wx_func=no
31748 fi
31749 rm -f core conftest.err conftest.$ac_objext \
31750 conftest$ac_exeext conftest.$ac_ext
31751
31752 fi
31753 eval ac_res=\$wx_cv_func_$wx_func
31754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31755 $as_echo "$ac_res" >&6; }
31756
31757 if eval test \$wx_cv_func_$wx_func = yes
31758 then
31759 cat >>confdefs.h <<_ACEOF
31760 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31761 _ACEOF
31762
31763
31764 else
31765 :
31766
31767 fi
31768 done
31769
31770
31771
31772 for wx_func in getgrgid_r
31773 do
31774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31775 $as_echo_n "checking for $wx_func... " >&6; }
31776 if eval \${wx_cv_func_$wx_func+:} false; then :
31777 $as_echo_n "(cached) " >&6
31778 else
31779
31780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31781 /* end confdefs.h. */
31782
31783
31784
31785 #define _REENTRANT
31786 #include <grp.h>
31787
31788 $ac_includes_default
31789
31790 int
31791 main ()
31792 {
31793
31794 #ifndef $wx_func
31795 &$wx_func;
31796 #endif
31797
31798 struct group grp, *pgrp;
31799 char buf[1024];
31800 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31801
31802
31803 ;
31804 return 0;
31805 }
31806
31807 _ACEOF
31808 if ac_fn_c_try_link "$LINENO"; then :
31809 eval wx_cv_func_$wx_func=yes
31810 else
31811 eval wx_cv_func_$wx_func=no
31812 fi
31813 rm -f core conftest.err conftest.$ac_objext \
31814 conftest$ac_exeext conftest.$ac_ext
31815
31816 fi
31817 eval ac_res=\$wx_cv_func_$wx_func
31818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31819 $as_echo "$ac_res" >&6; }
31820
31821 if eval test \$wx_cv_func_$wx_func = yes
31822 then
31823 cat >>confdefs.h <<_ACEOF
31824 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31825 _ACEOF
31826
31827
31828 else
31829 :
31830
31831 fi
31832 done
31833
31834 fi
31835
31836 fi
31837
31838
31839
31840 cat >confcache <<\_ACEOF
31841 # This file is a shell script that caches the results of configure
31842 # tests run on this system so they can be shared between configure
31843 # scripts and configure runs, see configure's option --config-cache.
31844 # It is not useful on other systems. If it contains results you don't
31845 # want to keep, you may remove or edit it.
31846 #
31847 # config.status only pays attention to the cache file if you give it
31848 # the --recheck option to rerun configure.
31849 #
31850 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31851 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31852 # following values.
31853
31854 _ACEOF
31855
31856 # The following way of writing the cache mishandles newlines in values,
31857 # but we know of no workaround that is simple, portable, and efficient.
31858 # So, we kill variables containing newlines.
31859 # Ultrix sh set writes to stderr and can't be redirected directly,
31860 # and sets the high bit in the cache file unless we assign to the vars.
31861 (
31862 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31863 eval ac_val=\$$ac_var
31864 case $ac_val in #(
31865 *${as_nl}*)
31866 case $ac_var in #(
31867 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31868 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31869 esac
31870 case $ac_var in #(
31871 _ | IFS | as_nl) ;; #(
31872 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31873 *) { eval $ac_var=; unset $ac_var;} ;;
31874 esac ;;
31875 esac
31876 done
31877
31878 (set) 2>&1 |
31879 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31880 *${as_nl}ac_space=\ *)
31881 # `set' does not quote correctly, so add quotes: double-quote
31882 # substitution turns \\\\ into \\, and sed turns \\ into \.
31883 sed -n \
31884 "s/'/'\\\\''/g;
31885 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31886 ;; #(
31887 *)
31888 # `set' quotes correctly as required by POSIX, so do not add quotes.
31889 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31890 ;;
31891 esac |
31892 sort
31893 ) |
31894 sed '
31895 /^ac_cv_env_/b end
31896 t clear
31897 :clear
31898 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31899 t end
31900 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31901 :end' >>confcache
31902 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31903 if test -w "$cache_file"; then
31904 if test "x$cache_file" != "x/dev/null"; then
31905 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31906 $as_echo "$as_me: updating cache $cache_file" >&6;}
31907 if test ! -f "$cache_file" || test -h "$cache_file"; then
31908 cat confcache >"$cache_file"
31909 else
31910 case $cache_file in #(
31911 */* | ?:*)
31912 mv -f confcache "$cache_file"$$ &&
31913 mv -f "$cache_file"$$ "$cache_file" ;; #(
31914 *)
31915 mv -f confcache "$cache_file" ;;
31916 esac
31917 fi
31918 fi
31919 else
31920 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31921 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31922 fi
31923 fi
31924 rm -f confcache
31925
31926
31927 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31928
31929
31930 THREADS_LINK=
31931 THREADS_CFLAGS=
31932
31933 if test "$wxUSE_THREADS" = "yes" ; then
31934 if test "$USE_BEOS" = 1; then
31935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31936 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31937 wxUSE_THREADS="no"
31938 fi
31939 fi
31940
31941 if test "$wxUSE_THREADS" = "yes" ; then
31942
31943
31944 THREAD_OPTS="-pthread"
31945 if test "x$SUNCXX" = xyes; then
31946 THREAD_OPTS="-mt lthread $THREAD_OPTS"
31947 fi
31948
31949 case "${host}" in
31950 *-*-solaris2* | *-*-sunos4* )
31951 if test "x$GCC" = "xyes"; then
31952 THREAD_OPTS="-pthreads $THREAD_OPTS"
31953 fi
31954 ;;
31955 *-*-freebsd*)
31956 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31957 ;;
31958 *-*-darwin* | *-*-cygwin* )
31959 THREAD_OPTS=""
31960 ;;
31961 *-*-aix*)
31962 THREAD_OPTS="pthreads"
31963 ;;
31964 *-hp-hpux* )
31965 if test "x$GCC" = "xyes"; then
31966 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
31967 THREAD_OPTS=""
31968 else
31969 THREAD_OPTS="-mt"
31970 fi
31971 ;;
31972
31973 *-*-irix* )
31974 if test "x$GCC" = "xyes"; then
31975 THREAD_OPTS=""
31976 fi
31977 ;;
31978
31979 *-*-qnx*)
31980 THREAD_OPTS=""
31981 ;;
31982
31983 *-*-*UnixWare*)
31984 if test "x$GCC" != "xyes"; then
31985 THREAD_OPTS="-Ethread"
31986 fi
31987 ;;
31988 esac
31989
31990 case "${host}" in
31991 *-*-qnx*)
31992 THREAD_OPTS="none pthread"
31993 ;;
31994
31995 *)
31996 THREAD_OPTS="$THREAD_OPTS pthread none"
31997 ;;
31998 esac
31999
32000 THREADS_OK=no
32001 for flag in $THREAD_OPTS; do
32002 case $flag in
32003 none)
32004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
32005 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
32006 ;;
32007
32008 -*)
32009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
32010 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
32011 THREADS_CFLAGS="$flag"
32012 ;;
32013
32014 *)
32015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
32016 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
32017 THREADS_LINK="-l$flag"
32018 ;;
32019 esac
32020
32021 save_LIBS="$LIBS"
32022 save_CFLAGS="$CFLAGS"
32023 LIBS="$THREADS_LINK $LIBS"
32024 CFLAGS="$THREADS_CFLAGS $CFLAGS"
32025
32026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32027 /* end confdefs.h. */
32028 #include <pthread.h>
32029 int
32030 main ()
32031 {
32032 pthread_create(0,0,0,0);
32033 ;
32034 return 0;
32035 }
32036 _ACEOF
32037 if ac_fn_c_try_link "$LINENO"; then :
32038 THREADS_OK=yes
32039 fi
32040 rm -f core conftest.err conftest.$ac_objext \
32041 conftest$ac_exeext conftest.$ac_ext
32042
32043 LIBS="$save_LIBS"
32044 CFLAGS="$save_CFLAGS"
32045
32046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
32047 $as_echo "$THREADS_OK" >&6; }
32048 if test "x$THREADS_OK" = "xyes"; then
32049 break;
32050 fi
32051
32052 THREADS_LINK=""
32053 THREADS_CFLAGS=""
32054 done
32055
32056 if test "x$THREADS_OK" != "xyes"; then
32057 wxUSE_THREADS=no
32058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
32059 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32060 else
32061 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
32062 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
32063 LIBS="$THREADS_LINK $LIBS"
32064
32065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
32066 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
32067 flag=no
32068 case "${host}" in
32069 *-aix*)
32070 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
32071 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
32072 flag="-D_THREAD_SAFE"
32073 ;;
32074 *-freebsd*)
32075 flag="-D_THREAD_SAFE"
32076 ;;
32077 *-hp-hpux* )
32078 flag="-D_REENTRANT"
32079 if test "x$GCC" != "xyes"; then
32080 flag="$flag -D_RWSTD_MULTI_THREAD"
32081 fi
32082 ;;
32083 *solaris* | alpha*-osf*)
32084 flag="-D_REENTRANT"
32085 ;;
32086 esac
32087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
32088 $as_echo "${flag}" >&6; }
32089 if test "x$flag" != xno; then
32090 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
32091 fi
32092
32093 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
32094 fi
32095 fi
32096
32097 if test "$wxUSE_THREADS" = "yes" ; then
32098 for ac_func in pthread_setconcurrency
32099 do :
32100 ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
32101 if test "x$ac_cv_func_pthread_setconcurrency" = xyes; then :
32102 cat >>confdefs.h <<_ACEOF
32103 #define HAVE_PTHREAD_SETCONCURRENCY 1
32104 _ACEOF
32105 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
32106
32107 else
32108
32109 for ac_func in thr_setconcurrency
32110 do :
32111 ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
32112 if test "x$ac_cv_func_thr_setconcurrency" = xyes; then :
32113 cat >>confdefs.h <<_ACEOF
32114 #define HAVE_THR_SETCONCURRENCY 1
32115 _ACEOF
32116 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
32117
32118 else
32119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
32120 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
32121 fi
32122 done
32123
32124
32125 fi
32126 done
32127
32128
32129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
32130 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
32131 if ${wx_cv_func_pthread_cleanup+:} false; then :
32132 $as_echo_n "(cached) " >&6
32133 else
32134
32135 ac_ext=cpp
32136 ac_cpp='$CXXCPP $CPPFLAGS'
32137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32140
32141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32142 /* end confdefs.h. */
32143 #include <pthread.h>
32144 void ThreadCleanupFunc(void *p);
32145
32146 int
32147 main ()
32148 {
32149
32150 void *p;
32151 pthread_cleanup_push(ThreadCleanupFunc, p);
32152 pthread_cleanup_pop(0);
32153
32154 ;
32155 return 0;
32156 }
32157 _ACEOF
32158 if ac_fn_cxx_try_compile "$LINENO"; then :
32159
32160 wx_cv_func_pthread_cleanup=yes
32161
32162 else
32163
32164 wx_cv_func_pthread_cleanup=no
32165
32166
32167 fi
32168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32169 ac_ext=c
32170 ac_cpp='$CPP $CPPFLAGS'
32171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32174
32175
32176 fi
32177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
32178 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
32179 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
32180 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
32181
32182 fi
32183
32184 for ac_header in sched.h
32185 do :
32186 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
32187 "
32188 if test "x$ac_cv_header_sched_h" = xyes; then :
32189 cat >>confdefs.h <<_ACEOF
32190 #define HAVE_SCHED_H 1
32191 _ACEOF
32192
32193 fi
32194
32195 done
32196
32197 if test "$ac_cv_header_sched_h" = "yes"; then
32198 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
32199 if test "x$ac_cv_func_sched_yield" = xyes; then :
32200 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32201
32202 else
32203
32204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
32205 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
32206 if ${ac_cv_lib_posix4_sched_yield+:} false; then :
32207 $as_echo_n "(cached) " >&6
32208 else
32209 ac_check_lib_save_LIBS=$LIBS
32210 LIBS="-lposix4 $LIBS"
32211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32212 /* end confdefs.h. */
32213
32214 /* Override any GCC internal prototype to avoid an error.
32215 Use char because int might match the return type of a GCC
32216 builtin and then its argument prototype would still apply. */
32217 #ifdef __cplusplus
32218 extern "C"
32219 #endif
32220 char sched_yield ();
32221 int
32222 main ()
32223 {
32224 return sched_yield ();
32225 ;
32226 return 0;
32227 }
32228 _ACEOF
32229 if ac_fn_c_try_link "$LINENO"; then :
32230 ac_cv_lib_posix4_sched_yield=yes
32231 else
32232 ac_cv_lib_posix4_sched_yield=no
32233 fi
32234 rm -f core conftest.err conftest.$ac_objext \
32235 conftest$ac_exeext conftest.$ac_ext
32236 LIBS=$ac_check_lib_save_LIBS
32237 fi
32238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
32239 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
32240 if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then :
32241 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32242 POSIX4_LINK=" -lposix4"
32243 else
32244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
32245 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32246
32247 fi
32248
32249
32250
32251 fi
32252
32253 fi
32254
32255 HAVE_PRIOR_FUNCS=0
32256 ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32257 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes; then :
32258 ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32259 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes; then :
32260 ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32261 if test "x$ac_cv_func_sched_get_priority_max" = xyes; then :
32262 HAVE_PRIOR_FUNCS=1
32263 else
32264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32265 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32266 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false; then :
32267 $as_echo_n "(cached) " >&6
32268 else
32269 ac_check_lib_save_LIBS=$LIBS
32270 LIBS="-lposix4 $LIBS"
32271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32272 /* end confdefs.h. */
32273
32274 /* Override any GCC internal prototype to avoid an error.
32275 Use char because int might match the return type of a GCC
32276 builtin and then its argument prototype would still apply. */
32277 #ifdef __cplusplus
32278 extern "C"
32279 #endif
32280 char sched_get_priority_max ();
32281 int
32282 main ()
32283 {
32284 return sched_get_priority_max ();
32285 ;
32286 return 0;
32287 }
32288 _ACEOF
32289 if ac_fn_c_try_link "$LINENO"; then :
32290 ac_cv_lib_posix4_sched_get_priority_max=yes
32291 else
32292 ac_cv_lib_posix4_sched_get_priority_max=no
32293 fi
32294 rm -f core conftest.err conftest.$ac_objext \
32295 conftest$ac_exeext conftest.$ac_ext
32296 LIBS=$ac_check_lib_save_LIBS
32297 fi
32298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32299 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32300 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes; then :
32301
32302 HAVE_PRIOR_FUNCS=1
32303 POSIX4_LINK=" -lposix4"
32304
32305 fi
32306
32307
32308 fi
32309
32310
32311 fi
32312
32313
32314 fi
32315
32316
32317 if test "$HAVE_PRIOR_FUNCS" = 1; then
32318 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32319
32320 else
32321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32322 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32323 fi
32324
32325 ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32326 if test "x$ac_cv_func_pthread_cancel" = xyes; then :
32327 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32328
32329 else
32330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32331 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32332 fi
32333
32334
32335 ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32336 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes; then :
32337 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32338
32339 else
32340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32341 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32342 fi
32343
32344
32345 ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32346 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes; then :
32347 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32348
32349 fi
32350
32351
32352
32353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32354 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32355 if ${wx_cv_type_pthread_mutexattr_t+:} false; then :
32356 $as_echo_n "(cached) " >&6
32357 else
32358
32359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32360 /* end confdefs.h. */
32361 #include <pthread.h>
32362 int
32363 main ()
32364 {
32365
32366 pthread_mutexattr_t attr;
32367 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32368
32369 ;
32370 return 0;
32371 }
32372 _ACEOF
32373 if ac_fn_c_try_compile "$LINENO"; then :
32374 wx_cv_type_pthread_mutexattr_t=yes
32375 else
32376 wx_cv_type_pthread_mutexattr_t=no
32377
32378 fi
32379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32380
32381 fi
32382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32383 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32384
32385 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32386 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32387
32388
32389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32390 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32391 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false; then :
32392 $as_echo_n "(cached) " >&6
32393 else
32394
32395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32396 /* end confdefs.h. */
32397 #include <pthread.h>
32398 int
32399 main ()
32400 {
32401
32402 pthread_mutexattr_t attr;
32403 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32404
32405 ;
32406 return 0;
32407 }
32408 _ACEOF
32409 if ac_fn_c_try_compile "$LINENO"; then :
32410 wx_cv_func_pthread_mutexattr_settype_decl=yes
32411 else
32412 wx_cv_func_pthread_mutexattr_settype_decl=no
32413
32414 fi
32415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32416
32417 fi
32418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32419 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32420 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32421 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32422
32423 fi
32424 else
32425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32426 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32427 if ${wx_cv_type_pthread_rec_mutex_init+:} false; then :
32428 $as_echo_n "(cached) " >&6
32429 else
32430
32431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32432 /* end confdefs.h. */
32433 #include <pthread.h>
32434 int
32435 main ()
32436 {
32437
32438 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32439
32440 ;
32441 return 0;
32442 }
32443 _ACEOF
32444 if ac_fn_c_try_compile "$LINENO"; then :
32445
32446 wx_cv_type_pthread_rec_mutex_init=yes
32447
32448 else
32449
32450 wx_cv_type_pthread_rec_mutex_init=no
32451
32452
32453 fi
32454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32455
32456 fi
32457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32458 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32459 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32460 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32461
32462 else
32463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32464 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32465 fi
32466 fi
32467
32468 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32469 if test "$USE_NETBSD" = 1; then
32470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32471 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32472 wxUSE_COMPILER_TLS=no
32473 else
32474 wxUSE_COMPILER_TLS=yes
32475 fi
32476 fi
32477
32478 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32480 $as_echo_n "checking for __thread keyword... " >&6; }
32481 if ${wx_cv_cc___thread+:} false; then :
32482 $as_echo_n "(cached) " >&6
32483 else
32484
32485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32486 /* end confdefs.h. */
32487 #include <pthread.h>
32488 int
32489 main ()
32490 {
32491
32492 static __thread int n = 0;
32493 static __thread int *p = 0;
32494
32495 ;
32496 return 0;
32497 }
32498 _ACEOF
32499 if ac_fn_c_try_compile "$LINENO"; then :
32500 wx_cv_cc___thread=yes
32501 else
32502 wx_cv_cc___thread=no
32503
32504 fi
32505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32506
32507
32508 fi
32509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32510 $as_echo "$wx_cv_cc___thread" >&6; }
32511
32512 if test "$wx_cv_cc___thread" = "yes"; then
32513
32514 GXX_VERSION=""
32515
32516
32517
32518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32519 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32520
32521 if test "x$GCC" = "xyes" ; then :
32522
32523 if test -z "" ; then :
32524
32525 ax_gcc_option_test="int main()
32526 {
32527 return 0;
32528 }"
32529
32530 else
32531
32532 ax_gcc_option_test=""
32533
32534 fi
32535
32536 # Dump the test program to file
32537 cat <<EOF > conftest.c
32538 $ax_gcc_option_test
32539 EOF
32540
32541 # Dump back the file to the log, useful for debugging purposes
32542 { ac_try='cat conftest.c 1>&5'
32543 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32544 (eval $ac_try) 2>&5
32545 ac_status=$?
32546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32547 test $ac_status = 0; }; }
32548
32549 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
32550 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32551 (eval $ac_try) 2>&5
32552 ac_status=$?
32553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32554 test $ac_status = 0; }; } ; then :
32555
32556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32557 $as_echo "yes" >&6; }
32558
32559 ax_gcc_version_option=yes
32560
32561
32562 else
32563
32564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32565 $as_echo "no" >&6; }
32566
32567 ax_gcc_version_option=no
32568
32569
32570 fi
32571
32572 else
32573
32574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32575 $as_echo "no gcc available" >&6; }
32576
32577 fi
32578
32579 if test "x$GXX" = "xyes"; then :
32580
32581 if test "x$ax_gxx_version_option" != "no"; then :
32582
32583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32584 $as_echo_n "checking gxx version... " >&6; }
32585 if ${ax_cv_gxx_version+:} false; then :
32586 $as_echo_n "(cached) " >&6
32587 else
32588
32589 ax_cv_gxx_version="`$CXX -dumpversion`"
32590 if test "x$ax_cv_gxx_version" = "x"; then :
32591
32592 ax_cv_gxx_version=""
32593
32594 fi
32595
32596 fi
32597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32598 $as_echo "$ax_cv_gxx_version" >&6; }
32599 GXX_VERSION=$ax_cv_gxx_version
32600
32601 fi
32602
32603 fi
32604
32605
32606 if test -n "$ax_cv_gxx_version"; then
32607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32608 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32609 case "$ax_cv_gxx_version" in
32610 1.* | 2.* | 3.* )
32611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32612 $as_echo "no, it's broken" >&6; }
32613 wx_cv_cc___thread=no
32614 ;;
32615 *)
32616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32617 $as_echo "yes, it works" >&6; }
32618 ;;
32619 esac
32620 fi
32621 fi
32622
32623 if test "$wx_cv_cc___thread" = "yes"; then
32624 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32625
32626 fi
32627 fi
32628
32629 if test "$ac_cv_header_cxxabi_h" = "yes"; then
32630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in <cxxabi.h>" >&5
32631 $as_echo_n "checking for abi::__forced_unwind() in <cxxabi.h>... " >&6; }
32632 if ${wx_cv_type_abi_forced_unwind+:} false; then :
32633 $as_echo_n "(cached) " >&6
32634 else
32635
32636 ac_ext=cpp
32637 ac_cpp='$CXXCPP $CPPFLAGS'
32638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32641
32642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32643 /* end confdefs.h. */
32644 #include <cxxabi.h>
32645 int
32646 main ()
32647 {
32648
32649 void foo(abi::__forced_unwind&);
32650
32651 ;
32652 return 0;
32653 }
32654 _ACEOF
32655 if ac_fn_cxx_try_compile "$LINENO"; then :
32656 wx_cv_type_abi_forced_unwind=yes
32657 else
32658 wx_cv_type_abi_forced_unwind=no
32659
32660 fi
32661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32662 ac_ext=c
32663 ac_cpp='$CPP $CPPFLAGS'
32664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32667
32668
32669
32670 fi
32671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5
32672 $as_echo "$wx_cv_type_abi_forced_unwind" >&6; }
32673 else
32674 wx_cv_type_abi_forced_unwind=no
32675 fi
32676
32677 if test "$wx_cv_type_abi_forced_unwind" = "yes"; then
32678 $as_echo "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h
32679
32680 fi
32681 fi
32682
32683 else
32684 if test "$wxUSE_THREADS" = "yes" ; then
32685 case "${host}" in
32686 x86_64-*-mingw32* )
32687 ;;
32688 *-*-mingw32* )
32689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32690 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32691 if ${wx_cv_cflags_mthread+:} false; then :
32692 $as_echo_n "(cached) " >&6
32693 else
32694
32695 CFLAGS_OLD="$CFLAGS"
32696 CFLAGS="-mthreads $CFLAGS"
32697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32698 /* end confdefs.h. */
32699
32700 int
32701 main ()
32702 {
32703
32704 ;
32705 return 0;
32706 }
32707 _ACEOF
32708 if ac_fn_c_try_compile "$LINENO"; then :
32709 wx_cv_cflags_mthread=yes
32710 else
32711 wx_cv_cflags_mthread=no
32712
32713 fi
32714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32715
32716
32717 fi
32718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32719 $as_echo "$wx_cv_cflags_mthread" >&6; }
32720
32721 if test "$wx_cv_cflags_mthread" = "yes"; then
32722 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
32723 LDFLAGS="$LDFLAGS -mthreads"
32724 else
32725 CFLAGS="$CFLAGS_OLD"
32726 fi
32727 ;;
32728 *-pc-os2*emx )
32729 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32730 LDFLAGS="$LDFLAGS -Zmt"
32731 ;;
32732 esac
32733 fi
32734 fi
32735
32736 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32737 if test "x$ac_cv_func_localtime_r" = xyes; then :
32738 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32739
32740 fi
32741
32742 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32743 if test "x$ac_cv_func_gmtime_r" = xyes; then :
32744 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32745
32746 fi
32747
32748
32749
32750
32751 ac_ext=c
32752 ac_cpp='$CPP $CPPFLAGS'
32753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32756
32757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32758 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32759
32760 if ${ac_cv_func_which_gethostbyname_r+:} false; then :
32761 $as_echo_n "(cached) " >&6
32762 else
32763
32764
32765 ################################################################
32766
32767 ac_cv_func_which_gethostbyname_r=unknown
32768
32769 #
32770 # ONE ARGUMENT (sanity check)
32771 #
32772
32773 # This should fail, as there is no variant of gethostbyname_r() that takes
32774 # a single argument. If it actually compiles, then we can assume that
32775 # netdb.h is not declaring the function, and the compiler is thereby
32776 # assuming an implicit prototype. In which case, we're out of luck.
32777 #
32778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32779 /* end confdefs.h. */
32780 #include <netdb.h>
32781 int
32782 main ()
32783 {
32784
32785 char *name = "www.gnu.org";
32786 (void)gethostbyname_r(name) /* ; */
32787
32788
32789 ;
32790 return 0;
32791 }
32792 _ACEOF
32793 if ac_fn_c_try_compile "$LINENO"; then :
32794 ac_cv_func_which_gethostbyname_r=no
32795
32796 fi
32797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32798
32799 #
32800 # SIX ARGUMENTS
32801 # (e.g. Linux)
32802 #
32803
32804 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32805
32806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32807 /* end confdefs.h. */
32808 #include <netdb.h>
32809 int
32810 main ()
32811 {
32812
32813 char *name = "www.gnu.org";
32814 struct hostent ret, *retp;
32815 char buf[1024];
32816 int buflen = 1024;
32817 int my_h_errno;
32818 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32819
32820
32821 ;
32822 return 0;
32823 }
32824 _ACEOF
32825 if ac_fn_c_try_compile "$LINENO"; then :
32826 ac_cv_func_which_gethostbyname_r=six
32827
32828 fi
32829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32830
32831 fi
32832
32833 #
32834 # FIVE ARGUMENTS
32835 # (e.g. Solaris)
32836 #
32837
32838 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32839
32840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32841 /* end confdefs.h. */
32842 #include <netdb.h>
32843 int
32844 main ()
32845 {
32846
32847 char *name = "www.gnu.org";
32848 struct hostent ret;
32849 char buf[1024];
32850 int buflen = 1024;
32851 int my_h_errno;
32852 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32853
32854
32855 ;
32856 return 0;
32857 }
32858 _ACEOF
32859 if ac_fn_c_try_compile "$LINENO"; then :
32860 ac_cv_func_which_gethostbyname_r=five
32861
32862 fi
32863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32864
32865 fi
32866
32867 #
32868 # THREE ARGUMENTS
32869 # (e.g. AIX, HP-UX, Tru64)
32870 #
32871
32872 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32873
32874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32875 /* end confdefs.h. */
32876 #include <netdb.h>
32877 int
32878 main ()
32879 {
32880
32881 char *name = "www.gnu.org";
32882 struct hostent ret;
32883 struct hostent_data data;
32884 (void)gethostbyname_r(name, &ret, &data) /* ; */
32885
32886
32887 ;
32888 return 0;
32889 }
32890 _ACEOF
32891 if ac_fn_c_try_compile "$LINENO"; then :
32892 ac_cv_func_which_gethostbyname_r=three
32893
32894 fi
32895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32896
32897 fi
32898
32899 ################################################################
32900
32901
32902 fi
32903
32904 case "$ac_cv_func_which_gethostbyname_r" in
32905 three)
32906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32907 $as_echo "three" >&6; }
32908 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32909
32910 ;;
32911
32912 five)
32913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32914 $as_echo "five" >&6; }
32915 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32916
32917 ;;
32918
32919 six)
32920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32921 $as_echo "six" >&6; }
32922 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32923
32924 ;;
32925
32926 no)
32927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32928 $as_echo "cannot find function declaration in netdb.h" >&6; }
32929 ;;
32930
32931 unknown)
32932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32933 $as_echo "can't tell" >&6; }
32934 ;;
32935
32936 *)
32937 as_fn_error $? "internal error" "$LINENO" 5
32938 ;;
32939 esac
32940
32941 ac_ext=c
32942 ac_cpp='$CPP $CPPFLAGS'
32943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32946
32947
32948
32949 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32950 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32951 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32952 if test "x$ac_cv_func_gethostbyname" = xyes; then :
32953 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32954
32955 fi
32956
32957 fi
32958
32959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32960 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32961 if ${ac_cv_func_which_getservbyname_r+:} false; then :
32962 $as_echo_n "(cached) " >&6
32963 else
32964
32965 ac_ext=cpp
32966 ac_cpp='$CXXCPP $CPPFLAGS'
32967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32970
32971
32972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32973 /* end confdefs.h. */
32974 #include <netdb.h>
32975 int
32976 main ()
32977 {
32978
32979 char *name;
32980 char *proto;
32981 struct servent *se, *res;
32982 char buffer[2048];
32983 int buflen = 2048;
32984 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32985
32986 ;
32987 return 0;
32988 }
32989 _ACEOF
32990 if ac_fn_cxx_try_compile "$LINENO"; then :
32991 ac_cv_func_which_getservbyname_r=six
32992 else
32993
32994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32995 /* end confdefs.h. */
32996 #include <netdb.h>
32997 int
32998 main ()
32999 {
33000
33001 char *name;
33002 char *proto;
33003 struct servent *se;
33004 char buffer[2048];
33005 int buflen = 2048;
33006 (void) getservbyname_r(name, proto, se, buffer, buflen)
33007
33008 ;
33009 return 0;
33010 }
33011 _ACEOF
33012 if ac_fn_cxx_try_compile "$LINENO"; then :
33013 ac_cv_func_which_getservbyname_r=five
33014 else
33015
33016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33017 /* end confdefs.h. */
33018 #include <netdb.h>
33019 int
33020 main ()
33021 {
33022
33023 char *name;
33024 char *proto;
33025 struct servent *se;
33026 struct servent_data data;
33027 (void) getservbyname_r(name, proto, se, &data);
33028
33029 ;
33030 return 0;
33031 }
33032 _ACEOF
33033 if ac_fn_cxx_try_compile "$LINENO"; then :
33034 ac_cv_func_which_getservbyname_r=four
33035 else
33036 ac_cv_func_which_getservbyname_r=no
33037
33038 fi
33039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33040
33041
33042 fi
33043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33044
33045
33046 fi
33047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33048 ac_ext=c
33049 ac_cpp='$CPP $CPPFLAGS'
33050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33053
33054
33055
33056 fi
33057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
33058 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
33059
33060 if test $ac_cv_func_which_getservbyname_r = six; then
33061 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
33062
33063 elif test $ac_cv_func_which_getservbyname_r = five; then
33064 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
33065
33066 elif test $ac_cv_func_which_getservbyname_r = four; then
33067 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
33068
33069 fi
33070
33071
33072 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
33073 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
33074 for ac_func in getservbyname
33075 do :
33076 ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
33077 if test "x$ac_cv_func_getservbyname" = xyes; then :
33078 cat >>confdefs.h <<_ACEOF
33079 #define HAVE_GETSERVBYNAME 1
33080 _ACEOF
33081 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
33082
33083 fi
33084 done
33085
33086 fi
33087
33088 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
33089
33090
33091 if test "$wxUSE_THREADS" = "yes"; then
33092 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
33093
33094
33095 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33096 else
33097 if test "$wx_cv_func_strtok_r" = "yes"; then
33098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
33099 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
33100 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33101 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
33102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33103 $as_echo "yes" >&6; }
33104 else
33105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33106 $as_echo "no" >&6; }
33107 fi
33108 fi
33109 fi
33110
33111 if test "$WXGTK3" = 1 ; then
33112 cat >>confdefs.h <<_ACEOF
33113 #define __WXGTK3__ 1
33114 _ACEOF
33115
33116 WXGTK2=1
33117 fi
33118 if test "$WXGTK2" = 1 ; then
33119 cat >>confdefs.h <<_ACEOF
33120 #define __WXGTK20__ $WXGTK2
33121 _ACEOF
33122
33123 fi
33124
33125 if test "$WXGTK127" = 1 ; then
33126 cat >>confdefs.h <<_ACEOF
33127 #define __WXGTK127__ $WXGTK127
33128 _ACEOF
33129
33130 fi
33131
33132 if test "$WXGPE" = 1 ; then
33133 cat >>confdefs.h <<_ACEOF
33134 #define __WXGPE__ $WXGPE
33135 _ACEOF
33136
33137 fi
33138
33139 DEBUG_CFLAGS=
33140 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
33141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
33142 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
33143 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
33144 DEBUG_CFLAGS="-g"
33145 fi
33146
33147 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33148 wxUSE_DEBUG_INFO=yes
33149 if test "$GCC" = yes; then
33150 DEBUG_CFLAGS="-ggdb"
33151 fi
33152 fi
33153
33154 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
33155 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
33156
33157 if test "$wxUSE_GTK" = 1 ; then
33158 if test "$WXGTK2" = 1 ; then
33159 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
33160 else
33161 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
33162 fi
33163 fi
33164 fi
33165
33166 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33167 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
33168
33169 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
33170
33171 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
33172
33173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33174 fi
33175
33176 if test "$wxUSE_DMALLOC" = "yes" ; then
33177 DMALLOC_LIBS="-ldmallocthcxx"
33178 fi
33179
33180 PROFILE_FLAGS=
33181 if test "$wxUSE_PROFILE" = "yes" ; then
33182 PROFILE_FLAGS=" -pg"
33183 fi
33184
33185 if test "$GCC" = "yes" ; then
33186 if test "$wxUSE_NO_RTTI" = "yes" ; then
33187 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
33188 fi
33189 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33190 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
33191 fi
33192 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33193 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
33194 fi
33195
33196 case "${host}" in
33197 powerpc*-*-aix* )
33198 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
33199 ;;
33200 *-hppa* )
33201 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
33202 ;;
33203 esac
33204 fi
33205
33206 OPTIMISE_CFLAGS=
33207 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
33208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
33209 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
33210 else
33211 if test "$wxUSE_OPTIMISE" = "no" ; then
33212 if test "$GCC" = yes ; then
33213 OPTIMISE_CFLAGS="-O0"
33214 fi
33215 else
33216 if test "$GCC" = yes ; then
33217 case "${host}" in
33218 *-pc-os2_emx | *-pc-os2-emx )
33219 OPTIMISE_CFLAGS="-O2"
33220 ;;
33221 *)
33222 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
33223 ;;
33224 esac
33225 else
33226 OPTIMISE_CFLAGS="-O"
33227 fi
33228 fi
33229 fi
33230
33231
33232 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
33233 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
33234
33235
33236 WXWIN_COMPATIBILITY_2_8="yes"
33237 fi
33238
33239 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
33240 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
33241
33242 fi
33243
33244
33245 if test "$wxUSE_GUI" = "yes"; then
33246 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
33247
33248
33249 fi
33250
33251
33252 if test "$wxUSE_UNIX" = "yes"; then
33253 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
33254
33255 fi
33256
33257
33258 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33259
33260 HAVE_DL_FUNCS=0
33261 HAVE_SHL_FUNCS=0
33262 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33263 if test "$USE_DOS" = 1; then
33264 HAVE_DL_FUNCS=0
33265 else
33266 for ac_func in dlopen
33267 do :
33268 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
33269 if test "x$ac_cv_func_dlopen" = xyes; then :
33270 cat >>confdefs.h <<_ACEOF
33271 #define HAVE_DLOPEN 1
33272 _ACEOF
33273
33274 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33275
33276 HAVE_DL_FUNCS=1
33277
33278 else
33279
33280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
33281 $as_echo_n "checking for dlopen in -ldl... " >&6; }
33282 if ${ac_cv_lib_dl_dlopen+:} false; then :
33283 $as_echo_n "(cached) " >&6
33284 else
33285 ac_check_lib_save_LIBS=$LIBS
33286 LIBS="-ldl $LIBS"
33287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33288 /* end confdefs.h. */
33289
33290 /* Override any GCC internal prototype to avoid an error.
33291 Use char because int might match the return type of a GCC
33292 builtin and then its argument prototype would still apply. */
33293 #ifdef __cplusplus
33294 extern "C"
33295 #endif
33296 char dlopen ();
33297 int
33298 main ()
33299 {
33300 return dlopen ();
33301 ;
33302 return 0;
33303 }
33304 _ACEOF
33305 if ac_fn_c_try_link "$LINENO"; then :
33306 ac_cv_lib_dl_dlopen=yes
33307 else
33308 ac_cv_lib_dl_dlopen=no
33309 fi
33310 rm -f core conftest.err conftest.$ac_objext \
33311 conftest$ac_exeext conftest.$ac_ext
33312 LIBS=$ac_check_lib_save_LIBS
33313 fi
33314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33315 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33316 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
33317
33318 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33319
33320 HAVE_DL_FUNCS=1
33321 DL_LINK=" -ldl$DL_LINK"
33322
33323 else
33324
33325 for ac_func in shl_load
33326 do :
33327 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
33328 if test "x$ac_cv_func_shl_load" = xyes; then :
33329 cat >>confdefs.h <<_ACEOF
33330 #define HAVE_SHL_LOAD 1
33331 _ACEOF
33332
33333 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33334
33335 HAVE_SHL_FUNCS=1
33336
33337 else
33338
33339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33340 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33341 if ${ac_cv_lib_shl_load_dld+:} false; then :
33342 $as_echo_n "(cached) " >&6
33343 else
33344 ac_check_lib_save_LIBS=$LIBS
33345 LIBS="-lshl_load $LIBS"
33346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33347 /* end confdefs.h. */
33348
33349 /* Override any GCC internal prototype to avoid an error.
33350 Use char because int might match the return type of a GCC
33351 builtin and then its argument prototype would still apply. */
33352 #ifdef __cplusplus
33353 extern "C"
33354 #endif
33355 char dld ();
33356 int
33357 main ()
33358 {
33359 return dld ();
33360 ;
33361 return 0;
33362 }
33363 _ACEOF
33364 if ac_fn_c_try_link "$LINENO"; then :
33365 ac_cv_lib_shl_load_dld=yes
33366 else
33367 ac_cv_lib_shl_load_dld=no
33368 fi
33369 rm -f core conftest.err conftest.$ac_objext \
33370 conftest$ac_exeext conftest.$ac_ext
33371 LIBS=$ac_check_lib_save_LIBS
33372 fi
33373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33374 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33375 if test "x$ac_cv_lib_shl_load_dld" = xyes; then :
33376
33377 HAVE_SHL_FUNCS=1
33378 DL_LINK=" -ldld$DL_LINK"
33379
33380 fi
33381
33382
33383 fi
33384 done
33385
33386
33387 fi
33388
33389
33390 fi
33391 done
33392
33393
33394 if test "$HAVE_DL_FUNCS" = 1; then
33395 for ac_func in dlerror
33396 do :
33397 ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
33398 if test "x$ac_cv_func_dlerror" = xyes; then :
33399 cat >>confdefs.h <<_ACEOF
33400 #define HAVE_DLERROR 1
33401 _ACEOF
33402 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33403
33404 else
33405
33406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33407 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33408 if ${ac_cv_lib_dl_dlerror+:} false; then :
33409 $as_echo_n "(cached) " >&6
33410 else
33411 ac_check_lib_save_LIBS=$LIBS
33412 LIBS="-ldl $LIBS"
33413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33414 /* end confdefs.h. */
33415
33416 /* Override any GCC internal prototype to avoid an error.
33417 Use char because int might match the return type of a GCC
33418 builtin and then its argument prototype would still apply. */
33419 #ifdef __cplusplus
33420 extern "C"
33421 #endif
33422 char dlerror ();
33423 int
33424 main ()
33425 {
33426 return dlerror ();
33427 ;
33428 return 0;
33429 }
33430 _ACEOF
33431 if ac_fn_c_try_link "$LINENO"; then :
33432 ac_cv_lib_dl_dlerror=yes
33433 else
33434 ac_cv_lib_dl_dlerror=no
33435 fi
33436 rm -f core conftest.err conftest.$ac_objext \
33437 conftest$ac_exeext conftest.$ac_ext
33438 LIBS=$ac_check_lib_save_LIBS
33439 fi
33440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33441 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33442 if test "x$ac_cv_lib_dl_dlerror" = xyes; then :
33443 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33444
33445 fi
33446
33447
33448
33449 fi
33450 done
33451
33452 fi
33453 fi
33454
33455 if test "$USE_DARWIN" = 1; then
33456 HAVE_DL_FUNCS=1
33457 fi
33458
33459 if test "$HAVE_DL_FUNCS" = 0; then
33460 if test "$HAVE_SHL_FUNCS" = 0; then
33461 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33463 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33464 wxUSE_DYNAMIC_LOADER=no
33465 wxUSE_DYNLIB_CLASS=no
33466 else
33467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33468 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33469 fi
33470 fi
33471 fi
33472 fi
33473 fi
33474
33475 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33476 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33477
33478 fi
33479 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33480 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33481
33482 fi
33483
33484
33485
33486 if test "$wxUSE_PLUGINS" = "yes" ; then
33487 if test "$wxUSE_SHARED" = "no" ; then
33488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33489 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33490 wxUSE_PLUGINS=no
33491 fi
33492 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33494 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33495 wxUSE_PLUGINS=no
33496 fi
33497 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33499 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33500 wxUSE_PLUGINS=no
33501 fi
33502 if test "$wxUSE_PLUGINS" = "yes" ; then
33503 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33504
33505 fi
33506 fi
33507
33508
33509 if test "$wxUSE_FSWATCHER" = "yes"; then
33510 if test "$wxUSE_MSW" != "1"; then
33511 if test "$wxUSE_UNIX" = "yes"; then
33512 for ac_header in sys/inotify.h
33513 do :
33514 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33515 "
33516 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
33517 cat >>confdefs.h <<_ACEOF
33518 #define HAVE_SYS_INOTIFY_H 1
33519 _ACEOF
33520
33521 fi
33522
33523 done
33524
33525 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33526 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33527
33528 else
33529 for ac_header in sys/event.h
33530 do :
33531 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33532 "
33533 if test "x$ac_cv_header_sys_event_h" = xyes; then :
33534 cat >>confdefs.h <<_ACEOF
33535 #define HAVE_SYS_EVENT_H 1
33536 _ACEOF
33537
33538 fi
33539
33540 done
33541
33542 if test "$ac_cv_header_sys_event_h" = "yes"; then
33543 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33544
33545 else
33546 wxUSE_FSWATCHER=no
33547 fi
33548 fi
33549 else
33550 wxUSE_FSWATCHER=no
33551 fi
33552 else
33553 if test "$wxUSE_THREADS" != "yes"; then
33554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33555 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33556 wxUSE_FSWATCHER=no
33557 fi
33558 fi
33559
33560 if test "$wxUSE_FSWATCHER" = "yes"; then
33561 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33562
33563 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
33564 else
33565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33566 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33567 fi
33568 fi
33569
33570
33571 if test "$wxUSE_STL" = "yes"; then
33572 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33573
33574 fi
33575
33576 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33577 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33578
33579 fi
33580
33581 if test "$wxUSE_ANY" = "yes"; then
33582 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33583
33584 fi
33585
33586 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33587 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33588
33589 fi
33590
33591 if test "$wxUSE_TIMER" = "yes"; then
33592 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33593
33594 fi
33595
33596 if test "$USE_UNIX" = 1 ; then
33597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33598 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33599 if ${ac_cv_header_sys_soundcard+:} false; then :
33600 $as_echo_n "(cached) " >&6
33601 else
33602
33603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33604 /* end confdefs.h. */
33605
33606 #include <sys/ioctl.h>
33607 #include <sys/soundcard.h>
33608
33609 int
33610 main ()
33611 {
33612
33613 ioctl(0, SNDCTL_DSP_SPEED, 0);
33614
33615 ;
33616 return 0;
33617 }
33618 _ACEOF
33619 if ac_fn_c_try_link "$LINENO"; then :
33620 ac_cv_header_sys_soundcard=yes
33621 else
33622
33623 saveLibs="$LIBS"
33624 LIBS="$saveLibs -lossaudio"
33625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33626 /* end confdefs.h. */
33627
33628 #include <sys/ioctl.h>
33629 #include <sys/soundcard.h>
33630
33631 int
33632 main ()
33633 {
33634
33635 ioctl(0, SNDCTL_DSP_SPEED, 0);
33636
33637 ;
33638 return 0;
33639 }
33640 _ACEOF
33641 if ac_fn_c_try_link "$LINENO"; then :
33642 ac_cv_header_sys_soundcard=yes
33643 else
33644
33645 LIBS="$saveLibs"
33646 ac_cv_header_sys_soundcard=no
33647
33648
33649 fi
33650 rm -f core conftest.err conftest.$ac_objext \
33651 conftest$ac_exeext conftest.$ac_ext
33652
33653
33654 fi
33655 rm -f core conftest.err conftest.$ac_objext \
33656 conftest$ac_exeext conftest.$ac_ext
33657
33658 fi
33659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33660 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33661
33662 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33663 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33664
33665 fi
33666 fi
33667
33668 WITH_PLUGIN_SDL=0
33669 if test "$wxUSE_SOUND" = "yes"; then
33670 if test "$USE_UNIX" = 1 ; then
33671 if test "$wxUSE_LIBSDL" != "no"; then
33672
33673 # Check whether --with-sdl-prefix was given.
33674 if test "${with_sdl_prefix+set}" = set; then :
33675 withval=$with_sdl_prefix; sdl_prefix="$withval"
33676 else
33677 sdl_prefix=""
33678 fi
33679
33680
33681 # Check whether --with-sdl-exec-prefix was given.
33682 if test "${with_sdl_exec_prefix+set}" = set; then :
33683 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
33684 else
33685 sdl_exec_prefix=""
33686 fi
33687
33688 # Check whether --enable-sdltest was given.
33689 if test "${enable_sdltest+set}" = set; then :
33690 enableval=$enable_sdltest;
33691 else
33692 enable_sdltest=yes
33693 fi
33694
33695
33696 if test x$sdl_exec_prefix != x ; then
33697 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33698 if test x${SDL_CONFIG+set} != xset ; then
33699 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33700 fi
33701 fi
33702 if test x$sdl_prefix != x ; then
33703 sdl_args="$sdl_args --prefix=$sdl_prefix"
33704 if test x${SDL_CONFIG+set} != xset ; then
33705 SDL_CONFIG=$sdl_prefix/bin/sdl-config
33706 fi
33707 fi
33708
33709 if test "x$prefix" != xNONE; then
33710 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33711 fi
33712 # Extract the first word of "sdl-config", so it can be a program name with args.
33713 set dummy sdl-config; ac_word=$2
33714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33715 $as_echo_n "checking for $ac_word... " >&6; }
33716 if ${ac_cv_path_SDL_CONFIG+:} false; then :
33717 $as_echo_n "(cached) " >&6
33718 else
33719 case $SDL_CONFIG in
33720 [\\/]* | ?:[\\/]*)
33721 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33722 ;;
33723 *)
33724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33725 for as_dir in $PATH
33726 do
33727 IFS=$as_save_IFS
33728 test -z "$as_dir" && as_dir=.
33729 for ac_exec_ext in '' $ac_executable_extensions; do
33730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33731 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33733 break 2
33734 fi
33735 done
33736 done
33737 IFS=$as_save_IFS
33738
33739 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33740 ;;
33741 esac
33742 fi
33743 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33744 if test -n "$SDL_CONFIG"; then
33745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33746 $as_echo "$SDL_CONFIG" >&6; }
33747 else
33748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33749 $as_echo "no" >&6; }
33750 fi
33751
33752
33753 min_sdl_version=1.2.0
33754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33755 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33756 no_sdl=""
33757 if test "$SDL_CONFIG" = "no" ; then
33758 no_sdl=yes
33759 else
33760 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33761 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33762
33763 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33764 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33765 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33766 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33767 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33768 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33769 if test "x$enable_sdltest" = "xyes" ; then
33770 ac_save_CFLAGS="$CFLAGS"
33771 ac_save_CXXFLAGS="$CXXFLAGS"
33772 ac_save_LIBS="$LIBS"
33773 CFLAGS="$CFLAGS $SDL_CFLAGS"
33774 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33775 LIBS="$LIBS $SDL_LIBS"
33776 rm -f conf.sdltest
33777 if test "$cross_compiling" = yes; then :
33778 echo $ac_n "cross compiling; assumed OK... $ac_c"
33779 else
33780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33781 /* end confdefs.h. */
33782
33783 #include <stdio.h>
33784 #include <stdlib.h>
33785 #include <string.h>
33786 #include "SDL.h"
33787
33788 char*
33789 my_strdup (char *str)
33790 {
33791 char *new_str;
33792
33793 if (str)
33794 {
33795 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33796 strcpy (new_str, str);
33797 }
33798 else
33799 new_str = NULL;
33800
33801 return new_str;
33802 }
33803
33804 int main (int argc, char *argv[])
33805 {
33806 int major, minor, micro;
33807 char *tmp_version;
33808
33809 /* This hangs on some systems (?)
33810 system ("touch conf.sdltest");
33811 */
33812 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33813
33814 /* HP/UX 9 (%@#!) writes to sscanf strings */
33815 tmp_version = my_strdup("$min_sdl_version");
33816 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33817 printf("%s, bad version string\n", "$min_sdl_version");
33818 exit(1);
33819 }
33820
33821 if (($sdl_major_version > major) ||
33822 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33823 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33824 {
33825 return 0;
33826 }
33827 else
33828 {
33829 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33830 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33831 printf("*** best to upgrade to the required version.\n");
33832 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33833 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33834 printf("*** config.cache before re-running configure\n");
33835 return 1;
33836 }
33837 }
33838
33839
33840 _ACEOF
33841 if ac_fn_c_try_run "$LINENO"; then :
33842
33843 else
33844 no_sdl=yes
33845 fi
33846 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33847 conftest.$ac_objext conftest.beam conftest.$ac_ext
33848 fi
33849
33850 CFLAGS="$ac_save_CFLAGS"
33851 CXXFLAGS="$ac_save_CXXFLAGS"
33852 LIBS="$ac_save_LIBS"
33853 fi
33854 fi
33855 if test "x$no_sdl" = x ; then
33856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33857 $as_echo "yes" >&6; }
33858
33859 EXTRALIBS_SDL="$SDL_LIBS"
33860 CFLAGS="$SDL_CFLAGS $CFLAGS"
33861 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
33862 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33863
33864
33865 else
33866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33867 $as_echo "no" >&6; }
33868 if test "$SDL_CONFIG" = "no" ; then
33869 echo "*** The sdl-config script installed by SDL could not be found"
33870 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33871 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33872 echo "*** full path to sdl-config."
33873 else
33874 if test -f conf.sdltest ; then
33875 :
33876 else
33877 echo "*** Could not run SDL test program, checking why..."
33878 CFLAGS="$CFLAGS $SDL_CFLAGS"
33879 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33880 LIBS="$LIBS $SDL_LIBS"
33881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33882 /* end confdefs.h. */
33883
33884 #include <stdio.h>
33885 #include "SDL.h"
33886
33887 int main(int argc, char *argv[])
33888 { return 0; }
33889 #undef main
33890 #define main K_and_R_C_main
33891
33892 int
33893 main ()
33894 {
33895 return 0;
33896 ;
33897 return 0;
33898 }
33899 _ACEOF
33900 if ac_fn_c_try_link "$LINENO"; then :
33901 echo "*** The test program compiled, but did not run. This usually means"
33902 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33903 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33904 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33905 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33906 echo "*** is required on your system"
33907 echo "***"
33908 echo "*** If you have an old version installed, it is best to remove it, although"
33909 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33910 else
33911 echo "*** The test program failed to compile or link. See the file config.log for the"
33912 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33913 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33914 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33915 fi
33916 rm -f core conftest.err conftest.$ac_objext \
33917 conftest$ac_exeext conftest.$ac_ext
33918 CFLAGS="$ac_save_CFLAGS"
33919 CXXFLAGS="$ac_save_CXXFLAGS"
33920 LIBS="$ac_save_LIBS"
33921 fi
33922 fi
33923 SDL_CFLAGS=""
33924 SDL_LIBS=""
33925 wxUSE_LIBSDL="no"
33926 fi
33927
33928
33929 rm -f conf.sdltest
33930
33931 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33932 WITH_PLUGIN_SDL=1
33933 fi
33934 fi
33935 fi
33936 fi
33937
33938 if test "$wxUSE_SOUND" = "yes"; then
33939 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33940
33941 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33942 fi
33943
33944 if test "$WXGTK2" = 1; then
33945
33946
33947 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33948 if test -n "$ac_tool_prefix"; then
33949 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33950 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33952 $as_echo_n "checking for $ac_word... " >&6; }
33953 if ${ac_cv_path_PKG_CONFIG+:} false; then :
33954 $as_echo_n "(cached) " >&6
33955 else
33956 case $PKG_CONFIG in
33957 [\\/]* | ?:[\\/]*)
33958 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33959 ;;
33960 *)
33961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33962 for as_dir in $PATH
33963 do
33964 IFS=$as_save_IFS
33965 test -z "$as_dir" && as_dir=.
33966 for ac_exec_ext in '' $ac_executable_extensions; do
33967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33968 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33970 break 2
33971 fi
33972 done
33973 done
33974 IFS=$as_save_IFS
33975
33976 ;;
33977 esac
33978 fi
33979 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33980 if test -n "$PKG_CONFIG"; then
33981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33982 $as_echo "$PKG_CONFIG" >&6; }
33983 else
33984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33985 $as_echo "no" >&6; }
33986 fi
33987
33988
33989 fi
33990 if test -z "$ac_cv_path_PKG_CONFIG"; then
33991 ac_pt_PKG_CONFIG=$PKG_CONFIG
33992 # Extract the first word of "pkg-config", so it can be a program name with args.
33993 set dummy pkg-config; ac_word=$2
33994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33995 $as_echo_n "checking for $ac_word... " >&6; }
33996 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
33997 $as_echo_n "(cached) " >&6
33998 else
33999 case $ac_pt_PKG_CONFIG in
34000 [\\/]* | ?:[\\/]*)
34001 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34002 ;;
34003 *)
34004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34005 for as_dir in $PATH
34006 do
34007 IFS=$as_save_IFS
34008 test -z "$as_dir" && as_dir=.
34009 for ac_exec_ext in '' $ac_executable_extensions; do
34010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34011 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34013 break 2
34014 fi
34015 done
34016 done
34017 IFS=$as_save_IFS
34018
34019 ;;
34020 esac
34021 fi
34022 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
34023 if test -n "$ac_pt_PKG_CONFIG"; then
34024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
34025 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
34026 else
34027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34028 $as_echo "no" >&6; }
34029 fi
34030
34031 if test "x$ac_pt_PKG_CONFIG" = x; then
34032 PKG_CONFIG=""
34033 else
34034 case $cross_compiling:$ac_tool_warned in
34035 yes:)
34036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
34037 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
34038 ac_tool_warned=yes ;;
34039 esac
34040 PKG_CONFIG=$ac_pt_PKG_CONFIG
34041 fi
34042 else
34043 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
34044 fi
34045
34046 fi
34047 if test -n "$PKG_CONFIG"; then
34048 _pkg_min_version=0.9.0
34049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
34050 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
34051 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34053 $as_echo "yes" >&6; }
34054 else
34055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34056 $as_echo "no" >&6; }
34057 PKG_CONFIG=""
34058 fi
34059
34060 fi
34061
34062 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34063
34064 if test "$wxUSE_GTKPRINT" = "yes" ; then
34065 if test "$WXGTK3" = 1; then
34066 gtk_unix_print="gtk+-unix-print-3.0"
34067 else
34068 gtk_unix_print="gtk+-unix-print-2.0 >= 2.10"
34069 fi
34070
34071 pkg_failed=no
34072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
34073 $as_echo_n "checking for GTKPRINT... " >&6; }
34074
34075 if test -n "$PKG_CONFIG"; then
34076 if test -n "$GTKPRINT_CFLAGS"; then
34077 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
34078 else
34079 if test -n "$PKG_CONFIG" && \
34080 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34081 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34082 ac_status=$?
34083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34084 test $ac_status = 0; }; then
34085 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
34086 else
34087 pkg_failed=yes
34088 fi
34089 fi
34090 else
34091 pkg_failed=untried
34092 fi
34093 if test -n "$PKG_CONFIG"; then
34094 if test -n "$GTKPRINT_LIBS"; then
34095 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
34096 else
34097 if test -n "$PKG_CONFIG" && \
34098 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34099 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34100 ac_status=$?
34101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34102 test $ac_status = 0; }; then
34103 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
34104 else
34105 pkg_failed=yes
34106 fi
34107 fi
34108 else
34109 pkg_failed=untried
34110 fi
34111
34112
34113
34114 if test $pkg_failed = yes; then
34115
34116 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34117 _pkg_short_errors_supported=yes
34118 else
34119 _pkg_short_errors_supported=no
34120 fi
34121 if test $_pkg_short_errors_supported = yes; then
34122 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
34123 else
34124 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
34125 fi
34126 # Put the nasty error message in config.log where it belongs
34127 echo "$GTKPRINT_PKG_ERRORS" >&5
34128
34129
34130 { $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
34131 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34132 wxUSE_GTKPRINT="no"
34133
34134
34135 elif test $pkg_failed = untried; then
34136
34137 { $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
34138 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34139 wxUSE_GTKPRINT="no"
34140
34141
34142 else
34143 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
34144 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
34145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34146 $as_echo "yes" >&6; }
34147
34148 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
34149 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
34150 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
34151 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
34152
34153
34154 fi
34155 fi
34156
34157 if test "$WXGTK3" = 1; then
34158 wxUSE_LIBGNOMEPRINT=no
34159 fi
34160
34161 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34162
34163
34164 pkg_failed=no
34165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
34166 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
34167
34168 if test -n "$PKG_CONFIG"; then
34169 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
34170 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
34171 else
34172 if test -n "$PKG_CONFIG" && \
34173 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34174 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34175 ac_status=$?
34176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34177 test $ac_status = 0; }; then
34178 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34179 else
34180 pkg_failed=yes
34181 fi
34182 fi
34183 else
34184 pkg_failed=untried
34185 fi
34186 if test -n "$PKG_CONFIG"; then
34187 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
34188 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
34189 else
34190 if test -n "$PKG_CONFIG" && \
34191 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34192 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34193 ac_status=$?
34194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34195 test $ac_status = 0; }; then
34196 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34197 else
34198 pkg_failed=yes
34199 fi
34200 fi
34201 else
34202 pkg_failed=untried
34203 fi
34204
34205
34206
34207 if test $pkg_failed = yes; then
34208
34209 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34210 _pkg_short_errors_supported=yes
34211 else
34212 _pkg_short_errors_supported=no
34213 fi
34214 if test $_pkg_short_errors_supported = yes; then
34215 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34216 else
34217 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34218 fi
34219 # Put the nasty error message in config.log where it belongs
34220 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
34221
34222
34223 if test "$wxUSE_GTKPRINT" = yes; then
34224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34225 $as_echo "no" >&6; }
34226 else
34227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34228 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34229 fi
34230 wxUSE_LIBGNOMEPRINT="no"
34231
34232
34233 elif test $pkg_failed = untried; then
34234
34235 if test "$wxUSE_GTKPRINT" = yes; then
34236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34237 $as_echo "no" >&6; }
34238 else
34239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34240 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34241 fi
34242 wxUSE_LIBGNOMEPRINT="no"
34243
34244
34245 else
34246 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
34247 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
34248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34249 $as_echo "yes" >&6; }
34250
34251 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
34252 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
34253 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
34254 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
34255
34256
34257 fi
34258 fi
34259 fi
34260
34261 if test "$wxUSE_MIMETYPE" = "yes" ; then
34262 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
34263
34264
34265 pkg_failed=no
34266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
34267 $as_echo_n "checking for GNOMEVFS... " >&6; }
34268
34269 if test -n "$PKG_CONFIG"; then
34270 if test -n "$GNOMEVFS_CFLAGS"; then
34271 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
34272 else
34273 if test -n "$PKG_CONFIG" && \
34274 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34275 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34276 ac_status=$?
34277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34278 test $ac_status = 0; }; then
34279 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34280 else
34281 pkg_failed=yes
34282 fi
34283 fi
34284 else
34285 pkg_failed=untried
34286 fi
34287 if test -n "$PKG_CONFIG"; then
34288 if test -n "$GNOMEVFS_LIBS"; then
34289 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
34290 else
34291 if test -n "$PKG_CONFIG" && \
34292 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34293 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34294 ac_status=$?
34295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34296 test $ac_status = 0; }; then
34297 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34298 else
34299 pkg_failed=yes
34300 fi
34301 fi
34302 else
34303 pkg_failed=untried
34304 fi
34305
34306
34307
34308 if test $pkg_failed = yes; then
34309
34310 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34311 _pkg_short_errors_supported=yes
34312 else
34313 _pkg_short_errors_supported=no
34314 fi
34315 if test $_pkg_short_errors_supported = yes; then
34316 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34317 else
34318 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34319 fi
34320 # Put the nasty error message in config.log where it belongs
34321 echo "$GNOMEVFS_PKG_ERRORS" >&5
34322
34323
34324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34325 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34326 wxUSE_LIBGNOMEVFS="no"
34327
34328
34329 elif test $pkg_failed = untried; then
34330
34331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34332 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34333 wxUSE_LIBGNOMEVFS="no"
34334
34335
34336 else
34337 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
34338 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
34339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34340 $as_echo "yes" >&6; }
34341
34342 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34343 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
34344 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
34345 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34346
34347
34348 fi
34349 fi
34350 fi
34351
34352 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34353 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34354 HAVE_LIBNOTIFY=0
34355
34356 pkg_failed=no
34357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34358 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34359
34360 if test -n "$PKG_CONFIG"; then
34361 if test -n "$LIBNOTIFY_CFLAGS"; then
34362 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34363 else
34364 if test -n "$PKG_CONFIG" && \
34365 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34366 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34367 ac_status=$?
34368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34369 test $ac_status = 0; }; then
34370 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34371 else
34372 pkg_failed=yes
34373 fi
34374 fi
34375 else
34376 pkg_failed=untried
34377 fi
34378 if test -n "$PKG_CONFIG"; then
34379 if test -n "$LIBNOTIFY_LIBS"; then
34380 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34381 else
34382 if test -n "$PKG_CONFIG" && \
34383 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34384 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34385 ac_status=$?
34386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34387 test $ac_status = 0; }; then
34388 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34389 else
34390 pkg_failed=yes
34391 fi
34392 fi
34393 else
34394 pkg_failed=untried
34395 fi
34396
34397
34398
34399 if test $pkg_failed = yes; then
34400
34401 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34402 _pkg_short_errors_supported=yes
34403 else
34404 _pkg_short_errors_supported=no
34405 fi
34406 if test $_pkg_short_errors_supported = yes; then
34407 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34408 else
34409 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34410 fi
34411 # Put the nasty error message in config.log where it belongs
34412 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34413
34414
34415
34416 pkg_failed=no
34417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34418 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34419
34420 if test -n "$PKG_CONFIG"; then
34421 if test -n "$LIBNOTIFY_CFLAGS"; then
34422 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34423 else
34424 if test -n "$PKG_CONFIG" && \
34425 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34426 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34427 ac_status=$?
34428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34429 test $ac_status = 0; }; then
34430 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34431 else
34432 pkg_failed=yes
34433 fi
34434 fi
34435 else
34436 pkg_failed=untried
34437 fi
34438 if test -n "$PKG_CONFIG"; then
34439 if test -n "$LIBNOTIFY_LIBS"; then
34440 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34441 else
34442 if test -n "$PKG_CONFIG" && \
34443 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34444 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34445 ac_status=$?
34446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34447 test $ac_status = 0; }; then
34448 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34449 else
34450 pkg_failed=yes
34451 fi
34452 fi
34453 else
34454 pkg_failed=untried
34455 fi
34456
34457
34458
34459 if test $pkg_failed = yes; then
34460
34461 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34462 _pkg_short_errors_supported=yes
34463 else
34464 _pkg_short_errors_supported=no
34465 fi
34466 if test $_pkg_short_errors_supported = yes; then
34467 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34468 else
34469 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34470 fi
34471 # Put the nasty error message in config.log where it belongs
34472 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34473
34474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34475 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34476
34477 elif test $pkg_failed = untried; then
34478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34479 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34480
34481 else
34482 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34483 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34485 $as_echo "yes" >&6; }
34486 HAVE_LIBNOTIFY=1
34487 fi
34488
34489
34490 elif test $pkg_failed = untried; then
34491
34492
34493 pkg_failed=no
34494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34495 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34496
34497 if test -n "$PKG_CONFIG"; then
34498 if test -n "$LIBNOTIFY_CFLAGS"; then
34499 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34500 else
34501 if test -n "$PKG_CONFIG" && \
34502 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34503 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34504 ac_status=$?
34505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34506 test $ac_status = 0; }; then
34507 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34508 else
34509 pkg_failed=yes
34510 fi
34511 fi
34512 else
34513 pkg_failed=untried
34514 fi
34515 if test -n "$PKG_CONFIG"; then
34516 if test -n "$LIBNOTIFY_LIBS"; then
34517 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34518 else
34519 if test -n "$PKG_CONFIG" && \
34520 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34521 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34522 ac_status=$?
34523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34524 test $ac_status = 0; }; then
34525 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34526 else
34527 pkg_failed=yes
34528 fi
34529 fi
34530 else
34531 pkg_failed=untried
34532 fi
34533
34534
34535
34536 if test $pkg_failed = yes; then
34537
34538 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34539 _pkg_short_errors_supported=yes
34540 else
34541 _pkg_short_errors_supported=no
34542 fi
34543 if test $_pkg_short_errors_supported = yes; then
34544 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34545 else
34546 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34547 fi
34548 # Put the nasty error message in config.log where it belongs
34549 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34550
34551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34552 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34553
34554 elif test $pkg_failed = untried; then
34555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34556 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34557
34558 else
34559 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34560 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34562 $as_echo "yes" >&6; }
34563 HAVE_LIBNOTIFY=1
34564 fi
34565
34566
34567 else
34568 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34569 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34571 $as_echo "yes" >&6; }
34572
34573 HAVE_LIBNOTIFY=1
34574 $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34575
34576
34577 fi
34578
34579 if test "$HAVE_LIBNOTIFY" = "1" ; then
34580 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34581 CFLAGS="$LIBNOTIFY_CFLAGS $CFLAGS"
34582 CXXFLAGS="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34583 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34584
34585 fi
34586 fi
34587 fi
34588
34589 if test "$wxUSE_LIBHILDON" = "yes" ; then
34590
34591 pkg_failed=no
34592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34593 $as_echo_n "checking for HILDON... " >&6; }
34594
34595 if test -n "$PKG_CONFIG"; then
34596 if test -n "$HILDON_CFLAGS"; then
34597 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
34598 else
34599 if test -n "$PKG_CONFIG" && \
34600 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34601 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34602 ac_status=$?
34603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34604 test $ac_status = 0; }; then
34605 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34606 else
34607 pkg_failed=yes
34608 fi
34609 fi
34610 else
34611 pkg_failed=untried
34612 fi
34613 if test -n "$PKG_CONFIG"; then
34614 if test -n "$HILDON_LIBS"; then
34615 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
34616 else
34617 if test -n "$PKG_CONFIG" && \
34618 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34619 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34620 ac_status=$?
34621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34622 test $ac_status = 0; }; then
34623 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34624 else
34625 pkg_failed=yes
34626 fi
34627 fi
34628 else
34629 pkg_failed=untried
34630 fi
34631
34632
34633
34634 if test $pkg_failed = yes; then
34635
34636 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34637 _pkg_short_errors_supported=yes
34638 else
34639 _pkg_short_errors_supported=no
34640 fi
34641 if test $_pkg_short_errors_supported = yes; then
34642 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34643 else
34644 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34645 fi
34646 # Put the nasty error message in config.log where it belongs
34647 echo "$HILDON_PKG_ERRORS" >&5
34648
34649
34650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34651 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34652 wxUSE_LIBHILDON="no"
34653 ac_hildon_lgpl=0
34654
34655
34656 elif test $pkg_failed = untried; then
34657
34658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34659 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34660 wxUSE_LIBHILDON="no"
34661 ac_hildon_lgpl=0
34662
34663
34664 else
34665 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
34666 HILDON_LIBS=$pkg_cv_HILDON_LIBS
34667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34668 $as_echo "yes" >&6; }
34669
34670 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON_LIBS"
34671 CFLAGS="$CFLAGS $HILDON_CFLAGS"
34672 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
34673 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34674
34675 ac_hildon_lgpl=1
34676
34677 fi
34678
34679 if test "$ac_hildon_lgpl" = 0 ; then
34680
34681 pkg_failed=no
34682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34683 $as_echo_n "checking for HILDON2... " >&6; }
34684
34685 if test -n "$PKG_CONFIG"; then
34686 if test -n "$HILDON2_CFLAGS"; then
34687 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
34688 else
34689 if test -n "$PKG_CONFIG" && \
34690 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34691 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34692 ac_status=$?
34693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34694 test $ac_status = 0; }; then
34695 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34696 else
34697 pkg_failed=yes
34698 fi
34699 fi
34700 else
34701 pkg_failed=untried
34702 fi
34703 if test -n "$PKG_CONFIG"; then
34704 if test -n "$HILDON2_LIBS"; then
34705 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
34706 else
34707 if test -n "$PKG_CONFIG" && \
34708 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34709 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34710 ac_status=$?
34711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34712 test $ac_status = 0; }; then
34713 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34714 else
34715 pkg_failed=yes
34716 fi
34717 fi
34718 else
34719 pkg_failed=untried
34720 fi
34721
34722
34723
34724 if test $pkg_failed = yes; then
34725
34726 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34727 _pkg_short_errors_supported=yes
34728 else
34729 _pkg_short_errors_supported=no
34730 fi
34731 if test $_pkg_short_errors_supported = yes; then
34732 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34733 else
34734 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34735 fi
34736 # Put the nasty error message in config.log where it belongs
34737 echo "$HILDON2_PKG_ERRORS" >&5
34738
34739
34740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34741 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34742 wxUSE_LIBHILDON2="no"
34743
34744
34745 elif test $pkg_failed = untried; then
34746
34747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34748 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34749 wxUSE_LIBHILDON2="no"
34750
34751
34752 else
34753 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
34754 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
34755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34756 $as_echo "yes" >&6; }
34757
34758 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON2_LIBS"
34759 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
34760 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
34761 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34762
34763
34764 fi
34765 fi
34766 fi
34767 fi
34768
34769 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34770 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34771
34772 fi
34773
34774 if test "$wxUSE_STOPWATCH" = "yes"; then
34775 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34776
34777 fi
34778
34779 if test "$wxUSE_DATETIME" = "yes"; then
34780 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34781
34782 fi
34783
34784 if test "$wxUSE_FILE" = "yes"; then
34785 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34786
34787 fi
34788
34789 if test "$wxUSE_FFILE" = "yes"; then
34790 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34791
34792 fi
34793
34794 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34795 if test "$wxUSE_STREAMS" != yes; then
34796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34797 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34798 wxUSE_ARCHIVE_STREAMS=no
34799 else
34800 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34801
34802 fi
34803 fi
34804
34805 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34806 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34808 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34809 elif test "$wxUSE_ZLIB" = "no"; then
34810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34811 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34812 else
34813 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34814
34815 fi
34816 fi
34817
34818 if test "$wxUSE_TARSTREAM" = "yes"; then
34819 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34821 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34822 else
34823 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34824
34825 fi
34826 fi
34827
34828 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34829 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34830
34831 fi
34832
34833 if test "$wxUSE_FILESYSTEM" = "yes"; then
34834 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
34835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34836 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34837 wxUSE_FILESYSTEM=no
34838 else
34839 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34840
34841 fi
34842 fi
34843
34844 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34845 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34847 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34848 else
34849 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34850
34851 fi
34852 fi
34853
34854 if test "$wxUSE_FS_ZIP" = "yes"; then
34855 if test "$wxUSE_FS_ARCHIVE" != yes; then
34856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34857 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34858 else
34859 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34860
34861 fi
34862 fi
34863
34864 if test "$wxUSE_FSVOLUME" = "yes"; then
34865 $as_echo "#define wxUSE_FSVOLUME 1" >>confdefs.h
34866
34867 fi
34868
34869 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34870 if test "$USE_UNIX" != 1; then
34871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34872 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34873 wxUSE_ON_FATAL_EXCEPTION=no
34874 else
34875 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34876
34877 fi
34878 fi
34879
34880 if test "$wxUSE_STACKWALKER" = "yes"; then
34881 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34882
34883 fi
34884
34885 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34886 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34888 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34889 wxUSE_DEBUGREPORT=no
34890 else
34891 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34892
34893 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34894 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
34895 fi
34896 fi
34897 fi
34898
34899 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34900 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34901
34902 fi
34903
34904 if test "$wxUSE_BUSYINFO" = "yes"; then
34905 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34906
34907 fi
34908
34909 if test "$wxUSE_HOTKEY" = "yes"; then
34910 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34912 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34913 wxUSE_HOTKEY=no
34914 fi
34915 elif test "$wxUSE_HOTKEY" = "auto"; then
34916 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34917 wxUSE_HOTKEY=yes
34918 fi
34919 fi
34920 if test "$wxUSE_HOTKEY" = "yes"; then
34921 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34922
34923 fi
34924
34925 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34926 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34927
34928 fi
34929
34930 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34931 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34932
34933 fi
34934
34935 if test "$wxUSE_STD_STRING" = "yes"; then
34936 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34937
34938 fi
34939
34940 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34941 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34942
34943 fi
34944
34945 if test "$wxUSE_STDPATHS" = "yes"; then
34946 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34947
34948 fi
34949
34950 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34951 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34952
34953 fi
34954
34955 if test "$wxUSE_TEXTFILE" = "yes"; then
34956 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34958 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34959 else
34960 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34961
34962 fi
34963 fi
34964
34965 if test "$wxUSE_CONFIG" = "yes" ; then
34966 if test "$wxUSE_TEXTFILE" != "yes"; then
34967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34968 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34969 else
34970 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34971
34972 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34973
34974 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34975 fi
34976 fi
34977
34978 if test "$wxUSE_INTL" = "yes" ; then
34979 if test "$wxUSE_FILE" != "yes"; then
34980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34981 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34982 else
34983 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34984
34985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34986 GUIDIST="$GUIDIST INTL_DIST"
34987 fi
34988 fi
34989
34990 if test "$wxUSE_XLOCALE" = "yes" ; then
34991 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34992
34993 ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34994 #include <locale.h>
34995 "
34996 if test "x$ac_cv_type_locale_t" = xyes; then :
34997
34998 cat >>confdefs.h <<_ACEOF
34999 #define HAVE_LOCALE_T 1
35000 _ACEOF
35001
35002
35003 fi
35004
35005 fi
35006
35007 if test "$wxUSE_LOG" = "yes"; then
35008 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
35009
35010
35011 if test "$wxUSE_LOGGUI" = "yes"; then
35012 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
35013
35014 fi
35015
35016 if test "$wxUSE_LOGWINDOW" = "yes"; then
35017 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
35018
35019 fi
35020
35021 if test "$wxUSE_LOGDIALOG" = "yes"; then
35022 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
35023
35024 fi
35025
35026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
35027 fi
35028
35029 if test "$wxUSE_LONGLONG" = "yes"; then
35030 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
35031
35032 fi
35033
35034 if test "$wxUSE_GEOMETRY" = "yes"; then
35035 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
35036
35037 fi
35038
35039 if test "$wxUSE_BASE64" = "yes"; then
35040 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
35041
35042 fi
35043
35044 if test "$wxUSE_STREAMS" = "yes" ; then
35045 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
35046
35047 fi
35048
35049 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35050 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
35051
35052 fi
35053
35054 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
35055 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
35056
35057 fi
35058
35059
35060 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
35061 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
35062
35063
35064 if test "$wxUSE_UNIX" = "yes"; then
35065 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
35066 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
35067
35068 fi
35069
35070 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
35071 for ac_header in sys/epoll.h
35072 do :
35073 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
35074 "
35075 if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
35076 cat >>confdefs.h <<_ACEOF
35077 #define HAVE_SYS_EPOLL_H 1
35078 _ACEOF
35079
35080 fi
35081
35082 done
35083
35084 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
35085 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
35086
35087 else
35088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
35089 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
35090 fi
35091 fi
35092 fi
35093 fi
35094
35095
35096 for ac_func in gettimeofday ftime
35097 do :
35098 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35099 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35100 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
35101 cat >>confdefs.h <<_ACEOF
35102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35103 _ACEOF
35104 break
35105 fi
35106 done
35107
35108
35109 if test "$ac_cv_func_gettimeofday" = "yes"; then
35110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
35111 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
35112 if ${wx_cv_func_gettimeofday_has_2_args+:} false; then :
35113 $as_echo_n "(cached) " >&6
35114 else
35115
35116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35117 /* end confdefs.h. */
35118
35119 #include <sys/time.h>
35120 #include <unistd.h>
35121
35122 int
35123 main ()
35124 {
35125
35126 struct timeval tv;
35127 gettimeofday(&tv, NULL);
35128
35129 ;
35130 return 0;
35131 }
35132 _ACEOF
35133 if ac_fn_c_try_compile "$LINENO"; then :
35134 wx_cv_func_gettimeofday_has_2_args=yes
35135 else
35136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35137 /* end confdefs.h. */
35138
35139 #include <sys/time.h>
35140 #include <unistd.h>
35141
35142 int
35143 main ()
35144 {
35145
35146 struct timeval tv;
35147 gettimeofday(&tv);
35148
35149 ;
35150 return 0;
35151 }
35152 _ACEOF
35153 if ac_fn_c_try_compile "$LINENO"; then :
35154 wx_cv_func_gettimeofday_has_2_args=no
35155 else
35156
35157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
35158 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35159 wx_cv_func_gettimeofday_has_2_args=unknown
35160
35161
35162 fi
35163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35164
35165 fi
35166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35167
35168 fi
35169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35170 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
35171
35172 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35173 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
35174
35175 fi
35176 fi
35177
35178 if test "$wxUSE_DATETIME" = "yes"; then
35179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
35180 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
35181 if ${wx_cv_var_timezone+:} false; then :
35182 $as_echo_n "(cached) " >&6
35183 else
35184
35185 ac_ext=cpp
35186 ac_cpp='$CXXCPP $CPPFLAGS'
35187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35190
35191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35192 /* end confdefs.h. */
35193
35194 #include <time.h>
35195
35196 int
35197 main ()
35198 {
35199
35200 int tz;
35201 tz = timezone;
35202
35203 ;
35204 return 0;
35205 }
35206 _ACEOF
35207 if ac_fn_cxx_try_compile "$LINENO"; then :
35208
35209 wx_cv_var_timezone=timezone
35210
35211 else
35212
35213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35214 /* end confdefs.h. */
35215
35216 #include <time.h>
35217
35218 int
35219 main ()
35220 {
35221
35222 int tz;
35223 tz = _timezone;
35224
35225 ;
35226 return 0;
35227 }
35228 _ACEOF
35229 if ac_fn_cxx_try_compile "$LINENO"; then :
35230
35231 wx_cv_var_timezone=_timezone
35232
35233 else
35234
35235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35236 /* end confdefs.h. */
35237
35238 #include <time.h>
35239
35240 int
35241 main ()
35242 {
35243
35244 int tz;
35245 tz = __timezone;
35246
35247 ;
35248 return 0;
35249 }
35250 _ACEOF
35251 if ac_fn_cxx_try_compile "$LINENO"; then :
35252
35253 wx_cv_var_timezone=__timezone
35254
35255 else
35256
35257 if test "$USE_DOS" = 0 ; then
35258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
35259 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
35260 fi
35261
35262
35263 fi
35264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35265
35266
35267 fi
35268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35269
35270
35271 fi
35272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35273 ac_ext=c
35274 ac_cpp='$CPP $CPPFLAGS'
35275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35278
35279
35280
35281 fi
35282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
35283 $as_echo "$wx_cv_var_timezone" >&6; }
35284
35285 if test "x$wx_cv_var_timezone" != x ; then
35286 cat >>confdefs.h <<_ACEOF
35287 #define WX_TIMEZONE $wx_cv_var_timezone
35288 _ACEOF
35289
35290 fi
35291
35292 for ac_func in localtime
35293 do :
35294 ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
35295 if test "x$ac_cv_func_localtime" = xyes; then :
35296 cat >>confdefs.h <<_ACEOF
35297 #define HAVE_LOCALTIME 1
35298 _ACEOF
35299
35300 fi
35301 done
35302
35303
35304 if test "$ac_cv_func_localtime" = "yes"; then
35305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
35306 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
35307 if ${wx_cv_struct_tm_has_gmtoff+:} false; then :
35308 $as_echo_n "(cached) " >&6
35309 else
35310
35311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35312 /* end confdefs.h. */
35313
35314 #include <time.h>
35315
35316 int
35317 main ()
35318 {
35319
35320 struct tm tm;
35321 tm.tm_gmtoff++;
35322
35323 ;
35324 return 0;
35325 }
35326 _ACEOF
35327 if ac_fn_c_try_compile "$LINENO"; then :
35328
35329 wx_cv_struct_tm_has_gmtoff=yes
35330
35331 else
35332 wx_cv_struct_tm_has_gmtoff=no
35333
35334 fi
35335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35336
35337 fi
35338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35339 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35340 fi
35341
35342 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35343 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35344
35345 fi
35346
35347 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35348 fi
35349
35350
35351 for ac_func in setpriority
35352 do :
35353 ac_fn_c_check_func "$LINENO" "setpriority" "ac_cv_func_setpriority"
35354 if test "x$ac_cv_func_setpriority" = xyes; then :
35355 cat >>confdefs.h <<_ACEOF
35356 #define HAVE_SETPRIORITY 1
35357 _ACEOF
35358
35359 fi
35360 done
35361
35362
35363
35364 if test "$wxUSE_SOCKETS" = "yes"; then
35365 if test "$TOOLKIT" != "MSW"; then
35366 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
35367 if test "x$ac_cv_func_socket" = xyes; then :
35368
35369 else
35370
35371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35372 $as_echo_n "checking for socket in -lsocket... " >&6; }
35373 if ${ac_cv_lib_socket_socket+:} false; then :
35374 $as_echo_n "(cached) " >&6
35375 else
35376 ac_check_lib_save_LIBS=$LIBS
35377 LIBS="-lsocket $LIBS"
35378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35379 /* end confdefs.h. */
35380
35381 /* Override any GCC internal prototype to avoid an error.
35382 Use char because int might match the return type of a GCC
35383 builtin and then its argument prototype would still apply. */
35384 #ifdef __cplusplus
35385 extern "C"
35386 #endif
35387 char socket ();
35388 int
35389 main ()
35390 {
35391 return socket ();
35392 ;
35393 return 0;
35394 }
35395 _ACEOF
35396 if ac_fn_c_try_link "$LINENO"; then :
35397 ac_cv_lib_socket_socket=yes
35398 else
35399 ac_cv_lib_socket_socket=no
35400 fi
35401 rm -f core conftest.err conftest.$ac_objext \
35402 conftest$ac_exeext conftest.$ac_ext
35403 LIBS=$ac_check_lib_save_LIBS
35404 fi
35405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35406 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35407 if test "x$ac_cv_lib_socket_socket" = xyes; then :
35408 if test "$INET_LINK" != " -lsocket"; then
35409 INET_LINK="$INET_LINK -lsocket"
35410 fi
35411 else
35412
35413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35414 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35415 wxUSE_SOCKETS=no
35416
35417
35418 fi
35419
35420
35421
35422 fi
35423
35424 fi
35425 fi
35426
35427 if test "$wxUSE_SOCKETS" = "yes" ; then
35428 if test "$TOOLKIT" != "MSW"; then
35429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35430 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35431 if ${wx_cv_type_getsockname3+:} false; then :
35432 $as_echo_n "(cached) " >&6
35433 else
35434
35435 ac_ext=cpp
35436 ac_cpp='$CXXCPP $CPPFLAGS'
35437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35440
35441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35442 /* end confdefs.h. */
35443
35444 #include <sys/types.h>
35445 #include <sys/socket.h>
35446
35447 int
35448 main ()
35449 {
35450
35451 socklen_t len;
35452 getsockname(0, 0, &len);
35453
35454 ;
35455 return 0;
35456 }
35457 _ACEOF
35458 if ac_fn_cxx_try_compile "$LINENO"; then :
35459 wx_cv_type_getsockname3=socklen_t
35460 else
35461
35462 CFLAGS_OLD="$CFLAGS"
35463 if test "$GCC" = yes ; then
35464 CFLAGS="-Werror $CFLAGS"
35465 fi
35466
35467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35468 /* end confdefs.h. */
35469
35470 #include <sys/types.h>
35471 #include <sys/socket.h>
35472
35473 int
35474 main ()
35475 {
35476
35477 size_t len;
35478 getsockname(0, 0, &len);
35479
35480 ;
35481 return 0;
35482 }
35483 _ACEOF
35484 if ac_fn_cxx_try_compile "$LINENO"; then :
35485 wx_cv_type_getsockname3=size_t
35486 else
35487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35488 /* end confdefs.h. */
35489
35490 #include <sys/types.h>
35491 #include <sys/socket.h>
35492
35493 int
35494 main ()
35495 {
35496
35497 int len;
35498 getsockname(0, 0, &len);
35499
35500 ;
35501 return 0;
35502 }
35503 _ACEOF
35504 if ac_fn_cxx_try_compile "$LINENO"; then :
35505 wx_cv_type_getsockname3=int
35506 else
35507 wx_cv_type_getsockname3=unknown
35508
35509 fi
35510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35511
35512 fi
35513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35514
35515 CFLAGS="$CFLAGS_OLD"
35516
35517
35518 fi
35519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35520 ac_ext=c
35521 ac_cpp='$CPP $CPPFLAGS'
35522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35525
35526
35527 fi
35528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35529 $as_echo "$wx_cv_type_getsockname3" >&6; }
35530
35531 if test "$wx_cv_type_getsockname3" = "unknown"; then
35532 wxUSE_SOCKETS=no
35533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35534 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35535 else
35536 cat >>confdefs.h <<_ACEOF
35537 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35538 _ACEOF
35539
35540 fi
35541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35542 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35543 if ${wx_cv_type_getsockopt5+:} false; then :
35544 $as_echo_n "(cached) " >&6
35545 else
35546
35547 ac_ext=cpp
35548 ac_cpp='$CXXCPP $CPPFLAGS'
35549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35552
35553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35554 /* end confdefs.h. */
35555
35556 #include <sys/types.h>
35557 #include <sys/socket.h>
35558
35559 int
35560 main ()
35561 {
35562
35563 socklen_t len;
35564 getsockopt(0, 0, 0, 0, &len);
35565
35566 ;
35567 return 0;
35568 }
35569 _ACEOF
35570 if ac_fn_cxx_try_compile "$LINENO"; then :
35571 wx_cv_type_getsockopt5=socklen_t
35572 else
35573
35574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35575 /* end confdefs.h. */
35576
35577 #include <sys/types.h>
35578 #include <sys/socket.h>
35579
35580 int
35581 main ()
35582 {
35583
35584 size_t len;
35585 getsockopt(0, 0, 0, 0, &len);
35586
35587 ;
35588 return 0;
35589 }
35590 _ACEOF
35591 if ac_fn_cxx_try_compile "$LINENO"; then :
35592 wx_cv_type_getsockopt5=size_t
35593 else
35594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35595 /* end confdefs.h. */
35596
35597 #include <sys/types.h>
35598 #include <sys/socket.h>
35599
35600 int
35601 main ()
35602 {
35603
35604 int len;
35605 getsockopt(0, 0, 0, 0, &len);
35606
35607 ;
35608 return 0;
35609 }
35610 _ACEOF
35611 if ac_fn_cxx_try_compile "$LINENO"; then :
35612 wx_cv_type_getsockopt5=int
35613 else
35614 wx_cv_type_getsockopt5=unknown
35615
35616 fi
35617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35618
35619 fi
35620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35621
35622
35623 fi
35624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35625 ac_ext=c
35626 ac_cpp='$CPP $CPPFLAGS'
35627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35630
35631
35632 fi
35633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35634 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35635
35636 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35637 wxUSE_SOCKETS=no
35638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35639 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35640 else
35641 cat >>confdefs.h <<_ACEOF
35642 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35643 _ACEOF
35644
35645 fi
35646 fi
35647 fi
35648
35649 if test "$wxUSE_SOCKETS" = "yes" ; then
35650 if test "$wxUSE_IPV6" = "yes"; then
35651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35652 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35653 if ${wx_cv_type_sockaddr_in6+:} false; then :
35654 $as_echo_n "(cached) " >&6
35655 else
35656
35657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35658 /* end confdefs.h. */
35659
35660 #include <sys/types.h>
35661 #include <sys/socket.h>
35662 #include <netinet/in.h>
35663
35664 int
35665 main ()
35666 {
35667
35668 struct sockaddr_in6 sa6;
35669
35670 ;
35671 return 0;
35672 }
35673 _ACEOF
35674 if ac_fn_c_try_compile "$LINENO"; then :
35675 wx_cv_type_sockaddr_in6=yes
35676 else
35677 wx_cv_type_sockaddr_in6=no
35678
35679 fi
35680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35681
35682
35683 fi
35684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35685 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35686
35687 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35688 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35689
35690 else
35691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35692 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35693 fi
35694 fi
35695
35696 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35697
35698 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35699 fi
35700
35701 if test "$wxUSE_PROTOCOL" = "yes"; then
35702 if test "$wxUSE_SOCKETS" != "yes"; then
35703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35704 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35705 wxUSE_PROTOCOL=no
35706 fi
35707 fi
35708
35709 if test "$wxUSE_PROTOCOL" = "yes"; then
35710 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35711
35712
35713 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35714 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35715
35716 fi
35717 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35718 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35719
35720 fi
35721 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35722 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35723
35724 fi
35725 else
35726 if test "$wxUSE_FS_INET" = "yes"; then
35727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35728 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35729 wxUSE_FS_INET="no"
35730 fi
35731 fi
35732
35733 if test "$wxUSE_URL" = "yes"; then
35734 if test "$wxUSE_PROTOCOL" != "yes"; then
35735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35736 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35737 wxUSE_URL=no
35738 fi
35739 if test "$wxUSE_URL" = "yes"; then
35740 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35741
35742 fi
35743 fi
35744
35745 if test "$wxUSE_VARIANT" = "yes"; then
35746 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35747
35748 fi
35749
35750 if test "$wxUSE_FS_INET" = "yes"; then
35751 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35752
35753 fi
35754
35755
35756 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35757 wxUSE_JOYSTICK=no
35758
35759 if test "$TOOLKIT" = "MSW"; then
35760 wxUSE_JOYSTICK=yes
35761
35762 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35763 if test "$USE_DARWIN" = 1; then
35764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35765 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35766 ac_ext=cpp
35767 ac_cpp='$CXXCPP $CPPFLAGS'
35768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35771
35772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35773 /* end confdefs.h. */
35774 #include <IOKit/hid/IOHIDLib.h>
35775 int
35776 main ()
35777 {
35778 IOHIDQueueInterface *qi = NULL;
35779 IOHIDCallbackFunction cb = NULL;
35780 qi->setEventCallout(NULL, cb, NULL, NULL);
35781 ;
35782 return 0;
35783 }
35784 _ACEOF
35785 if ac_fn_cxx_try_compile "$LINENO"; then :
35786 wxUSE_JOYSTICK=yes
35787
35788 fi
35789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35790 ac_ext=c
35791 ac_cpp='$CPP $CPPFLAGS'
35792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35795
35796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35797 $as_echo "$wxUSE_JOYSTICK" >&6; }
35798 fi
35799
35800 else
35801 for ac_header in linux/joystick.h
35802 do :
35803 ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35804 "
35805 if test "x$ac_cv_header_linux_joystick_h" = xyes; then :
35806 cat >>confdefs.h <<_ACEOF
35807 #define HAVE_LINUX_JOYSTICK_H 1
35808 _ACEOF
35809 wxUSE_JOYSTICK=yes
35810 fi
35811
35812 done
35813
35814 fi
35815
35816 if test "$wxUSE_JOYSTICK" = "yes"; then
35817 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35818
35819 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35820 else
35821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35822 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35823 fi
35824 fi
35825
35826
35827
35828 if test "$wxUSE_FONTENUM" = "yes" ; then
35829 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35830
35831 fi
35832
35833 if test "$wxUSE_FONTMAP" = "yes" ; then
35834 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35835
35836 fi
35837
35838 if test "$wxUSE_UNICODE" = "yes" ; then
35839 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35840
35841
35842 if test "$USE_WIN32" != 1; then
35843 wxUSE_UNICODE_MSLU=no
35844 fi
35845
35846 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35848 $as_echo_n "checking for main in -lunicows... " >&6; }
35849 if ${ac_cv_lib_unicows_main+:} false; then :
35850 $as_echo_n "(cached) " >&6
35851 else
35852 ac_check_lib_save_LIBS=$LIBS
35853 LIBS="-lunicows $LIBS"
35854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35855 /* end confdefs.h. */
35856
35857
35858 int
35859 main ()
35860 {
35861 return main ();
35862 ;
35863 return 0;
35864 }
35865 _ACEOF
35866 if ac_fn_c_try_link "$LINENO"; then :
35867 ac_cv_lib_unicows_main=yes
35868 else
35869 ac_cv_lib_unicows_main=no
35870 fi
35871 rm -f core conftest.err conftest.$ac_objext \
35872 conftest$ac_exeext conftest.$ac_ext
35873 LIBS=$ac_check_lib_save_LIBS
35874 fi
35875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35876 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35877 if test "x$ac_cv_lib_unicows_main" = xyes; then :
35878
35879 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35880
35881
35882 else
35883
35884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35885 Applications will only run on Windows NT/2000/XP!" >&5
35886 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35887 Applications will only run on Windows NT/2000/XP!" >&2;}
35888 wxUSE_UNICODE_MSLU=no
35889
35890 fi
35891
35892 fi
35893 fi
35894
35895 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35896 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35897
35898
35899 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35900 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35901
35902 fi
35903 fi
35904
35905
35906 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35907 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35908
35909 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35910 fi
35911
35912 if test "$wxUSE_MDI" = "yes"; then
35913 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35914
35915
35916 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35917 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35918
35919 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35920 fi
35921 fi
35922
35923 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35924 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35925
35926 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35927 fi
35928
35929 if test "$wxUSE_HELP" = "yes"; then
35930 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35931
35932 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35933
35934 if test "$wxUSE_MSW" = 1; then
35935 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35936 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35937
35938 fi
35939 fi
35940
35941 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35942 if test "$wxUSE_HTML" = "yes"; then
35943 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35944
35945 else
35946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35947 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35948 wxUSE_WXHTML_HELP=no
35949 fi
35950 fi
35951 fi
35952
35953 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35954 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35955
35956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35957 fi
35958
35959 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35960 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35961
35962 fi
35963
35964 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35965
35966
35967 if test "$wxUSE_SVG" = "yes"; then
35968 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35969
35970 fi
35971
35972
35973 if test "$wxUSE_METAFILE" = "yes"; then
35974 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35976 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35977 wxUSE_METAFILE=no
35978 fi
35979 elif test "$wxUSE_METAFILE" = "auto"; then
35980 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35981 wxUSE_METAFILE=yes
35982 fi
35983 fi
35984
35985 if test "$wxUSE_METAFILE" = "yes"; then
35986 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35987
35988 if test "$wxUSE_MSW" = 1; then
35989 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35990
35991 fi
35992 fi
35993
35994
35995 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
35996 -o "$wxUSE_CLIPBOARD" = "yes" \
35997 -o "$wxUSE_OLE" = "yes" \
35998 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
35999 ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
36000 "
36001 if test "x$ac_cv_header_ole2_h" = xyes; then :
36002
36003 fi
36004
36005
36006
36007 if test "$ac_cv_header_ole2_h" = "yes" ; then
36008 if test "$GCC" = yes ; then
36009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
36010 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
36011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36012 /* end confdefs.h. */
36013 #include <windows.h>
36014 #include <ole2.h>
36015 int
36016 main ()
36017 {
36018
36019 ;
36020 return 0;
36021 }
36022 _ACEOF
36023 if ac_fn_c_try_compile "$LINENO"; then :
36024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36025 $as_echo "no" >&6; }
36026 else
36027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36028 $as_echo "yes" >&6; }
36029 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
36030 fi
36031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36032 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36033 if test "$wxUSE_OLE" = "yes" ; then
36034 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
36035
36036 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
36037
36038 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
36039
36040 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
36041 fi
36042 fi
36043
36044 if test "$wxUSE_DATAOBJ" = "yes" ; then
36045 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36046
36047 fi
36048 else
36049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
36050 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36051
36052 wxUSE_CLIPBOARD=no
36053 wxUSE_DRAG_AND_DROP=no
36054 wxUSE_DATAOBJ=no
36055 wxUSE_OLE=no
36056 fi
36057 fi
36058
36059 if test "$wxUSE_IPC" = "yes"; then
36060 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
36061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36062 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36063 wxUSE_IPC=no
36064 fi
36065
36066 if test "$wxUSE_IPC" = "yes"; then
36067 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
36068
36069 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
36070 fi
36071 fi
36072
36073 if test "$wxUSE_DATAOBJ" = "yes"; then
36074 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36075
36076 else
36077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
36078 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
36079 wxUSE_CLIPBOARD=no
36080 wxUSE_DRAG_AND_DROP=no
36081 fi
36082
36083 if test "$wxUSE_CLIPBOARD" = "yes"; then
36084 if test "$wxUSE_DFB" = 1; then
36085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
36086 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
36087 wxUSE_CLIPBOARD=no
36088 fi
36089
36090 if test "$wxUSE_CLIPBOARD" = "yes"; then
36091 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
36092
36093 fi
36094 fi
36095
36096 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36097 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
36098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
36099 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
36100 wxUSE_DRAG_AND_DROP=no
36101 fi
36102
36103 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36104 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
36105
36106 fi
36107
36108 fi
36109
36110 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36111 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36112 fi
36113
36114 if test "$wxUSE_CLIPBOARD" = "yes"; then
36115 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
36116 fi
36117
36118 if test "$wxUSE_SPLINES" = "yes" ; then
36119 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
36120
36121 fi
36122
36123 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
36124 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
36125
36126 fi
36127
36128 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
36129 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
36130
36131 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
36132 fi
36133
36134 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
36135 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
36136
36137 fi
36138
36139
36140 USES_CONTROLS=0
36141 if test "$wxUSE_CONTROLS" = "yes"; then
36142 USES_CONTROLS=1
36143 fi
36144
36145 if test "$wxUSE_MARKUP" = "yes"; then
36146 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
36147
36148 fi
36149
36150 if test "$wxUSE_ACCEL" = "yes"; then
36151 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
36152
36153 USES_CONTROLS=1
36154 fi
36155
36156 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
36157 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
36158
36159 USES_CONTROLS=1
36160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
36161 fi
36162
36163 if test "$wxUSE_BANNERWINDOW" = "yes"; then
36164 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
36165
36166 fi
36167
36168 if test "$wxUSE_BUTTON" = "yes"; then
36169 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
36170
36171 USES_CONTROLS=1
36172 fi
36173
36174 if test "$wxUSE_BMPBUTTON" = "yes"; then
36175 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
36176
36177 USES_CONTROLS=1
36178 fi
36179
36180 if test "$wxUSE_CALCTRL" = "yes"; then
36181 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
36182
36183 USES_CONTROLS=1
36184 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36185 fi
36186
36187 if test "$wxUSE_CARET" = "yes"; then
36188 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
36189
36190 USES_CONTROLS=1
36191 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36192 fi
36193
36194 if test "$wxUSE_COLLPANE" = "yes"; then
36195 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
36196
36197 USES_CONTROLS=1
36198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
36199 fi
36200
36201 if test "$wxUSE_COMBOBOX" = "yes"; then
36202 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
36203
36204 USES_CONTROLS=1
36205 fi
36206
36207 if test "$wxUSE_COMBOCTRL" = "yes"; then
36208 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
36209
36210 USES_CONTROLS=1
36211 fi
36212
36213 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
36214 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
36215
36216 USES_CONTROLS=1
36217 fi
36218
36219 if test "$wxUSE_CHOICE" = "yes"; then
36220 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
36221
36222 USES_CONTROLS=1
36223 fi
36224
36225 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36226 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
36227
36228 USES_CONTROLS=1
36229 fi
36230
36231 if test "$wxUSE_CHECKBOX" = "yes"; then
36232 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
36233
36234 USES_CONTROLS=1
36235 fi
36236
36237 if test "$wxUSE_CHECKLST" = "yes"; then
36238 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
36239
36240 USES_CONTROLS=1
36241 fi
36242
36243 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
36244 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
36245
36246 USES_CONTROLS=1
36247 fi
36248
36249 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
36250 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
36251
36252 USES_CONTROLS=1
36253 fi
36254
36255 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
36256 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
36257
36258 USES_CONTROLS=1
36259 fi
36260
36261 if test "$wxUSE_FILECTRL" = "yes"; then
36262 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
36263
36264 USES_CONTROLS=1
36265 fi
36266
36267 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
36268 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
36269
36270 USES_CONTROLS=1
36271 fi
36272
36273 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
36274 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
36275
36276 USES_CONTROLS=1
36277 fi
36278
36279 if test "$wxUSE_DISPLAY" = "yes"; then
36280 if test "$wxUSE_DFB" = 1; then
36281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
36282 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
36283 wxUSE_DISPLAY=no
36284 else
36285 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
36286
36287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36288 fi
36289 fi
36290
36291 if test "$wxUSE_DETECT_SM" = "yes"; then
36292 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
36293
36294 fi
36295
36296 if test "$wxUSE_GAUGE" = "yes"; then
36297 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
36298
36299 USES_CONTROLS=1
36300 fi
36301
36302 if test "$wxUSE_GRID" = "yes"; then
36303 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
36304
36305 USES_CONTROLS=1
36306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36307 fi
36308
36309 if test "$wxUSE_HEADERCTRL" = "yes"; then
36310 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
36311
36312 USES_CONTROLS=1
36313 fi
36314
36315 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
36316 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
36317
36318 USES_CONTROLS=1
36319 fi
36320
36321 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
36322 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
36323
36324 USES_CONTROLS=1
36325 fi
36326
36327 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
36328 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
36329
36330 USES_CONTROLS=1
36331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
36332 fi
36333
36334 if test "$wxUSE_IMAGLIST" = "yes"; then
36335 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
36336
36337 fi
36338
36339 if test "$wxUSE_INFOBAR" = "yes"; then
36340 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36341
36342 fi
36343
36344 if test "$wxUSE_LISTBOOK" = "yes"; then
36345 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36346
36347 USES_CONTROLS=1
36348 fi
36349
36350 if test "$wxUSE_LISTBOX" = "yes"; then
36351 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36352
36353 USES_CONTROLS=1
36354 fi
36355
36356 if test "$wxUSE_LISTCTRL" = "yes"; then
36357 if test "$wxUSE_IMAGLIST" = "yes"; then
36358 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36359
36360 USES_CONTROLS=1
36361 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36362 else
36363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36364 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36365 fi
36366 fi
36367
36368 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36369 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36370
36371 USES_CONTROLS=1
36372 fi
36373
36374 if test "$wxUSE_NOTEBOOK" = "yes"; then
36375 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36376
36377 USES_CONTROLS=1
36378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36379 fi
36380
36381 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36382 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36383
36384 fi
36385
36386 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36387 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36388
36389 USES_CONTROLS=1
36390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
36391 fi
36392
36393 if test "$wxUSE_RADIOBOX" = "yes"; then
36394 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36395
36396 USES_CONTROLS=1
36397 fi
36398
36399 if test "$wxUSE_RADIOBTN" = "yes"; then
36400 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36401
36402 USES_CONTROLS=1
36403 fi
36404
36405 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36406 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36407
36408 fi
36409
36410 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36411 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36412
36413 fi
36414
36415 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36416 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36417
36418 fi
36419
36420 if test "$wxUSE_SASH" = "yes"; then
36421 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36422
36423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36424 fi
36425
36426 if test "$wxUSE_SCROLLBAR" = "yes"; then
36427 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36428
36429 USES_CONTROLS=1
36430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
36431 fi
36432
36433 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36434 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36435
36436 USES_CONTROLS=1
36437 fi
36438
36439 if test "$wxUSE_SLIDER" = "yes"; then
36440 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36441
36442 USES_CONTROLS=1
36443 fi
36444
36445 if test "$wxUSE_SPINBTN" = "yes"; then
36446 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36447
36448 USES_CONTROLS=1
36449 fi
36450
36451 if test "$wxUSE_SPINCTRL" = "yes"; then
36452 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36453
36454 USES_CONTROLS=1
36455 fi
36456
36457 if test "$wxUSE_SPLITTER" = "yes"; then
36458 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36459
36460 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36461 fi
36462
36463 if test "$wxUSE_STATBMP" = "yes"; then
36464 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36465
36466 USES_CONTROLS=1
36467 fi
36468
36469 if test "$wxUSE_STATBOX" = "yes"; then
36470 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36471
36472 USES_CONTROLS=1
36473 fi
36474
36475 if test "$wxUSE_STATTEXT" = "yes"; then
36476 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36477
36478 USES_CONTROLS=1
36479 fi
36480
36481 if test "$wxUSE_STATLINE" = "yes"; then
36482 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36483
36484 USES_CONTROLS=1
36485 fi
36486
36487 if test "$wxUSE_STATUSBAR" = "yes"; then
36488 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36489
36490 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36491
36492 USES_CONTROLS=1
36493
36494 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36495 fi
36496
36497 if test "$wxUSE_TEXTCTRL" = "yes"; then
36498 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36499
36500 USES_CONTROLS=1
36501 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36502
36503 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36504
36505 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36506
36507 fi
36508
36509 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36510 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36511
36512 USES_CONTROLS=1
36513 fi
36514
36515 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36516 if test "$wxUSE_OLD_COCOA" = 1 ; then
36517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36518 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36519 wxUSE_TOGGLEBTN=no
36520 fi
36521
36522 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36523 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36524
36525 USES_CONTROLS=1
36526 fi
36527 fi
36528
36529 if test "$wxUSE_TOOLBAR" = "yes"; then
36530 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36531
36532 USES_CONTROLS=1
36533
36534 if test "$wxUSE_UNIVERSAL" = "yes"; then
36535 wxUSE_TOOLBAR_NATIVE="no"
36536 else
36537 wxUSE_TOOLBAR_NATIVE="yes"
36538 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36539
36540 fi
36541
36542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36543 fi
36544
36545 if test "$wxUSE_TOOLTIPS" = "yes"; then
36546 if test "$wxUSE_MOTIF" = 1; then
36547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36548 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36549 else
36550 if test "$wxUSE_UNIVERSAL" = "yes"; then
36551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36552 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36553 else
36554 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36555
36556 fi
36557 fi
36558 fi
36559
36560 if test "$wxUSE_TREEBOOK" = "yes"; then
36561 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36562
36563 USES_CONTROLS=1
36564 fi
36565
36566 if test "$wxUSE_TOOLBOOK" = "yes"; then
36567 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36568
36569 USES_CONTROLS=1
36570 fi
36571
36572 if test "$wxUSE_TREECTRL" = "yes"; then
36573 if test "$wxUSE_IMAGLIST" = "yes"; then
36574 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36575
36576 USES_CONTROLS=1
36577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36578 else
36579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36580 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36581 fi
36582 fi
36583
36584 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36585 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36586
36587 USES_CONTROLS=1
36588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
36589 fi
36590
36591 if test "$wxUSE_POPUPWIN" = "yes"; then
36592 if test "$wxUSE_OLD_COCOA" = 1 ; then
36593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36594 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36595 else
36596 if test "$wxUSE_PM" = 1; then
36597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36598 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36599 else
36600 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36601
36602 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
36603
36604 USES_CONTROLS=1
36605 fi
36606 fi
36607 fi
36608
36609 if test "$wxUSE_PREFERENCES_EDITOR" = "yes"; then
36610 $as_echo "#define wxUSE_PREFERENCES_EDITOR 1" >>confdefs.h
36611
36612 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS prefseditor"
36613 fi
36614
36615 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36616 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36618 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36619 else
36620 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36621
36622 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
36623 fi
36624 fi
36625
36626 if test "$wxUSE_TIPWINDOW" = "yes"; then
36627 if test "$wxUSE_PM" = 1; then
36628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36629 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36630 else
36631 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36632
36633 fi
36634 fi
36635
36636 if test "$USES_CONTROLS" = 1; then
36637 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36638
36639 fi
36640
36641
36642 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36643 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36644
36645 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36646 fi
36647
36648 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36649 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36650
36651 fi
36652
36653 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36654 if test "$wxUSE_GTK" != 1; then
36655 if test "$wxUSE_LIBPNG" != no -a \
36656 "$wxUSE_IMAGE" = yes -a \
36657 "$wxUSE_STREAMS" = yes; then
36658 wxUSE_ARTPROVIDER_TANGO="yes"
36659 fi
36660 fi
36661 fi
36662
36663 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36664 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36665
36666 fi
36667
36668 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36669 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36670
36671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36672 fi
36673
36674 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36675 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36677 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36678 else
36679 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36680
36681 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36682 fi
36683 fi
36684
36685 USE_HTML=0
36686 if test "$wxUSE_HTML" = "yes"; then
36687 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36688
36689 USE_HTML=1
36690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36691 fi
36692 if test "$wxUSE_WEBKIT" = "yes"; then
36693 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36694 old_CPPFLAGS="$CPPFLAGS"
36695 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36696 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36697 #include <Carbon/Carbon.h>
36698 #include <WebKit/WebKit.h>
36699
36700 "
36701 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36702
36703 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36704
36705 WEBKIT_LINK="-framework WebKit"
36706
36707 else
36708
36709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36710 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36711 wxUSE_WEBKIT=no
36712
36713 fi
36714
36715
36716 CPPFLAGS="$old_CPPFLAGS"
36717 elif test "$wxUSE_OLD_COCOA" = 1; then
36718 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36719
36720 else
36721 wxUSE_WEBKIT=no
36722 fi
36723 if test "$wxUSE_WEBKIT" = "yes"; then
36724 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36725 fi
36726 fi
36727
36728 USE_XRC=0
36729 if test "$wxUSE_XRC" = "yes"; then
36730 if test "$wxUSE_XML" != "yes"; then
36731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36732 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36733 wxUSE_XRC=no
36734 else
36735 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36736
36737 USE_XRC=1
36738 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
36739 fi
36740 fi
36741
36742 USE_AUI=0
36743 if test "$wxUSE_AUI" = "yes"; then
36744 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36745
36746 USE_AUI=1
36747 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
36748 fi
36749
36750 USE_PROPGRID=0
36751 if test "$wxUSE_PROPGRID" = "yes"; then
36752 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36753
36754 USE_PROPGRID=1
36755 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
36756 fi
36757
36758 USE_RIBBON=0
36759 if test "$wxUSE_RIBBON" = "yes"; then
36760 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36761
36762 USE_RIBBON=1
36763 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
36764 fi
36765
36766 USE_STC=0
36767 if test "$wxUSE_STC" = "yes"; then
36768 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36769
36770 USE_STC=1
36771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
36772
36773 # Extract the first word of "python", so it can be a program name with args.
36774 set dummy python; ac_word=$2
36775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36776 $as_echo_n "checking for $ac_word... " >&6; }
36777 if ${ac_cv_path_PYTHON+:} false; then :
36778 $as_echo_n "(cached) " >&6
36779 else
36780 case $PYTHON in
36781 [\\/]* | ?:[\\/]*)
36782 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
36783 ;;
36784 *)
36785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36786 for as_dir in $PATH
36787 do
36788 IFS=$as_save_IFS
36789 test -z "$as_dir" && as_dir=.
36790 for ac_exec_ext in '' $ac_executable_extensions; do
36791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36792 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
36793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36794 break 2
36795 fi
36796 done
36797 done
36798 IFS=$as_save_IFS
36799
36800 ;;
36801 esac
36802 fi
36803 PYTHON=$ac_cv_path_PYTHON
36804 if test -n "$PYTHON"; then
36805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36806 $as_echo "$PYTHON" >&6; }
36807 else
36808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36809 $as_echo "no" >&6; }
36810 fi
36811
36812
36813 if test "x$PYTHON" = "x"; then
36814 COND_PYTHON="#"
36815 fi
36816
36817 fi
36818
36819 if test "$wxUSE_MENUS" = "yes"; then
36820 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36821
36822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36823 fi
36824
36825 if test "$wxUSE_MIMETYPE" = "yes"; then
36826 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36827
36828 fi
36829
36830 if test "$wxUSE_MINIFRAME" = "yes"; then
36831 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36832
36833 fi
36834
36835 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36836 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36837
36838 fi
36839
36840 if test "$wxUSE_TASKBARICON" = "yes"; then
36841 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36842
36843 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36844
36845 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36846 fi
36847
36848
36849 if test "$wxUSE_VALIDATORS" = "yes"; then
36850 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36851
36852 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36853 fi
36854
36855 if test "$wxUSE_PALETTE" = "yes" ; then
36856 if test "$wxUSE_DFB" = 1; then
36857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36858 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36859 wxUSE_PALETTE=no
36860 else
36861 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36862
36863 fi
36864 fi
36865
36866 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36867 LIBS=" -lunicows $LIBS"
36868 fi
36869
36870 USE_RICHTEXT=0
36871 if test "$wxUSE_RICHTEXT" = "yes"; then
36872 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36873
36874 USE_RICHTEXT=1
36875 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
36876 fi
36877
36878 if test "$wxUSE_WEBVIEW" = "yes"; then
36879 USE_WEBVIEW_WEBKIT=0
36880 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36881 if test "$wxUSE_GTK" = 1; then
36882 webkitgtk=webkit-1.0
36883 if test "$WXGTK3" = 1; then
36884 webkitgtk=webkitgtk-3.0
36885 fi
36886
36887 pkg_failed=no
36888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36889 $as_echo_n "checking for WEBKIT... " >&6; }
36890
36891 if test -n "$PKG_CONFIG"; then
36892 if test -n "$WEBKIT_CFLAGS"; then
36893 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
36894 else
36895 if test -n "$PKG_CONFIG" && \
36896 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36897 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36898 ac_status=$?
36899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36900 test $ac_status = 0; }; then
36901 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36902 else
36903 pkg_failed=yes
36904 fi
36905 fi
36906 else
36907 pkg_failed=untried
36908 fi
36909 if test -n "$PKG_CONFIG"; then
36910 if test -n "$WEBKIT_LIBS"; then
36911 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
36912 else
36913 if test -n "$PKG_CONFIG" && \
36914 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36915 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36916 ac_status=$?
36917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36918 test $ac_status = 0; }; then
36919 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36920 else
36921 pkg_failed=yes
36922 fi
36923 fi
36924 else
36925 pkg_failed=untried
36926 fi
36927
36928
36929
36930 if test $pkg_failed = yes; then
36931
36932 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36933 _pkg_short_errors_supported=yes
36934 else
36935 _pkg_short_errors_supported=no
36936 fi
36937 if test $_pkg_short_errors_supported = yes; then
36938 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36939 else
36940 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36941 fi
36942 # Put the nasty error message in config.log where it belongs
36943 echo "$WEBKIT_PKG_ERRORS" >&5
36944
36945
36946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36947 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36948
36949 elif test $pkg_failed = untried; then
36950
36951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36952 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36953
36954 else
36955 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
36956 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
36957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36958 $as_echo "yes" >&6; }
36959
36960 USE_WEBVIEW_WEBKIT=1
36961 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
36962 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36963
36964 fi
36965 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36966 old_CPPFLAGS="$CPPFLAGS"
36967 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36968 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36969 #include <Carbon/Carbon.h>
36970 #include <WebKit/WebKit.h>
36971
36972 "
36973 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36974
36975 USE_WEBVIEW_WEBKIT=1
36976 WEBKIT_LINK="-framework WebKit"
36977
36978 else
36979
36980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36981 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36982
36983 fi
36984
36985
36986 CPPFLAGS="$old_CPPFLAGS"
36987 fi
36988 fi
36989
36990 wxUSE_WEBVIEW="no"
36991 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36992 if test "$USE_WEBVIEW_WEBKIT" = 1; then
36993 wxUSE_WEBVIEW="yes"
36994 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36995
36996 else
36997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36998 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36999 fi
37000 elif test "$wxUSE_MSW" = 1; then
37001 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
37002 wxUSE_WEBVIEW="yes"
37003 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
37004
37005 fi
37006 fi
37007 fi
37008
37009 if test "$wxUSE_WEBVIEW" = "yes"; then
37010 USE_WEBVIEW=1
37011 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
37012
37013 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
37014 else
37015 USE_WEBVIEW=0
37016 fi
37017
37018
37019 if test "$wxUSE_IMAGE" = "yes" ; then
37020 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
37021
37022
37023 if test "$wxUSE_GIF" = "yes" ; then
37024 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
37025
37026 fi
37027
37028 if test "$wxUSE_PCX" = "yes" ; then
37029 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
37030
37031 fi
37032
37033 if test "$wxUSE_TGA" = "yes" ; then
37034 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
37035
37036 fi
37037
37038 if test "$wxUSE_IFF" = "yes" ; then
37039 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
37040
37041 fi
37042
37043 if test "$wxUSE_PNM" = "yes" ; then
37044 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
37045
37046 fi
37047
37048 if test "$wxUSE_XPM" = "yes" ; then
37049 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
37050
37051 fi
37052
37053 if test "$wxUSE_ICO_CUR" = "yes" ; then
37054 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
37055
37056 fi
37057 fi
37058
37059
37060 if test "$wxUSE_ABOUTDLG" = "yes"; then
37061 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
37062
37063 fi
37064
37065 if test "$wxUSE_CHOICEDLG" = "yes"; then
37066 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
37067
37068 fi
37069
37070 if test "$wxUSE_COLOURDLG" = "yes"; then
37071 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
37072
37073 fi
37074
37075 if test "$wxUSE_FILEDLG" = "yes"; then
37076 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
37077
37078 fi
37079
37080 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37081 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
37082
37083 fi
37084
37085 if test "$wxUSE_FONTDLG" = "yes"; then
37086 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
37087
37088 fi
37089
37090 if test "$wxUSE_DIRDLG" = "yes"; then
37091 if test "$wxUSE_TREECTRL" != "yes"; then
37092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37093 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37094 else
37095 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
37096
37097 fi
37098 fi
37099
37100 if test "$wxUSE_MSGDLG" = "yes"; then
37101 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
37102
37103 fi
37104
37105 if test "$wxUSE_NUMBERDLG" = "yes"; then
37106 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
37107
37108 fi
37109
37110 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37111 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
37112
37113 fi
37114
37115 if test "$wxUSE_SPLASH" = "yes"; then
37116 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
37117
37118 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
37119 fi
37120
37121 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37122 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
37123
37124 fi
37125
37126 if test "$wxUSE_TEXTDLG" = "yes"; then
37127 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
37128
37129 fi
37130
37131 if test "$wxUSE_WIZARDDLG" = "yes"; then
37132 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
37133
37134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37135 fi
37136
37137
37138 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
37139 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
37140 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
37141
37142 fi
37143 fi
37144
37145
37146 if test "$wxUSE_MSW" = 1 ; then
37147
37148 if test "$wxUSE_DC_CACHEING" = "yes"; then
37149 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
37150
37151 fi
37152
37153 if test "$wxUSE_DIB" = "yes"; then
37154 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
37155
37156 fi
37157
37158 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
37159 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
37160
37161 fi
37162
37163 if test "$wxUSE_UXTHEME" = "yes"; then
37164 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
37165
37166 fi
37167
37168 fi
37169
37170 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
37171 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
37172
37173 fi
37174
37175 if test "$USE_WIN32" = 1 ; then
37176 if test "$wxUSE_INICONF" = "yes"; then
37177 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
37178
37179 fi
37180
37181 if test "$wxUSE_REGKEY" = "yes"; then
37182 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
37183
37184 fi
37185 fi
37186
37187
37188 if test "$wxUSE_MAC" = 1; then
37189 wxUSE_GRAPHICS_CONTEXT="yes"
37190 fi
37191
37192 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
37193 wx_has_graphics=0
37194 if test "$wxUSE_MSW" = 1; then
37195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
37196 $as_echo_n "checking if GDI+ is available... " >&6; }
37197 if ${wx_cv_lib_gdiplus+:} false; then :
37198 $as_echo_n "(cached) " >&6
37199 else
37200
37201 ac_ext=cpp
37202 ac_cpp='$CXXCPP $CPPFLAGS'
37203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37206
37207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37208 /* end confdefs.h. */
37209 #include <windows.h>
37210 #include <gdiplus.h>
37211 int
37212 main ()
37213 {
37214
37215 using namespace Gdiplus;
37216
37217 ;
37218 return 0;
37219 }
37220 _ACEOF
37221 if ac_fn_cxx_try_compile "$LINENO"; then :
37222 wx_cv_lib_gdiplus=yes
37223 else
37224 wx_cv_lib_gdiplus=no
37225
37226 fi
37227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37228 ac_ext=c
37229 ac_cpp='$CPP $CPPFLAGS'
37230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37233
37234
37235
37236 fi
37237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
37238 $as_echo "$wx_cv_lib_gdiplus" >&6; }
37239 if test "$wx_cv_lib_gdiplus" = "yes"; then
37240 wx_has_graphics=1
37241 fi
37242 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
37243
37244 pkg_failed=no
37245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
37246 $as_echo_n "checking for CAIRO... " >&6; }
37247
37248 if test -n "$PKG_CONFIG"; then
37249 if test -n "$CAIRO_CFLAGS"; then
37250 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
37251 else
37252 if test -n "$PKG_CONFIG" && \
37253 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37254 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37255 ac_status=$?
37256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37257 test $ac_status = 0; }; then
37258 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
37259 else
37260 pkg_failed=yes
37261 fi
37262 fi
37263 else
37264 pkg_failed=untried
37265 fi
37266 if test -n "$PKG_CONFIG"; then
37267 if test -n "$CAIRO_LIBS"; then
37268 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
37269 else
37270 if test -n "$PKG_CONFIG" && \
37271 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37272 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37273 ac_status=$?
37274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37275 test $ac_status = 0; }; then
37276 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
37277 else
37278 pkg_failed=yes
37279 fi
37280 fi
37281 else
37282 pkg_failed=untried
37283 fi
37284
37285
37286
37287 if test $pkg_failed = yes; then
37288
37289 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37290 _pkg_short_errors_supported=yes
37291 else
37292 _pkg_short_errors_supported=no
37293 fi
37294 if test $_pkg_short_errors_supported = yes; then
37295 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
37296 else
37297 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
37298 fi
37299 # Put the nasty error message in config.log where it belongs
37300 echo "$CAIRO_PKG_ERRORS" >&5
37301
37302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37303 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37304
37305 elif test $pkg_failed = untried; then
37306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37307 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37308
37309 else
37310 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
37311 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
37312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37313 $as_echo "yes" >&6; }
37314 wx_has_graphics=1
37315 fi
37316 if test "$wx_has_graphics" = 1; then
37317 save_LIBS="$LIBS"
37318 LIBS="$LIBS $CAIRO_LIBS"
37319 for ac_func in cairo_push_group
37320 do :
37321 ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
37322 if test "x$ac_cv_func_cairo_push_group" = xyes; then :
37323 cat >>confdefs.h <<_ACEOF
37324 #define HAVE_CAIRO_PUSH_GROUP 1
37325 _ACEOF
37326
37327 fi
37328 done
37329
37330 LIBS="$save_LIBS"
37331 if test "$ac_cv_func_cairo_push_group" = "no"; then
37332 wx_has_graphics=0
37333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
37334 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
37335 else
37336 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
37337
37338
37339 if test "$wxUSE_GTK" != 1; then
37340 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
37341 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
37342 fi
37343 fi
37344 fi
37345 else
37346 wx_has_graphics=1
37347 fi
37348
37349 if test "$wx_has_graphics" = 1; then
37350 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37351
37352 else
37353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37354 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37355 fi
37356 fi
37357
37358
37359 USE_MEDIA=0
37360
37361 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37362 USE_MEDIA=1
37363
37364 if test "$wxUSE_GTK" = 1; then
37365 wxUSE_GSTREAMER="no"
37366
37367 GST_VERSION_MAJOR=0
37368 GST_VERSION_MINOR=10
37369 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37370
37371 if test "$wxUSE_GSTREAMER8" = "no"; then
37372
37373 pkg_failed=no
37374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37375 $as_echo_n "checking for GST... " >&6; }
37376
37377 if test -n "$PKG_CONFIG"; then
37378 if test -n "$GST_CFLAGS"; then
37379 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37380 else
37381 if test -n "$PKG_CONFIG" && \
37382 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37383 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37384 ac_status=$?
37385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37386 test $ac_status = 0; }; then
37387 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37388 else
37389 pkg_failed=yes
37390 fi
37391 fi
37392 else
37393 pkg_failed=untried
37394 fi
37395 if test -n "$PKG_CONFIG"; then
37396 if test -n "$GST_LIBS"; then
37397 pkg_cv_GST_LIBS="$GST_LIBS"
37398 else
37399 if test -n "$PKG_CONFIG" && \
37400 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37401 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37402 ac_status=$?
37403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37404 test $ac_status = 0; }; then
37405 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37406 else
37407 pkg_failed=yes
37408 fi
37409 fi
37410 else
37411 pkg_failed=untried
37412 fi
37413
37414
37415
37416 if test $pkg_failed = yes; then
37417
37418 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37419 _pkg_short_errors_supported=yes
37420 else
37421 _pkg_short_errors_supported=no
37422 fi
37423 if test $_pkg_short_errors_supported = yes; then
37424 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37425 else
37426 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37427 fi
37428 # Put the nasty error message in config.log where it belongs
37429 echo "$GST_PKG_ERRORS" >&5
37430
37431
37432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37433 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37434 GST_VERSION_MINOR=8
37435
37436
37437 elif test $pkg_failed = untried; then
37438
37439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37440 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37441 GST_VERSION_MINOR=8
37442
37443
37444 else
37445 GST_CFLAGS=$pkg_cv_GST_CFLAGS
37446 GST_LIBS=$pkg_cv_GST_LIBS
37447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37448 $as_echo "yes" >&6; }
37449
37450 wxUSE_GSTREAMER="yes"
37451 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37452
37453 fi
37454 else
37455 GST_VERSION_MINOR=8
37456 fi
37457
37458 if test $GST_VERSION_MINOR = "8"; then
37459 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37460
37461 pkg_failed=no
37462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37463 $as_echo_n "checking for GST... " >&6; }
37464
37465 if test -n "$PKG_CONFIG"; then
37466 if test -n "$GST_CFLAGS"; then
37467 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37468 else
37469 if test -n "$PKG_CONFIG" && \
37470 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37471 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37472 ac_status=$?
37473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37474 test $ac_status = 0; }; then
37475 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37476 else
37477 pkg_failed=yes
37478 fi
37479 fi
37480 else
37481 pkg_failed=untried
37482 fi
37483 if test -n "$PKG_CONFIG"; then
37484 if test -n "$GST_LIBS"; then
37485 pkg_cv_GST_LIBS="$GST_LIBS"
37486 else
37487 if test -n "$PKG_CONFIG" && \
37488 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37489 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37490 ac_status=$?
37491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37492 test $ac_status = 0; }; then
37493 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37494 else
37495 pkg_failed=yes
37496 fi
37497 fi
37498 else
37499 pkg_failed=untried
37500 fi
37501
37502
37503
37504 if test $pkg_failed = yes; then
37505
37506 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37507 _pkg_short_errors_supported=yes
37508 else
37509 _pkg_short_errors_supported=no
37510 fi
37511 if test $_pkg_short_errors_supported = yes; then
37512 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37513 else
37514 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37515 fi
37516 # Put the nasty error message in config.log where it belongs
37517 echo "$GST_PKG_ERRORS" >&5
37518
37519
37520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37521 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37522
37523 elif test $pkg_failed = untried; then
37524
37525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37526 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37527
37528 else
37529 GST_CFLAGS=$pkg_cv_GST_CFLAGS
37530 GST_LIBS=$pkg_cv_GST_LIBS
37531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37532 $as_echo "yes" >&6; }
37533 wxUSE_GSTREAMER="yes"
37534 fi
37535 fi
37536
37537
37538 if test "$wxUSE_GSTREAMER" = "yes"; then
37539 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
37540 EXTRALIBS_MEDIA="$GST_LIBS"
37541
37542 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37543
37544 else
37545 USE_MEDIA=0
37546 fi
37547
37548 elif test "$wxUSE_MAC" = 1; then
37549 GST_LIBS="-framework QTKit"
37550 fi
37551
37552 if test $USE_MEDIA = 1; then
37553 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
37554 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37555
37556 else
37557 if test "$wxUSE_MEDIACTRL" = "yes"; then
37558 as_fn_error $? "GStreamer not available" "$LINENO" 5
37559 else
37560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37561 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37562 fi
37563 fi
37564 fi
37565
37566
37567 if test "$cross_compiling" != "no"; then
37568 OSINFO="\"$host\""
37569 else
37570 OSINFO=`uname -s -r -m`
37571 OSINFO="\"$OSINFO\""
37572 fi
37573
37574 cat >>confdefs.h <<_ACEOF
37575 #define WXWIN_OS_DESCRIPTION $OSINFO
37576 _ACEOF
37577
37578
37579
37580 if test "x$prefix" != "xNONE"; then
37581 wxPREFIX=$prefix
37582 else
37583 wxPREFIX=$ac_default_prefix
37584 fi
37585
37586 cat >>confdefs.h <<_ACEOF
37587 #define wxINSTALL_PREFIX "$wxPREFIX"
37588 _ACEOF
37589
37590
37591
37592
37593 STD_BASE_LIBS="base"
37594 STD_GUI_LIBS=""
37595 BUILT_WX_LIBS="base"
37596 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
37597
37598 if test "$wxUSE_SOCKETS" = "yes" ; then
37599 STD_BASE_LIBS="net $STD_BASE_LIBS"
37600 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
37601 fi
37602 if test "$wxUSE_XML" = "yes" ; then
37603 STD_BASE_LIBS="xml $STD_BASE_LIBS"
37604 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
37605 fi
37606
37607 if test "$wxUSE_GUI" = "yes"; then
37608 STD_GUI_LIBS="adv core"
37609 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
37610
37611 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37612 STD_GUI_LIBS="qa $STD_GUI_LIBS"
37613 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
37614 fi
37615 if test "$wxUSE_HTML" = "yes" ; then
37616 STD_GUI_LIBS="html $STD_GUI_LIBS"
37617 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
37618 fi
37619 if test "$wxUSE_MEDIACTRL" = "yes" ; then
37620 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
37621 fi
37622 if test "$wxUSE_OPENGL" = "yes" ; then
37623 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
37624 fi
37625 if test "$wxUSE_AUI" = "yes" ; then
37626 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
37627 fi
37628 if test "$wxUSE_PROPGRID" = "yes" ; then
37629 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
37630 fi
37631 if test "$wxUSE_RIBBON" = "yes" ; then
37632 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
37633 fi
37634 if test "$wxUSE_RICHTEXT" = "yes" ; then
37635 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
37636 fi
37637 if test "$wxUSE_STC" = "yes" ; then
37638 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
37639 fi
37640 if test "$wxUSE_WEBVIEW" = "yes" ; then
37641 STD_GUI_LIBS="webview $STD_GUI_LIBS"
37642 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
37643 fi
37644 if test "$wxUSE_XRC" = "yes" ; then
37645 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
37646 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
37647 fi
37648 fi
37649
37650
37651
37652
37653
37654
37655
37656 EXTRA_FRAMEWORKS=
37657 if test "$wxUSE_MAC" = 1 ; then
37658 if test "$USE_DARWIN" = 1; then
37659 if test "$wxUSE_OSX_IPHONE" = 1; then
37660 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37661 else
37662 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37663
37664
37665 if test "$cross_compiling" != "no"; then
37666 wx_cv_target_x86_64=no
37667 else
37668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37669 $as_echo_n "checking if we target only x86_64... " >&6; }
37670 if ${wx_cv_target_x86_64+:} false; then :
37671 $as_echo_n "(cached) " >&6
37672 else
37673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37674 /* end confdefs.h. */
37675 int main() { return 0; }
37676 _ACEOF
37677 if ac_fn_c_try_link "$LINENO"; then :
37678 if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
37679 wx_cv_target_x86_64=no
37680 else
37681 wx_cv_target_x86_64=yes
37682 fi
37683
37684 fi
37685 rm -f core conftest.err conftest.$ac_objext \
37686 conftest$ac_exeext conftest.$ac_ext
37687
37688 fi
37689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37690 $as_echo "$wx_cv_target_x86_64" >&6; }
37691 fi
37692
37693 if test "$wx_cv_target_x86_64" != "yes"; then
37694 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37695 fi
37696 fi
37697 fi
37698 fi
37699 if test "$wxUSE_OLD_COCOA" = 1 ; then
37700 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
37701 if test "$wxUSE_MEDIACTRL" = "yes"; then
37702 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37703 fi
37704 fi
37705 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37706 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37707 fi
37708
37709 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
37710 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37711
37712 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37713
37714 if test "$wxUSE_GUI" = "yes"; then
37715
37716
37717 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37718 erase event exec font image minimal render \
37719 shaped svg taborder vscroll widgets wrapsizer"
37720
37721 if test "$wxUSE_MONOLITHIC" != "yes"; then
37722 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37723 fi
37724 if test "$TOOLKIT" = "MSW"; then
37725 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
37726 if test "$wxUSE_UNIVERSAL" != "yes"; then
37727 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37728 fi
37729 fi
37730 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37731 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
37732 fi
37733 else
37734 SAMPLES_SUBDIRS="console"
37735 if test "$wxUSE_SOCKETS" = "yes" ; then
37736 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37737 fi
37738 if test "$wxUSE_IPC" = "yes" ; then
37739 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
37740 fi
37741 fi
37742
37743
37744 if test "x$INTELCC" = "xyes" ; then
37745 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
37746 elif test "$GCC" = yes ; then
37747 CWARNINGS="-Wall -Wundef"
37748 fi
37749
37750 if test "x$INTELCXX" = "xyes" ; then
37751 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37752 elif test "$GXX" = yes ; then
37753 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37755 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37756 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false; then :
37757 $as_echo_n "(cached) " >&6
37758 else
37759 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
37760
37761 ac_ext=cpp
37762 ac_cpp='$CXXCPP $CPPFLAGS'
37763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37766
37767 ac_save_CXXFLAGS="$CXXFLAGS"
37768 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37769 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37771 /* end confdefs.h. */
37772
37773 int
37774 main ()
37775 {
37776 return 0;
37777 ;
37778 return 0;
37779 }
37780 _ACEOF
37781 if ac_fn_cxx_try_compile "$LINENO"; then :
37782 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37783 fi
37784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37785 done
37786 CXXFLAGS="$ac_save_CXXFLAGS"
37787 ac_ext=c
37788 ac_cpp='$CPP $CPPFLAGS'
37789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37792
37793
37794 fi
37795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37796 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37797 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37798 .ok|.ok,*) ;;
37799 .|.no|.no,*) ;;
37800 *)
37801 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
37802 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37803 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37804 ac_status=$?
37805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37806 test $ac_status = 0; }
37807 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37808 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37809 ac_status=$?
37810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37811 test $ac_status = 0; }
37812 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37813 fi
37814 ;;
37815 esac
37816
37817
37818 if test "$wxUSE_MAC" = 1 ; then
37819 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
37820 fi
37821 fi
37822
37823
37824 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
37825 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37826
37827
37828 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
37829 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37830 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37831 $CPPFLAGS `
37832
37833 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37834 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37835 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37836 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37837 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37838
37839 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37840
37841
37842 if test "x$MWCC" = "xyes"; then
37843
37844 CC="$CC -cwd source -I-"
37845 CXX="$CXX -cwd source -I-"
37846 fi
37847
37848
37849 LIBS=`echo $LIBS`
37850 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37851 EXTRALIBS_XML="$EXPAT_LINK"
37852 EXTRALIBS_HTML="$MSPACK_LINK"
37853 EXTRALIBS_MEDIA="$GST_LIBS"
37854 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37855 if test "$wxUSE_GUI" = "yes"; then
37856 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37857 fi
37858 if test "$wxUSE_OPENGL" = "yes"; then
37859 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37860 fi
37861
37862 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
37863
37864 WXCONFIG_LIBS="$LIBS"
37865
37866 if test "$wxUSE_REGEX" = "builtin" ; then
37867 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37868 fi
37869 if test "$wxUSE_EXPAT" = "builtin" ; then
37870 wxconfig_3rdparty="expat $wxconfig_3rdparty"
37871 fi
37872 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37873 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
37874 fi
37875 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37876 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
37877 fi
37878 if test "$wxUSE_LIBPNG" = "builtin" ; then
37879 wxconfig_3rdparty="png $wxconfig_3rdparty"
37880 fi
37881 if test "$wxUSE_ZLIB" = "builtin" ; then
37882 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
37883 fi
37884
37885 for i in $wxconfig_3rdparty ; do
37886 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37887 done
37888
37889
37890 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37891 WXUNIV=1
37892
37893 case "$wxUNIV_THEMES" in
37894 ''|all)
37895 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37896
37897 ;;
37898
37899 *)
37900 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37901 cat >>confdefs.h <<_ACEOF
37902 #define wxUSE_THEME_$t 1
37903 _ACEOF
37904
37905 done
37906 esac
37907 else
37908 WXUNIV=0
37909 fi
37910
37911
37912
37913
37914
37915
37916
37917
37918 if test $wxUSE_MONOLITHIC = "yes" ; then
37919 MONOLITHIC=1
37920 else
37921 MONOLITHIC=0
37922 fi
37923
37924 if test $wxUSE_PLUGINS = "yes" ; then
37925 USE_PLUGINS=1
37926 else
37927 USE_PLUGINS=0
37928 fi
37929
37930 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37931 USE_QA=1
37932 else
37933 USE_QA=0
37934 fi
37935
37936 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37937 OFFICIAL_BUILD=1
37938 else
37939 OFFICIAL_BUILD=0
37940 fi
37941
37942
37943
37944
37945
37946
37947
37948
37949
37950
37951
37952
37953
37954
37955
37956
37957
37958
37959
37960
37961
37962
37963
37964 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37965
37966
37967
37968
37969
37970
37971
37972
37973
37974
37975 case "$TOOLKIT" in
37976 GTK)
37977 TOOLKIT_DESC="GTK+"
37978 if test "$WXGTK2" = 1; then
37979 if test "$WXGTK3" = 1; then
37980 TOOLKIT_DESC="$TOOLKIT_DESC 3"
37981 else
37982 TOOLKIT_DESC="$TOOLKIT_DESC 2"
37983 fi
37984 if test "$wxUSE_GTKPRINT" = "yes" ; then
37985 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
37986 fi
37987 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37988 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
37989 fi
37990 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37991 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
37992 fi
37993 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
37994 TOOLKIT_EXTRA="$TOOLKIT_EXTRA libnotify"
37995 fi
37996 if test "$wxUSE_LIBHILDON" = "yes"; then
37997 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37998 fi
37999 if test "$wxUSE_LIBHILDON2" = "yes"; then
38000 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
38001 fi
38002
38003 if test "$TOOLKIT_EXTRA" != ""; then
38004 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
38005 fi
38006 fi
38007 ;;
38008
38009 ?*)
38010 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
38011 ;;
38012
38013 *)
38014 TOOLKIT_DESC="base only"
38015 ;;
38016 esac
38017
38018 if test "$wxUSE_WINE" = "yes"; then
38019 BAKEFILE_FORCE_PLATFORM=win32
38020 fi
38021
38022 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
38023 then
38024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
38025 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
38026 if ${wx_cv_gcc_pch_bug+:} false; then :
38027 $as_echo_n "(cached) " >&6
38028 else
38029
38030 echo '#include <stdio.h>
38031 const wchar_t test_var[] = L"awidetest";' > conftest.h
38032
38033 echo '#include "conftest.h"
38034 int main()
38035 {
38036 printf("%ls", test_var);
38037 return 0;
38038 }' > conftest.cpp
38039
38040 wx_cv_gcc_pch_bug="pch not supported"
38041
38042 if $CXX conftest.h >/dev/null 2>&1
38043 then
38044 wx_cv_gcc_pch_bug=
38045
38046 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
38047 then
38048 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
38049 grep awidetest >/dev/null
38050 then
38051 wx_cv_gcc_pch_bug=no
38052 else
38053 wx_cv_gcc_pch_bug=yes
38054 fi
38055 fi
38056 fi
38057
38058 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
38059
38060 fi
38061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
38062 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
38063
38064 if test "$wx_cv_gcc_pch_bug" = yes; then
38065 bk_use_pch=no
38066 fi
38067 fi
38068
38069 # Find a good install program. We prefer a C program (faster),
38070 # so one script is as good as another. But avoid the broken or
38071 # incompatible versions:
38072 # SysV /etc/install, /usr/sbin/install
38073 # SunOS /usr/etc/install
38074 # IRIX /sbin/install
38075 # AIX /bin/install
38076 # AmigaOS /C/install, which installs bootblocks on floppy discs
38077 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38078 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38079 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38080 # OS/2's system install, which has a completely different semantic
38081 # ./install, which can be erroneously created by make from ./install.sh.
38082 # Reject install programs that cannot install multiple files.
38083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
38084 $as_echo_n "checking for a BSD-compatible install... " >&6; }
38085 if test -z "$INSTALL"; then
38086 if ${ac_cv_path_install+:} false; then :
38087 $as_echo_n "(cached) " >&6
38088 else
38089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38090 for as_dir in $PATH
38091 do
38092 IFS=$as_save_IFS
38093 test -z "$as_dir" && as_dir=.
38094 # Account for people who put trailing slashes in PATH elements.
38095 case $as_dir/ in #((
38096 ./ | .// | /[cC]/* | \
38097 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
38098 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
38099 /usr/ucb/* ) ;;
38100 *)
38101 # OSF1 and SCO ODT 3.0 have their own names for install.
38102 # Don't use installbsd from OSF since it installs stuff as root
38103 # by default.
38104 for ac_prog in ginstall scoinst install; do
38105 for ac_exec_ext in '' $ac_executable_extensions; do
38106 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38107 if test $ac_prog = install &&
38108 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38109 # AIX install. It has an incompatible calling convention.
38110 :
38111 elif test $ac_prog = install &&
38112 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38113 # program-specific install script used by HP pwplus--don't use.
38114 :
38115 else
38116 rm -rf conftest.one conftest.two conftest.dir
38117 echo one > conftest.one
38118 echo two > conftest.two
38119 mkdir conftest.dir
38120 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
38121 test -s conftest.one && test -s conftest.two &&
38122 test -s conftest.dir/conftest.one &&
38123 test -s conftest.dir/conftest.two
38124 then
38125 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
38126 break 3
38127 fi
38128 fi
38129 fi
38130 done
38131 done
38132 ;;
38133 esac
38134
38135 done
38136 IFS=$as_save_IFS
38137
38138 rm -rf conftest.one conftest.two conftest.dir
38139
38140 fi
38141 if test "${ac_cv_path_install+set}" = set; then
38142 INSTALL=$ac_cv_path_install
38143 else
38144 # As a last resort, use the slow shell script. Don't cache a
38145 # value for INSTALL within a source directory, because that will
38146 # break other packages using the cache if that directory is
38147 # removed, or if the value is a relative name.
38148 INSTALL=$ac_install_sh
38149 fi
38150 fi
38151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
38152 $as_echo "$INSTALL" >&6; }
38153
38154 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38155 # It thinks the first close brace ends the variable substitution.
38156 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
38157
38158 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
38159
38160 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38161
38162
38163
38164
38165
38166
38167
38168 if test "x$BAKEFILE_HOST" = "x"; then
38169 if test "x${host}" = "x" ; then
38170 as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
38171 fi
38172
38173 BAKEFILE_HOST="${host}"
38174 fi
38175
38176 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38177
38178 if test -n "$ac_tool_prefix"; then
38179 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38180 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
38181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38182 $as_echo_n "checking for $ac_word... " >&6; }
38183 if ${ac_cv_prog_RANLIB+:} false; then :
38184 $as_echo_n "(cached) " >&6
38185 else
38186 if test -n "$RANLIB"; then
38187 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
38188 else
38189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38190 for as_dir in $PATH
38191 do
38192 IFS=$as_save_IFS
38193 test -z "$as_dir" && as_dir=.
38194 for ac_exec_ext in '' $ac_executable_extensions; do
38195 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38196 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
38197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38198 break 2
38199 fi
38200 done
38201 done
38202 IFS=$as_save_IFS
38203
38204 fi
38205 fi
38206 RANLIB=$ac_cv_prog_RANLIB
38207 if test -n "$RANLIB"; then
38208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
38209 $as_echo "$RANLIB" >&6; }
38210 else
38211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38212 $as_echo "no" >&6; }
38213 fi
38214
38215
38216 fi
38217 if test -z "$ac_cv_prog_RANLIB"; then
38218 ac_ct_RANLIB=$RANLIB
38219 # Extract the first word of "ranlib", so it can be a program name with args.
38220 set dummy ranlib; ac_word=$2
38221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38222 $as_echo_n "checking for $ac_word... " >&6; }
38223 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
38224 $as_echo_n "(cached) " >&6
38225 else
38226 if test -n "$ac_ct_RANLIB"; then
38227 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
38228 else
38229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38230 for as_dir in $PATH
38231 do
38232 IFS=$as_save_IFS
38233 test -z "$as_dir" && as_dir=.
38234 for ac_exec_ext in '' $ac_executable_extensions; do
38235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38236 ac_cv_prog_ac_ct_RANLIB="ranlib"
38237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38238 break 2
38239 fi
38240 done
38241 done
38242 IFS=$as_save_IFS
38243
38244 fi
38245 fi
38246 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
38247 if test -n "$ac_ct_RANLIB"; then
38248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
38249 $as_echo "$ac_ct_RANLIB" >&6; }
38250 else
38251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38252 $as_echo "no" >&6; }
38253 fi
38254
38255 if test "x$ac_ct_RANLIB" = x; then
38256 RANLIB=":"
38257 else
38258 case $cross_compiling:$ac_tool_warned in
38259 yes:)
38260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38261 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38262 ac_tool_warned=yes ;;
38263 esac
38264 RANLIB=$ac_ct_RANLIB
38265 fi
38266 else
38267 RANLIB="$ac_cv_prog_RANLIB"
38268 fi
38269
38270
38271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
38272 $as_echo_n "checking whether ln -s works... " >&6; }
38273 LN_S=$as_ln_s
38274 if test "$LN_S" = "ln -s"; then
38275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38276 $as_echo "yes" >&6; }
38277 else
38278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
38279 $as_echo "no, using $LN_S" >&6; }
38280 fi
38281
38282
38283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38284 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
38285 set x ${MAKE-make}
38286 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
38287 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
38288 $as_echo_n "(cached) " >&6
38289 else
38290 cat >conftest.make <<\_ACEOF
38291 SHELL = /bin/sh
38292 all:
38293 @echo '@@@%%%=$(MAKE)=@@@%%%'
38294 _ACEOF
38295 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
38296 case `${MAKE-make} -f conftest.make 2>/dev/null` in
38297 *@@@%%%=?*=@@@%%%*)
38298 eval ac_cv_prog_make_${ac_make}_set=yes;;
38299 *)
38300 eval ac_cv_prog_make_${ac_make}_set=no;;
38301 esac
38302 rm -f conftest.make
38303 fi
38304 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
38305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38306 $as_echo "yes" >&6; }
38307 SET_MAKE=
38308 else
38309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38310 $as_echo "no" >&6; }
38311 SET_MAKE="MAKE=${MAKE-make}"
38312 fi
38313
38314
38315
38316 if test "x$SUNCXX" = "xyes"; then
38317 AR=$CXX
38318 AROPTIONS="-xar -o"
38319
38320 elif test "x$SGICC" = "xyes"; then
38321 AR=$CXX
38322 AROPTIONS="-ar -o"
38323
38324 else
38325 if test -n "$ac_tool_prefix"; then
38326 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38327 set dummy ${ac_tool_prefix}ar; ac_word=$2
38328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38329 $as_echo_n "checking for $ac_word... " >&6; }
38330 if ${ac_cv_prog_AR+:} false; then :
38331 $as_echo_n "(cached) " >&6
38332 else
38333 if test -n "$AR"; then
38334 ac_cv_prog_AR="$AR" # Let the user override the test.
38335 else
38336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38337 for as_dir in $PATH
38338 do
38339 IFS=$as_save_IFS
38340 test -z "$as_dir" && as_dir=.
38341 for ac_exec_ext in '' $ac_executable_extensions; do
38342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38343 ac_cv_prog_AR="${ac_tool_prefix}ar"
38344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38345 break 2
38346 fi
38347 done
38348 done
38349 IFS=$as_save_IFS
38350
38351 fi
38352 fi
38353 AR=$ac_cv_prog_AR
38354 if test -n "$AR"; then
38355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38356 $as_echo "$AR" >&6; }
38357 else
38358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38359 $as_echo "no" >&6; }
38360 fi
38361
38362
38363 fi
38364 if test -z "$ac_cv_prog_AR"; then
38365 ac_ct_AR=$AR
38366 # Extract the first word of "ar", so it can be a program name with args.
38367 set dummy ar; ac_word=$2
38368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38369 $as_echo_n "checking for $ac_word... " >&6; }
38370 if ${ac_cv_prog_ac_ct_AR+:} false; then :
38371 $as_echo_n "(cached) " >&6
38372 else
38373 if test -n "$ac_ct_AR"; then
38374 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38375 else
38376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38377 for as_dir in $PATH
38378 do
38379 IFS=$as_save_IFS
38380 test -z "$as_dir" && as_dir=.
38381 for ac_exec_ext in '' $ac_executable_extensions; do
38382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38383 ac_cv_prog_ac_ct_AR="ar"
38384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38385 break 2
38386 fi
38387 done
38388 done
38389 IFS=$as_save_IFS
38390
38391 fi
38392 fi
38393 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38394 if test -n "$ac_ct_AR"; then
38395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38396 $as_echo "$ac_ct_AR" >&6; }
38397 else
38398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38399 $as_echo "no" >&6; }
38400 fi
38401
38402 if test "x$ac_ct_AR" = x; then
38403 AR="ar"
38404 else
38405 case $cross_compiling:$ac_tool_warned in
38406 yes:)
38407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38408 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38409 ac_tool_warned=yes ;;
38410 esac
38411 AR=$ac_ct_AR
38412 fi
38413 else
38414 AR="$ac_cv_prog_AR"
38415 fi
38416
38417 AROPTIONS=rcu
38418 fi
38419
38420
38421 if test -n "$ac_tool_prefix"; then
38422 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38423 set dummy ${ac_tool_prefix}strip; ac_word=$2
38424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38425 $as_echo_n "checking for $ac_word... " >&6; }
38426 if ${ac_cv_prog_STRIP+:} false; then :
38427 $as_echo_n "(cached) " >&6
38428 else
38429 if test -n "$STRIP"; then
38430 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38431 else
38432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38433 for as_dir in $PATH
38434 do
38435 IFS=$as_save_IFS
38436 test -z "$as_dir" && as_dir=.
38437 for ac_exec_ext in '' $ac_executable_extensions; do
38438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38439 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38441 break 2
38442 fi
38443 done
38444 done
38445 IFS=$as_save_IFS
38446
38447 fi
38448 fi
38449 STRIP=$ac_cv_prog_STRIP
38450 if test -n "$STRIP"; then
38451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38452 $as_echo "$STRIP" >&6; }
38453 else
38454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38455 $as_echo "no" >&6; }
38456 fi
38457
38458
38459 fi
38460 if test -z "$ac_cv_prog_STRIP"; then
38461 ac_ct_STRIP=$STRIP
38462 # Extract the first word of "strip", so it can be a program name with args.
38463 set dummy strip; ac_word=$2
38464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38465 $as_echo_n "checking for $ac_word... " >&6; }
38466 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
38467 $as_echo_n "(cached) " >&6
38468 else
38469 if test -n "$ac_ct_STRIP"; then
38470 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38471 else
38472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38473 for as_dir in $PATH
38474 do
38475 IFS=$as_save_IFS
38476 test -z "$as_dir" && as_dir=.
38477 for ac_exec_ext in '' $ac_executable_extensions; do
38478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38479 ac_cv_prog_ac_ct_STRIP="strip"
38480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38481 break 2
38482 fi
38483 done
38484 done
38485 IFS=$as_save_IFS
38486
38487 fi
38488 fi
38489 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38490 if test -n "$ac_ct_STRIP"; then
38491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38492 $as_echo "$ac_ct_STRIP" >&6; }
38493 else
38494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38495 $as_echo "no" >&6; }
38496 fi
38497
38498 if test "x$ac_ct_STRIP" = x; then
38499 STRIP=":"
38500 else
38501 case $cross_compiling:$ac_tool_warned in
38502 yes:)
38503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38505 ac_tool_warned=yes ;;
38506 esac
38507 STRIP=$ac_ct_STRIP
38508 fi
38509 else
38510 STRIP="$ac_cv_prog_STRIP"
38511 fi
38512
38513 if test -n "$ac_tool_prefix"; then
38514 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38515 set dummy ${ac_tool_prefix}nm; ac_word=$2
38516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38517 $as_echo_n "checking for $ac_word... " >&6; }
38518 if ${ac_cv_prog_NM+:} false; then :
38519 $as_echo_n "(cached) " >&6
38520 else
38521 if test -n "$NM"; then
38522 ac_cv_prog_NM="$NM" # Let the user override the test.
38523 else
38524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38525 for as_dir in $PATH
38526 do
38527 IFS=$as_save_IFS
38528 test -z "$as_dir" && as_dir=.
38529 for ac_exec_ext in '' $ac_executable_extensions; do
38530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38531 ac_cv_prog_NM="${ac_tool_prefix}nm"
38532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38533 break 2
38534 fi
38535 done
38536 done
38537 IFS=$as_save_IFS
38538
38539 fi
38540 fi
38541 NM=$ac_cv_prog_NM
38542 if test -n "$NM"; then
38543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38544 $as_echo "$NM" >&6; }
38545 else
38546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38547 $as_echo "no" >&6; }
38548 fi
38549
38550
38551 fi
38552 if test -z "$ac_cv_prog_NM"; then
38553 ac_ct_NM=$NM
38554 # Extract the first word of "nm", so it can be a program name with args.
38555 set dummy nm; ac_word=$2
38556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38557 $as_echo_n "checking for $ac_word... " >&6; }
38558 if ${ac_cv_prog_ac_ct_NM+:} false; then :
38559 $as_echo_n "(cached) " >&6
38560 else
38561 if test -n "$ac_ct_NM"; then
38562 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38563 else
38564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38565 for as_dir in $PATH
38566 do
38567 IFS=$as_save_IFS
38568 test -z "$as_dir" && as_dir=.
38569 for ac_exec_ext in '' $ac_executable_extensions; do
38570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38571 ac_cv_prog_ac_ct_NM="nm"
38572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38573 break 2
38574 fi
38575 done
38576 done
38577 IFS=$as_save_IFS
38578
38579 fi
38580 fi
38581 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38582 if test -n "$ac_ct_NM"; then
38583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38584 $as_echo "$ac_ct_NM" >&6; }
38585 else
38586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38587 $as_echo "no" >&6; }
38588 fi
38589
38590 if test "x$ac_ct_NM" = x; then
38591 NM=":"
38592 else
38593 case $cross_compiling:$ac_tool_warned in
38594 yes:)
38595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38597 ac_tool_warned=yes ;;
38598 esac
38599 NM=$ac_ct_NM
38600 fi
38601 else
38602 NM="$ac_cv_prog_NM"
38603 fi
38604
38605
38606 INSTALL_DIR="mkdir -p"
38607
38608
38609 LDFLAGS_GUI=
38610 case ${BAKEFILE_HOST} in
38611 *-*-cygwin* | *-*-mingw32* )
38612 LDFLAGS_GUI="-mwindows"
38613 esac
38614
38615
38616 fi
38617
38618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38619 $as_echo_n "checking if make is GNU make... " >&6; }
38620 if ${bakefile_cv_prog_makeisgnu+:} false; then :
38621 $as_echo_n "(cached) " >&6
38622 else
38623
38624 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38625 egrep -s GNU > /dev/null); then
38626 bakefile_cv_prog_makeisgnu="yes"
38627 else
38628 bakefile_cv_prog_makeisgnu="no"
38629 fi
38630
38631 fi
38632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38633 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38634
38635 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38636 IF_GNU_MAKE=""
38637 else
38638 IF_GNU_MAKE="#"
38639 fi
38640
38641
38642
38643 PLATFORM_UNIX=0
38644 PLATFORM_WIN32=0
38645 PLATFORM_MSDOS=0
38646 PLATFORM_MAC=0
38647 PLATFORM_MACOS=0
38648 PLATFORM_MACOSX=0
38649 PLATFORM_OS2=0
38650 PLATFORM_BEOS=0
38651
38652 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38653 case "${BAKEFILE_HOST}" in
38654 *-*-mingw32* )
38655 PLATFORM_WIN32=1
38656 ;;
38657 *-pc-msdosdjgpp )
38658 PLATFORM_MSDOS=1
38659 ;;
38660 *-pc-os2_emx | *-pc-os2-emx )
38661 PLATFORM_OS2=1
38662 ;;
38663 *-*-darwin* )
38664 PLATFORM_MAC=1
38665 PLATFORM_MACOSX=1
38666 ;;
38667 *-*-beos* )
38668 PLATFORM_BEOS=1
38669 ;;
38670 powerpc-apple-macos* )
38671 PLATFORM_MAC=1
38672 PLATFORM_MACOS=1
38673 ;;
38674 * )
38675 PLATFORM_UNIX=1
38676 ;;
38677 esac
38678 else
38679 case "$BAKEFILE_FORCE_PLATFORM" in
38680 win32 )
38681 PLATFORM_WIN32=1
38682 ;;
38683 msdos )
38684 PLATFORM_MSDOS=1
38685 ;;
38686 os2 )
38687 PLATFORM_OS2=1
38688 ;;
38689 darwin )
38690 PLATFORM_MAC=1
38691 PLATFORM_MACOSX=1
38692 ;;
38693 unix )
38694 PLATFORM_UNIX=1
38695 ;;
38696 beos )
38697 PLATFORM_BEOS=1
38698 ;;
38699 * )
38700 as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38701 ;;
38702 esac
38703 fi
38704
38705
38706
38707
38708
38709
38710
38711
38712
38713
38714
38715 # Check whether --enable-omf was given.
38716 if test "${enable_omf+set}" = set; then :
38717 enableval=$enable_omf; bk_os2_use_omf="$enableval"
38718 fi
38719
38720
38721 case "${BAKEFILE_HOST}" in
38722 *-*-darwin* )
38723 if test "x$GCC" = "xyes"; then
38724 CFLAGS="$CFLAGS -fno-common"
38725 CXXFLAGS="$CXXFLAGS -fno-common"
38726 fi
38727 if test "x$XLCC" = "xyes"; then
38728 CFLAGS="$CFLAGS -qnocommon"
38729 CXXFLAGS="$CXXFLAGS -qnocommon"
38730 fi
38731 ;;
38732
38733 *-pc-os2_emx | *-pc-os2-emx )
38734 if test "x$bk_os2_use_omf" = "xyes" ; then
38735 AR=emxomfar
38736 RANLIB=:
38737 LDFLAGS="-Zomf $LDFLAGS"
38738 CFLAGS="-Zomf $CFLAGS"
38739 CXXFLAGS="-Zomf $CXXFLAGS"
38740 OS2_LIBEXT="lib"
38741 else
38742 OS2_LIBEXT="a"
38743 fi
38744 ;;
38745
38746 i*86-*-beos* )
38747 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
38748 ;;
38749 esac
38750
38751
38752 SO_SUFFIX="so"
38753 SO_SUFFIX_MODULE="so"
38754 EXEEXT=""
38755 LIBPREFIX="lib"
38756 LIBEXT=".a"
38757 DLLPREFIX="lib"
38758 DLLPREFIX_MODULE=""
38759 DLLIMP_SUFFIX=""
38760 dlldir="$libdir"
38761
38762 case "${BAKEFILE_HOST}" in
38763 ia64-hp-hpux* )
38764 ;;
38765 *-hp-hpux* )
38766 SO_SUFFIX="sl"
38767 SO_SUFFIX_MODULE="sl"
38768 ;;
38769 *-*-aix* )
38770 SO_SUFFIX="a"
38771 SO_SUFFIX_MODULE="a"
38772 ;;
38773 *-*-cygwin* )
38774 SO_SUFFIX="dll"
38775 SO_SUFFIX_MODULE="dll"
38776 DLLIMP_SUFFIX="dll.a"
38777 EXEEXT=".exe"
38778 DLLPREFIX="cyg"
38779 dlldir="$bindir"
38780 ;;
38781 *-*-mingw32* )
38782 SO_SUFFIX="dll"
38783 SO_SUFFIX_MODULE="dll"
38784 DLLIMP_SUFFIX="dll.a"
38785 EXEEXT=".exe"
38786 DLLPREFIX=""
38787 dlldir="$bindir"
38788 ;;
38789 *-pc-msdosdjgpp )
38790 EXEEXT=".exe"
38791 DLLPREFIX=""
38792 dlldir="$bindir"
38793 ;;
38794 *-pc-os2_emx | *-pc-os2-emx )
38795 SO_SUFFIX="dll"
38796 SO_SUFFIX_MODULE="dll"
38797 DLLIMP_SUFFIX=$OS2_LIBEXT
38798 EXEEXT=".exe"
38799 DLLPREFIX=""
38800 LIBPREFIX=""
38801 LIBEXT=".$OS2_LIBEXT"
38802 dlldir="$bindir"
38803 ;;
38804 *-*-darwin* )
38805 SO_SUFFIX="dylib"
38806 SO_SUFFIX_MODULE="bundle"
38807 ;;
38808 esac
38809
38810 if test "x$DLLIMP_SUFFIX" = "x" ; then
38811 DLLIMP_SUFFIX="$SO_SUFFIX"
38812 fi
38813
38814
38815
38816
38817
38818
38819
38820
38821
38822
38823
38824
38825 PIC_FLAG=""
38826 if test "x$GCC" = "xyes"; then
38827 PIC_FLAG="-fPIC"
38828 fi
38829
38830 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
38831 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
38832 WINDOWS_IMPLIB=0
38833
38834 case "${BAKEFILE_HOST}" in
38835 *-hp-hpux* )
38836 if test "x$GCC" != "xyes"; then
38837 LDFLAGS="$LDFLAGS -L/usr/lib"
38838
38839 SHARED_LD_CC="${CC} -b -o"
38840 SHARED_LD_CXX="${CXX} -b -o"
38841 PIC_FLAG="+Z"
38842 fi
38843 ;;
38844
38845 *-*-linux* )
38846 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38847 PIC_FLAG="-KPIC"
38848 elif test "x$SUNCXX" = "xyes"; then
38849 SHARED_LD_CC="${CC} -G -o"
38850 SHARED_LD_CXX="${CXX} -G -o"
38851 PIC_FLAG="-KPIC"
38852 fi
38853 ;;
38854
38855 *-*-solaris2* )
38856 if test "x$SUNCXX" = xyes ; then
38857 SHARED_LD_CC="${CC} -G -o"
38858 SHARED_LD_CXX="${CXX} -G -o"
38859 PIC_FLAG="-KPIC"
38860 fi
38861 ;;
38862
38863 *-*-darwin* )
38864
38865 D='$'
38866 cat <<EOF >shared-ld-sh
38867 #!/bin/sh
38868 #-----------------------------------------------------------------------------
38869 #-- Name: distrib/mac/shared-ld-sh
38870 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38871 #-- Author: Gilles Depeyrot
38872 #-- Copyright: (c) 2002 Gilles Depeyrot
38873 #-- Licence: any use permitted
38874 #-----------------------------------------------------------------------------
38875
38876 verbose=0
38877 args=""
38878 objects=""
38879 linking_flag="-dynamiclib"
38880 ldargs="-r -keep_private_externs -nostdlib"
38881
38882 if test "x${D}CXX" = "x"; then
38883 CXX="c++"
38884 fi
38885
38886 while test ${D}# -gt 0; do
38887 case ${D}1 in
38888
38889 -v)
38890 verbose=1
38891 ;;
38892
38893 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38894 # collect these options and values
38895 args="${D}{args} ${D}1 ${D}2"
38896 shift
38897 ;;
38898
38899 -arch|-isysroot)
38900 # collect these options and values
38901 ldargs="${D}{ldargs} ${D}1 ${D}2"
38902 shift
38903 ;;
38904
38905 -s|-Wl,*)
38906 # collect these load args
38907 ldargs="${D}{ldargs} ${D}1"
38908 ;;
38909
38910 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38911 # collect these options
38912 args="${D}{args} ${D}1"
38913 ;;
38914
38915 -dynamiclib|-bundle)
38916 linking_flag="${D}1"
38917 ;;
38918
38919 -*)
38920 echo "shared-ld: unhandled option '${D}1'"
38921 exit 1
38922 ;;
38923
38924 *.o | *.a | *.dylib)
38925 # collect object files
38926 objects="${D}{objects} ${D}1"
38927 ;;
38928
38929 *)
38930 echo "shared-ld: unhandled argument '${D}1'"
38931 exit 1
38932 ;;
38933
38934 esac
38935 shift
38936 done
38937
38938 status=0
38939
38940 #
38941 # Link one module containing all the others
38942 #
38943 if test ${D}{verbose} = 1; then
38944 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38945 fi
38946 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38947 status=${D}?
38948
38949 #
38950 # Link the shared library from the single module created, but only if the
38951 # previous command didn't fail:
38952 #
38953 if test ${D}{status} = 0; then
38954 if test ${D}{verbose} = 1; then
38955 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38956 fi
38957 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38958 status=${D}?
38959 fi
38960
38961 #
38962 # Remove intermediate module
38963 #
38964 rm -f master.${D}${D}.o
38965
38966 exit ${D}status
38967 EOF
38968
38969 chmod +x shared-ld-sh
38970
38971 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38972 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38973
38974
38975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38976 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38977 if ${bakefile_cv_gcc31+:} false; then :
38978 $as_echo_n "(cached) " >&6
38979 else
38980
38981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38982 /* end confdefs.h. */
38983
38984 int
38985 main ()
38986 {
38987
38988 #if (__GNUC__ < 3) || \
38989 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38990 This is old gcc
38991 #endif
38992
38993 ;
38994 return 0;
38995 }
38996 _ACEOF
38997 if ac_fn_c_try_compile "$LINENO"; then :
38998
38999 bakefile_cv_gcc31=yes
39000
39001 else
39002
39003 bakefile_cv_gcc31=no
39004
39005
39006 fi
39007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39008
39009 fi
39010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
39011 $as_echo "$bakefile_cv_gcc31" >&6; }
39012 if test "$bakefile_cv_gcc31" = "no"; then
39013 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39014 SHARED_LD_CXX="$SHARED_LD_CC"
39015 else
39016 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39017 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39018 fi
39019
39020 if test "x$GCC" == "xyes"; then
39021 PIC_FLAG="-dynamic -fPIC"
39022 fi
39023 if test "x$XLCC" = "xyes"; then
39024 PIC_FLAG="-dynamic -DPIC"
39025 fi
39026 ;;
39027
39028 *-*-aix* )
39029 if test "x$GCC" = "xyes"; then
39030 PIC_FLAG=""
39031
39032 case "${BAKEFILE_HOST}" in
39033 *-*-aix5* )
39034 LD_EXPFULL="-Wl,-bexpfull"
39035 ;;
39036 esac
39037
39038 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
39039 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
39040 else
39041 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39042 set dummy makeC++SharedLib; ac_word=$2
39043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39044 $as_echo_n "checking for $ac_word... " >&6; }
39045 if ${ac_cv_prog_AIX_CXX_LD+:} false; then :
39046 $as_echo_n "(cached) " >&6
39047 else
39048 if test -n "$AIX_CXX_LD"; then
39049 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
39050 else
39051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39052 for as_dir in $PATH
39053 do
39054 IFS=$as_save_IFS
39055 test -z "$as_dir" && as_dir=.
39056 for ac_exec_ext in '' $ac_executable_extensions; do
39057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39058 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
39059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39060 break 2
39061 fi
39062 done
39063 done
39064 IFS=$as_save_IFS
39065
39066 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
39067 fi
39068 fi
39069 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
39070 if test -n "$AIX_CXX_LD"; then
39071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
39072 $as_echo "$AIX_CXX_LD" >&6; }
39073 else
39074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39075 $as_echo "no" >&6; }
39076 fi
39077
39078
39079 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
39080 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
39081 fi
39082 ;;
39083
39084 *-*-beos* )
39085 SHARED_LD_CC="${LD} -nostart -o"
39086 SHARED_LD_CXX="${LD} -nostart -o"
39087 ;;
39088
39089 *-*-irix* )
39090 if test "x$GCC" != "xyes"; then
39091 PIC_FLAG="-KPIC"
39092 fi
39093 ;;
39094
39095 *-*-cygwin* | *-*-mingw32* )
39096 PIC_FLAG=""
39097 SHARED_LD_CC="\$(CC) -shared -o"
39098 SHARED_LD_CXX="\$(CXX) -shared -o"
39099 WINDOWS_IMPLIB=1
39100 ;;
39101
39102 *-pc-os2_emx | *-pc-os2-emx )
39103 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39104 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39105 PIC_FLAG=""
39106
39107 D='$'
39108 cat <<EOF >dllar.sh
39109 #!/bin/sh
39110 #
39111 # dllar - a tool to build both a .dll and an .a file
39112 # from a set of object (.o) files for EMX/OS2.
39113 #
39114 # Written by Andrew Zabolotny, bit@freya.etu.ru
39115 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39116 #
39117 # This script will accept a set of files on the command line.
39118 # All the public symbols from the .o files will be exported into
39119 # a .DEF file, then linker will be run (through gcc) against them to
39120 # build a shared library consisting of all given .o files. All libraries
39121 # (.a) will be first decompressed into component .o files then act as
39122 # described above. You can optionally give a description (-d "description")
39123 # which will be put into .DLL. To see the list of accepted options (as well
39124 # as command-line format) simply run this program without options. The .DLL
39125 # is built to be imported by name (there is no guarantee that new versions
39126 # of the library you build will have same ordinals for same symbols).
39127 #
39128 # dllar is free software; you can redistribute it and/or modify
39129 # it under the terms of the GNU General Public License as published by
39130 # the Free Software Foundation; either version 2, or (at your option)
39131 # any later version.
39132 #
39133 # dllar is distributed in the hope that it will be useful,
39134 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39135 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39136 # GNU General Public License for more details.
39137 #
39138 # You should have received a copy of the GNU General Public License
39139 # along with dllar; see the file COPYING. If not, write to the Free
39140 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39141 # 02111-1307, USA.
39142
39143 # To successfuly run this program you will need:
39144 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39145 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39146 # - gcc
39147 # (used to build the .dll)
39148 # - emxexp
39149 # (used to create .def file from .o files)
39150 # - emximp
39151 # (used to create .a file from .def file)
39152 # - GNU text utilites (cat, sort, uniq)
39153 # used to process emxexp output
39154 # - GNU file utilities (mv, rm)
39155 # - GNU sed
39156 # - lxlite (optional, see flag below)
39157 # (used for general .dll cleanup)
39158 #
39159
39160 flag_USE_LXLITE=1;
39161
39162 #
39163 # helper functions
39164 # basnam, variant of basename, which does _not_ remove the path, _iff_
39165 # second argument (suffix to remove) is given
39166 basnam(){
39167 case ${D}# in
39168 1)
39169 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39170 ;;
39171 2)
39172 echo ${D}1 | sed 's/'${D}2'${D}//'
39173 ;;
39174 *)
39175 echo "error in basnam ${D}*"
39176 exit 8
39177 ;;
39178 esac
39179 }
39180
39181 # Cleanup temporary files and output
39182 CleanUp() {
39183 cd ${D}curDir
39184 for i in ${D}inputFiles ; do
39185 case ${D}i in
39186 *!)
39187 rm -rf \`basnam ${D}i !\`
39188 ;;
39189 *)
39190 ;;
39191 esac
39192 done
39193
39194 # Kill result in case of failure as there is just to many stupid make/nmake
39195 # things out there which doesn't do this.
39196 if [ ${D}# -eq 0 ]; then
39197 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39198 fi
39199 }
39200
39201 # Print usage and exit script with rc=1.
39202 PrintHelp() {
39203 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
39204 echo ' [-name-mangler-script script.sh]'
39205 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
39206 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
39207 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
39208 echo ' [*.o] [*.a]'
39209 echo '*> "output_file" should have no extension.'
39210 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39211 echo ' The import library name is derived from this and is set to "name".a,'
39212 echo ' unless overridden by -import'
39213 echo '*> "importlib_name" should have no extension.'
39214 echo ' If it has the .o, or .a extension, it is automatically removed.'
39215 echo ' This name is used as the import library name and may be longer and'
39216 echo ' more descriptive than the DLL name which has to follow the old '
39217 echo ' 8.3 convention of FAT.'
39218 echo '*> "script.sh may be given to override the output_file name by a'
39219 echo ' different name. It is mainly useful if the regular make process'
39220 echo ' of some package does not take into account OS/2 restriction of'
39221 echo ' DLL name lengths. It takes the importlib name as input and is'
39222 echo ' supposed to procude a shorter name as output. The script should'
39223 echo ' expect to get importlib_name without extension and should produce'
39224 echo ' a (max.) 8 letter name without extension.'
39225 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39226 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39227 echo ' These flags will be put at the start of GCC command line.'
39228 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
39229 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
39230 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39231 echo ' If the last character of a symbol is "*", all symbols beginning'
39232 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39233 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
39234 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39235 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
39236 echo ' C runtime DLLs.'
39237 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
39238 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39239 echo ' unchanged to GCC at the end of command line.'
39240 echo '*> If you create a DLL from a library and you do not specify -o,'
39241 echo ' the basename for DLL and import library will be set to library name,'
39242 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39243 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39244 echo ' library will be renamed into gcc_s.a.'
39245 echo '--------'
39246 echo 'Example:'
39247 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39248 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39249 CleanUp
39250 exit 1
39251 }
39252
39253 # Execute a command.
39254 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39255 # @Uses Whatever CleanUp() uses.
39256 doCommand() {
39257 echo "${D}*"
39258 eval ${D}*
39259 rcCmd=${D}?
39260
39261 if [ ${D}rcCmd -ne 0 ]; then
39262 echo "command failed, exit code="${D}rcCmd
39263 CleanUp
39264 exit ${D}rcCmd
39265 fi
39266 }
39267
39268 # main routine
39269 # setup globals
39270 cmdLine=${D}*
39271 outFile=""
39272 outimpFile=""
39273 inputFiles=""
39274 renameScript=""
39275 description=""
39276 CC=gcc.exe
39277 CFLAGS="-s -Zcrtdll"
39278 EXTRA_CFLAGS=""
39279 EXPORT_BY_ORDINALS=0
39280 exclude_symbols=""
39281 library_flags=""
39282 curDir=\`pwd\`
39283 curDirS=curDir
39284 case ${D}curDirS in
39285 */)
39286 ;;
39287 *)
39288 curDirS=${D}{curDirS}"/"
39289 ;;
39290 esac
39291 # Parse commandline
39292 libsToLink=0
39293 omfLinking=0
39294 while [ ${D}1 ]; do
39295 case ${D}1 in
39296 -ord*)
39297 EXPORT_BY_ORDINALS=1;
39298 ;;
39299 -o*)
39300 shift
39301 outFile=${D}1
39302 ;;
39303 -i*)
39304 shift
39305 outimpFile=${D}1
39306 ;;
39307 -name-mangler-script)
39308 shift
39309 renameScript=${D}1
39310 ;;
39311 -d*)
39312 shift
39313 description=${D}1
39314 ;;
39315 -f*)
39316 shift
39317 CFLAGS=${D}1
39318 ;;
39319 -c*)
39320 shift
39321 CC=${D}1
39322 ;;
39323 -h*)
39324 PrintHelp
39325 ;;
39326 -ex*)
39327 shift
39328 exclude_symbols=${D}{exclude_symbols}${D}1" "
39329 ;;
39330 -libf*)
39331 shift
39332 library_flags=${D}{library_flags}${D}1" "
39333 ;;
39334 -nocrt*)
39335 CFLAGS="-s"
39336 ;;
39337 -nolxl*)
39338 flag_USE_LXLITE=0
39339 ;;
39340 -* | /*)
39341 case ${D}1 in
39342 -L* | -l*)
39343 libsToLink=1
39344 ;;
39345 -Zomf)
39346 omfLinking=1
39347 ;;
39348 *)
39349 ;;
39350 esac
39351 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39352 ;;
39353 *.dll)
39354 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39355 if [ ${D}omfLinking -eq 1 ]; then
39356 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39357 else
39358 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39359 fi
39360 ;;
39361 *)
39362 found=0;
39363 if [ ${D}libsToLink -ne 0 ]; then
39364 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39365 else
39366 for file in ${D}1 ; do
39367 if [ -f ${D}file ]; then
39368 inputFiles="${D}{inputFiles} ${D}file"
39369 found=1
39370 fi
39371 done
39372 if [ ${D}found -eq 0 ]; then
39373 echo "ERROR: No file(s) found: "${D}1
39374 exit 8
39375 fi
39376 fi
39377 ;;
39378 esac
39379 shift
39380 done # iterate cmdline words
39381
39382 #
39383 if [ -z "${D}inputFiles" ]; then
39384 echo "dllar: no input files"
39385 PrintHelp
39386 fi
39387
39388 # Now extract all .o files from .a files
39389 newInputFiles=""
39390 for file in ${D}inputFiles ; do
39391 case ${D}file in
39392 *.a | *.lib)
39393 case ${D}file in
39394 *.a)
39395 suffix=".a"
39396 AR="ar"
39397 ;;
39398 *.lib)
39399 suffix=".lib"
39400 AR="emxomfar"
39401 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39402 ;;
39403 *)
39404 ;;
39405 esac
39406 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39407 mkdir ${D}dirname
39408 if [ ${D}? -ne 0 ]; then
39409 echo "Failed to create subdirectory ./${D}dirname"
39410 CleanUp
39411 exit 8;
39412 fi
39413 # Append '!' to indicate archive
39414 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39415 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39416 cd ${D}curDir
39417 found=0;
39418 for subfile in ${D}dirname/*.o* ; do
39419 if [ -f ${D}subfile ]; then
39420 found=1
39421 if [ -s ${D}subfile ]; then
39422 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39423 newInputFiles="${D}newInputFiles ${D}subfile"
39424 fi
39425 fi
39426 done
39427 if [ ${D}found -eq 0 ]; then
39428 echo "WARNING: there are no files in archive \\'${D}file\\'"
39429 fi
39430 ;;
39431 *)
39432 newInputFiles="${D}{newInputFiles} ${D}file"
39433 ;;
39434 esac
39435 done
39436 inputFiles="${D}newInputFiles"
39437
39438 # Output filename(s).
39439 do_backup=0;
39440 if [ -z ${D}outFile ]; then
39441 do_backup=1;
39442 set outFile ${D}inputFiles; outFile=${D}2
39443 fi
39444
39445 # If it is an archive, remove the '!' and the '_%' suffixes
39446 case ${D}outFile in
39447 *_%!)
39448 outFile=\`basnam ${D}outFile _%!\`
39449 ;;
39450 *)
39451 ;;
39452 esac
39453 case ${D}outFile in
39454 *.dll)
39455 outFile=\`basnam ${D}outFile .dll\`
39456 ;;
39457 *.DLL)
39458 outFile=\`basnam ${D}outFile .DLL\`
39459 ;;
39460 *.o)
39461 outFile=\`basnam ${D}outFile .o\`
39462 ;;
39463 *.obj)
39464 outFile=\`basnam ${D}outFile .obj\`
39465 ;;
39466 *.a)
39467 outFile=\`basnam ${D}outFile .a\`
39468 ;;
39469 *.lib)
39470 outFile=\`basnam ${D}outFile .lib\`
39471 ;;
39472 *)
39473 ;;
39474 esac
39475 case ${D}outimpFile in
39476 *.a)
39477 outimpFile=\`basnam ${D}outimpFile .a\`
39478 ;;
39479 *.lib)
39480 outimpFile=\`basnam ${D}outimpFile .lib\`
39481 ;;
39482 *)
39483 ;;
39484 esac
39485 if [ -z ${D}outimpFile ]; then
39486 outimpFile=${D}outFile
39487 fi
39488 defFile="${D}{outFile}.def"
39489 arcFile="${D}{outimpFile}.a"
39490 arcFile2="${D}{outimpFile}.lib"
39491
39492 #create ${D}dllFile as something matching 8.3 restrictions,
39493 if [ -z ${D}renameScript ] ; then
39494 dllFile="${D}outFile"
39495 else
39496 dllFile=\`${D}renameScript ${D}outimpFile\`
39497 fi
39498
39499 if [ ${D}do_backup -ne 0 ] ; then
39500 if [ -f ${D}arcFile ] ; then
39501 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39502 fi
39503 if [ -f ${D}arcFile2 ] ; then
39504 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39505 fi
39506 fi
39507
39508 # Extract public symbols from all the object files.
39509 tmpdefFile=${D}{defFile}_%
39510 rm -f ${D}tmpdefFile
39511 for file in ${D}inputFiles ; do
39512 case ${D}file in
39513 *!)
39514 ;;
39515 *)
39516 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39517 ;;
39518 esac
39519 done
39520
39521 # Create the def file.
39522 rm -f ${D}defFile
39523 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39524 dllFile="${D}{dllFile}.dll"
39525 if [ ! -z ${D}description ]; then
39526 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
39527 fi
39528 echo "EXPORTS" >> ${D}defFile
39529
39530 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39531 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39532
39533 # Checks if the export is ok or not.
39534 for word in ${D}exclude_symbols; do
39535 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39536 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39537 done
39538
39539
39540 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39541 sed "=" < ${D}tmpdefFile | \\
39542 sed '
39543 N
39544 : loop
39545 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39546 t loop
39547 ' > ${D}{tmpdefFile}%
39548 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39549 else
39550 rm -f ${D}{tmpdefFile}%
39551 fi
39552 cat ${D}tmpdefFile >> ${D}defFile
39553 rm -f ${D}tmpdefFile
39554
39555 # Do linking, create implib, and apply lxlite.
39556 gccCmdl="";
39557 for file in ${D}inputFiles ; do
39558 case ${D}file in
39559 *!)
39560 ;;
39561 *)
39562 gccCmdl="${D}gccCmdl ${D}file"
39563 ;;
39564 esac
39565 done
39566 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39567 touch "${D}{outFile}.dll"
39568
39569 doCommand "emximp -o ${D}arcFile ${D}defFile"
39570 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39571 add_flags="";
39572 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39573 add_flags="-ynd"
39574 fi
39575 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39576 fi
39577 doCommand "emxomf -s -l ${D}arcFile"
39578
39579 # Successful exit.
39580 CleanUp 1
39581 exit 0
39582 EOF
39583
39584 chmod +x dllar.sh
39585 ;;
39586
39587 powerpc-apple-macos* | \
39588 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-gnu* | *-*-k*bsd*-gnu | \
39589 *-*-mirbsd* | \
39590 *-*-sunos4* | \
39591 *-*-osf* | \
39592 *-*-dgux5* | \
39593 *-*-sysv5* | \
39594 *-pc-msdosdjgpp )
39595 ;;
39596
39597 *)
39598 as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
39599 esac
39600
39601 if test "x$PIC_FLAG" != "x" ; then
39602 PIC_FLAG="$PIC_FLAG -DPIC"
39603 fi
39604
39605 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39606 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39607 fi
39608 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39609 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39610 fi
39611
39612
39613
39614
39615
39616
39617
39618
39619
39620 USE_SOVERSION=0
39621 USE_SOVERLINUX=0
39622 USE_SOVERSOLARIS=0
39623 USE_SOVERCYGWIN=0
39624 USE_SOTWOSYMLINKS=0
39625 USE_MACVERSION=0
39626 SONAME_FLAG=
39627
39628 case "${BAKEFILE_HOST}" in
39629 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39630 *-*-k*bsd*-gnu | *-*-mirbsd* | *-*-gnu* )
39631 if test "x$SUNCXX" = "xyes"; then
39632 SONAME_FLAG="-h "
39633 else
39634 SONAME_FLAG="-Wl,-soname,"
39635 fi
39636 USE_SOVERSION=1
39637 USE_SOVERLINUX=1
39638 USE_SOTWOSYMLINKS=1
39639 ;;
39640
39641 *-*-solaris2* )
39642 SONAME_FLAG="-h "
39643 USE_SOVERSION=1
39644 USE_SOVERSOLARIS=1
39645 ;;
39646
39647 *-*-darwin* )
39648 USE_MACVERSION=1
39649 USE_SOVERSION=1
39650 USE_SOTWOSYMLINKS=1
39651 ;;
39652
39653 *-*-cygwin* )
39654 USE_SOVERSION=1
39655 USE_SOVERCYGWIN=1
39656 ;;
39657 esac
39658
39659
39660
39661
39662
39663
39664
39665
39666
39667
39668 # Check whether --enable-dependency-tracking was given.
39669 if test "${enable_dependency_tracking+set}" = set; then :
39670 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
39671 fi
39672
39673
39674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39675 $as_echo_n "checking for dependency tracking method... " >&6; }
39676
39677 BK_DEPS=""
39678 if test "x$bk_use_trackdeps" = "xno" ; then
39679 DEPS_TRACKING=0
39680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39681 $as_echo "disabled" >&6; }
39682 else
39683 DEPS_TRACKING=1
39684
39685 if test "x$GCC" = "xyes"; then
39686 DEPSMODE=gcc
39687 DEPSFLAG="-MMD"
39688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39689 $as_echo "gcc" >&6; }
39690 elif test "x$MWCC" = "xyes"; then
39691 DEPSMODE=mwcc
39692 DEPSFLAG="-MM"
39693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39694 $as_echo "mwcc" >&6; }
39695 elif test "x$SUNCC" = "xyes"; then
39696 DEPSMODE=unixcc
39697 DEPSFLAG="-xM1"
39698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39699 $as_echo "Sun cc" >&6; }
39700 elif test "x$SGICC" = "xyes"; then
39701 DEPSMODE=unixcc
39702 DEPSFLAG="-M"
39703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39704 $as_echo "SGI cc" >&6; }
39705 elif test "x$HPCC" = "xyes"; then
39706 DEPSMODE=unixcc
39707 DEPSFLAG="+make"
39708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39709 $as_echo "HP cc" >&6; }
39710 elif test "x$COMPAQCC" = "xyes"; then
39711 DEPSMODE=gcc
39712 DEPSFLAG="-MD"
39713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39714 $as_echo "Compaq cc" >&6; }
39715 else
39716 DEPS_TRACKING=0
39717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39718 $as_echo "none" >&6; }
39719 fi
39720
39721 if test $DEPS_TRACKING = 1 ; then
39722
39723 D='$'
39724 cat <<EOF >bk-deps
39725 #!/bin/sh
39726
39727 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39728 # script. It is used to track C/C++ files dependencies in portable way.
39729 #
39730 # Permission is given to use this file in any way.
39731
39732 DEPSMODE=${DEPSMODE}
39733 DEPSFLAG="${DEPSFLAG}"
39734 DEPSDIRBASE=.deps
39735
39736 if test ${D}DEPSMODE = gcc ; then
39737 ${D}* ${D}{DEPSFLAG}
39738 status=${D}?
39739
39740 # determine location of created files:
39741 while test ${D}# -gt 0; do
39742 case "${D}1" in
39743 -o )
39744 shift
39745 objfile=${D}1
39746 ;;
39747 -* )
39748 ;;
39749 * )
39750 srcfile=${D}1
39751 ;;
39752 esac
39753 shift
39754 done
39755 objfilebase=\`basename ${D}objfile\`
39756 builddir=\`dirname ${D}objfile\`
39757 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39758 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39759 depsdir=${D}builddir/${D}DEPSDIRBASE
39760 mkdir -p ${D}depsdir
39761
39762 # if the compiler failed, we're done:
39763 if test ${D}{status} != 0 ; then
39764 rm -f ${D}depfile
39765 exit ${D}{status}
39766 fi
39767
39768 # move created file to the location we want it in:
39769 if test -f ${D}depfile ; then
39770 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39771 rm -f ${D}depfile
39772 else
39773 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39774 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39775 if test ! -f ${D}depfile ; then
39776 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39777 depfile="${D}objfile.d"
39778 fi
39779 if test -f ${D}depfile ; then
39780 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39781 rm -f ${D}depfile
39782 fi
39783 fi
39784 exit 0
39785
39786 elif test ${D}DEPSMODE = mwcc ; then
39787 ${D}* || exit ${D}?
39788 # Run mwcc again with -MM and redirect into the dep file we want
39789 # NOTE: We can't use shift here because we need ${D}* to be valid
39790 prevarg=
39791 for arg in ${D}* ; do
39792 if test "${D}prevarg" = "-o"; then
39793 objfile=${D}arg
39794 else
39795 case "${D}arg" in
39796 -* )
39797 ;;
39798 * )
39799 srcfile=${D}arg
39800 ;;
39801 esac
39802 fi
39803 prevarg="${D}arg"
39804 done
39805
39806 objfilebase=\`basename ${D}objfile\`
39807 builddir=\`dirname ${D}objfile\`
39808 depsdir=${D}builddir/${D}DEPSDIRBASE
39809 mkdir -p ${D}depsdir
39810
39811 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39812 exit 0
39813
39814 elif test ${D}DEPSMODE = unixcc; then
39815 ${D}* || exit ${D}?
39816 # Run compiler again with deps flag and redirect into the dep file.
39817 # It doesn't work if the '-o FILE' option is used, but without it the
39818 # dependency file will contain the wrong name for the object. So it is
39819 # removed from the command line, and the dep file is fixed with sed.
39820 cmd=""
39821 while test ${D}# -gt 0; do
39822 case "${D}1" in
39823 -o )
39824 shift
39825 objfile=${D}1
39826 ;;
39827 * )
39828 eval arg${D}#=\\${D}1
39829 cmd="${D}cmd \\${D}arg${D}#"
39830 ;;
39831 esac
39832 shift
39833 done
39834
39835 objfilebase=\`basename ${D}objfile\`
39836 builddir=\`dirname ${D}objfile\`
39837 depsdir=${D}builddir/${D}DEPSDIRBASE
39838 mkdir -p ${D}depsdir
39839
39840 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39841 exit 0
39842
39843 else
39844 ${D}*
39845 exit ${D}?
39846 fi
39847 EOF
39848
39849 chmod +x bk-deps
39850 BK_DEPS="`pwd`/bk-deps"
39851 fi
39852 fi
39853
39854
39855
39856
39857
39858 case ${BAKEFILE_HOST} in
39859 *-*-cygwin* | *-*-mingw32* )
39860 if test -n "$ac_tool_prefix"; then
39861 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39862 set dummy ${ac_tool_prefix}windres; ac_word=$2
39863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39864 $as_echo_n "checking for $ac_word... " >&6; }
39865 if ${ac_cv_prog_WINDRES+:} false; then :
39866 $as_echo_n "(cached) " >&6
39867 else
39868 if test -n "$WINDRES"; then
39869 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
39870 else
39871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39872 for as_dir in $PATH
39873 do
39874 IFS=$as_save_IFS
39875 test -z "$as_dir" && as_dir=.
39876 for ac_exec_ext in '' $ac_executable_extensions; do
39877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39878 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
39879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39880 break 2
39881 fi
39882 done
39883 done
39884 IFS=$as_save_IFS
39885
39886 fi
39887 fi
39888 WINDRES=$ac_cv_prog_WINDRES
39889 if test -n "$WINDRES"; then
39890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39891 $as_echo "$WINDRES" >&6; }
39892 else
39893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39894 $as_echo "no" >&6; }
39895 fi
39896
39897
39898 fi
39899 if test -z "$ac_cv_prog_WINDRES"; then
39900 ac_ct_WINDRES=$WINDRES
39901 # Extract the first word of "windres", so it can be a program name with args.
39902 set dummy windres; ac_word=$2
39903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39904 $as_echo_n "checking for $ac_word... " >&6; }
39905 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
39906 $as_echo_n "(cached) " >&6
39907 else
39908 if test -n "$ac_ct_WINDRES"; then
39909 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
39910 else
39911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39912 for as_dir in $PATH
39913 do
39914 IFS=$as_save_IFS
39915 test -z "$as_dir" && as_dir=.
39916 for ac_exec_ext in '' $ac_executable_extensions; do
39917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39918 ac_cv_prog_ac_ct_WINDRES="windres"
39919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39920 break 2
39921 fi
39922 done
39923 done
39924 IFS=$as_save_IFS
39925
39926 fi
39927 fi
39928 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
39929 if test -n "$ac_ct_WINDRES"; then
39930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39931 $as_echo "$ac_ct_WINDRES" >&6; }
39932 else
39933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39934 $as_echo "no" >&6; }
39935 fi
39936
39937 if test "x$ac_ct_WINDRES" = x; then
39938 WINDRES=""
39939 else
39940 case $cross_compiling:$ac_tool_warned in
39941 yes:)
39942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39943 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39944 ac_tool_warned=yes ;;
39945 esac
39946 WINDRES=$ac_ct_WINDRES
39947 fi
39948 else
39949 WINDRES="$ac_cv_prog_WINDRES"
39950 fi
39951
39952 ;;
39953
39954 *-*-darwin* | powerpc-apple-macos* )
39955 # Extract the first word of "Rez", so it can be a program name with args.
39956 set dummy Rez; ac_word=$2
39957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39958 $as_echo_n "checking for $ac_word... " >&6; }
39959 if ${ac_cv_prog_REZ+:} false; then :
39960 $as_echo_n "(cached) " >&6
39961 else
39962 if test -n "$REZ"; then
39963 ac_cv_prog_REZ="$REZ" # Let the user override the test.
39964 else
39965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39966 for as_dir in $PATH
39967 do
39968 IFS=$as_save_IFS
39969 test -z "$as_dir" && as_dir=.
39970 for ac_exec_ext in '' $ac_executable_extensions; do
39971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39972 ac_cv_prog_REZ="Rez"
39973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39974 break 2
39975 fi
39976 done
39977 done
39978 IFS=$as_save_IFS
39979
39980 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
39981 fi
39982 fi
39983 REZ=$ac_cv_prog_REZ
39984 if test -n "$REZ"; then
39985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39986 $as_echo "$REZ" >&6; }
39987 else
39988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39989 $as_echo "no" >&6; }
39990 fi
39991
39992
39993 # Extract the first word of "SetFile", so it can be a program name with args.
39994 set dummy SetFile; ac_word=$2
39995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39996 $as_echo_n "checking for $ac_word... " >&6; }
39997 if ${ac_cv_prog_SETFILE+:} false; then :
39998 $as_echo_n "(cached) " >&6
39999 else
40000 if test -n "$SETFILE"; then
40001 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
40002 else
40003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40004 for as_dir in $PATH
40005 do
40006 IFS=$as_save_IFS
40007 test -z "$as_dir" && as_dir=.
40008 for ac_exec_ext in '' $ac_executable_extensions; do
40009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40010 ac_cv_prog_SETFILE="SetFile"
40011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40012 break 2
40013 fi
40014 done
40015 done
40016 IFS=$as_save_IFS
40017
40018 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
40019 fi
40020 fi
40021 SETFILE=$ac_cv_prog_SETFILE
40022 if test -n "$SETFILE"; then
40023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
40024 $as_echo "$SETFILE" >&6; }
40025 else
40026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40027 $as_echo "no" >&6; }
40028 fi
40029
40030
40031 ;;
40032 esac
40033
40034
40035
40036
40037
40038
40039
40040
40041
40042 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
40043
40044
40045 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
40046
40047
40048
40049 # Check whether --enable-precomp-headers was given.
40050 if test "${enable_precomp_headers+set}" = set; then :
40051 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
40052 fi
40053
40054
40055 GCC_PCH=0
40056 ICC_PCH=0
40057 USE_PCH=0
40058 BK_MAKE_PCH=""
40059
40060 case ${BAKEFILE_HOST} in
40061 *-*-cygwin* )
40062 bk_use_pch="no"
40063 ;;
40064 esac
40065
40066 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40067 if test "x$GCC" = "xyes"; then
40068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
40069 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
40070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40071 /* end confdefs.h. */
40072
40073 int
40074 main ()
40075 {
40076
40077 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40078 There is no PCH support
40079 #endif
40080 #if (__GNUC__ < 3)
40081 There is no PCH support
40082 #endif
40083 #if (__GNUC__ == 3) && \
40084 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40085 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
40086 ( defined(__INTEL_COMPILER) )
40087 There is no PCH support
40088 #endif
40089
40090 ;
40091 return 0;
40092 }
40093 _ACEOF
40094 if ac_fn_c_try_compile "$LINENO"; then :
40095
40096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40097 $as_echo "yes" >&6; }
40098 GCC_PCH=1
40099
40100 else
40101
40102 if test "$INTELCXX8" = "yes"; then
40103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40104 $as_echo "yes" >&6; }
40105 ICC_PCH=1
40106 if test "$INTELCXX10" = "yes"; then
40107 ICC_PCH_CREATE_SWITCH="-pch-create"
40108 ICC_PCH_USE_SWITCH="-pch-use"
40109 else
40110 ICC_PCH_CREATE_SWITCH="-create-pch"
40111 ICC_PCH_USE_SWITCH="-use-pch"
40112 fi
40113 else
40114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40115 $as_echo "no" >&6; }
40116 fi
40117
40118 fi
40119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40120 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
40121 USE_PCH=1
40122
40123 D='$'
40124 cat <<EOF >bk-make-pch
40125 #!/bin/sh
40126
40127 # This script is part of Bakefile (http://www.bakefile.org) autoconf
40128 # script. It is used to generated precompiled headers.
40129 #
40130 # Permission is given to use this file in any way.
40131
40132 outfile="${D}{1}"
40133 header="${D}{2}"
40134 shift
40135 shift
40136
40137 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
40138
40139 compiler=""
40140 headerfile=""
40141
40142 while test ${D}{#} -gt 0; do
40143 add_to_cmdline=1
40144 case "${D}{1}" in
40145 -I* )
40146 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40147 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40148 headerfile="${D}{incdir}/${D}{header}"
40149 fi
40150 ;;
40151 -use-pch|-use_pch|-pch-use )
40152 shift
40153 add_to_cmdline=0
40154 ;;
40155 esac
40156 if test ${D}add_to_cmdline = 1 ; then
40157 compiler="${D}{compiler} ${D}{1}"
40158 fi
40159 shift
40160 done
40161
40162 if test "x${D}{headerfile}" = "x" ; then
40163 echo "error: can't find header ${D}{header} in include paths" >&2
40164 else
40165 if test -f ${D}{outfile} ; then
40166 rm -f ${D}{outfile}
40167 else
40168 mkdir -p \`dirname ${D}{outfile}\`
40169 fi
40170 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40171 mkdir -p ${D}{builddir}/.deps
40172 if test "x${GCC_PCH}" = "x1" ; then
40173 # can do this because gcc is >= 3.4:
40174 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40175 elif test "x${ICC_PCH}" = "x1" ; then
40176 filename=pch_gen-${D}${D}
40177 file=${D}{filename}.c
40178 dfile=${D}{filename}.d
40179 cat > ${D}file <<EOT
40180 #include "${D}header"
40181 EOT
40182 # using -MF icc complains about differing command lines in creation/use
40183 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
40184 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
40185 rm -f ${D}file ${D}dfile ${D}{filename}.o
40186 fi
40187 exit ${D}{?}
40188 fi
40189 EOF
40190
40191 chmod +x bk-make-pch
40192 BK_MAKE_PCH="`pwd`/bk-make-pch"
40193 fi
40194 fi
40195 fi
40196
40197
40198
40199
40200
40201
40202
40203 COND_BUILD_debug="#"
40204 if test "x$BUILD" = "xdebug" ; then
40205 COND_BUILD_debug=""
40206 fi
40207
40208 COND_BUILD_debug_DEBUG_INFO_default="#"
40209 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40210 COND_BUILD_debug_DEBUG_INFO_default=""
40211 fi
40212
40213 COND_BUILD_release="#"
40214 if test "x$BUILD" = "xrelease" ; then
40215 COND_BUILD_release=""
40216 fi
40217
40218 COND_BUILD_release_DEBUG_INFO_default="#"
40219 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40220 COND_BUILD_release_DEBUG_INFO_default=""
40221 fi
40222
40223 COND_DEBUG_FLAG_0="#"
40224 if test "x$DEBUG_FLAG" = "x0" ; then
40225 COND_DEBUG_FLAG_0=""
40226 fi
40227
40228 COND_DEBUG_INFO_0="#"
40229 if test "x$DEBUG_INFO" = "x0" ; then
40230 COND_DEBUG_INFO_0=""
40231 fi
40232
40233 COND_DEBUG_INFO_1="#"
40234 if test "x$DEBUG_INFO" = "x1" ; then
40235 COND_DEBUG_INFO_1=""
40236 fi
40237
40238 COND_DEPS_TRACKING_0="#"
40239 if test "x$DEPS_TRACKING" = "x0" ; then
40240 COND_DEPS_TRACKING_0=""
40241 fi
40242
40243 COND_DEPS_TRACKING_1="#"
40244 if test "x$DEPS_TRACKING" = "x1" ; then
40245 COND_DEPS_TRACKING_1=""
40246 fi
40247
40248 COND_GCC_PCH_1="#"
40249 if test "x$GCC_PCH" = "x1" ; then
40250 COND_GCC_PCH_1=""
40251 fi
40252
40253 COND_ICC_PCH_1="#"
40254 if test "x$ICC_PCH" = "x1" ; then
40255 COND_ICC_PCH_1=""
40256 fi
40257
40258 COND_MONOLITHIC_0="#"
40259 if test "x$MONOLITHIC" = "x0" ; then
40260 COND_MONOLITHIC_0=""
40261 fi
40262
40263 COND_MONOLITHIC_0_SHARED_0="#"
40264 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40265 COND_MONOLITHIC_0_SHARED_0=""
40266 fi
40267
40268 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
40269 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40270 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
40271 fi
40272
40273 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40274 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40275 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40276 fi
40277
40278 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
40279 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40280 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
40281 fi
40282
40283 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
40284 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40285 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
40286 fi
40287
40288 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
40289 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40290 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
40291 fi
40292
40293 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
40294 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40295 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
40296 fi
40297
40298 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
40299 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40300 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
40301 fi
40302
40303 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
40304 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40305 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
40306 fi
40307
40308 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
40309 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40310 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
40311 fi
40312
40313 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
40314 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40315 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
40316 fi
40317
40318 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40319 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40320 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40321 fi
40322
40323 COND_MONOLITHIC_0_SHARED_1="#"
40324 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40325 COND_MONOLITHIC_0_SHARED_1=""
40326 fi
40327
40328 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
40329 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40330 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
40331 fi
40332
40333 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40334 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40335 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40336 fi
40337
40338 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
40339 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40340 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
40341 fi
40342
40343 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
40344 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40345 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
40346 fi
40347
40348 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
40349 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40350 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
40351 fi
40352
40353 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
40354 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40355 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
40356 fi
40357
40358 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
40359 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40360 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
40361 fi
40362
40363 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
40364 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40365 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
40366 fi
40367
40368 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
40369 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40370 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
40371 fi
40372
40373 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
40374 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40375 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
40376 fi
40377
40378 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40379 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40380 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40381 fi
40382
40383 COND_MONOLITHIC_0_USE_AUI_1="#"
40384 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40385 COND_MONOLITHIC_0_USE_AUI_1=""
40386 fi
40387
40388 COND_MONOLITHIC_0_USE_GUI_1="#"
40389 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40390 COND_MONOLITHIC_0_USE_GUI_1=""
40391 fi
40392
40393 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
40394 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40395 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
40396 fi
40397
40398 COND_MONOLITHIC_0_USE_HTML_1="#"
40399 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40400 COND_MONOLITHIC_0_USE_HTML_1=""
40401 fi
40402
40403 COND_MONOLITHIC_0_USE_MEDIA_1="#"
40404 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40405 COND_MONOLITHIC_0_USE_MEDIA_1=""
40406 fi
40407
40408 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
40409 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40410 COND_MONOLITHIC_0_USE_PROPGRID_1=""
40411 fi
40412
40413 COND_MONOLITHIC_0_USE_QA_1="#"
40414 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40415 COND_MONOLITHIC_0_USE_QA_1=""
40416 fi
40417
40418 COND_MONOLITHIC_0_USE_RIBBON_1="#"
40419 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40420 COND_MONOLITHIC_0_USE_RIBBON_1=""
40421 fi
40422
40423 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
40424 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40425 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
40426 fi
40427
40428 COND_MONOLITHIC_0_USE_STC_1="#"
40429 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40430 COND_MONOLITHIC_0_USE_STC_1=""
40431 fi
40432
40433 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
40434 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40435 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
40436 fi
40437
40438 COND_MONOLITHIC_0_USE_XRC_1="#"
40439 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40440 COND_MONOLITHIC_0_USE_XRC_1=""
40441 fi
40442
40443 COND_MONOLITHIC_1="#"
40444 if test "x$MONOLITHIC" = "x1" ; then
40445 COND_MONOLITHIC_1=""
40446 fi
40447
40448 COND_MONOLITHIC_1_SHARED_0="#"
40449 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40450 COND_MONOLITHIC_1_SHARED_0=""
40451 fi
40452
40453 COND_MONOLITHIC_1_SHARED_1="#"
40454 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40455 COND_MONOLITHIC_1_SHARED_1=""
40456 fi
40457
40458 COND_MONOLITHIC_1_USE_STC_1="#"
40459 if test "x$MONOLITHIC" = "x1" -a "x$USE_STC" = "x1" ; then
40460 COND_MONOLITHIC_1_USE_STC_1=""
40461 fi
40462
40463 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40464 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40465 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40466 fi
40467
40468 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40469 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40470 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40471 fi
40472
40473 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
40474 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40475 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
40476 fi
40477
40478 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40479 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40480 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40481 fi
40482
40483 COND_PLATFORM_MACOSX_1="#"
40484 if test "x$PLATFORM_MACOSX" = "x1" ; then
40485 COND_PLATFORM_MACOSX_1=""
40486 fi
40487
40488 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
40489 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40490 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
40491 fi
40492
40493 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
40494 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40495 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
40496 fi
40497
40498 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40499 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40500 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40501 fi
40502
40503 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40504 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40505 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40506 fi
40507
40508 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40509 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40510 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40511 fi
40512
40513 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40514 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40515 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40516 fi
40517
40518 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40519 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40520 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40521 fi
40522
40523 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
40524 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40525 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
40526 fi
40527
40528 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40529 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40530 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40531 fi
40532
40533 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
40534 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40535 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
40536 fi
40537
40538 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40539 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40540 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40541 fi
40542
40543 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40544 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40545 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40546 fi
40547
40548 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40549 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40550 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40551 fi
40552
40553 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
40554 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40555 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
40556 fi
40557
40558 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40559 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40560 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40561 fi
40562
40563 COND_PLATFORM_MAC_0="#"
40564 if test "x$PLATFORM_MAC" = "x0" ; then
40565 COND_PLATFORM_MAC_0=""
40566 fi
40567
40568 COND_PLATFORM_MAC_1="#"
40569 if test "x$PLATFORM_MAC" = "x1" ; then
40570 COND_PLATFORM_MAC_1=""
40571 fi
40572
40573 COND_PLATFORM_MSDOS_0="#"
40574 if test "x$PLATFORM_MSDOS" = "x0" ; then
40575 COND_PLATFORM_MSDOS_0=""
40576 fi
40577
40578 COND_PLATFORM_MSDOS_1="#"
40579 if test "x$PLATFORM_MSDOS" = "x1" ; then
40580 COND_PLATFORM_MSDOS_1=""
40581 fi
40582
40583 COND_PLATFORM_OS2_1="#"
40584 if test "x$PLATFORM_OS2" = "x1" ; then
40585 COND_PLATFORM_OS2_1=""
40586 fi
40587
40588 COND_PLATFORM_UNIX_0="#"
40589 if test "x$PLATFORM_UNIX" = "x0" ; then
40590 COND_PLATFORM_UNIX_0=""
40591 fi
40592
40593 COND_PLATFORM_UNIX_1="#"
40594 if test "x$PLATFORM_UNIX" = "x1" ; then
40595 COND_PLATFORM_UNIX_1=""
40596 fi
40597
40598 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40599 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40600 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40601 fi
40602
40603 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40604 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40605 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40606 fi
40607
40608 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40609 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40610 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40611 fi
40612
40613 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40614 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40615 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40616 fi
40617
40618 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40619 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40620 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40621 fi
40622
40623 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40624 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40625 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40626 fi
40627
40628 COND_PLATFORM_WIN32_0="#"
40629 if test "x$PLATFORM_WIN32" = "x0" ; then
40630 COND_PLATFORM_WIN32_0=""
40631 fi
40632
40633 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40634 if test "x$PLATFORM_WIN32" = "x0" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40635 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40636 fi
40637
40638 COND_PLATFORM_WIN32_1="#"
40639 if test "x$PLATFORM_WIN32" = "x1" ; then
40640 COND_PLATFORM_WIN32_1=""
40641 fi
40642
40643 COND_PLATFORM_WIN32_1_SHARED_0="#"
40644 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40645 COND_PLATFORM_WIN32_1_SHARED_0=""
40646 fi
40647
40648 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40649 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40650 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40651 fi
40652
40653 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40654 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40655 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40656 fi
40657
40658 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40659 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40660 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40661 fi
40662
40663 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40664 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40665 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40666 fi
40667
40668 COND_SHARED_0="#"
40669 if test "x$SHARED" = "x0" ; then
40670 COND_SHARED_0=""
40671 fi
40672
40673 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40674 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40675 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40676 fi
40677
40678 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40679 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40680 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40681 fi
40682
40683 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40684 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40685 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40686 fi
40687
40688 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40689 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40690 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40691 fi
40692
40693 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40694 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40695 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40696 fi
40697
40698 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40699 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40700 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40701 fi
40702
40703 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40704 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40705 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40706 fi
40707
40708 COND_SHARED_0_USE_STC_1="#"
40709 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40710 COND_SHARED_0_USE_STC_1=""
40711 fi
40712
40713 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
40714 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40715 COND_SHARED_0_wxUSE_EXPAT_builtin=""
40716 fi
40717
40718 COND_SHARED_0_wxUSE_REGEX_builtin="#"
40719 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40720 COND_SHARED_0_wxUSE_REGEX_builtin=""
40721 fi
40722
40723 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
40724 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40725 COND_SHARED_0_wxUSE_ZLIB_builtin=""
40726 fi
40727
40728 COND_SHARED_1="#"
40729 if test "x$SHARED" = "x1" ; then
40730 COND_SHARED_1=""
40731 fi
40732
40733 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40734 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40735 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40736 fi
40737
40738 COND_TOOLKIT_="#"
40739 if test "x$TOOLKIT" = "x" ; then
40740 COND_TOOLKIT_=""
40741 fi
40742
40743 COND_TOOLKIT_COCOA="#"
40744 if test "x$TOOLKIT" = "xCOCOA" ; then
40745 COND_TOOLKIT_COCOA=""
40746 fi
40747
40748 COND_TOOLKIT_COCOA_USE_GUI_1="#"
40749 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40750 COND_TOOLKIT_COCOA_USE_GUI_1=""
40751 fi
40752
40753 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40754 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40755 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40756 fi
40757
40758 COND_TOOLKIT_DFB="#"
40759 if test "x$TOOLKIT" = "xDFB" ; then
40760 COND_TOOLKIT_DFB=""
40761 fi
40762
40763 COND_TOOLKIT_DFB_USE_GUI_1="#"
40764 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40765 COND_TOOLKIT_DFB_USE_GUI_1=""
40766 fi
40767
40768 COND_TOOLKIT_GTK="#"
40769 if test "x$TOOLKIT" = "xGTK" ; then
40770 COND_TOOLKIT_GTK=""
40771 fi
40772
40773 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
40774 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40775 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
40776 fi
40777
40778 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40779 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40780 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40781 fi
40782
40783 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40784 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40785 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40786 fi
40787
40788 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
40789 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40790 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
40791 fi
40792
40793 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1="#"
40794 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40795 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1=""
40796 fi
40797
40798 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
40799 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40800 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
40801 fi
40802
40803 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1="#"
40804 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x1" ; then
40805 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1=""
40806 fi
40807
40808 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40809 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40810 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40811 fi
40812
40813 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40814 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40815 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40816 fi
40817
40818 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0="#"
40819 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40820 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0=""
40821 fi
40822
40823 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0="#"
40824 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40825 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0=""
40826 fi
40827
40828 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
40829 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40830 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
40831 fi
40832
40833 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
40834 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40835 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
40836 fi
40837
40838 COND_TOOLKIT_GTK_USE_GUI_1="#"
40839 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40840 COND_TOOLKIT_GTK_USE_GUI_1=""
40841 fi
40842
40843 COND_TOOLKIT_MAC="#"
40844 if test "x$TOOLKIT" = "xMAC" ; then
40845 COND_TOOLKIT_MAC=""
40846 fi
40847
40848 COND_TOOLKIT_MOTIF="#"
40849 if test "x$TOOLKIT" = "xMOTIF" ; then
40850 COND_TOOLKIT_MOTIF=""
40851 fi
40852
40853 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40854 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40855 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40856 fi
40857
40858 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40859 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40860 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40861 fi
40862
40863 COND_TOOLKIT_MSW="#"
40864 if test "x$TOOLKIT" = "xMSW" ; then
40865 COND_TOOLKIT_MSW=""
40866 fi
40867
40868 COND_TOOLKIT_MSW_USE_GUI_1="#"
40869 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40870 COND_TOOLKIT_MSW_USE_GUI_1=""
40871 fi
40872
40873 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40874 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40875 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40876 fi
40877
40878 COND_TOOLKIT_MSW_WXUNIV_0="#"
40879 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40880 COND_TOOLKIT_MSW_WXUNIV_0=""
40881 fi
40882
40883 COND_TOOLKIT_OSX_CARBON="#"
40884 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40885 COND_TOOLKIT_OSX_CARBON=""
40886 fi
40887
40888 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40889 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40890 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40891 fi
40892
40893 COND_TOOLKIT_OSX_COCOA="#"
40894 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40895 COND_TOOLKIT_OSX_COCOA=""
40896 fi
40897
40898 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40899 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40900 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40901 fi
40902
40903 COND_TOOLKIT_OSX_IPHONE="#"
40904 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40905 COND_TOOLKIT_OSX_IPHONE=""
40906 fi
40907
40908 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40909 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40910 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40911 fi
40912
40913 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40914 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40915 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40916 fi
40917
40918 COND_TOOLKIT_PM="#"
40919 if test "x$TOOLKIT" = "xPM" ; then
40920 COND_TOOLKIT_PM=""
40921 fi
40922
40923 COND_TOOLKIT_PM_USE_GUI_1="#"
40924 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40925 COND_TOOLKIT_PM_USE_GUI_1=""
40926 fi
40927
40928 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40929 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40930 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40931 fi
40932
40933 COND_TOOLKIT_WINCE="#"
40934 if test "x$TOOLKIT" = "xWINCE" ; then
40935 COND_TOOLKIT_WINCE=""
40936 fi
40937
40938 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40939 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40940 COND_TOOLKIT_WINCE_USE_GUI_1=""
40941 fi
40942
40943 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40944 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40945 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40946 fi
40947
40948 COND_TOOLKIT_WINCE_WXUNIV_0="#"
40949 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40950 COND_TOOLKIT_WINCE_WXUNIV_0=""
40951 fi
40952
40953 COND_TOOLKIT_X11="#"
40954 if test "x$TOOLKIT" = "xX11" ; then
40955 COND_TOOLKIT_X11=""
40956 fi
40957
40958 COND_TOOLKIT_X11_USE_GUI_1="#"
40959 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40960 COND_TOOLKIT_X11_USE_GUI_1=""
40961 fi
40962
40963 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1="#"
40964 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40965 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1=""
40966 fi
40967
40968 COND_TOOLKIT_X11_WXUNIV_1="#"
40969 if test "x$TOOLKIT" = "xX11" -a "x$WXUNIV" = "x1" ; then
40970 COND_TOOLKIT_X11_WXUNIV_1=""
40971 fi
40972
40973 COND_UNICODE_1="#"
40974 if test "x$UNICODE" = "x1" ; then
40975 COND_UNICODE_1=""
40976 fi
40977
40978 COND_USE_CAIRO_1="#"
40979 if test "x$USE_CAIRO" = "x1" ; then
40980 COND_USE_CAIRO_1=""
40981 fi
40982
40983 COND_USE_EXCEPTIONS_0="#"
40984 if test "x$USE_EXCEPTIONS" = "x0" ; then
40985 COND_USE_EXCEPTIONS_0=""
40986 fi
40987
40988 COND_USE_EXCEPTIONS_1="#"
40989 if test "x$USE_EXCEPTIONS" = "x1" ; then
40990 COND_USE_EXCEPTIONS_1=""
40991 fi
40992
40993 COND_USE_GUI_0="#"
40994 if test "x$USE_GUI" = "x0" ; then
40995 COND_USE_GUI_0=""
40996 fi
40997
40998 COND_USE_GUI_1="#"
40999 if test "x$USE_GUI" = "x1" ; then
41000 COND_USE_GUI_1=""
41001 fi
41002
41003 COND_USE_GUI_1_USE_OPENGL_1="#"
41004 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41005 COND_USE_GUI_1_USE_OPENGL_1=""
41006 fi
41007
41008 COND_USE_GUI_1_WXUNIV_0="#"
41009 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41010 COND_USE_GUI_1_WXUNIV_0=""
41011 fi
41012
41013 COND_USE_GUI_1_WXUNIV_1="#"
41014 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41015 COND_USE_GUI_1_WXUNIV_1=""
41016 fi
41017
41018 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
41019 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41020 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
41021 fi
41022
41023 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
41024 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41025 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
41026 fi
41027
41028 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
41029 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41030 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
41031 fi
41032
41033 COND_USE_OPENGL_1="#"
41034 if test "x$USE_OPENGL" = "x1" ; then
41035 COND_USE_OPENGL_1=""
41036 fi
41037
41038 COND_USE_PCH_1="#"
41039 if test "x$USE_PCH" = "x1" ; then
41040 COND_USE_PCH_1=""
41041 fi
41042
41043 COND_USE_PLUGINS_0="#"
41044 if test "x$USE_PLUGINS" = "x0" ; then
41045 COND_USE_PLUGINS_0=""
41046 fi
41047
41048 COND_USE_RTTI_0="#"
41049 if test "x$USE_RTTI" = "x0" ; then
41050 COND_USE_RTTI_0=""
41051 fi
41052
41053 COND_USE_RTTI_1="#"
41054 if test "x$USE_RTTI" = "x1" ; then
41055 COND_USE_RTTI_1=""
41056 fi
41057
41058 COND_USE_SOTWOSYMLINKS_1="#"
41059 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
41060 COND_USE_SOTWOSYMLINKS_1=""
41061 fi
41062
41063 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
41064 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41065 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
41066 fi
41067
41068 COND_USE_SOVERLINUX_1="#"
41069 if test "x$USE_SOVERLINUX" = "x1" ; then
41070 COND_USE_SOVERLINUX_1=""
41071 fi
41072
41073 COND_USE_SOVERSION_0="#"
41074 if test "x$USE_SOVERSION" = "x0" ; then
41075 COND_USE_SOVERSION_0=""
41076 fi
41077
41078 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
41079 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
41080 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
41081 fi
41082
41083 COND_USE_SOVERSOLARIS_1="#"
41084 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41085 COND_USE_SOVERSOLARIS_1=""
41086 fi
41087
41088 COND_USE_STC_1="#"
41089 if test "x$USE_STC" = "x1" ; then
41090 COND_USE_STC_1=""
41091 fi
41092
41093 COND_USE_THREADS_0="#"
41094 if test "x$USE_THREADS" = "x0" ; then
41095 COND_USE_THREADS_0=""
41096 fi
41097
41098 COND_USE_THREADS_1="#"
41099 if test "x$USE_THREADS" = "x1" ; then
41100 COND_USE_THREADS_1=""
41101 fi
41102
41103 COND_USE_XRC_1="#"
41104 if test "x$USE_XRC" = "x1" ; then
41105 COND_USE_XRC_1=""
41106 fi
41107
41108 COND_WINDOWS_IMPLIB_1="#"
41109 if test "x$WINDOWS_IMPLIB" = "x1" ; then
41110 COND_WINDOWS_IMPLIB_1=""
41111 fi
41112
41113 COND_WITH_PLUGIN_SDL_1="#"
41114 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41115 COND_WITH_PLUGIN_SDL_1=""
41116 fi
41117
41118 COND_WXUNIV_0="#"
41119 if test "x$WXUNIV" = "x0" ; then
41120 COND_WXUNIV_0=""
41121 fi
41122
41123 COND_WXUNIV_1="#"
41124 if test "x$WXUNIV" = "x1" ; then
41125 COND_WXUNIV_1=""
41126 fi
41127
41128 COND_wxUSE_EXPAT_builtin="#"
41129 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41130 COND_wxUSE_EXPAT_builtin=""
41131 fi
41132
41133 COND_wxUSE_LIBJPEG_builtin="#"
41134 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41135 COND_wxUSE_LIBJPEG_builtin=""
41136 fi
41137
41138 COND_wxUSE_LIBPNG_builtin="#"
41139 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41140 COND_wxUSE_LIBPNG_builtin=""
41141 fi
41142
41143 COND_wxUSE_LIBTIFF_builtin="#"
41144 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41145 COND_wxUSE_LIBTIFF_builtin=""
41146 fi
41147
41148 COND_wxUSE_REGEX_builtin="#"
41149 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41150 COND_wxUSE_REGEX_builtin=""
41151 fi
41152
41153 COND_wxUSE_ZLIB_builtin="#"
41154 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41155 COND_wxUSE_ZLIB_builtin=""
41156 fi
41157
41158
41159
41160 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
41161 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
41162 fi
41163
41164 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41165 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
41166 fi
41167
41168
41169 case ${INSTALL} in
41170 /* ) # Absolute
41171 ;;
41172 ?:* ) # Drive letter, considered as absolute.
41173 ;;
41174 *)
41175 INSTALL=`pwd`/${INSTALL} ;;
41176 esac
41177
41178 if test "$wxUSE_GUI" = "yes"; then
41179
41180 if test "$wxUSE_MSW" = 1 ; then
41181 if test "x$WINDRES" = "x"; then
41182 as_fn_error $? "Required windres program not found" "$LINENO" 5
41183 fi
41184
41185 RESCOMP="$WINDRES"
41186 fi
41187
41188 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
41189 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
41190 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
41191
41192 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
41193
41194 # Extract the first word of "DeRez", so it can be a program name with args.
41195 set dummy DeRez; ac_word=$2
41196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41197 $as_echo_n "checking for $ac_word... " >&6; }
41198 if ${ac_cv_prog_DEREZ+:} false; then :
41199 $as_echo_n "(cached) " >&6
41200 else
41201 if test -n "$DEREZ"; then
41202 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
41203 else
41204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41205 for as_dir in $PATH
41206 do
41207 IFS=$as_save_IFS
41208 test -z "$as_dir" && as_dir=.
41209 for ac_exec_ext in '' $ac_executable_extensions; do
41210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41211 ac_cv_prog_DEREZ="DeRez"
41212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41213 break 2
41214 fi
41215 done
41216 done
41217 IFS=$as_save_IFS
41218
41219 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
41220 fi
41221 fi
41222 DEREZ=$ac_cv_prog_DEREZ
41223 if test -n "$DEREZ"; then
41224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
41225 $as_echo "$DEREZ" >&6; }
41226 else
41227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41228 $as_echo "no" >&6; }
41229 fi
41230
41231
41232
41233 MACSETFILE="\$(SETFILE)"
41234
41235 if test "$wxUSE_OSX_CARBON" = 1; then
41236 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
41237 RESCOMP="$REZ"
41238 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
41239 else
41240 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
41241 RESCOMP="cat /dev/null \| $REZ"
41242 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
41243 fi
41244
41245 else
41246 MACSETFILE="@true"
41247
41248 if test "$wxUSE_PM" = 1; then
41249 RESCOMP="emxbind"
41250 WXCONFIG_RESFLAGS="-ep"
41251
41252 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
41253 else
41254 POSTLINK_COMMAND="@true"
41255 fi
41256 fi
41257
41258 fi
41259
41260
41261 if test $GCC_PCH = 1
41262 then
41263 if test "$wx_cv_gcc_pch_bug" = yes; then
41264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
41265 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
41266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
41267 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41269 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41270 fi
41271
41272 # Our WX_PRECOMP flag does not make sense for any language except C++ because
41273 # the headers that benefit from precompilation are mostly C++ headers.
41274 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41275 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41276 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41277 fi
41278
41279
41280 if test "$DEPS_TRACKING" = 1 -a "$wxUSE_MAC" = 1 ; then
41281 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41282 if test "x$disable_macosx_deps" = "xyes"; then
41283 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
41284 mv temp bk-deps
41285 chmod +x bk-deps
41286 fi
41287 fi
41288 fi
41289
41290 if test "$wxUSE_SHARED" = "yes"; then
41291 case "${host}" in
41292 *-pc-os2_emx | *-pc-os2-emx )
41293 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41294 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41295 cp -p ${srcdir}/src/os2/dllnames.sh .
41296 cp -p ${srcdir}/src/os2/dllar.sh .
41297 ;;
41298 esac
41299 fi
41300 if test "$wxUSE_OMF" = "yes"; then
41301 case "${host}" in
41302 *-pc-os2_emx | *-pc-os2-emx )
41303 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
41304 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41305 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41306 ;;
41307 esac
41308 fi
41309
41310 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41311
41312
41313 case "${host}" in
41314 *-*-solaris2* )
41315 if test "$GCC" = yes; then
41316 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
41317 LIBS=`echo $LIBS | sed 's/-mt//g'`
41318 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41319 fi
41320 ;;
41321
41322 *-*-linux* )
41323 if test "x$SUNCXX" = xyes; then
41324 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
41325 LIBS=`echo $LIBS | sed 's/-pthread//g'`
41326 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41327 fi
41328 ;;
41329 esac
41330
41331 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
41332 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41333 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
41334 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41335
41336 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
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
41393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41394 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41395 set x ${MAKE-make}
41396 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41397 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
41398 $as_echo_n "(cached) " >&6
41399 else
41400 cat >conftest.make <<\_ACEOF
41401 SHELL = /bin/sh
41402 all:
41403 @echo '@@@%%%=$(MAKE)=@@@%%%'
41404 _ACEOF
41405 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41406 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41407 *@@@%%%=?*=@@@%%%*)
41408 eval ac_cv_prog_make_${ac_make}_set=yes;;
41409 *)
41410 eval ac_cv_prog_make_${ac_make}_set=no;;
41411 esac
41412 rm -f conftest.make
41413 fi
41414 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
41415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41416 $as_echo "yes" >&6; }
41417 SET_MAKE=
41418 else
41419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41420 $as_echo "no" >&6; }
41421 SET_MAKE="MAKE=${MAKE-make}"
41422 fi
41423
41424
41425
41426 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41427
41428
41429 if test "$USE_WIN32" = 1; then
41430 ac_config_commands="$ac_config_commands rcdefs.h"
41431
41432 fi
41433
41434 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41435
41436
41437 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41438
41439
41440 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
41441
41442
41443 if test "$wx_cv_version_script" = "yes"; then
41444 ac_config_files="$ac_config_files version-script"
41445
41446 fi
41447 ac_config_files="$ac_config_files Makefile"
41448
41449
41450 ac_config_commands="$ac_config_commands wx-config"
41451
41452
41453
41454 if test "$wxWITH_SUBDIRS" != "no"; then
41455 if test "$wxUSE_GUI" = "yes"; then
41456 SUBDIRS="samples demos utils"
41457 else
41458 SUBDIRS="samples utils"
41459 fi
41460
41461
41462
41463 # Check whether --with-cppunit-prefix was given.
41464 if test "${with_cppunit_prefix+set}" = set; then :
41465 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
41466 else
41467 cppunit_config_prefix=""
41468 fi
41469
41470
41471 # Check whether --with-cppunit-exec-prefix was given.
41472 if test "${with_cppunit_exec_prefix+set}" = set; then :
41473 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
41474 else
41475 cppunit_config_exec_prefix=""
41476 fi
41477
41478
41479 if test x$cppunit_config_exec_prefix != x ; then
41480 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41481 if test x${CPPUNIT_CONFIG+set} != xset ; then
41482 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41483 fi
41484 fi
41485 if test x$cppunit_config_prefix != x ; then
41486 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41487 if test x${CPPUNIT_CONFIG+set} != xset ; then
41488 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41489 fi
41490 fi
41491
41492 # Extract the first word of "cppunit-config", so it can be a program name with args.
41493 set dummy cppunit-config; ac_word=$2
41494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41495 $as_echo_n "checking for $ac_word... " >&6; }
41496 if ${ac_cv_path_CPPUNIT_CONFIG+:} false; then :
41497 $as_echo_n "(cached) " >&6
41498 else
41499 case $CPPUNIT_CONFIG in
41500 [\\/]* | ?:[\\/]*)
41501 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41502 ;;
41503 *)
41504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41505 for as_dir in $PATH
41506 do
41507 IFS=$as_save_IFS
41508 test -z "$as_dir" && as_dir=.
41509 for ac_exec_ext in '' $ac_executable_extensions; do
41510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41511 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41513 break 2
41514 fi
41515 done
41516 done
41517 IFS=$as_save_IFS
41518
41519 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41520 ;;
41521 esac
41522 fi
41523 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41524 if test -n "$CPPUNIT_CONFIG"; then
41525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41526 $as_echo "$CPPUNIT_CONFIG" >&6; }
41527 else
41528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41529 $as_echo "no" >&6; }
41530 fi
41531
41532
41533 cppunit_version_min=1.8.0
41534
41535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41536 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41537 no_cppunit=""
41538 if test "$CPPUNIT_CONFIG" = "no" ; then
41539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41540 $as_echo "no" >&6; }
41541 no_cppunit=yes
41542 else
41543 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41544 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41545 cppunit_version=`$CPPUNIT_CONFIG --version`
41546
41547 cppunit_major_version=`echo $cppunit_version | \
41548 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41549 cppunit_minor_version=`echo $cppunit_version | \
41550 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41551 cppunit_micro_version=`echo $cppunit_version | \
41552 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41553
41554 cppunit_major_min=`echo $cppunit_version_min | \
41555 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41556 cppunit_minor_min=`echo $cppunit_version_min | \
41557 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41558 cppunit_micro_min=`echo $cppunit_version_min | \
41559 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41560
41561 cppunit_version_proper=`expr \
41562 $cppunit_major_version \> $cppunit_major_min \| \
41563 $cppunit_major_version \= $cppunit_major_min \& \
41564 $cppunit_minor_version \> $cppunit_minor_min \| \
41565 $cppunit_major_version \= $cppunit_major_min \& \
41566 $cppunit_minor_version \= $cppunit_minor_min \& \
41567 $cppunit_micro_version \>= $cppunit_micro_min `
41568
41569 if test "$cppunit_version_proper" = "1" ; then
41570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41571 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41572 else
41573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41574 $as_echo "no" >&6; }
41575 no_cppunit=yes
41576 fi
41577 fi
41578
41579 if test "x$no_cppunit" = x ; then
41580 SUBDIRS="$SUBDIRS tests"
41581 else
41582 CPPUNIT_CFLAGS=""
41583 CPPUNIT_LIBS=""
41584 :
41585 fi
41586
41587
41588
41589
41590
41591 for subdir in $SUBDIRS; do
41592 if test -d ${srcdir}/${subdir} ; then
41593 if test "$wxUSE_GUI" = "yes"; then
41594 if test ${subdir} = "samples"; then
41595 makefiles="samples/Makefile.in $makefiles"
41596 for sample in $SAMPLES_SUBDIRS; do
41597 if test -d $srcdir/samples/$sample; then
41598 makefiles="samples/$sample/Makefile.in $makefiles"
41599 fi
41600 done
41601 else
41602 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
41603 eval "disabled=\$$disabled_var"
41604 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
41605 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41606 fi
41607 else
41608 if test ${subdir} = "samples"; then
41609 makefiles="samples/Makefile.in $makefiles"
41610 for sample in `echo $SAMPLES_SUBDIRS`; do
41611 if test -d $srcdir/samples/$sample; then
41612 makefiles="samples/$sample/Makefile.in $makefiles"
41613 fi
41614 done
41615 elif test ${subdir} = "utils"; then
41616 makefiles=""
41617 for util in ifacecheck ; do
41618 if test -d $srcdir/utils/$util ; then
41619 makefiles="utils/$util/src/Makefile.in \
41620 $makefiles"
41621 fi
41622 done
41623 else
41624 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41625 fi
41626 fi
41627
41628 for mkin in $makefiles ; do
41629 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41630 ac_config_files="$ac_config_files $mk"
41631
41632 done
41633 fi
41634 done
41635 fi
41636 cat >confcache <<\_ACEOF
41637 # This file is a shell script that caches the results of configure
41638 # tests run on this system so they can be shared between configure
41639 # scripts and configure runs, see configure's option --config-cache.
41640 # It is not useful on other systems. If it contains results you don't
41641 # want to keep, you may remove or edit it.
41642 #
41643 # config.status only pays attention to the cache file if you give it
41644 # the --recheck option to rerun configure.
41645 #
41646 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41647 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41648 # following values.
41649
41650 _ACEOF
41651
41652 # The following way of writing the cache mishandles newlines in values,
41653 # but we know of no workaround that is simple, portable, and efficient.
41654 # So, we kill variables containing newlines.
41655 # Ultrix sh set writes to stderr and can't be redirected directly,
41656 # and sets the high bit in the cache file unless we assign to the vars.
41657 (
41658 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41659 eval ac_val=\$$ac_var
41660 case $ac_val in #(
41661 *${as_nl}*)
41662 case $ac_var in #(
41663 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41664 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41665 esac
41666 case $ac_var in #(
41667 _ | IFS | as_nl) ;; #(
41668 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
41669 *) { eval $ac_var=; unset $ac_var;} ;;
41670 esac ;;
41671 esac
41672 done
41673
41674 (set) 2>&1 |
41675 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41676 *${as_nl}ac_space=\ *)
41677 # `set' does not quote correctly, so add quotes: double-quote
41678 # substitution turns \\\\ into \\, and sed turns \\ into \.
41679 sed -n \
41680 "s/'/'\\\\''/g;
41681 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41682 ;; #(
41683 *)
41684 # `set' quotes correctly as required by POSIX, so do not add quotes.
41685 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41686 ;;
41687 esac |
41688 sort
41689 ) |
41690 sed '
41691 /^ac_cv_env_/b end
41692 t clear
41693 :clear
41694 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41695 t end
41696 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41697 :end' >>confcache
41698 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41699 if test -w "$cache_file"; then
41700 if test "x$cache_file" != "x/dev/null"; then
41701 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41702 $as_echo "$as_me: updating cache $cache_file" >&6;}
41703 if test ! -f "$cache_file" || test -h "$cache_file"; then
41704 cat confcache >"$cache_file"
41705 else
41706 case $cache_file in #(
41707 */* | ?:*)
41708 mv -f confcache "$cache_file"$$ &&
41709 mv -f "$cache_file"$$ "$cache_file" ;; #(
41710 *)
41711 mv -f confcache "$cache_file" ;;
41712 esac
41713 fi
41714 fi
41715 else
41716 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41717 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41718 fi
41719 fi
41720 rm -f confcache
41721
41722 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41723 # Let make expand exec_prefix.
41724 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41725
41726 DEFS=-DHAVE_CONFIG_H
41727
41728 ac_libobjs=
41729 ac_ltlibobjs=
41730 U=
41731 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41732 # 1. Remove the extension, and $U if already installed.
41733 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41734 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
41735 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41736 # will be set to the directory where LIBOBJS objects are built.
41737 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41738 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
41739 done
41740 LIBOBJS=$ac_libobjs
41741
41742 LTLIBOBJS=$ac_ltlibobjs
41743
41744
41745
41746 : "${CONFIG_STATUS=./config.status}"
41747 ac_write_fail=0
41748 ac_clean_files_save=$ac_clean_files
41749 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41750 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41751 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41752 as_write_fail=0
41753 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41754 #! $SHELL
41755 # Generated by $as_me.
41756 # Run this file to recreate the current configuration.
41757 # Compiler output produced by configure, useful for debugging
41758 # configure, is in config.log if it exists.
41759
41760 debug=false
41761 ac_cs_recheck=false
41762 ac_cs_silent=false
41763
41764 SHELL=\${CONFIG_SHELL-$SHELL}
41765 export SHELL
41766 _ASEOF
41767 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
41768 ## -------------------- ##
41769 ## M4sh Initialization. ##
41770 ## -------------------- ##
41771
41772 # Be more Bourne compatible
41773 DUALCASE=1; export DUALCASE # for MKS sh
41774 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
41775 emulate sh
41776 NULLCMD=:
41777 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41778 # is contrary to our usage. Disable this feature.
41779 alias -g '${1+"$@"}'='"$@"'
41780 setopt NO_GLOB_SUBST
41781 else
41782 case `(set -o) 2>/dev/null` in #(
41783 *posix*) :
41784 set -o posix ;; #(
41785 *) :
41786 ;;
41787 esac
41788 fi
41789
41790
41791 as_nl='
41792 '
41793 export as_nl
41794 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41795 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41796 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41797 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41798 # Prefer a ksh shell builtin over an external printf program on Solaris,
41799 # but without wasting forks for bash or zsh.
41800 if test -z "$BASH_VERSION$ZSH_VERSION" \
41801 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41802 as_echo='print -r --'
41803 as_echo_n='print -rn --'
41804 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41805 as_echo='printf %s\n'
41806 as_echo_n='printf %s'
41807 else
41808 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41809 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
41810 as_echo_n='/usr/ucb/echo -n'
41811 else
41812 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41813 as_echo_n_body='eval
41814 arg=$1;
41815 case $arg in #(
41816 *"$as_nl"*)
41817 expr "X$arg" : "X\\(.*\\)$as_nl";
41818 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41819 esac;
41820 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41821 '
41822 export as_echo_n_body
41823 as_echo_n='sh -c $as_echo_n_body as_echo'
41824 fi
41825 export as_echo_body
41826 as_echo='sh -c $as_echo_body as_echo'
41827 fi
41828
41829 # The user is always right.
41830 if test "${PATH_SEPARATOR+set}" != set; then
41831 PATH_SEPARATOR=:
41832 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41833 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41834 PATH_SEPARATOR=';'
41835 }
41836 fi
41837
41838
41839 # IFS
41840 # We need space, tab and new line, in precisely that order. Quoting is
41841 # there to prevent editors from complaining about space-tab.
41842 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41843 # splitting by setting IFS to empty value.)
41844 IFS=" "" $as_nl"
41845
41846 # Find who we are. Look in the path if we contain no directory separator.
41847 as_myself=
41848 case $0 in #((
41849 *[\\/]* ) as_myself=$0 ;;
41850 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41851 for as_dir in $PATH
41852 do
41853 IFS=$as_save_IFS
41854 test -z "$as_dir" && as_dir=.
41855 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41856 done
41857 IFS=$as_save_IFS
41858
41859 ;;
41860 esac
41861 # We did not find ourselves, most probably we were run as `sh COMMAND'
41862 # in which case we are not to be found in the path.
41863 if test "x$as_myself" = x; then
41864 as_myself=$0
41865 fi
41866 if test ! -f "$as_myself"; then
41867 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41868 exit 1
41869 fi
41870
41871 # Unset variables that we do not need and which cause bugs (e.g. in
41872 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41873 # suppresses any "Segmentation fault" message there. '((' could
41874 # trigger a bug in pdksh 5.2.14.
41875 for as_var in BASH_ENV ENV MAIL MAILPATH
41876 do eval test x\${$as_var+set} = xset \
41877 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
41878 done
41879 PS1='$ '
41880 PS2='> '
41881 PS4='+ '
41882
41883 # NLS nuisances.
41884 LC_ALL=C
41885 export LC_ALL
41886 LANGUAGE=C
41887 export LANGUAGE
41888
41889 # CDPATH.
41890 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
41891
41892
41893 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41894 # ----------------------------------------
41895 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41896 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41897 # script with STATUS, using 1 if that was 0.
41898 as_fn_error ()
41899 {
41900 as_status=$1; test $as_status -eq 0 && as_status=1
41901 if test "$4"; then
41902 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41903 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41904 fi
41905 $as_echo "$as_me: error: $2" >&2
41906 as_fn_exit $as_status
41907 } # as_fn_error
41908
41909
41910 # as_fn_set_status STATUS
41911 # -----------------------
41912 # Set $? to STATUS, without forking.
41913 as_fn_set_status ()
41914 {
41915 return $1
41916 } # as_fn_set_status
41917
41918 # as_fn_exit STATUS
41919 # -----------------
41920 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41921 as_fn_exit ()
41922 {
41923 set +e
41924 as_fn_set_status $1
41925 exit $1
41926 } # as_fn_exit
41927
41928 # as_fn_unset VAR
41929 # ---------------
41930 # Portably unset VAR.
41931 as_fn_unset ()
41932 {
41933 { eval $1=; unset $1;}
41934 }
41935 as_unset=as_fn_unset
41936 # as_fn_append VAR VALUE
41937 # ----------------------
41938 # Append the text in VALUE to the end of the definition contained in VAR. Take
41939 # advantage of any shell optimizations that allow amortized linear growth over
41940 # repeated appends, instead of the typical quadratic growth present in naive
41941 # implementations.
41942 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
41943 eval 'as_fn_append ()
41944 {
41945 eval $1+=\$2
41946 }'
41947 else
41948 as_fn_append ()
41949 {
41950 eval $1=\$$1\$2
41951 }
41952 fi # as_fn_append
41953
41954 # as_fn_arith ARG...
41955 # ------------------
41956 # Perform arithmetic evaluation on the ARGs, and store the result in the
41957 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41958 # must be portable across $(()) and expr.
41959 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
41960 eval 'as_fn_arith ()
41961 {
41962 as_val=$(( $* ))
41963 }'
41964 else
41965 as_fn_arith ()
41966 {
41967 as_val=`expr "$@" || test $? -eq 1`
41968 }
41969 fi # as_fn_arith
41970
41971
41972 if expr a : '\(a\)' >/dev/null 2>&1 &&
41973 test "X`expr 00001 : '.*\(...\)'`" = X001; then
41974 as_expr=expr
41975 else
41976 as_expr=false
41977 fi
41978
41979 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41980 as_basename=basename
41981 else
41982 as_basename=false
41983 fi
41984
41985 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
41986 as_dirname=dirname
41987 else
41988 as_dirname=false
41989 fi
41990
41991 as_me=`$as_basename -- "$0" ||
41992 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41993 X"$0" : 'X\(//\)$' \| \
41994 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41995 $as_echo X/"$0" |
41996 sed '/^.*\/\([^/][^/]*\)\/*$/{
41997 s//\1/
41998 q
41999 }
42000 /^X\/\(\/\/\)$/{
42001 s//\1/
42002 q
42003 }
42004 /^X\/\(\/\).*/{
42005 s//\1/
42006 q
42007 }
42008 s/.*/./; q'`
42009
42010 # Avoid depending upon Character Ranges.
42011 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
42012 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42013 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
42014 as_cr_digits='0123456789'
42015 as_cr_alnum=$as_cr_Letters$as_cr_digits
42016
42017 ECHO_C= ECHO_N= ECHO_T=
42018 case `echo -n x` in #(((((
42019 -n*)
42020 case `echo 'xy\c'` in
42021 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
42022 xy) ECHO_C='\c';;
42023 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
42024 ECHO_T=' ';;
42025 esac;;
42026 *)
42027 ECHO_N='-n';;
42028 esac
42029
42030 rm -f conf$$ conf$$.exe conf$$.file
42031 if test -d conf$$.dir; then
42032 rm -f conf$$.dir/conf$$.file
42033 else
42034 rm -f conf$$.dir
42035 mkdir conf$$.dir 2>/dev/null
42036 fi
42037 if (echo >conf$$.file) 2>/dev/null; then
42038 if ln -s conf$$.file conf$$ 2>/dev/null; then
42039 as_ln_s='ln -s'
42040 # ... but there are two gotchas:
42041 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
42042 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
42043 # In both cases, we have to default to `cp -pR'.
42044 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
42045 as_ln_s='cp -pR'
42046 elif ln conf$$.file conf$$ 2>/dev/null; then
42047 as_ln_s=ln
42048 else
42049 as_ln_s='cp -pR'
42050 fi
42051 else
42052 as_ln_s='cp -pR'
42053 fi
42054 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
42055 rmdir conf$$.dir 2>/dev/null
42056
42057
42058 # as_fn_mkdir_p
42059 # -------------
42060 # Create "$as_dir" as a directory, including parents if necessary.
42061 as_fn_mkdir_p ()
42062 {
42063
42064 case $as_dir in #(
42065 -*) as_dir=./$as_dir;;
42066 esac
42067 test -d "$as_dir" || eval $as_mkdir_p || {
42068 as_dirs=
42069 while :; do
42070 case $as_dir in #(
42071 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
42072 *) as_qdir=$as_dir;;
42073 esac
42074 as_dirs="'$as_qdir' $as_dirs"
42075 as_dir=`$as_dirname -- "$as_dir" ||
42076 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42077 X"$as_dir" : 'X\(//\)[^/]' \| \
42078 X"$as_dir" : 'X\(//\)$' \| \
42079 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
42080 $as_echo X"$as_dir" |
42081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42082 s//\1/
42083 q
42084 }
42085 /^X\(\/\/\)[^/].*/{
42086 s//\1/
42087 q
42088 }
42089 /^X\(\/\/\)$/{
42090 s//\1/
42091 q
42092 }
42093 /^X\(\/\).*/{
42094 s//\1/
42095 q
42096 }
42097 s/.*/./; q'`
42098 test -d "$as_dir" && break
42099 done
42100 test -z "$as_dirs" || eval "mkdir $as_dirs"
42101 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
42102
42103
42104 } # as_fn_mkdir_p
42105 if mkdir -p . 2>/dev/null; then
42106 as_mkdir_p='mkdir -p "$as_dir"'
42107 else
42108 test -d ./-p && rmdir ./-p
42109 as_mkdir_p=false
42110 fi
42111
42112
42113 # as_fn_executable_p FILE
42114 # -----------------------
42115 # Test if FILE is an executable regular file.
42116 as_fn_executable_p ()
42117 {
42118 test -f "$1" && test -x "$1"
42119 } # as_fn_executable_p
42120 as_test_x='test -x'
42121 as_executable_p=as_fn_executable_p
42122
42123 # Sed expression to map a string onto a valid CPP name.
42124 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42125
42126 # Sed expression to map a string onto a valid variable name.
42127 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42128
42129
42130 exec 6>&1
42131 ## ----------------------------------- ##
42132 ## Main body of $CONFIG_STATUS script. ##
42133 ## ----------------------------------- ##
42134 _ASEOF
42135 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
42136
42137 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42138 # Save the log message, to keep $0 and so on meaningful, and to
42139 # report actual input values of CONFIG_FILES etc. instead of their
42140 # values after options handling.
42141 ac_log="
42142 This file was extended by wxWidgets $as_me 3.0.0, which was
42143 generated by GNU Autoconf 2.69. Invocation command line was
42144
42145 CONFIG_FILES = $CONFIG_FILES
42146 CONFIG_HEADERS = $CONFIG_HEADERS
42147 CONFIG_LINKS = $CONFIG_LINKS
42148 CONFIG_COMMANDS = $CONFIG_COMMANDS
42149 $ $0 $@
42150
42151 on `(hostname || uname -n) 2>/dev/null | sed 1q`
42152 "
42153
42154 _ACEOF
42155
42156 case $ac_config_files in *"
42157 "*) set x $ac_config_files; shift; ac_config_files=$*;;
42158 esac
42159
42160 case $ac_config_headers in *"
42161 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
42162 esac
42163
42164
42165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42166 # Files that config.status was made for.
42167 config_files="$ac_config_files"
42168 config_headers="$ac_config_headers"
42169 config_commands="$ac_config_commands"
42170
42171 _ACEOF
42172
42173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42174 ac_cs_usage="\
42175 \`$as_me' instantiates files and other configuration actions
42176 from templates according to the current configuration. Unless the files
42177 and actions are specified as TAGs, all are instantiated by default.
42178
42179 Usage: $0 [OPTION]... [TAG]...
42180
42181 -h, --help print this help, then exit
42182 -V, --version print version number and configuration settings, then exit
42183 --config print configuration, then exit
42184 -q, --quiet, --silent
42185 do not print progress messages
42186 -d, --debug don't remove temporary files
42187 --recheck update $as_me by reconfiguring in the same conditions
42188 --file=FILE[:TEMPLATE]
42189 instantiate the configuration file FILE
42190 --header=FILE[:TEMPLATE]
42191 instantiate the configuration header FILE
42192
42193 Configuration files:
42194 $config_files
42195
42196 Configuration headers:
42197 $config_headers
42198
42199 Configuration commands:
42200 $config_commands
42201
42202 Report bugs to <wx-dev@lists.wxwidgets.org>."
42203
42204 _ACEOF
42205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42206 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
42207 ac_cs_version="\\
42208 wxWidgets config.status 3.0.0
42209 configured by $0, generated by GNU Autoconf 2.69,
42210 with options \\"\$ac_cs_config\\"
42211
42212 Copyright (C) 2012 Free Software Foundation, Inc.
42213 This config.status script is free software; the Free Software Foundation
42214 gives unlimited permission to copy, distribute and modify it."
42215
42216 ac_pwd='$ac_pwd'
42217 srcdir='$srcdir'
42218 INSTALL='$INSTALL'
42219 test -n "\$AWK" || AWK=awk
42220 _ACEOF
42221
42222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42223 # The default lists apply if the user does not specify any file.
42224 ac_need_defaults=:
42225 while test $# != 0
42226 do
42227 case $1 in
42228 --*=?*)
42229 ac_option=`expr "X$1" : 'X\([^=]*\)='`
42230 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
42231 ac_shift=:
42232 ;;
42233 --*=)
42234 ac_option=`expr "X$1" : 'X\([^=]*\)='`
42235 ac_optarg=
42236 ac_shift=:
42237 ;;
42238 *)
42239 ac_option=$1
42240 ac_optarg=$2
42241 ac_shift=shift
42242 ;;
42243 esac
42244
42245 case $ac_option in
42246 # Handling of the options.
42247 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42248 ac_cs_recheck=: ;;
42249 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42250 $as_echo "$ac_cs_version"; exit ;;
42251 --config | --confi | --conf | --con | --co | --c )
42252 $as_echo "$ac_cs_config"; exit ;;
42253 --debug | --debu | --deb | --de | --d | -d )
42254 debug=: ;;
42255 --file | --fil | --fi | --f )
42256 $ac_shift
42257 case $ac_optarg in
42258 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42259 '') as_fn_error $? "missing file argument" ;;
42260 esac
42261 as_fn_append CONFIG_FILES " '$ac_optarg'"
42262 ac_need_defaults=false;;
42263 --header | --heade | --head | --hea )
42264 $ac_shift
42265 case $ac_optarg in
42266 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42267 esac
42268 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
42269 ac_need_defaults=false;;
42270 --he | --h)
42271 # Conflict between --help and --header
42272 as_fn_error $? "ambiguous option: \`$1'
42273 Try \`$0 --help' for more information.";;
42274 --help | --hel | -h )
42275 $as_echo "$ac_cs_usage"; exit ;;
42276 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42277 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42278 ac_cs_silent=: ;;
42279
42280 # This is an error.
42281 -*) as_fn_error $? "unrecognized option: \`$1'
42282 Try \`$0 --help' for more information." ;;
42283
42284 *) as_fn_append ac_config_targets " $1"
42285 ac_need_defaults=false ;;
42286
42287 esac
42288 shift
42289 done
42290
42291 ac_configure_extra_args=
42292
42293 if $ac_cs_silent; then
42294 exec 6>/dev/null
42295 ac_configure_extra_args="$ac_configure_extra_args --silent"
42296 fi
42297
42298 _ACEOF
42299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42300 if \$ac_cs_recheck; then
42301 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42302 shift
42303 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42304 CONFIG_SHELL='$SHELL'
42305 export CONFIG_SHELL
42306 exec "\$@"
42307 fi
42308
42309 _ACEOF
42310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42311 exec 5>>config.log
42312 {
42313 echo
42314 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42315 ## Running $as_me. ##
42316 _ASBOX
42317 $as_echo "$ac_log"
42318 } >&5
42319
42320 _ACEOF
42321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42322 #
42323 # INIT-COMMANDS
42324 #
42325
42326 CPP="$CPP"
42327 infile="$srcdir/include/wx/msw/genrcdefs.h"
42328 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42329
42330
42331 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42332 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42333 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42334 LN_S="${LN_S}"
42335
42336
42337 _ACEOF
42338
42339 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42340
42341 # Handling of arguments.
42342 for ac_config_target in $ac_config_targets
42343 do
42344 case $ac_config_target in
42345 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42346 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
42347 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42348 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42349 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42350 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
42351 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42352 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
42353 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
42354
42355 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42356 esac
42357 done
42358
42359
42360 # If the user did not use the arguments to specify the items to instantiate,
42361 # then the envvar interface is used. Set only those that are not.
42362 # We use the long form for the default assignment because of an extremely
42363 # bizarre bug on SunOS 4.1.3.
42364 if $ac_need_defaults; then
42365 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42366 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42367 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42368 fi
42369
42370 # Have a temporary directory for convenience. Make it in the build tree
42371 # simply because there is no reason against having it here, and in addition,
42372 # creating and moving files from /tmp can sometimes cause problems.
42373 # Hook for its removal unless debugging.
42374 # Note that there is a small window in which the directory will not be cleaned:
42375 # after its creation but before its name has been assigned to `$tmp'.
42376 $debug ||
42377 {
42378 tmp= ac_tmp=
42379 trap 'exit_status=$?
42380 : "${ac_tmp:=$tmp}"
42381 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42382 ' 0
42383 trap 'as_fn_exit 1' 1 2 13 15
42384 }
42385 # Create a (secure) tmp directory for tmp files.
42386
42387 {
42388 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42389 test -d "$tmp"
42390 } ||
42391 {
42392 tmp=./conf$$-$RANDOM
42393 (umask 077 && mkdir "$tmp")
42394 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
42395 ac_tmp=$tmp
42396
42397 # Set up the scripts for CONFIG_FILES section.
42398 # No need to generate them if there are no CONFIG_FILES.
42399 # This happens for instance with `./config.status config.h'.
42400 if test -n "$CONFIG_FILES"; then
42401
42402
42403 ac_cr=`echo X | tr X '\015'`
42404 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42405 # But we know of no other shell where ac_cr would be empty at this
42406 # point, so we can use a bashism as a fallback.
42407 if test "x$ac_cr" = x; then
42408 eval ac_cr=\$\'\\r\'
42409 fi
42410 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42411 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42412 ac_cs_awk_cr='\\r'
42413 else
42414 ac_cs_awk_cr=$ac_cr
42415 fi
42416
42417 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42418 _ACEOF
42419
42420
42421 {
42422 echo "cat >conf$$subs.awk <<_ACEOF" &&
42423 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42424 echo "_ACEOF"
42425 } >conf$$subs.sh ||
42426 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42427 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42428 ac_delim='%!_!# '
42429 for ac_last_try in false false false false false :; do
42430 . ./conf$$subs.sh ||
42431 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42432
42433 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
42434 if test $ac_delim_n = $ac_delim_num; then
42435 break
42436 elif $ac_last_try; then
42437 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42438 else
42439 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42440 fi
42441 done
42442 rm -f conf$$subs.sh
42443
42444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42445 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
42446 _ACEOF
42447 sed -n '
42448 h
42449 s/^/S["/; s/!.*/"]=/
42450 p
42451 g
42452 s/^[^!]*!//
42453 :repl
42454 t repl
42455 s/'"$ac_delim"'$//
42456 t delim
42457 :nl
42458 h
42459 s/\(.\{148\}\)..*/\1/
42460 t more1
42461 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
42462 p
42463 n
42464 b repl
42465 :more1
42466 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42467 p
42468 g
42469 s/.\{148\}//
42470 t nl
42471 :delim
42472 h
42473 s/\(.\{148\}\)..*/\1/
42474 t more2
42475 s/["\\]/\\&/g; s/^/"/; s/$/"/
42476 p
42477 b
42478 :more2
42479 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42480 p
42481 g
42482 s/.\{148\}//
42483 t delim
42484 ' <conf$$subs.awk | sed '
42485 /^[^""]/{
42486 N
42487 s/\n//
42488 }
42489 ' >>$CONFIG_STATUS || ac_write_fail=1
42490 rm -f conf$$subs.awk
42491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42492 _ACAWK
42493 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
42494 for (key in S) S_is_set[key] = 1
42495 FS = "\a"
42496
42497 }
42498 {
42499 line = $ 0
42500 nfields = split(line, field, "@")
42501 substed = 0
42502 len = length(field[1])
42503 for (i = 2; i < nfields; i++) {
42504 key = field[i]
42505 keylen = length(key)
42506 if (S_is_set[key]) {
42507 value = S[key]
42508 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42509 len += length(value) + length(field[++i])
42510 substed = 1
42511 } else
42512 len += 1 + keylen
42513 }
42514
42515 print line
42516 }
42517
42518 _ACAWK
42519 _ACEOF
42520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42521 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42522 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
42523 else
42524 cat
42525 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
42526 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
42527 _ACEOF
42528
42529 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42530 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
42531 # trailing colons and then remove the whole line if VPATH becomes empty
42532 # (actually we leave an empty line to preserve line numbers).
42533 if test "x$srcdir" = x.; then
42534 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
42535 h
42536 s///
42537 s/^/:/
42538 s/[ ]*$/:/
42539 s/:\$(srcdir):/:/g
42540 s/:\${srcdir}:/:/g
42541 s/:@srcdir@:/:/g
42542 s/^:*//
42543 s/:*$//
42544 x
42545 s/\(=[ ]*\).*/\1/
42546 G
42547 s/\n//
42548 s/^[^=]*=[ ]*$//
42549 }'
42550 fi
42551
42552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42553 fi # test -n "$CONFIG_FILES"
42554
42555 # Set up the scripts for CONFIG_HEADERS section.
42556 # No need to generate them if there are no CONFIG_HEADERS.
42557 # This happens for instance with `./config.status Makefile'.
42558 if test -n "$CONFIG_HEADERS"; then
42559 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
42560 BEGIN {
42561 _ACEOF
42562
42563 # Transform confdefs.h into an awk script `defines.awk', embedded as
42564 # here-document in config.status, that substitutes the proper values into
42565 # config.h.in to produce config.h.
42566
42567 # Create a delimiter string that does not exist in confdefs.h, to ease
42568 # handling of long lines.
42569 ac_delim='%!_!# '
42570 for ac_last_try in false false :; do
42571 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
42572 if test -z "$ac_tt"; then
42573 break
42574 elif $ac_last_try; then
42575 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
42576 else
42577 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42578 fi
42579 done
42580
42581 # For the awk script, D is an array of macro values keyed by name,
42582 # likewise P contains macro parameters if any. Preserve backslash
42583 # newline sequences.
42584
42585 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42586 sed -n '
42587 s/.\{148\}/&'"$ac_delim"'/g
42588 t rset
42589 :rset
42590 s/^[ ]*#[ ]*define[ ][ ]*/ /
42591 t def
42592 d
42593 :def
42594 s/\\$//
42595 t bsnl
42596 s/["\\]/\\&/g
42597 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42598 D["\1"]=" \3"/p
42599 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
42600 d
42601 :bsnl
42602 s/["\\]/\\&/g
42603 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42604 D["\1"]=" \3\\\\\\n"\\/p
42605 t cont
42606 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
42607 t cont
42608 d
42609 :cont
42610 n
42611 s/.\{148\}/&'"$ac_delim"'/g
42612 t clear
42613 :clear
42614 s/\\$//
42615 t bsnlc
42616 s/["\\]/\\&/g; s/^/"/; s/$/"/p
42617 d
42618 :bsnlc
42619 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
42620 b cont
42621 ' <confdefs.h | sed '
42622 s/'"$ac_delim"'/"\\\
42623 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42624
42625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42626 for (key in D) D_is_set[key] = 1
42627 FS = "\a"
42628 }
42629 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42630 line = \$ 0
42631 split(line, arg, " ")
42632 if (arg[1] == "#") {
42633 defundef = arg[2]
42634 mac1 = arg[3]
42635 } else {
42636 defundef = substr(arg[1], 2)
42637 mac1 = arg[2]
42638 }
42639 split(mac1, mac2, "(") #)
42640 macro = mac2[1]
42641 prefix = substr(line, 1, index(line, defundef) - 1)
42642 if (D_is_set[macro]) {
42643 # Preserve the white space surrounding the "#".
42644 print prefix "define", macro P[macro] D[macro]
42645 next
42646 } else {
42647 # Replace #undef with comments. This is necessary, for example,
42648 # in the case of _POSIX_SOURCE, which is predefined and required
42649 # on some systems where configure will not decide to define it.
42650 if (defundef == "undef") {
42651 print "/*", prefix defundef, macro, "*/"
42652 next
42653 }
42654 }
42655 }
42656 { print }
42657 _ACAWK
42658 _ACEOF
42659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42660 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
42661 fi # test -n "$CONFIG_HEADERS"
42662
42663
42664 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42665 shift
42666 for ac_tag
42667 do
42668 case $ac_tag in
42669 :[FHLC]) ac_mode=$ac_tag; continue;;
42670 esac
42671 case $ac_mode$ac_tag in
42672 :[FHL]*:*);;
42673 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
42674 :[FH]-) ac_tag=-:-;;
42675 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
42676 esac
42677 ac_save_IFS=$IFS
42678 IFS=:
42679 set x $ac_tag
42680 IFS=$ac_save_IFS
42681 shift
42682 ac_file=$1
42683 shift
42684
42685 case $ac_mode in
42686 :L) ac_source=$1;;
42687 :[FH])
42688 ac_file_inputs=
42689 for ac_f
42690 do
42691 case $ac_f in
42692 -) ac_f="$ac_tmp/stdin";;
42693 *) # Look for the file first in the build tree, then in the source tree
42694 # (if the path is not absolute). The absolute path cannot be DOS-style,
42695 # because $ac_f cannot contain `:'.
42696 test -f "$ac_f" ||
42697 case $ac_f in
42698 [\\/$]*) false;;
42699 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
42700 esac ||
42701 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42702 esac
42703 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42704 as_fn_append ac_file_inputs " '$ac_f'"
42705 done
42706
42707 # Let's still pretend it is `configure' which instantiates (i.e., don't
42708 # use $as_me), people would be surprised to read:
42709 # /* config.h. Generated by config.status. */
42710 configure_input='Generated from '`
42711 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42712 `' by configure.'
42713 if test x"$ac_file" != x-; then
42714 configure_input="$ac_file. $configure_input"
42715 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42716 $as_echo "$as_me: creating $ac_file" >&6;}
42717 fi
42718 # Neutralize special characters interpreted by sed in replacement strings.
42719 case $configure_input in #(
42720 *\&* | *\|* | *\\* )
42721 ac_sed_conf_input=`$as_echo "$configure_input" |
42722 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42723 *) ac_sed_conf_input=$configure_input;;
42724 esac
42725
42726 case $ac_tag in
42727 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42728 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
42729 esac
42730 ;;
42731 esac
42732
42733 ac_dir=`$as_dirname -- "$ac_file" ||
42734 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42735 X"$ac_file" : 'X\(//\)[^/]' \| \
42736 X"$ac_file" : 'X\(//\)$' \| \
42737 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42738 $as_echo X"$ac_file" |
42739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42740 s//\1/
42741 q
42742 }
42743 /^X\(\/\/\)[^/].*/{
42744 s//\1/
42745 q
42746 }
42747 /^X\(\/\/\)$/{
42748 s//\1/
42749 q
42750 }
42751 /^X\(\/\).*/{
42752 s//\1/
42753 q
42754 }
42755 s/.*/./; q'`
42756 as_dir="$ac_dir"; as_fn_mkdir_p
42757 ac_builddir=.
42758
42759 case "$ac_dir" in
42760 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42761 *)
42762 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42763 # A ".." for each directory in $ac_dir_suffix.
42764 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42765 case $ac_top_builddir_sub in
42766 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42767 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42768 esac ;;
42769 esac
42770 ac_abs_top_builddir=$ac_pwd
42771 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42772 # for backward compatibility:
42773 ac_top_builddir=$ac_top_build_prefix
42774
42775 case $srcdir in
42776 .) # We are building in place.
42777 ac_srcdir=.
42778 ac_top_srcdir=$ac_top_builddir_sub
42779 ac_abs_top_srcdir=$ac_pwd ;;
42780 [\\/]* | ?:[\\/]* ) # Absolute name.
42781 ac_srcdir=$srcdir$ac_dir_suffix;
42782 ac_top_srcdir=$srcdir
42783 ac_abs_top_srcdir=$srcdir ;;
42784 *) # Relative name.
42785 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42786 ac_top_srcdir=$ac_top_build_prefix$srcdir
42787 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42788 esac
42789 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42790
42791
42792 case $ac_mode in
42793 :F)
42794 #
42795 # CONFIG_FILE
42796 #
42797
42798 case $INSTALL in
42799 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42800 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
42801 esac
42802 _ACEOF
42803
42804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42805 # If the template does not know about datarootdir, expand it.
42806 # FIXME: This hack should be removed a few years after 2.60.
42807 ac_datarootdir_hack=; ac_datarootdir_seen=
42808 ac_sed_dataroot='
42809 /datarootdir/ {
42810 p
42811 q
42812 }
42813 /@datadir@/p
42814 /@docdir@/p
42815 /@infodir@/p
42816 /@localedir@/p
42817 /@mandir@/p'
42818 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42819 *datarootdir*) ac_datarootdir_seen=yes;;
42820 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
42821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42822 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42823 _ACEOF
42824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42825 ac_datarootdir_hack='
42826 s&@datadir@&$datadir&g
42827 s&@docdir@&$docdir&g
42828 s&@infodir@&$infodir&g
42829 s&@localedir@&$localedir&g
42830 s&@mandir@&$mandir&g
42831 s&\\\${datarootdir}&$datarootdir&g' ;;
42832 esac
42833 _ACEOF
42834
42835 # Neutralize VPATH when `$srcdir' = `.'.
42836 # Shell code in configure.ac might set extrasub.
42837 # FIXME: do we really want to maintain this feature?
42838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42839 ac_sed_extra="$ac_vpsub
42840 $extrasub
42841 _ACEOF
42842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42843 :t
42844 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42845 s|@configure_input@|$ac_sed_conf_input|;t t
42846 s&@top_builddir@&$ac_top_builddir_sub&;t t
42847 s&@top_build_prefix@&$ac_top_build_prefix&;t t
42848 s&@srcdir@&$ac_srcdir&;t t
42849 s&@abs_srcdir@&$ac_abs_srcdir&;t t
42850 s&@top_srcdir@&$ac_top_srcdir&;t t
42851 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42852 s&@builddir@&$ac_builddir&;t t
42853 s&@abs_builddir@&$ac_abs_builddir&;t t
42854 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42855 s&@INSTALL@&$ac_INSTALL&;t t
42856 $ac_datarootdir_hack
42857 "
42858 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
42859 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42860
42861 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42862 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
42863 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
42864 "$ac_tmp/out"`; test -z "$ac_out"; } &&
42865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42866 which seems to be undefined. Please make sure it is defined" >&5
42867 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42868 which seems to be undefined. Please make sure it is defined" >&2;}
42869
42870 rm -f "$ac_tmp/stdin"
42871 case $ac_file in
42872 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42873 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42874 esac \
42875 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42876 ;;
42877 :H)
42878 #
42879 # CONFIG_HEADER
42880 #
42881 if test x"$ac_file" != x-; then
42882 {
42883 $as_echo "/* $configure_input */" \
42884 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42885 } >"$ac_tmp/config.h" \
42886 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42887 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42888 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42889 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42890 else
42891 rm -f "$ac_file"
42892 mv "$ac_tmp/config.h" "$ac_file" \
42893 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42894 fi
42895 else
42896 $as_echo "/* $configure_input */" \
42897 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42898 || as_fn_error $? "could not create -" "$LINENO" 5
42899 fi
42900 ;;
42901
42902 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42903 $as_echo "$as_me: executing $ac_file commands" >&6;}
42904 ;;
42905 esac
42906
42907
42908 case $ac_file$ac_mode in
42909 "rcdefs.h":C)
42910 mkdir -p $outdir &&
42911 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42912 ;;
42913 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42914 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42915 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
42916 "wx-config":C) rm -f wx-config
42917 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42918 ;;
42919
42920 esac
42921 done # for ac_tag
42922
42923
42924 as_fn_exit 0
42925 _ACEOF
42926 ac_clean_files=$ac_clean_files_save
42927
42928 test $ac_write_fail = 0 ||
42929 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
42930
42931
42932 # configure is writing to config.log, and then calls config.status.
42933 # config.status does its own redirection, appending to config.log.
42934 # Unfortunately, on DOS this fails, as config.log is still kept open
42935 # by configure, so config.status won't be able to write to it; its
42936 # output is simply discarded. So we exec the FD to /dev/null,
42937 # effectively closing config.log, so it can be properly (re)opened and
42938 # appended to by config.status. When coming back to configure, we
42939 # need to make the FD available again.
42940 if test "$no_create" != yes; then
42941 ac_cs_success=:
42942 ac_config_status_args=
42943 test "$silent" = yes &&
42944 ac_config_status_args="$ac_config_status_args --quiet"
42945 exec 5>/dev/null
42946 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42947 exec 5>>config.log
42948 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42949 # would make configure fail if this is the last instruction.
42950 $ac_cs_success || as_fn_exit 1
42951 fi
42952
42953 #
42954 # CONFIG_SUBDIRS section.
42955 #
42956 if test "$no_recursion" != yes; then
42957
42958 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42959 # so they do not pile up.
42960 ac_sub_configure_args=
42961 ac_prev=
42962 eval "set x $ac_configure_args"
42963 shift
42964 for ac_arg
42965 do
42966 if test -n "$ac_prev"; then
42967 ac_prev=
42968 continue
42969 fi
42970 case $ac_arg in
42971 -cache-file | --cache-file | --cache-fil | --cache-fi \
42972 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42973 ac_prev=cache_file ;;
42974 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42975 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42976 | --c=*)
42977 ;;
42978 --config-cache | -C)
42979 ;;
42980 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42981 ac_prev=srcdir ;;
42982 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42983 ;;
42984 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42985 ac_prev=prefix ;;
42986 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42987 ;;
42988 --disable-option-checking)
42989 ;;
42990 *)
42991 case $ac_arg in
42992 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42993 esac
42994 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
42995 esac
42996 done
42997
42998 # Always prepend --prefix to ensure using the same prefix
42999 # in subdir configurations.
43000 ac_arg="--prefix=$prefix"
43001 case $ac_arg in
43002 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
43003 esac
43004 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
43005
43006 # Pass --silent
43007 if test "$silent" = yes; then
43008 ac_sub_configure_args="--silent $ac_sub_configure_args"
43009 fi
43010
43011 # Always prepend --disable-option-checking to silence warnings, since
43012 # different subdirs can have different --enable and --with options.
43013 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
43014
43015 ac_popdir=`pwd`
43016 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
43017
43018 # Do not complain, so a configure script can configure whichever
43019 # parts of a large source tree are present.
43020 test -d "$srcdir/$ac_dir" || continue
43021
43022 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
43023 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
43024 $as_echo "$ac_msg" >&6
43025 as_dir="$ac_dir"; as_fn_mkdir_p
43026 ac_builddir=.
43027
43028 case "$ac_dir" in
43029 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
43030 *)
43031 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
43032 # A ".." for each directory in $ac_dir_suffix.
43033 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
43034 case $ac_top_builddir_sub in
43035 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
43036 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
43037 esac ;;
43038 esac
43039 ac_abs_top_builddir=$ac_pwd
43040 ac_abs_builddir=$ac_pwd$ac_dir_suffix
43041 # for backward compatibility:
43042 ac_top_builddir=$ac_top_build_prefix
43043
43044 case $srcdir in
43045 .) # We are building in place.
43046 ac_srcdir=.
43047 ac_top_srcdir=$ac_top_builddir_sub
43048 ac_abs_top_srcdir=$ac_pwd ;;
43049 [\\/]* | ?:[\\/]* ) # Absolute name.
43050 ac_srcdir=$srcdir$ac_dir_suffix;
43051 ac_top_srcdir=$srcdir
43052 ac_abs_top_srcdir=$srcdir ;;
43053 *) # Relative name.
43054 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
43055 ac_top_srcdir=$ac_top_build_prefix$srcdir
43056 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
43057 esac
43058 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
43059
43060
43061 cd "$ac_dir"
43062
43063 # Check for guested configure; otherwise get Cygnus style configure.
43064 if test -f "$ac_srcdir/configure.gnu"; then
43065 ac_sub_configure=$ac_srcdir/configure.gnu
43066 elif test -f "$ac_srcdir/configure"; then
43067 ac_sub_configure=$ac_srcdir/configure
43068 elif test -f "$ac_srcdir/configure.in"; then
43069 # This should be Cygnus configure.
43070 ac_sub_configure=$ac_aux_dir/configure
43071 else
43072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
43073 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43074 ac_sub_configure=
43075 fi
43076
43077 # The recursion is here.
43078 if test -n "$ac_sub_configure"; then
43079 # Make the cache file name correct relative to the subdirectory.
43080 case $cache_file in
43081 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
43082 *) # Relative name.
43083 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
43084 esac
43085
43086 { $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
43087 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43088 # The eval makes quoting arguments work.
43089 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
43090 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
43091 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
43092 fi
43093
43094 cd "$ac_popdir"
43095 done
43096 fi
43097 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
43098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
43099 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
43100 fi
43101
43102
43103 echo
43104 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43105 echo ""
43106 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
43107 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43108 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43109 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
43110 if test "$wxUSE_UNICODE" = "yes"; then
43111 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
43112 echo " (using UTF-8)"
43113 else
43114 echo " (using wchar_t)"
43115 fi
43116 else
43117 echo
43118 fi
43119
43120 echo " What level of wxWidgets compatibility should be enabled?"
43121 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
43122 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
43123
43124 echo " Which libraries should wxWidgets use?"
43125 echo " STL ${wxUSE_STL}"
43126 echo " jpeg ${wxUSE_LIBJPEG-none}"
43127 echo " png ${wxUSE_LIBPNG-none}"
43128 echo " regex ${wxUSE_REGEX}"
43129 echo " tiff ${wxUSE_LIBTIFF-none}"
43130 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43131 echo " xpm ${wxUSE_LIBXPM-none}"
43132 fi
43133 echo " zlib ${wxUSE_ZLIB}"
43134 echo " expat ${wxUSE_EXPAT}"
43135 echo " libmspack ${wxUSE_LIBMSPACK}"
43136 echo " sdl ${wxUSE_LIBSDL}"
43137
43138 echo ""
43139