]> git.saurik.com Git - wxWidgets.git/blob - configure
Fixed UI customization helper
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for wxWidgets 2.9.5.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 #
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21 emulate sh
22 NULLCMD=:
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
26 setopt NO_GLOB_SUBST
27 else
28 case `(set -o) 2>/dev/null` in #(
29 *posix*) :
30 set -o posix ;; #(
31 *) :
32 ;;
33 esac
34 fi
35
36
37 as_nl='
38 '
39 export as_nl
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='print -r --'
49 as_echo_n='print -rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo='printf %s\n'
52 as_echo_n='printf %s'
53 else
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56 as_echo_n='/usr/ucb/echo -n'
57 else
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59 as_echo_n_body='eval
60 arg=$1;
61 case $arg in #(
62 *"$as_nl"*)
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 esac;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 '
68 export as_echo_n_body
69 as_echo_n='sh -c $as_echo_n_body as_echo'
70 fi
71 export as_echo_body
72 as_echo='sh -c $as_echo_body as_echo'
73 fi
74
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
77 PATH_SEPARATOR=:
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80 PATH_SEPARATOR=';'
81 }
82 fi
83
84
85 # IFS
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
90 IFS=" "" $as_nl"
91
92 # Find who we are. Look in the path if we contain no directory separator.
93 as_myself=
94 case $0 in #((
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99 IFS=$as_save_IFS
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 done
103 IFS=$as_save_IFS
104
105 ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110 as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 exit 1
115 fi
116
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 # Use a proper internal environment variable to ensure we don't fall
139 # into an infinite loop, continuously re-executing ourselves.
140 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 _as_can_reexec=no; export _as_can_reexec;
142 # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
146 BASH_ENV=/dev/null
147 ENV=/dev/null
148 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 case $- in # ((((
150 *v*x* | *x*v* ) as_opts=-vx ;;
151 *v* ) as_opts=-v ;;
152 *x* ) as_opts=-x ;;
153 * ) as_opts= ;;
154 esac
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 as_fn_exit 255
160 fi
161 # We don't want this to propagate to other subprocesses.
162 { _as_can_reexec=; unset _as_can_reexec;}
163 if test "x$CONFIG_SHELL" = x; then
164 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165 emulate sh
166 NULLCMD=:
167 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168 # is contrary to our usage. Disable this feature.
169 alias -g '\${1+\"\$@\"}'='\"\$@\"'
170 setopt NO_GLOB_SUBST
171 else
172 case \`(set -o) 2>/dev/null\` in #(
173 *posix*) :
174 set -o posix ;; #(
175 *) :
176 ;;
177 esac
178 fi
179 "
180 as_required="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
185
186 exitcode=0
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192
193 else
194 exitcode=1; echo positional parameters were not saved.
195 fi
196 test x\$exitcode = x0 || exit 1
197 test -x / || exit 1"
198 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test \$(( 1 + 1 )) = 2 || exit 1"
203 if (eval "$as_required") 2>/dev/null; then :
204 as_have_required=yes
205 else
206 as_have_required=no
207 fi
208 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209
210 else
211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 as_found=false
213 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 do
215 IFS=$as_save_IFS
216 test -z "$as_dir" && as_dir=.
217 as_found=:
218 case $as_dir in #(
219 /*)
220 for as_base in sh bash ksh sh5; do
221 # Try only shells that exist, to save several forks.
222 as_shell=$as_dir/$as_base
223 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
224 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
225 CONFIG_SHELL=$as_shell as_have_required=yes
226 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
227 break 2
228 fi
229 fi
230 done;;
231 esac
232 as_found=false
233 done
234 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
235 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
236 CONFIG_SHELL=$SHELL as_have_required=yes
237 fi; }
238 IFS=$as_save_IFS
239
240
241 if test "x$CONFIG_SHELL" != x; then :
242 export CONFIG_SHELL
243 # We cannot yet assume a decent shell, so we have to provide a
244 # neutralization value for shells without unset; and this also
245 # works around shells that cannot unset nonexistent variables.
246 # Preserve -v and -x to the replacement shell.
247 BASH_ENV=/dev/null
248 ENV=/dev/null
249 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 case $- in # ((((
251 *v*x* | *x*v* ) as_opts=-vx ;;
252 *v* ) as_opts=-v ;;
253 *x* ) as_opts=-x ;;
254 * ) as_opts= ;;
255 esac
256 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
257 # Admittedly, this is quite paranoid, since all the known shells bail
258 # out after a failed `exec'.
259 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 exit 255
261 fi
262
263 if test x$as_have_required = xno; then :
264 $as_echo "$0: This script requires a shell more modern than all"
265 $as_echo "$0: the shells that I found on your system."
266 if test x${ZSH_VERSION+set} = xset ; then
267 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 $as_echo "$0: Please tell bug-autoconf@gnu.org and
271 $0: wx-dev@lists.wxwidgets.org about your system, including
272 $0: any error possibly output before this message. Then
273 $0: install a modern shell, or manually run the script
274 $0: under such a shell if you do have one."
275 fi
276 exit 1
277 fi
278 fi
279 fi
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
285
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
293 {
294 { eval $1=; unset $1;}
295 }
296 as_unset=as_fn_unset
297
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
301 as_fn_set_status ()
302 {
303 return $1
304 } # as_fn_set_status
305
306 # as_fn_exit STATUS
307 # -----------------
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
309 as_fn_exit ()
310 {
311 set +e
312 as_fn_set_status $1
313 exit $1
314 } # as_fn_exit
315
316 # as_fn_mkdir_p
317 # -------------
318 # Create "$as_dir" as a directory, including parents if necessary.
319 as_fn_mkdir_p ()
320 {
321
322 case $as_dir in #(
323 -*) as_dir=./$as_dir;;
324 esac
325 test -d "$as_dir" || eval $as_mkdir_p || {
326 as_dirs=
327 while :; do
328 case $as_dir in #(
329 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330 *) as_qdir=$as_dir;;
331 esac
332 as_dirs="'$as_qdir' $as_dirs"
333 as_dir=`$as_dirname -- "$as_dir" ||
334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
335 X"$as_dir" : 'X\(//\)[^/]' \| \
336 X"$as_dir" : 'X\(//\)$' \| \
337 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338 $as_echo X"$as_dir" |
339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
340 s//\1/
341 q
342 }
343 /^X\(\/\/\)[^/].*/{
344 s//\1/
345 q
346 }
347 /^X\(\/\/\)$/{
348 s//\1/
349 q
350 }
351 /^X\(\/\).*/{
352 s//\1/
353 q
354 }
355 s/.*/./; q'`
356 test -d "$as_dir" && break
357 done
358 test -z "$as_dirs" || eval "mkdir $as_dirs"
359 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360
361
362 } # as_fn_mkdir_p
363
364 # as_fn_executable_p FILE
365 # -----------------------
366 # Test if FILE is an executable regular file.
367 as_fn_executable_p ()
368 {
369 test -f "$1" && test -x "$1"
370 } # as_fn_executable_p
371 # as_fn_append VAR VALUE
372 # ----------------------
373 # Append the text in VALUE to the end of the definition contained in VAR. Take
374 # advantage of any shell optimizations that allow amortized linear growth over
375 # repeated appends, instead of the typical quadratic growth present in naive
376 # implementations.
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
378 eval 'as_fn_append ()
379 {
380 eval $1+=\$2
381 }'
382 else
383 as_fn_append ()
384 {
385 eval $1=\$$1\$2
386 }
387 fi # as_fn_append
388
389 # as_fn_arith ARG...
390 # ------------------
391 # Perform arithmetic evaluation on the ARGs, and store the result in the
392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
393 # must be portable across $(()) and expr.
394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
395 eval 'as_fn_arith ()
396 {
397 as_val=$(( $* ))
398 }'
399 else
400 as_fn_arith ()
401 {
402 as_val=`expr "$@" || test $? -eq 1`
403 }
404 fi # as_fn_arith
405
406
407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
408 # ----------------------------------------
409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411 # script with STATUS, using 1 if that was 0.
412 as_fn_error ()
413 {
414 as_status=$1; test $as_status -eq 0 && as_status=1
415 if test "$4"; then
416 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 fi
419 $as_echo "$as_me: error: $2" >&2
420 as_fn_exit $as_status
421 } # as_fn_error
422
423 if expr a : '\(a\)' >/dev/null 2>&1 &&
424 test "X`expr 00001 : '.*\(...\)'`" = X001; then
425 as_expr=expr
426 else
427 as_expr=false
428 fi
429
430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431 as_basename=basename
432 else
433 as_basename=false
434 fi
435
436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
437 as_dirname=dirname
438 else
439 as_dirname=false
440 fi
441
442 as_me=`$as_basename -- "$0" ||
443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444 X"$0" : 'X\(//\)$' \| \
445 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 $as_echo X/"$0" |
447 sed '/^.*\/\([^/][^/]*\)\/*$/{
448 s//\1/
449 q
450 }
451 /^X\/\(\/\/\)$/{
452 s//\1/
453 q
454 }
455 /^X\/\(\/\).*/{
456 s//\1/
457 q
458 }
459 s/.*/./; q'`
460
461 # Avoid depending upon Character Ranges.
462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
465 as_cr_digits='0123456789'
466 as_cr_alnum=$as_cr_Letters$as_cr_digits
467
468
469 as_lineno_1=$LINENO as_lineno_1a=$LINENO
470 as_lineno_2=$LINENO as_lineno_2a=$LINENO
471 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
472 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
473 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
474 sed -n '
475 p
476 /[$]LINENO/=
477 ' <$as_myself |
478 sed '
479 s/[$]LINENO.*/&-/
480 t lineno
481 b
482 :lineno
483 N
484 :loop
485 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
486 t loop
487 s/-\n.*//
488 ' >$as_me.lineno &&
489 chmod +x "$as_me.lineno" ||
490 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491
492 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493 # already done that, so ensure we don't try to do so again and fall
494 # in an infinite loop. This has already happened in practice.
495 _as_can_reexec=no; export _as_can_reexec
496 # Don't try to exec as it changes $[0], causing all sort of problems
497 # (the dirname of $[0] is not the place where we might find the
498 # original and so on. Autoconf is especially sensitive to this).
499 . "./$as_me.lineno"
500 # Exit status is that of the last command.
501 exit
502 }
503
504 ECHO_C= ECHO_N= ECHO_T=
505 case `echo -n x` in #(((((
506 -n*)
507 case `echo 'xy\c'` in
508 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 xy) ECHO_C='\c';;
510 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
511 ECHO_T=' ';;
512 esac;;
513 *)
514 ECHO_N='-n';;
515 esac
516
517 rm -f conf$$ conf$$.exe conf$$.file
518 if test -d conf$$.dir; then
519 rm -f conf$$.dir/conf$$.file
520 else
521 rm -f conf$$.dir
522 mkdir conf$$.dir 2>/dev/null
523 fi
524 if (echo >conf$$.file) 2>/dev/null; then
525 if ln -s conf$$.file conf$$ 2>/dev/null; then
526 as_ln_s='ln -s'
527 # ... but there are two gotchas:
528 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530 # In both cases, we have to default to `cp -pR'.
531 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532 as_ln_s='cp -pR'
533 elif ln conf$$.file conf$$ 2>/dev/null; then
534 as_ln_s=ln
535 else
536 as_ln_s='cp -pR'
537 fi
538 else
539 as_ln_s='cp -pR'
540 fi
541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
542 rmdir conf$$.dir 2>/dev/null
543
544 if mkdir -p . 2>/dev/null; then
545 as_mkdir_p='mkdir -p "$as_dir"'
546 else
547 test -d ./-p && rmdir ./-p
548 as_mkdir_p=false
549 fi
550
551 as_test_x='test -x'
552 as_executable_p=as_fn_executable_p
553
554 # Sed expression to map a string onto a valid CPP name.
555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556
557 # Sed expression to map a string onto a valid variable name.
558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559
560
561 test -n "$DJDIR" || exec 7<&0 </dev/null
562 exec 6>&1
563
564 # Name of the host.
565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
566 # so uname gets run too.
567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568
569 #
570 # Initializations.
571 #
572 ac_default_prefix=/usr/local
573 ac_clean_files=
574 ac_config_libobj_dir=.
575 LIBOBJS=
576 cross_compiling=no
577 subdirs=
578 MFLAGS=
579 MAKEFLAGS=
580
581 # Identity of this package.
582 PACKAGE_NAME='wxWidgets'
583 PACKAGE_TARNAME='wxwidgets'
584 PACKAGE_VERSION='2.9.5'
585 PACKAGE_STRING='wxWidgets 2.9.5'
586 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
587 PACKAGE_URL=''
588
589 ac_unique_file="wx-config.in"
590 # Factoring default headers for most tests.
591 ac_includes_default="\
592 #include <stdio.h>
593 #ifdef HAVE_SYS_TYPES_H
594 # include <sys/types.h>
595 #endif
596 #ifdef HAVE_SYS_STAT_H
597 # include <sys/stat.h>
598 #endif
599 #ifdef STDC_HEADERS
600 # include <stdlib.h>
601 # include <stddef.h>
602 #else
603 # ifdef HAVE_STDLIB_H
604 # include <stdlib.h>
605 # endif
606 #endif
607 #ifdef HAVE_STRING_H
608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 # include <memory.h>
610 # endif
611 # include <string.h>
612 #endif
613 #ifdef HAVE_STRINGS_H
614 # include <strings.h>
615 #endif
616 #ifdef HAVE_INTTYPES_H
617 # include <inttypes.h>
618 #endif
619 #ifdef HAVE_STDINT_H
620 # include <stdint.h>
621 #endif
622 #ifdef HAVE_UNISTD_H
623 # include <unistd.h>
624 #endif"
625
626 enable_option_checking=no
627 ac_subst_vars='LTLIBOBJS
628 LIBOBJS
629 CPPUNIT_CONFIG
630 DLLTOOL
631 GCC
632 MACSETFILE
633 POSTLINK_COMMAND
634 LIBWXMACRES
635 WX_RESOURCES_MACOSX_DATA
636 WX_RESOURCES_MACOSX_ASCII
637 RESPROGRAMOBJ
638 RESFLAGS
639 RESCOMP
640 WX_VERSION_TAG
641 DMALLOC_LIBS
642 OPENGL_LIBS
643 LDFLAGS_GL
644 SAMPLES_SUBDIRS
645 DISTDIR
646 GUIDIST
647 WXCONFIG_RESFLAGS
648 WXCONFIG_LDFLAGS_GUI
649 WXCONFIG_LDFLAGS
650 WXCONFIG_RPATH
651 WXCONFIG_LIBS
652 WXCONFIG_CXXFLAGS
653 WXCONFIG_CFLAGS
654 WXCONFIG_CPPFLAGS
655 WX_CHARTYPE
656 WX_SUBVERSION
657 WX_VERSION
658 WX_RELEASE
659 WIDGET_SET
660 cross_compiling
661 TOOLCHAIN_FULLNAME
662 TOOLCHAIN_NAME
663 TOOLKIT_DIR
664 TOOLKIT
665 WIN32INSTALL
666 AFMINSTALL
667 USE_GUI
668 WX_LIBRARY_BASENAME_GUI
669 WX_LIBRARY_BASENAME_NOGUI
670 SHARED
671 DEREZ
672 COND_wxUSE_ZLIB_builtin
673 COND_wxUSE_REGEX_builtin
674 COND_wxUSE_LIBTIFF_builtin
675 COND_wxUSE_LIBPNG_builtin
676 COND_wxUSE_LIBJPEG_builtin
677 COND_wxUSE_EXPAT_builtin
678 COND_WXUSE_ZLIB_BUILTIN
679 COND_WXUSE_REGEX_BUILTIN
680 COND_WXUSE_LIBTIFF_BUILTIN
681 COND_WXUSE_LIBPNG_BUILTIN
682 COND_WXUSE_LIBJPEG_BUILTIN
683 COND_WXUSE_EXPAT_BUILTIN
684 COND_WXUNIV_1
685 COND_WXUNIV_0
686 COND_WITH_PLUGIN_SDL_1
687 COND_WINDOWS_IMPLIB_1
688 COND_USE_XRC_1
689 COND_USE_THREADS_1
690 COND_USE_THREADS_0
691 COND_USE_STC_1
692 COND_USE_SOVERSOLARIS_1
693 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
694 COND_USE_SOVERSION_0
695 COND_USE_SOVERLINUX_1
696 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
697 COND_USE_SOTWOSYMLINKS_1
698 COND_USE_RTTI_1
699 COND_USE_RTTI_0
700 COND_USE_PLUGINS_0
701 COND_USE_PCH_1
702 COND_USE_OPENGL_1
703 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
704 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
705 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
706 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
707 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
708 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
709 COND_USE_GUI_1_WXUNIV_1
710 COND_USE_GUI_1_WXUNIV_0
711 COND_USE_GUI_1_USE_OPENGL_1
712 COND_USE_GUI_1
713 COND_USE_GUI_0
714 COND_USE_EXCEPTIONS_1
715 COND_USE_EXCEPTIONS_0
716 COND_USE_CAIRO_1
717 COND_UNICODE_1
718 COND_TOOLKIT_X11_USE_GUI_1
719 COND_TOOLKIT_X11
720 COND_TOOLKIT_WINCE_WXUNIV_0
721 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
722 COND_TOOLKIT_WINCE_USE_GUI_1
723 COND_TOOLKIT_WINCE
724 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
725 COND_TOOLKIT_PM_USE_GUI_1
726 COND_TOOLKIT_PM
727 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
728 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
729 COND_TOOLKIT_OSX_IPHONE
730 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
731 COND_TOOLKIT_OSX_COCOA
732 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
733 COND_TOOLKIT_OSX_CARBON
734 COND_TOOLKIT_MSW_WXUNIV_0
735 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
736 COND_TOOLKIT_MSW_USE_GUI_1
737 COND_TOOLKIT_MSW
738 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
739 COND_TOOLKIT_MOTIF_USE_GUI_1
740 COND_TOOLKIT_MOTIF
741 COND_TOOLKIT_MAC
742 COND_TOOLKIT_GTK_USE_GUI_1
743 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
744 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
745 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
746 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
747 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
748 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
749 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
750 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
751 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
752 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
753 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
754 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
755 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
756 COND_TOOLKIT_GTK
757 COND_TOOLKIT_DFB_USE_GUI_1
758 COND_TOOLKIT_DFB
759 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
760 COND_TOOLKIT_COCOA_USE_GUI_1
761 COND_TOOLKIT_COCOA
762 COND_TOOLKIT_
763 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
764 COND_SHARED_1
765 COND_SHARED_0_wxUSE_ZLIB_builtin
766 COND_SHARED_0_wxUSE_REGEX_builtin
767 COND_SHARED_0_wxUSE_EXPAT_builtin
768 COND_SHARED_0_USE_STC_1
769 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
770 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
771 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
772 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
773 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
774 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
775 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
776 COND_SHARED_0
777 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
778 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
779 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
780 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
781 COND_PLATFORM_WIN32_1_SHARED_0
782 COND_PLATFORM_WIN32_1
783 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
784 COND_PLATFORM_WIN32_0
785 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
786 COND_PLATFORM_UNIX_1_USE_GUI_1
787 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
788 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
789 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
790 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
791 COND_PLATFORM_UNIX_1
792 COND_PLATFORM_UNIX_0
793 COND_PLATFORM_OS2_1
794 COND_PLATFORM_MSDOS_1
795 COND_PLATFORM_MSDOS_0
796 COND_PLATFORM_MAC_1
797 COND_PLATFORM_MAC_0
798 COND_PLATFORM_MACOS_1
799 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
800 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
801 COND_PLATFORM_MACOSX_1_USE_GUI_1
802 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
803 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
804 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
805 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
806 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
807 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
808 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
809 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
810 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
811 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
812 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
813 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
814 COND_PLATFORM_MACOSX_1
815 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
816 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
817 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
818 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
819 COND_MONOLITHIC_1_SHARED_1
820 COND_MONOLITHIC_1_SHARED_0
821 COND_MONOLITHIC_1
822 COND_MONOLITHIC_0_USE_XRC_1
823 COND_MONOLITHIC_0_USE_WEBVIEW_1
824 COND_MONOLITHIC_0_USE_STC_1
825 COND_MONOLITHIC_0_USE_RICHTEXT_1
826 COND_MONOLITHIC_0_USE_RIBBON_1
827 COND_MONOLITHIC_0_USE_QA_1
828 COND_MONOLITHIC_0_USE_PROPGRID_1
829 COND_MONOLITHIC_0_USE_MEDIA_1
830 COND_MONOLITHIC_0_USE_HTML_1
831 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
832 COND_MONOLITHIC_0_USE_GUI_1
833 COND_MONOLITHIC_0_USE_AUI_1
834 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
835 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
837 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
838 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
844 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
845 COND_MONOLITHIC_0_SHARED_1
846 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
847 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
848 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
849 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
850 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
852 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
853 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
854 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
855 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
856 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
857 COND_MONOLITHIC_0_SHARED_0
858 COND_MONOLITHIC_0
859 COND_ICC_PCH_1
860 COND_GCC_PCH_1
861 COND_DEPS_TRACKING_1
862 COND_DEPS_TRACKING_0
863 COND_DEBUG_INFO_1
864 COND_DEBUG_INFO_0
865 COND_DEBUG_FLAG_1
866 COND_DEBUG_FLAG_0
867 COND_BUILD_release_UNICODE_1
868 COND_BUILD_release_UNICODE_0
869 COND_BUILD_release_DEBUG_INFO_default
870 COND_BUILD_release
871 COND_BUILD_debug_UNICODE_1
872 COND_BUILD_debug_UNICODE_0
873 COND_BUILD_debug_DEBUG_INFO_default
874 COND_BUILD_debug_DEBUG_FLAG_default
875 COND_BUILD_debug
876 COND_BUILD_RELEASE_UNICODE_1
877 COND_BUILD_RELEASE_UNICODE_0
878 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
879 COND_BUILD_RELEASE
880 COND_BUILD_DEBUG_UNICODE_1
881 COND_BUILD_DEBUG_UNICODE_0
882 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
883 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
884 COND_BUILD_DEBUG
885 BK_MAKE_PCH
886 ICC_PCH_USE_SWITCH
887 ICC_PCH_CREATE_SWITCH
888 ICC_PCH
889 GCC_PCH
890 OBJCXXFLAGS
891 SETFILE
892 REZ
893 WINDRES
894 BK_DEPS
895 DEPS_TRACKING
896 SONAME_FLAG
897 USE_SOTWOSYMLINKS
898 USE_MACVERSION
899 USE_SOVERCYGWIN
900 USE_SOVERSOLARIS
901 USE_SOVERLINUX
902 USE_SOVERSION
903 WINDOWS_IMPLIB
904 PIC_FLAG
905 SHARED_LD_MODULE_CXX
906 SHARED_LD_MODULE_CC
907 SHARED_LD_CXX
908 SHARED_LD_CC
909 AIX_CXX_LD
910 dlldir
911 DLLPREFIX_MODULE
912 DLLPREFIX
913 LIBEXT
914 LIBPREFIX
915 DLLIMP_SUFFIX
916 SO_SUFFIX_MODULE
917 SO_SUFFIX
918 PLATFORM_BEOS
919 PLATFORM_OS2
920 PLATFORM_MACOSX
921 PLATFORM_MACOS
922 PLATFORM_MAC
923 PLATFORM_MSDOS
924 PLATFORM_WIN32
925 PLATFORM_UNIX
926 IF_GNU_MAKE
927 LDFLAGS_GUI
928 INSTALL_DIR
929 NM
930 STRIP
931 AROPTIONS
932 MAKE_SET
933 SET_MAKE
934 LN_S
935 INSTALL_DATA
936 INSTALL_SCRIPT
937 INSTALL_PROGRAM
938 RANLIB
939 CPPUNIT_LIBS
940 CPPUNIT_CFLAGS
941 HOST_SUFFIX
942 HEADER_PAD_OPTION
943 SAMPLES_RPATH_FLAG
944 DYLIB_RPATH_POSTLINK
945 DYLIB_RPATH_INSTALL
946 TOOLKIT_VERSION
947 TOOLKIT_LOWERCASE
948 DEBUG_FLAG
949 DEBUG_INFO
950 UNICODE
951 WITH_PLUGIN_SDL
952 EXTRALIBS_STC
953 EXTRALIBS_SDL
954 EXTRALIBS_OPENGL
955 EXTRALIBS_GUI
956 EXTRALIBS_MEDIA
957 EXTRALIBS_HTML
958 EXTRALIBS_XML
959 EXTRALIBS
960 CXXWARNINGS
961 USE_PLUGINS
962 MONOLITHIC
963 WXUNIV
964 WX_LIB_FLAVOUR
965 WX_FLAVOUR
966 OFFICIAL_BUILD
967 VENDOR
968 wxUSE_LIBTIFF
969 wxUSE_LIBPNG
970 wxUSE_LIBJPEG
971 wxUSE_EXPAT
972 wxUSE_REGEX
973 wxUSE_ZLIB
974 STD_GUI_LIBS
975 STD_BASE_LIBS
976 BUILT_WX_LIBS
977 ALL_WX_LIBS
978 GST_LIBS
979 GST_CFLAGS
980 CAIRO_LIBS
981 CAIRO_CFLAGS
982 WEBKIT_LIBS
983 WEBKIT_CFLAGS
984 COND_PYTHON
985 PYTHON
986 HILDON2_LIBS
987 HILDON2_CFLAGS
988 HILDON_LIBS
989 HILDON_CFLAGS
990 LIBNOTIFY_LIBS
991 LIBNOTIFY_CFLAGS
992 GNOMEVFS_LIBS
993 GNOMEVFS_CFLAGS
994 LIBGNOMEPRINTUI_LIBS
995 LIBGNOMEPRINTUI_CFLAGS
996 GTKPRINT_LIBS
997 GTKPRINT_CFLAGS
998 SDL_LIBS
999 SDL_CFLAGS
1000 SDL_CONFIG
1001 GXX_VERSION
1002 LIBICONV
1003 CXXFLAGS_VISIBILITY
1004 CFLAGS_VISIBILITY
1005 MesaGL_LIBS
1006 MesaGL_CFLAGS
1007 GLU_LIBS
1008 GLU_CFLAGS
1009 GL_LIBS
1010 GL_CFLAGS
1011 SM_LIBS
1012 SM_CFLAGS
1013 Xxf86vm_LIBS
1014 Xxf86vm_CFLAGS
1015 Xinerama_LIBS
1016 Xinerama_CFLAGS
1017 PANGOXFT_LIBS
1018 PANGOXFT_CFLAGS
1019 PANGOFT2_LIBS
1020 PANGOFT2_CFLAGS
1021 PANGOX_LIBS
1022 PANGOX_CFLAGS
1023 X_EXTRA_LIBS
1024 X_LIBS
1025 X_PRE_LIBS
1026 X_CFLAGS
1027 XMKMF
1028 DIRECTFB_LIBS
1029 DIRECTFB_CFLAGS
1030 GTK_CONFIG
1031 GTK_LIBS
1032 GTK_CFLAGS
1033 PKG_CONFIG
1034 subdirs
1035 CXXCPP
1036 AR
1037 ac_ct_CXX
1038 CXXFLAGS
1039 CXX
1040 EGREP
1041 GREP
1042 CPP
1043 OBJEXT
1044 EXEEXT
1045 ac_ct_CC
1046 CPPFLAGS
1047 LDFLAGS
1048 CFLAGS
1049 CC
1050 wx_top_builddir
1051 host_os
1052 host_vendor
1053 host_cpu
1054 host
1055 build_os
1056 build_vendor
1057 build_cpu
1058 build
1059 target_alias
1060 host_alias
1061 build_alias
1062 LIBS
1063 ECHO_T
1064 ECHO_N
1065 ECHO_C
1066 DEFS
1067 mandir
1068 localedir
1069 libdir
1070 psdir
1071 pdfdir
1072 dvidir
1073 htmldir
1074 infodir
1075 docdir
1076 oldincludedir
1077 includedir
1078 localstatedir
1079 sharedstatedir
1080 sysconfdir
1081 datadir
1082 datarootdir
1083 libexecdir
1084 sbindir
1085 bindir
1086 program_transform_name
1087 prefix
1088 exec_prefix
1089 PACKAGE_URL
1090 PACKAGE_BUGREPORT
1091 PACKAGE_STRING
1092 PACKAGE_VERSION
1093 PACKAGE_TARNAME
1094 PACKAGE_NAME
1095 PATH_SEPARATOR
1096 SHELL'
1097 ac_subst_files=''
1098 ac_user_opts='
1099 enable_option_checking
1100 enable_gui
1101 enable_monolithic
1102 enable_plugins
1103 with_subdirs
1104 with_flavour
1105 enable_official_build
1106 enable_vendor
1107 enable_all_features
1108 enable_universal
1109 with_themes
1110 with_gtk
1111 with_motif
1112 with_osx_carbon
1113 with_osx_cocoa
1114 with_osx_iphone
1115 with_osx
1116 with_carbon
1117 with_cocoa
1118 with_iphone
1119 with_mac
1120 with_old_cocoa
1121 with_wine
1122 with_msw
1123 with_pm
1124 with_directfb
1125 with_microwin
1126 with_x11
1127 enable_nanox
1128 enable_gpe
1129 with_libpng
1130 with_libjpeg
1131 with_libtiff
1132 with_libxpm
1133 with_libiconv
1134 with_libmspack
1135 with_gtkprint
1136 with_gnomeprint
1137 with_gnomevfs
1138 with_libnotify
1139 with_hildon
1140 with_opengl
1141 with_dmalloc
1142 with_sdl
1143 with_regex
1144 with_zlib
1145 with_expat
1146 with_macosx_sdk
1147 with_macosx_version_min
1148 enable_debug
1149 enable_debug_flag
1150 enable_debug_info
1151 enable_debug_gdb
1152 enable_debug_cntxt
1153 enable_mem_tracing
1154 enable_shared
1155 enable_stl
1156 enable_std_containers
1157 enable_std_iostreams
1158 enable_std_string
1159 enable_std_string_conv_in_wxstring
1160 enable_unicode
1161 enable_mslu
1162 enable_utf8
1163 enable_utf8only
1164 enable_extended_rtti
1165 enable_omf
1166 enable_optimise
1167 enable_profile
1168 enable_no_rtti
1169 enable_no_exceptions
1170 enable_permissive
1171 enable_no_deps
1172 enable_vararg_macros
1173 enable_universal_binary
1174 enable_macosx_arch
1175 enable_compat26
1176 enable_compat28
1177 enable_rpath
1178 enable_objc_uniquifying
1179 enable_visibility
1180 enable_tls
1181 enable_intl
1182 enable_xlocale
1183 enable_config
1184 enable_protocols
1185 enable_ftp
1186 enable_http
1187 enable_fileproto
1188 enable_sockets
1189 enable_ipv6
1190 enable_ole
1191 enable_dataobj
1192 enable_ipc
1193 enable_baseevtloop
1194 enable_epollloop
1195 enable_selectloop
1196 enable_any
1197 enable_apple_ieee
1198 enable_arcstream
1199 enable_base64
1200 enable_backtrace
1201 enable_catch_segvs
1202 enable_cmdline
1203 enable_datetime
1204 enable_debugreport
1205 enable_dialupman
1206 enable_dynlib
1207 enable_dynamicloader
1208 enable_exceptions
1209 enable_ffile
1210 enable_file
1211 enable_filehistory
1212 enable_filesystem
1213 enable_fontenum
1214 enable_fontmap
1215 enable_fs_archive
1216 enable_fs_inet
1217 enable_fs_zip
1218 enable_fsvolume
1219 enable_fswatcher
1220 enable_geometry
1221 enable_log
1222 enable_longlong
1223 enable_mimetype
1224 enable_printfposparam
1225 enable_snglinst
1226 enable_sound
1227 enable_stdpaths
1228 enable_stopwatch
1229 enable_streams
1230 enable_sysoptions
1231 enable_tarstream
1232 enable_textbuf
1233 enable_textfile
1234 enable_timer
1235 enable_variant
1236 enable_zipstream
1237 enable_url
1238 enable_protocol
1239 enable_protocol_http
1240 enable_protocol_ftp
1241 enable_protocol_file
1242 enable_threads
1243 enable_iniconf
1244 enable_regkey
1245 enable_docview
1246 enable_help
1247 enable_mshtmlhelp
1248 enable_html
1249 enable_htmlhelp
1250 enable_xrc
1251 enable_aui
1252 enable_propgrid
1253 enable_ribbon
1254 enable_stc
1255 enable_constraints
1256 enable_loggui
1257 enable_logwin
1258 enable_logdialog
1259 enable_mdi
1260 enable_mdidoc
1261 enable_mediactrl
1262 enable_gstreamer8
1263 enable_richtext
1264 enable_postscript
1265 enable_printarch
1266 enable_svg
1267 enable_webkit
1268 enable_webview
1269 enable_graphics_ctx
1270 enable_clipboard
1271 enable_dnd
1272 enable_controls
1273 enable_markup
1274 enable_accel
1275 enable_animatectrl
1276 enable_bannerwindow
1277 enable_artstd
1278 enable_arttango
1279 enable_bmpbutton
1280 enable_bmpcombobox
1281 enable_button
1282 enable_calendar
1283 enable_caret
1284 enable_checkbox
1285 enable_checklst
1286 enable_choice
1287 enable_choicebook
1288 enable_collpane
1289 enable_colourpicker
1290 enable_combobox
1291 enable_comboctrl
1292 enable_commandlinkbutton
1293 enable_dataviewctrl
1294 enable_datepick
1295 enable_detect_sm
1296 enable_dirpicker
1297 enable_display
1298 enable_editablebox
1299 enable_filectrl
1300 enable_filepicker
1301 enable_fontpicker
1302 enable_gauge
1303 enable_grid
1304 enable_headerctrl
1305 enable_hyperlink
1306 enable_imaglist
1307 enable_infobar
1308 enable_listbook
1309 enable_listbox
1310 enable_listctrl
1311 enable_notebook
1312 enable_notifmsg
1313 enable_odcombobox
1314 enable_popupwin
1315 enable_radiobox
1316 enable_radiobtn
1317 enable_richmsgdlg
1318 enable_richtooltip
1319 enable_rearrangectrl
1320 enable_sash
1321 enable_scrollbar
1322 enable_searchctrl
1323 enable_slider
1324 enable_spinbtn
1325 enable_spinctrl
1326 enable_splitter
1327 enable_statbmp
1328 enable_statbox
1329 enable_statline
1330 enable_stattext
1331 enable_statusbar
1332 enable_taskbaricon
1333 enable_tbarnative
1334 enable_textctrl
1335 enable_tipwindow
1336 enable_togglebtn
1337 enable_toolbar
1338 enable_toolbook
1339 enable_treebook
1340 enable_treectrl
1341 enable_treelist
1342 enable_commondlg
1343 enable_aboutdlg
1344 enable_choicedlg
1345 enable_coldlg
1346 enable_filedlg
1347 enable_finddlg
1348 enable_fontdlg
1349 enable_dirdlg
1350 enable_msgdlg
1351 enable_numberdlg
1352 enable_splash
1353 enable_textdlg
1354 enable_tipdlg
1355 enable_progressdlg
1356 enable_wizarddlg
1357 enable_menus
1358 enable_miniframe
1359 enable_tooltips
1360 enable_splines
1361 enable_mousewheel
1362 enable_validators
1363 enable_busyinfo
1364 enable_hotkey
1365 enable_joystick
1366 enable_metafile
1367 enable_dragimage
1368 enable_accessibility
1369 enable_uiactionsim
1370 enable_dctransform
1371 enable_webviewwebkit
1372 enable_palette
1373 enable_image
1374 enable_gif
1375 enable_pcx
1376 enable_tga
1377 enable_iff
1378 enable_pnm
1379 enable_xpm
1380 enable_ico_cur
1381 enable_dccache
1382 enable_ps_in_msw
1383 enable_ownerdrawn
1384 enable_uxtheme
1385 enable_wxdib
1386 enable_webviewie
1387 enable_autoidman
1388 enable_largefile
1389 enable_gtktest
1390 with_gtk_prefix
1391 with_gtk_exec_prefix
1392 with_x
1393 with_libiconv_prefix
1394 with_sdl_prefix
1395 with_sdl_exec_prefix
1396 enable_sdltest
1397 enable_dependency_tracking
1398 enable_precomp_headers
1399 with_cppunit_prefix
1400 with_cppunit_exec_prefix
1401 '
1402 ac_precious_vars='build_alias
1403 host_alias
1404 target_alias
1405 CC
1406 CFLAGS
1407 LDFLAGS
1408 LIBS
1409 CPPFLAGS
1410 CPP
1411 CXX
1412 CXXFLAGS
1413 CCC
1414 CXXCPP
1415 PKG_CONFIG
1416 DIRECTFB_CFLAGS
1417 DIRECTFB_LIBS
1418 XMKMF
1419 PANGOX_CFLAGS
1420 PANGOX_LIBS
1421 PANGOFT2_CFLAGS
1422 PANGOFT2_LIBS
1423 PANGOXFT_CFLAGS
1424 PANGOXFT_LIBS
1425 Xinerama_CFLAGS
1426 Xinerama_LIBS
1427 Xxf86vm_CFLAGS
1428 Xxf86vm_LIBS
1429 SM_CFLAGS
1430 SM_LIBS
1431 GL_CFLAGS
1432 GL_LIBS
1433 GLU_CFLAGS
1434 GLU_LIBS
1435 MesaGL_CFLAGS
1436 MesaGL_LIBS
1437 GTKPRINT_CFLAGS
1438 GTKPRINT_LIBS
1439 LIBGNOMEPRINTUI_CFLAGS
1440 LIBGNOMEPRINTUI_LIBS
1441 GNOMEVFS_CFLAGS
1442 GNOMEVFS_LIBS
1443 LIBNOTIFY_CFLAGS
1444 LIBNOTIFY_LIBS
1445 HILDON_CFLAGS
1446 HILDON_LIBS
1447 HILDON2_CFLAGS
1448 HILDON2_LIBS
1449 WEBKIT_CFLAGS
1450 WEBKIT_LIBS
1451 CAIRO_CFLAGS
1452 CAIRO_LIBS
1453 GST_CFLAGS
1454 GST_LIBS'
1455 ac_subdirs_all='src/tiff
1456 src/expat'
1457
1458 # Initialize some variables set by options.
1459 ac_init_help=
1460 ac_init_version=false
1461 ac_unrecognized_opts=
1462 ac_unrecognized_sep=
1463 # The variables have the same names as the options, with
1464 # dashes changed to underlines.
1465 cache_file=/dev/null
1466 exec_prefix=NONE
1467 no_create=
1468 no_recursion=
1469 prefix=NONE
1470 program_prefix=NONE
1471 program_suffix=NONE
1472 program_transform_name=s,x,x,
1473 silent=
1474 site=
1475 srcdir=
1476 verbose=
1477 x_includes=NONE
1478 x_libraries=NONE
1479
1480 # Installation directory options.
1481 # These are left unexpanded so users can "make install exec_prefix=/foo"
1482 # and all the variables that are supposed to be based on exec_prefix
1483 # by default will actually change.
1484 # Use braces instead of parens because sh, perl, etc. also accept them.
1485 # (The list follows the same order as the GNU Coding Standards.)
1486 bindir='${exec_prefix}/bin'
1487 sbindir='${exec_prefix}/sbin'
1488 libexecdir='${exec_prefix}/libexec'
1489 datarootdir='${prefix}/share'
1490 datadir='${datarootdir}'
1491 sysconfdir='${prefix}/etc'
1492 sharedstatedir='${prefix}/com'
1493 localstatedir='${prefix}/var'
1494 includedir='${prefix}/include'
1495 oldincludedir='/usr/include'
1496 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1497 infodir='${datarootdir}/info'
1498 htmldir='${docdir}'
1499 dvidir='${docdir}'
1500 pdfdir='${docdir}'
1501 psdir='${docdir}'
1502 libdir='${exec_prefix}/lib'
1503 localedir='${datarootdir}/locale'
1504 mandir='${datarootdir}/man'
1505
1506 ac_prev=
1507 ac_dashdash=
1508 for ac_option
1509 do
1510 # If the previous option needs an argument, assign it.
1511 if test -n "$ac_prev"; then
1512 eval $ac_prev=\$ac_option
1513 ac_prev=
1514 continue
1515 fi
1516
1517 case $ac_option in
1518 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1519 *=) ac_optarg= ;;
1520 *) ac_optarg=yes ;;
1521 esac
1522
1523 # Accept the important Cygnus configure options, so we can diagnose typos.
1524
1525 case $ac_dashdash$ac_option in
1526 --)
1527 ac_dashdash=yes ;;
1528
1529 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1530 ac_prev=bindir ;;
1531 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1532 bindir=$ac_optarg ;;
1533
1534 -build | --build | --buil | --bui | --bu)
1535 ac_prev=build_alias ;;
1536 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1537 build_alias=$ac_optarg ;;
1538
1539 -cache-file | --cache-file | --cache-fil | --cache-fi \
1540 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1541 ac_prev=cache_file ;;
1542 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1543 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1544 cache_file=$ac_optarg ;;
1545
1546 --config-cache | -C)
1547 cache_file=config.cache ;;
1548
1549 -datadir | --datadir | --datadi | --datad)
1550 ac_prev=datadir ;;
1551 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1552 datadir=$ac_optarg ;;
1553
1554 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1555 | --dataroo | --dataro | --datar)
1556 ac_prev=datarootdir ;;
1557 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1558 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1559 datarootdir=$ac_optarg ;;
1560
1561 -disable-* | --disable-*)
1562 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1563 # Reject names that are not valid shell variable names.
1564 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1565 as_fn_error $? "invalid feature name: $ac_useropt"
1566 ac_useropt_orig=$ac_useropt
1567 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1568 case $ac_user_opts in
1569 *"
1570 "enable_$ac_useropt"
1571 "*) ;;
1572 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1573 ac_unrecognized_sep=', ';;
1574 esac
1575 eval enable_$ac_useropt=no ;;
1576
1577 -docdir | --docdir | --docdi | --doc | --do)
1578 ac_prev=docdir ;;
1579 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1580 docdir=$ac_optarg ;;
1581
1582 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1583 ac_prev=dvidir ;;
1584 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1585 dvidir=$ac_optarg ;;
1586
1587 -enable-* | --enable-*)
1588 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1589 # Reject names that are not valid shell variable names.
1590 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1591 as_fn_error $? "invalid feature name: $ac_useropt"
1592 ac_useropt_orig=$ac_useropt
1593 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1594 case $ac_user_opts in
1595 *"
1596 "enable_$ac_useropt"
1597 "*) ;;
1598 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1599 ac_unrecognized_sep=', ';;
1600 esac
1601 eval enable_$ac_useropt=\$ac_optarg ;;
1602
1603 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1604 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1605 | --exec | --exe | --ex)
1606 ac_prev=exec_prefix ;;
1607 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1608 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1609 | --exec=* | --exe=* | --ex=*)
1610 exec_prefix=$ac_optarg ;;
1611
1612 -gas | --gas | --ga | --g)
1613 # Obsolete; use --with-gas.
1614 with_gas=yes ;;
1615
1616 -help | --help | --hel | --he | -h)
1617 ac_init_help=long ;;
1618 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1619 ac_init_help=recursive ;;
1620 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1621 ac_init_help=short ;;
1622
1623 -host | --host | --hos | --ho)
1624 ac_prev=host_alias ;;
1625 -host=* | --host=* | --hos=* | --ho=*)
1626 host_alias=$ac_optarg ;;
1627
1628 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1629 ac_prev=htmldir ;;
1630 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1631 | --ht=*)
1632 htmldir=$ac_optarg ;;
1633
1634 -includedir | --includedir | --includedi | --included | --include \
1635 | --includ | --inclu | --incl | --inc)
1636 ac_prev=includedir ;;
1637 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1638 | --includ=* | --inclu=* | --incl=* | --inc=*)
1639 includedir=$ac_optarg ;;
1640
1641 -infodir | --infodir | --infodi | --infod | --info | --inf)
1642 ac_prev=infodir ;;
1643 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1644 infodir=$ac_optarg ;;
1645
1646 -libdir | --libdir | --libdi | --libd)
1647 ac_prev=libdir ;;
1648 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1649 libdir=$ac_optarg ;;
1650
1651 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1652 | --libexe | --libex | --libe)
1653 ac_prev=libexecdir ;;
1654 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1655 | --libexe=* | --libex=* | --libe=*)
1656 libexecdir=$ac_optarg ;;
1657
1658 -localedir | --localedir | --localedi | --localed | --locale)
1659 ac_prev=localedir ;;
1660 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1661 localedir=$ac_optarg ;;
1662
1663 -localstatedir | --localstatedir | --localstatedi | --localstated \
1664 | --localstate | --localstat | --localsta | --localst | --locals)
1665 ac_prev=localstatedir ;;
1666 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1667 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1668 localstatedir=$ac_optarg ;;
1669
1670 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1671 ac_prev=mandir ;;
1672 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1673 mandir=$ac_optarg ;;
1674
1675 -nfp | --nfp | --nf)
1676 # Obsolete; use --without-fp.
1677 with_fp=no ;;
1678
1679 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1680 | --no-cr | --no-c | -n)
1681 no_create=yes ;;
1682
1683 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1684 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1685 no_recursion=yes ;;
1686
1687 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1688 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1689 | --oldin | --oldi | --old | --ol | --o)
1690 ac_prev=oldincludedir ;;
1691 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1692 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1693 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1694 oldincludedir=$ac_optarg ;;
1695
1696 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1697 ac_prev=prefix ;;
1698 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1699 prefix=$ac_optarg ;;
1700
1701 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1702 | --program-pre | --program-pr | --program-p)
1703 ac_prev=program_prefix ;;
1704 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1705 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1706 program_prefix=$ac_optarg ;;
1707
1708 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1709 | --program-suf | --program-su | --program-s)
1710 ac_prev=program_suffix ;;
1711 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1712 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1713 program_suffix=$ac_optarg ;;
1714
1715 -program-transform-name | --program-transform-name \
1716 | --program-transform-nam | --program-transform-na \
1717 | --program-transform-n | --program-transform- \
1718 | --program-transform | --program-transfor \
1719 | --program-transfo | --program-transf \
1720 | --program-trans | --program-tran \
1721 | --progr-tra | --program-tr | --program-t)
1722 ac_prev=program_transform_name ;;
1723 -program-transform-name=* | --program-transform-name=* \
1724 | --program-transform-nam=* | --program-transform-na=* \
1725 | --program-transform-n=* | --program-transform-=* \
1726 | --program-transform=* | --program-transfor=* \
1727 | --program-transfo=* | --program-transf=* \
1728 | --program-trans=* | --program-tran=* \
1729 | --progr-tra=* | --program-tr=* | --program-t=*)
1730 program_transform_name=$ac_optarg ;;
1731
1732 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1733 ac_prev=pdfdir ;;
1734 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1735 pdfdir=$ac_optarg ;;
1736
1737 -psdir | --psdir | --psdi | --psd | --ps)
1738 ac_prev=psdir ;;
1739 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1740 psdir=$ac_optarg ;;
1741
1742 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1743 | -silent | --silent | --silen | --sile | --sil)
1744 silent=yes ;;
1745
1746 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1747 ac_prev=sbindir ;;
1748 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1749 | --sbi=* | --sb=*)
1750 sbindir=$ac_optarg ;;
1751
1752 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1753 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1754 | --sharedst | --shareds | --shared | --share | --shar \
1755 | --sha | --sh)
1756 ac_prev=sharedstatedir ;;
1757 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1758 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1759 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1760 | --sha=* | --sh=*)
1761 sharedstatedir=$ac_optarg ;;
1762
1763 -site | --site | --sit)
1764 ac_prev=site ;;
1765 -site=* | --site=* | --sit=*)
1766 site=$ac_optarg ;;
1767
1768 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1769 ac_prev=srcdir ;;
1770 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1771 srcdir=$ac_optarg ;;
1772
1773 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1774 | --syscon | --sysco | --sysc | --sys | --sy)
1775 ac_prev=sysconfdir ;;
1776 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1777 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1778 sysconfdir=$ac_optarg ;;
1779
1780 -target | --target | --targe | --targ | --tar | --ta | --t)
1781 ac_prev=target_alias ;;
1782 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1783 target_alias=$ac_optarg ;;
1784
1785 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1786 verbose=yes ;;
1787
1788 -version | --version | --versio | --versi | --vers | -V)
1789 ac_init_version=: ;;
1790
1791 -with-* | --with-*)
1792 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1793 # Reject names that are not valid shell variable names.
1794 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1795 as_fn_error $? "invalid package name: $ac_useropt"
1796 ac_useropt_orig=$ac_useropt
1797 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1798 case $ac_user_opts in
1799 *"
1800 "with_$ac_useropt"
1801 "*) ;;
1802 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1803 ac_unrecognized_sep=', ';;
1804 esac
1805 eval with_$ac_useropt=\$ac_optarg ;;
1806
1807 -without-* | --without-*)
1808 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1809 # Reject names that are not valid shell variable names.
1810 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1811 as_fn_error $? "invalid package name: $ac_useropt"
1812 ac_useropt_orig=$ac_useropt
1813 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1814 case $ac_user_opts in
1815 *"
1816 "with_$ac_useropt"
1817 "*) ;;
1818 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1819 ac_unrecognized_sep=', ';;
1820 esac
1821 eval with_$ac_useropt=no ;;
1822
1823 --x)
1824 # Obsolete; use --with-x.
1825 with_x=yes ;;
1826
1827 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1828 | --x-incl | --x-inc | --x-in | --x-i)
1829 ac_prev=x_includes ;;
1830 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1831 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1832 x_includes=$ac_optarg ;;
1833
1834 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1835 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1836 ac_prev=x_libraries ;;
1837 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1838 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1839 x_libraries=$ac_optarg ;;
1840
1841 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1842 Try \`$0 --help' for more information"
1843 ;;
1844
1845 *=*)
1846 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1847 # Reject names that are not valid shell variable names.
1848 case $ac_envvar in #(
1849 '' | [0-9]* | *[!_$as_cr_alnum]* )
1850 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1851 esac
1852 eval $ac_envvar=\$ac_optarg
1853 export $ac_envvar ;;
1854
1855 *)
1856 # FIXME: should be removed in autoconf 3.0.
1857 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1858 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1859 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1860 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1861 ;;
1862
1863 esac
1864 done
1865
1866 if test -n "$ac_prev"; then
1867 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1868 as_fn_error $? "missing argument to $ac_option"
1869 fi
1870
1871 if test -n "$ac_unrecognized_opts"; then
1872 case $enable_option_checking in
1873 no) ;;
1874 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1875 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1876 esac
1877 fi
1878
1879 # Check all directory arguments for consistency.
1880 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1881 datadir sysconfdir sharedstatedir localstatedir includedir \
1882 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1883 libdir localedir mandir
1884 do
1885 eval ac_val=\$$ac_var
1886 # Remove trailing slashes.
1887 case $ac_val in
1888 */ )
1889 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1890 eval $ac_var=\$ac_val;;
1891 esac
1892 # Be sure to have absolute directory names.
1893 case $ac_val in
1894 [\\/$]* | ?:[\\/]* ) continue;;
1895 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1896 esac
1897 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1898 done
1899
1900 # There might be people who depend on the old broken behavior: `$host'
1901 # used to hold the argument of --host etc.
1902 # FIXME: To remove some day.
1903 build=$build_alias
1904 host=$host_alias
1905 target=$target_alias
1906
1907 # FIXME: To remove some day.
1908 if test "x$host_alias" != x; then
1909 if test "x$build_alias" = x; then
1910 cross_compiling=maybe
1911 elif test "x$build_alias" != "x$host_alias"; then
1912 cross_compiling=yes
1913 fi
1914 fi
1915
1916 ac_tool_prefix=
1917 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1918
1919 test "$silent" = yes && exec 6>/dev/null
1920
1921
1922 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1923 ac_ls_di=`ls -di .` &&
1924 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1925 as_fn_error $? "working directory cannot be determined"
1926 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1927 as_fn_error $? "pwd does not report name of working directory"
1928
1929
1930 # Find the source files, if location was not specified.
1931 if test -z "$srcdir"; then
1932 ac_srcdir_defaulted=yes
1933 # Try the directory containing this script, then the parent directory.
1934 ac_confdir=`$as_dirname -- "$as_myself" ||
1935 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1936 X"$as_myself" : 'X\(//\)[^/]' \| \
1937 X"$as_myself" : 'X\(//\)$' \| \
1938 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1939 $as_echo X"$as_myself" |
1940 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1941 s//\1/
1942 q
1943 }
1944 /^X\(\/\/\)[^/].*/{
1945 s//\1/
1946 q
1947 }
1948 /^X\(\/\/\)$/{
1949 s//\1/
1950 q
1951 }
1952 /^X\(\/\).*/{
1953 s//\1/
1954 q
1955 }
1956 s/.*/./; q'`
1957 srcdir=$ac_confdir
1958 if test ! -r "$srcdir/$ac_unique_file"; then
1959 srcdir=..
1960 fi
1961 else
1962 ac_srcdir_defaulted=no
1963 fi
1964 if test ! -r "$srcdir/$ac_unique_file"; then
1965 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1966 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1967 fi
1968 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1969 ac_abs_confdir=`(
1970 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1971 pwd)`
1972 # When building in place, set srcdir=.
1973 if test "$ac_abs_confdir" = "$ac_pwd"; then
1974 srcdir=.
1975 fi
1976 # Remove unnecessary trailing slashes from srcdir.
1977 # Double slashes in file names in object file debugging info
1978 # mess up M-x gdb in Emacs.
1979 case $srcdir in
1980 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1981 esac
1982 for ac_var in $ac_precious_vars; do
1983 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1984 eval ac_env_${ac_var}_value=\$${ac_var}
1985 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1986 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1987 done
1988
1989 #
1990 # Report the --help message.
1991 #
1992 if test "$ac_init_help" = "long"; then
1993 # Omit some internal or obsolete options to make the list less imposing.
1994 # This message is too long to be a string in the A/UX 3.1 sh.
1995 cat <<_ACEOF
1996 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1997
1998 Usage: $0 [OPTION]... [VAR=VALUE]...
1999
2000 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2001 VAR=VALUE. See below for descriptions of some of the useful variables.
2002
2003 Defaults for the options are specified in brackets.
2004
2005 Configuration:
2006 -h, --help display this help and exit
2007 --help=short display options specific to this package
2008 --help=recursive display the short help of all the included packages
2009 -V, --version display version information and exit
2010 -q, --quiet, --silent do not print \`checking ...' messages
2011 --cache-file=FILE cache test results in FILE [disabled]
2012 -C, --config-cache alias for \`--cache-file=config.cache'
2013 -n, --no-create do not create output files
2014 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2015
2016 Installation directories:
2017 --prefix=PREFIX install architecture-independent files in PREFIX
2018 [$ac_default_prefix]
2019 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2020 [PREFIX]
2021
2022 By default, \`make install' will install all the files in
2023 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2024 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2025 for instance \`--prefix=\$HOME'.
2026
2027 For better control, use the options below.
2028
2029 Fine tuning of the installation directories:
2030 --bindir=DIR user executables [EPREFIX/bin]
2031 --sbindir=DIR system admin executables [EPREFIX/sbin]
2032 --libexecdir=DIR program executables [EPREFIX/libexec]
2033 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2034 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2035 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2036 --libdir=DIR object code libraries [EPREFIX/lib]
2037 --includedir=DIR C header files [PREFIX/include]
2038 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2039 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2040 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2041 --infodir=DIR info documentation [DATAROOTDIR/info]
2042 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2043 --mandir=DIR man documentation [DATAROOTDIR/man]
2044 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2045 --htmldir=DIR html documentation [DOCDIR]
2046 --dvidir=DIR dvi documentation [DOCDIR]
2047 --pdfdir=DIR pdf documentation [DOCDIR]
2048 --psdir=DIR ps documentation [DOCDIR]
2049 _ACEOF
2050
2051 cat <<\_ACEOF
2052
2053 X features:
2054 --x-includes=DIR X include files are in DIR
2055 --x-libraries=DIR X library files are in DIR
2056
2057 System types:
2058 --build=BUILD configure for building on BUILD [guessed]
2059 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2060 _ACEOF
2061 fi
2062
2063 if test -n "$ac_init_help"; then
2064 case $ac_init_help in
2065 short | recursive ) echo "Configuration of wxWidgets 2.9.5:";;
2066 esac
2067 cat <<\_ACEOF
2068
2069 Optional Features:
2070 --disable-option-checking ignore unrecognized --enable/--with options
2071 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2072 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2073 --disable-gui don't build GUI parts of the library
2074 --enable-monolithic build wxWidgets as single library
2075 --enable-plugins build parts of wxWidgets as loadable components
2076 --enable-official_build official build of wxWidgets (win32 DLL only)
2077 --enable-vendor=VENDOR vendor name (win32 DLL only)
2078 --disable-all-features disable all optional features to build minimal library
2079 --enable-universal use wxWidgets GUI controls instead of native ones
2080 --enable-nanox use NanoX
2081 --enable-gpe use GNOME PDA Environment features if possible
2082 --enable-debug build library for debugging
2083 --disable-debug_flag disable all debugging support
2084 --enable-debug_info generate debug information
2085 --enable-debug_gdb create code with extra GDB debugging information
2086 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
2087 --enable-mem_tracing obsolete, don't use: create code with memory tracing
2088 --disable-shared create static library instead of shared
2089 --enable-stl use standard C++ classes for everything
2090 --enable-std_containers use standard C++ container classes
2091 --enable-std_iostreams use standard C++ stream classes
2092 --enable-std_string use standard C++ string classes
2093 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2094 --disable-unicode compile without Unicode support
2095 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2096 --enable-utf8 use UTF-8 representation for strings (Unix only)
2097 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2098 --enable-extended_rtti use extended RTTI (XTI)
2099 --enable-omf use OMF object format
2100 --disable-optimise compile without optimisations
2101 --enable-profile create code with profiling information
2102 --enable-no_rtti create code without RTTI information
2103 --enable-no_exceptions create code without C++ exceptions handling
2104 --enable-permissive compile code disregarding strict ANSI
2105 --enable-no_deps create code without dependency information
2106 --disable-vararg_macros don't use vararg macros, even if they are supported
2107 --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
2108 --enable-macosx_arch=ARCH build for just the specified architecture
2109 --enable-compat26 enable wxWidgets 2.6 compatibility
2110 --disable-compat28 disable wxWidgets 2.8 compatibility
2111 --disable-rpath disable use of rpath for uninstalled builds
2112 --enable-objc_uniquifying enable Objective-C class name uniquifying
2113 --disable-visibility disable use of ELF symbols visibility even if supported
2114 --disable-tls disable use of compiler TLS support
2115 --enable-intl use internationalization system
2116 --enable-xlocale use x-locale support (requires wxLocale)
2117 --enable-config use wxConfig (and derived) classes
2118 --enable-protocols use wxProtocol and derived classes
2119 --enable-ftp use wxFTP (requires wxProtocol
2120 --enable-http use wxHTTP (requires wxProtocol
2121 --enable-fileproto use wxFileProto class (requires wxProtocol
2122 --enable-sockets use socket/network classes
2123 --enable-ipv6 enable IPv6 support in wxSocket
2124 --enable-ole use OLE classes (Win32 only)
2125 --enable-dataobj use data object classes
2126 --enable-ipc use interprocess communication (wxSocket etc.)
2127 --enable-baseevtloop use event loop in console programs too
2128 --enable-epollloop use wxEpollDispatcher class (Linux only)
2129 --enable-selectloop use wxSelectDispatcher class
2130 --enable-any use wxAny class
2131 --enable-apple_ieee use the Apple IEEE codec
2132 --enable-arcstream use wxArchive streams
2133 --enable-base64 use base64 encoding/decoding functions
2134 --enable-backtrace use wxStackWalker class for getting backtraces
2135 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
2136 --enable-cmdline use wxCmdLineParser class
2137 --enable-datetime use wxDateTime class
2138 --enable-debugreport use wxDebugReport class
2139 --enable-dialupman use dialup network classes
2140 --enable-dynlib use wxLibrary class for DLL loading
2141 --enable-dynamicloader use (new) wxDynamicLibrary class
2142 --enable-exceptions build exception-safe library
2143 --enable-ffile use wxFFile class
2144 --enable-file use wxFile class
2145 --enable-filehistory use wxFileHistory class
2146 --enable-filesystem use virtual file systems classes
2147 --enable-fontenum use wxFontEnumerator class
2148 --enable-fontmap use font encodings conversion classes
2149 --enable-fs_archive use virtual archive filesystems
2150 --enable-fs_inet use virtual HTTP/FTP filesystems
2151 --enable-fs_zip now replaced by fs_archive
2152 --enable-fsvolume use wxFSVolume class
2153 --enable-fswatcher use wxFileSystemWatcher class
2154 --enable-geometry use geometry class
2155 --enable-log use logging system
2156 --enable-longlong use wxLongLong class
2157 --enable-mimetype use wxMimeTypesManager
2158 --enable-printfposparam use wxVsnprintf() which supports positional parameters
2159 --enable-snglinst use wxSingleInstanceChecker class
2160 --enable-sound use wxSound class
2161 --enable-stdpaths use wxStandardPaths class
2162 --enable-stopwatch use wxStopWatch class
2163 --enable-streams use wxStream etc classes
2164 --enable-sysoptions use wxSystemOptions
2165 --enable-tarstream use wxTar streams
2166 --enable-textbuf use wxTextBuffer class
2167 --enable-textfile use wxTextFile class
2168 --enable-timer use wxTimer class
2169 --enable-variant use wxVariant class
2170 --enable-zipstream use wxZip streams
2171 --enable-url use wxURL class
2172 --enable-protocol use wxProtocol class
2173 --enable-protocol-http HTTP support in wxProtocol
2174 --enable-protocol-ftp FTP support in wxProtocol
2175 --enable-protocol-file FILE support in wxProtocol
2176 --enable-threads use threads
2177 --enable-iniconf use wxIniConfig (Win32 only)
2178 --enable-regkey use wxRegKey class (Win32 only)
2179 --enable-docview use document view architecture
2180 --enable-help use help subsystem
2181 --enable-mshtmlhelp use MS HTML Help (win32)
2182 --enable-html use wxHTML sub-library
2183 --enable-htmlhelp use wxHTML-based help
2184 --enable-xrc use XRC resources sub-library
2185 --enable-aui use AUI docking library
2186 --enable-propgrid use wxPropertyGrid library
2187 --enable-ribbon use wxRibbon library
2188 --enable-stc use wxStyledTextCtrl library
2189 --enable-constraints use layout-constraints system
2190 --enable-loggui use standard GUI logger
2191 --enable-logwin use wxLogWindow
2192 --enable-logdialog use wxLogDialog
2193 --enable-mdi use multiple document interface architecture
2194 --enable-mdidoc use docview architecture with MDI
2195 --enable-mediactrl use wxMediaCtrl class
2196 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
2197 --enable-richtext use wxRichTextCtrl
2198 --enable-postscript use wxPostscriptDC device context (default for gtk+)
2199 --enable-printarch use printing architecture
2200 --enable-svg use wxSVGFileDC device context
2201 --enable-webkit use wxWebKitCtrl (Mac-only, use wxWebView instead)
2202 --enable-webview use wxWebView library
2203 --enable-graphics_ctx use graphics context 2D drawing API
2204 --enable-clipboard use wxClipboard class
2205 --enable-dnd use Drag'n'Drop classes
2206 --disable-controls disable compilation of all standard controls
2207 --enable-markup support wxControl::SetLabelMarkup
2208 --enable-accel use accelerators
2209 --enable-animatectrl use wxAnimationCtrl class
2210 --enable-bannerwindow use wxBannerWindow class
2211 --enable-artstd use standard XPM icons in wxArtProvider
2212 --enable-arttango use Tango icons in wxArtProvider
2213 --enable-bmpbutton use wxBitmapButton class
2214 --enable-bmpcombobox use wxBitmapComboBox class
2215 --enable-button use wxButton class
2216 --enable-calendar use wxCalendarCtrl class
2217 --enable-caret use wxCaret class
2218 --enable-checkbox use wxCheckBox class
2219 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
2220 --enable-choice use wxChoice class
2221 --enable-choicebook use wxChoicebook class
2222 --enable-collpane use wxCollapsiblePane class
2223 --enable-colourpicker use wxColourPickerCtrl class
2224 --enable-combobox use wxComboBox class
2225 --enable-comboctrl use wxComboCtrl class
2226 --enable-commandlinkbutton use wxCommmandLinkButton class
2227 --enable-dataviewctrl use wxDataViewCtrl class
2228 --enable-datepick use wxDatePickerCtrl class
2229 --enable-detect_sm use code to detect X11 session manager
2230 --enable-dirpicker use wxDirPickerCtrl class
2231 --enable-display use wxDisplay class
2232 --enable-editablebox use wxEditableListBox class
2233 --enable-filectrl use wxFileCtrl class
2234 --enable-filepicker use wxFilePickerCtrl class
2235 --enable-fontpicker use wxFontPickerCtrl class
2236 --enable-gauge use wxGauge class
2237 --enable-grid use wxGrid class
2238 --enable-headerctrl use wxHeaderCtrl class
2239 --enable-hyperlink use wxHyperlinkCtrl class
2240 --enable-imaglist use wxImageList class
2241 --enable-infobar use wxInfoBar class
2242 --enable-listbook use wxListbook class
2243 --enable-listbox use wxListBox class
2244 --enable-listctrl use wxListCtrl class
2245 --enable-notebook use wxNotebook class
2246 --enable-notifmsg use wxNotificationMessage class
2247 --enable-odcombobox use wxOwnerDrawnComboBox class
2248 --enable-popupwin use wxPopUpWindow class
2249 --enable-radiobox use wxRadioBox class
2250 --enable-radiobtn use wxRadioButton class
2251 --enable-richmsgdlg use wxRichMessageDialog class
2252 --enable-richtooltip use wxRichToolTip class
2253 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
2254 --enable-sash use wxSashWindow class
2255 --enable-scrollbar use wxScrollBar class and scrollable windows
2256 --enable-searchctrl use wxSearchCtrl class
2257 --enable-slider use wxSlider class
2258 --enable-spinbtn use wxSpinButton class
2259 --enable-spinctrl use wxSpinCtrl class
2260 --enable-splitter use wxSplitterWindow class
2261 --enable-statbmp use wxStaticBitmap class
2262 --enable-statbox use wxStaticBox class
2263 --enable-statline use wxStaticLine class
2264 --enable-stattext use wxStaticText class
2265 --enable-statusbar use wxStatusBar class
2266 --enable-taskbaricon use wxTaskBarIcon class
2267 --enable-tbarnative use native wxToolBar class
2268 --enable-textctrl use wxTextCtrl class
2269 --enable-timepick use wxTimePickerCtrl class
2270 --enable-tipwindow use wxTipWindow class
2271 --enable-togglebtn use wxToggleButton class
2272 --enable-toolbar use wxToolBar class
2273 --enable-toolbook use wxToolbook class
2274 --enable-treebook use wxTreebook class
2275 --enable-treectrl use wxTreeCtrl class
2276 --enable-treelist use wxTreeListCtrl class
2277 --enable-commondlg use all common dialogs
2278 --enable-aboutdlg use wxAboutBox
2279 --enable-choicedlg use wxChoiceDialog
2280 --enable-coldlg use wxColourDialog
2281 --enable-filedlg use wxFileDialog
2282 --enable-finddlg use wxFindReplaceDialog
2283 --enable-fontdlg use wxFontDialog
2284 --enable-dirdlg use wxDirDialog
2285 --enable-msgdlg use wxMessageDialog
2286 --enable-numberdlg use wxNumberEntryDialog
2287 --enable-splash use wxSplashScreen
2288 --enable-textdlg use wxTextDialog
2289 --enable-tipdlg use startup tips
2290 --enable-progressdlg use wxProgressDialog
2291 --enable-wizarddlg use wxWizard
2292 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
2293 --enable-miniframe use wxMiniFrame class
2294 --enable-tooltips use wxToolTip class
2295 --enable-splines use spline drawing code
2296 --enable-mousewheel use mousewheel
2297 --enable-validators use wxValidator and derived classes
2298 --enable-busyinfo use wxBusyInfo
2299 --enable-hotkey use wxWindow::RegisterHotKey()
2300 --enable-joystick use wxJoystick
2301 --enable-metafiles use wxMetaFile
2302 --enable-dragimage use wxDragImage
2303 --enable-accessibility enable accessibility support
2304 --enable-uiactionsim use wxUIActionSimulator (experimental)
2305 --enable-dctransform use wxDC::SetTransformMatrix and related
2306 --enable-webviewwebkit use wxWebView WebKit backend
2307 --enable-palette use wxPalette class
2308 --enable-image use wxImage class
2309 --enable-gif use gif images (GIF file format)
2310 --enable-pcx use pcx images (PCX file format)
2311 --enable-tga use tga images (TGA file format)
2312 --enable-iff use iff images (IFF file format)
2313 --enable-pnm use pnm images (PNM file format)
2314 --enable-xpm use xpm images (XPM file format)
2315 --enable-ico_cur use Windows ICO and CUR formats
2316 --enable-dccache cache temporary wxDC objects (Win32 only)
2317 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
2318 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
2319 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
2320 --enable-wxdib use wxDIB class (Win32 only)
2321 --enable-webviewie use wxWebView IE backend (Win32 only)
2322 --enable-autoidman use automatic ids management
2323 --disable-largefile omit support for large files
2324 --disable-gtktest do not try to compile and run a test GTK+ program
2325 --disable-gtktest Do not try to compile and run a test GTK program
2326 --disable-sdltest Do not try to compile and run a test SDL program
2327 --enable-omf use OMF object format (OS/2)
2328 --disable-dependency-tracking
2329 don't use dependency tracking even if the compiler
2330 can
2331 --disable-precomp-headers
2332 don't use precompiled headers even if compiler can
2333
2334 Optional Packages:
2335 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2336 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2337 --without-subdirs don't generate makefiles for samples/demos/...
2338 --with-flavour=NAME specify a name to identify this build
2339 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2340 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2341 --with-motif use Motif/Lesstif
2342 --with-osx_carbon use Mac OS X (Carbon)
2343 --with-osx_cocoa use Mac OS X (Cocoa)
2344 --with-osx_iphone use iPhone OS X port
2345 --with-osx use Mac OS X (default port, currently Carbon)
2346 --with-carbon same as --with-osx_carbon
2347 --with-cocoa same as --with-osx_cocoa
2348 --with-iphone same as --with-osx_iphone
2349 --with-mac same as --with-osx
2350 --with-old_cocoa use old, deprecated, Cocoa port
2351 --with-wine use Wine
2352 --with-msw use MS-Windows
2353 --with-pm use OS/2 Presentation Manager
2354 --with-directfb use DirectFB
2355 --with-microwin use MicroWindows
2356 --with-x11 use X11
2357 --with-libpng use libpng (PNG image format)
2358 --with-libjpeg use libjpeg (JPEG file format)
2359 --with-libtiff use libtiff (TIFF file format)
2360 --with-libxpm use libxpm (XPM file format)
2361 --with-libiconv use libiconv (character conversion)
2362 --with-libmspack use libmspack (CHM help files loading)
2363 --without-gtkprint don't use GTK printing support
2364 --without-gnomeprint don't use GNOME printing libraries
2365 --with-gnomevfs use GNOME VFS for associating MIME types
2366 --with-libnotify use libnotify for notifications
2367 --with-hildon use Hildon framework for Nokia 770/800/810
2368 --with-opengl use OpenGL (or Mesa)
2369 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2370 --with-sdl use SDL for audio on Unix
2371 --with-regex enable support for wxRegEx class
2372 --with-zlib use zlib for LZW compression
2373 --with-expat enable XML support using expat parser
2374 --with-macosx-sdk=PATH use an OS X SDK at PATH
2375 --with-macosx-version-min=VER build binaries which require at least this OS X version
2376 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2377 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2378 --with-x use the X Window System
2379 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2380 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2381 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2382 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2383 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2384
2385 Some influential environment variables:
2386 CC C compiler command
2387 CFLAGS C compiler flags
2388 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2389 nonstandard directory <lib dir>
2390 LIBS libraries to pass to the linker, e.g. -l<library>
2391 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2392 you have headers in a nonstandard directory <include dir>
2393 CPP C preprocessor
2394 CXX C++ compiler command
2395 CXXFLAGS C++ compiler flags
2396 CXXCPP C++ preprocessor
2397 PKG_CONFIG path to pkg-config utility
2398 DIRECTFB_CFLAGS
2399 C compiler flags for DIRECTFB, overriding pkg-config
2400 DIRECTFB_LIBS
2401 linker flags for DIRECTFB, overriding pkg-config
2402 XMKMF Path to xmkmf, Makefile generator for X Window System
2403 PANGOX_CFLAGS
2404 C compiler flags for PANGOX, overriding pkg-config
2405 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2406 PANGOFT2_CFLAGS
2407 C compiler flags for PANGOFT2, overriding pkg-config
2408 PANGOFT2_LIBS
2409 linker flags for PANGOFT2, overriding pkg-config
2410 PANGOXFT_CFLAGS
2411 C compiler flags for PANGOXFT, overriding pkg-config
2412 PANGOXFT_LIBS
2413 linker flags for PANGOXFT, overriding pkg-config
2414 Xinerama_CFLAGS
2415 C compiler flags for Xinerama, overriding pkg-config
2416 Xinerama_LIBS
2417 linker flags for Xinerama, overriding pkg-config
2418 Xxf86vm_CFLAGS
2419 C compiler flags for Xxf86vm, overriding pkg-config
2420 Xxf86vm_LIBS
2421 linker flags for Xxf86vm, overriding pkg-config
2422 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2423 SM_LIBS linker flags for SM, overriding pkg-config
2424 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2425 GL_LIBS linker flags for GL, overriding pkg-config
2426 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2427 GLU_LIBS linker flags for GLU, overriding pkg-config
2428 MesaGL_CFLAGS
2429 C compiler flags for MesaGL, overriding pkg-config
2430 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2431 GTKPRINT_CFLAGS
2432 C compiler flags for GTKPRINT, overriding pkg-config
2433 GTKPRINT_LIBS
2434 linker flags for GTKPRINT, overriding pkg-config
2435 LIBGNOMEPRINTUI_CFLAGS
2436 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2437 LIBGNOMEPRINTUI_LIBS
2438 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2439 GNOMEVFS_CFLAGS
2440 C compiler flags for GNOMEVFS, overriding pkg-config
2441 GNOMEVFS_LIBS
2442 linker flags for GNOMEVFS, overriding pkg-config
2443 LIBNOTIFY_CFLAGS
2444 C compiler flags for LIBNOTIFY, overriding pkg-config
2445 LIBNOTIFY_LIBS
2446 linker flags for LIBNOTIFY, overriding pkg-config
2447 HILDON_CFLAGS
2448 C compiler flags for HILDON, overriding pkg-config
2449 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2450 HILDON2_CFLAGS
2451 C compiler flags for HILDON2, overriding pkg-config
2452 HILDON2_LIBS
2453 linker flags for HILDON2, overriding pkg-config
2454 WEBKIT_CFLAGS
2455 C compiler flags for WEBKIT, overriding pkg-config
2456 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2457 CAIRO_CFLAGS
2458 C compiler flags for CAIRO, overriding pkg-config
2459 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2460 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2461 GST_LIBS linker flags for GST, overriding pkg-config
2462
2463 Use these variables to override the choices made by `configure' or to help
2464 it to find libraries and programs with nonstandard names/locations.
2465
2466 Report bugs to <wx-dev@lists.wxwidgets.org>.
2467 _ACEOF
2468 ac_status=$?
2469 fi
2470
2471 if test "$ac_init_help" = "recursive"; then
2472 # If there are subdirs, report their specific --help.
2473 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2474 test -d "$ac_dir" ||
2475 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2476 continue
2477 ac_builddir=.
2478
2479 case "$ac_dir" in
2480 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2481 *)
2482 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2483 # A ".." for each directory in $ac_dir_suffix.
2484 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2485 case $ac_top_builddir_sub in
2486 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2487 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2488 esac ;;
2489 esac
2490 ac_abs_top_builddir=$ac_pwd
2491 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2492 # for backward compatibility:
2493 ac_top_builddir=$ac_top_build_prefix
2494
2495 case $srcdir in
2496 .) # We are building in place.
2497 ac_srcdir=.
2498 ac_top_srcdir=$ac_top_builddir_sub
2499 ac_abs_top_srcdir=$ac_pwd ;;
2500 [\\/]* | ?:[\\/]* ) # Absolute name.
2501 ac_srcdir=$srcdir$ac_dir_suffix;
2502 ac_top_srcdir=$srcdir
2503 ac_abs_top_srcdir=$srcdir ;;
2504 *) # Relative name.
2505 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2506 ac_top_srcdir=$ac_top_build_prefix$srcdir
2507 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2508 esac
2509 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2510
2511 cd "$ac_dir" || { ac_status=$?; continue; }
2512 # Check for guested configure.
2513 if test -f "$ac_srcdir/configure.gnu"; then
2514 echo &&
2515 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2516 elif test -f "$ac_srcdir/configure"; then
2517 echo &&
2518 $SHELL "$ac_srcdir/configure" --help=recursive
2519 else
2520 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2521 fi || ac_status=$?
2522 cd "$ac_pwd" || { ac_status=$?; break; }
2523 done
2524 fi
2525
2526 test -n "$ac_init_help" && exit $ac_status
2527 if $ac_init_version; then
2528 cat <<\_ACEOF
2529 wxWidgets configure 2.9.5
2530 generated by GNU Autoconf 2.69
2531
2532 Copyright (C) 2012 Free Software Foundation, Inc.
2533 This configure script is free software; the Free Software Foundation
2534 gives unlimited permission to copy, distribute and modify it.
2535 _ACEOF
2536 exit
2537 fi
2538
2539 ## ------------------------ ##
2540 ## Autoconf initialization. ##
2541 ## ------------------------ ##
2542
2543 # ac_fn_c_try_compile LINENO
2544 # --------------------------
2545 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2546 ac_fn_c_try_compile ()
2547 {
2548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2549 rm -f conftest.$ac_objext
2550 if { { ac_try="$ac_compile"
2551 case "(($ac_try" in
2552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2553 *) ac_try_echo=$ac_try;;
2554 esac
2555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2556 $as_echo "$ac_try_echo"; } >&5
2557 (eval "$ac_compile") 2>conftest.err
2558 ac_status=$?
2559 if test -s conftest.err; then
2560 grep -v '^ *+' conftest.err >conftest.er1
2561 cat conftest.er1 >&5
2562 mv -f conftest.er1 conftest.err
2563 fi
2564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2565 test $ac_status = 0; } && {
2566 test -z "$ac_c_werror_flag" ||
2567 test ! -s conftest.err
2568 } && test -s conftest.$ac_objext; then :
2569 ac_retval=0
2570 else
2571 $as_echo "$as_me: failed program was:" >&5
2572 sed 's/^/| /' conftest.$ac_ext >&5
2573
2574 ac_retval=1
2575 fi
2576 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2577 as_fn_set_status $ac_retval
2578
2579 } # ac_fn_c_try_compile
2580
2581 # ac_fn_c_try_cpp LINENO
2582 # ----------------------
2583 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2584 ac_fn_c_try_cpp ()
2585 {
2586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2587 if { { ac_try="$ac_cpp conftest.$ac_ext"
2588 case "(($ac_try" in
2589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2590 *) ac_try_echo=$ac_try;;
2591 esac
2592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2593 $as_echo "$ac_try_echo"; } >&5
2594 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2595 ac_status=$?
2596 if test -s conftest.err; then
2597 grep -v '^ *+' conftest.err >conftest.er1
2598 cat conftest.er1 >&5
2599 mv -f conftest.er1 conftest.err
2600 fi
2601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2602 test $ac_status = 0; } > conftest.i && {
2603 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2604 test ! -s conftest.err
2605 }; then :
2606 ac_retval=0
2607 else
2608 $as_echo "$as_me: failed program was:" >&5
2609 sed 's/^/| /' conftest.$ac_ext >&5
2610
2611 ac_retval=1
2612 fi
2613 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2614 as_fn_set_status $ac_retval
2615
2616 } # ac_fn_c_try_cpp
2617
2618 # ac_fn_cxx_try_compile LINENO
2619 # ----------------------------
2620 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2621 ac_fn_cxx_try_compile ()
2622 {
2623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2624 rm -f conftest.$ac_objext
2625 if { { ac_try="$ac_compile"
2626 case "(($ac_try" in
2627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2628 *) ac_try_echo=$ac_try;;
2629 esac
2630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2631 $as_echo "$ac_try_echo"; } >&5
2632 (eval "$ac_compile") 2>conftest.err
2633 ac_status=$?
2634 if test -s conftest.err; then
2635 grep -v '^ *+' conftest.err >conftest.er1
2636 cat conftest.er1 >&5
2637 mv -f conftest.er1 conftest.err
2638 fi
2639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2640 test $ac_status = 0; } && {
2641 test -z "$ac_cxx_werror_flag" ||
2642 test ! -s conftest.err
2643 } && test -s conftest.$ac_objext; then :
2644 ac_retval=0
2645 else
2646 $as_echo "$as_me: failed program was:" >&5
2647 sed 's/^/| /' conftest.$ac_ext >&5
2648
2649 ac_retval=1
2650 fi
2651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2652 as_fn_set_status $ac_retval
2653
2654 } # ac_fn_cxx_try_compile
2655
2656 # ac_fn_c_try_link LINENO
2657 # -----------------------
2658 # Try to link conftest.$ac_ext, and return whether this succeeded.
2659 ac_fn_c_try_link ()
2660 {
2661 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2662 rm -f conftest.$ac_objext conftest$ac_exeext
2663 if { { ac_try="$ac_link"
2664 case "(($ac_try" in
2665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2666 *) ac_try_echo=$ac_try;;
2667 esac
2668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2669 $as_echo "$ac_try_echo"; } >&5
2670 (eval "$ac_link") 2>conftest.err
2671 ac_status=$?
2672 if test -s conftest.err; then
2673 grep -v '^ *+' conftest.err >conftest.er1
2674 cat conftest.er1 >&5
2675 mv -f conftest.er1 conftest.err
2676 fi
2677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2678 test $ac_status = 0; } && {
2679 test -z "$ac_c_werror_flag" ||
2680 test ! -s conftest.err
2681 } && test -s conftest$ac_exeext && {
2682 test "$cross_compiling" = yes ||
2683 test -x conftest$ac_exeext
2684 }; then :
2685 ac_retval=0
2686 else
2687 $as_echo "$as_me: failed program was:" >&5
2688 sed 's/^/| /' conftest.$ac_ext >&5
2689
2690 ac_retval=1
2691 fi
2692 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2693 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2694 # interfere with the next link command; also delete a directory that is
2695 # left behind by Apple's compiler. We do this before executing the actions.
2696 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2698 as_fn_set_status $ac_retval
2699
2700 } # ac_fn_c_try_link
2701
2702 # ac_fn_cxx_try_link LINENO
2703 # -------------------------
2704 # Try to link conftest.$ac_ext, and return whether this succeeded.
2705 ac_fn_cxx_try_link ()
2706 {
2707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2708 rm -f conftest.$ac_objext conftest$ac_exeext
2709 if { { ac_try="$ac_link"
2710 case "(($ac_try" in
2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2713 esac
2714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2715 $as_echo "$ac_try_echo"; } >&5
2716 (eval "$ac_link") 2>conftest.err
2717 ac_status=$?
2718 if test -s conftest.err; then
2719 grep -v '^ *+' conftest.err >conftest.er1
2720 cat conftest.er1 >&5
2721 mv -f conftest.er1 conftest.err
2722 fi
2723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2724 test $ac_status = 0; } && {
2725 test -z "$ac_cxx_werror_flag" ||
2726 test ! -s conftest.err
2727 } && test -s conftest$ac_exeext && {
2728 test "$cross_compiling" = yes ||
2729 test -x conftest$ac_exeext
2730 }; then :
2731 ac_retval=0
2732 else
2733 $as_echo "$as_me: failed program was:" >&5
2734 sed 's/^/| /' conftest.$ac_ext >&5
2735
2736 ac_retval=1
2737 fi
2738 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2739 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2740 # interfere with the next link command; also delete a directory that is
2741 # left behind by Apple's compiler. We do this before executing the actions.
2742 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2744 as_fn_set_status $ac_retval
2745
2746 } # ac_fn_cxx_try_link
2747
2748 # ac_fn_c_try_run LINENO
2749 # ----------------------
2750 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2751 # that executables *can* be run.
2752 ac_fn_c_try_run ()
2753 {
2754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2755 if { { ac_try="$ac_link"
2756 case "(($ac_try" in
2757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2758 *) ac_try_echo=$ac_try;;
2759 esac
2760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2761 $as_echo "$ac_try_echo"; } >&5
2762 (eval "$ac_link") 2>&5
2763 ac_status=$?
2764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2765 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2766 { { case "(($ac_try" in
2767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768 *) ac_try_echo=$ac_try;;
2769 esac
2770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2771 $as_echo "$ac_try_echo"; } >&5
2772 (eval "$ac_try") 2>&5
2773 ac_status=$?
2774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2775 test $ac_status = 0; }; }; then :
2776 ac_retval=0
2777 else
2778 $as_echo "$as_me: program exited with status $ac_status" >&5
2779 $as_echo "$as_me: failed program was:" >&5
2780 sed 's/^/| /' conftest.$ac_ext >&5
2781
2782 ac_retval=$ac_status
2783 fi
2784 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2786 as_fn_set_status $ac_retval
2787
2788 } # ac_fn_c_try_run
2789
2790 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2791 # -------------------------------------------------------
2792 # Tests whether HEADER exists and can be compiled using the include files in
2793 # INCLUDES, setting the cache variable VAR accordingly.
2794 ac_fn_c_check_header_compile ()
2795 {
2796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2798 $as_echo_n "checking for $2... " >&6; }
2799 if eval \${$3+:} false; then :
2800 $as_echo_n "(cached) " >&6
2801 else
2802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2803 /* end confdefs.h. */
2804 $4
2805 #include <$2>
2806 _ACEOF
2807 if ac_fn_c_try_compile "$LINENO"; then :
2808 eval "$3=yes"
2809 else
2810 eval "$3=no"
2811 fi
2812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2813 fi
2814 eval ac_res=\$$3
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2816 $as_echo "$ac_res" >&6; }
2817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2818
2819 } # ac_fn_c_check_header_compile
2820
2821 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2822 # ---------------------------------------------------------
2823 # Tests whether HEADER exists and can be compiled using the include files in
2824 # INCLUDES, setting the cache variable VAR accordingly.
2825 ac_fn_cxx_check_header_compile ()
2826 {
2827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2829 $as_echo_n "checking for $2... " >&6; }
2830 if eval \${$3+:} false; then :
2831 $as_echo_n "(cached) " >&6
2832 else
2833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2834 /* end confdefs.h. */
2835 $4
2836 #include <$2>
2837 _ACEOF
2838 if ac_fn_cxx_try_compile "$LINENO"; then :
2839 eval "$3=yes"
2840 else
2841 eval "$3=no"
2842 fi
2843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2844 fi
2845 eval ac_res=\$$3
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2847 $as_echo "$ac_res" >&6; }
2848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2849
2850 } # ac_fn_cxx_check_header_compile
2851
2852 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2853 # --------------------------------------------
2854 # Tries to find the compile-time value of EXPR in a program that includes
2855 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2856 # computed
2857 ac_fn_c_compute_int ()
2858 {
2859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2860 if test "$cross_compiling" = yes; then
2861 # Depending upon the size, compute the lo and hi bounds.
2862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2863 /* end confdefs.h. */
2864 $4
2865 int
2866 main ()
2867 {
2868 static int test_array [1 - 2 * !(($2) >= 0)];
2869 test_array [0] = 0;
2870 return test_array [0];
2871
2872 ;
2873 return 0;
2874 }
2875 _ACEOF
2876 if ac_fn_c_try_compile "$LINENO"; then :
2877 ac_lo=0 ac_mid=0
2878 while :; do
2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2880 /* end confdefs.h. */
2881 $4
2882 int
2883 main ()
2884 {
2885 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2886 test_array [0] = 0;
2887 return test_array [0];
2888
2889 ;
2890 return 0;
2891 }
2892 _ACEOF
2893 if ac_fn_c_try_compile "$LINENO"; then :
2894 ac_hi=$ac_mid; break
2895 else
2896 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2897 if test $ac_lo -le $ac_mid; then
2898 ac_lo= ac_hi=
2899 break
2900 fi
2901 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2902 fi
2903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2904 done
2905 else
2906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2907 /* end confdefs.h. */
2908 $4
2909 int
2910 main ()
2911 {
2912 static int test_array [1 - 2 * !(($2) < 0)];
2913 test_array [0] = 0;
2914 return test_array [0];
2915
2916 ;
2917 return 0;
2918 }
2919 _ACEOF
2920 if ac_fn_c_try_compile "$LINENO"; then :
2921 ac_hi=-1 ac_mid=-1
2922 while :; do
2923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2924 /* end confdefs.h. */
2925 $4
2926 int
2927 main ()
2928 {
2929 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2930 test_array [0] = 0;
2931 return test_array [0];
2932
2933 ;
2934 return 0;
2935 }
2936 _ACEOF
2937 if ac_fn_c_try_compile "$LINENO"; then :
2938 ac_lo=$ac_mid; break
2939 else
2940 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2941 if test $ac_mid -le $ac_hi; then
2942 ac_lo= ac_hi=
2943 break
2944 fi
2945 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2946 fi
2947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2948 done
2949 else
2950 ac_lo= ac_hi=
2951 fi
2952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2953 fi
2954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2955 # Binary search between lo and hi bounds.
2956 while test "x$ac_lo" != "x$ac_hi"; do
2957 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2959 /* end confdefs.h. */
2960 $4
2961 int
2962 main ()
2963 {
2964 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2965 test_array [0] = 0;
2966 return test_array [0];
2967
2968 ;
2969 return 0;
2970 }
2971 _ACEOF
2972 if ac_fn_c_try_compile "$LINENO"; then :
2973 ac_hi=$ac_mid
2974 else
2975 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2976 fi
2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2978 done
2979 case $ac_lo in #((
2980 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2981 '') ac_retval=1 ;;
2982 esac
2983 else
2984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2985 /* end confdefs.h. */
2986 $4
2987 static long int longval () { return $2; }
2988 static unsigned long int ulongval () { return $2; }
2989 #include <stdio.h>
2990 #include <stdlib.h>
2991 int
2992 main ()
2993 {
2994
2995 FILE *f = fopen ("conftest.val", "w");
2996 if (! f)
2997 return 1;
2998 if (($2) < 0)
2999 {
3000 long int i = longval ();
3001 if (i != ($2))
3002 return 1;
3003 fprintf (f, "%ld", i);
3004 }
3005 else
3006 {
3007 unsigned long int i = ulongval ();
3008 if (i != ($2))
3009 return 1;
3010 fprintf (f, "%lu", i);
3011 }
3012 /* Do not output a trailing newline, as this causes \r\n confusion
3013 on some platforms. */
3014 return ferror (f) || fclose (f) != 0;
3015
3016 ;
3017 return 0;
3018 }
3019 _ACEOF
3020 if ac_fn_c_try_run "$LINENO"; then :
3021 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3022 else
3023 ac_retval=1
3024 fi
3025 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3026 conftest.$ac_objext conftest.beam conftest.$ac_ext
3027 rm -f conftest.val
3028
3029 fi
3030 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3031 as_fn_set_status $ac_retval
3032
3033 } # ac_fn_c_compute_int
3034
3035 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3036 # ---------------------------------------------
3037 # Tests whether TYPE exists after having included INCLUDES, setting cache
3038 # variable VAR accordingly.
3039 ac_fn_cxx_check_type ()
3040 {
3041 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3043 $as_echo_n "checking for $2... " >&6; }
3044 if eval \${$3+:} false; then :
3045 $as_echo_n "(cached) " >&6
3046 else
3047 eval "$3=no"
3048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3049 /* end confdefs.h. */
3050 $4
3051 int
3052 main ()
3053 {
3054 if (sizeof ($2))
3055 return 0;
3056 ;
3057 return 0;
3058 }
3059 _ACEOF
3060 if ac_fn_cxx_try_compile "$LINENO"; then :
3061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3062 /* end confdefs.h. */
3063 $4
3064 int
3065 main ()
3066 {
3067 if (sizeof (($2)))
3068 return 0;
3069 ;
3070 return 0;
3071 }
3072 _ACEOF
3073 if ac_fn_cxx_try_compile "$LINENO"; then :
3074
3075 else
3076 eval "$3=yes"
3077 fi
3078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3079 fi
3080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3081 fi
3082 eval ac_res=\$$3
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3084 $as_echo "$ac_res" >&6; }
3085 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3086
3087 } # ac_fn_cxx_check_type
3088
3089 # ac_fn_cxx_try_cpp LINENO
3090 # ------------------------
3091 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3092 ac_fn_cxx_try_cpp ()
3093 {
3094 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3095 if { { ac_try="$ac_cpp conftest.$ac_ext"
3096 case "(($ac_try" in
3097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3099 esac
3100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3101 $as_echo "$ac_try_echo"; } >&5
3102 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3103 ac_status=$?
3104 if test -s conftest.err; then
3105 grep -v '^ *+' conftest.err >conftest.er1
3106 cat conftest.er1 >&5
3107 mv -f conftest.er1 conftest.err
3108 fi
3109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3110 test $ac_status = 0; } > conftest.i && {
3111 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3112 test ! -s conftest.err
3113 }; then :
3114 ac_retval=0
3115 else
3116 $as_echo "$as_me: failed program was:" >&5
3117 sed 's/^/| /' conftest.$ac_ext >&5
3118
3119 ac_retval=1
3120 fi
3121 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3122 as_fn_set_status $ac_retval
3123
3124 } # ac_fn_cxx_try_cpp
3125
3126 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3127 # ---------------------------------------------------------
3128 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3129 # the include files in INCLUDES and setting the cache variable VAR
3130 # accordingly.
3131 ac_fn_cxx_check_header_mongrel ()
3132 {
3133 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3134 if eval \${$3+:} false; then :
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3136 $as_echo_n "checking for $2... " >&6; }
3137 if eval \${$3+:} false; then :
3138 $as_echo_n "(cached) " >&6
3139 fi
3140 eval ac_res=\$$3
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3142 $as_echo "$ac_res" >&6; }
3143 else
3144 # Is the header compilable?
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3146 $as_echo_n "checking $2 usability... " >&6; }
3147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3148 /* end confdefs.h. */
3149 $4
3150 #include <$2>
3151 _ACEOF
3152 if ac_fn_cxx_try_compile "$LINENO"; then :
3153 ac_header_compiler=yes
3154 else
3155 ac_header_compiler=no
3156 fi
3157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3159 $as_echo "$ac_header_compiler" >&6; }
3160
3161 # Is the header present?
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3163 $as_echo_n "checking $2 presence... " >&6; }
3164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3165 /* end confdefs.h. */
3166 #include <$2>
3167 _ACEOF
3168 if ac_fn_cxx_try_cpp "$LINENO"; then :
3169 ac_header_preproc=yes
3170 else
3171 ac_header_preproc=no
3172 fi
3173 rm -f conftest.err conftest.i conftest.$ac_ext
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3175 $as_echo "$ac_header_preproc" >&6; }
3176
3177 # So? What about this header?
3178 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3179 yes:no: )
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3181 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3183 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3184 ;;
3185 no:yes:* )
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3187 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3189 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3191 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3193 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3195 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3196 ( $as_echo "## ----------------------------------------- ##
3197 ## Report this to wx-dev@lists.wxwidgets.org ##
3198 ## ----------------------------------------- ##"
3199 ) | sed "s/^/$as_me: WARNING: /" >&2
3200 ;;
3201 esac
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 eval "$3=\$ac_header_compiler"
3208 fi
3209 eval ac_res=\$$3
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3211 $as_echo "$ac_res" >&6; }
3212 fi
3213 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3214
3215 } # ac_fn_cxx_check_header_mongrel
3216
3217 # ac_fn_c_check_func LINENO FUNC VAR
3218 # ----------------------------------
3219 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3220 ac_fn_c_check_func ()
3221 {
3222 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3224 $as_echo_n "checking for $2... " >&6; }
3225 if eval \${$3+:} false; then :
3226 $as_echo_n "(cached) " >&6
3227 else
3228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3229 /* end confdefs.h. */
3230 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3232 #define $2 innocuous_$2
3233
3234 /* System header to define __stub macros and hopefully few prototypes,
3235 which can conflict with char $2 (); below.
3236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3237 <limits.h> exists even on freestanding compilers. */
3238
3239 #ifdef __STDC__
3240 # include <limits.h>
3241 #else
3242 # include <assert.h>
3243 #endif
3244
3245 #undef $2
3246
3247 /* Override any GCC internal prototype to avoid an error.
3248 Use char because int might match the return type of a GCC
3249 builtin and then its argument prototype would still apply. */
3250 #ifdef __cplusplus
3251 extern "C"
3252 #endif
3253 char $2 ();
3254 /* The GNU C library defines this for functions which it implements
3255 to always fail with ENOSYS. Some functions are actually named
3256 something starting with __ and the normal name is an alias. */
3257 #if defined __stub_$2 || defined __stub___$2
3258 choke me
3259 #endif
3260
3261 int
3262 main ()
3263 {
3264 return $2 ();
3265 ;
3266 return 0;
3267 }
3268 _ACEOF
3269 if ac_fn_c_try_link "$LINENO"; then :
3270 eval "$3=yes"
3271 else
3272 eval "$3=no"
3273 fi
3274 rm -f core conftest.err conftest.$ac_objext \
3275 conftest$ac_exeext conftest.$ac_ext
3276 fi
3277 eval ac_res=\$$3
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3279 $as_echo "$ac_res" >&6; }
3280 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3281
3282 } # ac_fn_c_check_func
3283
3284 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3285 # -------------------------------------------
3286 # Tests whether TYPE exists after having included INCLUDES, setting cache
3287 # variable VAR accordingly.
3288 ac_fn_c_check_type ()
3289 {
3290 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3292 $as_echo_n "checking for $2... " >&6; }
3293 if eval \${$3+:} false; then :
3294 $as_echo_n "(cached) " >&6
3295 else
3296 eval "$3=no"
3297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3298 /* end confdefs.h. */
3299 $4
3300 int
3301 main ()
3302 {
3303 if (sizeof ($2))
3304 return 0;
3305 ;
3306 return 0;
3307 }
3308 _ACEOF
3309 if ac_fn_c_try_compile "$LINENO"; then :
3310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3311 /* end confdefs.h. */
3312 $4
3313 int
3314 main ()
3315 {
3316 if (sizeof (($2)))
3317 return 0;
3318 ;
3319 return 0;
3320 }
3321 _ACEOF
3322 if ac_fn_c_try_compile "$LINENO"; then :
3323
3324 else
3325 eval "$3=yes"
3326 fi
3327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3328 fi
3329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3330 fi
3331 eval ac_res=\$$3
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3333 $as_echo "$ac_res" >&6; }
3334 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3335
3336 } # ac_fn_c_check_type
3337
3338 # ac_fn_cxx_try_run LINENO
3339 # ------------------------
3340 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3341 # that executables *can* be run.
3342 ac_fn_cxx_try_run ()
3343 {
3344 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3345 if { { ac_try="$ac_link"
3346 case "(($ac_try" in
3347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3348 *) ac_try_echo=$ac_try;;
3349 esac
3350 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3351 $as_echo "$ac_try_echo"; } >&5
3352 (eval "$ac_link") 2>&5
3353 ac_status=$?
3354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3355 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3356 { { case "(($ac_try" in
3357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3358 *) ac_try_echo=$ac_try;;
3359 esac
3360 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3361 $as_echo "$ac_try_echo"; } >&5
3362 (eval "$ac_try") 2>&5
3363 ac_status=$?
3364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3365 test $ac_status = 0; }; }; then :
3366 ac_retval=0
3367 else
3368 $as_echo "$as_me: program exited with status $ac_status" >&5
3369 $as_echo "$as_me: failed program was:" >&5
3370 sed 's/^/| /' conftest.$ac_ext >&5
3371
3372 ac_retval=$ac_status
3373 fi
3374 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3375 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3376 as_fn_set_status $ac_retval
3377
3378 } # ac_fn_cxx_try_run
3379 cat >config.log <<_ACEOF
3380 This file contains any messages produced by compilers while
3381 running configure, to aid debugging if configure makes a mistake.
3382
3383 It was created by wxWidgets $as_me 2.9.5, which was
3384 generated by GNU Autoconf 2.69. Invocation command line was
3385
3386 $ $0 $@
3387
3388 _ACEOF
3389 exec 5>>config.log
3390 {
3391 cat <<_ASUNAME
3392 ## --------- ##
3393 ## Platform. ##
3394 ## --------- ##
3395
3396 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3397 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3398 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3399 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3400 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3401
3402 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3403 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3404
3405 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3406 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3407 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3408 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3409 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3410 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3411 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3412
3413 _ASUNAME
3414
3415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3416 for as_dir in $PATH
3417 do
3418 IFS=$as_save_IFS
3419 test -z "$as_dir" && as_dir=.
3420 $as_echo "PATH: $as_dir"
3421 done
3422 IFS=$as_save_IFS
3423
3424 } >&5
3425
3426 cat >&5 <<_ACEOF
3427
3428
3429 ## ----------- ##
3430 ## Core tests. ##
3431 ## ----------- ##
3432
3433 _ACEOF
3434
3435
3436 # Keep a trace of the command line.
3437 # Strip out --no-create and --no-recursion so they do not pile up.
3438 # Strip out --silent because we don't want to record it for future runs.
3439 # Also quote any args containing shell meta-characters.
3440 # Make two passes to allow for proper duplicate-argument suppression.
3441 ac_configure_args=
3442 ac_configure_args0=
3443 ac_configure_args1=
3444 ac_must_keep_next=false
3445 for ac_pass in 1 2
3446 do
3447 for ac_arg
3448 do
3449 case $ac_arg in
3450 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3451 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3452 | -silent | --silent | --silen | --sile | --sil)
3453 continue ;;
3454 *\'*)
3455 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3456 esac
3457 case $ac_pass in
3458 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3459 2)
3460 as_fn_append ac_configure_args1 " '$ac_arg'"
3461 if test $ac_must_keep_next = true; then
3462 ac_must_keep_next=false # Got value, back to normal.
3463 else
3464 case $ac_arg in
3465 *=* | --config-cache | -C | -disable-* | --disable-* \
3466 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3467 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3468 | -with-* | --with-* | -without-* | --without-* | --x)
3469 case "$ac_configure_args0 " in
3470 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3471 esac
3472 ;;
3473 -* ) ac_must_keep_next=true ;;
3474 esac
3475 fi
3476 as_fn_append ac_configure_args " '$ac_arg'"
3477 ;;
3478 esac
3479 done
3480 done
3481 { ac_configure_args0=; unset ac_configure_args0;}
3482 { ac_configure_args1=; unset ac_configure_args1;}
3483
3484 # When interrupted or exit'd, cleanup temporary files, and complete
3485 # config.log. We remove comments because anyway the quotes in there
3486 # would cause problems or look ugly.
3487 # WARNING: Use '\'' to represent an apostrophe within the trap.
3488 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3489 trap 'exit_status=$?
3490 # Save into config.log some information that might help in debugging.
3491 {
3492 echo
3493
3494 $as_echo "## ---------------- ##
3495 ## Cache variables. ##
3496 ## ---------------- ##"
3497 echo
3498 # The following way of writing the cache mishandles newlines in values,
3499 (
3500 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3501 eval ac_val=\$$ac_var
3502 case $ac_val in #(
3503 *${as_nl}*)
3504 case $ac_var in #(
3505 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3506 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3507 esac
3508 case $ac_var in #(
3509 _ | IFS | as_nl) ;; #(
3510 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3511 *) { eval $ac_var=; unset $ac_var;} ;;
3512 esac ;;
3513 esac
3514 done
3515 (set) 2>&1 |
3516 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3517 *${as_nl}ac_space=\ *)
3518 sed -n \
3519 "s/'\''/'\''\\\\'\'''\''/g;
3520 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3521 ;; #(
3522 *)
3523 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3524 ;;
3525 esac |
3526 sort
3527 )
3528 echo
3529
3530 $as_echo "## ----------------- ##
3531 ## Output variables. ##
3532 ## ----------------- ##"
3533 echo
3534 for ac_var in $ac_subst_vars
3535 do
3536 eval ac_val=\$$ac_var
3537 case $ac_val in
3538 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3539 esac
3540 $as_echo "$ac_var='\''$ac_val'\''"
3541 done | sort
3542 echo
3543
3544 if test -n "$ac_subst_files"; then
3545 $as_echo "## ------------------- ##
3546 ## File substitutions. ##
3547 ## ------------------- ##"
3548 echo
3549 for ac_var in $ac_subst_files
3550 do
3551 eval ac_val=\$$ac_var
3552 case $ac_val in
3553 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3554 esac
3555 $as_echo "$ac_var='\''$ac_val'\''"
3556 done | sort
3557 echo
3558 fi
3559
3560 if test -s confdefs.h; then
3561 $as_echo "## ----------- ##
3562 ## confdefs.h. ##
3563 ## ----------- ##"
3564 echo
3565 cat confdefs.h
3566 echo
3567 fi
3568 test "$ac_signal" != 0 &&
3569 $as_echo "$as_me: caught signal $ac_signal"
3570 $as_echo "$as_me: exit $exit_status"
3571 } >&5
3572 rm -f core *.core core.conftest.* &&
3573 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3574 exit $exit_status
3575 ' 0
3576 for ac_signal in 1 2 13 15; do
3577 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3578 done
3579 ac_signal=0
3580
3581 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3582 rm -f -r conftest* confdefs.h
3583
3584 $as_echo "/* confdefs.h */" > confdefs.h
3585
3586 # Predefined preprocessor variables.
3587
3588 cat >>confdefs.h <<_ACEOF
3589 #define PACKAGE_NAME "$PACKAGE_NAME"
3590 _ACEOF
3591
3592 cat >>confdefs.h <<_ACEOF
3593 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3594 _ACEOF
3595
3596 cat >>confdefs.h <<_ACEOF
3597 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3598 _ACEOF
3599
3600 cat >>confdefs.h <<_ACEOF
3601 #define PACKAGE_STRING "$PACKAGE_STRING"
3602 _ACEOF
3603
3604 cat >>confdefs.h <<_ACEOF
3605 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3606 _ACEOF
3607
3608 cat >>confdefs.h <<_ACEOF
3609 #define PACKAGE_URL "$PACKAGE_URL"
3610 _ACEOF
3611
3612
3613 # Let the site file select an alternate cache file if it wants to.
3614 # Prefer an explicitly selected file to automatically selected ones.
3615 ac_site_file1=NONE
3616 ac_site_file2=NONE
3617 if test -n "$CONFIG_SITE"; then
3618 # We do not want a PATH search for config.site.
3619 case $CONFIG_SITE in #((
3620 -*) ac_site_file1=./$CONFIG_SITE;;
3621 */*) ac_site_file1=$CONFIG_SITE;;
3622 *) ac_site_file1=./$CONFIG_SITE;;
3623 esac
3624 elif test "x$prefix" != xNONE; then
3625 ac_site_file1=$prefix/share/config.site
3626 ac_site_file2=$prefix/etc/config.site
3627 else
3628 ac_site_file1=$ac_default_prefix/share/config.site
3629 ac_site_file2=$ac_default_prefix/etc/config.site
3630 fi
3631 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3632 do
3633 test "x$ac_site_file" = xNONE && continue
3634 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3636 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3637 sed 's/^/| /' "$ac_site_file" >&5
3638 . "$ac_site_file" \
3639 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3641 as_fn_error $? "failed to load site script $ac_site_file
3642 See \`config.log' for more details" "$LINENO" 5; }
3643 fi
3644 done
3645
3646 if test -r "$cache_file"; then
3647 # Some versions of bash will fail to source /dev/null (special files
3648 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3649 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3651 $as_echo "$as_me: loading cache $cache_file" >&6;}
3652 case $cache_file in
3653 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3654 *) . "./$cache_file";;
3655 esac
3656 fi
3657 else
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3659 $as_echo "$as_me: creating cache $cache_file" >&6;}
3660 >$cache_file
3661 fi
3662
3663 # Check that the precious variables saved in the cache have kept the same
3664 # value.
3665 ac_cache_corrupted=false
3666 for ac_var in $ac_precious_vars; do
3667 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3668 eval ac_new_set=\$ac_env_${ac_var}_set
3669 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3670 eval ac_new_val=\$ac_env_${ac_var}_value
3671 case $ac_old_set,$ac_new_set in
3672 set,)
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3674 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3675 ac_cache_corrupted=: ;;
3676 ,set)
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3678 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3679 ac_cache_corrupted=: ;;
3680 ,);;
3681 *)
3682 if test "x$ac_old_val" != "x$ac_new_val"; then
3683 # differences in whitespace do not lead to failure.
3684 ac_old_val_w=`echo x $ac_old_val`
3685 ac_new_val_w=`echo x $ac_new_val`
3686 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3688 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3689 ac_cache_corrupted=:
3690 else
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3692 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3693 eval $ac_var=\$ac_old_val
3694 fi
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3696 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3698 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3699 fi;;
3700 esac
3701 # Pass precious variables to config.status.
3702 if test "$ac_new_set" = set; then
3703 case $ac_new_val in
3704 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3705 *) ac_arg=$ac_var=$ac_new_val ;;
3706 esac
3707 case " $ac_configure_args " in
3708 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3709 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3710 esac
3711 fi
3712 done
3713 if $ac_cache_corrupted; then
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3717 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3718 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3719 fi
3720 ## -------------------- ##
3721 ## Main body of script. ##
3722 ## -------------------- ##
3723
3724 ac_ext=c
3725 ac_cpp='$CPP $CPPFLAGS'
3726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3729
3730
3731
3732
3733
3734 ac_aux_dir=
3735 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3736 if test -f "$ac_dir/install-sh"; then
3737 ac_aux_dir=$ac_dir
3738 ac_install_sh="$ac_aux_dir/install-sh -c"
3739 break
3740 elif test -f "$ac_dir/install.sh"; then
3741 ac_aux_dir=$ac_dir
3742 ac_install_sh="$ac_aux_dir/install.sh -c"
3743 break
3744 elif test -f "$ac_dir/shtool"; then
3745 ac_aux_dir=$ac_dir
3746 ac_install_sh="$ac_aux_dir/shtool install -c"
3747 break
3748 fi
3749 done
3750 if test -z "$ac_aux_dir"; then
3751 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3752 fi
3753
3754 # These three variables are undocumented and unsupported,
3755 # and are intended to be withdrawn in a future Autoconf release.
3756 # They can cause serious problems if a builder's source tree is in a directory
3757 # whose full name contains unusual characters.
3758 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3759 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3760 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3761
3762
3763 # Make sure we can run config.sub.
3764 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3765 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3766
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3768 $as_echo_n "checking build system type... " >&6; }
3769 if ${ac_cv_build+:} false; then :
3770 $as_echo_n "(cached) " >&6
3771 else
3772 ac_build_alias=$build_alias
3773 test "x$ac_build_alias" = x &&
3774 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3775 test "x$ac_build_alias" = x &&
3776 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3777 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3778 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3779
3780 fi
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3782 $as_echo "$ac_cv_build" >&6; }
3783 case $ac_cv_build in
3784 *-*-*) ;;
3785 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3786 esac
3787 build=$ac_cv_build
3788 ac_save_IFS=$IFS; IFS='-'
3789 set x $ac_cv_build
3790 shift
3791 build_cpu=$1
3792 build_vendor=$2
3793 shift; shift
3794 # Remember, the first character of IFS is used to create $*,
3795 # except with old shells:
3796 build_os=$*
3797 IFS=$ac_save_IFS
3798 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3799
3800
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3802 $as_echo_n "checking host system type... " >&6; }
3803 if ${ac_cv_host+:} false; then :
3804 $as_echo_n "(cached) " >&6
3805 else
3806 if test "x$host_alias" = x; then
3807 ac_cv_host=$ac_cv_build
3808 else
3809 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3810 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3811 fi
3812
3813 fi
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3815 $as_echo "$ac_cv_host" >&6; }
3816 case $ac_cv_host in
3817 *-*-*) ;;
3818 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3819 esac
3820 host=$ac_cv_host
3821 ac_save_IFS=$IFS; IFS='-'
3822 set x $ac_cv_host
3823 shift
3824 host_cpu=$1
3825 host_vendor=$2
3826 shift; shift
3827 # Remember, the first character of IFS is used to create $*,
3828 # except with old shells:
3829 host_os=$*
3830 IFS=$ac_save_IFS
3831 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3832
3833
3834
3835 if test "$cross_compiling" != "no"; then
3836 HOST_PREFIX="${host_alias}-"
3837 HOST_SUFFIX="-$host_alias"
3838 else
3839 HOST_PREFIX=
3840 HOST_SUFFIX=
3841 fi
3842
3843
3844 wx_major_version_number=2
3845 wx_minor_version_number=9
3846 wx_release_number=5
3847 wx_subrelease_number=0
3848
3849 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
3850 WX_VERSION=$WX_RELEASE.$wx_release_number
3851 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
3852
3853 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
3854
3855
3856 wx_top_builddir="`pwd`"
3857
3858
3859
3860
3861 USE_UNIX=1
3862 USE_OS2=0
3863 USE_WIN32=0
3864 USE_DOS=0
3865 USE_BEOS=0
3866 USE_MAC=0
3867
3868 USE_AIX=
3869 USE_BSD= USE_DARWIN= USE_FREEBSD=
3870 USE_GNU= USE_HPUX=
3871 USE_LINUX=
3872 USE_NETBSD=
3873 USE_OPENBSD=
3874 USE_OSF= USE_SGI=
3875 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
3876 USE_ULTRIX=
3877 USE_UNIXWARE=
3878
3879 USE_ALPHA=
3880
3881 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
3882
3883 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3884
3885 DEFAULT_wxUSE_OLD_COCOA=0
3886 DEFAULT_wxUSE_GTK=0
3887 DEFAULT_wxUSE_OSX_CARBON=0
3888 DEFAULT_wxUSE_OSX_COCOA=0
3889 DEFAULT_wxUSE_OSX_IPHONE=0
3890 DEFAULT_wxUSE_MICROWIN=0
3891 DEFAULT_wxUSE_MOTIF=0
3892 DEFAULT_wxUSE_MSW=0
3893 DEFAULT_wxUSE_PM=0
3894 DEFAULT_wxUSE_X11=0
3895 DEFAULT_wxUSE_DFB=0
3896
3897 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
3898 DEFAULT_DEFAULT_wxUSE_GTK=0
3899 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
3900 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
3901 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
3902 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
3903 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3904 DEFAULT_DEFAULT_wxUSE_MSW=0
3905 DEFAULT_DEFAULT_wxUSE_PM=0
3906 DEFAULT_DEFAULT_wxUSE_X11=0
3907 DEFAULT_DEFAULT_wxUSE_DFB=0
3908
3909 PROGRAM_EXT=
3910 SAMPLES_RPATH_FLAG=
3911 DYLIB_RPATH_INSTALL=
3912 DYLIB_RPATH_POSTLINK=
3913
3914 DEFAULT_STD_FLAG=yes
3915
3916 case "${host}" in
3917 *-hp-hpux* )
3918 USE_HPUX=1
3919 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3920 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3921 $as_echo "#define __HPUX__ 1" >>confdefs.h
3922
3923
3924 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
3925 ;;
3926 *-*-linux* )
3927 USE_LINUX=1
3928 $as_echo "#define __LINUX__ 1" >>confdefs.h
3929
3930 TMP=`uname -m`
3931 if test "x$TMP" = "xalpha"; then
3932 USE_ALPHA=1
3933 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3934
3935 fi
3936 DEFAULT_DEFAULT_wxUSE_GTK=1
3937 ;;
3938 *-*-gnu* | *-*-k*bsd*-gnu )
3939 USE_GNU=1
3940 TMP=`uname -m`
3941 if test "x$TMP" = "xalpha"; then
3942 USE_ALPHA=1
3943 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3944
3945 fi
3946 DEFAULT_DEFAULT_wxUSE_GTK=1
3947 ;;
3948 *-*-irix5* | *-*-irix6* )
3949 USE_SGI=1
3950 USE_SVR4=1
3951 $as_echo "#define __SGI__ 1" >>confdefs.h
3952
3953 $as_echo "#define __SVR4__ 1" >>confdefs.h
3954
3955 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3956 ;;
3957 *-*-qnx*)
3958 USE_QNX=1
3959 $as_echo "#define __QNX__ 1" >>confdefs.h
3960
3961 DEFAULT_DEFAULT_wxUSE_X11=1
3962 ;;
3963 *-*-solaris2* )
3964 USE_SUN=1
3965 USE_SOLARIS=1
3966 USE_SVR4=1
3967 $as_echo "#define __SUN__ 1" >>confdefs.h
3968
3969 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3970
3971 $as_echo "#define __SVR4__ 1" >>confdefs.h
3972
3973 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3974 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3975 ;;
3976 *-*-sunos4* )
3977 USE_SUN=1
3978 USE_SUNOS=1
3979 USE_BSD=1
3980 $as_echo "#define __SUN__ 1" >>confdefs.h
3981
3982 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3983
3984 $as_echo "#define __BSD__ 1" >>confdefs.h
3985
3986 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3987 ;;
3988 *-*-freebsd*)
3989 USE_BSD=1
3990 USE_FREEBSD=1
3991 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3992
3993 $as_echo "#define __BSD__ 1" >>confdefs.h
3994
3995 DEFAULT_DEFAULT_wxUSE_GTK=1
3996 ;;
3997 *-*-openbsd*|*-*-mirbsd*)
3998 USE_BSD=1
3999 USE_OPENBSD=1
4000 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
4001
4002 $as_echo "#define __BSD__ 1" >>confdefs.h
4003
4004 DEFAULT_DEFAULT_wxUSE_GTK=1
4005 ;;
4006 *-*-netbsd*)
4007 USE_BSD=1
4008 USE_NETBSD=1
4009 $as_echo "#define __NETBSD__ 1" >>confdefs.h
4010
4011 $as_echo "#define __BSD__ 1" >>confdefs.h
4012
4013 DEFAULT_DEFAULT_wxUSE_GTK=1
4014 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
4015
4016 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
4017 ;;
4018 *-*-osf* )
4019 USE_ALPHA=1
4020 USE_OSF=1
4021 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4022
4023 $as_echo "#define __OSF__ 1" >>confdefs.h
4024
4025 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4026 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
4027 ;;
4028 *-*-dgux5* )
4029 USE_ALPHA=1
4030 USE_SVR4=1
4031 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4032
4033 $as_echo "#define __SVR4__ 1" >>confdefs.h
4034
4035 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4036 ;;
4037 *-*-sysv5* )
4038 USE_SYSV=1
4039 USE_SVR4=1
4040 $as_echo "#define __SYSV__ 1" >>confdefs.h
4041
4042 $as_echo "#define __SVR4__ 1" >>confdefs.h
4043
4044 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4045 ;;
4046 *-*-aix* )
4047 USE_AIX=1
4048 USE_SYSV=1
4049 USE_SVR4=1
4050 $as_echo "#define __AIX__ 1" >>confdefs.h
4051
4052 $as_echo "#define __SYSV__ 1" >>confdefs.h
4053
4054 $as_echo "#define __SVR4__ 1" >>confdefs.h
4055
4056 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4057 ;;
4058
4059 *-*-*UnixWare*)
4060 USE_SYSV=1
4061 USE_SVR4=1
4062 USE_UNIXWARE=1
4063 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4064
4065 ;;
4066
4067 *-*-cygwin* | *-*-mingw32* )
4068 PROGRAM_EXT=".exe"
4069 DEFAULT_DEFAULT_wxUSE_MSW=1
4070 ;;
4071
4072 *-pc-msdosdjgpp )
4073 USE_UNIX=0
4074 USE_DOS=1
4075 $as_echo "#define __DOS__ 1" >>confdefs.h
4076
4077 PROGRAM_EXT=".exe"
4078 ;;
4079
4080 *-pc-os2_emx | *-pc-os2-emx )
4081 $as_echo "#define __EMX__ 1" >>confdefs.h
4082
4083 USE_OS2=1
4084 $as_echo "#define __OS2__ 1" >>confdefs.h
4085
4086 PROGRAM_EXT=".exe"
4087 DEFAULT_DEFAULT_wxUSE_PM=1
4088 CXX=gcc
4089 LDFLAGS="$LDFLAGS -Zcrtdll"
4090 ac_executable_extensions=".exe"
4091 export ac_executable_extensions
4092 ac_save_IFS="$IFS"
4093 IFS='\\'
4094 ac_TEMP_PATH=
4095 for ac_dir in $PATH; do
4096 IFS=$ac_save_IFS
4097 if test -z "$ac_TEMP_PATH"; then
4098 ac_TEMP_PATH="$ac_dir"
4099 else
4100 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
4101 fi
4102 done
4103 export PATH="$ac_TEMP_PATH"
4104 unset ac_TEMP_PATH
4105 DEFAULT_STD_FLAG=no
4106 ;;
4107
4108 arm-apple-darwin*)
4109 USE_BSD=1
4110 USE_DARWIN=1
4111 $as_echo "#define __BSD__ 1" >>confdefs.h
4112
4113 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4114
4115 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
4116 ;;
4117
4118 *-*-darwin* )
4119 USE_BSD=1
4120 USE_DARWIN=1
4121 $as_echo "#define __BSD__ 1" >>confdefs.h
4122
4123 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4124
4125 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4126
4127 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
4128 ;;
4129
4130 *-*-beos* )
4131 USE_BEOS=1
4132 $as_echo "#define __BEOS__ 1" >>confdefs.h
4133
4134 ;;
4135
4136 *)
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4138 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4140 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4141
4142 DEFAULT_DEFAULT_wxUSE_X11=1
4143 DEFAULT_wxUSE_SHARED=no
4144 esac
4145
4146
4147
4148 DEFAULT_wxUSE_ALL_FEATURES=yes
4149
4150 DEFAULT_wxUSE_STD_CONTAINERS=no
4151 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
4152 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
4153
4154 DEFAULT_wxUSE_DMALLOC=no
4155 DEFAULT_wxUSE_LIBGNOMEVFS=no
4156 DEFAULT_wxUSE_LIBHILDON=no
4157 DEFAULT_wxUSE_LIBHILDON2=no
4158 DEFAULT_wxUSE_LIBMSPACK=no
4159 DEFAULT_wxUSE_LIBSDL=no
4160
4161 DEFAULT_wxUSE_ACCESSIBILITY=no
4162 DEFAULT_wxUSE_IPV6=no
4163 DEFAULT_wxUSE_GSTREAMER8=no
4164 DEFAULT_wxUSE_UNICODE_UTF8=no
4165 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
4166
4167 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
4168 DEFAULT_wxUSE_OPENGL=auto
4169 DEFAULT_wxUSE_MEDIACTRL=auto
4170 DEFAULT_wxUSE_COMPILER_TLS=auto
4171 DEFAULT_wxUSE_HOTKEY=auto
4172 DEFAULT_wxUSE_METAFILE=auto
4173
4174 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
4175 DEFAULT_wxUSE_MAC_ARCH=no
4176
4177 DEFAULT_wxUSE_OFFICIAL_BUILD=no
4178
4179 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
4180
4181
4182
4183
4184
4185 enablestring=disable
4186 defaultval=
4187 if test -z "$defaultval"; then
4188 if test x"$enablestring" = xdisable; then
4189 defaultval=yes
4190 else
4191 defaultval=no
4192 fi
4193 fi
4194
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4196 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4197 # Check whether --enable-gui was given.
4198 if test "${enable_gui+set}" = set; then :
4199 enableval=$enable_gui;
4200 if test "$enableval" = yes; then
4201 wx_cv_use_gui='wxUSE_GUI=yes'
4202 else
4203 wx_cv_use_gui='wxUSE_GUI=no'
4204 fi
4205
4206 else
4207
4208 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4209
4210 fi
4211
4212
4213 eval "$wx_cv_use_gui"
4214
4215 if test x"$enablestring" = xdisable; then
4216 if test $wxUSE_GUI = no; then
4217 result=yes
4218 else
4219 result=no
4220 fi
4221 else
4222 result=$wxUSE_GUI
4223 fi
4224
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4226 $as_echo "$result" >&6; }
4227
4228
4229 enablestring=
4230 defaultval=
4231 if test -z "$defaultval"; then
4232 if test x"$enablestring" = xdisable; then
4233 defaultval=yes
4234 else
4235 defaultval=no
4236 fi
4237 fi
4238
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4240 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4241 # Check whether --enable-monolithic was given.
4242 if test "${enable_monolithic+set}" = set; then :
4243 enableval=$enable_monolithic;
4244 if test "$enableval" = yes; then
4245 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
4246 else
4247 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
4248 fi
4249
4250 else
4251
4252 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4253
4254 fi
4255
4256
4257 eval "$wx_cv_use_monolithic"
4258
4259 if test x"$enablestring" = xdisable; then
4260 if test $wxUSE_MONOLITHIC = no; then
4261 result=yes
4262 else
4263 result=no
4264 fi
4265 else
4266 result=$wxUSE_MONOLITHIC
4267 fi
4268
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4270 $as_echo "$result" >&6; }
4271
4272
4273 enablestring=
4274 defaultval=
4275 if test -z "$defaultval"; then
4276 if test x"$enablestring" = xdisable; then
4277 defaultval=yes
4278 else
4279 defaultval=no
4280 fi
4281 fi
4282
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-plugins" >&5
4284 $as_echo_n "checking for --${enablestring:-enable}-plugins... " >&6; }
4285 # Check whether --enable-plugins was given.
4286 if test "${enable_plugins+set}" = set; then :
4287 enableval=$enable_plugins;
4288 if test "$enableval" = yes; then
4289 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4290 else
4291 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4292 fi
4293
4294 else
4295
4296 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4297
4298 fi
4299
4300
4301 eval "$wx_cv_use_plugins"
4302
4303 if test x"$enablestring" = xdisable; then
4304 if test $wxUSE_PLUGINS = no; then
4305 result=yes
4306 else
4307 result=no
4308 fi
4309 else
4310 result=$wxUSE_PLUGINS
4311 fi
4312
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4314 $as_echo "$result" >&6; }
4315
4316
4317 withstring=without
4318 defaultval=$wxUSE_ALL_FEATURES
4319 if test -z "$defaultval"; then
4320 if test x"$withstring" = xwithout; then
4321 defaultval=yes
4322 else
4323 defaultval=no
4324 fi
4325 fi
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4327 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4328
4329 # Check whether --with-subdirs was given.
4330 if test "${with_subdirs+set}" = set; then :
4331 withval=$with_subdirs;
4332 if test "$withval" = yes; then
4333 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
4334 else
4335 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
4336 fi
4337
4338 else
4339
4340 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4341
4342 fi
4343
4344
4345 eval "$wx_cv_use_subdirs"
4346
4347 if test x"$withstring" = xwithout; then
4348 if test $wxWITH_SUBDIRS = yes; then
4349 result=no
4350 else
4351 result=yes
4352 fi
4353 else
4354 result=$wxWITH_SUBDIRS
4355 fi
4356
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4358 $as_echo "$result" >&6; }
4359
4360
4361 # Check whether --with-flavour was given.
4362 if test "${with_flavour+set}" = set; then :
4363 withval=$with_flavour; WX_FLAVOUR="$withval"
4364 fi
4365
4366
4367 enablestring=
4368 defaultval=
4369 if test -z "$defaultval"; then
4370 if test x"$enablestring" = xdisable; then
4371 defaultval=yes
4372 else
4373 defaultval=no
4374 fi
4375 fi
4376
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4378 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4379 # Check whether --enable-official_build was given.
4380 if test "${enable_official_build+set}" = set; then :
4381 enableval=$enable_official_build;
4382 if test "$enableval" = yes; then
4383 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
4384 else
4385 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
4386 fi
4387
4388 else
4389
4390 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4391
4392 fi
4393
4394
4395 eval "$wx_cv_use_official_build"
4396
4397 if test x"$enablestring" = xdisable; then
4398 if test $wxUSE_OFFICIAL_BUILD = no; then
4399 result=yes
4400 else
4401 result=no
4402 fi
4403 else
4404 result=$wxUSE_OFFICIAL_BUILD
4405 fi
4406
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4408 $as_echo "$result" >&6; }
4409
4410 # Check whether --enable-vendor was given.
4411 if test "${enable_vendor+set}" = set; then :
4412 enableval=$enable_vendor; VENDOR="$enableval"
4413 fi
4414
4415 if test "x$VENDOR" = "x"; then
4416 VENDOR="custom"
4417 fi
4418
4419
4420 enablestring=disable
4421 defaultval=
4422 if test -z "$defaultval"; then
4423 if test x"$enablestring" = xdisable; then
4424 defaultval=yes
4425 else
4426 defaultval=no
4427 fi
4428 fi
4429
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-all-features" >&5
4431 $as_echo_n "checking for --${enablestring:-enable}-all-features... " >&6; }
4432 # Check whether --enable-all-features was given.
4433 if test "${enable_all_features+set}" = set; then :
4434 enableval=$enable_all_features;
4435 if test "$enableval" = yes; then
4436 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4437 else
4438 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4439 fi
4440
4441 else
4442
4443 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4444
4445 fi
4446
4447
4448 eval "$wx_cv_use_all_features"
4449
4450 if test x"$enablestring" = xdisable; then
4451 if test $wxUSE_ALL_FEATURES = no; then
4452 result=yes
4453 else
4454 result=no
4455 fi
4456 else
4457 result=$wxUSE_ALL_FEATURES
4458 fi
4459
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4461 $as_echo "$result" >&6; }
4462
4463
4464 if test "$wxUSE_ALL_FEATURES" = "no"; then
4465 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
4466 DEFAULT_wxUSE_MEDIACTRL=no
4467 fi
4468
4469
4470 if test "$wxUSE_GUI" = "yes"; then
4471
4472
4473 enablestring=
4474 defaultval=
4475 if test -z "$defaultval"; then
4476 if test x"$enablestring" = xdisable; then
4477 defaultval=yes
4478 else
4479 defaultval=no
4480 fi
4481 fi
4482
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4484 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4485 # Check whether --enable-universal was given.
4486 if test "${enable_universal+set}" = set; then :
4487 enableval=$enable_universal;
4488 if test "$enableval" = yes; then
4489 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
4490 else
4491 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
4492 fi
4493
4494 else
4495
4496 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4497
4498 fi
4499
4500
4501 eval "$wx_cv_use_universal"
4502
4503 if test x"$enablestring" = xdisable; then
4504 if test $wxUSE_UNIVERSAL = no; then
4505 result=yes
4506 else
4507 result=no
4508 fi
4509 else
4510 result=$wxUSE_UNIVERSAL
4511 fi
4512
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4514 $as_echo "$result" >&6; }
4515
4516 if test "$wxUSE_UNIVERSAL" = "yes"; then
4517
4518 # Check whether --with-themes was given.
4519 if test "${with_themes+set}" = set; then :
4520 withval=$with_themes; wxUNIV_THEMES="$withval"
4521 fi
4522
4523 fi
4524
4525
4526 # Check whether --with-gtk was given.
4527 if test "${with_gtk+set}" = set; then :
4528 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4529 fi
4530
4531
4532 # Check whether --with-motif was given.
4533 if test "${with_motif+set}" = set; then :
4534 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4535 fi
4536
4537
4538 # Check whether --with-osx_carbon was given.
4539 if test "${with_osx_carbon+set}" = set; then :
4540 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4541 fi
4542
4543
4544 # Check whether --with-osx_cocoa was given.
4545 if test "${with_osx_cocoa+set}" = set; then :
4546 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4547 fi
4548
4549
4550 # Check whether --with-osx_iphone was given.
4551 if test "${with_osx_iphone+set}" = set; then :
4552 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4553 fi
4554
4555
4556 # Check whether --with-osx was given.
4557 if test "${with_osx+set}" = set; then :
4558 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4559 fi
4560
4561
4562 # Check whether --with-carbon was given.
4563 if test "${with_carbon+set}" = set; then :
4564 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4565 fi
4566
4567
4568 # Check whether --with-cocoa was given.
4569 if test "${with_cocoa+set}" = set; then :
4570 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4571 fi
4572
4573
4574 # Check whether --with-iphone was given.
4575 if test "${with_iphone+set}" = set; then :
4576 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4577 fi
4578
4579
4580 # Check whether --with-mac was given.
4581 if test "${with_mac+set}" = set; then :
4582 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4583 fi
4584
4585
4586 # Check whether --with-old_cocoa was given.
4587 if test "${with_old_cocoa+set}" = set; then :
4588 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4589 fi
4590
4591
4592 # Check whether --with-wine was given.
4593 if test "${with_wine+set}" = set; then :
4594 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4595 fi
4596
4597
4598 # Check whether --with-msw was given.
4599 if test "${with_msw+set}" = set; then :
4600 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4601 fi
4602
4603
4604 # Check whether --with-pm was given.
4605 if test "${with_pm+set}" = set; then :
4606 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4607 fi
4608
4609
4610 # Check whether --with-directfb was given.
4611 if test "${with_directfb+set}" = set; then :
4612 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4613 fi
4614
4615
4616 # Check whether --with-microwin was given.
4617 if test "${with_microwin+set}" = set; then :
4618 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4619 fi
4620
4621
4622 # Check whether --with-x11 was given.
4623 if test "${with_x11+set}" = set; then :
4624 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4625 fi
4626
4627
4628 enablestring=
4629 defaultval=
4630 if test -z "$defaultval"; then
4631 if test x"$enablestring" = xdisable; then
4632 defaultval=yes
4633 else
4634 defaultval=no
4635 fi
4636 fi
4637
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4639 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4640 # Check whether --enable-nanox was given.
4641 if test "${enable_nanox+set}" = set; then :
4642 enableval=$enable_nanox;
4643 if test "$enableval" = yes; then
4644 wx_cv_use_nanox='wxUSE_NANOX=yes'
4645 else
4646 wx_cv_use_nanox='wxUSE_NANOX=no'
4647 fi
4648
4649 else
4650
4651 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4652
4653 fi
4654
4655
4656 eval "$wx_cv_use_nanox"
4657
4658 if test x"$enablestring" = xdisable; then
4659 if test $wxUSE_NANOX = no; then
4660 result=yes
4661 else
4662 result=no
4663 fi
4664 else
4665 result=$wxUSE_NANOX
4666 fi
4667
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4669 $as_echo "$result" >&6; }
4670
4671
4672 enablestring=
4673 defaultval=
4674 if test -z "$defaultval"; then
4675 if test x"$enablestring" = xdisable; then
4676 defaultval=yes
4677 else
4678 defaultval=no
4679 fi
4680 fi
4681
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gpe" >&5
4683 $as_echo_n "checking for --${enablestring:-enable}-gpe... " >&6; }
4684 # Check whether --enable-gpe was given.
4685 if test "${enable_gpe+set}" = set; then :
4686 enableval=$enable_gpe;
4687 if test "$enableval" = yes; then
4688 wx_cv_use_gpe='wxUSE_GPE=yes'
4689 else
4690 wx_cv_use_gpe='wxUSE_GPE=no'
4691 fi
4692
4693 else
4694
4695 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4696
4697 fi
4698
4699
4700 eval "$wx_cv_use_gpe"
4701
4702 if test x"$enablestring" = xdisable; then
4703 if test $wxUSE_GPE = no; then
4704 result=yes
4705 else
4706 result=no
4707 fi
4708 else
4709 result=$wxUSE_GPE
4710 fi
4711
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4713 $as_echo "$result" >&6; }
4714
4715
4716
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4718 $as_echo_n "checking for toolkit... " >&6; }
4719
4720
4721
4722 # In Wine, we need to default to MSW, not GTK or MOTIF
4723 if test "$wxUSE_WINE" = "yes"; then
4724 DEFAULT_DEFAULT_wxUSE_GTK=0
4725 DEFAULT_DEFAULT_wxUSE_MOTIF=0
4726 DEFAULT_DEFAULT_wxUSE_MSW=1
4727 wxUSE_SHARED=no
4728 CC=${CC:-winegcc}
4729 CXX=${CXX:-wineg++}
4730 fi
4731
4732
4733 if test "$wxUSE_GUI" = "yes"; then
4734
4735 if test "$USE_BEOS" = 1; then
4736 as_fn_error $? "BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4737 fi
4738
4739 if test "$TOOLKIT_GIVEN" = 1; then
4740 for toolkit in $ALL_TOOLKITS; do
4741 var=wxUSE_$toolkit
4742 eval "value=\$${var}"
4743 if test "x$value" = "xno"; then
4744 eval "$var=0"
4745 elif test "x$value" != "x"; then
4746 eval "$var=1"
4747 fi
4748
4749 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4750 eval "wx${toolkit}_VERSION=$value"
4751 fi
4752 done
4753 else
4754 for toolkit in $ALL_TOOLKITS; do
4755 var=DEFAULT_DEFAULT_wxUSE_$toolkit
4756 eval "wxUSE_$toolkit=\$${var}"
4757 done
4758 fi
4759
4760 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4761 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4762 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4763
4764 case "${host}" in
4765 *-pc-os2_emx | *-pc-os2-emx )
4766 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4767 esac
4768
4769 case "$NUM_TOOLKITS" in
4770 1)
4771 ;;
4772 0)
4773 as_fn_error $? "Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4774 ;;
4775 *)
4776 as_fn_error $? "Please specify at most one toolkit" "$LINENO" 5
4777 esac
4778
4779 for toolkit in $ALL_TOOLKITS; do
4780 var=wxUSE_$toolkit
4781 eval "value=\$${var}"
4782 if test "$value" = 1; then
4783 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4785 $as_echo "$toolkit_echo" >&6; }
4786 fi
4787 done
4788 else
4789 if test "x$host_alias" != "x"; then
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4791 $as_echo "base ($host_alias hosted) only" >&6; }
4792 else
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4794 $as_echo "base only" >&6; }
4795 fi
4796 fi
4797
4798 wxUSE_MAC=0
4799 if test "$wxUSE_OSX_CARBON" = 1 \
4800 -o "$wxUSE_OSX_COCOA" = 1 \
4801 -o "$wxUSE_OSX_IPHONE" = 1; then
4802 wxUSE_MAC=1
4803 fi
4804
4805
4806
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4808 $as_echo_n "checking for --with-libpng... " >&6; }
4809
4810 # Check whether --with-libpng was given.
4811 if test "${with_libpng+set}" = set; then :
4812 withval=$with_libpng;
4813 if test "$withval" = yes; then
4814 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
4815 elif test "$withval" = no; then
4816 wx_cv_use_libpng='wxUSE_LIBPNG=no'
4817 elif test "$withval" = sys; then
4818 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
4819 elif test "$withval" = builtin; then
4820 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
4821 else
4822 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4823 fi
4824
4825 else
4826
4827 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4828
4829 fi
4830
4831
4832 eval "$wx_cv_use_libpng"
4833
4834 if test "$wxUSE_LIBPNG" = yes; then
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4836 $as_echo "yes" >&6; }
4837 elif test "$wxUSE_LIBPNG" = no; then
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4839 $as_echo "no" >&6; }
4840 elif test "$wxUSE_LIBPNG" = sys; then
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4842 $as_echo "system version" >&6; }
4843 elif test "$wxUSE_LIBPNG" = builtin; then
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4845 $as_echo "builtin version" >&6; }
4846 else
4847 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4848 fi
4849
4850
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4852 $as_echo_n "checking for --with-libjpeg... " >&6; }
4853
4854 # Check whether --with-libjpeg was given.
4855 if test "${with_libjpeg+set}" = set; then :
4856 withval=$with_libjpeg;
4857 if test "$withval" = yes; then
4858 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
4859 elif test "$withval" = no; then
4860 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
4861 elif test "$withval" = sys; then
4862 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
4863 elif test "$withval" = builtin; then
4864 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
4865 else
4866 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4867 fi
4868
4869 else
4870
4871 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4872
4873 fi
4874
4875
4876 eval "$wx_cv_use_libjpeg"
4877
4878 if test "$wxUSE_LIBJPEG" = yes; then
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4880 $as_echo "yes" >&6; }
4881 elif test "$wxUSE_LIBJPEG" = no; then
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4883 $as_echo "no" >&6; }
4884 elif test "$wxUSE_LIBJPEG" = sys; then
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4886 $as_echo "system version" >&6; }
4887 elif test "$wxUSE_LIBJPEG" = builtin; then
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4889 $as_echo "builtin version" >&6; }
4890 else
4891 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4892 fi
4893
4894
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libtiff" >&5
4896 $as_echo_n "checking for --with-libtiff... " >&6; }
4897
4898 # Check whether --with-libtiff was given.
4899 if test "${with_libtiff+set}" = set; then :
4900 withval=$with_libtiff;
4901 if test "$withval" = yes; then
4902 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4903 elif test "$withval" = no; then
4904 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4905 elif test "$withval" = sys; then
4906 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4907 elif test "$withval" = builtin; then
4908 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4909 else
4910 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4911 fi
4912
4913 else
4914
4915 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4916
4917 fi
4918
4919
4920 eval "$wx_cv_use_libtiff"
4921
4922 if test "$wxUSE_LIBTIFF" = yes; then
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4924 $as_echo "yes" >&6; }
4925 elif test "$wxUSE_LIBTIFF" = no; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4927 $as_echo "no" >&6; }
4928 elif test "$wxUSE_LIBTIFF" = sys; then
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4930 $as_echo "system version" >&6; }
4931 elif test "$wxUSE_LIBTIFF" = builtin; then
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4933 $as_echo "builtin version" >&6; }
4934 else
4935 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4936 fi
4937
4938
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4940 $as_echo_n "checking for --with-libxpm... " >&6; }
4941
4942 # Check whether --with-libxpm was given.
4943 if test "${with_libxpm+set}" = set; then :
4944 withval=$with_libxpm;
4945 if test "$withval" = yes; then
4946 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
4947 elif test "$withval" = no; then
4948 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
4949 elif test "$withval" = sys; then
4950 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
4951 elif test "$withval" = builtin; then
4952 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
4953 else
4954 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4955 fi
4956
4957 else
4958
4959 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4960
4961 fi
4962
4963
4964 eval "$wx_cv_use_libxpm"
4965
4966 if test "$wxUSE_LIBXPM" = yes; then
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4968 $as_echo "yes" >&6; }
4969 elif test "$wxUSE_LIBXPM" = no; then
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4971 $as_echo "no" >&6; }
4972 elif test "$wxUSE_LIBXPM" = sys; then
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4974 $as_echo "system version" >&6; }
4975 elif test "$wxUSE_LIBXPM" = builtin; then
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4977 $as_echo "builtin version" >&6; }
4978 else
4979 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4980 fi
4981
4982
4983 withstring=
4984 defaultval=$wxUSE_ALL_FEATURES
4985 if test -z "$defaultval"; then
4986 if test x"$withstring" = xwithout; then
4987 defaultval=yes
4988 else
4989 defaultval=no
4990 fi
4991 fi
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
4993 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4994
4995 # Check whether --with-libiconv was given.
4996 if test "${with_libiconv+set}" = set; then :
4997 withval=$with_libiconv;
4998 if test "$withval" = yes; then
4999 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
5000 else
5001 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
5002 fi
5003
5004 else
5005
5006 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
5007
5008 fi
5009
5010
5011 eval "$wx_cv_use_libiconv"
5012
5013 if test x"$withstring" = xwithout; then
5014 if test $wxUSE_LIBICONV = yes; then
5015 result=no
5016 else
5017 result=yes
5018 fi
5019 else
5020 result=$wxUSE_LIBICONV
5021 fi
5022
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5024 $as_echo "$result" >&6; }
5025
5026
5027 withstring=
5028 defaultval=$wxUSE_ALL_FEATURES
5029 if test -z "$defaultval"; then
5030 if test x"$withstring" = xwithout; then
5031 defaultval=yes
5032 else
5033 defaultval=no
5034 fi
5035 fi
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
5037 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
5038
5039 # Check whether --with-libmspack was given.
5040 if test "${with_libmspack+set}" = set; then :
5041 withval=$with_libmspack;
5042 if test "$withval" = yes; then
5043 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5044 else
5045 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5046 fi
5047
5048 else
5049
5050 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5051
5052 fi
5053
5054
5055 eval "$wx_cv_use_libmspack"
5056
5057 if test x"$withstring" = xwithout; then
5058 if test $wxUSE_LIBMSPACK = yes; then
5059 result=no
5060 else
5061 result=yes
5062 fi
5063 else
5064 result=$wxUSE_LIBMSPACK
5065 fi
5066
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5068 $as_echo "$result" >&6; }
5069
5070
5071 withstring=without
5072 defaultval=$wxUSE_ALL_FEATURES
5073 if test -z "$defaultval"; then
5074 if test x"$withstring" = xwithout; then
5075 defaultval=yes
5076 else
5077 defaultval=no
5078 fi
5079 fi
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5081 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5082
5083 # Check whether --with-gtkprint was given.
5084 if test "${with_gtkprint+set}" = set; then :
5085 withval=$with_gtkprint;
5086 if test "$withval" = yes; then
5087 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5088 else
5089 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5090 fi
5091
5092 else
5093
5094 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5095
5096 fi
5097
5098
5099 eval "$wx_cv_use_gtkprint"
5100
5101 if test x"$withstring" = xwithout; then
5102 if test $wxUSE_GTKPRINT = yes; then
5103 result=no
5104 else
5105 result=yes
5106 fi
5107 else
5108 result=$wxUSE_GTKPRINT
5109 fi
5110
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5112 $as_echo "$result" >&6; }
5113
5114
5115 withstring=without
5116 defaultval=$wxUSE_ALL_FEATURES
5117 if test -z "$defaultval"; then
5118 if test x"$withstring" = xwithout; then
5119 defaultval=yes
5120 else
5121 defaultval=no
5122 fi
5123 fi
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5125 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5126
5127 # Check whether --with-gnomeprint was given.
5128 if test "${with_gnomeprint+set}" = set; then :
5129 withval=$with_gnomeprint;
5130 if test "$withval" = yes; then
5131 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
5132 else
5133 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
5134 fi
5135
5136 else
5137
5138 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5139
5140 fi
5141
5142
5143 eval "$wx_cv_use_gnomeprint"
5144
5145 if test x"$withstring" = xwithout; then
5146 if test $wxUSE_LIBGNOMEPRINT = yes; then
5147 result=no
5148 else
5149 result=yes
5150 fi
5151 else
5152 result=$wxUSE_LIBGNOMEPRINT
5153 fi
5154
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5156 $as_echo "$result" >&6; }
5157
5158
5159 withstring=
5160 defaultval=$wxUSE_ALL_FEATURES
5161 if test -z "$defaultval"; then
5162 if test x"$withstring" = xwithout; then
5163 defaultval=yes
5164 else
5165 defaultval=no
5166 fi
5167 fi
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5169 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5170
5171 # Check whether --with-gnomevfs was given.
5172 if test "${with_gnomevfs+set}" = set; then :
5173 withval=$with_gnomevfs;
5174 if test "$withval" = yes; then
5175 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5176 else
5177 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5178 fi
5179
5180 else
5181
5182 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5183
5184 fi
5185
5186
5187 eval "$wx_cv_use_gnomevfs"
5188
5189 if test x"$withstring" = xwithout; then
5190 if test $wxUSE_LIBGNOMEVFS = yes; then
5191 result=no
5192 else
5193 result=yes
5194 fi
5195 else
5196 result=$wxUSE_LIBGNOMEVFS
5197 fi
5198
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5200 $as_echo "$result" >&6; }
5201
5202
5203 withstring=
5204 defaultval=$wxUSE_ALL_FEATURES
5205 if test -z "$defaultval"; then
5206 if test x"$withstring" = xwithout; then
5207 defaultval=yes
5208 else
5209 defaultval=no
5210 fi
5211 fi
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libnotify" >&5
5213 $as_echo_n "checking for --${withstring:-with}-libnotify... " >&6; }
5214
5215 # Check whether --with-libnotify was given.
5216 if test "${with_libnotify+set}" = set; then :
5217 withval=$with_libnotify;
5218 if test "$withval" = yes; then
5219 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=yes'
5220 else
5221 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=no'
5222 fi
5223
5224 else
5225
5226 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}"
5227
5228 fi
5229
5230
5231 eval "$wx_cv_use_libnotify"
5232
5233 if test x"$withstring" = xwithout; then
5234 if test $wxUSE_LIBNOTIFY = yes; then
5235 result=no
5236 else
5237 result=yes
5238 fi
5239 else
5240 result=$wxUSE_LIBNOTIFY
5241 fi
5242
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5244 $as_echo "$result" >&6; }
5245
5246
5247 withstring=
5248 defaultval=$wxUSE_ALL_FEATURES
5249 if test -z "$defaultval"; then
5250 if test x"$withstring" = xwithout; then
5251 defaultval=yes
5252 else
5253 defaultval=no
5254 fi
5255 fi
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5257 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5258
5259 # Check whether --with-hildon was given.
5260 if test "${with_hildon+set}" = set; then :
5261 withval=$with_hildon;
5262 if test "$withval" = yes; then
5263 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
5264 else
5265 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
5266 fi
5267
5268 else
5269
5270 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5271
5272 fi
5273
5274
5275 eval "$wx_cv_use_hildon"
5276
5277 if test x"$withstring" = xwithout; then
5278 if test $wxUSE_LIBHILDON = yes; then
5279 result=no
5280 else
5281 result=yes
5282 fi
5283 else
5284 result=$wxUSE_LIBHILDON
5285 fi
5286
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5288 $as_echo "$result" >&6; }
5289
5290
5291 withstring=
5292 defaultval=$wxUSE_ALL_FEATURES
5293 if test -z "$defaultval"; then
5294 if test x"$withstring" = xwithout; then
5295 defaultval=yes
5296 else
5297 defaultval=no
5298 fi
5299 fi
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5301 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5302
5303 # Check whether --with-opengl was given.
5304 if test "${with_opengl+set}" = set; then :
5305 withval=$with_opengl;
5306 if test "$withval" = yes; then
5307 wx_cv_use_opengl='wxUSE_OPENGL=yes'
5308 else
5309 wx_cv_use_opengl='wxUSE_OPENGL=no'
5310 fi
5311
5312 else
5313
5314 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5315
5316 fi
5317
5318
5319 eval "$wx_cv_use_opengl"
5320
5321 if test x"$withstring" = xwithout; then
5322 if test $wxUSE_OPENGL = yes; then
5323 result=no
5324 else
5325 result=yes
5326 fi
5327 else
5328 result=$wxUSE_OPENGL
5329 fi
5330
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5332 $as_echo "$result" >&6; }
5333
5334
5335 fi
5336
5337
5338 withstring=
5339 defaultval=$wxUSE_ALL_FEATURES
5340 if test -z "$defaultval"; then
5341 if test x"$withstring" = xwithout; then
5342 defaultval=yes
5343 else
5344 defaultval=no
5345 fi
5346 fi
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5348 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5349
5350 # Check whether --with-dmalloc was given.
5351 if test "${with_dmalloc+set}" = set; then :
5352 withval=$with_dmalloc;
5353 if test "$withval" = yes; then
5354 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5355 else
5356 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5357 fi
5358
5359 else
5360
5361 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5362
5363 fi
5364
5365
5366 eval "$wx_cv_use_dmalloc"
5367
5368 if test x"$withstring" = xwithout; then
5369 if test $wxUSE_DMALLOC = yes; then
5370 result=no
5371 else
5372 result=yes
5373 fi
5374 else
5375 result=$wxUSE_DMALLOC
5376 fi
5377
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5379 $as_echo "$result" >&6; }
5380
5381
5382 withstring=
5383 defaultval=$wxUSE_ALL_FEATURES
5384 if test -z "$defaultval"; then
5385 if test x"$withstring" = xwithout; then
5386 defaultval=yes
5387 else
5388 defaultval=no
5389 fi
5390 fi
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5392 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5393
5394 # Check whether --with-sdl was given.
5395 if test "${with_sdl+set}" = set; then :
5396 withval=$with_sdl;
5397 if test "$withval" = yes; then
5398 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
5399 else
5400 wx_cv_use_sdl='wxUSE_LIBSDL=no'
5401 fi
5402
5403 else
5404
5405 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5406
5407 fi
5408
5409
5410 eval "$wx_cv_use_sdl"
5411
5412 if test x"$withstring" = xwithout; then
5413 if test $wxUSE_LIBSDL = yes; then
5414 result=no
5415 else
5416 result=yes
5417 fi
5418 else
5419 result=$wxUSE_LIBSDL
5420 fi
5421
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5423 $as_echo "$result" >&6; }
5424
5425
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5427 $as_echo_n "checking for --with-regex... " >&6; }
5428
5429 # Check whether --with-regex was given.
5430 if test "${with_regex+set}" = set; then :
5431 withval=$with_regex;
5432 if test "$withval" = yes; then
5433 wx_cv_use_regex='wxUSE_REGEX=yes'
5434 elif test "$withval" = no; then
5435 wx_cv_use_regex='wxUSE_REGEX=no'
5436 elif test "$withval" = sys; then
5437 wx_cv_use_regex='wxUSE_REGEX=sys'
5438 elif test "$withval" = builtin; then
5439 wx_cv_use_regex='wxUSE_REGEX=builtin'
5440 else
5441 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5442 fi
5443
5444 else
5445
5446 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5447
5448 fi
5449
5450
5451 eval "$wx_cv_use_regex"
5452
5453 if test "$wxUSE_REGEX" = yes; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5455 $as_echo "yes" >&6; }
5456 elif test "$wxUSE_REGEX" = no; then
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }
5459 elif test "$wxUSE_REGEX" = sys; then
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5461 $as_echo "system version" >&6; }
5462 elif test "$wxUSE_REGEX" = builtin; then
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5464 $as_echo "builtin version" >&6; }
5465 else
5466 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5467 fi
5468
5469
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5471 $as_echo_n "checking for --with-zlib... " >&6; }
5472
5473 # Check whether --with-zlib was given.
5474 if test "${with_zlib+set}" = set; then :
5475 withval=$with_zlib;
5476 if test "$withval" = yes; then
5477 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5478 elif test "$withval" = no; then
5479 wx_cv_use_zlib='wxUSE_ZLIB=no'
5480 elif test "$withval" = sys; then
5481 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5482 elif test "$withval" = builtin; then
5483 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5484 else
5485 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5486 fi
5487
5488 else
5489
5490 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5491
5492 fi
5493
5494
5495 eval "$wx_cv_use_zlib"
5496
5497 if test "$wxUSE_ZLIB" = yes; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5499 $as_echo "yes" >&6; }
5500 elif test "$wxUSE_ZLIB" = no; then
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5503 elif test "$wxUSE_ZLIB" = sys; then
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5505 $as_echo "system version" >&6; }
5506 elif test "$wxUSE_ZLIB" = builtin; then
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5508 $as_echo "builtin version" >&6; }
5509 else
5510 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5511 fi
5512
5513
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5515 $as_echo_n "checking for --with-expat... " >&6; }
5516
5517 # Check whether --with-expat was given.
5518 if test "${with_expat+set}" = set; then :
5519 withval=$with_expat;
5520 if test "$withval" = yes; then
5521 wx_cv_use_expat='wxUSE_EXPAT=yes'
5522 elif test "$withval" = no; then
5523 wx_cv_use_expat='wxUSE_EXPAT=no'
5524 elif test "$withval" = sys; then
5525 wx_cv_use_expat='wxUSE_EXPAT=sys'
5526 elif test "$withval" = builtin; then
5527 wx_cv_use_expat='wxUSE_EXPAT=builtin'
5528 else
5529 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5530 fi
5531
5532 else
5533
5534 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5535
5536 fi
5537
5538
5539 eval "$wx_cv_use_expat"
5540
5541 if test "$wxUSE_EXPAT" = yes; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5543 $as_echo "yes" >&6; }
5544 elif test "$wxUSE_EXPAT" = no; then
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5546 $as_echo "no" >&6; }
5547 elif test "$wxUSE_EXPAT" = sys; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5549 $as_echo "system version" >&6; }
5550 elif test "$wxUSE_EXPAT" = builtin; then
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5552 $as_echo "builtin version" >&6; }
5553 else
5554 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5555 fi
5556
5557
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5559 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5560
5561 # Check whether --with-macosx-sdk was given.
5562 if test "${with_macosx_sdk+set}" = set; then :
5563 withval=$with_macosx_sdk;
5564 wxUSE_MACOSX_SDK=$withval
5565 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5566
5567 fi
5568
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5570 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5571
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5573 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5574
5575 # Check whether --with-macosx-version-min was given.
5576 if test "${with_macosx_version_min+set}" = set; then :
5577 withval=$with_macosx_version_min;
5578 wxUSE_MACOSX_VERSION_MIN=$withval
5579 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5580
5581 fi
5582
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5584 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5585
5586
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5588 $as_echo_n "checking for --enable-debug... " >&6; }
5589 # Check whether --enable-debug was given.
5590 if test "${enable_debug+set}" = set; then :
5591 enableval=$enable_debug;
5592 if test "$enableval" = yes; then
5593 wxUSE_DEBUG=yes
5594 elif test "$enableval" = no; then
5595 wxUSE_DEBUG=no
5596 elif test "$enableval" = max; then
5597 wxUSE_DEBUG=yes
5598 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5599 else
5600 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5601 fi
5602
5603 else
5604 wxUSE_DEBUG=default
5605
5606 fi
5607
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5609 $as_echo "${enable_debug-default}" >&6; }
5610
5611 case "$wxUSE_DEBUG" in
5612 yes)
5613 DEFAULT_wxUSE_DEBUG_FLAG=yes
5614 DEFAULT_wxUSE_DEBUG_INFO=yes
5615
5616 DEFAULT_wxUSE_OPTIMISE=no
5617 ;;
5618
5619 no)
5620 DEFAULT_wxUSE_DEBUG_FLAG=no
5621 DEFAULT_wxUSE_DEBUG_INFO=no
5622 ;;
5623
5624 default)
5625 DEFAULT_wxUSE_DEBUG_FLAG=yes
5626 DEFAULT_wxUSE_DEBUG_INFO=no
5627 ;;
5628 esac
5629
5630
5631 enablestring=disable
5632 defaultval=
5633 if test -z "$defaultval"; then
5634 if test x"$enablestring" = xdisable; then
5635 defaultval=yes
5636 else
5637 defaultval=no
5638 fi
5639 fi
5640
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5642 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5643 # Check whether --enable-debug_flag was given.
5644 if test "${enable_debug_flag+set}" = set; then :
5645 enableval=$enable_debug_flag;
5646 if test "$enableval" = yes; then
5647 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5648 else
5649 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5650 fi
5651
5652 else
5653
5654 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5655
5656 fi
5657
5658
5659 eval "$wx_cv_use_debug_flag"
5660
5661 if test x"$enablestring" = xdisable; then
5662 if test $wxUSE_DEBUG_FLAG = no; then
5663 result=yes
5664 else
5665 result=no
5666 fi
5667 else
5668 result=$wxUSE_DEBUG_FLAG
5669 fi
5670
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5672 $as_echo "$result" >&6; }
5673
5674
5675 enablestring=
5676 defaultval=
5677 if test -z "$defaultval"; then
5678 if test x"$enablestring" = xdisable; then
5679 defaultval=yes
5680 else
5681 defaultval=no
5682 fi
5683 fi
5684
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5686 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5687 # Check whether --enable-debug_info was given.
5688 if test "${enable_debug_info+set}" = set; then :
5689 enableval=$enable_debug_info;
5690 if test "$enableval" = yes; then
5691 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5692 else
5693 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5694 fi
5695
5696 else
5697
5698 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5699
5700 fi
5701
5702
5703 eval "$wx_cv_use_debug_info"
5704
5705 if test x"$enablestring" = xdisable; then
5706 if test $wxUSE_DEBUG_INFO = no; then
5707 result=yes
5708 else
5709 result=no
5710 fi
5711 else
5712 result=$wxUSE_DEBUG_INFO
5713 fi
5714
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5716 $as_echo "$result" >&6; }
5717
5718
5719
5720
5721 enablestring=
5722 defaultval=
5723 if test -z "$defaultval"; then
5724 if test x"$enablestring" = xdisable; then
5725 defaultval=yes
5726 else
5727 defaultval=no
5728 fi
5729 fi
5730
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5732 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5733 # Check whether --enable-debug_gdb was given.
5734 if test "${enable_debug_gdb+set}" = set; then :
5735 enableval=$enable_debug_gdb;
5736 if test "$enableval" = yes; then
5737 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5738 else
5739 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5740 fi
5741
5742 else
5743
5744 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5745
5746 fi
5747
5748
5749 eval "$wx_cv_use_debug_gdb"
5750
5751 if test x"$enablestring" = xdisable; then
5752 if test $wxUSE_DEBUG_GDB = no; then
5753 result=yes
5754 else
5755 result=no
5756 fi
5757 else
5758 result=$wxUSE_DEBUG_GDB
5759 fi
5760
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5762 $as_echo "$result" >&6; }
5763
5764
5765 enablestring=
5766 defaultval=
5767 if test -z "$defaultval"; then
5768 if test x"$enablestring" = xdisable; then
5769 defaultval=yes
5770 else
5771 defaultval=no
5772 fi
5773 fi
5774
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5776 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5777 # Check whether --enable-debug_cntxt was given.
5778 if test "${enable_debug_cntxt+set}" = set; then :
5779 enableval=$enable_debug_cntxt;
5780 if test "$enableval" = yes; then
5781 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5782 else
5783 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5784 fi
5785
5786 else
5787
5788 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5789
5790 fi
5791
5792
5793 eval "$wx_cv_use_debug_cntxt"
5794
5795 if test x"$enablestring" = xdisable; then
5796 if test $wxUSE_DEBUG_CONTEXT = no; then
5797 result=yes
5798 else
5799 result=no
5800 fi
5801 else
5802 result=$wxUSE_DEBUG_CONTEXT
5803 fi
5804
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5806 $as_echo "$result" >&6; }
5807
5808
5809 enablestring=
5810 defaultval=
5811 if test -z "$defaultval"; then
5812 if test x"$enablestring" = xdisable; then
5813 defaultval=yes
5814 else
5815 defaultval=no
5816 fi
5817 fi
5818
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5820 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5821 # Check whether --enable-mem_tracing was given.
5822 if test "${enable_mem_tracing+set}" = set; then :
5823 enableval=$enable_mem_tracing;
5824 if test "$enableval" = yes; then
5825 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5826 else
5827 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5828 fi
5829
5830 else
5831
5832 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5833
5834 fi
5835
5836
5837 eval "$wx_cv_use_mem_tracing"
5838
5839 if test x"$enablestring" = xdisable; then
5840 if test $wxUSE_MEM_TRACING = no; then
5841 result=yes
5842 else
5843 result=no
5844 fi
5845 else
5846 result=$wxUSE_MEM_TRACING
5847 fi
5848
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5850 $as_echo "$result" >&6; }
5851
5852
5853
5854
5855 enablestring=disable
5856 defaultval=
5857 if test -z "$defaultval"; then
5858 if test x"$enablestring" = xdisable; then
5859 defaultval=yes
5860 else
5861 defaultval=no
5862 fi
5863 fi
5864
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5866 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5867 # Check whether --enable-shared was given.
5868 if test "${enable_shared+set}" = set; then :
5869 enableval=$enable_shared;
5870 if test "$enableval" = yes; then
5871 wx_cv_use_shared='wxUSE_SHARED=yes'
5872 else
5873 wx_cv_use_shared='wxUSE_SHARED=no'
5874 fi
5875
5876 else
5877
5878 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5879
5880 fi
5881
5882
5883 eval "$wx_cv_use_shared"
5884
5885 if test x"$enablestring" = xdisable; then
5886 if test $wxUSE_SHARED = no; then
5887 result=yes
5888 else
5889 result=no
5890 fi
5891 else
5892 result=$wxUSE_SHARED
5893 fi
5894
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5896 $as_echo "$result" >&6; }
5897
5898
5899 enablestring=
5900 defaultval=
5901 if test -z "$defaultval"; then
5902 if test x"$enablestring" = xdisable; then
5903 defaultval=yes
5904 else
5905 defaultval=no
5906 fi
5907 fi
5908
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5910 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5911 # Check whether --enable-stl was given.
5912 if test "${enable_stl+set}" = set; then :
5913 enableval=$enable_stl;
5914 if test "$enableval" = yes; then
5915 wx_cv_use_stl='wxUSE_STL=yes'
5916 else
5917 wx_cv_use_stl='wxUSE_STL=no'
5918 fi
5919
5920 else
5921
5922 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5923
5924 fi
5925
5926
5927 eval "$wx_cv_use_stl"
5928
5929 if test x"$enablestring" = xdisable; then
5930 if test $wxUSE_STL = no; then
5931 result=yes
5932 else
5933 result=no
5934 fi
5935 else
5936 result=$wxUSE_STL
5937 fi
5938
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5940 $as_echo "$result" >&6; }
5941
5942 if test "$wxUSE_STL" = "yes"; then
5943 DEFAULT_wxUSE_STD_CONTAINERS=yes
5944 DEFAULT_wxUSE_STD_IOSTREAM=yes
5945 DEFAULT_wxUSE_STD_STRING=yes
5946 fi
5947
5948 enablestring=
5949 defaultval=
5950 if test -z "$defaultval"; then
5951 if test x"$enablestring" = xdisable; then
5952 defaultval=yes
5953 else
5954 defaultval=no
5955 fi
5956 fi
5957
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
5959 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
5960 # Check whether --enable-std_containers was given.
5961 if test "${enable_std_containers+set}" = set; then :
5962 enableval=$enable_std_containers;
5963 if test "$enableval" = yes; then
5964 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
5965 else
5966 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
5967 fi
5968
5969 else
5970
5971 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5972
5973 fi
5974
5975
5976 eval "$wx_cv_use_std_containers"
5977
5978 if test x"$enablestring" = xdisable; then
5979 if test $wxUSE_STD_CONTAINERS = no; then
5980 result=yes
5981 else
5982 result=no
5983 fi
5984 else
5985 result=$wxUSE_STD_CONTAINERS
5986 fi
5987
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5989 $as_echo "$result" >&6; }
5990
5991
5992 enablestring=
5993 defaultval=
5994 if test -z "$defaultval"; then
5995 if test x"$enablestring" = xdisable; then
5996 defaultval=yes
5997 else
5998 defaultval=no
5999 fi
6000 fi
6001
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
6003 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
6004 # Check whether --enable-std_iostreams was given.
6005 if test "${enable_std_iostreams+set}" = set; then :
6006 enableval=$enable_std_iostreams;
6007 if test "$enableval" = yes; then
6008 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6009 else
6010 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6011 fi
6012
6013 else
6014
6015 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
6016
6017 fi
6018
6019
6020 eval "$wx_cv_use_std_iostreams"
6021
6022 if test x"$enablestring" = xdisable; then
6023 if test $wxUSE_STD_IOSTREAM = no; then
6024 result=yes
6025 else
6026 result=no
6027 fi
6028 else
6029 result=$wxUSE_STD_IOSTREAM
6030 fi
6031
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6033 $as_echo "$result" >&6; }
6034
6035
6036 enablestring=
6037 defaultval=
6038 if test -z "$defaultval"; then
6039 if test x"$enablestring" = xdisable; then
6040 defaultval=yes
6041 else
6042 defaultval=no
6043 fi
6044 fi
6045
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
6047 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
6048 # Check whether --enable-std_string was given.
6049 if test "${enable_std_string+set}" = set; then :
6050 enableval=$enable_std_string;
6051 if test "$enableval" = yes; then
6052 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
6053 else
6054 wx_cv_use_std_string='wxUSE_STD_STRING=no'
6055 fi
6056
6057 else
6058
6059 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6060
6061 fi
6062
6063
6064 eval "$wx_cv_use_std_string"
6065
6066 if test x"$enablestring" = xdisable; then
6067 if test $wxUSE_STD_STRING = no; then
6068 result=yes
6069 else
6070 result=no
6071 fi
6072 else
6073 result=$wxUSE_STD_STRING
6074 fi
6075
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6077 $as_echo "$result" >&6; }
6078
6079
6080 enablestring=
6081 defaultval=
6082 if test -z "$defaultval"; then
6083 if test x"$enablestring" = xdisable; then
6084 defaultval=yes
6085 else
6086 defaultval=no
6087 fi
6088 fi
6089
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6091 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
6092 # Check whether --enable-std_string_conv_in_wxstring was given.
6093 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6094 enableval=$enable_std_string_conv_in_wxstring;
6095 if test "$enableval" = yes; then
6096 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6097 else
6098 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6099 fi
6100
6101 else
6102
6103 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6104
6105 fi
6106
6107
6108 eval "$wx_cv_use_std_string_conv_in_wxstring"
6109
6110 if test x"$enablestring" = xdisable; then
6111 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6112 result=yes
6113 else
6114 result=no
6115 fi
6116 else
6117 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6118 fi
6119
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6121 $as_echo "$result" >&6; }
6122
6123
6124 enablestring=disable
6125 defaultval=
6126 if test -z "$defaultval"; then
6127 if test x"$enablestring" = xdisable; then
6128 defaultval=yes
6129 else
6130 defaultval=no
6131 fi
6132 fi
6133
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6135 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6136 # Check whether --enable-unicode was given.
6137 if test "${enable_unicode+set}" = set; then :
6138 enableval=$enable_unicode;
6139 if test "$enableval" = yes; then
6140 wx_cv_use_unicode='wxUSE_UNICODE=yes'
6141 else
6142 wx_cv_use_unicode='wxUSE_UNICODE=no'
6143 fi
6144
6145 else
6146
6147 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6148
6149 fi
6150
6151
6152 eval "$wx_cv_use_unicode"
6153
6154 if test x"$enablestring" = xdisable; then
6155 if test $wxUSE_UNICODE = no; then
6156 result=yes
6157 else
6158 result=no
6159 fi
6160 else
6161 result=$wxUSE_UNICODE
6162 fi
6163
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6165 $as_echo "$result" >&6; }
6166
6167
6168 enablestring=
6169 defaultval=
6170 if test -z "$defaultval"; then
6171 if test x"$enablestring" = xdisable; then
6172 defaultval=yes
6173 else
6174 defaultval=no
6175 fi
6176 fi
6177
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6179 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6180 # Check whether --enable-mslu was given.
6181 if test "${enable_mslu+set}" = set; then :
6182 enableval=$enable_mslu;
6183 if test "$enableval" = yes; then
6184 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6185 else
6186 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6187 fi
6188
6189 else
6190
6191 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6192
6193 fi
6194
6195
6196 eval "$wx_cv_use_mslu"
6197
6198 if test x"$enablestring" = xdisable; then
6199 if test $wxUSE_UNICODE_MSLU = no; then
6200 result=yes
6201 else
6202 result=no
6203 fi
6204 else
6205 result=$wxUSE_UNICODE_MSLU
6206 fi
6207
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6209 $as_echo "$result" >&6; }
6210
6211
6212 enablestring=
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6214 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6215 # Check whether --enable-utf8 was given.
6216 if test "${enable_utf8+set}" = set; then :
6217 enableval=$enable_utf8;
6218 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6219
6220 else
6221
6222 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6223
6224 fi
6225
6226
6227 eval "$wx_cv_use_utf8"
6228
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6230 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6231
6232
6233 enablestring=
6234 defaultval=
6235 if test -z "$defaultval"; then
6236 if test x"$enablestring" = xdisable; then
6237 defaultval=yes
6238 else
6239 defaultval=no
6240 fi
6241 fi
6242
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6244 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6245 # Check whether --enable-utf8only was given.
6246 if test "${enable_utf8only+set}" = set; then :
6247 enableval=$enable_utf8only;
6248 if test "$enableval" = yes; then
6249 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6250 else
6251 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6252 fi
6253
6254 else
6255
6256 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6257
6258 fi
6259
6260
6261 eval "$wx_cv_use_utf8only"
6262
6263 if test x"$enablestring" = xdisable; then
6264 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6265 result=yes
6266 else
6267 result=no
6268 fi
6269 else
6270 result=$wxUSE_UNICODE_UTF8_LOCALE
6271 fi
6272
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6274 $as_echo "$result" >&6; }
6275
6276
6277 enablestring=
6278 defaultval=
6279 if test -z "$defaultval"; then
6280 if test x"$enablestring" = xdisable; then
6281 defaultval=yes
6282 else
6283 defaultval=no
6284 fi
6285 fi
6286
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6288 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6289 # Check whether --enable-extended_rtti was given.
6290 if test "${enable_extended_rtti+set}" = set; then :
6291 enableval=$enable_extended_rtti;
6292 if test "$enableval" = yes; then
6293 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
6294 else
6295 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
6296 fi
6297
6298 else
6299
6300 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6301
6302 fi
6303
6304
6305 eval "$wx_cv_use_extended_rtti"
6306
6307 if test x"$enablestring" = xdisable; then
6308 if test $wxUSE_EXTENDED_RTTI = no; then
6309 result=yes
6310 else
6311 result=no
6312 fi
6313 else
6314 result=$wxUSE_EXTENDED_RTTI
6315 fi
6316
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6318 $as_echo "$result" >&6; }
6319
6320 if test "$USE_OS2" = 1; then
6321 DEFAULT_wxUSE_OMF=no
6322
6323 enablestring=
6324 defaultval=
6325 if test -z "$defaultval"; then
6326 if test x"$enablestring" = xdisable; then
6327 defaultval=yes
6328 else
6329 defaultval=no
6330 fi
6331 fi
6332
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6334 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6335 # Check whether --enable-omf was given.
6336 if test "${enable_omf+set}" = set; then :
6337 enableval=$enable_omf;
6338 if test "$enableval" = yes; then
6339 wx_cv_use_omf='wxUSE_OMF=yes'
6340 else
6341 wx_cv_use_omf='wxUSE_OMF=no'
6342 fi
6343
6344 else
6345
6346 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6347
6348 fi
6349
6350
6351 eval "$wx_cv_use_omf"
6352
6353 if test x"$enablestring" = xdisable; then
6354 if test $wxUSE_OMF = no; then
6355 result=yes
6356 else
6357 result=no
6358 fi
6359 else
6360 result=$wxUSE_OMF
6361 fi
6362
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6364 $as_echo "$result" >&6; }
6365
6366 fi
6367
6368
6369 enablestring=disable
6370 defaultval=
6371 if test -z "$defaultval"; then
6372 if test x"$enablestring" = xdisable; then
6373 defaultval=yes
6374 else
6375 defaultval=no
6376 fi
6377 fi
6378
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6380 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6381 # Check whether --enable-optimise was given.
6382 if test "${enable_optimise+set}" = set; then :
6383 enableval=$enable_optimise;
6384 if test "$enableval" = yes; then
6385 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6386 else
6387 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6388 fi
6389
6390 else
6391
6392 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6393
6394 fi
6395
6396
6397 eval "$wx_cv_use_optimise"
6398
6399 if test x"$enablestring" = xdisable; then
6400 if test $wxUSE_OPTIMISE = no; then
6401 result=yes
6402 else
6403 result=no
6404 fi
6405 else
6406 result=$wxUSE_OPTIMISE
6407 fi
6408
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6410 $as_echo "$result" >&6; }
6411
6412
6413
6414 enablestring=
6415 defaultval=
6416 if test -z "$defaultval"; then
6417 if test x"$enablestring" = xdisable; then
6418 defaultval=yes
6419 else
6420 defaultval=no
6421 fi
6422 fi
6423
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6425 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6426 # Check whether --enable-profile was given.
6427 if test "${enable_profile+set}" = set; then :
6428 enableval=$enable_profile;
6429 if test "$enableval" = yes; then
6430 wx_cv_use_profile='wxUSE_PROFILE=yes'
6431 else
6432 wx_cv_use_profile='wxUSE_PROFILE=no'
6433 fi
6434
6435 else
6436
6437 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6438
6439 fi
6440
6441
6442 eval "$wx_cv_use_profile"
6443
6444 if test x"$enablestring" = xdisable; then
6445 if test $wxUSE_PROFILE = no; then
6446 result=yes
6447 else
6448 result=no
6449 fi
6450 else
6451 result=$wxUSE_PROFILE
6452 fi
6453
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6455 $as_echo "$result" >&6; }
6456
6457
6458 enablestring=
6459 defaultval=
6460 if test -z "$defaultval"; then
6461 if test x"$enablestring" = xdisable; then
6462 defaultval=yes
6463 else
6464 defaultval=no
6465 fi
6466 fi
6467
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6469 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6470 # Check whether --enable-no_rtti was given.
6471 if test "${enable_no_rtti+set}" = set; then :
6472 enableval=$enable_no_rtti;
6473 if test "$enableval" = yes; then
6474 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6475 else
6476 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6477 fi
6478
6479 else
6480
6481 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6482
6483 fi
6484
6485
6486 eval "$wx_cv_use_no_rtti"
6487
6488 if test x"$enablestring" = xdisable; then
6489 if test $wxUSE_NO_RTTI = no; then
6490 result=yes
6491 else
6492 result=no
6493 fi
6494 else
6495 result=$wxUSE_NO_RTTI
6496 fi
6497
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6499 $as_echo "$result" >&6; }
6500
6501
6502 enablestring=
6503 defaultval=
6504 if test -z "$defaultval"; then
6505 if test x"$enablestring" = xdisable; then
6506 defaultval=yes
6507 else
6508 defaultval=no
6509 fi
6510 fi
6511
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6513 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6514 # Check whether --enable-no_exceptions was given.
6515 if test "${enable_no_exceptions+set}" = set; then :
6516 enableval=$enable_no_exceptions;
6517 if test "$enableval" = yes; then
6518 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6519 else
6520 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6521 fi
6522
6523 else
6524
6525 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6526
6527 fi
6528
6529
6530 eval "$wx_cv_use_no_exceptions"
6531
6532 if test x"$enablestring" = xdisable; then
6533 if test $wxUSE_NO_EXCEPTIONS = no; then
6534 result=yes
6535 else
6536 result=no
6537 fi
6538 else
6539 result=$wxUSE_NO_EXCEPTIONS
6540 fi
6541
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6543 $as_echo "$result" >&6; }
6544
6545
6546 enablestring=
6547 defaultval=
6548 if test -z "$defaultval"; then
6549 if test x"$enablestring" = xdisable; then
6550 defaultval=yes
6551 else
6552 defaultval=no
6553 fi
6554 fi
6555
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6557 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6558 # Check whether --enable-permissive was given.
6559 if test "${enable_permissive+set}" = set; then :
6560 enableval=$enable_permissive;
6561 if test "$enableval" = yes; then
6562 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
6563 else
6564 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
6565 fi
6566
6567 else
6568
6569 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6570
6571 fi
6572
6573
6574 eval "$wx_cv_use_permissive"
6575
6576 if test x"$enablestring" = xdisable; then
6577 if test $wxUSE_PERMISSIVE = no; then
6578 result=yes
6579 else
6580 result=no
6581 fi
6582 else
6583 result=$wxUSE_PERMISSIVE
6584 fi
6585
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6587 $as_echo "$result" >&6; }
6588
6589
6590 enablestring=
6591 defaultval=
6592 if test -z "$defaultval"; then
6593 if test x"$enablestring" = xdisable; then
6594 defaultval=yes
6595 else
6596 defaultval=no
6597 fi
6598 fi
6599
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6601 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6602 # Check whether --enable-no_deps was given.
6603 if test "${enable_no_deps+set}" = set; then :
6604 enableval=$enable_no_deps;
6605 if test "$enableval" = yes; then
6606 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6607 else
6608 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6609 fi
6610
6611 else
6612
6613 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6614
6615 fi
6616
6617
6618 eval "$wx_cv_use_no_deps"
6619
6620 if test x"$enablestring" = xdisable; then
6621 if test $wxUSE_NO_DEPS = no; then
6622 result=yes
6623 else
6624 result=no
6625 fi
6626 else
6627 result=$wxUSE_NO_DEPS
6628 fi
6629
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6631 $as_echo "$result" >&6; }
6632
6633
6634 enablestring=disable
6635 defaultval=
6636 if test -z "$defaultval"; then
6637 if test x"$enablestring" = xdisable; then
6638 defaultval=yes
6639 else
6640 defaultval=no
6641 fi
6642 fi
6643
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6645 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6646 # Check whether --enable-vararg_macros was given.
6647 if test "${enable_vararg_macros+set}" = set; then :
6648 enableval=$enable_vararg_macros;
6649 if test "$enableval" = yes; then
6650 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6651 else
6652 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6653 fi
6654
6655 else
6656
6657 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6658
6659 fi
6660
6661
6662 eval "$wx_cv_use_vararg_macros"
6663
6664 if test x"$enablestring" = xdisable; then
6665 if test $wxUSE_VARARG_MACROS = no; then
6666 result=yes
6667 else
6668 result=no
6669 fi
6670 else
6671 result=$wxUSE_VARARG_MACROS
6672 fi
6673
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6675 $as_echo "$result" >&6; }
6676
6677
6678
6679 enablestring=
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6681 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6682 # Check whether --enable-universal_binary was given.
6683 if test "${enable_universal_binary+set}" = set; then :
6684 enableval=$enable_universal_binary;
6685 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6686
6687 else
6688
6689 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6690
6691 fi
6692
6693
6694 eval "$wx_cv_use_universal_binary"
6695
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6697 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6698
6699
6700 enablestring=
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6702 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6703 # Check whether --enable-macosx_arch was given.
6704 if test "${enable_macosx_arch+set}" = set; then :
6705 enableval=$enable_macosx_arch;
6706 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6707
6708 else
6709
6710 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6711
6712 fi
6713
6714
6715 eval "$wx_cv_use_macosx_arch"
6716
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6718 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6719
6720
6721
6722 enablestring=
6723 defaultval=
6724 if test -z "$defaultval"; then
6725 if test x"$enablestring" = xdisable; then
6726 defaultval=yes
6727 else
6728 defaultval=no
6729 fi
6730 fi
6731
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6733 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6734 # Check whether --enable-compat26 was given.
6735 if test "${enable_compat26+set}" = set; then :
6736 enableval=$enable_compat26;
6737 if test "$enableval" = yes; then
6738 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
6739 else
6740 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
6741 fi
6742
6743 else
6744
6745 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6746
6747 fi
6748
6749
6750 eval "$wx_cv_use_compat26"
6751
6752 if test x"$enablestring" = xdisable; then
6753 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6754 result=yes
6755 else
6756 result=no
6757 fi
6758 else
6759 result=$WXWIN_COMPATIBILITY_2_6
6760 fi
6761
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6763 $as_echo "$result" >&6; }
6764
6765
6766 enablestring=disable
6767 defaultval=
6768 if test -z "$defaultval"; then
6769 if test x"$enablestring" = xdisable; then
6770 defaultval=yes
6771 else
6772 defaultval=no
6773 fi
6774 fi
6775
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6777 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6778 # Check whether --enable-compat28 was given.
6779 if test "${enable_compat28+set}" = set; then :
6780 enableval=$enable_compat28;
6781 if test "$enableval" = yes; then
6782 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6783 else
6784 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6785 fi
6786
6787 else
6788
6789 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6790
6791 fi
6792
6793
6794 eval "$wx_cv_use_compat28"
6795
6796 if test x"$enablestring" = xdisable; then
6797 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6798 result=yes
6799 else
6800 result=no
6801 fi
6802 else
6803 result=$WXWIN_COMPATIBILITY_2_8
6804 fi
6805
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6807 $as_echo "$result" >&6; }
6808
6809
6810
6811 enablestring=disable
6812 defaultval=
6813 if test -z "$defaultval"; then
6814 if test x"$enablestring" = xdisable; then
6815 defaultval=yes
6816 else
6817 defaultval=no
6818 fi
6819 fi
6820
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6822 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6823 # Check whether --enable-rpath was given.
6824 if test "${enable_rpath+set}" = set; then :
6825 enableval=$enable_rpath;
6826 if test "$enableval" = yes; then
6827 wx_cv_use_rpath='wxUSE_RPATH=yes'
6828 else
6829 wx_cv_use_rpath='wxUSE_RPATH=no'
6830 fi
6831
6832 else
6833
6834 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6835
6836 fi
6837
6838
6839 eval "$wx_cv_use_rpath"
6840
6841 if test x"$enablestring" = xdisable; then
6842 if test $wxUSE_RPATH = no; then
6843 result=yes
6844 else
6845 result=no
6846 fi
6847 else
6848 result=$wxUSE_RPATH
6849 fi
6850
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6852 $as_echo "$result" >&6; }
6853
6854
6855
6856 enablestring=
6857 defaultval=
6858 if test -z "$defaultval"; then
6859 if test x"$enablestring" = xdisable; then
6860 defaultval=yes
6861 else
6862 defaultval=no
6863 fi
6864 fi
6865
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6867 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6868 # Check whether --enable-objc_uniquifying was given.
6869 if test "${enable_objc_uniquifying+set}" = set; then :
6870 enableval=$enable_objc_uniquifying;
6871 if test "$enableval" = yes; then
6872 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6873 else
6874 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6875 fi
6876
6877 else
6878
6879 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6880
6881 fi
6882
6883
6884 eval "$wx_cv_use_objc_uniquifying"
6885
6886 if test x"$enablestring" = xdisable; then
6887 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6888 result=yes
6889 else
6890 result=no
6891 fi
6892 else
6893 result=$wxUSE_OBJC_UNIQUIFYING
6894 fi
6895
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6897 $as_echo "$result" >&6; }
6898
6899
6900
6901 enablestring=disable
6902 defaultval=
6903 if test -z "$defaultval"; then
6904 if test x"$enablestring" = xdisable; then
6905 defaultval=yes
6906 else
6907 defaultval=no
6908 fi
6909 fi
6910
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6912 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6913 # Check whether --enable-visibility was given.
6914 if test "${enable_visibility+set}" = set; then :
6915 enableval=$enable_visibility;
6916 if test "$enableval" = yes; then
6917 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6918 else
6919 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6920 fi
6921
6922 else
6923
6924 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6925
6926 fi
6927
6928
6929 eval "$wx_cv_use_visibility"
6930
6931 if test x"$enablestring" = xdisable; then
6932 if test $wxUSE_VISIBILITY = no; then
6933 result=yes
6934 else
6935 result=no
6936 fi
6937 else
6938 result=$wxUSE_VISIBILITY
6939 fi
6940
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6942 $as_echo "$result" >&6; }
6943
6944
6945 enablestring=disable
6946 defaultval=
6947 if test -z "$defaultval"; then
6948 if test x"$enablestring" = xdisable; then
6949 defaultval=yes
6950 else
6951 defaultval=no
6952 fi
6953 fi
6954
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
6956 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
6957 # Check whether --enable-tls was given.
6958 if test "${enable_tls+set}" = set; then :
6959 enableval=$enable_tls;
6960 if test "$enableval" = yes; then
6961 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
6962 else
6963 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
6964 fi
6965
6966 else
6967
6968 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6969
6970 fi
6971
6972
6973 eval "$wx_cv_use_tls"
6974
6975 if test x"$enablestring" = xdisable; then
6976 if test $wxUSE_COMPILER_TLS = no; then
6977 result=yes
6978 else
6979 result=no
6980 fi
6981 else
6982 result=$wxUSE_COMPILER_TLS
6983 fi
6984
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6986 $as_echo "$result" >&6; }
6987
6988
6989
6990
6991 enablestring=
6992 defaultval=$wxUSE_ALL_FEATURES
6993 if test -z "$defaultval"; then
6994 if test x"$enablestring" = xdisable; then
6995 defaultval=yes
6996 else
6997 defaultval=no
6998 fi
6999 fi
7000
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
7002 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
7003 # Check whether --enable-intl was given.
7004 if test "${enable_intl+set}" = set; then :
7005 enableval=$enable_intl;
7006 if test "$enableval" = yes; then
7007 wx_cv_use_intl='wxUSE_INTL=yes'
7008 else
7009 wx_cv_use_intl='wxUSE_INTL=no'
7010 fi
7011
7012 else
7013
7014 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
7015
7016 fi
7017
7018
7019 eval "$wx_cv_use_intl"
7020
7021 if test x"$enablestring" = xdisable; then
7022 if test $wxUSE_INTL = no; then
7023 result=yes
7024 else
7025 result=no
7026 fi
7027 else
7028 result=$wxUSE_INTL
7029 fi
7030
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7032 $as_echo "$result" >&6; }
7033
7034
7035 enablestring=
7036 defaultval=$wxUSE_ALL_FEATURES
7037 if test -z "$defaultval"; then
7038 if test x"$enablestring" = xdisable; then
7039 defaultval=yes
7040 else
7041 defaultval=no
7042 fi
7043 fi
7044
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
7046 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
7047 # Check whether --enable-xlocale was given.
7048 if test "${enable_xlocale+set}" = set; then :
7049 enableval=$enable_xlocale;
7050 if test "$enableval" = yes; then
7051 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
7052 else
7053 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
7054 fi
7055
7056 else
7057
7058 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7059
7060 fi
7061
7062
7063 eval "$wx_cv_use_xlocale"
7064
7065 if test x"$enablestring" = xdisable; then
7066 if test $wxUSE_XLOCALE = no; then
7067 result=yes
7068 else
7069 result=no
7070 fi
7071 else
7072 result=$wxUSE_XLOCALE
7073 fi
7074
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7076 $as_echo "$result" >&6; }
7077
7078
7079 enablestring=
7080 defaultval=$wxUSE_ALL_FEATURES
7081 if test -z "$defaultval"; then
7082 if test x"$enablestring" = xdisable; then
7083 defaultval=yes
7084 else
7085 defaultval=no
7086 fi
7087 fi
7088
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
7090 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
7091 # Check whether --enable-config was given.
7092 if test "${enable_config+set}" = set; then :
7093 enableval=$enable_config;
7094 if test "$enableval" = yes; then
7095 wx_cv_use_config='wxUSE_CONFIG=yes'
7096 else
7097 wx_cv_use_config='wxUSE_CONFIG=no'
7098 fi
7099
7100 else
7101
7102 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7103
7104 fi
7105
7106
7107 eval "$wx_cv_use_config"
7108
7109 if test x"$enablestring" = xdisable; then
7110 if test $wxUSE_CONFIG = no; then
7111 result=yes
7112 else
7113 result=no
7114 fi
7115 else
7116 result=$wxUSE_CONFIG
7117 fi
7118
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7120 $as_echo "$result" >&6; }
7121
7122
7123
7124 enablestring=
7125 defaultval=$wxUSE_ALL_FEATURES
7126 if test -z "$defaultval"; then
7127 if test x"$enablestring" = xdisable; then
7128 defaultval=yes
7129 else
7130 defaultval=no
7131 fi
7132 fi
7133
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7135 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7136 # Check whether --enable-protocols was given.
7137 if test "${enable_protocols+set}" = set; then :
7138 enableval=$enable_protocols;
7139 if test "$enableval" = yes; then
7140 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
7141 else
7142 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
7143 fi
7144
7145 else
7146
7147 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7148
7149 fi
7150
7151
7152 eval "$wx_cv_use_protocols"
7153
7154 if test x"$enablestring" = xdisable; then
7155 if test $wxUSE_PROTOCOL = no; then
7156 result=yes
7157 else
7158 result=no
7159 fi
7160 else
7161 result=$wxUSE_PROTOCOL
7162 fi
7163
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7165 $as_echo "$result" >&6; }
7166
7167
7168 enablestring=
7169 defaultval=$wxUSE_ALL_FEATURES
7170 if test -z "$defaultval"; then
7171 if test x"$enablestring" = xdisable; then
7172 defaultval=yes
7173 else
7174 defaultval=no
7175 fi
7176 fi
7177
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7179 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7180 # Check whether --enable-ftp was given.
7181 if test "${enable_ftp+set}" = set; then :
7182 enableval=$enable_ftp;
7183 if test "$enableval" = yes; then
7184 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7185 else
7186 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7187 fi
7188
7189 else
7190
7191 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7192
7193 fi
7194
7195
7196 eval "$wx_cv_use_ftp"
7197
7198 if test x"$enablestring" = xdisable; then
7199 if test $wxUSE_PROTOCOL_FTP = no; then
7200 result=yes
7201 else
7202 result=no
7203 fi
7204 else
7205 result=$wxUSE_PROTOCOL_FTP
7206 fi
7207
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7209 $as_echo "$result" >&6; }
7210
7211
7212 enablestring=
7213 defaultval=$wxUSE_ALL_FEATURES
7214 if test -z "$defaultval"; then
7215 if test x"$enablestring" = xdisable; then
7216 defaultval=yes
7217 else
7218 defaultval=no
7219 fi
7220 fi
7221
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7223 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7224 # Check whether --enable-http was given.
7225 if test "${enable_http+set}" = set; then :
7226 enableval=$enable_http;
7227 if test "$enableval" = yes; then
7228 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7229 else
7230 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7231 fi
7232
7233 else
7234
7235 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7236
7237 fi
7238
7239
7240 eval "$wx_cv_use_http"
7241
7242 if test x"$enablestring" = xdisable; then
7243 if test $wxUSE_PROTOCOL_HTTP = no; then
7244 result=yes
7245 else
7246 result=no
7247 fi
7248 else
7249 result=$wxUSE_PROTOCOL_HTTP
7250 fi
7251
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7253 $as_echo "$result" >&6; }
7254
7255
7256 enablestring=
7257 defaultval=$wxUSE_ALL_FEATURES
7258 if test -z "$defaultval"; then
7259 if test x"$enablestring" = xdisable; then
7260 defaultval=yes
7261 else
7262 defaultval=no
7263 fi
7264 fi
7265
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7267 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7268 # Check whether --enable-fileproto was given.
7269 if test "${enable_fileproto+set}" = set; then :
7270 enableval=$enable_fileproto;
7271 if test "$enableval" = yes; then
7272 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
7273 else
7274 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
7275 fi
7276
7277 else
7278
7279 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7280
7281 fi
7282
7283
7284 eval "$wx_cv_use_fileproto"
7285
7286 if test x"$enablestring" = xdisable; then
7287 if test $wxUSE_PROTOCOL_FILE = no; then
7288 result=yes
7289 else
7290 result=no
7291 fi
7292 else
7293 result=$wxUSE_PROTOCOL_FILE
7294 fi
7295
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7297 $as_echo "$result" >&6; }
7298
7299
7300 enablestring=
7301 defaultval=$wxUSE_ALL_FEATURES
7302 if test -z "$defaultval"; then
7303 if test x"$enablestring" = xdisable; then
7304 defaultval=yes
7305 else
7306 defaultval=no
7307 fi
7308 fi
7309
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7311 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7312 # Check whether --enable-sockets was given.
7313 if test "${enable_sockets+set}" = set; then :
7314 enableval=$enable_sockets;
7315 if test "$enableval" = yes; then
7316 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7317 else
7318 wx_cv_use_sockets='wxUSE_SOCKETS=no'
7319 fi
7320
7321 else
7322
7323 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7324
7325 fi
7326
7327
7328 eval "$wx_cv_use_sockets"
7329
7330 if test x"$enablestring" = xdisable; then
7331 if test $wxUSE_SOCKETS = no; then
7332 result=yes
7333 else
7334 result=no
7335 fi
7336 else
7337 result=$wxUSE_SOCKETS
7338 fi
7339
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7341 $as_echo "$result" >&6; }
7342
7343
7344 enablestring=
7345 defaultval=$wxUSE_ALL_FEATURES
7346 if test -z "$defaultval"; then
7347 if test x"$enablestring" = xdisable; then
7348 defaultval=yes
7349 else
7350 defaultval=no
7351 fi
7352 fi
7353
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7355 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7356 # Check whether --enable-ipv6 was given.
7357 if test "${enable_ipv6+set}" = set; then :
7358 enableval=$enable_ipv6;
7359 if test "$enableval" = yes; then
7360 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7361 else
7362 wx_cv_use_ipv6='wxUSE_IPV6=no'
7363 fi
7364
7365 else
7366
7367 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7368
7369 fi
7370
7371
7372 eval "$wx_cv_use_ipv6"
7373
7374 if test x"$enablestring" = xdisable; then
7375 if test $wxUSE_IPV6 = no; then
7376 result=yes
7377 else
7378 result=no
7379 fi
7380 else
7381 result=$wxUSE_IPV6
7382 fi
7383
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7385 $as_echo "$result" >&6; }
7386
7387
7388 enablestring=
7389 defaultval=$wxUSE_ALL_FEATURES
7390 if test -z "$defaultval"; then
7391 if test x"$enablestring" = xdisable; then
7392 defaultval=yes
7393 else
7394 defaultval=no
7395 fi
7396 fi
7397
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7399 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7400 # Check whether --enable-ole was given.
7401 if test "${enable_ole+set}" = set; then :
7402 enableval=$enable_ole;
7403 if test "$enableval" = yes; then
7404 wx_cv_use_ole='wxUSE_OLE=yes'
7405 else
7406 wx_cv_use_ole='wxUSE_OLE=no'
7407 fi
7408
7409 else
7410
7411 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7412
7413 fi
7414
7415
7416 eval "$wx_cv_use_ole"
7417
7418 if test x"$enablestring" = xdisable; then
7419 if test $wxUSE_OLE = no; then
7420 result=yes
7421 else
7422 result=no
7423 fi
7424 else
7425 result=$wxUSE_OLE
7426 fi
7427
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7429 $as_echo "$result" >&6; }
7430
7431
7432 enablestring=
7433 defaultval=$wxUSE_ALL_FEATURES
7434 if test -z "$defaultval"; then
7435 if test x"$enablestring" = xdisable; then
7436 defaultval=yes
7437 else
7438 defaultval=no
7439 fi
7440 fi
7441
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7443 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7444 # Check whether --enable-dataobj was given.
7445 if test "${enable_dataobj+set}" = set; then :
7446 enableval=$enable_dataobj;
7447 if test "$enableval" = yes; then
7448 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7449 else
7450 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7451 fi
7452
7453 else
7454
7455 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7456
7457 fi
7458
7459
7460 eval "$wx_cv_use_dataobj"
7461
7462 if test x"$enablestring" = xdisable; then
7463 if test $wxUSE_DATAOBJ = no; then
7464 result=yes
7465 else
7466 result=no
7467 fi
7468 else
7469 result=$wxUSE_DATAOBJ
7470 fi
7471
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7473 $as_echo "$result" >&6; }
7474
7475
7476
7477 enablestring=
7478 defaultval=$wxUSE_ALL_FEATURES
7479 if test -z "$defaultval"; then
7480 if test x"$enablestring" = xdisable; then
7481 defaultval=yes
7482 else
7483 defaultval=no
7484 fi
7485 fi
7486
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7488 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7489 # Check whether --enable-ipc was given.
7490 if test "${enable_ipc+set}" = set; then :
7491 enableval=$enable_ipc;
7492 if test "$enableval" = yes; then
7493 wx_cv_use_ipc='wxUSE_IPC=yes'
7494 else
7495 wx_cv_use_ipc='wxUSE_IPC=no'
7496 fi
7497
7498 else
7499
7500 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7501
7502 fi
7503
7504
7505 eval "$wx_cv_use_ipc"
7506
7507 if test x"$enablestring" = xdisable; then
7508 if test $wxUSE_IPC = no; then
7509 result=yes
7510 else
7511 result=no
7512 fi
7513 else
7514 result=$wxUSE_IPC
7515 fi
7516
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7518 $as_echo "$result" >&6; }
7519
7520
7521
7522 enablestring=
7523 defaultval=$wxUSE_ALL_FEATURES
7524 if test -z "$defaultval"; then
7525 if test x"$enablestring" = xdisable; then
7526 defaultval=yes
7527 else
7528 defaultval=no
7529 fi
7530 fi
7531
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7533 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7534 # Check whether --enable-baseevtloop was given.
7535 if test "${enable_baseevtloop+set}" = set; then :
7536 enableval=$enable_baseevtloop;
7537 if test "$enableval" = yes; then
7538 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
7539 else
7540 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
7541 fi
7542
7543 else
7544
7545 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7546
7547 fi
7548
7549
7550 eval "$wx_cv_use_baseevtloop"
7551
7552 if test x"$enablestring" = xdisable; then
7553 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7554 result=yes
7555 else
7556 result=no
7557 fi
7558 else
7559 result=$wxUSE_CONSOLE_EVENTLOOP
7560 fi
7561
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7563 $as_echo "$result" >&6; }
7564
7565
7566 enablestring=
7567 defaultval=$wxUSE_ALL_FEATURES
7568 if test -z "$defaultval"; then
7569 if test x"$enablestring" = xdisable; then
7570 defaultval=yes
7571 else
7572 defaultval=no
7573 fi
7574 fi
7575
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7577 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7578 # Check whether --enable-epollloop was given.
7579 if test "${enable_epollloop+set}" = set; then :
7580 enableval=$enable_epollloop;
7581 if test "$enableval" = yes; then
7582 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7583 else
7584 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7585 fi
7586
7587 else
7588
7589 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7590
7591 fi
7592
7593
7594 eval "$wx_cv_use_epollloop"
7595
7596 if test x"$enablestring" = xdisable; then
7597 if test $wxUSE_EPOLL_DISPATCHER = no; then
7598 result=yes
7599 else
7600 result=no
7601 fi
7602 else
7603 result=$wxUSE_EPOLL_DISPATCHER
7604 fi
7605
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7607 $as_echo "$result" >&6; }
7608
7609
7610 enablestring=
7611 defaultval=$wxUSE_ALL_FEATURES
7612 if test -z "$defaultval"; then
7613 if test x"$enablestring" = xdisable; then
7614 defaultval=yes
7615 else
7616 defaultval=no
7617 fi
7618 fi
7619
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7621 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7622 # Check whether --enable-selectloop was given.
7623 if test "${enable_selectloop+set}" = set; then :
7624 enableval=$enable_selectloop;
7625 if test "$enableval" = yes; then
7626 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7627 else
7628 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7629 fi
7630
7631 else
7632
7633 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7634
7635 fi
7636
7637
7638 eval "$wx_cv_use_selectloop"
7639
7640 if test x"$enablestring" = xdisable; then
7641 if test $wxUSE_SELECT_DISPATCHER = no; then
7642 result=yes
7643 else
7644 result=no
7645 fi
7646 else
7647 result=$wxUSE_SELECT_DISPATCHER
7648 fi
7649
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7651 $as_echo "$result" >&6; }
7652
7653
7654
7655 enablestring=
7656 defaultval=$wxUSE_ALL_FEATURES
7657 if test -z "$defaultval"; then
7658 if test x"$enablestring" = xdisable; then
7659 defaultval=yes
7660 else
7661 defaultval=no
7662 fi
7663 fi
7664
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7666 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7667 # Check whether --enable-any was given.
7668 if test "${enable_any+set}" = set; then :
7669 enableval=$enable_any;
7670 if test "$enableval" = yes; then
7671 wx_cv_use_any='wxUSE_ANY=yes'
7672 else
7673 wx_cv_use_any='wxUSE_ANY=no'
7674 fi
7675
7676 else
7677
7678 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7679
7680 fi
7681
7682
7683 eval "$wx_cv_use_any"
7684
7685 if test x"$enablestring" = xdisable; then
7686 if test $wxUSE_ANY = no; then
7687 result=yes
7688 else
7689 result=no
7690 fi
7691 else
7692 result=$wxUSE_ANY
7693 fi
7694
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7696 $as_echo "$result" >&6; }
7697
7698
7699 enablestring=
7700 defaultval=$wxUSE_ALL_FEATURES
7701 if test -z "$defaultval"; then
7702 if test x"$enablestring" = xdisable; then
7703 defaultval=yes
7704 else
7705 defaultval=no
7706 fi
7707 fi
7708
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7710 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7711 # Check whether --enable-apple_ieee was given.
7712 if test "${enable_apple_ieee+set}" = set; then :
7713 enableval=$enable_apple_ieee;
7714 if test "$enableval" = yes; then
7715 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7716 else
7717 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7718 fi
7719
7720 else
7721
7722 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7723
7724 fi
7725
7726
7727 eval "$wx_cv_use_apple_ieee"
7728
7729 if test x"$enablestring" = xdisable; then
7730 if test $wxUSE_APPLE_IEEE = no; then
7731 result=yes
7732 else
7733 result=no
7734 fi
7735 else
7736 result=$wxUSE_APPLE_IEEE
7737 fi
7738
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7740 $as_echo "$result" >&6; }
7741
7742
7743 enablestring=
7744 defaultval=$wxUSE_ALL_FEATURES
7745 if test -z "$defaultval"; then
7746 if test x"$enablestring" = xdisable; then
7747 defaultval=yes
7748 else
7749 defaultval=no
7750 fi
7751 fi
7752
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7754 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7755 # Check whether --enable-arcstream was given.
7756 if test "${enable_arcstream+set}" = set; then :
7757 enableval=$enable_arcstream;
7758 if test "$enableval" = yes; then
7759 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7760 else
7761 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7762 fi
7763
7764 else
7765
7766 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7767
7768 fi
7769
7770
7771 eval "$wx_cv_use_arcstream"
7772
7773 if test x"$enablestring" = xdisable; then
7774 if test $wxUSE_ARCHIVE_STREAMS = no; then
7775 result=yes
7776 else
7777 result=no
7778 fi
7779 else
7780 result=$wxUSE_ARCHIVE_STREAMS
7781 fi
7782
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7784 $as_echo "$result" >&6; }
7785
7786
7787 enablestring=
7788 defaultval=$wxUSE_ALL_FEATURES
7789 if test -z "$defaultval"; then
7790 if test x"$enablestring" = xdisable; then
7791 defaultval=yes
7792 else
7793 defaultval=no
7794 fi
7795 fi
7796
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7798 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7799 # Check whether --enable-base64 was given.
7800 if test "${enable_base64+set}" = set; then :
7801 enableval=$enable_base64;
7802 if test "$enableval" = yes; then
7803 wx_cv_use_base64='wxUSE_BASE64=yes'
7804 else
7805 wx_cv_use_base64='wxUSE_BASE64=no'
7806 fi
7807
7808 else
7809
7810 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7811
7812 fi
7813
7814
7815 eval "$wx_cv_use_base64"
7816
7817 if test x"$enablestring" = xdisable; then
7818 if test $wxUSE_BASE64 = no; then
7819 result=yes
7820 else
7821 result=no
7822 fi
7823 else
7824 result=$wxUSE_BASE64
7825 fi
7826
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7828 $as_echo "$result" >&6; }
7829
7830
7831 enablestring=
7832 defaultval=$wxUSE_ALL_FEATURES
7833 if test -z "$defaultval"; then
7834 if test x"$enablestring" = xdisable; then
7835 defaultval=yes
7836 else
7837 defaultval=no
7838 fi
7839 fi
7840
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7842 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7843 # Check whether --enable-backtrace was given.
7844 if test "${enable_backtrace+set}" = set; then :
7845 enableval=$enable_backtrace;
7846 if test "$enableval" = yes; then
7847 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7848 else
7849 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7850 fi
7851
7852 else
7853
7854 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7855
7856 fi
7857
7858
7859 eval "$wx_cv_use_backtrace"
7860
7861 if test x"$enablestring" = xdisable; then
7862 if test $wxUSE_STACKWALKER = no; then
7863 result=yes
7864 else
7865 result=no
7866 fi
7867 else
7868 result=$wxUSE_STACKWALKER
7869 fi
7870
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7872 $as_echo "$result" >&6; }
7873
7874
7875 enablestring=
7876 defaultval=$wxUSE_ALL_FEATURES
7877 if test -z "$defaultval"; then
7878 if test x"$enablestring" = xdisable; then
7879 defaultval=yes
7880 else
7881 defaultval=no
7882 fi
7883 fi
7884
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7886 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7887 # Check whether --enable-catch_segvs was given.
7888 if test "${enable_catch_segvs+set}" = set; then :
7889 enableval=$enable_catch_segvs;
7890 if test "$enableval" = yes; then
7891 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7892 else
7893 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7894 fi
7895
7896 else
7897
7898 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7899
7900 fi
7901
7902
7903 eval "$wx_cv_use_catch_segvs"
7904
7905 if test x"$enablestring" = xdisable; then
7906 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7907 result=yes
7908 else
7909 result=no
7910 fi
7911 else
7912 result=$wxUSE_ON_FATAL_EXCEPTION
7913 fi
7914
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7916 $as_echo "$result" >&6; }
7917
7918
7919 enablestring=
7920 defaultval=$wxUSE_ALL_FEATURES
7921 if test -z "$defaultval"; then
7922 if test x"$enablestring" = xdisable; then
7923 defaultval=yes
7924 else
7925 defaultval=no
7926 fi
7927 fi
7928
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7930 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7931 # Check whether --enable-cmdline was given.
7932 if test "${enable_cmdline+set}" = set; then :
7933 enableval=$enable_cmdline;
7934 if test "$enableval" = yes; then
7935 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7936 else
7937 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7938 fi
7939
7940 else
7941
7942 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7943
7944 fi
7945
7946
7947 eval "$wx_cv_use_cmdline"
7948
7949 if test x"$enablestring" = xdisable; then
7950 if test $wxUSE_CMDLINE_PARSER = no; then
7951 result=yes
7952 else
7953 result=no
7954 fi
7955 else
7956 result=$wxUSE_CMDLINE_PARSER
7957 fi
7958
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7960 $as_echo "$result" >&6; }
7961
7962
7963 enablestring=
7964 defaultval=$wxUSE_ALL_FEATURES
7965 if test -z "$defaultval"; then
7966 if test x"$enablestring" = xdisable; then
7967 defaultval=yes
7968 else
7969 defaultval=no
7970 fi
7971 fi
7972
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
7974 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
7975 # Check whether --enable-datetime was given.
7976 if test "${enable_datetime+set}" = set; then :
7977 enableval=$enable_datetime;
7978 if test "$enableval" = yes; then
7979 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7980 else
7981 wx_cv_use_datetime='wxUSE_DATETIME=no'
7982 fi
7983
7984 else
7985
7986 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7987
7988 fi
7989
7990
7991 eval "$wx_cv_use_datetime"
7992
7993 if test x"$enablestring" = xdisable; then
7994 if test $wxUSE_DATETIME = no; then
7995 result=yes
7996 else
7997 result=no
7998 fi
7999 else
8000 result=$wxUSE_DATETIME
8001 fi
8002
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8004 $as_echo "$result" >&6; }
8005
8006
8007 enablestring=
8008 defaultval=$wxUSE_ALL_FEATURES
8009 if test -z "$defaultval"; then
8010 if test x"$enablestring" = xdisable; then
8011 defaultval=yes
8012 else
8013 defaultval=no
8014 fi
8015 fi
8016
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
8018 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
8019 # Check whether --enable-debugreport was given.
8020 if test "${enable_debugreport+set}" = set; then :
8021 enableval=$enable_debugreport;
8022 if test "$enableval" = yes; then
8023 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
8024 else
8025 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
8026 fi
8027
8028 else
8029
8030 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
8031
8032 fi
8033
8034
8035 eval "$wx_cv_use_debugreport"
8036
8037 if test x"$enablestring" = xdisable; then
8038 if test $wxUSE_DEBUGREPORT = no; then
8039 result=yes
8040 else
8041 result=no
8042 fi
8043 else
8044 result=$wxUSE_DEBUGREPORT
8045 fi
8046
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8048 $as_echo "$result" >&6; }
8049
8050
8051 enablestring=
8052 defaultval=$wxUSE_ALL_FEATURES
8053 if test -z "$defaultval"; then
8054 if test x"$enablestring" = xdisable; then
8055 defaultval=yes
8056 else
8057 defaultval=no
8058 fi
8059 fi
8060
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8062 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8063 # Check whether --enable-dialupman was given.
8064 if test "${enable_dialupman+set}" = set; then :
8065 enableval=$enable_dialupman;
8066 if test "$enableval" = yes; then
8067 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
8068 else
8069 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
8070 fi
8071
8072 else
8073
8074 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8075
8076 fi
8077
8078
8079 eval "$wx_cv_use_dialupman"
8080
8081 if test x"$enablestring" = xdisable; then
8082 if test $wxUSE_DIALUP_MANAGER = no; then
8083 result=yes
8084 else
8085 result=no
8086 fi
8087 else
8088 result=$wxUSE_DIALUP_MANAGER
8089 fi
8090
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8092 $as_echo "$result" >&6; }
8093
8094
8095 enablestring=
8096 defaultval=$wxUSE_ALL_FEATURES
8097 if test -z "$defaultval"; then
8098 if test x"$enablestring" = xdisable; then
8099 defaultval=yes
8100 else
8101 defaultval=no
8102 fi
8103 fi
8104
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8106 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8107 # Check whether --enable-dynlib was given.
8108 if test "${enable_dynlib+set}" = set; then :
8109 enableval=$enable_dynlib;
8110 if test "$enableval" = yes; then
8111 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8112 else
8113 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8114 fi
8115
8116 else
8117
8118 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8119
8120 fi
8121
8122
8123 eval "$wx_cv_use_dynlib"
8124
8125 if test x"$enablestring" = xdisable; then
8126 if test $wxUSE_DYNLIB_CLASS = no; then
8127 result=yes
8128 else
8129 result=no
8130 fi
8131 else
8132 result=$wxUSE_DYNLIB_CLASS
8133 fi
8134
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8136 $as_echo "$result" >&6; }
8137
8138
8139 enablestring=
8140 defaultval=$wxUSE_ALL_FEATURES
8141 if test -z "$defaultval"; then
8142 if test x"$enablestring" = xdisable; then
8143 defaultval=yes
8144 else
8145 defaultval=no
8146 fi
8147 fi
8148
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8150 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8151 # Check whether --enable-dynamicloader was given.
8152 if test "${enable_dynamicloader+set}" = set; then :
8153 enableval=$enable_dynamicloader;
8154 if test "$enableval" = yes; then
8155 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8156 else
8157 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8158 fi
8159
8160 else
8161
8162 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8163
8164 fi
8165
8166
8167 eval "$wx_cv_use_dynamicloader"
8168
8169 if test x"$enablestring" = xdisable; then
8170 if test $wxUSE_DYNAMIC_LOADER = no; then
8171 result=yes
8172 else
8173 result=no
8174 fi
8175 else
8176 result=$wxUSE_DYNAMIC_LOADER
8177 fi
8178
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8180 $as_echo "$result" >&6; }
8181
8182
8183 enablestring=
8184 defaultval=$wxUSE_ALL_FEATURES
8185 if test -z "$defaultval"; then
8186 if test x"$enablestring" = xdisable; then
8187 defaultval=yes
8188 else
8189 defaultval=no
8190 fi
8191 fi
8192
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8194 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8195 # Check whether --enable-exceptions was given.
8196 if test "${enable_exceptions+set}" = set; then :
8197 enableval=$enable_exceptions;
8198 if test "$enableval" = yes; then
8199 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
8200 else
8201 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
8202 fi
8203
8204 else
8205
8206 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8207
8208 fi
8209
8210
8211 eval "$wx_cv_use_exceptions"
8212
8213 if test x"$enablestring" = xdisable; then
8214 if test $wxUSE_EXCEPTIONS = no; then
8215 result=yes
8216 else
8217 result=no
8218 fi
8219 else
8220 result=$wxUSE_EXCEPTIONS
8221 fi
8222
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8224 $as_echo "$result" >&6; }
8225
8226
8227 enablestring=
8228 defaultval=$wxUSE_ALL_FEATURES
8229 if test -z "$defaultval"; then
8230 if test x"$enablestring" = xdisable; then
8231 defaultval=yes
8232 else
8233 defaultval=no
8234 fi
8235 fi
8236
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8238 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8239 # Check whether --enable-ffile was given.
8240 if test "${enable_ffile+set}" = set; then :
8241 enableval=$enable_ffile;
8242 if test "$enableval" = yes; then
8243 wx_cv_use_ffile='wxUSE_FFILE=yes'
8244 else
8245 wx_cv_use_ffile='wxUSE_FFILE=no'
8246 fi
8247
8248 else
8249
8250 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8251
8252 fi
8253
8254
8255 eval "$wx_cv_use_ffile"
8256
8257 if test x"$enablestring" = xdisable; then
8258 if test $wxUSE_FFILE = no; then
8259 result=yes
8260 else
8261 result=no
8262 fi
8263 else
8264 result=$wxUSE_FFILE
8265 fi
8266
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8268 $as_echo "$result" >&6; }
8269
8270
8271 enablestring=
8272 defaultval=$wxUSE_ALL_FEATURES
8273 if test -z "$defaultval"; then
8274 if test x"$enablestring" = xdisable; then
8275 defaultval=yes
8276 else
8277 defaultval=no
8278 fi
8279 fi
8280
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8282 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8283 # Check whether --enable-file was given.
8284 if test "${enable_file+set}" = set; then :
8285 enableval=$enable_file;
8286 if test "$enableval" = yes; then
8287 wx_cv_use_file='wxUSE_FILE=yes'
8288 else
8289 wx_cv_use_file='wxUSE_FILE=no'
8290 fi
8291
8292 else
8293
8294 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8295
8296 fi
8297
8298
8299 eval "$wx_cv_use_file"
8300
8301 if test x"$enablestring" = xdisable; then
8302 if test $wxUSE_FILE = no; then
8303 result=yes
8304 else
8305 result=no
8306 fi
8307 else
8308 result=$wxUSE_FILE
8309 fi
8310
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8312 $as_echo "$result" >&6; }
8313
8314
8315 enablestring=
8316 defaultval=$wxUSE_ALL_FEATURES
8317 if test -z "$defaultval"; then
8318 if test x"$enablestring" = xdisable; then
8319 defaultval=yes
8320 else
8321 defaultval=no
8322 fi
8323 fi
8324
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8326 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8327 # Check whether --enable-filehistory was given.
8328 if test "${enable_filehistory+set}" = set; then :
8329 enableval=$enable_filehistory;
8330 if test "$enableval" = yes; then
8331 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
8332 else
8333 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
8334 fi
8335
8336 else
8337
8338 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8339
8340 fi
8341
8342
8343 eval "$wx_cv_use_filehistory"
8344
8345 if test x"$enablestring" = xdisable; then
8346 if test $wxUSE_FILE_HISTORY = no; then
8347 result=yes
8348 else
8349 result=no
8350 fi
8351 else
8352 result=$wxUSE_FILE_HISTORY
8353 fi
8354
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8356 $as_echo "$result" >&6; }
8357
8358
8359 enablestring=
8360 defaultval=$wxUSE_ALL_FEATURES
8361 if test -z "$defaultval"; then
8362 if test x"$enablestring" = xdisable; then
8363 defaultval=yes
8364 else
8365 defaultval=no
8366 fi
8367 fi
8368
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8370 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8371 # Check whether --enable-filesystem was given.
8372 if test "${enable_filesystem+set}" = set; then :
8373 enableval=$enable_filesystem;
8374 if test "$enableval" = yes; then
8375 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8376 else
8377 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8378 fi
8379
8380 else
8381
8382 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8383
8384 fi
8385
8386
8387 eval "$wx_cv_use_filesystem"
8388
8389 if test x"$enablestring" = xdisable; then
8390 if test $wxUSE_FILESYSTEM = no; then
8391 result=yes
8392 else
8393 result=no
8394 fi
8395 else
8396 result=$wxUSE_FILESYSTEM
8397 fi
8398
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8400 $as_echo "$result" >&6; }
8401
8402
8403 enablestring=
8404 defaultval=$wxUSE_ALL_FEATURES
8405 if test -z "$defaultval"; then
8406 if test x"$enablestring" = xdisable; then
8407 defaultval=yes
8408 else
8409 defaultval=no
8410 fi
8411 fi
8412
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8414 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8415 # Check whether --enable-fontenum was given.
8416 if test "${enable_fontenum+set}" = set; then :
8417 enableval=$enable_fontenum;
8418 if test "$enableval" = yes; then
8419 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8420 else
8421 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8422 fi
8423
8424 else
8425
8426 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8427
8428 fi
8429
8430
8431 eval "$wx_cv_use_fontenum"
8432
8433 if test x"$enablestring" = xdisable; then
8434 if test $wxUSE_FONTENUM = no; then
8435 result=yes
8436 else
8437 result=no
8438 fi
8439 else
8440 result=$wxUSE_FONTENUM
8441 fi
8442
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8444 $as_echo "$result" >&6; }
8445
8446
8447 enablestring=
8448 defaultval=$wxUSE_ALL_FEATURES
8449 if test -z "$defaultval"; then
8450 if test x"$enablestring" = xdisable; then
8451 defaultval=yes
8452 else
8453 defaultval=no
8454 fi
8455 fi
8456
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8458 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8459 # Check whether --enable-fontmap was given.
8460 if test "${enable_fontmap+set}" = set; then :
8461 enableval=$enable_fontmap;
8462 if test "$enableval" = yes; then
8463 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
8464 else
8465 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
8466 fi
8467
8468 else
8469
8470 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8471
8472 fi
8473
8474
8475 eval "$wx_cv_use_fontmap"
8476
8477 if test x"$enablestring" = xdisable; then
8478 if test $wxUSE_FONTMAP = no; then
8479 result=yes
8480 else
8481 result=no
8482 fi
8483 else
8484 result=$wxUSE_FONTMAP
8485 fi
8486
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8488 $as_echo "$result" >&6; }
8489
8490
8491 enablestring=
8492 defaultval=$wxUSE_ALL_FEATURES
8493 if test -z "$defaultval"; then
8494 if test x"$enablestring" = xdisable; then
8495 defaultval=yes
8496 else
8497 defaultval=no
8498 fi
8499 fi
8500
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8502 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8503 # Check whether --enable-fs_archive was given.
8504 if test "${enable_fs_archive+set}" = set; then :
8505 enableval=$enable_fs_archive;
8506 if test "$enableval" = yes; then
8507 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8508 else
8509 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8510 fi
8511
8512 else
8513
8514 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8515
8516 fi
8517
8518
8519 eval "$wx_cv_use_fs_archive"
8520
8521 if test x"$enablestring" = xdisable; then
8522 if test $wxUSE_FS_ARCHIVE = no; then
8523 result=yes
8524 else
8525 result=no
8526 fi
8527 else
8528 result=$wxUSE_FS_ARCHIVE
8529 fi
8530
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8532 $as_echo "$result" >&6; }
8533
8534
8535 enablestring=
8536 defaultval=$wxUSE_ALL_FEATURES
8537 if test -z "$defaultval"; then
8538 if test x"$enablestring" = xdisable; then
8539 defaultval=yes
8540 else
8541 defaultval=no
8542 fi
8543 fi
8544
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8546 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8547 # Check whether --enable-fs_inet was given.
8548 if test "${enable_fs_inet+set}" = set; then :
8549 enableval=$enable_fs_inet;
8550 if test "$enableval" = yes; then
8551 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8552 else
8553 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8554 fi
8555
8556 else
8557
8558 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8559
8560 fi
8561
8562
8563 eval "$wx_cv_use_fs_inet"
8564
8565 if test x"$enablestring" = xdisable; then
8566 if test $wxUSE_FS_INET = no; then
8567 result=yes
8568 else
8569 result=no
8570 fi
8571 else
8572 result=$wxUSE_FS_INET
8573 fi
8574
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8576 $as_echo "$result" >&6; }
8577
8578
8579 enablestring=
8580 defaultval=$wxUSE_ALL_FEATURES
8581 if test -z "$defaultval"; then
8582 if test x"$enablestring" = xdisable; then
8583 defaultval=yes
8584 else
8585 defaultval=no
8586 fi
8587 fi
8588
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8590 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8591 # Check whether --enable-fs_zip was given.
8592 if test "${enable_fs_zip+set}" = set; then :
8593 enableval=$enable_fs_zip;
8594 if test "$enableval" = yes; then
8595 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
8596 else
8597 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
8598 fi
8599
8600 else
8601
8602 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8603
8604 fi
8605
8606
8607 eval "$wx_cv_use_fs_zip"
8608
8609 if test x"$enablestring" = xdisable; then
8610 if test $wxUSE_FS_ZIP = no; then
8611 result=yes
8612 else
8613 result=no
8614 fi
8615 else
8616 result=$wxUSE_FS_ZIP
8617 fi
8618
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8620 $as_echo "$result" >&6; }
8621
8622
8623 enablestring=
8624 defaultval=$wxUSE_ALL_FEATURES
8625 if test -z "$defaultval"; then
8626 if test x"$enablestring" = xdisable; then
8627 defaultval=yes
8628 else
8629 defaultval=no
8630 fi
8631 fi
8632
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fsvolume" >&5
8634 $as_echo_n "checking for --${enablestring:-enable}-fsvolume... " >&6; }
8635 # Check whether --enable-fsvolume was given.
8636 if test "${enable_fsvolume+set}" = set; then :
8637 enableval=$enable_fsvolume;
8638 if test "$enableval" = yes; then
8639 wx_cv_use_fsvolume='wxUSE_FSVOLUME=yes'
8640 else
8641 wx_cv_use_fsvolume='wxUSE_FSVOLUME=no'
8642 fi
8643
8644 else
8645
8646 wx_cv_use_fsvolume='wxUSE_FSVOLUME=${'DEFAULT_wxUSE_FSVOLUME":-$defaultval}"
8647
8648 fi
8649
8650
8651 eval "$wx_cv_use_fsvolume"
8652
8653 if test x"$enablestring" = xdisable; then
8654 if test $wxUSE_FSVOLUME = no; then
8655 result=yes
8656 else
8657 result=no
8658 fi
8659 else
8660 result=$wxUSE_FSVOLUME
8661 fi
8662
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8664 $as_echo "$result" >&6; }
8665
8666
8667 enablestring=
8668 defaultval=$wxUSE_ALL_FEATURES
8669 if test -z "$defaultval"; then
8670 if test x"$enablestring" = xdisable; then
8671 defaultval=yes
8672 else
8673 defaultval=no
8674 fi
8675 fi
8676
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8678 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8679 # Check whether --enable-fswatcher was given.
8680 if test "${enable_fswatcher+set}" = set; then :
8681 enableval=$enable_fswatcher;
8682 if test "$enableval" = yes; then
8683 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8684 else
8685 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8686 fi
8687
8688 else
8689
8690 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8691
8692 fi
8693
8694
8695 eval "$wx_cv_use_fswatcher"
8696
8697 if test x"$enablestring" = xdisable; then
8698 if test $wxUSE_FSWATCHER = no; then
8699 result=yes
8700 else
8701 result=no
8702 fi
8703 else
8704 result=$wxUSE_FSWATCHER
8705 fi
8706
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8708 $as_echo "$result" >&6; }
8709
8710
8711 enablestring=
8712 defaultval=$wxUSE_ALL_FEATURES
8713 if test -z "$defaultval"; then
8714 if test x"$enablestring" = xdisable; then
8715 defaultval=yes
8716 else
8717 defaultval=no
8718 fi
8719 fi
8720
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8722 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8723 # Check whether --enable-geometry was given.
8724 if test "${enable_geometry+set}" = set; then :
8725 enableval=$enable_geometry;
8726 if test "$enableval" = yes; then
8727 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8728 else
8729 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8730 fi
8731
8732 else
8733
8734 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8735
8736 fi
8737
8738
8739 eval "$wx_cv_use_geometry"
8740
8741 if test x"$enablestring" = xdisable; then
8742 if test $wxUSE_GEOMETRY = no; then
8743 result=yes
8744 else
8745 result=no
8746 fi
8747 else
8748 result=$wxUSE_GEOMETRY
8749 fi
8750
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8752 $as_echo "$result" >&6; }
8753
8754
8755 enablestring=
8756 defaultval=$wxUSE_ALL_FEATURES
8757 if test -z "$defaultval"; then
8758 if test x"$enablestring" = xdisable; then
8759 defaultval=yes
8760 else
8761 defaultval=no
8762 fi
8763 fi
8764
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8766 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8767 # Check whether --enable-log was given.
8768 if test "${enable_log+set}" = set; then :
8769 enableval=$enable_log;
8770 if test "$enableval" = yes; then
8771 wx_cv_use_log='wxUSE_LOG=yes'
8772 else
8773 wx_cv_use_log='wxUSE_LOG=no'
8774 fi
8775
8776 else
8777
8778 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8779
8780 fi
8781
8782
8783 eval "$wx_cv_use_log"
8784
8785 if test x"$enablestring" = xdisable; then
8786 if test $wxUSE_LOG = no; then
8787 result=yes
8788 else
8789 result=no
8790 fi
8791 else
8792 result=$wxUSE_LOG
8793 fi
8794
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8796 $as_echo "$result" >&6; }
8797
8798
8799 enablestring=
8800 defaultval=$wxUSE_ALL_FEATURES
8801 if test -z "$defaultval"; then
8802 if test x"$enablestring" = xdisable; then
8803 defaultval=yes
8804 else
8805 defaultval=no
8806 fi
8807 fi
8808
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8810 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8811 # Check whether --enable-longlong was given.
8812 if test "${enable_longlong+set}" = set; then :
8813 enableval=$enable_longlong;
8814 if test "$enableval" = yes; then
8815 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8816 else
8817 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8818 fi
8819
8820 else
8821
8822 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8823
8824 fi
8825
8826
8827 eval "$wx_cv_use_longlong"
8828
8829 if test x"$enablestring" = xdisable; then
8830 if test $wxUSE_LONGLONG = no; then
8831 result=yes
8832 else
8833 result=no
8834 fi
8835 else
8836 result=$wxUSE_LONGLONG
8837 fi
8838
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8840 $as_echo "$result" >&6; }
8841
8842
8843 enablestring=
8844 defaultval=$wxUSE_ALL_FEATURES
8845 if test -z "$defaultval"; then
8846 if test x"$enablestring" = xdisable; then
8847 defaultval=yes
8848 else
8849 defaultval=no
8850 fi
8851 fi
8852
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8854 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8855 # Check whether --enable-mimetype was given.
8856 if test "${enable_mimetype+set}" = set; then :
8857 enableval=$enable_mimetype;
8858 if test "$enableval" = yes; then
8859 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8860 else
8861 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8862 fi
8863
8864 else
8865
8866 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8867
8868 fi
8869
8870
8871 eval "$wx_cv_use_mimetype"
8872
8873 if test x"$enablestring" = xdisable; then
8874 if test $wxUSE_MIMETYPE = no; then
8875 result=yes
8876 else
8877 result=no
8878 fi
8879 else
8880 result=$wxUSE_MIMETYPE
8881 fi
8882
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8884 $as_echo "$result" >&6; }
8885
8886
8887 enablestring=
8888 defaultval=$wxUSE_ALL_FEATURES
8889 if test -z "$defaultval"; then
8890 if test x"$enablestring" = xdisable; then
8891 defaultval=yes
8892 else
8893 defaultval=no
8894 fi
8895 fi
8896
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8898 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8899 # Check whether --enable-printfposparam was given.
8900 if test "${enable_printfposparam+set}" = set; then :
8901 enableval=$enable_printfposparam;
8902 if test "$enableval" = yes; then
8903 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8904 else
8905 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8906 fi
8907
8908 else
8909
8910 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8911
8912 fi
8913
8914
8915 eval "$wx_cv_use_printfposparam"
8916
8917 if test x"$enablestring" = xdisable; then
8918 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8919 result=yes
8920 else
8921 result=no
8922 fi
8923 else
8924 result=$wxUSE_PRINTF_POS_PARAMS
8925 fi
8926
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8928 $as_echo "$result" >&6; }
8929
8930
8931 enablestring=
8932 defaultval=$wxUSE_ALL_FEATURES
8933 if test -z "$defaultval"; then
8934 if test x"$enablestring" = xdisable; then
8935 defaultval=yes
8936 else
8937 defaultval=no
8938 fi
8939 fi
8940
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
8942 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
8943 # Check whether --enable-snglinst was given.
8944 if test "${enable_snglinst+set}" = set; then :
8945 enableval=$enable_snglinst;
8946 if test "$enableval" = yes; then
8947 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8948 else
8949 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8950 fi
8951
8952 else
8953
8954 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8955
8956 fi
8957
8958
8959 eval "$wx_cv_use_snglinst"
8960
8961 if test x"$enablestring" = xdisable; then
8962 if test $wxUSE_SNGLINST_CHECKER = no; then
8963 result=yes
8964 else
8965 result=no
8966 fi
8967 else
8968 result=$wxUSE_SNGLINST_CHECKER
8969 fi
8970
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8972 $as_echo "$result" >&6; }
8973
8974
8975 enablestring=
8976 defaultval=$wxUSE_ALL_FEATURES
8977 if test -z "$defaultval"; then
8978 if test x"$enablestring" = xdisable; then
8979 defaultval=yes
8980 else
8981 defaultval=no
8982 fi
8983 fi
8984
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
8986 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
8987 # Check whether --enable-sound was given.
8988 if test "${enable_sound+set}" = set; then :
8989 enableval=$enable_sound;
8990 if test "$enableval" = yes; then
8991 wx_cv_use_sound='wxUSE_SOUND=yes'
8992 else
8993 wx_cv_use_sound='wxUSE_SOUND=no'
8994 fi
8995
8996 else
8997
8998 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8999
9000 fi
9001
9002
9003 eval "$wx_cv_use_sound"
9004
9005 if test x"$enablestring" = xdisable; then
9006 if test $wxUSE_SOUND = no; then
9007 result=yes
9008 else
9009 result=no
9010 fi
9011 else
9012 result=$wxUSE_SOUND
9013 fi
9014
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9016 $as_echo "$result" >&6; }
9017
9018
9019 enablestring=
9020 defaultval=$wxUSE_ALL_FEATURES
9021 if test -z "$defaultval"; then
9022 if test x"$enablestring" = xdisable; then
9023 defaultval=yes
9024 else
9025 defaultval=no
9026 fi
9027 fi
9028
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
9030 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
9031 # Check whether --enable-stdpaths was given.
9032 if test "${enable_stdpaths+set}" = set; then :
9033 enableval=$enable_stdpaths;
9034 if test "$enableval" = yes; then
9035 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
9036 else
9037 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
9038 fi
9039
9040 else
9041
9042 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
9043
9044 fi
9045
9046
9047 eval "$wx_cv_use_stdpaths"
9048
9049 if test x"$enablestring" = xdisable; then
9050 if test $wxUSE_STDPATHS = no; then
9051 result=yes
9052 else
9053 result=no
9054 fi
9055 else
9056 result=$wxUSE_STDPATHS
9057 fi
9058
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9060 $as_echo "$result" >&6; }
9061
9062
9063 enablestring=
9064 defaultval=$wxUSE_ALL_FEATURES
9065 if test -z "$defaultval"; then
9066 if test x"$enablestring" = xdisable; then
9067 defaultval=yes
9068 else
9069 defaultval=no
9070 fi
9071 fi
9072
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
9074 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
9075 # Check whether --enable-stopwatch was given.
9076 if test "${enable_stopwatch+set}" = set; then :
9077 enableval=$enable_stopwatch;
9078 if test "$enableval" = yes; then
9079 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
9080 else
9081 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
9082 fi
9083
9084 else
9085
9086 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
9087
9088 fi
9089
9090
9091 eval "$wx_cv_use_stopwatch"
9092
9093 if test x"$enablestring" = xdisable; then
9094 if test $wxUSE_STOPWATCH = no; then
9095 result=yes
9096 else
9097 result=no
9098 fi
9099 else
9100 result=$wxUSE_STOPWATCH
9101 fi
9102
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9104 $as_echo "$result" >&6; }
9105
9106
9107 enablestring=
9108 defaultval=$wxUSE_ALL_FEATURES
9109 if test -z "$defaultval"; then
9110 if test x"$enablestring" = xdisable; then
9111 defaultval=yes
9112 else
9113 defaultval=no
9114 fi
9115 fi
9116
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9118 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9119 # Check whether --enable-streams was given.
9120 if test "${enable_streams+set}" = set; then :
9121 enableval=$enable_streams;
9122 if test "$enableval" = yes; then
9123 wx_cv_use_streams='wxUSE_STREAMS=yes'
9124 else
9125 wx_cv_use_streams='wxUSE_STREAMS=no'
9126 fi
9127
9128 else
9129
9130 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9131
9132 fi
9133
9134
9135 eval "$wx_cv_use_streams"
9136
9137 if test x"$enablestring" = xdisable; then
9138 if test $wxUSE_STREAMS = no; then
9139 result=yes
9140 else
9141 result=no
9142 fi
9143 else
9144 result=$wxUSE_STREAMS
9145 fi
9146
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9148 $as_echo "$result" >&6; }
9149
9150
9151 enablestring=
9152 defaultval=$wxUSE_ALL_FEATURES
9153 if test -z "$defaultval"; then
9154 if test x"$enablestring" = xdisable; then
9155 defaultval=yes
9156 else
9157 defaultval=no
9158 fi
9159 fi
9160
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9162 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9163 # Check whether --enable-sysoptions was given.
9164 if test "${enable_sysoptions+set}" = set; then :
9165 enableval=$enable_sysoptions;
9166 if test "$enableval" = yes; then
9167 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9168 else
9169 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9170 fi
9171
9172 else
9173
9174 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9175
9176 fi
9177
9178
9179 eval "$wx_cv_use_sysoptions"
9180
9181 if test x"$enablestring" = xdisable; then
9182 if test $wxUSE_SYSTEM_OPTIONS = no; then
9183 result=yes
9184 else
9185 result=no
9186 fi
9187 else
9188 result=$wxUSE_SYSTEM_OPTIONS
9189 fi
9190
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9192 $as_echo "$result" >&6; }
9193
9194
9195 enablestring=
9196 defaultval=$wxUSE_ALL_FEATURES
9197 if test -z "$defaultval"; then
9198 if test x"$enablestring" = xdisable; then
9199 defaultval=yes
9200 else
9201 defaultval=no
9202 fi
9203 fi
9204
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9206 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9207 # Check whether --enable-tarstream was given.
9208 if test "${enable_tarstream+set}" = set; then :
9209 enableval=$enable_tarstream;
9210 if test "$enableval" = yes; then
9211 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9212 else
9213 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9214 fi
9215
9216 else
9217
9218 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9219
9220 fi
9221
9222
9223 eval "$wx_cv_use_tarstream"
9224
9225 if test x"$enablestring" = xdisable; then
9226 if test $wxUSE_TARSTREAM = no; then
9227 result=yes
9228 else
9229 result=no
9230 fi
9231 else
9232 result=$wxUSE_TARSTREAM
9233 fi
9234
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9236 $as_echo "$result" >&6; }
9237
9238
9239 enablestring=
9240 defaultval=$wxUSE_ALL_FEATURES
9241 if test -z "$defaultval"; then
9242 if test x"$enablestring" = xdisable; then
9243 defaultval=yes
9244 else
9245 defaultval=no
9246 fi
9247 fi
9248
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9250 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9251 # Check whether --enable-textbuf was given.
9252 if test "${enable_textbuf+set}" = set; then :
9253 enableval=$enable_textbuf;
9254 if test "$enableval" = yes; then
9255 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9256 else
9257 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9258 fi
9259
9260 else
9261
9262 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9263
9264 fi
9265
9266
9267 eval "$wx_cv_use_textbuf"
9268
9269 if test x"$enablestring" = xdisable; then
9270 if test $wxUSE_TEXTBUFFER = no; then
9271 result=yes
9272 else
9273 result=no
9274 fi
9275 else
9276 result=$wxUSE_TEXTBUFFER
9277 fi
9278
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9280 $as_echo "$result" >&6; }
9281
9282
9283 enablestring=
9284 defaultval=$wxUSE_ALL_FEATURES
9285 if test -z "$defaultval"; then
9286 if test x"$enablestring" = xdisable; then
9287 defaultval=yes
9288 else
9289 defaultval=no
9290 fi
9291 fi
9292
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9294 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9295 # Check whether --enable-textfile was given.
9296 if test "${enable_textfile+set}" = set; then :
9297 enableval=$enable_textfile;
9298 if test "$enableval" = yes; then
9299 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9300 else
9301 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9302 fi
9303
9304 else
9305
9306 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9307
9308 fi
9309
9310
9311 eval "$wx_cv_use_textfile"
9312
9313 if test x"$enablestring" = xdisable; then
9314 if test $wxUSE_TEXTFILE = no; then
9315 result=yes
9316 else
9317 result=no
9318 fi
9319 else
9320 result=$wxUSE_TEXTFILE
9321 fi
9322
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9324 $as_echo "$result" >&6; }
9325
9326
9327 enablestring=
9328 defaultval=$wxUSE_ALL_FEATURES
9329 if test -z "$defaultval"; then
9330 if test x"$enablestring" = xdisable; then
9331 defaultval=yes
9332 else
9333 defaultval=no
9334 fi
9335 fi
9336
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9338 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9339 # Check whether --enable-timer was given.
9340 if test "${enable_timer+set}" = set; then :
9341 enableval=$enable_timer;
9342 if test "$enableval" = yes; then
9343 wx_cv_use_timer='wxUSE_TIMER=yes'
9344 else
9345 wx_cv_use_timer='wxUSE_TIMER=no'
9346 fi
9347
9348 else
9349
9350 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9351
9352 fi
9353
9354
9355 eval "$wx_cv_use_timer"
9356
9357 if test x"$enablestring" = xdisable; then
9358 if test $wxUSE_TIMER = no; then
9359 result=yes
9360 else
9361 result=no
9362 fi
9363 else
9364 result=$wxUSE_TIMER
9365 fi
9366
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9368 $as_echo "$result" >&6; }
9369
9370
9371 enablestring=
9372 defaultval=$wxUSE_ALL_FEATURES
9373 if test -z "$defaultval"; then
9374 if test x"$enablestring" = xdisable; then
9375 defaultval=yes
9376 else
9377 defaultval=no
9378 fi
9379 fi
9380
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9382 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9383 # Check whether --enable-variant was given.
9384 if test "${enable_variant+set}" = set; then :
9385 enableval=$enable_variant;
9386 if test "$enableval" = yes; then
9387 wx_cv_use_variant='wxUSE_VARIANT=yes'
9388 else
9389 wx_cv_use_variant='wxUSE_VARIANT=no'
9390 fi
9391
9392 else
9393
9394 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9395
9396 fi
9397
9398
9399 eval "$wx_cv_use_variant"
9400
9401 if test x"$enablestring" = xdisable; then
9402 if test $wxUSE_VARIANT = no; then
9403 result=yes
9404 else
9405 result=no
9406 fi
9407 else
9408 result=$wxUSE_VARIANT
9409 fi
9410
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9412 $as_echo "$result" >&6; }
9413
9414
9415 enablestring=
9416 defaultval=$wxUSE_ALL_FEATURES
9417 if test -z "$defaultval"; then
9418 if test x"$enablestring" = xdisable; then
9419 defaultval=yes
9420 else
9421 defaultval=no
9422 fi
9423 fi
9424
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9426 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9427 # Check whether --enable-zipstream was given.
9428 if test "${enable_zipstream+set}" = set; then :
9429 enableval=$enable_zipstream;
9430 if test "$enableval" = yes; then
9431 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9432 else
9433 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9434 fi
9435
9436 else
9437
9438 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9439
9440 fi
9441
9442
9443 eval "$wx_cv_use_zipstream"
9444
9445 if test x"$enablestring" = xdisable; then
9446 if test $wxUSE_ZIPSTREAM = no; then
9447 result=yes
9448 else
9449 result=no
9450 fi
9451 else
9452 result=$wxUSE_ZIPSTREAM
9453 fi
9454
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9456 $as_echo "$result" >&6; }
9457
9458
9459
9460 enablestring=
9461 defaultval=$wxUSE_ALL_FEATURES
9462 if test -z "$defaultval"; then
9463 if test x"$enablestring" = xdisable; then
9464 defaultval=yes
9465 else
9466 defaultval=no
9467 fi
9468 fi
9469
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9471 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9472 # Check whether --enable-url was given.
9473 if test "${enable_url+set}" = set; then :
9474 enableval=$enable_url;
9475 if test "$enableval" = yes; then
9476 wx_cv_use_url='wxUSE_URL=yes'
9477 else
9478 wx_cv_use_url='wxUSE_URL=no'
9479 fi
9480
9481 else
9482
9483 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9484
9485 fi
9486
9487
9488 eval "$wx_cv_use_url"
9489
9490 if test x"$enablestring" = xdisable; then
9491 if test $wxUSE_URL = no; then
9492 result=yes
9493 else
9494 result=no
9495 fi
9496 else
9497 result=$wxUSE_URL
9498 fi
9499
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9501 $as_echo "$result" >&6; }
9502
9503
9504 enablestring=
9505 defaultval=$wxUSE_ALL_FEATURES
9506 if test -z "$defaultval"; then
9507 if test x"$enablestring" = xdisable; then
9508 defaultval=yes
9509 else
9510 defaultval=no
9511 fi
9512 fi
9513
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9515 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9516 # Check whether --enable-protocol was given.
9517 if test "${enable_protocol+set}" = set; then :
9518 enableval=$enable_protocol;
9519 if test "$enableval" = yes; then
9520 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9521 else
9522 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9523 fi
9524
9525 else
9526
9527 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9528
9529 fi
9530
9531
9532 eval "$wx_cv_use_protocol"
9533
9534 if test x"$enablestring" = xdisable; then
9535 if test $wxUSE_PROTOCOL = no; then
9536 result=yes
9537 else
9538 result=no
9539 fi
9540 else
9541 result=$wxUSE_PROTOCOL
9542 fi
9543
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9545 $as_echo "$result" >&6; }
9546
9547
9548 enablestring=
9549 defaultval=$wxUSE_ALL_FEATURES
9550 if test -z "$defaultval"; then
9551 if test x"$enablestring" = xdisable; then
9552 defaultval=yes
9553 else
9554 defaultval=no
9555 fi
9556 fi
9557
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9559 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9560 # Check whether --enable-protocol_http was given.
9561 if test "${enable_protocol_http+set}" = set; then :
9562 enableval=$enable_protocol_http;
9563 if test "$enableval" = yes; then
9564 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9565 else
9566 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9567 fi
9568
9569 else
9570
9571 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9572
9573 fi
9574
9575
9576 eval "$wx_cv_use_protocol_http"
9577
9578 if test x"$enablestring" = xdisable; then
9579 if test $wxUSE_PROTOCOL_HTTP = no; then
9580 result=yes
9581 else
9582 result=no
9583 fi
9584 else
9585 result=$wxUSE_PROTOCOL_HTTP
9586 fi
9587
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9589 $as_echo "$result" >&6; }
9590
9591
9592 enablestring=
9593 defaultval=$wxUSE_ALL_FEATURES
9594 if test -z "$defaultval"; then
9595 if test x"$enablestring" = xdisable; then
9596 defaultval=yes
9597 else
9598 defaultval=no
9599 fi
9600 fi
9601
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9603 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9604 # Check whether --enable-protocol_ftp was given.
9605 if test "${enable_protocol_ftp+set}" = set; then :
9606 enableval=$enable_protocol_ftp;
9607 if test "$enableval" = yes; then
9608 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9609 else
9610 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9611 fi
9612
9613 else
9614
9615 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9616
9617 fi
9618
9619
9620 eval "$wx_cv_use_protocol_ftp"
9621
9622 if test x"$enablestring" = xdisable; then
9623 if test $wxUSE_PROTOCOL_FTP = no; then
9624 result=yes
9625 else
9626 result=no
9627 fi
9628 else
9629 result=$wxUSE_PROTOCOL_FTP
9630 fi
9631
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9633 $as_echo "$result" >&6; }
9634
9635
9636 enablestring=
9637 defaultval=$wxUSE_ALL_FEATURES
9638 if test -z "$defaultval"; then
9639 if test x"$enablestring" = xdisable; then
9640 defaultval=yes
9641 else
9642 defaultval=no
9643 fi
9644 fi
9645
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9647 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9648 # Check whether --enable-protocol_file was given.
9649 if test "${enable_protocol_file+set}" = set; then :
9650 enableval=$enable_protocol_file;
9651 if test "$enableval" = yes; then
9652 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9653 else
9654 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9655 fi
9656
9657 else
9658
9659 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9660
9661 fi
9662
9663
9664 eval "$wx_cv_use_protocol_file"
9665
9666 if test x"$enablestring" = xdisable; then
9667 if test $wxUSE_PROTOCOL_FILE = no; then
9668 result=yes
9669 else
9670 result=no
9671 fi
9672 else
9673 result=$wxUSE_PROTOCOL_FILE
9674 fi
9675
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9677 $as_echo "$result" >&6; }
9678
9679
9680
9681 enablestring=
9682 defaultval=$wxUSE_ALL_FEATURES
9683 if test -z "$defaultval"; then
9684 if test x"$enablestring" = xdisable; then
9685 defaultval=yes
9686 else
9687 defaultval=no
9688 fi
9689 fi
9690
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9692 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9693 # Check whether --enable-threads was given.
9694 if test "${enable_threads+set}" = set; then :
9695 enableval=$enable_threads;
9696 if test "$enableval" = yes; then
9697 wx_cv_use_threads='wxUSE_THREADS=yes'
9698 else
9699 wx_cv_use_threads='wxUSE_THREADS=no'
9700 fi
9701
9702 else
9703
9704 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9705
9706 fi
9707
9708
9709 eval "$wx_cv_use_threads"
9710
9711 if test x"$enablestring" = xdisable; then
9712 if test $wxUSE_THREADS = no; then
9713 result=yes
9714 else
9715 result=no
9716 fi
9717 else
9718 result=$wxUSE_THREADS
9719 fi
9720
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9722 $as_echo "$result" >&6; }
9723
9724
9725
9726 enablestring=
9727 defaultval=
9728 if test -z "$defaultval"; then
9729 if test x"$enablestring" = xdisable; then
9730 defaultval=yes
9731 else
9732 defaultval=no
9733 fi
9734 fi
9735
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9737 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9738 # Check whether --enable-iniconf was given.
9739 if test "${enable_iniconf+set}" = set; then :
9740 enableval=$enable_iniconf;
9741 if test "$enableval" = yes; then
9742 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9743 else
9744 wx_cv_use_iniconf='wxUSE_INICONF=no'
9745 fi
9746
9747 else
9748
9749 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9750
9751 fi
9752
9753
9754 eval "$wx_cv_use_iniconf"
9755
9756 if test x"$enablestring" = xdisable; then
9757 if test $wxUSE_INICONF = no; then
9758 result=yes
9759 else
9760 result=no
9761 fi
9762 else
9763 result=$wxUSE_INICONF
9764 fi
9765
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9767 $as_echo "$result" >&6; }
9768
9769
9770 enablestring=
9771 defaultval=$wxUSE_ALL_FEATURES
9772 if test -z "$defaultval"; then
9773 if test x"$enablestring" = xdisable; then
9774 defaultval=yes
9775 else
9776 defaultval=no
9777 fi
9778 fi
9779
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9781 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9782 # Check whether --enable-regkey was given.
9783 if test "${enable_regkey+set}" = set; then :
9784 enableval=$enable_regkey;
9785 if test "$enableval" = yes; then
9786 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9787 else
9788 wx_cv_use_regkey='wxUSE_REGKEY=no'
9789 fi
9790
9791 else
9792
9793 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9794
9795 fi
9796
9797
9798 eval "$wx_cv_use_regkey"
9799
9800 if test x"$enablestring" = xdisable; then
9801 if test $wxUSE_REGKEY = no; then
9802 result=yes
9803 else
9804 result=no
9805 fi
9806 else
9807 result=$wxUSE_REGKEY
9808 fi
9809
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9811 $as_echo "$result" >&6; }
9812
9813
9814 if test "$wxUSE_GUI" = "yes"; then
9815
9816
9817
9818 enablestring=
9819 defaultval=$wxUSE_ALL_FEATURES
9820 if test -z "$defaultval"; then
9821 if test x"$enablestring" = xdisable; then
9822 defaultval=yes
9823 else
9824 defaultval=no
9825 fi
9826 fi
9827
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9829 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9830 # Check whether --enable-docview was given.
9831 if test "${enable_docview+set}" = set; then :
9832 enableval=$enable_docview;
9833 if test "$enableval" = yes; then
9834 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9835 else
9836 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9837 fi
9838
9839 else
9840
9841 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9842
9843 fi
9844
9845
9846 eval "$wx_cv_use_docview"
9847
9848 if test x"$enablestring" = xdisable; then
9849 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9850 result=yes
9851 else
9852 result=no
9853 fi
9854 else
9855 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9856 fi
9857
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9859 $as_echo "$result" >&6; }
9860
9861
9862 enablestring=
9863 defaultval=$wxUSE_ALL_FEATURES
9864 if test -z "$defaultval"; then
9865 if test x"$enablestring" = xdisable; then
9866 defaultval=yes
9867 else
9868 defaultval=no
9869 fi
9870 fi
9871
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9873 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9874 # Check whether --enable-help was given.
9875 if test "${enable_help+set}" = set; then :
9876 enableval=$enable_help;
9877 if test "$enableval" = yes; then
9878 wx_cv_use_help='wxUSE_HELP=yes'
9879 else
9880 wx_cv_use_help='wxUSE_HELP=no'
9881 fi
9882
9883 else
9884
9885 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9886
9887 fi
9888
9889
9890 eval "$wx_cv_use_help"
9891
9892 if test x"$enablestring" = xdisable; then
9893 if test $wxUSE_HELP = no; then
9894 result=yes
9895 else
9896 result=no
9897 fi
9898 else
9899 result=$wxUSE_HELP
9900 fi
9901
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9903 $as_echo "$result" >&6; }
9904
9905
9906 enablestring=
9907 defaultval=$wxUSE_ALL_FEATURES
9908 if test -z "$defaultval"; then
9909 if test x"$enablestring" = xdisable; then
9910 defaultval=yes
9911 else
9912 defaultval=no
9913 fi
9914 fi
9915
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9917 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9918 # Check whether --enable-mshtmlhelp was given.
9919 if test "${enable_mshtmlhelp+set}" = set; then :
9920 enableval=$enable_mshtmlhelp;
9921 if test "$enableval" = yes; then
9922 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9923 else
9924 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9925 fi
9926
9927 else
9928
9929 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9930
9931 fi
9932
9933
9934 eval "$wx_cv_use_mshtmlhelp"
9935
9936 if test x"$enablestring" = xdisable; then
9937 if test $wxUSE_MS_HTML_HELP = no; then
9938 result=yes
9939 else
9940 result=no
9941 fi
9942 else
9943 result=$wxUSE_MS_HTML_HELP
9944 fi
9945
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9947 $as_echo "$result" >&6; }
9948
9949
9950 enablestring=
9951 defaultval=$wxUSE_ALL_FEATURES
9952 if test -z "$defaultval"; then
9953 if test x"$enablestring" = xdisable; then
9954 defaultval=yes
9955 else
9956 defaultval=no
9957 fi
9958 fi
9959
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
9961 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
9962 # Check whether --enable-html was given.
9963 if test "${enable_html+set}" = set; then :
9964 enableval=$enable_html;
9965 if test "$enableval" = yes; then
9966 wx_cv_use_html='wxUSE_HTML=yes'
9967 else
9968 wx_cv_use_html='wxUSE_HTML=no'
9969 fi
9970
9971 else
9972
9973 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9974
9975 fi
9976
9977
9978 eval "$wx_cv_use_html"
9979
9980 if test x"$enablestring" = xdisable; then
9981 if test $wxUSE_HTML = no; then
9982 result=yes
9983 else
9984 result=no
9985 fi
9986 else
9987 result=$wxUSE_HTML
9988 fi
9989
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9991 $as_echo "$result" >&6; }
9992
9993
9994 enablestring=
9995 defaultval=$wxUSE_ALL_FEATURES
9996 if test -z "$defaultval"; then
9997 if test x"$enablestring" = xdisable; then
9998 defaultval=yes
9999 else
10000 defaultval=no
10001 fi
10002 fi
10003
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
10005 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
10006 # Check whether --enable-htmlhelp was given.
10007 if test "${enable_htmlhelp+set}" = set; then :
10008 enableval=$enable_htmlhelp;
10009 if test "$enableval" = yes; then
10010 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
10011 else
10012 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
10013 fi
10014
10015 else
10016
10017 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
10018
10019 fi
10020
10021
10022 eval "$wx_cv_use_htmlhelp"
10023
10024 if test x"$enablestring" = xdisable; then
10025 if test $wxUSE_WXHTML_HELP = no; then
10026 result=yes
10027 else
10028 result=no
10029 fi
10030 else
10031 result=$wxUSE_WXHTML_HELP
10032 fi
10033
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10035 $as_echo "$result" >&6; }
10036
10037
10038 enablestring=
10039 defaultval=$wxUSE_ALL_FEATURES
10040 if test -z "$defaultval"; then
10041 if test x"$enablestring" = xdisable; then
10042 defaultval=yes
10043 else
10044 defaultval=no
10045 fi
10046 fi
10047
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
10049 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
10050 # Check whether --enable-xrc was given.
10051 if test "${enable_xrc+set}" = set; then :
10052 enableval=$enable_xrc;
10053 if test "$enableval" = yes; then
10054 wx_cv_use_xrc='wxUSE_XRC=yes'
10055 else
10056 wx_cv_use_xrc='wxUSE_XRC=no'
10057 fi
10058
10059 else
10060
10061 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
10062
10063 fi
10064
10065
10066 eval "$wx_cv_use_xrc"
10067
10068 if test x"$enablestring" = xdisable; then
10069 if test $wxUSE_XRC = no; then
10070 result=yes
10071 else
10072 result=no
10073 fi
10074 else
10075 result=$wxUSE_XRC
10076 fi
10077
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10079 $as_echo "$result" >&6; }
10080
10081
10082 enablestring=
10083 defaultval=$wxUSE_ALL_FEATURES
10084 if test -z "$defaultval"; then
10085 if test x"$enablestring" = xdisable; then
10086 defaultval=yes
10087 else
10088 defaultval=no
10089 fi
10090 fi
10091
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
10093 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
10094 # Check whether --enable-aui was given.
10095 if test "${enable_aui+set}" = set; then :
10096 enableval=$enable_aui;
10097 if test "$enableval" = yes; then
10098 wx_cv_use_aui='wxUSE_AUI=yes'
10099 else
10100 wx_cv_use_aui='wxUSE_AUI=no'
10101 fi
10102
10103 else
10104
10105 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10106
10107 fi
10108
10109
10110 eval "$wx_cv_use_aui"
10111
10112 if test x"$enablestring" = xdisable; then
10113 if test $wxUSE_AUI = no; then
10114 result=yes
10115 else
10116 result=no
10117 fi
10118 else
10119 result=$wxUSE_AUI
10120 fi
10121
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10123 $as_echo "$result" >&6; }
10124
10125
10126 enablestring=
10127 defaultval=$wxUSE_ALL_FEATURES
10128 if test -z "$defaultval"; then
10129 if test x"$enablestring" = xdisable; then
10130 defaultval=yes
10131 else
10132 defaultval=no
10133 fi
10134 fi
10135
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10137 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10138 # Check whether --enable-propgrid was given.
10139 if test "${enable_propgrid+set}" = set; then :
10140 enableval=$enable_propgrid;
10141 if test "$enableval" = yes; then
10142 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10143 else
10144 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10145 fi
10146
10147 else
10148
10149 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10150
10151 fi
10152
10153
10154 eval "$wx_cv_use_propgrid"
10155
10156 if test x"$enablestring" = xdisable; then
10157 if test $wxUSE_PROPGRID = no; then
10158 result=yes
10159 else
10160 result=no
10161 fi
10162 else
10163 result=$wxUSE_PROPGRID
10164 fi
10165
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10167 $as_echo "$result" >&6; }
10168
10169
10170 enablestring=
10171 defaultval=$wxUSE_ALL_FEATURES
10172 if test -z "$defaultval"; then
10173 if test x"$enablestring" = xdisable; then
10174 defaultval=yes
10175 else
10176 defaultval=no
10177 fi
10178 fi
10179
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10181 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10182 # Check whether --enable-ribbon was given.
10183 if test "${enable_ribbon+set}" = set; then :
10184 enableval=$enable_ribbon;
10185 if test "$enableval" = yes; then
10186 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10187 else
10188 wx_cv_use_ribbon='wxUSE_RIBBON=no'
10189 fi
10190
10191 else
10192
10193 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10194
10195 fi
10196
10197
10198 eval "$wx_cv_use_ribbon"
10199
10200 if test x"$enablestring" = xdisable; then
10201 if test $wxUSE_RIBBON = no; then
10202 result=yes
10203 else
10204 result=no
10205 fi
10206 else
10207 result=$wxUSE_RIBBON
10208 fi
10209
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10211 $as_echo "$result" >&6; }
10212
10213
10214 enablestring=
10215 defaultval=$wxUSE_ALL_FEATURES
10216 if test -z "$defaultval"; then
10217 if test x"$enablestring" = xdisable; then
10218 defaultval=yes
10219 else
10220 defaultval=no
10221 fi
10222 fi
10223
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10225 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10226 # Check whether --enable-stc was given.
10227 if test "${enable_stc+set}" = set; then :
10228 enableval=$enable_stc;
10229 if test "$enableval" = yes; then
10230 wx_cv_use_stc='wxUSE_STC=yes'
10231 else
10232 wx_cv_use_stc='wxUSE_STC=no'
10233 fi
10234
10235 else
10236
10237 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10238
10239 fi
10240
10241
10242 eval "$wx_cv_use_stc"
10243
10244 if test x"$enablestring" = xdisable; then
10245 if test $wxUSE_STC = no; then
10246 result=yes
10247 else
10248 result=no
10249 fi
10250 else
10251 result=$wxUSE_STC
10252 fi
10253
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10255 $as_echo "$result" >&6; }
10256
10257
10258 enablestring=
10259 defaultval=$wxUSE_ALL_FEATURES
10260 if test -z "$defaultval"; then
10261 if test x"$enablestring" = xdisable; then
10262 defaultval=yes
10263 else
10264 defaultval=no
10265 fi
10266 fi
10267
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10269 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10270 # Check whether --enable-constraints was given.
10271 if test "${enable_constraints+set}" = set; then :
10272 enableval=$enable_constraints;
10273 if test "$enableval" = yes; then
10274 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10275 else
10276 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10277 fi
10278
10279 else
10280
10281 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10282
10283 fi
10284
10285
10286 eval "$wx_cv_use_constraints"
10287
10288 if test x"$enablestring" = xdisable; then
10289 if test $wxUSE_CONSTRAINTS = no; then
10290 result=yes
10291 else
10292 result=no
10293 fi
10294 else
10295 result=$wxUSE_CONSTRAINTS
10296 fi
10297
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10299 $as_echo "$result" >&6; }
10300
10301
10302 enablestring=
10303 defaultval=$wxUSE_ALL_FEATURES
10304 if test -z "$defaultval"; then
10305 if test x"$enablestring" = xdisable; then
10306 defaultval=yes
10307 else
10308 defaultval=no
10309 fi
10310 fi
10311
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10313 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10314 # Check whether --enable-loggui was given.
10315 if test "${enable_loggui+set}" = set; then :
10316 enableval=$enable_loggui;
10317 if test "$enableval" = yes; then
10318 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10319 else
10320 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10321 fi
10322
10323 else
10324
10325 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10326
10327 fi
10328
10329
10330 eval "$wx_cv_use_loggui"
10331
10332 if test x"$enablestring" = xdisable; then
10333 if test $wxUSE_LOGGUI = no; then
10334 result=yes
10335 else
10336 result=no
10337 fi
10338 else
10339 result=$wxUSE_LOGGUI
10340 fi
10341
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10343 $as_echo "$result" >&6; }
10344
10345
10346 enablestring=
10347 defaultval=$wxUSE_ALL_FEATURES
10348 if test -z "$defaultval"; then
10349 if test x"$enablestring" = xdisable; then
10350 defaultval=yes
10351 else
10352 defaultval=no
10353 fi
10354 fi
10355
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10357 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10358 # Check whether --enable-logwin was given.
10359 if test "${enable_logwin+set}" = set; then :
10360 enableval=$enable_logwin;
10361 if test "$enableval" = yes; then
10362 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10363 else
10364 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10365 fi
10366
10367 else
10368
10369 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10370
10371 fi
10372
10373
10374 eval "$wx_cv_use_logwin"
10375
10376 if test x"$enablestring" = xdisable; then
10377 if test $wxUSE_LOGWINDOW = no; then
10378 result=yes
10379 else
10380 result=no
10381 fi
10382 else
10383 result=$wxUSE_LOGWINDOW
10384 fi
10385
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10387 $as_echo "$result" >&6; }
10388
10389
10390 enablestring=
10391 defaultval=$wxUSE_ALL_FEATURES
10392 if test -z "$defaultval"; then
10393 if test x"$enablestring" = xdisable; then
10394 defaultval=yes
10395 else
10396 defaultval=no
10397 fi
10398 fi
10399
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10401 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10402 # Check whether --enable-logdialog was given.
10403 if test "${enable_logdialog+set}" = set; then :
10404 enableval=$enable_logdialog;
10405 if test "$enableval" = yes; then
10406 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10407 else
10408 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10409 fi
10410
10411 else
10412
10413 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10414
10415 fi
10416
10417
10418 eval "$wx_cv_use_logdialog"
10419
10420 if test x"$enablestring" = xdisable; then
10421 if test $wxUSE_LOGDIALOG = no; then
10422 result=yes
10423 else
10424 result=no
10425 fi
10426 else
10427 result=$wxUSE_LOGDIALOG
10428 fi
10429
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10431 $as_echo "$result" >&6; }
10432
10433
10434 enablestring=
10435 defaultval=$wxUSE_ALL_FEATURES
10436 if test -z "$defaultval"; then
10437 if test x"$enablestring" = xdisable; then
10438 defaultval=yes
10439 else
10440 defaultval=no
10441 fi
10442 fi
10443
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10445 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10446 # Check whether --enable-mdi was given.
10447 if test "${enable_mdi+set}" = set; then :
10448 enableval=$enable_mdi;
10449 if test "$enableval" = yes; then
10450 wx_cv_use_mdi='wxUSE_MDI=yes'
10451 else
10452 wx_cv_use_mdi='wxUSE_MDI=no'
10453 fi
10454
10455 else
10456
10457 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10458
10459 fi
10460
10461
10462 eval "$wx_cv_use_mdi"
10463
10464 if test x"$enablestring" = xdisable; then
10465 if test $wxUSE_MDI = no; then
10466 result=yes
10467 else
10468 result=no
10469 fi
10470 else
10471 result=$wxUSE_MDI
10472 fi
10473
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10475 $as_echo "$result" >&6; }
10476
10477
10478 enablestring=
10479 defaultval=$wxUSE_ALL_FEATURES
10480 if test -z "$defaultval"; then
10481 if test x"$enablestring" = xdisable; then
10482 defaultval=yes
10483 else
10484 defaultval=no
10485 fi
10486 fi
10487
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10489 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10490 # Check whether --enable-mdidoc was given.
10491 if test "${enable_mdidoc+set}" = set; then :
10492 enableval=$enable_mdidoc;
10493 if test "$enableval" = yes; then
10494 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10495 else
10496 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10497 fi
10498
10499 else
10500
10501 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10502
10503 fi
10504
10505
10506 eval "$wx_cv_use_mdidoc"
10507
10508 if test x"$enablestring" = xdisable; then
10509 if test $wxUSE_MDI_ARCHITECTURE = no; then
10510 result=yes
10511 else
10512 result=no
10513 fi
10514 else
10515 result=$wxUSE_MDI_ARCHITECTURE
10516 fi
10517
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10519 $as_echo "$result" >&6; }
10520
10521
10522 enablestring=
10523 defaultval=$wxUSE_ALL_FEATURES
10524 if test -z "$defaultval"; then
10525 if test x"$enablestring" = xdisable; then
10526 defaultval=yes
10527 else
10528 defaultval=no
10529 fi
10530 fi
10531
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10533 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10534 # Check whether --enable-mediactrl was given.
10535 if test "${enable_mediactrl+set}" = set; then :
10536 enableval=$enable_mediactrl;
10537 if test "$enableval" = yes; then
10538 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10539 else
10540 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10541 fi
10542
10543 else
10544
10545 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10546
10547 fi
10548
10549
10550 eval "$wx_cv_use_mediactrl"
10551
10552 if test x"$enablestring" = xdisable; then
10553 if test $wxUSE_MEDIACTRL = no; then
10554 result=yes
10555 else
10556 result=no
10557 fi
10558 else
10559 result=$wxUSE_MEDIACTRL
10560 fi
10561
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10563 $as_echo "$result" >&6; }
10564
10565
10566 enablestring=
10567 defaultval=$wxUSE_ALL_FEATURES
10568 if test -z "$defaultval"; then
10569 if test x"$enablestring" = xdisable; then
10570 defaultval=yes
10571 else
10572 defaultval=no
10573 fi
10574 fi
10575
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10577 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10578 # Check whether --enable-gstreamer8 was given.
10579 if test "${enable_gstreamer8+set}" = set; then :
10580 enableval=$enable_gstreamer8;
10581 if test "$enableval" = yes; then
10582 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10583 else
10584 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10585 fi
10586
10587 else
10588
10589 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10590
10591 fi
10592
10593
10594 eval "$wx_cv_use_gstreamer8"
10595
10596 if test x"$enablestring" = xdisable; then
10597 if test $wxUSE_GSTREAMER8 = no; then
10598 result=yes
10599 else
10600 result=no
10601 fi
10602 else
10603 result=$wxUSE_GSTREAMER8
10604 fi
10605
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10607 $as_echo "$result" >&6; }
10608
10609
10610 enablestring=
10611 defaultval=$wxUSE_ALL_FEATURES
10612 if test -z "$defaultval"; then
10613 if test x"$enablestring" = xdisable; then
10614 defaultval=yes
10615 else
10616 defaultval=no
10617 fi
10618 fi
10619
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10621 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10622 # Check whether --enable-richtext was given.
10623 if test "${enable_richtext+set}" = set; then :
10624 enableval=$enable_richtext;
10625 if test "$enableval" = yes; then
10626 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10627 else
10628 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10629 fi
10630
10631 else
10632
10633 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10634
10635 fi
10636
10637
10638 eval "$wx_cv_use_richtext"
10639
10640 if test x"$enablestring" = xdisable; then
10641 if test $wxUSE_RICHTEXT = no; then
10642 result=yes
10643 else
10644 result=no
10645 fi
10646 else
10647 result=$wxUSE_RICHTEXT
10648 fi
10649
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10651 $as_echo "$result" >&6; }
10652
10653
10654 enablestring=
10655 defaultval=$wxUSE_ALL_FEATURES
10656 if test -z "$defaultval"; then
10657 if test x"$enablestring" = xdisable; then
10658 defaultval=yes
10659 else
10660 defaultval=no
10661 fi
10662 fi
10663
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10665 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10666 # Check whether --enable-postscript was given.
10667 if test "${enable_postscript+set}" = set; then :
10668 enableval=$enable_postscript;
10669 if test "$enableval" = yes; then
10670 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10671 else
10672 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10673 fi
10674
10675 else
10676
10677 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10678
10679 fi
10680
10681
10682 eval "$wx_cv_use_postscript"
10683
10684 if test x"$enablestring" = xdisable; then
10685 if test $wxUSE_POSTSCRIPT = no; then
10686 result=yes
10687 else
10688 result=no
10689 fi
10690 else
10691 result=$wxUSE_POSTSCRIPT
10692 fi
10693
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10695 $as_echo "$result" >&6; }
10696
10697
10698 enablestring=
10699 defaultval=$wxUSE_ALL_FEATURES
10700 if test -z "$defaultval"; then
10701 if test x"$enablestring" = xdisable; then
10702 defaultval=yes
10703 else
10704 defaultval=no
10705 fi
10706 fi
10707
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10709 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10710 # Check whether --enable-printarch was given.
10711 if test "${enable_printarch+set}" = set; then :
10712 enableval=$enable_printarch;
10713 if test "$enableval" = yes; then
10714 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10715 else
10716 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10717 fi
10718
10719 else
10720
10721 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10722
10723 fi
10724
10725
10726 eval "$wx_cv_use_printarch"
10727
10728 if test x"$enablestring" = xdisable; then
10729 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10730 result=yes
10731 else
10732 result=no
10733 fi
10734 else
10735 result=$wxUSE_PRINTING_ARCHITECTURE
10736 fi
10737
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10739 $as_echo "$result" >&6; }
10740
10741
10742 enablestring=
10743 defaultval=$wxUSE_ALL_FEATURES
10744 if test -z "$defaultval"; then
10745 if test x"$enablestring" = xdisable; then
10746 defaultval=yes
10747 else
10748 defaultval=no
10749 fi
10750 fi
10751
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10753 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10754 # Check whether --enable-svg was given.
10755 if test "${enable_svg+set}" = set; then :
10756 enableval=$enable_svg;
10757 if test "$enableval" = yes; then
10758 wx_cv_use_svg='wxUSE_SVG=yes'
10759 else
10760 wx_cv_use_svg='wxUSE_SVG=no'
10761 fi
10762
10763 else
10764
10765 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10766
10767 fi
10768
10769
10770 eval "$wx_cv_use_svg"
10771
10772 if test x"$enablestring" = xdisable; then
10773 if test $wxUSE_SVG = no; then
10774 result=yes
10775 else
10776 result=no
10777 fi
10778 else
10779 result=$wxUSE_SVG
10780 fi
10781
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10783 $as_echo "$result" >&6; }
10784
10785
10786 enablestring=
10787 defaultval=$wxUSE_ALL_FEATURES
10788 if test -z "$defaultval"; then
10789 if test x"$enablestring" = xdisable; then
10790 defaultval=yes
10791 else
10792 defaultval=no
10793 fi
10794 fi
10795
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10797 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10798 # Check whether --enable-webkit was given.
10799 if test "${enable_webkit+set}" = set; then :
10800 enableval=$enable_webkit;
10801 if test "$enableval" = yes; then
10802 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10803 else
10804 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10805 fi
10806
10807 else
10808
10809 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10810
10811 fi
10812
10813
10814 eval "$wx_cv_use_webkit"
10815
10816 if test x"$enablestring" = xdisable; then
10817 if test $wxUSE_WEBKIT = no; then
10818 result=yes
10819 else
10820 result=no
10821 fi
10822 else
10823 result=$wxUSE_WEBKIT
10824 fi
10825
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10827 $as_echo "$result" >&6; }
10828
10829
10830 enablestring=
10831 defaultval=$wxUSE_ALL_FEATURES
10832 if test -z "$defaultval"; then
10833 if test x"$enablestring" = xdisable; then
10834 defaultval=yes
10835 else
10836 defaultval=no
10837 fi
10838 fi
10839
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10841 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10842 # Check whether --enable-webview was given.
10843 if test "${enable_webview+set}" = set; then :
10844 enableval=$enable_webview;
10845 if test "$enableval" = yes; then
10846 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10847 else
10848 wx_cv_use_webview='wxUSE_WEBVIEW=no'
10849 fi
10850
10851 else
10852
10853 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10854
10855 fi
10856
10857
10858 eval "$wx_cv_use_webview"
10859
10860 if test x"$enablestring" = xdisable; then
10861 if test $wxUSE_WEBVIEW = no; then
10862 result=yes
10863 else
10864 result=no
10865 fi
10866 else
10867 result=$wxUSE_WEBVIEW
10868 fi
10869
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10871 $as_echo "$result" >&6; }
10872
10873
10874 if test "$wxUSE_MAC" != 1; then
10875
10876 enablestring=
10877 defaultval=$wxUSE_ALL_FEATURES
10878 if test -z "$defaultval"; then
10879 if test x"$enablestring" = xdisable; then
10880 defaultval=yes
10881 else
10882 defaultval=no
10883 fi
10884 fi
10885
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10887 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10888 # Check whether --enable-graphics_ctx was given.
10889 if test "${enable_graphics_ctx+set}" = set; then :
10890 enableval=$enable_graphics_ctx;
10891 if test "$enableval" = yes; then
10892 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10893 else
10894 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10895 fi
10896
10897 else
10898
10899 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10900
10901 fi
10902
10903
10904 eval "$wx_cv_use_graphics_ctx"
10905
10906 if test x"$enablestring" = xdisable; then
10907 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10908 result=yes
10909 else
10910 result=no
10911 fi
10912 else
10913 result=$wxUSE_GRAPHICS_CONTEXT
10914 fi
10915
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10917 $as_echo "$result" >&6; }
10918
10919 fi
10920
10921
10922
10923 enablestring=
10924 defaultval=$wxUSE_ALL_FEATURES
10925 if test -z "$defaultval"; then
10926 if test x"$enablestring" = xdisable; then
10927 defaultval=yes
10928 else
10929 defaultval=no
10930 fi
10931 fi
10932
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10934 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10935 # Check whether --enable-clipboard was given.
10936 if test "${enable_clipboard+set}" = set; then :
10937 enableval=$enable_clipboard;
10938 if test "$enableval" = yes; then
10939 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10940 else
10941 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10942 fi
10943
10944 else
10945
10946 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10947
10948 fi
10949
10950
10951 eval "$wx_cv_use_clipboard"
10952
10953 if test x"$enablestring" = xdisable; then
10954 if test $wxUSE_CLIPBOARD = no; then
10955 result=yes
10956 else
10957 result=no
10958 fi
10959 else
10960 result=$wxUSE_CLIPBOARD
10961 fi
10962
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10964 $as_echo "$result" >&6; }
10965
10966
10967 enablestring=
10968 defaultval=$wxUSE_ALL_FEATURES
10969 if test -z "$defaultval"; then
10970 if test x"$enablestring" = xdisable; then
10971 defaultval=yes
10972 else
10973 defaultval=no
10974 fi
10975 fi
10976
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
10978 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
10979 # Check whether --enable-dnd was given.
10980 if test "${enable_dnd+set}" = set; then :
10981 enableval=$enable_dnd;
10982 if test "$enableval" = yes; then
10983 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10984 else
10985 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10986 fi
10987
10988 else
10989
10990 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10991
10992 fi
10993
10994
10995 eval "$wx_cv_use_dnd"
10996
10997 if test x"$enablestring" = xdisable; then
10998 if test $wxUSE_DRAG_AND_DROP = no; then
10999 result=yes
11000 else
11001 result=no
11002 fi
11003 else
11004 result=$wxUSE_DRAG_AND_DROP
11005 fi
11006
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11008 $as_echo "$result" >&6; }
11009
11010
11011
11012 DEFAULT_wxUSE_CONTROLS=none
11013
11014 enablestring=disable
11015 defaultval=
11016 if test -z "$defaultval"; then
11017 if test x"$enablestring" = xdisable; then
11018 defaultval=yes
11019 else
11020 defaultval=no
11021 fi
11022 fi
11023
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
11025 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
11026 # Check whether --enable-controls was given.
11027 if test "${enable_controls+set}" = set; then :
11028 enableval=$enable_controls;
11029 if test "$enableval" = yes; then
11030 wx_cv_use_controls='wxUSE_CONTROLS=yes'
11031 else
11032 wx_cv_use_controls='wxUSE_CONTROLS=no'
11033 fi
11034
11035 else
11036
11037 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
11038
11039 fi
11040
11041
11042 eval "$wx_cv_use_controls"
11043
11044 if test x"$enablestring" = xdisable; then
11045 if test $wxUSE_CONTROLS = no; then
11046 result=yes
11047 else
11048 result=no
11049 fi
11050 else
11051 result=$wxUSE_CONTROLS
11052 fi
11053
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11055 $as_echo "$result" >&6; }
11056
11057
11058 if test "$wxUSE_CONTROLS" = "no"; then
11059 DEFAULT_wxUSE_ACCEL=no
11060 DEFAULT_wxUSE_ANIMATIONCTRL=no
11061 DEFAULT_wxUSE_BANNERWINDOW=no
11062 DEFAULT_wxUSE_BMPBUTTON=no
11063 DEFAULT_wxUSE_BUTTON=no
11064 DEFAULT_wxUSE_CALCTRL=no
11065 DEFAULT_wxUSE_CARET=no
11066 DEFAULT_wxUSE_CHECKBOX=no
11067 DEFAULT_wxUSE_CHECKLISTBOX=no
11068 DEFAULT_wxUSE_CHOICE=no
11069 DEFAULT_wxUSE_CHOICEBOOK=no
11070 DEFAULT_wxUSE_COLLPANE=no
11071 DEFAULT_wxUSE_COLOURPICKERCTRL=no
11072 DEFAULT_wxUSE_COMBOBOX=no
11073 DEFAULT_wxUSE_COMBOBOX=no
11074 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
11075 DEFAULT_wxUSE_DATAVIEWCTRL=no
11076 DEFAULT_wxUSE_DATEPICKCTRL=no
11077 DEFAULT_wxUSE_DETECT_SM=no
11078 DEFAULT_wxUSE_DIRPICKERCTRL=no
11079 DEFAULT_wxUSE_DISPLAY=no
11080 DEFAULT_wxUSE_FILECTRL=no
11081 DEFAULT_wxUSE_FILEPICKERCTRL=no
11082 DEFAULT_wxUSE_FONTPICKERCTRL=no
11083 DEFAULT_wxUSE_GAUGE=no
11084 DEFAULT_wxUSE_GRID=no
11085 DEFAULT_wxUSE_HEADERCTRL=no
11086 DEFAULT_wxUSE_HYPERLINKCTRL=no
11087 DEFAULT_wxUSE_IMAGLIST=no
11088 DEFAULT_wxUSE_LISTBOOK=no
11089 DEFAULT_wxUSE_LISTBOX=no
11090 DEFAULT_wxUSE_LISTCTRL=no
11091 DEFAULT_wxUSE_MARKUP=no
11092 DEFAULT_wxUSE_NOTEBOOK=no
11093 DEFAULT_wxUSE_POPUPWIN=no
11094 DEFAULT_wxUSE_RADIOBOX=no
11095 DEFAULT_wxUSE_RADIOBTN=no
11096 DEFAULT_wxUSE_RICHMSGDLG=no
11097 DEFAULT_wxUSE_RICHTOOLTIP=no
11098 DEFAULT_wxUSE_REARRANGECTRL=no
11099 DEFAULT_wxUSE_SASH=no
11100 DEFAULT_wxUSE_SCROLLBAR=no
11101 DEFAULT_wxUSE_SEARCHCTRL=no
11102 DEFAULT_wxUSE_SLIDER=no
11103 DEFAULT_wxUSE_SPINBTN=no
11104 DEFAULT_wxUSE_SPINCTRL=no
11105 DEFAULT_wxUSE_SPLITTER=no
11106 DEFAULT_wxUSE_STATBMP=no
11107 DEFAULT_wxUSE_STATBOX=no
11108 DEFAULT_wxUSE_STATLINE=no
11109 DEFAULT_wxUSE_STATUSBAR=no
11110 DEFAULT_wxUSE_TIMEPICKCTRL=no
11111 DEFAULT_wxUSE_TIPWINDOW=no
11112 DEFAULT_wxUSE_TOGGLEBTN=no
11113 DEFAULT_wxUSE_TOOLBAR=no
11114 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11115 DEFAULT_wxUSE_TOOLBOOK=no
11116 DEFAULT_wxUSE_TOOLTIPS=no
11117 DEFAULT_wxUSE_TREEBOOK=no
11118 DEFAULT_wxUSE_TREECTRL=no
11119 DEFAULT_wxUSE_TREELISTCTRL=no
11120 fi
11121
11122
11123 enablestring=
11124 defaultval=$wxUSE_ALL_FEATURES
11125 if test -z "$defaultval"; then
11126 if test x"$enablestring" = xdisable; then
11127 defaultval=yes
11128 else
11129 defaultval=no
11130 fi
11131 fi
11132
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11134 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11135 # Check whether --enable-markup was given.
11136 if test "${enable_markup+set}" = set; then :
11137 enableval=$enable_markup;
11138 if test "$enableval" = yes; then
11139 wx_cv_use_markup='wxUSE_MARKUP=yes'
11140 else
11141 wx_cv_use_markup='wxUSE_MARKUP=no'
11142 fi
11143
11144 else
11145
11146 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11147
11148 fi
11149
11150
11151 eval "$wx_cv_use_markup"
11152
11153 if test x"$enablestring" = xdisable; then
11154 if test $wxUSE_MARKUP = no; then
11155 result=yes
11156 else
11157 result=no
11158 fi
11159 else
11160 result=$wxUSE_MARKUP
11161 fi
11162
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11164 $as_echo "$result" >&6; }
11165
11166
11167
11168 enablestring=
11169 defaultval=$wxUSE_ALL_FEATURES
11170 if test -z "$defaultval"; then
11171 if test x"$enablestring" = xdisable; then
11172 defaultval=yes
11173 else
11174 defaultval=no
11175 fi
11176 fi
11177
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11179 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11180 # Check whether --enable-accel was given.
11181 if test "${enable_accel+set}" = set; then :
11182 enableval=$enable_accel;
11183 if test "$enableval" = yes; then
11184 wx_cv_use_accel='wxUSE_ACCEL=yes'
11185 else
11186 wx_cv_use_accel='wxUSE_ACCEL=no'
11187 fi
11188
11189 else
11190
11191 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11192
11193 fi
11194
11195
11196 eval "$wx_cv_use_accel"
11197
11198 if test x"$enablestring" = xdisable; then
11199 if test $wxUSE_ACCEL = no; then
11200 result=yes
11201 else
11202 result=no
11203 fi
11204 else
11205 result=$wxUSE_ACCEL
11206 fi
11207
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11209 $as_echo "$result" >&6; }
11210
11211
11212 enablestring=
11213 defaultval=$wxUSE_ALL_FEATURES
11214 if test -z "$defaultval"; then
11215 if test x"$enablestring" = xdisable; then
11216 defaultval=yes
11217 else
11218 defaultval=no
11219 fi
11220 fi
11221
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11223 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11224 # Check whether --enable-animatectrl was given.
11225 if test "${enable_animatectrl+set}" = set; then :
11226 enableval=$enable_animatectrl;
11227 if test "$enableval" = yes; then
11228 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11229 else
11230 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11231 fi
11232
11233 else
11234
11235 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11236
11237 fi
11238
11239
11240 eval "$wx_cv_use_animatectrl"
11241
11242 if test x"$enablestring" = xdisable; then
11243 if test $wxUSE_ANIMATIONCTRL = no; then
11244 result=yes
11245 else
11246 result=no
11247 fi
11248 else
11249 result=$wxUSE_ANIMATIONCTRL
11250 fi
11251
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11253 $as_echo "$result" >&6; }
11254
11255
11256 enablestring=
11257 defaultval=$wxUSE_ALL_FEATURES
11258 if test -z "$defaultval"; then
11259 if test x"$enablestring" = xdisable; then
11260 defaultval=yes
11261 else
11262 defaultval=no
11263 fi
11264 fi
11265
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11267 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11268 # Check whether --enable-bannerwindow was given.
11269 if test "${enable_bannerwindow+set}" = set; then :
11270 enableval=$enable_bannerwindow;
11271 if test "$enableval" = yes; then
11272 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11273 else
11274 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11275 fi
11276
11277 else
11278
11279 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11280
11281 fi
11282
11283
11284 eval "$wx_cv_use_bannerwindow"
11285
11286 if test x"$enablestring" = xdisable; then
11287 if test $wxUSE_BANNERWINDOW = no; then
11288 result=yes
11289 else
11290 result=no
11291 fi
11292 else
11293 result=$wxUSE_BANNERWINDOW
11294 fi
11295
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11297 $as_echo "$result" >&6; }
11298
11299
11300 enablestring=
11301 defaultval=$wxUSE_ALL_FEATURES
11302 if test -z "$defaultval"; then
11303 if test x"$enablestring" = xdisable; then
11304 defaultval=yes
11305 else
11306 defaultval=no
11307 fi
11308 fi
11309
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11311 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11312 # Check whether --enable-artstd was given.
11313 if test "${enable_artstd+set}" = set; then :
11314 enableval=$enable_artstd;
11315 if test "$enableval" = yes; then
11316 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11317 else
11318 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11319 fi
11320
11321 else
11322
11323 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11324
11325 fi
11326
11327
11328 eval "$wx_cv_use_artstd"
11329
11330 if test x"$enablestring" = xdisable; then
11331 if test $wxUSE_ARTPROVIDER_STD = no; then
11332 result=yes
11333 else
11334 result=no
11335 fi
11336 else
11337 result=$wxUSE_ARTPROVIDER_STD
11338 fi
11339
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11341 $as_echo "$result" >&6; }
11342
11343
11344 enablestring=
11345 defaultval=$wxUSE_ALL_FEATURES
11346 if test -z "$defaultval"; then
11347 if test x"$enablestring" = xdisable; then
11348 defaultval=yes
11349 else
11350 defaultval=no
11351 fi
11352 fi
11353
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11355 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11356 # Check whether --enable-arttango was given.
11357 if test "${enable_arttango+set}" = set; then :
11358 enableval=$enable_arttango;
11359 if test "$enableval" = yes; then
11360 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11361 else
11362 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11363 fi
11364
11365 else
11366
11367 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11368
11369 fi
11370
11371
11372 eval "$wx_cv_use_arttango"
11373
11374 if test x"$enablestring" = xdisable; then
11375 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11376 result=yes
11377 else
11378 result=no
11379 fi
11380 else
11381 result=$wxUSE_ARTPROVIDER_TANGO
11382 fi
11383
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11385 $as_echo "$result" >&6; }
11386
11387
11388 enablestring=
11389 defaultval=$wxUSE_ALL_FEATURES
11390 if test -z "$defaultval"; then
11391 if test x"$enablestring" = xdisable; then
11392 defaultval=yes
11393 else
11394 defaultval=no
11395 fi
11396 fi
11397
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11399 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11400 # Check whether --enable-bmpbutton was given.
11401 if test "${enable_bmpbutton+set}" = set; then :
11402 enableval=$enable_bmpbutton;
11403 if test "$enableval" = yes; then
11404 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11405 else
11406 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11407 fi
11408
11409 else
11410
11411 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11412
11413 fi
11414
11415
11416 eval "$wx_cv_use_bmpbutton"
11417
11418 if test x"$enablestring" = xdisable; then
11419 if test $wxUSE_BMPBUTTON = no; then
11420 result=yes
11421 else
11422 result=no
11423 fi
11424 else
11425 result=$wxUSE_BMPBUTTON
11426 fi
11427
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11429 $as_echo "$result" >&6; }
11430
11431
11432 enablestring=
11433 defaultval=$wxUSE_ALL_FEATURES
11434 if test -z "$defaultval"; then
11435 if test x"$enablestring" = xdisable; then
11436 defaultval=yes
11437 else
11438 defaultval=no
11439 fi
11440 fi
11441
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11443 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11444 # Check whether --enable-bmpcombobox was given.
11445 if test "${enable_bmpcombobox+set}" = set; then :
11446 enableval=$enable_bmpcombobox;
11447 if test "$enableval" = yes; then
11448 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11449 else
11450 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11451 fi
11452
11453 else
11454
11455 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11456
11457 fi
11458
11459
11460 eval "$wx_cv_use_bmpcombobox"
11461
11462 if test x"$enablestring" = xdisable; then
11463 if test $wxUSE_BITMAPCOMBOBOX = no; then
11464 result=yes
11465 else
11466 result=no
11467 fi
11468 else
11469 result=$wxUSE_BITMAPCOMBOBOX
11470 fi
11471
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11473 $as_echo "$result" >&6; }
11474
11475
11476 enablestring=
11477 defaultval=$wxUSE_ALL_FEATURES
11478 if test -z "$defaultval"; then
11479 if test x"$enablestring" = xdisable; then
11480 defaultval=yes
11481 else
11482 defaultval=no
11483 fi
11484 fi
11485
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11487 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11488 # Check whether --enable-button was given.
11489 if test "${enable_button+set}" = set; then :
11490 enableval=$enable_button;
11491 if test "$enableval" = yes; then
11492 wx_cv_use_button='wxUSE_BUTTON=yes'
11493 else
11494 wx_cv_use_button='wxUSE_BUTTON=no'
11495 fi
11496
11497 else
11498
11499 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11500
11501 fi
11502
11503
11504 eval "$wx_cv_use_button"
11505
11506 if test x"$enablestring" = xdisable; then
11507 if test $wxUSE_BUTTON = no; then
11508 result=yes
11509 else
11510 result=no
11511 fi
11512 else
11513 result=$wxUSE_BUTTON
11514 fi
11515
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11517 $as_echo "$result" >&6; }
11518
11519
11520 enablestring=
11521 defaultval=$wxUSE_ALL_FEATURES
11522 if test -z "$defaultval"; then
11523 if test x"$enablestring" = xdisable; then
11524 defaultval=yes
11525 else
11526 defaultval=no
11527 fi
11528 fi
11529
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11531 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11532 # Check whether --enable-calendar was given.
11533 if test "${enable_calendar+set}" = set; then :
11534 enableval=$enable_calendar;
11535 if test "$enableval" = yes; then
11536 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11537 else
11538 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11539 fi
11540
11541 else
11542
11543 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11544
11545 fi
11546
11547
11548 eval "$wx_cv_use_calendar"
11549
11550 if test x"$enablestring" = xdisable; then
11551 if test $wxUSE_CALCTRL = no; then
11552 result=yes
11553 else
11554 result=no
11555 fi
11556 else
11557 result=$wxUSE_CALCTRL
11558 fi
11559
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11561 $as_echo "$result" >&6; }
11562
11563
11564 enablestring=
11565 defaultval=$wxUSE_ALL_FEATURES
11566 if test -z "$defaultval"; then
11567 if test x"$enablestring" = xdisable; then
11568 defaultval=yes
11569 else
11570 defaultval=no
11571 fi
11572 fi
11573
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11575 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11576 # Check whether --enable-caret was given.
11577 if test "${enable_caret+set}" = set; then :
11578 enableval=$enable_caret;
11579 if test "$enableval" = yes; then
11580 wx_cv_use_caret='wxUSE_CARET=yes'
11581 else
11582 wx_cv_use_caret='wxUSE_CARET=no'
11583 fi
11584
11585 else
11586
11587 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11588
11589 fi
11590
11591
11592 eval "$wx_cv_use_caret"
11593
11594 if test x"$enablestring" = xdisable; then
11595 if test $wxUSE_CARET = no; then
11596 result=yes
11597 else
11598 result=no
11599 fi
11600 else
11601 result=$wxUSE_CARET
11602 fi
11603
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11605 $as_echo "$result" >&6; }
11606
11607
11608 enablestring=
11609 defaultval=$wxUSE_ALL_FEATURES
11610 if test -z "$defaultval"; then
11611 if test x"$enablestring" = xdisable; then
11612 defaultval=yes
11613 else
11614 defaultval=no
11615 fi
11616 fi
11617
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11619 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11620 # Check whether --enable-checkbox was given.
11621 if test "${enable_checkbox+set}" = set; then :
11622 enableval=$enable_checkbox;
11623 if test "$enableval" = yes; then
11624 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11625 else
11626 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11627 fi
11628
11629 else
11630
11631 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11632
11633 fi
11634
11635
11636 eval "$wx_cv_use_checkbox"
11637
11638 if test x"$enablestring" = xdisable; then
11639 if test $wxUSE_CHECKBOX = no; then
11640 result=yes
11641 else
11642 result=no
11643 fi
11644 else
11645 result=$wxUSE_CHECKBOX
11646 fi
11647
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11649 $as_echo "$result" >&6; }
11650
11651
11652 enablestring=
11653 defaultval=$wxUSE_ALL_FEATURES
11654 if test -z "$defaultval"; then
11655 if test x"$enablestring" = xdisable; then
11656 defaultval=yes
11657 else
11658 defaultval=no
11659 fi
11660 fi
11661
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11663 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11664 # Check whether --enable-checklst was given.
11665 if test "${enable_checklst+set}" = set; then :
11666 enableval=$enable_checklst;
11667 if test "$enableval" = yes; then
11668 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11669 else
11670 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11671 fi
11672
11673 else
11674
11675 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11676
11677 fi
11678
11679
11680 eval "$wx_cv_use_checklst"
11681
11682 if test x"$enablestring" = xdisable; then
11683 if test $wxUSE_CHECKLST = no; then
11684 result=yes
11685 else
11686 result=no
11687 fi
11688 else
11689 result=$wxUSE_CHECKLST
11690 fi
11691
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11693 $as_echo "$result" >&6; }
11694
11695
11696 enablestring=
11697 defaultval=$wxUSE_ALL_FEATURES
11698 if test -z "$defaultval"; then
11699 if test x"$enablestring" = xdisable; then
11700 defaultval=yes
11701 else
11702 defaultval=no
11703 fi
11704 fi
11705
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11707 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11708 # Check whether --enable-choice was given.
11709 if test "${enable_choice+set}" = set; then :
11710 enableval=$enable_choice;
11711 if test "$enableval" = yes; then
11712 wx_cv_use_choice='wxUSE_CHOICE=yes'
11713 else
11714 wx_cv_use_choice='wxUSE_CHOICE=no'
11715 fi
11716
11717 else
11718
11719 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11720
11721 fi
11722
11723
11724 eval "$wx_cv_use_choice"
11725
11726 if test x"$enablestring" = xdisable; then
11727 if test $wxUSE_CHOICE = no; then
11728 result=yes
11729 else
11730 result=no
11731 fi
11732 else
11733 result=$wxUSE_CHOICE
11734 fi
11735
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11737 $as_echo "$result" >&6; }
11738
11739
11740 enablestring=
11741 defaultval=$wxUSE_ALL_FEATURES
11742 if test -z "$defaultval"; then
11743 if test x"$enablestring" = xdisable; then
11744 defaultval=yes
11745 else
11746 defaultval=no
11747 fi
11748 fi
11749
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11751 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11752 # Check whether --enable-choicebook was given.
11753 if test "${enable_choicebook+set}" = set; then :
11754 enableval=$enable_choicebook;
11755 if test "$enableval" = yes; then
11756 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11757 else
11758 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11759 fi
11760
11761 else
11762
11763 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11764
11765 fi
11766
11767
11768 eval "$wx_cv_use_choicebook"
11769
11770 if test x"$enablestring" = xdisable; then
11771 if test $wxUSE_CHOICEBOOK = no; then
11772 result=yes
11773 else
11774 result=no
11775 fi
11776 else
11777 result=$wxUSE_CHOICEBOOK
11778 fi
11779
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11781 $as_echo "$result" >&6; }
11782
11783
11784 enablestring=
11785 defaultval=$wxUSE_ALL_FEATURES
11786 if test -z "$defaultval"; then
11787 if test x"$enablestring" = xdisable; then
11788 defaultval=yes
11789 else
11790 defaultval=no
11791 fi
11792 fi
11793
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11795 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11796 # Check whether --enable-collpane was given.
11797 if test "${enable_collpane+set}" = set; then :
11798 enableval=$enable_collpane;
11799 if test "$enableval" = yes; then
11800 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11801 else
11802 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11803 fi
11804
11805 else
11806
11807 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11808
11809 fi
11810
11811
11812 eval "$wx_cv_use_collpane"
11813
11814 if test x"$enablestring" = xdisable; then
11815 if test $wxUSE_COLLPANE = no; then
11816 result=yes
11817 else
11818 result=no
11819 fi
11820 else
11821 result=$wxUSE_COLLPANE
11822 fi
11823
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11825 $as_echo "$result" >&6; }
11826
11827
11828 enablestring=
11829 defaultval=$wxUSE_ALL_FEATURES
11830 if test -z "$defaultval"; then
11831 if test x"$enablestring" = xdisable; then
11832 defaultval=yes
11833 else
11834 defaultval=no
11835 fi
11836 fi
11837
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11839 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11840 # Check whether --enable-colourpicker was given.
11841 if test "${enable_colourpicker+set}" = set; then :
11842 enableval=$enable_colourpicker;
11843 if test "$enableval" = yes; then
11844 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11845 else
11846 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11847 fi
11848
11849 else
11850
11851 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11852
11853 fi
11854
11855
11856 eval "$wx_cv_use_colourpicker"
11857
11858 if test x"$enablestring" = xdisable; then
11859 if test $wxUSE_COLOURPICKERCTRL = no; then
11860 result=yes
11861 else
11862 result=no
11863 fi
11864 else
11865 result=$wxUSE_COLOURPICKERCTRL
11866 fi
11867
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11869 $as_echo "$result" >&6; }
11870
11871
11872 enablestring=
11873 defaultval=$wxUSE_ALL_FEATURES
11874 if test -z "$defaultval"; then
11875 if test x"$enablestring" = xdisable; then
11876 defaultval=yes
11877 else
11878 defaultval=no
11879 fi
11880 fi
11881
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11883 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11884 # Check whether --enable-combobox was given.
11885 if test "${enable_combobox+set}" = set; then :
11886 enableval=$enable_combobox;
11887 if test "$enableval" = yes; then
11888 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11889 else
11890 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11891 fi
11892
11893 else
11894
11895 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11896
11897 fi
11898
11899
11900 eval "$wx_cv_use_combobox"
11901
11902 if test x"$enablestring" = xdisable; then
11903 if test $wxUSE_COMBOBOX = no; then
11904 result=yes
11905 else
11906 result=no
11907 fi
11908 else
11909 result=$wxUSE_COMBOBOX
11910 fi
11911
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11913 $as_echo "$result" >&6; }
11914
11915
11916 enablestring=
11917 defaultval=$wxUSE_ALL_FEATURES
11918 if test -z "$defaultval"; then
11919 if test x"$enablestring" = xdisable; then
11920 defaultval=yes
11921 else
11922 defaultval=no
11923 fi
11924 fi
11925
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11927 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11928 # Check whether --enable-comboctrl was given.
11929 if test "${enable_comboctrl+set}" = set; then :
11930 enableval=$enable_comboctrl;
11931 if test "$enableval" = yes; then
11932 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11933 else
11934 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11935 fi
11936
11937 else
11938
11939 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11940
11941 fi
11942
11943
11944 eval "$wx_cv_use_comboctrl"
11945
11946 if test x"$enablestring" = xdisable; then
11947 if test $wxUSE_COMBOCTRL = no; then
11948 result=yes
11949 else
11950 result=no
11951 fi
11952 else
11953 result=$wxUSE_COMBOCTRL
11954 fi
11955
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11957 $as_echo "$result" >&6; }
11958
11959
11960 enablestring=
11961 defaultval=$wxUSE_ALL_FEATURES
11962 if test -z "$defaultval"; then
11963 if test x"$enablestring" = xdisable; then
11964 defaultval=yes
11965 else
11966 defaultval=no
11967 fi
11968 fi
11969
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
11971 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
11972 # Check whether --enable-commandlinkbutton was given.
11973 if test "${enable_commandlinkbutton+set}" = set; then :
11974 enableval=$enable_commandlinkbutton;
11975 if test "$enableval" = yes; then
11976 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
11977 else
11978 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
11979 fi
11980
11981 else
11982
11983 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11984
11985 fi
11986
11987
11988 eval "$wx_cv_use_commandlinkbutton"
11989
11990 if test x"$enablestring" = xdisable; then
11991 if test $wxUSE_COMMANDLINKBUTTON = no; then
11992 result=yes
11993 else
11994 result=no
11995 fi
11996 else
11997 result=$wxUSE_COMMANDLINKBUTTON
11998 fi
11999
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12001 $as_echo "$result" >&6; }
12002
12003
12004 enablestring=
12005 defaultval=$wxUSE_ALL_FEATURES
12006 if test -z "$defaultval"; then
12007 if test x"$enablestring" = xdisable; then
12008 defaultval=yes
12009 else
12010 defaultval=no
12011 fi
12012 fi
12013
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
12015 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
12016 # Check whether --enable-dataviewctrl was given.
12017 if test "${enable_dataviewctrl+set}" = set; then :
12018 enableval=$enable_dataviewctrl;
12019 if test "$enableval" = yes; then
12020 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12021 else
12022 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12023 fi
12024
12025 else
12026
12027 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12028
12029 fi
12030
12031
12032 eval "$wx_cv_use_dataviewctrl"
12033
12034 if test x"$enablestring" = xdisable; then
12035 if test $wxUSE_DATAVIEWCTRL = no; then
12036 result=yes
12037 else
12038 result=no
12039 fi
12040 else
12041 result=$wxUSE_DATAVIEWCTRL
12042 fi
12043
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12045 $as_echo "$result" >&6; }
12046
12047
12048 enablestring=
12049 defaultval=$wxUSE_ALL_FEATURES
12050 if test -z "$defaultval"; then
12051 if test x"$enablestring" = xdisable; then
12052 defaultval=yes
12053 else
12054 defaultval=no
12055 fi
12056 fi
12057
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
12059 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
12060 # Check whether --enable-datepick was given.
12061 if test "${enable_datepick+set}" = set; then :
12062 enableval=$enable_datepick;
12063 if test "$enableval" = yes; then
12064 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
12065 else
12066 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
12067 fi
12068
12069 else
12070
12071 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
12072
12073 fi
12074
12075
12076 eval "$wx_cv_use_datepick"
12077
12078 if test x"$enablestring" = xdisable; then
12079 if test $wxUSE_DATEPICKCTRL = no; then
12080 result=yes
12081 else
12082 result=no
12083 fi
12084 else
12085 result=$wxUSE_DATEPICKCTRL
12086 fi
12087
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12089 $as_echo "$result" >&6; }
12090
12091
12092 enablestring=
12093 defaultval=$wxUSE_ALL_FEATURES
12094 if test -z "$defaultval"; then
12095 if test x"$enablestring" = xdisable; then
12096 defaultval=yes
12097 else
12098 defaultval=no
12099 fi
12100 fi
12101
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
12103 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
12104 # Check whether --enable-detect_sm was given.
12105 if test "${enable_detect_sm+set}" = set; then :
12106 enableval=$enable_detect_sm;
12107 if test "$enableval" = yes; then
12108 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12109 else
12110 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12111 fi
12112
12113 else
12114
12115 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12116
12117 fi
12118
12119
12120 eval "$wx_cv_use_detect_sm"
12121
12122 if test x"$enablestring" = xdisable; then
12123 if test $wxUSE_DETECT_SM = no; then
12124 result=yes
12125 else
12126 result=no
12127 fi
12128 else
12129 result=$wxUSE_DETECT_SM
12130 fi
12131
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12133 $as_echo "$result" >&6; }
12134
12135
12136 enablestring=
12137 defaultval=$wxUSE_ALL_FEATURES
12138 if test -z "$defaultval"; then
12139 if test x"$enablestring" = xdisable; then
12140 defaultval=yes
12141 else
12142 defaultval=no
12143 fi
12144 fi
12145
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12147 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12148 # Check whether --enable-dirpicker was given.
12149 if test "${enable_dirpicker+set}" = set; then :
12150 enableval=$enable_dirpicker;
12151 if test "$enableval" = yes; then
12152 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12153 else
12154 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12155 fi
12156
12157 else
12158
12159 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12160
12161 fi
12162
12163
12164 eval "$wx_cv_use_dirpicker"
12165
12166 if test x"$enablestring" = xdisable; then
12167 if test $wxUSE_DIRPICKERCTRL = no; then
12168 result=yes
12169 else
12170 result=no
12171 fi
12172 else
12173 result=$wxUSE_DIRPICKERCTRL
12174 fi
12175
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12177 $as_echo "$result" >&6; }
12178
12179
12180 enablestring=
12181 defaultval=$wxUSE_ALL_FEATURES
12182 if test -z "$defaultval"; then
12183 if test x"$enablestring" = xdisable; then
12184 defaultval=yes
12185 else
12186 defaultval=no
12187 fi
12188 fi
12189
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12191 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12192 # Check whether --enable-display was given.
12193 if test "${enable_display+set}" = set; then :
12194 enableval=$enable_display;
12195 if test "$enableval" = yes; then
12196 wx_cv_use_display='wxUSE_DISPLAY=yes'
12197 else
12198 wx_cv_use_display='wxUSE_DISPLAY=no'
12199 fi
12200
12201 else
12202
12203 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12204
12205 fi
12206
12207
12208 eval "$wx_cv_use_display"
12209
12210 if test x"$enablestring" = xdisable; then
12211 if test $wxUSE_DISPLAY = no; then
12212 result=yes
12213 else
12214 result=no
12215 fi
12216 else
12217 result=$wxUSE_DISPLAY
12218 fi
12219
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12221 $as_echo "$result" >&6; }
12222
12223
12224 enablestring=
12225 defaultval=$wxUSE_ALL_FEATURES
12226 if test -z "$defaultval"; then
12227 if test x"$enablestring" = xdisable; then
12228 defaultval=yes
12229 else
12230 defaultval=no
12231 fi
12232 fi
12233
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12235 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12236 # Check whether --enable-editablebox was given.
12237 if test "${enable_editablebox+set}" = set; then :
12238 enableval=$enable_editablebox;
12239 if test "$enableval" = yes; then
12240 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12241 else
12242 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12243 fi
12244
12245 else
12246
12247 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12248
12249 fi
12250
12251
12252 eval "$wx_cv_use_editablebox"
12253
12254 if test x"$enablestring" = xdisable; then
12255 if test $wxUSE_EDITABLELISTBOX = no; then
12256 result=yes
12257 else
12258 result=no
12259 fi
12260 else
12261 result=$wxUSE_EDITABLELISTBOX
12262 fi
12263
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12265 $as_echo "$result" >&6; }
12266
12267
12268 enablestring=
12269 defaultval=$wxUSE_ALL_FEATURES
12270 if test -z "$defaultval"; then
12271 if test x"$enablestring" = xdisable; then
12272 defaultval=yes
12273 else
12274 defaultval=no
12275 fi
12276 fi
12277
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12279 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12280 # Check whether --enable-filectrl was given.
12281 if test "${enable_filectrl+set}" = set; then :
12282 enableval=$enable_filectrl;
12283 if test "$enableval" = yes; then
12284 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12285 else
12286 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12287 fi
12288
12289 else
12290
12291 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12292
12293 fi
12294
12295
12296 eval "$wx_cv_use_filectrl"
12297
12298 if test x"$enablestring" = xdisable; then
12299 if test $wxUSE_FILECTRL = no; then
12300 result=yes
12301 else
12302 result=no
12303 fi
12304 else
12305 result=$wxUSE_FILECTRL
12306 fi
12307
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12309 $as_echo "$result" >&6; }
12310
12311
12312 enablestring=
12313 defaultval=$wxUSE_ALL_FEATURES
12314 if test -z "$defaultval"; then
12315 if test x"$enablestring" = xdisable; then
12316 defaultval=yes
12317 else
12318 defaultval=no
12319 fi
12320 fi
12321
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12323 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12324 # Check whether --enable-filepicker was given.
12325 if test "${enable_filepicker+set}" = set; then :
12326 enableval=$enable_filepicker;
12327 if test "$enableval" = yes; then
12328 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12329 else
12330 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12331 fi
12332
12333 else
12334
12335 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12336
12337 fi
12338
12339
12340 eval "$wx_cv_use_filepicker"
12341
12342 if test x"$enablestring" = xdisable; then
12343 if test $wxUSE_FILEPICKERCTRL = no; then
12344 result=yes
12345 else
12346 result=no
12347 fi
12348 else
12349 result=$wxUSE_FILEPICKERCTRL
12350 fi
12351
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12353 $as_echo "$result" >&6; }
12354
12355
12356 enablestring=
12357 defaultval=$wxUSE_ALL_FEATURES
12358 if test -z "$defaultval"; then
12359 if test x"$enablestring" = xdisable; then
12360 defaultval=yes
12361 else
12362 defaultval=no
12363 fi
12364 fi
12365
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12367 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12368 # Check whether --enable-fontpicker was given.
12369 if test "${enable_fontpicker+set}" = set; then :
12370 enableval=$enable_fontpicker;
12371 if test "$enableval" = yes; then
12372 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12373 else
12374 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12375 fi
12376
12377 else
12378
12379 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12380
12381 fi
12382
12383
12384 eval "$wx_cv_use_fontpicker"
12385
12386 if test x"$enablestring" = xdisable; then
12387 if test $wxUSE_FONTPICKERCTRL = no; then
12388 result=yes
12389 else
12390 result=no
12391 fi
12392 else
12393 result=$wxUSE_FONTPICKERCTRL
12394 fi
12395
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12397 $as_echo "$result" >&6; }
12398
12399
12400 enablestring=
12401 defaultval=$wxUSE_ALL_FEATURES
12402 if test -z "$defaultval"; then
12403 if test x"$enablestring" = xdisable; then
12404 defaultval=yes
12405 else
12406 defaultval=no
12407 fi
12408 fi
12409
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12411 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12412 # Check whether --enable-gauge was given.
12413 if test "${enable_gauge+set}" = set; then :
12414 enableval=$enable_gauge;
12415 if test "$enableval" = yes; then
12416 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12417 else
12418 wx_cv_use_gauge='wxUSE_GAUGE=no'
12419 fi
12420
12421 else
12422
12423 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12424
12425 fi
12426
12427
12428 eval "$wx_cv_use_gauge"
12429
12430 if test x"$enablestring" = xdisable; then
12431 if test $wxUSE_GAUGE = no; then
12432 result=yes
12433 else
12434 result=no
12435 fi
12436 else
12437 result=$wxUSE_GAUGE
12438 fi
12439
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12441 $as_echo "$result" >&6; }
12442
12443
12444 enablestring=
12445 defaultval=$wxUSE_ALL_FEATURES
12446 if test -z "$defaultval"; then
12447 if test x"$enablestring" = xdisable; then
12448 defaultval=yes
12449 else
12450 defaultval=no
12451 fi
12452 fi
12453
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12455 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12456 # Check whether --enable-grid was given.
12457 if test "${enable_grid+set}" = set; then :
12458 enableval=$enable_grid;
12459 if test "$enableval" = yes; then
12460 wx_cv_use_grid='wxUSE_GRID=yes'
12461 else
12462 wx_cv_use_grid='wxUSE_GRID=no'
12463 fi
12464
12465 else
12466
12467 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12468
12469 fi
12470
12471
12472 eval "$wx_cv_use_grid"
12473
12474 if test x"$enablestring" = xdisable; then
12475 if test $wxUSE_GRID = no; then
12476 result=yes
12477 else
12478 result=no
12479 fi
12480 else
12481 result=$wxUSE_GRID
12482 fi
12483
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12485 $as_echo "$result" >&6; }
12486
12487
12488 enablestring=
12489 defaultval=$wxUSE_ALL_FEATURES
12490 if test -z "$defaultval"; then
12491 if test x"$enablestring" = xdisable; then
12492 defaultval=yes
12493 else
12494 defaultval=no
12495 fi
12496 fi
12497
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12499 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12500 # Check whether --enable-headerctrl was given.
12501 if test "${enable_headerctrl+set}" = set; then :
12502 enableval=$enable_headerctrl;
12503 if test "$enableval" = yes; then
12504 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12505 else
12506 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12507 fi
12508
12509 else
12510
12511 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12512
12513 fi
12514
12515
12516 eval "$wx_cv_use_headerctrl"
12517
12518 if test x"$enablestring" = xdisable; then
12519 if test $wxUSE_HEADERCTRL = no; then
12520 result=yes
12521 else
12522 result=no
12523 fi
12524 else
12525 result=$wxUSE_HEADERCTRL
12526 fi
12527
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12529 $as_echo "$result" >&6; }
12530
12531
12532 enablestring=
12533 defaultval=$wxUSE_ALL_FEATURES
12534 if test -z "$defaultval"; then
12535 if test x"$enablestring" = xdisable; then
12536 defaultval=yes
12537 else
12538 defaultval=no
12539 fi
12540 fi
12541
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12543 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12544 # Check whether --enable-hyperlink was given.
12545 if test "${enable_hyperlink+set}" = set; then :
12546 enableval=$enable_hyperlink;
12547 if test "$enableval" = yes; then
12548 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12549 else
12550 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12551 fi
12552
12553 else
12554
12555 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12556
12557 fi
12558
12559
12560 eval "$wx_cv_use_hyperlink"
12561
12562 if test x"$enablestring" = xdisable; then
12563 if test $wxUSE_HYPERLINKCTRL = no; then
12564 result=yes
12565 else
12566 result=no
12567 fi
12568 else
12569 result=$wxUSE_HYPERLINKCTRL
12570 fi
12571
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12573 $as_echo "$result" >&6; }
12574
12575
12576 enablestring=
12577 defaultval=$wxUSE_ALL_FEATURES
12578 if test -z "$defaultval"; then
12579 if test x"$enablestring" = xdisable; then
12580 defaultval=yes
12581 else
12582 defaultval=no
12583 fi
12584 fi
12585
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12587 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12588 # Check whether --enable-imaglist was given.
12589 if test "${enable_imaglist+set}" = set; then :
12590 enableval=$enable_imaglist;
12591 if test "$enableval" = yes; then
12592 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12593 else
12594 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12595 fi
12596
12597 else
12598
12599 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12600
12601 fi
12602
12603
12604 eval "$wx_cv_use_imaglist"
12605
12606 if test x"$enablestring" = xdisable; then
12607 if test $wxUSE_IMAGLIST = no; then
12608 result=yes
12609 else
12610 result=no
12611 fi
12612 else
12613 result=$wxUSE_IMAGLIST
12614 fi
12615
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12617 $as_echo "$result" >&6; }
12618
12619
12620 enablestring=
12621 defaultval=$wxUSE_ALL_FEATURES
12622 if test -z "$defaultval"; then
12623 if test x"$enablestring" = xdisable; then
12624 defaultval=yes
12625 else
12626 defaultval=no
12627 fi
12628 fi
12629
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12631 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12632 # Check whether --enable-infobar was given.
12633 if test "${enable_infobar+set}" = set; then :
12634 enableval=$enable_infobar;
12635 if test "$enableval" = yes; then
12636 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12637 else
12638 wx_cv_use_infobar='wxUSE_INFOBAR=no'
12639 fi
12640
12641 else
12642
12643 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12644
12645 fi
12646
12647
12648 eval "$wx_cv_use_infobar"
12649
12650 if test x"$enablestring" = xdisable; then
12651 if test $wxUSE_INFOBAR = no; then
12652 result=yes
12653 else
12654 result=no
12655 fi
12656 else
12657 result=$wxUSE_INFOBAR
12658 fi
12659
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12661 $as_echo "$result" >&6; }
12662
12663
12664 enablestring=
12665 defaultval=$wxUSE_ALL_FEATURES
12666 if test -z "$defaultval"; then
12667 if test x"$enablestring" = xdisable; then
12668 defaultval=yes
12669 else
12670 defaultval=no
12671 fi
12672 fi
12673
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12675 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12676 # Check whether --enable-listbook was given.
12677 if test "${enable_listbook+set}" = set; then :
12678 enableval=$enable_listbook;
12679 if test "$enableval" = yes; then
12680 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12681 else
12682 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12683 fi
12684
12685 else
12686
12687 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12688
12689 fi
12690
12691
12692 eval "$wx_cv_use_listbook"
12693
12694 if test x"$enablestring" = xdisable; then
12695 if test $wxUSE_LISTBOOK = no; then
12696 result=yes
12697 else
12698 result=no
12699 fi
12700 else
12701 result=$wxUSE_LISTBOOK
12702 fi
12703
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12705 $as_echo "$result" >&6; }
12706
12707
12708 enablestring=
12709 defaultval=$wxUSE_ALL_FEATURES
12710 if test -z "$defaultval"; then
12711 if test x"$enablestring" = xdisable; then
12712 defaultval=yes
12713 else
12714 defaultval=no
12715 fi
12716 fi
12717
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12719 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12720 # Check whether --enable-listbox was given.
12721 if test "${enable_listbox+set}" = set; then :
12722 enableval=$enable_listbox;
12723 if test "$enableval" = yes; then
12724 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12725 else
12726 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12727 fi
12728
12729 else
12730
12731 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12732
12733 fi
12734
12735
12736 eval "$wx_cv_use_listbox"
12737
12738 if test x"$enablestring" = xdisable; then
12739 if test $wxUSE_LISTBOX = no; then
12740 result=yes
12741 else
12742 result=no
12743 fi
12744 else
12745 result=$wxUSE_LISTBOX
12746 fi
12747
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12749 $as_echo "$result" >&6; }
12750
12751
12752 enablestring=
12753 defaultval=$wxUSE_ALL_FEATURES
12754 if test -z "$defaultval"; then
12755 if test x"$enablestring" = xdisable; then
12756 defaultval=yes
12757 else
12758 defaultval=no
12759 fi
12760 fi
12761
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12763 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12764 # Check whether --enable-listctrl was given.
12765 if test "${enable_listctrl+set}" = set; then :
12766 enableval=$enable_listctrl;
12767 if test "$enableval" = yes; then
12768 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12769 else
12770 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12771 fi
12772
12773 else
12774
12775 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12776
12777 fi
12778
12779
12780 eval "$wx_cv_use_listctrl"
12781
12782 if test x"$enablestring" = xdisable; then
12783 if test $wxUSE_LISTCTRL = no; then
12784 result=yes
12785 else
12786 result=no
12787 fi
12788 else
12789 result=$wxUSE_LISTCTRL
12790 fi
12791
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12793 $as_echo "$result" >&6; }
12794
12795
12796 enablestring=
12797 defaultval=$wxUSE_ALL_FEATURES
12798 if test -z "$defaultval"; then
12799 if test x"$enablestring" = xdisable; then
12800 defaultval=yes
12801 else
12802 defaultval=no
12803 fi
12804 fi
12805
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12807 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12808 # Check whether --enable-notebook was given.
12809 if test "${enable_notebook+set}" = set; then :
12810 enableval=$enable_notebook;
12811 if test "$enableval" = yes; then
12812 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12813 else
12814 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12815 fi
12816
12817 else
12818
12819 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12820
12821 fi
12822
12823
12824 eval "$wx_cv_use_notebook"
12825
12826 if test x"$enablestring" = xdisable; then
12827 if test $wxUSE_NOTEBOOK = no; then
12828 result=yes
12829 else
12830 result=no
12831 fi
12832 else
12833 result=$wxUSE_NOTEBOOK
12834 fi
12835
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12837 $as_echo "$result" >&6; }
12838
12839
12840 enablestring=
12841 defaultval=$wxUSE_ALL_FEATURES
12842 if test -z "$defaultval"; then
12843 if test x"$enablestring" = xdisable; then
12844 defaultval=yes
12845 else
12846 defaultval=no
12847 fi
12848 fi
12849
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12851 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12852 # Check whether --enable-notifmsg was given.
12853 if test "${enable_notifmsg+set}" = set; then :
12854 enableval=$enable_notifmsg;
12855 if test "$enableval" = yes; then
12856 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12857 else
12858 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12859 fi
12860
12861 else
12862
12863 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12864
12865 fi
12866
12867
12868 eval "$wx_cv_use_notifmsg"
12869
12870 if test x"$enablestring" = xdisable; then
12871 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12872 result=yes
12873 else
12874 result=no
12875 fi
12876 else
12877 result=$wxUSE_NOTIFICATION_MESSAGE
12878 fi
12879
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12881 $as_echo "$result" >&6; }
12882
12883
12884 enablestring=
12885 defaultval=$wxUSE_ALL_FEATURES
12886 if test -z "$defaultval"; then
12887 if test x"$enablestring" = xdisable; then
12888 defaultval=yes
12889 else
12890 defaultval=no
12891 fi
12892 fi
12893
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12895 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12896 # Check whether --enable-odcombobox was given.
12897 if test "${enable_odcombobox+set}" = set; then :
12898 enableval=$enable_odcombobox;
12899 if test "$enableval" = yes; then
12900 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12901 else
12902 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12903 fi
12904
12905 else
12906
12907 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12908
12909 fi
12910
12911
12912 eval "$wx_cv_use_odcombobox"
12913
12914 if test x"$enablestring" = xdisable; then
12915 if test $wxUSE_ODCOMBOBOX = no; then
12916 result=yes
12917 else
12918 result=no
12919 fi
12920 else
12921 result=$wxUSE_ODCOMBOBOX
12922 fi
12923
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12925 $as_echo "$result" >&6; }
12926
12927
12928 enablestring=
12929 defaultval=$wxUSE_ALL_FEATURES
12930 if test -z "$defaultval"; then
12931 if test x"$enablestring" = xdisable; then
12932 defaultval=yes
12933 else
12934 defaultval=no
12935 fi
12936 fi
12937
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
12939 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
12940 # Check whether --enable-popupwin was given.
12941 if test "${enable_popupwin+set}" = set; then :
12942 enableval=$enable_popupwin;
12943 if test "$enableval" = yes; then
12944 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12945 else
12946 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12947 fi
12948
12949 else
12950
12951 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12952
12953 fi
12954
12955
12956 eval "$wx_cv_use_popupwin"
12957
12958 if test x"$enablestring" = xdisable; then
12959 if test $wxUSE_POPUPWIN = no; then
12960 result=yes
12961 else
12962 result=no
12963 fi
12964 else
12965 result=$wxUSE_POPUPWIN
12966 fi
12967
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12969 $as_echo "$result" >&6; }
12970
12971
12972 enablestring=
12973 defaultval=$wxUSE_ALL_FEATURES
12974 if test -z "$defaultval"; then
12975 if test x"$enablestring" = xdisable; then
12976 defaultval=yes
12977 else
12978 defaultval=no
12979 fi
12980 fi
12981
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
12983 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
12984 # Check whether --enable-radiobox was given.
12985 if test "${enable_radiobox+set}" = set; then :
12986 enableval=$enable_radiobox;
12987 if test "$enableval" = yes; then
12988 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12989 else
12990 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12991 fi
12992
12993 else
12994
12995 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12996
12997 fi
12998
12999
13000 eval "$wx_cv_use_radiobox"
13001
13002 if test x"$enablestring" = xdisable; then
13003 if test $wxUSE_RADIOBOX = no; then
13004 result=yes
13005 else
13006 result=no
13007 fi
13008 else
13009 result=$wxUSE_RADIOBOX
13010 fi
13011
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13013 $as_echo "$result" >&6; }
13014
13015
13016 enablestring=
13017 defaultval=$wxUSE_ALL_FEATURES
13018 if test -z "$defaultval"; then
13019 if test x"$enablestring" = xdisable; then
13020 defaultval=yes
13021 else
13022 defaultval=no
13023 fi
13024 fi
13025
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
13027 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
13028 # Check whether --enable-radiobtn was given.
13029 if test "${enable_radiobtn+set}" = set; then :
13030 enableval=$enable_radiobtn;
13031 if test "$enableval" = yes; then
13032 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
13033 else
13034 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
13035 fi
13036
13037 else
13038
13039 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
13040
13041 fi
13042
13043
13044 eval "$wx_cv_use_radiobtn"
13045
13046 if test x"$enablestring" = xdisable; then
13047 if test $wxUSE_RADIOBTN = no; then
13048 result=yes
13049 else
13050 result=no
13051 fi
13052 else
13053 result=$wxUSE_RADIOBTN
13054 fi
13055
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13057 $as_echo "$result" >&6; }
13058
13059
13060 enablestring=
13061 defaultval=$wxUSE_ALL_FEATURES
13062 if test -z "$defaultval"; then
13063 if test x"$enablestring" = xdisable; then
13064 defaultval=yes
13065 else
13066 defaultval=no
13067 fi
13068 fi
13069
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
13071 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
13072 # Check whether --enable-richmsgdlg was given.
13073 if test "${enable_richmsgdlg+set}" = set; then :
13074 enableval=$enable_richmsgdlg;
13075 if test "$enableval" = yes; then
13076 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
13077 else
13078 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
13079 fi
13080
13081 else
13082
13083 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
13084
13085 fi
13086
13087
13088 eval "$wx_cv_use_richmsgdlg"
13089
13090 if test x"$enablestring" = xdisable; then
13091 if test $wxUSE_RICHMSGDLG = no; then
13092 result=yes
13093 else
13094 result=no
13095 fi
13096 else
13097 result=$wxUSE_RICHMSGDLG
13098 fi
13099
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13101 $as_echo "$result" >&6; }
13102
13103
13104 enablestring=
13105 defaultval=$wxUSE_ALL_FEATURES
13106 if test -z "$defaultval"; then
13107 if test x"$enablestring" = xdisable; then
13108 defaultval=yes
13109 else
13110 defaultval=no
13111 fi
13112 fi
13113
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
13115 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
13116 # Check whether --enable-richtooltip was given.
13117 if test "${enable_richtooltip+set}" = set; then :
13118 enableval=$enable_richtooltip;
13119 if test "$enableval" = yes; then
13120 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
13121 else
13122 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
13123 fi
13124
13125 else
13126
13127 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13128
13129 fi
13130
13131
13132 eval "$wx_cv_use_richtooltip"
13133
13134 if test x"$enablestring" = xdisable; then
13135 if test $wxUSE_RICHTOOLTIP = no; then
13136 result=yes
13137 else
13138 result=no
13139 fi
13140 else
13141 result=$wxUSE_RICHTOOLTIP
13142 fi
13143
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13145 $as_echo "$result" >&6; }
13146
13147
13148 enablestring=
13149 defaultval=$wxUSE_ALL_FEATURES
13150 if test -z "$defaultval"; then
13151 if test x"$enablestring" = xdisable; then
13152 defaultval=yes
13153 else
13154 defaultval=no
13155 fi
13156 fi
13157
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13159 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13160 # Check whether --enable-rearrangectrl was given.
13161 if test "${enable_rearrangectrl+set}" = set; then :
13162 enableval=$enable_rearrangectrl;
13163 if test "$enableval" = yes; then
13164 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13165 else
13166 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13167 fi
13168
13169 else
13170
13171 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13172
13173 fi
13174
13175
13176 eval "$wx_cv_use_rearrangectrl"
13177
13178 if test x"$enablestring" = xdisable; then
13179 if test $wxUSE_REARRANGECTRL = no; then
13180 result=yes
13181 else
13182 result=no
13183 fi
13184 else
13185 result=$wxUSE_REARRANGECTRL
13186 fi
13187
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13189 $as_echo "$result" >&6; }
13190
13191
13192 enablestring=
13193 defaultval=$wxUSE_ALL_FEATURES
13194 if test -z "$defaultval"; then
13195 if test x"$enablestring" = xdisable; then
13196 defaultval=yes
13197 else
13198 defaultval=no
13199 fi
13200 fi
13201
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13203 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13204 # Check whether --enable-sash was given.
13205 if test "${enable_sash+set}" = set; then :
13206 enableval=$enable_sash;
13207 if test "$enableval" = yes; then
13208 wx_cv_use_sash='wxUSE_SASH=yes'
13209 else
13210 wx_cv_use_sash='wxUSE_SASH=no'
13211 fi
13212
13213 else
13214
13215 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13216
13217 fi
13218
13219
13220 eval "$wx_cv_use_sash"
13221
13222 if test x"$enablestring" = xdisable; then
13223 if test $wxUSE_SASH = no; then
13224 result=yes
13225 else
13226 result=no
13227 fi
13228 else
13229 result=$wxUSE_SASH
13230 fi
13231
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13233 $as_echo "$result" >&6; }
13234
13235
13236 enablestring=
13237 defaultval=$wxUSE_ALL_FEATURES
13238 if test -z "$defaultval"; then
13239 if test x"$enablestring" = xdisable; then
13240 defaultval=yes
13241 else
13242 defaultval=no
13243 fi
13244 fi
13245
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13247 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13248 # Check whether --enable-scrollbar was given.
13249 if test "${enable_scrollbar+set}" = set; then :
13250 enableval=$enable_scrollbar;
13251 if test "$enableval" = yes; then
13252 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13253 else
13254 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13255 fi
13256
13257 else
13258
13259 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13260
13261 fi
13262
13263
13264 eval "$wx_cv_use_scrollbar"
13265
13266 if test x"$enablestring" = xdisable; then
13267 if test $wxUSE_SCROLLBAR = no; then
13268 result=yes
13269 else
13270 result=no
13271 fi
13272 else
13273 result=$wxUSE_SCROLLBAR
13274 fi
13275
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13277 $as_echo "$result" >&6; }
13278
13279
13280 enablestring=
13281 defaultval=$wxUSE_ALL_FEATURES
13282 if test -z "$defaultval"; then
13283 if test x"$enablestring" = xdisable; then
13284 defaultval=yes
13285 else
13286 defaultval=no
13287 fi
13288 fi
13289
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13291 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13292 # Check whether --enable-searchctrl was given.
13293 if test "${enable_searchctrl+set}" = set; then :
13294 enableval=$enable_searchctrl;
13295 if test "$enableval" = yes; then
13296 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13297 else
13298 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13299 fi
13300
13301 else
13302
13303 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13304
13305 fi
13306
13307
13308 eval "$wx_cv_use_searchctrl"
13309
13310 if test x"$enablestring" = xdisable; then
13311 if test $wxUSE_SEARCHCTRL = no; then
13312 result=yes
13313 else
13314 result=no
13315 fi
13316 else
13317 result=$wxUSE_SEARCHCTRL
13318 fi
13319
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13321 $as_echo "$result" >&6; }
13322
13323
13324 enablestring=
13325 defaultval=$wxUSE_ALL_FEATURES
13326 if test -z "$defaultval"; then
13327 if test x"$enablestring" = xdisable; then
13328 defaultval=yes
13329 else
13330 defaultval=no
13331 fi
13332 fi
13333
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13335 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13336 # Check whether --enable-slider was given.
13337 if test "${enable_slider+set}" = set; then :
13338 enableval=$enable_slider;
13339 if test "$enableval" = yes; then
13340 wx_cv_use_slider='wxUSE_SLIDER=yes'
13341 else
13342 wx_cv_use_slider='wxUSE_SLIDER=no'
13343 fi
13344
13345 else
13346
13347 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13348
13349 fi
13350
13351
13352 eval "$wx_cv_use_slider"
13353
13354 if test x"$enablestring" = xdisable; then
13355 if test $wxUSE_SLIDER = no; then
13356 result=yes
13357 else
13358 result=no
13359 fi
13360 else
13361 result=$wxUSE_SLIDER
13362 fi
13363
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13365 $as_echo "$result" >&6; }
13366
13367
13368 enablestring=
13369 defaultval=$wxUSE_ALL_FEATURES
13370 if test -z "$defaultval"; then
13371 if test x"$enablestring" = xdisable; then
13372 defaultval=yes
13373 else
13374 defaultval=no
13375 fi
13376 fi
13377
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13379 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13380 # Check whether --enable-spinbtn was given.
13381 if test "${enable_spinbtn+set}" = set; then :
13382 enableval=$enable_spinbtn;
13383 if test "$enableval" = yes; then
13384 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13385 else
13386 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13387 fi
13388
13389 else
13390
13391 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13392
13393 fi
13394
13395
13396 eval "$wx_cv_use_spinbtn"
13397
13398 if test x"$enablestring" = xdisable; then
13399 if test $wxUSE_SPINBTN = no; then
13400 result=yes
13401 else
13402 result=no
13403 fi
13404 else
13405 result=$wxUSE_SPINBTN
13406 fi
13407
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13409 $as_echo "$result" >&6; }
13410
13411
13412 enablestring=
13413 defaultval=$wxUSE_ALL_FEATURES
13414 if test -z "$defaultval"; then
13415 if test x"$enablestring" = xdisable; then
13416 defaultval=yes
13417 else
13418 defaultval=no
13419 fi
13420 fi
13421
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13423 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13424 # Check whether --enable-spinctrl was given.
13425 if test "${enable_spinctrl+set}" = set; then :
13426 enableval=$enable_spinctrl;
13427 if test "$enableval" = yes; then
13428 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13429 else
13430 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13431 fi
13432
13433 else
13434
13435 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13436
13437 fi
13438
13439
13440 eval "$wx_cv_use_spinctrl"
13441
13442 if test x"$enablestring" = xdisable; then
13443 if test $wxUSE_SPINCTRL = no; then
13444 result=yes
13445 else
13446 result=no
13447 fi
13448 else
13449 result=$wxUSE_SPINCTRL
13450 fi
13451
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13453 $as_echo "$result" >&6; }
13454
13455
13456 enablestring=
13457 defaultval=$wxUSE_ALL_FEATURES
13458 if test -z "$defaultval"; then
13459 if test x"$enablestring" = xdisable; then
13460 defaultval=yes
13461 else
13462 defaultval=no
13463 fi
13464 fi
13465
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13467 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13468 # Check whether --enable-splitter was given.
13469 if test "${enable_splitter+set}" = set; then :
13470 enableval=$enable_splitter;
13471 if test "$enableval" = yes; then
13472 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13473 else
13474 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13475 fi
13476
13477 else
13478
13479 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13480
13481 fi
13482
13483
13484 eval "$wx_cv_use_splitter"
13485
13486 if test x"$enablestring" = xdisable; then
13487 if test $wxUSE_SPLITTER = no; then
13488 result=yes
13489 else
13490 result=no
13491 fi
13492 else
13493 result=$wxUSE_SPLITTER
13494 fi
13495
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13497 $as_echo "$result" >&6; }
13498
13499
13500 enablestring=
13501 defaultval=$wxUSE_ALL_FEATURES
13502 if test -z "$defaultval"; then
13503 if test x"$enablestring" = xdisable; then
13504 defaultval=yes
13505 else
13506 defaultval=no
13507 fi
13508 fi
13509
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13511 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13512 # Check whether --enable-statbmp was given.
13513 if test "${enable_statbmp+set}" = set; then :
13514 enableval=$enable_statbmp;
13515 if test "$enableval" = yes; then
13516 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13517 else
13518 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13519 fi
13520
13521 else
13522
13523 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13524
13525 fi
13526
13527
13528 eval "$wx_cv_use_statbmp"
13529
13530 if test x"$enablestring" = xdisable; then
13531 if test $wxUSE_STATBMP = no; then
13532 result=yes
13533 else
13534 result=no
13535 fi
13536 else
13537 result=$wxUSE_STATBMP
13538 fi
13539
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13541 $as_echo "$result" >&6; }
13542
13543
13544 enablestring=
13545 defaultval=$wxUSE_ALL_FEATURES
13546 if test -z "$defaultval"; then
13547 if test x"$enablestring" = xdisable; then
13548 defaultval=yes
13549 else
13550 defaultval=no
13551 fi
13552 fi
13553
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13555 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13556 # Check whether --enable-statbox was given.
13557 if test "${enable_statbox+set}" = set; then :
13558 enableval=$enable_statbox;
13559 if test "$enableval" = yes; then
13560 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13561 else
13562 wx_cv_use_statbox='wxUSE_STATBOX=no'
13563 fi
13564
13565 else
13566
13567 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13568
13569 fi
13570
13571
13572 eval "$wx_cv_use_statbox"
13573
13574 if test x"$enablestring" = xdisable; then
13575 if test $wxUSE_STATBOX = no; then
13576 result=yes
13577 else
13578 result=no
13579 fi
13580 else
13581 result=$wxUSE_STATBOX
13582 fi
13583
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13585 $as_echo "$result" >&6; }
13586
13587
13588 enablestring=
13589 defaultval=$wxUSE_ALL_FEATURES
13590 if test -z "$defaultval"; then
13591 if test x"$enablestring" = xdisable; then
13592 defaultval=yes
13593 else
13594 defaultval=no
13595 fi
13596 fi
13597
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13599 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13600 # Check whether --enable-statline was given.
13601 if test "${enable_statline+set}" = set; then :
13602 enableval=$enable_statline;
13603 if test "$enableval" = yes; then
13604 wx_cv_use_statline='wxUSE_STATLINE=yes'
13605 else
13606 wx_cv_use_statline='wxUSE_STATLINE=no'
13607 fi
13608
13609 else
13610
13611 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13612
13613 fi
13614
13615
13616 eval "$wx_cv_use_statline"
13617
13618 if test x"$enablestring" = xdisable; then
13619 if test $wxUSE_STATLINE = no; then
13620 result=yes
13621 else
13622 result=no
13623 fi
13624 else
13625 result=$wxUSE_STATLINE
13626 fi
13627
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13629 $as_echo "$result" >&6; }
13630
13631
13632 enablestring=
13633 defaultval=$wxUSE_ALL_FEATURES
13634 if test -z "$defaultval"; then
13635 if test x"$enablestring" = xdisable; then
13636 defaultval=yes
13637 else
13638 defaultval=no
13639 fi
13640 fi
13641
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13643 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13644 # Check whether --enable-stattext was given.
13645 if test "${enable_stattext+set}" = set; then :
13646 enableval=$enable_stattext;
13647 if test "$enableval" = yes; then
13648 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13649 else
13650 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13651 fi
13652
13653 else
13654
13655 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13656
13657 fi
13658
13659
13660 eval "$wx_cv_use_stattext"
13661
13662 if test x"$enablestring" = xdisable; then
13663 if test $wxUSE_STATTEXT = no; then
13664 result=yes
13665 else
13666 result=no
13667 fi
13668 else
13669 result=$wxUSE_STATTEXT
13670 fi
13671
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13673 $as_echo "$result" >&6; }
13674
13675
13676 enablestring=
13677 defaultval=$wxUSE_ALL_FEATURES
13678 if test -z "$defaultval"; then
13679 if test x"$enablestring" = xdisable; then
13680 defaultval=yes
13681 else
13682 defaultval=no
13683 fi
13684 fi
13685
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13687 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13688 # Check whether --enable-statusbar was given.
13689 if test "${enable_statusbar+set}" = set; then :
13690 enableval=$enable_statusbar;
13691 if test "$enableval" = yes; then
13692 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13693 else
13694 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13695 fi
13696
13697 else
13698
13699 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13700
13701 fi
13702
13703
13704 eval "$wx_cv_use_statusbar"
13705
13706 if test x"$enablestring" = xdisable; then
13707 if test $wxUSE_STATUSBAR = no; then
13708 result=yes
13709 else
13710 result=no
13711 fi
13712 else
13713 result=$wxUSE_STATUSBAR
13714 fi
13715
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13717 $as_echo "$result" >&6; }
13718
13719
13720 enablestring=
13721 defaultval=$wxUSE_ALL_FEATURES
13722 if test -z "$defaultval"; then
13723 if test x"$enablestring" = xdisable; then
13724 defaultval=yes
13725 else
13726 defaultval=no
13727 fi
13728 fi
13729
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13731 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13732 # Check whether --enable-taskbaricon was given.
13733 if test "${enable_taskbaricon+set}" = set; then :
13734 enableval=$enable_taskbaricon;
13735 if test "$enableval" = yes; then
13736 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13737 else
13738 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13739 fi
13740
13741 else
13742
13743 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13744
13745 fi
13746
13747
13748 eval "$wx_cv_use_taskbaricon"
13749
13750 if test x"$enablestring" = xdisable; then
13751 if test $wxUSE_TASKBARICON = no; then
13752 result=yes
13753 else
13754 result=no
13755 fi
13756 else
13757 result=$wxUSE_TASKBARICON
13758 fi
13759
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13761 $as_echo "$result" >&6; }
13762
13763
13764 enablestring=
13765 defaultval=$wxUSE_ALL_FEATURES
13766 if test -z "$defaultval"; then
13767 if test x"$enablestring" = xdisable; then
13768 defaultval=yes
13769 else
13770 defaultval=no
13771 fi
13772 fi
13773
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13775 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13776 # Check whether --enable-tbarnative was given.
13777 if test "${enable_tbarnative+set}" = set; then :
13778 enableval=$enable_tbarnative;
13779 if test "$enableval" = yes; then
13780 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13781 else
13782 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13783 fi
13784
13785 else
13786
13787 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13788
13789 fi
13790
13791
13792 eval "$wx_cv_use_tbarnative"
13793
13794 if test x"$enablestring" = xdisable; then
13795 if test $wxUSE_TOOLBAR_NATIVE = no; then
13796 result=yes
13797 else
13798 result=no
13799 fi
13800 else
13801 result=$wxUSE_TOOLBAR_NATIVE
13802 fi
13803
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13805 $as_echo "$result" >&6; }
13806
13807
13808 enablestring=
13809 defaultval=$wxUSE_ALL_FEATURES
13810 if test -z "$defaultval"; then
13811 if test x"$enablestring" = xdisable; then
13812 defaultval=yes
13813 else
13814 defaultval=no
13815 fi
13816 fi
13817
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13819 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13820 # Check whether --enable-textctrl was given.
13821 if test "${enable_textctrl+set}" = set; then :
13822 enableval=$enable_textctrl;
13823 if test "$enableval" = yes; then
13824 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13825 else
13826 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13827 fi
13828
13829 else
13830
13831 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13832
13833 fi
13834
13835
13836 eval "$wx_cv_use_textctrl"
13837
13838 if test x"$enablestring" = xdisable; then
13839 if test $wxUSE_TEXTCTRL = no; then
13840 result=yes
13841 else
13842 result=no
13843 fi
13844 else
13845 result=$wxUSE_TEXTCTRL
13846 fi
13847
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13849 $as_echo "$result" >&6; }
13850
13851
13852 enablestring=
13853 defaultval=$wxUSE_ALL_FEATURES
13854 if test -z "$defaultval"; then
13855 if test x"$enablestring" = xdisable; then
13856 defaultval=yes
13857 else
13858 defaultval=no
13859 fi
13860 fi
13861
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13863 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13864 # Check whether --enable-datepick was given.
13865 if test "${enable_datepick+set}" = set; then :
13866 enableval=$enable_datepick;
13867 if test "$enableval" = yes; then
13868 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13869 else
13870 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13871 fi
13872
13873 else
13874
13875 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13876
13877 fi
13878
13879
13880 eval "$wx_cv_use_datepick"
13881
13882 if test x"$enablestring" = xdisable; then
13883 if test $wxUSE_TIMEPICKCTRL = no; then
13884 result=yes
13885 else
13886 result=no
13887 fi
13888 else
13889 result=$wxUSE_TIMEPICKCTRL
13890 fi
13891
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13893 $as_echo "$result" >&6; }
13894
13895
13896 enablestring=
13897 defaultval=$wxUSE_ALL_FEATURES
13898 if test -z "$defaultval"; then
13899 if test x"$enablestring" = xdisable; then
13900 defaultval=yes
13901 else
13902 defaultval=no
13903 fi
13904 fi
13905
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13907 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13908 # Check whether --enable-tipwindow was given.
13909 if test "${enable_tipwindow+set}" = set; then :
13910 enableval=$enable_tipwindow;
13911 if test "$enableval" = yes; then
13912 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13913 else
13914 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13915 fi
13916
13917 else
13918
13919 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13920
13921 fi
13922
13923
13924 eval "$wx_cv_use_tipwindow"
13925
13926 if test x"$enablestring" = xdisable; then
13927 if test $wxUSE_TIPWINDOW = no; then
13928 result=yes
13929 else
13930 result=no
13931 fi
13932 else
13933 result=$wxUSE_TIPWINDOW
13934 fi
13935
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13937 $as_echo "$result" >&6; }
13938
13939
13940 enablestring=
13941 defaultval=$wxUSE_ALL_FEATURES
13942 if test -z "$defaultval"; then
13943 if test x"$enablestring" = xdisable; then
13944 defaultval=yes
13945 else
13946 defaultval=no
13947 fi
13948 fi
13949
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
13951 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
13952 # Check whether --enable-togglebtn was given.
13953 if test "${enable_togglebtn+set}" = set; then :
13954 enableval=$enable_togglebtn;
13955 if test "$enableval" = yes; then
13956 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13957 else
13958 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13959 fi
13960
13961 else
13962
13963 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13964
13965 fi
13966
13967
13968 eval "$wx_cv_use_togglebtn"
13969
13970 if test x"$enablestring" = xdisable; then
13971 if test $wxUSE_TOGGLEBTN = no; then
13972 result=yes
13973 else
13974 result=no
13975 fi
13976 else
13977 result=$wxUSE_TOGGLEBTN
13978 fi
13979
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13981 $as_echo "$result" >&6; }
13982
13983
13984 enablestring=
13985 defaultval=$wxUSE_ALL_FEATURES
13986 if test -z "$defaultval"; then
13987 if test x"$enablestring" = xdisable; then
13988 defaultval=yes
13989 else
13990 defaultval=no
13991 fi
13992 fi
13993
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
13995 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
13996 # Check whether --enable-toolbar was given.
13997 if test "${enable_toolbar+set}" = set; then :
13998 enableval=$enable_toolbar;
13999 if test "$enableval" = yes; then
14000 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
14001 else
14002 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
14003 fi
14004
14005 else
14006
14007 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
14008
14009 fi
14010
14011
14012 eval "$wx_cv_use_toolbar"
14013
14014 if test x"$enablestring" = xdisable; then
14015 if test $wxUSE_TOOLBAR = no; then
14016 result=yes
14017 else
14018 result=no
14019 fi
14020 else
14021 result=$wxUSE_TOOLBAR
14022 fi
14023
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14025 $as_echo "$result" >&6; }
14026
14027
14028 enablestring=
14029 defaultval=$wxUSE_ALL_FEATURES
14030 if test -z "$defaultval"; then
14031 if test x"$enablestring" = xdisable; then
14032 defaultval=yes
14033 else
14034 defaultval=no
14035 fi
14036 fi
14037
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
14039 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
14040 # Check whether --enable-toolbook was given.
14041 if test "${enable_toolbook+set}" = set; then :
14042 enableval=$enable_toolbook;
14043 if test "$enableval" = yes; then
14044 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
14045 else
14046 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
14047 fi
14048
14049 else
14050
14051 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14052
14053 fi
14054
14055
14056 eval "$wx_cv_use_toolbook"
14057
14058 if test x"$enablestring" = xdisable; then
14059 if test $wxUSE_TOOLBOOK = no; then
14060 result=yes
14061 else
14062 result=no
14063 fi
14064 else
14065 result=$wxUSE_TOOLBOOK
14066 fi
14067
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14069 $as_echo "$result" >&6; }
14070
14071
14072 enablestring=
14073 defaultval=$wxUSE_ALL_FEATURES
14074 if test -z "$defaultval"; then
14075 if test x"$enablestring" = xdisable; then
14076 defaultval=yes
14077 else
14078 defaultval=no
14079 fi
14080 fi
14081
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
14083 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
14084 # Check whether --enable-treebook was given.
14085 if test "${enable_treebook+set}" = set; then :
14086 enableval=$enable_treebook;
14087 if test "$enableval" = yes; then
14088 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
14089 else
14090 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
14091 fi
14092
14093 else
14094
14095 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14096
14097 fi
14098
14099
14100 eval "$wx_cv_use_treebook"
14101
14102 if test x"$enablestring" = xdisable; then
14103 if test $wxUSE_TREEBOOK = no; then
14104 result=yes
14105 else
14106 result=no
14107 fi
14108 else
14109 result=$wxUSE_TREEBOOK
14110 fi
14111
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14113 $as_echo "$result" >&6; }
14114
14115
14116 enablestring=
14117 defaultval=$wxUSE_ALL_FEATURES
14118 if test -z "$defaultval"; then
14119 if test x"$enablestring" = xdisable; then
14120 defaultval=yes
14121 else
14122 defaultval=no
14123 fi
14124 fi
14125
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14127 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14128 # Check whether --enable-treectrl was given.
14129 if test "${enable_treectrl+set}" = set; then :
14130 enableval=$enable_treectrl;
14131 if test "$enableval" = yes; then
14132 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14133 else
14134 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14135 fi
14136
14137 else
14138
14139 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14140
14141 fi
14142
14143
14144 eval "$wx_cv_use_treectrl"
14145
14146 if test x"$enablestring" = xdisable; then
14147 if test $wxUSE_TREECTRL = no; then
14148 result=yes
14149 else
14150 result=no
14151 fi
14152 else
14153 result=$wxUSE_TREECTRL
14154 fi
14155
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14157 $as_echo "$result" >&6; }
14158
14159
14160 enablestring=
14161 defaultval=$wxUSE_ALL_FEATURES
14162 if test -z "$defaultval"; then
14163 if test x"$enablestring" = xdisable; then
14164 defaultval=yes
14165 else
14166 defaultval=no
14167 fi
14168 fi
14169
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14171 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14172 # Check whether --enable-treelist was given.
14173 if test "${enable_treelist+set}" = set; then :
14174 enableval=$enable_treelist;
14175 if test "$enableval" = yes; then
14176 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14177 else
14178 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14179 fi
14180
14181 else
14182
14183 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14184
14185 fi
14186
14187
14188 eval "$wx_cv_use_treelist"
14189
14190 if test x"$enablestring" = xdisable; then
14191 if test $wxUSE_TREELISTCTRL = no; then
14192 result=yes
14193 else
14194 result=no
14195 fi
14196 else
14197 result=$wxUSE_TREELISTCTRL
14198 fi
14199
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14201 $as_echo "$result" >&6; }
14202
14203
14204
14205
14206 enablestring=
14207 defaultval=$wxUSE_ALL_FEATURES
14208 if test -z "$defaultval"; then
14209 if test x"$enablestring" = xdisable; then
14210 defaultval=yes
14211 else
14212 defaultval=no
14213 fi
14214 fi
14215
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14217 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14218 # Check whether --enable-commondlg was given.
14219 if test "${enable_commondlg+set}" = set; then :
14220 enableval=$enable_commondlg;
14221 if test "$enableval" = yes; then
14222 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14223 else
14224 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14225 fi
14226
14227 else
14228
14229 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14230
14231 fi
14232
14233
14234 eval "$wx_cv_use_commondlg"
14235
14236 if test x"$enablestring" = xdisable; then
14237 if test $wxUSE_COMMONDLGS = no; then
14238 result=yes
14239 else
14240 result=no
14241 fi
14242 else
14243 result=$wxUSE_COMMONDLGS
14244 fi
14245
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14247 $as_echo "$result" >&6; }
14248
14249
14250 enablestring=
14251 defaultval=$wxUSE_ALL_FEATURES
14252 if test -z "$defaultval"; then
14253 if test x"$enablestring" = xdisable; then
14254 defaultval=yes
14255 else
14256 defaultval=no
14257 fi
14258 fi
14259
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14261 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14262 # Check whether --enable-aboutdlg was given.
14263 if test "${enable_aboutdlg+set}" = set; then :
14264 enableval=$enable_aboutdlg;
14265 if test "$enableval" = yes; then
14266 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14267 else
14268 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14269 fi
14270
14271 else
14272
14273 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14274
14275 fi
14276
14277
14278 eval "$wx_cv_use_aboutdlg"
14279
14280 if test x"$enablestring" = xdisable; then
14281 if test $wxUSE_ABOUTDLG = no; then
14282 result=yes
14283 else
14284 result=no
14285 fi
14286 else
14287 result=$wxUSE_ABOUTDLG
14288 fi
14289
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14291 $as_echo "$result" >&6; }
14292
14293
14294 enablestring=
14295 defaultval=$wxUSE_ALL_FEATURES
14296 if test -z "$defaultval"; then
14297 if test x"$enablestring" = xdisable; then
14298 defaultval=yes
14299 else
14300 defaultval=no
14301 fi
14302 fi
14303
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14305 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14306 # Check whether --enable-choicedlg was given.
14307 if test "${enable_choicedlg+set}" = set; then :
14308 enableval=$enable_choicedlg;
14309 if test "$enableval" = yes; then
14310 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14311 else
14312 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14313 fi
14314
14315 else
14316
14317 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14318
14319 fi
14320
14321
14322 eval "$wx_cv_use_choicedlg"
14323
14324 if test x"$enablestring" = xdisable; then
14325 if test $wxUSE_CHOICEDLG = no; then
14326 result=yes
14327 else
14328 result=no
14329 fi
14330 else
14331 result=$wxUSE_CHOICEDLG
14332 fi
14333
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14335 $as_echo "$result" >&6; }
14336
14337
14338 enablestring=
14339 defaultval=$wxUSE_ALL_FEATURES
14340 if test -z "$defaultval"; then
14341 if test x"$enablestring" = xdisable; then
14342 defaultval=yes
14343 else
14344 defaultval=no
14345 fi
14346 fi
14347
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14349 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14350 # Check whether --enable-coldlg was given.
14351 if test "${enable_coldlg+set}" = set; then :
14352 enableval=$enable_coldlg;
14353 if test "$enableval" = yes; then
14354 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14355 else
14356 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14357 fi
14358
14359 else
14360
14361 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14362
14363 fi
14364
14365
14366 eval "$wx_cv_use_coldlg"
14367
14368 if test x"$enablestring" = xdisable; then
14369 if test $wxUSE_COLOURDLG = no; then
14370 result=yes
14371 else
14372 result=no
14373 fi
14374 else
14375 result=$wxUSE_COLOURDLG
14376 fi
14377
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14379 $as_echo "$result" >&6; }
14380
14381
14382 enablestring=
14383 defaultval=$wxUSE_ALL_FEATURES
14384 if test -z "$defaultval"; then
14385 if test x"$enablestring" = xdisable; then
14386 defaultval=yes
14387 else
14388 defaultval=no
14389 fi
14390 fi
14391
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14393 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14394 # Check whether --enable-filedlg was given.
14395 if test "${enable_filedlg+set}" = set; then :
14396 enableval=$enable_filedlg;
14397 if test "$enableval" = yes; then
14398 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14399 else
14400 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14401 fi
14402
14403 else
14404
14405 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14406
14407 fi
14408
14409
14410 eval "$wx_cv_use_filedlg"
14411
14412 if test x"$enablestring" = xdisable; then
14413 if test $wxUSE_FILEDLG = no; then
14414 result=yes
14415 else
14416 result=no
14417 fi
14418 else
14419 result=$wxUSE_FILEDLG
14420 fi
14421
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14423 $as_echo "$result" >&6; }
14424
14425
14426 enablestring=
14427 defaultval=$wxUSE_ALL_FEATURES
14428 if test -z "$defaultval"; then
14429 if test x"$enablestring" = xdisable; then
14430 defaultval=yes
14431 else
14432 defaultval=no
14433 fi
14434 fi
14435
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14437 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14438 # Check whether --enable-finddlg was given.
14439 if test "${enable_finddlg+set}" = set; then :
14440 enableval=$enable_finddlg;
14441 if test "$enableval" = yes; then
14442 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14443 else
14444 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14445 fi
14446
14447 else
14448
14449 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14450
14451 fi
14452
14453
14454 eval "$wx_cv_use_finddlg"
14455
14456 if test x"$enablestring" = xdisable; then
14457 if test $wxUSE_FINDREPLDLG = no; then
14458 result=yes
14459 else
14460 result=no
14461 fi
14462 else
14463 result=$wxUSE_FINDREPLDLG
14464 fi
14465
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14467 $as_echo "$result" >&6; }
14468
14469
14470 enablestring=
14471 defaultval=$wxUSE_ALL_FEATURES
14472 if test -z "$defaultval"; then
14473 if test x"$enablestring" = xdisable; then
14474 defaultval=yes
14475 else
14476 defaultval=no
14477 fi
14478 fi
14479
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14481 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14482 # Check whether --enable-fontdlg was given.
14483 if test "${enable_fontdlg+set}" = set; then :
14484 enableval=$enable_fontdlg;
14485 if test "$enableval" = yes; then
14486 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14487 else
14488 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14489 fi
14490
14491 else
14492
14493 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14494
14495 fi
14496
14497
14498 eval "$wx_cv_use_fontdlg"
14499
14500 if test x"$enablestring" = xdisable; then
14501 if test $wxUSE_FONTDLG = no; then
14502 result=yes
14503 else
14504 result=no
14505 fi
14506 else
14507 result=$wxUSE_FONTDLG
14508 fi
14509
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14511 $as_echo "$result" >&6; }
14512
14513
14514 enablestring=
14515 defaultval=$wxUSE_ALL_FEATURES
14516 if test -z "$defaultval"; then
14517 if test x"$enablestring" = xdisable; then
14518 defaultval=yes
14519 else
14520 defaultval=no
14521 fi
14522 fi
14523
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14525 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14526 # Check whether --enable-dirdlg was given.
14527 if test "${enable_dirdlg+set}" = set; then :
14528 enableval=$enable_dirdlg;
14529 if test "$enableval" = yes; then
14530 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14531 else
14532 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14533 fi
14534
14535 else
14536
14537 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14538
14539 fi
14540
14541
14542 eval "$wx_cv_use_dirdlg"
14543
14544 if test x"$enablestring" = xdisable; then
14545 if test $wxUSE_DIRDLG = no; then
14546 result=yes
14547 else
14548 result=no
14549 fi
14550 else
14551 result=$wxUSE_DIRDLG
14552 fi
14553
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14555 $as_echo "$result" >&6; }
14556
14557
14558 enablestring=
14559 defaultval=$wxUSE_ALL_FEATURES
14560 if test -z "$defaultval"; then
14561 if test x"$enablestring" = xdisable; then
14562 defaultval=yes
14563 else
14564 defaultval=no
14565 fi
14566 fi
14567
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14569 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14570 # Check whether --enable-msgdlg was given.
14571 if test "${enable_msgdlg+set}" = set; then :
14572 enableval=$enable_msgdlg;
14573 if test "$enableval" = yes; then
14574 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14575 else
14576 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14577 fi
14578
14579 else
14580
14581 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14582
14583 fi
14584
14585
14586 eval "$wx_cv_use_msgdlg"
14587
14588 if test x"$enablestring" = xdisable; then
14589 if test $wxUSE_MSGDLG = no; then
14590 result=yes
14591 else
14592 result=no
14593 fi
14594 else
14595 result=$wxUSE_MSGDLG
14596 fi
14597
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14599 $as_echo "$result" >&6; }
14600
14601
14602 enablestring=
14603 defaultval=$wxUSE_ALL_FEATURES
14604 if test -z "$defaultval"; then
14605 if test x"$enablestring" = xdisable; then
14606 defaultval=yes
14607 else
14608 defaultval=no
14609 fi
14610 fi
14611
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14613 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14614 # Check whether --enable-numberdlg was given.
14615 if test "${enable_numberdlg+set}" = set; then :
14616 enableval=$enable_numberdlg;
14617 if test "$enableval" = yes; then
14618 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14619 else
14620 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14621 fi
14622
14623 else
14624
14625 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14626
14627 fi
14628
14629
14630 eval "$wx_cv_use_numberdlg"
14631
14632 if test x"$enablestring" = xdisable; then
14633 if test $wxUSE_NUMBERDLG = no; then
14634 result=yes
14635 else
14636 result=no
14637 fi
14638 else
14639 result=$wxUSE_NUMBERDLG
14640 fi
14641
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14643 $as_echo "$result" >&6; }
14644
14645
14646 enablestring=
14647 defaultval=$wxUSE_ALL_FEATURES
14648 if test -z "$defaultval"; then
14649 if test x"$enablestring" = xdisable; then
14650 defaultval=yes
14651 else
14652 defaultval=no
14653 fi
14654 fi
14655
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14657 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14658 # Check whether --enable-splash was given.
14659 if test "${enable_splash+set}" = set; then :
14660 enableval=$enable_splash;
14661 if test "$enableval" = yes; then
14662 wx_cv_use_splash='wxUSE_SPLASH=yes'
14663 else
14664 wx_cv_use_splash='wxUSE_SPLASH=no'
14665 fi
14666
14667 else
14668
14669 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14670
14671 fi
14672
14673
14674 eval "$wx_cv_use_splash"
14675
14676 if test x"$enablestring" = xdisable; then
14677 if test $wxUSE_SPLASH = no; then
14678 result=yes
14679 else
14680 result=no
14681 fi
14682 else
14683 result=$wxUSE_SPLASH
14684 fi
14685
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14687 $as_echo "$result" >&6; }
14688
14689
14690 enablestring=
14691 defaultval=$wxUSE_ALL_FEATURES
14692 if test -z "$defaultval"; then
14693 if test x"$enablestring" = xdisable; then
14694 defaultval=yes
14695 else
14696 defaultval=no
14697 fi
14698 fi
14699
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14701 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14702 # Check whether --enable-textdlg was given.
14703 if test "${enable_textdlg+set}" = set; then :
14704 enableval=$enable_textdlg;
14705 if test "$enableval" = yes; then
14706 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14707 else
14708 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14709 fi
14710
14711 else
14712
14713 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14714
14715 fi
14716
14717
14718 eval "$wx_cv_use_textdlg"
14719
14720 if test x"$enablestring" = xdisable; then
14721 if test $wxUSE_TEXTDLG = no; then
14722 result=yes
14723 else
14724 result=no
14725 fi
14726 else
14727 result=$wxUSE_TEXTDLG
14728 fi
14729
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14731 $as_echo "$result" >&6; }
14732
14733
14734 enablestring=
14735 defaultval=$wxUSE_ALL_FEATURES
14736 if test -z "$defaultval"; then
14737 if test x"$enablestring" = xdisable; then
14738 defaultval=yes
14739 else
14740 defaultval=no
14741 fi
14742 fi
14743
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14745 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14746 # Check whether --enable-tipdlg was given.
14747 if test "${enable_tipdlg+set}" = set; then :
14748 enableval=$enable_tipdlg;
14749 if test "$enableval" = yes; then
14750 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14751 else
14752 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14753 fi
14754
14755 else
14756
14757 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14758
14759 fi
14760
14761
14762 eval "$wx_cv_use_tipdlg"
14763
14764 if test x"$enablestring" = xdisable; then
14765 if test $wxUSE_STARTUP_TIPS = no; then
14766 result=yes
14767 else
14768 result=no
14769 fi
14770 else
14771 result=$wxUSE_STARTUP_TIPS
14772 fi
14773
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14775 $as_echo "$result" >&6; }
14776
14777
14778 enablestring=
14779 defaultval=$wxUSE_ALL_FEATURES
14780 if test -z "$defaultval"; then
14781 if test x"$enablestring" = xdisable; then
14782 defaultval=yes
14783 else
14784 defaultval=no
14785 fi
14786 fi
14787
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14789 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14790 # Check whether --enable-progressdlg was given.
14791 if test "${enable_progressdlg+set}" = set; then :
14792 enableval=$enable_progressdlg;
14793 if test "$enableval" = yes; then
14794 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14795 else
14796 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14797 fi
14798
14799 else
14800
14801 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14802
14803 fi
14804
14805
14806 eval "$wx_cv_use_progressdlg"
14807
14808 if test x"$enablestring" = xdisable; then
14809 if test $wxUSE_PROGRESSDLG = no; then
14810 result=yes
14811 else
14812 result=no
14813 fi
14814 else
14815 result=$wxUSE_PROGRESSDLG
14816 fi
14817
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14819 $as_echo "$result" >&6; }
14820
14821
14822 enablestring=
14823 defaultval=$wxUSE_ALL_FEATURES
14824 if test -z "$defaultval"; then
14825 if test x"$enablestring" = xdisable; then
14826 defaultval=yes
14827 else
14828 defaultval=no
14829 fi
14830 fi
14831
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14833 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14834 # Check whether --enable-wizarddlg was given.
14835 if test "${enable_wizarddlg+set}" = set; then :
14836 enableval=$enable_wizarddlg;
14837 if test "$enableval" = yes; then
14838 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14839 else
14840 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14841 fi
14842
14843 else
14844
14845 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14846
14847 fi
14848
14849
14850 eval "$wx_cv_use_wizarddlg"
14851
14852 if test x"$enablestring" = xdisable; then
14853 if test $wxUSE_WIZARDDLG = no; then
14854 result=yes
14855 else
14856 result=no
14857 fi
14858 else
14859 result=$wxUSE_WIZARDDLG
14860 fi
14861
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14863 $as_echo "$result" >&6; }
14864
14865
14866
14867
14868 enablestring=
14869 defaultval=$wxUSE_ALL_FEATURES
14870 if test -z "$defaultval"; then
14871 if test x"$enablestring" = xdisable; then
14872 defaultval=yes
14873 else
14874 defaultval=no
14875 fi
14876 fi
14877
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14879 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14880 # Check whether --enable-menus was given.
14881 if test "${enable_menus+set}" = set; then :
14882 enableval=$enable_menus;
14883 if test "$enableval" = yes; then
14884 wx_cv_use_menus='wxUSE_MENUS=yes'
14885 else
14886 wx_cv_use_menus='wxUSE_MENUS=no'
14887 fi
14888
14889 else
14890
14891 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14892
14893 fi
14894
14895
14896 eval "$wx_cv_use_menus"
14897
14898 if test x"$enablestring" = xdisable; then
14899 if test $wxUSE_MENUS = no; then
14900 result=yes
14901 else
14902 result=no
14903 fi
14904 else
14905 result=$wxUSE_MENUS
14906 fi
14907
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14909 $as_echo "$result" >&6; }
14910
14911
14912 enablestring=
14913 defaultval=$wxUSE_ALL_FEATURES
14914 if test -z "$defaultval"; then
14915 if test x"$enablestring" = xdisable; then
14916 defaultval=yes
14917 else
14918 defaultval=no
14919 fi
14920 fi
14921
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14923 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14924 # Check whether --enable-miniframe was given.
14925 if test "${enable_miniframe+set}" = set; then :
14926 enableval=$enable_miniframe;
14927 if test "$enableval" = yes; then
14928 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14929 else
14930 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14931 fi
14932
14933 else
14934
14935 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14936
14937 fi
14938
14939
14940 eval "$wx_cv_use_miniframe"
14941
14942 if test x"$enablestring" = xdisable; then
14943 if test $wxUSE_MINIFRAME = no; then
14944 result=yes
14945 else
14946 result=no
14947 fi
14948 else
14949 result=$wxUSE_MINIFRAME
14950 fi
14951
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14953 $as_echo "$result" >&6; }
14954
14955
14956 enablestring=
14957 defaultval=$wxUSE_ALL_FEATURES
14958 if test -z "$defaultval"; then
14959 if test x"$enablestring" = xdisable; then
14960 defaultval=yes
14961 else
14962 defaultval=no
14963 fi
14964 fi
14965
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
14967 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
14968 # Check whether --enable-tooltips was given.
14969 if test "${enable_tooltips+set}" = set; then :
14970 enableval=$enable_tooltips;
14971 if test "$enableval" = yes; then
14972 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14973 else
14974 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14975 fi
14976
14977 else
14978
14979 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14980
14981 fi
14982
14983
14984 eval "$wx_cv_use_tooltips"
14985
14986 if test x"$enablestring" = xdisable; then
14987 if test $wxUSE_TOOLTIPS = no; then
14988 result=yes
14989 else
14990 result=no
14991 fi
14992 else
14993 result=$wxUSE_TOOLTIPS
14994 fi
14995
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14997 $as_echo "$result" >&6; }
14998
14999
15000 enablestring=
15001 defaultval=$wxUSE_ALL_FEATURES
15002 if test -z "$defaultval"; then
15003 if test x"$enablestring" = xdisable; then
15004 defaultval=yes
15005 else
15006 defaultval=no
15007 fi
15008 fi
15009
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
15011 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
15012 # Check whether --enable-splines was given.
15013 if test "${enable_splines+set}" = set; then :
15014 enableval=$enable_splines;
15015 if test "$enableval" = yes; then
15016 wx_cv_use_splines='wxUSE_SPLINES=yes'
15017 else
15018 wx_cv_use_splines='wxUSE_SPLINES=no'
15019 fi
15020
15021 else
15022
15023 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15024
15025 fi
15026
15027
15028 eval "$wx_cv_use_splines"
15029
15030 if test x"$enablestring" = xdisable; then
15031 if test $wxUSE_SPLINES = no; then
15032 result=yes
15033 else
15034 result=no
15035 fi
15036 else
15037 result=$wxUSE_SPLINES
15038 fi
15039
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15041 $as_echo "$result" >&6; }
15042
15043
15044 enablestring=
15045 defaultval=$wxUSE_ALL_FEATURES
15046 if test -z "$defaultval"; then
15047 if test x"$enablestring" = xdisable; then
15048 defaultval=yes
15049 else
15050 defaultval=no
15051 fi
15052 fi
15053
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
15055 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
15056 # Check whether --enable-mousewheel was given.
15057 if test "${enable_mousewheel+set}" = set; then :
15058 enableval=$enable_mousewheel;
15059 if test "$enableval" = yes; then
15060 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15061 else
15062 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15063 fi
15064
15065 else
15066
15067 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15068
15069 fi
15070
15071
15072 eval "$wx_cv_use_mousewheel"
15073
15074 if test x"$enablestring" = xdisable; then
15075 if test $wxUSE_MOUSEWHEEL = no; then
15076 result=yes
15077 else
15078 result=no
15079 fi
15080 else
15081 result=$wxUSE_MOUSEWHEEL
15082 fi
15083
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15085 $as_echo "$result" >&6; }
15086
15087
15088 enablestring=
15089 defaultval=$wxUSE_ALL_FEATURES
15090 if test -z "$defaultval"; then
15091 if test x"$enablestring" = xdisable; then
15092 defaultval=yes
15093 else
15094 defaultval=no
15095 fi
15096 fi
15097
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
15099 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
15100 # Check whether --enable-validators was given.
15101 if test "${enable_validators+set}" = set; then :
15102 enableval=$enable_validators;
15103 if test "$enableval" = yes; then
15104 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15105 else
15106 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15107 fi
15108
15109 else
15110
15111 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15112
15113 fi
15114
15115
15116 eval "$wx_cv_use_validators"
15117
15118 if test x"$enablestring" = xdisable; then
15119 if test $wxUSE_VALIDATORS = no; then
15120 result=yes
15121 else
15122 result=no
15123 fi
15124 else
15125 result=$wxUSE_VALIDATORS
15126 fi
15127
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15129 $as_echo "$result" >&6; }
15130
15131
15132 enablestring=
15133 defaultval=$wxUSE_ALL_FEATURES
15134 if test -z "$defaultval"; then
15135 if test x"$enablestring" = xdisable; then
15136 defaultval=yes
15137 else
15138 defaultval=no
15139 fi
15140 fi
15141
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15143 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15144 # Check whether --enable-busyinfo was given.
15145 if test "${enable_busyinfo+set}" = set; then :
15146 enableval=$enable_busyinfo;
15147 if test "$enableval" = yes; then
15148 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15149 else
15150 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15151 fi
15152
15153 else
15154
15155 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15156
15157 fi
15158
15159
15160 eval "$wx_cv_use_busyinfo"
15161
15162 if test x"$enablestring" = xdisable; then
15163 if test $wxUSE_BUSYINFO = no; then
15164 result=yes
15165 else
15166 result=no
15167 fi
15168 else
15169 result=$wxUSE_BUSYINFO
15170 fi
15171
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15173 $as_echo "$result" >&6; }
15174
15175
15176 enablestring=
15177 defaultval=$wxUSE_ALL_FEATURES
15178 if test -z "$defaultval"; then
15179 if test x"$enablestring" = xdisable; then
15180 defaultval=yes
15181 else
15182 defaultval=no
15183 fi
15184 fi
15185
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15187 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15188 # Check whether --enable-hotkey was given.
15189 if test "${enable_hotkey+set}" = set; then :
15190 enableval=$enable_hotkey;
15191 if test "$enableval" = yes; then
15192 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15193 else
15194 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15195 fi
15196
15197 else
15198
15199 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15200
15201 fi
15202
15203
15204 eval "$wx_cv_use_hotkey"
15205
15206 if test x"$enablestring" = xdisable; then
15207 if test $wxUSE_HOTKEY = no; then
15208 result=yes
15209 else
15210 result=no
15211 fi
15212 else
15213 result=$wxUSE_HOTKEY
15214 fi
15215
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15217 $as_echo "$result" >&6; }
15218
15219
15220 enablestring=
15221 defaultval=$wxUSE_ALL_FEATURES
15222 if test -z "$defaultval"; then
15223 if test x"$enablestring" = xdisable; then
15224 defaultval=yes
15225 else
15226 defaultval=no
15227 fi
15228 fi
15229
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15231 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15232 # Check whether --enable-joystick was given.
15233 if test "${enable_joystick+set}" = set; then :
15234 enableval=$enable_joystick;
15235 if test "$enableval" = yes; then
15236 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15237 else
15238 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15239 fi
15240
15241 else
15242
15243 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15244
15245 fi
15246
15247
15248 eval "$wx_cv_use_joystick"
15249
15250 if test x"$enablestring" = xdisable; then
15251 if test $wxUSE_JOYSTICK = no; then
15252 result=yes
15253 else
15254 result=no
15255 fi
15256 else
15257 result=$wxUSE_JOYSTICK
15258 fi
15259
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15261 $as_echo "$result" >&6; }
15262
15263
15264 enablestring=
15265 defaultval=$wxUSE_ALL_FEATURES
15266 if test -z "$defaultval"; then
15267 if test x"$enablestring" = xdisable; then
15268 defaultval=yes
15269 else
15270 defaultval=no
15271 fi
15272 fi
15273
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15275 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15276 # Check whether --enable-metafile was given.
15277 if test "${enable_metafile+set}" = set; then :
15278 enableval=$enable_metafile;
15279 if test "$enableval" = yes; then
15280 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15281 else
15282 wx_cv_use_metafile='wxUSE_METAFILE=no'
15283 fi
15284
15285 else
15286
15287 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15288
15289 fi
15290
15291
15292 eval "$wx_cv_use_metafile"
15293
15294 if test x"$enablestring" = xdisable; then
15295 if test $wxUSE_METAFILE = no; then
15296 result=yes
15297 else
15298 result=no
15299 fi
15300 else
15301 result=$wxUSE_METAFILE
15302 fi
15303
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15305 $as_echo "$result" >&6; }
15306
15307
15308 enablestring=
15309 defaultval=$wxUSE_ALL_FEATURES
15310 if test -z "$defaultval"; then
15311 if test x"$enablestring" = xdisable; then
15312 defaultval=yes
15313 else
15314 defaultval=no
15315 fi
15316 fi
15317
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15319 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15320 # Check whether --enable-dragimage was given.
15321 if test "${enable_dragimage+set}" = set; then :
15322 enableval=$enable_dragimage;
15323 if test "$enableval" = yes; then
15324 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15325 else
15326 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15327 fi
15328
15329 else
15330
15331 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15332
15333 fi
15334
15335
15336 eval "$wx_cv_use_dragimage"
15337
15338 if test x"$enablestring" = xdisable; then
15339 if test $wxUSE_DRAGIMAGE = no; then
15340 result=yes
15341 else
15342 result=no
15343 fi
15344 else
15345 result=$wxUSE_DRAGIMAGE
15346 fi
15347
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15349 $as_echo "$result" >&6; }
15350
15351
15352 enablestring=
15353 defaultval=$wxUSE_ALL_FEATURES
15354 if test -z "$defaultval"; then
15355 if test x"$enablestring" = xdisable; then
15356 defaultval=yes
15357 else
15358 defaultval=no
15359 fi
15360 fi
15361
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15363 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15364 # Check whether --enable-accessibility was given.
15365 if test "${enable_accessibility+set}" = set; then :
15366 enableval=$enable_accessibility;
15367 if test "$enableval" = yes; then
15368 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15369 else
15370 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15371 fi
15372
15373 else
15374
15375 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15376
15377 fi
15378
15379
15380 eval "$wx_cv_use_accessibility"
15381
15382 if test x"$enablestring" = xdisable; then
15383 if test $wxUSE_ACCESSIBILITY = no; then
15384 result=yes
15385 else
15386 result=no
15387 fi
15388 else
15389 result=$wxUSE_ACCESSIBILITY
15390 fi
15391
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15393 $as_echo "$result" >&6; }
15394
15395
15396 enablestring=
15397 defaultval=$wxUSE_ALL_FEATURES
15398 if test -z "$defaultval"; then
15399 if test x"$enablestring" = xdisable; then
15400 defaultval=yes
15401 else
15402 defaultval=no
15403 fi
15404 fi
15405
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15407 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15408 # Check whether --enable-uiactionsim was given.
15409 if test "${enable_uiactionsim+set}" = set; then :
15410 enableval=$enable_uiactionsim;
15411 if test "$enableval" = yes; then
15412 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15413 else
15414 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15415 fi
15416
15417 else
15418
15419 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15420
15421 fi
15422
15423
15424 eval "$wx_cv_use_uiactionsim"
15425
15426 if test x"$enablestring" = xdisable; then
15427 if test $wxUSE_UIACTIONSIMULATOR = no; then
15428 result=yes
15429 else
15430 result=no
15431 fi
15432 else
15433 result=$wxUSE_UIACTIONSIMULATOR
15434 fi
15435
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15437 $as_echo "$result" >&6; }
15438
15439
15440 enablestring=
15441 defaultval=$wxUSE_ALL_FEATURES
15442 if test -z "$defaultval"; then
15443 if test x"$enablestring" = xdisable; then
15444 defaultval=yes
15445 else
15446 defaultval=no
15447 fi
15448 fi
15449
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15451 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15452 # Check whether --enable-dctransform was given.
15453 if test "${enable_dctransform+set}" = set; then :
15454 enableval=$enable_dctransform;
15455 if test "$enableval" = yes; then
15456 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15457 else
15458 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15459 fi
15460
15461 else
15462
15463 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15464
15465 fi
15466
15467
15468 eval "$wx_cv_use_dctransform"
15469
15470 if test x"$enablestring" = xdisable; then
15471 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15472 result=yes
15473 else
15474 result=no
15475 fi
15476 else
15477 result=$wxUSE_DC_TRANSFORM_MATRIX
15478 fi
15479
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15481 $as_echo "$result" >&6; }
15482
15483
15484 enablestring=
15485 defaultval=$wxUSE_ALL_FEATURES
15486 if test -z "$defaultval"; then
15487 if test x"$enablestring" = xdisable; then
15488 defaultval=yes
15489 else
15490 defaultval=no
15491 fi
15492 fi
15493
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15495 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15496 # Check whether --enable-webviewwebkit was given.
15497 if test "${enable_webviewwebkit+set}" = set; then :
15498 enableval=$enable_webviewwebkit;
15499 if test "$enableval" = yes; then
15500 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15501 else
15502 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15503 fi
15504
15505 else
15506
15507 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15508
15509 fi
15510
15511
15512 eval "$wx_cv_use_webviewwebkit"
15513
15514 if test x"$enablestring" = xdisable; then
15515 if test $wxUSE_WEBVIEW_WEBKIT = no; then
15516 result=yes
15517 else
15518 result=no
15519 fi
15520 else
15521 result=$wxUSE_WEBVIEW_WEBKIT
15522 fi
15523
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15525 $as_echo "$result" >&6; }
15526
15527
15528
15529
15530 enablestring=
15531 defaultval=$wxUSE_ALL_FEATURES
15532 if test -z "$defaultval"; then
15533 if test x"$enablestring" = xdisable; then
15534 defaultval=yes
15535 else
15536 defaultval=no
15537 fi
15538 fi
15539
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15541 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15542 # Check whether --enable-palette was given.
15543 if test "${enable_palette+set}" = set; then :
15544 enableval=$enable_palette;
15545 if test "$enableval" = yes; then
15546 wx_cv_use_palette='wxUSE_PALETTE=yes'
15547 else
15548 wx_cv_use_palette='wxUSE_PALETTE=no'
15549 fi
15550
15551 else
15552
15553 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15554
15555 fi
15556
15557
15558 eval "$wx_cv_use_palette"
15559
15560 if test x"$enablestring" = xdisable; then
15561 if test $wxUSE_PALETTE = no; then
15562 result=yes
15563 else
15564 result=no
15565 fi
15566 else
15567 result=$wxUSE_PALETTE
15568 fi
15569
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15571 $as_echo "$result" >&6; }
15572
15573
15574 enablestring=
15575 defaultval=$wxUSE_ALL_FEATURES
15576 if test -z "$defaultval"; then
15577 if test x"$enablestring" = xdisable; then
15578 defaultval=yes
15579 else
15580 defaultval=no
15581 fi
15582 fi
15583
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15585 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15586 # Check whether --enable-image was given.
15587 if test "${enable_image+set}" = set; then :
15588 enableval=$enable_image;
15589 if test "$enableval" = yes; then
15590 wx_cv_use_image='wxUSE_IMAGE=yes'
15591 else
15592 wx_cv_use_image='wxUSE_IMAGE=no'
15593 fi
15594
15595 else
15596
15597 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15598
15599 fi
15600
15601
15602 eval "$wx_cv_use_image"
15603
15604 if test x"$enablestring" = xdisable; then
15605 if test $wxUSE_IMAGE = no; then
15606 result=yes
15607 else
15608 result=no
15609 fi
15610 else
15611 result=$wxUSE_IMAGE
15612 fi
15613
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15615 $as_echo "$result" >&6; }
15616
15617
15618 enablestring=
15619 defaultval=$wxUSE_ALL_FEATURES
15620 if test -z "$defaultval"; then
15621 if test x"$enablestring" = xdisable; then
15622 defaultval=yes
15623 else
15624 defaultval=no
15625 fi
15626 fi
15627
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15629 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15630 # Check whether --enable-gif was given.
15631 if test "${enable_gif+set}" = set; then :
15632 enableval=$enable_gif;
15633 if test "$enableval" = yes; then
15634 wx_cv_use_gif='wxUSE_GIF=yes'
15635 else
15636 wx_cv_use_gif='wxUSE_GIF=no'
15637 fi
15638
15639 else
15640
15641 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15642
15643 fi
15644
15645
15646 eval "$wx_cv_use_gif"
15647
15648 if test x"$enablestring" = xdisable; then
15649 if test $wxUSE_GIF = no; then
15650 result=yes
15651 else
15652 result=no
15653 fi
15654 else
15655 result=$wxUSE_GIF
15656 fi
15657
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15659 $as_echo "$result" >&6; }
15660
15661
15662 enablestring=
15663 defaultval=$wxUSE_ALL_FEATURES
15664 if test -z "$defaultval"; then
15665 if test x"$enablestring" = xdisable; then
15666 defaultval=yes
15667 else
15668 defaultval=no
15669 fi
15670 fi
15671
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15673 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15674 # Check whether --enable-pcx was given.
15675 if test "${enable_pcx+set}" = set; then :
15676 enableval=$enable_pcx;
15677 if test "$enableval" = yes; then
15678 wx_cv_use_pcx='wxUSE_PCX=yes'
15679 else
15680 wx_cv_use_pcx='wxUSE_PCX=no'
15681 fi
15682
15683 else
15684
15685 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15686
15687 fi
15688
15689
15690 eval "$wx_cv_use_pcx"
15691
15692 if test x"$enablestring" = xdisable; then
15693 if test $wxUSE_PCX = no; then
15694 result=yes
15695 else
15696 result=no
15697 fi
15698 else
15699 result=$wxUSE_PCX
15700 fi
15701
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15703 $as_echo "$result" >&6; }
15704
15705
15706 enablestring=
15707 defaultval=$wxUSE_ALL_FEATURES
15708 if test -z "$defaultval"; then
15709 if test x"$enablestring" = xdisable; then
15710 defaultval=yes
15711 else
15712 defaultval=no
15713 fi
15714 fi
15715
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15717 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15718 # Check whether --enable-tga was given.
15719 if test "${enable_tga+set}" = set; then :
15720 enableval=$enable_tga;
15721 if test "$enableval" = yes; then
15722 wx_cv_use_tga='wxUSE_TGA=yes'
15723 else
15724 wx_cv_use_tga='wxUSE_TGA=no'
15725 fi
15726
15727 else
15728
15729 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15730
15731 fi
15732
15733
15734 eval "$wx_cv_use_tga"
15735
15736 if test x"$enablestring" = xdisable; then
15737 if test $wxUSE_TGA = no; then
15738 result=yes
15739 else
15740 result=no
15741 fi
15742 else
15743 result=$wxUSE_TGA
15744 fi
15745
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15747 $as_echo "$result" >&6; }
15748
15749
15750 enablestring=
15751 defaultval=$wxUSE_ALL_FEATURES
15752 if test -z "$defaultval"; then
15753 if test x"$enablestring" = xdisable; then
15754 defaultval=yes
15755 else
15756 defaultval=no
15757 fi
15758 fi
15759
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15761 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15762 # Check whether --enable-iff was given.
15763 if test "${enable_iff+set}" = set; then :
15764 enableval=$enable_iff;
15765 if test "$enableval" = yes; then
15766 wx_cv_use_iff='wxUSE_IFF=yes'
15767 else
15768 wx_cv_use_iff='wxUSE_IFF=no'
15769 fi
15770
15771 else
15772
15773 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15774
15775 fi
15776
15777
15778 eval "$wx_cv_use_iff"
15779
15780 if test x"$enablestring" = xdisable; then
15781 if test $wxUSE_IFF = no; then
15782 result=yes
15783 else
15784 result=no
15785 fi
15786 else
15787 result=$wxUSE_IFF
15788 fi
15789
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15791 $as_echo "$result" >&6; }
15792
15793
15794 enablestring=
15795 defaultval=$wxUSE_ALL_FEATURES
15796 if test -z "$defaultval"; then
15797 if test x"$enablestring" = xdisable; then
15798 defaultval=yes
15799 else
15800 defaultval=no
15801 fi
15802 fi
15803
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15805 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15806 # Check whether --enable-pnm was given.
15807 if test "${enable_pnm+set}" = set; then :
15808 enableval=$enable_pnm;
15809 if test "$enableval" = yes; then
15810 wx_cv_use_pnm='wxUSE_PNM=yes'
15811 else
15812 wx_cv_use_pnm='wxUSE_PNM=no'
15813 fi
15814
15815 else
15816
15817 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15818
15819 fi
15820
15821
15822 eval "$wx_cv_use_pnm"
15823
15824 if test x"$enablestring" = xdisable; then
15825 if test $wxUSE_PNM = no; then
15826 result=yes
15827 else
15828 result=no
15829 fi
15830 else
15831 result=$wxUSE_PNM
15832 fi
15833
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15835 $as_echo "$result" >&6; }
15836
15837
15838 enablestring=
15839 defaultval=$wxUSE_ALL_FEATURES
15840 if test -z "$defaultval"; then
15841 if test x"$enablestring" = xdisable; then
15842 defaultval=yes
15843 else
15844 defaultval=no
15845 fi
15846 fi
15847
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15849 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15850 # Check whether --enable-xpm was given.
15851 if test "${enable_xpm+set}" = set; then :
15852 enableval=$enable_xpm;
15853 if test "$enableval" = yes; then
15854 wx_cv_use_xpm='wxUSE_XPM=yes'
15855 else
15856 wx_cv_use_xpm='wxUSE_XPM=no'
15857 fi
15858
15859 else
15860
15861 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15862
15863 fi
15864
15865
15866 eval "$wx_cv_use_xpm"
15867
15868 if test x"$enablestring" = xdisable; then
15869 if test $wxUSE_XPM = no; then
15870 result=yes
15871 else
15872 result=no
15873 fi
15874 else
15875 result=$wxUSE_XPM
15876 fi
15877
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15879 $as_echo "$result" >&6; }
15880
15881
15882 enablestring=
15883 defaultval=$wxUSE_ALL_FEATURES
15884 if test -z "$defaultval"; then
15885 if test x"$enablestring" = xdisable; then
15886 defaultval=yes
15887 else
15888 defaultval=no
15889 fi
15890 fi
15891
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15893 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15894 # Check whether --enable-ico_cur was given.
15895 if test "${enable_ico_cur+set}" = set; then :
15896 enableval=$enable_ico_cur;
15897 if test "$enableval" = yes; then
15898 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15899 else
15900 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15901 fi
15902
15903 else
15904
15905 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15906
15907 fi
15908
15909
15910 eval "$wx_cv_use_ico_cur"
15911
15912 if test x"$enablestring" = xdisable; then
15913 if test $wxUSE_ICO_CUR = no; then
15914 result=yes
15915 else
15916 result=no
15917 fi
15918 else
15919 result=$wxUSE_ICO_CUR
15920 fi
15921
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15923 $as_echo "$result" >&6; }
15924
15925
15926
15927
15928 enablestring=
15929 defaultval=$wxUSE_ALL_FEATURES
15930 if test -z "$defaultval"; then
15931 if test x"$enablestring" = xdisable; then
15932 defaultval=yes
15933 else
15934 defaultval=no
15935 fi
15936 fi
15937
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
15939 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
15940 # Check whether --enable-dccache was given.
15941 if test "${enable_dccache+set}" = set; then :
15942 enableval=$enable_dccache;
15943 if test "$enableval" = yes; then
15944 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15945 else
15946 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15947 fi
15948
15949 else
15950
15951 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15952
15953 fi
15954
15955
15956 eval "$wx_cv_use_dccache"
15957
15958 if test x"$enablestring" = xdisable; then
15959 if test $wxUSE_DC_CACHEING = no; then
15960 result=yes
15961 else
15962 result=no
15963 fi
15964 else
15965 result=$wxUSE_DC_CACHEING
15966 fi
15967
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15969 $as_echo "$result" >&6; }
15970
15971
15972 enablestring=
15973 defaultval=$wxUSE_ALL_FEATURES
15974 if test -z "$defaultval"; then
15975 if test x"$enablestring" = xdisable; then
15976 defaultval=yes
15977 else
15978 defaultval=no
15979 fi
15980 fi
15981
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
15983 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
15984 # Check whether --enable-ps-in-msw was given.
15985 if test "${enable_ps_in_msw+set}" = set; then :
15986 enableval=$enable_ps_in_msw;
15987 if test "$enableval" = yes; then
15988 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15989 else
15990 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15991 fi
15992
15993 else
15994
15995 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15996
15997 fi
15998
15999
16000 eval "$wx_cv_use_ps_in_msw"
16001
16002 if test x"$enablestring" = xdisable; then
16003 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
16004 result=yes
16005 else
16006 result=no
16007 fi
16008 else
16009 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16010 fi
16011
16012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16013 $as_echo "$result" >&6; }
16014
16015
16016 enablestring=
16017 defaultval=$wxUSE_ALL_FEATURES
16018 if test -z "$defaultval"; then
16019 if test x"$enablestring" = xdisable; then
16020 defaultval=yes
16021 else
16022 defaultval=no
16023 fi
16024 fi
16025
16026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
16027 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
16028 # Check whether --enable-ownerdrawn was given.
16029 if test "${enable_ownerdrawn+set}" = set; then :
16030 enableval=$enable_ownerdrawn;
16031 if test "$enableval" = yes; then
16032 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16033 else
16034 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16035 fi
16036
16037 else
16038
16039 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16040
16041 fi
16042
16043
16044 eval "$wx_cv_use_ownerdrawn"
16045
16046 if test x"$enablestring" = xdisable; then
16047 if test $wxUSE_OWNER_DRAWN = no; then
16048 result=yes
16049 else
16050 result=no
16051 fi
16052 else
16053 result=$wxUSE_OWNER_DRAWN
16054 fi
16055
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16057 $as_echo "$result" >&6; }
16058
16059
16060 enablestring=
16061 defaultval=$wxUSE_ALL_FEATURES
16062 if test -z "$defaultval"; then
16063 if test x"$enablestring" = xdisable; then
16064 defaultval=yes
16065 else
16066 defaultval=no
16067 fi
16068 fi
16069
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
16071 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
16072 # Check whether --enable-uxtheme was given.
16073 if test "${enable_uxtheme+set}" = set; then :
16074 enableval=$enable_uxtheme;
16075 if test "$enableval" = yes; then
16076 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16077 else
16078 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16079 fi
16080
16081 else
16082
16083 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16084
16085 fi
16086
16087
16088 eval "$wx_cv_use_uxtheme"
16089
16090 if test x"$enablestring" = xdisable; then
16091 if test $wxUSE_UXTHEME = no; then
16092 result=yes
16093 else
16094 result=no
16095 fi
16096 else
16097 result=$wxUSE_UXTHEME
16098 fi
16099
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16101 $as_echo "$result" >&6; }
16102
16103
16104 enablestring=
16105 defaultval=$wxUSE_ALL_FEATURES
16106 if test -z "$defaultval"; then
16107 if test x"$enablestring" = xdisable; then
16108 defaultval=yes
16109 else
16110 defaultval=no
16111 fi
16112 fi
16113
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
16115 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
16116 # Check whether --enable-wxdib was given.
16117 if test "${enable_wxdib+set}" = set; then :
16118 enableval=$enable_wxdib;
16119 if test "$enableval" = yes; then
16120 wx_cv_use_wxdib='wxUSE_DIB=yes'
16121 else
16122 wx_cv_use_wxdib='wxUSE_DIB=no'
16123 fi
16124
16125 else
16126
16127 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16128
16129 fi
16130
16131
16132 eval "$wx_cv_use_wxdib"
16133
16134 if test x"$enablestring" = xdisable; then
16135 if test $wxUSE_DIB = no; then
16136 result=yes
16137 else
16138 result=no
16139 fi
16140 else
16141 result=$wxUSE_DIB
16142 fi
16143
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16145 $as_echo "$result" >&6; }
16146
16147
16148 enablestring=
16149 defaultval=$wxUSE_ALL_FEATURES
16150 if test -z "$defaultval"; then
16151 if test x"$enablestring" = xdisable; then
16152 defaultval=yes
16153 else
16154 defaultval=no
16155 fi
16156 fi
16157
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16159 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16160 # Check whether --enable-webviewie was given.
16161 if test "${enable_webviewie+set}" = set; then :
16162 enableval=$enable_webviewie;
16163 if test "$enableval" = yes; then
16164 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16165 else
16166 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16167 fi
16168
16169 else
16170
16171 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16172
16173 fi
16174
16175
16176 eval "$wx_cv_use_webviewie"
16177
16178 if test x"$enablestring" = xdisable; then
16179 if test $wxUSE_WEBVIEW_IE = no; then
16180 result=yes
16181 else
16182 result=no
16183 fi
16184 else
16185 result=$wxUSE_WEBVIEW_IE
16186 fi
16187
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16189 $as_echo "$result" >&6; }
16190
16191
16192 if test "$wxUSE_MSW" != 1; then
16193 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16194 fi
16195
16196
16197 enablestring=
16198 defaultval=$wxUSE_ALL_FEATURES
16199 if test -z "$defaultval"; then
16200 if test x"$enablestring" = xdisable; then
16201 defaultval=yes
16202 else
16203 defaultval=no
16204 fi
16205 fi
16206
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16208 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16209 # Check whether --enable-autoidman was given.
16210 if test "${enable_autoidman+set}" = set; then :
16211 enableval=$enable_autoidman;
16212 if test "$enableval" = yes; then
16213 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16214 else
16215 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16216 fi
16217
16218 else
16219
16220 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16221
16222 fi
16223
16224
16225 eval "$wx_cv_use_autoidman"
16226
16227 if test x"$enablestring" = xdisable; then
16228 if test $wxUSE_AUTOID_MANAGEMENT = no; then
16229 result=yes
16230 else
16231 result=no
16232 fi
16233 else
16234 result=$wxUSE_AUTOID_MANAGEMENT
16235 fi
16236
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16238 $as_echo "$result" >&6; }
16239
16240
16241 fi
16242
16243
16244 cat >confcache <<\_ACEOF
16245 # This file is a shell script that caches the results of configure
16246 # tests run on this system so they can be shared between configure
16247 # scripts and configure runs, see configure's option --config-cache.
16248 # It is not useful on other systems. If it contains results you don't
16249 # want to keep, you may remove or edit it.
16250 #
16251 # config.status only pays attention to the cache file if you give it
16252 # the --recheck option to rerun configure.
16253 #
16254 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16255 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16256 # following values.
16257
16258 _ACEOF
16259
16260 # The following way of writing the cache mishandles newlines in values,
16261 # but we know of no workaround that is simple, portable, and efficient.
16262 # So, we kill variables containing newlines.
16263 # Ultrix sh set writes to stderr and can't be redirected directly,
16264 # and sets the high bit in the cache file unless we assign to the vars.
16265 (
16266 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16267 eval ac_val=\$$ac_var
16268 case $ac_val in #(
16269 *${as_nl}*)
16270 case $ac_var in #(
16271 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16272 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16273 esac
16274 case $ac_var in #(
16275 _ | IFS | as_nl) ;; #(
16276 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16277 *) { eval $ac_var=; unset $ac_var;} ;;
16278 esac ;;
16279 esac
16280 done
16281
16282 (set) 2>&1 |
16283 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16284 *${as_nl}ac_space=\ *)
16285 # `set' does not quote correctly, so add quotes: double-quote
16286 # substitution turns \\\\ into \\, and sed turns \\ into \.
16287 sed -n \
16288 "s/'/'\\\\''/g;
16289 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16290 ;; #(
16291 *)
16292 # `set' quotes correctly as required by POSIX, so do not add quotes.
16293 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16294 ;;
16295 esac |
16296 sort
16297 ) |
16298 sed '
16299 /^ac_cv_env_/b end
16300 t clear
16301 :clear
16302 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16303 t end
16304 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16305 :end' >>confcache
16306 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16307 if test -w "$cache_file"; then
16308 if test "x$cache_file" != "x/dev/null"; then
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16310 $as_echo "$as_me: updating cache $cache_file" >&6;}
16311 if test ! -f "$cache_file" || test -h "$cache_file"; then
16312 cat confcache >"$cache_file"
16313 else
16314 case $cache_file in #(
16315 */* | ?:*)
16316 mv -f confcache "$cache_file"$$ &&
16317 mv -f "$cache_file"$$ "$cache_file" ;; #(
16318 *)
16319 mv -f confcache "$cache_file" ;;
16320 esac
16321 fi
16322 fi
16323 else
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16325 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16326 fi
16327 fi
16328 rm -f confcache
16329
16330 CFLAGS=${CFLAGS:=}
16331 ac_ext=c
16332 ac_cpp='$CPP $CPPFLAGS'
16333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16336 if test -n "$ac_tool_prefix"; then
16337 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16338 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16340 $as_echo_n "checking for $ac_word... " >&6; }
16341 if ${ac_cv_prog_CC+:} false; then :
16342 $as_echo_n "(cached) " >&6
16343 else
16344 if test -n "$CC"; then
16345 ac_cv_prog_CC="$CC" # Let the user override the test.
16346 else
16347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16348 for as_dir in $PATH
16349 do
16350 IFS=$as_save_IFS
16351 test -z "$as_dir" && as_dir=.
16352 for ac_exec_ext in '' $ac_executable_extensions; do
16353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16354 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16356 break 2
16357 fi
16358 done
16359 done
16360 IFS=$as_save_IFS
16361
16362 fi
16363 fi
16364 CC=$ac_cv_prog_CC
16365 if test -n "$CC"; then
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16367 $as_echo "$CC" >&6; }
16368 else
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16370 $as_echo "no" >&6; }
16371 fi
16372
16373
16374 fi
16375 if test -z "$ac_cv_prog_CC"; then
16376 ac_ct_CC=$CC
16377 # Extract the first word of "gcc", so it can be a program name with args.
16378 set dummy gcc; ac_word=$2
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16380 $as_echo_n "checking for $ac_word... " >&6; }
16381 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16382 $as_echo_n "(cached) " >&6
16383 else
16384 if test -n "$ac_ct_CC"; then
16385 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16386 else
16387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16388 for as_dir in $PATH
16389 do
16390 IFS=$as_save_IFS
16391 test -z "$as_dir" && as_dir=.
16392 for ac_exec_ext in '' $ac_executable_extensions; do
16393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16394 ac_cv_prog_ac_ct_CC="gcc"
16395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16396 break 2
16397 fi
16398 done
16399 done
16400 IFS=$as_save_IFS
16401
16402 fi
16403 fi
16404 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16405 if test -n "$ac_ct_CC"; then
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16407 $as_echo "$ac_ct_CC" >&6; }
16408 else
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16410 $as_echo "no" >&6; }
16411 fi
16412
16413 if test "x$ac_ct_CC" = x; then
16414 CC=""
16415 else
16416 case $cross_compiling:$ac_tool_warned in
16417 yes:)
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16420 ac_tool_warned=yes ;;
16421 esac
16422 CC=$ac_ct_CC
16423 fi
16424 else
16425 CC="$ac_cv_prog_CC"
16426 fi
16427
16428 if test -z "$CC"; then
16429 if test -n "$ac_tool_prefix"; then
16430 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16431 set dummy ${ac_tool_prefix}cc; ac_word=$2
16432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16433 $as_echo_n "checking for $ac_word... " >&6; }
16434 if ${ac_cv_prog_CC+:} false; then :
16435 $as_echo_n "(cached) " >&6
16436 else
16437 if test -n "$CC"; then
16438 ac_cv_prog_CC="$CC" # Let the user override the test.
16439 else
16440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16441 for as_dir in $PATH
16442 do
16443 IFS=$as_save_IFS
16444 test -z "$as_dir" && as_dir=.
16445 for ac_exec_ext in '' $ac_executable_extensions; do
16446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16447 ac_cv_prog_CC="${ac_tool_prefix}cc"
16448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16449 break 2
16450 fi
16451 done
16452 done
16453 IFS=$as_save_IFS
16454
16455 fi
16456 fi
16457 CC=$ac_cv_prog_CC
16458 if test -n "$CC"; then
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16460 $as_echo "$CC" >&6; }
16461 else
16462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16463 $as_echo "no" >&6; }
16464 fi
16465
16466
16467 fi
16468 fi
16469 if test -z "$CC"; then
16470 # Extract the first word of "cc", so it can be a program name with args.
16471 set dummy cc; ac_word=$2
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16473 $as_echo_n "checking for $ac_word... " >&6; }
16474 if ${ac_cv_prog_CC+:} false; then :
16475 $as_echo_n "(cached) " >&6
16476 else
16477 if test -n "$CC"; then
16478 ac_cv_prog_CC="$CC" # Let the user override the test.
16479 else
16480 ac_prog_rejected=no
16481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16482 for as_dir in $PATH
16483 do
16484 IFS=$as_save_IFS
16485 test -z "$as_dir" && as_dir=.
16486 for ac_exec_ext in '' $ac_executable_extensions; do
16487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16488 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16489 ac_prog_rejected=yes
16490 continue
16491 fi
16492 ac_cv_prog_CC="cc"
16493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16494 break 2
16495 fi
16496 done
16497 done
16498 IFS=$as_save_IFS
16499
16500 if test $ac_prog_rejected = yes; then
16501 # We found a bogon in the path, so make sure we never use it.
16502 set dummy $ac_cv_prog_CC
16503 shift
16504 if test $# != 0; then
16505 # We chose a different compiler from the bogus one.
16506 # However, it has the same basename, so the bogon will be chosen
16507 # first if we set CC to just the basename; use the full file name.
16508 shift
16509 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16510 fi
16511 fi
16512 fi
16513 fi
16514 CC=$ac_cv_prog_CC
16515 if test -n "$CC"; then
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16517 $as_echo "$CC" >&6; }
16518 else
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16520 $as_echo "no" >&6; }
16521 fi
16522
16523
16524 fi
16525 if test -z "$CC"; then
16526 if test -n "$ac_tool_prefix"; then
16527 for ac_prog in cl.exe
16528 do
16529 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16530 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16532 $as_echo_n "checking for $ac_word... " >&6; }
16533 if ${ac_cv_prog_CC+:} false; then :
16534 $as_echo_n "(cached) " >&6
16535 else
16536 if test -n "$CC"; then
16537 ac_cv_prog_CC="$CC" # Let the user override the test.
16538 else
16539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16540 for as_dir in $PATH
16541 do
16542 IFS=$as_save_IFS
16543 test -z "$as_dir" && as_dir=.
16544 for ac_exec_ext in '' $ac_executable_extensions; do
16545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16546 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16548 break 2
16549 fi
16550 done
16551 done
16552 IFS=$as_save_IFS
16553
16554 fi
16555 fi
16556 CC=$ac_cv_prog_CC
16557 if test -n "$CC"; then
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16559 $as_echo "$CC" >&6; }
16560 else
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16562 $as_echo "no" >&6; }
16563 fi
16564
16565
16566 test -n "$CC" && break
16567 done
16568 fi
16569 if test -z "$CC"; then
16570 ac_ct_CC=$CC
16571 for ac_prog in cl.exe
16572 do
16573 # Extract the first word of "$ac_prog", so it can be a program name with args.
16574 set dummy $ac_prog; ac_word=$2
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16576 $as_echo_n "checking for $ac_word... " >&6; }
16577 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16578 $as_echo_n "(cached) " >&6
16579 else
16580 if test -n "$ac_ct_CC"; then
16581 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16582 else
16583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16584 for as_dir in $PATH
16585 do
16586 IFS=$as_save_IFS
16587 test -z "$as_dir" && as_dir=.
16588 for ac_exec_ext in '' $ac_executable_extensions; do
16589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16590 ac_cv_prog_ac_ct_CC="$ac_prog"
16591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16592 break 2
16593 fi
16594 done
16595 done
16596 IFS=$as_save_IFS
16597
16598 fi
16599 fi
16600 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16601 if test -n "$ac_ct_CC"; then
16602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16603 $as_echo "$ac_ct_CC" >&6; }
16604 else
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16606 $as_echo "no" >&6; }
16607 fi
16608
16609
16610 test -n "$ac_ct_CC" && break
16611 done
16612
16613 if test "x$ac_ct_CC" = x; then
16614 CC=""
16615 else
16616 case $cross_compiling:$ac_tool_warned in
16617 yes:)
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16620 ac_tool_warned=yes ;;
16621 esac
16622 CC=$ac_ct_CC
16623 fi
16624 fi
16625
16626 fi
16627
16628
16629 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16631 as_fn_error $? "no acceptable C compiler found in \$PATH
16632 See \`config.log' for more details" "$LINENO" 5; }
16633
16634 # Provide some information about the compiler.
16635 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16636 set X $ac_compile
16637 ac_compiler=$2
16638 for ac_option in --version -v -V -qversion; do
16639 { { ac_try="$ac_compiler $ac_option >&5"
16640 case "(($ac_try" in
16641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16642 *) ac_try_echo=$ac_try;;
16643 esac
16644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16645 $as_echo "$ac_try_echo"; } >&5
16646 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16647 ac_status=$?
16648 if test -s conftest.err; then
16649 sed '10a\
16650 ... rest of stderr output deleted ...
16651 10q' conftest.err >conftest.er1
16652 cat conftest.er1 >&5
16653 fi
16654 rm -f conftest.er1 conftest.err
16655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16656 test $ac_status = 0; }
16657 done
16658
16659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16660 /* end confdefs.h. */
16661
16662 int
16663 main ()
16664 {
16665
16666 ;
16667 return 0;
16668 }
16669 _ACEOF
16670 ac_clean_files_save=$ac_clean_files
16671 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16672 # Try to create an executable without -o first, disregard a.out.
16673 # It will help us diagnose broken compilers, and finding out an intuition
16674 # of exeext.
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16676 $as_echo_n "checking whether the C compiler works... " >&6; }
16677 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16678
16679 # The possible output files:
16680 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16681
16682 ac_rmfiles=
16683 for ac_file in $ac_files
16684 do
16685 case $ac_file in
16686 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16687 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16688 esac
16689 done
16690 rm -f $ac_rmfiles
16691
16692 if { { ac_try="$ac_link_default"
16693 case "(($ac_try" in
16694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16695 *) ac_try_echo=$ac_try;;
16696 esac
16697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16698 $as_echo "$ac_try_echo"; } >&5
16699 (eval "$ac_link_default") 2>&5
16700 ac_status=$?
16701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16702 test $ac_status = 0; }; then :
16703 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16704 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16705 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16706 # so that the user can short-circuit this test for compilers unknown to
16707 # Autoconf.
16708 for ac_file in $ac_files ''
16709 do
16710 test -f "$ac_file" || continue
16711 case $ac_file in
16712 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16713 ;;
16714 [ab].out )
16715 # We found the default executable, but exeext='' is most
16716 # certainly right.
16717 break;;
16718 *.* )
16719 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16720 then :; else
16721 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16722 fi
16723 # We set ac_cv_exeext here because the later test for it is not
16724 # safe: cross compilers may not add the suffix if given an `-o'
16725 # argument, so we may need to know it at that point already.
16726 # Even if this section looks crufty: it has the advantage of
16727 # actually working.
16728 break;;
16729 * )
16730 break;;
16731 esac
16732 done
16733 test "$ac_cv_exeext" = no && ac_cv_exeext=
16734
16735 else
16736 ac_file=''
16737 fi
16738 if test -z "$ac_file"; then :
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16740 $as_echo "no" >&6; }
16741 $as_echo "$as_me: failed program was:" >&5
16742 sed 's/^/| /' conftest.$ac_ext >&5
16743
16744 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16746 as_fn_error 77 "C compiler cannot create executables
16747 See \`config.log' for more details" "$LINENO" 5; }
16748 else
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16750 $as_echo "yes" >&6; }
16751 fi
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16753 $as_echo_n "checking for C compiler default output file name... " >&6; }
16754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16755 $as_echo "$ac_file" >&6; }
16756 ac_exeext=$ac_cv_exeext
16757
16758 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16759 ac_clean_files=$ac_clean_files_save
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16761 $as_echo_n "checking for suffix of executables... " >&6; }
16762 if { { ac_try="$ac_link"
16763 case "(($ac_try" in
16764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16765 *) ac_try_echo=$ac_try;;
16766 esac
16767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16768 $as_echo "$ac_try_echo"; } >&5
16769 (eval "$ac_link") 2>&5
16770 ac_status=$?
16771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16772 test $ac_status = 0; }; then :
16773 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16774 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16775 # work properly (i.e., refer to `conftest.exe'), while it won't with
16776 # `rm'.
16777 for ac_file in conftest.exe conftest conftest.*; do
16778 test -f "$ac_file" || continue
16779 case $ac_file in
16780 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16781 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16782 break;;
16783 * ) break;;
16784 esac
16785 done
16786 else
16787 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16789 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16790 See \`config.log' for more details" "$LINENO" 5; }
16791 fi
16792 rm -f conftest conftest$ac_cv_exeext
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16794 $as_echo "$ac_cv_exeext" >&6; }
16795
16796 rm -f conftest.$ac_ext
16797 EXEEXT=$ac_cv_exeext
16798 ac_exeext=$EXEEXT
16799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16800 /* end confdefs.h. */
16801 #include <stdio.h>
16802 int
16803 main ()
16804 {
16805 FILE *f = fopen ("conftest.out", "w");
16806 return ferror (f) || fclose (f) != 0;
16807
16808 ;
16809 return 0;
16810 }
16811 _ACEOF
16812 ac_clean_files="$ac_clean_files conftest.out"
16813 # Check that the compiler produces executables we can run. If not, either
16814 # the compiler is broken, or we cross compile.
16815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16816 $as_echo_n "checking whether we are cross compiling... " >&6; }
16817 if test "$cross_compiling" != yes; then
16818 { { ac_try="$ac_link"
16819 case "(($ac_try" in
16820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16821 *) ac_try_echo=$ac_try;;
16822 esac
16823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16824 $as_echo "$ac_try_echo"; } >&5
16825 (eval "$ac_link") 2>&5
16826 ac_status=$?
16827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16828 test $ac_status = 0; }
16829 if { ac_try='./conftest$ac_cv_exeext'
16830 { { case "(($ac_try" in
16831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16832 *) ac_try_echo=$ac_try;;
16833 esac
16834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16835 $as_echo "$ac_try_echo"; } >&5
16836 (eval "$ac_try") 2>&5
16837 ac_status=$?
16838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16839 test $ac_status = 0; }; }; then
16840 cross_compiling=no
16841 else
16842 if test "$cross_compiling" = maybe; then
16843 cross_compiling=yes
16844 else
16845 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16847 as_fn_error $? "cannot run C compiled programs.
16848 If you meant to cross compile, use \`--host'.
16849 See \`config.log' for more details" "$LINENO" 5; }
16850 fi
16851 fi
16852 fi
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16854 $as_echo "$cross_compiling" >&6; }
16855
16856 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16857 ac_clean_files=$ac_clean_files_save
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16859 $as_echo_n "checking for suffix of object files... " >&6; }
16860 if ${ac_cv_objext+:} false; then :
16861 $as_echo_n "(cached) " >&6
16862 else
16863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16864 /* end confdefs.h. */
16865
16866 int
16867 main ()
16868 {
16869
16870 ;
16871 return 0;
16872 }
16873 _ACEOF
16874 rm -f conftest.o conftest.obj
16875 if { { ac_try="$ac_compile"
16876 case "(($ac_try" in
16877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16878 *) ac_try_echo=$ac_try;;
16879 esac
16880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16881 $as_echo "$ac_try_echo"; } >&5
16882 (eval "$ac_compile") 2>&5
16883 ac_status=$?
16884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16885 test $ac_status = 0; }; then :
16886 for ac_file in conftest.o conftest.obj conftest.*; do
16887 test -f "$ac_file" || continue;
16888 case $ac_file in
16889 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16890 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16891 break;;
16892 esac
16893 done
16894 else
16895 $as_echo "$as_me: failed program was:" >&5
16896 sed 's/^/| /' conftest.$ac_ext >&5
16897
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 object files: cannot compile
16901 See \`config.log' for more details" "$LINENO" 5; }
16902 fi
16903 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16904 fi
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16906 $as_echo "$ac_cv_objext" >&6; }
16907 OBJEXT=$ac_cv_objext
16908 ac_objext=$OBJEXT
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16910 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16911 if ${ac_cv_c_compiler_gnu+:} false; then :
16912 $as_echo_n "(cached) " >&6
16913 else
16914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16915 /* end confdefs.h. */
16916
16917 int
16918 main ()
16919 {
16920 #ifndef __GNUC__
16921 choke me
16922 #endif
16923
16924 ;
16925 return 0;
16926 }
16927 _ACEOF
16928 if ac_fn_c_try_compile "$LINENO"; then :
16929 ac_compiler_gnu=yes
16930 else
16931 ac_compiler_gnu=no
16932 fi
16933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16934 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16935
16936 fi
16937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16938 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16939 if test $ac_compiler_gnu = yes; then
16940 GCC=yes
16941 else
16942 GCC=
16943 fi
16944 ac_test_CFLAGS=${CFLAGS+set}
16945 ac_save_CFLAGS=$CFLAGS
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16947 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16948 if ${ac_cv_prog_cc_g+:} false; then :
16949 $as_echo_n "(cached) " >&6
16950 else
16951 ac_save_c_werror_flag=$ac_c_werror_flag
16952 ac_c_werror_flag=yes
16953 ac_cv_prog_cc_g=no
16954 CFLAGS="-g"
16955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16956 /* end confdefs.h. */
16957
16958 int
16959 main ()
16960 {
16961
16962 ;
16963 return 0;
16964 }
16965 _ACEOF
16966 if ac_fn_c_try_compile "$LINENO"; then :
16967 ac_cv_prog_cc_g=yes
16968 else
16969 CFLAGS=""
16970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16971 /* end confdefs.h. */
16972
16973 int
16974 main ()
16975 {
16976
16977 ;
16978 return 0;
16979 }
16980 _ACEOF
16981 if ac_fn_c_try_compile "$LINENO"; then :
16982
16983 else
16984 ac_c_werror_flag=$ac_save_c_werror_flag
16985 CFLAGS="-g"
16986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16987 /* end confdefs.h. */
16988
16989 int
16990 main ()
16991 {
16992
16993 ;
16994 return 0;
16995 }
16996 _ACEOF
16997 if ac_fn_c_try_compile "$LINENO"; then :
16998 ac_cv_prog_cc_g=yes
16999 fi
17000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17001 fi
17002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17003 fi
17004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17005 ac_c_werror_flag=$ac_save_c_werror_flag
17006 fi
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17008 $as_echo "$ac_cv_prog_cc_g" >&6; }
17009 if test "$ac_test_CFLAGS" = set; then
17010 CFLAGS=$ac_save_CFLAGS
17011 elif test $ac_cv_prog_cc_g = yes; then
17012 if test "$GCC" = yes; then
17013 CFLAGS="-g -O2"
17014 else
17015 CFLAGS="-g"
17016 fi
17017 else
17018 if test "$GCC" = yes; then
17019 CFLAGS="-O2"
17020 else
17021 CFLAGS=
17022 fi
17023 fi
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17025 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17026 if ${ac_cv_prog_cc_c89+:} false; then :
17027 $as_echo_n "(cached) " >&6
17028 else
17029 ac_cv_prog_cc_c89=no
17030 ac_save_CC=$CC
17031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17033 #include <stdarg.h>
17034 #include <stdio.h>
17035 struct stat;
17036 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17037 struct buf { int x; };
17038 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17039 static char *e (p, i)
17040 char **p;
17041 int i;
17042 {
17043 return p[i];
17044 }
17045 static char *f (char * (*g) (char **, int), char **p, ...)
17046 {
17047 char *s;
17048 va_list v;
17049 va_start (v,p);
17050 s = g (p, va_arg (v,int));
17051 va_end (v);
17052 return s;
17053 }
17054
17055 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17056 function prototypes and stuff, but not '\xHH' hex character constants.
17057 These don't provoke an error unfortunately, instead are silently treated
17058 as 'x'. The following induces an error, until -std is added to get
17059 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17060 array size at least. It's necessary to write '\x00'==0 to get something
17061 that's true only with -std. */
17062 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17063
17064 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17065 inside strings and character constants. */
17066 #define FOO(x) 'x'
17067 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17068
17069 int test (int i, double x);
17070 struct s1 {int (*f) (int a);};
17071 struct s2 {int (*f) (double a);};
17072 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17073 int argc;
17074 char **argv;
17075 int
17076 main ()
17077 {
17078 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17079 ;
17080 return 0;
17081 }
17082 _ACEOF
17083 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17084 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17085 do
17086 CC="$ac_save_CC $ac_arg"
17087 if ac_fn_c_try_compile "$LINENO"; then :
17088 ac_cv_prog_cc_c89=$ac_arg
17089 fi
17090 rm -f core conftest.err conftest.$ac_objext
17091 test "x$ac_cv_prog_cc_c89" != "xno" && break
17092 done
17093 rm -f conftest.$ac_ext
17094 CC=$ac_save_CC
17095
17096 fi
17097 # AC_CACHE_VAL
17098 case "x$ac_cv_prog_cc_c89" in
17099 x)
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17101 $as_echo "none needed" >&6; } ;;
17102 xno)
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17104 $as_echo "unsupported" >&6; } ;;
17105 *)
17106 CC="$CC $ac_cv_prog_cc_c89"
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17108 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17109 esac
17110 if test "x$ac_cv_prog_cc_c89" != xno; then :
17111
17112 fi
17113
17114 ac_ext=c
17115 ac_cpp='$CPP $CPPFLAGS'
17116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17119
17120
17121
17122
17123
17124
17125
17126
17127 ac_ext=c
17128 ac_cpp='$CPP $CPPFLAGS'
17129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17132
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17134 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17135 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17136 $as_echo_n "(cached) " >&6
17137 else
17138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17139 /* end confdefs.h. */
17140
17141 int
17142 main ()
17143 {
17144
17145 #ifndef __INTEL_COMPILER
17146 choke me
17147 #endif
17148
17149 ;
17150 return 0;
17151 }
17152 _ACEOF
17153 if ac_fn_c_try_compile "$LINENO"; then :
17154 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17155 else
17156 bakefile_cv_c_compiler___INTEL_COMPILER=no
17157
17158 fi
17159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17160
17161
17162 fi
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17164 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17165 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17166 :; INTELCC=yes
17167 else
17168 :;
17169 fi
17170 ac_ext=c
17171 ac_cpp='$CPP $CPPFLAGS'
17172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17175
17176
17177
17178
17179 if test "$INTELCC" = "yes"; then
17180
17181
17182 ac_ext=c
17183 ac_cpp='$CPP $CPPFLAGS'
17184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17187
17188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17189 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17190 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17191 $as_echo_n "(cached) " >&6
17192 else
17193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17194 /* end confdefs.h. */
17195
17196 int
17197 main ()
17198 {
17199
17200 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17201 choke me
17202 #endif
17203
17204 ;
17205 return 0;
17206 }
17207 _ACEOF
17208 if ac_fn_c_try_compile "$LINENO"; then :
17209 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17210 else
17211 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17212
17213 fi
17214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17215
17216
17217 fi
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17219 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17220 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17221 :; INTELCC8=yes
17222 else
17223 :;
17224 fi
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 ac_ext=c
17236 ac_cpp='$CPP $CPPFLAGS'
17237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17240
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17242 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17243 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17244 $as_echo_n "(cached) " >&6
17245 else
17246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17247 /* end confdefs.h. */
17248
17249 int
17250 main ()
17251 {
17252
17253 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17254 choke me
17255 #endif
17256
17257 ;
17258 return 0;
17259 }
17260 _ACEOF
17261 if ac_fn_c_try_compile "$LINENO"; then :
17262 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17263 else
17264 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17265
17266 fi
17267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17268
17269
17270 fi
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17272 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17273 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17274 :; INTELCC10=yes
17275 else
17276 :;
17277 fi
17278 ac_ext=c
17279 ac_cpp='$CPP $CPPFLAGS'
17280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17283
17284
17285
17286 fi
17287
17288 if test "x$GCC" != "xyes"; then
17289 if test "xCC" = "xC"; then
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17291 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17292 if ${bakefile_cv_c_exto+:} false; then :
17293 $as_echo_n "(cached) " >&6
17294 else
17295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17296 /* end confdefs.h. */
17297
17298 int
17299 main ()
17300 {
17301
17302 ;
17303 return 0;
17304 }
17305 _ACEOF
17306 rm -f conftest.$ac_objext conftest.$ac_ext.o
17307 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17308 (eval $ac_compile) 2>&5
17309 ac_status=$?
17310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17311 test $ac_status = 0; }; then :
17312 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17313 case $ac_file in
17314 conftest.$ac_ext.o)
17315 bakefile_cv_c_exto="-ext o"
17316 ;;
17317 *)
17318 ;;
17319 esac
17320 done
17321 else
17322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17324 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
17325 See \`config.log' for more details" "$LINENO" 5; }
17326
17327 fi
17328 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17329
17330 fi
17331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17332 $as_echo "$bakefile_cv_c_exto" >&6; }
17333 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17334 if test "c" = "c"; then
17335 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17336 fi
17337 if test "c" = "cxx"; then
17338 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17339 fi
17340 fi
17341
17342 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17343 unset ac_cv_prog_cc_g
17344 ac_test_CFLAGS=${CFLAGS+set}
17345 ac_save_CFLAGS=$CFLAGS
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17347 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17348 if ${ac_cv_prog_cc_g+:} false; then :
17349 $as_echo_n "(cached) " >&6
17350 else
17351 ac_save_c_werror_flag=$ac_c_werror_flag
17352 ac_c_werror_flag=yes
17353 ac_cv_prog_cc_g=no
17354 CFLAGS="-g"
17355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17356 /* end confdefs.h. */
17357
17358 int
17359 main ()
17360 {
17361
17362 ;
17363 return 0;
17364 }
17365 _ACEOF
17366 if ac_fn_c_try_compile "$LINENO"; then :
17367 ac_cv_prog_cc_g=yes
17368 else
17369 CFLAGS=""
17370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17371 /* end confdefs.h. */
17372
17373 int
17374 main ()
17375 {
17376
17377 ;
17378 return 0;
17379 }
17380 _ACEOF
17381 if ac_fn_c_try_compile "$LINENO"; then :
17382
17383 else
17384 ac_c_werror_flag=$ac_save_c_werror_flag
17385 CFLAGS="-g"
17386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17387 /* end confdefs.h. */
17388
17389 int
17390 main ()
17391 {
17392
17393 ;
17394 return 0;
17395 }
17396 _ACEOF
17397 if ac_fn_c_try_compile "$LINENO"; then :
17398 ac_cv_prog_cc_g=yes
17399 fi
17400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17401 fi
17402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17403 fi
17404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17405 ac_c_werror_flag=$ac_save_c_werror_flag
17406 fi
17407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17408 $as_echo "$ac_cv_prog_cc_g" >&6; }
17409 if test "$ac_test_CFLAGS" = set; then
17410 CFLAGS=$ac_save_CFLAGS
17411 elif test $ac_cv_prog_cc_g = yes; then
17412 if test "$GCC" = yes; then
17413 CFLAGS="-g -O2"
17414 else
17415 CFLAGS="-g"
17416 fi
17417 else
17418 if test "$GCC" = yes; then
17419 CFLAGS="-O2"
17420 else
17421 CFLAGS=
17422 fi
17423 fi
17424 fi
17425 fi
17426
17427 case `uname -s` in
17428 AIX*)
17429
17430
17431 ac_ext=c
17432 ac_cpp='$CPP $CPPFLAGS'
17433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17436
17437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17438 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17439 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17440 $as_echo_n "(cached) " >&6
17441 else
17442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17443 /* end confdefs.h. */
17444
17445 int
17446 main ()
17447 {
17448
17449 #ifndef __xlC__
17450 choke me
17451 #endif
17452
17453 ;
17454 return 0;
17455 }
17456 _ACEOF
17457 if ac_fn_c_try_compile "$LINENO"; then :
17458 bakefile_cv_c_compiler___xlC__=yes
17459 else
17460 bakefile_cv_c_compiler___xlC__=no
17461
17462 fi
17463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17464
17465
17466 fi
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17468 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17469 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17470 :; XLCC=yes
17471 else
17472 :;
17473 fi
17474 ac_ext=c
17475 ac_cpp='$CPP $CPPFLAGS'
17476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17479
17480
17481
17482 ;;
17483
17484 Darwin)
17485
17486
17487 ac_ext=c
17488 ac_cpp='$CPP $CPPFLAGS'
17489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17492
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17494 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17495 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17496 $as_echo_n "(cached) " >&6
17497 else
17498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h. */
17500
17501 int
17502 main ()
17503 {
17504
17505 #ifndef __MWERKS__
17506 choke me
17507 #endif
17508
17509 ;
17510 return 0;
17511 }
17512 _ACEOF
17513 if ac_fn_c_try_compile "$LINENO"; then :
17514 bakefile_cv_c_compiler___MWERKS__=yes
17515 else
17516 bakefile_cv_c_compiler___MWERKS__=no
17517
17518 fi
17519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17520
17521
17522 fi
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17524 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17525 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17526 :; MWCC=yes
17527 else
17528 :;
17529 fi
17530 ac_ext=c
17531 ac_cpp='$CPP $CPPFLAGS'
17532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17535
17536
17537
17538 if test "$MWCC" != "yes"; then
17539
17540
17541 ac_ext=c
17542 ac_cpp='$CPP $CPPFLAGS'
17543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17546
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17548 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17549 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17550 $as_echo_n "(cached) " >&6
17551 else
17552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17553 /* end confdefs.h. */
17554
17555 int
17556 main ()
17557 {
17558
17559 #ifndef __xlC__
17560 choke me
17561 #endif
17562
17563 ;
17564 return 0;
17565 }
17566 _ACEOF
17567 if ac_fn_c_try_compile "$LINENO"; then :
17568 bakefile_cv_c_compiler___xlC__=yes
17569 else
17570 bakefile_cv_c_compiler___xlC__=no
17571
17572 fi
17573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17574
17575
17576 fi
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17578 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17579 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17580 :; XLCC=yes
17581 else
17582 :;
17583 fi
17584 ac_ext=c
17585 ac_cpp='$CPP $CPPFLAGS'
17586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17589
17590
17591
17592 fi
17593 ;;
17594
17595 IRIX*)
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 SGI C compiler" >&5
17605 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17606 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} 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 _SGI_COMPILER_VERSION
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__SGI_COMPILER_VERSION=yes
17626 else
17627 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=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__SGI_COMPILER_VERSION" >&5
17635 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17636 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17637 :; SGICC=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 ;;
17650
17651 Linux*)
17652 if test "$INTELCC" != "yes"; then
17653
17654
17655 ac_ext=c
17656 ac_cpp='$CPP $CPPFLAGS'
17657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17660
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17662 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17663 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17664 $as_echo_n "(cached) " >&6
17665 else
17666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17667 /* end confdefs.h. */
17668
17669 int
17670 main ()
17671 {
17672
17673 #ifndef __SUNPRO_C
17674 choke me
17675 #endif
17676
17677 ;
17678 return 0;
17679 }
17680 _ACEOF
17681 if ac_fn_c_try_compile "$LINENO"; then :
17682 bakefile_cv_c_compiler___SUNPRO_C=yes
17683 else
17684 bakefile_cv_c_compiler___SUNPRO_C=no
17685
17686 fi
17687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17688
17689
17690 fi
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17692 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17693 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17694 :; SUNCC=yes
17695 else
17696 :;
17697 fi
17698 ac_ext=c
17699 ac_cpp='$CPP $CPPFLAGS'
17700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17703
17704
17705
17706 fi
17707 ;;
17708
17709 HP-UX*)
17710
17711
17712 ac_ext=c
17713 ac_cpp='$CPP $CPPFLAGS'
17714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17717
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17719 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17720 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17721 $as_echo_n "(cached) " >&6
17722 else
17723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17724 /* end confdefs.h. */
17725
17726 int
17727 main ()
17728 {
17729
17730 #ifndef __HP_cc
17731 choke me
17732 #endif
17733
17734 ;
17735 return 0;
17736 }
17737 _ACEOF
17738 if ac_fn_c_try_compile "$LINENO"; then :
17739 bakefile_cv_c_compiler___HP_cc=yes
17740 else
17741 bakefile_cv_c_compiler___HP_cc=no
17742
17743 fi
17744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17745
17746
17747 fi
17748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17749 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17750 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17751 :; HPCC=yes
17752 else
17753 :;
17754 fi
17755 ac_ext=c
17756 ac_cpp='$CPP $CPPFLAGS'
17757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17760
17761
17762
17763 ;;
17764
17765 OSF1)
17766
17767
17768 ac_ext=c
17769 ac_cpp='$CPP $CPPFLAGS'
17770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17773
17774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17775 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17776 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17777 $as_echo_n "(cached) " >&6
17778 else
17779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17780 /* end confdefs.h. */
17781
17782 int
17783 main ()
17784 {
17785
17786 #ifndef __DECC
17787 choke me
17788 #endif
17789
17790 ;
17791 return 0;
17792 }
17793 _ACEOF
17794 if ac_fn_c_try_compile "$LINENO"; then :
17795 bakefile_cv_c_compiler___DECC=yes
17796 else
17797 bakefile_cv_c_compiler___DECC=no
17798
17799 fi
17800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17801
17802
17803 fi
17804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17805 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17806 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17807 :; COMPAQCC=yes
17808 else
17809 :;
17810 fi
17811 ac_ext=c
17812 ac_cpp='$CPP $CPPFLAGS'
17813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17816
17817
17818
17819 ;;
17820
17821 SunOS)
17822
17823
17824 ac_ext=c
17825 ac_cpp='$CPP $CPPFLAGS'
17826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17829
17830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17831 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17832 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17833 $as_echo_n "(cached) " >&6
17834 else
17835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17836 /* end confdefs.h. */
17837
17838 int
17839 main ()
17840 {
17841
17842 #ifndef __SUNPRO_C
17843 choke me
17844 #endif
17845
17846 ;
17847 return 0;
17848 }
17849 _ACEOF
17850 if ac_fn_c_try_compile "$LINENO"; then :
17851 bakefile_cv_c_compiler___SUNPRO_C=yes
17852 else
17853 bakefile_cv_c_compiler___SUNPRO_C=no
17854
17855 fi
17856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17857
17858
17859 fi
17860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17861 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17862 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17863 :; SUNCC=yes
17864 else
17865 :;
17866 fi
17867 ac_ext=c
17868 ac_cpp='$CPP $CPPFLAGS'
17869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17872
17873
17874
17875 ;;
17876 esac
17877 fi
17878
17879
17880
17881 ac_ext=c
17882 ac_cpp='$CPP $CPPFLAGS'
17883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17887 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17888 # On Suns, sometimes $CPP names a directory.
17889 if test -n "$CPP" && test -d "$CPP"; then
17890 CPP=
17891 fi
17892 if test -z "$CPP"; then
17893 if ${ac_cv_prog_CPP+:} false; then :
17894 $as_echo_n "(cached) " >&6
17895 else
17896 # Double quotes because CPP needs to be expanded
17897 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17898 do
17899 ac_preproc_ok=false
17900 for ac_c_preproc_warn_flag in '' yes
17901 do
17902 # Use a header file that comes with gcc, so configuring glibc
17903 # with a fresh cross-compiler works.
17904 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17905 # <limits.h> exists even on freestanding compilers.
17906 # On the NeXT, cc -E runs the code through the compiler's parser,
17907 # not just through cpp. "Syntax error" is here to catch this case.
17908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17909 /* end confdefs.h. */
17910 #ifdef __STDC__
17911 # include <limits.h>
17912 #else
17913 # include <assert.h>
17914 #endif
17915 Syntax error
17916 _ACEOF
17917 if ac_fn_c_try_cpp "$LINENO"; then :
17918
17919 else
17920 # Broken: fails on valid input.
17921 continue
17922 fi
17923 rm -f conftest.err conftest.i conftest.$ac_ext
17924
17925 # OK, works on sane cases. Now check whether nonexistent headers
17926 # can be detected and how.
17927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17928 /* end confdefs.h. */
17929 #include <ac_nonexistent.h>
17930 _ACEOF
17931 if ac_fn_c_try_cpp "$LINENO"; then :
17932 # Broken: success on invalid input.
17933 continue
17934 else
17935 # Passes both tests.
17936 ac_preproc_ok=:
17937 break
17938 fi
17939 rm -f conftest.err conftest.i conftest.$ac_ext
17940
17941 done
17942 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17943 rm -f conftest.i conftest.err conftest.$ac_ext
17944 if $ac_preproc_ok; then :
17945 break
17946 fi
17947
17948 done
17949 ac_cv_prog_CPP=$CPP
17950
17951 fi
17952 CPP=$ac_cv_prog_CPP
17953 else
17954 ac_cv_prog_CPP=$CPP
17955 fi
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17957 $as_echo "$CPP" >&6; }
17958 ac_preproc_ok=false
17959 for ac_c_preproc_warn_flag in '' yes
17960 do
17961 # Use a header file that comes with gcc, so configuring glibc
17962 # with a fresh cross-compiler works.
17963 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17964 # <limits.h> exists even on freestanding compilers.
17965 # On the NeXT, cc -E runs the code through the compiler's parser,
17966 # not just through cpp. "Syntax error" is here to catch this case.
17967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17968 /* end confdefs.h. */
17969 #ifdef __STDC__
17970 # include <limits.h>
17971 #else
17972 # include <assert.h>
17973 #endif
17974 Syntax error
17975 _ACEOF
17976 if ac_fn_c_try_cpp "$LINENO"; then :
17977
17978 else
17979 # Broken: fails on valid input.
17980 continue
17981 fi
17982 rm -f conftest.err conftest.i conftest.$ac_ext
17983
17984 # OK, works on sane cases. Now check whether nonexistent headers
17985 # can be detected and how.
17986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17987 /* end confdefs.h. */
17988 #include <ac_nonexistent.h>
17989 _ACEOF
17990 if ac_fn_c_try_cpp "$LINENO"; then :
17991 # Broken: success on invalid input.
17992 continue
17993 else
17994 # Passes both tests.
17995 ac_preproc_ok=:
17996 break
17997 fi
17998 rm -f conftest.err conftest.i conftest.$ac_ext
17999
18000 done
18001 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18002 rm -f conftest.i conftest.err conftest.$ac_ext
18003 if $ac_preproc_ok; then :
18004
18005 else
18006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18008 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
18009 See \`config.log' for more details" "$LINENO" 5; }
18010 fi
18011
18012 ac_ext=c
18013 ac_cpp='$CPP $CPPFLAGS'
18014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18017
18018
18019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
18020 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
18021 if ${ac_cv_path_GREP+:} false; then :
18022 $as_echo_n "(cached) " >&6
18023 else
18024 if test -z "$GREP"; then
18025 ac_path_GREP_found=false
18026 # Loop through the user's path and test for each of PROGNAME-LIST
18027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18028 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18029 do
18030 IFS=$as_save_IFS
18031 test -z "$as_dir" && as_dir=.
18032 for ac_prog in grep ggrep; do
18033 for ac_exec_ext in '' $ac_executable_extensions; do
18034 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18035 as_fn_executable_p "$ac_path_GREP" || continue
18036 # Check for GNU ac_path_GREP and select it if it is found.
18037 # Check for GNU $ac_path_GREP
18038 case `"$ac_path_GREP" --version 2>&1` in
18039 *GNU*)
18040 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18041 *)
18042 ac_count=0
18043 $as_echo_n 0123456789 >"conftest.in"
18044 while :
18045 do
18046 cat "conftest.in" "conftest.in" >"conftest.tmp"
18047 mv "conftest.tmp" "conftest.in"
18048 cp "conftest.in" "conftest.nl"
18049 $as_echo 'GREP' >> "conftest.nl"
18050 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18051 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18052 as_fn_arith $ac_count + 1 && ac_count=$as_val
18053 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18054 # Best one so far, save it but keep looking for a better one
18055 ac_cv_path_GREP="$ac_path_GREP"
18056 ac_path_GREP_max=$ac_count
18057 fi
18058 # 10*(2^10) chars as input seems more than enough
18059 test $ac_count -gt 10 && break
18060 done
18061 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18062 esac
18063
18064 $ac_path_GREP_found && break 3
18065 done
18066 done
18067 done
18068 IFS=$as_save_IFS
18069 if test -z "$ac_cv_path_GREP"; then
18070 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18071 fi
18072 else
18073 ac_cv_path_GREP=$GREP
18074 fi
18075
18076 fi
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
18078 $as_echo "$ac_cv_path_GREP" >&6; }
18079 GREP="$ac_cv_path_GREP"
18080
18081
18082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18083 $as_echo_n "checking for egrep... " >&6; }
18084 if ${ac_cv_path_EGREP+:} false; then :
18085 $as_echo_n "(cached) " >&6
18086 else
18087 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18088 then ac_cv_path_EGREP="$GREP -E"
18089 else
18090 if test -z "$EGREP"; then
18091 ac_path_EGREP_found=false
18092 # Loop through the user's path and test for each of PROGNAME-LIST
18093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18094 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18095 do
18096 IFS=$as_save_IFS
18097 test -z "$as_dir" && as_dir=.
18098 for ac_prog in egrep; do
18099 for ac_exec_ext in '' $ac_executable_extensions; do
18100 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18101 as_fn_executable_p "$ac_path_EGREP" || continue
18102 # Check for GNU ac_path_EGREP and select it if it is found.
18103 # Check for GNU $ac_path_EGREP
18104 case `"$ac_path_EGREP" --version 2>&1` in
18105 *GNU*)
18106 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18107 *)
18108 ac_count=0
18109 $as_echo_n 0123456789 >"conftest.in"
18110 while :
18111 do
18112 cat "conftest.in" "conftest.in" >"conftest.tmp"
18113 mv "conftest.tmp" "conftest.in"
18114 cp "conftest.in" "conftest.nl"
18115 $as_echo 'EGREP' >> "conftest.nl"
18116 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18117 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18118 as_fn_arith $ac_count + 1 && ac_count=$as_val
18119 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18120 # Best one so far, save it but keep looking for a better one
18121 ac_cv_path_EGREP="$ac_path_EGREP"
18122 ac_path_EGREP_max=$ac_count
18123 fi
18124 # 10*(2^10) chars as input seems more than enough
18125 test $ac_count -gt 10 && break
18126 done
18127 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18128 esac
18129
18130 $ac_path_EGREP_found && break 3
18131 done
18132 done
18133 done
18134 IFS=$as_save_IFS
18135 if test -z "$ac_cv_path_EGREP"; then
18136 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18137 fi
18138 else
18139 ac_cv_path_EGREP=$EGREP
18140 fi
18141
18142 fi
18143 fi
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18145 $as_echo "$ac_cv_path_EGREP" >&6; }
18146 EGREP="$ac_cv_path_EGREP"
18147
18148
18149 if test $ac_cv_c_compiler_gnu = yes; then
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18151 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18152 if ${ac_cv_prog_gcc_traditional+:} false; then :
18153 $as_echo_n "(cached) " >&6
18154 else
18155 ac_pattern="Autoconf.*'x'"
18156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18157 /* end confdefs.h. */
18158 #include <sgtty.h>
18159 Autoconf TIOCGETP
18160 _ACEOF
18161 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18162 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18163 ac_cv_prog_gcc_traditional=yes
18164 else
18165 ac_cv_prog_gcc_traditional=no
18166 fi
18167 rm -f conftest*
18168
18169
18170 if test $ac_cv_prog_gcc_traditional = no; then
18171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18172 /* end confdefs.h. */
18173 #include <termio.h>
18174 Autoconf TCGETA
18175 _ACEOF
18176 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18177 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18178 ac_cv_prog_gcc_traditional=yes
18179 fi
18180 rm -f conftest*
18181
18182 fi
18183 fi
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18185 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18186 if test $ac_cv_prog_gcc_traditional = yes; then
18187 CC="$CC -traditional"
18188 fi
18189 fi
18190
18191
18192 CXXFLAGS=${CXXFLAGS:=}
18193 ac_ext=cpp
18194 ac_cpp='$CXXCPP $CPPFLAGS'
18195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18198 if test -z "$CXX"; then
18199 if test -n "$CCC"; then
18200 CXX=$CCC
18201 else
18202 if test -n "$ac_tool_prefix"; then
18203 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18204 do
18205 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18206 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18208 $as_echo_n "checking for $ac_word... " >&6; }
18209 if ${ac_cv_prog_CXX+:} false; then :
18210 $as_echo_n "(cached) " >&6
18211 else
18212 if test -n "$CXX"; then
18213 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18214 else
18215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18216 for as_dir in $PATH
18217 do
18218 IFS=$as_save_IFS
18219 test -z "$as_dir" && as_dir=.
18220 for ac_exec_ext in '' $ac_executable_extensions; do
18221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18222 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18224 break 2
18225 fi
18226 done
18227 done
18228 IFS=$as_save_IFS
18229
18230 fi
18231 fi
18232 CXX=$ac_cv_prog_CXX
18233 if test -n "$CXX"; then
18234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18235 $as_echo "$CXX" >&6; }
18236 else
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18238 $as_echo "no" >&6; }
18239 fi
18240
18241
18242 test -n "$CXX" && break
18243 done
18244 fi
18245 if test -z "$CXX"; then
18246 ac_ct_CXX=$CXX
18247 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18248 do
18249 # Extract the first word of "$ac_prog", so it can be a program name with args.
18250 set dummy $ac_prog; ac_word=$2
18251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18252 $as_echo_n "checking for $ac_word... " >&6; }
18253 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
18254 $as_echo_n "(cached) " >&6
18255 else
18256 if test -n "$ac_ct_CXX"; then
18257 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18258 else
18259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18260 for as_dir in $PATH
18261 do
18262 IFS=$as_save_IFS
18263 test -z "$as_dir" && as_dir=.
18264 for ac_exec_ext in '' $ac_executable_extensions; do
18265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18266 ac_cv_prog_ac_ct_CXX="$ac_prog"
18267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18268 break 2
18269 fi
18270 done
18271 done
18272 IFS=$as_save_IFS
18273
18274 fi
18275 fi
18276 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18277 if test -n "$ac_ct_CXX"; then
18278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18279 $as_echo "$ac_ct_CXX" >&6; }
18280 else
18281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18282 $as_echo "no" >&6; }
18283 fi
18284
18285
18286 test -n "$ac_ct_CXX" && break
18287 done
18288
18289 if test "x$ac_ct_CXX" = x; then
18290 CXX="g++"
18291 else
18292 case $cross_compiling:$ac_tool_warned in
18293 yes:)
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18296 ac_tool_warned=yes ;;
18297 esac
18298 CXX=$ac_ct_CXX
18299 fi
18300 fi
18301
18302 fi
18303 fi
18304 # Provide some information about the compiler.
18305 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18306 set X $ac_compile
18307 ac_compiler=$2
18308 for ac_option in --version -v -V -qversion; do
18309 { { ac_try="$ac_compiler $ac_option >&5"
18310 case "(($ac_try" in
18311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18312 *) ac_try_echo=$ac_try;;
18313 esac
18314 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18315 $as_echo "$ac_try_echo"; } >&5
18316 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18317 ac_status=$?
18318 if test -s conftest.err; then
18319 sed '10a\
18320 ... rest of stderr output deleted ...
18321 10q' conftest.err >conftest.er1
18322 cat conftest.er1 >&5
18323 fi
18324 rm -f conftest.er1 conftest.err
18325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18326 test $ac_status = 0; }
18327 done
18328
18329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18330 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18331 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18332 $as_echo_n "(cached) " >&6
18333 else
18334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18335 /* end confdefs.h. */
18336
18337 int
18338 main ()
18339 {
18340 #ifndef __GNUC__
18341 choke me
18342 #endif
18343
18344 ;
18345 return 0;
18346 }
18347 _ACEOF
18348 if ac_fn_cxx_try_compile "$LINENO"; then :
18349 ac_compiler_gnu=yes
18350 else
18351 ac_compiler_gnu=no
18352 fi
18353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18354 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18355
18356 fi
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18358 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18359 if test $ac_compiler_gnu = yes; then
18360 GXX=yes
18361 else
18362 GXX=
18363 fi
18364 ac_test_CXXFLAGS=${CXXFLAGS+set}
18365 ac_save_CXXFLAGS=$CXXFLAGS
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18367 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18368 if ${ac_cv_prog_cxx_g+:} false; then :
18369 $as_echo_n "(cached) " >&6
18370 else
18371 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18372 ac_cxx_werror_flag=yes
18373 ac_cv_prog_cxx_g=no
18374 CXXFLAGS="-g"
18375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18376 /* end confdefs.h. */
18377
18378 int
18379 main ()
18380 {
18381
18382 ;
18383 return 0;
18384 }
18385 _ACEOF
18386 if ac_fn_cxx_try_compile "$LINENO"; then :
18387 ac_cv_prog_cxx_g=yes
18388 else
18389 CXXFLAGS=""
18390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18391 /* end confdefs.h. */
18392
18393 int
18394 main ()
18395 {
18396
18397 ;
18398 return 0;
18399 }
18400 _ACEOF
18401 if ac_fn_cxx_try_compile "$LINENO"; then :
18402
18403 else
18404 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18405 CXXFLAGS="-g"
18406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18408
18409 int
18410 main ()
18411 {
18412
18413 ;
18414 return 0;
18415 }
18416 _ACEOF
18417 if ac_fn_cxx_try_compile "$LINENO"; then :
18418 ac_cv_prog_cxx_g=yes
18419 fi
18420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18421 fi
18422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18423 fi
18424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18425 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18426 fi
18427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18428 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18429 if test "$ac_test_CXXFLAGS" = set; then
18430 CXXFLAGS=$ac_save_CXXFLAGS
18431 elif test $ac_cv_prog_cxx_g = yes; then
18432 if test "$GXX" = yes; then
18433 CXXFLAGS="-g -O2"
18434 else
18435 CXXFLAGS="-g"
18436 fi
18437 else
18438 if test "$GXX" = yes; then
18439 CXXFLAGS="-O2"
18440 else
18441 CXXFLAGS=
18442 fi
18443 fi
18444 ac_ext=c
18445 ac_cpp='$CPP $CPPFLAGS'
18446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18449
18450
18451
18452
18453
18454
18455
18456
18457 ac_ext=cpp
18458 ac_cpp='$CXXCPP $CPPFLAGS'
18459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18462
18463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18464 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18465 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18466 $as_echo_n "(cached) " >&6
18467 else
18468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18469 /* end confdefs.h. */
18470
18471 int
18472 main ()
18473 {
18474
18475 #ifndef __INTEL_COMPILER
18476 choke me
18477 #endif
18478
18479 ;
18480 return 0;
18481 }
18482 _ACEOF
18483 if ac_fn_cxx_try_compile "$LINENO"; then :
18484 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18485 else
18486 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18487
18488 fi
18489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18490
18491
18492 fi
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18494 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18495 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18496 :; INTELCXX=yes
18497 else
18498 :;
18499 fi
18500 ac_ext=c
18501 ac_cpp='$CPP $CPPFLAGS'
18502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18505
18506
18507
18508
18509 if test "$INTELCXX" = "yes"; then
18510
18511
18512 ac_ext=cpp
18513 ac_cpp='$CXXCPP $CPPFLAGS'
18514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18517
18518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18519 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18520 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18521 $as_echo_n "(cached) " >&6
18522 else
18523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18524 /* end confdefs.h. */
18525
18526 int
18527 main ()
18528 {
18529
18530 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18531 choke me
18532 #endif
18533
18534 ;
18535 return 0;
18536 }
18537 _ACEOF
18538 if ac_fn_cxx_try_compile "$LINENO"; then :
18539 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18540 else
18541 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18542
18543 fi
18544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18545
18546
18547 fi
18548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18549 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18550 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18551 :; INTELCXX8=yes
18552 else
18553 :;
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 ac_ext=cpp
18566 ac_cpp='$CXXCPP $CPPFLAGS'
18567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18570
18571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18572 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18573 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18574 $as_echo_n "(cached) " >&6
18575 else
18576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18577 /* end confdefs.h. */
18578
18579 int
18580 main ()
18581 {
18582
18583 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18584 choke me
18585 #endif
18586
18587 ;
18588 return 0;
18589 }
18590 _ACEOF
18591 if ac_fn_cxx_try_compile "$LINENO"; then :
18592 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18593 else
18594 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18595
18596 fi
18597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18598
18599
18600 fi
18601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18602 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18603 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18604 :; INTELCXX10=yes
18605 else
18606 :;
18607 fi
18608 ac_ext=c
18609 ac_cpp='$CPP $CPPFLAGS'
18610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18613
18614
18615
18616 fi
18617
18618 if test "x$GCXX" != "xyes"; then
18619 if test "xCXX" = "xC"; then
18620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18621 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18622 if ${bakefile_cv_c_exto+:} false; then :
18623 $as_echo_n "(cached) " >&6
18624 else
18625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18626 /* end confdefs.h. */
18627
18628 int
18629 main ()
18630 {
18631
18632 ;
18633 return 0;
18634 }
18635 _ACEOF
18636 rm -f conftest.$ac_objext conftest.$ac_ext.o
18637 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18638 (eval $ac_compile) 2>&5
18639 ac_status=$?
18640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18641 test $ac_status = 0; }; then :
18642 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18643 case $ac_file in
18644 conftest.$ac_ext.o)
18645 bakefile_cv_c_exto="-ext o"
18646 ;;
18647 *)
18648 ;;
18649 esac
18650 done
18651 else
18652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18654 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
18655 See \`config.log' for more details" "$LINENO" 5; }
18656
18657 fi
18658 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18659
18660 fi
18661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18662 $as_echo "$bakefile_cv_c_exto" >&6; }
18663 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18664 if test "c" = "c"; then
18665 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18666 fi
18667 if test "c" = "cxx"; then
18668 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18669 fi
18670 fi
18671
18672 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18673 unset ac_cv_prog_cc_g
18674 ac_test_CFLAGS=${CFLAGS+set}
18675 ac_save_CFLAGS=$CFLAGS
18676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18677 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18678 if ${ac_cv_prog_cc_g+:} false; then :
18679 $as_echo_n "(cached) " >&6
18680 else
18681 ac_save_c_werror_flag=$ac_c_werror_flag
18682 ac_c_werror_flag=yes
18683 ac_cv_prog_cc_g=no
18684 CFLAGS="-g"
18685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18686 /* end confdefs.h. */
18687
18688 int
18689 main ()
18690 {
18691
18692 ;
18693 return 0;
18694 }
18695 _ACEOF
18696 if ac_fn_c_try_compile "$LINENO"; then :
18697 ac_cv_prog_cc_g=yes
18698 else
18699 CFLAGS=""
18700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18701 /* end confdefs.h. */
18702
18703 int
18704 main ()
18705 {
18706
18707 ;
18708 return 0;
18709 }
18710 _ACEOF
18711 if ac_fn_c_try_compile "$LINENO"; then :
18712
18713 else
18714 ac_c_werror_flag=$ac_save_c_werror_flag
18715 CFLAGS="-g"
18716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18717 /* end confdefs.h. */
18718
18719 int
18720 main ()
18721 {
18722
18723 ;
18724 return 0;
18725 }
18726 _ACEOF
18727 if ac_fn_c_try_compile "$LINENO"; then :
18728 ac_cv_prog_cc_g=yes
18729 fi
18730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18731 fi
18732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18733 fi
18734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18735 ac_c_werror_flag=$ac_save_c_werror_flag
18736 fi
18737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18738 $as_echo "$ac_cv_prog_cc_g" >&6; }
18739 if test "$ac_test_CFLAGS" = set; then
18740 CFLAGS=$ac_save_CFLAGS
18741 elif test $ac_cv_prog_cc_g = yes; then
18742 if test "$GCC" = yes; then
18743 CFLAGS="-g -O2"
18744 else
18745 CFLAGS="-g"
18746 fi
18747 else
18748 if test "$GCC" = yes; then
18749 CFLAGS="-O2"
18750 else
18751 CFLAGS=
18752 fi
18753 fi
18754 fi
18755 fi
18756
18757 case `uname -s` in
18758 AIX*)
18759
18760
18761 ac_ext=cpp
18762 ac_cpp='$CXXCPP $CPPFLAGS'
18763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18766
18767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18768 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18769 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18770 $as_echo_n "(cached) " >&6
18771 else
18772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18773 /* end confdefs.h. */
18774
18775 int
18776 main ()
18777 {
18778
18779 #ifndef __xlC__
18780 choke me
18781 #endif
18782
18783 ;
18784 return 0;
18785 }
18786 _ACEOF
18787 if ac_fn_cxx_try_compile "$LINENO"; then :
18788 bakefile_cv_cxx_compiler___xlC__=yes
18789 else
18790 bakefile_cv_cxx_compiler___xlC__=no
18791
18792 fi
18793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18794
18795
18796 fi
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18798 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18799 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18800 :; XLCXX=yes
18801 else
18802 :;
18803 fi
18804 ac_ext=c
18805 ac_cpp='$CPP $CPPFLAGS'
18806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18809
18810
18811
18812 ;;
18813
18814 Darwin)
18815
18816
18817 ac_ext=cpp
18818 ac_cpp='$CXXCPP $CPPFLAGS'
18819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18822
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18824 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18825 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18826 $as_echo_n "(cached) " >&6
18827 else
18828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18829 /* end confdefs.h. */
18830
18831 int
18832 main ()
18833 {
18834
18835 #ifndef __MWERKS__
18836 choke me
18837 #endif
18838
18839 ;
18840 return 0;
18841 }
18842 _ACEOF
18843 if ac_fn_cxx_try_compile "$LINENO"; then :
18844 bakefile_cv_cxx_compiler___MWERKS__=yes
18845 else
18846 bakefile_cv_cxx_compiler___MWERKS__=no
18847
18848 fi
18849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18850
18851
18852 fi
18853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18854 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18855 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18856 :; MWCXX=yes
18857 else
18858 :;
18859 fi
18860 ac_ext=c
18861 ac_cpp='$CPP $CPPFLAGS'
18862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18865
18866
18867
18868 if test "$MWCXX" != "yes"; then
18869
18870
18871 ac_ext=cpp
18872 ac_cpp='$CXXCPP $CPPFLAGS'
18873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18876
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18878 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18879 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18880 $as_echo_n "(cached) " >&6
18881 else
18882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18883 /* end confdefs.h. */
18884
18885 int
18886 main ()
18887 {
18888
18889 #ifndef __xlC__
18890 choke me
18891 #endif
18892
18893 ;
18894 return 0;
18895 }
18896 _ACEOF
18897 if ac_fn_cxx_try_compile "$LINENO"; then :
18898 bakefile_cv_cxx_compiler___xlC__=yes
18899 else
18900 bakefile_cv_cxx_compiler___xlC__=no
18901
18902 fi
18903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18904
18905
18906 fi
18907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18908 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18909 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18910 :; XLCXX=yes
18911 else
18912 :;
18913 fi
18914 ac_ext=c
18915 ac_cpp='$CPP $CPPFLAGS'
18916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18919
18920
18921
18922 fi
18923 ;;
18924
18925 IRIX*)
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 SGI C++ compiler" >&5
18935 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18936 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} 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 _SGI_COMPILER_VERSION
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__SGI_COMPILER_VERSION=yes
18956 else
18957 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=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__SGI_COMPILER_VERSION" >&5
18965 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18966 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18967 :; SGICXX=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 ;;
18980
18981 Linux*)
18982 if test "$INTELCXX" != "yes"; then
18983
18984
18985 ac_ext=cpp
18986 ac_cpp='$CXXCPP $CPPFLAGS'
18987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18990
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
18992 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18993 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
18994 $as_echo_n "(cached) " >&6
18995 else
18996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18997 /* end confdefs.h. */
18998
18999 int
19000 main ()
19001 {
19002
19003 #ifndef __SUNPRO_CC
19004 choke me
19005 #endif
19006
19007 ;
19008 return 0;
19009 }
19010 _ACEOF
19011 if ac_fn_cxx_try_compile "$LINENO"; then :
19012 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19013 else
19014 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19015
19016 fi
19017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19018
19019
19020 fi
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19022 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19023 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19024 :; SUNCXX=yes
19025 else
19026 :;
19027 fi
19028 ac_ext=c
19029 ac_cpp='$CPP $CPPFLAGS'
19030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19033
19034
19035
19036 fi
19037 ;;
19038
19039 HP-UX*)
19040
19041
19042 ac_ext=cpp
19043 ac_cpp='$CXXCPP $CPPFLAGS'
19044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19047
19048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
19049 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
19050 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
19051 $as_echo_n "(cached) " >&6
19052 else
19053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19054 /* end confdefs.h. */
19055
19056 int
19057 main ()
19058 {
19059
19060 #ifndef __HP_aCC
19061 choke me
19062 #endif
19063
19064 ;
19065 return 0;
19066 }
19067 _ACEOF
19068 if ac_fn_cxx_try_compile "$LINENO"; then :
19069 bakefile_cv_cxx_compiler___HP_aCC=yes
19070 else
19071 bakefile_cv_cxx_compiler___HP_aCC=no
19072
19073 fi
19074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19075
19076
19077 fi
19078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19079 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19080 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19081 :; HPCXX=yes
19082 else
19083 :;
19084 fi
19085 ac_ext=c
19086 ac_cpp='$CPP $CPPFLAGS'
19087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19090
19091
19092
19093 ;;
19094
19095 OSF1)
19096
19097
19098 ac_ext=cpp
19099 ac_cpp='$CXXCPP $CPPFLAGS'
19100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19103
19104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19105 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19106 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19107 $as_echo_n "(cached) " >&6
19108 else
19109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19110 /* end confdefs.h. */
19111
19112 int
19113 main ()
19114 {
19115
19116 #ifndef __DECCXX
19117 choke me
19118 #endif
19119
19120 ;
19121 return 0;
19122 }
19123 _ACEOF
19124 if ac_fn_cxx_try_compile "$LINENO"; then :
19125 bakefile_cv_cxx_compiler___DECCXX=yes
19126 else
19127 bakefile_cv_cxx_compiler___DECCXX=no
19128
19129 fi
19130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19131
19132
19133 fi
19134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19135 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19136 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19137 :; COMPAQCXX=yes
19138 else
19139 :;
19140 fi
19141 ac_ext=c
19142 ac_cpp='$CPP $CPPFLAGS'
19143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19146
19147
19148
19149 ;;
19150
19151 SunOS)
19152
19153
19154 ac_ext=cpp
19155 ac_cpp='$CXXCPP $CPPFLAGS'
19156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19159
19160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19161 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19162 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19163 $as_echo_n "(cached) " >&6
19164 else
19165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19166 /* end confdefs.h. */
19167
19168 int
19169 main ()
19170 {
19171
19172 #ifndef __SUNPRO_CC
19173 choke me
19174 #endif
19175
19176 ;
19177 return 0;
19178 }
19179 _ACEOF
19180 if ac_fn_cxx_try_compile "$LINENO"; then :
19181 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19182 else
19183 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19184
19185 fi
19186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19187
19188
19189 fi
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19191 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19192 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19193 :; SUNCXX=yes
19194 else
19195 :;
19196 fi
19197 ac_ext=c
19198 ac_cpp='$CPP $CPPFLAGS'
19199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19202
19203
19204
19205 ;;
19206 esac
19207 fi
19208
19209
19210
19211 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19212 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19213 fi
19214
19215 if test "x$SUNCXX" != xyes; then
19216 if test -n "$ac_tool_prefix"; then
19217 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19218 set dummy ${ac_tool_prefix}ar; ac_word=$2
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19220 $as_echo_n "checking for $ac_word... " >&6; }
19221 if ${ac_cv_prog_AR+:} false; then :
19222 $as_echo_n "(cached) " >&6
19223 else
19224 if test -n "$AR"; then
19225 ac_cv_prog_AR="$AR" # Let the user override the test.
19226 else
19227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19228 for as_dir in $PATH
19229 do
19230 IFS=$as_save_IFS
19231 test -z "$as_dir" && as_dir=.
19232 for ac_exec_ext in '' $ac_executable_extensions; do
19233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19234 ac_cv_prog_AR="${ac_tool_prefix}ar"
19235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19236 break 2
19237 fi
19238 done
19239 done
19240 IFS=$as_save_IFS
19241
19242 fi
19243 fi
19244 AR=$ac_cv_prog_AR
19245 if test -n "$AR"; then
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19247 $as_echo "$AR" >&6; }
19248 else
19249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19250 $as_echo "no" >&6; }
19251 fi
19252
19253
19254 fi
19255 if test -z "$ac_cv_prog_AR"; then
19256 ac_ct_AR=$AR
19257 # Extract the first word of "ar", so it can be a program name with args.
19258 set dummy ar; ac_word=$2
19259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19260 $as_echo_n "checking for $ac_word... " >&6; }
19261 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19262 $as_echo_n "(cached) " >&6
19263 else
19264 if test -n "$ac_ct_AR"; then
19265 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19266 else
19267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19268 for as_dir in $PATH
19269 do
19270 IFS=$as_save_IFS
19271 test -z "$as_dir" && as_dir=.
19272 for ac_exec_ext in '' $ac_executable_extensions; do
19273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19274 ac_cv_prog_ac_ct_AR="ar"
19275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19276 break 2
19277 fi
19278 done
19279 done
19280 IFS=$as_save_IFS
19281
19282 fi
19283 fi
19284 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19285 if test -n "$ac_ct_AR"; then
19286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19287 $as_echo "$ac_ct_AR" >&6; }
19288 else
19289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19290 $as_echo "no" >&6; }
19291 fi
19292
19293 if test "x$ac_ct_AR" = x; then
19294 AR=""
19295 else
19296 case $cross_compiling:$ac_tool_warned in
19297 yes:)
19298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19300 ac_tool_warned=yes ;;
19301 esac
19302 AR=$ac_ct_AR
19303 fi
19304 else
19305 AR="$ac_cv_prog_AR"
19306 fi
19307
19308 if test "x$AR" = "x" ; then
19309 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19310 fi
19311 fi
19312
19313
19314 if test "$wxUSE_MAC" = 1; then
19315
19316 retest_macosx_linking=no
19317
19318 OSX_ARCH_OPTS=""
19319
19320 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19321 if test "x$wxUSE_MAC_ARCH" != xno; then
19322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19323 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19324 fi
19325
19326 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19327 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19328 else OSX_ARCH_OPTS="ppc,i386"
19329 if test "$wxUSE_OSX_COCOA" = 1; then
19330 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19331 fi
19332 fi
19333
19334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19335 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19337 $as_echo "$OSX_ARCH_OPTS" >&6; }
19338
19339 retest_macosx_linking=yes
19340 else
19341 if test "x$wxUSE_MAC_ARCH" != xno; then
19342 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19343 fi
19344 fi
19345
19346 if test "x$OSX_ARCH_OPTS" != "x"; then
19347 if echo $OSX_ARCH_OPTS | grep -q ","; then
19348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19349 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19350 disable_macosx_deps=yes
19351
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19353 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19354 bk_use_pch=no
19355 fi
19356
19357 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19358
19359 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19360 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19361 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19362 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19363 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19364 fi
19365
19366 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19367 wxUSE_MACOSX_SDK=
19368 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19369 # TODO: Search for most recent SDK and use it.
19370 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19371 fi
19372
19373
19374 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19376 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19377 if ! test -d "$wxUSE_MACOSX_SDK"; then
19378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19380 as_fn_error $? "not found
19381 See \`config.log' for more details" "$LINENO" 5; }
19382 else
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19384 $as_echo "exists" >&6; }
19385 fi
19386 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19387 retest_macosx_linking=yes
19388 fi
19389
19390 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19391 wxUSE_MACOSX_VERSION_MIN=
19392 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19393 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19395 $as_echo_n "checking SDK deployment version... " >&6; }
19396
19397 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/'`
19398
19399 # If that failed, try again with the new key
19400 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19401
19402 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/'`
19403
19404 fi
19405
19406 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19407 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19409 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19410 else
19411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19412 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19413 wxUSE_MACOSX_VERSION_MIN=
19414 fi
19415 else
19416 wxUSE_MACOSX_VERSION_MIN=
19417 fi
19418 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19419 wxUSE_MACOSX_VERSION_MIN=10.5
19420 fi
19421
19422 if test "x$MACOSX_SDK_OPTS" != "x"; then
19423 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19424 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19425 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19426 retest_macosx_linking=yes
19427 fi
19428
19429 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19430 if test "$wxUSE_OSX_IPHONE" = 1; then
19431 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19432 else
19433 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19434 fi
19435 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19436 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19437 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19438 retest_macosx_linking=yes
19439 fi
19440
19441 if test "x$retest_macosx_linking" = "xyes"; then
19442 ac_ext=c
19443 ac_cpp='$CPP $CPPFLAGS'
19444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19447
19448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19449 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19451 /* end confdefs.h. */
19452
19453 int
19454 main ()
19455 {
19456
19457 ;
19458 return 0;
19459 }
19460 _ACEOF
19461 if ac_fn_c_try_link "$LINENO"; then :
19462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19463 $as_echo "yes" >&6; }
19464 else
19465 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19467 as_fn_error $? "no. Try a different SDK
19468 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19469 fi
19470 rm -f core conftest.err conftest.$ac_objext \
19471 conftest$ac_exeext conftest.$ac_ext
19472 ac_ext=c
19473 ac_cpp='$CPP $CPPFLAGS'
19474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19477
19478
19479 ac_ext=cpp
19480 ac_cpp='$CXXCPP $CPPFLAGS'
19481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19484
19485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19486 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19488 /* end confdefs.h. */
19489
19490 int
19491 main ()
19492 {
19493
19494 ;
19495 return 0;
19496 }
19497 _ACEOF
19498 if ac_fn_cxx_try_link "$LINENO"; then :
19499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19500 $as_echo "yes" >&6; }
19501 else
19502 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19504 as_fn_error $? "no. Try a different SDK
19505 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19506 fi
19507 rm -f core conftest.err conftest.$ac_objext \
19508 conftest$ac_exeext conftest.$ac_ext
19509 ac_ext=c
19510 ac_cpp='$CPP $CPPFLAGS'
19511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19514
19515 fi
19516
19517 fi
19518 case "${host}" in
19519
19520 *-*-darwin* )
19521 INSTALL_PROGRAM="cp -fp"
19522 INSTALL_DATA="cp -fp"
19523 ;;
19524 *)
19525 ;;
19526 esac
19527
19528
19529 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19530 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19531
19532
19533 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19534 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19535 fi
19536
19537 if test "x$USE_AIX" = "x1"; then
19538 if test "x$XLCXX" = "xyes"; then
19539 CXXFLAGS="-qunique $CXXFLAGS"
19540 fi
19541
19542 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19543 fi
19544
19545 case "${host}" in
19546 powerpc-*-darwin* )
19547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19548 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19550 /* end confdefs.h. */
19551
19552 int
19553 main ()
19554 {
19555 #ifndef __POWERPC__
19556 choke me for lack of PowerPC
19557 #endif
19558
19559 ;
19560 return 0;
19561 }
19562 _ACEOF
19563 if ac_fn_c_try_compile "$LINENO"; then :
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19565 $as_echo "yes" >&6; }
19566 else
19567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19568 $as_echo "no" >&6; }
19569 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19570
19571
19572 fi
19573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19574 ;;
19575 esac
19576
19577 case "${host}" in
19578 *-*-darwin* )
19579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19580 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19582 /* end confdefs.h. */
19583 #include <CoreFoundation/CFBase.h>
19584
19585 int
19586 main ()
19587 {
19588
19589 ;
19590 return 0;
19591 }
19592 _ACEOF
19593 if ac_fn_c_try_compile "$LINENO"; then :
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19595 $as_echo "yes" >&6; }
19596 else
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19598 $as_echo "no" >&6; }
19599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19600 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19602 /* end confdefs.h. */
19603 #define __CF_USE_FRAMEWORK_INCLUDES__
19604 #include <CoreFoundation/CFBase.h>
19605
19606 int
19607 main ()
19608 {
19609
19610 ;
19611 return 0;
19612 }
19613 _ACEOF
19614 if ac_fn_c_try_compile "$LINENO"; then :
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19616 $as_echo "yes" >&6; }
19617 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19618 else
19619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19621 as_fn_error $? "no. CoreFoundation not available.
19622 See \`config.log' for more details" "$LINENO" 5; }
19623
19624 fi
19625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19626
19627
19628 fi
19629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19630 ;;
19631 esac
19632
19633 wants_win32=0
19634 doesnt_want_win32=0
19635 case "${host}" in
19636 *-*-cygwin*)
19637 if test "$wxUSE_MSW" = 1 ; then
19638 wants_win32=1
19639 else
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19641 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19642 if ${wx_cv_nocygwin+:} false; then :
19643 $as_echo_n "(cached) " >&6
19644 else
19645
19646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19647 /* end confdefs.h. */
19648
19649 int
19650 main ()
19651 {
19652
19653 #ifdef __MINGW32__
19654 choke me
19655 #endif
19656
19657 ;
19658 return 0;
19659 }
19660 _ACEOF
19661 if ac_fn_c_try_compile "$LINENO"; then :
19662 wx_cv_nocygwin=no
19663 else
19664 wx_cv_nocygwin=yes
19665
19666 fi
19667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19668
19669
19670 fi
19671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19672 $as_echo "$wx_cv_nocygwin" >&6; }
19673
19674 if test "$wx_cv_nocygwin" = "yes"; then
19675 wants_win32=1
19676 else
19677 doesnt_want_win32=1
19678 fi
19679 fi
19680 if test "$wants_win32" = 1 ; then
19681 BAKEFILE_FORCE_PLATFORM=win32
19682 fi
19683 ;;
19684 *-*-mingw*)
19685 wants_win32=1
19686 ;;
19687 esac
19688
19689 if test "$wxUSE_WINE" = "yes"; then
19690 wants_win32=1
19691 LDFLAGS_GUI="-mwindows"
19692 fi
19693
19694 if test "$wants_win32" = 1 ; then
19695 USE_UNIX=0
19696 USE_WIN32=1
19697 $as_echo "#define __WIN32__ 1" >>confdefs.h
19698
19699 $as_echo "#define __WIN95__ 1" >>confdefs.h
19700
19701 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19702
19703 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19704
19705 $as_echo "#define STRICT 1" >>confdefs.h
19706
19707 fi
19708 if test "$doesnt_want_win32" = 1 ; then
19709 USE_UNIX=1
19710 USE_WIN32=0
19711 fi
19712
19713 if test "$USE_UNIX" = 1 ; then
19714 wxUSE_UNIX=yes
19715 $as_echo "#define __UNIX__ 1" >>confdefs.h
19716
19717 fi
19718
19719 case "${host}" in
19720 *-pc-os2_emx | *-pc-os2-emx )
19721 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19723 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19724 if ${ac_cv_lib_cExt_drand48+:} false; then :
19725 $as_echo_n "(cached) " >&6
19726 else
19727 ac_check_lib_save_LIBS=$LIBS
19728 LIBS="-lcExt $LIBS"
19729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19730 /* end confdefs.h. */
19731
19732 /* Override any GCC internal prototype to avoid an error.
19733 Use char because int might match the return type of a GCC
19734 builtin and then its argument prototype would still apply. */
19735 #ifdef __cplusplus
19736 extern "C"
19737 #endif
19738 char drand48 ();
19739 int
19740 main ()
19741 {
19742 return drand48 ();
19743 ;
19744 return 0;
19745 }
19746 _ACEOF
19747 if ac_fn_c_try_link "$LINENO"; then :
19748 ac_cv_lib_cExt_drand48=yes
19749 else
19750 ac_cv_lib_cExt_drand48=no
19751 fi
19752 rm -f core conftest.err conftest.$ac_objext \
19753 conftest$ac_exeext conftest.$ac_ext
19754 LIBS=$ac_check_lib_save_LIBS
19755 fi
19756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19757 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19758 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19759 LIBS="$LIBS -lcExt"
19760 fi
19761
19762 else
19763 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19764 fi
19765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19766 $as_echo_n "checking for gcc/libc version... " >&6; }
19767 if ${wx_cv_gccversion+:} false; then :
19768 $as_echo_n "(cached) " >&6
19769 else
19770
19771 if test "$cross_compiling" = yes; then :
19772 wx_cv_gccversion="EMX2"
19773
19774 else
19775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19776 /* end confdefs.h. */
19777
19778 #include <stdio.h>
19779
19780 int main()
19781 {
19782 FILE *f=fopen("conftestval", "w");
19783 if (!f) exit(1);
19784 fprintf(f,
19785 #if (__GNUC__ < 3)
19786 "EMX2"
19787 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19788 "EMX3"
19789 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19790 "Innotek5"
19791 #else
19792 "Innotek6"
19793 #endif
19794 );
19795 exit(0);
19796 }
19797
19798 _ACEOF
19799 if ac_fn_c_try_run "$LINENO"; then :
19800 wx_cv_gccversion=`cat conftestval`
19801 else
19802 wx_cv_gccversion="EMX2"
19803 fi
19804 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19805 conftest.$ac_objext conftest.beam conftest.$ac_ext
19806 fi
19807
19808
19809 fi
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19811 $as_echo "$wx_cv_gccversion" >&6; }
19812 if test "$wx_cv_gccversion" = "EMX2"; then
19813 LIBS="$LIBS -lstdcpp"
19814 LDFLAGS="$LDFLAGS -Zsysv-signals"
19815 else
19816 if test "$wx_cv_gccversion" = "EMX3"; then
19817 LIBS="$LIBS -lstdcxx -lgcc"
19818 LDFLAGS="$LDFLAGS -Zsysv-signals"
19819 else
19820 LIBS="$LIBS -lstdc++"
19821 fi
19822 fi
19823 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19825 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19826 wxUSE_OMF=yes
19827 enable_omf=yes
19828 fi
19829 ;;
19830 *)
19831
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19833 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19834 if ${ac_cv_string_strcasecmp+:} false; then :
19835 $as_echo_n "(cached) " >&6
19836 else
19837
19838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19839 /* end confdefs.h. */
19840
19841 #include <string.h>
19842
19843 int
19844 main ()
19845 {
19846
19847 strcasecmp("foo", "bar");
19848
19849 ;
19850 return 0;
19851 }
19852 _ACEOF
19853 if ac_fn_c_try_link "$LINENO"; then :
19854 ac_cv_string_strcasecmp=yes
19855 else
19856 ac_cv_string_strcasecmp=no
19857
19858 fi
19859 rm -f core conftest.err conftest.$ac_objext \
19860 conftest$ac_exeext conftest.$ac_ext
19861
19862 fi
19863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19864 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19865
19866 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19867 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19868
19869 else
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19871 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19872 if ${ac_cv_strings_strcasecmp+:} false; then :
19873 $as_echo_n "(cached) " >&6
19874 else
19875
19876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19877 /* end confdefs.h. */
19878
19879 #include <strings.h>
19880
19881 int
19882 main ()
19883 {
19884
19885 strcasecmp("foo", "bar");
19886
19887 ;
19888 return 0;
19889 }
19890 _ACEOF
19891 if ac_fn_c_try_link "$LINENO"; then :
19892 ac_cv_strings_strcasecmp=yes
19893 else
19894 ac_cv_strings_strcasecmp=no
19895
19896 fi
19897 rm -f core conftest.err conftest.$ac_objext \
19898 conftest$ac_exeext conftest.$ac_ext
19899
19900 fi
19901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19902 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19903
19904 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19905 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19906
19907 else
19908 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19909 fi
19910 fi
19911
19912 ;;
19913 esac
19914
19915
19916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19917 $as_echo_n "checking for ANSI C header files... " >&6; }
19918 if ${ac_cv_header_stdc+:} false; then :
19919 $as_echo_n "(cached) " >&6
19920 else
19921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19922 /* end confdefs.h. */
19923 #include <stdlib.h>
19924 #include <stdarg.h>
19925 #include <string.h>
19926 #include <float.h>
19927
19928 int
19929 main ()
19930 {
19931
19932 ;
19933 return 0;
19934 }
19935 _ACEOF
19936 if ac_fn_c_try_compile "$LINENO"; then :
19937 ac_cv_header_stdc=yes
19938 else
19939 ac_cv_header_stdc=no
19940 fi
19941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19942
19943 if test $ac_cv_header_stdc = yes; then
19944 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19946 /* end confdefs.h. */
19947 #include <string.h>
19948
19949 _ACEOF
19950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19951 $EGREP "memchr" >/dev/null 2>&1; then :
19952
19953 else
19954 ac_cv_header_stdc=no
19955 fi
19956 rm -f conftest*
19957
19958 fi
19959
19960 if test $ac_cv_header_stdc = yes; then
19961 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19963 /* end confdefs.h. */
19964 #include <stdlib.h>
19965
19966 _ACEOF
19967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19968 $EGREP "free" >/dev/null 2>&1; then :
19969
19970 else
19971 ac_cv_header_stdc=no
19972 fi
19973 rm -f conftest*
19974
19975 fi
19976
19977 if test $ac_cv_header_stdc = yes; then
19978 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19979 if test "$cross_compiling" = yes; then :
19980 :
19981 else
19982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19983 /* end confdefs.h. */
19984 #include <ctype.h>
19985 #include <stdlib.h>
19986 #if ((' ' & 0x0FF) == 0x020)
19987 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19988 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19989 #else
19990 # define ISLOWER(c) \
19991 (('a' <= (c) && (c) <= 'i') \
19992 || ('j' <= (c) && (c) <= 'r') \
19993 || ('s' <= (c) && (c) <= 'z'))
19994 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19995 #endif
19996
19997 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19998 int
19999 main ()
20000 {
20001 int i;
20002 for (i = 0; i < 256; i++)
20003 if (XOR (islower (i), ISLOWER (i))
20004 || toupper (i) != TOUPPER (i))
20005 return 2;
20006 return 0;
20007 }
20008 _ACEOF
20009 if ac_fn_c_try_run "$LINENO"; then :
20010
20011 else
20012 ac_cv_header_stdc=no
20013 fi
20014 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20015 conftest.$ac_objext conftest.beam conftest.$ac_ext
20016 fi
20017
20018 fi
20019 fi
20020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20021 $as_echo "$ac_cv_header_stdc" >&6; }
20022 if test $ac_cv_header_stdc = yes; then
20023
20024 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20025
20026 fi
20027
20028 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20029 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20030 inttypes.h stdint.h unistd.h
20031 do :
20032 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20033 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20034 "
20035 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20036 cat >>confdefs.h <<_ACEOF
20037 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20038 _ACEOF
20039
20040 fi
20041
20042 done
20043
20044
20045 for ac_header in langinfo.h wchar.h
20046 do :
20047 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20048 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20049 "
20050 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20051 cat >>confdefs.h <<_ACEOF
20052 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20053 _ACEOF
20054
20055 fi
20056
20057 done
20058
20059
20060 if test "$ac_cv_header_wchar_h" != "yes"; then
20061 for ac_header in wcstr.h
20062 do :
20063 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20064 "
20065 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20066 cat >>confdefs.h <<_ACEOF
20067 #define HAVE_WCSTR_H 1
20068 _ACEOF
20069
20070 fi
20071
20072 done
20073
20074 fi
20075
20076 case "${host}" in
20077 *-pc-os2_emx | *-pc-os2-emx )
20078 if test $ac_cv_header_langinfo_h = "yes" \
20079 -a \( "$wx_cv_gccversion" = "EMX2" \
20080 -o "$wx_cv_gccversion" = "EMX3" \
20081 -o "$wx_cv_gccversion" = "Innotek5" \); then
20082 LIBS="$LIBS -lintl"
20083 fi
20084 ;;
20085 esac
20086
20087 if test "$USE_UNIX" = 1 ; then
20088 for ac_header in sys/select.h
20089 do :
20090 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20091 "
20092 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20093 cat >>confdefs.h <<_ACEOF
20094 #define HAVE_SYS_SELECT_H 1
20095 _ACEOF
20096
20097 fi
20098
20099 done
20100
20101
20102 ac_ext=cpp
20103 ac_cpp='$CXXCPP $CPPFLAGS'
20104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20107
20108 for ac_header in cxxabi.h
20109 do :
20110 ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default
20111 "
20112 if test "x$ac_cv_header_cxxabi_h" = xyes; then :
20113 cat >>confdefs.h <<_ACEOF
20114 #define HAVE_CXXABI_H 1
20115 _ACEOF
20116
20117 fi
20118
20119 done
20120
20121 ac_ext=c
20122 ac_cpp='$CPP $CPPFLAGS'
20123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20126
20127 fi
20128
20129
20130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20131 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20132 if ${ac_cv_c_const+:} false; then :
20133 $as_echo_n "(cached) " >&6
20134 else
20135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20136 /* end confdefs.h. */
20137
20138 int
20139 main ()
20140 {
20141
20142 #ifndef __cplusplus
20143 /* Ultrix mips cc rejects this sort of thing. */
20144 typedef int charset[2];
20145 const charset cs = { 0, 0 };
20146 /* SunOS 4.1.1 cc rejects this. */
20147 char const *const *pcpcc;
20148 char **ppc;
20149 /* NEC SVR4.0.2 mips cc rejects this. */
20150 struct point {int x, y;};
20151 static struct point const zero = {0,0};
20152 /* AIX XL C 1.02.0.0 rejects this.
20153 It does not let you subtract one const X* pointer from another in
20154 an arm of an if-expression whose if-part is not a constant
20155 expression */
20156 const char *g = "string";
20157 pcpcc = &g + (g ? g-g : 0);
20158 /* HPUX 7.0 cc rejects these. */
20159 ++pcpcc;
20160 ppc = (char**) pcpcc;
20161 pcpcc = (char const *const *) ppc;
20162 { /* SCO 3.2v4 cc rejects this sort of thing. */
20163 char tx;
20164 char *t = &tx;
20165 char const *s = 0 ? (char *) 0 : (char const *) 0;
20166
20167 *t++ = 0;
20168 if (s) return 0;
20169 }
20170 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20171 int x[] = {25, 17};
20172 const int *foo = &x[0];
20173 ++foo;
20174 }
20175 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20176 typedef const int *iptr;
20177 iptr p = 0;
20178 ++p;
20179 }
20180 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20181 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20182 struct s { int j; const int *ap[3]; } bx;
20183 struct s *b = &bx; b->j = 5;
20184 }
20185 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20186 const int foo = 10;
20187 if (!foo) return 0;
20188 }
20189 return !cs[0] && !zero.x;
20190 #endif
20191
20192 ;
20193 return 0;
20194 }
20195 _ACEOF
20196 if ac_fn_c_try_compile "$LINENO"; then :
20197 ac_cv_c_const=yes
20198 else
20199 ac_cv_c_const=no
20200 fi
20201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20202 fi
20203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20204 $as_echo "$ac_cv_c_const" >&6; }
20205 if test $ac_cv_c_const = no; then
20206
20207 $as_echo "#define const /**/" >>confdefs.h
20208
20209 fi
20210
20211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20212 $as_echo_n "checking for inline... " >&6; }
20213 if ${ac_cv_c_inline+:} false; then :
20214 $as_echo_n "(cached) " >&6
20215 else
20216 ac_cv_c_inline=no
20217 for ac_kw in inline __inline__ __inline; do
20218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20219 /* end confdefs.h. */
20220 #ifndef __cplusplus
20221 typedef int foo_t;
20222 static $ac_kw foo_t static_foo () {return 0; }
20223 $ac_kw foo_t foo () {return 0; }
20224 #endif
20225
20226 _ACEOF
20227 if ac_fn_c_try_compile "$LINENO"; then :
20228 ac_cv_c_inline=$ac_kw
20229 fi
20230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20231 test "$ac_cv_c_inline" != no && break
20232 done
20233
20234 fi
20235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20236 $as_echo "$ac_cv_c_inline" >&6; }
20237
20238 case $ac_cv_c_inline in
20239 inline | yes) ;;
20240 *)
20241 case $ac_cv_c_inline in
20242 no) ac_val=;;
20243 *) ac_val=$ac_cv_c_inline;;
20244 esac
20245 cat >>confdefs.h <<_ACEOF
20246 #ifndef __cplusplus
20247 #define inline $ac_val
20248 #endif
20249 _ACEOF
20250 ;;
20251 esac
20252
20253
20254 # The cast to long int works around a bug in the HP C Compiler
20255 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20256 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20257 # This bug is HP SR number 8606223364.
20258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20259 $as_echo_n "checking size of short... " >&6; }
20260 if ${ac_cv_sizeof_short+:} false; then :
20261 $as_echo_n "(cached) " >&6
20262 else
20263 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20264
20265 else
20266 if test "$ac_cv_type_short" = yes; then
20267 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20269 as_fn_error 77 "cannot compute sizeof (short)
20270 See \`config.log' for more details" "$LINENO" 5; }
20271 else
20272 ac_cv_sizeof_short=0
20273 fi
20274 fi
20275
20276 fi
20277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20278 $as_echo "$ac_cv_sizeof_short" >&6; }
20279
20280
20281
20282 cat >>confdefs.h <<_ACEOF
20283 #define SIZEOF_SHORT $ac_cv_sizeof_short
20284 _ACEOF
20285
20286
20287 # The cast to long int works around a bug in the HP C Compiler
20288 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20289 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20290 # This bug is HP SR number 8606223364.
20291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20292 $as_echo_n "checking size of void *... " >&6; }
20293 if ${ac_cv_sizeof_void_p+:} false; then :
20294 $as_echo_n "(cached) " >&6
20295 else
20296 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20297
20298 else
20299 if test "$ac_cv_type_void_p" = yes; then
20300 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20302 as_fn_error 77 "cannot compute sizeof (void *)
20303 See \`config.log' for more details" "$LINENO" 5; }
20304 else
20305 ac_cv_sizeof_void_p=0
20306 fi
20307 fi
20308
20309 fi
20310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20311 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20312
20313
20314
20315 cat >>confdefs.h <<_ACEOF
20316 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20317 _ACEOF
20318
20319
20320 # The cast to long int works around a bug in the HP C Compiler
20321 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20322 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20323 # This bug is HP SR number 8606223364.
20324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20325 $as_echo_n "checking size of int... " >&6; }
20326 if ${ac_cv_sizeof_int+:} false; then :
20327 $as_echo_n "(cached) " >&6
20328 else
20329 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20330
20331 else
20332 if test "$ac_cv_type_int" = yes; then
20333 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20335 as_fn_error 77 "cannot compute sizeof (int)
20336 See \`config.log' for more details" "$LINENO" 5; }
20337 else
20338 ac_cv_sizeof_int=0
20339 fi
20340 fi
20341
20342 fi
20343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20344 $as_echo "$ac_cv_sizeof_int" >&6; }
20345
20346
20347
20348 cat >>confdefs.h <<_ACEOF
20349 #define SIZEOF_INT $ac_cv_sizeof_int
20350 _ACEOF
20351
20352
20353 # The cast to long int works around a bug in the HP C Compiler
20354 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20355 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20356 # This bug is HP SR number 8606223364.
20357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20358 $as_echo_n "checking size of long... " >&6; }
20359 if ${ac_cv_sizeof_long+:} false; then :
20360 $as_echo_n "(cached) " >&6
20361 else
20362 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20363
20364 else
20365 if test "$ac_cv_type_long" = yes; then
20366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20368 as_fn_error 77 "cannot compute sizeof (long)
20369 See \`config.log' for more details" "$LINENO" 5; }
20370 else
20371 ac_cv_sizeof_long=0
20372 fi
20373 fi
20374
20375 fi
20376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20377 $as_echo "$ac_cv_sizeof_long" >&6; }
20378
20379
20380
20381 cat >>confdefs.h <<_ACEOF
20382 #define SIZEOF_LONG $ac_cv_sizeof_long
20383 _ACEOF
20384
20385
20386 # The cast to long int works around a bug in the HP C Compiler
20387 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20388 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20389 # This bug is HP SR number 8606223364.
20390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20391 $as_echo_n "checking size of size_t... " >&6; }
20392 if ${ac_cv_sizeof_size_t+:} false; then :
20393 $as_echo_n "(cached) " >&6
20394 else
20395 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20396
20397 else
20398 if test "$ac_cv_type_size_t" = yes; then
20399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20401 as_fn_error 77 "cannot compute sizeof (size_t)
20402 See \`config.log' for more details" "$LINENO" 5; }
20403 else
20404 ac_cv_sizeof_size_t=0
20405 fi
20406 fi
20407
20408 fi
20409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20410 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20411
20412
20413
20414 cat >>confdefs.h <<_ACEOF
20415 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20416 _ACEOF
20417
20418
20419
20420 case "${host}" in
20421 arm-*-linux* )
20422 # The cast to long int works around a bug in the HP C Compiler
20423 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20424 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20425 # This bug is HP SR number 8606223364.
20426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20427 $as_echo_n "checking size of long long... " >&6; }
20428 if ${ac_cv_sizeof_long_long+:} false; then :
20429 $as_echo_n "(cached) " >&6
20430 else
20431 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20432
20433 else
20434 if test "$ac_cv_type_long_long" = yes; then
20435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20437 as_fn_error 77 "cannot compute sizeof (long long)
20438 See \`config.log' for more details" "$LINENO" 5; }
20439 else
20440 ac_cv_sizeof_long_long=0
20441 fi
20442 fi
20443
20444 fi
20445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20446 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20447
20448
20449
20450 cat >>confdefs.h <<_ACEOF
20451 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20452 _ACEOF
20453
20454
20455 ;;
20456 *-hp-hpux* )
20457 # The cast to long int works around a bug in the HP C Compiler
20458 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20459 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20460 # This bug is HP SR number 8606223364.
20461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20462 $as_echo_n "checking size of long long... " >&6; }
20463 if ${ac_cv_sizeof_long_long+:} false; then :
20464 $as_echo_n "(cached) " >&6
20465 else
20466 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20467
20468 else
20469 if test "$ac_cv_type_long_long" = yes; then
20470 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20472 as_fn_error 77 "cannot compute sizeof (long long)
20473 See \`config.log' for more details" "$LINENO" 5; }
20474 else
20475 ac_cv_sizeof_long_long=0
20476 fi
20477 fi
20478
20479 fi
20480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20481 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20482
20483
20484
20485 cat >>confdefs.h <<_ACEOF
20486 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20487 _ACEOF
20488
20489
20490 if test "$ac_cv_sizeof_long_long" != 0; then
20491 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20492 fi
20493 ;;
20494 * )
20495 # The cast to long int works around a bug in the HP C Compiler
20496 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20497 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20498 # This bug is HP SR number 8606223364.
20499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20500 $as_echo_n "checking size of long long... " >&6; }
20501 if ${ac_cv_sizeof_long_long+:} false; then :
20502 $as_echo_n "(cached) " >&6
20503 else
20504 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20505
20506 else
20507 if test "$ac_cv_type_long_long" = yes; then
20508 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20510 as_fn_error 77 "cannot compute sizeof (long long)
20511 See \`config.log' for more details" "$LINENO" 5; }
20512 else
20513 ac_cv_sizeof_long_long=0
20514 fi
20515 fi
20516
20517 fi
20518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20519 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20520
20521
20522
20523 cat >>confdefs.h <<_ACEOF
20524 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20525 _ACEOF
20526
20527
20528 esac
20529
20530 # The cast to long int works around a bug in the HP C Compiler
20531 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20532 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20533 # This bug is HP SR number 8606223364.
20534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20535 $as_echo_n "checking size of wchar_t... " >&6; }
20536 if ${ac_cv_sizeof_wchar_t+:} false; then :
20537 $as_echo_n "(cached) " >&6
20538 else
20539 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20540 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20541 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20542 # error \"fake wchar_t\"
20543 #endif
20544 #ifdef HAVE_WCHAR_H
20545 # ifdef __CYGWIN__
20546 # include <stddef.h>
20547 # endif
20548 # include <wchar.h>
20549 #endif
20550 #ifdef HAVE_STDLIB_H
20551 # include <stdlib.h>
20552 #endif
20553 #include <stdio.h>
20554
20555
20556 "; then :
20557
20558 else
20559 if test "$ac_cv_type_wchar_t" = yes; then
20560 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20562 as_fn_error 77 "cannot compute sizeof (wchar_t)
20563 See \`config.log' for more details" "$LINENO" 5; }
20564 else
20565 ac_cv_sizeof_wchar_t=0
20566 fi
20567 fi
20568
20569 fi
20570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20571 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20572
20573
20574
20575 cat >>confdefs.h <<_ACEOF
20576 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20577 _ACEOF
20578
20579
20580 if test "$ac_cv_sizeof_wchar_t" = 0; then
20581 as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
20582 fi
20583 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20584
20585
20586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20587 $as_echo_n "checking for va_copy... " >&6; }
20588 if ${wx_cv_func_va_copy+:} false; then :
20589 $as_echo_n "(cached) " >&6
20590 else
20591
20592 ac_ext=cpp
20593 ac_cpp='$CXXCPP $CPPFLAGS'
20594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20597
20598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20599 /* end confdefs.h. */
20600
20601
20602 #include <stdarg.h>
20603 void foo(char *f, ...)
20604 {
20605 va_list ap1, ap2;
20606 va_start(ap1, f);
20607 va_copy(ap2, ap1);
20608 va_end(ap2);
20609 va_end(ap1);
20610 }
20611 int main()
20612 {
20613 foo("hi", 17);
20614 return 0;
20615 }
20616
20617 _ACEOF
20618 if ac_fn_cxx_try_link "$LINENO"; then :
20619 wx_cv_func_va_copy=yes
20620 else
20621 wx_cv_func_va_copy=no
20622
20623 fi
20624 rm -f core conftest.err conftest.$ac_objext \
20625 conftest$ac_exeext conftest.$ac_ext
20626 ac_ext=c
20627 ac_cpp='$CPP $CPPFLAGS'
20628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20631
20632
20633
20634 fi
20635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20636 $as_echo "$wx_cv_func_va_copy" >&6; }
20637
20638 if test $wx_cv_func_va_copy = "yes"; then
20639 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20640
20641 else
20642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20643 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20644 if ${wx_cv_type_va_list_lvalue+:} false; then :
20645 $as_echo_n "(cached) " >&6
20646 else
20647
20648 if test "$cross_compiling" = yes; then :
20649 wx_cv_type_va_list_lvalue=yes
20650
20651 else
20652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20653 /* end confdefs.h. */
20654
20655
20656 #include <stdarg.h>
20657 int foo(char *f, ...)
20658 {
20659 va_list ap1, ap2;
20660 va_start(ap1, f);
20661 ap2 = ap1;
20662 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20663 return 1;
20664 va_end(ap2);
20665 va_end(ap1);
20666 return 0;
20667 }
20668 int main()
20669 {
20670 return foo("hi", 17);
20671 }
20672
20673 _ACEOF
20674 if ac_fn_c_try_run "$LINENO"; then :
20675 wx_cv_type_va_list_lvalue=yes
20676 else
20677 wx_cv_type_va_list_lvalue=no
20678 fi
20679 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20680 conftest.$ac_objext conftest.beam conftest.$ac_ext
20681 fi
20682
20683
20684
20685 fi
20686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20687 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20688
20689 if test $wx_cv_type_va_list_lvalue != "yes"; then
20690 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20691
20692 fi
20693 fi
20694
20695 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20696
20697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20698 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20699 if ${wx_cv_have_variadic_macros+:} false; then :
20700 $as_echo_n "(cached) " >&6
20701 else
20702
20703 ac_ext=cpp
20704 ac_cpp='$CXXCPP $CPPFLAGS'
20705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20708
20709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20710 /* end confdefs.h. */
20711
20712
20713 #include <stdio.h>
20714 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20715
20716 int
20717 main ()
20718 {
20719
20720 test("%s %d %p", "test", 1, 0);
20721
20722
20723 ;
20724 return 0;
20725 }
20726 _ACEOF
20727 if ac_fn_cxx_try_compile "$LINENO"; then :
20728 wx_cv_have_variadic_macros=yes
20729 else
20730 wx_cv_have_variadic_macros=no
20731
20732 fi
20733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20734 ac_ext=c
20735 ac_cpp='$CPP $CPPFLAGS'
20736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20739
20740
20741
20742 fi
20743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20744 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20745
20746 if test $wx_cv_have_variadic_macros = "yes"; then
20747 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20748
20749 fi
20750
20751 fi
20752
20753 LARGEFILE_CPPFLAGS=
20754 # Check whether --enable-largefile was given.
20755 if test "${enable_largefile+set}" = set; then :
20756 enableval=$enable_largefile;
20757 fi
20758
20759 if test "$enable_largefile" != no; then
20760 wx_largefile=no
20761
20762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20763 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20764 if ${ac_cv_sys_file_offset_bits+:} false; then :
20765 $as_echo_n "(cached) " >&6
20766 else
20767
20768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20769 /* end confdefs.h. */
20770 #define _FILE_OFFSET_BITS 64
20771 #include <sys/types.h>
20772 int
20773 main ()
20774 {
20775 typedef struct {
20776 unsigned int field: sizeof(off_t) == 8;
20777 } wxlf;
20778
20779 ;
20780 return 0;
20781 }
20782 _ACEOF
20783 if ac_fn_c_try_compile "$LINENO"; then :
20784 ac_cv_sys_file_offset_bits=64
20785 else
20786 ac_cv_sys_file_offset_bits=no
20787 fi
20788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20789
20790
20791 fi
20792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20793 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20794
20795 if test "$ac_cv_sys_file_offset_bits" != no; then
20796 wx_largefile=yes
20797 cat >>confdefs.h <<_ACEOF
20798 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20799 _ACEOF
20800
20801 fi
20802
20803 if test "x$wx_largefile" != "xyes"; then
20804
20805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20806 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20807 if ${ac_cv_sys_large_files+:} false; then :
20808 $as_echo_n "(cached) " >&6
20809 else
20810
20811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20812 /* end confdefs.h. */
20813 #define _LARGE_FILES 1
20814 #include <sys/types.h>
20815 int
20816 main ()
20817 {
20818 typedef struct {
20819 unsigned int field: sizeof(off_t) == 8;
20820 } wxlf;
20821
20822 ;
20823 return 0;
20824 }
20825 _ACEOF
20826 if ac_fn_c_try_compile "$LINENO"; then :
20827 ac_cv_sys_large_files=1
20828 else
20829 ac_cv_sys_large_files=no
20830 fi
20831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20832
20833
20834 fi
20835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20836 $as_echo "$ac_cv_sys_large_files" >&6; }
20837
20838 if test "$ac_cv_sys_large_files" != no; then
20839 wx_largefile=yes
20840 cat >>confdefs.h <<_ACEOF
20841 #define _LARGE_FILES $ac_cv_sys_large_files
20842 _ACEOF
20843
20844 fi
20845
20846 fi
20847
20848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20849 $as_echo_n "checking if large file support is available... " >&6; }
20850 if test "x$wx_largefile" = "xyes"; then
20851 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20852
20853 fi
20854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20855 $as_echo "$wx_largefile" >&6; }
20856 fi
20857
20858 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20859 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
20860 elif test "$ac_cv_sys_large_files" = 1; then
20861 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
20862 fi
20863
20864 if test -n "$LARGEFILE_CPPFLAGS"; then
20865 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20866
20867 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20869 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20870 if ${wx_cv_STDC_EXT_required+:} false; then :
20871 $as_echo_n "(cached) " >&6
20872 else
20873
20874 ac_ext=cpp
20875 ac_cpp='$CXXCPP $CPPFLAGS'
20876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20879
20880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20881 /* end confdefs.h. */
20882
20883 int
20884 main ()
20885 {
20886
20887 #ifndef __STDC_EXT__
20888 choke me
20889 #endif
20890
20891 ;
20892 return 0;
20893 }
20894 _ACEOF
20895 if ac_fn_cxx_try_compile "$LINENO"; then :
20896 wx_cv_STDC_EXT_required=no
20897 else
20898 wx_cv_STDC_EXT_required=yes
20899
20900 fi
20901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20902 ac_ext=c
20903 ac_cpp='$CPP $CPPFLAGS'
20904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20907
20908
20909
20910 fi
20911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20912 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20913 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20914 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20915 fi
20916 fi
20917 fi
20918
20919 ac_ext=cpp
20920 ac_cpp='$CXXCPP $CPPFLAGS'
20921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20924
20925 old_CPPFLAGS="$CPPFLAGS"
20926 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20928 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20929 if ${ac_cv_sys_largefile_source+:} false; then :
20930 $as_echo_n "(cached) " >&6
20931 else
20932 while :; do
20933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20934 /* end confdefs.h. */
20935 #include <sys/types.h> /* for off_t */
20936 #include <stdio.h>
20937 int
20938 main ()
20939 {
20940 int (*fp) (FILE *, off_t, int) = fseeko;
20941 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20942 ;
20943 return 0;
20944 }
20945 _ACEOF
20946 if ac_fn_cxx_try_link "$LINENO"; then :
20947 ac_cv_sys_largefile_source=no; break
20948 fi
20949 rm -f core conftest.err conftest.$ac_objext \
20950 conftest$ac_exeext conftest.$ac_ext
20951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20952 /* end confdefs.h. */
20953 #define _LARGEFILE_SOURCE 1
20954 #include <sys/types.h> /* for off_t */
20955 #include <stdio.h>
20956 int
20957 main ()
20958 {
20959 int (*fp) (FILE *, off_t, int) = fseeko;
20960 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20961 ;
20962 return 0;
20963 }
20964 _ACEOF
20965 if ac_fn_cxx_try_link "$LINENO"; then :
20966 ac_cv_sys_largefile_source=1; break
20967 fi
20968 rm -f core conftest.err conftest.$ac_objext \
20969 conftest$ac_exeext conftest.$ac_ext
20970 ac_cv_sys_largefile_source=unknown
20971 break
20972 done
20973 fi
20974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20975 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20976 case $ac_cv_sys_largefile_source in #(
20977 no | unknown) ;;
20978 *)
20979 cat >>confdefs.h <<_ACEOF
20980 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20981 _ACEOF
20982 ;;
20983 esac
20984 rm -rf conftest*
20985
20986 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20987 # in glibc 2.1.3, but that breaks too many other things.
20988 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20989 if test $ac_cv_sys_largefile_source != unknown; then
20990
20991 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20992
20993 fi
20994
20995 CPPFLAGS="$old_CPPFLAGS"
20996 ac_ext=c
20997 ac_cpp='$CPP $CPPFLAGS'
20998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21001
21002 if test "$ac_cv_sys_largefile_source" != no; then
21003 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21004 fi
21005
21006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
21007 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
21008 if ${ac_cv_c_bigendian+:} false; then :
21009 $as_echo_n "(cached) " >&6
21010 else
21011 ac_cv_c_bigendian=unknown
21012 # See if sys/param.h defines the BYTE_ORDER macro.
21013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21014 /* end confdefs.h. */
21015 #include <sys/types.h>
21016 #include <sys/param.h>
21017 int
21018 main ()
21019 {
21020
21021 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21022 bogus endian macros
21023 #endif
21024 ;
21025 return 0;
21026 }
21027 _ACEOF
21028 if ac_fn_c_try_compile "$LINENO"; then :
21029 # It does; now see whether it defined to BIG_ENDIAN or not.
21030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21031 /* end confdefs.h. */
21032 #include <sys/types.h>
21033 #include <sys/param.h>
21034 int
21035 main ()
21036 {
21037
21038 #if BYTE_ORDER != BIG_ENDIAN
21039 not big endian
21040 #endif
21041 ;
21042 return 0;
21043 }
21044 _ACEOF
21045 if ac_fn_c_try_compile "$LINENO"; then :
21046 ac_cv_c_bigendian=yes
21047 else
21048 ac_cv_c_bigendian=no
21049 fi
21050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21051 fi
21052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21053 if test $ac_cv_c_bigendian = unknown; then
21054 if test "$cross_compiling" = yes; then :
21055 ac_cv_c_bigendian=unknown
21056 else
21057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21058 /* end confdefs.h. */
21059 main () {
21060 /* Are we little or big endian? From Harbison&Steele. */
21061 union
21062 {
21063 long l;
21064 char c[sizeof (long)];
21065 } u;
21066 u.l = 1;
21067 exit (u.c[sizeof (long) - 1] == 1);
21068 }
21069 _ACEOF
21070 if ac_fn_c_try_run "$LINENO"; then :
21071 ac_cv_c_bigendian=no
21072 else
21073 ac_cv_c_bigendian=yes
21074 fi
21075 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21076 conftest.$ac_objext conftest.beam conftest.$ac_ext
21077 fi
21078
21079 fi
21080 fi
21081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21082 $as_echo "$ac_cv_c_bigendian" >&6; }
21083 if test $ac_cv_c_bigendian = unknown; then
21084 { $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
21085 $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;}
21086 fi
21087 if test $ac_cv_c_bigendian = yes; then
21088 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21089
21090 fi
21091
21092
21093
21094
21095 ac_ext=cpp
21096 ac_cpp='$CXXCPP $CPPFLAGS'
21097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21100
21101
21102 for ac_header in iostream
21103 do :
21104 ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
21105 "
21106 if test "x$ac_cv_header_iostream" = xyes; then :
21107 cat >>confdefs.h <<_ACEOF
21108 #define HAVE_IOSTREAM 1
21109 _ACEOF
21110
21111 fi
21112
21113 done
21114
21115
21116 if test "$ac_cv_header_iostream" = "yes" ; then
21117 :
21118 else
21119 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21120
21121 fi
21122
21123 ac_ext=c
21124 ac_cpp='$CPP $CPPFLAGS'
21125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21128
21129
21130
21131
21132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21133 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21134 if ${wx_cv_explicit+:} false; then :
21135 $as_echo_n "(cached) " >&6
21136 else
21137
21138
21139 ac_ext=cpp
21140 ac_cpp='$CXXCPP $CPPFLAGS'
21141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21144
21145
21146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21147 /* end confdefs.h. */
21148
21149 class Foo { public: explicit Foo(int) {} };
21150
21151 int
21152 main ()
21153 {
21154
21155 return 0;
21156
21157 ;
21158 return 0;
21159 }
21160 _ACEOF
21161 if ac_fn_cxx_try_compile "$LINENO"; then :
21162
21163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21164 /* end confdefs.h. */
21165
21166 class Foo { public: explicit Foo(int) {} };
21167 static void TakeFoo(const Foo& foo) { }
21168
21169 int
21170 main ()
21171 {
21172
21173 TakeFoo(17);
21174 return 0;
21175
21176 ;
21177 return 0;
21178 }
21179 _ACEOF
21180 if ac_fn_cxx_try_compile "$LINENO"; then :
21181 wx_cv_explicit=no
21182 else
21183 wx_cv_explicit=yes
21184
21185 fi
21186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21187
21188 else
21189 wx_cv_explicit=no
21190
21191 fi
21192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21193
21194 ac_ext=c
21195 ac_cpp='$CPP $CPPFLAGS'
21196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21199
21200
21201 fi
21202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21203 $as_echo "$wx_cv_explicit" >&6; }
21204
21205 if test "$wx_cv_explicit" = "yes"; then
21206 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21207
21208 fi
21209
21210
21211 if test "x$SUNCXX" = xyes; then
21212 CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21213 fi
21214
21215 if test "x$SUNCC" = xyes; then
21216 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21217 fi
21218
21219 if test "x$SGICC" = "xyes"; then
21220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21221 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21222 if ${wx_cv_prog_sgicc744+:} false; then :
21223 $as_echo_n "(cached) " >&6
21224 else
21225
21226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21227 /* end confdefs.h. */
21228
21229 int
21230 main ()
21231 {
21232
21233 #if _SGI_COMPILER_VERSION >= 744
21234 chock me: mipsPro is 7.4.4 or later
21235 #endif
21236
21237 ;
21238 return 0;
21239 }
21240 _ACEOF
21241 if ac_fn_c_try_compile "$LINENO"; then :
21242 wx_cv_prog_sgicc744=no
21243 else
21244 wx_cv_prog_sgicc744=yes
21245
21246 fi
21247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21248
21249
21250 fi
21251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21252 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21253
21254 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21255 CFLAGS="-woff 3970 $CFLAGS"
21256 fi
21257 fi
21258 if test "x$SGICXX" = "xyes"; then
21259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21260 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21261 if ${wx_cv_prog_sgicxx744+:} false; then :
21262 $as_echo_n "(cached) " >&6
21263 else
21264
21265 ac_ext=cpp
21266 ac_cpp='$CXXCPP $CPPFLAGS'
21267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21270
21271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21272 /* end confdefs.h. */
21273
21274 int
21275 main ()
21276 {
21277
21278 #if _SGI_COMPILER_VERSION >= 744
21279 chock me: mipsPro is 7.4.4 or later
21280 #endif
21281
21282 ;
21283 return 0;
21284 }
21285 _ACEOF
21286 if ac_fn_cxx_try_compile "$LINENO"; then :
21287 wx_cv_prog_sgicxx744=no
21288 else
21289 wx_cv_prog_sgicxx744=yes
21290
21291 fi
21292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21293 ac_ext=c
21294 ac_cpp='$CPP $CPPFLAGS'
21295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21298
21299
21300
21301 fi
21302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21303 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21304
21305 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21306 CXXFLAGS="-woff 3970 $CXXFLAGS"
21307 fi
21308 fi
21309
21310 if test "x$HPCC" = "xyes"; then
21311 CFLAGS="+W 2011,2450 $CFLAGS"
21312 fi
21313 if test "x$HPCXX" = "xyes"; then
21314 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
21315 fi
21316
21317 if test "x$COMPAQCXX" = "xyes"; then
21318 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21319 fi
21320
21321 ac_ext=cpp
21322 ac_cpp='$CXXCPP $CPPFLAGS'
21323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21326
21327
21328 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21329 if test "$wxUSE_UNICODE" = "yes"; then
21330 std_string="std::wstring"
21331 char_type="wchar_t"
21332 else
21333 std_string="std::string"
21334 char_type="char"
21335 fi
21336
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21338 $as_echo_n "checking for $std_string in <string>... " >&6; }
21339 if ${wx_cv_class_stdstring+:} false; then :
21340 $as_echo_n "(cached) " >&6
21341 else
21342
21343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21344 /* end confdefs.h. */
21345 #include <string>
21346 int
21347 main ()
21348 {
21349 $std_string foo;
21350 ;
21351 return 0;
21352 }
21353 _ACEOF
21354 if ac_fn_cxx_try_compile "$LINENO"; then :
21355 wx_cv_class_stdstring=yes
21356 else
21357 wx_cv_class_stdstring=no
21358
21359 fi
21360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21361
21362
21363 fi
21364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21365 $as_echo "$wx_cv_class_stdstring" >&6; }
21366
21367 if test "$wx_cv_class_stdstring" = yes; then
21368 if test "$wxUSE_UNICODE" = "yes"; then
21369 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21370
21371 fi
21372 else
21373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21374 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21375 if ${wx_cv_class_stdbasicstring+:} false; then :
21376 $as_echo_n "(cached) " >&6
21377 else
21378
21379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21380 /* end confdefs.h. */
21381
21382 #ifdef HAVE_WCHAR_H
21383 # ifdef __CYGWIN__
21384 # include <stddef.h>
21385 # endif
21386 # include <wchar.h>
21387 #endif
21388 #ifdef HAVE_STDLIB_H
21389 # include <stdlib.h>
21390 #endif
21391 #include <stdio.h>
21392 #include <string>
21393
21394 int
21395 main ()
21396 {
21397 std::basic_string<$char_type> foo;
21398 const $char_type* dummy = foo.c_str();
21399 ;
21400 return 0;
21401 }
21402 _ACEOF
21403 if ac_fn_cxx_try_compile "$LINENO"; then :
21404 wx_cv_class_stdbasicstring=yes
21405 else
21406 wx_cv_class_stdbasicstring=no
21407
21408 fi
21409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21410
21411
21412 fi
21413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21414 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21415
21416 if test "$wx_cv_class_stdbasicstring" != yes; then
21417 if test "$wxUSE_STL" = "yes"; then
21418 as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21419 elif test "$wxUSE_STD_STRING" = "yes"; then
21420 as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21421 else
21422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21423 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21424 wxUSE_STD_STRING=no
21425 fi
21426 fi
21427 fi
21428 fi
21429
21430 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21431 ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21432 "
21433 if test "x$ac_cv_type_std__istream" = xyes; then :
21434
21435 cat >>confdefs.h <<_ACEOF
21436 #define HAVE_STD__ISTREAM 1
21437 _ACEOF
21438
21439
21440 else
21441 wxUSE_STD_IOSTREAM=no
21442 fi
21443 ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21444 "
21445 if test "x$ac_cv_type_std__ostream" = xyes; then :
21446
21447 cat >>confdefs.h <<_ACEOF
21448 #define HAVE_STD__OSTREAM 1
21449 _ACEOF
21450
21451
21452 else
21453 wxUSE_STD_IOSTREAM=no
21454 fi
21455
21456
21457 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21458 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21459 as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21460 else
21461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21462 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21463 fi
21464 fi
21465 fi
21466
21467 if test "$wxUSE_STL" = "yes"; then
21468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21469 $as_echo_n "checking for basic STL functionality... " >&6; }
21470 if ${wx_cv_lib_stl+:} false; then :
21471 $as_echo_n "(cached) " >&6
21472 else
21473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21474 /* end confdefs.h. */
21475 #include <string>
21476 #include <functional>
21477 #include <algorithm>
21478 #include <vector>
21479 #include <list>
21480 int
21481 main ()
21482 {
21483 std::vector<int> moo;
21484 std::list<int> foo;
21485 std::vector<int>::iterator it =
21486 std::find_if(moo.begin(), moo.end(),
21487 std::bind2nd(std::less<int>(), 3));
21488 ;
21489 return 0;
21490 }
21491 _ACEOF
21492 if ac_fn_cxx_try_compile "$LINENO"; then :
21493 wx_cv_lib_stl=yes
21494 else
21495 wx_cv_lib_stl=no
21496
21497 fi
21498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21499
21500 fi
21501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21502 $as_echo "$wx_cv_lib_stl" >&6; }
21503
21504 if test "$wx_cv_lib_stl" != yes; then
21505 as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21506 fi
21507
21508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21509 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21510 if ${wx_cv_func_stdstring_compare+:} false; then :
21511 $as_echo_n "(cached) " >&6
21512 else
21513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21514 /* end confdefs.h. */
21515 #include <string>
21516 int
21517 main ()
21518 {
21519 std::string foo, bar;
21520 foo.compare(bar);
21521 foo.compare(1, 1, bar);
21522 foo.compare(1, 1, bar, 1, 1);
21523 foo.compare("");
21524 foo.compare(1, 1, "");
21525 foo.compare(1, 1, "", 2);
21526 ;
21527 return 0;
21528 }
21529 _ACEOF
21530 if ac_fn_cxx_try_compile "$LINENO"; then :
21531 wx_cv_func_stdstring_compare=yes
21532 else
21533 wx_cv_func_stdstring_compare=no
21534
21535 fi
21536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21537
21538 fi
21539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21540 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21541
21542 if test "$wx_cv_func_stdstring_compare" = yes; then
21543 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21544
21545 fi
21546
21547 if test "$wx_cv_class_gnuhashmapset" = yes; then
21548 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21549
21550 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21551
21552 fi
21553
21554 ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21555
21556 "
21557 if test "x$ac_cv_header_unordered_map" = xyes; then :
21558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21559 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21560 if ${wx_cv_class_stdunorderedmapset+:} false; then :
21561 $as_echo_n "(cached) " >&6
21562 else
21563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21564 /* end confdefs.h. */
21565 #include <unordered_map>
21566 #include <unordered_set>
21567 int
21568 main ()
21569 {
21570 std::unordered_map<double*, char*> test1;
21571 std::unordered_set<char*> test2;
21572 ;
21573 return 0;
21574 }
21575 _ACEOF
21576 if ac_fn_cxx_try_compile "$LINENO"; then :
21577 wx_cv_class_stdunorderedmapset=yes
21578 else
21579 wx_cv_class_stdunorderedmapset=no
21580 fi
21581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21582
21583
21584 fi
21585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21586 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21587 fi
21588
21589
21590
21591 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21592 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21593
21594 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21595
21596 else
21597 ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21598
21599 "
21600 if test "x$ac_cv_header_tr1_unordered_map" = xyes; then :
21601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21602 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21603 if ${wx_cv_class_tr1unorderedmapset+:} false; then :
21604 $as_echo_n "(cached) " >&6
21605 else
21606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21607 /* end confdefs.h. */
21608 #include <tr1/unordered_map>
21609 #include <tr1/unordered_set>
21610 int
21611 main ()
21612 {
21613 std::tr1::unordered_map<double*, char*> test1;
21614 std::tr1::unordered_set<char*> test2;
21615 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21616 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21617 #endif
21618 ;
21619 return 0;
21620 }
21621 _ACEOF
21622 if ac_fn_cxx_try_compile "$LINENO"; then :
21623 wx_cv_class_tr1unorderedmapset=yes
21624 else
21625 wx_cv_class_tr1unorderedmapset=no
21626 fi
21627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21628
21629
21630 fi
21631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21632 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21633 fi
21634
21635
21636
21637 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21638 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21639
21640 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21641
21642 else
21643 ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
21644
21645 "
21646 if test "x$ac_cv_header_hash_map" = xyes; then :
21647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21648 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21649 if ${wx_cv_class_stdhashmapset+:} false; then :
21650 $as_echo_n "(cached) " >&6
21651 else
21652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21653 /* end confdefs.h. */
21654 #include <hash_map>
21655 #include <hash_set>
21656 int
21657 main ()
21658 {
21659 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21660 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21661 ;
21662 return 0;
21663 }
21664 _ACEOF
21665 if ac_fn_cxx_try_compile "$LINENO"; then :
21666 wx_cv_class_stdhashmapset=yes
21667 else
21668 wx_cv_class_stdhashmapset=no
21669 fi
21670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21671
21672
21673 fi
21674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21675 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21676 fi
21677
21678
21679
21680 if test "$wx_cv_class_stdhashmapset" = yes; then
21681 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21682
21683 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21684
21685 fi
21686
21687 ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21688
21689 "
21690 if test "x$ac_cv_header_ext_hash_map" = xyes; then :
21691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21692 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21693 if ${wx_cv_class_gnuhashmapset+:} false; then :
21694 $as_echo_n "(cached) " >&6
21695 else
21696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21697 /* end confdefs.h. */
21698 #include <ext/hash_map>
21699 #include <ext/hash_set>
21700 int
21701 main ()
21702 {
21703 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21704 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21705 ;
21706 return 0;
21707 }
21708 _ACEOF
21709 if ac_fn_cxx_try_compile "$LINENO"; then :
21710 wx_cv_class_gnuhashmapset=yes
21711 else
21712 wx_cv_class_gnuhashmapset=no
21713 fi
21714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21715
21716
21717 fi
21718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21719 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21720 fi
21721
21722
21723
21724 fi
21725 fi
21726 fi
21727
21728 ac_ext=cpp
21729 ac_cpp='$CXXCPP $CPPFLAGS'
21730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21734 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21735 if test -z "$CXXCPP"; then
21736 if ${ac_cv_prog_CXXCPP+:} false; then :
21737 $as_echo_n "(cached) " >&6
21738 else
21739 # Double quotes because CXXCPP needs to be expanded
21740 for CXXCPP in "$CXX -E" "/lib/cpp"
21741 do
21742 ac_preproc_ok=false
21743 for ac_cxx_preproc_warn_flag in '' yes
21744 do
21745 # Use a header file that comes with gcc, so configuring glibc
21746 # with a fresh cross-compiler works.
21747 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21748 # <limits.h> exists even on freestanding compilers.
21749 # On the NeXT, cc -E runs the code through the compiler's parser,
21750 # not just through cpp. "Syntax error" is here to catch this case.
21751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21752 /* end confdefs.h. */
21753 #ifdef __STDC__
21754 # include <limits.h>
21755 #else
21756 # include <assert.h>
21757 #endif
21758 Syntax error
21759 _ACEOF
21760 if ac_fn_cxx_try_cpp "$LINENO"; then :
21761
21762 else
21763 # Broken: fails on valid input.
21764 continue
21765 fi
21766 rm -f conftest.err conftest.i conftest.$ac_ext
21767
21768 # OK, works on sane cases. Now check whether nonexistent headers
21769 # can be detected and how.
21770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21771 /* end confdefs.h. */
21772 #include <ac_nonexistent.h>
21773 _ACEOF
21774 if ac_fn_cxx_try_cpp "$LINENO"; then :
21775 # Broken: success on invalid input.
21776 continue
21777 else
21778 # Passes both tests.
21779 ac_preproc_ok=:
21780 break
21781 fi
21782 rm -f conftest.err conftest.i conftest.$ac_ext
21783
21784 done
21785 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21786 rm -f conftest.i conftest.err conftest.$ac_ext
21787 if $ac_preproc_ok; then :
21788 break
21789 fi
21790
21791 done
21792 ac_cv_prog_CXXCPP=$CXXCPP
21793
21794 fi
21795 CXXCPP=$ac_cv_prog_CXXCPP
21796 else
21797 ac_cv_prog_CXXCPP=$CXXCPP
21798 fi
21799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21800 $as_echo "$CXXCPP" >&6; }
21801 ac_preproc_ok=false
21802 for ac_cxx_preproc_warn_flag in '' yes
21803 do
21804 # Use a header file that comes with gcc, so configuring glibc
21805 # with a fresh cross-compiler works.
21806 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21807 # <limits.h> exists even on freestanding compilers.
21808 # On the NeXT, cc -E runs the code through the compiler's parser,
21809 # not just through cpp. "Syntax error" is here to catch this case.
21810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21811 /* end confdefs.h. */
21812 #ifdef __STDC__
21813 # include <limits.h>
21814 #else
21815 # include <assert.h>
21816 #endif
21817 Syntax error
21818 _ACEOF
21819 if ac_fn_cxx_try_cpp "$LINENO"; then :
21820
21821 else
21822 # Broken: fails on valid input.
21823 continue
21824 fi
21825 rm -f conftest.err conftest.i conftest.$ac_ext
21826
21827 # OK, works on sane cases. Now check whether nonexistent headers
21828 # can be detected and how.
21829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21830 /* end confdefs.h. */
21831 #include <ac_nonexistent.h>
21832 _ACEOF
21833 if ac_fn_cxx_try_cpp "$LINENO"; then :
21834 # Broken: success on invalid input.
21835 continue
21836 else
21837 # Passes both tests.
21838 ac_preproc_ok=:
21839 break
21840 fi
21841 rm -f conftest.err conftest.i conftest.$ac_ext
21842
21843 done
21844 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21845 rm -f conftest.i conftest.err conftest.$ac_ext
21846 if $ac_preproc_ok; then :
21847
21848 else
21849 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21851 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21852 See \`config.log' for more details" "$LINENO" 5; }
21853 fi
21854
21855 ac_ext=cpp
21856 ac_cpp='$CXXCPP $CPPFLAGS'
21857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21860
21861
21862 for ac_header in type_traits tr1/type_traits
21863 do :
21864 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21865 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21866 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21867 cat >>confdefs.h <<_ACEOF
21868 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21869 _ACEOF
21870
21871 fi
21872
21873 done
21874
21875
21876
21877
21878 if test -n "$GCC"; then
21879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21880 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21881 if ${wx_cv_cc_gcc_atomic_builtins+:} false; then :
21882 $as_echo_n "(cached) " >&6
21883 else
21884
21885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21886 /* end confdefs.h. */
21887
21888 int
21889 main ()
21890 {
21891
21892 unsigned int value=0;
21893 /* wxAtomicInc doesn't use return value here */
21894 __sync_fetch_and_add(&value, 2);
21895 __sync_sub_and_fetch(&value, 1);
21896 /* but wxAtomicDec does, so mimic that: */
21897 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21898
21899 ;
21900 return 0;
21901 }
21902 _ACEOF
21903 if ac_fn_cxx_try_link "$LINENO"; then :
21904 wx_cv_cc_gcc_atomic_builtins=yes
21905 else
21906 wx_cv_cc_gcc_atomic_builtins=no
21907 fi
21908 rm -f core conftest.err conftest.$ac_objext \
21909 conftest$ac_exeext conftest.$ac_ext
21910
21911 fi
21912
21913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21914 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21915 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21916 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21917
21918 fi
21919 fi
21920
21921
21922 ac_ext=c
21923 ac_cpp='$CPP $CPPFLAGS'
21924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21927
21928
21929
21930 SEARCH_INCLUDE="\
21931 /usr/local/include \
21932 /usr/local/X11/include \
21933 /usr/local/include/X11 \
21934 /usr/local/X11R7/include \
21935 /usr/local/X11R6/include \
21936 /usr/local/include/X11R7 \
21937 /usr/local/include/X11R6 \
21938 \
21939 /usr/Motif-2.1/include \
21940 /usr/Motif-1.2/include \
21941 /usr/include/Motif1.2 \
21942 \
21943 /usr/dt/include \
21944 /usr/openwin/include \
21945 \
21946 /usr/include/Xm \
21947 \
21948 /usr/X11R7/include \
21949 /usr/X11R6/include \
21950 /usr/X11R6.4/include \
21951 \
21952 /usr/include/X11R7 \
21953 /usr/include/X11R6 \
21954 \
21955 /usr/X11/include \
21956 /usr/include/X11 \
21957 \
21958 /usr/XFree86/include/X11 \
21959 /usr/pkg/include \
21960 \
21961 /usr/local/X1R5/include \
21962 /usr/local/include/X11R5 \
21963 /usr/X11R5/include \
21964 /usr/include/X11R5 \
21965 \
21966 /usr/local/X11R4/include \
21967 /usr/local/include/X11R4 \
21968 /usr/X11R4/include \
21969 /usr/include/X11R4 \
21970 \
21971 /usr/openwin/share/include"
21972
21973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21974 $as_echo_n "checking for libraries directories... " >&6; }
21975
21976 case "${host}" in
21977 *-*-irix6* )
21978 if ${wx_cv_std_libpath+:} false; then :
21979 $as_echo_n "(cached) " >&6
21980 else
21981
21982 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
21983 for e in a so sl dylib dll.a; do
21984 libc="$d/libc.$e"
21985 if test -f $libc; then
21986 save_LIBS="$LIBS"
21987 LIBS="$libc"
21988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21989 /* end confdefs.h. */
21990
21991 int main() { return 0; }
21992
21993 _ACEOF
21994 if ac_fn_c_try_link "$LINENO"; then :
21995 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
21996 fi
21997 rm -f core conftest.err conftest.$ac_objext \
21998 conftest$ac_exeext conftest.$ac_ext
21999 LIBS="$save_LIBS"
22000 if test "x$wx_cv_std_libpath" != "x"; then
22001 break 2
22002 fi
22003 fi
22004 done
22005 done
22006
22007
22008 fi
22009
22010 ;;
22011
22012 *-*-solaris2* )
22013 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
22014 wx_cv_std_libpath="lib/64"
22015 fi
22016 ;;
22017
22018 *-*-linux* )
22019 if test "$ac_cv_sizeof_void_p" = 8; then
22020 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
22021 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
22022 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
22023 wx_cv_std_libpath="lib64"
22024 fi
22025 else
22026 case "${host}" in
22027 i*86-*-linux* )
22028 if test -d '/usr/lib/i386-linux-gnu'; then
22029 wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
22030 fi
22031 esac
22032 fi
22033
22034 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
22035 wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
22036 fi
22037 ;;
22038 esac
22039
22040 if test -z "$wx_cv_std_libpath"; then
22041 wx_cv_std_libpath="lib"
22042 fi
22043
22044 if test -z "$wx_cv_std_libfullpath"; then
22045 wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
22046 fi
22047
22048
22049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
22050 $as_echo "$wx_cv_std_libfullpath" >&6; }
22051
22052 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
22053
22054 if test "$build" != "$host" -a "$GCC" = yes; then
22055 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
22056 cross_root=`dirname $cross_root`
22057 cross_root=`dirname $cross_root`
22058
22059 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22060 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22061 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
22062
22063 if test -z "$PKG_CONFIG_PATH"; then
22064 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22065 export PKG_CONFIG_PATH
22066 fi
22067
22068 if test -z "$x_includes" -o "$x_includes" = NONE; then
22069
22070 ac_find_includes=
22071 for ac_dir in $SEARCH_INCLUDE /usr/include
22072 do
22073 if test -f "$ac_dir/X11/Intrinsic.h"; then
22074 ac_find_includes=$ac_dir
22075 break
22076 fi
22077 done
22078
22079 x_includes=$ac_find_includes
22080 fi
22081 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
22082
22083 ac_find_libraries=
22084 for ac_dir in $SEARCH_LIB
22085 do
22086 for ac_extension in a so sl dylib dll.a; do
22087 if test -f "$ac_dir/libXt.$ac_extension"; then
22088 ac_find_libraries=$ac_dir
22089 break 2
22090 fi
22091 done
22092 done
22093
22094 x_libraries=$ac_find_libraries
22095 fi
22096 fi
22097 fi
22098
22099
22100 cat >confcache <<\_ACEOF
22101 # This file is a shell script that caches the results of configure
22102 # tests run on this system so they can be shared between configure
22103 # scripts and configure runs, see configure's option --config-cache.
22104 # It is not useful on other systems. If it contains results you don't
22105 # want to keep, you may remove or edit it.
22106 #
22107 # config.status only pays attention to the cache file if you give it
22108 # the --recheck option to rerun configure.
22109 #
22110 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22111 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22112 # following values.
22113
22114 _ACEOF
22115
22116 # The following way of writing the cache mishandles newlines in values,
22117 # but we know of no workaround that is simple, portable, and efficient.
22118 # So, we kill variables containing newlines.
22119 # Ultrix sh set writes to stderr and can't be redirected directly,
22120 # and sets the high bit in the cache file unless we assign to the vars.
22121 (
22122 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22123 eval ac_val=\$$ac_var
22124 case $ac_val in #(
22125 *${as_nl}*)
22126 case $ac_var in #(
22127 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22128 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22129 esac
22130 case $ac_var in #(
22131 _ | IFS | as_nl) ;; #(
22132 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22133 *) { eval $ac_var=; unset $ac_var;} ;;
22134 esac ;;
22135 esac
22136 done
22137
22138 (set) 2>&1 |
22139 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22140 *${as_nl}ac_space=\ *)
22141 # `set' does not quote correctly, so add quotes: double-quote
22142 # substitution turns \\\\ into \\, and sed turns \\ into \.
22143 sed -n \
22144 "s/'/'\\\\''/g;
22145 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22146 ;; #(
22147 *)
22148 # `set' quotes correctly as required by POSIX, so do not add quotes.
22149 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22150 ;;
22151 esac |
22152 sort
22153 ) |
22154 sed '
22155 /^ac_cv_env_/b end
22156 t clear
22157 :clear
22158 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22159 t end
22160 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22161 :end' >>confcache
22162 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22163 if test -w "$cache_file"; then
22164 if test "x$cache_file" != "x/dev/null"; then
22165 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22166 $as_echo "$as_me: updating cache $cache_file" >&6;}
22167 if test ! -f "$cache_file" || test -h "$cache_file"; then
22168 cat confcache >"$cache_file"
22169 else
22170 case $cache_file in #(
22171 */* | ?:*)
22172 mv -f confcache "$cache_file"$$ &&
22173 mv -f "$cache_file"$$ "$cache_file" ;; #(
22174 *)
22175 mv -f confcache "$cache_file" ;;
22176 esac
22177 fi
22178 fi
22179 else
22180 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22181 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22182 fi
22183 fi
22184 rm -f confcache
22185
22186 have_cos=0
22187 have_floor=0
22188 for ac_func in cos
22189 do :
22190 ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
22191 if test "x$ac_cv_func_cos" = xyes; then :
22192 cat >>confdefs.h <<_ACEOF
22193 #define HAVE_COS 1
22194 _ACEOF
22195 have_cos=1
22196 fi
22197 done
22198
22199 for ac_func in floor
22200 do :
22201 ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22202 if test "x$ac_cv_func_floor" = xyes; then :
22203 cat >>confdefs.h <<_ACEOF
22204 #define HAVE_FLOOR 1
22205 _ACEOF
22206 have_floor=1
22207 fi
22208 done
22209
22210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22211 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22212 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22214 $as_echo "yes" >&6; }
22215 else
22216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22217 $as_echo "no" >&6; }
22218 LIBS="$LIBS -lm"
22219 # use different functions to avoid configure caching
22220 have_sin=0
22221 have_ceil=0
22222 for ac_func in sin
22223 do :
22224 ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
22225 if test "x$ac_cv_func_sin" = xyes; then :
22226 cat >>confdefs.h <<_ACEOF
22227 #define HAVE_SIN 1
22228 _ACEOF
22229 have_sin=1
22230 fi
22231 done
22232
22233 for ac_func in ceil
22234 do :
22235 ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22236 if test "x$ac_cv_func_ceil" = xyes; then :
22237 cat >>confdefs.h <<_ACEOF
22238 #define HAVE_CEIL 1
22239 _ACEOF
22240 have_ceil=1
22241 fi
22242 done
22243
22244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22245 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22246 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22248 $as_echo "yes" >&6; }
22249 else
22250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22251 $as_echo "no" >&6; }
22252 # not sure we should warn the user, crash, etc.
22253 fi
22254 fi
22255
22256 ac_ext=cpp
22257 ac_cpp='$CXXCPP $CPPFLAGS'
22258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22261
22262 if test "wxUSE_UNICODE" = "yes"; then
22263
22264 for wx_func in wcstoull
22265 do
22266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22267 $as_echo_n "checking for $wx_func... " >&6; }
22268 if eval \${wx_cv_func_$wx_func+:} false; then :
22269 $as_echo_n "(cached) " >&6
22270 else
22271
22272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22273 /* end confdefs.h. */
22274
22275
22276
22277 $ac_includes_default
22278
22279 int
22280 main ()
22281 {
22282
22283 #ifndef $wx_func
22284 &$wx_func;
22285 #endif
22286
22287
22288 ;
22289 return 0;
22290 }
22291
22292 _ACEOF
22293 if ac_fn_cxx_try_link "$LINENO"; then :
22294 eval wx_cv_func_$wx_func=yes
22295 else
22296 eval wx_cv_func_$wx_func=no
22297 fi
22298 rm -f core conftest.err conftest.$ac_objext \
22299 conftest$ac_exeext conftest.$ac_ext
22300
22301 fi
22302 eval ac_res=\$wx_cv_func_$wx_func
22303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22304 $as_echo "$ac_res" >&6; }
22305
22306 if eval test \$wx_cv_func_$wx_func = yes
22307 then
22308 cat >>confdefs.h <<_ACEOF
22309 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22310 _ACEOF
22311
22312
22313 else
22314 :
22315
22316 fi
22317 done
22318
22319 else
22320
22321 for wx_func in strtoull
22322 do
22323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22324 $as_echo_n "checking for $wx_func... " >&6; }
22325 if eval \${wx_cv_func_$wx_func+:} false; then :
22326 $as_echo_n "(cached) " >&6
22327 else
22328
22329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22330 /* end confdefs.h. */
22331
22332
22333
22334 $ac_includes_default
22335
22336 int
22337 main ()
22338 {
22339
22340 #ifndef $wx_func
22341 &$wx_func;
22342 #endif
22343
22344
22345 ;
22346 return 0;
22347 }
22348
22349 _ACEOF
22350 if ac_fn_cxx_try_link "$LINENO"; then :
22351 eval wx_cv_func_$wx_func=yes
22352 else
22353 eval wx_cv_func_$wx_func=no
22354 fi
22355 rm -f core conftest.err conftest.$ac_objext \
22356 conftest$ac_exeext conftest.$ac_ext
22357
22358 fi
22359 eval ac_res=\$wx_cv_func_$wx_func
22360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22361 $as_echo "$ac_res" >&6; }
22362
22363 if eval test \$wx_cv_func_$wx_func = yes
22364 then
22365 cat >>confdefs.h <<_ACEOF
22366 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22367 _ACEOF
22368
22369
22370 else
22371 :
22372
22373 fi
22374 done
22375
22376 fi
22377 ac_ext=c
22378 ac_cpp='$CPP $CPPFLAGS'
22379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22382
22383
22384
22385
22386 if test "$wxUSE_REGEX" != "no"; then
22387 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22388
22389
22390 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22392 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22393 wxUSE_REGEX=builtin
22394 fi
22395
22396 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22397 ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
22398 "
22399 if test "x$ac_cv_header_regex_h" = xyes; then :
22400 for ac_func in regcomp re_search
22401 do :
22402 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22403 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22404 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22405 cat >>confdefs.h <<_ACEOF
22406 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22407 _ACEOF
22408
22409 fi
22410 done
22411
22412 fi
22413
22414
22415
22416 if test "x$ac_cv_func_regcomp" != "xyes"; then
22417 if test "$wxUSE_REGEX" = "sys" ; then
22418 as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22419 else
22420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22421 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22422 wxUSE_REGEX=builtin
22423 fi
22424 else
22425 wxUSE_REGEX=sys
22426 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22427
22428 fi
22429 fi
22430 fi
22431
22432
22433 ZLIB_LINK=
22434 if test "$wxUSE_ZLIB" != "no" ; then
22435 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22436
22437
22438 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22439 if test "$USE_DARWIN" = 1; then
22440 system_zlib_h_ok="yes"
22441 else
22442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22443 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22444 if ${ac_cv_header_zlib_h+:} false; then :
22445 $as_echo_n "(cached) " >&6
22446 else
22447 if test "$cross_compiling" = yes; then :
22448 unset ac_cv_header_zlib_h
22449
22450 else
22451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22452 /* end confdefs.h. */
22453
22454 #include <zlib.h>
22455 #include <stdio.h>
22456
22457 int main()
22458 {
22459 FILE *f=fopen("conftestval", "w");
22460 if (!f) exit(1);
22461 fprintf(f, "%s",
22462 ZLIB_VERSION[0] == '1' &&
22463 (ZLIB_VERSION[2] > '1' ||
22464 (ZLIB_VERSION[2] == '1' &&
22465 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22466 exit(0);
22467 }
22468
22469 _ACEOF
22470 if ac_fn_c_try_run "$LINENO"; then :
22471 ac_cv_header_zlib_h=`cat conftestval`
22472 else
22473 ac_cv_header_zlib_h=no
22474 fi
22475 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22476 conftest.$ac_objext conftest.beam conftest.$ac_ext
22477 fi
22478
22479
22480 fi
22481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22482 $as_echo "$ac_cv_header_zlib_h" >&6; }
22483 ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22484 "
22485 if test "x$ac_cv_header_zlib_h" = xyes; then :
22486
22487 fi
22488
22489
22490
22491 system_zlib_h_ok=$ac_cv_header_zlib_h
22492 fi
22493
22494 if test "$system_zlib_h_ok" = "yes"; then
22495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22496 $as_echo_n "checking for deflate in -lz... " >&6; }
22497 if ${ac_cv_lib_z_deflate+:} false; then :
22498 $as_echo_n "(cached) " >&6
22499 else
22500 ac_check_lib_save_LIBS=$LIBS
22501 LIBS="-lz $LIBS"
22502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22503 /* end confdefs.h. */
22504
22505 /* Override any GCC internal prototype to avoid an error.
22506 Use char because int might match the return type of a GCC
22507 builtin and then its argument prototype would still apply. */
22508 #ifdef __cplusplus
22509 extern "C"
22510 #endif
22511 char deflate ();
22512 int
22513 main ()
22514 {
22515 return deflate ();
22516 ;
22517 return 0;
22518 }
22519 _ACEOF
22520 if ac_fn_c_try_link "$LINENO"; then :
22521 ac_cv_lib_z_deflate=yes
22522 else
22523 ac_cv_lib_z_deflate=no
22524 fi
22525 rm -f core conftest.err conftest.$ac_objext \
22526 conftest$ac_exeext conftest.$ac_ext
22527 LIBS=$ac_check_lib_save_LIBS
22528 fi
22529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22530 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22531 if test "x$ac_cv_lib_z_deflate" = xyes; then :
22532 ZLIB_LINK=" -lz"
22533 fi
22534
22535 fi
22536
22537 if test "x$ZLIB_LINK" = "x" ; then
22538 if test "$wxUSE_ZLIB" = "sys" ; then
22539 as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22540 else
22541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22542 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22543 wxUSE_ZLIB=builtin
22544 fi
22545 else
22546 wxUSE_ZLIB=sys
22547 fi
22548 fi
22549 fi
22550
22551
22552 PNG_LINK=
22553 if test "$wxUSE_LIBPNG" != "no" ; then
22554 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22555
22556
22557 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22559 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22560 wxUSE_LIBPNG=builtin
22561 fi
22562
22563 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22565 $as_echo_n "checking for png.h > 0.90... " >&6; }
22566 if ${ac_cv_header_png_h+:} false; then :
22567 $as_echo_n "(cached) " >&6
22568 else
22569 if test "$cross_compiling" = yes; then :
22570 unset ac_cv_header_png_h
22571
22572 else
22573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22574 /* end confdefs.h. */
22575
22576 #include <png.h>
22577 #include <stdio.h>
22578
22579 int main()
22580 {
22581 FILE *f=fopen("conftestval", "w");
22582 if (!f) exit(1);
22583 fprintf(f, "%s",
22584 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22585 exit(0);
22586 }
22587
22588 _ACEOF
22589 if ac_fn_c_try_run "$LINENO"; then :
22590 ac_cv_header_png_h=`cat conftestval`
22591 else
22592 ac_cv_header_png_h=no
22593 fi
22594 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22595 conftest.$ac_objext conftest.beam conftest.$ac_ext
22596 fi
22597
22598
22599 fi
22600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22601 $as_echo "$ac_cv_header_png_h" >&6; }
22602 ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
22603 "
22604 if test "x$ac_cv_header_png_h" = xyes; then :
22605
22606 fi
22607
22608
22609
22610 if test "$ac_cv_header_png_h" = "yes"; then
22611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22612 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22613 if ${ac_cv_lib_png_png_sig_cmp+:} false; then :
22614 $as_echo_n "(cached) " >&6
22615 else
22616 ac_check_lib_save_LIBS=$LIBS
22617 LIBS="-lpng -lz -lm $LIBS"
22618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22619 /* end confdefs.h. */
22620
22621 /* Override any GCC internal prototype to avoid an error.
22622 Use char because int might match the return type of a GCC
22623 builtin and then its argument prototype would still apply. */
22624 #ifdef __cplusplus
22625 extern "C"
22626 #endif
22627 char png_sig_cmp ();
22628 int
22629 main ()
22630 {
22631 return png_sig_cmp ();
22632 ;
22633 return 0;
22634 }
22635 _ACEOF
22636 if ac_fn_c_try_link "$LINENO"; then :
22637 ac_cv_lib_png_png_sig_cmp=yes
22638 else
22639 ac_cv_lib_png_png_sig_cmp=no
22640 fi
22641 rm -f core conftest.err conftest.$ac_objext \
22642 conftest$ac_exeext conftest.$ac_ext
22643 LIBS=$ac_check_lib_save_LIBS
22644 fi
22645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22646 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22647 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes; then :
22648 PNG_LINK=" -lpng -lz"
22649 fi
22650
22651 fi
22652
22653 if test "x$PNG_LINK" = "x" ; then
22654 if test "$wxUSE_LIBPNG" = "sys" ; then
22655 as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22656 else
22657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22658 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22659 wxUSE_LIBPNG=builtin
22660 fi
22661 else
22662 wxUSE_LIBPNG=sys
22663 fi
22664 fi
22665 fi
22666
22667
22668 JPEG_LINK=
22669 if test "$wxUSE_LIBJPEG" != "no" ; then
22670 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22671
22672
22673 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22675 $as_echo_n "checking for jpeglib.h... " >&6; }
22676 if ${ac_cv_header_jpeglib_h+:} false; then :
22677 $as_echo_n "(cached) " >&6
22678 else
22679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22680 /* end confdefs.h. */
22681
22682 #undef HAVE_STDLIB_H
22683 #include <stdio.h>
22684 #include <jpeglib.h>
22685
22686 int
22687 main ()
22688 {
22689
22690
22691 ;
22692 return 0;
22693 }
22694 _ACEOF
22695 if ac_fn_c_try_compile "$LINENO"; then :
22696 ac_cv_header_jpeglib_h=yes
22697 else
22698 ac_cv_header_jpeglib_h=no
22699
22700 fi
22701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22702
22703 fi
22704
22705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22706 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22707
22708 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22710 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22711 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false; then :
22712 $as_echo_n "(cached) " >&6
22713 else
22714 ac_check_lib_save_LIBS=$LIBS
22715 LIBS="-ljpeg $LIBS"
22716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22717 /* end confdefs.h. */
22718
22719 /* Override any GCC internal prototype to avoid an error.
22720 Use char because int might match the return type of a GCC
22721 builtin and then its argument prototype would still apply. */
22722 #ifdef __cplusplus
22723 extern "C"
22724 #endif
22725 char jpeg_read_header ();
22726 int
22727 main ()
22728 {
22729 return jpeg_read_header ();
22730 ;
22731 return 0;
22732 }
22733 _ACEOF
22734 if ac_fn_c_try_link "$LINENO"; then :
22735 ac_cv_lib_jpeg_jpeg_read_header=yes
22736 else
22737 ac_cv_lib_jpeg_jpeg_read_header=no
22738 fi
22739 rm -f core conftest.err conftest.$ac_objext \
22740 conftest$ac_exeext conftest.$ac_ext
22741 LIBS=$ac_check_lib_save_LIBS
22742 fi
22743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22744 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22745 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes; then :
22746 JPEG_LINK=" -ljpeg"
22747 fi
22748
22749 fi
22750
22751 if test "x$JPEG_LINK" = "x" ; then
22752 if test "$wxUSE_LIBJPEG" = "sys" ; then
22753 as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22754 else
22755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22756 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22757 wxUSE_LIBJPEG=builtin
22758 fi
22759 else
22760 wxUSE_LIBJPEG=sys
22761
22762 if test "$wxUSE_MSW" = 1; then
22763 ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22764 "
22765 if test "x$ac_cv_type_boolean" = xyes; then :
22766
22767 cat >>confdefs.h <<_ACEOF
22768 #define HAVE_BOOLEAN 1
22769 _ACEOF
22770
22771
22772 # The cast to long int works around a bug in the HP C Compiler
22773 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22774 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22775 # This bug is HP SR number 8606223364.
22776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22777 $as_echo_n "checking size of boolean... " >&6; }
22778 if ${ac_cv_sizeof_boolean+:} false; then :
22779 $as_echo_n "(cached) " >&6
22780 else
22781 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22782 #undef HAVE_BOOLEAN
22783 #include <stdio.h>
22784 #include <jpeglib.h>
22785
22786 "; then :
22787
22788 else
22789 if test "$ac_cv_type_boolean" = yes; then
22790 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22791 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22792 as_fn_error 77 "cannot compute sizeof (boolean)
22793 See \`config.log' for more details" "$LINENO" 5; }
22794 else
22795 ac_cv_sizeof_boolean=0
22796 fi
22797 fi
22798
22799 fi
22800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22801 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22802
22803
22804
22805 cat >>confdefs.h <<_ACEOF
22806 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22807 _ACEOF
22808
22809
22810 cat >>confdefs.h <<_ACEOF
22811 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22812 _ACEOF
22813
22814
22815 fi
22816
22817 fi
22818 fi
22819 fi
22820 fi
22821
22822
22823 TIFF_LINK=
22824 TIFF_PREREQ_LINKS=-lm
22825 if test "$wxUSE_LIBTIFF" != "no" ; then
22826 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22827
22828
22829 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22830 if test "$wxUSE_LIBJPEG" = "sys"; then
22831 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22832 fi
22833 if test "$wxUSE_ZLIB" = "sys"; then
22834 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22835 fi
22836 ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22837
22838 "
22839 if test "x$ac_cv_header_tiffio_h" = xyes; then :
22840
22841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22842 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22843 if ${ac_cv_lib_tiff_TIFFError+:} false; then :
22844 $as_echo_n "(cached) " >&6
22845 else
22846 ac_check_lib_save_LIBS=$LIBS
22847 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22849 /* end confdefs.h. */
22850
22851 /* Override any GCC internal prototype to avoid an error.
22852 Use char because int might match the return type of a GCC
22853 builtin and then its argument prototype would still apply. */
22854 #ifdef __cplusplus
22855 extern "C"
22856 #endif
22857 char TIFFError ();
22858 int
22859 main ()
22860 {
22861 return TIFFError ();
22862 ;
22863 return 0;
22864 }
22865 _ACEOF
22866 if ac_fn_c_try_link "$LINENO"; then :
22867 ac_cv_lib_tiff_TIFFError=yes
22868 else
22869 ac_cv_lib_tiff_TIFFError=no
22870 fi
22871 rm -f core conftest.err conftest.$ac_objext \
22872 conftest$ac_exeext conftest.$ac_ext
22873 LIBS=$ac_check_lib_save_LIBS
22874 fi
22875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22876 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22877 if test "x$ac_cv_lib_tiff_TIFFError" = xyes; then :
22878 TIFF_LINK=" -ltiff"
22879 fi
22880
22881
22882 fi
22883
22884
22885
22886 if test "x$TIFF_LINK" = "x" ; then
22887 if test "$wxUSE_LIBTIFF" = "sys" ; then
22888 as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22889 else
22890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22891 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22892 wxUSE_LIBTIFF=builtin
22893 fi
22894 else
22895 wxUSE_LIBTIFF=sys
22896 fi
22897 fi
22898 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22899 if test "$wxUSE_LIBJPEG" = "no"; then
22900 ac_configure_args="$ac_configure_args --disable-jpeg"
22901 fi
22902
22903
22904 subdirs="$subdirs src/tiff"
22905
22906 fi
22907 fi
22908
22909
22910 if test "$wxUSE_EXPAT" != "no"; then
22911 wxUSE_XML=yes
22912 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22913
22914 $as_echo "#define wxUSE_XML 1" >>confdefs.h
22915
22916
22917 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22918 ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
22919 "
22920 if test "x$ac_cv_header_expat_h" = xyes; then :
22921 found_expat_h=1
22922 fi
22923
22924
22925 if test "x$found_expat_h" = "x1"; then
22926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22927 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22928 if ${wx_cv_expat_is_not_broken+:} false; then :
22929 $as_echo_n "(cached) " >&6
22930 else
22931
22932 ac_ext=cpp
22933 ac_cpp='$CXXCPP $CPPFLAGS'
22934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22937
22938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22939 /* end confdefs.h. */
22940 #include <expat.h>
22941 int
22942 main ()
22943 {
22944
22945 ;
22946 return 0;
22947 }
22948 _ACEOF
22949 if ac_fn_cxx_try_compile "$LINENO"; then :
22950 wx_cv_expat_is_not_broken=yes
22951 else
22952 wx_cv_expat_is_not_broken=no
22953
22954 fi
22955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22956 ac_ext=c
22957 ac_cpp='$CPP $CPPFLAGS'
22958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22961
22962
22963
22964 fi
22965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
22966 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
22967 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
22969 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
22970 if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then :
22971 $as_echo_n "(cached) " >&6
22972 else
22973 ac_check_lib_save_LIBS=$LIBS
22974 LIBS="-lexpat $LIBS"
22975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22976 /* end confdefs.h. */
22977
22978 /* Override any GCC internal prototype to avoid an error.
22979 Use char because int might match the return type of a GCC
22980 builtin and then its argument prototype would still apply. */
22981 #ifdef __cplusplus
22982 extern "C"
22983 #endif
22984 char XML_ParserCreate ();
22985 int
22986 main ()
22987 {
22988 return XML_ParserCreate ();
22989 ;
22990 return 0;
22991 }
22992 _ACEOF
22993 if ac_fn_c_try_link "$LINENO"; then :
22994 ac_cv_lib_expat_XML_ParserCreate=yes
22995 else
22996 ac_cv_lib_expat_XML_ParserCreate=no
22997 fi
22998 rm -f core conftest.err conftest.$ac_objext \
22999 conftest$ac_exeext conftest.$ac_ext
23000 LIBS=$ac_check_lib_save_LIBS
23001 fi
23002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23003 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
23004 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then :
23005 EXPAT_LINK=" -lexpat"
23006 fi
23007
23008 fi
23009 fi
23010 if test "x$EXPAT_LINK" = "x" ; then
23011 if test "$wxUSE_EXPAT" = "sys" ; then
23012 as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
23013 else
23014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
23015 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23016 wxUSE_EXPAT=builtin
23017 fi
23018 else
23019 wxUSE_EXPAT=sys
23020 fi
23021 fi
23022 if test "$wxUSE_EXPAT" = "builtin" ; then
23023 subdirs="$subdirs src/expat"
23024
23025 fi
23026 fi
23027
23028
23029
23030 if test "$wxUSE_LIBMSPACK" != "no"; then
23031 ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
23032 "
23033 if test "x$ac_cv_header_mspack_h" = xyes; then :
23034 found_mspack_h=1
23035 fi
23036
23037
23038 if test "x$found_mspack_h" = "x1"; then
23039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
23040 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
23041 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false; then :
23042 $as_echo_n "(cached) " >&6
23043 else
23044 ac_check_lib_save_LIBS=$LIBS
23045 LIBS="-lmspack $LIBS"
23046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23047 /* end confdefs.h. */
23048
23049 /* Override any GCC internal prototype to avoid an error.
23050 Use char because int might match the return type of a GCC
23051 builtin and then its argument prototype would still apply. */
23052 #ifdef __cplusplus
23053 extern "C"
23054 #endif
23055 char mspack_create_chm_decompressor ();
23056 int
23057 main ()
23058 {
23059 return mspack_create_chm_decompressor ();
23060 ;
23061 return 0;
23062 }
23063 _ACEOF
23064 if ac_fn_c_try_link "$LINENO"; then :
23065 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
23066 else
23067 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
23068 fi
23069 rm -f core conftest.err conftest.$ac_objext \
23070 conftest$ac_exeext conftest.$ac_ext
23071 LIBS=$ac_check_lib_save_LIBS
23072 fi
23073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23074 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
23075 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes; then :
23076 MSPACK_LINK=" -lmspack"
23077 fi
23078
23079 fi
23080 if test "x$MSPACK_LINK" = "x" ; then
23081 wxUSE_LIBMSPACK=no
23082 fi
23083 fi
23084
23085 if test "$wxUSE_LIBMSPACK" != "no"; then
23086 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23087
23088 fi
23089
23090
23091
23092 AFMINSTALL=
23093 WIN32INSTALL=
23094
23095 TOOLKIT=
23096 TOOLKIT_INCLUDE=
23097 WIDGET_SET=
23098
23099 if test "$USE_WIN32" = 1 ; then
23100 for ac_header in w32api.h
23101 do :
23102 ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23103 "
23104 if test "x$ac_cv_header_w32api_h" = xyes; then :
23105 cat >>confdefs.h <<_ACEOF
23106 #define HAVE_W32API_H 1
23107 _ACEOF
23108
23109 fi
23110
23111 done
23112
23113 ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
23114 "
23115 if test "x$ac_cv_header_windows_h" = xyes; then :
23116
23117 else
23118
23119 as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23120
23121 fi
23122
23123
23124
23125 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23126 case "${host}" in
23127 x86_64-*-mingw32* )
23128 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
23129 ;;
23130 esac
23131 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23132 LIBS="$LIBS -loleacc"
23133 fi
23134
23135 case "${host}" in
23136 *-*-cygwin* )
23137 LIBS="$LIBS -lkernel32 -luser32"
23138 esac
23139
23140 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23141 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
23142
23143 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23144
23145 WIN32INSTALL=win32install
23146 fi
23147
23148 if test "$wxUSE_GUI" = "yes"; then
23149 USE_GUI=1
23150
23151 GUI_TK_LIBRARY=
23152
23153 WXGTK1=
23154 WXGTK127=
23155 WXGTK2=
23156 WXGTK3=
23157 WXGPE=
23158
23159 if test "$wxUSE_OLD_COCOA" = 1 ; then
23160 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23162 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23163 wxUSE_PRINTING_ARCHITECTURE=no
23164 fi
23165 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23167 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23168 wxUSE_DRAG_AND_DROP=no
23169 fi
23170 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23172 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23173 wxUSE_DRAGIMAGE=no
23174 fi
23175 fi
23176
23177 if test "$wxUSE_MSW" = 1 ; then
23178 TOOLKIT=MSW
23179 GUIDIST=MSW_DIST
23180
23181 case "${host}" in
23182 *-*-mingw32* )
23183 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23184 esac
23185 fi
23186
23187 if test "$wxUSE_GTK" = 1; then
23188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23189 $as_echo_n "checking for GTK+ version... " >&6; }
23190
23191 gtk_version_cached=1
23192 if ${wx_cv_lib_gtk+:} false; then :
23193 $as_echo_n "(cached) " >&6
23194 else
23195
23196 gtk_version_cached=0
23197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23198 $as_echo "" >&6; }
23199
23200 GTK_MODULES=
23201 if test "$wxUSE_THREADS" = "yes"; then
23202 GTK_MODULES=gthread
23203 fi
23204
23205 if test -z "$wxGTK_VERSION"; then
23206 wxGTK_VERSION=any
23207 fi
23208
23209 wx_cv_lib_gtk=
23210 if test "x$wxGTK_VERSION" != "x1"
23211 then
23212 case "${host}" in
23213 *-*-solaris2* )
23214 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23215 enable_gtktest=no
23216 fi
23217 esac
23218
23219 if test "$wxGTK_VERSION" != 3; then
23220 # Check whether --enable-gtktest was given.
23221 if test "${enable_gtktest+set}" = set; then :
23222 enableval=$enable_gtktest;
23223 else
23224 enable_gtktest=yes
23225 fi
23226
23227
23228 pkg_config_args=gtk+-2.0
23229 for module in . $GTK_MODULES
23230 do
23231 case "$module" in
23232 gthread)
23233 pkg_config_args="$pkg_config_args gthread-2.0"
23234 ;;
23235 esac
23236 done
23237
23238 no_gtk=""
23239
23240 # Extract the first word of "pkg-config", so it can be a program name with args.
23241 set dummy pkg-config; ac_word=$2
23242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23243 $as_echo_n "checking for $ac_word... " >&6; }
23244 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23245 $as_echo_n "(cached) " >&6
23246 else
23247 case $PKG_CONFIG in
23248 [\\/]* | ?:[\\/]*)
23249 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23250 ;;
23251 *)
23252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23253 for as_dir in $PATH
23254 do
23255 IFS=$as_save_IFS
23256 test -z "$as_dir" && as_dir=.
23257 for ac_exec_ext in '' $ac_executable_extensions; do
23258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23259 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23261 break 2
23262 fi
23263 done
23264 done
23265 IFS=$as_save_IFS
23266
23267 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23268 ;;
23269 esac
23270 fi
23271 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23272 if test -n "$PKG_CONFIG"; then
23273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23274 $as_echo "$PKG_CONFIG" >&6; }
23275 else
23276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23277 $as_echo "no" >&6; }
23278 fi
23279
23280
23281
23282 if test x$PKG_CONFIG != xno ; then
23283 if pkg-config --atleast-pkgconfig-version 0.7 ; then
23284 :
23285 else
23286 echo "*** pkg-config too old; version 0.7 or better required."
23287 no_gtk=yes
23288 PKG_CONFIG=no
23289 fi
23290 else
23291 no_gtk=yes
23292 fi
23293
23294 min_gtk_version=2.6.0
23295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23296 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23297
23298 if test x$PKG_CONFIG != xno ; then
23299 ## don't try to run the test against uninstalled libtool libs
23300 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23301 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23302 enable_gtktest=no
23303 fi
23304
23305 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23306 :
23307 else
23308 no_gtk=yes
23309 fi
23310 fi
23311
23312 if test x"$no_gtk" = x ; then
23313 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23314 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23315 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23316 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23317 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23318 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23319 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23320 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23321 if test "x$enable_gtktest" = "xyes" ; then
23322 ac_save_CFLAGS="$CFLAGS"
23323 ac_save_LIBS="$LIBS"
23324 CFLAGS="$CFLAGS $GTK_CFLAGS"
23325 LIBS="$GTK_LIBS $LIBS"
23326 rm -f conf.gtktest
23327 if test "$cross_compiling" = yes; then :
23328 echo $ac_n "cross compiling; assumed OK... $ac_c"
23329 else
23330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23331 /* end confdefs.h. */
23332
23333 #include <gtk/gtk.h>
23334 #include <stdio.h>
23335 #include <stdlib.h>
23336
23337 int
23338 main ()
23339 {
23340 int major, minor, micro;
23341 char *tmp_version;
23342
23343 system ("touch conf.gtktest");
23344
23345 /* HP/UX 9 (%@#!) writes to sscanf strings */
23346 tmp_version = g_strdup("$min_gtk_version");
23347 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23348 printf("%s, bad version string\n", "$min_gtk_version");
23349 exit(1);
23350 }
23351
23352 if ((gtk_major_version != $gtk_config_major_version) ||
23353 (gtk_minor_version != $gtk_config_minor_version) ||
23354 (gtk_micro_version != $gtk_config_micro_version))
23355 {
23356 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23357 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23358 gtk_major_version, gtk_minor_version, gtk_micro_version);
23359 printf ("*** was found! If pkg-config was correct, then it is best\n");
23360 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23361 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23362 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23363 printf("*** required on your system.\n");
23364 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23365 printf("*** to point to the correct configuration files\n");
23366 }
23367 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23368 (gtk_minor_version != GTK_MINOR_VERSION) ||
23369 (gtk_micro_version != GTK_MICRO_VERSION))
23370 {
23371 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23372 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23373 printf("*** library (version %d.%d.%d)\n",
23374 gtk_major_version, gtk_minor_version, gtk_micro_version);
23375 }
23376 else
23377 {
23378 if ((gtk_major_version > major) ||
23379 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23380 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23381 {
23382 return 0;
23383 }
23384 else
23385 {
23386 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23387 gtk_major_version, gtk_minor_version, gtk_micro_version);
23388 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23389 major, minor, micro);
23390 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23391 printf("***\n");
23392 printf("*** If you have already installed a sufficiently new version, this error\n");
23393 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23394 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23395 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23396 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23397 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23398 printf("*** so that the correct libraries are found at run-time))\n");
23399 }
23400 }
23401 return 1;
23402 }
23403
23404 _ACEOF
23405 if ac_fn_c_try_run "$LINENO"; then :
23406
23407 else
23408 no_gtk=yes
23409 fi
23410 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23411 conftest.$ac_objext conftest.beam conftest.$ac_ext
23412 fi
23413
23414 CFLAGS="$ac_save_CFLAGS"
23415 LIBS="$ac_save_LIBS"
23416 fi
23417 fi
23418 if test "x$no_gtk" = x ; then
23419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23420 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23421 wx_cv_lib_gtk=2.0
23422 else
23423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23424 $as_echo "no" >&6; }
23425 if test "$PKG_CONFIG" = "no" ; then
23426 echo "*** A new enough version of pkg-config was not found."
23427 echo "*** See http://pkgconfig.sourceforge.net"
23428 else
23429 if test -f conf.gtktest ; then
23430 :
23431 else
23432 echo "*** Could not run GTK+ test program, checking why..."
23433 ac_save_CFLAGS="$CFLAGS"
23434 ac_save_LIBS="$LIBS"
23435 CFLAGS="$CFLAGS $GTK_CFLAGS"
23436 LIBS="$LIBS $GTK_LIBS"
23437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23438 /* end confdefs.h. */
23439
23440 #include <gtk/gtk.h>
23441 #include <stdio.h>
23442
23443 int
23444 main ()
23445 {
23446 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23447 ;
23448 return 0;
23449 }
23450 _ACEOF
23451 if ac_fn_c_try_link "$LINENO"; then :
23452 echo "*** The test program compiled, but did not run. This usually means"
23453 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23454 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23455 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23456 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23457 echo "*** is required on your system"
23458 echo "***"
23459 echo "*** If you have an old version installed, it is best to remove it, although"
23460 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23461 else
23462 echo "*** The test program failed to compile or link. See the file config.log for the"
23463 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23464 fi
23465 rm -f core conftest.err conftest.$ac_objext \
23466 conftest$ac_exeext conftest.$ac_ext
23467 CFLAGS="$ac_save_CFLAGS"
23468 LIBS="$ac_save_LIBS"
23469 fi
23470 fi
23471 GTK_CFLAGS=""
23472 GTK_LIBS=""
23473 :
23474 fi
23475
23476
23477 rm -f conf.gtktest
23478
23479 fi
23480 if test -z "$wx_cv_lib_gtk"; then
23481 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then
23482 # Check whether --enable-gtktest was given.
23483 if test "${enable_gtktest+set}" = set; then :
23484 enableval=$enable_gtktest;
23485 else
23486 enable_gtktest=yes
23487 fi
23488
23489
23490 pkg_config_args=gtk+-3.0
23491 for module in . $GTK_MODULES
23492 do
23493 case "$module" in
23494 gthread)
23495 pkg_config_args="$pkg_config_args gthread-2.0"
23496 ;;
23497 esac
23498 done
23499
23500 no_gtk=""
23501
23502 # Extract the first word of "pkg-config", so it can be a program name with args.
23503 set dummy pkg-config; ac_word=$2
23504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23505 $as_echo_n "checking for $ac_word... " >&6; }
23506 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23507 $as_echo_n "(cached) " >&6
23508 else
23509 case $PKG_CONFIG in
23510 [\\/]* | ?:[\\/]*)
23511 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23512 ;;
23513 *)
23514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23515 for as_dir in $PATH
23516 do
23517 IFS=$as_save_IFS
23518 test -z "$as_dir" && as_dir=.
23519 for ac_exec_ext in '' $ac_executable_extensions; do
23520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23521 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23523 break 2
23524 fi
23525 done
23526 done
23527 IFS=$as_save_IFS
23528
23529 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23530 ;;
23531 esac
23532 fi
23533 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23534 if test -n "$PKG_CONFIG"; then
23535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23536 $as_echo "$PKG_CONFIG" >&6; }
23537 else
23538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23539 $as_echo "no" >&6; }
23540 fi
23541
23542
23543
23544 if test x$PKG_CONFIG != xno ; then
23545 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23546 :
23547 else
23548 echo "*** pkg-config too old; version 0.7 or better required."
23549 no_gtk=yes
23550 PKG_CONFIG=no
23551 fi
23552 else
23553 no_gtk=yes
23554 fi
23555
23556 min_gtk_version=3.0.0
23557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23558 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23559
23560 if test x$PKG_CONFIG != xno ; then
23561 ## don't try to run the test against uninstalled libtool libs
23562 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23563 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23564 enable_gtktest=no
23565 fi
23566
23567 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23568 :
23569 else
23570 no_gtk=yes
23571 fi
23572 fi
23573
23574 if test x"$no_gtk" = x ; then
23575 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23576 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23577 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23578 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23579 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23580 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23581 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23582 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23583 if test "x$enable_gtktest" = "xyes" ; then
23584 ac_save_CFLAGS="$CFLAGS"
23585 ac_save_LIBS="$LIBS"
23586 CFLAGS="$CFLAGS $GTK_CFLAGS"
23587 LIBS="$GTK_LIBS $LIBS"
23588 rm -f conf.gtktest
23589 if test "$cross_compiling" = yes; then :
23590 echo $ac_n "cross compiling; assumed OK... $ac_c"
23591 else
23592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23593 /* end confdefs.h. */
23594
23595 #include <gtk/gtk.h>
23596 #include <stdio.h>
23597 #include <stdlib.h>
23598
23599 int
23600 main ()
23601 {
23602 int major, minor, micro;
23603 char *tmp_version;
23604
23605 fclose (fopen ("conf.gtktest", "w"));
23606
23607 /* HP/UX 9 (%@#!) writes to sscanf strings */
23608 tmp_version = g_strdup("$min_gtk_version");
23609 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23610 printf("%s, bad version string\n", "$min_gtk_version");
23611 exit(1);
23612 }
23613
23614 if ((gtk_major_version != $gtk_config_major_version) ||
23615 (gtk_minor_version != $gtk_config_minor_version) ||
23616 (gtk_micro_version != $gtk_config_micro_version))
23617 {
23618 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23619 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23620 gtk_major_version, gtk_minor_version, gtk_micro_version);
23621 printf ("*** was found! If pkg-config was correct, then it is best\n");
23622 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23623 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23624 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23625 printf("*** required on your system.\n");
23626 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23627 printf("*** to point to the correct configuration files\n");
23628 }
23629 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23630 (gtk_minor_version != GTK_MINOR_VERSION) ||
23631 (gtk_micro_version != GTK_MICRO_VERSION))
23632 {
23633 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23634 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23635 printf("*** library (version %d.%d.%d)\n",
23636 gtk_major_version, gtk_minor_version, gtk_micro_version);
23637 }
23638 else
23639 {
23640 if ((gtk_major_version > major) ||
23641 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23642 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23643 {
23644 return 0;
23645 }
23646 else
23647 {
23648 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23649 gtk_major_version, gtk_minor_version, gtk_micro_version);
23650 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23651 major, minor, micro);
23652 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23653 printf("***\n");
23654 printf("*** If you have already installed a sufficiently new version, this error\n");
23655 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23656 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23657 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23658 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23659 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23660 printf("*** so that the correct libraries are found at run-time))\n");
23661 }
23662 }
23663 return 1;
23664 }
23665
23666 _ACEOF
23667 if ac_fn_c_try_run "$LINENO"; then :
23668
23669 else
23670 no_gtk=yes
23671 fi
23672 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23673 conftest.$ac_objext conftest.beam conftest.$ac_ext
23674 fi
23675
23676 CFLAGS="$ac_save_CFLAGS"
23677 LIBS="$ac_save_LIBS"
23678 fi
23679 fi
23680 if test "x$no_gtk" = x ; then
23681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23682 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23683 wx_cv_lib_gtk=3
23684 else
23685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23686 $as_echo "no" >&6; }
23687 if test "$PKG_CONFIG" = "no" ; then
23688 echo "*** A new enough version of pkg-config was not found."
23689 echo "*** See http://pkgconfig.sourceforge.net"
23690 else
23691 if test -f conf.gtktest ; then
23692 :
23693 else
23694 echo "*** Could not run GTK+ test program, checking why..."
23695 ac_save_CFLAGS="$CFLAGS"
23696 ac_save_LIBS="$LIBS"
23697 CFLAGS="$CFLAGS $GTK_CFLAGS"
23698 LIBS="$LIBS $GTK_LIBS"
23699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23700 /* end confdefs.h. */
23701
23702 #include <gtk/gtk.h>
23703 #include <stdio.h>
23704
23705 int
23706 main ()
23707 {
23708 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23709 ;
23710 return 0;
23711 }
23712 _ACEOF
23713 if ac_fn_c_try_link "$LINENO"; then :
23714 echo "*** The test program compiled, but did not run. This usually means"
23715 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23716 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23717 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23718 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23719 echo "*** is required on your system"
23720 echo "***"
23721 echo "*** If you have an old version installed, it is best to remove it, although"
23722 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23723 else
23724 echo "*** The test program failed to compile or link. See the file config.log for the"
23725 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23726 fi
23727 rm -f core conftest.err conftest.$ac_objext \
23728 conftest$ac_exeext conftest.$ac_ext
23729 CFLAGS="$ac_save_CFLAGS"
23730 LIBS="$ac_save_LIBS"
23731 fi
23732 fi
23733 GTK_CFLAGS=""
23734 GTK_LIBS=""
23735 :
23736 fi
23737
23738
23739 rm -f conf.gtktest
23740
23741 fi
23742 fi
23743 fi
23744
23745 if test -z "$wx_cv_lib_gtk"; then
23746 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23747
23748 # Check whether --with-gtk-prefix was given.
23749 if test "${with_gtk_prefix+set}" = set; then :
23750 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23751 else
23752 gtk_config_prefix=""
23753 fi
23754
23755
23756 # Check whether --with-gtk-exec-prefix was given.
23757 if test "${with_gtk_exec_prefix+set}" = set; then :
23758 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23759 else
23760 gtk_config_exec_prefix=""
23761 fi
23762
23763 # Check whether --enable-gtktest was given.
23764 if test "${enable_gtktest+set}" = set; then :
23765 enableval=$enable_gtktest;
23766 else
23767 enable_gtktest=yes
23768 fi
23769
23770
23771 for module in . $GTK_MODULES
23772 do
23773 case "$module" in
23774 gthread)
23775 gtk_config_args="$gtk_config_args gthread"
23776 ;;
23777 esac
23778 done
23779
23780 if test x$gtk_config_exec_prefix != x ; then
23781 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23782 if test x${GTK_CONFIG+set} != xset ; then
23783 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23784 fi
23785 fi
23786 if test x$gtk_config_prefix != x ; then
23787 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23788 if test x${GTK_CONFIG+set} != xset ; then
23789 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23790 fi
23791 fi
23792
23793 # Extract the first word of "gtk-config", so it can be a program name with args.
23794 set dummy gtk-config; ac_word=$2
23795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23796 $as_echo_n "checking for $ac_word... " >&6; }
23797 if ${ac_cv_path_GTK_CONFIG+:} false; then :
23798 $as_echo_n "(cached) " >&6
23799 else
23800 case $GTK_CONFIG in
23801 [\\/]* | ?:[\\/]*)
23802 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23803 ;;
23804 *)
23805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23806 for as_dir in $PATH
23807 do
23808 IFS=$as_save_IFS
23809 test -z "$as_dir" && as_dir=.
23810 for ac_exec_ext in '' $ac_executable_extensions; do
23811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23812 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23814 break 2
23815 fi
23816 done
23817 done
23818 IFS=$as_save_IFS
23819
23820 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23821 ;;
23822 esac
23823 fi
23824 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23825 if test -n "$GTK_CONFIG"; then
23826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23827 $as_echo "$GTK_CONFIG" >&6; }
23828 else
23829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23830 $as_echo "no" >&6; }
23831 fi
23832
23833
23834 min_gtk_version=1.2.7
23835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23836 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23837 no_gtk=""
23838 if test "$GTK_CONFIG" = "no" ; then
23839 no_gtk=yes
23840 else
23841 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23842 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23843 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23844 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23845 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23846 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23847 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23848 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23849 if test "x$enable_gtktest" = "xyes" ; then
23850 ac_save_CFLAGS="$CFLAGS"
23851 ac_save_LIBS="$LIBS"
23852 CFLAGS="$CFLAGS $GTK_CFLAGS"
23853 LIBS="$GTK_LIBS $LIBS"
23854 rm -f conf.gtktest
23855 if test "$cross_compiling" = yes; then :
23856 echo $ac_n "cross compiling; assumed OK... $ac_c"
23857 else
23858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23859 /* end confdefs.h. */
23860
23861 #include <gtk/gtk.h>
23862 #include <stdio.h>
23863 #include <stdlib.h>
23864
23865 int
23866 main ()
23867 {
23868 int major, minor, micro;
23869 char *tmp_version;
23870
23871 system ("touch conf.gtktest");
23872
23873 /* HP/UX 9 (%@#!) writes to sscanf strings */
23874 tmp_version = g_strdup("$min_gtk_version");
23875 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23876 printf("%s, bad version string\n", "$min_gtk_version");
23877 exit(1);
23878 }
23879
23880 if ((gtk_major_version != $gtk_config_major_version) ||
23881 (gtk_minor_version != $gtk_config_minor_version) ||
23882 (gtk_micro_version != $gtk_config_micro_version))
23883 {
23884 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23885 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23886 gtk_major_version, gtk_minor_version, gtk_micro_version);
23887 printf ("*** was found! If gtk-config was correct, then it is best\n");
23888 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23889 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23890 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23891 printf("*** required on your system.\n");
23892 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23893 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23894 printf("*** before re-running configure\n");
23895 }
23896 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23897 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23898 (gtk_minor_version != GTK_MINOR_VERSION) ||
23899 (gtk_micro_version != GTK_MICRO_VERSION))
23900 {
23901 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23902 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23903 printf("*** library (version %d.%d.%d)\n",
23904 gtk_major_version, gtk_minor_version, gtk_micro_version);
23905 }
23906 #endif /* defined (GTK_MAJOR_VERSION) ... */
23907 else
23908 {
23909 if ((gtk_major_version > major) ||
23910 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23911 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23912 {
23913 return 0;
23914 }
23915 else
23916 {
23917 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23918 gtk_major_version, gtk_minor_version, gtk_micro_version);
23919 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23920 major, minor, micro);
23921 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23922 printf("***\n");
23923 printf("*** If you have already installed a sufficiently new version, this error\n");
23924 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23925 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23926 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23927 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23928 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23929 printf("*** so that the correct libraries are found at run-time))\n");
23930 }
23931 }
23932 return 1;
23933 }
23934
23935 _ACEOF
23936 if ac_fn_c_try_run "$LINENO"; then :
23937
23938 else
23939 no_gtk=yes
23940 fi
23941 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23942 conftest.$ac_objext conftest.beam conftest.$ac_ext
23943 fi
23944
23945 CFLAGS="$ac_save_CFLAGS"
23946 LIBS="$ac_save_LIBS"
23947 fi
23948 fi
23949 if test "x$no_gtk" = x ; then
23950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23951 $as_echo "yes" >&6; }
23952 wx_cv_lib_gtk=1.2.7
23953 else
23954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23955 $as_echo "no" >&6; }
23956 if test "$GTK_CONFIG" = "no" ; then
23957 echo "*** The gtk-config script installed by GTK could not be found"
23958 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23959 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23960 echo "*** full path to gtk-config."
23961 else
23962 if test -f conf.gtktest ; then
23963 :
23964 else
23965 echo "*** Could not run GTK test program, checking why..."
23966 CFLAGS="$CFLAGS $GTK_CFLAGS"
23967 LIBS="$LIBS $GTK_LIBS"
23968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23969 /* end confdefs.h. */
23970
23971 #include <gtk/gtk.h>
23972 #include <stdio.h>
23973
23974 int
23975 main ()
23976 {
23977 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23978 ;
23979 return 0;
23980 }
23981 _ACEOF
23982 if ac_fn_c_try_link "$LINENO"; then :
23983 echo "*** The test program compiled, but did not run. This usually means"
23984 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23985 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23986 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23987 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23988 echo "*** is required on your system"
23989 echo "***"
23990 echo "*** If you have an old version installed, it is best to remove it, although"
23991 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23992 echo "***"
23993 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23994 echo "*** came with the system with the command"
23995 echo "***"
23996 echo "*** rpm --erase --nodeps gtk gtk-devel"
23997 else
23998 echo "*** The test program failed to compile or link. See the file config.log for the"
23999 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24000 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24001 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24002 fi
24003 rm -f core conftest.err conftest.$ac_objext \
24004 conftest$ac_exeext conftest.$ac_ext
24005 CFLAGS="$ac_save_CFLAGS"
24006 LIBS="$ac_save_LIBS"
24007 fi
24008 fi
24009 GTK_CFLAGS=""
24010 GTK_LIBS=""
24011 :
24012 fi
24013
24014
24015 rm -f conf.gtktest
24016
24017
24018 if test -z "$wx_cv_lib_gtk"; then
24019
24020 # Check whether --with-gtk-prefix was given.
24021 if test "${with_gtk_prefix+set}" = set; then :
24022 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
24023 else
24024 gtk_config_prefix=""
24025 fi
24026
24027
24028 # Check whether --with-gtk-exec-prefix was given.
24029 if test "${with_gtk_exec_prefix+set}" = set; then :
24030 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
24031 else
24032 gtk_config_exec_prefix=""
24033 fi
24034
24035 # Check whether --enable-gtktest was given.
24036 if test "${enable_gtktest+set}" = set; then :
24037 enableval=$enable_gtktest;
24038 else
24039 enable_gtktest=yes
24040 fi
24041
24042
24043 for module in . $GTK_MODULES
24044 do
24045 case "$module" in
24046 gthread)
24047 gtk_config_args="$gtk_config_args gthread"
24048 ;;
24049 esac
24050 done
24051
24052 if test x$gtk_config_exec_prefix != x ; then
24053 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24054 if test x${GTK_CONFIG+set} != xset ; then
24055 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24056 fi
24057 fi
24058 if test x$gtk_config_prefix != x ; then
24059 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24060 if test x${GTK_CONFIG+set} != xset ; then
24061 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24062 fi
24063 fi
24064
24065 # Extract the first word of "gtk-config", so it can be a program name with args.
24066 set dummy gtk-config; ac_word=$2
24067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24068 $as_echo_n "checking for $ac_word... " >&6; }
24069 if ${ac_cv_path_GTK_CONFIG+:} false; then :
24070 $as_echo_n "(cached) " >&6
24071 else
24072 case $GTK_CONFIG in
24073 [\\/]* | ?:[\\/]*)
24074 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24075 ;;
24076 *)
24077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24078 for as_dir in $PATH
24079 do
24080 IFS=$as_save_IFS
24081 test -z "$as_dir" && as_dir=.
24082 for ac_exec_ext in '' $ac_executable_extensions; do
24083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24084 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24086 break 2
24087 fi
24088 done
24089 done
24090 IFS=$as_save_IFS
24091
24092 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24093 ;;
24094 esac
24095 fi
24096 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24097 if test -n "$GTK_CONFIG"; then
24098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24099 $as_echo "$GTK_CONFIG" >&6; }
24100 else
24101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24102 $as_echo "no" >&6; }
24103 fi
24104
24105
24106 min_gtk_version=1.2.3
24107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24108 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24109 no_gtk=""
24110 if test "$GTK_CONFIG" = "no" ; then
24111 no_gtk=yes
24112 else
24113 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24114 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24115 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24116 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24117 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24118 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24119 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24120 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24121 if test "x$enable_gtktest" = "xyes" ; then
24122 ac_save_CFLAGS="$CFLAGS"
24123 ac_save_LIBS="$LIBS"
24124 CFLAGS="$CFLAGS $GTK_CFLAGS"
24125 LIBS="$GTK_LIBS $LIBS"
24126 rm -f conf.gtktest
24127 if test "$cross_compiling" = yes; then :
24128 echo $ac_n "cross compiling; assumed OK... $ac_c"
24129 else
24130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24131 /* end confdefs.h. */
24132
24133 #include <gtk/gtk.h>
24134 #include <stdio.h>
24135 #include <stdlib.h>
24136
24137 int
24138 main ()
24139 {
24140 int major, minor, micro;
24141 char *tmp_version;
24142
24143 system ("touch conf.gtktest");
24144
24145 /* HP/UX 9 (%@#!) writes to sscanf strings */
24146 tmp_version = g_strdup("$min_gtk_version");
24147 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24148 printf("%s, bad version string\n", "$min_gtk_version");
24149 exit(1);
24150 }
24151
24152 if ((gtk_major_version != $gtk_config_major_version) ||
24153 (gtk_minor_version != $gtk_config_minor_version) ||
24154 (gtk_micro_version != $gtk_config_micro_version))
24155 {
24156 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24157 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24158 gtk_major_version, gtk_minor_version, gtk_micro_version);
24159 printf ("*** was found! If gtk-config was correct, then it is best\n");
24160 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24161 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24162 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24163 printf("*** required on your system.\n");
24164 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24165 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24166 printf("*** before re-running configure\n");
24167 }
24168 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24169 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24170 (gtk_minor_version != GTK_MINOR_VERSION) ||
24171 (gtk_micro_version != GTK_MICRO_VERSION))
24172 {
24173 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24174 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24175 printf("*** library (version %d.%d.%d)\n",
24176 gtk_major_version, gtk_minor_version, gtk_micro_version);
24177 }
24178 #endif /* defined (GTK_MAJOR_VERSION) ... */
24179 else
24180 {
24181 if ((gtk_major_version > major) ||
24182 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24183 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24184 {
24185 return 0;
24186 }
24187 else
24188 {
24189 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24190 gtk_major_version, gtk_minor_version, gtk_micro_version);
24191 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24192 major, minor, micro);
24193 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24194 printf("***\n");
24195 printf("*** If you have already installed a sufficiently new version, this error\n");
24196 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24197 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24198 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24199 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24200 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24201 printf("*** so that the correct libraries are found at run-time))\n");
24202 }
24203 }
24204 return 1;
24205 }
24206
24207 _ACEOF
24208 if ac_fn_c_try_run "$LINENO"; then :
24209
24210 else
24211 no_gtk=yes
24212 fi
24213 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24214 conftest.$ac_objext conftest.beam conftest.$ac_ext
24215 fi
24216
24217 CFLAGS="$ac_save_CFLAGS"
24218 LIBS="$ac_save_LIBS"
24219 fi
24220 fi
24221 if test "x$no_gtk" = x ; then
24222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24223 $as_echo "yes" >&6; }
24224 wx_cv_lib_gtk=1.2.3
24225 else
24226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24227 $as_echo "no" >&6; }
24228 if test "$GTK_CONFIG" = "no" ; then
24229 echo "*** The gtk-config script installed by GTK could not be found"
24230 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24231 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24232 echo "*** full path to gtk-config."
24233 else
24234 if test -f conf.gtktest ; then
24235 :
24236 else
24237 echo "*** Could not run GTK test program, checking why..."
24238 CFLAGS="$CFLAGS $GTK_CFLAGS"
24239 LIBS="$LIBS $GTK_LIBS"
24240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24241 /* end confdefs.h. */
24242
24243 #include <gtk/gtk.h>
24244 #include <stdio.h>
24245
24246 int
24247 main ()
24248 {
24249 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24250 ;
24251 return 0;
24252 }
24253 _ACEOF
24254 if ac_fn_c_try_link "$LINENO"; then :
24255 echo "*** The test program compiled, but did not run. This usually means"
24256 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24257 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24258 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24259 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24260 echo "*** is required on your system"
24261 echo "***"
24262 echo "*** If you have an old version installed, it is best to remove it, although"
24263 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24264 echo "***"
24265 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24266 echo "*** came with the system with the command"
24267 echo "***"
24268 echo "*** rpm --erase --nodeps gtk gtk-devel"
24269 else
24270 echo "*** The test program failed to compile or link. See the file config.log for the"
24271 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24272 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24273 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24274 fi
24275 rm -f core conftest.err conftest.$ac_objext \
24276 conftest$ac_exeext conftest.$ac_ext
24277 CFLAGS="$ac_save_CFLAGS"
24278 LIBS="$ac_save_LIBS"
24279 fi
24280 fi
24281 GTK_CFLAGS=""
24282 GTK_LIBS=""
24283 :
24284 fi
24285
24286
24287 rm -f conf.gtktest
24288
24289 fi
24290 fi
24291 fi
24292
24293 if test -z "$wx_cv_lib_gtk"; then
24294 wx_cv_lib_gtk=none
24295 else
24296 GTK_LIBS="$GTK_LIBS -lX11"
24297
24298 wx_cv_cflags_gtk=$GTK_CFLAGS
24299 wx_cv_libs_gtk=$GTK_LIBS
24300 fi
24301
24302
24303 fi
24304
24305
24306 if test "$gtk_version_cached" = 1; then
24307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24308 $as_echo "$wx_cv_lib_gtk" >&6; }
24309 fi
24310
24311 case "$wx_cv_lib_gtk" in
24312 3) WXGTK3=1
24313 TOOLKIT_VERSION=3
24314 ;;
24315 2.0) WXGTK2=1
24316 TOOLKIT_VERSION=2
24317 ;;
24318 1.2.7) WXGTK127=1
24319 WXGTK1=1
24320 ;;
24321 1.2*) WXGTK1=1 ;;
24322 *) as_fn_error $? "
24323 The development files for GTK+ were not found. For GTK+ 2, please
24324 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24325 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24326 and that the version is 1.2.3 or above. Also check that the
24327 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24328 --libs' are in the LD_LIBRARY_PATH or equivalent.
24329 " "$LINENO" 5
24330 ;;
24331 esac
24332
24333 if test "$WXGTK3" = 1; then
24334 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24335
24336 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24337
24338 elif test "$WXGTK2" = 1; then
24339 save_CFLAGS="$CFLAGS"
24340 save_LIBS="$LIBS"
24341 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
24342 LIBS="$LIBS $wx_cv_libs_gtk"
24343
24344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24345 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24347 /* end confdefs.h. */
24348
24349 #include <gtk/gtk.h>
24350
24351 int
24352 main ()
24353 {
24354
24355 #if !GTK_CHECK_VERSION(2,18,0)
24356 Not GTK+ 2.18
24357 #endif
24358
24359 ;
24360 return 0;
24361 }
24362 _ACEOF
24363 if ac_fn_c_try_compile "$LINENO"; then :
24364
24365 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24366
24367 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24368
24369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24370 $as_echo "yes" >&6; }
24371 ac_wxgtk218=1
24372
24373 else
24374
24375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24376 $as_echo "no" >&6; }
24377 ac_wxgtk218=0
24378
24379 fi
24380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24381
24382 if test "$ac_wxgtk218" = 0; then
24383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24384 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24386 /* end confdefs.h. */
24387
24388 #include <gtk/gtk.h>
24389
24390 int
24391 main ()
24392 {
24393
24394 #if !GTK_CHECK_VERSION(2,10,0)
24395 Not GTK+ 2.10
24396 #endif
24397
24398 ;
24399 return 0;
24400 }
24401 _ACEOF
24402 if ac_fn_c_try_compile "$LINENO"; then :
24403
24404 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24405
24406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24407 $as_echo "yes" >&6; }
24408 ac_wxgtk210=1
24409
24410 else
24411
24412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24413 $as_echo "no" >&6; }
24414 ac_wxgtk210=0
24415
24416 fi
24417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24418 fi
24419
24420 CFLAGS="$save_CFLAGS"
24421 LIBS="$save_LIBS"
24422 else
24423 if test "$wxUSE_UNICODE" = "yes"; then
24424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24425 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24426 wxUSE_UNICODE=no
24427 fi
24428
24429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24430 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24431 if ${ac_cv_lib_gdk_gdk_im_open+:} false; then :
24432 $as_echo_n "(cached) " >&6
24433 else
24434 ac_check_lib_save_LIBS=$LIBS
24435 LIBS="-lgdk $LIBS"
24436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24437 /* end confdefs.h. */
24438
24439 /* Override any GCC internal prototype to avoid an error.
24440 Use char because int might match the return type of a GCC
24441 builtin and then its argument prototype would still apply. */
24442 #ifdef __cplusplus
24443 extern "C"
24444 #endif
24445 char gdk_im_open ();
24446 int
24447 main ()
24448 {
24449 return gdk_im_open ();
24450 ;
24451 return 0;
24452 }
24453 _ACEOF
24454 if ac_fn_c_try_link "$LINENO"; then :
24455 ac_cv_lib_gdk_gdk_im_open=yes
24456 else
24457 ac_cv_lib_gdk_gdk_im_open=no
24458 fi
24459 rm -f core conftest.err conftest.$ac_objext \
24460 conftest$ac_exeext conftest.$ac_ext
24461 LIBS=$ac_check_lib_save_LIBS
24462 fi
24463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24464 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24465 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes; then :
24466 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24467
24468 fi
24469
24470
24471 if test "$USE_DARWIN" != 1; then
24472 for ac_func in poll
24473 do :
24474 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
24475 if test "x$ac_cv_func_poll" = xyes; then :
24476 cat >>confdefs.h <<_ACEOF
24477 #define HAVE_POLL 1
24478 _ACEOF
24479
24480 fi
24481 done
24482
24483 fi
24484 fi
24485
24486 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24487 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24488 AFMINSTALL=afminstall
24489 TOOLKIT=GTK
24490 GUIDIST=GTK_DIST
24491
24492 if test "$wxUSE_GPE" = "yes"; then
24493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24494 $as_echo_n "checking for gpewidget library... " >&6; }
24495
24496 ac_find_libraries=
24497 for ac_dir in $SEARCH_LIB
24498 do
24499 for ac_extension in a so sl dylib dll.a; do
24500 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24501 ac_find_libraries=$ac_dir
24502 break 2
24503 fi
24504 done
24505 done
24506
24507 if test "$ac_find_libraries" != "" ; then
24508
24509 if test "$ac_find_libraries" = "default location"; then
24510 ac_path_to_link=""
24511 else
24512 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24513 result=$?
24514 if test $result = 0; then
24515 ac_path_to_link=""
24516 else
24517 ac_path_to_link=" -L$ac_find_libraries"
24518 fi
24519 fi
24520
24521 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24522 WXGPE=1
24523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24524 $as_echo "found in $ac_find_libraries" >&6; }
24525 else
24526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24527 $as_echo "not found" >&6; }
24528 fi
24529
24530 fi
24531 fi
24532
24533 if test "$wxUSE_DFB" = 1; then
24534
24535
24536 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24537 if test -n "$ac_tool_prefix"; then
24538 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24539 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24541 $as_echo_n "checking for $ac_word... " >&6; }
24542 if ${ac_cv_path_PKG_CONFIG+:} false; then :
24543 $as_echo_n "(cached) " >&6
24544 else
24545 case $PKG_CONFIG in
24546 [\\/]* | ?:[\\/]*)
24547 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24548 ;;
24549 *)
24550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24551 for as_dir in $PATH
24552 do
24553 IFS=$as_save_IFS
24554 test -z "$as_dir" && as_dir=.
24555 for ac_exec_ext in '' $ac_executable_extensions; do
24556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24557 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24559 break 2
24560 fi
24561 done
24562 done
24563 IFS=$as_save_IFS
24564
24565 ;;
24566 esac
24567 fi
24568 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24569 if test -n "$PKG_CONFIG"; then
24570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24571 $as_echo "$PKG_CONFIG" >&6; }
24572 else
24573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24574 $as_echo "no" >&6; }
24575 fi
24576
24577
24578 fi
24579 if test -z "$ac_cv_path_PKG_CONFIG"; then
24580 ac_pt_PKG_CONFIG=$PKG_CONFIG
24581 # Extract the first word of "pkg-config", so it can be a program name with args.
24582 set dummy pkg-config; ac_word=$2
24583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24584 $as_echo_n "checking for $ac_word... " >&6; }
24585 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
24586 $as_echo_n "(cached) " >&6
24587 else
24588 case $ac_pt_PKG_CONFIG in
24589 [\\/]* | ?:[\\/]*)
24590 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24591 ;;
24592 *)
24593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24594 for as_dir in $PATH
24595 do
24596 IFS=$as_save_IFS
24597 test -z "$as_dir" && as_dir=.
24598 for ac_exec_ext in '' $ac_executable_extensions; do
24599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24600 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24602 break 2
24603 fi
24604 done
24605 done
24606 IFS=$as_save_IFS
24607
24608 ;;
24609 esac
24610 fi
24611 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24612 if test -n "$ac_pt_PKG_CONFIG"; then
24613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24614 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24615 else
24616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24617 $as_echo "no" >&6; }
24618 fi
24619
24620 if test "x$ac_pt_PKG_CONFIG" = x; then
24621 PKG_CONFIG=""
24622 else
24623 case $cross_compiling:$ac_tool_warned in
24624 yes:)
24625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24627 ac_tool_warned=yes ;;
24628 esac
24629 PKG_CONFIG=$ac_pt_PKG_CONFIG
24630 fi
24631 else
24632 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24633 fi
24634
24635 fi
24636 if test -n "$PKG_CONFIG"; then
24637 _pkg_min_version=0.9.0
24638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24639 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24640 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24642 $as_echo "yes" >&6; }
24643 else
24644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24645 $as_echo "no" >&6; }
24646 PKG_CONFIG=""
24647 fi
24648
24649 fi
24650
24651
24652 pkg_failed=no
24653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24654 $as_echo_n "checking for DIRECTFB... " >&6; }
24655
24656 if test -n "$PKG_CONFIG"; then
24657 if test -n "$DIRECTFB_CFLAGS"; then
24658 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24659 else
24660 if test -n "$PKG_CONFIG" && \
24661 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24662 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24663 ac_status=$?
24664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24665 test $ac_status = 0; }; then
24666 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24667 else
24668 pkg_failed=yes
24669 fi
24670 fi
24671 else
24672 pkg_failed=untried
24673 fi
24674 if test -n "$PKG_CONFIG"; then
24675 if test -n "$DIRECTFB_LIBS"; then
24676 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24677 else
24678 if test -n "$PKG_CONFIG" && \
24679 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24680 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24681 ac_status=$?
24682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24683 test $ac_status = 0; }; then
24684 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24685 else
24686 pkg_failed=yes
24687 fi
24688 fi
24689 else
24690 pkg_failed=untried
24691 fi
24692
24693
24694
24695 if test $pkg_failed = yes; then
24696
24697 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24698 _pkg_short_errors_supported=yes
24699 else
24700 _pkg_short_errors_supported=no
24701 fi
24702 if test $_pkg_short_errors_supported = yes; then
24703 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24704 else
24705 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24706 fi
24707 # Put the nasty error message in config.log where it belongs
24708 echo "$DIRECTFB_PKG_ERRORS" >&5
24709
24710
24711 as_fn_error $? "DirectFB not found." "$LINENO" 5
24712
24713
24714 elif test $pkg_failed = untried; then
24715
24716 as_fn_error $? "DirectFB not found." "$LINENO" 5
24717
24718
24719 else
24720 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24721 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24723 $as_echo "yes" >&6; }
24724
24725 wxUSE_UNIVERSAL="yes"
24726 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
24727 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
24728 TOOLKIT=DFB
24729 GUIDIST=DFB_DIST
24730
24731 fi
24732 fi
24733
24734 if test "$wxUSE_MICROWIN" = 1; then
24735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24736 $as_echo_n "checking for MicroWindows... " >&6; }
24737 if test "x$MICROWINDOWS" = x ; then
24738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24739 $as_echo "not found" >&6; }
24740 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24741 else
24742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24743 $as_echo "$MICROWINDOWS" >&6; }
24744 fi
24745
24746 if test -f $MICROWINDOWS/lib/libmwin.a; then
24747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24748 $as_echo "MicroWindows' libraries found." >&6; }
24749 else
24750 as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24751 fi
24752
24753 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24754 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24755
24756 wxUSE_UNIVERSAL="yes"
24757
24758 AFMINSTALL=afminstall
24759 TOOLKIT=MICROWIN
24760 GUIDIST=MICROWIN_DIST
24761
24762 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24763 fi
24764
24765 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24767 $as_echo_n "checking for X... " >&6; }
24768
24769
24770 # Check whether --with-x was given.
24771 if test "${with_x+set}" = set; then :
24772 withval=$with_x;
24773 fi
24774
24775 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24776 if test "x$with_x" = xno; then
24777 # The user explicitly disabled X.
24778 have_x=disabled
24779 else
24780 case $x_includes,$x_libraries in #(
24781 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24782 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
24783 $as_echo_n "(cached) " >&6
24784 else
24785 # One or both of the vars are not set, and there is no cached value.
24786 ac_x_includes=no ac_x_libraries=no
24787 rm -f -r conftest.dir
24788 if mkdir conftest.dir; then
24789 cd conftest.dir
24790 cat >Imakefile <<'_ACEOF'
24791 incroot:
24792 @echo incroot='${INCROOT}'
24793 usrlibdir:
24794 @echo usrlibdir='${USRLIBDIR}'
24795 libdir:
24796 @echo libdir='${LIBDIR}'
24797 _ACEOF
24798 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24799 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24800 for ac_var in incroot usrlibdir libdir; do
24801 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24802 done
24803 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24804 for ac_extension in a so sl dylib la dll; do
24805 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24806 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24807 ac_im_usrlibdir=$ac_im_libdir; break
24808 fi
24809 done
24810 # Screen out bogus values from the imake configuration. They are
24811 # bogus both because they are the default anyway, and because
24812 # using them would break gcc on systems where it needs fixed includes.
24813 case $ac_im_incroot in
24814 /usr/include) ac_x_includes= ;;
24815 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24816 esac
24817 case $ac_im_usrlibdir in
24818 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24819 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24820 esac
24821 fi
24822 cd ..
24823 rm -f -r conftest.dir
24824 fi
24825
24826 # Standard set of common directories for X headers.
24827 # Check X11 before X11Rn because it is often a symlink to the current release.
24828 ac_x_header_dirs='
24829 /usr/X11/include
24830 /usr/X11R7/include
24831 /usr/X11R6/include
24832 /usr/X11R5/include
24833 /usr/X11R4/include
24834
24835 /usr/include/X11
24836 /usr/include/X11R7
24837 /usr/include/X11R6
24838 /usr/include/X11R5
24839 /usr/include/X11R4
24840
24841 /usr/local/X11/include
24842 /usr/local/X11R7/include
24843 /usr/local/X11R6/include
24844 /usr/local/X11R5/include
24845 /usr/local/X11R4/include
24846
24847 /usr/local/include/X11
24848 /usr/local/include/X11R7
24849 /usr/local/include/X11R6
24850 /usr/local/include/X11R5
24851 /usr/local/include/X11R4
24852
24853 /usr/X386/include
24854 /usr/x386/include
24855 /usr/XFree86/include/X11
24856
24857 /usr/include
24858 /usr/local/include
24859 /usr/unsupported/include
24860 /usr/athena/include
24861 /usr/local/x11r5/include
24862 /usr/lpp/Xamples/include
24863
24864 /usr/openwin/include
24865 /usr/openwin/share/include'
24866
24867 if test "$ac_x_includes" = no; then
24868 # Guess where to find include files, by looking for Xlib.h.
24869 # First, try using that file with no special directory specified.
24870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24871 /* end confdefs.h. */
24872 #include <X11/Xlib.h>
24873 _ACEOF
24874 if ac_fn_c_try_cpp "$LINENO"; then :
24875 # We can compile using X headers with no special include directory.
24876 ac_x_includes=
24877 else
24878 for ac_dir in $ac_x_header_dirs; do
24879 if test -r "$ac_dir/X11/Xlib.h"; then
24880 ac_x_includes=$ac_dir
24881 break
24882 fi
24883 done
24884 fi
24885 rm -f conftest.err conftest.i conftest.$ac_ext
24886 fi # $ac_x_includes = no
24887
24888 if test "$ac_x_libraries" = no; then
24889 # Check for the libraries.
24890 # See if we find them without any special options.
24891 # Don't add to $LIBS permanently.
24892 ac_save_LIBS=$LIBS
24893 LIBS="-lX11 $LIBS"
24894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24895 /* end confdefs.h. */
24896 #include <X11/Xlib.h>
24897 int
24898 main ()
24899 {
24900 XrmInitialize ()
24901 ;
24902 return 0;
24903 }
24904 _ACEOF
24905 if ac_fn_c_try_link "$LINENO"; then :
24906 LIBS=$ac_save_LIBS
24907 # We can link X programs with no special library path.
24908 ac_x_libraries=
24909 else
24910 LIBS=$ac_save_LIBS
24911 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24912 do
24913 # Don't even attempt the hair of trying to link an X program!
24914 for ac_extension in a so sl dylib la dll; do
24915 if test -r "$ac_dir/libX11.$ac_extension"; then
24916 ac_x_libraries=$ac_dir
24917 break 2
24918 fi
24919 done
24920 done
24921 fi
24922 rm -f core conftest.err conftest.$ac_objext \
24923 conftest$ac_exeext conftest.$ac_ext
24924 fi # $ac_x_libraries = no
24925
24926 case $ac_x_includes,$ac_x_libraries in #(
24927 no,* | *,no | *\'*)
24928 # Didn't find X, or a directory has "'" in its name.
24929 ac_cv_have_x="have_x=no";; #(
24930 *)
24931 # Record where we found X for the cache.
24932 ac_cv_have_x="have_x=yes\
24933 ac_x_includes='$ac_x_includes'\
24934 ac_x_libraries='$ac_x_libraries'"
24935 esac
24936 fi
24937 ;; #(
24938 *) have_x=yes;;
24939 esac
24940 eval "$ac_cv_have_x"
24941 fi # $with_x != no
24942
24943 if test "$have_x" != yes; then
24944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24945 $as_echo "$have_x" >&6; }
24946 no_x=yes
24947 else
24948 # If each of the values was on the command line, it overrides each guess.
24949 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24950 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24951 # Update the cache value to reflect the command line values.
24952 ac_cv_have_x="have_x=yes\
24953 ac_x_includes='$x_includes'\
24954 ac_x_libraries='$x_libraries'"
24955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24956 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24957 fi
24958
24959 if test "$no_x" = yes; then
24960 # Not all programs may use this symbol, but it does not hurt to define it.
24961
24962 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24963
24964 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24965 else
24966 if test -n "$x_includes"; then
24967 X_CFLAGS="$X_CFLAGS -I$x_includes"
24968 fi
24969
24970 # It would also be nice to do this for all -L options, not just this one.
24971 if test -n "$x_libraries"; then
24972 X_LIBS="$X_LIBS -L$x_libraries"
24973 # For Solaris; some versions of Sun CC require a space after -R and
24974 # others require no space. Words are not sufficient . . . .
24975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24976 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24977 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24978 ac_xsave_c_werror_flag=$ac_c_werror_flag
24979 ac_c_werror_flag=yes
24980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24981 /* end confdefs.h. */
24982
24983 int
24984 main ()
24985 {
24986
24987 ;
24988 return 0;
24989 }
24990 _ACEOF
24991 if ac_fn_c_try_link "$LINENO"; then :
24992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24993 $as_echo "no" >&6; }
24994 X_LIBS="$X_LIBS -R$x_libraries"
24995 else
24996 LIBS="$ac_xsave_LIBS -R $x_libraries"
24997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24998 /* end confdefs.h. */
24999
25000 int
25001 main ()
25002 {
25003
25004 ;
25005 return 0;
25006 }
25007 _ACEOF
25008 if ac_fn_c_try_link "$LINENO"; then :
25009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25010 $as_echo "yes" >&6; }
25011 X_LIBS="$X_LIBS -R $x_libraries"
25012 else
25013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25014 $as_echo "neither works" >&6; }
25015 fi
25016 rm -f core conftest.err conftest.$ac_objext \
25017 conftest$ac_exeext conftest.$ac_ext
25018 fi
25019 rm -f core conftest.err conftest.$ac_objext \
25020 conftest$ac_exeext conftest.$ac_ext
25021 ac_c_werror_flag=$ac_xsave_c_werror_flag
25022 LIBS=$ac_xsave_LIBS
25023 fi
25024
25025 # Check for system-dependent libraries X programs must link with.
25026 # Do this before checking for the system-independent R6 libraries
25027 # (-lICE), since we may need -lsocket or whatever for X linking.
25028
25029 if test "$ISC" = yes; then
25030 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25031 else
25032 # Martyn Johnson says this is needed for Ultrix, if the X
25033 # libraries were built with DECnet support. And Karl Berry says
25034 # the Alpha needs dnet_stub (dnet does not exist).
25035 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25037 /* end confdefs.h. */
25038
25039 /* Override any GCC internal prototype to avoid an error.
25040 Use char because int might match the return type of a GCC
25041 builtin and then its argument prototype would still apply. */
25042 #ifdef __cplusplus
25043 extern "C"
25044 #endif
25045 char XOpenDisplay ();
25046 int
25047 main ()
25048 {
25049 return XOpenDisplay ();
25050 ;
25051 return 0;
25052 }
25053 _ACEOF
25054 if ac_fn_c_try_link "$LINENO"; then :
25055
25056 else
25057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25058 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25059 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
25060 $as_echo_n "(cached) " >&6
25061 else
25062 ac_check_lib_save_LIBS=$LIBS
25063 LIBS="-ldnet $LIBS"
25064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25065 /* end confdefs.h. */
25066
25067 /* Override any GCC internal prototype to avoid an error.
25068 Use char because int might match the return type of a GCC
25069 builtin and then its argument prototype would still apply. */
25070 #ifdef __cplusplus
25071 extern "C"
25072 #endif
25073 char dnet_ntoa ();
25074 int
25075 main ()
25076 {
25077 return dnet_ntoa ();
25078 ;
25079 return 0;
25080 }
25081 _ACEOF
25082 if ac_fn_c_try_link "$LINENO"; then :
25083 ac_cv_lib_dnet_dnet_ntoa=yes
25084 else
25085 ac_cv_lib_dnet_dnet_ntoa=no
25086 fi
25087 rm -f core conftest.err conftest.$ac_objext \
25088 conftest$ac_exeext conftest.$ac_ext
25089 LIBS=$ac_check_lib_save_LIBS
25090 fi
25091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25092 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25093 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
25094 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25095 fi
25096
25097 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25099 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25100 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
25101 $as_echo_n "(cached) " >&6
25102 else
25103 ac_check_lib_save_LIBS=$LIBS
25104 LIBS="-ldnet_stub $LIBS"
25105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25106 /* end confdefs.h. */
25107
25108 /* Override any GCC internal prototype to avoid an error.
25109 Use char because int might match the return type of a GCC
25110 builtin and then its argument prototype would still apply. */
25111 #ifdef __cplusplus
25112 extern "C"
25113 #endif
25114 char dnet_ntoa ();
25115 int
25116 main ()
25117 {
25118 return dnet_ntoa ();
25119 ;
25120 return 0;
25121 }
25122 _ACEOF
25123 if ac_fn_c_try_link "$LINENO"; then :
25124 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25125 else
25126 ac_cv_lib_dnet_stub_dnet_ntoa=no
25127 fi
25128 rm -f core conftest.err conftest.$ac_objext \
25129 conftest$ac_exeext conftest.$ac_ext
25130 LIBS=$ac_check_lib_save_LIBS
25131 fi
25132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25133 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25134 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
25135 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25136 fi
25137
25138 fi
25139 fi
25140 rm -f core conftest.err conftest.$ac_objext \
25141 conftest$ac_exeext conftest.$ac_ext
25142 LIBS="$ac_xsave_LIBS"
25143
25144 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25145 # to get the SysV transport functions.
25146 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25147 # needs -lnsl.
25148 # The nsl library prevents programs from opening the X display
25149 # on Irix 5.2, according to T.E. Dickey.
25150 # The functions gethostbyname, getservbyname, and inet_addr are
25151 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25152 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25153 if test "x$ac_cv_func_gethostbyname" = xyes; then :
25154
25155 fi
25156
25157 if test $ac_cv_func_gethostbyname = no; then
25158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25159 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25160 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
25161 $as_echo_n "(cached) " >&6
25162 else
25163 ac_check_lib_save_LIBS=$LIBS
25164 LIBS="-lnsl $LIBS"
25165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25166 /* end confdefs.h. */
25167
25168 /* Override any GCC internal prototype to avoid an error.
25169 Use char because int might match the return type of a GCC
25170 builtin and then its argument prototype would still apply. */
25171 #ifdef __cplusplus
25172 extern "C"
25173 #endif
25174 char gethostbyname ();
25175 int
25176 main ()
25177 {
25178 return gethostbyname ();
25179 ;
25180 return 0;
25181 }
25182 _ACEOF
25183 if ac_fn_c_try_link "$LINENO"; then :
25184 ac_cv_lib_nsl_gethostbyname=yes
25185 else
25186 ac_cv_lib_nsl_gethostbyname=no
25187 fi
25188 rm -f core conftest.err conftest.$ac_objext \
25189 conftest$ac_exeext conftest.$ac_ext
25190 LIBS=$ac_check_lib_save_LIBS
25191 fi
25192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25193 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25194 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
25195 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25196 fi
25197
25198 if test $ac_cv_lib_nsl_gethostbyname = no; then
25199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25200 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25201 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
25202 $as_echo_n "(cached) " >&6
25203 else
25204 ac_check_lib_save_LIBS=$LIBS
25205 LIBS="-lbsd $LIBS"
25206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25207 /* end confdefs.h. */
25208
25209 /* Override any GCC internal prototype to avoid an error.
25210 Use char because int might match the return type of a GCC
25211 builtin and then its argument prototype would still apply. */
25212 #ifdef __cplusplus
25213 extern "C"
25214 #endif
25215 char gethostbyname ();
25216 int
25217 main ()
25218 {
25219 return gethostbyname ();
25220 ;
25221 return 0;
25222 }
25223 _ACEOF
25224 if ac_fn_c_try_link "$LINENO"; then :
25225 ac_cv_lib_bsd_gethostbyname=yes
25226 else
25227 ac_cv_lib_bsd_gethostbyname=no
25228 fi
25229 rm -f core conftest.err conftest.$ac_objext \
25230 conftest$ac_exeext conftest.$ac_ext
25231 LIBS=$ac_check_lib_save_LIBS
25232 fi
25233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25234 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25235 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
25236 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25237 fi
25238
25239 fi
25240 fi
25241
25242 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25243 # socket/setsockopt and other routines are undefined under SCO ODT
25244 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25245 # on later versions), says Simon Leinen: it contains gethostby*
25246 # variants that don't use the name server (or something). -lsocket
25247 # must be given before -lnsl if both are needed. We assume that
25248 # if connect needs -lnsl, so does gethostbyname.
25249 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25250 if test "x$ac_cv_func_connect" = xyes; then :
25251
25252 fi
25253
25254 if test $ac_cv_func_connect = no; then
25255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25256 $as_echo_n "checking for connect in -lsocket... " >&6; }
25257 if ${ac_cv_lib_socket_connect+:} false; then :
25258 $as_echo_n "(cached) " >&6
25259 else
25260 ac_check_lib_save_LIBS=$LIBS
25261 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25263 /* end confdefs.h. */
25264
25265 /* Override any GCC internal prototype to avoid an error.
25266 Use char because int might match the return type of a GCC
25267 builtin and then its argument prototype would still apply. */
25268 #ifdef __cplusplus
25269 extern "C"
25270 #endif
25271 char connect ();
25272 int
25273 main ()
25274 {
25275 return connect ();
25276 ;
25277 return 0;
25278 }
25279 _ACEOF
25280 if ac_fn_c_try_link "$LINENO"; then :
25281 ac_cv_lib_socket_connect=yes
25282 else
25283 ac_cv_lib_socket_connect=no
25284 fi
25285 rm -f core conftest.err conftest.$ac_objext \
25286 conftest$ac_exeext conftest.$ac_ext
25287 LIBS=$ac_check_lib_save_LIBS
25288 fi
25289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25290 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25291 if test "x$ac_cv_lib_socket_connect" = xyes; then :
25292 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25293 fi
25294
25295 fi
25296
25297 # Guillermo Gomez says -lposix is necessary on A/UX.
25298 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25299 if test "x$ac_cv_func_remove" = xyes; then :
25300
25301 fi
25302
25303 if test $ac_cv_func_remove = no; then
25304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25305 $as_echo_n "checking for remove in -lposix... " >&6; }
25306 if ${ac_cv_lib_posix_remove+:} false; then :
25307 $as_echo_n "(cached) " >&6
25308 else
25309 ac_check_lib_save_LIBS=$LIBS
25310 LIBS="-lposix $LIBS"
25311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25312 /* end confdefs.h. */
25313
25314 /* Override any GCC internal prototype to avoid an error.
25315 Use char because int might match the return type of a GCC
25316 builtin and then its argument prototype would still apply. */
25317 #ifdef __cplusplus
25318 extern "C"
25319 #endif
25320 char remove ();
25321 int
25322 main ()
25323 {
25324 return remove ();
25325 ;
25326 return 0;
25327 }
25328 _ACEOF
25329 if ac_fn_c_try_link "$LINENO"; then :
25330 ac_cv_lib_posix_remove=yes
25331 else
25332 ac_cv_lib_posix_remove=no
25333 fi
25334 rm -f core conftest.err conftest.$ac_objext \
25335 conftest$ac_exeext conftest.$ac_ext
25336 LIBS=$ac_check_lib_save_LIBS
25337 fi
25338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25339 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25340 if test "x$ac_cv_lib_posix_remove" = xyes; then :
25341 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25342 fi
25343
25344 fi
25345
25346 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25347 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25348 if test "x$ac_cv_func_shmat" = xyes; then :
25349
25350 fi
25351
25352 if test $ac_cv_func_shmat = no; then
25353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25354 $as_echo_n "checking for shmat in -lipc... " >&6; }
25355 if ${ac_cv_lib_ipc_shmat+:} false; then :
25356 $as_echo_n "(cached) " >&6
25357 else
25358 ac_check_lib_save_LIBS=$LIBS
25359 LIBS="-lipc $LIBS"
25360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25361 /* end confdefs.h. */
25362
25363 /* Override any GCC internal prototype to avoid an error.
25364 Use char because int might match the return type of a GCC
25365 builtin and then its argument prototype would still apply. */
25366 #ifdef __cplusplus
25367 extern "C"
25368 #endif
25369 char shmat ();
25370 int
25371 main ()
25372 {
25373 return shmat ();
25374 ;
25375 return 0;
25376 }
25377 _ACEOF
25378 if ac_fn_c_try_link "$LINENO"; then :
25379 ac_cv_lib_ipc_shmat=yes
25380 else
25381 ac_cv_lib_ipc_shmat=no
25382 fi
25383 rm -f core conftest.err conftest.$ac_objext \
25384 conftest$ac_exeext conftest.$ac_ext
25385 LIBS=$ac_check_lib_save_LIBS
25386 fi
25387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25388 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25389 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
25390 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25391 fi
25392
25393 fi
25394 fi
25395
25396 # Check for libraries that X11R6 Xt/Xaw programs need.
25397 ac_save_LDFLAGS=$LDFLAGS
25398 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25399 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25400 # check for ICE first), but we must link in the order -lSM -lICE or
25401 # we get undefined symbols. So assume we have SM if we have ICE.
25402 # These have to be linked with before -lX11, unlike the other
25403 # libraries we check for below, so use a different variable.
25404 # John Interrante, Karl Berry
25405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25406 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25407 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
25408 $as_echo_n "(cached) " >&6
25409 else
25410 ac_check_lib_save_LIBS=$LIBS
25411 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25413 /* end confdefs.h. */
25414
25415 /* Override any GCC internal prototype to avoid an error.
25416 Use char because int might match the return type of a GCC
25417 builtin and then its argument prototype would still apply. */
25418 #ifdef __cplusplus
25419 extern "C"
25420 #endif
25421 char IceConnectionNumber ();
25422 int
25423 main ()
25424 {
25425 return IceConnectionNumber ();
25426 ;
25427 return 0;
25428 }
25429 _ACEOF
25430 if ac_fn_c_try_link "$LINENO"; then :
25431 ac_cv_lib_ICE_IceConnectionNumber=yes
25432 else
25433 ac_cv_lib_ICE_IceConnectionNumber=no
25434 fi
25435 rm -f core conftest.err conftest.$ac_objext \
25436 conftest$ac_exeext conftest.$ac_ext
25437 LIBS=$ac_check_lib_save_LIBS
25438 fi
25439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25440 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25441 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
25442 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25443 fi
25444
25445 LDFLAGS=$ac_save_LDFLAGS
25446
25447 fi
25448
25449
25450 if test "$no_x" = "yes"; then
25451 as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25452 fi
25453
25454 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25455 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25456 AFMINSTALL=afminstall
25457 COMPILED_X_PROGRAM=0
25458
25459 fi
25460
25461 if test "$wxUSE_X11" = 1; then
25462 if test "$wxUSE_NANOX" = "yes"; then
25463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25464 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25465 if test "x$MICROWIN" = x ; then
25466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25467 $as_echo "not found" >&6; }
25468 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25469 else
25470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25471 $as_echo "$MICROWIN" >&6; }
25472 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25473
25474 fi
25475 fi
25476
25477 if test "$wxUSE_UNICODE" = "yes"; then
25478
25479
25480 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25481 if test -n "$ac_tool_prefix"; then
25482 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25483 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25485 $as_echo_n "checking for $ac_word... " >&6; }
25486 if ${ac_cv_path_PKG_CONFIG+:} false; then :
25487 $as_echo_n "(cached) " >&6
25488 else
25489 case $PKG_CONFIG in
25490 [\\/]* | ?:[\\/]*)
25491 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25492 ;;
25493 *)
25494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25495 for as_dir in $PATH
25496 do
25497 IFS=$as_save_IFS
25498 test -z "$as_dir" && as_dir=.
25499 for ac_exec_ext in '' $ac_executable_extensions; do
25500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25501 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25503 break 2
25504 fi
25505 done
25506 done
25507 IFS=$as_save_IFS
25508
25509 ;;
25510 esac
25511 fi
25512 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25513 if test -n "$PKG_CONFIG"; then
25514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25515 $as_echo "$PKG_CONFIG" >&6; }
25516 else
25517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25518 $as_echo "no" >&6; }
25519 fi
25520
25521
25522 fi
25523 if test -z "$ac_cv_path_PKG_CONFIG"; then
25524 ac_pt_PKG_CONFIG=$PKG_CONFIG
25525 # Extract the first word of "pkg-config", so it can be a program name with args.
25526 set dummy pkg-config; ac_word=$2
25527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25528 $as_echo_n "checking for $ac_word... " >&6; }
25529 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
25530 $as_echo_n "(cached) " >&6
25531 else
25532 case $ac_pt_PKG_CONFIG in
25533 [\\/]* | ?:[\\/]*)
25534 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25535 ;;
25536 *)
25537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25538 for as_dir in $PATH
25539 do
25540 IFS=$as_save_IFS
25541 test -z "$as_dir" && as_dir=.
25542 for ac_exec_ext in '' $ac_executable_extensions; do
25543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25544 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25546 break 2
25547 fi
25548 done
25549 done
25550 IFS=$as_save_IFS
25551
25552 ;;
25553 esac
25554 fi
25555 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25556 if test -n "$ac_pt_PKG_CONFIG"; then
25557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25558 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25559 else
25560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25561 $as_echo "no" >&6; }
25562 fi
25563
25564 if test "x$ac_pt_PKG_CONFIG" = x; then
25565 PKG_CONFIG=""
25566 else
25567 case $cross_compiling:$ac_tool_warned in
25568 yes:)
25569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25571 ac_tool_warned=yes ;;
25572 esac
25573 PKG_CONFIG=$ac_pt_PKG_CONFIG
25574 fi
25575 else
25576 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25577 fi
25578
25579 fi
25580 if test -n "$PKG_CONFIG"; then
25581 _pkg_min_version=0.9.0
25582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25583 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25584 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25586 $as_echo "yes" >&6; }
25587 else
25588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25589 $as_echo "no" >&6; }
25590 PKG_CONFIG=""
25591 fi
25592
25593 fi
25594
25595
25596 pkg_failed=no
25597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25598 $as_echo_n "checking for PANGOX... " >&6; }
25599
25600 if test -n "$PKG_CONFIG"; then
25601 if test -n "$PANGOX_CFLAGS"; then
25602 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
25603 else
25604 if test -n "$PKG_CONFIG" && \
25605 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25606 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25607 ac_status=$?
25608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25609 test $ac_status = 0; }; then
25610 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25611 else
25612 pkg_failed=yes
25613 fi
25614 fi
25615 else
25616 pkg_failed=untried
25617 fi
25618 if test -n "$PKG_CONFIG"; then
25619 if test -n "$PANGOX_LIBS"; then
25620 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
25621 else
25622 if test -n "$PKG_CONFIG" && \
25623 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25624 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25625 ac_status=$?
25626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25627 test $ac_status = 0; }; then
25628 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25629 else
25630 pkg_failed=yes
25631 fi
25632 fi
25633 else
25634 pkg_failed=untried
25635 fi
25636
25637
25638
25639 if test $pkg_failed = yes; then
25640
25641 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25642 _pkg_short_errors_supported=yes
25643 else
25644 _pkg_short_errors_supported=no
25645 fi
25646 if test $_pkg_short_errors_supported = yes; then
25647 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25648 else
25649 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25650 fi
25651 # Put the nasty error message in config.log where it belongs
25652 echo "$PANGOX_PKG_ERRORS" >&5
25653
25654
25655 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25656
25657
25658 elif test $pkg_failed = untried; then
25659
25660 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25661
25662
25663 else
25664 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
25665 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
25666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25667 $as_echo "yes" >&6; }
25668
25669 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
25670 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
25671 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25672
25673 fi
25674
25675 pkg_failed=no
25676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25677 $as_echo_n "checking for PANGOFT2... " >&6; }
25678
25679 if test -n "$PKG_CONFIG"; then
25680 if test -n "$PANGOFT2_CFLAGS"; then
25681 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
25682 else
25683 if test -n "$PKG_CONFIG" && \
25684 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25685 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25686 ac_status=$?
25687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25688 test $ac_status = 0; }; then
25689 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25690 else
25691 pkg_failed=yes
25692 fi
25693 fi
25694 else
25695 pkg_failed=untried
25696 fi
25697 if test -n "$PKG_CONFIG"; then
25698 if test -n "$PANGOFT2_LIBS"; then
25699 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
25700 else
25701 if test -n "$PKG_CONFIG" && \
25702 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25703 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25704 ac_status=$?
25705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25706 test $ac_status = 0; }; then
25707 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25708 else
25709 pkg_failed=yes
25710 fi
25711 fi
25712 else
25713 pkg_failed=untried
25714 fi
25715
25716
25717
25718 if test $pkg_failed = yes; then
25719
25720 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25721 _pkg_short_errors_supported=yes
25722 else
25723 _pkg_short_errors_supported=no
25724 fi
25725 if test $_pkg_short_errors_supported = yes; then
25726 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25727 else
25728 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25729 fi
25730 # Put the nasty error message in config.log where it belongs
25731 echo "$PANGOFT2_PKG_ERRORS" >&5
25732
25733
25734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25735 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25736 wxUSE_PRINTING_ARCHITECTURE="no"
25737
25738
25739 elif test $pkg_failed = untried; then
25740
25741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25742 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25743 wxUSE_PRINTING_ARCHITECTURE="no"
25744
25745
25746 else
25747 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
25748 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
25749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25750 $as_echo "yes" >&6; }
25751
25752 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
25753 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
25754 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25755
25756 fi
25757
25758 pkg_failed=no
25759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25760 $as_echo_n "checking for PANGOXFT... " >&6; }
25761
25762 if test -n "$PKG_CONFIG"; then
25763 if test -n "$PANGOXFT_CFLAGS"; then
25764 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
25765 else
25766 if test -n "$PKG_CONFIG" && \
25767 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25768 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25769 ac_status=$?
25770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25771 test $ac_status = 0; }; then
25772 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25773 else
25774 pkg_failed=yes
25775 fi
25776 fi
25777 else
25778 pkg_failed=untried
25779 fi
25780 if test -n "$PKG_CONFIG"; then
25781 if test -n "$PANGOXFT_LIBS"; then
25782 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
25783 else
25784 if test -n "$PKG_CONFIG" && \
25785 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25786 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25787 ac_status=$?
25788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25789 test $ac_status = 0; }; then
25790 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25791 else
25792 pkg_failed=yes
25793 fi
25794 fi
25795 else
25796 pkg_failed=untried
25797 fi
25798
25799
25800
25801 if test $pkg_failed = yes; then
25802
25803 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25804 _pkg_short_errors_supported=yes
25805 else
25806 _pkg_short_errors_supported=no
25807 fi
25808 if test $_pkg_short_errors_supported = yes; then
25809 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25810 else
25811 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25812 fi
25813 # Put the nasty error message in config.log where it belongs
25814 echo "$PANGOXFT_PKG_ERRORS" >&5
25815
25816
25817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25818 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25819
25820
25821 elif test $pkg_failed = untried; then
25822
25823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25824 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25825
25826
25827 else
25828 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
25829 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
25830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25831 $as_echo "yes" >&6; }
25832
25833 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25834
25835 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
25836 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
25837 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25838
25839 fi
25840 save_LIBS="$LIBS"
25841 LIBS="$LIBS $PANGOX_LIBS"
25842 for ac_func in pango_font_family_is_monospace
25843 do :
25844 ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25845 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes; then :
25846 cat >>confdefs.h <<_ACEOF
25847 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25848 _ACEOF
25849
25850 fi
25851 done
25852
25853 LIBS="$save_LIBS"
25854 fi
25855
25856 wxUSE_UNIVERSAL="yes"
25857
25858 if test "$wxUSE_NANOX" = "yes"; then
25859 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25860 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"
25861 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25862 else
25863 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25864 fi
25865
25866 TOOLKIT=X11
25867 GUIDIST=X11_DIST
25868 fi
25869
25870 if test "$wxUSE_MOTIF" = 1; then
25871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25872 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25873
25874 ac_find_includes=
25875 for ac_dir in $SEARCH_INCLUDE /usr/include
25876 do
25877 if test -f "$ac_dir/Xm/Xm.h"; then
25878 ac_find_includes=$ac_dir
25879 break
25880 fi
25881 done
25882
25883 if test "$ac_find_includes" != "" ; then
25884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25885 $as_echo "found in $ac_find_includes" >&6; }
25886
25887 if test "x$ac_find_includes" = "x/usr/include"; then
25888 ac_path_to_include=""
25889 else
25890 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25891 result=$?
25892 if test $result = 0; then
25893 ac_path_to_include=""
25894 else
25895 ac_path_to_include=" -I$ac_find_includes"
25896 fi
25897 fi
25898
25899 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25900 else
25901 save_CFLAGS=$CFLAGS
25902 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25903
25904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25905 /* end confdefs.h. */
25906
25907 #include <Xm/Xm.h>
25908
25909 int
25910 main ()
25911 {
25912
25913 int version;
25914 version = xmUseVersion;
25915
25916 ;
25917 return 0;
25918 }
25919 _ACEOF
25920 if ac_fn_c_try_compile "$LINENO"; then :
25921
25922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25923 $as_echo "found in default search path" >&6; }
25924 COMPILED_X_PROGRAM=1
25925
25926 else
25927
25928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25929 $as_echo "no" >&6; }
25930 as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25931
25932
25933 fi
25934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25935
25936 CFLAGS=$save_CFLAGS
25937 fi
25938
25939
25940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25941 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25942
25943 ac_find_libraries=
25944 for ac_dir in $SEARCH_LIB
25945 do
25946 for ac_extension in a so sl dylib dll.a; do
25947 if test -f "$ac_dir/libXm.$ac_extension"; then
25948 ac_find_libraries=$ac_dir
25949 break 2
25950 fi
25951 done
25952 done
25953
25954
25955 if test "x$ac_find_libraries" != "x" ; then
25956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25957 $as_echo "found in $ac_find_libraries" >&6; }
25958
25959
25960 if test "$ac_find_libraries" = "default location"; then
25961 ac_path_to_link=""
25962 else
25963 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25964 result=$?
25965 if test $result = 0; then
25966 ac_path_to_link=""
25967 else
25968 ac_path_to_link=" -L$ac_find_libraries"
25969 fi
25970 fi
25971
25972 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25973 else
25974 save_CFLAGS=$CFLAGS
25975 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25976 save_LIBS="$LIBS"
25977 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
25978
25979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25980 /* end confdefs.h. */
25981
25982 #include <Xm/Xm.h>
25983
25984 int
25985 main ()
25986 {
25987
25988 int version;
25989 version = xmUseVersion;
25990
25991 ;
25992 return 0;
25993 }
25994 _ACEOF
25995 if ac_fn_c_try_link "$LINENO"; then :
25996
25997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25998 $as_echo "found in default search path" >&6; }
25999 COMPILED_X_PROGRAM=1
26000
26001 else
26002
26003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26004 $as_echo "no" >&6; }
26005 as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
26006
26007
26008 fi
26009 rm -f core conftest.err conftest.$ac_objext \
26010 conftest$ac_exeext conftest.$ac_ext
26011
26012 CFLAGS=$save_CFLAGS
26013 LIBS="$save_LIBS"
26014 fi
26015
26016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
26017 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
26018 libp_link=""
26019 libsm_ice_link=""
26020 libs_found=0
26021 for libp in "" " -lXp"; do
26022 if test "$libs_found" = 0; then
26023 for libsm_ice in "" " -lSM -lICE"; do
26024 if test "$libs_found" = 0; then
26025 save_LIBS="$LIBS"
26026 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26027 save_CFLAGS=$CFLAGS
26028 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26029
26030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26031 /* end confdefs.h. */
26032
26033 #include <Xm/Xm.h>
26034 #include <Xm/List.h>
26035
26036 int
26037 main ()
26038 {
26039
26040 XmString string = NULL;
26041 Widget w = NULL;
26042 int position = 0;
26043 XmListAddItem(w, string, position);
26044
26045 ;
26046 return 0;
26047 }
26048 _ACEOF
26049 if ac_fn_c_try_link "$LINENO"; then :
26050
26051 libp_link="$libp"
26052 libsm_ice_link="$libsm_ice"
26053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
26054 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26055 libs_found=1
26056
26057 fi
26058 rm -f core conftest.err conftest.$ac_objext \
26059 conftest$ac_exeext conftest.$ac_ext
26060
26061 LIBS="$save_LIBS"
26062 CFLAGS=$save_CFLAGS
26063 fi
26064 done
26065 fi
26066 done
26067
26068 if test "$libs_found" = 0; then
26069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26070 $as_echo "can't find the right libraries" >&6; }
26071 as_fn_error $? "can't link a simple motif program" "$LINENO" 5
26072 fi
26073
26074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26075 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26076 if ${ac_cv_lib_Sgm_SgCreateList+:} false; then :
26077 $as_echo_n "(cached) " >&6
26078 else
26079 ac_check_lib_save_LIBS=$LIBS
26080 LIBS="-lSgm $LIBS"
26081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26082 /* end confdefs.h. */
26083
26084 /* Override any GCC internal prototype to avoid an error.
26085 Use char because int might match the return type of a GCC
26086 builtin and then its argument prototype would still apply. */
26087 #ifdef __cplusplus
26088 extern "C"
26089 #endif
26090 char SgCreateList ();
26091 int
26092 main ()
26093 {
26094 return SgCreateList ();
26095 ;
26096 return 0;
26097 }
26098 _ACEOF
26099 if ac_fn_c_try_link "$LINENO"; then :
26100 ac_cv_lib_Sgm_SgCreateList=yes
26101 else
26102 ac_cv_lib_Sgm_SgCreateList=no
26103 fi
26104 rm -f core conftest.err conftest.$ac_objext \
26105 conftest$ac_exeext conftest.$ac_ext
26106 LIBS=$ac_check_lib_save_LIBS
26107 fi
26108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26109 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26110 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes; then :
26111 libsgm_link=" -lSgm"
26112 fi
26113
26114
26115 save_CFLAGS=$CFLAGS
26116 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26117
26118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26119 $as_echo_n "checking for Motif 2... " >&6; }
26120 if ${wx_cv_lib_motif2+:} false; then :
26121 $as_echo_n "(cached) " >&6
26122 else
26123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26124 /* end confdefs.h. */
26125
26126 #include <Xm/Xm.h>
26127
26128 int
26129 main ()
26130 {
26131
26132 #if XmVersion < 2000
26133 Not Motif 2
26134 #endif
26135
26136 ;
26137 return 0;
26138 }
26139 _ACEOF
26140 if ac_fn_c_try_compile "$LINENO"; then :
26141 wx_cv_lib_motif2="yes"
26142 else
26143 wx_cv_lib_motif2="no"
26144 fi
26145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26146 fi
26147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26148 $as_echo "$wx_cv_lib_motif2" >&6; }
26149 if test "$wx_cv_lib_motif2" = "yes"; then
26150 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26151
26152 else
26153 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26154
26155 fi
26156
26157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26158 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26159 if ${wx_cv_lib_lesstif+:} false; then :
26160 $as_echo_n "(cached) " >&6
26161 else
26162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26163 /* end confdefs.h. */
26164
26165 #include <Xm/Xm.h>
26166
26167 int
26168 main ()
26169 {
26170
26171 #if !defined(LesstifVersion) || LesstifVersion <= 0
26172 Not Lesstif
26173 #endif
26174
26175 ;
26176 return 0;
26177 }
26178 _ACEOF
26179 if ac_fn_c_try_compile "$LINENO"; then :
26180 wx_cv_lib_lesstif="yes"
26181 else
26182 wx_cv_lib_lesstif="no"
26183 fi
26184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26185
26186 fi
26187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26188 $as_echo "$wx_cv_lib_lesstif" >&6; }
26189 if test "$wx_cv_lib_lesstif" = "yes"; then
26190 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26191
26192 else
26193 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26194
26195 fi
26196
26197 CFLAGS=$save_CFLAGS
26198
26199 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26200 TOOLKIT=MOTIF
26201 GUIDIST=MOTIF_DIST
26202 fi
26203
26204 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26205 if test "$wxUSE_LIBXPM" = "sys"; then
26206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26207 $as_echo_n "checking for Xpm library... " >&6; }
26208
26209 ac_find_libraries=
26210 for ac_dir in $SEARCH_LIB
26211 do
26212 for ac_extension in a so sl dylib dll.a; do
26213 if test -f "$ac_dir/libXpm.$ac_extension"; then
26214 ac_find_libraries=$ac_dir
26215 break 2
26216 fi
26217 done
26218 done
26219
26220 if test "$ac_find_libraries" != "" ; then
26221
26222 if test "$ac_find_libraries" = "default location"; then
26223 ac_path_to_link=""
26224 else
26225 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26226 result=$?
26227 if test $result = 0; then
26228 ac_path_to_link=""
26229 else
26230 ac_path_to_link=" -L$ac_find_libraries"
26231 fi
26232 fi
26233
26234 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26236 $as_echo "found in $ac_find_libraries" >&6; }
26237
26238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26239 $as_echo_n "checking for X11/xpm.h... " >&6; }
26240 if ${wx_cv_x11_xpm_h+:} false; then :
26241 $as_echo_n "(cached) " >&6
26242 else
26243
26244 save_CFLAGS=$CFLAGS
26245 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26246
26247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26248 /* end confdefs.h. */
26249
26250 #include <X11/xpm.h>
26251
26252 int
26253 main ()
26254 {
26255
26256 int version;
26257 version = XpmLibraryVersion();
26258
26259 ;
26260 return 0;
26261 }
26262 _ACEOF
26263 if ac_fn_c_try_compile "$LINENO"; then :
26264 wx_cv_x11_xpm_h=yes
26265 else
26266 wx_cv_x11_xpm_h=no
26267
26268 fi
26269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26270
26271 CFLAGS=$save_CFLAGS
26272
26273
26274 fi
26275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26276 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26277
26278 if test $wx_cv_x11_xpm_h = "yes"; then
26279 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26280 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26281
26282 else
26283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26284 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26285 fi
26286 fi
26287
26288 fi
26289
26290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26291 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26292 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
26293 $as_echo_n "(cached) " >&6
26294 else
26295 ac_check_lib_save_LIBS=$LIBS
26296 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26298 /* end confdefs.h. */
26299
26300 /* Override any GCC internal prototype to avoid an error.
26301 Use char because int might match the return type of a GCC
26302 builtin and then its argument prototype would still apply. */
26303 #ifdef __cplusplus
26304 extern "C"
26305 #endif
26306 char XShapeQueryExtension ();
26307 int
26308 main ()
26309 {
26310 return XShapeQueryExtension ();
26311 ;
26312 return 0;
26313 }
26314 _ACEOF
26315 if ac_fn_c_try_link "$LINENO"; then :
26316 ac_cv_lib_Xext_XShapeQueryExtension=yes
26317 else
26318 ac_cv_lib_Xext_XShapeQueryExtension=no
26319 fi
26320 rm -f core conftest.err conftest.$ac_objext \
26321 conftest$ac_exeext conftest.$ac_ext
26322 LIBS=$ac_check_lib_save_LIBS
26323 fi
26324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26325 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26326 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
26327
26328 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26329 wxHAVE_XEXT_LIB=1
26330
26331 fi
26332
26333
26334 if test "$wxHAVE_XEXT_LIB" = 1; then
26335 save_CFLAGS="$CFLAGS"
26336 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26337
26338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26339 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26341 /* end confdefs.h. */
26342
26343 #include <X11/Xlib.h>
26344 #include <X11/extensions/shape.h>
26345
26346 int
26347 main ()
26348 {
26349
26350 int dummy1, dummy2;
26351 XShapeQueryExtension((Display*)NULL,
26352 (int*)NULL, (int*)NULL);
26353
26354 ;
26355 return 0;
26356 }
26357 _ACEOF
26358 if ac_fn_c_try_compile "$LINENO"; then :
26359
26360 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26361
26362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26363 $as_echo "found" >&6; }
26364
26365 else
26366
26367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26368 $as_echo "not found" >&6; }
26369
26370 fi
26371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26372 CFLAGS="$save_CFLAGS"
26373
26374 fi
26375 fi
26376
26377 if test "$wxUSE_OSX_CARBON" = 1; then
26378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26379 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26380 if test "$GCC" = yes; then
26381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26382 $as_echo "gcc" >&6; }
26383 CPPFLAGS_PASCAL="-fpascal-strings"
26384 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26386 $as_echo "xlc" >&6; }
26387 CPPFLAGS_PASCAL="-qmacpstr"
26388 else
26389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26390 $as_echo "none" >&6; }
26391 fi
26392
26393 if test "x$wxUSE_UNIX" = "xyes"; then
26394 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26395 else
26396 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26397 fi
26398
26399 TOOLKIT=OSX_CARBON
26400 GUIDIST=OSX_CARBON_DIST
26401 WXBASEPORT="_carbon"
26402
26403 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26404 fi
26405
26406 if test "$wxUSE_OSX_COCOA" = 1; then
26407 TOOLKIT=OSX_COCOA
26408 GUIDIST=OSX_COCOA_DIST
26409
26410 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26411 fi
26412
26413 if test "$wxUSE_OSX_IPHONE" = 1; then
26414 TOOLKIT=OSX_IPHONE
26415 fi
26416
26417 if test "$wxUSE_OLD_COCOA" = 1; then
26418 TOOLKIT=COCOA
26419 GUIDIST=COCOA_DIST
26420 fi
26421
26422 if test "$wxUSE_PM" = 1; then
26423 TOOLKIT=PM
26424 GUIDIST=PM_DIST
26425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26426 $as_echo_n "checking for type SPBCDATA... " >&6; }
26427 if ${wx_cv_spbcdata+:} false; then :
26428 $as_echo_n "(cached) " >&6
26429 else
26430
26431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26432 /* end confdefs.h. */
26433
26434 #define INCL_PM
26435 #include <os2.h>
26436
26437 int
26438 main ()
26439 {
26440
26441 SPBCDATA test;
26442
26443 ;
26444 return 0;
26445 }
26446 _ACEOF
26447 if ac_fn_c_try_compile "$LINENO"; then :
26448 wx_cv_spbcdata=yes
26449 else
26450 wx_cv_spbcdata=no
26451
26452 fi
26453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26454
26455
26456 fi
26457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26458 $as_echo "$wx_cv_spbcdata" >&6; }
26459
26460 if test $wx_cv_spbcdata = "yes"; then
26461 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26462
26463 fi
26464 fi
26465
26466 if test "$TOOLKIT" = "PM" ; then
26467 TOOLKIT_DIR="os2"
26468 else
26469 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26470 fi
26471
26472 if test "$wxUSE_UNIVERSAL" = "yes"; then
26473 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26474 WIDGET_SET=univ
26475 fi
26476
26477 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26478 DISTDIR="wx\$(TOOLKIT)"
26479 else
26480 USE_GUI=0
26481
26482 TOOLKIT_DIR="base"
26483
26484 if test "$USE_WIN32" = 1 ; then
26485 TOOLKIT="MSW"
26486 fi
26487
26488 GUIDIST="BASE_DIST"
26489 DISTDIR="wxBase"
26490 fi
26491
26492
26493
26494 if test "$wxUSE_GUI" = "yes"; then
26495 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26496 for ac_header in X11/Xlib.h
26497 do :
26498 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26499 "
26500 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
26501 cat >>confdefs.h <<_ACEOF
26502 #define HAVE_X11_XLIB_H 1
26503 _ACEOF
26504
26505 fi
26506
26507 done
26508
26509 for ac_header in X11/XKBlib.h
26510 do :
26511 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26512 #if HAVE_X11_XLIB_H
26513 #include <X11/Xlib.h>
26514 #endif
26515
26516 "
26517 if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
26518 cat >>confdefs.h <<_ACEOF
26519 #define HAVE_X11_XKBLIB_H 1
26520 _ACEOF
26521
26522 fi
26523
26524 done
26525
26526 fi
26527 fi
26528
26529
26530
26531 USE_XINERAMA=0
26532 if test "$wxUSE_DISPLAY" = "yes"; then
26533 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26534
26535 ac_find_libraries=
26536
26537 fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
26538
26539
26540 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26541 if test -n "$ac_tool_prefix"; then
26542 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26543 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26545 $as_echo_n "checking for $ac_word... " >&6; }
26546 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26547 $as_echo_n "(cached) " >&6
26548 else
26549 case $PKG_CONFIG in
26550 [\\/]* | ?:[\\/]*)
26551 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26552 ;;
26553 *)
26554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26555 for as_dir in $PATH
26556 do
26557 IFS=$as_save_IFS
26558 test -z "$as_dir" && as_dir=.
26559 for ac_exec_ext in '' $ac_executable_extensions; do
26560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26561 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26563 break 2
26564 fi
26565 done
26566 done
26567 IFS=$as_save_IFS
26568
26569 ;;
26570 esac
26571 fi
26572 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26573 if test -n "$PKG_CONFIG"; then
26574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26575 $as_echo "$PKG_CONFIG" >&6; }
26576 else
26577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26578 $as_echo "no" >&6; }
26579 fi
26580
26581
26582 fi
26583 if test -z "$ac_cv_path_PKG_CONFIG"; then
26584 ac_pt_PKG_CONFIG=$PKG_CONFIG
26585 # Extract the first word of "pkg-config", so it can be a program name with args.
26586 set dummy pkg-config; ac_word=$2
26587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26588 $as_echo_n "checking for $ac_word... " >&6; }
26589 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26590 $as_echo_n "(cached) " >&6
26591 else
26592 case $ac_pt_PKG_CONFIG in
26593 [\\/]* | ?:[\\/]*)
26594 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26595 ;;
26596 *)
26597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26598 for as_dir in $PATH
26599 do
26600 IFS=$as_save_IFS
26601 test -z "$as_dir" && as_dir=.
26602 for ac_exec_ext in '' $ac_executable_extensions; do
26603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26604 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26606 break 2
26607 fi
26608 done
26609 done
26610 IFS=$as_save_IFS
26611
26612 ;;
26613 esac
26614 fi
26615 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26616 if test -n "$ac_pt_PKG_CONFIG"; then
26617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26618 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26619 else
26620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26621 $as_echo "no" >&6; }
26622 fi
26623
26624 if test "x$ac_pt_PKG_CONFIG" = x; then
26625 PKG_CONFIG=""
26626 else
26627 case $cross_compiling:$ac_tool_warned in
26628 yes:)
26629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26631 ac_tool_warned=yes ;;
26632 esac
26633 PKG_CONFIG=$ac_pt_PKG_CONFIG
26634 fi
26635 else
26636 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26637 fi
26638
26639 fi
26640 if test -n "$PKG_CONFIG"; then
26641 _pkg_min_version=0.9.0
26642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26643 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26644 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26646 $as_echo "yes" >&6; }
26647 else
26648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26649 $as_echo "no" >&6; }
26650 PKG_CONFIG=""
26651 fi
26652
26653 fi 6> /dev/null
26654
26655 pkg_failed=no
26656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26657 $as_echo_n "checking for Xinerama... " >&6; }
26658
26659 if test -n "$PKG_CONFIG"; then
26660 if test -n "$Xinerama_CFLAGS"; then
26661 pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
26662 else
26663 if test -n "$PKG_CONFIG" && \
26664 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26665 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26666 ac_status=$?
26667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26668 test $ac_status = 0; }; then
26669 pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26670 else
26671 pkg_failed=yes
26672 fi
26673 fi
26674 else
26675 pkg_failed=untried
26676 fi
26677 if test -n "$PKG_CONFIG"; then
26678 if test -n "$Xinerama_LIBS"; then
26679 pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
26680 else
26681 if test -n "$PKG_CONFIG" && \
26682 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26683 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26684 ac_status=$?
26685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26686 test $ac_status = 0; }; then
26687 pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26688 else
26689 pkg_failed=yes
26690 fi
26691 fi
26692 else
26693 pkg_failed=untried
26694 fi
26695
26696
26697
26698 if test $pkg_failed = yes; then
26699
26700 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26701 _pkg_short_errors_supported=yes
26702 else
26703 _pkg_short_errors_supported=no
26704 fi
26705 if test $_pkg_short_errors_supported = yes; then
26706 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26707 else
26708 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26709 fi
26710 # Put the nasty error message in config.log where it belongs
26711 echo "$Xinerama_PKG_ERRORS" >&5
26712
26713
26714 if test "x$ac_find_libraries" = "x"; then
26715 if test "xXineramaQueryScreens" != "x"; then
26716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26717 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26718 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26719 $as_echo_n "(cached) " >&6
26720 else
26721 ac_check_lib_save_LIBS=$LIBS
26722 LIBS="-lXinerama $LIBS"
26723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26724 /* end confdefs.h. */
26725
26726 /* Override any GCC internal prototype to avoid an error.
26727 Use char because int might match the return type of a GCC
26728 builtin and then its argument prototype would still apply. */
26729 #ifdef __cplusplus
26730 extern "C"
26731 #endif
26732 char XineramaQueryScreens ();
26733 int
26734 main ()
26735 {
26736 return XineramaQueryScreens ();
26737 ;
26738 return 0;
26739 }
26740 _ACEOF
26741 if ac_fn_c_try_link "$LINENO"; then :
26742 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26743 else
26744 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26745 fi
26746 rm -f core conftest.err conftest.$ac_objext \
26747 conftest$ac_exeext conftest.$ac_ext
26748 LIBS=$ac_check_lib_save_LIBS
26749 fi
26750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26751 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26752 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26753 ac_find_libraries="std"
26754 fi
26755
26756 fi
26757 fi
26758
26759 if test "x$ac_find_libraries" = "x"; then
26760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26761 $as_echo_n "checking elsewhere... " >&6; }
26762
26763 ac_find_libraries=
26764 for ac_dir in $SEARCH_LIB
26765 do
26766 for ac_extension in a so sl dylib dll.a; do
26767 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26768 ac_find_libraries=$ac_dir
26769 break 2
26770 fi
26771 done
26772 done
26773
26774 if test "x$ac_find_libraries" != "x"; then
26775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26776 $as_echo "yes" >&6; }
26777 else
26778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26779 $as_echo "no" >&6; }
26780 fi
26781 fi
26782
26783 elif test $pkg_failed = untried; then
26784
26785 if test "x$ac_find_libraries" = "x"; then
26786 if test "xXineramaQueryScreens" != "x"; then
26787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26788 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26789 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26790 $as_echo_n "(cached) " >&6
26791 else
26792 ac_check_lib_save_LIBS=$LIBS
26793 LIBS="-lXinerama $LIBS"
26794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26795 /* end confdefs.h. */
26796
26797 /* Override any GCC internal prototype to avoid an error.
26798 Use char because int might match the return type of a GCC
26799 builtin and then its argument prototype would still apply. */
26800 #ifdef __cplusplus
26801 extern "C"
26802 #endif
26803 char XineramaQueryScreens ();
26804 int
26805 main ()
26806 {
26807 return XineramaQueryScreens ();
26808 ;
26809 return 0;
26810 }
26811 _ACEOF
26812 if ac_fn_c_try_link "$LINENO"; then :
26813 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26814 else
26815 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26816 fi
26817 rm -f core conftest.err conftest.$ac_objext \
26818 conftest$ac_exeext conftest.$ac_ext
26819 LIBS=$ac_check_lib_save_LIBS
26820 fi
26821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26822 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26823 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26824 ac_find_libraries="std"
26825 fi
26826
26827 fi
26828 fi
26829
26830 if test "x$ac_find_libraries" = "x"; then
26831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26832 $as_echo_n "checking elsewhere... " >&6; }
26833
26834 ac_find_libraries=
26835 for ac_dir in $SEARCH_LIB
26836 do
26837 for ac_extension in a so sl dylib dll.a; do
26838 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26839 ac_find_libraries=$ac_dir
26840 break 2
26841 fi
26842 done
26843 done
26844
26845 if test "x$ac_find_libraries" != "x"; then
26846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26847 $as_echo "yes" >&6; }
26848 else
26849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26850 $as_echo "no" >&6; }
26851 fi
26852 fi
26853
26854 else
26855 Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
26856 Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
26857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26858 $as_echo "yes" >&6; }
26859
26860 ac_find_libraries="std"
26861
26862 eval ac_find_cflags=\$Xinerama_CFLAGS
26863 eval fl_libs=\$Xinerama_LIBS
26864
26865 for fl_path in $fl_libs
26866 do
26867 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26868 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
26869 fi
26870 done
26871
26872 fi
26873
26874 if test "$ac_find_libraries" != "" ; then
26875 if test "$ac_find_libraries" != "std" ; then
26876
26877 if test "$ac_find_libraries" = "default location"; then
26878 ac_path_to_link=""
26879 else
26880 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26881 result=$?
26882 if test $result = 0; then
26883 ac_path_to_link=""
26884 else
26885 ac_path_to_link=" -L$ac_find_libraries"
26886 fi
26887 fi
26888
26889 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26890 LDFLAGS="$LDFLAGS $ac_path_to_link"
26891 fi
26892 fi
26893 USE_XINERAMA=1
26894 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26895 else
26896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26897 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26898 wxUSE_DISPLAY="no"
26899 fi
26900 elif test "$wxUSE_MSW" = 1; then
26901 ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26902 "
26903 if test "x$ac_cv_header_ddraw_h" = xyes; then :
26904
26905 fi
26906
26907
26908 fi
26909 fi
26910
26911 if test "$wxUSE_DISPLAY" = "yes"; then
26912 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26913
26914 ac_find_libraries=
26915
26916 fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26917
26918
26919 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26920 if test -n "$ac_tool_prefix"; then
26921 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26922 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26924 $as_echo_n "checking for $ac_word... " >&6; }
26925 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26926 $as_echo_n "(cached) " >&6
26927 else
26928 case $PKG_CONFIG in
26929 [\\/]* | ?:[\\/]*)
26930 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26931 ;;
26932 *)
26933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26934 for as_dir in $PATH
26935 do
26936 IFS=$as_save_IFS
26937 test -z "$as_dir" && as_dir=.
26938 for ac_exec_ext in '' $ac_executable_extensions; do
26939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26940 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26942 break 2
26943 fi
26944 done
26945 done
26946 IFS=$as_save_IFS
26947
26948 ;;
26949 esac
26950 fi
26951 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26952 if test -n "$PKG_CONFIG"; then
26953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26954 $as_echo "$PKG_CONFIG" >&6; }
26955 else
26956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26957 $as_echo "no" >&6; }
26958 fi
26959
26960
26961 fi
26962 if test -z "$ac_cv_path_PKG_CONFIG"; then
26963 ac_pt_PKG_CONFIG=$PKG_CONFIG
26964 # Extract the first word of "pkg-config", so it can be a program name with args.
26965 set dummy pkg-config; ac_word=$2
26966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26967 $as_echo_n "checking for $ac_word... " >&6; }
26968 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26969 $as_echo_n "(cached) " >&6
26970 else
26971 case $ac_pt_PKG_CONFIG in
26972 [\\/]* | ?:[\\/]*)
26973 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26974 ;;
26975 *)
26976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26977 for as_dir in $PATH
26978 do
26979 IFS=$as_save_IFS
26980 test -z "$as_dir" && as_dir=.
26981 for ac_exec_ext in '' $ac_executable_extensions; do
26982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26983 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26985 break 2
26986 fi
26987 done
26988 done
26989 IFS=$as_save_IFS
26990
26991 ;;
26992 esac
26993 fi
26994 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26995 if test -n "$ac_pt_PKG_CONFIG"; then
26996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26997 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26998 else
26999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27000 $as_echo "no" >&6; }
27001 fi
27002
27003 if test "x$ac_pt_PKG_CONFIG" = x; then
27004 PKG_CONFIG=""
27005 else
27006 case $cross_compiling:$ac_tool_warned in
27007 yes:)
27008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27010 ac_tool_warned=yes ;;
27011 esac
27012 PKG_CONFIG=$ac_pt_PKG_CONFIG
27013 fi
27014 else
27015 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27016 fi
27017
27018 fi
27019 if test -n "$PKG_CONFIG"; then
27020 _pkg_min_version=0.9.0
27021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27022 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27023 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27025 $as_echo "yes" >&6; }
27026 else
27027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27028 $as_echo "no" >&6; }
27029 PKG_CONFIG=""
27030 fi
27031
27032 fi 6> /dev/null
27033
27034 pkg_failed=no
27035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
27036 $as_echo_n "checking for Xxf86vm... " >&6; }
27037
27038 if test -n "$PKG_CONFIG"; then
27039 if test -n "$Xxf86vm_CFLAGS"; then
27040 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
27041 else
27042 if test -n "$PKG_CONFIG" && \
27043 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27044 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27045 ac_status=$?
27046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27047 test $ac_status = 0; }; then
27048 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27049 else
27050 pkg_failed=yes
27051 fi
27052 fi
27053 else
27054 pkg_failed=untried
27055 fi
27056 if test -n "$PKG_CONFIG"; then
27057 if test -n "$Xxf86vm_LIBS"; then
27058 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
27059 else
27060 if test -n "$PKG_CONFIG" && \
27061 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27062 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27063 ac_status=$?
27064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27065 test $ac_status = 0; }; then
27066 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27067 else
27068 pkg_failed=yes
27069 fi
27070 fi
27071 else
27072 pkg_failed=untried
27073 fi
27074
27075
27076
27077 if test $pkg_failed = yes; then
27078
27079 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27080 _pkg_short_errors_supported=yes
27081 else
27082 _pkg_short_errors_supported=no
27083 fi
27084 if test $_pkg_short_errors_supported = yes; then
27085 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27086 else
27087 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27088 fi
27089 # Put the nasty error message in config.log where it belongs
27090 echo "$Xxf86vm_PKG_ERRORS" >&5
27091
27092
27093 if test "x$ac_find_libraries" = "x"; then
27094 if test "xXF86VidModeQueryExtension" != "x"; then
27095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27096 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27097 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27098 $as_echo_n "(cached) " >&6
27099 else
27100 ac_check_lib_save_LIBS=$LIBS
27101 LIBS="-lXxf86vm $LIBS"
27102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27103 /* end confdefs.h. */
27104
27105 /* Override any GCC internal prototype to avoid an error.
27106 Use char because int might match the return type of a GCC
27107 builtin and then its argument prototype would still apply. */
27108 #ifdef __cplusplus
27109 extern "C"
27110 #endif
27111 char XF86VidModeQueryExtension ();
27112 int
27113 main ()
27114 {
27115 return XF86VidModeQueryExtension ();
27116 ;
27117 return 0;
27118 }
27119 _ACEOF
27120 if ac_fn_c_try_link "$LINENO"; then :
27121 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27122 else
27123 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27124 fi
27125 rm -f core conftest.err conftest.$ac_objext \
27126 conftest$ac_exeext conftest.$ac_ext
27127 LIBS=$ac_check_lib_save_LIBS
27128 fi
27129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27130 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27131 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27132 ac_find_libraries="std"
27133 fi
27134
27135 fi
27136 fi
27137
27138 if test "x$ac_find_libraries" = "x"; then
27139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27140 $as_echo_n "checking elsewhere... " >&6; }
27141
27142 ac_find_libraries=
27143 for ac_dir in $SEARCH_LIB
27144 do
27145 for ac_extension in a so sl dylib dll.a; do
27146 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27147 ac_find_libraries=$ac_dir
27148 break 2
27149 fi
27150 done
27151 done
27152
27153 if test "x$ac_find_libraries" != "x"; then
27154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27155 $as_echo "yes" >&6; }
27156 else
27157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27158 $as_echo "no" >&6; }
27159 fi
27160 fi
27161
27162 elif test $pkg_failed = untried; then
27163
27164 if test "x$ac_find_libraries" = "x"; then
27165 if test "xXF86VidModeQueryExtension" != "x"; then
27166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27167 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27168 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27169 $as_echo_n "(cached) " >&6
27170 else
27171 ac_check_lib_save_LIBS=$LIBS
27172 LIBS="-lXxf86vm $LIBS"
27173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27174 /* end confdefs.h. */
27175
27176 /* Override any GCC internal prototype to avoid an error.
27177 Use char because int might match the return type of a GCC
27178 builtin and then its argument prototype would still apply. */
27179 #ifdef __cplusplus
27180 extern "C"
27181 #endif
27182 char XF86VidModeQueryExtension ();
27183 int
27184 main ()
27185 {
27186 return XF86VidModeQueryExtension ();
27187 ;
27188 return 0;
27189 }
27190 _ACEOF
27191 if ac_fn_c_try_link "$LINENO"; then :
27192 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27193 else
27194 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27195 fi
27196 rm -f core conftest.err conftest.$ac_objext \
27197 conftest$ac_exeext conftest.$ac_ext
27198 LIBS=$ac_check_lib_save_LIBS
27199 fi
27200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27201 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27202 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27203 ac_find_libraries="std"
27204 fi
27205
27206 fi
27207 fi
27208
27209 if test "x$ac_find_libraries" = "x"; then
27210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27211 $as_echo_n "checking elsewhere... " >&6; }
27212
27213 ac_find_libraries=
27214 for ac_dir in $SEARCH_LIB
27215 do
27216 for ac_extension in a so sl dylib dll.a; do
27217 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27218 ac_find_libraries=$ac_dir
27219 break 2
27220 fi
27221 done
27222 done
27223
27224 if test "x$ac_find_libraries" != "x"; then
27225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27226 $as_echo "yes" >&6; }
27227 else
27228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27229 $as_echo "no" >&6; }
27230 fi
27231 fi
27232
27233 else
27234 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
27235 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
27236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27237 $as_echo "yes" >&6; }
27238
27239 ac_find_libraries="std"
27240
27241 eval ac_find_cflags=\$Xxf86vm_CFLAGS
27242 eval fl_libs=\$Xxf86vm_LIBS
27243
27244 for fl_path in $fl_libs
27245 do
27246 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27247 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27248 fi
27249 done
27250
27251 fi
27252
27253 if test "$ac_find_libraries" != "" ; then
27254 for ac_header in X11/extensions/xf86vmode.h
27255 do :
27256 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27257 #if HAVE_X11_XLIB_H
27258 #include <X11/Xlib.h>
27259 #endif
27260
27261 "
27262 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes; then :
27263 cat >>confdefs.h <<_ACEOF
27264 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27265 _ACEOF
27266
27267 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27268
27269 fi
27270
27271 done
27272
27273 fi
27274 fi
27275 fi
27276
27277 if test "$wxUSE_DETECT_SM" = "yes"; then
27278 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27279
27280 ac_find_libraries=
27281
27282 fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
27283
27284
27285 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27286 if test -n "$ac_tool_prefix"; then
27287 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27288 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27290 $as_echo_n "checking for $ac_word... " >&6; }
27291 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27292 $as_echo_n "(cached) " >&6
27293 else
27294 case $PKG_CONFIG in
27295 [\\/]* | ?:[\\/]*)
27296 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27297 ;;
27298 *)
27299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27300 for as_dir in $PATH
27301 do
27302 IFS=$as_save_IFS
27303 test -z "$as_dir" && as_dir=.
27304 for ac_exec_ext in '' $ac_executable_extensions; do
27305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27306 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27308 break 2
27309 fi
27310 done
27311 done
27312 IFS=$as_save_IFS
27313
27314 ;;
27315 esac
27316 fi
27317 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27318 if test -n "$PKG_CONFIG"; then
27319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27320 $as_echo "$PKG_CONFIG" >&6; }
27321 else
27322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27323 $as_echo "no" >&6; }
27324 fi
27325
27326
27327 fi
27328 if test -z "$ac_cv_path_PKG_CONFIG"; then
27329 ac_pt_PKG_CONFIG=$PKG_CONFIG
27330 # Extract the first word of "pkg-config", so it can be a program name with args.
27331 set dummy pkg-config; ac_word=$2
27332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27333 $as_echo_n "checking for $ac_word... " >&6; }
27334 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27335 $as_echo_n "(cached) " >&6
27336 else
27337 case $ac_pt_PKG_CONFIG in
27338 [\\/]* | ?:[\\/]*)
27339 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27340 ;;
27341 *)
27342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27343 for as_dir in $PATH
27344 do
27345 IFS=$as_save_IFS
27346 test -z "$as_dir" && as_dir=.
27347 for ac_exec_ext in '' $ac_executable_extensions; do
27348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27349 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27351 break 2
27352 fi
27353 done
27354 done
27355 IFS=$as_save_IFS
27356
27357 ;;
27358 esac
27359 fi
27360 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27361 if test -n "$ac_pt_PKG_CONFIG"; then
27362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27363 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27364 else
27365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27366 $as_echo "no" >&6; }
27367 fi
27368
27369 if test "x$ac_pt_PKG_CONFIG" = x; then
27370 PKG_CONFIG=""
27371 else
27372 case $cross_compiling:$ac_tool_warned in
27373 yes:)
27374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27376 ac_tool_warned=yes ;;
27377 esac
27378 PKG_CONFIG=$ac_pt_PKG_CONFIG
27379 fi
27380 else
27381 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27382 fi
27383
27384 fi
27385 if test -n "$PKG_CONFIG"; then
27386 _pkg_min_version=0.9.0
27387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27388 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27389 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27391 $as_echo "yes" >&6; }
27392 else
27393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27394 $as_echo "no" >&6; }
27395 PKG_CONFIG=""
27396 fi
27397
27398 fi 6> /dev/null
27399
27400 pkg_failed=no
27401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27402 $as_echo_n "checking for SM... " >&6; }
27403
27404 if test -n "$PKG_CONFIG"; then
27405 if test -n "$SM_CFLAGS"; then
27406 pkg_cv_SM_CFLAGS="$SM_CFLAGS"
27407 else
27408 if test -n "$PKG_CONFIG" && \
27409 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27410 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27411 ac_status=$?
27412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27413 test $ac_status = 0; }; then
27414 pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27415 else
27416 pkg_failed=yes
27417 fi
27418 fi
27419 else
27420 pkg_failed=untried
27421 fi
27422 if test -n "$PKG_CONFIG"; then
27423 if test -n "$SM_LIBS"; then
27424 pkg_cv_SM_LIBS="$SM_LIBS"
27425 else
27426 if test -n "$PKG_CONFIG" && \
27427 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27428 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27429 ac_status=$?
27430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27431 test $ac_status = 0; }; then
27432 pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27433 else
27434 pkg_failed=yes
27435 fi
27436 fi
27437 else
27438 pkg_failed=untried
27439 fi
27440
27441
27442
27443 if test $pkg_failed = yes; then
27444
27445 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27446 _pkg_short_errors_supported=yes
27447 else
27448 _pkg_short_errors_supported=no
27449 fi
27450 if test $_pkg_short_errors_supported = yes; then
27451 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27452 else
27453 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27454 fi
27455 # Put the nasty error message in config.log where it belongs
27456 echo "$SM_PKG_ERRORS" >&5
27457
27458
27459 if test "x$ac_find_libraries" = "x"; then
27460 if test "xSmcOpenConnection" != "x"; then
27461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27462 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27463 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27464 $as_echo_n "(cached) " >&6
27465 else
27466 ac_check_lib_save_LIBS=$LIBS
27467 LIBS="-lSM $LIBS"
27468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27469 /* end confdefs.h. */
27470
27471 /* Override any GCC internal prototype to avoid an error.
27472 Use char because int might match the return type of a GCC
27473 builtin and then its argument prototype would still apply. */
27474 #ifdef __cplusplus
27475 extern "C"
27476 #endif
27477 char SmcOpenConnection ();
27478 int
27479 main ()
27480 {
27481 return SmcOpenConnection ();
27482 ;
27483 return 0;
27484 }
27485 _ACEOF
27486 if ac_fn_c_try_link "$LINENO"; then :
27487 ac_cv_lib_SM_SmcOpenConnection=yes
27488 else
27489 ac_cv_lib_SM_SmcOpenConnection=no
27490 fi
27491 rm -f core conftest.err conftest.$ac_objext \
27492 conftest$ac_exeext conftest.$ac_ext
27493 LIBS=$ac_check_lib_save_LIBS
27494 fi
27495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27496 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27497 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27498 ac_find_libraries="std"
27499 fi
27500
27501 fi
27502 fi
27503
27504 if test "x$ac_find_libraries" = "x"; then
27505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27506 $as_echo_n "checking elsewhere... " >&6; }
27507
27508 ac_find_libraries=
27509 for ac_dir in $SEARCH_LIB
27510 do
27511 for ac_extension in a so sl dylib dll.a; do
27512 if test -f "$ac_dir/libSM.$ac_extension"; then
27513 ac_find_libraries=$ac_dir
27514 break 2
27515 fi
27516 done
27517 done
27518
27519 if test "x$ac_find_libraries" != "x"; then
27520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27521 $as_echo "yes" >&6; }
27522 else
27523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27524 $as_echo "no" >&6; }
27525 fi
27526 fi
27527
27528 elif test $pkg_failed = untried; then
27529
27530 if test "x$ac_find_libraries" = "x"; then
27531 if test "xSmcOpenConnection" != "x"; then
27532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27533 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27534 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27535 $as_echo_n "(cached) " >&6
27536 else
27537 ac_check_lib_save_LIBS=$LIBS
27538 LIBS="-lSM $LIBS"
27539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27540 /* end confdefs.h. */
27541
27542 /* Override any GCC internal prototype to avoid an error.
27543 Use char because int might match the return type of a GCC
27544 builtin and then its argument prototype would still apply. */
27545 #ifdef __cplusplus
27546 extern "C"
27547 #endif
27548 char SmcOpenConnection ();
27549 int
27550 main ()
27551 {
27552 return SmcOpenConnection ();
27553 ;
27554 return 0;
27555 }
27556 _ACEOF
27557 if ac_fn_c_try_link "$LINENO"; then :
27558 ac_cv_lib_SM_SmcOpenConnection=yes
27559 else
27560 ac_cv_lib_SM_SmcOpenConnection=no
27561 fi
27562 rm -f core conftest.err conftest.$ac_objext \
27563 conftest$ac_exeext conftest.$ac_ext
27564 LIBS=$ac_check_lib_save_LIBS
27565 fi
27566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27567 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27568 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27569 ac_find_libraries="std"
27570 fi
27571
27572 fi
27573 fi
27574
27575 if test "x$ac_find_libraries" = "x"; then
27576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27577 $as_echo_n "checking elsewhere... " >&6; }
27578
27579 ac_find_libraries=
27580 for ac_dir in $SEARCH_LIB
27581 do
27582 for ac_extension in a so sl dylib dll.a; do
27583 if test -f "$ac_dir/libSM.$ac_extension"; then
27584 ac_find_libraries=$ac_dir
27585 break 2
27586 fi
27587 done
27588 done
27589
27590 if test "x$ac_find_libraries" != "x"; then
27591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27592 $as_echo "yes" >&6; }
27593 else
27594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27595 $as_echo "no" >&6; }
27596 fi
27597 fi
27598
27599 else
27600 SM_CFLAGS=$pkg_cv_SM_CFLAGS
27601 SM_LIBS=$pkg_cv_SM_LIBS
27602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27603 $as_echo "yes" >&6; }
27604
27605 ac_find_libraries="std"
27606
27607 eval ac_find_cflags=\$SM_CFLAGS
27608 eval fl_libs=\$SM_LIBS
27609
27610 for fl_path in $fl_libs
27611 do
27612 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27613 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27614 fi
27615 done
27616
27617 fi
27618
27619 if test "$ac_find_libraries" != "" ; then
27620 if test "$ac_find_libraries" != "std" ; then
27621
27622 if test "$ac_find_libraries" = "default location"; then
27623 ac_path_to_link=""
27624 else
27625 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27626 result=$?
27627 if test $result = 0; then
27628 ac_path_to_link=""
27629 else
27630 ac_path_to_link=" -L$ac_find_libraries"
27631 fi
27632 fi
27633
27634 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27635 LDFLAGS="$LDFLAGS $ac_path_to_link"
27636 fi
27637 fi
27638 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
27639 else
27640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27641 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27642 wxUSE_DETECT_SM="no"
27643 fi
27644 else
27645 wxUSE_DETECT_SM="no"
27646 fi
27647 fi
27648
27649
27650
27651 USE_OPENGL=0
27652 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27653
27654
27655 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27656 OPENGL_LIBS="-framework OpenGL -framework AGL"
27657 elif test "$wxUSE_MSW" = 1; then
27658 OPENGL_LIBS="-lopengl32 -lglu32"
27659 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27660
27661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27662 $as_echo_n "checking for OpenGL headers... " >&6; }
27663
27664 ac_find_includes=
27665 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
27666 do
27667 if test -f "$ac_dir/GL/gl.h"; then
27668 ac_find_includes=$ac_dir
27669 break
27670 fi
27671 done
27672
27673 if test "$ac_find_includes" != "" ; then
27674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27675 $as_echo "found in $ac_find_includes" >&6; }
27676
27677 if test "x$ac_find_includes" = "x/usr/include"; then
27678 ac_path_to_include=""
27679 else
27680 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27681 result=$?
27682 if test $result = 0; then
27683 ac_path_to_include=""
27684 else
27685 ac_path_to_include=" -I$ac_find_includes"
27686 fi
27687 fi
27688
27689 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
27690 else
27691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27692 $as_echo "not found" >&6; }
27693 fi
27694
27695 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27696 "
27697 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
27698
27699 ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27700 "
27701 if test "x$ac_cv_header_GL_glu_h" = xyes; then :
27702
27703 found_gl=0
27704
27705
27706 ac_find_libraries=
27707
27708 fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
27709
27710
27711 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27712 if test -n "$ac_tool_prefix"; then
27713 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27714 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27716 $as_echo_n "checking for $ac_word... " >&6; }
27717 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27718 $as_echo_n "(cached) " >&6
27719 else
27720 case $PKG_CONFIG in
27721 [\\/]* | ?:[\\/]*)
27722 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27723 ;;
27724 *)
27725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27726 for as_dir in $PATH
27727 do
27728 IFS=$as_save_IFS
27729 test -z "$as_dir" && as_dir=.
27730 for ac_exec_ext in '' $ac_executable_extensions; do
27731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27732 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27734 break 2
27735 fi
27736 done
27737 done
27738 IFS=$as_save_IFS
27739
27740 ;;
27741 esac
27742 fi
27743 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27744 if test -n "$PKG_CONFIG"; then
27745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27746 $as_echo "$PKG_CONFIG" >&6; }
27747 else
27748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27749 $as_echo "no" >&6; }
27750 fi
27751
27752
27753 fi
27754 if test -z "$ac_cv_path_PKG_CONFIG"; then
27755 ac_pt_PKG_CONFIG=$PKG_CONFIG
27756 # Extract the first word of "pkg-config", so it can be a program name with args.
27757 set dummy pkg-config; ac_word=$2
27758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27759 $as_echo_n "checking for $ac_word... " >&6; }
27760 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27761 $as_echo_n "(cached) " >&6
27762 else
27763 case $ac_pt_PKG_CONFIG in
27764 [\\/]* | ?:[\\/]*)
27765 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27766 ;;
27767 *)
27768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27769 for as_dir in $PATH
27770 do
27771 IFS=$as_save_IFS
27772 test -z "$as_dir" && as_dir=.
27773 for ac_exec_ext in '' $ac_executable_extensions; do
27774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27775 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27777 break 2
27778 fi
27779 done
27780 done
27781 IFS=$as_save_IFS
27782
27783 ;;
27784 esac
27785 fi
27786 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27787 if test -n "$ac_pt_PKG_CONFIG"; then
27788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27789 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27790 else
27791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27792 $as_echo "no" >&6; }
27793 fi
27794
27795 if test "x$ac_pt_PKG_CONFIG" = x; then
27796 PKG_CONFIG=""
27797 else
27798 case $cross_compiling:$ac_tool_warned in
27799 yes:)
27800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27802 ac_tool_warned=yes ;;
27803 esac
27804 PKG_CONFIG=$ac_pt_PKG_CONFIG
27805 fi
27806 else
27807 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27808 fi
27809
27810 fi
27811 if test -n "$PKG_CONFIG"; then
27812 _pkg_min_version=0.9.0
27813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27814 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27815 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27817 $as_echo "yes" >&6; }
27818 else
27819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27820 $as_echo "no" >&6; }
27821 PKG_CONFIG=""
27822 fi
27823
27824 fi 6> /dev/null
27825
27826 pkg_failed=no
27827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27828 $as_echo_n "checking for GL... " >&6; }
27829
27830 if test -n "$PKG_CONFIG"; then
27831 if test -n "$GL_CFLAGS"; then
27832 pkg_cv_GL_CFLAGS="$GL_CFLAGS"
27833 else
27834 if test -n "$PKG_CONFIG" && \
27835 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27836 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27837 ac_status=$?
27838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27839 test $ac_status = 0; }; then
27840 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27841 else
27842 pkg_failed=yes
27843 fi
27844 fi
27845 else
27846 pkg_failed=untried
27847 fi
27848 if test -n "$PKG_CONFIG"; then
27849 if test -n "$GL_LIBS"; then
27850 pkg_cv_GL_LIBS="$GL_LIBS"
27851 else
27852 if test -n "$PKG_CONFIG" && \
27853 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27854 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27855 ac_status=$?
27856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27857 test $ac_status = 0; }; then
27858 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27859 else
27860 pkg_failed=yes
27861 fi
27862 fi
27863 else
27864 pkg_failed=untried
27865 fi
27866
27867
27868
27869 if test $pkg_failed = yes; then
27870
27871 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27872 _pkg_short_errors_supported=yes
27873 else
27874 _pkg_short_errors_supported=no
27875 fi
27876 if test $_pkg_short_errors_supported = yes; then
27877 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27878 else
27879 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27880 fi
27881 # Put the nasty error message in config.log where it belongs
27882 echo "$GL_PKG_ERRORS" >&5
27883
27884
27885 if test "x$ac_find_libraries" = "x"; then
27886 if test "xglBegin" != "x"; then
27887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27888 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27889 if ${ac_cv_lib_GL_glBegin+:} false; then :
27890 $as_echo_n "(cached) " >&6
27891 else
27892 ac_check_lib_save_LIBS=$LIBS
27893 LIBS="-lGL $LIBS"
27894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27895 /* end confdefs.h. */
27896
27897 /* Override any GCC internal prototype to avoid an error.
27898 Use char because int might match the return type of a GCC
27899 builtin and then its argument prototype would still apply. */
27900 #ifdef __cplusplus
27901 extern "C"
27902 #endif
27903 char glBegin ();
27904 int
27905 main ()
27906 {
27907 return glBegin ();
27908 ;
27909 return 0;
27910 }
27911 _ACEOF
27912 if ac_fn_c_try_link "$LINENO"; then :
27913 ac_cv_lib_GL_glBegin=yes
27914 else
27915 ac_cv_lib_GL_glBegin=no
27916 fi
27917 rm -f core conftest.err conftest.$ac_objext \
27918 conftest$ac_exeext conftest.$ac_ext
27919 LIBS=$ac_check_lib_save_LIBS
27920 fi
27921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27922 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27923 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
27924 ac_find_libraries="std"
27925 fi
27926
27927 fi
27928 fi
27929
27930 if test "x$ac_find_libraries" = "x"; then
27931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27932 $as_echo_n "checking elsewhere... " >&6; }
27933
27934 ac_find_libraries=
27935 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27936 do
27937 for ac_extension in a so sl dylib dll.a; do
27938 if test -f "$ac_dir/libGL.$ac_extension"; then
27939 ac_find_libraries=$ac_dir
27940 break 2
27941 fi
27942 done
27943 done
27944
27945 if test "x$ac_find_libraries" != "x"; then
27946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27947 $as_echo "yes" >&6; }
27948 else
27949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27950 $as_echo "no" >&6; }
27951 fi
27952 fi
27953
27954 elif test $pkg_failed = untried; then
27955
27956 if test "x$ac_find_libraries" = "x"; then
27957 if test "xglBegin" != "x"; then
27958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27959 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27960 if ${ac_cv_lib_GL_glBegin+:} false; then :
27961 $as_echo_n "(cached) " >&6
27962 else
27963 ac_check_lib_save_LIBS=$LIBS
27964 LIBS="-lGL $LIBS"
27965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27966 /* end confdefs.h. */
27967
27968 /* Override any GCC internal prototype to avoid an error.
27969 Use char because int might match the return type of a GCC
27970 builtin and then its argument prototype would still apply. */
27971 #ifdef __cplusplus
27972 extern "C"
27973 #endif
27974 char glBegin ();
27975 int
27976 main ()
27977 {
27978 return glBegin ();
27979 ;
27980 return 0;
27981 }
27982 _ACEOF
27983 if ac_fn_c_try_link "$LINENO"; then :
27984 ac_cv_lib_GL_glBegin=yes
27985 else
27986 ac_cv_lib_GL_glBegin=no
27987 fi
27988 rm -f core conftest.err conftest.$ac_objext \
27989 conftest$ac_exeext conftest.$ac_ext
27990 LIBS=$ac_check_lib_save_LIBS
27991 fi
27992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27993 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27994 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
27995 ac_find_libraries="std"
27996 fi
27997
27998 fi
27999 fi
28000
28001 if test "x$ac_find_libraries" = "x"; then
28002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28003 $as_echo_n "checking elsewhere... " >&6; }
28004
28005 ac_find_libraries=
28006 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28007 do
28008 for ac_extension in a so sl dylib dll.a; do
28009 if test -f "$ac_dir/libGL.$ac_extension"; then
28010 ac_find_libraries=$ac_dir
28011 break 2
28012 fi
28013 done
28014 done
28015
28016 if test "x$ac_find_libraries" != "x"; then
28017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28018 $as_echo "yes" >&6; }
28019 else
28020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28021 $as_echo "no" >&6; }
28022 fi
28023 fi
28024
28025 else
28026 GL_CFLAGS=$pkg_cv_GL_CFLAGS
28027 GL_LIBS=$pkg_cv_GL_LIBS
28028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28029 $as_echo "yes" >&6; }
28030
28031 ac_find_libraries="std"
28032
28033 eval ac_find_cflags=\$GL_CFLAGS
28034 eval fl_libs=\$GL_LIBS
28035
28036 for fl_path in $fl_libs
28037 do
28038 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28039 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28040 fi
28041 done
28042
28043 fi
28044
28045 if test "$ac_find_libraries" != "" ; then
28046 if test "$ac_find_libraries" != "std" ; then
28047
28048 if test "$ac_find_libraries" = "default location"; then
28049 ac_path_to_link=""
28050 else
28051 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28052 result=$?
28053 if test $result = 0; then
28054 ac_path_to_link=""
28055 else
28056 ac_path_to_link=" -L$ac_find_libraries"
28057 fi
28058 fi
28059
28060 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28061 LDFLAGS_GL="$ac_path_to_link"
28062 fi
28063 fi
28064
28065
28066 ac_find_libraries=
28067
28068 fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
28069
28070
28071 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28072 if test -n "$ac_tool_prefix"; then
28073 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28074 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28076 $as_echo_n "checking for $ac_word... " >&6; }
28077 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28078 $as_echo_n "(cached) " >&6
28079 else
28080 case $PKG_CONFIG in
28081 [\\/]* | ?:[\\/]*)
28082 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28083 ;;
28084 *)
28085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28086 for as_dir in $PATH
28087 do
28088 IFS=$as_save_IFS
28089 test -z "$as_dir" && as_dir=.
28090 for ac_exec_ext in '' $ac_executable_extensions; do
28091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28092 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28094 break 2
28095 fi
28096 done
28097 done
28098 IFS=$as_save_IFS
28099
28100 ;;
28101 esac
28102 fi
28103 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28104 if test -n "$PKG_CONFIG"; then
28105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28106 $as_echo "$PKG_CONFIG" >&6; }
28107 else
28108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28109 $as_echo "no" >&6; }
28110 fi
28111
28112
28113 fi
28114 if test -z "$ac_cv_path_PKG_CONFIG"; then
28115 ac_pt_PKG_CONFIG=$PKG_CONFIG
28116 # Extract the first word of "pkg-config", so it can be a program name with args.
28117 set dummy pkg-config; ac_word=$2
28118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28119 $as_echo_n "checking for $ac_word... " >&6; }
28120 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28121 $as_echo_n "(cached) " >&6
28122 else
28123 case $ac_pt_PKG_CONFIG in
28124 [\\/]* | ?:[\\/]*)
28125 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28126 ;;
28127 *)
28128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28129 for as_dir in $PATH
28130 do
28131 IFS=$as_save_IFS
28132 test -z "$as_dir" && as_dir=.
28133 for ac_exec_ext in '' $ac_executable_extensions; do
28134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28135 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28137 break 2
28138 fi
28139 done
28140 done
28141 IFS=$as_save_IFS
28142
28143 ;;
28144 esac
28145 fi
28146 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28147 if test -n "$ac_pt_PKG_CONFIG"; then
28148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28149 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28150 else
28151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28152 $as_echo "no" >&6; }
28153 fi
28154
28155 if test "x$ac_pt_PKG_CONFIG" = x; then
28156 PKG_CONFIG=""
28157 else
28158 case $cross_compiling:$ac_tool_warned in
28159 yes:)
28160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28162 ac_tool_warned=yes ;;
28163 esac
28164 PKG_CONFIG=$ac_pt_PKG_CONFIG
28165 fi
28166 else
28167 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28168 fi
28169
28170 fi
28171 if test -n "$PKG_CONFIG"; then
28172 _pkg_min_version=0.9.0
28173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28174 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28175 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28177 $as_echo "yes" >&6; }
28178 else
28179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28180 $as_echo "no" >&6; }
28181 PKG_CONFIG=""
28182 fi
28183
28184 fi 6> /dev/null
28185
28186 pkg_failed=no
28187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28188 $as_echo_n "checking for GLU... " >&6; }
28189
28190 if test -n "$PKG_CONFIG"; then
28191 if test -n "$GLU_CFLAGS"; then
28192 pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
28193 else
28194 if test -n "$PKG_CONFIG" && \
28195 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28196 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28197 ac_status=$?
28198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28199 test $ac_status = 0; }; then
28200 pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28201 else
28202 pkg_failed=yes
28203 fi
28204 fi
28205 else
28206 pkg_failed=untried
28207 fi
28208 if test -n "$PKG_CONFIG"; then
28209 if test -n "$GLU_LIBS"; then
28210 pkg_cv_GLU_LIBS="$GLU_LIBS"
28211 else
28212 if test -n "$PKG_CONFIG" && \
28213 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28214 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28215 ac_status=$?
28216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28217 test $ac_status = 0; }; then
28218 pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28219 else
28220 pkg_failed=yes
28221 fi
28222 fi
28223 else
28224 pkg_failed=untried
28225 fi
28226
28227
28228
28229 if test $pkg_failed = yes; then
28230
28231 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28232 _pkg_short_errors_supported=yes
28233 else
28234 _pkg_short_errors_supported=no
28235 fi
28236 if test $_pkg_short_errors_supported = yes; then
28237 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28238 else
28239 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28240 fi
28241 # Put the nasty error message in config.log where it belongs
28242 echo "$GLU_PKG_ERRORS" >&5
28243
28244
28245 if test "x$ac_find_libraries" = "x"; then
28246 if test "xgluBeginCurve" != "x"; then
28247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28248 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28249 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28250 $as_echo_n "(cached) " >&6
28251 else
28252 ac_check_lib_save_LIBS=$LIBS
28253 LIBS="-lGLU $LIBS"
28254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28255 /* end confdefs.h. */
28256
28257 /* Override any GCC internal prototype to avoid an error.
28258 Use char because int might match the return type of a GCC
28259 builtin and then its argument prototype would still apply. */
28260 #ifdef __cplusplus
28261 extern "C"
28262 #endif
28263 char gluBeginCurve ();
28264 int
28265 main ()
28266 {
28267 return gluBeginCurve ();
28268 ;
28269 return 0;
28270 }
28271 _ACEOF
28272 if ac_fn_c_try_link "$LINENO"; then :
28273 ac_cv_lib_GLU_gluBeginCurve=yes
28274 else
28275 ac_cv_lib_GLU_gluBeginCurve=no
28276 fi
28277 rm -f core conftest.err conftest.$ac_objext \
28278 conftest$ac_exeext conftest.$ac_ext
28279 LIBS=$ac_check_lib_save_LIBS
28280 fi
28281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28282 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28283 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28284 ac_find_libraries="std"
28285 fi
28286
28287 fi
28288 fi
28289
28290 if test "x$ac_find_libraries" = "x"; then
28291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28292 $as_echo_n "checking elsewhere... " >&6; }
28293
28294 ac_find_libraries=
28295 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28296 do
28297 for ac_extension in a so sl dylib dll.a; do
28298 if test -f "$ac_dir/libGLU.$ac_extension"; then
28299 ac_find_libraries=$ac_dir
28300 break 2
28301 fi
28302 done
28303 done
28304
28305 if test "x$ac_find_libraries" != "x"; then
28306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28307 $as_echo "yes" >&6; }
28308 else
28309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28310 $as_echo "no" >&6; }
28311 fi
28312 fi
28313
28314 elif test $pkg_failed = untried; then
28315
28316 if test "x$ac_find_libraries" = "x"; then
28317 if test "xgluBeginCurve" != "x"; then
28318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28319 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28320 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28321 $as_echo_n "(cached) " >&6
28322 else
28323 ac_check_lib_save_LIBS=$LIBS
28324 LIBS="-lGLU $LIBS"
28325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28326 /* end confdefs.h. */
28327
28328 /* Override any GCC internal prototype to avoid an error.
28329 Use char because int might match the return type of a GCC
28330 builtin and then its argument prototype would still apply. */
28331 #ifdef __cplusplus
28332 extern "C"
28333 #endif
28334 char gluBeginCurve ();
28335 int
28336 main ()
28337 {
28338 return gluBeginCurve ();
28339 ;
28340 return 0;
28341 }
28342 _ACEOF
28343 if ac_fn_c_try_link "$LINENO"; then :
28344 ac_cv_lib_GLU_gluBeginCurve=yes
28345 else
28346 ac_cv_lib_GLU_gluBeginCurve=no
28347 fi
28348 rm -f core conftest.err conftest.$ac_objext \
28349 conftest$ac_exeext conftest.$ac_ext
28350 LIBS=$ac_check_lib_save_LIBS
28351 fi
28352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28353 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28354 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28355 ac_find_libraries="std"
28356 fi
28357
28358 fi
28359 fi
28360
28361 if test "x$ac_find_libraries" = "x"; then
28362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28363 $as_echo_n "checking elsewhere... " >&6; }
28364
28365 ac_find_libraries=
28366 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28367 do
28368 for ac_extension in a so sl dylib dll.a; do
28369 if test -f "$ac_dir/libGLU.$ac_extension"; then
28370 ac_find_libraries=$ac_dir
28371 break 2
28372 fi
28373 done
28374 done
28375
28376 if test "x$ac_find_libraries" != "x"; then
28377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28378 $as_echo "yes" >&6; }
28379 else
28380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28381 $as_echo "no" >&6; }
28382 fi
28383 fi
28384
28385 else
28386 GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
28387 GLU_LIBS=$pkg_cv_GLU_LIBS
28388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28389 $as_echo "yes" >&6; }
28390
28391 ac_find_libraries="std"
28392
28393 eval ac_find_cflags=\$GLU_CFLAGS
28394 eval fl_libs=\$GLU_LIBS
28395
28396 for fl_path in $fl_libs
28397 do
28398 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28399 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28400 fi
28401 done
28402
28403 fi
28404
28405 if test "$ac_find_libraries" != "" ; then
28406 if test "$ac_find_libraries" != "std" ; then
28407
28408 if test "$ac_find_libraries" = "default location"; then
28409 ac_path_to_link=""
28410 else
28411 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28412 result=$?
28413 if test $result = 0; then
28414 ac_path_to_link=""
28415 else
28416 ac_path_to_link=" -L$ac_find_libraries"
28417 fi
28418 fi
28419
28420 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28421 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28422 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28423 fi
28424 fi
28425
28426 found_gl=1
28427 OPENGL_LIBS="-lGL -lGLU"
28428 fi
28429 fi
28430
28431 if test "$found_gl" != 1; then
28432
28433 ac_find_libraries=
28434
28435 fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
28436
28437
28438 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28439 if test -n "$ac_tool_prefix"; then
28440 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28441 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28443 $as_echo_n "checking for $ac_word... " >&6; }
28444 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28445 $as_echo_n "(cached) " >&6
28446 else
28447 case $PKG_CONFIG in
28448 [\\/]* | ?:[\\/]*)
28449 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28450 ;;
28451 *)
28452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28453 for as_dir in $PATH
28454 do
28455 IFS=$as_save_IFS
28456 test -z "$as_dir" && as_dir=.
28457 for ac_exec_ext in '' $ac_executable_extensions; do
28458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28459 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28461 break 2
28462 fi
28463 done
28464 done
28465 IFS=$as_save_IFS
28466
28467 ;;
28468 esac
28469 fi
28470 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28471 if test -n "$PKG_CONFIG"; then
28472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28473 $as_echo "$PKG_CONFIG" >&6; }
28474 else
28475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28476 $as_echo "no" >&6; }
28477 fi
28478
28479
28480 fi
28481 if test -z "$ac_cv_path_PKG_CONFIG"; then
28482 ac_pt_PKG_CONFIG=$PKG_CONFIG
28483 # Extract the first word of "pkg-config", so it can be a program name with args.
28484 set dummy pkg-config; ac_word=$2
28485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28486 $as_echo_n "checking for $ac_word... " >&6; }
28487 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28488 $as_echo_n "(cached) " >&6
28489 else
28490 case $ac_pt_PKG_CONFIG in
28491 [\\/]* | ?:[\\/]*)
28492 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28493 ;;
28494 *)
28495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28496 for as_dir in $PATH
28497 do
28498 IFS=$as_save_IFS
28499 test -z "$as_dir" && as_dir=.
28500 for ac_exec_ext in '' $ac_executable_extensions; do
28501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28502 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28504 break 2
28505 fi
28506 done
28507 done
28508 IFS=$as_save_IFS
28509
28510 ;;
28511 esac
28512 fi
28513 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28514 if test -n "$ac_pt_PKG_CONFIG"; then
28515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28516 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28517 else
28518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28519 $as_echo "no" >&6; }
28520 fi
28521
28522 if test "x$ac_pt_PKG_CONFIG" = x; then
28523 PKG_CONFIG=""
28524 else
28525 case $cross_compiling:$ac_tool_warned in
28526 yes:)
28527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28529 ac_tool_warned=yes ;;
28530 esac
28531 PKG_CONFIG=$ac_pt_PKG_CONFIG
28532 fi
28533 else
28534 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28535 fi
28536
28537 fi
28538 if test -n "$PKG_CONFIG"; then
28539 _pkg_min_version=0.9.0
28540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28541 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28542 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28544 $as_echo "yes" >&6; }
28545 else
28546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28547 $as_echo "no" >&6; }
28548 PKG_CONFIG=""
28549 fi
28550
28551 fi 6> /dev/null
28552
28553 pkg_failed=no
28554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28555 $as_echo_n "checking for MesaGL... " >&6; }
28556
28557 if test -n "$PKG_CONFIG"; then
28558 if test -n "$MesaGL_CFLAGS"; then
28559 pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
28560 else
28561 if test -n "$PKG_CONFIG" && \
28562 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28563 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28564 ac_status=$?
28565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28566 test $ac_status = 0; }; then
28567 pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28568 else
28569 pkg_failed=yes
28570 fi
28571 fi
28572 else
28573 pkg_failed=untried
28574 fi
28575 if test -n "$PKG_CONFIG"; then
28576 if test -n "$MesaGL_LIBS"; then
28577 pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
28578 else
28579 if test -n "$PKG_CONFIG" && \
28580 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28581 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28582 ac_status=$?
28583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28584 test $ac_status = 0; }; then
28585 pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28586 else
28587 pkg_failed=yes
28588 fi
28589 fi
28590 else
28591 pkg_failed=untried
28592 fi
28593
28594
28595
28596 if test $pkg_failed = yes; then
28597
28598 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28599 _pkg_short_errors_supported=yes
28600 else
28601 _pkg_short_errors_supported=no
28602 fi
28603 if test $_pkg_short_errors_supported = yes; then
28604 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28605 else
28606 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28607 fi
28608 # Put the nasty error message in config.log where it belongs
28609 echo "$MesaGL_PKG_ERRORS" >&5
28610
28611
28612 if test "x$ac_find_libraries" = "x"; then
28613 if test "xglEnable" != "x"; then
28614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28615 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28616 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28617 $as_echo_n "(cached) " >&6
28618 else
28619 ac_check_lib_save_LIBS=$LIBS
28620 LIBS="-lMesaGL $LIBS"
28621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28622 /* end confdefs.h. */
28623
28624 /* Override any GCC internal prototype to avoid an error.
28625 Use char because int might match the return type of a GCC
28626 builtin and then its argument prototype would still apply. */
28627 #ifdef __cplusplus
28628 extern "C"
28629 #endif
28630 char glEnable ();
28631 int
28632 main ()
28633 {
28634 return glEnable ();
28635 ;
28636 return 0;
28637 }
28638 _ACEOF
28639 if ac_fn_c_try_link "$LINENO"; then :
28640 ac_cv_lib_MesaGL_glEnable=yes
28641 else
28642 ac_cv_lib_MesaGL_glEnable=no
28643 fi
28644 rm -f core conftest.err conftest.$ac_objext \
28645 conftest$ac_exeext conftest.$ac_ext
28646 LIBS=$ac_check_lib_save_LIBS
28647 fi
28648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28649 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28650 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28651 ac_find_libraries="std"
28652 fi
28653
28654 fi
28655 fi
28656
28657 if test "x$ac_find_libraries" = "x"; then
28658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28659 $as_echo_n "checking elsewhere... " >&6; }
28660
28661 ac_find_libraries=
28662 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28663 do
28664 for ac_extension in a so sl dylib dll.a; do
28665 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28666 ac_find_libraries=$ac_dir
28667 break 2
28668 fi
28669 done
28670 done
28671
28672 if test "x$ac_find_libraries" != "x"; then
28673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28674 $as_echo "yes" >&6; }
28675 else
28676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28677 $as_echo "no" >&6; }
28678 fi
28679 fi
28680
28681 elif test $pkg_failed = untried; then
28682
28683 if test "x$ac_find_libraries" = "x"; then
28684 if test "xglEnable" != "x"; then
28685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28686 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28687 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28688 $as_echo_n "(cached) " >&6
28689 else
28690 ac_check_lib_save_LIBS=$LIBS
28691 LIBS="-lMesaGL $LIBS"
28692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28693 /* end confdefs.h. */
28694
28695 /* Override any GCC internal prototype to avoid an error.
28696 Use char because int might match the return type of a GCC
28697 builtin and then its argument prototype would still apply. */
28698 #ifdef __cplusplus
28699 extern "C"
28700 #endif
28701 char glEnable ();
28702 int
28703 main ()
28704 {
28705 return glEnable ();
28706 ;
28707 return 0;
28708 }
28709 _ACEOF
28710 if ac_fn_c_try_link "$LINENO"; then :
28711 ac_cv_lib_MesaGL_glEnable=yes
28712 else
28713 ac_cv_lib_MesaGL_glEnable=no
28714 fi
28715 rm -f core conftest.err conftest.$ac_objext \
28716 conftest$ac_exeext conftest.$ac_ext
28717 LIBS=$ac_check_lib_save_LIBS
28718 fi
28719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28720 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28721 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28722 ac_find_libraries="std"
28723 fi
28724
28725 fi
28726 fi
28727
28728 if test "x$ac_find_libraries" = "x"; then
28729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28730 $as_echo_n "checking elsewhere... " >&6; }
28731
28732 ac_find_libraries=
28733 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28734 do
28735 for ac_extension in a so sl dylib dll.a; do
28736 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28737 ac_find_libraries=$ac_dir
28738 break 2
28739 fi
28740 done
28741 done
28742
28743 if test "x$ac_find_libraries" != "x"; then
28744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28745 $as_echo "yes" >&6; }
28746 else
28747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28748 $as_echo "no" >&6; }
28749 fi
28750 fi
28751
28752 else
28753 MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
28754 MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
28755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28756 $as_echo "yes" >&6; }
28757
28758 ac_find_libraries="std"
28759
28760 eval ac_find_cflags=\$MesaGL_CFLAGS
28761 eval fl_libs=\$MesaGL_LIBS
28762
28763 for fl_path in $fl_libs
28764 do
28765 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28766 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28767 fi
28768 done
28769
28770 fi
28771
28772 if test "$ac_find_libraries" != "" ; then
28773 if test "$ac_find_libraries" != "std" ; then
28774
28775 if test "$ac_find_libraries" = "default location"; then
28776 ac_path_to_link=""
28777 else
28778 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28779 result=$?
28780 if test $result = 0; then
28781 ac_path_to_link=""
28782 else
28783 ac_path_to_link=" -L$ac_find_libraries"
28784 fi
28785 fi
28786
28787 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28788 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28789 fi
28790 fi
28791 OPENGL_LIBS="-lMesaGL -lMesaGLU"
28792 fi
28793 fi
28794
28795 fi
28796
28797
28798
28799 fi
28800
28801
28802
28803 if test "x$OPENGL_LIBS" = "x"; then
28804 if test "$wxUSE_OPENGL" = "yes"; then
28805 as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
28806 else
28807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28808 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28809 wxUSE_OPENGL=no
28810 USE_OPENGL=0
28811 fi
28812 fi
28813 else
28814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28815 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28816 wxUSE_OPENGL="no"
28817 fi
28818
28819 if test "$wxUSE_OPENGL" = "auto"; then
28820 wxUSE_OPENGL=yes
28821 fi
28822
28823 if test "$wxUSE_OPENGL" = "yes"; then
28824 USE_OPENGL=1
28825 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28826
28827 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28828
28829 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28830 fi
28831 fi
28832
28833
28834 if test -n "$TOOLKIT" ; then
28835 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28836 fi
28837
28838
28839
28840 if test "$wxUSE_SHARED" = "yes"; then
28841 case "${host}" in
28842 *-pc-msdosdjgpp )
28843 wxUSE_SHARED=no
28844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28845 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28846 ;;
28847 esac
28848 fi
28849
28850 if test "$wxUSE_SHARED" = "yes"; then
28851
28852
28853 case "${host}" in
28854 *-*-cygwin* | *-*-mingw* )
28855 wx_cv_version_script=no
28856 ;;
28857
28858 *)
28859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28860 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28861 if ${wx_cv_version_script+:} false; then :
28862 $as_echo_n "(cached) " >&6
28863 else
28864
28865 echo "VER_1 { *; };" >conftest.sym
28866 echo "int main() { return 0; }" >conftest.cpp
28867
28868 if { ac_try='
28869 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28870 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28871 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28872 (eval $ac_try) 2>&5
28873 ac_status=$?
28874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28875 test $ac_status = 0; }; } ; then
28876 if test -s conftest.stderr ; then
28877 wx_cv_version_script=no
28878 else
28879 wx_cv_version_script=yes
28880 fi
28881 else
28882 wx_cv_version_script=no
28883 fi
28884
28885 if test $wx_cv_version_script = yes
28886 then
28887 echo "struct B { virtual ~B() { } }; \
28888 struct D : public B { }; \
28889 void F() { D d; }" > conftest.cpp
28890
28891 if { ac_try='
28892 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28893 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28894 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28895 (eval $ac_try) 2>&5
28896 ac_status=$?
28897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28898 test $ac_status = 0; }; } &&
28899 { ac_try='
28900 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28901 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28902 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28903 (eval $ac_try) 2>&5
28904 ac_status=$?
28905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28906 test $ac_status = 0; }; }
28907 then
28908 if { ac_try='
28909 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28910 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28911 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28912 (eval $ac_try) 2>&5
28913 ac_status=$?
28914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28915 test $ac_status = 0; }; }
28916 then
28917 wx_cv_version_script=yes
28918 else
28919 wx_cv_version_script=no
28920 fi
28921 fi
28922 fi
28923
28924 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28925 rm -f conftest1.output conftest2.output conftest3.output
28926
28927 fi
28928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28929 $as_echo "$wx_cv_version_script" >&6; }
28930
28931 if test $wx_cv_version_script = yes ; then
28932 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28933 fi
28934 ;;
28935 esac
28936
28937
28938 if test "$wxUSE_VISIBILITY" != "no"; then
28939
28940
28941 if test -n "$GCC"; then
28942 CFLAGS_VISIBILITY="-fvisibility=hidden"
28943 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
28944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28945 $as_echo_n "checking for symbols visibility support... " >&6; }
28946 if ${wx_cv_cc_visibility+:} false; then :
28947 $as_echo_n "(cached) " >&6
28948 else
28949
28950 wx_save_CXXFLAGS="$CXXFLAGS"
28951 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28952 ac_ext=cpp
28953 ac_cpp='$CXXCPP $CPPFLAGS'
28954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28957
28958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28959 /* end confdefs.h. */
28960
28961 /* we need gcc >= 4.0, older versions with visibility support
28962 didn't have class visibility: */
28963 #if defined(__GNUC__) && __GNUC__ < 4
28964 error this gcc is too old;
28965 #endif
28966
28967 /* visibility only makes sense for ELF shared libs: */
28968 #if !defined(__ELF__) && !defined(__APPLE__)
28969 error this platform has no visibility;
28970 #endif
28971
28972 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
28973 #if defined(__clang__)
28974 clang compiler is still broken w.r.t. visibility;
28975 #endif
28976
28977 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
28978 extern __attribute__((__visibility__("default"))) int exportedvar;
28979 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
28980 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
28981 class __attribute__((__visibility__("default"))) Foo {
28982 Foo() {}
28983 };
28984
28985 int
28986 main ()
28987 {
28988
28989 ;
28990 return 0;
28991 }
28992 _ACEOF
28993 if ac_fn_cxx_try_compile "$LINENO"; then :
28994 wx_cv_cc_visibility=yes
28995 else
28996 wx_cv_cc_visibility=no
28997 fi
28998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28999 ac_ext=c
29000 ac_cpp='$CPP $CPPFLAGS'
29001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29004
29005 CXXFLAGS="$wx_save_CXXFLAGS"
29006 fi
29007
29008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
29009 $as_echo "$wx_cv_cc_visibility" >&6; }
29010 if test $wx_cv_cc_visibility = yes; then
29011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
29012 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
29013 if ${wx_cv_cc_broken_libstdcxx_visibility+:} false; then :
29014 $as_echo_n "(cached) " >&6
29015 else
29016
29017 wx_save_CXXFLAGS="$CXXFLAGS"
29018 wx_save_LDFLAGS="$LDFLAGS"
29019 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29020 LDFLAGS="$LDFLAGS -shared -fPIC"
29021 ac_ext=cpp
29022 ac_cpp='$CXXCPP $CPPFLAGS'
29023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29026
29027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29028 /* end confdefs.h. */
29029
29030 #include <string>
29031
29032 int
29033 main ()
29034 {
29035
29036 std::string s("hello");
29037 return s.length();
29038
29039 ;
29040 return 0;
29041 }
29042 _ACEOF
29043 if ac_fn_cxx_try_link "$LINENO"; then :
29044 wx_cv_cc_broken_libstdcxx_visibility=no
29045 else
29046 wx_cv_cc_broken_libstdcxx_visibility=yes
29047 fi
29048 rm -f core conftest.err conftest.$ac_objext \
29049 conftest$ac_exeext conftest.$ac_ext
29050 ac_ext=c
29051 ac_cpp='$CPP $CPPFLAGS'
29052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29055
29056 CXXFLAGS="$wx_save_CXXFLAGS"
29057 LDFLAGS="$wx_save_LDFLAGS"
29058 fi
29059
29060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29061 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29062
29063 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29065 $as_echo_n "checking whether we can work around it... " >&6; }
29066 if ${wx_cv_cc_visibility_workaround+:} false; then :
29067 $as_echo_n "(cached) " >&6
29068 else
29069
29070 ac_ext=cpp
29071 ac_cpp='$CXXCPP $CPPFLAGS'
29072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29075
29076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29077 /* end confdefs.h. */
29078
29079 #pragma GCC visibility push(default)
29080 #include <string>
29081 #pragma GCC visibility pop
29082
29083 int
29084 main ()
29085 {
29086
29087 std::string s("hello");
29088 return s.length();
29089
29090 ;
29091 return 0;
29092 }
29093 _ACEOF
29094 if ac_fn_cxx_try_link "$LINENO"; then :
29095 wx_cv_cc_visibility_workaround=no
29096 else
29097 wx_cv_cc_visibility_workaround=yes
29098 fi
29099 rm -f core conftest.err conftest.$ac_objext \
29100 conftest$ac_exeext conftest.$ac_ext
29101 ac_ext=c
29102 ac_cpp='$CPP $CPPFLAGS'
29103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29106
29107
29108 fi
29109
29110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29111 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29112
29113 if test $wx_cv_cc_visibility_workaround = no; then
29114 wx_cv_cc_visibility=no
29115 fi
29116 fi
29117 fi
29118
29119 if test $wx_cv_cc_visibility = yes; then
29120 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29121
29122 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29123 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29124
29125 fi
29126 else
29127 CFLAGS_VISIBILITY=""
29128 CXXFLAGS_VISIBILITY=""
29129 fi
29130
29131
29132 fi
29133
29134 fi
29135
29136 if test "x$SUNCXX" = xyes; then
29137 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
29138 WXCONFIG_RPATH="-R\$libdir"
29139 else
29140 case "${host}" in
29141 *-*-linux* | *-*-gnu* )
29142 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29143 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29144 ;;
29145
29146 *-*-solaris2* )
29147
29148 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
29149
29150 saveLdflags="$LDFLAGS"
29151 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29153 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29155 /* end confdefs.h. */
29156
29157 int
29158 main ()
29159 {
29160
29161 ;
29162 return 0;
29163 }
29164 _ACEOF
29165 if ac_fn_c_try_link "$LINENO"; then :
29166
29167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29168 $as_echo "yes" >&6; }
29169 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29170 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29171
29172 else
29173
29174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29175 $as_echo "no" >&6; }
29176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29177 $as_echo_n "checking if the linker accepts -R... " >&6; }
29178 LDFLAGS="$saveLdflags -Wl,-R,/"
29179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29180 /* end confdefs.h. */
29181
29182 int
29183 main ()
29184 {
29185
29186 ;
29187 return 0;
29188 }
29189 _ACEOF
29190 if ac_fn_c_try_link "$LINENO"; then :
29191
29192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29193 $as_echo "yes" >&6; }
29194 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
29195 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29196
29197 else
29198
29199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29200 $as_echo "no" >&6; }
29201
29202 fi
29203 rm -f core conftest.err conftest.$ac_objext \
29204 conftest$ac_exeext conftest.$ac_ext
29205
29206 fi
29207 rm -f core conftest.err conftest.$ac_objext \
29208 conftest$ac_exeext conftest.$ac_ext
29209 LDFLAGS="$saveLdflags"
29210 ;;
29211
29212 *-*-darwin* )
29213 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
29214 if test "$install_name_tool" -a -x "$install_name_tool"; then
29215 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29216 cat <<EOF >change-install-names
29217 #!/bin/sh
29218 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29219 for i in \${libnames} ; do
29220 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29221 for dep in \${libnames} ; do
29222 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29223 done
29224 done
29225 EOF
29226 chmod +x change-install-names
29227 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29228 fi
29229
29230 HEADER_PAD_OPTION="-headerpad_max_install_names"
29231 ;;
29232
29233 *-*-cygwin* | *-*-mingw32* )
29234 ;;
29235
29236 *-*-hpux* )
29237 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
29238 WXCONFIG_RPATH="-Wl,+b,\$libdir"
29239 ;;
29240
29241 esac
29242 fi
29243
29244 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29245
29246 if test $wxUSE_RPATH = "no"; then
29247 SAMPLES_RPATH_FLAG=''
29248 DYLIB_PATH_POSTLINK=''
29249 WXCONFIG_RPATH=''
29250 fi
29251
29252 SHARED=1
29253
29254 else
29255
29256 config_linkage_component="-static"
29257 SHARED=0
29258
29259 fi
29260
29261
29262 UNICODE=0
29263 lib_unicode_suffix=
29264 WX_CHARTYPE="ansi"
29265 if test "$wxUSE_UNICODE" = "yes"; then
29266 lib_unicode_suffix=u
29267 WX_CHARTYPE="unicode"
29268 UNICODE=1
29269 fi
29270
29271 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29272 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29273
29274 DEBUG_INFO=0
29275 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29276 DEBUG_INFO=1
29277 fi
29278
29279 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29280
29281 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29282
29283 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29284
29285
29286 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29287 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29288 else
29289 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29290 fi
29291 if test "${TOOLKIT_DIR}" = "os2"; then
29292 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29293 else
29294 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29295 fi
29296
29297
29298
29299 if test "$wxUSE_OLD_COCOA" = 1; then
29300
29301 ac_ext=c
29302 ac_cpp='$CPP $CPPFLAGS'
29303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29306
29307 ac_ext=m
29308
29309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29310 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29312 /* end confdefs.h. */
29313 #include <AppKit/NSEvent.h>
29314 #include <CoreFoundation/CoreFoundation.h>
29315
29316 int
29317 main ()
29318 {
29319
29320 ;
29321 return 0;
29322 }
29323 _ACEOF
29324 if ac_fn_c_try_compile "$LINENO"; then :
29325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29326 $as_echo "no" >&6; }
29327 else
29328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29329 $as_echo "yes" >&6; }
29330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29331 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29333 /* end confdefs.h. */
29334 #define __Point__ 1
29335 #include <AppKit/NSEvent.h>
29336 #include <CoreFoundation/CoreFoundation.h>
29337
29338 int
29339 main ()
29340 {
29341
29342 ;
29343 return 0;
29344 }
29345 _ACEOF
29346 if ac_fn_c_try_compile "$LINENO"; then :
29347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29348 $as_echo "yes" >&6; }
29349 $as_echo "#define __Point__ 1" >>confdefs.h
29350
29351
29352 else
29353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29355 as_fn_error $? "no
29356 See \`config.log' for more details" "$LINENO" 5; }
29357
29358 fi
29359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29360
29361 fi
29362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29363 ac_ext=c
29364 ac_cpp='$CPP $CPPFLAGS'
29365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29368
29369 fi
29370
29371
29372 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29373 if test "x$ac_cv_type_mode_t" = xyes; then :
29374
29375 else
29376
29377 cat >>confdefs.h <<_ACEOF
29378 #define mode_t int
29379 _ACEOF
29380
29381 fi
29382
29383 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29384 if test "x$ac_cv_type_off_t" = xyes; then :
29385
29386 else
29387
29388 cat >>confdefs.h <<_ACEOF
29389 #define off_t long int
29390 _ACEOF
29391
29392 fi
29393
29394 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29395 if test "x$ac_cv_type_pid_t" = xyes; then :
29396
29397 else
29398
29399 cat >>confdefs.h <<_ACEOF
29400 #define pid_t int
29401 _ACEOF
29402
29403 fi
29404
29405 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29406 if test "x$ac_cv_type_size_t" = xyes; then :
29407
29408 else
29409
29410 cat >>confdefs.h <<_ACEOF
29411 #define size_t unsigned int
29412 _ACEOF
29413
29414 fi
29415
29416
29417 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29418 if test "x$ac_cv_type_ssize_t" = xyes; then :
29419
29420 cat >>confdefs.h <<_ACEOF
29421 #define HAVE_SSIZE_T 1
29422 _ACEOF
29423
29424
29425 fi
29426
29427
29428 ac_ext=cpp
29429 ac_cpp='$CXXCPP $CPPFLAGS'
29430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29434 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29435 if ${wx_cv_size_t_is_uint+:} false; then :
29436 $as_echo_n "(cached) " >&6
29437 else
29438
29439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29440 /* end confdefs.h. */
29441 #include <stddef.h>
29442 int
29443 main ()
29444 {
29445
29446 return 0; }
29447
29448 struct Foo { void foo(size_t); void foo(unsigned int); };
29449
29450 int bar() {
29451
29452 ;
29453 return 0;
29454 }
29455 _ACEOF
29456 if ac_fn_cxx_try_compile "$LINENO"; then :
29457 wx_cv_size_t_is_uint=no
29458 else
29459 wx_cv_size_t_is_uint=yes
29460
29461 fi
29462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29463
29464
29465 fi
29466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29467 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29468
29469 if test "$wx_cv_size_t_is_uint" = "yes"; then
29470 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29471
29472 else
29473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29474 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29475 if ${wx_cv_size_t_is_ulong+:} false; then :
29476 $as_echo_n "(cached) " >&6
29477 else
29478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29479 /* end confdefs.h. */
29480 #include <stddef.h>
29481 int
29482 main ()
29483 {
29484
29485 return 0; }
29486
29487 struct Foo { void foo(size_t); void foo(unsigned long); };
29488
29489 int bar() {
29490
29491 ;
29492 return 0;
29493 }
29494 _ACEOF
29495 if ac_fn_cxx_try_compile "$LINENO"; then :
29496 wx_cv_size_t_is_ulong=no
29497 else
29498 wx_cv_size_t_is_ulong=yes
29499
29500 fi
29501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29502
29503 fi
29504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29505 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29506
29507 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29508 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29509
29510 fi
29511 fi
29512
29513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29514 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29515 if ${wx_cv_wchar_t_is_separate_type+:} false; then :
29516 $as_echo_n "(cached) " >&6
29517 else
29518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29519 /* end confdefs.h. */
29520 #include <wchar.h>
29521 int
29522 main ()
29523 {
29524
29525 return 0; }
29526
29527 struct Foo { void foo(wchar_t);
29528 void foo(unsigned short);
29529 void foo(unsigned int);
29530 void foo(unsigned long); };
29531
29532 int bar() {
29533
29534 ;
29535 return 0;
29536 }
29537 _ACEOF
29538 if ac_fn_cxx_try_compile "$LINENO"; then :
29539 wx_cv_wchar_t_is_separate_type=yes
29540 else
29541 wx_cv_wchar_t_is_separate_type=no
29542
29543 fi
29544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29545
29546 fi
29547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29548 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29549
29550 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29551 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29552
29553 else
29554 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29555
29556 fi
29557
29558 ac_ext=c
29559 ac_cpp='$CPP $CPPFLAGS'
29560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29563
29564
29565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29566 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29567 if ${wx_cv_struct_pw_gecos+:} false; then :
29568 $as_echo_n "(cached) " >&6
29569 else
29570
29571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29572 /* end confdefs.h. */
29573 #include <pwd.h>
29574 int
29575 main ()
29576 {
29577
29578 char *p;
29579 struct passwd *pw;
29580 p = pw->pw_gecos;
29581
29582 ;
29583 return 0;
29584 }
29585 _ACEOF
29586 if ac_fn_c_try_compile "$LINENO"; then :
29587
29588 wx_cv_struct_pw_gecos=yes
29589
29590 else
29591
29592 wx_cv_struct_pw_gecos=no
29593
29594
29595 fi
29596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29597
29598
29599 fi
29600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29601 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29602
29603 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29604 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29605
29606 fi
29607
29608
29609 WCSLEN_FOUND=0
29610 WCHAR_LINK=
29611 for ac_func in wcslen
29612 do :
29613 ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
29614 if test "x$ac_cv_func_wcslen" = xyes; then :
29615 cat >>confdefs.h <<_ACEOF
29616 #define HAVE_WCSLEN 1
29617 _ACEOF
29618 WCSLEN_FOUND=1
29619 fi
29620 done
29621
29622
29623 if test "$WCSLEN_FOUND" = 0; then
29624 if test "$TOOLKIT" = "MSW"; then
29625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29626 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29627 if ${ac_cv_lib_msvcrt_wcslen+:} false; then :
29628 $as_echo_n "(cached) " >&6
29629 else
29630 ac_check_lib_save_LIBS=$LIBS
29631 LIBS="-lmsvcrt $LIBS"
29632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29633 /* end confdefs.h. */
29634
29635 /* Override any GCC internal prototype to avoid an error.
29636 Use char because int might match the return type of a GCC
29637 builtin and then its argument prototype would still apply. */
29638 #ifdef __cplusplus
29639 extern "C"
29640 #endif
29641 char wcslen ();
29642 int
29643 main ()
29644 {
29645 return wcslen ();
29646 ;
29647 return 0;
29648 }
29649 _ACEOF
29650 if ac_fn_c_try_link "$LINENO"; then :
29651 ac_cv_lib_msvcrt_wcslen=yes
29652 else
29653 ac_cv_lib_msvcrt_wcslen=no
29654 fi
29655 rm -f core conftest.err conftest.$ac_objext \
29656 conftest$ac_exeext conftest.$ac_ext
29657 LIBS=$ac_check_lib_save_LIBS
29658 fi
29659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29660 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29661 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes; then :
29662 WCHAR_OK=1
29663 fi
29664
29665 else
29666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29667 $as_echo_n "checking for wcslen in -lw... " >&6; }
29668 if ${ac_cv_lib_w_wcslen+:} false; then :
29669 $as_echo_n "(cached) " >&6
29670 else
29671 ac_check_lib_save_LIBS=$LIBS
29672 LIBS="-lw $LIBS"
29673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29674 /* end confdefs.h. */
29675
29676 /* Override any GCC internal prototype to avoid an error.
29677 Use char because int might match the return type of a GCC
29678 builtin and then its argument prototype would still apply. */
29679 #ifdef __cplusplus
29680 extern "C"
29681 #endif
29682 char wcslen ();
29683 int
29684 main ()
29685 {
29686 return wcslen ();
29687 ;
29688 return 0;
29689 }
29690 _ACEOF
29691 if ac_fn_c_try_link "$LINENO"; then :
29692 ac_cv_lib_w_wcslen=yes
29693 else
29694 ac_cv_lib_w_wcslen=no
29695 fi
29696 rm -f core conftest.err conftest.$ac_objext \
29697 conftest$ac_exeext conftest.$ac_ext
29698 LIBS=$ac_check_lib_save_LIBS
29699 fi
29700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29701 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29702 if test "x$ac_cv_lib_w_wcslen" = xyes; then :
29703
29704 WCHAR_LINK=" -lw"
29705 WCSLEN_FOUND=1
29706
29707 fi
29708
29709 fi
29710 fi
29711
29712 if test "$WCSLEN_FOUND" = 1; then
29713 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29714
29715 fi
29716
29717 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29718 do :
29719 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29720 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29721 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29722 cat >>confdefs.h <<_ACEOF
29723 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29724 _ACEOF
29725
29726 fi
29727 done
29728
29729
29730 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29731 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29732 fi
29733
29734 ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29735 "
29736 if test "x$ac_cv_type_mbstate_t" = xyes; then :
29737
29738 cat >>confdefs.h <<_ACEOF
29739 #define HAVE_MBSTATE_T 1
29740 _ACEOF
29741
29742 for ac_func in wcsrtombs
29743 do :
29744 ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29745 if test "x$ac_cv_func_wcsrtombs" = xyes; then :
29746 cat >>confdefs.h <<_ACEOF
29747 #define HAVE_WCSRTOMBS 1
29748 _ACEOF
29749
29750 fi
29751 done
29752
29753 fi
29754
29755
29756 for ac_func in snprintf vsnprintf vsscanf
29757 do :
29758 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29759 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29760 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29761 cat >>confdefs.h <<_ACEOF
29762 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29763 _ACEOF
29764
29765 fi
29766 done
29767
29768
29769 ac_ext=cpp
29770 ac_cpp='$CXXCPP $CPPFLAGS'
29771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29774
29775 if test "$ac_cv_func_vsnprintf" = "yes"; then
29776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29777 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29778 if ${wx_cv_func_vsnprintf_decl+:} false; then :
29779 $as_echo_n "(cached) " >&6
29780 else
29781
29782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29783 /* end confdefs.h. */
29784
29785 #include <stdio.h>
29786 #include <stdarg.h>
29787
29788 int
29789 main ()
29790 {
29791
29792 char *buf;
29793 va_list ap;
29794 vsnprintf(buf, 10u, "%s", ap);
29795
29796 ;
29797 return 0;
29798 }
29799 _ACEOF
29800 if ac_fn_cxx_try_compile "$LINENO"; then :
29801 wx_cv_func_vsnprintf_decl=yes
29802 else
29803 wx_cv_func_vsnprintf_decl=no
29804
29805 fi
29806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29807
29808
29809 fi
29810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29811 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29812
29813 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29814 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29815
29816
29817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29818 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29819 if ${wx_cv_func_broken_vsnprintf_decl+:} false; then :
29820 $as_echo_n "(cached) " >&6
29821 else
29822
29823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29824 /* end confdefs.h. */
29825
29826 #include <stdio.h>
29827 #include <stdarg.h>
29828 #ifdef __MSL__
29829 #if __MSL__ >= 0x6000
29830 namespace std {}
29831 using namespace std;
29832 #endif
29833 #endif
29834
29835 int
29836 main ()
29837 {
29838
29839 char *buf;
29840 va_list ap;
29841 const char *fmt = "%s";
29842 vsnprintf(buf, 10u, fmt, ap);
29843
29844 ;
29845 return 0;
29846 }
29847 _ACEOF
29848 if ac_fn_cxx_try_compile "$LINENO"; then :
29849 wx_cv_func_broken_vsnprintf_decl=no
29850 else
29851 wx_cv_func_broken_vsnprintf_decl=yes
29852
29853 fi
29854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29855
29856
29857 fi
29858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29859 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29860
29861 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29862 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29863
29864 fi
29865 fi
29866 fi
29867
29868 if test "$ac_cv_func_snprintf" = "yes"; then
29869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29870 $as_echo_n "checking for snprintf declaration... " >&6; }
29871 if ${wx_cv_func_snprintf_decl+:} false; then :
29872 $as_echo_n "(cached) " >&6
29873 else
29874
29875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29876 /* end confdefs.h. */
29877
29878 #include <stdio.h>
29879 #include <stdarg.h>
29880 #ifdef __MSL__
29881 #if __MSL__ >= 0x6000
29882 namespace std {}
29883 using namespace std;
29884 #endif
29885 #endif
29886
29887 int
29888 main ()
29889 {
29890
29891 char *buf;
29892 snprintf(buf, 10u, "%s", "wx");
29893
29894 ;
29895 return 0;
29896 }
29897 _ACEOF
29898 if ac_fn_cxx_try_compile "$LINENO"; then :
29899 wx_cv_func_snprintf_decl=yes
29900 else
29901 wx_cv_func_snprintf_decl=no
29902
29903 fi
29904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29905
29906
29907 fi
29908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29909 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29910
29911 if test "$wx_cv_func_snprintf_decl" = "yes"; then
29912 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29913
29914 fi
29915
29916 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29917
29918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29919 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29920 if ${wx_cv_func_snprintf_pos_params+:} false; then :
29921 $as_echo_n "(cached) " >&6
29922 else
29923
29924 if test "$cross_compiling" = yes; then :
29925
29926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29927 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29928 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29929 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29930 wx_cv_func_snprintf_pos_params=no
29931
29932
29933 else
29934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29935 /* end confdefs.h. */
29936
29937 #include <stdio.h>
29938
29939 int main (void)
29940 {
29941 char buffer[128];
29942 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
29943 if (strcmp ("2 3 1", buffer) == 0)
29944 exit (0);
29945 exit (1);
29946 }
29947
29948 _ACEOF
29949 if ac_fn_cxx_try_run "$LINENO"; then :
29950 wx_cv_func_snprintf_pos_params=no
29951 else
29952 wx_cv_func_snprintf_pos_params=yes
29953 fi
29954 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29955 conftest.$ac_objext conftest.beam conftest.$ac_ext
29956 fi
29957
29958
29959
29960 fi
29961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
29962 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
29963
29964 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
29965 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
29966
29967 fi
29968 fi
29969 fi
29970
29971 if test "$ac_cv_func_vsscanf" = "yes"; then
29972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
29973 $as_echo_n "checking for vsscanf declaration... " >&6; }
29974 if ${wx_cv_func_vsscanf_decl+:} false; then :
29975 $as_echo_n "(cached) " >&6
29976 else
29977
29978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29979 /* end confdefs.h. */
29980
29981 #include <stdio.h>
29982 #include <stdarg.h>
29983 #ifdef __MSL__
29984 #if __MSL__ >= 0x6000
29985 namespace std {}
29986 using namespace std;
29987 #endif
29988 #endif
29989
29990 int
29991 main ()
29992 {
29993
29994 char *buf;
29995 va_list args;
29996 vsscanf(buf, "%s", args);
29997
29998 ;
29999 return 0;
30000 }
30001 _ACEOF
30002 if ac_fn_cxx_try_compile "$LINENO"; then :
30003 wx_cv_func_vsscanf_decl=yes
30004 else
30005 wx_cv_func_vsscanf_decl=no
30006
30007 fi
30008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30009
30010
30011 fi
30012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
30013 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
30014
30015 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
30016 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
30017
30018 fi
30019 fi
30020 ac_ext=c
30021 ac_cpp='$CPP $CPPFLAGS'
30022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30025
30026
30027 if test "$wxUSE_UNICODE" = yes; then
30028
30029 wchar_headers="#include <stdio.h>
30030 #include <wchar.h>"
30031 case "${host}" in
30032 *-*-solaris2* )
30033 for ac_header in widec.h
30034 do :
30035 ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
30036 "
30037 if test "x$ac_cv_header_widec_h" = xyes; then :
30038 cat >>confdefs.h <<_ACEOF
30039 #define HAVE_WIDEC_H 1
30040 _ACEOF
30041
30042 fi
30043
30044 done
30045
30046 if test "$ac_cv_header_widec_h" = "yes"; then
30047 wchar_headers="$wchar_headers
30048 #include <widec.h>"
30049 fi
30050 esac
30051
30052
30053 for wx_func in putws fputws wprintf vswprintf vswscanf
30054 do
30055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30056 $as_echo_n "checking for $wx_func... " >&6; }
30057 if eval \${wx_cv_func_$wx_func+:} false; then :
30058 $as_echo_n "(cached) " >&6
30059 else
30060
30061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30062 /* end confdefs.h. */
30063
30064
30065 $wchar_headers
30066 $ac_includes_default
30067
30068 int
30069 main ()
30070 {
30071
30072 #ifndef $wx_func
30073 &$wx_func;
30074 #endif
30075
30076
30077 ;
30078 return 0;
30079 }
30080
30081 _ACEOF
30082 if ac_fn_c_try_link "$LINENO"; then :
30083 eval wx_cv_func_$wx_func=yes
30084 else
30085 eval wx_cv_func_$wx_func=no
30086 fi
30087 rm -f core conftest.err conftest.$ac_objext \
30088 conftest$ac_exeext conftest.$ac_ext
30089
30090 fi
30091 eval ac_res=\$wx_cv_func_$wx_func
30092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30093 $as_echo "$ac_res" >&6; }
30094
30095 if eval test \$wx_cv_func_$wx_func = yes
30096 then
30097 cat >>confdefs.h <<_ACEOF
30098 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30099 _ACEOF
30100
30101
30102 else
30103 :
30104
30105 fi
30106 done
30107
30108
30109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30110 $as_echo_n "checking for _vsnwprintf... " >&6; }
30111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30112 /* end confdefs.h. */
30113 #include <wchar.h>
30114 int
30115 main ()
30116 {
30117 &_vsnwprintf;
30118 ;
30119 return 0;
30120 }
30121 _ACEOF
30122 if ac_fn_c_try_compile "$LINENO"; then :
30123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30124 $as_echo "yes" >&6; }
30125 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30126
30127 else
30128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30129 $as_echo "no" >&6; }
30130 fi
30131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
30132 fi
30133
30134 if test "$wxUSE_FILE" = "yes"; then
30135
30136 for wx_func in fsync
30137 do
30138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30139 $as_echo_n "checking for $wx_func... " >&6; }
30140 if eval \${wx_cv_func_$wx_func+:} false; then :
30141 $as_echo_n "(cached) " >&6
30142 else
30143
30144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30145 /* end confdefs.h. */
30146
30147
30148
30149 $ac_includes_default
30150
30151 int
30152 main ()
30153 {
30154
30155 #ifndef $wx_func
30156 &$wx_func;
30157 #endif
30158
30159
30160 ;
30161 return 0;
30162 }
30163
30164 _ACEOF
30165 if ac_fn_c_try_link "$LINENO"; then :
30166 eval wx_cv_func_$wx_func=yes
30167 else
30168 eval wx_cv_func_$wx_func=no
30169 fi
30170 rm -f core conftest.err conftest.$ac_objext \
30171 conftest$ac_exeext conftest.$ac_ext
30172
30173 fi
30174 eval ac_res=\$wx_cv_func_$wx_func
30175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30176 $as_echo "$ac_res" >&6; }
30177
30178 if eval test \$wx_cv_func_$wx_func = yes
30179 then
30180 cat >>confdefs.h <<_ACEOF
30181 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30182 _ACEOF
30183
30184
30185 else
30186 :
30187
30188 fi
30189 done
30190
30191 fi
30192
30193 ac_ext=cpp
30194 ac_cpp='$CXXCPP $CPPFLAGS'
30195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30198
30199
30200 for wx_func in round
30201 do
30202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30203 $as_echo_n "checking for $wx_func... " >&6; }
30204 if eval \${wx_cv_func_$wx_func+:} false; then :
30205 $as_echo_n "(cached) " >&6
30206 else
30207
30208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30209 /* end confdefs.h. */
30210
30211
30212 #include <math.h>
30213 $ac_includes_default
30214
30215 int
30216 main ()
30217 {
30218
30219 #ifndef $wx_func
30220 &$wx_func;
30221 #endif
30222
30223
30224 ;
30225 return 0;
30226 }
30227
30228 _ACEOF
30229 if ac_fn_cxx_try_link "$LINENO"; then :
30230 eval wx_cv_func_$wx_func=yes
30231 else
30232 eval wx_cv_func_$wx_func=no
30233 fi
30234 rm -f core conftest.err conftest.$ac_objext \
30235 conftest$ac_exeext conftest.$ac_ext
30236
30237 fi
30238 eval ac_res=\$wx_cv_func_$wx_func
30239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30240 $as_echo "$ac_res" >&6; }
30241
30242 if eval test \$wx_cv_func_$wx_func = yes
30243 then
30244 cat >>confdefs.h <<_ACEOF
30245 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30246 _ACEOF
30247
30248
30249 else
30250 :
30251
30252 fi
30253 done
30254
30255 ac_ext=c
30256 ac_cpp='$CPP $CPPFLAGS'
30257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30260
30261
30262 if test "$TOOLKIT" != "MSW"; then
30263
30264 if test "$wxUSE_LIBICONV" != "no" ; then
30265
30266
30267
30268 # Check whether --with-libiconv-prefix was given.
30269 if test "${with_libiconv_prefix+set}" = set; then :
30270 withval=$with_libiconv_prefix;
30271 for dir in `echo "$withval" | tr : ' '`; do
30272 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30273 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30274 done
30275
30276 fi
30277
30278
30279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30280 $as_echo_n "checking for iconv... " >&6; }
30281 if ${am_cv_func_iconv+:} false; then :
30282 $as_echo_n "(cached) " >&6
30283 else
30284
30285 am_cv_func_iconv="no, consider installing GNU libiconv"
30286 am_cv_lib_iconv=no
30287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30288 /* end confdefs.h. */
30289 #include <stdlib.h>
30290 #include <iconv.h>
30291 int
30292 main ()
30293 {
30294 iconv_t cd = iconv_open("","");
30295 iconv(cd,NULL,NULL,NULL,NULL);
30296 iconv_close(cd);
30297 ;
30298 return 0;
30299 }
30300 _ACEOF
30301 if ac_fn_c_try_link "$LINENO"; then :
30302 am_cv_func_iconv=yes
30303 fi
30304 rm -f core conftest.err conftest.$ac_objext \
30305 conftest$ac_exeext conftest.$ac_ext
30306 if test "$am_cv_func_iconv" != yes; then
30307 am_save_LIBS="$LIBS"
30308 LIBS="$LIBS -liconv"
30309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30310 /* end confdefs.h. */
30311 #include <stdlib.h>
30312 #include <iconv.h>
30313 int
30314 main ()
30315 {
30316 iconv_t cd = iconv_open("","");
30317 iconv(cd,NULL,NULL,NULL,NULL);
30318 iconv_close(cd);
30319 ;
30320 return 0;
30321 }
30322 _ACEOF
30323 if ac_fn_c_try_link "$LINENO"; then :
30324 am_cv_lib_iconv=yes
30325 am_cv_func_iconv=yes
30326 fi
30327 rm -f core conftest.err conftest.$ac_objext \
30328 conftest$ac_exeext conftest.$ac_ext
30329 LIBS="$am_save_LIBS"
30330 fi
30331
30332 fi
30333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30334 $as_echo "$am_cv_func_iconv" >&6; }
30335 if test "$am_cv_func_iconv" = yes; then
30336
30337 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30338
30339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30340 $as_echo_n "checking if iconv needs const... " >&6; }
30341 if ${wx_cv_func_iconv_const+:} false; then :
30342 $as_echo_n "(cached) " >&6
30343 else
30344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30345 /* end confdefs.h. */
30346
30347 #include <stdlib.h>
30348 #include <iconv.h>
30349 extern
30350 #ifdef __cplusplus
30351 "C"
30352 #endif
30353 #if defined(__STDC__) || defined(__cplusplus)
30354 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30355 #else
30356 size_t iconv();
30357 #endif
30358
30359 int
30360 main ()
30361 {
30362
30363 ;
30364 return 0;
30365 }
30366 _ACEOF
30367 if ac_fn_c_try_compile "$LINENO"; then :
30368 wx_cv_func_iconv_const="no"
30369 else
30370 wx_cv_func_iconv_const="yes"
30371
30372 fi
30373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30374
30375 fi
30376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30377 $as_echo "$wx_cv_func_iconv_const" >&6; }
30378
30379 iconv_const=
30380 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30381 iconv_const="const"
30382 fi
30383
30384
30385 cat >>confdefs.h <<_ACEOF
30386 #define ICONV_CONST $iconv_const
30387 _ACEOF
30388
30389 fi
30390 LIBICONV=
30391 if test "$am_cv_lib_iconv" = yes; then
30392 LIBICONV="-liconv"
30393 fi
30394
30395
30396 LIBS="$LIBICONV $LIBS"
30397 fi
30398
30399 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30400 for ac_func in sigaction
30401 do :
30402 ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
30403 if test "x$ac_cv_func_sigaction" = xyes; then :
30404 cat >>confdefs.h <<_ACEOF
30405 #define HAVE_SIGACTION 1
30406 _ACEOF
30407
30408 fi
30409 done
30410
30411
30412 if test "$ac_cv_func_sigaction" = "no"; then
30413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30414 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30415 wxUSE_ON_FATAL_EXCEPTION=no
30416 fi
30417
30418 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30420 $as_echo_n "checking for sa_handler type... " >&6; }
30421 if ${wx_cv_type_sa_handler+:} false; then :
30422 $as_echo_n "(cached) " >&6
30423 else
30424
30425 ac_ext=cpp
30426 ac_cpp='$CXXCPP $CPPFLAGS'
30427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30430
30431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30432 /* end confdefs.h. */
30433 #include <signal.h>
30434 int
30435 main ()
30436 {
30437
30438 extern void testSigHandler(int);
30439
30440 struct sigaction sa;
30441 sa.sa_handler = testSigHandler;
30442
30443 ;
30444 return 0;
30445 }
30446 _ACEOF
30447 if ac_fn_cxx_try_compile "$LINENO"; then :
30448
30449 wx_cv_type_sa_handler=int
30450
30451 else
30452
30453 wx_cv_type_sa_handler=void
30454
30455 fi
30456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30457 ac_ext=c
30458 ac_cpp='$CPP $CPPFLAGS'
30459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30462
30463
30464 fi
30465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30466 $as_echo "$wx_cv_type_sa_handler" >&6; }
30467
30468 cat >>confdefs.h <<_ACEOF
30469 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30470 _ACEOF
30471
30472 fi
30473 fi
30474
30475 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30477 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30478 if ${wx_cv_func_backtrace+:} false; then :
30479 $as_echo_n "(cached) " >&6
30480 else
30481
30482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
30483 $as_echo_n "checking for library containing backtrace... " >&6; }
30484 if ${ac_cv_search_backtrace+:} false; then :
30485 $as_echo_n "(cached) " >&6
30486 else
30487 ac_func_search_save_LIBS=$LIBS
30488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30489 /* end confdefs.h. */
30490
30491 /* Override any GCC internal prototype to avoid an error.
30492 Use char because int might match the return type of a GCC
30493 builtin and then its argument prototype would still apply. */
30494 #ifdef __cplusplus
30495 extern "C"
30496 #endif
30497 char backtrace ();
30498 int
30499 main ()
30500 {
30501 return backtrace ();
30502 ;
30503 return 0;
30504 }
30505 _ACEOF
30506 for ac_lib in '' execinfo; do
30507 if test -z "$ac_lib"; then
30508 ac_res="none required"
30509 else
30510 ac_res=-l$ac_lib
30511 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
30512 fi
30513 if ac_fn_c_try_link "$LINENO"; then :
30514 ac_cv_search_backtrace=$ac_res
30515 fi
30516 rm -f core conftest.err conftest.$ac_objext \
30517 conftest$ac_exeext
30518 if ${ac_cv_search_backtrace+:} false; then :
30519 break
30520 fi
30521 done
30522 if ${ac_cv_search_backtrace+:} false; then :
30523
30524 else
30525 ac_cv_search_backtrace=no
30526 fi
30527 rm conftest.$ac_ext
30528 LIBS=$ac_func_search_save_LIBS
30529 fi
30530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
30531 $as_echo "$ac_cv_search_backtrace" >&6; }
30532 ac_res=$ac_cv_search_backtrace
30533 if test "$ac_res" != no; then :
30534 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
30535
30536 ac_ext=cpp
30537 ac_cpp='$CXXCPP $CPPFLAGS'
30538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30541
30542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30543 /* end confdefs.h. */
30544 #include <execinfo.h>
30545 int
30546 main ()
30547 {
30548
30549 void *trace[1];
30550 char **messages;
30551 backtrace(trace, 1);
30552 messages = backtrace_symbols(trace, 1);
30553
30554 ;
30555 return 0;
30556 }
30557 _ACEOF
30558 if ac_fn_cxx_try_link "$LINENO"; then :
30559 wx_cv_func_backtrace=yes
30560 else
30561 wx_cv_func_backtrace=no
30562
30563 fi
30564 rm -f core conftest.err conftest.$ac_objext \
30565 conftest$ac_exeext conftest.$ac_ext
30566 ac_ext=c
30567 ac_cpp='$CPP $CPPFLAGS'
30568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30571
30572
30573 else
30574 wx_cv_func_backtrace=no
30575
30576 fi
30577
30578
30579
30580 fi
30581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30582 $as_echo "$wx_cv_func_backtrace" >&6; }
30583
30584 if test "$wx_cv_func_backtrace" = "no"; then
30585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30586 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30587 wxUSE_STACKWALKER=no
30588 else
30589 if test "$ac_cv_header_cxxabi_h" = "yes"; then
30590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30591 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30592 if ${wx_cv_func_cxa_demangle+:} false; then :
30593 $as_echo_n "(cached) " >&6
30594 else
30595
30596 ac_ext=cpp
30597 ac_cpp='$CXXCPP $CPPFLAGS'
30598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30601
30602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30603 /* end confdefs.h. */
30604 #include <cxxabi.h>
30605 int
30606 main ()
30607 {
30608
30609 int rc;
30610 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30611
30612 ;
30613 return 0;
30614 }
30615 _ACEOF
30616 if ac_fn_cxx_try_link "$LINENO"; then :
30617 wx_cv_func_cxa_demangle=yes
30618 else
30619 wx_cv_func_cxa_demangle=no
30620
30621 fi
30622 rm -f core conftest.err conftest.$ac_objext \
30623 conftest$ac_exeext conftest.$ac_ext
30624 ac_ext=c
30625 ac_cpp='$CPP $CPPFLAGS'
30626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30629
30630
30631
30632 fi
30633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30634 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30635 else
30636 wx_cv_func_cxa_demangle=no
30637 fi
30638
30639 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30640 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30641
30642 fi
30643 fi
30644 fi
30645
30646 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30648 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30649 wxUSE_STACKWALKER=no
30650 fi
30651
30652
30653 for ac_func in mkstemp mktemp
30654 do :
30655 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30656 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30657 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30658 cat >>confdefs.h <<_ACEOF
30659 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30660 _ACEOF
30661 break
30662 fi
30663 done
30664
30665
30666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30667 $as_echo_n "checking for statfs... " >&6; }
30668 if ${wx_cv_func_statfs+:} false; then :
30669 $as_echo_n "(cached) " >&6
30670 else
30671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30672 /* end confdefs.h. */
30673
30674 #if defined(__BSD__)
30675 #include <sys/param.h>
30676 #include <sys/mount.h>
30677 #else
30678 #include <sys/vfs.h>
30679 #endif
30680
30681 int
30682 main ()
30683 {
30684
30685 long l;
30686 struct statfs fs;
30687 statfs("/", &fs);
30688 l = fs.f_bsize;
30689 l += fs.f_blocks;
30690 l += fs.f_bavail;
30691
30692 ;
30693 return 0;
30694 }
30695 _ACEOF
30696 if ac_fn_c_try_compile "$LINENO"; then :
30697 wx_cv_func_statfs=yes
30698 else
30699 wx_cv_func_statfs=no
30700
30701 fi
30702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30703
30704 fi
30705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30706 $as_echo "$wx_cv_func_statfs" >&6; }
30707
30708 if test "$wx_cv_func_statfs" = "yes"; then
30709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30710 $as_echo_n "checking for statfs declaration... " >&6; }
30711 if ${wx_cv_func_statfs_decl+:} false; then :
30712 $as_echo_n "(cached) " >&6
30713 else
30714 ac_ext=cpp
30715 ac_cpp='$CXXCPP $CPPFLAGS'
30716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30719
30720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30721 /* end confdefs.h. */
30722
30723 #if defined(__BSD__)
30724 #include <sys/param.h>
30725 #include <sys/mount.h>
30726 #else
30727 #include <sys/vfs.h>
30728 #endif
30729
30730 int
30731 main ()
30732 {
30733
30734 struct statfs fs;
30735 statfs("", &fs);
30736
30737 ;
30738 return 0;
30739 }
30740 _ACEOF
30741 if ac_fn_cxx_try_compile "$LINENO"; then :
30742 wx_cv_func_statfs_decl=yes
30743 else
30744 wx_cv_func_statfs_decl=no
30745
30746 fi
30747 rm -f core conftest.err conftest.$ac_objext 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 fi
30756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30757 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30758
30759 if test "$wx_cv_func_statfs_decl" = "yes"; then
30760 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30761
30762 fi
30763
30764 wx_cv_type_statvfs_t="struct statfs"
30765 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30766
30767 else
30768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30769 $as_echo_n "checking for statvfs... " >&6; }
30770 if ${wx_cv_func_statvfs+:} false; then :
30771 $as_echo_n "(cached) " >&6
30772 else
30773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30774 /* end confdefs.h. */
30775
30776 #include <stddef.h>
30777 #include <sys/statvfs.h>
30778
30779 int
30780 main ()
30781 {
30782
30783 statvfs("/", NULL);
30784
30785 ;
30786 return 0;
30787 }
30788 _ACEOF
30789 if ac_fn_c_try_compile "$LINENO"; then :
30790 wx_cv_func_statvfs=yes
30791 else
30792 wx_cv_func_statvfs=no
30793
30794 fi
30795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30796
30797 fi
30798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30799 $as_echo "$wx_cv_func_statvfs" >&6; }
30800
30801 if test "$wx_cv_func_statvfs" = "yes"; then
30802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30803 $as_echo_n "checking for statvfs argument type... " >&6; }
30804 if ${wx_cv_type_statvfs_t+:} false; then :
30805 $as_echo_n "(cached) " >&6
30806 else
30807 ac_ext=cpp
30808 ac_cpp='$CXXCPP $CPPFLAGS'
30809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30812
30813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30814 /* end confdefs.h. */
30815
30816 #include <sys/statvfs.h>
30817
30818 int
30819 main ()
30820 {
30821
30822 long l;
30823 statvfs_t fs;
30824 statvfs("/", &fs);
30825 l = fs.f_bsize;
30826 l += fs.f_blocks;
30827 l += fs.f_bavail;
30828
30829 ;
30830 return 0;
30831 }
30832 _ACEOF
30833 if ac_fn_cxx_try_compile "$LINENO"; then :
30834 wx_cv_type_statvfs_t=statvfs_t
30835 else
30836
30837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30838 /* end confdefs.h. */
30839
30840 #include <sys/statvfs.h>
30841
30842 int
30843 main ()
30844 {
30845
30846 long l;
30847 struct statvfs fs;
30848 statvfs("/", &fs);
30849 l = fs.f_bsize;
30850 l += fs.f_blocks;
30851 l += fs.f_bavail;
30852
30853 ;
30854 return 0;
30855 }
30856 _ACEOF
30857 if ac_fn_cxx_try_compile "$LINENO"; then :
30858 wx_cv_type_statvfs_t="struct statvfs"
30859 else
30860 wx_cv_type_statvfs_t="unknown"
30861
30862 fi
30863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30864
30865
30866 fi
30867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30868 ac_ext=c
30869 ac_cpp='$CPP $CPPFLAGS'
30870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30873
30874
30875 fi
30876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30877 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30878
30879 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30880 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30881
30882 fi
30883 else
30884 wx_cv_type_statvfs_t="unknown"
30885 fi
30886 fi
30887
30888 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30889 cat >>confdefs.h <<_ACEOF
30890 #define WX_STATFS_T $wx_cv_type_statvfs_t
30891 _ACEOF
30892
30893 else
30894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30895 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30896 fi
30897
30898 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30899 for ac_func in fcntl flock
30900 do :
30901 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30902 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30903 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30904 cat >>confdefs.h <<_ACEOF
30905 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30906 _ACEOF
30907 break
30908 fi
30909 done
30910
30911
30912 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30914 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30915 wxUSE_SNGLINST_CHECKER=no
30916 fi
30917 fi
30918
30919 for ac_func in setenv putenv
30920 do :
30921 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30922 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30923 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30924 cat >>confdefs.h <<_ACEOF
30925 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30926 _ACEOF
30927 break
30928 fi
30929 done
30930
30931 if test "$ac_cv_func_setenv" = "yes"; then
30932 for ac_func in unsetenv
30933 do :
30934 ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30935 if test "x$ac_cv_func_unsetenv" = xyes; then :
30936 cat >>confdefs.h <<_ACEOF
30937 #define HAVE_UNSETENV 1
30938 _ACEOF
30939
30940 fi
30941 done
30942
30943 fi
30944
30945 HAVE_SOME_SLEEP_FUNC=0
30946 if test "$USE_BEOS" = 1; then
30947 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30948
30949 HAVE_SOME_SLEEP_FUNC=1
30950 fi
30951
30952 if test "$USE_DARWIN" = 1; then
30953 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
30954
30955 HAVE_SOME_SLEEP_FUNC=1
30956 fi
30957
30958 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30959 POSIX4_LINK=
30960 for ac_func in nanosleep
30961 do :
30962 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30963 if test "x$ac_cv_func_nanosleep" = xyes; then :
30964 cat >>confdefs.h <<_ACEOF
30965 #define HAVE_NANOSLEEP 1
30966 _ACEOF
30967 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30968
30969 else
30970
30971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
30972 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
30973 if ${ac_cv_lib_posix4_nanosleep+:} false; then :
30974 $as_echo_n "(cached) " >&6
30975 else
30976 ac_check_lib_save_LIBS=$LIBS
30977 LIBS="-lposix4 $LIBS"
30978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30979 /* end confdefs.h. */
30980
30981 /* Override any GCC internal prototype to avoid an error.
30982 Use char because int might match the return type of a GCC
30983 builtin and then its argument prototype would still apply. */
30984 #ifdef __cplusplus
30985 extern "C"
30986 #endif
30987 char nanosleep ();
30988 int
30989 main ()
30990 {
30991 return nanosleep ();
30992 ;
30993 return 0;
30994 }
30995 _ACEOF
30996 if ac_fn_c_try_link "$LINENO"; then :
30997 ac_cv_lib_posix4_nanosleep=yes
30998 else
30999 ac_cv_lib_posix4_nanosleep=no
31000 fi
31001 rm -f core conftest.err conftest.$ac_objext \
31002 conftest$ac_exeext conftest.$ac_ext
31003 LIBS=$ac_check_lib_save_LIBS
31004 fi
31005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
31006 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
31007 if test "x$ac_cv_lib_posix4_nanosleep" = xyes; then :
31008
31009 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31010
31011 POSIX4_LINK=" -lposix4"
31012
31013 else
31014
31015
31016 for wx_func in usleep
31017 do
31018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31019 $as_echo_n "checking for $wx_func... " >&6; }
31020 if eval \${wx_cv_func_$wx_func+:} false; then :
31021 $as_echo_n "(cached) " >&6
31022 else
31023
31024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31025 /* end confdefs.h. */
31026
31027
31028
31029 $ac_includes_default
31030
31031 int
31032 main ()
31033 {
31034
31035 #ifndef $wx_func
31036 &$wx_func;
31037 #endif
31038
31039
31040 ;
31041 return 0;
31042 }
31043
31044 _ACEOF
31045 if ac_fn_c_try_link "$LINENO"; then :
31046 eval wx_cv_func_$wx_func=yes
31047 else
31048 eval wx_cv_func_$wx_func=no
31049 fi
31050 rm -f core conftest.err conftest.$ac_objext \
31051 conftest$ac_exeext conftest.$ac_ext
31052
31053 fi
31054 eval ac_res=\$wx_cv_func_$wx_func
31055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31056 $as_echo "$ac_res" >&6; }
31057
31058 if eval test \$wx_cv_func_$wx_func = yes
31059 then
31060 cat >>confdefs.h <<_ACEOF
31061 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31062 _ACEOF
31063
31064
31065 else
31066 :
31067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
31068 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31069
31070 fi
31071 done
31072
31073
31074
31075 fi
31076
31077
31078
31079 fi
31080 done
31081
31082 fi
31083
31084
31085 for wx_func in uname
31086 do
31087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31088 $as_echo_n "checking for $wx_func... " >&6; }
31089 if eval \${wx_cv_func_$wx_func+:} false; then :
31090 $as_echo_n "(cached) " >&6
31091 else
31092
31093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31094 /* end confdefs.h. */
31095
31096
31097 #include <sys/utsname.h>
31098 $ac_includes_default
31099
31100 int
31101 main ()
31102 {
31103
31104 #ifndef $wx_func
31105 &$wx_func;
31106 #endif
31107
31108
31109 ;
31110 return 0;
31111 }
31112
31113 _ACEOF
31114 if ac_fn_c_try_link "$LINENO"; then :
31115 eval wx_cv_func_$wx_func=yes
31116 else
31117 eval wx_cv_func_$wx_func=no
31118 fi
31119 rm -f core conftest.err conftest.$ac_objext \
31120 conftest$ac_exeext conftest.$ac_ext
31121
31122 fi
31123 eval ac_res=\$wx_cv_func_$wx_func
31124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31125 $as_echo "$ac_res" >&6; }
31126
31127 if eval test \$wx_cv_func_$wx_func = yes
31128 then
31129 cat >>confdefs.h <<_ACEOF
31130 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31131 _ACEOF
31132
31133
31134 else
31135 :
31136
31137 fi
31138 done
31139
31140 if test "$wx_cv_func_uname" != yes; then
31141
31142 for wx_func in gethostname
31143 do
31144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31145 $as_echo_n "checking for $wx_func... " >&6; }
31146 if eval \${wx_cv_func_$wx_func+:} false; then :
31147 $as_echo_n "(cached) " >&6
31148 else
31149
31150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31151 /* end confdefs.h. */
31152
31153
31154
31155 $ac_includes_default
31156
31157 int
31158 main ()
31159 {
31160
31161 #ifndef $wx_func
31162 &$wx_func;
31163 #endif
31164
31165
31166 ;
31167 return 0;
31168 }
31169
31170 _ACEOF
31171 if ac_fn_c_try_link "$LINENO"; then :
31172 eval wx_cv_func_$wx_func=yes
31173 else
31174 eval wx_cv_func_$wx_func=no
31175 fi
31176 rm -f core conftest.err conftest.$ac_objext \
31177 conftest$ac_exeext conftest.$ac_ext
31178
31179 fi
31180 eval ac_res=\$wx_cv_func_$wx_func
31181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31182 $as_echo "$ac_res" >&6; }
31183
31184 if eval test \$wx_cv_func_$wx_func = yes
31185 then
31186 cat >>confdefs.h <<_ACEOF
31187 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31188 _ACEOF
31189
31190
31191 else
31192 :
31193
31194 fi
31195 done
31196
31197 fi
31198
31199
31200 for wx_func in strtok_r
31201 do
31202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31203 $as_echo_n "checking for $wx_func... " >&6; }
31204 if eval \${wx_cv_func_$wx_func+:} false; then :
31205 $as_echo_n "(cached) " >&6
31206 else
31207
31208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31209 /* end confdefs.h. */
31210
31211
31212 #define _REENTRANT
31213 $ac_includes_default
31214
31215 int
31216 main ()
31217 {
31218
31219 #ifndef $wx_func
31220 &$wx_func;
31221 #endif
31222
31223
31224 ;
31225 return 0;
31226 }
31227
31228 _ACEOF
31229 if ac_fn_c_try_link "$LINENO"; then :
31230 eval wx_cv_func_$wx_func=yes
31231 else
31232 eval wx_cv_func_$wx_func=no
31233 fi
31234 rm -f core conftest.err conftest.$ac_objext \
31235 conftest$ac_exeext conftest.$ac_ext
31236
31237 fi
31238 eval ac_res=\$wx_cv_func_$wx_func
31239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31240 $as_echo "$ac_res" >&6; }
31241
31242 if eval test \$wx_cv_func_$wx_func = yes
31243 then
31244 cat >>confdefs.h <<_ACEOF
31245 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31246 _ACEOF
31247
31248
31249 else
31250 :
31251
31252 fi
31253 done
31254
31255
31256 INET_LINK=
31257 for ac_func in inet_addr
31258 do :
31259 ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31260 if test "x$ac_cv_func_inet_addr" = xyes; then :
31261 cat >>confdefs.h <<_ACEOF
31262 #define HAVE_INET_ADDR 1
31263 _ACEOF
31264 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31265
31266 else
31267
31268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31269 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31270 if ${ac_cv_lib_nsl_inet_addr+:} false; then :
31271 $as_echo_n "(cached) " >&6
31272 else
31273 ac_check_lib_save_LIBS=$LIBS
31274 LIBS="-lnsl $LIBS"
31275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31276 /* end confdefs.h. */
31277
31278 /* Override any GCC internal prototype to avoid an error.
31279 Use char because int might match the return type of a GCC
31280 builtin and then its argument prototype would still apply. */
31281 #ifdef __cplusplus
31282 extern "C"
31283 #endif
31284 char inet_addr ();
31285 int
31286 main ()
31287 {
31288 return inet_addr ();
31289 ;
31290 return 0;
31291 }
31292 _ACEOF
31293 if ac_fn_c_try_link "$LINENO"; then :
31294 ac_cv_lib_nsl_inet_addr=yes
31295 else
31296 ac_cv_lib_nsl_inet_addr=no
31297 fi
31298 rm -f core conftest.err conftest.$ac_objext \
31299 conftest$ac_exeext conftest.$ac_ext
31300 LIBS=$ac_check_lib_save_LIBS
31301 fi
31302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31303 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31304 if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
31305 INET_LINK="nsl"
31306 else
31307
31308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31309 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31310 if ${ac_cv_lib_resolv_inet_addr+:} false; then :
31311 $as_echo_n "(cached) " >&6
31312 else
31313 ac_check_lib_save_LIBS=$LIBS
31314 LIBS="-lresolv $LIBS"
31315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31316 /* end confdefs.h. */
31317
31318 /* Override any GCC internal prototype to avoid an error.
31319 Use char because int might match the return type of a GCC
31320 builtin and then its argument prototype would still apply. */
31321 #ifdef __cplusplus
31322 extern "C"
31323 #endif
31324 char inet_addr ();
31325 int
31326 main ()
31327 {
31328 return inet_addr ();
31329 ;
31330 return 0;
31331 }
31332 _ACEOF
31333 if ac_fn_c_try_link "$LINENO"; then :
31334 ac_cv_lib_resolv_inet_addr=yes
31335 else
31336 ac_cv_lib_resolv_inet_addr=no
31337 fi
31338 rm -f core conftest.err conftest.$ac_objext \
31339 conftest$ac_exeext conftest.$ac_ext
31340 LIBS=$ac_check_lib_save_LIBS
31341 fi
31342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31343 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31344 if test "x$ac_cv_lib_resolv_inet_addr" = xyes; then :
31345 INET_LINK="resolv"
31346 else
31347
31348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31349 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31350 if ${ac_cv_lib_socket_inet_addr+:} false; then :
31351 $as_echo_n "(cached) " >&6
31352 else
31353 ac_check_lib_save_LIBS=$LIBS
31354 LIBS="-lsocket $LIBS"
31355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31356 /* end confdefs.h. */
31357
31358 /* Override any GCC internal prototype to avoid an error.
31359 Use char because int might match the return type of a GCC
31360 builtin and then its argument prototype would still apply. */
31361 #ifdef __cplusplus
31362 extern "C"
31363 #endif
31364 char inet_addr ();
31365 int
31366 main ()
31367 {
31368 return inet_addr ();
31369 ;
31370 return 0;
31371 }
31372 _ACEOF
31373 if ac_fn_c_try_link "$LINENO"; then :
31374 ac_cv_lib_socket_inet_addr=yes
31375 else
31376 ac_cv_lib_socket_inet_addr=no
31377 fi
31378 rm -f core conftest.err conftest.$ac_objext \
31379 conftest$ac_exeext conftest.$ac_ext
31380 LIBS=$ac_check_lib_save_LIBS
31381 fi
31382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31383 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31384 if test "x$ac_cv_lib_socket_inet_addr" = xyes; then :
31385 INET_LINK="socket"
31386
31387 fi
31388
31389
31390
31391 fi
31392
31393
31394
31395 fi
31396
31397
31398
31399 fi
31400 done
31401
31402
31403 for ac_func in inet_aton
31404 do :
31405 ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31406 if test "x$ac_cv_func_inet_aton" = xyes; then :
31407 cat >>confdefs.h <<_ACEOF
31408 #define HAVE_INET_ATON 1
31409 _ACEOF
31410 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31411
31412 else
31413
31414 as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31416 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31417 if eval \${$as_ac_Lib+:} false; then :
31418 $as_echo_n "(cached) " >&6
31419 else
31420 ac_check_lib_save_LIBS=$LIBS
31421 LIBS="-l$INET_LINK $LIBS"
31422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31423 /* end confdefs.h. */
31424
31425 /* Override any GCC internal prototype to avoid an error.
31426 Use char because int might match the return type of a GCC
31427 builtin and then its argument prototype would still apply. */
31428 #ifdef __cplusplus
31429 extern "C"
31430 #endif
31431 char inet_aton ();
31432 int
31433 main ()
31434 {
31435 return inet_aton ();
31436 ;
31437 return 0;
31438 }
31439 _ACEOF
31440 if ac_fn_c_try_link "$LINENO"; then :
31441 eval "$as_ac_Lib=yes"
31442 else
31443 eval "$as_ac_Lib=no"
31444 fi
31445 rm -f core conftest.err conftest.$ac_objext \
31446 conftest$ac_exeext conftest.$ac_ext
31447 LIBS=$ac_check_lib_save_LIBS
31448 fi
31449 eval ac_res=\$$as_ac_Lib
31450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31451 $as_echo "$ac_res" >&6; }
31452 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
31453 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31454
31455 fi
31456
31457
31458 fi
31459 done
31460
31461
31462 if test "x$INET_LINK" != "x"; then
31463 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31464
31465 INET_LINK=" -l$INET_LINK"
31466 fi
31467
31468
31469 for wx_func in fdopen
31470 do
31471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31472 $as_echo_n "checking for $wx_func... " >&6; }
31473 if eval \${wx_cv_func_$wx_func+:} false; then :
31474 $as_echo_n "(cached) " >&6
31475 else
31476
31477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31478 /* end confdefs.h. */
31479
31480
31481
31482 $ac_includes_default
31483
31484 int
31485 main ()
31486 {
31487
31488 #ifndef $wx_func
31489 &$wx_func;
31490 #endif
31491
31492
31493 ;
31494 return 0;
31495 }
31496
31497 _ACEOF
31498 if ac_fn_c_try_link "$LINENO"; then :
31499 eval wx_cv_func_$wx_func=yes
31500 else
31501 eval wx_cv_func_$wx_func=no
31502 fi
31503 rm -f core conftest.err conftest.$ac_objext \
31504 conftest$ac_exeext conftest.$ac_ext
31505
31506 fi
31507 eval ac_res=\$wx_cv_func_$wx_func
31508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31509 $as_echo "$ac_res" >&6; }
31510
31511 if eval test \$wx_cv_func_$wx_func = yes
31512 then
31513 cat >>confdefs.h <<_ACEOF
31514 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31515 _ACEOF
31516
31517
31518 else
31519 :
31520
31521 fi
31522 done
31523
31524
31525 if test "$wxUSE_TARSTREAM" = "yes"; then
31526
31527 for wx_func in sysconf
31528 do
31529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31530 $as_echo_n "checking for $wx_func... " >&6; }
31531 if eval \${wx_cv_func_$wx_func+:} false; then :
31532 $as_echo_n "(cached) " >&6
31533 else
31534
31535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31536 /* end confdefs.h. */
31537
31538
31539
31540 $ac_includes_default
31541
31542 int
31543 main ()
31544 {
31545
31546 #ifndef $wx_func
31547 &$wx_func;
31548 #endif
31549
31550
31551 ;
31552 return 0;
31553 }
31554
31555 _ACEOF
31556 if ac_fn_c_try_link "$LINENO"; then :
31557 eval wx_cv_func_$wx_func=yes
31558 else
31559 eval wx_cv_func_$wx_func=no
31560 fi
31561 rm -f core conftest.err conftest.$ac_objext \
31562 conftest$ac_exeext conftest.$ac_ext
31563
31564 fi
31565 eval ac_res=\$wx_cv_func_$wx_func
31566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31567 $as_echo "$ac_res" >&6; }
31568
31569 if eval test \$wx_cv_func_$wx_func = yes
31570 then
31571 cat >>confdefs.h <<_ACEOF
31572 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31573 _ACEOF
31574
31575
31576 else
31577 :
31578
31579 fi
31580 done
31581
31582
31583
31584 for wx_func in getpwuid_r
31585 do
31586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31587 $as_echo_n "checking for $wx_func... " >&6; }
31588 if eval \${wx_cv_func_$wx_func+:} false; then :
31589 $as_echo_n "(cached) " >&6
31590 else
31591
31592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31593 /* end confdefs.h. */
31594
31595
31596
31597 #define _REENTRANT
31598 #include <pwd.h>
31599
31600 $ac_includes_default
31601
31602 int
31603 main ()
31604 {
31605
31606 #ifndef $wx_func
31607 &$wx_func;
31608 #endif
31609
31610 struct passwd pw, *ppw;
31611 char buf[1024];
31612 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31613
31614
31615 ;
31616 return 0;
31617 }
31618
31619 _ACEOF
31620 if ac_fn_c_try_link "$LINENO"; then :
31621 eval wx_cv_func_$wx_func=yes
31622 else
31623 eval wx_cv_func_$wx_func=no
31624 fi
31625 rm -f core conftest.err conftest.$ac_objext \
31626 conftest$ac_exeext conftest.$ac_ext
31627
31628 fi
31629 eval ac_res=\$wx_cv_func_$wx_func
31630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31631 $as_echo "$ac_res" >&6; }
31632
31633 if eval test \$wx_cv_func_$wx_func = yes
31634 then
31635 cat >>confdefs.h <<_ACEOF
31636 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31637 _ACEOF
31638
31639
31640 else
31641 :
31642
31643 fi
31644 done
31645
31646
31647
31648 for wx_func in getgrgid_r
31649 do
31650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31651 $as_echo_n "checking for $wx_func... " >&6; }
31652 if eval \${wx_cv_func_$wx_func+:} false; then :
31653 $as_echo_n "(cached) " >&6
31654 else
31655
31656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31657 /* end confdefs.h. */
31658
31659
31660
31661 #define _REENTRANT
31662 #include <grp.h>
31663
31664 $ac_includes_default
31665
31666 int
31667 main ()
31668 {
31669
31670 #ifndef $wx_func
31671 &$wx_func;
31672 #endif
31673
31674 struct group grp, *pgrp;
31675 char buf[1024];
31676 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31677
31678
31679 ;
31680 return 0;
31681 }
31682
31683 _ACEOF
31684 if ac_fn_c_try_link "$LINENO"; then :
31685 eval wx_cv_func_$wx_func=yes
31686 else
31687 eval wx_cv_func_$wx_func=no
31688 fi
31689 rm -f core conftest.err conftest.$ac_objext \
31690 conftest$ac_exeext conftest.$ac_ext
31691
31692 fi
31693 eval ac_res=\$wx_cv_func_$wx_func
31694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31695 $as_echo "$ac_res" >&6; }
31696
31697 if eval test \$wx_cv_func_$wx_func = yes
31698 then
31699 cat >>confdefs.h <<_ACEOF
31700 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31701 _ACEOF
31702
31703
31704 else
31705 :
31706
31707 fi
31708 done
31709
31710 fi
31711
31712 fi
31713
31714
31715
31716 cat >confcache <<\_ACEOF
31717 # This file is a shell script that caches the results of configure
31718 # tests run on this system so they can be shared between configure
31719 # scripts and configure runs, see configure's option --config-cache.
31720 # It is not useful on other systems. If it contains results you don't
31721 # want to keep, you may remove or edit it.
31722 #
31723 # config.status only pays attention to the cache file if you give it
31724 # the --recheck option to rerun configure.
31725 #
31726 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31727 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31728 # following values.
31729
31730 _ACEOF
31731
31732 # The following way of writing the cache mishandles newlines in values,
31733 # but we know of no workaround that is simple, portable, and efficient.
31734 # So, we kill variables containing newlines.
31735 # Ultrix sh set writes to stderr and can't be redirected directly,
31736 # and sets the high bit in the cache file unless we assign to the vars.
31737 (
31738 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31739 eval ac_val=\$$ac_var
31740 case $ac_val in #(
31741 *${as_nl}*)
31742 case $ac_var in #(
31743 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31744 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31745 esac
31746 case $ac_var in #(
31747 _ | IFS | as_nl) ;; #(
31748 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31749 *) { eval $ac_var=; unset $ac_var;} ;;
31750 esac ;;
31751 esac
31752 done
31753
31754 (set) 2>&1 |
31755 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31756 *${as_nl}ac_space=\ *)
31757 # `set' does not quote correctly, so add quotes: double-quote
31758 # substitution turns \\\\ into \\, and sed turns \\ into \.
31759 sed -n \
31760 "s/'/'\\\\''/g;
31761 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31762 ;; #(
31763 *)
31764 # `set' quotes correctly as required by POSIX, so do not add quotes.
31765 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31766 ;;
31767 esac |
31768 sort
31769 ) |
31770 sed '
31771 /^ac_cv_env_/b end
31772 t clear
31773 :clear
31774 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31775 t end
31776 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31777 :end' >>confcache
31778 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31779 if test -w "$cache_file"; then
31780 if test "x$cache_file" != "x/dev/null"; then
31781 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31782 $as_echo "$as_me: updating cache $cache_file" >&6;}
31783 if test ! -f "$cache_file" || test -h "$cache_file"; then
31784 cat confcache >"$cache_file"
31785 else
31786 case $cache_file in #(
31787 */* | ?:*)
31788 mv -f confcache "$cache_file"$$ &&
31789 mv -f "$cache_file"$$ "$cache_file" ;; #(
31790 *)
31791 mv -f confcache "$cache_file" ;;
31792 esac
31793 fi
31794 fi
31795 else
31796 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31797 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31798 fi
31799 fi
31800 rm -f confcache
31801
31802
31803 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31804
31805
31806 THREADS_LINK=
31807 THREADS_CFLAGS=
31808
31809 if test "$wxUSE_THREADS" = "yes" ; then
31810 if test "$USE_BEOS" = 1; then
31811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31812 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31813 wxUSE_THREADS="no"
31814 fi
31815 fi
31816
31817 if test "$wxUSE_THREADS" = "yes" ; then
31818
31819
31820 THREAD_OPTS="-pthread"
31821 if test "x$SUNCXX" = xyes; then
31822 THREAD_OPTS="-mt lthread $THREAD_OPTS"
31823 fi
31824
31825 case "${host}" in
31826 *-*-solaris2* | *-*-sunos4* )
31827 if test "x$GCC" = "xyes"; then
31828 THREAD_OPTS="-pthreads $THREAD_OPTS"
31829 fi
31830 ;;
31831 *-*-freebsd*)
31832 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31833 ;;
31834 *-*-darwin* | *-*-cygwin* )
31835 THREAD_OPTS=""
31836 ;;
31837 *-*-aix*)
31838 THREAD_OPTS="pthreads"
31839 ;;
31840 *-hp-hpux* )
31841 if test "x$GCC" = "xyes"; then
31842 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
31843 THREAD_OPTS=""
31844 else
31845 THREAD_OPTS="-mt"
31846 fi
31847 ;;
31848
31849 *-*-irix* )
31850 if test "x$GCC" = "xyes"; then
31851 THREAD_OPTS=""
31852 fi
31853 ;;
31854
31855 *-*-qnx*)
31856 THREAD_OPTS=""
31857 ;;
31858
31859 *-*-*UnixWare*)
31860 if test "x$GCC" != "xyes"; then
31861 THREAD_OPTS="-Ethread"
31862 fi
31863 ;;
31864 esac
31865
31866 case "${host}" in
31867 *-*-qnx*)
31868 THREAD_OPTS="none pthread"
31869 ;;
31870
31871 *)
31872 THREAD_OPTS="$THREAD_OPTS pthread none"
31873 ;;
31874 esac
31875
31876 THREADS_OK=no
31877 for flag in $THREAD_OPTS; do
31878 case $flag in
31879 none)
31880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31881 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31882 ;;
31883
31884 -*)
31885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31886 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31887 THREADS_CFLAGS="$flag"
31888 ;;
31889
31890 *)
31891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31892 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31893 THREADS_LINK="-l$flag"
31894 ;;
31895 esac
31896
31897 save_LIBS="$LIBS"
31898 save_CFLAGS="$CFLAGS"
31899 LIBS="$THREADS_LINK $LIBS"
31900 CFLAGS="$THREADS_CFLAGS $CFLAGS"
31901
31902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31903 /* end confdefs.h. */
31904 #include <pthread.h>
31905 int
31906 main ()
31907 {
31908 pthread_create(0,0,0,0);
31909 ;
31910 return 0;
31911 }
31912 _ACEOF
31913 if ac_fn_c_try_link "$LINENO"; then :
31914 THREADS_OK=yes
31915 fi
31916 rm -f core conftest.err conftest.$ac_objext \
31917 conftest$ac_exeext conftest.$ac_ext
31918
31919 LIBS="$save_LIBS"
31920 CFLAGS="$save_CFLAGS"
31921
31922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31923 $as_echo "$THREADS_OK" >&6; }
31924 if test "x$THREADS_OK" = "xyes"; then
31925 break;
31926 fi
31927
31928 THREADS_LINK=""
31929 THREADS_CFLAGS=""
31930 done
31931
31932 if test "x$THREADS_OK" != "xyes"; then
31933 wxUSE_THREADS=no
31934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31935 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31936 else
31937 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31938 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31939 LIBS="$THREADS_LINK $LIBS"
31940
31941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
31942 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
31943 flag=no
31944 case "${host}" in
31945 *-aix*)
31946 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31947 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
31948 flag="-D_THREAD_SAFE"
31949 ;;
31950 *-freebsd*)
31951 flag="-D_THREAD_SAFE"
31952 ;;
31953 *-hp-hpux* )
31954 flag="-D_REENTRANT"
31955 if test "x$GCC" != "xyes"; then
31956 flag="$flag -D_RWSTD_MULTI_THREAD"
31957 fi
31958 ;;
31959 *solaris* | alpha*-osf*)
31960 flag="-D_REENTRANT"
31961 ;;
31962 esac
31963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
31964 $as_echo "${flag}" >&6; }
31965 if test "x$flag" != xno; then
31966 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31967 fi
31968
31969 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
31970 fi
31971 fi
31972
31973 if test "$wxUSE_THREADS" = "yes" ; then
31974 for ac_func in pthread_setconcurrency
31975 do :
31976 ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
31977 if test "x$ac_cv_func_pthread_setconcurrency" = xyes; then :
31978 cat >>confdefs.h <<_ACEOF
31979 #define HAVE_PTHREAD_SETCONCURRENCY 1
31980 _ACEOF
31981 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
31982
31983 else
31984
31985 for ac_func in thr_setconcurrency
31986 do :
31987 ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
31988 if test "x$ac_cv_func_thr_setconcurrency" = xyes; then :
31989 cat >>confdefs.h <<_ACEOF
31990 #define HAVE_THR_SETCONCURRENCY 1
31991 _ACEOF
31992 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
31993
31994 else
31995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
31996 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
31997 fi
31998 done
31999
32000
32001 fi
32002 done
32003
32004
32005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
32006 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
32007 if ${wx_cv_func_pthread_cleanup+:} false; then :
32008 $as_echo_n "(cached) " >&6
32009 else
32010
32011 ac_ext=cpp
32012 ac_cpp='$CXXCPP $CPPFLAGS'
32013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32016
32017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32018 /* end confdefs.h. */
32019 #include <pthread.h>
32020 void ThreadCleanupFunc(void *p);
32021
32022 int
32023 main ()
32024 {
32025
32026 void *p;
32027 pthread_cleanup_push(ThreadCleanupFunc, p);
32028 pthread_cleanup_pop(0);
32029
32030 ;
32031 return 0;
32032 }
32033 _ACEOF
32034 if ac_fn_cxx_try_compile "$LINENO"; then :
32035
32036 wx_cv_func_pthread_cleanup=yes
32037
32038 else
32039
32040 wx_cv_func_pthread_cleanup=no
32041
32042
32043 fi
32044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32045 ac_ext=c
32046 ac_cpp='$CPP $CPPFLAGS'
32047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32050
32051
32052 fi
32053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
32054 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
32055 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
32056 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
32057
32058 fi
32059
32060 for ac_header in sched.h
32061 do :
32062 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
32063 "
32064 if test "x$ac_cv_header_sched_h" = xyes; then :
32065 cat >>confdefs.h <<_ACEOF
32066 #define HAVE_SCHED_H 1
32067 _ACEOF
32068
32069 fi
32070
32071 done
32072
32073 if test "$ac_cv_header_sched_h" = "yes"; then
32074 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
32075 if test "x$ac_cv_func_sched_yield" = xyes; then :
32076 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32077
32078 else
32079
32080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
32081 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
32082 if ${ac_cv_lib_posix4_sched_yield+:} false; then :
32083 $as_echo_n "(cached) " >&6
32084 else
32085 ac_check_lib_save_LIBS=$LIBS
32086 LIBS="-lposix4 $LIBS"
32087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32088 /* end confdefs.h. */
32089
32090 /* Override any GCC internal prototype to avoid an error.
32091 Use char because int might match the return type of a GCC
32092 builtin and then its argument prototype would still apply. */
32093 #ifdef __cplusplus
32094 extern "C"
32095 #endif
32096 char sched_yield ();
32097 int
32098 main ()
32099 {
32100 return sched_yield ();
32101 ;
32102 return 0;
32103 }
32104 _ACEOF
32105 if ac_fn_c_try_link "$LINENO"; then :
32106 ac_cv_lib_posix4_sched_yield=yes
32107 else
32108 ac_cv_lib_posix4_sched_yield=no
32109 fi
32110 rm -f core conftest.err conftest.$ac_objext \
32111 conftest$ac_exeext conftest.$ac_ext
32112 LIBS=$ac_check_lib_save_LIBS
32113 fi
32114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
32115 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
32116 if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then :
32117 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32118 POSIX4_LINK=" -lposix4"
32119 else
32120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
32121 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32122
32123 fi
32124
32125
32126
32127 fi
32128
32129 fi
32130
32131 HAVE_PRIOR_FUNCS=0
32132 ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32133 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes; then :
32134 ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32135 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes; then :
32136 ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32137 if test "x$ac_cv_func_sched_get_priority_max" = xyes; then :
32138 HAVE_PRIOR_FUNCS=1
32139 else
32140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32141 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32142 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false; then :
32143 $as_echo_n "(cached) " >&6
32144 else
32145 ac_check_lib_save_LIBS=$LIBS
32146 LIBS="-lposix4 $LIBS"
32147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32148 /* end confdefs.h. */
32149
32150 /* Override any GCC internal prototype to avoid an error.
32151 Use char because int might match the return type of a GCC
32152 builtin and then its argument prototype would still apply. */
32153 #ifdef __cplusplus
32154 extern "C"
32155 #endif
32156 char sched_get_priority_max ();
32157 int
32158 main ()
32159 {
32160 return sched_get_priority_max ();
32161 ;
32162 return 0;
32163 }
32164 _ACEOF
32165 if ac_fn_c_try_link "$LINENO"; then :
32166 ac_cv_lib_posix4_sched_get_priority_max=yes
32167 else
32168 ac_cv_lib_posix4_sched_get_priority_max=no
32169 fi
32170 rm -f core conftest.err conftest.$ac_objext \
32171 conftest$ac_exeext conftest.$ac_ext
32172 LIBS=$ac_check_lib_save_LIBS
32173 fi
32174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32175 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32176 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes; then :
32177
32178 HAVE_PRIOR_FUNCS=1
32179 POSIX4_LINK=" -lposix4"
32180
32181 fi
32182
32183
32184 fi
32185
32186
32187 fi
32188
32189
32190 fi
32191
32192
32193 if test "$HAVE_PRIOR_FUNCS" = 1; then
32194 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32195
32196 else
32197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32198 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32199 fi
32200
32201 ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32202 if test "x$ac_cv_func_pthread_cancel" = xyes; then :
32203 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32204
32205 else
32206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32207 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32208 fi
32209
32210
32211 ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32212 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes; then :
32213 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32214
32215 else
32216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32217 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32218 fi
32219
32220
32221 ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32222 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes; then :
32223 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32224
32225 fi
32226
32227
32228
32229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32230 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32231 if ${wx_cv_type_pthread_mutexattr_t+:} false; then :
32232 $as_echo_n "(cached) " >&6
32233 else
32234
32235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32236 /* end confdefs.h. */
32237 #include <pthread.h>
32238 int
32239 main ()
32240 {
32241
32242 pthread_mutexattr_t attr;
32243 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32244
32245 ;
32246 return 0;
32247 }
32248 _ACEOF
32249 if ac_fn_c_try_compile "$LINENO"; then :
32250 wx_cv_type_pthread_mutexattr_t=yes
32251 else
32252 wx_cv_type_pthread_mutexattr_t=no
32253
32254 fi
32255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32256
32257 fi
32258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32259 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32260
32261 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32262 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32263
32264
32265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32266 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32267 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false; then :
32268 $as_echo_n "(cached) " >&6
32269 else
32270
32271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32272 /* end confdefs.h. */
32273 #include <pthread.h>
32274 int
32275 main ()
32276 {
32277
32278 pthread_mutexattr_t attr;
32279 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32280
32281 ;
32282 return 0;
32283 }
32284 _ACEOF
32285 if ac_fn_c_try_compile "$LINENO"; then :
32286 wx_cv_func_pthread_mutexattr_settype_decl=yes
32287 else
32288 wx_cv_func_pthread_mutexattr_settype_decl=no
32289
32290 fi
32291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32292
32293 fi
32294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32295 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32296 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32297 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32298
32299 fi
32300 else
32301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32302 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32303 if ${wx_cv_type_pthread_rec_mutex_init+:} false; then :
32304 $as_echo_n "(cached) " >&6
32305 else
32306
32307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32308 /* end confdefs.h. */
32309 #include <pthread.h>
32310 int
32311 main ()
32312 {
32313
32314 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32315
32316 ;
32317 return 0;
32318 }
32319 _ACEOF
32320 if ac_fn_c_try_compile "$LINENO"; then :
32321
32322 wx_cv_type_pthread_rec_mutex_init=yes
32323
32324 else
32325
32326 wx_cv_type_pthread_rec_mutex_init=no
32327
32328
32329 fi
32330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32331
32332 fi
32333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32334 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32335 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32336 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32337
32338 else
32339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32340 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32341 fi
32342 fi
32343
32344 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32345 if test "$USE_NETBSD" = 1; then
32346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32347 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32348 wxUSE_COMPILER_TLS=no
32349 else
32350 wxUSE_COMPILER_TLS=yes
32351 fi
32352 fi
32353
32354 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32356 $as_echo_n "checking for __thread keyword... " >&6; }
32357 if ${wx_cv_cc___thread+:} false; then :
32358 $as_echo_n "(cached) " >&6
32359 else
32360
32361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32362 /* end confdefs.h. */
32363 #include <pthread.h>
32364 int
32365 main ()
32366 {
32367
32368 static __thread int n = 0;
32369 static __thread int *p = 0;
32370
32371 ;
32372 return 0;
32373 }
32374 _ACEOF
32375 if ac_fn_c_try_compile "$LINENO"; then :
32376 wx_cv_cc___thread=yes
32377 else
32378 wx_cv_cc___thread=no
32379
32380 fi
32381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32382
32383
32384 fi
32385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32386 $as_echo "$wx_cv_cc___thread" >&6; }
32387
32388 if test "$wx_cv_cc___thread" = "yes"; then
32389
32390 GXX_VERSION=""
32391
32392
32393
32394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32395 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32396
32397 if test "x$GCC" = "xyes" ; then :
32398
32399 if test -z "" ; then :
32400
32401 ax_gcc_option_test="int main()
32402 {
32403 return 0;
32404 }"
32405
32406 else
32407
32408 ax_gcc_option_test=""
32409
32410 fi
32411
32412 # Dump the test program to file
32413 cat <<EOF > conftest.c
32414 $ax_gcc_option_test
32415 EOF
32416
32417 # Dump back the file to the log, useful for debugging purposes
32418 { ac_try='cat conftest.c 1>&5'
32419 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32420 (eval $ac_try) 2>&5
32421 ac_status=$?
32422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32423 test $ac_status = 0; }; }
32424
32425 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
32426 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32427 (eval $ac_try) 2>&5
32428 ac_status=$?
32429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32430 test $ac_status = 0; }; } ; then :
32431
32432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32433 $as_echo "yes" >&6; }
32434
32435 ax_gcc_version_option=yes
32436
32437
32438 else
32439
32440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32441 $as_echo "no" >&6; }
32442
32443 ax_gcc_version_option=no
32444
32445
32446 fi
32447
32448 else
32449
32450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32451 $as_echo "no gcc available" >&6; }
32452
32453 fi
32454
32455 if test "x$GXX" = "xyes"; then :
32456
32457 if test "x$ax_gxx_version_option" != "no"; then :
32458
32459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32460 $as_echo_n "checking gxx version... " >&6; }
32461 if ${ax_cv_gxx_version+:} false; then :
32462 $as_echo_n "(cached) " >&6
32463 else
32464
32465 ax_cv_gxx_version="`$CXX -dumpversion`"
32466 if test "x$ax_cv_gxx_version" = "x"; then :
32467
32468 ax_cv_gxx_version=""
32469
32470 fi
32471
32472 fi
32473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32474 $as_echo "$ax_cv_gxx_version" >&6; }
32475 GXX_VERSION=$ax_cv_gxx_version
32476
32477 fi
32478
32479 fi
32480
32481
32482 if test -n "$ax_cv_gxx_version"; then
32483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32484 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32485 case "$ax_cv_gxx_version" in
32486 1.* | 2.* | 3.* )
32487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32488 $as_echo "no, it's broken" >&6; }
32489 wx_cv_cc___thread=no
32490 ;;
32491 *)
32492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32493 $as_echo "yes, it works" >&6; }
32494 ;;
32495 esac
32496 fi
32497 fi
32498
32499 if test "$wx_cv_cc___thread" = "yes"; then
32500 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32501
32502 fi
32503 fi
32504
32505 if test "$ac_cv_header_cxxabi_h" = "yes"; then
32506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in <cxxabi.h>" >&5
32507 $as_echo_n "checking for abi::__forced_unwind() in <cxxabi.h>... " >&6; }
32508 if ${wx_cv_type_abi_forced_unwind+:} false; then :
32509 $as_echo_n "(cached) " >&6
32510 else
32511
32512 ac_ext=cpp
32513 ac_cpp='$CXXCPP $CPPFLAGS'
32514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32517
32518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32519 /* end confdefs.h. */
32520 #include <cxxabi.h>
32521 int
32522 main ()
32523 {
32524
32525 void foo(abi::__forced_unwind&);
32526
32527 ;
32528 return 0;
32529 }
32530 _ACEOF
32531 if ac_fn_cxx_try_compile "$LINENO"; then :
32532 wx_cv_type_abi_forced_unwind=yes
32533 else
32534 wx_cv_type_abi_forced_unwind=no
32535
32536 fi
32537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32538 ac_ext=c
32539 ac_cpp='$CPP $CPPFLAGS'
32540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32543
32544
32545
32546 fi
32547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5
32548 $as_echo "$wx_cv_type_abi_forced_unwind" >&6; }
32549 else
32550 wx_cv_type_abi_forced_unwind=no
32551 fi
32552
32553 if test "$wx_cv_type_abi_forced_unwind" = "yes"; then
32554 $as_echo "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h
32555
32556 fi
32557 fi
32558
32559 else
32560 if test "$wxUSE_THREADS" = "yes" ; then
32561 case "${host}" in
32562 x86_64-*-mingw32* )
32563 ;;
32564 *-*-mingw32* )
32565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32566 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32567 if ${wx_cv_cflags_mthread+:} false; then :
32568 $as_echo_n "(cached) " >&6
32569 else
32570
32571 CFLAGS_OLD="$CFLAGS"
32572 CFLAGS="-mthreads $CFLAGS"
32573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32574 /* end confdefs.h. */
32575
32576 int
32577 main ()
32578 {
32579
32580 ;
32581 return 0;
32582 }
32583 _ACEOF
32584 if ac_fn_c_try_compile "$LINENO"; then :
32585 wx_cv_cflags_mthread=yes
32586 else
32587 wx_cv_cflags_mthread=no
32588
32589 fi
32590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32591
32592
32593 fi
32594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32595 $as_echo "$wx_cv_cflags_mthread" >&6; }
32596
32597 if test "$wx_cv_cflags_mthread" = "yes"; then
32598 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
32599 LDFLAGS="$LDFLAGS -mthreads"
32600 else
32601 CFLAGS="$CFLAGS_OLD"
32602 fi
32603 ;;
32604 *-pc-os2*emx )
32605 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32606 LDFLAGS="$LDFLAGS -Zmt"
32607 ;;
32608 esac
32609 fi
32610 fi
32611
32612 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32613 if test "x$ac_cv_func_localtime_r" = xyes; then :
32614 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32615
32616 fi
32617
32618 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32619 if test "x$ac_cv_func_gmtime_r" = xyes; then :
32620 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32621
32622 fi
32623
32624
32625
32626
32627 ac_ext=c
32628 ac_cpp='$CPP $CPPFLAGS'
32629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32632
32633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32634 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32635
32636 if ${ac_cv_func_which_gethostbyname_r+:} false; then :
32637 $as_echo_n "(cached) " >&6
32638 else
32639
32640
32641 ################################################################
32642
32643 ac_cv_func_which_gethostbyname_r=unknown
32644
32645 #
32646 # ONE ARGUMENT (sanity check)
32647 #
32648
32649 # This should fail, as there is no variant of gethostbyname_r() that takes
32650 # a single argument. If it actually compiles, then we can assume that
32651 # netdb.h is not declaring the function, and the compiler is thereby
32652 # assuming an implicit prototype. In which case, we're out of luck.
32653 #
32654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32655 /* end confdefs.h. */
32656 #include <netdb.h>
32657 int
32658 main ()
32659 {
32660
32661 char *name = "www.gnu.org";
32662 (void)gethostbyname_r(name) /* ; */
32663
32664
32665 ;
32666 return 0;
32667 }
32668 _ACEOF
32669 if ac_fn_c_try_compile "$LINENO"; then :
32670 ac_cv_func_which_gethostbyname_r=no
32671
32672 fi
32673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32674
32675 #
32676 # SIX ARGUMENTS
32677 # (e.g. Linux)
32678 #
32679
32680 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32681
32682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32683 /* end confdefs.h. */
32684 #include <netdb.h>
32685 int
32686 main ()
32687 {
32688
32689 char *name = "www.gnu.org";
32690 struct hostent ret, *retp;
32691 char buf[1024];
32692 int buflen = 1024;
32693 int my_h_errno;
32694 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32695
32696
32697 ;
32698 return 0;
32699 }
32700 _ACEOF
32701 if ac_fn_c_try_compile "$LINENO"; then :
32702 ac_cv_func_which_gethostbyname_r=six
32703
32704 fi
32705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32706
32707 fi
32708
32709 #
32710 # FIVE ARGUMENTS
32711 # (e.g. Solaris)
32712 #
32713
32714 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32715
32716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32717 /* end confdefs.h. */
32718 #include <netdb.h>
32719 int
32720 main ()
32721 {
32722
32723 char *name = "www.gnu.org";
32724 struct hostent ret;
32725 char buf[1024];
32726 int buflen = 1024;
32727 int my_h_errno;
32728 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32729
32730
32731 ;
32732 return 0;
32733 }
32734 _ACEOF
32735 if ac_fn_c_try_compile "$LINENO"; then :
32736 ac_cv_func_which_gethostbyname_r=five
32737
32738 fi
32739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32740
32741 fi
32742
32743 #
32744 # THREE ARGUMENTS
32745 # (e.g. AIX, HP-UX, Tru64)
32746 #
32747
32748 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32749
32750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32751 /* end confdefs.h. */
32752 #include <netdb.h>
32753 int
32754 main ()
32755 {
32756
32757 char *name = "www.gnu.org";
32758 struct hostent ret;
32759 struct hostent_data data;
32760 (void)gethostbyname_r(name, &ret, &data) /* ; */
32761
32762
32763 ;
32764 return 0;
32765 }
32766 _ACEOF
32767 if ac_fn_c_try_compile "$LINENO"; then :
32768 ac_cv_func_which_gethostbyname_r=three
32769
32770 fi
32771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32772
32773 fi
32774
32775 ################################################################
32776
32777
32778 fi
32779
32780 case "$ac_cv_func_which_gethostbyname_r" in
32781 three)
32782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32783 $as_echo "three" >&6; }
32784 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32785
32786 ;;
32787
32788 five)
32789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32790 $as_echo "five" >&6; }
32791 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32792
32793 ;;
32794
32795 six)
32796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32797 $as_echo "six" >&6; }
32798 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32799
32800 ;;
32801
32802 no)
32803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32804 $as_echo "cannot find function declaration in netdb.h" >&6; }
32805 ;;
32806
32807 unknown)
32808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32809 $as_echo "can't tell" >&6; }
32810 ;;
32811
32812 *)
32813 as_fn_error $? "internal error" "$LINENO" 5
32814 ;;
32815 esac
32816
32817 ac_ext=c
32818 ac_cpp='$CPP $CPPFLAGS'
32819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32822
32823
32824
32825 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32826 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32827 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32828 if test "x$ac_cv_func_gethostbyname" = xyes; then :
32829 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32830
32831 fi
32832
32833 fi
32834
32835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32836 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32837 if ${ac_cv_func_which_getservbyname_r+:} false; then :
32838 $as_echo_n "(cached) " >&6
32839 else
32840
32841 ac_ext=cpp
32842 ac_cpp='$CXXCPP $CPPFLAGS'
32843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32846
32847
32848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32849 /* end confdefs.h. */
32850 #include <netdb.h>
32851 int
32852 main ()
32853 {
32854
32855 char *name;
32856 char *proto;
32857 struct servent *se, *res;
32858 char buffer[2048];
32859 int buflen = 2048;
32860 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32861
32862 ;
32863 return 0;
32864 }
32865 _ACEOF
32866 if ac_fn_cxx_try_compile "$LINENO"; then :
32867 ac_cv_func_which_getservbyname_r=six
32868 else
32869
32870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32871 /* end confdefs.h. */
32872 #include <netdb.h>
32873 int
32874 main ()
32875 {
32876
32877 char *name;
32878 char *proto;
32879 struct servent *se;
32880 char buffer[2048];
32881 int buflen = 2048;
32882 (void) getservbyname_r(name, proto, se, buffer, buflen)
32883
32884 ;
32885 return 0;
32886 }
32887 _ACEOF
32888 if ac_fn_cxx_try_compile "$LINENO"; then :
32889 ac_cv_func_which_getservbyname_r=five
32890 else
32891
32892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32893 /* end confdefs.h. */
32894 #include <netdb.h>
32895 int
32896 main ()
32897 {
32898
32899 char *name;
32900 char *proto;
32901 struct servent *se;
32902 struct servent_data data;
32903 (void) getservbyname_r(name, proto, se, &data);
32904
32905 ;
32906 return 0;
32907 }
32908 _ACEOF
32909 if ac_fn_cxx_try_compile "$LINENO"; then :
32910 ac_cv_func_which_getservbyname_r=four
32911 else
32912 ac_cv_func_which_getservbyname_r=no
32913
32914 fi
32915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32916
32917
32918 fi
32919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32920
32921
32922 fi
32923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32924 ac_ext=c
32925 ac_cpp='$CPP $CPPFLAGS'
32926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32929
32930
32931
32932 fi
32933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32934 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32935
32936 if test $ac_cv_func_which_getservbyname_r = six; then
32937 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32938
32939 elif test $ac_cv_func_which_getservbyname_r = five; then
32940 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
32941
32942 elif test $ac_cv_func_which_getservbyname_r = four; then
32943 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
32944
32945 fi
32946
32947
32948 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
32949 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
32950 for ac_func in getservbyname
32951 do :
32952 ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
32953 if test "x$ac_cv_func_getservbyname" = xyes; then :
32954 cat >>confdefs.h <<_ACEOF
32955 #define HAVE_GETSERVBYNAME 1
32956 _ACEOF
32957 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
32958
32959 fi
32960 done
32961
32962 fi
32963
32964 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
32965
32966
32967 if test "$wxUSE_THREADS" = "yes"; then
32968 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
32969
32970
32971 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
32972 else
32973 if test "$wx_cv_func_strtok_r" = "yes"; then
32974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
32975 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
32976 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32977 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
32978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32979 $as_echo "yes" >&6; }
32980 else
32981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32982 $as_echo "no" >&6; }
32983 fi
32984 fi
32985 fi
32986
32987 if test "$WXGTK3" = 1 ; then
32988 cat >>confdefs.h <<_ACEOF
32989 #define __WXGTK3__ 1
32990 _ACEOF
32991
32992 WXGTK2=1
32993 fi
32994 if test "$WXGTK2" = 1 ; then
32995 cat >>confdefs.h <<_ACEOF
32996 #define __WXGTK20__ $WXGTK2
32997 _ACEOF
32998
32999 fi
33000
33001 if test "$WXGTK127" = 1 ; then
33002 cat >>confdefs.h <<_ACEOF
33003 #define __WXGTK127__ $WXGTK127
33004 _ACEOF
33005
33006 fi
33007
33008 if test "$WXGPE" = 1 ; then
33009 cat >>confdefs.h <<_ACEOF
33010 #define __WXGPE__ $WXGPE
33011 _ACEOF
33012
33013 fi
33014
33015 DEBUG_CFLAGS=
33016 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
33017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
33018 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
33019 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
33020 DEBUG_CFLAGS="-g"
33021 fi
33022
33023 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33024 wxUSE_DEBUG_INFO=yes
33025 if test "$GCC" = yes; then
33026 DEBUG_CFLAGS="-ggdb"
33027 fi
33028 fi
33029
33030 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
33031 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
33032
33033 if test "$wxUSE_GTK" = 1 ; then
33034 if test "$WXGTK2" = 1 ; then
33035 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
33036 else
33037 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
33038 fi
33039 fi
33040 fi
33041
33042 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33043 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
33044
33045 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
33046
33047 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
33048
33049 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33050 fi
33051
33052 if test "$wxUSE_DMALLOC" = "yes" ; then
33053 DMALLOC_LIBS="-ldmallocthcxx"
33054 fi
33055
33056 PROFILE_FLAGS=
33057 if test "$wxUSE_PROFILE" = "yes" ; then
33058 PROFILE_FLAGS=" -pg"
33059 fi
33060
33061 if test "$GCC" = "yes" ; then
33062 if test "$wxUSE_NO_RTTI" = "yes" ; then
33063 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
33064 fi
33065 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33066 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
33067 fi
33068 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33069 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
33070 fi
33071
33072 case "${host}" in
33073 powerpc*-*-aix* )
33074 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
33075 ;;
33076 *-hppa* )
33077 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
33078 ;;
33079 esac
33080 fi
33081
33082 OPTIMISE_CFLAGS=
33083 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
33084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
33085 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
33086 else
33087 if test "$wxUSE_OPTIMISE" = "no" ; then
33088 if test "$GCC" = yes ; then
33089 OPTIMISE_CFLAGS="-O0"
33090 fi
33091 else
33092 if test "$GCC" = yes ; then
33093 case "${host}" in
33094 *-pc-os2_emx | *-pc-os2-emx )
33095 OPTIMISE_CFLAGS="-O2"
33096 ;;
33097 *)
33098 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
33099 ;;
33100 esac
33101 else
33102 OPTIMISE_CFLAGS="-O"
33103 fi
33104 fi
33105 fi
33106
33107
33108 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
33109 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
33110
33111
33112 WXWIN_COMPATIBILITY_2_8="yes"
33113 fi
33114
33115 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
33116 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
33117
33118 fi
33119
33120
33121 if test "$wxUSE_GUI" = "yes"; then
33122 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
33123
33124
33125 fi
33126
33127
33128 if test "$wxUSE_UNIX" = "yes"; then
33129 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
33130
33131 fi
33132
33133
33134 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33135
33136 HAVE_DL_FUNCS=0
33137 HAVE_SHL_FUNCS=0
33138 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33139 if test "$USE_DOS" = 1; then
33140 HAVE_DL_FUNCS=0
33141 else
33142 for ac_func in dlopen
33143 do :
33144 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
33145 if test "x$ac_cv_func_dlopen" = xyes; then :
33146 cat >>confdefs.h <<_ACEOF
33147 #define HAVE_DLOPEN 1
33148 _ACEOF
33149
33150 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33151
33152 HAVE_DL_FUNCS=1
33153
33154 else
33155
33156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
33157 $as_echo_n "checking for dlopen in -ldl... " >&6; }
33158 if ${ac_cv_lib_dl_dlopen+:} false; then :
33159 $as_echo_n "(cached) " >&6
33160 else
33161 ac_check_lib_save_LIBS=$LIBS
33162 LIBS="-ldl $LIBS"
33163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33164 /* end confdefs.h. */
33165
33166 /* Override any GCC internal prototype to avoid an error.
33167 Use char because int might match the return type of a GCC
33168 builtin and then its argument prototype would still apply. */
33169 #ifdef __cplusplus
33170 extern "C"
33171 #endif
33172 char dlopen ();
33173 int
33174 main ()
33175 {
33176 return dlopen ();
33177 ;
33178 return 0;
33179 }
33180 _ACEOF
33181 if ac_fn_c_try_link "$LINENO"; then :
33182 ac_cv_lib_dl_dlopen=yes
33183 else
33184 ac_cv_lib_dl_dlopen=no
33185 fi
33186 rm -f core conftest.err conftest.$ac_objext \
33187 conftest$ac_exeext conftest.$ac_ext
33188 LIBS=$ac_check_lib_save_LIBS
33189 fi
33190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33191 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33192 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
33193
33194 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33195
33196 HAVE_DL_FUNCS=1
33197 DL_LINK=" -ldl$DL_LINK"
33198
33199 else
33200
33201 for ac_func in shl_load
33202 do :
33203 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
33204 if test "x$ac_cv_func_shl_load" = xyes; then :
33205 cat >>confdefs.h <<_ACEOF
33206 #define HAVE_SHL_LOAD 1
33207 _ACEOF
33208
33209 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33210
33211 HAVE_SHL_FUNCS=1
33212
33213 else
33214
33215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33216 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33217 if ${ac_cv_lib_shl_load_dld+:} false; then :
33218 $as_echo_n "(cached) " >&6
33219 else
33220 ac_check_lib_save_LIBS=$LIBS
33221 LIBS="-lshl_load $LIBS"
33222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33223 /* end confdefs.h. */
33224
33225 /* Override any GCC internal prototype to avoid an error.
33226 Use char because int might match the return type of a GCC
33227 builtin and then its argument prototype would still apply. */
33228 #ifdef __cplusplus
33229 extern "C"
33230 #endif
33231 char dld ();
33232 int
33233 main ()
33234 {
33235 return dld ();
33236 ;
33237 return 0;
33238 }
33239 _ACEOF
33240 if ac_fn_c_try_link "$LINENO"; then :
33241 ac_cv_lib_shl_load_dld=yes
33242 else
33243 ac_cv_lib_shl_load_dld=no
33244 fi
33245 rm -f core conftest.err conftest.$ac_objext \
33246 conftest$ac_exeext conftest.$ac_ext
33247 LIBS=$ac_check_lib_save_LIBS
33248 fi
33249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33250 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33251 if test "x$ac_cv_lib_shl_load_dld" = xyes; then :
33252
33253 HAVE_SHL_FUNCS=1
33254 DL_LINK=" -ldld$DL_LINK"
33255
33256 fi
33257
33258
33259 fi
33260 done
33261
33262
33263 fi
33264
33265
33266 fi
33267 done
33268
33269
33270 if test "$HAVE_DL_FUNCS" = 1; then
33271 for ac_func in dlerror
33272 do :
33273 ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
33274 if test "x$ac_cv_func_dlerror" = xyes; then :
33275 cat >>confdefs.h <<_ACEOF
33276 #define HAVE_DLERROR 1
33277 _ACEOF
33278 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33279
33280 else
33281
33282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33283 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33284 if ${ac_cv_lib_dl_dlerror+:} false; then :
33285 $as_echo_n "(cached) " >&6
33286 else
33287 ac_check_lib_save_LIBS=$LIBS
33288 LIBS="-ldl $LIBS"
33289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33290 /* end confdefs.h. */
33291
33292 /* Override any GCC internal prototype to avoid an error.
33293 Use char because int might match the return type of a GCC
33294 builtin and then its argument prototype would still apply. */
33295 #ifdef __cplusplus
33296 extern "C"
33297 #endif
33298 char dlerror ();
33299 int
33300 main ()
33301 {
33302 return dlerror ();
33303 ;
33304 return 0;
33305 }
33306 _ACEOF
33307 if ac_fn_c_try_link "$LINENO"; then :
33308 ac_cv_lib_dl_dlerror=yes
33309 else
33310 ac_cv_lib_dl_dlerror=no
33311 fi
33312 rm -f core conftest.err conftest.$ac_objext \
33313 conftest$ac_exeext conftest.$ac_ext
33314 LIBS=$ac_check_lib_save_LIBS
33315 fi
33316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33317 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33318 if test "x$ac_cv_lib_dl_dlerror" = xyes; then :
33319 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33320
33321 fi
33322
33323
33324
33325 fi
33326 done
33327
33328 fi
33329 fi
33330
33331 if test "$USE_DARWIN" = 1; then
33332 HAVE_DL_FUNCS=1
33333 fi
33334
33335 if test "$HAVE_DL_FUNCS" = 0; then
33336 if test "$HAVE_SHL_FUNCS" = 0; then
33337 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33339 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33340 wxUSE_DYNAMIC_LOADER=no
33341 wxUSE_DYNLIB_CLASS=no
33342 else
33343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33344 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33345 fi
33346 fi
33347 fi
33348 fi
33349 fi
33350
33351 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33352 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33353
33354 fi
33355 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33356 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33357
33358 fi
33359
33360
33361
33362 if test "$wxUSE_PLUGINS" = "yes" ; then
33363 if test "$wxUSE_SHARED" = "no" ; then
33364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33365 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33366 wxUSE_PLUGINS=no
33367 fi
33368 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33370 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33371 wxUSE_PLUGINS=no
33372 fi
33373 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33375 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33376 wxUSE_PLUGINS=no
33377 fi
33378 if test "$wxUSE_PLUGINS" = "yes" ; then
33379 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33380
33381 fi
33382 fi
33383
33384
33385 if test "$wxUSE_FSWATCHER" = "yes"; then
33386 if test "$wxUSE_MSW" != "1"; then
33387 if test "$wxUSE_UNIX" = "yes"; then
33388 for ac_header in sys/inotify.h
33389 do :
33390 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33391 "
33392 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
33393 cat >>confdefs.h <<_ACEOF
33394 #define HAVE_SYS_INOTIFY_H 1
33395 _ACEOF
33396
33397 fi
33398
33399 done
33400
33401 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33402 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33403
33404 else
33405 for ac_header in sys/event.h
33406 do :
33407 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33408 "
33409 if test "x$ac_cv_header_sys_event_h" = xyes; then :
33410 cat >>confdefs.h <<_ACEOF
33411 #define HAVE_SYS_EVENT_H 1
33412 _ACEOF
33413
33414 fi
33415
33416 done
33417
33418 if test "$ac_cv_header_sys_event_h" = "yes"; then
33419 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33420
33421 else
33422 wxUSE_FSWATCHER=no
33423 fi
33424 fi
33425 else
33426 wxUSE_FSWATCHER=no
33427 fi
33428 else
33429 if test "$wxUSE_THREADS" != "yes"; then
33430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33431 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33432 wxUSE_FSWATCHER=no
33433 fi
33434 fi
33435
33436 if test "$wxUSE_FSWATCHER" = "yes"; then
33437 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33438
33439 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
33440 else
33441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33442 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33443 fi
33444 fi
33445
33446
33447 if test "$wxUSE_STL" = "yes"; then
33448 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33449
33450 fi
33451
33452 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33453 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33454
33455 fi
33456
33457 if test "$wxUSE_ANY" = "yes"; then
33458 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33459
33460 fi
33461
33462 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33463 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33464
33465 fi
33466
33467 if test "$wxUSE_TIMER" = "yes"; then
33468 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33469
33470 fi
33471
33472 if test "$USE_UNIX" = 1 ; then
33473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33474 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33475 if ${ac_cv_header_sys_soundcard+:} false; then :
33476 $as_echo_n "(cached) " >&6
33477 else
33478
33479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33480 /* end confdefs.h. */
33481
33482 #include <sys/ioctl.h>
33483 #include <sys/soundcard.h>
33484
33485 int
33486 main ()
33487 {
33488
33489 ioctl(0, SNDCTL_DSP_SPEED, 0);
33490
33491 ;
33492 return 0;
33493 }
33494 _ACEOF
33495 if ac_fn_c_try_link "$LINENO"; then :
33496 ac_cv_header_sys_soundcard=yes
33497 else
33498
33499 saveLibs="$LIBS"
33500 LIBS="$saveLibs -lossaudio"
33501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33502 /* end confdefs.h. */
33503
33504 #include <sys/ioctl.h>
33505 #include <sys/soundcard.h>
33506
33507 int
33508 main ()
33509 {
33510
33511 ioctl(0, SNDCTL_DSP_SPEED, 0);
33512
33513 ;
33514 return 0;
33515 }
33516 _ACEOF
33517 if ac_fn_c_try_link "$LINENO"; then :
33518 ac_cv_header_sys_soundcard=yes
33519 else
33520
33521 LIBS="$saveLibs"
33522 ac_cv_header_sys_soundcard=no
33523
33524
33525 fi
33526 rm -f core conftest.err conftest.$ac_objext \
33527 conftest$ac_exeext conftest.$ac_ext
33528
33529
33530 fi
33531 rm -f core conftest.err conftest.$ac_objext \
33532 conftest$ac_exeext conftest.$ac_ext
33533
33534 fi
33535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33536 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33537
33538 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33539 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33540
33541 fi
33542 fi
33543
33544 WITH_PLUGIN_SDL=0
33545 if test "$wxUSE_SOUND" = "yes"; then
33546 if test "$USE_UNIX" = 1 ; then
33547 if test "$wxUSE_LIBSDL" != "no"; then
33548
33549 # Check whether --with-sdl-prefix was given.
33550 if test "${with_sdl_prefix+set}" = set; then :
33551 withval=$with_sdl_prefix; sdl_prefix="$withval"
33552 else
33553 sdl_prefix=""
33554 fi
33555
33556
33557 # Check whether --with-sdl-exec-prefix was given.
33558 if test "${with_sdl_exec_prefix+set}" = set; then :
33559 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
33560 else
33561 sdl_exec_prefix=""
33562 fi
33563
33564 # Check whether --enable-sdltest was given.
33565 if test "${enable_sdltest+set}" = set; then :
33566 enableval=$enable_sdltest;
33567 else
33568 enable_sdltest=yes
33569 fi
33570
33571
33572 if test x$sdl_exec_prefix != x ; then
33573 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33574 if test x${SDL_CONFIG+set} != xset ; then
33575 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33576 fi
33577 fi
33578 if test x$sdl_prefix != x ; then
33579 sdl_args="$sdl_args --prefix=$sdl_prefix"
33580 if test x${SDL_CONFIG+set} != xset ; then
33581 SDL_CONFIG=$sdl_prefix/bin/sdl-config
33582 fi
33583 fi
33584
33585 if test "x$prefix" != xNONE; then
33586 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33587 fi
33588 # Extract the first word of "sdl-config", so it can be a program name with args.
33589 set dummy sdl-config; ac_word=$2
33590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33591 $as_echo_n "checking for $ac_word... " >&6; }
33592 if ${ac_cv_path_SDL_CONFIG+:} false; then :
33593 $as_echo_n "(cached) " >&6
33594 else
33595 case $SDL_CONFIG in
33596 [\\/]* | ?:[\\/]*)
33597 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33598 ;;
33599 *)
33600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33601 for as_dir in $PATH
33602 do
33603 IFS=$as_save_IFS
33604 test -z "$as_dir" && as_dir=.
33605 for ac_exec_ext in '' $ac_executable_extensions; do
33606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33607 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33609 break 2
33610 fi
33611 done
33612 done
33613 IFS=$as_save_IFS
33614
33615 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33616 ;;
33617 esac
33618 fi
33619 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33620 if test -n "$SDL_CONFIG"; then
33621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33622 $as_echo "$SDL_CONFIG" >&6; }
33623 else
33624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33625 $as_echo "no" >&6; }
33626 fi
33627
33628
33629 min_sdl_version=1.2.0
33630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33631 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33632 no_sdl=""
33633 if test "$SDL_CONFIG" = "no" ; then
33634 no_sdl=yes
33635 else
33636 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33637 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33638
33639 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33640 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33641 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33642 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33643 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33644 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33645 if test "x$enable_sdltest" = "xyes" ; then
33646 ac_save_CFLAGS="$CFLAGS"
33647 ac_save_CXXFLAGS="$CXXFLAGS"
33648 ac_save_LIBS="$LIBS"
33649 CFLAGS="$CFLAGS $SDL_CFLAGS"
33650 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33651 LIBS="$LIBS $SDL_LIBS"
33652 rm -f conf.sdltest
33653 if test "$cross_compiling" = yes; then :
33654 echo $ac_n "cross compiling; assumed OK... $ac_c"
33655 else
33656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33657 /* end confdefs.h. */
33658
33659 #include <stdio.h>
33660 #include <stdlib.h>
33661 #include <string.h>
33662 #include "SDL.h"
33663
33664 char*
33665 my_strdup (char *str)
33666 {
33667 char *new_str;
33668
33669 if (str)
33670 {
33671 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33672 strcpy (new_str, str);
33673 }
33674 else
33675 new_str = NULL;
33676
33677 return new_str;
33678 }
33679
33680 int main (int argc, char *argv[])
33681 {
33682 int major, minor, micro;
33683 char *tmp_version;
33684
33685 /* This hangs on some systems (?)
33686 system ("touch conf.sdltest");
33687 */
33688 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33689
33690 /* HP/UX 9 (%@#!) writes to sscanf strings */
33691 tmp_version = my_strdup("$min_sdl_version");
33692 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33693 printf("%s, bad version string\n", "$min_sdl_version");
33694 exit(1);
33695 }
33696
33697 if (($sdl_major_version > major) ||
33698 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33699 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33700 {
33701 return 0;
33702 }
33703 else
33704 {
33705 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33706 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33707 printf("*** best to upgrade to the required version.\n");
33708 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33709 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33710 printf("*** config.cache before re-running configure\n");
33711 return 1;
33712 }
33713 }
33714
33715
33716 _ACEOF
33717 if ac_fn_c_try_run "$LINENO"; then :
33718
33719 else
33720 no_sdl=yes
33721 fi
33722 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33723 conftest.$ac_objext conftest.beam conftest.$ac_ext
33724 fi
33725
33726 CFLAGS="$ac_save_CFLAGS"
33727 CXXFLAGS="$ac_save_CXXFLAGS"
33728 LIBS="$ac_save_LIBS"
33729 fi
33730 fi
33731 if test "x$no_sdl" = x ; then
33732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33733 $as_echo "yes" >&6; }
33734
33735 EXTRALIBS_SDL="$SDL_LIBS"
33736 CFLAGS="$SDL_CFLAGS $CFLAGS"
33737 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
33738 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33739
33740
33741 else
33742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33743 $as_echo "no" >&6; }
33744 if test "$SDL_CONFIG" = "no" ; then
33745 echo "*** The sdl-config script installed by SDL could not be found"
33746 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33747 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33748 echo "*** full path to sdl-config."
33749 else
33750 if test -f conf.sdltest ; then
33751 :
33752 else
33753 echo "*** Could not run SDL test program, checking why..."
33754 CFLAGS="$CFLAGS $SDL_CFLAGS"
33755 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33756 LIBS="$LIBS $SDL_LIBS"
33757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33758 /* end confdefs.h. */
33759
33760 #include <stdio.h>
33761 #include "SDL.h"
33762
33763 int main(int argc, char *argv[])
33764 { return 0; }
33765 #undef main
33766 #define main K_and_R_C_main
33767
33768 int
33769 main ()
33770 {
33771 return 0;
33772 ;
33773 return 0;
33774 }
33775 _ACEOF
33776 if ac_fn_c_try_link "$LINENO"; then :
33777 echo "*** The test program compiled, but did not run. This usually means"
33778 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33779 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33780 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33781 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33782 echo "*** is required on your system"
33783 echo "***"
33784 echo "*** If you have an old version installed, it is best to remove it, although"
33785 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33786 else
33787 echo "*** The test program failed to compile or link. See the file config.log for the"
33788 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33789 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33790 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33791 fi
33792 rm -f core conftest.err conftest.$ac_objext \
33793 conftest$ac_exeext conftest.$ac_ext
33794 CFLAGS="$ac_save_CFLAGS"
33795 CXXFLAGS="$ac_save_CXXFLAGS"
33796 LIBS="$ac_save_LIBS"
33797 fi
33798 fi
33799 SDL_CFLAGS=""
33800 SDL_LIBS=""
33801 wxUSE_LIBSDL="no"
33802 fi
33803
33804
33805 rm -f conf.sdltest
33806
33807 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33808 WITH_PLUGIN_SDL=1
33809 fi
33810 fi
33811 fi
33812 fi
33813
33814 if test "$wxUSE_SOUND" = "yes"; then
33815 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33816
33817 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33818 fi
33819
33820 if test "$WXGTK2" = 1; then
33821
33822
33823 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33824 if test -n "$ac_tool_prefix"; then
33825 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33826 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33828 $as_echo_n "checking for $ac_word... " >&6; }
33829 if ${ac_cv_path_PKG_CONFIG+:} false; then :
33830 $as_echo_n "(cached) " >&6
33831 else
33832 case $PKG_CONFIG in
33833 [\\/]* | ?:[\\/]*)
33834 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33835 ;;
33836 *)
33837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33838 for as_dir in $PATH
33839 do
33840 IFS=$as_save_IFS
33841 test -z "$as_dir" && as_dir=.
33842 for ac_exec_ext in '' $ac_executable_extensions; do
33843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33844 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33846 break 2
33847 fi
33848 done
33849 done
33850 IFS=$as_save_IFS
33851
33852 ;;
33853 esac
33854 fi
33855 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33856 if test -n "$PKG_CONFIG"; then
33857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33858 $as_echo "$PKG_CONFIG" >&6; }
33859 else
33860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33861 $as_echo "no" >&6; }
33862 fi
33863
33864
33865 fi
33866 if test -z "$ac_cv_path_PKG_CONFIG"; then
33867 ac_pt_PKG_CONFIG=$PKG_CONFIG
33868 # Extract the first word of "pkg-config", so it can be a program name with args.
33869 set dummy pkg-config; ac_word=$2
33870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33871 $as_echo_n "checking for $ac_word... " >&6; }
33872 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
33873 $as_echo_n "(cached) " >&6
33874 else
33875 case $ac_pt_PKG_CONFIG in
33876 [\\/]* | ?:[\\/]*)
33877 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33878 ;;
33879 *)
33880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33881 for as_dir in $PATH
33882 do
33883 IFS=$as_save_IFS
33884 test -z "$as_dir" && as_dir=.
33885 for ac_exec_ext in '' $ac_executable_extensions; do
33886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33887 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33889 break 2
33890 fi
33891 done
33892 done
33893 IFS=$as_save_IFS
33894
33895 ;;
33896 esac
33897 fi
33898 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33899 if test -n "$ac_pt_PKG_CONFIG"; then
33900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33901 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33902 else
33903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33904 $as_echo "no" >&6; }
33905 fi
33906
33907 if test "x$ac_pt_PKG_CONFIG" = x; then
33908 PKG_CONFIG=""
33909 else
33910 case $cross_compiling:$ac_tool_warned in
33911 yes:)
33912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33914 ac_tool_warned=yes ;;
33915 esac
33916 PKG_CONFIG=$ac_pt_PKG_CONFIG
33917 fi
33918 else
33919 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33920 fi
33921
33922 fi
33923 if test -n "$PKG_CONFIG"; then
33924 _pkg_min_version=0.9.0
33925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33926 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33927 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33929 $as_echo "yes" >&6; }
33930 else
33931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33932 $as_echo "no" >&6; }
33933 PKG_CONFIG=""
33934 fi
33935
33936 fi
33937
33938 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33939
33940 if test "$wxUSE_GTKPRINT" = "yes" ; then
33941 if test "$WXGTK3" = 1; then
33942 gtk_unix_print="gtk+-unix-print-3.0"
33943 else
33944 gtk_unix_print="gtk+-unix-print-2.0 >= 2.10"
33945 fi
33946
33947 pkg_failed=no
33948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
33949 $as_echo_n "checking for GTKPRINT... " >&6; }
33950
33951 if test -n "$PKG_CONFIG"; then
33952 if test -n "$GTKPRINT_CFLAGS"; then
33953 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
33954 else
33955 if test -n "$PKG_CONFIG" && \
33956 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33957 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33958 ac_status=$?
33959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33960 test $ac_status = 0; }; then
33961 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
33962 else
33963 pkg_failed=yes
33964 fi
33965 fi
33966 else
33967 pkg_failed=untried
33968 fi
33969 if test -n "$PKG_CONFIG"; then
33970 if test -n "$GTKPRINT_LIBS"; then
33971 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
33972 else
33973 if test -n "$PKG_CONFIG" && \
33974 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33975 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33976 ac_status=$?
33977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33978 test $ac_status = 0; }; then
33979 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
33980 else
33981 pkg_failed=yes
33982 fi
33983 fi
33984 else
33985 pkg_failed=untried
33986 fi
33987
33988
33989
33990 if test $pkg_failed = yes; then
33991
33992 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33993 _pkg_short_errors_supported=yes
33994 else
33995 _pkg_short_errors_supported=no
33996 fi
33997 if test $_pkg_short_errors_supported = yes; then
33998 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
33999 else
34000 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
34001 fi
34002 # Put the nasty error message in config.log where it belongs
34003 echo "$GTKPRINT_PKG_ERRORS" >&5
34004
34005
34006 { $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
34007 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34008 wxUSE_GTKPRINT="no"
34009
34010
34011 elif test $pkg_failed = untried; then
34012
34013 { $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
34014 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34015 wxUSE_GTKPRINT="no"
34016
34017
34018 else
34019 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
34020 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
34021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34022 $as_echo "yes" >&6; }
34023
34024 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
34025 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
34026 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
34027 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
34028
34029
34030 fi
34031 fi
34032
34033 if test "$WXGTK3" = 1; then
34034 wxUSE_LIBGNOMEPRINT=no
34035 fi
34036
34037 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34038
34039
34040 pkg_failed=no
34041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
34042 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
34043
34044 if test -n "$PKG_CONFIG"; then
34045 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
34046 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
34047 else
34048 if test -n "$PKG_CONFIG" && \
34049 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34050 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34051 ac_status=$?
34052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34053 test $ac_status = 0; }; then
34054 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34055 else
34056 pkg_failed=yes
34057 fi
34058 fi
34059 else
34060 pkg_failed=untried
34061 fi
34062 if test -n "$PKG_CONFIG"; then
34063 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
34064 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
34065 else
34066 if test -n "$PKG_CONFIG" && \
34067 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34068 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34069 ac_status=$?
34070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34071 test $ac_status = 0; }; then
34072 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34073 else
34074 pkg_failed=yes
34075 fi
34076 fi
34077 else
34078 pkg_failed=untried
34079 fi
34080
34081
34082
34083 if test $pkg_failed = yes; then
34084
34085 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34086 _pkg_short_errors_supported=yes
34087 else
34088 _pkg_short_errors_supported=no
34089 fi
34090 if test $_pkg_short_errors_supported = yes; then
34091 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34092 else
34093 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34094 fi
34095 # Put the nasty error message in config.log where it belongs
34096 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
34097
34098
34099 if test "$wxUSE_GTKPRINT" = yes; then
34100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34101 $as_echo "no" >&6; }
34102 else
34103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34104 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34105 fi
34106 wxUSE_LIBGNOMEPRINT="no"
34107
34108
34109 elif test $pkg_failed = untried; then
34110
34111 if test "$wxUSE_GTKPRINT" = yes; then
34112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34113 $as_echo "no" >&6; }
34114 else
34115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34116 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34117 fi
34118 wxUSE_LIBGNOMEPRINT="no"
34119
34120
34121 else
34122 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
34123 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
34124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34125 $as_echo "yes" >&6; }
34126
34127 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
34128 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
34129 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
34130 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
34131
34132
34133 fi
34134 fi
34135 fi
34136
34137 if test "$wxUSE_MIMETYPE" = "yes" ; then
34138 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
34139
34140
34141 pkg_failed=no
34142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
34143 $as_echo_n "checking for GNOMEVFS... " >&6; }
34144
34145 if test -n "$PKG_CONFIG"; then
34146 if test -n "$GNOMEVFS_CFLAGS"; then
34147 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
34148 else
34149 if test -n "$PKG_CONFIG" && \
34150 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34151 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34152 ac_status=$?
34153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34154 test $ac_status = 0; }; then
34155 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34156 else
34157 pkg_failed=yes
34158 fi
34159 fi
34160 else
34161 pkg_failed=untried
34162 fi
34163 if test -n "$PKG_CONFIG"; then
34164 if test -n "$GNOMEVFS_LIBS"; then
34165 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
34166 else
34167 if test -n "$PKG_CONFIG" && \
34168 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34169 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34170 ac_status=$?
34171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34172 test $ac_status = 0; }; then
34173 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34174 else
34175 pkg_failed=yes
34176 fi
34177 fi
34178 else
34179 pkg_failed=untried
34180 fi
34181
34182
34183
34184 if test $pkg_failed = yes; then
34185
34186 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34187 _pkg_short_errors_supported=yes
34188 else
34189 _pkg_short_errors_supported=no
34190 fi
34191 if test $_pkg_short_errors_supported = yes; then
34192 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34193 else
34194 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34195 fi
34196 # Put the nasty error message in config.log where it belongs
34197 echo "$GNOMEVFS_PKG_ERRORS" >&5
34198
34199
34200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34201 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34202 wxUSE_LIBGNOMEVFS="no"
34203
34204
34205 elif test $pkg_failed = untried; then
34206
34207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34208 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34209 wxUSE_LIBGNOMEVFS="no"
34210
34211
34212 else
34213 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
34214 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
34215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34216 $as_echo "yes" >&6; }
34217
34218 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34219 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
34220 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
34221 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34222
34223
34224 fi
34225 fi
34226 fi
34227
34228 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34229 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34230 HAVE_LIBNOTIFY=0
34231
34232 pkg_failed=no
34233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34234 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34235
34236 if test -n "$PKG_CONFIG"; then
34237 if test -n "$LIBNOTIFY_CFLAGS"; then
34238 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34239 else
34240 if test -n "$PKG_CONFIG" && \
34241 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34242 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34243 ac_status=$?
34244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34245 test $ac_status = 0; }; then
34246 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34247 else
34248 pkg_failed=yes
34249 fi
34250 fi
34251 else
34252 pkg_failed=untried
34253 fi
34254 if test -n "$PKG_CONFIG"; then
34255 if test -n "$LIBNOTIFY_LIBS"; then
34256 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34257 else
34258 if test -n "$PKG_CONFIG" && \
34259 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34260 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34261 ac_status=$?
34262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34263 test $ac_status = 0; }; then
34264 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34265 else
34266 pkg_failed=yes
34267 fi
34268 fi
34269 else
34270 pkg_failed=untried
34271 fi
34272
34273
34274
34275 if test $pkg_failed = yes; then
34276
34277 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34278 _pkg_short_errors_supported=yes
34279 else
34280 _pkg_short_errors_supported=no
34281 fi
34282 if test $_pkg_short_errors_supported = yes; then
34283 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34284 else
34285 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34286 fi
34287 # Put the nasty error message in config.log where it belongs
34288 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34289
34290
34291
34292 pkg_failed=no
34293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34294 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34295
34296 if test -n "$PKG_CONFIG"; then
34297 if test -n "$LIBNOTIFY_CFLAGS"; then
34298 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34299 else
34300 if test -n "$PKG_CONFIG" && \
34301 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34302 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34303 ac_status=$?
34304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34305 test $ac_status = 0; }; then
34306 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34307 else
34308 pkg_failed=yes
34309 fi
34310 fi
34311 else
34312 pkg_failed=untried
34313 fi
34314 if test -n "$PKG_CONFIG"; then
34315 if test -n "$LIBNOTIFY_LIBS"; then
34316 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34317 else
34318 if test -n "$PKG_CONFIG" && \
34319 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34320 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34321 ac_status=$?
34322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34323 test $ac_status = 0; }; then
34324 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34325 else
34326 pkg_failed=yes
34327 fi
34328 fi
34329 else
34330 pkg_failed=untried
34331 fi
34332
34333
34334
34335 if test $pkg_failed = yes; then
34336
34337 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34338 _pkg_short_errors_supported=yes
34339 else
34340 _pkg_short_errors_supported=no
34341 fi
34342 if test $_pkg_short_errors_supported = yes; then
34343 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34344 else
34345 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34346 fi
34347 # Put the nasty error message in config.log where it belongs
34348 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34349
34350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34351 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34352
34353 elif test $pkg_failed = untried; then
34354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34355 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34356
34357 else
34358 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34359 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34361 $as_echo "yes" >&6; }
34362 HAVE_LIBNOTIFY=1
34363 fi
34364
34365
34366 elif test $pkg_failed = untried; then
34367
34368
34369 pkg_failed=no
34370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34371 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34372
34373 if test -n "$PKG_CONFIG"; then
34374 if test -n "$LIBNOTIFY_CFLAGS"; then
34375 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34376 else
34377 if test -n "$PKG_CONFIG" && \
34378 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34379 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34380 ac_status=$?
34381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34382 test $ac_status = 0; }; then
34383 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34384 else
34385 pkg_failed=yes
34386 fi
34387 fi
34388 else
34389 pkg_failed=untried
34390 fi
34391 if test -n "$PKG_CONFIG"; then
34392 if test -n "$LIBNOTIFY_LIBS"; then
34393 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34394 else
34395 if test -n "$PKG_CONFIG" && \
34396 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34397 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34398 ac_status=$?
34399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34400 test $ac_status = 0; }; then
34401 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34402 else
34403 pkg_failed=yes
34404 fi
34405 fi
34406 else
34407 pkg_failed=untried
34408 fi
34409
34410
34411
34412 if test $pkg_failed = yes; then
34413
34414 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34415 _pkg_short_errors_supported=yes
34416 else
34417 _pkg_short_errors_supported=no
34418 fi
34419 if test $_pkg_short_errors_supported = yes; then
34420 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34421 else
34422 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34423 fi
34424 # Put the nasty error message in config.log where it belongs
34425 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34426
34427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34428 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34429
34430 elif test $pkg_failed = untried; then
34431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34432 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34433
34434 else
34435 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34436 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34438 $as_echo "yes" >&6; }
34439 HAVE_LIBNOTIFY=1
34440 fi
34441
34442
34443 else
34444 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34445 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34447 $as_echo "yes" >&6; }
34448
34449 HAVE_LIBNOTIFY=1
34450 $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34451
34452
34453 fi
34454
34455 if test "$HAVE_LIBNOTIFY" = "1" ; then
34456 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34457 CFLAGS="$LIBNOTIFY_CFLAGS $CFLAGS"
34458 CXXFLAGS="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34459 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34460
34461 fi
34462 fi
34463 fi
34464
34465 if test "$wxUSE_LIBHILDON" = "yes" ; then
34466
34467 pkg_failed=no
34468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34469 $as_echo_n "checking for HILDON... " >&6; }
34470
34471 if test -n "$PKG_CONFIG"; then
34472 if test -n "$HILDON_CFLAGS"; then
34473 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
34474 else
34475 if test -n "$PKG_CONFIG" && \
34476 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34477 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34478 ac_status=$?
34479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34480 test $ac_status = 0; }; then
34481 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34482 else
34483 pkg_failed=yes
34484 fi
34485 fi
34486 else
34487 pkg_failed=untried
34488 fi
34489 if test -n "$PKG_CONFIG"; then
34490 if test -n "$HILDON_LIBS"; then
34491 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
34492 else
34493 if test -n "$PKG_CONFIG" && \
34494 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34495 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34496 ac_status=$?
34497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34498 test $ac_status = 0; }; then
34499 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34500 else
34501 pkg_failed=yes
34502 fi
34503 fi
34504 else
34505 pkg_failed=untried
34506 fi
34507
34508
34509
34510 if test $pkg_failed = yes; then
34511
34512 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34513 _pkg_short_errors_supported=yes
34514 else
34515 _pkg_short_errors_supported=no
34516 fi
34517 if test $_pkg_short_errors_supported = yes; then
34518 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34519 else
34520 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34521 fi
34522 # Put the nasty error message in config.log where it belongs
34523 echo "$HILDON_PKG_ERRORS" >&5
34524
34525
34526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34527 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34528 wxUSE_LIBHILDON="no"
34529 ac_hildon_lgpl=0
34530
34531
34532 elif test $pkg_failed = untried; then
34533
34534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34535 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34536 wxUSE_LIBHILDON="no"
34537 ac_hildon_lgpl=0
34538
34539
34540 else
34541 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
34542 HILDON_LIBS=$pkg_cv_HILDON_LIBS
34543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34544 $as_echo "yes" >&6; }
34545
34546 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON_LIBS"
34547 CFLAGS="$CFLAGS $HILDON_CFLAGS"
34548 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
34549 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34550
34551 ac_hildon_lgpl=1
34552
34553 fi
34554
34555 if test "$ac_hildon_lgpl" = 0 ; then
34556
34557 pkg_failed=no
34558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34559 $as_echo_n "checking for HILDON2... " >&6; }
34560
34561 if test -n "$PKG_CONFIG"; then
34562 if test -n "$HILDON2_CFLAGS"; then
34563 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
34564 else
34565 if test -n "$PKG_CONFIG" && \
34566 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34567 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34568 ac_status=$?
34569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34570 test $ac_status = 0; }; then
34571 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34572 else
34573 pkg_failed=yes
34574 fi
34575 fi
34576 else
34577 pkg_failed=untried
34578 fi
34579 if test -n "$PKG_CONFIG"; then
34580 if test -n "$HILDON2_LIBS"; then
34581 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
34582 else
34583 if test -n "$PKG_CONFIG" && \
34584 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34585 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34586 ac_status=$?
34587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34588 test $ac_status = 0; }; then
34589 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34590 else
34591 pkg_failed=yes
34592 fi
34593 fi
34594 else
34595 pkg_failed=untried
34596 fi
34597
34598
34599
34600 if test $pkg_failed = yes; then
34601
34602 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34603 _pkg_short_errors_supported=yes
34604 else
34605 _pkg_short_errors_supported=no
34606 fi
34607 if test $_pkg_short_errors_supported = yes; then
34608 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34609 else
34610 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34611 fi
34612 # Put the nasty error message in config.log where it belongs
34613 echo "$HILDON2_PKG_ERRORS" >&5
34614
34615
34616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34617 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34618 wxUSE_LIBHILDON2="no"
34619
34620
34621 elif test $pkg_failed = untried; then
34622
34623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34624 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34625 wxUSE_LIBHILDON2="no"
34626
34627
34628 else
34629 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
34630 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
34631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34632 $as_echo "yes" >&6; }
34633
34634 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON2_LIBS"
34635 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
34636 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
34637 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34638
34639
34640 fi
34641 fi
34642 fi
34643 fi
34644
34645 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34646 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34647
34648 fi
34649
34650 if test "$wxUSE_STOPWATCH" = "yes"; then
34651 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34652
34653 fi
34654
34655 if test "$wxUSE_DATETIME" = "yes"; then
34656 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34657
34658 fi
34659
34660 if test "$wxUSE_FILE" = "yes"; then
34661 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34662
34663 fi
34664
34665 if test "$wxUSE_FFILE" = "yes"; then
34666 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34667
34668 fi
34669
34670 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34671 if test "$wxUSE_STREAMS" != yes; then
34672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34673 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34674 wxUSE_ARCHIVE_STREAMS=no
34675 else
34676 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34677
34678 fi
34679 fi
34680
34681 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34682 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34684 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34685 elif test "$wxUSE_ZLIB" = "no"; then
34686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34687 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34688 else
34689 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34690
34691 fi
34692 fi
34693
34694 if test "$wxUSE_TARSTREAM" = "yes"; then
34695 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34697 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34698 else
34699 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34700
34701 fi
34702 fi
34703
34704 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34705 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34706
34707 fi
34708
34709 if test "$wxUSE_FILESYSTEM" = "yes"; then
34710 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
34711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34712 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34713 wxUSE_FILESYSTEM=no
34714 else
34715 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34716
34717 fi
34718 fi
34719
34720 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34721 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34723 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34724 else
34725 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34726
34727 fi
34728 fi
34729
34730 if test "$wxUSE_FS_ZIP" = "yes"; then
34731 if test "$wxUSE_FS_ARCHIVE" != yes; then
34732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34733 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34734 else
34735 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34736
34737 fi
34738 fi
34739
34740 if test "$wxUSE_FSVOLUME" = "yes"; then
34741 $as_echo "#define wxUSE_FSVOLUME 1" >>confdefs.h
34742
34743 fi
34744
34745 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34746 if test "$USE_UNIX" != 1; then
34747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34748 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34749 wxUSE_ON_FATAL_EXCEPTION=no
34750 else
34751 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34752
34753 fi
34754 fi
34755
34756 if test "$wxUSE_STACKWALKER" = "yes"; then
34757 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34758
34759 fi
34760
34761 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34762 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34764 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34765 wxUSE_DEBUGREPORT=no
34766 else
34767 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34768
34769 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34770 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
34771 fi
34772 fi
34773 fi
34774
34775 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34776 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34777
34778 fi
34779
34780 if test "$wxUSE_BUSYINFO" = "yes"; then
34781 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34782
34783 fi
34784
34785 if test "$wxUSE_HOTKEY" = "yes"; then
34786 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34788 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34789 wxUSE_HOTKEY=no
34790 fi
34791 elif test "$wxUSE_HOTKEY" = "auto"; then
34792 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34793 wxUSE_HOTKEY=yes
34794 fi
34795 fi
34796 if test "$wxUSE_HOTKEY" = "yes"; then
34797 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34798
34799 fi
34800
34801 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34802 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34803
34804 fi
34805
34806 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34807 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34808
34809 fi
34810
34811 if test "$wxUSE_STD_STRING" = "yes"; then
34812 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34813
34814 fi
34815
34816 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34817 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34818
34819 fi
34820
34821 if test "$wxUSE_STDPATHS" = "yes"; then
34822 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34823
34824 fi
34825
34826 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34827 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34828
34829 fi
34830
34831 if test "$wxUSE_TEXTFILE" = "yes"; then
34832 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34834 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34835 else
34836 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34837
34838 fi
34839 fi
34840
34841 if test "$wxUSE_CONFIG" = "yes" ; then
34842 if test "$wxUSE_TEXTFILE" != "yes"; then
34843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34844 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34845 else
34846 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34847
34848 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34849
34850 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34851 fi
34852 fi
34853
34854 if test "$wxUSE_INTL" = "yes" ; then
34855 if test "$wxUSE_FILE" != "yes"; then
34856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34857 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34858 else
34859 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34860
34861 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34862 GUIDIST="$GUIDIST INTL_DIST"
34863 fi
34864 fi
34865
34866 if test "$wxUSE_XLOCALE" = "yes" ; then
34867 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34868
34869 ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34870 #include <locale.h>
34871 "
34872 if test "x$ac_cv_type_locale_t" = xyes; then :
34873
34874 cat >>confdefs.h <<_ACEOF
34875 #define HAVE_LOCALE_T 1
34876 _ACEOF
34877
34878
34879 fi
34880
34881 fi
34882
34883 if test "$wxUSE_LOG" = "yes"; then
34884 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34885
34886
34887 if test "$wxUSE_LOGGUI" = "yes"; then
34888 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34889
34890 fi
34891
34892 if test "$wxUSE_LOGWINDOW" = "yes"; then
34893 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34894
34895 fi
34896
34897 if test "$wxUSE_LOGDIALOG" = "yes"; then
34898 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34899
34900 fi
34901
34902 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
34903 fi
34904
34905 if test "$wxUSE_LONGLONG" = "yes"; then
34906 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34907
34908 fi
34909
34910 if test "$wxUSE_GEOMETRY" = "yes"; then
34911 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34912
34913 fi
34914
34915 if test "$wxUSE_BASE64" = "yes"; then
34916 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34917
34918 fi
34919
34920 if test "$wxUSE_STREAMS" = "yes" ; then
34921 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34922
34923 fi
34924
34925 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34926 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34927
34928 fi
34929
34930 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34931 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34932
34933 fi
34934
34935
34936 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34937 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34938
34939
34940 if test "$wxUSE_UNIX" = "yes"; then
34941 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34942 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34943
34944 fi
34945
34946 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34947 for ac_header in sys/epoll.h
34948 do :
34949 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34950 "
34951 if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
34952 cat >>confdefs.h <<_ACEOF
34953 #define HAVE_SYS_EPOLL_H 1
34954 _ACEOF
34955
34956 fi
34957
34958 done
34959
34960 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34961 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34962
34963 else
34964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34965 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34966 fi
34967 fi
34968 fi
34969 fi
34970
34971
34972 for ac_func in gettimeofday ftime
34973 do :
34974 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34975 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34976 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34977 cat >>confdefs.h <<_ACEOF
34978 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34979 _ACEOF
34980 break
34981 fi
34982 done
34983
34984
34985 if test "$ac_cv_func_gettimeofday" = "yes"; then
34986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34987 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34988 if ${wx_cv_func_gettimeofday_has_2_args+:} false; then :
34989 $as_echo_n "(cached) " >&6
34990 else
34991
34992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34993 /* end confdefs.h. */
34994
34995 #include <sys/time.h>
34996 #include <unistd.h>
34997
34998 int
34999 main ()
35000 {
35001
35002 struct timeval tv;
35003 gettimeofday(&tv, NULL);
35004
35005 ;
35006 return 0;
35007 }
35008 _ACEOF
35009 if ac_fn_c_try_compile "$LINENO"; then :
35010 wx_cv_func_gettimeofday_has_2_args=yes
35011 else
35012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35013 /* end confdefs.h. */
35014
35015 #include <sys/time.h>
35016 #include <unistd.h>
35017
35018 int
35019 main ()
35020 {
35021
35022 struct timeval tv;
35023 gettimeofday(&tv);
35024
35025 ;
35026 return 0;
35027 }
35028 _ACEOF
35029 if ac_fn_c_try_compile "$LINENO"; then :
35030 wx_cv_func_gettimeofday_has_2_args=no
35031 else
35032
35033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
35034 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35035 wx_cv_func_gettimeofday_has_2_args=unknown
35036
35037
35038 fi
35039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35040
35041 fi
35042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35043
35044 fi
35045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35046 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
35047
35048 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35049 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
35050
35051 fi
35052 fi
35053
35054 if test "$wxUSE_DATETIME" = "yes"; then
35055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
35056 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
35057 if ${wx_cv_var_timezone+:} false; then :
35058 $as_echo_n "(cached) " >&6
35059 else
35060
35061 ac_ext=cpp
35062 ac_cpp='$CXXCPP $CPPFLAGS'
35063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35066
35067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35068 /* end confdefs.h. */
35069
35070 #include <time.h>
35071
35072 int
35073 main ()
35074 {
35075
35076 int tz;
35077 tz = timezone;
35078
35079 ;
35080 return 0;
35081 }
35082 _ACEOF
35083 if ac_fn_cxx_try_compile "$LINENO"; then :
35084
35085 wx_cv_var_timezone=timezone
35086
35087 else
35088
35089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35090 /* end confdefs.h. */
35091
35092 #include <time.h>
35093
35094 int
35095 main ()
35096 {
35097
35098 int tz;
35099 tz = _timezone;
35100
35101 ;
35102 return 0;
35103 }
35104 _ACEOF
35105 if ac_fn_cxx_try_compile "$LINENO"; then :
35106
35107 wx_cv_var_timezone=_timezone
35108
35109 else
35110
35111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35112 /* end confdefs.h. */
35113
35114 #include <time.h>
35115
35116 int
35117 main ()
35118 {
35119
35120 int tz;
35121 tz = __timezone;
35122
35123 ;
35124 return 0;
35125 }
35126 _ACEOF
35127 if ac_fn_cxx_try_compile "$LINENO"; then :
35128
35129 wx_cv_var_timezone=__timezone
35130
35131 else
35132
35133 if test "$USE_DOS" = 0 ; then
35134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
35135 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
35136 fi
35137
35138
35139 fi
35140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35141
35142
35143 fi
35144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35145
35146
35147 fi
35148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35149 ac_ext=c
35150 ac_cpp='$CPP $CPPFLAGS'
35151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35154
35155
35156
35157 fi
35158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
35159 $as_echo "$wx_cv_var_timezone" >&6; }
35160
35161 if test "x$wx_cv_var_timezone" != x ; then
35162 cat >>confdefs.h <<_ACEOF
35163 #define WX_TIMEZONE $wx_cv_var_timezone
35164 _ACEOF
35165
35166 fi
35167
35168 for ac_func in localtime
35169 do :
35170 ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
35171 if test "x$ac_cv_func_localtime" = xyes; then :
35172 cat >>confdefs.h <<_ACEOF
35173 #define HAVE_LOCALTIME 1
35174 _ACEOF
35175
35176 fi
35177 done
35178
35179
35180 if test "$ac_cv_func_localtime" = "yes"; then
35181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
35182 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
35183 if ${wx_cv_struct_tm_has_gmtoff+:} false; then :
35184 $as_echo_n "(cached) " >&6
35185 else
35186
35187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35188 /* end confdefs.h. */
35189
35190 #include <time.h>
35191
35192 int
35193 main ()
35194 {
35195
35196 struct tm tm;
35197 tm.tm_gmtoff++;
35198
35199 ;
35200 return 0;
35201 }
35202 _ACEOF
35203 if ac_fn_c_try_compile "$LINENO"; then :
35204
35205 wx_cv_struct_tm_has_gmtoff=yes
35206
35207 else
35208 wx_cv_struct_tm_has_gmtoff=no
35209
35210 fi
35211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35212
35213 fi
35214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35215 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35216 fi
35217
35218 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35219 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35220
35221 fi
35222
35223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35224 fi
35225
35226
35227 for ac_func in setpriority
35228 do :
35229 ac_fn_c_check_func "$LINENO" "setpriority" "ac_cv_func_setpriority"
35230 if test "x$ac_cv_func_setpriority" = xyes; then :
35231 cat >>confdefs.h <<_ACEOF
35232 #define HAVE_SETPRIORITY 1
35233 _ACEOF
35234
35235 fi
35236 done
35237
35238
35239
35240 if test "$wxUSE_SOCKETS" = "yes"; then
35241 if test "$TOOLKIT" != "MSW"; then
35242 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
35243 if test "x$ac_cv_func_socket" = xyes; then :
35244
35245 else
35246
35247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35248 $as_echo_n "checking for socket in -lsocket... " >&6; }
35249 if ${ac_cv_lib_socket_socket+:} false; then :
35250 $as_echo_n "(cached) " >&6
35251 else
35252 ac_check_lib_save_LIBS=$LIBS
35253 LIBS="-lsocket $LIBS"
35254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35255 /* end confdefs.h. */
35256
35257 /* Override any GCC internal prototype to avoid an error.
35258 Use char because int might match the return type of a GCC
35259 builtin and then its argument prototype would still apply. */
35260 #ifdef __cplusplus
35261 extern "C"
35262 #endif
35263 char socket ();
35264 int
35265 main ()
35266 {
35267 return socket ();
35268 ;
35269 return 0;
35270 }
35271 _ACEOF
35272 if ac_fn_c_try_link "$LINENO"; then :
35273 ac_cv_lib_socket_socket=yes
35274 else
35275 ac_cv_lib_socket_socket=no
35276 fi
35277 rm -f core conftest.err conftest.$ac_objext \
35278 conftest$ac_exeext conftest.$ac_ext
35279 LIBS=$ac_check_lib_save_LIBS
35280 fi
35281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35282 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35283 if test "x$ac_cv_lib_socket_socket" = xyes; then :
35284 if test "$INET_LINK" != " -lsocket"; then
35285 INET_LINK="$INET_LINK -lsocket"
35286 fi
35287 else
35288
35289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35290 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35291 wxUSE_SOCKETS=no
35292
35293
35294 fi
35295
35296
35297
35298 fi
35299
35300 fi
35301 fi
35302
35303 if test "$wxUSE_SOCKETS" = "yes" ; then
35304 if test "$TOOLKIT" != "MSW"; then
35305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35306 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35307 if ${wx_cv_type_getsockname3+:} false; then :
35308 $as_echo_n "(cached) " >&6
35309 else
35310
35311 ac_ext=cpp
35312 ac_cpp='$CXXCPP $CPPFLAGS'
35313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35316
35317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35318 /* end confdefs.h. */
35319
35320 #include <sys/types.h>
35321 #include <sys/socket.h>
35322
35323 int
35324 main ()
35325 {
35326
35327 socklen_t len;
35328 getsockname(0, 0, &len);
35329
35330 ;
35331 return 0;
35332 }
35333 _ACEOF
35334 if ac_fn_cxx_try_compile "$LINENO"; then :
35335 wx_cv_type_getsockname3=socklen_t
35336 else
35337
35338 CFLAGS_OLD="$CFLAGS"
35339 if test "$GCC" = yes ; then
35340 CFLAGS="-Werror $CFLAGS"
35341 fi
35342
35343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35344 /* end confdefs.h. */
35345
35346 #include <sys/types.h>
35347 #include <sys/socket.h>
35348
35349 int
35350 main ()
35351 {
35352
35353 size_t len;
35354 getsockname(0, 0, &len);
35355
35356 ;
35357 return 0;
35358 }
35359 _ACEOF
35360 if ac_fn_cxx_try_compile "$LINENO"; then :
35361 wx_cv_type_getsockname3=size_t
35362 else
35363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35364 /* end confdefs.h. */
35365
35366 #include <sys/types.h>
35367 #include <sys/socket.h>
35368
35369 int
35370 main ()
35371 {
35372
35373 int len;
35374 getsockname(0, 0, &len);
35375
35376 ;
35377 return 0;
35378 }
35379 _ACEOF
35380 if ac_fn_cxx_try_compile "$LINENO"; then :
35381 wx_cv_type_getsockname3=int
35382 else
35383 wx_cv_type_getsockname3=unknown
35384
35385 fi
35386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35387
35388 fi
35389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35390
35391 CFLAGS="$CFLAGS_OLD"
35392
35393
35394 fi
35395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35396 ac_ext=c
35397 ac_cpp='$CPP $CPPFLAGS'
35398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35401
35402
35403 fi
35404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35405 $as_echo "$wx_cv_type_getsockname3" >&6; }
35406
35407 if test "$wx_cv_type_getsockname3" = "unknown"; then
35408 wxUSE_SOCKETS=no
35409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35410 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35411 else
35412 cat >>confdefs.h <<_ACEOF
35413 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35414 _ACEOF
35415
35416 fi
35417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35418 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35419 if ${wx_cv_type_getsockopt5+:} false; then :
35420 $as_echo_n "(cached) " >&6
35421 else
35422
35423 ac_ext=cpp
35424 ac_cpp='$CXXCPP $CPPFLAGS'
35425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35428
35429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35430 /* end confdefs.h. */
35431
35432 #include <sys/types.h>
35433 #include <sys/socket.h>
35434
35435 int
35436 main ()
35437 {
35438
35439 socklen_t len;
35440 getsockopt(0, 0, 0, 0, &len);
35441
35442 ;
35443 return 0;
35444 }
35445 _ACEOF
35446 if ac_fn_cxx_try_compile "$LINENO"; then :
35447 wx_cv_type_getsockopt5=socklen_t
35448 else
35449
35450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35451 /* end confdefs.h. */
35452
35453 #include <sys/types.h>
35454 #include <sys/socket.h>
35455
35456 int
35457 main ()
35458 {
35459
35460 size_t len;
35461 getsockopt(0, 0, 0, 0, &len);
35462
35463 ;
35464 return 0;
35465 }
35466 _ACEOF
35467 if ac_fn_cxx_try_compile "$LINENO"; then :
35468 wx_cv_type_getsockopt5=size_t
35469 else
35470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35471 /* end confdefs.h. */
35472
35473 #include <sys/types.h>
35474 #include <sys/socket.h>
35475
35476 int
35477 main ()
35478 {
35479
35480 int len;
35481 getsockopt(0, 0, 0, 0, &len);
35482
35483 ;
35484 return 0;
35485 }
35486 _ACEOF
35487 if ac_fn_cxx_try_compile "$LINENO"; then :
35488 wx_cv_type_getsockopt5=int
35489 else
35490 wx_cv_type_getsockopt5=unknown
35491
35492 fi
35493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35494
35495 fi
35496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35497
35498
35499 fi
35500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35501 ac_ext=c
35502 ac_cpp='$CPP $CPPFLAGS'
35503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35506
35507
35508 fi
35509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35510 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35511
35512 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35513 wxUSE_SOCKETS=no
35514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35515 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35516 else
35517 cat >>confdefs.h <<_ACEOF
35518 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35519 _ACEOF
35520
35521 fi
35522 fi
35523 fi
35524
35525 if test "$wxUSE_SOCKETS" = "yes" ; then
35526 if test "$wxUSE_IPV6" = "yes"; then
35527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35528 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35529 if ${wx_cv_type_sockaddr_in6+:} false; then :
35530 $as_echo_n "(cached) " >&6
35531 else
35532
35533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35534 /* end confdefs.h. */
35535
35536 #include <sys/types.h>
35537 #include <sys/socket.h>
35538 #include <netinet/in.h>
35539
35540 int
35541 main ()
35542 {
35543
35544 struct sockaddr_in6 sa6;
35545
35546 ;
35547 return 0;
35548 }
35549 _ACEOF
35550 if ac_fn_c_try_compile "$LINENO"; then :
35551 wx_cv_type_sockaddr_in6=yes
35552 else
35553 wx_cv_type_sockaddr_in6=no
35554
35555 fi
35556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35557
35558
35559 fi
35560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35561 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35562
35563 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35564 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35565
35566 else
35567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35568 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35569 fi
35570 fi
35571
35572 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35573
35574 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35575 fi
35576
35577 if test "$wxUSE_PROTOCOL" = "yes"; then
35578 if test "$wxUSE_SOCKETS" != "yes"; then
35579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35580 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35581 wxUSE_PROTOCOL=no
35582 fi
35583 fi
35584
35585 if test "$wxUSE_PROTOCOL" = "yes"; then
35586 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35587
35588
35589 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35590 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35591
35592 fi
35593 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35594 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35595
35596 fi
35597 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35598 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35599
35600 fi
35601 else
35602 if test "$wxUSE_FS_INET" = "yes"; then
35603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35604 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35605 wxUSE_FS_INET="no"
35606 fi
35607 fi
35608
35609 if test "$wxUSE_URL" = "yes"; then
35610 if test "$wxUSE_PROTOCOL" != "yes"; then
35611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35612 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35613 wxUSE_URL=no
35614 fi
35615 if test "$wxUSE_URL" = "yes"; then
35616 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35617
35618 fi
35619 fi
35620
35621 if test "$wxUSE_VARIANT" = "yes"; then
35622 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35623
35624 fi
35625
35626 if test "$wxUSE_FS_INET" = "yes"; then
35627 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35628
35629 fi
35630
35631
35632 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35633 wxUSE_JOYSTICK=no
35634
35635 if test "$TOOLKIT" = "MSW"; then
35636 wxUSE_JOYSTICK=yes
35637
35638 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35639 if test "$USE_DARWIN" = 1; then
35640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35641 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35642 ac_ext=cpp
35643 ac_cpp='$CXXCPP $CPPFLAGS'
35644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35647
35648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35649 /* end confdefs.h. */
35650 #include <IOKit/hid/IOHIDLib.h>
35651 int
35652 main ()
35653 {
35654 IOHIDQueueInterface *qi = NULL;
35655 IOHIDCallbackFunction cb = NULL;
35656 qi->setEventCallout(NULL, cb, NULL, NULL);
35657 ;
35658 return 0;
35659 }
35660 _ACEOF
35661 if ac_fn_cxx_try_compile "$LINENO"; then :
35662 wxUSE_JOYSTICK=yes
35663
35664 fi
35665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35666 ac_ext=c
35667 ac_cpp='$CPP $CPPFLAGS'
35668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35671
35672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35673 $as_echo "$wxUSE_JOYSTICK" >&6; }
35674 fi
35675
35676 else
35677 for ac_header in linux/joystick.h
35678 do :
35679 ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35680 "
35681 if test "x$ac_cv_header_linux_joystick_h" = xyes; then :
35682 cat >>confdefs.h <<_ACEOF
35683 #define HAVE_LINUX_JOYSTICK_H 1
35684 _ACEOF
35685 wxUSE_JOYSTICK=yes
35686 fi
35687
35688 done
35689
35690 fi
35691
35692 if test "$wxUSE_JOYSTICK" = "yes"; then
35693 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35694
35695 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35696 else
35697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35698 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35699 fi
35700 fi
35701
35702
35703
35704 if test "$wxUSE_FONTENUM" = "yes" ; then
35705 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35706
35707 fi
35708
35709 if test "$wxUSE_FONTMAP" = "yes" ; then
35710 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35711
35712 fi
35713
35714 if test "$wxUSE_UNICODE" = "yes" ; then
35715 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35716
35717
35718 if test "$USE_WIN32" != 1; then
35719 wxUSE_UNICODE_MSLU=no
35720 fi
35721
35722 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35724 $as_echo_n "checking for main in -lunicows... " >&6; }
35725 if ${ac_cv_lib_unicows_main+:} false; then :
35726 $as_echo_n "(cached) " >&6
35727 else
35728 ac_check_lib_save_LIBS=$LIBS
35729 LIBS="-lunicows $LIBS"
35730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35731 /* end confdefs.h. */
35732
35733
35734 int
35735 main ()
35736 {
35737 return main ();
35738 ;
35739 return 0;
35740 }
35741 _ACEOF
35742 if ac_fn_c_try_link "$LINENO"; then :
35743 ac_cv_lib_unicows_main=yes
35744 else
35745 ac_cv_lib_unicows_main=no
35746 fi
35747 rm -f core conftest.err conftest.$ac_objext \
35748 conftest$ac_exeext conftest.$ac_ext
35749 LIBS=$ac_check_lib_save_LIBS
35750 fi
35751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35752 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35753 if test "x$ac_cv_lib_unicows_main" = xyes; then :
35754
35755 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35756
35757
35758 else
35759
35760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35761 Applications will only run on Windows NT/2000/XP!" >&5
35762 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35763 Applications will only run on Windows NT/2000/XP!" >&2;}
35764 wxUSE_UNICODE_MSLU=no
35765
35766 fi
35767
35768 fi
35769 fi
35770
35771 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35772 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35773
35774
35775 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35776 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35777
35778 fi
35779 fi
35780
35781
35782 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35783 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35784
35785 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35786 fi
35787
35788 if test "$wxUSE_MDI" = "yes"; then
35789 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35790
35791
35792 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35793 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35794
35795 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35796 fi
35797 fi
35798
35799 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35800 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35801
35802 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35803 fi
35804
35805 if test "$wxUSE_HELP" = "yes"; then
35806 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35807
35808 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35809
35810 if test "$wxUSE_MSW" = 1; then
35811 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35812 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35813
35814 fi
35815 fi
35816
35817 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35818 if test "$wxUSE_HTML" = "yes"; then
35819 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35820
35821 else
35822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35823 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35824 wxUSE_WXHTML_HELP=no
35825 fi
35826 fi
35827 fi
35828
35829 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35830 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35831
35832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35833 fi
35834
35835 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35836 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35837
35838 fi
35839
35840 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35841
35842
35843 if test "$wxUSE_SVG" = "yes"; then
35844 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35845
35846 fi
35847
35848
35849 if test "$wxUSE_METAFILE" = "yes"; then
35850 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35852 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35853 wxUSE_METAFILE=no
35854 fi
35855 elif test "$wxUSE_METAFILE" = "auto"; then
35856 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35857 wxUSE_METAFILE=yes
35858 fi
35859 fi
35860
35861 if test "$wxUSE_METAFILE" = "yes"; then
35862 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35863
35864 if test "$wxUSE_MSW" = 1; then
35865 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35866
35867 fi
35868 fi
35869
35870
35871 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
35872 -o "$wxUSE_CLIPBOARD" = "yes" \
35873 -o "$wxUSE_OLE" = "yes" \
35874 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
35875 ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35876 "
35877 if test "x$ac_cv_header_ole2_h" = xyes; then :
35878
35879 fi
35880
35881
35882
35883 if test "$ac_cv_header_ole2_h" = "yes" ; then
35884 if test "$GCC" = yes ; then
35885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35886 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35888 /* end confdefs.h. */
35889 #include <windows.h>
35890 #include <ole2.h>
35891 int
35892 main ()
35893 {
35894
35895 ;
35896 return 0;
35897 }
35898 _ACEOF
35899 if ac_fn_c_try_compile "$LINENO"; then :
35900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35901 $as_echo "no" >&6; }
35902 else
35903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35904 $as_echo "yes" >&6; }
35905 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35906 fi
35907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35908 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35909 if test "$wxUSE_OLE" = "yes" ; then
35910 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35911
35912 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35913
35914 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35915
35916 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
35917 fi
35918 fi
35919
35920 if test "$wxUSE_DATAOBJ" = "yes" ; then
35921 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35922
35923 fi
35924 else
35925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35926 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35927
35928 wxUSE_CLIPBOARD=no
35929 wxUSE_DRAG_AND_DROP=no
35930 wxUSE_DATAOBJ=no
35931 wxUSE_OLE=no
35932 fi
35933 fi
35934
35935 if test "$wxUSE_IPC" = "yes"; then
35936 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35938 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35939 wxUSE_IPC=no
35940 fi
35941
35942 if test "$wxUSE_IPC" = "yes"; then
35943 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35944
35945 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
35946 fi
35947 fi
35948
35949 if test "$wxUSE_DATAOBJ" = "yes"; then
35950 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35951
35952 else
35953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35954 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35955 wxUSE_CLIPBOARD=no
35956 wxUSE_DRAG_AND_DROP=no
35957 fi
35958
35959 if test "$wxUSE_CLIPBOARD" = "yes"; then
35960 if test "$wxUSE_DFB" = 1; then
35961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35962 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35963 wxUSE_CLIPBOARD=no
35964 fi
35965
35966 if test "$wxUSE_CLIPBOARD" = "yes"; then
35967 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35968
35969 fi
35970 fi
35971
35972 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35973 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35975 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35976 wxUSE_DRAG_AND_DROP=no
35977 fi
35978
35979 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35980 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35981
35982 fi
35983
35984 fi
35985
35986 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35987 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
35988 fi
35989
35990 if test "$wxUSE_CLIPBOARD" = "yes"; then
35991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
35992 fi
35993
35994 if test "$wxUSE_SPLINES" = "yes" ; then
35995 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35996
35997 fi
35998
35999 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
36000 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
36001
36002 fi
36003
36004 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
36005 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
36006
36007 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
36008 fi
36009
36010 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
36011 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
36012
36013 fi
36014
36015
36016 USES_CONTROLS=0
36017 if test "$wxUSE_CONTROLS" = "yes"; then
36018 USES_CONTROLS=1
36019 fi
36020
36021 if test "$wxUSE_MARKUP" = "yes"; then
36022 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
36023
36024 fi
36025
36026 if test "$wxUSE_ACCEL" = "yes"; then
36027 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
36028
36029 USES_CONTROLS=1
36030 fi
36031
36032 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
36033 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
36034
36035 USES_CONTROLS=1
36036 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
36037 fi
36038
36039 if test "$wxUSE_BANNERWINDOW" = "yes"; then
36040 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
36041
36042 fi
36043
36044 if test "$wxUSE_BUTTON" = "yes"; then
36045 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
36046
36047 USES_CONTROLS=1
36048 fi
36049
36050 if test "$wxUSE_BMPBUTTON" = "yes"; then
36051 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
36052
36053 USES_CONTROLS=1
36054 fi
36055
36056 if test "$wxUSE_CALCTRL" = "yes"; then
36057 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
36058
36059 USES_CONTROLS=1
36060 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36061 fi
36062
36063 if test "$wxUSE_CARET" = "yes"; then
36064 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
36065
36066 USES_CONTROLS=1
36067 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36068 fi
36069
36070 if test "$wxUSE_COLLPANE" = "yes"; then
36071 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
36072
36073 USES_CONTROLS=1
36074 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
36075 fi
36076
36077 if test "$wxUSE_COMBOBOX" = "yes"; then
36078 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
36079
36080 USES_CONTROLS=1
36081 fi
36082
36083 if test "$wxUSE_COMBOCTRL" = "yes"; then
36084 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
36085
36086 USES_CONTROLS=1
36087 fi
36088
36089 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
36090 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
36091
36092 USES_CONTROLS=1
36093 fi
36094
36095 if test "$wxUSE_CHOICE" = "yes"; then
36096 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
36097
36098 USES_CONTROLS=1
36099 fi
36100
36101 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36102 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
36103
36104 USES_CONTROLS=1
36105 fi
36106
36107 if test "$wxUSE_CHECKBOX" = "yes"; then
36108 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
36109
36110 USES_CONTROLS=1
36111 fi
36112
36113 if test "$wxUSE_CHECKLST" = "yes"; then
36114 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
36115
36116 USES_CONTROLS=1
36117 fi
36118
36119 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
36120 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
36121
36122 USES_CONTROLS=1
36123 fi
36124
36125 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
36126 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
36127
36128 USES_CONTROLS=1
36129 fi
36130
36131 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
36132 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
36133
36134 USES_CONTROLS=1
36135 fi
36136
36137 if test "$wxUSE_FILECTRL" = "yes"; then
36138 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
36139
36140 USES_CONTROLS=1
36141 fi
36142
36143 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
36144 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
36145
36146 USES_CONTROLS=1
36147 fi
36148
36149 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
36150 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
36151
36152 USES_CONTROLS=1
36153 fi
36154
36155 if test "$wxUSE_DISPLAY" = "yes"; then
36156 if test "$wxUSE_DFB" = 1; then
36157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
36158 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
36159 wxUSE_DISPLAY=no
36160 else
36161 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
36162
36163 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36164 fi
36165 fi
36166
36167 if test "$wxUSE_DETECT_SM" = "yes"; then
36168 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
36169
36170 fi
36171
36172 if test "$wxUSE_GAUGE" = "yes"; then
36173 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
36174
36175 USES_CONTROLS=1
36176 fi
36177
36178 if test "$wxUSE_GRID" = "yes"; then
36179 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
36180
36181 USES_CONTROLS=1
36182 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36183 fi
36184
36185 if test "$wxUSE_HEADERCTRL" = "yes"; then
36186 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
36187
36188 USES_CONTROLS=1
36189 fi
36190
36191 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
36192 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
36193
36194 USES_CONTROLS=1
36195 fi
36196
36197 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
36198 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
36199
36200 USES_CONTROLS=1
36201 fi
36202
36203 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
36204 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
36205
36206 USES_CONTROLS=1
36207 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
36208 fi
36209
36210 if test "$wxUSE_IMAGLIST" = "yes"; then
36211 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
36212
36213 fi
36214
36215 if test "$wxUSE_INFOBAR" = "yes"; then
36216 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36217
36218 fi
36219
36220 if test "$wxUSE_LISTBOOK" = "yes"; then
36221 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36222
36223 USES_CONTROLS=1
36224 fi
36225
36226 if test "$wxUSE_LISTBOX" = "yes"; then
36227 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36228
36229 USES_CONTROLS=1
36230 fi
36231
36232 if test "$wxUSE_LISTCTRL" = "yes"; then
36233 if test "$wxUSE_IMAGLIST" = "yes"; then
36234 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36235
36236 USES_CONTROLS=1
36237 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36238 else
36239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36240 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36241 fi
36242 fi
36243
36244 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36245 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36246
36247 USES_CONTROLS=1
36248 fi
36249
36250 if test "$wxUSE_NOTEBOOK" = "yes"; then
36251 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36252
36253 USES_CONTROLS=1
36254 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36255 fi
36256
36257 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36258 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36259
36260 fi
36261
36262 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36263 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36264
36265 USES_CONTROLS=1
36266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
36267 fi
36268
36269 if test "$wxUSE_RADIOBOX" = "yes"; then
36270 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36271
36272 USES_CONTROLS=1
36273 fi
36274
36275 if test "$wxUSE_RADIOBTN" = "yes"; then
36276 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36277
36278 USES_CONTROLS=1
36279 fi
36280
36281 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36282 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36283
36284 fi
36285
36286 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36287 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36288
36289 fi
36290
36291 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36292 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36293
36294 fi
36295
36296 if test "$wxUSE_SASH" = "yes"; then
36297 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36298
36299 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36300 fi
36301
36302 if test "$wxUSE_SCROLLBAR" = "yes"; then
36303 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36304
36305 USES_CONTROLS=1
36306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
36307 fi
36308
36309 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36310 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36311
36312 USES_CONTROLS=1
36313 fi
36314
36315 if test "$wxUSE_SLIDER" = "yes"; then
36316 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36317
36318 USES_CONTROLS=1
36319 fi
36320
36321 if test "$wxUSE_SPINBTN" = "yes"; then
36322 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36323
36324 USES_CONTROLS=1
36325 fi
36326
36327 if test "$wxUSE_SPINCTRL" = "yes"; then
36328 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36329
36330 USES_CONTROLS=1
36331 fi
36332
36333 if test "$wxUSE_SPLITTER" = "yes"; then
36334 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36335
36336 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36337 fi
36338
36339 if test "$wxUSE_STATBMP" = "yes"; then
36340 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36341
36342 USES_CONTROLS=1
36343 fi
36344
36345 if test "$wxUSE_STATBOX" = "yes"; then
36346 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36347
36348 USES_CONTROLS=1
36349 fi
36350
36351 if test "$wxUSE_STATTEXT" = "yes"; then
36352 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36353
36354 USES_CONTROLS=1
36355 fi
36356
36357 if test "$wxUSE_STATLINE" = "yes"; then
36358 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36359
36360 USES_CONTROLS=1
36361 fi
36362
36363 if test "$wxUSE_STATUSBAR" = "yes"; then
36364 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36365
36366 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36367
36368 USES_CONTROLS=1
36369
36370 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36371 fi
36372
36373 if test "$wxUSE_TEXTCTRL" = "yes"; then
36374 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36375
36376 USES_CONTROLS=1
36377 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36378
36379 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36380
36381 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36382
36383 fi
36384
36385 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36386 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36387
36388 USES_CONTROLS=1
36389 fi
36390
36391 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36392 if test "$wxUSE_OLD_COCOA" = 1 ; then
36393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36394 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36395 wxUSE_TOGGLEBTN=no
36396 fi
36397
36398 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36399 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36400
36401 USES_CONTROLS=1
36402 fi
36403 fi
36404
36405 if test "$wxUSE_TOOLBAR" = "yes"; then
36406 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36407
36408 USES_CONTROLS=1
36409
36410 if test "$wxUSE_UNIVERSAL" = "yes"; then
36411 wxUSE_TOOLBAR_NATIVE="no"
36412 else
36413 wxUSE_TOOLBAR_NATIVE="yes"
36414 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36415
36416 fi
36417
36418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36419 fi
36420
36421 if test "$wxUSE_TOOLTIPS" = "yes"; then
36422 if test "$wxUSE_MOTIF" = 1; then
36423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36424 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36425 else
36426 if test "$wxUSE_UNIVERSAL" = "yes"; then
36427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36428 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36429 else
36430 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36431
36432 fi
36433 fi
36434 fi
36435
36436 if test "$wxUSE_TREEBOOK" = "yes"; then
36437 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36438
36439 USES_CONTROLS=1
36440 fi
36441
36442 if test "$wxUSE_TOOLBOOK" = "yes"; then
36443 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36444
36445 USES_CONTROLS=1
36446 fi
36447
36448 if test "$wxUSE_TREECTRL" = "yes"; then
36449 if test "$wxUSE_IMAGLIST" = "yes"; then
36450 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36451
36452 USES_CONTROLS=1
36453 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36454 else
36455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36456 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36457 fi
36458 fi
36459
36460 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36461 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36462
36463 USES_CONTROLS=1
36464 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
36465 fi
36466
36467 if test "$wxUSE_POPUPWIN" = "yes"; then
36468 if test "$wxUSE_OLD_COCOA" = 1 ; then
36469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36470 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36471 else
36472 if test "$wxUSE_PM" = 1; then
36473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36474 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36475 else
36476 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36477
36478 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
36479
36480 USES_CONTROLS=1
36481 fi
36482 fi
36483 fi
36484
36485 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36486 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36488 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36489 else
36490 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36491
36492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
36493 fi
36494 fi
36495
36496 if test "$wxUSE_TIPWINDOW" = "yes"; then
36497 if test "$wxUSE_PM" = 1; then
36498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36499 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36500 else
36501 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36502
36503 fi
36504 fi
36505
36506 if test "$USES_CONTROLS" = 1; then
36507 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36508
36509 fi
36510
36511
36512 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36513 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36514
36515 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36516 fi
36517
36518 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36519 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36520
36521 fi
36522
36523 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36524 if test "$wxUSE_GTK" != 1; then
36525 if test "$wxUSE_LIBPNG" != no -a \
36526 "$wxUSE_IMAGE" = yes -a \
36527 "$wxUSE_STREAMS" = yes; then
36528 wxUSE_ARTPROVIDER_TANGO="yes"
36529 fi
36530 fi
36531 fi
36532
36533 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36534 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36535
36536 fi
36537
36538 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36539 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36540
36541 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36542 fi
36543
36544 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36545 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36547 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36548 else
36549 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36550
36551 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36552 fi
36553 fi
36554
36555 USE_HTML=0
36556 if test "$wxUSE_HTML" = "yes"; then
36557 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36558
36559 USE_HTML=1
36560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36561 fi
36562 if test "$wxUSE_WEBKIT" = "yes"; then
36563 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36564 old_CPPFLAGS="$CPPFLAGS"
36565 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36566 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36567 #include <Carbon/Carbon.h>
36568 #include <WebKit/WebKit.h>
36569
36570 "
36571 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36572
36573 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36574
36575 WEBKIT_LINK="-framework WebKit"
36576
36577 else
36578
36579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36580 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36581 wxUSE_WEBKIT=no
36582
36583 fi
36584
36585
36586 CPPFLAGS="$old_CPPFLAGS"
36587 elif test "$wxUSE_OLD_COCOA" = 1; then
36588 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36589
36590 else
36591 wxUSE_WEBKIT=no
36592 fi
36593 if test "$wxUSE_WEBKIT" = "yes"; then
36594 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36595 fi
36596 fi
36597
36598 USE_XRC=0
36599 if test "$wxUSE_XRC" = "yes"; then
36600 if test "$wxUSE_XML" != "yes"; then
36601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36602 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36603 wxUSE_XRC=no
36604 else
36605 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36606
36607 USE_XRC=1
36608 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
36609 fi
36610 fi
36611
36612 USE_AUI=0
36613 if test "$wxUSE_AUI" = "yes"; then
36614 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36615
36616 USE_AUI=1
36617 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
36618 fi
36619
36620 USE_PROPGRID=0
36621 if test "$wxUSE_PROPGRID" = "yes"; then
36622 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36623
36624 USE_PROPGRID=1
36625 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
36626 fi
36627
36628 USE_RIBBON=0
36629 if test "$wxUSE_RIBBON" = "yes"; then
36630 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36631
36632 USE_RIBBON=1
36633 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
36634 fi
36635
36636 USE_STC=0
36637 if test "$wxUSE_STC" = "yes"; then
36638 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36639
36640 USE_STC=1
36641 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
36642
36643 # Extract the first word of "python", so it can be a program name with args.
36644 set dummy python; ac_word=$2
36645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36646 $as_echo_n "checking for $ac_word... " >&6; }
36647 if ${ac_cv_path_PYTHON+:} false; then :
36648 $as_echo_n "(cached) " >&6
36649 else
36650 case $PYTHON in
36651 [\\/]* | ?:[\\/]*)
36652 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
36653 ;;
36654 *)
36655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36656 for as_dir in $PATH
36657 do
36658 IFS=$as_save_IFS
36659 test -z "$as_dir" && as_dir=.
36660 for ac_exec_ext in '' $ac_executable_extensions; do
36661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36662 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
36663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36664 break 2
36665 fi
36666 done
36667 done
36668 IFS=$as_save_IFS
36669
36670 ;;
36671 esac
36672 fi
36673 PYTHON=$ac_cv_path_PYTHON
36674 if test -n "$PYTHON"; then
36675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36676 $as_echo "$PYTHON" >&6; }
36677 else
36678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36679 $as_echo "no" >&6; }
36680 fi
36681
36682
36683 if test "x$PYTHON" = "x"; then
36684 COND_PYTHON="#"
36685 fi
36686
36687 fi
36688
36689 if test "$wxUSE_MENUS" = "yes"; then
36690 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36691
36692 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36693 fi
36694
36695 if test "$wxUSE_MIMETYPE" = "yes"; then
36696 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36697
36698 fi
36699
36700 if test "$wxUSE_MINIFRAME" = "yes"; then
36701 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36702
36703 fi
36704
36705 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36706 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36707
36708 fi
36709
36710 if test "$wxUSE_TASKBARICON" = "yes"; then
36711 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36712
36713 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36714
36715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36716 fi
36717
36718
36719 if test "$wxUSE_VALIDATORS" = "yes"; then
36720 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36721
36722 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36723 fi
36724
36725 if test "$wxUSE_PALETTE" = "yes" ; then
36726 if test "$wxUSE_DFB" = 1; then
36727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36728 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36729 wxUSE_PALETTE=no
36730 else
36731 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36732
36733 fi
36734 fi
36735
36736 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36737 LIBS=" -lunicows $LIBS"
36738 fi
36739
36740 USE_RICHTEXT=0
36741 if test "$wxUSE_RICHTEXT" = "yes"; then
36742 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36743
36744 USE_RICHTEXT=1
36745 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
36746 fi
36747
36748 if test "$wxUSE_WEBVIEW" = "yes"; then
36749 USE_WEBVIEW_WEBKIT=0
36750 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36751 if test "$wxUSE_GTK" = 1; then
36752 webkitgtk=webkit-1.0
36753 if test "$WXGTK3" = 1; then
36754 webkitgtk=webkitgtk-3.0
36755 fi
36756
36757 pkg_failed=no
36758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36759 $as_echo_n "checking for WEBKIT... " >&6; }
36760
36761 if test -n "$PKG_CONFIG"; then
36762 if test -n "$WEBKIT_CFLAGS"; then
36763 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
36764 else
36765 if test -n "$PKG_CONFIG" && \
36766 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36767 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36768 ac_status=$?
36769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36770 test $ac_status = 0; }; then
36771 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36772 else
36773 pkg_failed=yes
36774 fi
36775 fi
36776 else
36777 pkg_failed=untried
36778 fi
36779 if test -n "$PKG_CONFIG"; then
36780 if test -n "$WEBKIT_LIBS"; then
36781 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
36782 else
36783 if test -n "$PKG_CONFIG" && \
36784 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36785 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36786 ac_status=$?
36787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36788 test $ac_status = 0; }; then
36789 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36790 else
36791 pkg_failed=yes
36792 fi
36793 fi
36794 else
36795 pkg_failed=untried
36796 fi
36797
36798
36799
36800 if test $pkg_failed = yes; then
36801
36802 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36803 _pkg_short_errors_supported=yes
36804 else
36805 _pkg_short_errors_supported=no
36806 fi
36807 if test $_pkg_short_errors_supported = yes; then
36808 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36809 else
36810 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36811 fi
36812 # Put the nasty error message in config.log where it belongs
36813 echo "$WEBKIT_PKG_ERRORS" >&5
36814
36815
36816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36817 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36818
36819 elif test $pkg_failed = untried; then
36820
36821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36822 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36823
36824 else
36825 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
36826 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
36827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36828 $as_echo "yes" >&6; }
36829
36830 USE_WEBVIEW_WEBKIT=1
36831 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
36832 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36833
36834 fi
36835 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36836 old_CPPFLAGS="$CPPFLAGS"
36837 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36838 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36839 #include <Carbon/Carbon.h>
36840 #include <WebKit/WebKit.h>
36841
36842 "
36843 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36844
36845 USE_WEBVIEW_WEBKIT=1
36846 WEBKIT_LINK="-framework WebKit"
36847
36848 else
36849
36850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36851 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36852
36853 fi
36854
36855
36856 CPPFLAGS="$old_CPPFLAGS"
36857 fi
36858 fi
36859
36860 wxUSE_WEBVIEW="no"
36861 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36862 if test "$USE_WEBVIEW_WEBKIT" = 1; then
36863 wxUSE_WEBVIEW="yes"
36864 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36865
36866 else
36867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36868 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36869 fi
36870 elif test "$wxUSE_MSW" = 1; then
36871 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36872 wxUSE_WEBVIEW="yes"
36873 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36874
36875 fi
36876 fi
36877 fi
36878
36879 if test "$wxUSE_WEBVIEW" = "yes"; then
36880 USE_WEBVIEW=1
36881 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36882
36883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
36884 else
36885 USE_WEBVIEW=0
36886 fi
36887
36888
36889 if test "$wxUSE_IMAGE" = "yes" ; then
36890 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36891
36892
36893 if test "$wxUSE_GIF" = "yes" ; then
36894 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36895
36896 fi
36897
36898 if test "$wxUSE_PCX" = "yes" ; then
36899 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36900
36901 fi
36902
36903 if test "$wxUSE_TGA" = "yes" ; then
36904 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36905
36906 fi
36907
36908 if test "$wxUSE_IFF" = "yes" ; then
36909 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36910
36911 fi
36912
36913 if test "$wxUSE_PNM" = "yes" ; then
36914 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36915
36916 fi
36917
36918 if test "$wxUSE_XPM" = "yes" ; then
36919 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36920
36921 fi
36922
36923 if test "$wxUSE_ICO_CUR" = "yes" ; then
36924 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36925
36926 fi
36927 fi
36928
36929
36930 if test "$wxUSE_ABOUTDLG" = "yes"; then
36931 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36932
36933 fi
36934
36935 if test "$wxUSE_CHOICEDLG" = "yes"; then
36936 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36937
36938 fi
36939
36940 if test "$wxUSE_COLOURDLG" = "yes"; then
36941 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36942
36943 fi
36944
36945 if test "$wxUSE_FILEDLG" = "yes"; then
36946 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36947
36948 fi
36949
36950 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36951 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36952
36953 fi
36954
36955 if test "$wxUSE_FONTDLG" = "yes"; then
36956 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36957
36958 fi
36959
36960 if test "$wxUSE_DIRDLG" = "yes"; then
36961 if test "$wxUSE_TREECTRL" != "yes"; then
36962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36963 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36964 else
36965 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36966
36967 fi
36968 fi
36969
36970 if test "$wxUSE_MSGDLG" = "yes"; then
36971 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36972
36973 fi
36974
36975 if test "$wxUSE_NUMBERDLG" = "yes"; then
36976 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36977
36978 fi
36979
36980 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36981 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36982
36983 fi
36984
36985 if test "$wxUSE_SPLASH" = "yes"; then
36986 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36987
36988 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
36989 fi
36990
36991 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36992 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36993
36994 fi
36995
36996 if test "$wxUSE_TEXTDLG" = "yes"; then
36997 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
36998
36999 fi
37000
37001 if test "$wxUSE_WIZARDDLG" = "yes"; then
37002 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
37003
37004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37005 fi
37006
37007
37008 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
37009 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
37010 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
37011
37012 fi
37013 fi
37014
37015
37016 if test "$wxUSE_MSW" = 1 ; then
37017
37018 if test "$wxUSE_DC_CACHEING" = "yes"; then
37019 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
37020
37021 fi
37022
37023 if test "$wxUSE_DIB" = "yes"; then
37024 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
37025
37026 fi
37027
37028 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
37029 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
37030
37031 fi
37032
37033 if test "$wxUSE_UXTHEME" = "yes"; then
37034 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
37035
37036 fi
37037
37038 fi
37039
37040 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
37041 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
37042
37043 fi
37044
37045 if test "$USE_WIN32" = 1 ; then
37046 if test "$wxUSE_INICONF" = "yes"; then
37047 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
37048
37049 fi
37050
37051 if test "$wxUSE_REGKEY" = "yes"; then
37052 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
37053
37054 fi
37055 fi
37056
37057
37058 if test "$wxUSE_MAC" = 1; then
37059 wxUSE_GRAPHICS_CONTEXT="yes"
37060 fi
37061
37062 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
37063 wx_has_graphics=0
37064 if test "$wxUSE_MSW" = 1; then
37065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
37066 $as_echo_n "checking if GDI+ is available... " >&6; }
37067 if ${wx_cv_lib_gdiplus+:} false; then :
37068 $as_echo_n "(cached) " >&6
37069 else
37070
37071 ac_ext=cpp
37072 ac_cpp='$CXXCPP $CPPFLAGS'
37073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37076
37077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37078 /* end confdefs.h. */
37079 #include <windows.h>
37080 #include <gdiplus.h>
37081 int
37082 main ()
37083 {
37084
37085 using namespace Gdiplus;
37086
37087 ;
37088 return 0;
37089 }
37090 _ACEOF
37091 if ac_fn_cxx_try_compile "$LINENO"; then :
37092 wx_cv_lib_gdiplus=yes
37093 else
37094 wx_cv_lib_gdiplus=no
37095
37096 fi
37097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37098 ac_ext=c
37099 ac_cpp='$CPP $CPPFLAGS'
37100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37103
37104
37105
37106 fi
37107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
37108 $as_echo "$wx_cv_lib_gdiplus" >&6; }
37109 if test "$wx_cv_lib_gdiplus" = "yes"; then
37110 wx_has_graphics=1
37111 fi
37112 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
37113
37114 pkg_failed=no
37115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
37116 $as_echo_n "checking for CAIRO... " >&6; }
37117
37118 if test -n "$PKG_CONFIG"; then
37119 if test -n "$CAIRO_CFLAGS"; then
37120 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
37121 else
37122 if test -n "$PKG_CONFIG" && \
37123 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37124 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37125 ac_status=$?
37126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37127 test $ac_status = 0; }; then
37128 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
37129 else
37130 pkg_failed=yes
37131 fi
37132 fi
37133 else
37134 pkg_failed=untried
37135 fi
37136 if test -n "$PKG_CONFIG"; then
37137 if test -n "$CAIRO_LIBS"; then
37138 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
37139 else
37140 if test -n "$PKG_CONFIG" && \
37141 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37142 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37143 ac_status=$?
37144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37145 test $ac_status = 0; }; then
37146 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
37147 else
37148 pkg_failed=yes
37149 fi
37150 fi
37151 else
37152 pkg_failed=untried
37153 fi
37154
37155
37156
37157 if test $pkg_failed = yes; then
37158
37159 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37160 _pkg_short_errors_supported=yes
37161 else
37162 _pkg_short_errors_supported=no
37163 fi
37164 if test $_pkg_short_errors_supported = yes; then
37165 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
37166 else
37167 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
37168 fi
37169 # Put the nasty error message in config.log where it belongs
37170 echo "$CAIRO_PKG_ERRORS" >&5
37171
37172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37173 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37174
37175 elif test $pkg_failed = untried; then
37176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37177 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37178
37179 else
37180 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
37181 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
37182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37183 $as_echo "yes" >&6; }
37184 wx_has_graphics=1
37185 fi
37186 if test "$wx_has_graphics" = 1; then
37187 save_LIBS="$LIBS"
37188 LIBS="$LIBS $CAIRO_LIBS"
37189 for ac_func in cairo_push_group
37190 do :
37191 ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
37192 if test "x$ac_cv_func_cairo_push_group" = xyes; then :
37193 cat >>confdefs.h <<_ACEOF
37194 #define HAVE_CAIRO_PUSH_GROUP 1
37195 _ACEOF
37196
37197 fi
37198 done
37199
37200 LIBS="$save_LIBS"
37201 if test "$ac_cv_func_cairo_push_group" = "no"; then
37202 wx_has_graphics=0
37203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
37204 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
37205 else
37206 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
37207
37208
37209 if test "$wxUSE_GTK" != 1; then
37210 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
37211 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
37212 fi
37213 fi
37214 fi
37215 else
37216 wx_has_graphics=1
37217 fi
37218
37219 if test "$wx_has_graphics" = 1; then
37220 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37221
37222 else
37223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37224 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37225 fi
37226 fi
37227
37228
37229 USE_MEDIA=0
37230
37231 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37232 USE_MEDIA=1
37233
37234 if test "$wxUSE_GTK" = 1; then
37235 wxUSE_GSTREAMER="no"
37236
37237 GST_VERSION_MAJOR=0
37238 GST_VERSION_MINOR=10
37239 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37240
37241 if test "$wxUSE_GSTREAMER8" = "no"; then
37242
37243 pkg_failed=no
37244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37245 $as_echo_n "checking for GST... " >&6; }
37246
37247 if test -n "$PKG_CONFIG"; then
37248 if test -n "$GST_CFLAGS"; then
37249 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37250 else
37251 if test -n "$PKG_CONFIG" && \
37252 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37253 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37254 ac_status=$?
37255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37256 test $ac_status = 0; }; then
37257 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37258 else
37259 pkg_failed=yes
37260 fi
37261 fi
37262 else
37263 pkg_failed=untried
37264 fi
37265 if test -n "$PKG_CONFIG"; then
37266 if test -n "$GST_LIBS"; then
37267 pkg_cv_GST_LIBS="$GST_LIBS"
37268 else
37269 if test -n "$PKG_CONFIG" && \
37270 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37271 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37272 ac_status=$?
37273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37274 test $ac_status = 0; }; then
37275 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37276 else
37277 pkg_failed=yes
37278 fi
37279 fi
37280 else
37281 pkg_failed=untried
37282 fi
37283
37284
37285
37286 if test $pkg_failed = yes; then
37287
37288 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37289 _pkg_short_errors_supported=yes
37290 else
37291 _pkg_short_errors_supported=no
37292 fi
37293 if test $_pkg_short_errors_supported = yes; then
37294 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37295 else
37296 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37297 fi
37298 # Put the nasty error message in config.log where it belongs
37299 echo "$GST_PKG_ERRORS" >&5
37300
37301
37302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37303 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37304 GST_VERSION_MINOR=8
37305
37306
37307 elif test $pkg_failed = untried; then
37308
37309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37310 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37311 GST_VERSION_MINOR=8
37312
37313
37314 else
37315 GST_CFLAGS=$pkg_cv_GST_CFLAGS
37316 GST_LIBS=$pkg_cv_GST_LIBS
37317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37318 $as_echo "yes" >&6; }
37319
37320 wxUSE_GSTREAMER="yes"
37321 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37322
37323 fi
37324 else
37325 GST_VERSION_MINOR=8
37326 fi
37327
37328 if test $GST_VERSION_MINOR = "8"; then
37329 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37330
37331 pkg_failed=no
37332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37333 $as_echo_n "checking for GST... " >&6; }
37334
37335 if test -n "$PKG_CONFIG"; then
37336 if test -n "$GST_CFLAGS"; then
37337 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37338 else
37339 if test -n "$PKG_CONFIG" && \
37340 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37341 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37342 ac_status=$?
37343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37344 test $ac_status = 0; }; then
37345 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37346 else
37347 pkg_failed=yes
37348 fi
37349 fi
37350 else
37351 pkg_failed=untried
37352 fi
37353 if test -n "$PKG_CONFIG"; then
37354 if test -n "$GST_LIBS"; then
37355 pkg_cv_GST_LIBS="$GST_LIBS"
37356 else
37357 if test -n "$PKG_CONFIG" && \
37358 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37359 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37360 ac_status=$?
37361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37362 test $ac_status = 0; }; then
37363 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37364 else
37365 pkg_failed=yes
37366 fi
37367 fi
37368 else
37369 pkg_failed=untried
37370 fi
37371
37372
37373
37374 if test $pkg_failed = yes; then
37375
37376 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37377 _pkg_short_errors_supported=yes
37378 else
37379 _pkg_short_errors_supported=no
37380 fi
37381 if test $_pkg_short_errors_supported = yes; then
37382 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37383 else
37384 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37385 fi
37386 # Put the nasty error message in config.log where it belongs
37387 echo "$GST_PKG_ERRORS" >&5
37388
37389
37390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37391 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37392
37393 elif test $pkg_failed = untried; then
37394
37395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37396 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37397
37398 else
37399 GST_CFLAGS=$pkg_cv_GST_CFLAGS
37400 GST_LIBS=$pkg_cv_GST_LIBS
37401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37402 $as_echo "yes" >&6; }
37403 wxUSE_GSTREAMER="yes"
37404 fi
37405 fi
37406
37407
37408 if test "$wxUSE_GSTREAMER" = "yes"; then
37409 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
37410 EXTRALIBS_MEDIA="$GST_LIBS"
37411
37412 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37413
37414 else
37415 USE_MEDIA=0
37416 fi
37417
37418 elif test "$wxUSE_MAC" = 1; then
37419 GST_LIBS="-framework QTKit"
37420 fi
37421
37422 if test $USE_MEDIA = 1; then
37423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
37424 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37425
37426 else
37427 if test "$wxUSE_MEDIACTRL" = "yes"; then
37428 as_fn_error $? "GStreamer not available" "$LINENO" 5
37429 else
37430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37431 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37432 fi
37433 fi
37434 fi
37435
37436
37437 if test "$cross_compiling" != "no"; then
37438 OSINFO="\"$host\""
37439 else
37440 OSINFO=`uname -s -r -m`
37441 OSINFO="\"$OSINFO\""
37442 fi
37443
37444 cat >>confdefs.h <<_ACEOF
37445 #define WXWIN_OS_DESCRIPTION $OSINFO
37446 _ACEOF
37447
37448
37449
37450 if test "x$prefix" != "xNONE"; then
37451 wxPREFIX=$prefix
37452 else
37453 wxPREFIX=$ac_default_prefix
37454 fi
37455
37456 cat >>confdefs.h <<_ACEOF
37457 #define wxINSTALL_PREFIX "$wxPREFIX"
37458 _ACEOF
37459
37460
37461
37462
37463 STD_BASE_LIBS="base"
37464 STD_GUI_LIBS=""
37465 BUILT_WX_LIBS="base"
37466 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
37467
37468 if test "$wxUSE_SOCKETS" = "yes" ; then
37469 STD_BASE_LIBS="net $STD_BASE_LIBS"
37470 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
37471 fi
37472 if test "$wxUSE_XML" = "yes" ; then
37473 STD_BASE_LIBS="xml $STD_BASE_LIBS"
37474 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
37475 fi
37476
37477 if test "$wxUSE_GUI" = "yes"; then
37478 STD_GUI_LIBS="adv core"
37479 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
37480
37481 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37482 STD_GUI_LIBS="qa $STD_GUI_LIBS"
37483 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
37484 fi
37485 if test "$wxUSE_HTML" = "yes" ; then
37486 STD_GUI_LIBS="html $STD_GUI_LIBS"
37487 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
37488 fi
37489 if test "$wxUSE_MEDIACTRL" = "yes" ; then
37490 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
37491 fi
37492 if test "$wxUSE_OPENGL" = "yes" ; then
37493 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
37494 fi
37495 if test "$wxUSE_AUI" = "yes" ; then
37496 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
37497 fi
37498 if test "$wxUSE_PROPGRID" = "yes" ; then
37499 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
37500 fi
37501 if test "$wxUSE_RIBBON" = "yes" ; then
37502 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
37503 fi
37504 if test "$wxUSE_RICHTEXT" = "yes" ; then
37505 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
37506 fi
37507 if test "$wxUSE_STC" = "yes" ; then
37508 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
37509 fi
37510 if test "$wxUSE_WEBVIEW" = "yes" ; then
37511 STD_GUI_LIBS="webview $STD_GUI_LIBS"
37512 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
37513 fi
37514 if test "$wxUSE_XRC" = "yes" ; then
37515 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
37516 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
37517 fi
37518 fi
37519
37520
37521
37522
37523
37524
37525
37526 EXTRA_FRAMEWORKS=
37527 if test "$wxUSE_MAC" = 1 ; then
37528 if test "$USE_DARWIN" = 1; then
37529 if test "$wxUSE_OSX_IPHONE" = 1; then
37530 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37531 else
37532 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37533
37534
37535 if test "$cross_compiling" != "no"; then
37536 wx_cv_target_x86_64=no
37537 else
37538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37539 $as_echo_n "checking if we target only x86_64... " >&6; }
37540 if ${wx_cv_target_x86_64+:} false; then :
37541 $as_echo_n "(cached) " >&6
37542 else
37543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37544 /* end confdefs.h. */
37545 int main() { return 0; }
37546 _ACEOF
37547 if ac_fn_c_try_link "$LINENO"; then :
37548 if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
37549 wx_cv_target_x86_64=no
37550 else
37551 wx_cv_target_x86_64=yes
37552 fi
37553
37554 fi
37555 rm -f core conftest.err conftest.$ac_objext \
37556 conftest$ac_exeext conftest.$ac_ext
37557
37558 fi
37559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37560 $as_echo "$wx_cv_target_x86_64" >&6; }
37561 fi
37562
37563 if test "$wx_cv_target_x86_64" != "yes"; then
37564 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37565 fi
37566 fi
37567 fi
37568 fi
37569 if test "$wxUSE_OLD_COCOA" = 1 ; then
37570 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
37571 if test "$wxUSE_MEDIACTRL" = "yes"; then
37572 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37573 fi
37574 fi
37575 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37576 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37577 fi
37578
37579 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
37580 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37581
37582 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37583
37584 if test "$wxUSE_GUI" = "yes"; then
37585
37586
37587 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37588 erase event exec font image minimal preferences render \
37589 shaped svg taborder vscroll widgets wrapsizer"
37590
37591 if test "$wxUSE_MONOLITHIC" != "yes"; then
37592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37593 fi
37594 if test "$TOOLKIT" = "MSW"; then
37595 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
37596 if test "$wxUSE_UNIVERSAL" != "yes"; then
37597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37598 fi
37599 fi
37600 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37601 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
37602 fi
37603 else
37604 SAMPLES_SUBDIRS="console"
37605 if test "$wxUSE_SOCKETS" = "yes" ; then
37606 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37607 fi
37608 if test "$wxUSE_IPC" = "yes" ; then
37609 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
37610 fi
37611 fi
37612
37613
37614 if test "x$INTELCC" = "xyes" ; then
37615 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
37616 elif test "$GCC" = yes ; then
37617 CWARNINGS="-Wall -Wundef"
37618 fi
37619
37620 if test "x$INTELCXX" = "xyes" ; then
37621 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37622 elif test "$GXX" = yes ; then
37623 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37625 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37626 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false; then :
37627 $as_echo_n "(cached) " >&6
37628 else
37629 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
37630
37631 ac_ext=cpp
37632 ac_cpp='$CXXCPP $CPPFLAGS'
37633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37636
37637 ac_save_CXXFLAGS="$CXXFLAGS"
37638 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37639 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37641 /* end confdefs.h. */
37642
37643 int
37644 main ()
37645 {
37646 return 0;
37647 ;
37648 return 0;
37649 }
37650 _ACEOF
37651 if ac_fn_cxx_try_compile "$LINENO"; then :
37652 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37653 fi
37654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37655 done
37656 CXXFLAGS="$ac_save_CXXFLAGS"
37657 ac_ext=c
37658 ac_cpp='$CPP $CPPFLAGS'
37659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37662
37663
37664 fi
37665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37666 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37667 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37668 .ok|.ok,*) ;;
37669 .|.no|.no,*) ;;
37670 *)
37671 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
37672 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37673 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37674 ac_status=$?
37675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37676 test $ac_status = 0; }
37677 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37678 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37679 ac_status=$?
37680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37681 test $ac_status = 0; }
37682 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37683 fi
37684 ;;
37685 esac
37686
37687
37688 if test "$wxUSE_MAC" = 1 ; then
37689 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
37690 fi
37691 fi
37692
37693
37694 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
37695 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37696
37697
37698 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
37699 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37700 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37701 $CPPFLAGS `
37702
37703 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37704 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37705 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37706 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37707 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37708
37709 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37710
37711
37712 if test "x$MWCC" = "xyes"; then
37713
37714 CC="$CC -cwd source -I-"
37715 CXX="$CXX -cwd source -I-"
37716 fi
37717
37718
37719 LIBS=`echo $LIBS`
37720 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37721 EXTRALIBS_XML="$EXPAT_LINK"
37722 EXTRALIBS_HTML="$MSPACK_LINK"
37723 EXTRALIBS_MEDIA="$GST_LIBS"
37724 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37725 if test "$wxUSE_GUI" = "yes"; then
37726 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37727 fi
37728 if test "$wxUSE_OPENGL" = "yes"; then
37729 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37730 fi
37731
37732 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
37733
37734 WXCONFIG_LIBS="$LIBS"
37735
37736 if test "$wxUSE_REGEX" = "builtin" ; then
37737 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37738 fi
37739 if test "$wxUSE_EXPAT" = "builtin" ; then
37740 wxconfig_3rdparty="expat $wxconfig_3rdparty"
37741 fi
37742 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37743 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
37744 fi
37745 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37746 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
37747 fi
37748 if test "$wxUSE_LIBPNG" = "builtin" ; then
37749 wxconfig_3rdparty="png $wxconfig_3rdparty"
37750 fi
37751 if test "$wxUSE_ZLIB" = "builtin" ; then
37752 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
37753 fi
37754
37755 for i in $wxconfig_3rdparty ; do
37756 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37757 done
37758
37759
37760 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37761 WXUNIV=1
37762
37763 case "$wxUNIV_THEMES" in
37764 ''|all)
37765 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37766
37767 ;;
37768
37769 *)
37770 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37771 cat >>confdefs.h <<_ACEOF
37772 #define wxUSE_THEME_$t 1
37773 _ACEOF
37774
37775 done
37776 esac
37777 else
37778 WXUNIV=0
37779 fi
37780
37781
37782
37783
37784
37785
37786
37787
37788 if test $wxUSE_MONOLITHIC = "yes" ; then
37789 MONOLITHIC=1
37790 else
37791 MONOLITHIC=0
37792 fi
37793
37794 if test $wxUSE_PLUGINS = "yes" ; then
37795 USE_PLUGINS=1
37796 else
37797 USE_PLUGINS=0
37798 fi
37799
37800 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37801 USE_QA=1
37802 else
37803 USE_QA=0
37804 fi
37805
37806 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37807 OFFICIAL_BUILD=1
37808 else
37809 OFFICIAL_BUILD=0
37810 fi
37811
37812
37813
37814
37815
37816
37817
37818
37819
37820
37821
37822
37823
37824
37825
37826
37827
37828
37829
37830
37831
37832
37833
37834 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37835
37836
37837
37838
37839
37840
37841
37842
37843
37844
37845 case "$TOOLKIT" in
37846 GTK)
37847 TOOLKIT_DESC="GTK+"
37848 if test "$WXGTK2" = 1; then
37849 if test "$WXGTK3" = 1; then
37850 TOOLKIT_DESC="$TOOLKIT_DESC 3"
37851 else
37852 TOOLKIT_DESC="$TOOLKIT_DESC 2"
37853 fi
37854 if test "$wxUSE_GTKPRINT" = "yes" ; then
37855 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
37856 fi
37857 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37858 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
37859 fi
37860 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37861 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
37862 fi
37863 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
37864 TOOLKIT_EXTRA="$TOOLKIT_EXTRA libnotify"
37865 fi
37866 if test "$wxUSE_LIBHILDON" = "yes"; then
37867 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37868 fi
37869 if test "$wxUSE_LIBHILDON2" = "yes"; then
37870 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37871 fi
37872
37873 if test "$TOOLKIT_EXTRA" != ""; then
37874 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37875 fi
37876 fi
37877 ;;
37878
37879 ?*)
37880 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
37881 ;;
37882
37883 *)
37884 TOOLKIT_DESC="base only"
37885 ;;
37886 esac
37887
37888 if test "$wxUSE_WINE" = "yes"; then
37889 BAKEFILE_FORCE_PLATFORM=win32
37890 fi
37891
37892 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37893 then
37894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37895 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37896 if ${wx_cv_gcc_pch_bug+:} false; then :
37897 $as_echo_n "(cached) " >&6
37898 else
37899
37900 echo '#include <stdio.h>
37901 const wchar_t test_var[] = L"awidetest";' > conftest.h
37902
37903 echo '#include "conftest.h"
37904 int main()
37905 {
37906 printf("%ls", test_var);
37907 return 0;
37908 }' > conftest.cpp
37909
37910 wx_cv_gcc_pch_bug="pch not supported"
37911
37912 if $CXX conftest.h >/dev/null 2>&1
37913 then
37914 wx_cv_gcc_pch_bug=
37915
37916 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
37917 then
37918 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
37919 grep awidetest >/dev/null
37920 then
37921 wx_cv_gcc_pch_bug=no
37922 else
37923 wx_cv_gcc_pch_bug=yes
37924 fi
37925 fi
37926 fi
37927
37928 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
37929
37930 fi
37931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37932 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37933
37934 if test "$wx_cv_gcc_pch_bug" = yes; then
37935 bk_use_pch=no
37936 fi
37937 fi
37938
37939 # Find a good install program. We prefer a C program (faster),
37940 # so one script is as good as another. But avoid the broken or
37941 # incompatible versions:
37942 # SysV /etc/install, /usr/sbin/install
37943 # SunOS /usr/etc/install
37944 # IRIX /sbin/install
37945 # AIX /bin/install
37946 # AmigaOS /C/install, which installs bootblocks on floppy discs
37947 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37948 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37949 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37950 # OS/2's system install, which has a completely different semantic
37951 # ./install, which can be erroneously created by make from ./install.sh.
37952 # Reject install programs that cannot install multiple files.
37953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37954 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37955 if test -z "$INSTALL"; then
37956 if ${ac_cv_path_install+:} false; then :
37957 $as_echo_n "(cached) " >&6
37958 else
37959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37960 for as_dir in $PATH
37961 do
37962 IFS=$as_save_IFS
37963 test -z "$as_dir" && as_dir=.
37964 # Account for people who put trailing slashes in PATH elements.
37965 case $as_dir/ in #((
37966 ./ | .// | /[cC]/* | \
37967 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37968 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
37969 /usr/ucb/* ) ;;
37970 *)
37971 # OSF1 and SCO ODT 3.0 have their own names for install.
37972 # Don't use installbsd from OSF since it installs stuff as root
37973 # by default.
37974 for ac_prog in ginstall scoinst install; do
37975 for ac_exec_ext in '' $ac_executable_extensions; do
37976 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37977 if test $ac_prog = install &&
37978 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37979 # AIX install. It has an incompatible calling convention.
37980 :
37981 elif test $ac_prog = install &&
37982 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37983 # program-specific install script used by HP pwplus--don't use.
37984 :
37985 else
37986 rm -rf conftest.one conftest.two conftest.dir
37987 echo one > conftest.one
37988 echo two > conftest.two
37989 mkdir conftest.dir
37990 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
37991 test -s conftest.one && test -s conftest.two &&
37992 test -s conftest.dir/conftest.one &&
37993 test -s conftest.dir/conftest.two
37994 then
37995 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
37996 break 3
37997 fi
37998 fi
37999 fi
38000 done
38001 done
38002 ;;
38003 esac
38004
38005 done
38006 IFS=$as_save_IFS
38007
38008 rm -rf conftest.one conftest.two conftest.dir
38009
38010 fi
38011 if test "${ac_cv_path_install+set}" = set; then
38012 INSTALL=$ac_cv_path_install
38013 else
38014 # As a last resort, use the slow shell script. Don't cache a
38015 # value for INSTALL within a source directory, because that will
38016 # break other packages using the cache if that directory is
38017 # removed, or if the value is a relative name.
38018 INSTALL=$ac_install_sh
38019 fi
38020 fi
38021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
38022 $as_echo "$INSTALL" >&6; }
38023
38024 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38025 # It thinks the first close brace ends the variable substitution.
38026 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
38027
38028 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
38029
38030 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38031
38032
38033
38034
38035
38036
38037
38038 if test "x$BAKEFILE_HOST" = "x"; then
38039 if test "x${host}" = "x" ; then
38040 as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
38041 fi
38042
38043 BAKEFILE_HOST="${host}"
38044 fi
38045
38046 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38047
38048 if test -n "$ac_tool_prefix"; then
38049 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38050 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
38051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38052 $as_echo_n "checking for $ac_word... " >&6; }
38053 if ${ac_cv_prog_RANLIB+:} false; then :
38054 $as_echo_n "(cached) " >&6
38055 else
38056 if test -n "$RANLIB"; then
38057 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
38058 else
38059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38060 for as_dir in $PATH
38061 do
38062 IFS=$as_save_IFS
38063 test -z "$as_dir" && as_dir=.
38064 for ac_exec_ext in '' $ac_executable_extensions; do
38065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38066 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
38067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38068 break 2
38069 fi
38070 done
38071 done
38072 IFS=$as_save_IFS
38073
38074 fi
38075 fi
38076 RANLIB=$ac_cv_prog_RANLIB
38077 if test -n "$RANLIB"; then
38078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
38079 $as_echo "$RANLIB" >&6; }
38080 else
38081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38082 $as_echo "no" >&6; }
38083 fi
38084
38085
38086 fi
38087 if test -z "$ac_cv_prog_RANLIB"; then
38088 ac_ct_RANLIB=$RANLIB
38089 # Extract the first word of "ranlib", so it can be a program name with args.
38090 set dummy ranlib; ac_word=$2
38091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38092 $as_echo_n "checking for $ac_word... " >&6; }
38093 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
38094 $as_echo_n "(cached) " >&6
38095 else
38096 if test -n "$ac_ct_RANLIB"; then
38097 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
38098 else
38099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38100 for as_dir in $PATH
38101 do
38102 IFS=$as_save_IFS
38103 test -z "$as_dir" && as_dir=.
38104 for ac_exec_ext in '' $ac_executable_extensions; do
38105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38106 ac_cv_prog_ac_ct_RANLIB="ranlib"
38107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38108 break 2
38109 fi
38110 done
38111 done
38112 IFS=$as_save_IFS
38113
38114 fi
38115 fi
38116 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
38117 if test -n "$ac_ct_RANLIB"; then
38118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
38119 $as_echo "$ac_ct_RANLIB" >&6; }
38120 else
38121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38122 $as_echo "no" >&6; }
38123 fi
38124
38125 if test "x$ac_ct_RANLIB" = x; then
38126 RANLIB=":"
38127 else
38128 case $cross_compiling:$ac_tool_warned in
38129 yes:)
38130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38132 ac_tool_warned=yes ;;
38133 esac
38134 RANLIB=$ac_ct_RANLIB
38135 fi
38136 else
38137 RANLIB="$ac_cv_prog_RANLIB"
38138 fi
38139
38140
38141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
38142 $as_echo_n "checking whether ln -s works... " >&6; }
38143 LN_S=$as_ln_s
38144 if test "$LN_S" = "ln -s"; then
38145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38146 $as_echo "yes" >&6; }
38147 else
38148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
38149 $as_echo "no, using $LN_S" >&6; }
38150 fi
38151
38152
38153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38154 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
38155 set x ${MAKE-make}
38156 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
38157 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
38158 $as_echo_n "(cached) " >&6
38159 else
38160 cat >conftest.make <<\_ACEOF
38161 SHELL = /bin/sh
38162 all:
38163 @echo '@@@%%%=$(MAKE)=@@@%%%'
38164 _ACEOF
38165 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
38166 case `${MAKE-make} -f conftest.make 2>/dev/null` in
38167 *@@@%%%=?*=@@@%%%*)
38168 eval ac_cv_prog_make_${ac_make}_set=yes;;
38169 *)
38170 eval ac_cv_prog_make_${ac_make}_set=no;;
38171 esac
38172 rm -f conftest.make
38173 fi
38174 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
38175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38176 $as_echo "yes" >&6; }
38177 SET_MAKE=
38178 else
38179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38180 $as_echo "no" >&6; }
38181 SET_MAKE="MAKE=${MAKE-make}"
38182 fi
38183
38184
38185
38186 if test "x$SUNCXX" = "xyes"; then
38187 AR=$CXX
38188 AROPTIONS="-xar -o"
38189
38190 elif test "x$SGICC" = "xyes"; then
38191 AR=$CXX
38192 AROPTIONS="-ar -o"
38193
38194 else
38195 if test -n "$ac_tool_prefix"; then
38196 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38197 set dummy ${ac_tool_prefix}ar; ac_word=$2
38198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38199 $as_echo_n "checking for $ac_word... " >&6; }
38200 if ${ac_cv_prog_AR+:} false; then :
38201 $as_echo_n "(cached) " >&6
38202 else
38203 if test -n "$AR"; then
38204 ac_cv_prog_AR="$AR" # Let the user override the test.
38205 else
38206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38207 for as_dir in $PATH
38208 do
38209 IFS=$as_save_IFS
38210 test -z "$as_dir" && as_dir=.
38211 for ac_exec_ext in '' $ac_executable_extensions; do
38212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38213 ac_cv_prog_AR="${ac_tool_prefix}ar"
38214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38215 break 2
38216 fi
38217 done
38218 done
38219 IFS=$as_save_IFS
38220
38221 fi
38222 fi
38223 AR=$ac_cv_prog_AR
38224 if test -n "$AR"; then
38225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38226 $as_echo "$AR" >&6; }
38227 else
38228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38229 $as_echo "no" >&6; }
38230 fi
38231
38232
38233 fi
38234 if test -z "$ac_cv_prog_AR"; then
38235 ac_ct_AR=$AR
38236 # Extract the first word of "ar", so it can be a program name with args.
38237 set dummy ar; ac_word=$2
38238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38239 $as_echo_n "checking for $ac_word... " >&6; }
38240 if ${ac_cv_prog_ac_ct_AR+:} false; then :
38241 $as_echo_n "(cached) " >&6
38242 else
38243 if test -n "$ac_ct_AR"; then
38244 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38245 else
38246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38247 for as_dir in $PATH
38248 do
38249 IFS=$as_save_IFS
38250 test -z "$as_dir" && as_dir=.
38251 for ac_exec_ext in '' $ac_executable_extensions; do
38252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38253 ac_cv_prog_ac_ct_AR="ar"
38254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38255 break 2
38256 fi
38257 done
38258 done
38259 IFS=$as_save_IFS
38260
38261 fi
38262 fi
38263 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38264 if test -n "$ac_ct_AR"; then
38265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38266 $as_echo "$ac_ct_AR" >&6; }
38267 else
38268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38269 $as_echo "no" >&6; }
38270 fi
38271
38272 if test "x$ac_ct_AR" = x; then
38273 AR="ar"
38274 else
38275 case $cross_compiling:$ac_tool_warned in
38276 yes:)
38277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38279 ac_tool_warned=yes ;;
38280 esac
38281 AR=$ac_ct_AR
38282 fi
38283 else
38284 AR="$ac_cv_prog_AR"
38285 fi
38286
38287 AROPTIONS=rcu
38288 fi
38289
38290
38291 if test -n "$ac_tool_prefix"; then
38292 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38293 set dummy ${ac_tool_prefix}strip; ac_word=$2
38294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38295 $as_echo_n "checking for $ac_word... " >&6; }
38296 if ${ac_cv_prog_STRIP+:} false; then :
38297 $as_echo_n "(cached) " >&6
38298 else
38299 if test -n "$STRIP"; then
38300 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38301 else
38302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38303 for as_dir in $PATH
38304 do
38305 IFS=$as_save_IFS
38306 test -z "$as_dir" && as_dir=.
38307 for ac_exec_ext in '' $ac_executable_extensions; do
38308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38309 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38311 break 2
38312 fi
38313 done
38314 done
38315 IFS=$as_save_IFS
38316
38317 fi
38318 fi
38319 STRIP=$ac_cv_prog_STRIP
38320 if test -n "$STRIP"; then
38321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38322 $as_echo "$STRIP" >&6; }
38323 else
38324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38325 $as_echo "no" >&6; }
38326 fi
38327
38328
38329 fi
38330 if test -z "$ac_cv_prog_STRIP"; then
38331 ac_ct_STRIP=$STRIP
38332 # Extract the first word of "strip", so it can be a program name with args.
38333 set dummy strip; ac_word=$2
38334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38335 $as_echo_n "checking for $ac_word... " >&6; }
38336 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
38337 $as_echo_n "(cached) " >&6
38338 else
38339 if test -n "$ac_ct_STRIP"; then
38340 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38341 else
38342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38343 for as_dir in $PATH
38344 do
38345 IFS=$as_save_IFS
38346 test -z "$as_dir" && as_dir=.
38347 for ac_exec_ext in '' $ac_executable_extensions; do
38348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38349 ac_cv_prog_ac_ct_STRIP="strip"
38350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38351 break 2
38352 fi
38353 done
38354 done
38355 IFS=$as_save_IFS
38356
38357 fi
38358 fi
38359 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38360 if test -n "$ac_ct_STRIP"; then
38361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38362 $as_echo "$ac_ct_STRIP" >&6; }
38363 else
38364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38365 $as_echo "no" >&6; }
38366 fi
38367
38368 if test "x$ac_ct_STRIP" = x; then
38369 STRIP=":"
38370 else
38371 case $cross_compiling:$ac_tool_warned in
38372 yes:)
38373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38374 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38375 ac_tool_warned=yes ;;
38376 esac
38377 STRIP=$ac_ct_STRIP
38378 fi
38379 else
38380 STRIP="$ac_cv_prog_STRIP"
38381 fi
38382
38383 if test -n "$ac_tool_prefix"; then
38384 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38385 set dummy ${ac_tool_prefix}nm; ac_word=$2
38386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38387 $as_echo_n "checking for $ac_word... " >&6; }
38388 if ${ac_cv_prog_NM+:} false; then :
38389 $as_echo_n "(cached) " >&6
38390 else
38391 if test -n "$NM"; then
38392 ac_cv_prog_NM="$NM" # Let the user override the test.
38393 else
38394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38395 for as_dir in $PATH
38396 do
38397 IFS=$as_save_IFS
38398 test -z "$as_dir" && as_dir=.
38399 for ac_exec_ext in '' $ac_executable_extensions; do
38400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38401 ac_cv_prog_NM="${ac_tool_prefix}nm"
38402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38403 break 2
38404 fi
38405 done
38406 done
38407 IFS=$as_save_IFS
38408
38409 fi
38410 fi
38411 NM=$ac_cv_prog_NM
38412 if test -n "$NM"; then
38413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38414 $as_echo "$NM" >&6; }
38415 else
38416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38417 $as_echo "no" >&6; }
38418 fi
38419
38420
38421 fi
38422 if test -z "$ac_cv_prog_NM"; then
38423 ac_ct_NM=$NM
38424 # Extract the first word of "nm", so it can be a program name with args.
38425 set dummy nm; ac_word=$2
38426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38427 $as_echo_n "checking for $ac_word... " >&6; }
38428 if ${ac_cv_prog_ac_ct_NM+:} false; then :
38429 $as_echo_n "(cached) " >&6
38430 else
38431 if test -n "$ac_ct_NM"; then
38432 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38433 else
38434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38435 for as_dir in $PATH
38436 do
38437 IFS=$as_save_IFS
38438 test -z "$as_dir" && as_dir=.
38439 for ac_exec_ext in '' $ac_executable_extensions; do
38440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38441 ac_cv_prog_ac_ct_NM="nm"
38442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38443 break 2
38444 fi
38445 done
38446 done
38447 IFS=$as_save_IFS
38448
38449 fi
38450 fi
38451 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38452 if test -n "$ac_ct_NM"; then
38453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38454 $as_echo "$ac_ct_NM" >&6; }
38455 else
38456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38457 $as_echo "no" >&6; }
38458 fi
38459
38460 if test "x$ac_ct_NM" = x; then
38461 NM=":"
38462 else
38463 case $cross_compiling:$ac_tool_warned in
38464 yes:)
38465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38466 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38467 ac_tool_warned=yes ;;
38468 esac
38469 NM=$ac_ct_NM
38470 fi
38471 else
38472 NM="$ac_cv_prog_NM"
38473 fi
38474
38475
38476 INSTALL_DIR="mkdir -p"
38477
38478
38479 LDFLAGS_GUI=
38480 case ${BAKEFILE_HOST} in
38481 *-*-cygwin* | *-*-mingw32* )
38482 LDFLAGS_GUI="-mwindows"
38483 esac
38484
38485
38486 fi
38487
38488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38489 $as_echo_n "checking if make is GNU make... " >&6; }
38490 if ${bakefile_cv_prog_makeisgnu+:} false; then :
38491 $as_echo_n "(cached) " >&6
38492 else
38493
38494 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38495 egrep -s GNU > /dev/null); then
38496 bakefile_cv_prog_makeisgnu="yes"
38497 else
38498 bakefile_cv_prog_makeisgnu="no"
38499 fi
38500
38501 fi
38502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38503 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38504
38505 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38506 IF_GNU_MAKE=""
38507 else
38508 IF_GNU_MAKE="#"
38509 fi
38510
38511
38512
38513 PLATFORM_UNIX=0
38514 PLATFORM_WIN32=0
38515 PLATFORM_MSDOS=0
38516 PLATFORM_MAC=0
38517 PLATFORM_MACOS=0
38518 PLATFORM_MACOSX=0
38519 PLATFORM_OS2=0
38520 PLATFORM_BEOS=0
38521
38522 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38523 case "${BAKEFILE_HOST}" in
38524 *-*-mingw32* )
38525 PLATFORM_WIN32=1
38526 ;;
38527 *-pc-msdosdjgpp )
38528 PLATFORM_MSDOS=1
38529 ;;
38530 *-pc-os2_emx | *-pc-os2-emx )
38531 PLATFORM_OS2=1
38532 ;;
38533 *-*-darwin* )
38534 PLATFORM_MAC=1
38535 PLATFORM_MACOSX=1
38536 ;;
38537 *-*-beos* )
38538 PLATFORM_BEOS=1
38539 ;;
38540 powerpc-apple-macos* )
38541 PLATFORM_MAC=1
38542 PLATFORM_MACOS=1
38543 ;;
38544 * )
38545 PLATFORM_UNIX=1
38546 ;;
38547 esac
38548 else
38549 case "$BAKEFILE_FORCE_PLATFORM" in
38550 win32 )
38551 PLATFORM_WIN32=1
38552 ;;
38553 msdos )
38554 PLATFORM_MSDOS=1
38555 ;;
38556 os2 )
38557 PLATFORM_OS2=1
38558 ;;
38559 darwin )
38560 PLATFORM_MAC=1
38561 PLATFORM_MACOSX=1
38562 ;;
38563 unix )
38564 PLATFORM_UNIX=1
38565 ;;
38566 beos )
38567 PLATFORM_BEOS=1
38568 ;;
38569 * )
38570 as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38571 ;;
38572 esac
38573 fi
38574
38575
38576
38577
38578
38579
38580
38581
38582
38583
38584
38585 # Check whether --enable-omf was given.
38586 if test "${enable_omf+set}" = set; then :
38587 enableval=$enable_omf; bk_os2_use_omf="$enableval"
38588 fi
38589
38590
38591 case "${BAKEFILE_HOST}" in
38592 *-*-darwin* )
38593 if test "x$GCC" = "xyes"; then
38594 CFLAGS="$CFLAGS -fno-common"
38595 CXXFLAGS="$CXXFLAGS -fno-common"
38596 fi
38597 if test "x$XLCC" = "xyes"; then
38598 CFLAGS="$CFLAGS -qnocommon"
38599 CXXFLAGS="$CXXFLAGS -qnocommon"
38600 fi
38601 ;;
38602
38603 *-pc-os2_emx | *-pc-os2-emx )
38604 if test "x$bk_os2_use_omf" = "xyes" ; then
38605 AR=emxomfar
38606 RANLIB=:
38607 LDFLAGS="-Zomf $LDFLAGS"
38608 CFLAGS="-Zomf $CFLAGS"
38609 CXXFLAGS="-Zomf $CXXFLAGS"
38610 OS2_LIBEXT="lib"
38611 else
38612 OS2_LIBEXT="a"
38613 fi
38614 ;;
38615
38616 i*86-*-beos* )
38617 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
38618 ;;
38619 esac
38620
38621
38622 SO_SUFFIX="so"
38623 SO_SUFFIX_MODULE="so"
38624 EXEEXT=""
38625 LIBPREFIX="lib"
38626 LIBEXT=".a"
38627 DLLPREFIX="lib"
38628 DLLPREFIX_MODULE=""
38629 DLLIMP_SUFFIX=""
38630 dlldir="$libdir"
38631
38632 case "${BAKEFILE_HOST}" in
38633 ia64-hp-hpux* )
38634 ;;
38635 *-hp-hpux* )
38636 SO_SUFFIX="sl"
38637 SO_SUFFIX_MODULE="sl"
38638 ;;
38639 *-*-aix* )
38640 SO_SUFFIX="a"
38641 SO_SUFFIX_MODULE="a"
38642 ;;
38643 *-*-cygwin* )
38644 SO_SUFFIX="dll"
38645 SO_SUFFIX_MODULE="dll"
38646 DLLIMP_SUFFIX="dll.a"
38647 EXEEXT=".exe"
38648 DLLPREFIX="cyg"
38649 dlldir="$bindir"
38650 ;;
38651 *-*-mingw32* )
38652 SO_SUFFIX="dll"
38653 SO_SUFFIX_MODULE="dll"
38654 DLLIMP_SUFFIX="dll.a"
38655 EXEEXT=".exe"
38656 DLLPREFIX=""
38657 dlldir="$bindir"
38658 ;;
38659 *-pc-msdosdjgpp )
38660 EXEEXT=".exe"
38661 DLLPREFIX=""
38662 dlldir="$bindir"
38663 ;;
38664 *-pc-os2_emx | *-pc-os2-emx )
38665 SO_SUFFIX="dll"
38666 SO_SUFFIX_MODULE="dll"
38667 DLLIMP_SUFFIX=$OS2_LIBEXT
38668 EXEEXT=".exe"
38669 DLLPREFIX=""
38670 LIBPREFIX=""
38671 LIBEXT=".$OS2_LIBEXT"
38672 dlldir="$bindir"
38673 ;;
38674 *-*-darwin* )
38675 SO_SUFFIX="dylib"
38676 SO_SUFFIX_MODULE="bundle"
38677 ;;
38678 esac
38679
38680 if test "x$DLLIMP_SUFFIX" = "x" ; then
38681 DLLIMP_SUFFIX="$SO_SUFFIX"
38682 fi
38683
38684
38685
38686
38687
38688
38689
38690
38691
38692
38693
38694
38695 PIC_FLAG=""
38696 if test "x$GCC" = "xyes"; then
38697 PIC_FLAG="-fPIC"
38698 fi
38699
38700 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
38701 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
38702 WINDOWS_IMPLIB=0
38703
38704 case "${BAKEFILE_HOST}" in
38705 *-hp-hpux* )
38706 if test "x$GCC" != "xyes"; then
38707 LDFLAGS="$LDFLAGS -L/usr/lib"
38708
38709 SHARED_LD_CC="${CC} -b -o"
38710 SHARED_LD_CXX="${CXX} -b -o"
38711 PIC_FLAG="+Z"
38712 fi
38713 ;;
38714
38715 *-*-linux* )
38716 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38717 PIC_FLAG="-KPIC"
38718 elif test "x$SUNCXX" = "xyes"; then
38719 SHARED_LD_CC="${CC} -G -o"
38720 SHARED_LD_CXX="${CXX} -G -o"
38721 PIC_FLAG="-KPIC"
38722 fi
38723 ;;
38724
38725 *-*-solaris2* )
38726 if test "x$SUNCXX" = xyes ; then
38727 SHARED_LD_CC="${CC} -G -o"
38728 SHARED_LD_CXX="${CXX} -G -o"
38729 PIC_FLAG="-KPIC"
38730 fi
38731 ;;
38732
38733 *-*-darwin* )
38734
38735 D='$'
38736 cat <<EOF >shared-ld-sh
38737 #!/bin/sh
38738 #-----------------------------------------------------------------------------
38739 #-- Name: distrib/mac/shared-ld-sh
38740 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38741 #-- Author: Gilles Depeyrot
38742 #-- Copyright: (c) 2002 Gilles Depeyrot
38743 #-- Licence: any use permitted
38744 #-----------------------------------------------------------------------------
38745
38746 verbose=0
38747 args=""
38748 objects=""
38749 linking_flag="-dynamiclib"
38750 ldargs="-r -keep_private_externs -nostdlib"
38751
38752 if test "x${D}CXX" = "x"; then
38753 CXX="c++"
38754 fi
38755
38756 while test ${D}# -gt 0; do
38757 case ${D}1 in
38758
38759 -v)
38760 verbose=1
38761 ;;
38762
38763 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38764 # collect these options and values
38765 args="${D}{args} ${D}1 ${D}2"
38766 shift
38767 ;;
38768
38769 -arch|-isysroot)
38770 # collect these options and values
38771 ldargs="${D}{ldargs} ${D}1 ${D}2"
38772 shift
38773 ;;
38774
38775 -s|-Wl,*)
38776 # collect these load args
38777 ldargs="${D}{ldargs} ${D}1"
38778 ;;
38779
38780 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38781 # collect these options
38782 args="${D}{args} ${D}1"
38783 ;;
38784
38785 -dynamiclib|-bundle)
38786 linking_flag="${D}1"
38787 ;;
38788
38789 -*)
38790 echo "shared-ld: unhandled option '${D}1'"
38791 exit 1
38792 ;;
38793
38794 *.o | *.a | *.dylib)
38795 # collect object files
38796 objects="${D}{objects} ${D}1"
38797 ;;
38798
38799 *)
38800 echo "shared-ld: unhandled argument '${D}1'"
38801 exit 1
38802 ;;
38803
38804 esac
38805 shift
38806 done
38807
38808 status=0
38809
38810 #
38811 # Link one module containing all the others
38812 #
38813 if test ${D}{verbose} = 1; then
38814 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38815 fi
38816 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38817 status=${D}?
38818
38819 #
38820 # Link the shared library from the single module created, but only if the
38821 # previous command didn't fail:
38822 #
38823 if test ${D}{status} = 0; then
38824 if test ${D}{verbose} = 1; then
38825 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38826 fi
38827 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38828 status=${D}?
38829 fi
38830
38831 #
38832 # Remove intermediate module
38833 #
38834 rm -f master.${D}${D}.o
38835
38836 exit ${D}status
38837 EOF
38838
38839 chmod +x shared-ld-sh
38840
38841 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38842 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38843
38844
38845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38846 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38847 if ${bakefile_cv_gcc31+:} false; then :
38848 $as_echo_n "(cached) " >&6
38849 else
38850
38851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38852 /* end confdefs.h. */
38853
38854 int
38855 main ()
38856 {
38857
38858 #if (__GNUC__ < 3) || \
38859 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38860 This is old gcc
38861 #endif
38862
38863 ;
38864 return 0;
38865 }
38866 _ACEOF
38867 if ac_fn_c_try_compile "$LINENO"; then :
38868
38869 bakefile_cv_gcc31=yes
38870
38871 else
38872
38873 bakefile_cv_gcc31=no
38874
38875
38876 fi
38877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38878
38879 fi
38880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38881 $as_echo "$bakefile_cv_gcc31" >&6; }
38882 if test "$bakefile_cv_gcc31" = "no"; then
38883 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38884 SHARED_LD_CXX="$SHARED_LD_CC"
38885 else
38886 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38887 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38888 fi
38889
38890 if test "x$GCC" == "xyes"; then
38891 PIC_FLAG="-dynamic -fPIC"
38892 fi
38893 if test "x$XLCC" = "xyes"; then
38894 PIC_FLAG="-dynamic -DPIC"
38895 fi
38896 ;;
38897
38898 *-*-aix* )
38899 if test "x$GCC" = "xyes"; then
38900 PIC_FLAG=""
38901
38902 case "${BAKEFILE_HOST}" in
38903 *-*-aix5* )
38904 LD_EXPFULL="-Wl,-bexpfull"
38905 ;;
38906 esac
38907
38908 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
38909 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
38910 else
38911 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38912 set dummy makeC++SharedLib; ac_word=$2
38913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38914 $as_echo_n "checking for $ac_word... " >&6; }
38915 if ${ac_cv_prog_AIX_CXX_LD+:} false; then :
38916 $as_echo_n "(cached) " >&6
38917 else
38918 if test -n "$AIX_CXX_LD"; then
38919 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38920 else
38921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38922 for as_dir in $PATH
38923 do
38924 IFS=$as_save_IFS
38925 test -z "$as_dir" && as_dir=.
38926 for ac_exec_ext in '' $ac_executable_extensions; do
38927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38928 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38930 break 2
38931 fi
38932 done
38933 done
38934 IFS=$as_save_IFS
38935
38936 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38937 fi
38938 fi
38939 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38940 if test -n "$AIX_CXX_LD"; then
38941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38942 $as_echo "$AIX_CXX_LD" >&6; }
38943 else
38944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38945 $as_echo "no" >&6; }
38946 fi
38947
38948
38949 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38950 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38951 fi
38952 ;;
38953
38954 *-*-beos* )
38955 SHARED_LD_CC="${LD} -nostart -o"
38956 SHARED_LD_CXX="${LD} -nostart -o"
38957 ;;
38958
38959 *-*-irix* )
38960 if test "x$GCC" != "xyes"; then
38961 PIC_FLAG="-KPIC"
38962 fi
38963 ;;
38964
38965 *-*-cygwin* | *-*-mingw32* )
38966 PIC_FLAG=""
38967 SHARED_LD_CC="\$(CC) -shared -o"
38968 SHARED_LD_CXX="\$(CXX) -shared -o"
38969 WINDOWS_IMPLIB=1
38970 ;;
38971
38972 *-pc-os2_emx | *-pc-os2-emx )
38973 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38974 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38975 PIC_FLAG=""
38976
38977 D='$'
38978 cat <<EOF >dllar.sh
38979 #!/bin/sh
38980 #
38981 # dllar - a tool to build both a .dll and an .a file
38982 # from a set of object (.o) files for EMX/OS2.
38983 #
38984 # Written by Andrew Zabolotny, bit@freya.etu.ru
38985 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38986 #
38987 # This script will accept a set of files on the command line.
38988 # All the public symbols from the .o files will be exported into
38989 # a .DEF file, then linker will be run (through gcc) against them to
38990 # build a shared library consisting of all given .o files. All libraries
38991 # (.a) will be first decompressed into component .o files then act as
38992 # described above. You can optionally give a description (-d "description")
38993 # which will be put into .DLL. To see the list of accepted options (as well
38994 # as command-line format) simply run this program without options. The .DLL
38995 # is built to be imported by name (there is no guarantee that new versions
38996 # of the library you build will have same ordinals for same symbols).
38997 #
38998 # dllar is free software; you can redistribute it and/or modify
38999 # it under the terms of the GNU General Public License as published by
39000 # the Free Software Foundation; either version 2, or (at your option)
39001 # any later version.
39002 #
39003 # dllar is distributed in the hope that it will be useful,
39004 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39005 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39006 # GNU General Public License for more details.
39007 #
39008 # You should have received a copy of the GNU General Public License
39009 # along with dllar; see the file COPYING. If not, write to the Free
39010 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39011 # 02111-1307, USA.
39012
39013 # To successfuly run this program you will need:
39014 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39015 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39016 # - gcc
39017 # (used to build the .dll)
39018 # - emxexp
39019 # (used to create .def file from .o files)
39020 # - emximp
39021 # (used to create .a file from .def file)
39022 # - GNU text utilites (cat, sort, uniq)
39023 # used to process emxexp output
39024 # - GNU file utilities (mv, rm)
39025 # - GNU sed
39026 # - lxlite (optional, see flag below)
39027 # (used for general .dll cleanup)
39028 #
39029
39030 flag_USE_LXLITE=1;
39031
39032 #
39033 # helper functions
39034 # basnam, variant of basename, which does _not_ remove the path, _iff_
39035 # second argument (suffix to remove) is given
39036 basnam(){
39037 case ${D}# in
39038 1)
39039 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39040 ;;
39041 2)
39042 echo ${D}1 | sed 's/'${D}2'${D}//'
39043 ;;
39044 *)
39045 echo "error in basnam ${D}*"
39046 exit 8
39047 ;;
39048 esac
39049 }
39050
39051 # Cleanup temporary files and output
39052 CleanUp() {
39053 cd ${D}curDir
39054 for i in ${D}inputFiles ; do
39055 case ${D}i in
39056 *!)
39057 rm -rf \`basnam ${D}i !\`
39058 ;;
39059 *)
39060 ;;
39061 esac
39062 done
39063
39064 # Kill result in case of failure as there is just to many stupid make/nmake
39065 # things out there which doesn't do this.
39066 if [ ${D}# -eq 0 ]; then
39067 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39068 fi
39069 }
39070
39071 # Print usage and exit script with rc=1.
39072 PrintHelp() {
39073 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
39074 echo ' [-name-mangler-script script.sh]'
39075 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
39076 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
39077 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
39078 echo ' [*.o] [*.a]'
39079 echo '*> "output_file" should have no extension.'
39080 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39081 echo ' The import library name is derived from this and is set to "name".a,'
39082 echo ' unless overridden by -import'
39083 echo '*> "importlib_name" should have no extension.'
39084 echo ' If it has the .o, or .a extension, it is automatically removed.'
39085 echo ' This name is used as the import library name and may be longer and'
39086 echo ' more descriptive than the DLL name which has to follow the old '
39087 echo ' 8.3 convention of FAT.'
39088 echo '*> "script.sh may be given to override the output_file name by a'
39089 echo ' different name. It is mainly useful if the regular make process'
39090 echo ' of some package does not take into account OS/2 restriction of'
39091 echo ' DLL name lengths. It takes the importlib name as input and is'
39092 echo ' supposed to procude a shorter name as output. The script should'
39093 echo ' expect to get importlib_name without extension and should produce'
39094 echo ' a (max.) 8 letter name without extension.'
39095 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39096 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39097 echo ' These flags will be put at the start of GCC command line.'
39098 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
39099 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
39100 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39101 echo ' If the last character of a symbol is "*", all symbols beginning'
39102 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39103 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
39104 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39105 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
39106 echo ' C runtime DLLs.'
39107 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
39108 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39109 echo ' unchanged to GCC at the end of command line.'
39110 echo '*> If you create a DLL from a library and you do not specify -o,'
39111 echo ' the basename for DLL and import library will be set to library name,'
39112 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39113 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39114 echo ' library will be renamed into gcc_s.a.'
39115 echo '--------'
39116 echo 'Example:'
39117 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39118 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39119 CleanUp
39120 exit 1
39121 }
39122
39123 # Execute a command.
39124 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39125 # @Uses Whatever CleanUp() uses.
39126 doCommand() {
39127 echo "${D}*"
39128 eval ${D}*
39129 rcCmd=${D}?
39130
39131 if [ ${D}rcCmd -ne 0 ]; then
39132 echo "command failed, exit code="${D}rcCmd
39133 CleanUp
39134 exit ${D}rcCmd
39135 fi
39136 }
39137
39138 # main routine
39139 # setup globals
39140 cmdLine=${D}*
39141 outFile=""
39142 outimpFile=""
39143 inputFiles=""
39144 renameScript=""
39145 description=""
39146 CC=gcc.exe
39147 CFLAGS="-s -Zcrtdll"
39148 EXTRA_CFLAGS=""
39149 EXPORT_BY_ORDINALS=0
39150 exclude_symbols=""
39151 library_flags=""
39152 curDir=\`pwd\`
39153 curDirS=curDir
39154 case ${D}curDirS in
39155 */)
39156 ;;
39157 *)
39158 curDirS=${D}{curDirS}"/"
39159 ;;
39160 esac
39161 # Parse commandline
39162 libsToLink=0
39163 omfLinking=0
39164 while [ ${D}1 ]; do
39165 case ${D}1 in
39166 -ord*)
39167 EXPORT_BY_ORDINALS=1;
39168 ;;
39169 -o*)
39170 shift
39171 outFile=${D}1
39172 ;;
39173 -i*)
39174 shift
39175 outimpFile=${D}1
39176 ;;
39177 -name-mangler-script)
39178 shift
39179 renameScript=${D}1
39180 ;;
39181 -d*)
39182 shift
39183 description=${D}1
39184 ;;
39185 -f*)
39186 shift
39187 CFLAGS=${D}1
39188 ;;
39189 -c*)
39190 shift
39191 CC=${D}1
39192 ;;
39193 -h*)
39194 PrintHelp
39195 ;;
39196 -ex*)
39197 shift
39198 exclude_symbols=${D}{exclude_symbols}${D}1" "
39199 ;;
39200 -libf*)
39201 shift
39202 library_flags=${D}{library_flags}${D}1" "
39203 ;;
39204 -nocrt*)
39205 CFLAGS="-s"
39206 ;;
39207 -nolxl*)
39208 flag_USE_LXLITE=0
39209 ;;
39210 -* | /*)
39211 case ${D}1 in
39212 -L* | -l*)
39213 libsToLink=1
39214 ;;
39215 -Zomf)
39216 omfLinking=1
39217 ;;
39218 *)
39219 ;;
39220 esac
39221 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39222 ;;
39223 *.dll)
39224 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39225 if [ ${D}omfLinking -eq 1 ]; then
39226 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39227 else
39228 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39229 fi
39230 ;;
39231 *)
39232 found=0;
39233 if [ ${D}libsToLink -ne 0 ]; then
39234 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39235 else
39236 for file in ${D}1 ; do
39237 if [ -f ${D}file ]; then
39238 inputFiles="${D}{inputFiles} ${D}file"
39239 found=1
39240 fi
39241 done
39242 if [ ${D}found -eq 0 ]; then
39243 echo "ERROR: No file(s) found: "${D}1
39244 exit 8
39245 fi
39246 fi
39247 ;;
39248 esac
39249 shift
39250 done # iterate cmdline words
39251
39252 #
39253 if [ -z "${D}inputFiles" ]; then
39254 echo "dllar: no input files"
39255 PrintHelp
39256 fi
39257
39258 # Now extract all .o files from .a files
39259 newInputFiles=""
39260 for file in ${D}inputFiles ; do
39261 case ${D}file in
39262 *.a | *.lib)
39263 case ${D}file in
39264 *.a)
39265 suffix=".a"
39266 AR="ar"
39267 ;;
39268 *.lib)
39269 suffix=".lib"
39270 AR="emxomfar"
39271 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39272 ;;
39273 *)
39274 ;;
39275 esac
39276 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39277 mkdir ${D}dirname
39278 if [ ${D}? -ne 0 ]; then
39279 echo "Failed to create subdirectory ./${D}dirname"
39280 CleanUp
39281 exit 8;
39282 fi
39283 # Append '!' to indicate archive
39284 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39285 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39286 cd ${D}curDir
39287 found=0;
39288 for subfile in ${D}dirname/*.o* ; do
39289 if [ -f ${D}subfile ]; then
39290 found=1
39291 if [ -s ${D}subfile ]; then
39292 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39293 newInputFiles="${D}newInputFiles ${D}subfile"
39294 fi
39295 fi
39296 done
39297 if [ ${D}found -eq 0 ]; then
39298 echo "WARNING: there are no files in archive \\'${D}file\\'"
39299 fi
39300 ;;
39301 *)
39302 newInputFiles="${D}{newInputFiles} ${D}file"
39303 ;;
39304 esac
39305 done
39306 inputFiles="${D}newInputFiles"
39307
39308 # Output filename(s).
39309 do_backup=0;
39310 if [ -z ${D}outFile ]; then
39311 do_backup=1;
39312 set outFile ${D}inputFiles; outFile=${D}2
39313 fi
39314
39315 # If it is an archive, remove the '!' and the '_%' suffixes
39316 case ${D}outFile in
39317 *_%!)
39318 outFile=\`basnam ${D}outFile _%!\`
39319 ;;
39320 *)
39321 ;;
39322 esac
39323 case ${D}outFile in
39324 *.dll)
39325 outFile=\`basnam ${D}outFile .dll\`
39326 ;;
39327 *.DLL)
39328 outFile=\`basnam ${D}outFile .DLL\`
39329 ;;
39330 *.o)
39331 outFile=\`basnam ${D}outFile .o\`
39332 ;;
39333 *.obj)
39334 outFile=\`basnam ${D}outFile .obj\`
39335 ;;
39336 *.a)
39337 outFile=\`basnam ${D}outFile .a\`
39338 ;;
39339 *.lib)
39340 outFile=\`basnam ${D}outFile .lib\`
39341 ;;
39342 *)
39343 ;;
39344 esac
39345 case ${D}outimpFile in
39346 *.a)
39347 outimpFile=\`basnam ${D}outimpFile .a\`
39348 ;;
39349 *.lib)
39350 outimpFile=\`basnam ${D}outimpFile .lib\`
39351 ;;
39352 *)
39353 ;;
39354 esac
39355 if [ -z ${D}outimpFile ]; then
39356 outimpFile=${D}outFile
39357 fi
39358 defFile="${D}{outFile}.def"
39359 arcFile="${D}{outimpFile}.a"
39360 arcFile2="${D}{outimpFile}.lib"
39361
39362 #create ${D}dllFile as something matching 8.3 restrictions,
39363 if [ -z ${D}renameScript ] ; then
39364 dllFile="${D}outFile"
39365 else
39366 dllFile=\`${D}renameScript ${D}outimpFile\`
39367 fi
39368
39369 if [ ${D}do_backup -ne 0 ] ; then
39370 if [ -f ${D}arcFile ] ; then
39371 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39372 fi
39373 if [ -f ${D}arcFile2 ] ; then
39374 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39375 fi
39376 fi
39377
39378 # Extract public symbols from all the object files.
39379 tmpdefFile=${D}{defFile}_%
39380 rm -f ${D}tmpdefFile
39381 for file in ${D}inputFiles ; do
39382 case ${D}file in
39383 *!)
39384 ;;
39385 *)
39386 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39387 ;;
39388 esac
39389 done
39390
39391 # Create the def file.
39392 rm -f ${D}defFile
39393 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39394 dllFile="${D}{dllFile}.dll"
39395 if [ ! -z ${D}description ]; then
39396 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
39397 fi
39398 echo "EXPORTS" >> ${D}defFile
39399
39400 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39401 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39402
39403 # Checks if the export is ok or not.
39404 for word in ${D}exclude_symbols; do
39405 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39406 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39407 done
39408
39409
39410 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39411 sed "=" < ${D}tmpdefFile | \\
39412 sed '
39413 N
39414 : loop
39415 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39416 t loop
39417 ' > ${D}{tmpdefFile}%
39418 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39419 else
39420 rm -f ${D}{tmpdefFile}%
39421 fi
39422 cat ${D}tmpdefFile >> ${D}defFile
39423 rm -f ${D}tmpdefFile
39424
39425 # Do linking, create implib, and apply lxlite.
39426 gccCmdl="";
39427 for file in ${D}inputFiles ; do
39428 case ${D}file in
39429 *!)
39430 ;;
39431 *)
39432 gccCmdl="${D}gccCmdl ${D}file"
39433 ;;
39434 esac
39435 done
39436 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39437 touch "${D}{outFile}.dll"
39438
39439 doCommand "emximp -o ${D}arcFile ${D}defFile"
39440 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39441 add_flags="";
39442 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39443 add_flags="-ynd"
39444 fi
39445 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39446 fi
39447 doCommand "emxomf -s -l ${D}arcFile"
39448
39449 # Successful exit.
39450 CleanUp 1
39451 exit 0
39452 EOF
39453
39454 chmod +x dllar.sh
39455 ;;
39456
39457 powerpc-apple-macos* | \
39458 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
39459 *-*-mirbsd* | \
39460 *-*-sunos4* | \
39461 *-*-osf* | \
39462 *-*-dgux5* | \
39463 *-*-sysv5* | \
39464 *-pc-msdosdjgpp )
39465 ;;
39466
39467 *)
39468 as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
39469 esac
39470
39471 if test "x$PIC_FLAG" != "x" ; then
39472 PIC_FLAG="$PIC_FLAG -DPIC"
39473 fi
39474
39475 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39476 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39477 fi
39478 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39479 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39480 fi
39481
39482
39483
39484
39485
39486
39487
39488
39489
39490 USE_SOVERSION=0
39491 USE_SOVERLINUX=0
39492 USE_SOVERSOLARIS=0
39493 USE_SOVERCYGWIN=0
39494 USE_SOTWOSYMLINKS=0
39495 USE_MACVERSION=0
39496 SONAME_FLAG=
39497
39498 case "${BAKEFILE_HOST}" in
39499 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39500 *-*-k*bsd*-gnu | *-*-mirbsd* )
39501 if test "x$SUNCXX" = "xyes"; then
39502 SONAME_FLAG="-h "
39503 else
39504 SONAME_FLAG="-Wl,-soname,"
39505 fi
39506 USE_SOVERSION=1
39507 USE_SOVERLINUX=1
39508 USE_SOTWOSYMLINKS=1
39509 ;;
39510
39511 *-*-solaris2* )
39512 SONAME_FLAG="-h "
39513 USE_SOVERSION=1
39514 USE_SOVERSOLARIS=1
39515 ;;
39516
39517 *-*-darwin* )
39518 USE_MACVERSION=1
39519 USE_SOVERSION=1
39520 USE_SOTWOSYMLINKS=1
39521 ;;
39522
39523 *-*-cygwin* )
39524 USE_SOVERSION=1
39525 USE_SOVERCYGWIN=1
39526 ;;
39527 esac
39528
39529
39530
39531
39532
39533
39534
39535
39536
39537
39538 # Check whether --enable-dependency-tracking was given.
39539 if test "${enable_dependency_tracking+set}" = set; then :
39540 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
39541 fi
39542
39543
39544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39545 $as_echo_n "checking for dependency tracking method... " >&6; }
39546
39547 BK_DEPS=""
39548 if test "x$bk_use_trackdeps" = "xno" ; then
39549 DEPS_TRACKING=0
39550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39551 $as_echo "disabled" >&6; }
39552 else
39553 DEPS_TRACKING=1
39554
39555 if test "x$GCC" = "xyes"; then
39556 DEPSMODE=gcc
39557 DEPSFLAG="-MMD"
39558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39559 $as_echo "gcc" >&6; }
39560 elif test "x$MWCC" = "xyes"; then
39561 DEPSMODE=mwcc
39562 DEPSFLAG="-MM"
39563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39564 $as_echo "mwcc" >&6; }
39565 elif test "x$SUNCC" = "xyes"; then
39566 DEPSMODE=unixcc
39567 DEPSFLAG="-xM1"
39568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39569 $as_echo "Sun cc" >&6; }
39570 elif test "x$SGICC" = "xyes"; then
39571 DEPSMODE=unixcc
39572 DEPSFLAG="-M"
39573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39574 $as_echo "SGI cc" >&6; }
39575 elif test "x$HPCC" = "xyes"; then
39576 DEPSMODE=unixcc
39577 DEPSFLAG="+make"
39578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39579 $as_echo "HP cc" >&6; }
39580 elif test "x$COMPAQCC" = "xyes"; then
39581 DEPSMODE=gcc
39582 DEPSFLAG="-MD"
39583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39584 $as_echo "Compaq cc" >&6; }
39585 else
39586 DEPS_TRACKING=0
39587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39588 $as_echo "none" >&6; }
39589 fi
39590
39591 if test $DEPS_TRACKING = 1 ; then
39592
39593 D='$'
39594 cat <<EOF >bk-deps
39595 #!/bin/sh
39596
39597 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39598 # script. It is used to track C/C++ files dependencies in portable way.
39599 #
39600 # Permission is given to use this file in any way.
39601
39602 DEPSMODE=${DEPSMODE}
39603 DEPSFLAG="${DEPSFLAG}"
39604 DEPSDIRBASE=.deps
39605
39606 if test ${D}DEPSMODE = gcc ; then
39607 ${D}* ${D}{DEPSFLAG}
39608 status=${D}?
39609
39610 # determine location of created files:
39611 while test ${D}# -gt 0; do
39612 case "${D}1" in
39613 -o )
39614 shift
39615 objfile=${D}1
39616 ;;
39617 -* )
39618 ;;
39619 * )
39620 srcfile=${D}1
39621 ;;
39622 esac
39623 shift
39624 done
39625 objfilebase=\`basename ${D}objfile\`
39626 builddir=\`dirname ${D}objfile\`
39627 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39628 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39629 depsdir=${D}builddir/${D}DEPSDIRBASE
39630 mkdir -p ${D}depsdir
39631
39632 # if the compiler failed, we're done:
39633 if test ${D}{status} != 0 ; then
39634 rm -f ${D}depfile
39635 exit ${D}{status}
39636 fi
39637
39638 # move created file to the location we want it in:
39639 if test -f ${D}depfile ; then
39640 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39641 rm -f ${D}depfile
39642 else
39643 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39644 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39645 if test ! -f ${D}depfile ; then
39646 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39647 depfile="${D}objfile.d"
39648 fi
39649 if test -f ${D}depfile ; then
39650 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39651 rm -f ${D}depfile
39652 fi
39653 fi
39654 exit 0
39655
39656 elif test ${D}DEPSMODE = mwcc ; then
39657 ${D}* || exit ${D}?
39658 # Run mwcc again with -MM and redirect into the dep file we want
39659 # NOTE: We can't use shift here because we need ${D}* to be valid
39660 prevarg=
39661 for arg in ${D}* ; do
39662 if test "${D}prevarg" = "-o"; then
39663 objfile=${D}arg
39664 else
39665 case "${D}arg" in
39666 -* )
39667 ;;
39668 * )
39669 srcfile=${D}arg
39670 ;;
39671 esac
39672 fi
39673 prevarg="${D}arg"
39674 done
39675
39676 objfilebase=\`basename ${D}objfile\`
39677 builddir=\`dirname ${D}objfile\`
39678 depsdir=${D}builddir/${D}DEPSDIRBASE
39679 mkdir -p ${D}depsdir
39680
39681 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39682 exit 0
39683
39684 elif test ${D}DEPSMODE = unixcc; then
39685 ${D}* || exit ${D}?
39686 # Run compiler again with deps flag and redirect into the dep file.
39687 # It doesn't work if the '-o FILE' option is used, but without it the
39688 # dependency file will contain the wrong name for the object. So it is
39689 # removed from the command line, and the dep file is fixed with sed.
39690 cmd=""
39691 while test ${D}# -gt 0; do
39692 case "${D}1" in
39693 -o )
39694 shift
39695 objfile=${D}1
39696 ;;
39697 * )
39698 eval arg${D}#=\\${D}1
39699 cmd="${D}cmd \\${D}arg${D}#"
39700 ;;
39701 esac
39702 shift
39703 done
39704
39705 objfilebase=\`basename ${D}objfile\`
39706 builddir=\`dirname ${D}objfile\`
39707 depsdir=${D}builddir/${D}DEPSDIRBASE
39708 mkdir -p ${D}depsdir
39709
39710 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39711 exit 0
39712
39713 else
39714 ${D}*
39715 exit ${D}?
39716 fi
39717 EOF
39718
39719 chmod +x bk-deps
39720 BK_DEPS="`pwd`/bk-deps"
39721 fi
39722 fi
39723
39724
39725
39726
39727
39728 case ${BAKEFILE_HOST} in
39729 *-*-cygwin* | *-*-mingw32* )
39730 if test -n "$ac_tool_prefix"; then
39731 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39732 set dummy ${ac_tool_prefix}windres; ac_word=$2
39733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39734 $as_echo_n "checking for $ac_word... " >&6; }
39735 if ${ac_cv_prog_WINDRES+:} false; then :
39736 $as_echo_n "(cached) " >&6
39737 else
39738 if test -n "$WINDRES"; then
39739 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
39740 else
39741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39742 for as_dir in $PATH
39743 do
39744 IFS=$as_save_IFS
39745 test -z "$as_dir" && as_dir=.
39746 for ac_exec_ext in '' $ac_executable_extensions; do
39747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39748 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
39749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39750 break 2
39751 fi
39752 done
39753 done
39754 IFS=$as_save_IFS
39755
39756 fi
39757 fi
39758 WINDRES=$ac_cv_prog_WINDRES
39759 if test -n "$WINDRES"; then
39760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39761 $as_echo "$WINDRES" >&6; }
39762 else
39763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39764 $as_echo "no" >&6; }
39765 fi
39766
39767
39768 fi
39769 if test -z "$ac_cv_prog_WINDRES"; then
39770 ac_ct_WINDRES=$WINDRES
39771 # Extract the first word of "windres", so it can be a program name with args.
39772 set dummy windres; ac_word=$2
39773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39774 $as_echo_n "checking for $ac_word... " >&6; }
39775 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
39776 $as_echo_n "(cached) " >&6
39777 else
39778 if test -n "$ac_ct_WINDRES"; then
39779 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
39780 else
39781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39782 for as_dir in $PATH
39783 do
39784 IFS=$as_save_IFS
39785 test -z "$as_dir" && as_dir=.
39786 for ac_exec_ext in '' $ac_executable_extensions; do
39787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39788 ac_cv_prog_ac_ct_WINDRES="windres"
39789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39790 break 2
39791 fi
39792 done
39793 done
39794 IFS=$as_save_IFS
39795
39796 fi
39797 fi
39798 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
39799 if test -n "$ac_ct_WINDRES"; then
39800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39801 $as_echo "$ac_ct_WINDRES" >&6; }
39802 else
39803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39804 $as_echo "no" >&6; }
39805 fi
39806
39807 if test "x$ac_ct_WINDRES" = x; then
39808 WINDRES=""
39809 else
39810 case $cross_compiling:$ac_tool_warned in
39811 yes:)
39812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39813 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39814 ac_tool_warned=yes ;;
39815 esac
39816 WINDRES=$ac_ct_WINDRES
39817 fi
39818 else
39819 WINDRES="$ac_cv_prog_WINDRES"
39820 fi
39821
39822 ;;
39823
39824 *-*-darwin* | powerpc-apple-macos* )
39825 # Extract the first word of "Rez", so it can be a program name with args.
39826 set dummy Rez; ac_word=$2
39827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39828 $as_echo_n "checking for $ac_word... " >&6; }
39829 if ${ac_cv_prog_REZ+:} false; then :
39830 $as_echo_n "(cached) " >&6
39831 else
39832 if test -n "$REZ"; then
39833 ac_cv_prog_REZ="$REZ" # Let the user override the test.
39834 else
39835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39836 for as_dir in $PATH
39837 do
39838 IFS=$as_save_IFS
39839 test -z "$as_dir" && as_dir=.
39840 for ac_exec_ext in '' $ac_executable_extensions; do
39841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39842 ac_cv_prog_REZ="Rez"
39843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39844 break 2
39845 fi
39846 done
39847 done
39848 IFS=$as_save_IFS
39849
39850 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
39851 fi
39852 fi
39853 REZ=$ac_cv_prog_REZ
39854 if test -n "$REZ"; then
39855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39856 $as_echo "$REZ" >&6; }
39857 else
39858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39859 $as_echo "no" >&6; }
39860 fi
39861
39862
39863 # Extract the first word of "SetFile", so it can be a program name with args.
39864 set dummy SetFile; ac_word=$2
39865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39866 $as_echo_n "checking for $ac_word... " >&6; }
39867 if ${ac_cv_prog_SETFILE+:} false; then :
39868 $as_echo_n "(cached) " >&6
39869 else
39870 if test -n "$SETFILE"; then
39871 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39872 else
39873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39874 for as_dir in $PATH
39875 do
39876 IFS=$as_save_IFS
39877 test -z "$as_dir" && as_dir=.
39878 for ac_exec_ext in '' $ac_executable_extensions; do
39879 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39880 ac_cv_prog_SETFILE="SetFile"
39881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39882 break 2
39883 fi
39884 done
39885 done
39886 IFS=$as_save_IFS
39887
39888 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39889 fi
39890 fi
39891 SETFILE=$ac_cv_prog_SETFILE
39892 if test -n "$SETFILE"; then
39893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39894 $as_echo "$SETFILE" >&6; }
39895 else
39896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39897 $as_echo "no" >&6; }
39898 fi
39899
39900
39901 ;;
39902 esac
39903
39904
39905
39906
39907
39908
39909
39910
39911
39912 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
39913
39914
39915 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
39916
39917
39918
39919 # Check whether --enable-precomp-headers was given.
39920 if test "${enable_precomp_headers+set}" = set; then :
39921 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
39922 fi
39923
39924
39925 GCC_PCH=0
39926 ICC_PCH=0
39927 USE_PCH=0
39928 BK_MAKE_PCH=""
39929
39930 case ${BAKEFILE_HOST} in
39931 *-*-cygwin* )
39932 bk_use_pch="no"
39933 ;;
39934 esac
39935
39936 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39937 if test "x$GCC" = "xyes"; then
39938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39939 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39941 /* end confdefs.h. */
39942
39943 int
39944 main ()
39945 {
39946
39947 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39948 There is no PCH support
39949 #endif
39950 #if (__GNUC__ < 3)
39951 There is no PCH support
39952 #endif
39953 #if (__GNUC__ == 3) && \
39954 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39955 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39956 ( defined(__INTEL_COMPILER) )
39957 There is no PCH support
39958 #endif
39959
39960 ;
39961 return 0;
39962 }
39963 _ACEOF
39964 if ac_fn_c_try_compile "$LINENO"; then :
39965
39966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39967 $as_echo "yes" >&6; }
39968 GCC_PCH=1
39969
39970 else
39971
39972 if test "$INTELCXX8" = "yes"; then
39973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39974 $as_echo "yes" >&6; }
39975 ICC_PCH=1
39976 if test "$INTELCXX10" = "yes"; then
39977 ICC_PCH_CREATE_SWITCH="-pch-create"
39978 ICC_PCH_USE_SWITCH="-pch-use"
39979 else
39980 ICC_PCH_CREATE_SWITCH="-create-pch"
39981 ICC_PCH_USE_SWITCH="-use-pch"
39982 fi
39983 else
39984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39985 $as_echo "no" >&6; }
39986 fi
39987
39988 fi
39989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39990 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39991 USE_PCH=1
39992
39993 D='$'
39994 cat <<EOF >bk-make-pch
39995 #!/bin/sh
39996
39997 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39998 # script. It is used to generated precompiled headers.
39999 #
40000 # Permission is given to use this file in any way.
40001
40002 outfile="${D}{1}"
40003 header="${D}{2}"
40004 shift
40005 shift
40006
40007 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
40008
40009 compiler=""
40010 headerfile=""
40011
40012 while test ${D}{#} -gt 0; do
40013 add_to_cmdline=1
40014 case "${D}{1}" in
40015 -I* )
40016 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40017 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40018 headerfile="${D}{incdir}/${D}{header}"
40019 fi
40020 ;;
40021 -use-pch|-use_pch|-pch-use )
40022 shift
40023 add_to_cmdline=0
40024 ;;
40025 esac
40026 if test ${D}add_to_cmdline = 1 ; then
40027 compiler="${D}{compiler} ${D}{1}"
40028 fi
40029 shift
40030 done
40031
40032 if test "x${D}{headerfile}" = "x" ; then
40033 echo "error: can't find header ${D}{header} in include paths" >&2
40034 else
40035 if test -f ${D}{outfile} ; then
40036 rm -f ${D}{outfile}
40037 else
40038 mkdir -p \`dirname ${D}{outfile}\`
40039 fi
40040 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40041 mkdir -p ${D}{builddir}/.deps
40042 if test "x${GCC_PCH}" = "x1" ; then
40043 # can do this because gcc is >= 3.4:
40044 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40045 elif test "x${ICC_PCH}" = "x1" ; then
40046 filename=pch_gen-${D}${D}
40047 file=${D}{filename}.c
40048 dfile=${D}{filename}.d
40049 cat > ${D}file <<EOT
40050 #include "${D}header"
40051 EOT
40052 # using -MF icc complains about differing command lines in creation/use
40053 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
40054 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
40055 rm -f ${D}file ${D}dfile ${D}{filename}.o
40056 fi
40057 exit ${D}{?}
40058 fi
40059 EOF
40060
40061 chmod +x bk-make-pch
40062 BK_MAKE_PCH="`pwd`/bk-make-pch"
40063 fi
40064 fi
40065 fi
40066
40067
40068
40069
40070
40071
40072
40073 COND_BUILD_DEBUG="#"
40074 if test "x$BUILD" = "xdebug" ; then
40075 COND_BUILD_DEBUG=""
40076 fi
40077
40078 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
40079 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40080 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
40081 fi
40082
40083 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
40084 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40085 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
40086 fi
40087
40088 COND_BUILD_DEBUG_UNICODE_0="#"
40089 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40090 COND_BUILD_DEBUG_UNICODE_0=""
40091 fi
40092
40093 COND_BUILD_DEBUG_UNICODE_1="#"
40094 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40095 COND_BUILD_DEBUG_UNICODE_1=""
40096 fi
40097
40098 COND_BUILD_RELEASE="#"
40099 if test "x$BUILD" = "xrelease" ; then
40100 COND_BUILD_RELEASE=""
40101 fi
40102
40103 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
40104 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40105 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
40106 fi
40107
40108 COND_BUILD_RELEASE_UNICODE_0="#"
40109 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40110 COND_BUILD_RELEASE_UNICODE_0=""
40111 fi
40112
40113 COND_BUILD_RELEASE_UNICODE_1="#"
40114 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40115 COND_BUILD_RELEASE_UNICODE_1=""
40116 fi
40117
40118 COND_BUILD_debug="#"
40119 if test "x$BUILD" = "xdebug" ; then
40120 COND_BUILD_debug=""
40121 fi
40122
40123 COND_BUILD_debug_DEBUG_FLAG_default="#"
40124 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40125 COND_BUILD_debug_DEBUG_FLAG_default=""
40126 fi
40127
40128 COND_BUILD_debug_DEBUG_INFO_default="#"
40129 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40130 COND_BUILD_debug_DEBUG_INFO_default=""
40131 fi
40132
40133 COND_BUILD_debug_UNICODE_0="#"
40134 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40135 COND_BUILD_debug_UNICODE_0=""
40136 fi
40137
40138 COND_BUILD_debug_UNICODE_1="#"
40139 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40140 COND_BUILD_debug_UNICODE_1=""
40141 fi
40142
40143 COND_BUILD_release="#"
40144 if test "x$BUILD" = "xrelease" ; then
40145 COND_BUILD_release=""
40146 fi
40147
40148 COND_BUILD_release_DEBUG_INFO_default="#"
40149 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40150 COND_BUILD_release_DEBUG_INFO_default=""
40151 fi
40152
40153 COND_BUILD_release_UNICODE_0="#"
40154 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40155 COND_BUILD_release_UNICODE_0=""
40156 fi
40157
40158 COND_BUILD_release_UNICODE_1="#"
40159 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40160 COND_BUILD_release_UNICODE_1=""
40161 fi
40162
40163 COND_DEBUG_FLAG_0="#"
40164 if test "x$DEBUG_FLAG" = "x0" ; then
40165 COND_DEBUG_FLAG_0=""
40166 fi
40167
40168 COND_DEBUG_FLAG_1="#"
40169 if test "x$DEBUG_FLAG" = "x1" ; then
40170 COND_DEBUG_FLAG_1=""
40171 fi
40172
40173 COND_DEBUG_INFO_0="#"
40174 if test "x$DEBUG_INFO" = "x0" ; then
40175 COND_DEBUG_INFO_0=""
40176 fi
40177
40178 COND_DEBUG_INFO_1="#"
40179 if test "x$DEBUG_INFO" = "x1" ; then
40180 COND_DEBUG_INFO_1=""
40181 fi
40182
40183 COND_DEPS_TRACKING_0="#"
40184 if test "x$DEPS_TRACKING" = "x0" ; then
40185 COND_DEPS_TRACKING_0=""
40186 fi
40187
40188 COND_DEPS_TRACKING_1="#"
40189 if test "x$DEPS_TRACKING" = "x1" ; then
40190 COND_DEPS_TRACKING_1=""
40191 fi
40192
40193 COND_GCC_PCH_1="#"
40194 if test "x$GCC_PCH" = "x1" ; then
40195 COND_GCC_PCH_1=""
40196 fi
40197
40198 COND_ICC_PCH_1="#"
40199 if test "x$ICC_PCH" = "x1" ; then
40200 COND_ICC_PCH_1=""
40201 fi
40202
40203 COND_MONOLITHIC_0="#"
40204 if test "x$MONOLITHIC" = "x0" ; then
40205 COND_MONOLITHIC_0=""
40206 fi
40207
40208 COND_MONOLITHIC_0_SHARED_0="#"
40209 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40210 COND_MONOLITHIC_0_SHARED_0=""
40211 fi
40212
40213 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
40214 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40215 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
40216 fi
40217
40218 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40219 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40220 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40221 fi
40222
40223 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
40224 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40225 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
40226 fi
40227
40228 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
40229 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40230 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
40231 fi
40232
40233 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
40234 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40235 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
40236 fi
40237
40238 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
40239 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40240 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
40241 fi
40242
40243 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
40244 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40245 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
40246 fi
40247
40248 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
40249 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40250 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
40251 fi
40252
40253 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
40254 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40255 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
40256 fi
40257
40258 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
40259 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40260 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
40261 fi
40262
40263 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40264 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40265 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40266 fi
40267
40268 COND_MONOLITHIC_0_SHARED_1="#"
40269 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40270 COND_MONOLITHIC_0_SHARED_1=""
40271 fi
40272
40273 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
40274 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40275 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
40276 fi
40277
40278 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40279 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40280 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40281 fi
40282
40283 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
40284 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40285 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
40286 fi
40287
40288 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
40289 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40290 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
40291 fi
40292
40293 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
40294 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40295 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
40296 fi
40297
40298 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
40299 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40300 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
40301 fi
40302
40303 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
40304 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40305 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
40306 fi
40307
40308 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
40309 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40310 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
40311 fi
40312
40313 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
40314 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40315 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
40316 fi
40317
40318 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
40319 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40320 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
40321 fi
40322
40323 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40324 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40325 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40326 fi
40327
40328 COND_MONOLITHIC_0_USE_AUI_1="#"
40329 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40330 COND_MONOLITHIC_0_USE_AUI_1=""
40331 fi
40332
40333 COND_MONOLITHIC_0_USE_GUI_1="#"
40334 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40335 COND_MONOLITHIC_0_USE_GUI_1=""
40336 fi
40337
40338 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
40339 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40340 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
40341 fi
40342
40343 COND_MONOLITHIC_0_USE_HTML_1="#"
40344 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40345 COND_MONOLITHIC_0_USE_HTML_1=""
40346 fi
40347
40348 COND_MONOLITHIC_0_USE_MEDIA_1="#"
40349 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40350 COND_MONOLITHIC_0_USE_MEDIA_1=""
40351 fi
40352
40353 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
40354 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40355 COND_MONOLITHIC_0_USE_PROPGRID_1=""
40356 fi
40357
40358 COND_MONOLITHIC_0_USE_QA_1="#"
40359 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40360 COND_MONOLITHIC_0_USE_QA_1=""
40361 fi
40362
40363 COND_MONOLITHIC_0_USE_RIBBON_1="#"
40364 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40365 COND_MONOLITHIC_0_USE_RIBBON_1=""
40366 fi
40367
40368 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
40369 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40370 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
40371 fi
40372
40373 COND_MONOLITHIC_0_USE_STC_1="#"
40374 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40375 COND_MONOLITHIC_0_USE_STC_1=""
40376 fi
40377
40378 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
40379 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40380 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
40381 fi
40382
40383 COND_MONOLITHIC_0_USE_XRC_1="#"
40384 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40385 COND_MONOLITHIC_0_USE_XRC_1=""
40386 fi
40387
40388 COND_MONOLITHIC_1="#"
40389 if test "x$MONOLITHIC" = "x1" ; then
40390 COND_MONOLITHIC_1=""
40391 fi
40392
40393 COND_MONOLITHIC_1_SHARED_0="#"
40394 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40395 COND_MONOLITHIC_1_SHARED_0=""
40396 fi
40397
40398 COND_MONOLITHIC_1_SHARED_1="#"
40399 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40400 COND_MONOLITHIC_1_SHARED_1=""
40401 fi
40402
40403 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40404 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40405 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40406 fi
40407
40408 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40409 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40410 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40411 fi
40412
40413 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
40414 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40415 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
40416 fi
40417
40418 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40419 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40420 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40421 fi
40422
40423 COND_PLATFORM_MACOSX_1="#"
40424 if test "x$PLATFORM_MACOSX" = "x1" ; then
40425 COND_PLATFORM_MACOSX_1=""
40426 fi
40427
40428 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
40429 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40430 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
40431 fi
40432
40433 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
40434 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40435 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
40436 fi
40437
40438 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40439 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40440 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40441 fi
40442
40443 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40444 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40445 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40446 fi
40447
40448 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40449 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40450 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40451 fi
40452
40453 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40454 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40455 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40456 fi
40457
40458 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40459 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40460 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40461 fi
40462
40463 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
40464 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40465 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
40466 fi
40467
40468 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40469 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40470 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40471 fi
40472
40473 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
40474 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40475 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
40476 fi
40477
40478 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40479 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40480 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40481 fi
40482
40483 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40484 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40485 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40486 fi
40487
40488 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40489 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40490 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40491 fi
40492
40493 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
40494 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40495 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
40496 fi
40497
40498 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40499 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40500 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40501 fi
40502
40503 COND_PLATFORM_MACOS_1="#"
40504 if test "x$PLATFORM_MACOS" = "x1" ; then
40505 COND_PLATFORM_MACOS_1=""
40506 fi
40507
40508 COND_PLATFORM_MAC_0="#"
40509 if test "x$PLATFORM_MAC" = "x0" ; then
40510 COND_PLATFORM_MAC_0=""
40511 fi
40512
40513 COND_PLATFORM_MAC_1="#"
40514 if test "x$PLATFORM_MAC" = "x1" ; then
40515 COND_PLATFORM_MAC_1=""
40516 fi
40517
40518 COND_PLATFORM_MSDOS_0="#"
40519 if test "x$PLATFORM_MSDOS" = "x0" ; then
40520 COND_PLATFORM_MSDOS_0=""
40521 fi
40522
40523 COND_PLATFORM_MSDOS_1="#"
40524 if test "x$PLATFORM_MSDOS" = "x1" ; then
40525 COND_PLATFORM_MSDOS_1=""
40526 fi
40527
40528 COND_PLATFORM_OS2_1="#"
40529 if test "x$PLATFORM_OS2" = "x1" ; then
40530 COND_PLATFORM_OS2_1=""
40531 fi
40532
40533 COND_PLATFORM_UNIX_0="#"
40534 if test "x$PLATFORM_UNIX" = "x0" ; then
40535 COND_PLATFORM_UNIX_0=""
40536 fi
40537
40538 COND_PLATFORM_UNIX_1="#"
40539 if test "x$PLATFORM_UNIX" = "x1" ; then
40540 COND_PLATFORM_UNIX_1=""
40541 fi
40542
40543 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40544 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40545 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40546 fi
40547
40548 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40549 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40550 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40551 fi
40552
40553 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40554 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40555 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40556 fi
40557
40558 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40559 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40560 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40561 fi
40562
40563 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40564 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40565 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40566 fi
40567
40568 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40569 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40570 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40571 fi
40572
40573 COND_PLATFORM_WIN32_0="#"
40574 if test "x$PLATFORM_WIN32" = "x0" ; then
40575 COND_PLATFORM_WIN32_0=""
40576 fi
40577
40578 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40579 if test "x$PLATFORM_WIN32" = "x0" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40580 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40581 fi
40582
40583 COND_PLATFORM_WIN32_1="#"
40584 if test "x$PLATFORM_WIN32" = "x1" ; then
40585 COND_PLATFORM_WIN32_1=""
40586 fi
40587
40588 COND_PLATFORM_WIN32_1_SHARED_0="#"
40589 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40590 COND_PLATFORM_WIN32_1_SHARED_0=""
40591 fi
40592
40593 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40594 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40595 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40596 fi
40597
40598 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40599 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40600 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40601 fi
40602
40603 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40604 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40605 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40606 fi
40607
40608 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40609 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40610 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40611 fi
40612
40613 COND_SHARED_0="#"
40614 if test "x$SHARED" = "x0" ; then
40615 COND_SHARED_0=""
40616 fi
40617
40618 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40619 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40620 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40621 fi
40622
40623 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40624 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40625 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40626 fi
40627
40628 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40629 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40630 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40631 fi
40632
40633 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40634 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40635 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40636 fi
40637
40638 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40639 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40640 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40641 fi
40642
40643 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40644 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40645 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40646 fi
40647
40648 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40649 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40650 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40651 fi
40652
40653 COND_SHARED_0_USE_STC_1="#"
40654 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40655 COND_SHARED_0_USE_STC_1=""
40656 fi
40657
40658 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
40659 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40660 COND_SHARED_0_wxUSE_EXPAT_builtin=""
40661 fi
40662
40663 COND_SHARED_0_wxUSE_REGEX_builtin="#"
40664 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40665 COND_SHARED_0_wxUSE_REGEX_builtin=""
40666 fi
40667
40668 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
40669 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40670 COND_SHARED_0_wxUSE_ZLIB_builtin=""
40671 fi
40672
40673 COND_SHARED_1="#"
40674 if test "x$SHARED" = "x1" ; then
40675 COND_SHARED_1=""
40676 fi
40677
40678 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40679 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40680 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40681 fi
40682
40683 COND_TOOLKIT_="#"
40684 if test "x$TOOLKIT" = "x" ; then
40685 COND_TOOLKIT_=""
40686 fi
40687
40688 COND_TOOLKIT_COCOA="#"
40689 if test "x$TOOLKIT" = "xCOCOA" ; then
40690 COND_TOOLKIT_COCOA=""
40691 fi
40692
40693 COND_TOOLKIT_COCOA_USE_GUI_1="#"
40694 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40695 COND_TOOLKIT_COCOA_USE_GUI_1=""
40696 fi
40697
40698 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40699 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40700 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40701 fi
40702
40703 COND_TOOLKIT_DFB="#"
40704 if test "x$TOOLKIT" = "xDFB" ; then
40705 COND_TOOLKIT_DFB=""
40706 fi
40707
40708 COND_TOOLKIT_DFB_USE_GUI_1="#"
40709 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40710 COND_TOOLKIT_DFB_USE_GUI_1=""
40711 fi
40712
40713 COND_TOOLKIT_GTK="#"
40714 if test "x$TOOLKIT" = "xGTK" ; then
40715 COND_TOOLKIT_GTK=""
40716 fi
40717
40718 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
40719 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40720 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
40721 fi
40722
40723 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40724 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40725 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40726 fi
40727
40728 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40729 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40730 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40731 fi
40732
40733 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
40734 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40735 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
40736 fi
40737
40738 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1="#"
40739 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40740 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1=""
40741 fi
40742
40743 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
40744 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40745 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
40746 fi
40747
40748 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1="#"
40749 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x1" ; then
40750 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1=""
40751 fi
40752
40753 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40754 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40755 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40756 fi
40757
40758 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40759 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40760 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40761 fi
40762
40763 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0="#"
40764 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40765 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0=""
40766 fi
40767
40768 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0="#"
40769 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40770 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0=""
40771 fi
40772
40773 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
40774 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40775 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
40776 fi
40777
40778 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
40779 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40780 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
40781 fi
40782
40783 COND_TOOLKIT_GTK_USE_GUI_1="#"
40784 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40785 COND_TOOLKIT_GTK_USE_GUI_1=""
40786 fi
40787
40788 COND_TOOLKIT_MAC="#"
40789 if test "x$TOOLKIT" = "xMAC" ; then
40790 COND_TOOLKIT_MAC=""
40791 fi
40792
40793 COND_TOOLKIT_MOTIF="#"
40794 if test "x$TOOLKIT" = "xMOTIF" ; then
40795 COND_TOOLKIT_MOTIF=""
40796 fi
40797
40798 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40799 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40800 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40801 fi
40802
40803 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40804 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40805 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40806 fi
40807
40808 COND_TOOLKIT_MSW="#"
40809 if test "x$TOOLKIT" = "xMSW" ; then
40810 COND_TOOLKIT_MSW=""
40811 fi
40812
40813 COND_TOOLKIT_MSW_USE_GUI_1="#"
40814 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40815 COND_TOOLKIT_MSW_USE_GUI_1=""
40816 fi
40817
40818 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40819 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40820 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40821 fi
40822
40823 COND_TOOLKIT_MSW_WXUNIV_0="#"
40824 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40825 COND_TOOLKIT_MSW_WXUNIV_0=""
40826 fi
40827
40828 COND_TOOLKIT_OSX_CARBON="#"
40829 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40830 COND_TOOLKIT_OSX_CARBON=""
40831 fi
40832
40833 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40834 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40835 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40836 fi
40837
40838 COND_TOOLKIT_OSX_COCOA="#"
40839 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40840 COND_TOOLKIT_OSX_COCOA=""
40841 fi
40842
40843 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40844 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40845 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40846 fi
40847
40848 COND_TOOLKIT_OSX_IPHONE="#"
40849 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40850 COND_TOOLKIT_OSX_IPHONE=""
40851 fi
40852
40853 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40854 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40855 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40856 fi
40857
40858 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40859 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40860 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40861 fi
40862
40863 COND_TOOLKIT_PM="#"
40864 if test "x$TOOLKIT" = "xPM" ; then
40865 COND_TOOLKIT_PM=""
40866 fi
40867
40868 COND_TOOLKIT_PM_USE_GUI_1="#"
40869 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40870 COND_TOOLKIT_PM_USE_GUI_1=""
40871 fi
40872
40873 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40874 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40875 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40876 fi
40877
40878 COND_TOOLKIT_WINCE="#"
40879 if test "x$TOOLKIT" = "xWINCE" ; then
40880 COND_TOOLKIT_WINCE=""
40881 fi
40882
40883 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40884 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40885 COND_TOOLKIT_WINCE_USE_GUI_1=""
40886 fi
40887
40888 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40889 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40890 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40891 fi
40892
40893 COND_TOOLKIT_WINCE_WXUNIV_0="#"
40894 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40895 COND_TOOLKIT_WINCE_WXUNIV_0=""
40896 fi
40897
40898 COND_TOOLKIT_X11="#"
40899 if test "x$TOOLKIT" = "xX11" ; then
40900 COND_TOOLKIT_X11=""
40901 fi
40902
40903 COND_TOOLKIT_X11_USE_GUI_1="#"
40904 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40905 COND_TOOLKIT_X11_USE_GUI_1=""
40906 fi
40907
40908 COND_UNICODE_1="#"
40909 if test "x$UNICODE" = "x1" ; then
40910 COND_UNICODE_1=""
40911 fi
40912
40913 COND_USE_CAIRO_1="#"
40914 if test "x$USE_CAIRO" = "x1" ; then
40915 COND_USE_CAIRO_1=""
40916 fi
40917
40918 COND_USE_EXCEPTIONS_0="#"
40919 if test "x$USE_EXCEPTIONS" = "x0" ; then
40920 COND_USE_EXCEPTIONS_0=""
40921 fi
40922
40923 COND_USE_EXCEPTIONS_1="#"
40924 if test "x$USE_EXCEPTIONS" = "x1" ; then
40925 COND_USE_EXCEPTIONS_1=""
40926 fi
40927
40928 COND_USE_GUI_0="#"
40929 if test "x$USE_GUI" = "x0" ; then
40930 COND_USE_GUI_0=""
40931 fi
40932
40933 COND_USE_GUI_1="#"
40934 if test "x$USE_GUI" = "x1" ; then
40935 COND_USE_GUI_1=""
40936 fi
40937
40938 COND_USE_GUI_1_USE_OPENGL_1="#"
40939 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40940 COND_USE_GUI_1_USE_OPENGL_1=""
40941 fi
40942
40943 COND_USE_GUI_1_WXUNIV_0="#"
40944 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40945 COND_USE_GUI_1_WXUNIV_0=""
40946 fi
40947
40948 COND_USE_GUI_1_WXUNIV_1="#"
40949 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40950 COND_USE_GUI_1_WXUNIV_1=""
40951 fi
40952
40953 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40954 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40955 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40956 fi
40957
40958 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40959 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40960 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40961 fi
40962
40963 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40964 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40965 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40966 fi
40967
40968 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40969 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40970 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40971 fi
40972
40973 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40974 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40975 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40976 fi
40977
40978 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40979 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40980 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40981 fi
40982
40983 COND_USE_OPENGL_1="#"
40984 if test "x$USE_OPENGL" = "x1" ; then
40985 COND_USE_OPENGL_1=""
40986 fi
40987
40988 COND_USE_PCH_1="#"
40989 if test "x$USE_PCH" = "x1" ; then
40990 COND_USE_PCH_1=""
40991 fi
40992
40993 COND_USE_PLUGINS_0="#"
40994 if test "x$USE_PLUGINS" = "x0" ; then
40995 COND_USE_PLUGINS_0=""
40996 fi
40997
40998 COND_USE_RTTI_0="#"
40999 if test "x$USE_RTTI" = "x0" ; then
41000 COND_USE_RTTI_0=""
41001 fi
41002
41003 COND_USE_RTTI_1="#"
41004 if test "x$USE_RTTI" = "x1" ; then
41005 COND_USE_RTTI_1=""
41006 fi
41007
41008 COND_USE_SOTWOSYMLINKS_1="#"
41009 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
41010 COND_USE_SOTWOSYMLINKS_1=""
41011 fi
41012
41013 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
41014 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41015 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
41016 fi
41017
41018 COND_USE_SOVERLINUX_1="#"
41019 if test "x$USE_SOVERLINUX" = "x1" ; then
41020 COND_USE_SOVERLINUX_1=""
41021 fi
41022
41023 COND_USE_SOVERSION_0="#"
41024 if test "x$USE_SOVERSION" = "x0" ; then
41025 COND_USE_SOVERSION_0=""
41026 fi
41027
41028 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
41029 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
41030 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
41031 fi
41032
41033 COND_USE_SOVERSOLARIS_1="#"
41034 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41035 COND_USE_SOVERSOLARIS_1=""
41036 fi
41037
41038 COND_USE_STC_1="#"
41039 if test "x$USE_STC" = "x1" ; then
41040 COND_USE_STC_1=""
41041 fi
41042
41043 COND_USE_THREADS_0="#"
41044 if test "x$USE_THREADS" = "x0" ; then
41045 COND_USE_THREADS_0=""
41046 fi
41047
41048 COND_USE_THREADS_1="#"
41049 if test "x$USE_THREADS" = "x1" ; then
41050 COND_USE_THREADS_1=""
41051 fi
41052
41053 COND_USE_XRC_1="#"
41054 if test "x$USE_XRC" = "x1" ; then
41055 COND_USE_XRC_1=""
41056 fi
41057
41058 COND_WINDOWS_IMPLIB_1="#"
41059 if test "x$WINDOWS_IMPLIB" = "x1" ; then
41060 COND_WINDOWS_IMPLIB_1=""
41061 fi
41062
41063 COND_WITH_PLUGIN_SDL_1="#"
41064 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41065 COND_WITH_PLUGIN_SDL_1=""
41066 fi
41067
41068 COND_WXUNIV_0="#"
41069 if test "x$WXUNIV" = "x0" ; then
41070 COND_WXUNIV_0=""
41071 fi
41072
41073 COND_WXUNIV_1="#"
41074 if test "x$WXUNIV" = "x1" ; then
41075 COND_WXUNIV_1=""
41076 fi
41077
41078 COND_WXUSE_EXPAT_BUILTIN="#"
41079 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41080 COND_WXUSE_EXPAT_BUILTIN=""
41081 fi
41082
41083 COND_WXUSE_LIBJPEG_BUILTIN="#"
41084 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41085 COND_WXUSE_LIBJPEG_BUILTIN=""
41086 fi
41087
41088 COND_WXUSE_LIBPNG_BUILTIN="#"
41089 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41090 COND_WXUSE_LIBPNG_BUILTIN=""
41091 fi
41092
41093 COND_WXUSE_LIBTIFF_BUILTIN="#"
41094 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41095 COND_WXUSE_LIBTIFF_BUILTIN=""
41096 fi
41097
41098 COND_WXUSE_REGEX_BUILTIN="#"
41099 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41100 COND_WXUSE_REGEX_BUILTIN=""
41101 fi
41102
41103 COND_WXUSE_ZLIB_BUILTIN="#"
41104 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41105 COND_WXUSE_ZLIB_BUILTIN=""
41106 fi
41107
41108 COND_wxUSE_EXPAT_builtin="#"
41109 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41110 COND_wxUSE_EXPAT_builtin=""
41111 fi
41112
41113 COND_wxUSE_LIBJPEG_builtin="#"
41114 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41115 COND_wxUSE_LIBJPEG_builtin=""
41116 fi
41117
41118 COND_wxUSE_LIBPNG_builtin="#"
41119 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41120 COND_wxUSE_LIBPNG_builtin=""
41121 fi
41122
41123 COND_wxUSE_LIBTIFF_builtin="#"
41124 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41125 COND_wxUSE_LIBTIFF_builtin=""
41126 fi
41127
41128 COND_wxUSE_REGEX_builtin="#"
41129 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41130 COND_wxUSE_REGEX_builtin=""
41131 fi
41132
41133 COND_wxUSE_ZLIB_builtin="#"
41134 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41135 COND_wxUSE_ZLIB_builtin=""
41136 fi
41137
41138
41139
41140 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
41141 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
41142 fi
41143
41144 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41145 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
41146 fi
41147
41148
41149 case ${INSTALL} in
41150 /* ) # Absolute
41151 ;;
41152 ?:* ) # Drive letter, considered as absolute.
41153 ;;
41154 *)
41155 INSTALL=`pwd`/${INSTALL} ;;
41156 esac
41157
41158 if test "$wxUSE_GUI" = "yes"; then
41159
41160 if test "$wxUSE_MSW" = 1 ; then
41161 if test "x$WINDRES" = "x"; then
41162 as_fn_error $? "Required windres program not found" "$LINENO" 5
41163 fi
41164
41165 RESCOMP="$WINDRES"
41166 fi
41167
41168 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
41169 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
41170 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
41171
41172 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
41173
41174 # Extract the first word of "DeRez", so it can be a program name with args.
41175 set dummy DeRez; ac_word=$2
41176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41177 $as_echo_n "checking for $ac_word... " >&6; }
41178 if ${ac_cv_prog_DEREZ+:} false; then :
41179 $as_echo_n "(cached) " >&6
41180 else
41181 if test -n "$DEREZ"; then
41182 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
41183 else
41184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41185 for as_dir in $PATH
41186 do
41187 IFS=$as_save_IFS
41188 test -z "$as_dir" && as_dir=.
41189 for ac_exec_ext in '' $ac_executable_extensions; do
41190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41191 ac_cv_prog_DEREZ="DeRez"
41192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41193 break 2
41194 fi
41195 done
41196 done
41197 IFS=$as_save_IFS
41198
41199 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
41200 fi
41201 fi
41202 DEREZ=$ac_cv_prog_DEREZ
41203 if test -n "$DEREZ"; then
41204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
41205 $as_echo "$DEREZ" >&6; }
41206 else
41207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41208 $as_echo "no" >&6; }
41209 fi
41210
41211
41212
41213 MACSETFILE="\$(SETFILE)"
41214
41215 if test "$wxUSE_OSX_CARBON" = 1; then
41216 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
41217 RESCOMP="$REZ"
41218 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
41219 else
41220 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
41221 RESCOMP="cat /dev/null \| $REZ"
41222 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
41223 fi
41224
41225 else
41226 MACSETFILE="@true"
41227
41228 if test "$wxUSE_PM" = 1; then
41229 RESCOMP="emxbind"
41230 WXCONFIG_RESFLAGS="-ep"
41231
41232 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
41233 else
41234 POSTLINK_COMMAND="@true"
41235 fi
41236 fi
41237
41238 fi
41239
41240
41241 if test $GCC_PCH = 1
41242 then
41243 if test "$wx_cv_gcc_pch_bug" = yes; then
41244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
41245 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
41246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
41247 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41249 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41250 fi
41251
41252 # Our WX_PRECOMP flag does not make sense for any language except C++ because
41253 # the headers that benefit from precompilation are mostly C++ headers.
41254 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41255 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41256 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41257 fi
41258
41259
41260 if test "$wxUSE_MAC" = 1 ; then
41261 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41262 if test "x$disable_macosx_deps" = "xyes"; then
41263 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
41264 mv temp bk-deps
41265 chmod +x bk-deps
41266 fi
41267 fi
41268 fi
41269
41270 if test "$wxUSE_SHARED" = "yes"; then
41271 case "${host}" in
41272 *-pc-os2_emx | *-pc-os2-emx )
41273 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41274 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41275 cp -p ${srcdir}/src/os2/dllnames.sh .
41276 cp -p ${srcdir}/src/os2/dllar.sh .
41277 ;;
41278 esac
41279 fi
41280 if test "$wxUSE_OMF" = "yes"; then
41281 case "${host}" in
41282 *-pc-os2_emx | *-pc-os2-emx )
41283 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
41284 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41285 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41286 ;;
41287 esac
41288 fi
41289
41290 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41291
41292
41293 case "${host}" in
41294 *-*-solaris2* )
41295 if test "$GCC" = yes; then
41296 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
41297 LIBS=`echo $LIBS | sed 's/-mt//g'`
41298 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41299 fi
41300 ;;
41301
41302 *-*-linux* )
41303 if test "x$SUNCXX" = xyes; then
41304 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
41305 LIBS=`echo $LIBS | sed 's/-pthread//g'`
41306 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41307 fi
41308 ;;
41309 esac
41310
41311 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
41312 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41313 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
41314 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41315
41316 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41317
41318
41319
41320
41321
41322
41323
41324
41325
41326
41327
41328
41329
41330
41331
41332
41333
41334
41335
41336
41337
41338
41339
41340
41341
41342
41343
41344
41345
41346
41347
41348
41349
41350
41351
41352
41353
41354
41355
41356
41357
41358
41359
41360
41361
41362
41363
41364
41365
41366
41367
41368
41369
41370
41371
41372
41373
41374
41375
41376
41377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41378 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41379 set x ${MAKE-make}
41380 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41381 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
41382 $as_echo_n "(cached) " >&6
41383 else
41384 cat >conftest.make <<\_ACEOF
41385 SHELL = /bin/sh
41386 all:
41387 @echo '@@@%%%=$(MAKE)=@@@%%%'
41388 _ACEOF
41389 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41390 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41391 *@@@%%%=?*=@@@%%%*)
41392 eval ac_cv_prog_make_${ac_make}_set=yes;;
41393 *)
41394 eval ac_cv_prog_make_${ac_make}_set=no;;
41395 esac
41396 rm -f conftest.make
41397 fi
41398 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
41399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41400 $as_echo "yes" >&6; }
41401 SET_MAKE=
41402 else
41403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41404 $as_echo "no" >&6; }
41405 SET_MAKE="MAKE=${MAKE-make}"
41406 fi
41407
41408
41409
41410 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41411
41412
41413 if test "$USE_WIN32" = 1; then
41414 ac_config_commands="$ac_config_commands rcdefs.h"
41415
41416 fi
41417
41418 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41419
41420
41421 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41422
41423
41424 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
41425
41426
41427 if test "$wx_cv_version_script" = "yes"; then
41428 ac_config_files="$ac_config_files version-script"
41429
41430 fi
41431 ac_config_files="$ac_config_files Makefile"
41432
41433
41434 ac_config_commands="$ac_config_commands wx-config"
41435
41436
41437
41438 if test "$wxWITH_SUBDIRS" != "no"; then
41439 if test "$wxUSE_GUI" = "yes"; then
41440 SUBDIRS="samples demos utils"
41441 else
41442 SUBDIRS="samples utils"
41443 fi
41444
41445
41446
41447 # Check whether --with-cppunit-prefix was given.
41448 if test "${with_cppunit_prefix+set}" = set; then :
41449 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
41450 else
41451 cppunit_config_prefix=""
41452 fi
41453
41454
41455 # Check whether --with-cppunit-exec-prefix was given.
41456 if test "${with_cppunit_exec_prefix+set}" = set; then :
41457 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
41458 else
41459 cppunit_config_exec_prefix=""
41460 fi
41461
41462
41463 if test x$cppunit_config_exec_prefix != x ; then
41464 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41465 if test x${CPPUNIT_CONFIG+set} != xset ; then
41466 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41467 fi
41468 fi
41469 if test x$cppunit_config_prefix != x ; then
41470 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41471 if test x${CPPUNIT_CONFIG+set} != xset ; then
41472 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41473 fi
41474 fi
41475
41476 # Extract the first word of "cppunit-config", so it can be a program name with args.
41477 set dummy cppunit-config; ac_word=$2
41478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41479 $as_echo_n "checking for $ac_word... " >&6; }
41480 if ${ac_cv_path_CPPUNIT_CONFIG+:} false; then :
41481 $as_echo_n "(cached) " >&6
41482 else
41483 case $CPPUNIT_CONFIG in
41484 [\\/]* | ?:[\\/]*)
41485 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41486 ;;
41487 *)
41488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41489 for as_dir in $PATH
41490 do
41491 IFS=$as_save_IFS
41492 test -z "$as_dir" && as_dir=.
41493 for ac_exec_ext in '' $ac_executable_extensions; do
41494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41495 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41497 break 2
41498 fi
41499 done
41500 done
41501 IFS=$as_save_IFS
41502
41503 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41504 ;;
41505 esac
41506 fi
41507 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41508 if test -n "$CPPUNIT_CONFIG"; then
41509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41510 $as_echo "$CPPUNIT_CONFIG" >&6; }
41511 else
41512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41513 $as_echo "no" >&6; }
41514 fi
41515
41516
41517 cppunit_version_min=1.8.0
41518
41519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41520 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41521 no_cppunit=""
41522 if test "$CPPUNIT_CONFIG" = "no" ; then
41523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41524 $as_echo "no" >&6; }
41525 no_cppunit=yes
41526 else
41527 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41528 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41529 cppunit_version=`$CPPUNIT_CONFIG --version`
41530
41531 cppunit_major_version=`echo $cppunit_version | \
41532 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41533 cppunit_minor_version=`echo $cppunit_version | \
41534 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41535 cppunit_micro_version=`echo $cppunit_version | \
41536 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41537
41538 cppunit_major_min=`echo $cppunit_version_min | \
41539 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41540 cppunit_minor_min=`echo $cppunit_version_min | \
41541 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41542 cppunit_micro_min=`echo $cppunit_version_min | \
41543 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41544
41545 cppunit_version_proper=`expr \
41546 $cppunit_major_version \> $cppunit_major_min \| \
41547 $cppunit_major_version \= $cppunit_major_min \& \
41548 $cppunit_minor_version \> $cppunit_minor_min \| \
41549 $cppunit_major_version \= $cppunit_major_min \& \
41550 $cppunit_minor_version \= $cppunit_minor_min \& \
41551 $cppunit_micro_version \>= $cppunit_micro_min `
41552
41553 if test "$cppunit_version_proper" = "1" ; then
41554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41555 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41556 else
41557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41558 $as_echo "no" >&6; }
41559 no_cppunit=yes
41560 fi
41561 fi
41562
41563 if test "x$no_cppunit" = x ; then
41564 SUBDIRS="$SUBDIRS tests"
41565 else
41566 CPPUNIT_CFLAGS=""
41567 CPPUNIT_LIBS=""
41568 :
41569 fi
41570
41571
41572
41573
41574
41575 for subdir in $SUBDIRS; do
41576 if test -d ${srcdir}/${subdir} ; then
41577 if test "$wxUSE_GUI" = "yes"; then
41578 if test ${subdir} = "samples"; then
41579 makefiles="samples/Makefile.in $makefiles"
41580 for sample in $SAMPLES_SUBDIRS; do
41581 if test -d $srcdir/samples/$sample; then
41582 makefiles="samples/$sample/Makefile.in $makefiles"
41583 fi
41584 done
41585 else
41586 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
41587 eval "disabled=\$$disabled_var"
41588 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
41589 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41590 fi
41591 else
41592 if test ${subdir} = "samples"; then
41593 makefiles="samples/Makefile.in $makefiles"
41594 for sample in `echo $SAMPLES_SUBDIRS`; do
41595 if test -d $srcdir/samples/$sample; then
41596 makefiles="samples/$sample/Makefile.in $makefiles"
41597 fi
41598 done
41599 elif test ${subdir} = "utils"; then
41600 makefiles=""
41601 for util in ifacecheck ; do
41602 if test -d $srcdir/utils/$util ; then
41603 makefiles="utils/$util/src/Makefile.in \
41604 $makefiles"
41605 fi
41606 done
41607 else
41608 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41609 fi
41610 fi
41611
41612 for mkin in $makefiles ; do
41613 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41614 ac_config_files="$ac_config_files $mk"
41615
41616 done
41617 fi
41618 done
41619 fi
41620 cat >confcache <<\_ACEOF
41621 # This file is a shell script that caches the results of configure
41622 # tests run on this system so they can be shared between configure
41623 # scripts and configure runs, see configure's option --config-cache.
41624 # It is not useful on other systems. If it contains results you don't
41625 # want to keep, you may remove or edit it.
41626 #
41627 # config.status only pays attention to the cache file if you give it
41628 # the --recheck option to rerun configure.
41629 #
41630 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41631 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41632 # following values.
41633
41634 _ACEOF
41635
41636 # The following way of writing the cache mishandles newlines in values,
41637 # but we know of no workaround that is simple, portable, and efficient.
41638 # So, we kill variables containing newlines.
41639 # Ultrix sh set writes to stderr and can't be redirected directly,
41640 # and sets the high bit in the cache file unless we assign to the vars.
41641 (
41642 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41643 eval ac_val=\$$ac_var
41644 case $ac_val in #(
41645 *${as_nl}*)
41646 case $ac_var in #(
41647 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41648 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41649 esac
41650 case $ac_var in #(
41651 _ | IFS | as_nl) ;; #(
41652 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
41653 *) { eval $ac_var=; unset $ac_var;} ;;
41654 esac ;;
41655 esac
41656 done
41657
41658 (set) 2>&1 |
41659 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41660 *${as_nl}ac_space=\ *)
41661 # `set' does not quote correctly, so add quotes: double-quote
41662 # substitution turns \\\\ into \\, and sed turns \\ into \.
41663 sed -n \
41664 "s/'/'\\\\''/g;
41665 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41666 ;; #(
41667 *)
41668 # `set' quotes correctly as required by POSIX, so do not add quotes.
41669 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41670 ;;
41671 esac |
41672 sort
41673 ) |
41674 sed '
41675 /^ac_cv_env_/b end
41676 t clear
41677 :clear
41678 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41679 t end
41680 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41681 :end' >>confcache
41682 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41683 if test -w "$cache_file"; then
41684 if test "x$cache_file" != "x/dev/null"; then
41685 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41686 $as_echo "$as_me: updating cache $cache_file" >&6;}
41687 if test ! -f "$cache_file" || test -h "$cache_file"; then
41688 cat confcache >"$cache_file"
41689 else
41690 case $cache_file in #(
41691 */* | ?:*)
41692 mv -f confcache "$cache_file"$$ &&
41693 mv -f "$cache_file"$$ "$cache_file" ;; #(
41694 *)
41695 mv -f confcache "$cache_file" ;;
41696 esac
41697 fi
41698 fi
41699 else
41700 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41701 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41702 fi
41703 fi
41704 rm -f confcache
41705
41706 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41707 # Let make expand exec_prefix.
41708 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41709
41710 DEFS=-DHAVE_CONFIG_H
41711
41712 ac_libobjs=
41713 ac_ltlibobjs=
41714 U=
41715 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41716 # 1. Remove the extension, and $U if already installed.
41717 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41718 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
41719 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41720 # will be set to the directory where LIBOBJS objects are built.
41721 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41722 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
41723 done
41724 LIBOBJS=$ac_libobjs
41725
41726 LTLIBOBJS=$ac_ltlibobjs
41727
41728
41729
41730 : "${CONFIG_STATUS=./config.status}"
41731 ac_write_fail=0
41732 ac_clean_files_save=$ac_clean_files
41733 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41734 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41735 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41736 as_write_fail=0
41737 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41738 #! $SHELL
41739 # Generated by $as_me.
41740 # Run this file to recreate the current configuration.
41741 # Compiler output produced by configure, useful for debugging
41742 # configure, is in config.log if it exists.
41743
41744 debug=false
41745 ac_cs_recheck=false
41746 ac_cs_silent=false
41747
41748 SHELL=\${CONFIG_SHELL-$SHELL}
41749 export SHELL
41750 _ASEOF
41751 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
41752 ## -------------------- ##
41753 ## M4sh Initialization. ##
41754 ## -------------------- ##
41755
41756 # Be more Bourne compatible
41757 DUALCASE=1; export DUALCASE # for MKS sh
41758 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
41759 emulate sh
41760 NULLCMD=:
41761 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41762 # is contrary to our usage. Disable this feature.
41763 alias -g '${1+"$@"}'='"$@"'
41764 setopt NO_GLOB_SUBST
41765 else
41766 case `(set -o) 2>/dev/null` in #(
41767 *posix*) :
41768 set -o posix ;; #(
41769 *) :
41770 ;;
41771 esac
41772 fi
41773
41774
41775 as_nl='
41776 '
41777 export as_nl
41778 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41779 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41780 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41781 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41782 # Prefer a ksh shell builtin over an external printf program on Solaris,
41783 # but without wasting forks for bash or zsh.
41784 if test -z "$BASH_VERSION$ZSH_VERSION" \
41785 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41786 as_echo='print -r --'
41787 as_echo_n='print -rn --'
41788 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41789 as_echo='printf %s\n'
41790 as_echo_n='printf %s'
41791 else
41792 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41793 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
41794 as_echo_n='/usr/ucb/echo -n'
41795 else
41796 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41797 as_echo_n_body='eval
41798 arg=$1;
41799 case $arg in #(
41800 *"$as_nl"*)
41801 expr "X$arg" : "X\\(.*\\)$as_nl";
41802 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41803 esac;
41804 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41805 '
41806 export as_echo_n_body
41807 as_echo_n='sh -c $as_echo_n_body as_echo'
41808 fi
41809 export as_echo_body
41810 as_echo='sh -c $as_echo_body as_echo'
41811 fi
41812
41813 # The user is always right.
41814 if test "${PATH_SEPARATOR+set}" != set; then
41815 PATH_SEPARATOR=:
41816 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41817 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41818 PATH_SEPARATOR=';'
41819 }
41820 fi
41821
41822
41823 # IFS
41824 # We need space, tab and new line, in precisely that order. Quoting is
41825 # there to prevent editors from complaining about space-tab.
41826 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41827 # splitting by setting IFS to empty value.)
41828 IFS=" "" $as_nl"
41829
41830 # Find who we are. Look in the path if we contain no directory separator.
41831 as_myself=
41832 case $0 in #((
41833 *[\\/]* ) as_myself=$0 ;;
41834 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41835 for as_dir in $PATH
41836 do
41837 IFS=$as_save_IFS
41838 test -z "$as_dir" && as_dir=.
41839 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41840 done
41841 IFS=$as_save_IFS
41842
41843 ;;
41844 esac
41845 # We did not find ourselves, most probably we were run as `sh COMMAND'
41846 # in which case we are not to be found in the path.
41847 if test "x$as_myself" = x; then
41848 as_myself=$0
41849 fi
41850 if test ! -f "$as_myself"; then
41851 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41852 exit 1
41853 fi
41854
41855 # Unset variables that we do not need and which cause bugs (e.g. in
41856 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41857 # suppresses any "Segmentation fault" message there. '((' could
41858 # trigger a bug in pdksh 5.2.14.
41859 for as_var in BASH_ENV ENV MAIL MAILPATH
41860 do eval test x\${$as_var+set} = xset \
41861 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
41862 done
41863 PS1='$ '
41864 PS2='> '
41865 PS4='+ '
41866
41867 # NLS nuisances.
41868 LC_ALL=C
41869 export LC_ALL
41870 LANGUAGE=C
41871 export LANGUAGE
41872
41873 # CDPATH.
41874 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
41875
41876
41877 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41878 # ----------------------------------------
41879 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41880 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41881 # script with STATUS, using 1 if that was 0.
41882 as_fn_error ()
41883 {
41884 as_status=$1; test $as_status -eq 0 && as_status=1
41885 if test "$4"; then
41886 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41887 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41888 fi
41889 $as_echo "$as_me: error: $2" >&2
41890 as_fn_exit $as_status
41891 } # as_fn_error
41892
41893
41894 # as_fn_set_status STATUS
41895 # -----------------------
41896 # Set $? to STATUS, without forking.
41897 as_fn_set_status ()
41898 {
41899 return $1
41900 } # as_fn_set_status
41901
41902 # as_fn_exit STATUS
41903 # -----------------
41904 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41905 as_fn_exit ()
41906 {
41907 set +e
41908 as_fn_set_status $1
41909 exit $1
41910 } # as_fn_exit
41911
41912 # as_fn_unset VAR
41913 # ---------------
41914 # Portably unset VAR.
41915 as_fn_unset ()
41916 {
41917 { eval $1=; unset $1;}
41918 }
41919 as_unset=as_fn_unset
41920 # as_fn_append VAR VALUE
41921 # ----------------------
41922 # Append the text in VALUE to the end of the definition contained in VAR. Take
41923 # advantage of any shell optimizations that allow amortized linear growth over
41924 # repeated appends, instead of the typical quadratic growth present in naive
41925 # implementations.
41926 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
41927 eval 'as_fn_append ()
41928 {
41929 eval $1+=\$2
41930 }'
41931 else
41932 as_fn_append ()
41933 {
41934 eval $1=\$$1\$2
41935 }
41936 fi # as_fn_append
41937
41938 # as_fn_arith ARG...
41939 # ------------------
41940 # Perform arithmetic evaluation on the ARGs, and store the result in the
41941 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41942 # must be portable across $(()) and expr.
41943 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
41944 eval 'as_fn_arith ()
41945 {
41946 as_val=$(( $* ))
41947 }'
41948 else
41949 as_fn_arith ()
41950 {
41951 as_val=`expr "$@" || test $? -eq 1`
41952 }
41953 fi # as_fn_arith
41954
41955
41956 if expr a : '\(a\)' >/dev/null 2>&1 &&
41957 test "X`expr 00001 : '.*\(...\)'`" = X001; then
41958 as_expr=expr
41959 else
41960 as_expr=false
41961 fi
41962
41963 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41964 as_basename=basename
41965 else
41966 as_basename=false
41967 fi
41968
41969 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
41970 as_dirname=dirname
41971 else
41972 as_dirname=false
41973 fi
41974
41975 as_me=`$as_basename -- "$0" ||
41976 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41977 X"$0" : 'X\(//\)$' \| \
41978 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41979 $as_echo X/"$0" |
41980 sed '/^.*\/\([^/][^/]*\)\/*$/{
41981 s//\1/
41982 q
41983 }
41984 /^X\/\(\/\/\)$/{
41985 s//\1/
41986 q
41987 }
41988 /^X\/\(\/\).*/{
41989 s//\1/
41990 q
41991 }
41992 s/.*/./; q'`
41993
41994 # Avoid depending upon Character Ranges.
41995 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41996 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41997 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41998 as_cr_digits='0123456789'
41999 as_cr_alnum=$as_cr_Letters$as_cr_digits
42000
42001 ECHO_C= ECHO_N= ECHO_T=
42002 case `echo -n x` in #(((((
42003 -n*)
42004 case `echo 'xy\c'` in
42005 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
42006 xy) ECHO_C='\c';;
42007 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
42008 ECHO_T=' ';;
42009 esac;;
42010 *)
42011 ECHO_N='-n';;
42012 esac
42013
42014 rm -f conf$$ conf$$.exe conf$$.file
42015 if test -d conf$$.dir; then
42016 rm -f conf$$.dir/conf$$.file
42017 else
42018 rm -f conf$$.dir
42019 mkdir conf$$.dir 2>/dev/null
42020 fi
42021 if (echo >conf$$.file) 2>/dev/null; then
42022 if ln -s conf$$.file conf$$ 2>/dev/null; then
42023 as_ln_s='ln -s'
42024 # ... but there are two gotchas:
42025 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
42026 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
42027 # In both cases, we have to default to `cp -pR'.
42028 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
42029 as_ln_s='cp -pR'
42030 elif ln conf$$.file conf$$ 2>/dev/null; then
42031 as_ln_s=ln
42032 else
42033 as_ln_s='cp -pR'
42034 fi
42035 else
42036 as_ln_s='cp -pR'
42037 fi
42038 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
42039 rmdir conf$$.dir 2>/dev/null
42040
42041
42042 # as_fn_mkdir_p
42043 # -------------
42044 # Create "$as_dir" as a directory, including parents if necessary.
42045 as_fn_mkdir_p ()
42046 {
42047
42048 case $as_dir in #(
42049 -*) as_dir=./$as_dir;;
42050 esac
42051 test -d "$as_dir" || eval $as_mkdir_p || {
42052 as_dirs=
42053 while :; do
42054 case $as_dir in #(
42055 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
42056 *) as_qdir=$as_dir;;
42057 esac
42058 as_dirs="'$as_qdir' $as_dirs"
42059 as_dir=`$as_dirname -- "$as_dir" ||
42060 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42061 X"$as_dir" : 'X\(//\)[^/]' \| \
42062 X"$as_dir" : 'X\(//\)$' \| \
42063 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
42064 $as_echo X"$as_dir" |
42065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42066 s//\1/
42067 q
42068 }
42069 /^X\(\/\/\)[^/].*/{
42070 s//\1/
42071 q
42072 }
42073 /^X\(\/\/\)$/{
42074 s//\1/
42075 q
42076 }
42077 /^X\(\/\).*/{
42078 s//\1/
42079 q
42080 }
42081 s/.*/./; q'`
42082 test -d "$as_dir" && break
42083 done
42084 test -z "$as_dirs" || eval "mkdir $as_dirs"
42085 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
42086
42087
42088 } # as_fn_mkdir_p
42089 if mkdir -p . 2>/dev/null; then
42090 as_mkdir_p='mkdir -p "$as_dir"'
42091 else
42092 test -d ./-p && rmdir ./-p
42093 as_mkdir_p=false
42094 fi
42095
42096
42097 # as_fn_executable_p FILE
42098 # -----------------------
42099 # Test if FILE is an executable regular file.
42100 as_fn_executable_p ()
42101 {
42102 test -f "$1" && test -x "$1"
42103 } # as_fn_executable_p
42104 as_test_x='test -x'
42105 as_executable_p=as_fn_executable_p
42106
42107 # Sed expression to map a string onto a valid CPP name.
42108 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42109
42110 # Sed expression to map a string onto a valid variable name.
42111 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42112
42113
42114 exec 6>&1
42115 ## ----------------------------------- ##
42116 ## Main body of $CONFIG_STATUS script. ##
42117 ## ----------------------------------- ##
42118 _ASEOF
42119 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
42120
42121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42122 # Save the log message, to keep $0 and so on meaningful, and to
42123 # report actual input values of CONFIG_FILES etc. instead of their
42124 # values after options handling.
42125 ac_log="
42126 This file was extended by wxWidgets $as_me 2.9.5, which was
42127 generated by GNU Autoconf 2.69. Invocation command line was
42128
42129 CONFIG_FILES = $CONFIG_FILES
42130 CONFIG_HEADERS = $CONFIG_HEADERS
42131 CONFIG_LINKS = $CONFIG_LINKS
42132 CONFIG_COMMANDS = $CONFIG_COMMANDS
42133 $ $0 $@
42134
42135 on `(hostname || uname -n) 2>/dev/null | sed 1q`
42136 "
42137
42138 _ACEOF
42139
42140 case $ac_config_files in *"
42141 "*) set x $ac_config_files; shift; ac_config_files=$*;;
42142 esac
42143
42144 case $ac_config_headers in *"
42145 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
42146 esac
42147
42148
42149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42150 # Files that config.status was made for.
42151 config_files="$ac_config_files"
42152 config_headers="$ac_config_headers"
42153 config_commands="$ac_config_commands"
42154
42155 _ACEOF
42156
42157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42158 ac_cs_usage="\
42159 \`$as_me' instantiates files and other configuration actions
42160 from templates according to the current configuration. Unless the files
42161 and actions are specified as TAGs, all are instantiated by default.
42162
42163 Usage: $0 [OPTION]... [TAG]...
42164
42165 -h, --help print this help, then exit
42166 -V, --version print version number and configuration settings, then exit
42167 --config print configuration, then exit
42168 -q, --quiet, --silent
42169 do not print progress messages
42170 -d, --debug don't remove temporary files
42171 --recheck update $as_me by reconfiguring in the same conditions
42172 --file=FILE[:TEMPLATE]
42173 instantiate the configuration file FILE
42174 --header=FILE[:TEMPLATE]
42175 instantiate the configuration header FILE
42176
42177 Configuration files:
42178 $config_files
42179
42180 Configuration headers:
42181 $config_headers
42182
42183 Configuration commands:
42184 $config_commands
42185
42186 Report bugs to <wx-dev@lists.wxwidgets.org>."
42187
42188 _ACEOF
42189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42190 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
42191 ac_cs_version="\\
42192 wxWidgets config.status 2.9.5
42193 configured by $0, generated by GNU Autoconf 2.69,
42194 with options \\"\$ac_cs_config\\"
42195
42196 Copyright (C) 2012 Free Software Foundation, Inc.
42197 This config.status script is free software; the Free Software Foundation
42198 gives unlimited permission to copy, distribute and modify it."
42199
42200 ac_pwd='$ac_pwd'
42201 srcdir='$srcdir'
42202 INSTALL='$INSTALL'
42203 test -n "\$AWK" || AWK=awk
42204 _ACEOF
42205
42206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42207 # The default lists apply if the user does not specify any file.
42208 ac_need_defaults=:
42209 while test $# != 0
42210 do
42211 case $1 in
42212 --*=?*)
42213 ac_option=`expr "X$1" : 'X\([^=]*\)='`
42214 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
42215 ac_shift=:
42216 ;;
42217 --*=)
42218 ac_option=`expr "X$1" : 'X\([^=]*\)='`
42219 ac_optarg=
42220 ac_shift=:
42221 ;;
42222 *)
42223 ac_option=$1
42224 ac_optarg=$2
42225 ac_shift=shift
42226 ;;
42227 esac
42228
42229 case $ac_option in
42230 # Handling of the options.
42231 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42232 ac_cs_recheck=: ;;
42233 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42234 $as_echo "$ac_cs_version"; exit ;;
42235 --config | --confi | --conf | --con | --co | --c )
42236 $as_echo "$ac_cs_config"; exit ;;
42237 --debug | --debu | --deb | --de | --d | -d )
42238 debug=: ;;
42239 --file | --fil | --fi | --f )
42240 $ac_shift
42241 case $ac_optarg in
42242 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42243 '') as_fn_error $? "missing file argument" ;;
42244 esac
42245 as_fn_append CONFIG_FILES " '$ac_optarg'"
42246 ac_need_defaults=false;;
42247 --header | --heade | --head | --hea )
42248 $ac_shift
42249 case $ac_optarg in
42250 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42251 esac
42252 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
42253 ac_need_defaults=false;;
42254 --he | --h)
42255 # Conflict between --help and --header
42256 as_fn_error $? "ambiguous option: \`$1'
42257 Try \`$0 --help' for more information.";;
42258 --help | --hel | -h )
42259 $as_echo "$ac_cs_usage"; exit ;;
42260 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42261 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42262 ac_cs_silent=: ;;
42263
42264 # This is an error.
42265 -*) as_fn_error $? "unrecognized option: \`$1'
42266 Try \`$0 --help' for more information." ;;
42267
42268 *) as_fn_append ac_config_targets " $1"
42269 ac_need_defaults=false ;;
42270
42271 esac
42272 shift
42273 done
42274
42275 ac_configure_extra_args=
42276
42277 if $ac_cs_silent; then
42278 exec 6>/dev/null
42279 ac_configure_extra_args="$ac_configure_extra_args --silent"
42280 fi
42281
42282 _ACEOF
42283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42284 if \$ac_cs_recheck; then
42285 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42286 shift
42287 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42288 CONFIG_SHELL='$SHELL'
42289 export CONFIG_SHELL
42290 exec "\$@"
42291 fi
42292
42293 _ACEOF
42294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42295 exec 5>>config.log
42296 {
42297 echo
42298 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42299 ## Running $as_me. ##
42300 _ASBOX
42301 $as_echo "$ac_log"
42302 } >&5
42303
42304 _ACEOF
42305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42306 #
42307 # INIT-COMMANDS
42308 #
42309
42310 CPP="$CPP"
42311 infile="$srcdir/include/wx/msw/genrcdefs.h"
42312 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42313
42314
42315 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42316 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42317 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42318 LN_S="${LN_S}"
42319
42320
42321 _ACEOF
42322
42323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42324
42325 # Handling of arguments.
42326 for ac_config_target in $ac_config_targets
42327 do
42328 case $ac_config_target in
42329 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42330 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
42331 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42332 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42333 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42334 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
42335 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42336 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
42337 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
42338
42339 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42340 esac
42341 done
42342
42343
42344 # If the user did not use the arguments to specify the items to instantiate,
42345 # then the envvar interface is used. Set only those that are not.
42346 # We use the long form for the default assignment because of an extremely
42347 # bizarre bug on SunOS 4.1.3.
42348 if $ac_need_defaults; then
42349 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42350 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42351 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42352 fi
42353
42354 # Have a temporary directory for convenience. Make it in the build tree
42355 # simply because there is no reason against having it here, and in addition,
42356 # creating and moving files from /tmp can sometimes cause problems.
42357 # Hook for its removal unless debugging.
42358 # Note that there is a small window in which the directory will not be cleaned:
42359 # after its creation but before its name has been assigned to `$tmp'.
42360 $debug ||
42361 {
42362 tmp= ac_tmp=
42363 trap 'exit_status=$?
42364 : "${ac_tmp:=$tmp}"
42365 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42366 ' 0
42367 trap 'as_fn_exit 1' 1 2 13 15
42368 }
42369 # Create a (secure) tmp directory for tmp files.
42370
42371 {
42372 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42373 test -d "$tmp"
42374 } ||
42375 {
42376 tmp=./conf$$-$RANDOM
42377 (umask 077 && mkdir "$tmp")
42378 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
42379 ac_tmp=$tmp
42380
42381 # Set up the scripts for CONFIG_FILES section.
42382 # No need to generate them if there are no CONFIG_FILES.
42383 # This happens for instance with `./config.status config.h'.
42384 if test -n "$CONFIG_FILES"; then
42385
42386
42387 ac_cr=`echo X | tr X '\015'`
42388 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42389 # But we know of no other shell where ac_cr would be empty at this
42390 # point, so we can use a bashism as a fallback.
42391 if test "x$ac_cr" = x; then
42392 eval ac_cr=\$\'\\r\'
42393 fi
42394 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42395 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42396 ac_cs_awk_cr='\\r'
42397 else
42398 ac_cs_awk_cr=$ac_cr
42399 fi
42400
42401 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42402 _ACEOF
42403
42404
42405 {
42406 echo "cat >conf$$subs.awk <<_ACEOF" &&
42407 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42408 echo "_ACEOF"
42409 } >conf$$subs.sh ||
42410 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42411 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42412 ac_delim='%!_!# '
42413 for ac_last_try in false false false false false :; do
42414 . ./conf$$subs.sh ||
42415 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42416
42417 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
42418 if test $ac_delim_n = $ac_delim_num; then
42419 break
42420 elif $ac_last_try; then
42421 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42422 else
42423 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42424 fi
42425 done
42426 rm -f conf$$subs.sh
42427
42428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42429 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
42430 _ACEOF
42431 sed -n '
42432 h
42433 s/^/S["/; s/!.*/"]=/
42434 p
42435 g
42436 s/^[^!]*!//
42437 :repl
42438 t repl
42439 s/'"$ac_delim"'$//
42440 t delim
42441 :nl
42442 h
42443 s/\(.\{148\}\)..*/\1/
42444 t more1
42445 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
42446 p
42447 n
42448 b repl
42449 :more1
42450 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42451 p
42452 g
42453 s/.\{148\}//
42454 t nl
42455 :delim
42456 h
42457 s/\(.\{148\}\)..*/\1/
42458 t more2
42459 s/["\\]/\\&/g; s/^/"/; s/$/"/
42460 p
42461 b
42462 :more2
42463 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42464 p
42465 g
42466 s/.\{148\}//
42467 t delim
42468 ' <conf$$subs.awk | sed '
42469 /^[^""]/{
42470 N
42471 s/\n//
42472 }
42473 ' >>$CONFIG_STATUS || ac_write_fail=1
42474 rm -f conf$$subs.awk
42475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42476 _ACAWK
42477 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
42478 for (key in S) S_is_set[key] = 1
42479 FS = "\a"
42480
42481 }
42482 {
42483 line = $ 0
42484 nfields = split(line, field, "@")
42485 substed = 0
42486 len = length(field[1])
42487 for (i = 2; i < nfields; i++) {
42488 key = field[i]
42489 keylen = length(key)
42490 if (S_is_set[key]) {
42491 value = S[key]
42492 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42493 len += length(value) + length(field[++i])
42494 substed = 1
42495 } else
42496 len += 1 + keylen
42497 }
42498
42499 print line
42500 }
42501
42502 _ACAWK
42503 _ACEOF
42504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42505 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42506 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
42507 else
42508 cat
42509 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
42510 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
42511 _ACEOF
42512
42513 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42514 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
42515 # trailing colons and then remove the whole line if VPATH becomes empty
42516 # (actually we leave an empty line to preserve line numbers).
42517 if test "x$srcdir" = x.; then
42518 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
42519 h
42520 s///
42521 s/^/:/
42522 s/[ ]*$/:/
42523 s/:\$(srcdir):/:/g
42524 s/:\${srcdir}:/:/g
42525 s/:@srcdir@:/:/g
42526 s/^:*//
42527 s/:*$//
42528 x
42529 s/\(=[ ]*\).*/\1/
42530 G
42531 s/\n//
42532 s/^[^=]*=[ ]*$//
42533 }'
42534 fi
42535
42536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42537 fi # test -n "$CONFIG_FILES"
42538
42539 # Set up the scripts for CONFIG_HEADERS section.
42540 # No need to generate them if there are no CONFIG_HEADERS.
42541 # This happens for instance with `./config.status Makefile'.
42542 if test -n "$CONFIG_HEADERS"; then
42543 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
42544 BEGIN {
42545 _ACEOF
42546
42547 # Transform confdefs.h into an awk script `defines.awk', embedded as
42548 # here-document in config.status, that substitutes the proper values into
42549 # config.h.in to produce config.h.
42550
42551 # Create a delimiter string that does not exist in confdefs.h, to ease
42552 # handling of long lines.
42553 ac_delim='%!_!# '
42554 for ac_last_try in false false :; do
42555 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
42556 if test -z "$ac_tt"; then
42557 break
42558 elif $ac_last_try; then
42559 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
42560 else
42561 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42562 fi
42563 done
42564
42565 # For the awk script, D is an array of macro values keyed by name,
42566 # likewise P contains macro parameters if any. Preserve backslash
42567 # newline sequences.
42568
42569 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42570 sed -n '
42571 s/.\{148\}/&'"$ac_delim"'/g
42572 t rset
42573 :rset
42574 s/^[ ]*#[ ]*define[ ][ ]*/ /
42575 t def
42576 d
42577 :def
42578 s/\\$//
42579 t bsnl
42580 s/["\\]/\\&/g
42581 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42582 D["\1"]=" \3"/p
42583 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
42584 d
42585 :bsnl
42586 s/["\\]/\\&/g
42587 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42588 D["\1"]=" \3\\\\\\n"\\/p
42589 t cont
42590 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
42591 t cont
42592 d
42593 :cont
42594 n
42595 s/.\{148\}/&'"$ac_delim"'/g
42596 t clear
42597 :clear
42598 s/\\$//
42599 t bsnlc
42600 s/["\\]/\\&/g; s/^/"/; s/$/"/p
42601 d
42602 :bsnlc
42603 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
42604 b cont
42605 ' <confdefs.h | sed '
42606 s/'"$ac_delim"'/"\\\
42607 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42608
42609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42610 for (key in D) D_is_set[key] = 1
42611 FS = "\a"
42612 }
42613 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42614 line = \$ 0
42615 split(line, arg, " ")
42616 if (arg[1] == "#") {
42617 defundef = arg[2]
42618 mac1 = arg[3]
42619 } else {
42620 defundef = substr(arg[1], 2)
42621 mac1 = arg[2]
42622 }
42623 split(mac1, mac2, "(") #)
42624 macro = mac2[1]
42625 prefix = substr(line, 1, index(line, defundef) - 1)
42626 if (D_is_set[macro]) {
42627 # Preserve the white space surrounding the "#".
42628 print prefix "define", macro P[macro] D[macro]
42629 next
42630 } else {
42631 # Replace #undef with comments. This is necessary, for example,
42632 # in the case of _POSIX_SOURCE, which is predefined and required
42633 # on some systems where configure will not decide to define it.
42634 if (defundef == "undef") {
42635 print "/*", prefix defundef, macro, "*/"
42636 next
42637 }
42638 }
42639 }
42640 { print }
42641 _ACAWK
42642 _ACEOF
42643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42644 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
42645 fi # test -n "$CONFIG_HEADERS"
42646
42647
42648 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42649 shift
42650 for ac_tag
42651 do
42652 case $ac_tag in
42653 :[FHLC]) ac_mode=$ac_tag; continue;;
42654 esac
42655 case $ac_mode$ac_tag in
42656 :[FHL]*:*);;
42657 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
42658 :[FH]-) ac_tag=-:-;;
42659 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
42660 esac
42661 ac_save_IFS=$IFS
42662 IFS=:
42663 set x $ac_tag
42664 IFS=$ac_save_IFS
42665 shift
42666 ac_file=$1
42667 shift
42668
42669 case $ac_mode in
42670 :L) ac_source=$1;;
42671 :[FH])
42672 ac_file_inputs=
42673 for ac_f
42674 do
42675 case $ac_f in
42676 -) ac_f="$ac_tmp/stdin";;
42677 *) # Look for the file first in the build tree, then in the source tree
42678 # (if the path is not absolute). The absolute path cannot be DOS-style,
42679 # because $ac_f cannot contain `:'.
42680 test -f "$ac_f" ||
42681 case $ac_f in
42682 [\\/$]*) false;;
42683 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
42684 esac ||
42685 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42686 esac
42687 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42688 as_fn_append ac_file_inputs " '$ac_f'"
42689 done
42690
42691 # Let's still pretend it is `configure' which instantiates (i.e., don't
42692 # use $as_me), people would be surprised to read:
42693 # /* config.h. Generated by config.status. */
42694 configure_input='Generated from '`
42695 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42696 `' by configure.'
42697 if test x"$ac_file" != x-; then
42698 configure_input="$ac_file. $configure_input"
42699 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42700 $as_echo "$as_me: creating $ac_file" >&6;}
42701 fi
42702 # Neutralize special characters interpreted by sed in replacement strings.
42703 case $configure_input in #(
42704 *\&* | *\|* | *\\* )
42705 ac_sed_conf_input=`$as_echo "$configure_input" |
42706 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42707 *) ac_sed_conf_input=$configure_input;;
42708 esac
42709
42710 case $ac_tag in
42711 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42712 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
42713 esac
42714 ;;
42715 esac
42716
42717 ac_dir=`$as_dirname -- "$ac_file" ||
42718 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42719 X"$ac_file" : 'X\(//\)[^/]' \| \
42720 X"$ac_file" : 'X\(//\)$' \| \
42721 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42722 $as_echo X"$ac_file" |
42723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42724 s//\1/
42725 q
42726 }
42727 /^X\(\/\/\)[^/].*/{
42728 s//\1/
42729 q
42730 }
42731 /^X\(\/\/\)$/{
42732 s//\1/
42733 q
42734 }
42735 /^X\(\/\).*/{
42736 s//\1/
42737 q
42738 }
42739 s/.*/./; q'`
42740 as_dir="$ac_dir"; as_fn_mkdir_p
42741 ac_builddir=.
42742
42743 case "$ac_dir" in
42744 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42745 *)
42746 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42747 # A ".." for each directory in $ac_dir_suffix.
42748 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42749 case $ac_top_builddir_sub in
42750 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42751 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42752 esac ;;
42753 esac
42754 ac_abs_top_builddir=$ac_pwd
42755 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42756 # for backward compatibility:
42757 ac_top_builddir=$ac_top_build_prefix
42758
42759 case $srcdir in
42760 .) # We are building in place.
42761 ac_srcdir=.
42762 ac_top_srcdir=$ac_top_builddir_sub
42763 ac_abs_top_srcdir=$ac_pwd ;;
42764 [\\/]* | ?:[\\/]* ) # Absolute name.
42765 ac_srcdir=$srcdir$ac_dir_suffix;
42766 ac_top_srcdir=$srcdir
42767 ac_abs_top_srcdir=$srcdir ;;
42768 *) # Relative name.
42769 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42770 ac_top_srcdir=$ac_top_build_prefix$srcdir
42771 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42772 esac
42773 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42774
42775
42776 case $ac_mode in
42777 :F)
42778 #
42779 # CONFIG_FILE
42780 #
42781
42782 case $INSTALL in
42783 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42784 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
42785 esac
42786 _ACEOF
42787
42788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42789 # If the template does not know about datarootdir, expand it.
42790 # FIXME: This hack should be removed a few years after 2.60.
42791 ac_datarootdir_hack=; ac_datarootdir_seen=
42792 ac_sed_dataroot='
42793 /datarootdir/ {
42794 p
42795 q
42796 }
42797 /@datadir@/p
42798 /@docdir@/p
42799 /@infodir@/p
42800 /@localedir@/p
42801 /@mandir@/p'
42802 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42803 *datarootdir*) ac_datarootdir_seen=yes;;
42804 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
42805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42806 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42807 _ACEOF
42808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42809 ac_datarootdir_hack='
42810 s&@datadir@&$datadir&g
42811 s&@docdir@&$docdir&g
42812 s&@infodir@&$infodir&g
42813 s&@localedir@&$localedir&g
42814 s&@mandir@&$mandir&g
42815 s&\\\${datarootdir}&$datarootdir&g' ;;
42816 esac
42817 _ACEOF
42818
42819 # Neutralize VPATH when `$srcdir' = `.'.
42820 # Shell code in configure.ac might set extrasub.
42821 # FIXME: do we really want to maintain this feature?
42822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42823 ac_sed_extra="$ac_vpsub
42824 $extrasub
42825 _ACEOF
42826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42827 :t
42828 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42829 s|@configure_input@|$ac_sed_conf_input|;t t
42830 s&@top_builddir@&$ac_top_builddir_sub&;t t
42831 s&@top_build_prefix@&$ac_top_build_prefix&;t t
42832 s&@srcdir@&$ac_srcdir&;t t
42833 s&@abs_srcdir@&$ac_abs_srcdir&;t t
42834 s&@top_srcdir@&$ac_top_srcdir&;t t
42835 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42836 s&@builddir@&$ac_builddir&;t t
42837 s&@abs_builddir@&$ac_abs_builddir&;t t
42838 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42839 s&@INSTALL@&$ac_INSTALL&;t t
42840 $ac_datarootdir_hack
42841 "
42842 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
42843 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42844
42845 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42846 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
42847 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
42848 "$ac_tmp/out"`; test -z "$ac_out"; } &&
42849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42850 which seems to be undefined. Please make sure it is defined" >&5
42851 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42852 which seems to be undefined. Please make sure it is defined" >&2;}
42853
42854 rm -f "$ac_tmp/stdin"
42855 case $ac_file in
42856 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42857 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42858 esac \
42859 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42860 ;;
42861 :H)
42862 #
42863 # CONFIG_HEADER
42864 #
42865 if test x"$ac_file" != x-; then
42866 {
42867 $as_echo "/* $configure_input */" \
42868 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42869 } >"$ac_tmp/config.h" \
42870 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42871 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42872 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42873 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42874 else
42875 rm -f "$ac_file"
42876 mv "$ac_tmp/config.h" "$ac_file" \
42877 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42878 fi
42879 else
42880 $as_echo "/* $configure_input */" \
42881 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42882 || as_fn_error $? "could not create -" "$LINENO" 5
42883 fi
42884 ;;
42885
42886 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42887 $as_echo "$as_me: executing $ac_file commands" >&6;}
42888 ;;
42889 esac
42890
42891
42892 case $ac_file$ac_mode in
42893 "rcdefs.h":C)
42894 mkdir -p $outdir &&
42895 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42896 ;;
42897 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42898 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42899 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
42900 "wx-config":C) rm -f wx-config
42901 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42902 ;;
42903
42904 esac
42905 done # for ac_tag
42906
42907
42908 as_fn_exit 0
42909 _ACEOF
42910 ac_clean_files=$ac_clean_files_save
42911
42912 test $ac_write_fail = 0 ||
42913 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
42914
42915
42916 # configure is writing to config.log, and then calls config.status.
42917 # config.status does its own redirection, appending to config.log.
42918 # Unfortunately, on DOS this fails, as config.log is still kept open
42919 # by configure, so config.status won't be able to write to it; its
42920 # output is simply discarded. So we exec the FD to /dev/null,
42921 # effectively closing config.log, so it can be properly (re)opened and
42922 # appended to by config.status. When coming back to configure, we
42923 # need to make the FD available again.
42924 if test "$no_create" != yes; then
42925 ac_cs_success=:
42926 ac_config_status_args=
42927 test "$silent" = yes &&
42928 ac_config_status_args="$ac_config_status_args --quiet"
42929 exec 5>/dev/null
42930 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42931 exec 5>>config.log
42932 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42933 # would make configure fail if this is the last instruction.
42934 $ac_cs_success || as_fn_exit 1
42935 fi
42936
42937 #
42938 # CONFIG_SUBDIRS section.
42939 #
42940 if test "$no_recursion" != yes; then
42941
42942 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42943 # so they do not pile up.
42944 ac_sub_configure_args=
42945 ac_prev=
42946 eval "set x $ac_configure_args"
42947 shift
42948 for ac_arg
42949 do
42950 if test -n "$ac_prev"; then
42951 ac_prev=
42952 continue
42953 fi
42954 case $ac_arg in
42955 -cache-file | --cache-file | --cache-fil | --cache-fi \
42956 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42957 ac_prev=cache_file ;;
42958 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42959 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42960 | --c=*)
42961 ;;
42962 --config-cache | -C)
42963 ;;
42964 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42965 ac_prev=srcdir ;;
42966 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42967 ;;
42968 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42969 ac_prev=prefix ;;
42970 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42971 ;;
42972 --disable-option-checking)
42973 ;;
42974 *)
42975 case $ac_arg in
42976 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42977 esac
42978 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
42979 esac
42980 done
42981
42982 # Always prepend --prefix to ensure using the same prefix
42983 # in subdir configurations.
42984 ac_arg="--prefix=$prefix"
42985 case $ac_arg in
42986 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42987 esac
42988 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
42989
42990 # Pass --silent
42991 if test "$silent" = yes; then
42992 ac_sub_configure_args="--silent $ac_sub_configure_args"
42993 fi
42994
42995 # Always prepend --disable-option-checking to silence warnings, since
42996 # different subdirs can have different --enable and --with options.
42997 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
42998
42999 ac_popdir=`pwd`
43000 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
43001
43002 # Do not complain, so a configure script can configure whichever
43003 # parts of a large source tree are present.
43004 test -d "$srcdir/$ac_dir" || continue
43005
43006 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
43007 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
43008 $as_echo "$ac_msg" >&6
43009 as_dir="$ac_dir"; as_fn_mkdir_p
43010 ac_builddir=.
43011
43012 case "$ac_dir" in
43013 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
43014 *)
43015 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
43016 # A ".." for each directory in $ac_dir_suffix.
43017 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
43018 case $ac_top_builddir_sub in
43019 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
43020 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
43021 esac ;;
43022 esac
43023 ac_abs_top_builddir=$ac_pwd
43024 ac_abs_builddir=$ac_pwd$ac_dir_suffix
43025 # for backward compatibility:
43026 ac_top_builddir=$ac_top_build_prefix
43027
43028 case $srcdir in
43029 .) # We are building in place.
43030 ac_srcdir=.
43031 ac_top_srcdir=$ac_top_builddir_sub
43032 ac_abs_top_srcdir=$ac_pwd ;;
43033 [\\/]* | ?:[\\/]* ) # Absolute name.
43034 ac_srcdir=$srcdir$ac_dir_suffix;
43035 ac_top_srcdir=$srcdir
43036 ac_abs_top_srcdir=$srcdir ;;
43037 *) # Relative name.
43038 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
43039 ac_top_srcdir=$ac_top_build_prefix$srcdir
43040 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
43041 esac
43042 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
43043
43044
43045 cd "$ac_dir"
43046
43047 # Check for guested configure; otherwise get Cygnus style configure.
43048 if test -f "$ac_srcdir/configure.gnu"; then
43049 ac_sub_configure=$ac_srcdir/configure.gnu
43050 elif test -f "$ac_srcdir/configure"; then
43051 ac_sub_configure=$ac_srcdir/configure
43052 elif test -f "$ac_srcdir/configure.in"; then
43053 # This should be Cygnus configure.
43054 ac_sub_configure=$ac_aux_dir/configure
43055 else
43056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
43057 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43058 ac_sub_configure=
43059 fi
43060
43061 # The recursion is here.
43062 if test -n "$ac_sub_configure"; then
43063 # Make the cache file name correct relative to the subdirectory.
43064 case $cache_file in
43065 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
43066 *) # Relative name.
43067 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
43068 esac
43069
43070 { $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
43071 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43072 # The eval makes quoting arguments work.
43073 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
43074 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
43075 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
43076 fi
43077
43078 cd "$ac_popdir"
43079 done
43080 fi
43081 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
43082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
43083 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
43084 fi
43085
43086
43087 echo
43088 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43089 echo ""
43090 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
43091 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43092 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43093 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
43094 if test "$wxUSE_UNICODE" = "yes"; then
43095 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
43096 echo " (using UTF-8)"
43097 else
43098 echo " (using wchar_t)"
43099 fi
43100 else
43101 echo
43102 fi
43103
43104 echo " What level of wxWidgets compatibility should be enabled?"
43105 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
43106 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
43107
43108 echo " Which libraries should wxWidgets use?"
43109 echo " STL ${wxUSE_STL}"
43110 echo " jpeg ${wxUSE_LIBJPEG-none}"
43111 echo " png ${wxUSE_LIBPNG-none}"
43112 echo " regex ${wxUSE_REGEX}"
43113 echo " tiff ${wxUSE_LIBTIFF-none}"
43114 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43115 echo " xpm ${wxUSE_LIBXPM-none}"
43116 fi
43117 echo " zlib ${wxUSE_ZLIB}"
43118 echo " expat ${wxUSE_EXPAT}"
43119 echo " libmspack ${wxUSE_LIBMSPACK}"
43120 echo " sdl ${wxUSE_LIBSDL}"
43121
43122 echo ""
43123