]> git.saurik.com Git - wxWidgets.git/blob - configure
adding a more extensive version to arrive at the impl when given a native control...
[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_WXUNIV_1
679 COND_WXUNIV_0
680 COND_WITH_PLUGIN_SDL_1
681 COND_WINDOWS_IMPLIB_1
682 COND_USE_XRC_1
683 COND_USE_THREADS_1
684 COND_USE_THREADS_0
685 COND_USE_STC_1
686 COND_USE_SOVERSOLARIS_1
687 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
688 COND_USE_SOVERSION_0
689 COND_USE_SOVERLINUX_1
690 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
691 COND_USE_SOTWOSYMLINKS_1
692 COND_USE_RTTI_1
693 COND_USE_RTTI_0
694 COND_USE_PLUGINS_0
695 COND_USE_PCH_1
696 COND_USE_OPENGL_1
697 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
698 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
699 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
700 COND_USE_GUI_1_WXUNIV_1
701 COND_USE_GUI_1_WXUNIV_0
702 COND_USE_GUI_1_USE_OPENGL_1
703 COND_USE_GUI_1
704 COND_USE_GUI_0
705 COND_USE_EXCEPTIONS_1
706 COND_USE_EXCEPTIONS_0
707 COND_USE_CAIRO_1
708 COND_UNICODE_1
709 COND_TOOLKIT_X11_USE_GUI_1
710 COND_TOOLKIT_X11
711 COND_TOOLKIT_WINCE_WXUNIV_0
712 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
713 COND_TOOLKIT_WINCE_USE_GUI_1
714 COND_TOOLKIT_WINCE
715 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
716 COND_TOOLKIT_PM_USE_GUI_1
717 COND_TOOLKIT_PM
718 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
719 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
720 COND_TOOLKIT_OSX_IPHONE
721 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
722 COND_TOOLKIT_OSX_COCOA
723 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
724 COND_TOOLKIT_OSX_CARBON
725 COND_TOOLKIT_MSW_WXUNIV_0
726 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
727 COND_TOOLKIT_MSW_USE_GUI_1
728 COND_TOOLKIT_MSW
729 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
730 COND_TOOLKIT_MOTIF_USE_GUI_1
731 COND_TOOLKIT_MOTIF
732 COND_TOOLKIT_MAC
733 COND_TOOLKIT_GTK_USE_GUI_1
734 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
735 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
736 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
737 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
738 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
739 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
740 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
741 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
742 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
743 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
744 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
745 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
746 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
747 COND_TOOLKIT_GTK
748 COND_TOOLKIT_DFB_USE_GUI_1
749 COND_TOOLKIT_DFB
750 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
751 COND_TOOLKIT_COCOA_USE_GUI_1
752 COND_TOOLKIT_COCOA
753 COND_TOOLKIT_
754 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
755 COND_SHARED_1
756 COND_SHARED_0_wxUSE_ZLIB_builtin
757 COND_SHARED_0_wxUSE_REGEX_builtin
758 COND_SHARED_0_wxUSE_EXPAT_builtin
759 COND_SHARED_0_USE_STC_1
760 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
761 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
762 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
763 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
764 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
765 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
766 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
767 COND_SHARED_0
768 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
769 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
770 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
771 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
772 COND_PLATFORM_WIN32_1_SHARED_0
773 COND_PLATFORM_WIN32_1
774 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
775 COND_PLATFORM_WIN32_0
776 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
777 COND_PLATFORM_UNIX_1_USE_GUI_1
778 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
779 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
780 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
781 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
782 COND_PLATFORM_UNIX_1
783 COND_PLATFORM_UNIX_0
784 COND_PLATFORM_OS2_1
785 COND_PLATFORM_MSDOS_1
786 COND_PLATFORM_MSDOS_0
787 COND_PLATFORM_MAC_1
788 COND_PLATFORM_MAC_0
789 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
790 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
791 COND_PLATFORM_MACOSX_1_USE_GUI_1
792 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
793 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
794 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
795 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
796 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
797 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
798 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
799 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
800 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
801 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
802 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
803 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
804 COND_PLATFORM_MACOSX_1
805 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
806 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
807 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
808 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
809 COND_MONOLITHIC_1_SHARED_1
810 COND_MONOLITHIC_1_SHARED_0
811 COND_MONOLITHIC_1
812 COND_MONOLITHIC_0_USE_XRC_1
813 COND_MONOLITHIC_0_USE_WEBVIEW_1
814 COND_MONOLITHIC_0_USE_STC_1
815 COND_MONOLITHIC_0_USE_RICHTEXT_1
816 COND_MONOLITHIC_0_USE_RIBBON_1
817 COND_MONOLITHIC_0_USE_QA_1
818 COND_MONOLITHIC_0_USE_PROPGRID_1
819 COND_MONOLITHIC_0_USE_MEDIA_1
820 COND_MONOLITHIC_0_USE_HTML_1
821 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
822 COND_MONOLITHIC_0_USE_GUI_1
823 COND_MONOLITHIC_0_USE_AUI_1
824 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
825 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
826 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
827 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
828 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
829 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
834 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
835 COND_MONOLITHIC_0_SHARED_1
836 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
838 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
839 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
840 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
846 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
847 COND_MONOLITHIC_0_SHARED_0
848 COND_MONOLITHIC_0
849 COND_ICC_PCH_1
850 COND_GCC_PCH_1
851 COND_DEPS_TRACKING_1
852 COND_DEPS_TRACKING_0
853 COND_DEBUG_INFO_1
854 COND_DEBUG_INFO_0
855 COND_DEBUG_FLAG_0
856 COND_BUILD_release_DEBUG_INFO_default
857 COND_BUILD_release
858 COND_BUILD_debug_DEBUG_INFO_default
859 COND_BUILD_debug
860 BK_MAKE_PCH
861 ICC_PCH_USE_SWITCH
862 ICC_PCH_CREATE_SWITCH
863 ICC_PCH
864 GCC_PCH
865 OBJCXXFLAGS
866 SETFILE
867 REZ
868 WINDRES
869 BK_DEPS
870 DEPS_TRACKING
871 SONAME_FLAG
872 USE_SOTWOSYMLINKS
873 USE_MACVERSION
874 USE_SOVERCYGWIN
875 USE_SOVERSOLARIS
876 USE_SOVERLINUX
877 USE_SOVERSION
878 WINDOWS_IMPLIB
879 PIC_FLAG
880 SHARED_LD_MODULE_CXX
881 SHARED_LD_MODULE_CC
882 SHARED_LD_CXX
883 SHARED_LD_CC
884 AIX_CXX_LD
885 dlldir
886 DLLPREFIX_MODULE
887 DLLPREFIX
888 LIBEXT
889 LIBPREFIX
890 DLLIMP_SUFFIX
891 SO_SUFFIX_MODULE
892 SO_SUFFIX
893 PLATFORM_BEOS
894 PLATFORM_OS2
895 PLATFORM_MACOSX
896 PLATFORM_MACOS
897 PLATFORM_MAC
898 PLATFORM_MSDOS
899 PLATFORM_WIN32
900 PLATFORM_UNIX
901 IF_GNU_MAKE
902 LDFLAGS_GUI
903 INSTALL_DIR
904 NM
905 STRIP
906 AROPTIONS
907 MAKE_SET
908 SET_MAKE
909 LN_S
910 INSTALL_DATA
911 INSTALL_SCRIPT
912 INSTALL_PROGRAM
913 RANLIB
914 CPPUNIT_LIBS
915 CPPUNIT_CFLAGS
916 HOST_SUFFIX
917 HEADER_PAD_OPTION
918 SAMPLES_RPATH_FLAG
919 DYLIB_RPATH_POSTLINK
920 DYLIB_RPATH_INSTALL
921 TOOLKIT_VERSION
922 TOOLKIT_LOWERCASE
923 DEBUG_FLAG
924 DEBUG_INFO
925 UNICODE
926 WITH_PLUGIN_SDL
927 EXTRALIBS_STC
928 EXTRALIBS_SDL
929 EXTRALIBS_OPENGL
930 EXTRALIBS_GUI
931 EXTRALIBS_MEDIA
932 EXTRALIBS_HTML
933 EXTRALIBS_XML
934 EXTRALIBS
935 CXXWARNINGS
936 USE_PLUGINS
937 MONOLITHIC
938 WXUNIV
939 WX_LIB_FLAVOUR
940 WX_FLAVOUR
941 OFFICIAL_BUILD
942 VENDOR
943 wxUSE_LIBTIFF
944 wxUSE_LIBPNG
945 wxUSE_LIBJPEG
946 wxUSE_EXPAT
947 wxUSE_REGEX
948 wxUSE_ZLIB
949 STD_GUI_LIBS
950 STD_BASE_LIBS
951 BUILT_WX_LIBS
952 ALL_WX_LIBS
953 GST_LIBS
954 GST_CFLAGS
955 CAIRO_LIBS
956 CAIRO_CFLAGS
957 WEBKIT_LIBS
958 WEBKIT_CFLAGS
959 COND_PYTHON
960 PYTHON
961 HILDON2_LIBS
962 HILDON2_CFLAGS
963 HILDON_LIBS
964 HILDON_CFLAGS
965 LIBNOTIFY_LIBS
966 LIBNOTIFY_CFLAGS
967 GNOMEVFS_LIBS
968 GNOMEVFS_CFLAGS
969 LIBGNOMEPRINTUI_LIBS
970 LIBGNOMEPRINTUI_CFLAGS
971 GTKPRINT_LIBS
972 GTKPRINT_CFLAGS
973 SDL_LIBS
974 SDL_CFLAGS
975 SDL_CONFIG
976 GXX_VERSION
977 LIBICONV
978 CXXFLAGS_VISIBILITY
979 CFLAGS_VISIBILITY
980 MesaGL_LIBS
981 MesaGL_CFLAGS
982 GLU_LIBS
983 GLU_CFLAGS
984 GL_LIBS
985 GL_CFLAGS
986 SM_LIBS
987 SM_CFLAGS
988 Xxf86vm_LIBS
989 Xxf86vm_CFLAGS
990 Xinerama_LIBS
991 Xinerama_CFLAGS
992 PANGOXFT_LIBS
993 PANGOXFT_CFLAGS
994 PANGOFT2_LIBS
995 PANGOFT2_CFLAGS
996 PANGOX_LIBS
997 PANGOX_CFLAGS
998 X_EXTRA_LIBS
999 X_LIBS
1000 X_PRE_LIBS
1001 X_CFLAGS
1002 XMKMF
1003 DIRECTFB_LIBS
1004 DIRECTFB_CFLAGS
1005 GTK_CONFIG
1006 GTK_LIBS
1007 GTK_CFLAGS
1008 PKG_CONFIG
1009 subdirs
1010 CXXCPP
1011 AR
1012 ac_ct_CXX
1013 CXXFLAGS
1014 CXX
1015 EGREP
1016 GREP
1017 CPP
1018 OBJEXT
1019 EXEEXT
1020 ac_ct_CC
1021 CPPFLAGS
1022 LDFLAGS
1023 CFLAGS
1024 CC
1025 wx_top_builddir
1026 host_os
1027 host_vendor
1028 host_cpu
1029 host
1030 build_os
1031 build_vendor
1032 build_cpu
1033 build
1034 target_alias
1035 host_alias
1036 build_alias
1037 LIBS
1038 ECHO_T
1039 ECHO_N
1040 ECHO_C
1041 DEFS
1042 mandir
1043 localedir
1044 libdir
1045 psdir
1046 pdfdir
1047 dvidir
1048 htmldir
1049 infodir
1050 docdir
1051 oldincludedir
1052 includedir
1053 localstatedir
1054 sharedstatedir
1055 sysconfdir
1056 datadir
1057 datarootdir
1058 libexecdir
1059 sbindir
1060 bindir
1061 program_transform_name
1062 prefix
1063 exec_prefix
1064 PACKAGE_URL
1065 PACKAGE_BUGREPORT
1066 PACKAGE_STRING
1067 PACKAGE_VERSION
1068 PACKAGE_TARNAME
1069 PACKAGE_NAME
1070 PATH_SEPARATOR
1071 SHELL'
1072 ac_subst_files=''
1073 ac_user_opts='
1074 enable_option_checking
1075 enable_gui
1076 enable_monolithic
1077 enable_plugins
1078 with_subdirs
1079 with_flavour
1080 enable_official_build
1081 enable_vendor
1082 enable_all_features
1083 enable_universal
1084 with_themes
1085 with_gtk
1086 with_motif
1087 with_osx_carbon
1088 with_osx_cocoa
1089 with_osx_iphone
1090 with_osx
1091 with_carbon
1092 with_cocoa
1093 with_iphone
1094 with_mac
1095 with_old_cocoa
1096 with_wine
1097 with_msw
1098 with_pm
1099 with_directfb
1100 with_microwin
1101 with_x11
1102 enable_nanox
1103 enable_gpe
1104 with_libpng
1105 with_libjpeg
1106 with_libtiff
1107 with_libxpm
1108 with_libiconv
1109 with_libmspack
1110 with_gtkprint
1111 with_gnomeprint
1112 with_gnomevfs
1113 with_libnotify
1114 with_hildon
1115 with_opengl
1116 with_dmalloc
1117 with_sdl
1118 with_regex
1119 with_zlib
1120 with_expat
1121 with_macosx_sdk
1122 with_macosx_version_min
1123 enable_debug
1124 enable_debug_flag
1125 enable_debug_info
1126 enable_debug_gdb
1127 enable_debug_cntxt
1128 enable_mem_tracing
1129 enable_shared
1130 enable_stl
1131 enable_std_containers
1132 enable_std_iostreams
1133 enable_std_string
1134 enable_std_string_conv_in_wxstring
1135 enable_unicode
1136 enable_mslu
1137 enable_utf8
1138 enable_utf8only
1139 enable_extended_rtti
1140 enable_omf
1141 enable_optimise
1142 enable_profile
1143 enable_no_rtti
1144 enable_no_exceptions
1145 enable_permissive
1146 enable_no_deps
1147 enable_vararg_macros
1148 enable_universal_binary
1149 enable_macosx_arch
1150 enable_compat26
1151 enable_compat28
1152 enable_rpath
1153 enable_objc_uniquifying
1154 enable_visibility
1155 enable_tls
1156 enable_intl
1157 enable_xlocale
1158 enable_config
1159 enable_protocols
1160 enable_ftp
1161 enable_http
1162 enable_fileproto
1163 enable_sockets
1164 enable_ipv6
1165 enable_ole
1166 enable_dataobj
1167 enable_ipc
1168 enable_baseevtloop
1169 enable_epollloop
1170 enable_selectloop
1171 enable_any
1172 enable_apple_ieee
1173 enable_arcstream
1174 enable_base64
1175 enable_backtrace
1176 enable_catch_segvs
1177 enable_cmdline
1178 enable_datetime
1179 enable_debugreport
1180 enable_dialupman
1181 enable_dynlib
1182 enable_dynamicloader
1183 enable_exceptions
1184 enable_ffile
1185 enable_file
1186 enable_filehistory
1187 enable_filesystem
1188 enable_fontenum
1189 enable_fontmap
1190 enable_fs_archive
1191 enable_fs_inet
1192 enable_fs_zip
1193 enable_fsvolume
1194 enable_fswatcher
1195 enable_geometry
1196 enable_log
1197 enable_longlong
1198 enable_mimetype
1199 enable_printfposparam
1200 enable_snglinst
1201 enable_sound
1202 enable_stdpaths
1203 enable_stopwatch
1204 enable_streams
1205 enable_sysoptions
1206 enable_tarstream
1207 enable_textbuf
1208 enable_textfile
1209 enable_timer
1210 enable_variant
1211 enable_zipstream
1212 enable_url
1213 enable_protocol
1214 enable_protocol_http
1215 enable_protocol_ftp
1216 enable_protocol_file
1217 enable_threads
1218 enable_iniconf
1219 enable_regkey
1220 enable_docview
1221 enable_help
1222 enable_mshtmlhelp
1223 enable_html
1224 enable_htmlhelp
1225 enable_xrc
1226 enable_aui
1227 enable_propgrid
1228 enable_ribbon
1229 enable_stc
1230 enable_constraints
1231 enable_loggui
1232 enable_logwin
1233 enable_logdialog
1234 enable_mdi
1235 enable_mdidoc
1236 enable_mediactrl
1237 enable_gstreamer8
1238 enable_richtext
1239 enable_postscript
1240 enable_printarch
1241 enable_svg
1242 enable_webkit
1243 enable_webview
1244 enable_graphics_ctx
1245 enable_clipboard
1246 enable_dnd
1247 enable_controls
1248 enable_markup
1249 enable_accel
1250 enable_animatectrl
1251 enable_bannerwindow
1252 enable_artstd
1253 enable_arttango
1254 enable_bmpbutton
1255 enable_bmpcombobox
1256 enable_button
1257 enable_calendar
1258 enable_caret
1259 enable_checkbox
1260 enable_checklst
1261 enable_choice
1262 enable_choicebook
1263 enable_collpane
1264 enable_colourpicker
1265 enable_combobox
1266 enable_comboctrl
1267 enable_commandlinkbutton
1268 enable_dataviewctrl
1269 enable_datepick
1270 enable_detect_sm
1271 enable_dirpicker
1272 enable_display
1273 enable_editablebox
1274 enable_filectrl
1275 enable_filepicker
1276 enable_fontpicker
1277 enable_gauge
1278 enable_grid
1279 enable_headerctrl
1280 enable_hyperlink
1281 enable_imaglist
1282 enable_infobar
1283 enable_listbook
1284 enable_listbox
1285 enable_listctrl
1286 enable_notebook
1287 enable_notifmsg
1288 enable_odcombobox
1289 enable_popupwin
1290 enable_radiobox
1291 enable_radiobtn
1292 enable_richmsgdlg
1293 enable_richtooltip
1294 enable_rearrangectrl
1295 enable_sash
1296 enable_scrollbar
1297 enable_searchctrl
1298 enable_slider
1299 enable_spinbtn
1300 enable_spinctrl
1301 enable_splitter
1302 enable_statbmp
1303 enable_statbox
1304 enable_statline
1305 enable_stattext
1306 enable_statusbar
1307 enable_taskbaricon
1308 enable_tbarnative
1309 enable_textctrl
1310 enable_tipwindow
1311 enable_togglebtn
1312 enable_toolbar
1313 enable_toolbook
1314 enable_treebook
1315 enable_treectrl
1316 enable_treelist
1317 enable_commondlg
1318 enable_aboutdlg
1319 enable_choicedlg
1320 enable_coldlg
1321 enable_filedlg
1322 enable_finddlg
1323 enable_fontdlg
1324 enable_dirdlg
1325 enable_msgdlg
1326 enable_numberdlg
1327 enable_splash
1328 enable_textdlg
1329 enable_tipdlg
1330 enable_progressdlg
1331 enable_wizarddlg
1332 enable_menus
1333 enable_miniframe
1334 enable_tooltips
1335 enable_splines
1336 enable_mousewheel
1337 enable_validators
1338 enable_busyinfo
1339 enable_hotkey
1340 enable_joystick
1341 enable_metafile
1342 enable_dragimage
1343 enable_accessibility
1344 enable_uiactionsim
1345 enable_dctransform
1346 enable_webviewwebkit
1347 enable_palette
1348 enable_image
1349 enable_gif
1350 enable_pcx
1351 enable_tga
1352 enable_iff
1353 enable_pnm
1354 enable_xpm
1355 enable_ico_cur
1356 enable_dccache
1357 enable_ps_in_msw
1358 enable_ownerdrawn
1359 enable_uxtheme
1360 enable_wxdib
1361 enable_webviewie
1362 enable_autoidman
1363 enable_largefile
1364 enable_gtktest
1365 with_gtk_prefix
1366 with_gtk_exec_prefix
1367 with_x
1368 with_libiconv_prefix
1369 with_sdl_prefix
1370 with_sdl_exec_prefix
1371 enable_sdltest
1372 enable_dependency_tracking
1373 enable_precomp_headers
1374 with_cppunit_prefix
1375 with_cppunit_exec_prefix
1376 '
1377 ac_precious_vars='build_alias
1378 host_alias
1379 target_alias
1380 CC
1381 CFLAGS
1382 LDFLAGS
1383 LIBS
1384 CPPFLAGS
1385 CPP
1386 CXX
1387 CXXFLAGS
1388 CCC
1389 CXXCPP
1390 PKG_CONFIG
1391 DIRECTFB_CFLAGS
1392 DIRECTFB_LIBS
1393 XMKMF
1394 PANGOX_CFLAGS
1395 PANGOX_LIBS
1396 PANGOFT2_CFLAGS
1397 PANGOFT2_LIBS
1398 PANGOXFT_CFLAGS
1399 PANGOXFT_LIBS
1400 Xinerama_CFLAGS
1401 Xinerama_LIBS
1402 Xxf86vm_CFLAGS
1403 Xxf86vm_LIBS
1404 SM_CFLAGS
1405 SM_LIBS
1406 GL_CFLAGS
1407 GL_LIBS
1408 GLU_CFLAGS
1409 GLU_LIBS
1410 MesaGL_CFLAGS
1411 MesaGL_LIBS
1412 GTKPRINT_CFLAGS
1413 GTKPRINT_LIBS
1414 LIBGNOMEPRINTUI_CFLAGS
1415 LIBGNOMEPRINTUI_LIBS
1416 GNOMEVFS_CFLAGS
1417 GNOMEVFS_LIBS
1418 LIBNOTIFY_CFLAGS
1419 LIBNOTIFY_LIBS
1420 HILDON_CFLAGS
1421 HILDON_LIBS
1422 HILDON2_CFLAGS
1423 HILDON2_LIBS
1424 WEBKIT_CFLAGS
1425 WEBKIT_LIBS
1426 CAIRO_CFLAGS
1427 CAIRO_LIBS
1428 GST_CFLAGS
1429 GST_LIBS'
1430 ac_subdirs_all='src/tiff
1431 src/expat'
1432
1433 # Initialize some variables set by options.
1434 ac_init_help=
1435 ac_init_version=false
1436 ac_unrecognized_opts=
1437 ac_unrecognized_sep=
1438 # The variables have the same names as the options, with
1439 # dashes changed to underlines.
1440 cache_file=/dev/null
1441 exec_prefix=NONE
1442 no_create=
1443 no_recursion=
1444 prefix=NONE
1445 program_prefix=NONE
1446 program_suffix=NONE
1447 program_transform_name=s,x,x,
1448 silent=
1449 site=
1450 srcdir=
1451 verbose=
1452 x_includes=NONE
1453 x_libraries=NONE
1454
1455 # Installation directory options.
1456 # These are left unexpanded so users can "make install exec_prefix=/foo"
1457 # and all the variables that are supposed to be based on exec_prefix
1458 # by default will actually change.
1459 # Use braces instead of parens because sh, perl, etc. also accept them.
1460 # (The list follows the same order as the GNU Coding Standards.)
1461 bindir='${exec_prefix}/bin'
1462 sbindir='${exec_prefix}/sbin'
1463 libexecdir='${exec_prefix}/libexec'
1464 datarootdir='${prefix}/share'
1465 datadir='${datarootdir}'
1466 sysconfdir='${prefix}/etc'
1467 sharedstatedir='${prefix}/com'
1468 localstatedir='${prefix}/var'
1469 includedir='${prefix}/include'
1470 oldincludedir='/usr/include'
1471 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1472 infodir='${datarootdir}/info'
1473 htmldir='${docdir}'
1474 dvidir='${docdir}'
1475 pdfdir='${docdir}'
1476 psdir='${docdir}'
1477 libdir='${exec_prefix}/lib'
1478 localedir='${datarootdir}/locale'
1479 mandir='${datarootdir}/man'
1480
1481 ac_prev=
1482 ac_dashdash=
1483 for ac_option
1484 do
1485 # If the previous option needs an argument, assign it.
1486 if test -n "$ac_prev"; then
1487 eval $ac_prev=\$ac_option
1488 ac_prev=
1489 continue
1490 fi
1491
1492 case $ac_option in
1493 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1494 *=) ac_optarg= ;;
1495 *) ac_optarg=yes ;;
1496 esac
1497
1498 # Accept the important Cygnus configure options, so we can diagnose typos.
1499
1500 case $ac_dashdash$ac_option in
1501 --)
1502 ac_dashdash=yes ;;
1503
1504 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1505 ac_prev=bindir ;;
1506 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1507 bindir=$ac_optarg ;;
1508
1509 -build | --build | --buil | --bui | --bu)
1510 ac_prev=build_alias ;;
1511 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1512 build_alias=$ac_optarg ;;
1513
1514 -cache-file | --cache-file | --cache-fil | --cache-fi \
1515 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1516 ac_prev=cache_file ;;
1517 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1518 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1519 cache_file=$ac_optarg ;;
1520
1521 --config-cache | -C)
1522 cache_file=config.cache ;;
1523
1524 -datadir | --datadir | --datadi | --datad)
1525 ac_prev=datadir ;;
1526 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1527 datadir=$ac_optarg ;;
1528
1529 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1530 | --dataroo | --dataro | --datar)
1531 ac_prev=datarootdir ;;
1532 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1533 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1534 datarootdir=$ac_optarg ;;
1535
1536 -disable-* | --disable-*)
1537 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1538 # Reject names that are not valid shell variable names.
1539 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1540 as_fn_error $? "invalid feature name: $ac_useropt"
1541 ac_useropt_orig=$ac_useropt
1542 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1543 case $ac_user_opts in
1544 *"
1545 "enable_$ac_useropt"
1546 "*) ;;
1547 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1548 ac_unrecognized_sep=', ';;
1549 esac
1550 eval enable_$ac_useropt=no ;;
1551
1552 -docdir | --docdir | --docdi | --doc | --do)
1553 ac_prev=docdir ;;
1554 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1555 docdir=$ac_optarg ;;
1556
1557 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1558 ac_prev=dvidir ;;
1559 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1560 dvidir=$ac_optarg ;;
1561
1562 -enable-* | --enable-*)
1563 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1564 # Reject names that are not valid shell variable names.
1565 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1566 as_fn_error $? "invalid feature name: $ac_useropt"
1567 ac_useropt_orig=$ac_useropt
1568 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1569 case $ac_user_opts in
1570 *"
1571 "enable_$ac_useropt"
1572 "*) ;;
1573 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1574 ac_unrecognized_sep=', ';;
1575 esac
1576 eval enable_$ac_useropt=\$ac_optarg ;;
1577
1578 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1579 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1580 | --exec | --exe | --ex)
1581 ac_prev=exec_prefix ;;
1582 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1583 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1584 | --exec=* | --exe=* | --ex=*)
1585 exec_prefix=$ac_optarg ;;
1586
1587 -gas | --gas | --ga | --g)
1588 # Obsolete; use --with-gas.
1589 with_gas=yes ;;
1590
1591 -help | --help | --hel | --he | -h)
1592 ac_init_help=long ;;
1593 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1594 ac_init_help=recursive ;;
1595 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1596 ac_init_help=short ;;
1597
1598 -host | --host | --hos | --ho)
1599 ac_prev=host_alias ;;
1600 -host=* | --host=* | --hos=* | --ho=*)
1601 host_alias=$ac_optarg ;;
1602
1603 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1604 ac_prev=htmldir ;;
1605 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1606 | --ht=*)
1607 htmldir=$ac_optarg ;;
1608
1609 -includedir | --includedir | --includedi | --included | --include \
1610 | --includ | --inclu | --incl | --inc)
1611 ac_prev=includedir ;;
1612 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1613 | --includ=* | --inclu=* | --incl=* | --inc=*)
1614 includedir=$ac_optarg ;;
1615
1616 -infodir | --infodir | --infodi | --infod | --info | --inf)
1617 ac_prev=infodir ;;
1618 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1619 infodir=$ac_optarg ;;
1620
1621 -libdir | --libdir | --libdi | --libd)
1622 ac_prev=libdir ;;
1623 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1624 libdir=$ac_optarg ;;
1625
1626 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1627 | --libexe | --libex | --libe)
1628 ac_prev=libexecdir ;;
1629 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1630 | --libexe=* | --libex=* | --libe=*)
1631 libexecdir=$ac_optarg ;;
1632
1633 -localedir | --localedir | --localedi | --localed | --locale)
1634 ac_prev=localedir ;;
1635 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1636 localedir=$ac_optarg ;;
1637
1638 -localstatedir | --localstatedir | --localstatedi | --localstated \
1639 | --localstate | --localstat | --localsta | --localst | --locals)
1640 ac_prev=localstatedir ;;
1641 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1642 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1643 localstatedir=$ac_optarg ;;
1644
1645 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1646 ac_prev=mandir ;;
1647 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1648 mandir=$ac_optarg ;;
1649
1650 -nfp | --nfp | --nf)
1651 # Obsolete; use --without-fp.
1652 with_fp=no ;;
1653
1654 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1655 | --no-cr | --no-c | -n)
1656 no_create=yes ;;
1657
1658 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1659 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1660 no_recursion=yes ;;
1661
1662 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1663 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1664 | --oldin | --oldi | --old | --ol | --o)
1665 ac_prev=oldincludedir ;;
1666 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1667 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1668 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1669 oldincludedir=$ac_optarg ;;
1670
1671 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1672 ac_prev=prefix ;;
1673 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1674 prefix=$ac_optarg ;;
1675
1676 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1677 | --program-pre | --program-pr | --program-p)
1678 ac_prev=program_prefix ;;
1679 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1680 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1681 program_prefix=$ac_optarg ;;
1682
1683 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1684 | --program-suf | --program-su | --program-s)
1685 ac_prev=program_suffix ;;
1686 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1687 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1688 program_suffix=$ac_optarg ;;
1689
1690 -program-transform-name | --program-transform-name \
1691 | --program-transform-nam | --program-transform-na \
1692 | --program-transform-n | --program-transform- \
1693 | --program-transform | --program-transfor \
1694 | --program-transfo | --program-transf \
1695 | --program-trans | --program-tran \
1696 | --progr-tra | --program-tr | --program-t)
1697 ac_prev=program_transform_name ;;
1698 -program-transform-name=* | --program-transform-name=* \
1699 | --program-transform-nam=* | --program-transform-na=* \
1700 | --program-transform-n=* | --program-transform-=* \
1701 | --program-transform=* | --program-transfor=* \
1702 | --program-transfo=* | --program-transf=* \
1703 | --program-trans=* | --program-tran=* \
1704 | --progr-tra=* | --program-tr=* | --program-t=*)
1705 program_transform_name=$ac_optarg ;;
1706
1707 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1708 ac_prev=pdfdir ;;
1709 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1710 pdfdir=$ac_optarg ;;
1711
1712 -psdir | --psdir | --psdi | --psd | --ps)
1713 ac_prev=psdir ;;
1714 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1715 psdir=$ac_optarg ;;
1716
1717 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1718 | -silent | --silent | --silen | --sile | --sil)
1719 silent=yes ;;
1720
1721 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1722 ac_prev=sbindir ;;
1723 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1724 | --sbi=* | --sb=*)
1725 sbindir=$ac_optarg ;;
1726
1727 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1728 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1729 | --sharedst | --shareds | --shared | --share | --shar \
1730 | --sha | --sh)
1731 ac_prev=sharedstatedir ;;
1732 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1733 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1734 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1735 | --sha=* | --sh=*)
1736 sharedstatedir=$ac_optarg ;;
1737
1738 -site | --site | --sit)
1739 ac_prev=site ;;
1740 -site=* | --site=* | --sit=*)
1741 site=$ac_optarg ;;
1742
1743 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1744 ac_prev=srcdir ;;
1745 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1746 srcdir=$ac_optarg ;;
1747
1748 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1749 | --syscon | --sysco | --sysc | --sys | --sy)
1750 ac_prev=sysconfdir ;;
1751 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1752 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1753 sysconfdir=$ac_optarg ;;
1754
1755 -target | --target | --targe | --targ | --tar | --ta | --t)
1756 ac_prev=target_alias ;;
1757 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1758 target_alias=$ac_optarg ;;
1759
1760 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1761 verbose=yes ;;
1762
1763 -version | --version | --versio | --versi | --vers | -V)
1764 ac_init_version=: ;;
1765
1766 -with-* | --with-*)
1767 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1768 # Reject names that are not valid shell variable names.
1769 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1770 as_fn_error $? "invalid package name: $ac_useropt"
1771 ac_useropt_orig=$ac_useropt
1772 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1773 case $ac_user_opts in
1774 *"
1775 "with_$ac_useropt"
1776 "*) ;;
1777 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1778 ac_unrecognized_sep=', ';;
1779 esac
1780 eval with_$ac_useropt=\$ac_optarg ;;
1781
1782 -without-* | --without-*)
1783 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1784 # Reject names that are not valid shell variable names.
1785 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1786 as_fn_error $? "invalid package name: $ac_useropt"
1787 ac_useropt_orig=$ac_useropt
1788 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1789 case $ac_user_opts in
1790 *"
1791 "with_$ac_useropt"
1792 "*) ;;
1793 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1794 ac_unrecognized_sep=', ';;
1795 esac
1796 eval with_$ac_useropt=no ;;
1797
1798 --x)
1799 # Obsolete; use --with-x.
1800 with_x=yes ;;
1801
1802 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1803 | --x-incl | --x-inc | --x-in | --x-i)
1804 ac_prev=x_includes ;;
1805 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1806 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1807 x_includes=$ac_optarg ;;
1808
1809 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1810 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1811 ac_prev=x_libraries ;;
1812 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1813 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1814 x_libraries=$ac_optarg ;;
1815
1816 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1817 Try \`$0 --help' for more information"
1818 ;;
1819
1820 *=*)
1821 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1822 # Reject names that are not valid shell variable names.
1823 case $ac_envvar in #(
1824 '' | [0-9]* | *[!_$as_cr_alnum]* )
1825 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1826 esac
1827 eval $ac_envvar=\$ac_optarg
1828 export $ac_envvar ;;
1829
1830 *)
1831 # FIXME: should be removed in autoconf 3.0.
1832 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1833 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1834 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1835 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1836 ;;
1837
1838 esac
1839 done
1840
1841 if test -n "$ac_prev"; then
1842 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1843 as_fn_error $? "missing argument to $ac_option"
1844 fi
1845
1846 if test -n "$ac_unrecognized_opts"; then
1847 case $enable_option_checking in
1848 no) ;;
1849 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1850 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1851 esac
1852 fi
1853
1854 # Check all directory arguments for consistency.
1855 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1856 datadir sysconfdir sharedstatedir localstatedir includedir \
1857 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1858 libdir localedir mandir
1859 do
1860 eval ac_val=\$$ac_var
1861 # Remove trailing slashes.
1862 case $ac_val in
1863 */ )
1864 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1865 eval $ac_var=\$ac_val;;
1866 esac
1867 # Be sure to have absolute directory names.
1868 case $ac_val in
1869 [\\/$]* | ?:[\\/]* ) continue;;
1870 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1871 esac
1872 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1873 done
1874
1875 # There might be people who depend on the old broken behavior: `$host'
1876 # used to hold the argument of --host etc.
1877 # FIXME: To remove some day.
1878 build=$build_alias
1879 host=$host_alias
1880 target=$target_alias
1881
1882 # FIXME: To remove some day.
1883 if test "x$host_alias" != x; then
1884 if test "x$build_alias" = x; then
1885 cross_compiling=maybe
1886 elif test "x$build_alias" != "x$host_alias"; then
1887 cross_compiling=yes
1888 fi
1889 fi
1890
1891 ac_tool_prefix=
1892 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1893
1894 test "$silent" = yes && exec 6>/dev/null
1895
1896
1897 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1898 ac_ls_di=`ls -di .` &&
1899 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1900 as_fn_error $? "working directory cannot be determined"
1901 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1902 as_fn_error $? "pwd does not report name of working directory"
1903
1904
1905 # Find the source files, if location was not specified.
1906 if test -z "$srcdir"; then
1907 ac_srcdir_defaulted=yes
1908 # Try the directory containing this script, then the parent directory.
1909 ac_confdir=`$as_dirname -- "$as_myself" ||
1910 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1911 X"$as_myself" : 'X\(//\)[^/]' \| \
1912 X"$as_myself" : 'X\(//\)$' \| \
1913 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1914 $as_echo X"$as_myself" |
1915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1916 s//\1/
1917 q
1918 }
1919 /^X\(\/\/\)[^/].*/{
1920 s//\1/
1921 q
1922 }
1923 /^X\(\/\/\)$/{
1924 s//\1/
1925 q
1926 }
1927 /^X\(\/\).*/{
1928 s//\1/
1929 q
1930 }
1931 s/.*/./; q'`
1932 srcdir=$ac_confdir
1933 if test ! -r "$srcdir/$ac_unique_file"; then
1934 srcdir=..
1935 fi
1936 else
1937 ac_srcdir_defaulted=no
1938 fi
1939 if test ! -r "$srcdir/$ac_unique_file"; then
1940 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1941 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1942 fi
1943 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1944 ac_abs_confdir=`(
1945 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1946 pwd)`
1947 # When building in place, set srcdir=.
1948 if test "$ac_abs_confdir" = "$ac_pwd"; then
1949 srcdir=.
1950 fi
1951 # Remove unnecessary trailing slashes from srcdir.
1952 # Double slashes in file names in object file debugging info
1953 # mess up M-x gdb in Emacs.
1954 case $srcdir in
1955 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1956 esac
1957 for ac_var in $ac_precious_vars; do
1958 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1959 eval ac_env_${ac_var}_value=\$${ac_var}
1960 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1961 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1962 done
1963
1964 #
1965 # Report the --help message.
1966 #
1967 if test "$ac_init_help" = "long"; then
1968 # Omit some internal or obsolete options to make the list less imposing.
1969 # This message is too long to be a string in the A/UX 3.1 sh.
1970 cat <<_ACEOF
1971 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1972
1973 Usage: $0 [OPTION]... [VAR=VALUE]...
1974
1975 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1976 VAR=VALUE. See below for descriptions of some of the useful variables.
1977
1978 Defaults for the options are specified in brackets.
1979
1980 Configuration:
1981 -h, --help display this help and exit
1982 --help=short display options specific to this package
1983 --help=recursive display the short help of all the included packages
1984 -V, --version display version information and exit
1985 -q, --quiet, --silent do not print \`checking ...' messages
1986 --cache-file=FILE cache test results in FILE [disabled]
1987 -C, --config-cache alias for \`--cache-file=config.cache'
1988 -n, --no-create do not create output files
1989 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1990
1991 Installation directories:
1992 --prefix=PREFIX install architecture-independent files in PREFIX
1993 [$ac_default_prefix]
1994 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1995 [PREFIX]
1996
1997 By default, \`make install' will install all the files in
1998 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1999 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2000 for instance \`--prefix=\$HOME'.
2001
2002 For better control, use the options below.
2003
2004 Fine tuning of the installation directories:
2005 --bindir=DIR user executables [EPREFIX/bin]
2006 --sbindir=DIR system admin executables [EPREFIX/sbin]
2007 --libexecdir=DIR program executables [EPREFIX/libexec]
2008 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2009 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2010 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2011 --libdir=DIR object code libraries [EPREFIX/lib]
2012 --includedir=DIR C header files [PREFIX/include]
2013 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2014 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2015 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2016 --infodir=DIR info documentation [DATAROOTDIR/info]
2017 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2018 --mandir=DIR man documentation [DATAROOTDIR/man]
2019 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2020 --htmldir=DIR html documentation [DOCDIR]
2021 --dvidir=DIR dvi documentation [DOCDIR]
2022 --pdfdir=DIR pdf documentation [DOCDIR]
2023 --psdir=DIR ps documentation [DOCDIR]
2024 _ACEOF
2025
2026 cat <<\_ACEOF
2027
2028 X features:
2029 --x-includes=DIR X include files are in DIR
2030 --x-libraries=DIR X library files are in DIR
2031
2032 System types:
2033 --build=BUILD configure for building on BUILD [guessed]
2034 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2035 _ACEOF
2036 fi
2037
2038 if test -n "$ac_init_help"; then
2039 case $ac_init_help in
2040 short | recursive ) echo "Configuration of wxWidgets 2.9.5:";;
2041 esac
2042 cat <<\_ACEOF
2043
2044 Optional Features:
2045 --disable-option-checking ignore unrecognized --enable/--with options
2046 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2047 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2048 --disable-gui don't build GUI parts of the library
2049 --enable-monolithic build wxWidgets as single library
2050 --enable-plugins build parts of wxWidgets as loadable components
2051 --enable-official_build official build of wxWidgets (win32 DLL only)
2052 --enable-vendor=VENDOR vendor name (win32 DLL only)
2053 --disable-all-features disable all optional features to build minimal library
2054 --enable-universal use wxWidgets GUI controls instead of native ones
2055 --enable-nanox use NanoX
2056 --enable-gpe use GNOME PDA Environment features if possible
2057 --enable-debug build library for debugging
2058 --disable-debug_flag disable all debugging support
2059 --enable-debug_info generate debug information
2060 --enable-debug_gdb create code with extra GDB debugging information
2061 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
2062 --enable-mem_tracing obsolete, don't use: create code with memory tracing
2063 --disable-shared create static library instead of shared
2064 --enable-stl use standard C++ classes for everything
2065 --enable-std_containers use standard C++ container classes
2066 --enable-std_iostreams use standard C++ stream classes
2067 --enable-std_string use standard C++ string classes
2068 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2069 --disable-unicode compile without Unicode support
2070 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2071 --enable-utf8 use UTF-8 representation for strings (Unix only)
2072 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2073 --enable-extended_rtti use extended RTTI (XTI)
2074 --enable-omf use OMF object format
2075 --disable-optimise compile without optimisations
2076 --enable-profile create code with profiling information
2077 --enable-no_rtti create code without RTTI information
2078 --enable-no_exceptions create code without C++ exceptions handling
2079 --enable-permissive compile code disregarding strict ANSI
2080 --enable-no_deps create code without dependency information
2081 --disable-vararg_macros don't use vararg macros, even if they are supported
2082 --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
2083 --enable-macosx_arch=ARCH build for just the specified architecture
2084 --enable-compat26 enable wxWidgets 2.6 compatibility
2085 --disable-compat28 disable wxWidgets 2.8 compatibility
2086 --disable-rpath disable use of rpath for uninstalled builds
2087 --enable-objc_uniquifying enable Objective-C class name uniquifying
2088 --disable-visibility disable use of ELF symbols visibility even if supported
2089 --disable-tls disable use of compiler TLS support
2090 --enable-intl use internationalization system
2091 --enable-xlocale use x-locale support (requires wxLocale)
2092 --enable-config use wxConfig (and derived) classes
2093 --enable-protocols use wxProtocol and derived classes
2094 --enable-ftp use wxFTP (requires wxProtocol
2095 --enable-http use wxHTTP (requires wxProtocol
2096 --enable-fileproto use wxFileProto class (requires wxProtocol
2097 --enable-sockets use socket/network classes
2098 --enable-ipv6 enable IPv6 support in wxSocket
2099 --enable-ole use OLE classes (Win32 only)
2100 --enable-dataobj use data object classes
2101 --enable-ipc use interprocess communication (wxSocket etc.)
2102 --enable-baseevtloop use event loop in console programs too
2103 --enable-epollloop use wxEpollDispatcher class (Linux only)
2104 --enable-selectloop use wxSelectDispatcher class
2105 --enable-any use wxAny class
2106 --enable-apple_ieee use the Apple IEEE codec
2107 --enable-arcstream use wxArchive streams
2108 --enable-base64 use base64 encoding/decoding functions
2109 --enable-backtrace use wxStackWalker class for getting backtraces
2110 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
2111 --enable-cmdline use wxCmdLineParser class
2112 --enable-datetime use wxDateTime class
2113 --enable-debugreport use wxDebugReport class
2114 --enable-dialupman use dialup network classes
2115 --enable-dynlib use wxLibrary class for DLL loading
2116 --enable-dynamicloader use (new) wxDynamicLibrary class
2117 --enable-exceptions build exception-safe library
2118 --enable-ffile use wxFFile class
2119 --enable-file use wxFile class
2120 --enable-filehistory use wxFileHistory class
2121 --enable-filesystem use virtual file systems classes
2122 --enable-fontenum use wxFontEnumerator class
2123 --enable-fontmap use font encodings conversion classes
2124 --enable-fs_archive use virtual archive filesystems
2125 --enable-fs_inet use virtual HTTP/FTP filesystems
2126 --enable-fs_zip now replaced by fs_archive
2127 --enable-fsvolume use wxFSVolume class
2128 --enable-fswatcher use wxFileSystemWatcher class
2129 --enable-geometry use geometry class
2130 --enable-log use logging system
2131 --enable-longlong use wxLongLong class
2132 --enable-mimetype use wxMimeTypesManager
2133 --enable-printfposparam use wxVsnprintf() which supports positional parameters
2134 --enable-snglinst use wxSingleInstanceChecker class
2135 --enable-sound use wxSound class
2136 --enable-stdpaths use wxStandardPaths class
2137 --enable-stopwatch use wxStopWatch class
2138 --enable-streams use wxStream etc classes
2139 --enable-sysoptions use wxSystemOptions
2140 --enable-tarstream use wxTar streams
2141 --enable-textbuf use wxTextBuffer class
2142 --enable-textfile use wxTextFile class
2143 --enable-timer use wxTimer class
2144 --enable-variant use wxVariant class
2145 --enable-zipstream use wxZip streams
2146 --enable-url use wxURL class
2147 --enable-protocol use wxProtocol class
2148 --enable-protocol-http HTTP support in wxProtocol
2149 --enable-protocol-ftp FTP support in wxProtocol
2150 --enable-protocol-file FILE support in wxProtocol
2151 --enable-threads use threads
2152 --enable-iniconf use wxIniConfig (Win32 only)
2153 --enable-regkey use wxRegKey class (Win32 only)
2154 --enable-docview use document view architecture
2155 --enable-help use help subsystem
2156 --enable-mshtmlhelp use MS HTML Help (win32)
2157 --enable-html use wxHTML sub-library
2158 --enable-htmlhelp use wxHTML-based help
2159 --enable-xrc use XRC resources sub-library
2160 --enable-aui use AUI docking library
2161 --enable-propgrid use wxPropertyGrid library
2162 --enable-ribbon use wxRibbon library
2163 --enable-stc use wxStyledTextCtrl library
2164 --enable-constraints use layout-constraints system
2165 --enable-loggui use standard GUI logger
2166 --enable-logwin use wxLogWindow
2167 --enable-logdialog use wxLogDialog
2168 --enable-mdi use multiple document interface architecture
2169 --enable-mdidoc use docview architecture with MDI
2170 --enable-mediactrl use wxMediaCtrl class
2171 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
2172 --enable-richtext use wxRichTextCtrl
2173 --enable-postscript use wxPostscriptDC device context (default for gtk+)
2174 --enable-printarch use printing architecture
2175 --enable-svg use wxSVGFileDC device context
2176 --enable-webkit use wxWebKitCtrl (Mac-only, use wxWebView instead)
2177 --enable-webview use wxWebView library
2178 --enable-graphics_ctx use graphics context 2D drawing API
2179 --enable-clipboard use wxClipboard class
2180 --enable-dnd use Drag'n'Drop classes
2181 --disable-controls disable compilation of all standard controls
2182 --enable-markup support wxControl::SetLabelMarkup
2183 --enable-accel use accelerators
2184 --enable-animatectrl use wxAnimationCtrl class
2185 --enable-bannerwindow use wxBannerWindow class
2186 --enable-artstd use standard XPM icons in wxArtProvider
2187 --enable-arttango use Tango icons in wxArtProvider
2188 --enable-bmpbutton use wxBitmapButton class
2189 --enable-bmpcombobox use wxBitmapComboBox class
2190 --enable-button use wxButton class
2191 --enable-calendar use wxCalendarCtrl class
2192 --enable-caret use wxCaret class
2193 --enable-checkbox use wxCheckBox class
2194 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
2195 --enable-choice use wxChoice class
2196 --enable-choicebook use wxChoicebook class
2197 --enable-collpane use wxCollapsiblePane class
2198 --enable-colourpicker use wxColourPickerCtrl class
2199 --enable-combobox use wxComboBox class
2200 --enable-comboctrl use wxComboCtrl class
2201 --enable-commandlinkbutton use wxCommmandLinkButton class
2202 --enable-dataviewctrl use wxDataViewCtrl class
2203 --enable-datepick use wxDatePickerCtrl class
2204 --enable-detect_sm use code to detect X11 session manager
2205 --enable-dirpicker use wxDirPickerCtrl class
2206 --enable-display use wxDisplay class
2207 --enable-editablebox use wxEditableListBox class
2208 --enable-filectrl use wxFileCtrl class
2209 --enable-filepicker use wxFilePickerCtrl class
2210 --enable-fontpicker use wxFontPickerCtrl class
2211 --enable-gauge use wxGauge class
2212 --enable-grid use wxGrid class
2213 --enable-headerctrl use wxHeaderCtrl class
2214 --enable-hyperlink use wxHyperlinkCtrl class
2215 --enable-imaglist use wxImageList class
2216 --enable-infobar use wxInfoBar class
2217 --enable-listbook use wxListbook class
2218 --enable-listbox use wxListBox class
2219 --enable-listctrl use wxListCtrl class
2220 --enable-notebook use wxNotebook class
2221 --enable-notifmsg use wxNotificationMessage class
2222 --enable-odcombobox use wxOwnerDrawnComboBox class
2223 --enable-popupwin use wxPopUpWindow class
2224 --enable-radiobox use wxRadioBox class
2225 --enable-radiobtn use wxRadioButton class
2226 --enable-richmsgdlg use wxRichMessageDialog class
2227 --enable-richtooltip use wxRichToolTip class
2228 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
2229 --enable-sash use wxSashWindow class
2230 --enable-scrollbar use wxScrollBar class and scrollable windows
2231 --enable-searchctrl use wxSearchCtrl class
2232 --enable-slider use wxSlider class
2233 --enable-spinbtn use wxSpinButton class
2234 --enable-spinctrl use wxSpinCtrl class
2235 --enable-splitter use wxSplitterWindow class
2236 --enable-statbmp use wxStaticBitmap class
2237 --enable-statbox use wxStaticBox class
2238 --enable-statline use wxStaticLine class
2239 --enable-stattext use wxStaticText class
2240 --enable-statusbar use wxStatusBar class
2241 --enable-taskbaricon use wxTaskBarIcon class
2242 --enable-tbarnative use native wxToolBar class
2243 --enable-textctrl use wxTextCtrl class
2244 --enable-timepick use wxTimePickerCtrl class
2245 --enable-tipwindow use wxTipWindow class
2246 --enable-togglebtn use wxToggleButton class
2247 --enable-toolbar use wxToolBar class
2248 --enable-toolbook use wxToolbook class
2249 --enable-treebook use wxTreebook class
2250 --enable-treectrl use wxTreeCtrl class
2251 --enable-treelist use wxTreeListCtrl class
2252 --enable-commondlg use all common dialogs
2253 --enable-aboutdlg use wxAboutBox
2254 --enable-choicedlg use wxChoiceDialog
2255 --enable-coldlg use wxColourDialog
2256 --enable-filedlg use wxFileDialog
2257 --enable-finddlg use wxFindReplaceDialog
2258 --enable-fontdlg use wxFontDialog
2259 --enable-dirdlg use wxDirDialog
2260 --enable-msgdlg use wxMessageDialog
2261 --enable-numberdlg use wxNumberEntryDialog
2262 --enable-splash use wxSplashScreen
2263 --enable-textdlg use wxTextDialog
2264 --enable-tipdlg use startup tips
2265 --enable-progressdlg use wxProgressDialog
2266 --enable-wizarddlg use wxWizard
2267 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
2268 --enable-miniframe use wxMiniFrame class
2269 --enable-tooltips use wxToolTip class
2270 --enable-splines use spline drawing code
2271 --enable-mousewheel use mousewheel
2272 --enable-validators use wxValidator and derived classes
2273 --enable-busyinfo use wxBusyInfo
2274 --enable-hotkey use wxWindow::RegisterHotKey()
2275 --enable-joystick use wxJoystick
2276 --enable-metafiles use wxMetaFile
2277 --enable-dragimage use wxDragImage
2278 --enable-accessibility enable accessibility support
2279 --enable-uiactionsim use wxUIActionSimulator (experimental)
2280 --enable-dctransform use wxDC::SetTransformMatrix and related
2281 --enable-webviewwebkit use wxWebView WebKit backend
2282 --enable-palette use wxPalette class
2283 --enable-image use wxImage class
2284 --enable-gif use gif images (GIF file format)
2285 --enable-pcx use pcx images (PCX file format)
2286 --enable-tga use tga images (TGA file format)
2287 --enable-iff use iff images (IFF file format)
2288 --enable-pnm use pnm images (PNM file format)
2289 --enable-xpm use xpm images (XPM file format)
2290 --enable-ico_cur use Windows ICO and CUR formats
2291 --enable-dccache cache temporary wxDC objects (Win32 only)
2292 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
2293 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
2294 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
2295 --enable-wxdib use wxDIB class (Win32 only)
2296 --enable-webviewie use wxWebView IE backend (Win32 only)
2297 --enable-autoidman use automatic ids management
2298 --disable-largefile omit support for large files
2299 --disable-gtktest do not try to compile and run a test GTK+ program
2300 --disable-gtktest Do not try to compile and run a test GTK program
2301 --disable-sdltest Do not try to compile and run a test SDL program
2302 --enable-omf use OMF object format (OS/2)
2303 --disable-dependency-tracking
2304 don't use dependency tracking even if the compiler
2305 can
2306 --disable-precomp-headers
2307 don't use precompiled headers even if compiler can
2308
2309 Optional Packages:
2310 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2311 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2312 --without-subdirs don't generate makefiles for samples/demos/...
2313 --with-flavour=NAME specify a name to identify this build
2314 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2315 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2316 --with-motif use Motif/Lesstif
2317 --with-osx_carbon use Mac OS X (Carbon)
2318 --with-osx_cocoa use Mac OS X (Cocoa)
2319 --with-osx_iphone use iPhone OS X port
2320 --with-osx use Mac OS X (default port, currently Carbon)
2321 --with-carbon same as --with-osx_carbon
2322 --with-cocoa same as --with-osx_cocoa
2323 --with-iphone same as --with-osx_iphone
2324 --with-mac same as --with-osx
2325 --with-old_cocoa use old, deprecated, Cocoa port
2326 --with-wine use Wine
2327 --with-msw use MS-Windows
2328 --with-pm use OS/2 Presentation Manager
2329 --with-directfb use DirectFB
2330 --with-microwin use MicroWindows
2331 --with-x11 use X11
2332 --with-libpng use libpng (PNG image format)
2333 --with-libjpeg use libjpeg (JPEG file format)
2334 --with-libtiff use libtiff (TIFF file format)
2335 --with-libxpm use libxpm (XPM file format)
2336 --with-libiconv use libiconv (character conversion)
2337 --with-libmspack use libmspack (CHM help files loading)
2338 --without-gtkprint don't use GTK printing support
2339 --without-gnomeprint don't use GNOME printing libraries
2340 --with-gnomevfs use GNOME VFS for associating MIME types
2341 --with-libnotify use libnotify for notifications
2342 --with-hildon use Hildon framework for Nokia 770/800/810
2343 --with-opengl use OpenGL (or Mesa)
2344 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2345 --with-sdl use SDL for audio on Unix
2346 --with-regex enable support for wxRegEx class
2347 --with-zlib use zlib for LZW compression
2348 --with-expat enable XML support using expat parser
2349 --with-macosx-sdk=PATH use an OS X SDK at PATH
2350 --with-macosx-version-min=VER build binaries which require at least this OS X version
2351 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2352 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2353 --with-x use the X Window System
2354 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2355 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2356 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2357 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2358 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2359
2360 Some influential environment variables:
2361 CC C compiler command
2362 CFLAGS C compiler flags
2363 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2364 nonstandard directory <lib dir>
2365 LIBS libraries to pass to the linker, e.g. -l<library>
2366 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2367 you have headers in a nonstandard directory <include dir>
2368 CPP C preprocessor
2369 CXX C++ compiler command
2370 CXXFLAGS C++ compiler flags
2371 CXXCPP C++ preprocessor
2372 PKG_CONFIG path to pkg-config utility
2373 DIRECTFB_CFLAGS
2374 C compiler flags for DIRECTFB, overriding pkg-config
2375 DIRECTFB_LIBS
2376 linker flags for DIRECTFB, overriding pkg-config
2377 XMKMF Path to xmkmf, Makefile generator for X Window System
2378 PANGOX_CFLAGS
2379 C compiler flags for PANGOX, overriding pkg-config
2380 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2381 PANGOFT2_CFLAGS
2382 C compiler flags for PANGOFT2, overriding pkg-config
2383 PANGOFT2_LIBS
2384 linker flags for PANGOFT2, overriding pkg-config
2385 PANGOXFT_CFLAGS
2386 C compiler flags for PANGOXFT, overriding pkg-config
2387 PANGOXFT_LIBS
2388 linker flags for PANGOXFT, overriding pkg-config
2389 Xinerama_CFLAGS
2390 C compiler flags for Xinerama, overriding pkg-config
2391 Xinerama_LIBS
2392 linker flags for Xinerama, overriding pkg-config
2393 Xxf86vm_CFLAGS
2394 C compiler flags for Xxf86vm, overriding pkg-config
2395 Xxf86vm_LIBS
2396 linker flags for Xxf86vm, overriding pkg-config
2397 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2398 SM_LIBS linker flags for SM, overriding pkg-config
2399 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2400 GL_LIBS linker flags for GL, overriding pkg-config
2401 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2402 GLU_LIBS linker flags for GLU, overriding pkg-config
2403 MesaGL_CFLAGS
2404 C compiler flags for MesaGL, overriding pkg-config
2405 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2406 GTKPRINT_CFLAGS
2407 C compiler flags for GTKPRINT, overriding pkg-config
2408 GTKPRINT_LIBS
2409 linker flags for GTKPRINT, overriding pkg-config
2410 LIBGNOMEPRINTUI_CFLAGS
2411 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2412 LIBGNOMEPRINTUI_LIBS
2413 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2414 GNOMEVFS_CFLAGS
2415 C compiler flags for GNOMEVFS, overriding pkg-config
2416 GNOMEVFS_LIBS
2417 linker flags for GNOMEVFS, overriding pkg-config
2418 LIBNOTIFY_CFLAGS
2419 C compiler flags for LIBNOTIFY, overriding pkg-config
2420 LIBNOTIFY_LIBS
2421 linker flags for LIBNOTIFY, overriding pkg-config
2422 HILDON_CFLAGS
2423 C compiler flags for HILDON, overriding pkg-config
2424 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2425 HILDON2_CFLAGS
2426 C compiler flags for HILDON2, overriding pkg-config
2427 HILDON2_LIBS
2428 linker flags for HILDON2, overriding pkg-config
2429 WEBKIT_CFLAGS
2430 C compiler flags for WEBKIT, overriding pkg-config
2431 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2432 CAIRO_CFLAGS
2433 C compiler flags for CAIRO, overriding pkg-config
2434 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2435 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2436 GST_LIBS linker flags for GST, overriding pkg-config
2437
2438 Use these variables to override the choices made by `configure' or to help
2439 it to find libraries and programs with nonstandard names/locations.
2440
2441 Report bugs to <wx-dev@lists.wxwidgets.org>.
2442 _ACEOF
2443 ac_status=$?
2444 fi
2445
2446 if test "$ac_init_help" = "recursive"; then
2447 # If there are subdirs, report their specific --help.
2448 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2449 test -d "$ac_dir" ||
2450 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2451 continue
2452 ac_builddir=.
2453
2454 case "$ac_dir" in
2455 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2456 *)
2457 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2458 # A ".." for each directory in $ac_dir_suffix.
2459 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2460 case $ac_top_builddir_sub in
2461 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2462 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2463 esac ;;
2464 esac
2465 ac_abs_top_builddir=$ac_pwd
2466 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2467 # for backward compatibility:
2468 ac_top_builddir=$ac_top_build_prefix
2469
2470 case $srcdir in
2471 .) # We are building in place.
2472 ac_srcdir=.
2473 ac_top_srcdir=$ac_top_builddir_sub
2474 ac_abs_top_srcdir=$ac_pwd ;;
2475 [\\/]* | ?:[\\/]* ) # Absolute name.
2476 ac_srcdir=$srcdir$ac_dir_suffix;
2477 ac_top_srcdir=$srcdir
2478 ac_abs_top_srcdir=$srcdir ;;
2479 *) # Relative name.
2480 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2481 ac_top_srcdir=$ac_top_build_prefix$srcdir
2482 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2483 esac
2484 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2485
2486 cd "$ac_dir" || { ac_status=$?; continue; }
2487 # Check for guested configure.
2488 if test -f "$ac_srcdir/configure.gnu"; then
2489 echo &&
2490 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2491 elif test -f "$ac_srcdir/configure"; then
2492 echo &&
2493 $SHELL "$ac_srcdir/configure" --help=recursive
2494 else
2495 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2496 fi || ac_status=$?
2497 cd "$ac_pwd" || { ac_status=$?; break; }
2498 done
2499 fi
2500
2501 test -n "$ac_init_help" && exit $ac_status
2502 if $ac_init_version; then
2503 cat <<\_ACEOF
2504 wxWidgets configure 2.9.5
2505 generated by GNU Autoconf 2.69
2506
2507 Copyright (C) 2012 Free Software Foundation, Inc.
2508 This configure script is free software; the Free Software Foundation
2509 gives unlimited permission to copy, distribute and modify it.
2510 _ACEOF
2511 exit
2512 fi
2513
2514 ## ------------------------ ##
2515 ## Autoconf initialization. ##
2516 ## ------------------------ ##
2517
2518 # ac_fn_c_try_compile LINENO
2519 # --------------------------
2520 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2521 ac_fn_c_try_compile ()
2522 {
2523 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2524 rm -f conftest.$ac_objext
2525 if { { ac_try="$ac_compile"
2526 case "(($ac_try" in
2527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2528 *) ac_try_echo=$ac_try;;
2529 esac
2530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2531 $as_echo "$ac_try_echo"; } >&5
2532 (eval "$ac_compile") 2>conftest.err
2533 ac_status=$?
2534 if test -s conftest.err; then
2535 grep -v '^ *+' conftest.err >conftest.er1
2536 cat conftest.er1 >&5
2537 mv -f conftest.er1 conftest.err
2538 fi
2539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2540 test $ac_status = 0; } && {
2541 test -z "$ac_c_werror_flag" ||
2542 test ! -s conftest.err
2543 } && test -s conftest.$ac_objext; then :
2544 ac_retval=0
2545 else
2546 $as_echo "$as_me: failed program was:" >&5
2547 sed 's/^/| /' conftest.$ac_ext >&5
2548
2549 ac_retval=1
2550 fi
2551 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2552 as_fn_set_status $ac_retval
2553
2554 } # ac_fn_c_try_compile
2555
2556 # ac_fn_c_try_cpp LINENO
2557 # ----------------------
2558 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2559 ac_fn_c_try_cpp ()
2560 {
2561 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2562 if { { ac_try="$ac_cpp conftest.$ac_ext"
2563 case "(($ac_try" in
2564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2565 *) ac_try_echo=$ac_try;;
2566 esac
2567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2568 $as_echo "$ac_try_echo"; } >&5
2569 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2570 ac_status=$?
2571 if test -s conftest.err; then
2572 grep -v '^ *+' conftest.err >conftest.er1
2573 cat conftest.er1 >&5
2574 mv -f conftest.er1 conftest.err
2575 fi
2576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2577 test $ac_status = 0; } > conftest.i && {
2578 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2579 test ! -s conftest.err
2580 }; then :
2581 ac_retval=0
2582 else
2583 $as_echo "$as_me: failed program was:" >&5
2584 sed 's/^/| /' conftest.$ac_ext >&5
2585
2586 ac_retval=1
2587 fi
2588 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2589 as_fn_set_status $ac_retval
2590
2591 } # ac_fn_c_try_cpp
2592
2593 # ac_fn_cxx_try_compile LINENO
2594 # ----------------------------
2595 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2596 ac_fn_cxx_try_compile ()
2597 {
2598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2599 rm -f conftest.$ac_objext
2600 if { { ac_try="$ac_compile"
2601 case "(($ac_try" in
2602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2603 *) ac_try_echo=$ac_try;;
2604 esac
2605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2606 $as_echo "$ac_try_echo"; } >&5
2607 (eval "$ac_compile") 2>conftest.err
2608 ac_status=$?
2609 if test -s conftest.err; then
2610 grep -v '^ *+' conftest.err >conftest.er1
2611 cat conftest.er1 >&5
2612 mv -f conftest.er1 conftest.err
2613 fi
2614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2615 test $ac_status = 0; } && {
2616 test -z "$ac_cxx_werror_flag" ||
2617 test ! -s conftest.err
2618 } && test -s conftest.$ac_objext; then :
2619 ac_retval=0
2620 else
2621 $as_echo "$as_me: failed program was:" >&5
2622 sed 's/^/| /' conftest.$ac_ext >&5
2623
2624 ac_retval=1
2625 fi
2626 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2627 as_fn_set_status $ac_retval
2628
2629 } # ac_fn_cxx_try_compile
2630
2631 # ac_fn_c_try_link LINENO
2632 # -----------------------
2633 # Try to link conftest.$ac_ext, and return whether this succeeded.
2634 ac_fn_c_try_link ()
2635 {
2636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2637 rm -f conftest.$ac_objext conftest$ac_exeext
2638 if { { ac_try="$ac_link"
2639 case "(($ac_try" in
2640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2641 *) ac_try_echo=$ac_try;;
2642 esac
2643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2644 $as_echo "$ac_try_echo"; } >&5
2645 (eval "$ac_link") 2>conftest.err
2646 ac_status=$?
2647 if test -s conftest.err; then
2648 grep -v '^ *+' conftest.err >conftest.er1
2649 cat conftest.er1 >&5
2650 mv -f conftest.er1 conftest.err
2651 fi
2652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2653 test $ac_status = 0; } && {
2654 test -z "$ac_c_werror_flag" ||
2655 test ! -s conftest.err
2656 } && test -s conftest$ac_exeext && {
2657 test "$cross_compiling" = yes ||
2658 test -x conftest$ac_exeext
2659 }; then :
2660 ac_retval=0
2661 else
2662 $as_echo "$as_me: failed program was:" >&5
2663 sed 's/^/| /' conftest.$ac_ext >&5
2664
2665 ac_retval=1
2666 fi
2667 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2668 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2669 # interfere with the next link command; also delete a directory that is
2670 # left behind by Apple's compiler. We do this before executing the actions.
2671 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2673 as_fn_set_status $ac_retval
2674
2675 } # ac_fn_c_try_link
2676
2677 # ac_fn_cxx_try_link LINENO
2678 # -------------------------
2679 # Try to link conftest.$ac_ext, and return whether this succeeded.
2680 ac_fn_cxx_try_link ()
2681 {
2682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2683 rm -f conftest.$ac_objext conftest$ac_exeext
2684 if { { ac_try="$ac_link"
2685 case "(($ac_try" in
2686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2687 *) ac_try_echo=$ac_try;;
2688 esac
2689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2690 $as_echo "$ac_try_echo"; } >&5
2691 (eval "$ac_link") 2>conftest.err
2692 ac_status=$?
2693 if test -s conftest.err; then
2694 grep -v '^ *+' conftest.err >conftest.er1
2695 cat conftest.er1 >&5
2696 mv -f conftest.er1 conftest.err
2697 fi
2698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2699 test $ac_status = 0; } && {
2700 test -z "$ac_cxx_werror_flag" ||
2701 test ! -s conftest.err
2702 } && test -s conftest$ac_exeext && {
2703 test "$cross_compiling" = yes ||
2704 test -x conftest$ac_exeext
2705 }; then :
2706 ac_retval=0
2707 else
2708 $as_echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2710
2711 ac_retval=1
2712 fi
2713 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2714 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2715 # interfere with the next link command; also delete a directory that is
2716 # left behind by Apple's compiler. We do this before executing the actions.
2717 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2718 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2719 as_fn_set_status $ac_retval
2720
2721 } # ac_fn_cxx_try_link
2722
2723 # ac_fn_c_try_run LINENO
2724 # ----------------------
2725 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2726 # that executables *can* be run.
2727 ac_fn_c_try_run ()
2728 {
2729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2730 if { { ac_try="$ac_link"
2731 case "(($ac_try" in
2732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2733 *) ac_try_echo=$ac_try;;
2734 esac
2735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2736 $as_echo "$ac_try_echo"; } >&5
2737 (eval "$ac_link") 2>&5
2738 ac_status=$?
2739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2740 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2741 { { case "(($ac_try" in
2742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2743 *) ac_try_echo=$ac_try;;
2744 esac
2745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2746 $as_echo "$ac_try_echo"; } >&5
2747 (eval "$ac_try") 2>&5
2748 ac_status=$?
2749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2750 test $ac_status = 0; }; }; then :
2751 ac_retval=0
2752 else
2753 $as_echo "$as_me: program exited with status $ac_status" >&5
2754 $as_echo "$as_me: failed program was:" >&5
2755 sed 's/^/| /' conftest.$ac_ext >&5
2756
2757 ac_retval=$ac_status
2758 fi
2759 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2761 as_fn_set_status $ac_retval
2762
2763 } # ac_fn_c_try_run
2764
2765 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2766 # -------------------------------------------------------
2767 # Tests whether HEADER exists and can be compiled using the include files in
2768 # INCLUDES, setting the cache variable VAR accordingly.
2769 ac_fn_c_check_header_compile ()
2770 {
2771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2773 $as_echo_n "checking for $2... " >&6; }
2774 if eval \${$3+:} false; then :
2775 $as_echo_n "(cached) " >&6
2776 else
2777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2778 /* end confdefs.h. */
2779 $4
2780 #include <$2>
2781 _ACEOF
2782 if ac_fn_c_try_compile "$LINENO"; then :
2783 eval "$3=yes"
2784 else
2785 eval "$3=no"
2786 fi
2787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2788 fi
2789 eval ac_res=\$$3
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2791 $as_echo "$ac_res" >&6; }
2792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2793
2794 } # ac_fn_c_check_header_compile
2795
2796 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2797 # ---------------------------------------------------------
2798 # Tests whether HEADER exists and can be compiled using the include files in
2799 # INCLUDES, setting the cache variable VAR accordingly.
2800 ac_fn_cxx_check_header_compile ()
2801 {
2802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2804 $as_echo_n "checking for $2... " >&6; }
2805 if eval \${$3+:} false; then :
2806 $as_echo_n "(cached) " >&6
2807 else
2808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2809 /* end confdefs.h. */
2810 $4
2811 #include <$2>
2812 _ACEOF
2813 if ac_fn_cxx_try_compile "$LINENO"; then :
2814 eval "$3=yes"
2815 else
2816 eval "$3=no"
2817 fi
2818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2819 fi
2820 eval ac_res=\$$3
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2822 $as_echo "$ac_res" >&6; }
2823 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2824
2825 } # ac_fn_cxx_check_header_compile
2826
2827 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2828 # --------------------------------------------
2829 # Tries to find the compile-time value of EXPR in a program that includes
2830 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2831 # computed
2832 ac_fn_c_compute_int ()
2833 {
2834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2835 if test "$cross_compiling" = yes; then
2836 # Depending upon the size, compute the lo and hi bounds.
2837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2838 /* end confdefs.h. */
2839 $4
2840 int
2841 main ()
2842 {
2843 static int test_array [1 - 2 * !(($2) >= 0)];
2844 test_array [0] = 0;
2845 return test_array [0];
2846
2847 ;
2848 return 0;
2849 }
2850 _ACEOF
2851 if ac_fn_c_try_compile "$LINENO"; then :
2852 ac_lo=0 ac_mid=0
2853 while :; do
2854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2855 /* end confdefs.h. */
2856 $4
2857 int
2858 main ()
2859 {
2860 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2861 test_array [0] = 0;
2862 return test_array [0];
2863
2864 ;
2865 return 0;
2866 }
2867 _ACEOF
2868 if ac_fn_c_try_compile "$LINENO"; then :
2869 ac_hi=$ac_mid; break
2870 else
2871 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2872 if test $ac_lo -le $ac_mid; then
2873 ac_lo= ac_hi=
2874 break
2875 fi
2876 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2877 fi
2878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2879 done
2880 else
2881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2882 /* end confdefs.h. */
2883 $4
2884 int
2885 main ()
2886 {
2887 static int test_array [1 - 2 * !(($2) < 0)];
2888 test_array [0] = 0;
2889 return test_array [0];
2890
2891 ;
2892 return 0;
2893 }
2894 _ACEOF
2895 if ac_fn_c_try_compile "$LINENO"; then :
2896 ac_hi=-1 ac_mid=-1
2897 while :; do
2898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2899 /* end confdefs.h. */
2900 $4
2901 int
2902 main ()
2903 {
2904 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2905 test_array [0] = 0;
2906 return test_array [0];
2907
2908 ;
2909 return 0;
2910 }
2911 _ACEOF
2912 if ac_fn_c_try_compile "$LINENO"; then :
2913 ac_lo=$ac_mid; break
2914 else
2915 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2916 if test $ac_mid -le $ac_hi; then
2917 ac_lo= ac_hi=
2918 break
2919 fi
2920 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2921 fi
2922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2923 done
2924 else
2925 ac_lo= ac_hi=
2926 fi
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928 fi
2929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2930 # Binary search between lo and hi bounds.
2931 while test "x$ac_lo" != "x$ac_hi"; do
2932 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2934 /* end confdefs.h. */
2935 $4
2936 int
2937 main ()
2938 {
2939 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2940 test_array [0] = 0;
2941 return test_array [0];
2942
2943 ;
2944 return 0;
2945 }
2946 _ACEOF
2947 if ac_fn_c_try_compile "$LINENO"; then :
2948 ac_hi=$ac_mid
2949 else
2950 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2951 fi
2952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2953 done
2954 case $ac_lo in #((
2955 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2956 '') ac_retval=1 ;;
2957 esac
2958 else
2959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2960 /* end confdefs.h. */
2961 $4
2962 static long int longval () { return $2; }
2963 static unsigned long int ulongval () { return $2; }
2964 #include <stdio.h>
2965 #include <stdlib.h>
2966 int
2967 main ()
2968 {
2969
2970 FILE *f = fopen ("conftest.val", "w");
2971 if (! f)
2972 return 1;
2973 if (($2) < 0)
2974 {
2975 long int i = longval ();
2976 if (i != ($2))
2977 return 1;
2978 fprintf (f, "%ld", i);
2979 }
2980 else
2981 {
2982 unsigned long int i = ulongval ();
2983 if (i != ($2))
2984 return 1;
2985 fprintf (f, "%lu", i);
2986 }
2987 /* Do not output a trailing newline, as this causes \r\n confusion
2988 on some platforms. */
2989 return ferror (f) || fclose (f) != 0;
2990
2991 ;
2992 return 0;
2993 }
2994 _ACEOF
2995 if ac_fn_c_try_run "$LINENO"; then :
2996 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2997 else
2998 ac_retval=1
2999 fi
3000 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3001 conftest.$ac_objext conftest.beam conftest.$ac_ext
3002 rm -f conftest.val
3003
3004 fi
3005 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3006 as_fn_set_status $ac_retval
3007
3008 } # ac_fn_c_compute_int
3009
3010 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3011 # ---------------------------------------------
3012 # Tests whether TYPE exists after having included INCLUDES, setting cache
3013 # variable VAR accordingly.
3014 ac_fn_cxx_check_type ()
3015 {
3016 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3018 $as_echo_n "checking for $2... " >&6; }
3019 if eval \${$3+:} false; then :
3020 $as_echo_n "(cached) " >&6
3021 else
3022 eval "$3=no"
3023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3024 /* end confdefs.h. */
3025 $4
3026 int
3027 main ()
3028 {
3029 if (sizeof ($2))
3030 return 0;
3031 ;
3032 return 0;
3033 }
3034 _ACEOF
3035 if ac_fn_cxx_try_compile "$LINENO"; then :
3036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3037 /* end confdefs.h. */
3038 $4
3039 int
3040 main ()
3041 {
3042 if (sizeof (($2)))
3043 return 0;
3044 ;
3045 return 0;
3046 }
3047 _ACEOF
3048 if ac_fn_cxx_try_compile "$LINENO"; then :
3049
3050 else
3051 eval "$3=yes"
3052 fi
3053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3054 fi
3055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3056 fi
3057 eval ac_res=\$$3
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3059 $as_echo "$ac_res" >&6; }
3060 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3061
3062 } # ac_fn_cxx_check_type
3063
3064 # ac_fn_cxx_try_cpp LINENO
3065 # ------------------------
3066 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3067 ac_fn_cxx_try_cpp ()
3068 {
3069 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3070 if { { ac_try="$ac_cpp conftest.$ac_ext"
3071 case "(($ac_try" in
3072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3073 *) ac_try_echo=$ac_try;;
3074 esac
3075 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3076 $as_echo "$ac_try_echo"; } >&5
3077 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3078 ac_status=$?
3079 if test -s conftest.err; then
3080 grep -v '^ *+' conftest.err >conftest.er1
3081 cat conftest.er1 >&5
3082 mv -f conftest.er1 conftest.err
3083 fi
3084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3085 test $ac_status = 0; } > conftest.i && {
3086 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3087 test ! -s conftest.err
3088 }; then :
3089 ac_retval=0
3090 else
3091 $as_echo "$as_me: failed program was:" >&5
3092 sed 's/^/| /' conftest.$ac_ext >&5
3093
3094 ac_retval=1
3095 fi
3096 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3097 as_fn_set_status $ac_retval
3098
3099 } # ac_fn_cxx_try_cpp
3100
3101 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3102 # ---------------------------------------------------------
3103 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3104 # the include files in INCLUDES and setting the cache variable VAR
3105 # accordingly.
3106 ac_fn_cxx_check_header_mongrel ()
3107 {
3108 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3109 if eval \${$3+:} false; then :
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3111 $as_echo_n "checking for $2... " >&6; }
3112 if eval \${$3+:} false; then :
3113 $as_echo_n "(cached) " >&6
3114 fi
3115 eval ac_res=\$$3
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3117 $as_echo "$ac_res" >&6; }
3118 else
3119 # Is the header compilable?
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3121 $as_echo_n "checking $2 usability... " >&6; }
3122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3123 /* end confdefs.h. */
3124 $4
3125 #include <$2>
3126 _ACEOF
3127 if ac_fn_cxx_try_compile "$LINENO"; then :
3128 ac_header_compiler=yes
3129 else
3130 ac_header_compiler=no
3131 fi
3132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3134 $as_echo "$ac_header_compiler" >&6; }
3135
3136 # Is the header present?
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3138 $as_echo_n "checking $2 presence... " >&6; }
3139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3140 /* end confdefs.h. */
3141 #include <$2>
3142 _ACEOF
3143 if ac_fn_cxx_try_cpp "$LINENO"; then :
3144 ac_header_preproc=yes
3145 else
3146 ac_header_preproc=no
3147 fi
3148 rm -f conftest.err conftest.i conftest.$ac_ext
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3150 $as_echo "$ac_header_preproc" >&6; }
3151
3152 # So? What about this header?
3153 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3154 yes:no: )
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3156 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3158 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3159 ;;
3160 no:yes:* )
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3162 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3164 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3166 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3168 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3170 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3171 ( $as_echo "## ----------------------------------------- ##
3172 ## Report this to wx-dev@lists.wxwidgets.org ##
3173 ## ----------------------------------------- ##"
3174 ) | sed "s/^/$as_me: WARNING: /" >&2
3175 ;;
3176 esac
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3178 $as_echo_n "checking for $2... " >&6; }
3179 if eval \${$3+:} false; then :
3180 $as_echo_n "(cached) " >&6
3181 else
3182 eval "$3=\$ac_header_compiler"
3183 fi
3184 eval ac_res=\$$3
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3186 $as_echo "$ac_res" >&6; }
3187 fi
3188 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3189
3190 } # ac_fn_cxx_check_header_mongrel
3191
3192 # ac_fn_c_check_func LINENO FUNC VAR
3193 # ----------------------------------
3194 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3195 ac_fn_c_check_func ()
3196 {
3197 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3199 $as_echo_n "checking for $2... " >&6; }
3200 if eval \${$3+:} false; then :
3201 $as_echo_n "(cached) " >&6
3202 else
3203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3204 /* end confdefs.h. */
3205 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3207 #define $2 innocuous_$2
3208
3209 /* System header to define __stub macros and hopefully few prototypes,
3210 which can conflict with char $2 (); below.
3211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3212 <limits.h> exists even on freestanding compilers. */
3213
3214 #ifdef __STDC__
3215 # include <limits.h>
3216 #else
3217 # include <assert.h>
3218 #endif
3219
3220 #undef $2
3221
3222 /* Override any GCC internal prototype to avoid an error.
3223 Use char because int might match the return type of a GCC
3224 builtin and then its argument prototype would still apply. */
3225 #ifdef __cplusplus
3226 extern "C"
3227 #endif
3228 char $2 ();
3229 /* The GNU C library defines this for functions which it implements
3230 to always fail with ENOSYS. Some functions are actually named
3231 something starting with __ and the normal name is an alias. */
3232 #if defined __stub_$2 || defined __stub___$2
3233 choke me
3234 #endif
3235
3236 int
3237 main ()
3238 {
3239 return $2 ();
3240 ;
3241 return 0;
3242 }
3243 _ACEOF
3244 if ac_fn_c_try_link "$LINENO"; then :
3245 eval "$3=yes"
3246 else
3247 eval "$3=no"
3248 fi
3249 rm -f core conftest.err conftest.$ac_objext \
3250 conftest$ac_exeext conftest.$ac_ext
3251 fi
3252 eval ac_res=\$$3
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3254 $as_echo "$ac_res" >&6; }
3255 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3256
3257 } # ac_fn_c_check_func
3258
3259 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3260 # -------------------------------------------
3261 # Tests whether TYPE exists after having included INCLUDES, setting cache
3262 # variable VAR accordingly.
3263 ac_fn_c_check_type ()
3264 {
3265 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3267 $as_echo_n "checking for $2... " >&6; }
3268 if eval \${$3+:} false; then :
3269 $as_echo_n "(cached) " >&6
3270 else
3271 eval "$3=no"
3272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3273 /* end confdefs.h. */
3274 $4
3275 int
3276 main ()
3277 {
3278 if (sizeof ($2))
3279 return 0;
3280 ;
3281 return 0;
3282 }
3283 _ACEOF
3284 if ac_fn_c_try_compile "$LINENO"; then :
3285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3286 /* end confdefs.h. */
3287 $4
3288 int
3289 main ()
3290 {
3291 if (sizeof (($2)))
3292 return 0;
3293 ;
3294 return 0;
3295 }
3296 _ACEOF
3297 if ac_fn_c_try_compile "$LINENO"; then :
3298
3299 else
3300 eval "$3=yes"
3301 fi
3302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3303 fi
3304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3305 fi
3306 eval ac_res=\$$3
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3308 $as_echo "$ac_res" >&6; }
3309 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3310
3311 } # ac_fn_c_check_type
3312
3313 # ac_fn_cxx_try_run LINENO
3314 # ------------------------
3315 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3316 # that executables *can* be run.
3317 ac_fn_cxx_try_run ()
3318 {
3319 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3320 if { { ac_try="$ac_link"
3321 case "(($ac_try" in
3322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3323 *) ac_try_echo=$ac_try;;
3324 esac
3325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3326 $as_echo "$ac_try_echo"; } >&5
3327 (eval "$ac_link") 2>&5
3328 ac_status=$?
3329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3330 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3331 { { case "(($ac_try" in
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3334 esac
3335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3336 $as_echo "$ac_try_echo"; } >&5
3337 (eval "$ac_try") 2>&5
3338 ac_status=$?
3339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3340 test $ac_status = 0; }; }; then :
3341 ac_retval=0
3342 else
3343 $as_echo "$as_me: program exited with status $ac_status" >&5
3344 $as_echo "$as_me: failed program was:" >&5
3345 sed 's/^/| /' conftest.$ac_ext >&5
3346
3347 ac_retval=$ac_status
3348 fi
3349 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3350 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3351 as_fn_set_status $ac_retval
3352
3353 } # ac_fn_cxx_try_run
3354 cat >config.log <<_ACEOF
3355 This file contains any messages produced by compilers while
3356 running configure, to aid debugging if configure makes a mistake.
3357
3358 It was created by wxWidgets $as_me 2.9.5, which was
3359 generated by GNU Autoconf 2.69. Invocation command line was
3360
3361 $ $0 $@
3362
3363 _ACEOF
3364 exec 5>>config.log
3365 {
3366 cat <<_ASUNAME
3367 ## --------- ##
3368 ## Platform. ##
3369 ## --------- ##
3370
3371 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3372 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3373 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3374 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3375 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3376
3377 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3378 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3379
3380 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3381 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3382 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3383 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3384 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3385 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3386 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3387
3388 _ASUNAME
3389
3390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3391 for as_dir in $PATH
3392 do
3393 IFS=$as_save_IFS
3394 test -z "$as_dir" && as_dir=.
3395 $as_echo "PATH: $as_dir"
3396 done
3397 IFS=$as_save_IFS
3398
3399 } >&5
3400
3401 cat >&5 <<_ACEOF
3402
3403
3404 ## ----------- ##
3405 ## Core tests. ##
3406 ## ----------- ##
3407
3408 _ACEOF
3409
3410
3411 # Keep a trace of the command line.
3412 # Strip out --no-create and --no-recursion so they do not pile up.
3413 # Strip out --silent because we don't want to record it for future runs.
3414 # Also quote any args containing shell meta-characters.
3415 # Make two passes to allow for proper duplicate-argument suppression.
3416 ac_configure_args=
3417 ac_configure_args0=
3418 ac_configure_args1=
3419 ac_must_keep_next=false
3420 for ac_pass in 1 2
3421 do
3422 for ac_arg
3423 do
3424 case $ac_arg in
3425 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3426 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3427 | -silent | --silent | --silen | --sile | --sil)
3428 continue ;;
3429 *\'*)
3430 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3431 esac
3432 case $ac_pass in
3433 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3434 2)
3435 as_fn_append ac_configure_args1 " '$ac_arg'"
3436 if test $ac_must_keep_next = true; then
3437 ac_must_keep_next=false # Got value, back to normal.
3438 else
3439 case $ac_arg in
3440 *=* | --config-cache | -C | -disable-* | --disable-* \
3441 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3442 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3443 | -with-* | --with-* | -without-* | --without-* | --x)
3444 case "$ac_configure_args0 " in
3445 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3446 esac
3447 ;;
3448 -* ) ac_must_keep_next=true ;;
3449 esac
3450 fi
3451 as_fn_append ac_configure_args " '$ac_arg'"
3452 ;;
3453 esac
3454 done
3455 done
3456 { ac_configure_args0=; unset ac_configure_args0;}
3457 { ac_configure_args1=; unset ac_configure_args1;}
3458
3459 # When interrupted or exit'd, cleanup temporary files, and complete
3460 # config.log. We remove comments because anyway the quotes in there
3461 # would cause problems or look ugly.
3462 # WARNING: Use '\'' to represent an apostrophe within the trap.
3463 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3464 trap 'exit_status=$?
3465 # Save into config.log some information that might help in debugging.
3466 {
3467 echo
3468
3469 $as_echo "## ---------------- ##
3470 ## Cache variables. ##
3471 ## ---------------- ##"
3472 echo
3473 # The following way of writing the cache mishandles newlines in values,
3474 (
3475 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3476 eval ac_val=\$$ac_var
3477 case $ac_val in #(
3478 *${as_nl}*)
3479 case $ac_var in #(
3480 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3481 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3482 esac
3483 case $ac_var in #(
3484 _ | IFS | as_nl) ;; #(
3485 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3486 *) { eval $ac_var=; unset $ac_var;} ;;
3487 esac ;;
3488 esac
3489 done
3490 (set) 2>&1 |
3491 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3492 *${as_nl}ac_space=\ *)
3493 sed -n \
3494 "s/'\''/'\''\\\\'\'''\''/g;
3495 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3496 ;; #(
3497 *)
3498 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3499 ;;
3500 esac |
3501 sort
3502 )
3503 echo
3504
3505 $as_echo "## ----------------- ##
3506 ## Output variables. ##
3507 ## ----------------- ##"
3508 echo
3509 for ac_var in $ac_subst_vars
3510 do
3511 eval ac_val=\$$ac_var
3512 case $ac_val in
3513 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3514 esac
3515 $as_echo "$ac_var='\''$ac_val'\''"
3516 done | sort
3517 echo
3518
3519 if test -n "$ac_subst_files"; then
3520 $as_echo "## ------------------- ##
3521 ## File substitutions. ##
3522 ## ------------------- ##"
3523 echo
3524 for ac_var in $ac_subst_files
3525 do
3526 eval ac_val=\$$ac_var
3527 case $ac_val in
3528 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3529 esac
3530 $as_echo "$ac_var='\''$ac_val'\''"
3531 done | sort
3532 echo
3533 fi
3534
3535 if test -s confdefs.h; then
3536 $as_echo "## ----------- ##
3537 ## confdefs.h. ##
3538 ## ----------- ##"
3539 echo
3540 cat confdefs.h
3541 echo
3542 fi
3543 test "$ac_signal" != 0 &&
3544 $as_echo "$as_me: caught signal $ac_signal"
3545 $as_echo "$as_me: exit $exit_status"
3546 } >&5
3547 rm -f core *.core core.conftest.* &&
3548 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3549 exit $exit_status
3550 ' 0
3551 for ac_signal in 1 2 13 15; do
3552 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3553 done
3554 ac_signal=0
3555
3556 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3557 rm -f -r conftest* confdefs.h
3558
3559 $as_echo "/* confdefs.h */" > confdefs.h
3560
3561 # Predefined preprocessor variables.
3562
3563 cat >>confdefs.h <<_ACEOF
3564 #define PACKAGE_NAME "$PACKAGE_NAME"
3565 _ACEOF
3566
3567 cat >>confdefs.h <<_ACEOF
3568 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3569 _ACEOF
3570
3571 cat >>confdefs.h <<_ACEOF
3572 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3573 _ACEOF
3574
3575 cat >>confdefs.h <<_ACEOF
3576 #define PACKAGE_STRING "$PACKAGE_STRING"
3577 _ACEOF
3578
3579 cat >>confdefs.h <<_ACEOF
3580 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3581 _ACEOF
3582
3583 cat >>confdefs.h <<_ACEOF
3584 #define PACKAGE_URL "$PACKAGE_URL"
3585 _ACEOF
3586
3587
3588 # Let the site file select an alternate cache file if it wants to.
3589 # Prefer an explicitly selected file to automatically selected ones.
3590 ac_site_file1=NONE
3591 ac_site_file2=NONE
3592 if test -n "$CONFIG_SITE"; then
3593 # We do not want a PATH search for config.site.
3594 case $CONFIG_SITE in #((
3595 -*) ac_site_file1=./$CONFIG_SITE;;
3596 */*) ac_site_file1=$CONFIG_SITE;;
3597 *) ac_site_file1=./$CONFIG_SITE;;
3598 esac
3599 elif test "x$prefix" != xNONE; then
3600 ac_site_file1=$prefix/share/config.site
3601 ac_site_file2=$prefix/etc/config.site
3602 else
3603 ac_site_file1=$ac_default_prefix/share/config.site
3604 ac_site_file2=$ac_default_prefix/etc/config.site
3605 fi
3606 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3607 do
3608 test "x$ac_site_file" = xNONE && continue
3609 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3611 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3612 sed 's/^/| /' "$ac_site_file" >&5
3613 . "$ac_site_file" \
3614 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3615 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3616 as_fn_error $? "failed to load site script $ac_site_file
3617 See \`config.log' for more details" "$LINENO" 5; }
3618 fi
3619 done
3620
3621 if test -r "$cache_file"; then
3622 # Some versions of bash will fail to source /dev/null (special files
3623 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3624 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3626 $as_echo "$as_me: loading cache $cache_file" >&6;}
3627 case $cache_file in
3628 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3629 *) . "./$cache_file";;
3630 esac
3631 fi
3632 else
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3634 $as_echo "$as_me: creating cache $cache_file" >&6;}
3635 >$cache_file
3636 fi
3637
3638 # Check that the precious variables saved in the cache have kept the same
3639 # value.
3640 ac_cache_corrupted=false
3641 for ac_var in $ac_precious_vars; do
3642 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3643 eval ac_new_set=\$ac_env_${ac_var}_set
3644 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3645 eval ac_new_val=\$ac_env_${ac_var}_value
3646 case $ac_old_set,$ac_new_set in
3647 set,)
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3649 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3650 ac_cache_corrupted=: ;;
3651 ,set)
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3653 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3654 ac_cache_corrupted=: ;;
3655 ,);;
3656 *)
3657 if test "x$ac_old_val" != "x$ac_new_val"; then
3658 # differences in whitespace do not lead to failure.
3659 ac_old_val_w=`echo x $ac_old_val`
3660 ac_new_val_w=`echo x $ac_new_val`
3661 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3663 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3664 ac_cache_corrupted=:
3665 else
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3667 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3668 eval $ac_var=\$ac_old_val
3669 fi
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3671 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3673 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3674 fi;;
3675 esac
3676 # Pass precious variables to config.status.
3677 if test "$ac_new_set" = set; then
3678 case $ac_new_val in
3679 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3680 *) ac_arg=$ac_var=$ac_new_val ;;
3681 esac
3682 case " $ac_configure_args " in
3683 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3684 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3685 esac
3686 fi
3687 done
3688 if $ac_cache_corrupted; then
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3692 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3693 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3694 fi
3695 ## -------------------- ##
3696 ## Main body of script. ##
3697 ## -------------------- ##
3698
3699 ac_ext=c
3700 ac_cpp='$CPP $CPPFLAGS'
3701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3704
3705
3706
3707
3708
3709 ac_aux_dir=
3710 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3711 if test -f "$ac_dir/install-sh"; then
3712 ac_aux_dir=$ac_dir
3713 ac_install_sh="$ac_aux_dir/install-sh -c"
3714 break
3715 elif test -f "$ac_dir/install.sh"; then
3716 ac_aux_dir=$ac_dir
3717 ac_install_sh="$ac_aux_dir/install.sh -c"
3718 break
3719 elif test -f "$ac_dir/shtool"; then
3720 ac_aux_dir=$ac_dir
3721 ac_install_sh="$ac_aux_dir/shtool install -c"
3722 break
3723 fi
3724 done
3725 if test -z "$ac_aux_dir"; then
3726 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3727 fi
3728
3729 # These three variables are undocumented and unsupported,
3730 # and are intended to be withdrawn in a future Autoconf release.
3731 # They can cause serious problems if a builder's source tree is in a directory
3732 # whose full name contains unusual characters.
3733 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3734 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3735 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3736
3737
3738 # Make sure we can run config.sub.
3739 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3740 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3741
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3743 $as_echo_n "checking build system type... " >&6; }
3744 if ${ac_cv_build+:} false; then :
3745 $as_echo_n "(cached) " >&6
3746 else
3747 ac_build_alias=$build_alias
3748 test "x$ac_build_alias" = x &&
3749 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3750 test "x$ac_build_alias" = x &&
3751 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3752 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3753 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3754
3755 fi
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3757 $as_echo "$ac_cv_build" >&6; }
3758 case $ac_cv_build in
3759 *-*-*) ;;
3760 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3761 esac
3762 build=$ac_cv_build
3763 ac_save_IFS=$IFS; IFS='-'
3764 set x $ac_cv_build
3765 shift
3766 build_cpu=$1
3767 build_vendor=$2
3768 shift; shift
3769 # Remember, the first character of IFS is used to create $*,
3770 # except with old shells:
3771 build_os=$*
3772 IFS=$ac_save_IFS
3773 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3774
3775
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3777 $as_echo_n "checking host system type... " >&6; }
3778 if ${ac_cv_host+:} false; then :
3779 $as_echo_n "(cached) " >&6
3780 else
3781 if test "x$host_alias" = x; then
3782 ac_cv_host=$ac_cv_build
3783 else
3784 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3785 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3786 fi
3787
3788 fi
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3790 $as_echo "$ac_cv_host" >&6; }
3791 case $ac_cv_host in
3792 *-*-*) ;;
3793 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3794 esac
3795 host=$ac_cv_host
3796 ac_save_IFS=$IFS; IFS='-'
3797 set x $ac_cv_host
3798 shift
3799 host_cpu=$1
3800 host_vendor=$2
3801 shift; shift
3802 # Remember, the first character of IFS is used to create $*,
3803 # except with old shells:
3804 host_os=$*
3805 IFS=$ac_save_IFS
3806 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3807
3808
3809
3810 if test "$cross_compiling" != "no"; then
3811 HOST_PREFIX="${host_alias}-"
3812 HOST_SUFFIX="-$host_alias"
3813 else
3814 HOST_PREFIX=
3815 HOST_SUFFIX=
3816 fi
3817
3818
3819 wx_major_version_number=2
3820 wx_minor_version_number=9
3821 wx_release_number=5
3822 wx_subrelease_number=0
3823
3824 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
3825 WX_VERSION=$WX_RELEASE.$wx_release_number
3826 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
3827
3828 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
3829
3830
3831 wx_top_builddir="`pwd`"
3832
3833
3834
3835
3836 USE_UNIX=1
3837 USE_OS2=0
3838 USE_WIN32=0
3839 USE_DOS=0
3840 USE_BEOS=0
3841 USE_MAC=0
3842
3843 USE_AIX=
3844 USE_BSD= USE_DARWIN= USE_FREEBSD=
3845 USE_GNU= USE_HPUX=
3846 USE_LINUX=
3847 USE_NETBSD=
3848 USE_OPENBSD=
3849 USE_OSF= USE_SGI=
3850 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
3851 USE_ULTRIX=
3852 USE_UNIXWARE=
3853
3854 USE_ALPHA=
3855
3856 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
3857
3858 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3859
3860 DEFAULT_wxUSE_OLD_COCOA=0
3861 DEFAULT_wxUSE_GTK=0
3862 DEFAULT_wxUSE_OSX_CARBON=0
3863 DEFAULT_wxUSE_OSX_COCOA=0
3864 DEFAULT_wxUSE_OSX_IPHONE=0
3865 DEFAULT_wxUSE_MICROWIN=0
3866 DEFAULT_wxUSE_MOTIF=0
3867 DEFAULT_wxUSE_MSW=0
3868 DEFAULT_wxUSE_PM=0
3869 DEFAULT_wxUSE_X11=0
3870 DEFAULT_wxUSE_DFB=0
3871
3872 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
3873 DEFAULT_DEFAULT_wxUSE_GTK=0
3874 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
3875 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
3876 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
3877 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
3878 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3879 DEFAULT_DEFAULT_wxUSE_MSW=0
3880 DEFAULT_DEFAULT_wxUSE_PM=0
3881 DEFAULT_DEFAULT_wxUSE_X11=0
3882 DEFAULT_DEFAULT_wxUSE_DFB=0
3883
3884 PROGRAM_EXT=
3885 SAMPLES_RPATH_FLAG=
3886 DYLIB_RPATH_INSTALL=
3887 DYLIB_RPATH_POSTLINK=
3888
3889 DEFAULT_STD_FLAG=yes
3890
3891 case "${host}" in
3892 *-hp-hpux* )
3893 USE_HPUX=1
3894 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3895 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3896 $as_echo "#define __HPUX__ 1" >>confdefs.h
3897
3898
3899 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
3900 ;;
3901 *-*-linux* )
3902 USE_LINUX=1
3903 $as_echo "#define __LINUX__ 1" >>confdefs.h
3904
3905 TMP=`uname -m`
3906 if test "x$TMP" = "xalpha"; then
3907 USE_ALPHA=1
3908 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3909
3910 fi
3911 DEFAULT_DEFAULT_wxUSE_GTK=1
3912 ;;
3913 *-*-gnu* | *-*-k*bsd*-gnu )
3914 USE_GNU=1
3915 TMP=`uname -m`
3916 if test "x$TMP" = "xalpha"; then
3917 USE_ALPHA=1
3918 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3919
3920 fi
3921 DEFAULT_DEFAULT_wxUSE_GTK=1
3922 ;;
3923 *-*-irix5* | *-*-irix6* )
3924 USE_SGI=1
3925 USE_SVR4=1
3926 $as_echo "#define __SGI__ 1" >>confdefs.h
3927
3928 $as_echo "#define __SVR4__ 1" >>confdefs.h
3929
3930 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3931 ;;
3932 *-*-qnx*)
3933 USE_QNX=1
3934 $as_echo "#define __QNX__ 1" >>confdefs.h
3935
3936 DEFAULT_DEFAULT_wxUSE_X11=1
3937 ;;
3938 *-*-solaris2* )
3939 USE_SUN=1
3940 USE_SOLARIS=1
3941 USE_SVR4=1
3942 $as_echo "#define __SUN__ 1" >>confdefs.h
3943
3944 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3945
3946 $as_echo "#define __SVR4__ 1" >>confdefs.h
3947
3948 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3949 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3950 ;;
3951 *-*-sunos4* )
3952 USE_SUN=1
3953 USE_SUNOS=1
3954 USE_BSD=1
3955 $as_echo "#define __SUN__ 1" >>confdefs.h
3956
3957 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3958
3959 $as_echo "#define __BSD__ 1" >>confdefs.h
3960
3961 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3962 ;;
3963 *-*-freebsd*)
3964 USE_BSD=1
3965 USE_FREEBSD=1
3966 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3967
3968 $as_echo "#define __BSD__ 1" >>confdefs.h
3969
3970 DEFAULT_DEFAULT_wxUSE_GTK=1
3971 ;;
3972 *-*-openbsd*|*-*-mirbsd*)
3973 USE_BSD=1
3974 USE_OPENBSD=1
3975 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3976
3977 $as_echo "#define __BSD__ 1" >>confdefs.h
3978
3979 DEFAULT_DEFAULT_wxUSE_GTK=1
3980 ;;
3981 *-*-netbsd*)
3982 USE_BSD=1
3983 USE_NETBSD=1
3984 $as_echo "#define __NETBSD__ 1" >>confdefs.h
3985
3986 $as_echo "#define __BSD__ 1" >>confdefs.h
3987
3988 DEFAULT_DEFAULT_wxUSE_GTK=1
3989 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3990
3991 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
3992 ;;
3993 *-*-osf* )
3994 USE_ALPHA=1
3995 USE_OSF=1
3996 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3997
3998 $as_echo "#define __OSF__ 1" >>confdefs.h
3999
4000 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4001 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
4002 ;;
4003 *-*-dgux5* )
4004 USE_ALPHA=1
4005 USE_SVR4=1
4006 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4007
4008 $as_echo "#define __SVR4__ 1" >>confdefs.h
4009
4010 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4011 ;;
4012 *-*-sysv5* )
4013 USE_SYSV=1
4014 USE_SVR4=1
4015 $as_echo "#define __SYSV__ 1" >>confdefs.h
4016
4017 $as_echo "#define __SVR4__ 1" >>confdefs.h
4018
4019 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4020 ;;
4021 *-*-aix* )
4022 USE_AIX=1
4023 USE_SYSV=1
4024 USE_SVR4=1
4025 $as_echo "#define __AIX__ 1" >>confdefs.h
4026
4027 $as_echo "#define __SYSV__ 1" >>confdefs.h
4028
4029 $as_echo "#define __SVR4__ 1" >>confdefs.h
4030
4031 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4032 ;;
4033
4034 *-*-*UnixWare*)
4035 USE_SYSV=1
4036 USE_SVR4=1
4037 USE_UNIXWARE=1
4038 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4039
4040 ;;
4041
4042 *-*-cygwin* | *-*-mingw32* )
4043 PROGRAM_EXT=".exe"
4044 DEFAULT_DEFAULT_wxUSE_MSW=1
4045 ;;
4046
4047 *-pc-msdosdjgpp )
4048 USE_UNIX=0
4049 USE_DOS=1
4050 $as_echo "#define __DOS__ 1" >>confdefs.h
4051
4052 PROGRAM_EXT=".exe"
4053 ;;
4054
4055 *-pc-os2_emx | *-pc-os2-emx )
4056 $as_echo "#define __EMX__ 1" >>confdefs.h
4057
4058 USE_OS2=1
4059 $as_echo "#define __OS2__ 1" >>confdefs.h
4060
4061 PROGRAM_EXT=".exe"
4062 DEFAULT_DEFAULT_wxUSE_PM=1
4063 CXX=gcc
4064 LDFLAGS="$LDFLAGS -Zcrtdll"
4065 ac_executable_extensions=".exe"
4066 export ac_executable_extensions
4067 ac_save_IFS="$IFS"
4068 IFS='\\'
4069 ac_TEMP_PATH=
4070 for ac_dir in $PATH; do
4071 IFS=$ac_save_IFS
4072 if test -z "$ac_TEMP_PATH"; then
4073 ac_TEMP_PATH="$ac_dir"
4074 else
4075 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
4076 fi
4077 done
4078 export PATH="$ac_TEMP_PATH"
4079 unset ac_TEMP_PATH
4080 DEFAULT_STD_FLAG=no
4081 ;;
4082
4083 arm-apple-darwin*)
4084 USE_BSD=1
4085 USE_DARWIN=1
4086 $as_echo "#define __BSD__ 1" >>confdefs.h
4087
4088 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4089
4090 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
4091 ;;
4092
4093 *-*-darwin* )
4094 USE_BSD=1
4095 USE_DARWIN=1
4096 $as_echo "#define __BSD__ 1" >>confdefs.h
4097
4098 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4099
4100 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4101
4102 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
4103 ;;
4104
4105 *-*-beos* )
4106 USE_BEOS=1
4107 $as_echo "#define __BEOS__ 1" >>confdefs.h
4108
4109 ;;
4110
4111 *)
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4113 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4115 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4116
4117 DEFAULT_DEFAULT_wxUSE_X11=1
4118 DEFAULT_wxUSE_SHARED=no
4119 esac
4120
4121
4122
4123 DEFAULT_wxUSE_ALL_FEATURES=yes
4124
4125 DEFAULT_wxUSE_STD_CONTAINERS=no
4126 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
4127 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
4128
4129 DEFAULT_wxUSE_DMALLOC=no
4130 DEFAULT_wxUSE_LIBGNOMEVFS=no
4131 DEFAULT_wxUSE_LIBHILDON=no
4132 DEFAULT_wxUSE_LIBHILDON2=no
4133 DEFAULT_wxUSE_LIBMSPACK=no
4134 DEFAULT_wxUSE_LIBSDL=no
4135
4136 DEFAULT_wxUSE_ACCESSIBILITY=no
4137 DEFAULT_wxUSE_IPV6=no
4138 DEFAULT_wxUSE_GSTREAMER8=no
4139 DEFAULT_wxUSE_UNICODE_UTF8=no
4140 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
4141
4142 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
4143 DEFAULT_wxUSE_OPENGL=auto
4144 DEFAULT_wxUSE_MEDIACTRL=auto
4145 DEFAULT_wxUSE_COMPILER_TLS=auto
4146 DEFAULT_wxUSE_HOTKEY=auto
4147 DEFAULT_wxUSE_METAFILE=auto
4148
4149 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
4150 DEFAULT_wxUSE_MAC_ARCH=no
4151
4152 DEFAULT_wxUSE_OFFICIAL_BUILD=no
4153
4154 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
4155
4156
4157
4158
4159
4160 enablestring=disable
4161 defaultval=
4162 if test -z "$defaultval"; then
4163 if test x"$enablestring" = xdisable; then
4164 defaultval=yes
4165 else
4166 defaultval=no
4167 fi
4168 fi
4169
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4171 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4172 # Check whether --enable-gui was given.
4173 if test "${enable_gui+set}" = set; then :
4174 enableval=$enable_gui;
4175 if test "$enableval" = yes; then
4176 wx_cv_use_gui='wxUSE_GUI=yes'
4177 else
4178 wx_cv_use_gui='wxUSE_GUI=no'
4179 fi
4180
4181 else
4182
4183 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4184
4185 fi
4186
4187
4188 eval "$wx_cv_use_gui"
4189
4190 if test x"$enablestring" = xdisable; then
4191 if test $wxUSE_GUI = no; then
4192 result=yes
4193 else
4194 result=no
4195 fi
4196 else
4197 result=$wxUSE_GUI
4198 fi
4199
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4201 $as_echo "$result" >&6; }
4202
4203
4204 enablestring=
4205 defaultval=
4206 if test -z "$defaultval"; then
4207 if test x"$enablestring" = xdisable; then
4208 defaultval=yes
4209 else
4210 defaultval=no
4211 fi
4212 fi
4213
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4215 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4216 # Check whether --enable-monolithic was given.
4217 if test "${enable_monolithic+set}" = set; then :
4218 enableval=$enable_monolithic;
4219 if test "$enableval" = yes; then
4220 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
4221 else
4222 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
4223 fi
4224
4225 else
4226
4227 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4228
4229 fi
4230
4231
4232 eval "$wx_cv_use_monolithic"
4233
4234 if test x"$enablestring" = xdisable; then
4235 if test $wxUSE_MONOLITHIC = no; then
4236 result=yes
4237 else
4238 result=no
4239 fi
4240 else
4241 result=$wxUSE_MONOLITHIC
4242 fi
4243
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4245 $as_echo "$result" >&6; }
4246
4247
4248 enablestring=
4249 defaultval=
4250 if test -z "$defaultval"; then
4251 if test x"$enablestring" = xdisable; then
4252 defaultval=yes
4253 else
4254 defaultval=no
4255 fi
4256 fi
4257
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-plugins" >&5
4259 $as_echo_n "checking for --${enablestring:-enable}-plugins... " >&6; }
4260 # Check whether --enable-plugins was given.
4261 if test "${enable_plugins+set}" = set; then :
4262 enableval=$enable_plugins;
4263 if test "$enableval" = yes; then
4264 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4265 else
4266 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4267 fi
4268
4269 else
4270
4271 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4272
4273 fi
4274
4275
4276 eval "$wx_cv_use_plugins"
4277
4278 if test x"$enablestring" = xdisable; then
4279 if test $wxUSE_PLUGINS = no; then
4280 result=yes
4281 else
4282 result=no
4283 fi
4284 else
4285 result=$wxUSE_PLUGINS
4286 fi
4287
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4289 $as_echo "$result" >&6; }
4290
4291
4292 withstring=without
4293 defaultval=$wxUSE_ALL_FEATURES
4294 if test -z "$defaultval"; then
4295 if test x"$withstring" = xwithout; then
4296 defaultval=yes
4297 else
4298 defaultval=no
4299 fi
4300 fi
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4302 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4303
4304 # Check whether --with-subdirs was given.
4305 if test "${with_subdirs+set}" = set; then :
4306 withval=$with_subdirs;
4307 if test "$withval" = yes; then
4308 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
4309 else
4310 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
4311 fi
4312
4313 else
4314
4315 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4316
4317 fi
4318
4319
4320 eval "$wx_cv_use_subdirs"
4321
4322 if test x"$withstring" = xwithout; then
4323 if test $wxWITH_SUBDIRS = yes; then
4324 result=no
4325 else
4326 result=yes
4327 fi
4328 else
4329 result=$wxWITH_SUBDIRS
4330 fi
4331
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4333 $as_echo "$result" >&6; }
4334
4335
4336 # Check whether --with-flavour was given.
4337 if test "${with_flavour+set}" = set; then :
4338 withval=$with_flavour; WX_FLAVOUR="$withval"
4339 fi
4340
4341
4342 enablestring=
4343 defaultval=
4344 if test -z "$defaultval"; then
4345 if test x"$enablestring" = xdisable; then
4346 defaultval=yes
4347 else
4348 defaultval=no
4349 fi
4350 fi
4351
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4353 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4354 # Check whether --enable-official_build was given.
4355 if test "${enable_official_build+set}" = set; then :
4356 enableval=$enable_official_build;
4357 if test "$enableval" = yes; then
4358 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
4359 else
4360 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
4361 fi
4362
4363 else
4364
4365 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4366
4367 fi
4368
4369
4370 eval "$wx_cv_use_official_build"
4371
4372 if test x"$enablestring" = xdisable; then
4373 if test $wxUSE_OFFICIAL_BUILD = no; then
4374 result=yes
4375 else
4376 result=no
4377 fi
4378 else
4379 result=$wxUSE_OFFICIAL_BUILD
4380 fi
4381
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4383 $as_echo "$result" >&6; }
4384
4385 # Check whether --enable-vendor was given.
4386 if test "${enable_vendor+set}" = set; then :
4387 enableval=$enable_vendor; VENDOR="$enableval"
4388 fi
4389
4390 if test "x$VENDOR" = "x"; then
4391 VENDOR="custom"
4392 fi
4393
4394
4395 enablestring=disable
4396 defaultval=
4397 if test -z "$defaultval"; then
4398 if test x"$enablestring" = xdisable; then
4399 defaultval=yes
4400 else
4401 defaultval=no
4402 fi
4403 fi
4404
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-all-features" >&5
4406 $as_echo_n "checking for --${enablestring:-enable}-all-features... " >&6; }
4407 # Check whether --enable-all-features was given.
4408 if test "${enable_all_features+set}" = set; then :
4409 enableval=$enable_all_features;
4410 if test "$enableval" = yes; then
4411 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4412 else
4413 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4414 fi
4415
4416 else
4417
4418 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4419
4420 fi
4421
4422
4423 eval "$wx_cv_use_all_features"
4424
4425 if test x"$enablestring" = xdisable; then
4426 if test $wxUSE_ALL_FEATURES = no; then
4427 result=yes
4428 else
4429 result=no
4430 fi
4431 else
4432 result=$wxUSE_ALL_FEATURES
4433 fi
4434
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4436 $as_echo "$result" >&6; }
4437
4438
4439 if test "$wxUSE_ALL_FEATURES" = "no"; then
4440 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
4441 DEFAULT_wxUSE_MEDIACTRL=no
4442 fi
4443
4444
4445 if test "$wxUSE_GUI" = "yes"; then
4446
4447
4448 enablestring=
4449 defaultval=
4450 if test -z "$defaultval"; then
4451 if test x"$enablestring" = xdisable; then
4452 defaultval=yes
4453 else
4454 defaultval=no
4455 fi
4456 fi
4457
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4459 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4460 # Check whether --enable-universal was given.
4461 if test "${enable_universal+set}" = set; then :
4462 enableval=$enable_universal;
4463 if test "$enableval" = yes; then
4464 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
4465 else
4466 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
4467 fi
4468
4469 else
4470
4471 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4472
4473 fi
4474
4475
4476 eval "$wx_cv_use_universal"
4477
4478 if test x"$enablestring" = xdisable; then
4479 if test $wxUSE_UNIVERSAL = no; then
4480 result=yes
4481 else
4482 result=no
4483 fi
4484 else
4485 result=$wxUSE_UNIVERSAL
4486 fi
4487
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4489 $as_echo "$result" >&6; }
4490
4491 if test "$wxUSE_UNIVERSAL" = "yes"; then
4492
4493 # Check whether --with-themes was given.
4494 if test "${with_themes+set}" = set; then :
4495 withval=$with_themes; wxUNIV_THEMES="$withval"
4496 fi
4497
4498 fi
4499
4500
4501 # Check whether --with-gtk was given.
4502 if test "${with_gtk+set}" = set; then :
4503 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4504 fi
4505
4506
4507 # Check whether --with-motif was given.
4508 if test "${with_motif+set}" = set; then :
4509 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4510 fi
4511
4512
4513 # Check whether --with-osx_carbon was given.
4514 if test "${with_osx_carbon+set}" = set; then :
4515 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4516 fi
4517
4518
4519 # Check whether --with-osx_cocoa was given.
4520 if test "${with_osx_cocoa+set}" = set; then :
4521 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4522 fi
4523
4524
4525 # Check whether --with-osx_iphone was given.
4526 if test "${with_osx_iphone+set}" = set; then :
4527 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4528 fi
4529
4530
4531 # Check whether --with-osx was given.
4532 if test "${with_osx+set}" = set; then :
4533 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4534 fi
4535
4536
4537 # Check whether --with-carbon was given.
4538 if test "${with_carbon+set}" = set; then :
4539 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4540 fi
4541
4542
4543 # Check whether --with-cocoa was given.
4544 if test "${with_cocoa+set}" = set; then :
4545 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4546 fi
4547
4548
4549 # Check whether --with-iphone was given.
4550 if test "${with_iphone+set}" = set; then :
4551 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4552 fi
4553
4554
4555 # Check whether --with-mac was given.
4556 if test "${with_mac+set}" = set; then :
4557 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4558 fi
4559
4560
4561 # Check whether --with-old_cocoa was given.
4562 if test "${with_old_cocoa+set}" = set; then :
4563 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4564 fi
4565
4566
4567 # Check whether --with-wine was given.
4568 if test "${with_wine+set}" = set; then :
4569 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4570 fi
4571
4572
4573 # Check whether --with-msw was given.
4574 if test "${with_msw+set}" = set; then :
4575 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4576 fi
4577
4578
4579 # Check whether --with-pm was given.
4580 if test "${with_pm+set}" = set; then :
4581 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4582 fi
4583
4584
4585 # Check whether --with-directfb was given.
4586 if test "${with_directfb+set}" = set; then :
4587 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4588 fi
4589
4590
4591 # Check whether --with-microwin was given.
4592 if test "${with_microwin+set}" = set; then :
4593 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4594 fi
4595
4596
4597 # Check whether --with-x11 was given.
4598 if test "${with_x11+set}" = set; then :
4599 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4600 fi
4601
4602
4603 enablestring=
4604 defaultval=
4605 if test -z "$defaultval"; then
4606 if test x"$enablestring" = xdisable; then
4607 defaultval=yes
4608 else
4609 defaultval=no
4610 fi
4611 fi
4612
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4614 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4615 # Check whether --enable-nanox was given.
4616 if test "${enable_nanox+set}" = set; then :
4617 enableval=$enable_nanox;
4618 if test "$enableval" = yes; then
4619 wx_cv_use_nanox='wxUSE_NANOX=yes'
4620 else
4621 wx_cv_use_nanox='wxUSE_NANOX=no'
4622 fi
4623
4624 else
4625
4626 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4627
4628 fi
4629
4630
4631 eval "$wx_cv_use_nanox"
4632
4633 if test x"$enablestring" = xdisable; then
4634 if test $wxUSE_NANOX = no; then
4635 result=yes
4636 else
4637 result=no
4638 fi
4639 else
4640 result=$wxUSE_NANOX
4641 fi
4642
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4644 $as_echo "$result" >&6; }
4645
4646
4647 enablestring=
4648 defaultval=
4649 if test -z "$defaultval"; then
4650 if test x"$enablestring" = xdisable; then
4651 defaultval=yes
4652 else
4653 defaultval=no
4654 fi
4655 fi
4656
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gpe" >&5
4658 $as_echo_n "checking for --${enablestring:-enable}-gpe... " >&6; }
4659 # Check whether --enable-gpe was given.
4660 if test "${enable_gpe+set}" = set; then :
4661 enableval=$enable_gpe;
4662 if test "$enableval" = yes; then
4663 wx_cv_use_gpe='wxUSE_GPE=yes'
4664 else
4665 wx_cv_use_gpe='wxUSE_GPE=no'
4666 fi
4667
4668 else
4669
4670 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4671
4672 fi
4673
4674
4675 eval "$wx_cv_use_gpe"
4676
4677 if test x"$enablestring" = xdisable; then
4678 if test $wxUSE_GPE = no; then
4679 result=yes
4680 else
4681 result=no
4682 fi
4683 else
4684 result=$wxUSE_GPE
4685 fi
4686
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4688 $as_echo "$result" >&6; }
4689
4690
4691
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4693 $as_echo_n "checking for toolkit... " >&6; }
4694
4695
4696
4697 # In Wine, we need to default to MSW, not GTK or MOTIF
4698 if test "$wxUSE_WINE" = "yes"; then
4699 DEFAULT_DEFAULT_wxUSE_GTK=0
4700 DEFAULT_DEFAULT_wxUSE_MOTIF=0
4701 DEFAULT_DEFAULT_wxUSE_MSW=1
4702 wxUSE_SHARED=no
4703 CC=${CC:-winegcc}
4704 CXX=${CXX:-wineg++}
4705 fi
4706
4707
4708 if test "$wxUSE_GUI" = "yes"; then
4709
4710 if test "$USE_BEOS" = 1; then
4711 as_fn_error $? "BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4712 fi
4713
4714 if test "$TOOLKIT_GIVEN" = 1; then
4715 for toolkit in $ALL_TOOLKITS; do
4716 var=wxUSE_$toolkit
4717 eval "value=\$${var}"
4718 if test "x$value" = "xno"; then
4719 eval "$var=0"
4720 elif test "x$value" != "x"; then
4721 eval "$var=1"
4722 fi
4723
4724 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4725 eval "wx${toolkit}_VERSION=$value"
4726 fi
4727 done
4728 else
4729 for toolkit in $ALL_TOOLKITS; do
4730 var=DEFAULT_DEFAULT_wxUSE_$toolkit
4731 eval "wxUSE_$toolkit=\$${var}"
4732 done
4733 fi
4734
4735 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4736 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4737 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4738
4739 case "${host}" in
4740 *-pc-os2_emx | *-pc-os2-emx )
4741 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4742 esac
4743
4744 case "$NUM_TOOLKITS" in
4745 1)
4746 ;;
4747 0)
4748 as_fn_error $? "Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4749 ;;
4750 *)
4751 as_fn_error $? "Please specify at most one toolkit" "$LINENO" 5
4752 esac
4753
4754 for toolkit in $ALL_TOOLKITS; do
4755 var=wxUSE_$toolkit
4756 eval "value=\$${var}"
4757 if test "$value" = 1; then
4758 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4760 $as_echo "$toolkit_echo" >&6; }
4761 fi
4762 done
4763 else
4764 if test "x$host_alias" != "x"; then
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4766 $as_echo "base ($host_alias hosted) only" >&6; }
4767 else
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4769 $as_echo "base only" >&6; }
4770 fi
4771 fi
4772
4773 wxUSE_MAC=0
4774 if test "$wxUSE_OSX_CARBON" = 1 \
4775 -o "$wxUSE_OSX_COCOA" = 1 \
4776 -o "$wxUSE_OSX_IPHONE" = 1; then
4777 wxUSE_MAC=1
4778 fi
4779
4780
4781
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4783 $as_echo_n "checking for --with-libpng... " >&6; }
4784
4785 # Check whether --with-libpng was given.
4786 if test "${with_libpng+set}" = set; then :
4787 withval=$with_libpng;
4788 if test "$withval" = yes; then
4789 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
4790 elif test "$withval" = no; then
4791 wx_cv_use_libpng='wxUSE_LIBPNG=no'
4792 elif test "$withval" = sys; then
4793 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
4794 elif test "$withval" = builtin; then
4795 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
4796 else
4797 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4798 fi
4799
4800 else
4801
4802 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4803
4804 fi
4805
4806
4807 eval "$wx_cv_use_libpng"
4808
4809 if test "$wxUSE_LIBPNG" = yes; then
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4811 $as_echo "yes" >&6; }
4812 elif test "$wxUSE_LIBPNG" = no; then
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4814 $as_echo "no" >&6; }
4815 elif test "$wxUSE_LIBPNG" = sys; then
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4817 $as_echo "system version" >&6; }
4818 elif test "$wxUSE_LIBPNG" = builtin; then
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4820 $as_echo "builtin version" >&6; }
4821 else
4822 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4823 fi
4824
4825
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4827 $as_echo_n "checking for --with-libjpeg... " >&6; }
4828
4829 # Check whether --with-libjpeg was given.
4830 if test "${with_libjpeg+set}" = set; then :
4831 withval=$with_libjpeg;
4832 if test "$withval" = yes; then
4833 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
4834 elif test "$withval" = no; then
4835 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
4836 elif test "$withval" = sys; then
4837 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
4838 elif test "$withval" = builtin; then
4839 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
4840 else
4841 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4842 fi
4843
4844 else
4845
4846 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4847
4848 fi
4849
4850
4851 eval "$wx_cv_use_libjpeg"
4852
4853 if test "$wxUSE_LIBJPEG" = yes; then
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4855 $as_echo "yes" >&6; }
4856 elif test "$wxUSE_LIBJPEG" = no; then
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 $as_echo "no" >&6; }
4859 elif test "$wxUSE_LIBJPEG" = sys; then
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4861 $as_echo "system version" >&6; }
4862 elif test "$wxUSE_LIBJPEG" = builtin; then
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4864 $as_echo "builtin version" >&6; }
4865 else
4866 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4867 fi
4868
4869
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libtiff" >&5
4871 $as_echo_n "checking for --with-libtiff... " >&6; }
4872
4873 # Check whether --with-libtiff was given.
4874 if test "${with_libtiff+set}" = set; then :
4875 withval=$with_libtiff;
4876 if test "$withval" = yes; then
4877 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4878 elif test "$withval" = no; then
4879 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4880 elif test "$withval" = sys; then
4881 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4882 elif test "$withval" = builtin; then
4883 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4884 else
4885 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4886 fi
4887
4888 else
4889
4890 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4891
4892 fi
4893
4894
4895 eval "$wx_cv_use_libtiff"
4896
4897 if test "$wxUSE_LIBTIFF" = yes; then
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4899 $as_echo "yes" >&6; }
4900 elif test "$wxUSE_LIBTIFF" = no; then
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4902 $as_echo "no" >&6; }
4903 elif test "$wxUSE_LIBTIFF" = sys; then
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4905 $as_echo "system version" >&6; }
4906 elif test "$wxUSE_LIBTIFF" = builtin; then
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4908 $as_echo "builtin version" >&6; }
4909 else
4910 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4911 fi
4912
4913
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4915 $as_echo_n "checking for --with-libxpm... " >&6; }
4916
4917 # Check whether --with-libxpm was given.
4918 if test "${with_libxpm+set}" = set; then :
4919 withval=$with_libxpm;
4920 if test "$withval" = yes; then
4921 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
4922 elif test "$withval" = no; then
4923 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
4924 elif test "$withval" = sys; then
4925 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
4926 elif test "$withval" = builtin; then
4927 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
4928 else
4929 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4930 fi
4931
4932 else
4933
4934 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4935
4936 fi
4937
4938
4939 eval "$wx_cv_use_libxpm"
4940
4941 if test "$wxUSE_LIBXPM" = yes; then
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4943 $as_echo "yes" >&6; }
4944 elif test "$wxUSE_LIBXPM" = no; then
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4946 $as_echo "no" >&6; }
4947 elif test "$wxUSE_LIBXPM" = sys; then
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4949 $as_echo "system version" >&6; }
4950 elif test "$wxUSE_LIBXPM" = builtin; then
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4952 $as_echo "builtin version" >&6; }
4953 else
4954 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4955 fi
4956
4957
4958 withstring=
4959 defaultval=$wxUSE_ALL_FEATURES
4960 if test -z "$defaultval"; then
4961 if test x"$withstring" = xwithout; then
4962 defaultval=yes
4963 else
4964 defaultval=no
4965 fi
4966 fi
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
4968 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4969
4970 # Check whether --with-libiconv was given.
4971 if test "${with_libiconv+set}" = set; then :
4972 withval=$with_libiconv;
4973 if test "$withval" = yes; then
4974 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
4975 else
4976 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
4977 fi
4978
4979 else
4980
4981 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
4982
4983 fi
4984
4985
4986 eval "$wx_cv_use_libiconv"
4987
4988 if test x"$withstring" = xwithout; then
4989 if test $wxUSE_LIBICONV = yes; then
4990 result=no
4991 else
4992 result=yes
4993 fi
4994 else
4995 result=$wxUSE_LIBICONV
4996 fi
4997
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4999 $as_echo "$result" >&6; }
5000
5001
5002 withstring=
5003 defaultval=$wxUSE_ALL_FEATURES
5004 if test -z "$defaultval"; then
5005 if test x"$withstring" = xwithout; then
5006 defaultval=yes
5007 else
5008 defaultval=no
5009 fi
5010 fi
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
5012 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
5013
5014 # Check whether --with-libmspack was given.
5015 if test "${with_libmspack+set}" = set; then :
5016 withval=$with_libmspack;
5017 if test "$withval" = yes; then
5018 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5019 else
5020 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5021 fi
5022
5023 else
5024
5025 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5026
5027 fi
5028
5029
5030 eval "$wx_cv_use_libmspack"
5031
5032 if test x"$withstring" = xwithout; then
5033 if test $wxUSE_LIBMSPACK = yes; then
5034 result=no
5035 else
5036 result=yes
5037 fi
5038 else
5039 result=$wxUSE_LIBMSPACK
5040 fi
5041
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5043 $as_echo "$result" >&6; }
5044
5045
5046 withstring=without
5047 defaultval=$wxUSE_ALL_FEATURES
5048 if test -z "$defaultval"; then
5049 if test x"$withstring" = xwithout; then
5050 defaultval=yes
5051 else
5052 defaultval=no
5053 fi
5054 fi
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5056 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5057
5058 # Check whether --with-gtkprint was given.
5059 if test "${with_gtkprint+set}" = set; then :
5060 withval=$with_gtkprint;
5061 if test "$withval" = yes; then
5062 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5063 else
5064 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5065 fi
5066
5067 else
5068
5069 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5070
5071 fi
5072
5073
5074 eval "$wx_cv_use_gtkprint"
5075
5076 if test x"$withstring" = xwithout; then
5077 if test $wxUSE_GTKPRINT = yes; then
5078 result=no
5079 else
5080 result=yes
5081 fi
5082 else
5083 result=$wxUSE_GTKPRINT
5084 fi
5085
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5087 $as_echo "$result" >&6; }
5088
5089
5090 withstring=without
5091 defaultval=$wxUSE_ALL_FEATURES
5092 if test -z "$defaultval"; then
5093 if test x"$withstring" = xwithout; then
5094 defaultval=yes
5095 else
5096 defaultval=no
5097 fi
5098 fi
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5100 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5101
5102 # Check whether --with-gnomeprint was given.
5103 if test "${with_gnomeprint+set}" = set; then :
5104 withval=$with_gnomeprint;
5105 if test "$withval" = yes; then
5106 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
5107 else
5108 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
5109 fi
5110
5111 else
5112
5113 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5114
5115 fi
5116
5117
5118 eval "$wx_cv_use_gnomeprint"
5119
5120 if test x"$withstring" = xwithout; then
5121 if test $wxUSE_LIBGNOMEPRINT = yes; then
5122 result=no
5123 else
5124 result=yes
5125 fi
5126 else
5127 result=$wxUSE_LIBGNOMEPRINT
5128 fi
5129
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5131 $as_echo "$result" >&6; }
5132
5133
5134 withstring=
5135 defaultval=$wxUSE_ALL_FEATURES
5136 if test -z "$defaultval"; then
5137 if test x"$withstring" = xwithout; then
5138 defaultval=yes
5139 else
5140 defaultval=no
5141 fi
5142 fi
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5144 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5145
5146 # Check whether --with-gnomevfs was given.
5147 if test "${with_gnomevfs+set}" = set; then :
5148 withval=$with_gnomevfs;
5149 if test "$withval" = yes; then
5150 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5151 else
5152 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5153 fi
5154
5155 else
5156
5157 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5158
5159 fi
5160
5161
5162 eval "$wx_cv_use_gnomevfs"
5163
5164 if test x"$withstring" = xwithout; then
5165 if test $wxUSE_LIBGNOMEVFS = yes; then
5166 result=no
5167 else
5168 result=yes
5169 fi
5170 else
5171 result=$wxUSE_LIBGNOMEVFS
5172 fi
5173
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5175 $as_echo "$result" >&6; }
5176
5177
5178 withstring=
5179 defaultval=$wxUSE_ALL_FEATURES
5180 if test -z "$defaultval"; then
5181 if test x"$withstring" = xwithout; then
5182 defaultval=yes
5183 else
5184 defaultval=no
5185 fi
5186 fi
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libnotify" >&5
5188 $as_echo_n "checking for --${withstring:-with}-libnotify... " >&6; }
5189
5190 # Check whether --with-libnotify was given.
5191 if test "${with_libnotify+set}" = set; then :
5192 withval=$with_libnotify;
5193 if test "$withval" = yes; then
5194 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=yes'
5195 else
5196 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=no'
5197 fi
5198
5199 else
5200
5201 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}"
5202
5203 fi
5204
5205
5206 eval "$wx_cv_use_libnotify"
5207
5208 if test x"$withstring" = xwithout; then
5209 if test $wxUSE_LIBNOTIFY = yes; then
5210 result=no
5211 else
5212 result=yes
5213 fi
5214 else
5215 result=$wxUSE_LIBNOTIFY
5216 fi
5217
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5219 $as_echo "$result" >&6; }
5220
5221
5222 withstring=
5223 defaultval=$wxUSE_ALL_FEATURES
5224 if test -z "$defaultval"; then
5225 if test x"$withstring" = xwithout; then
5226 defaultval=yes
5227 else
5228 defaultval=no
5229 fi
5230 fi
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5232 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5233
5234 # Check whether --with-hildon was given.
5235 if test "${with_hildon+set}" = set; then :
5236 withval=$with_hildon;
5237 if test "$withval" = yes; then
5238 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
5239 else
5240 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
5241 fi
5242
5243 else
5244
5245 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5246
5247 fi
5248
5249
5250 eval "$wx_cv_use_hildon"
5251
5252 if test x"$withstring" = xwithout; then
5253 if test $wxUSE_LIBHILDON = yes; then
5254 result=no
5255 else
5256 result=yes
5257 fi
5258 else
5259 result=$wxUSE_LIBHILDON
5260 fi
5261
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5263 $as_echo "$result" >&6; }
5264
5265
5266 withstring=
5267 defaultval=$wxUSE_ALL_FEATURES
5268 if test -z "$defaultval"; then
5269 if test x"$withstring" = xwithout; then
5270 defaultval=yes
5271 else
5272 defaultval=no
5273 fi
5274 fi
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5276 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5277
5278 # Check whether --with-opengl was given.
5279 if test "${with_opengl+set}" = set; then :
5280 withval=$with_opengl;
5281 if test "$withval" = yes; then
5282 wx_cv_use_opengl='wxUSE_OPENGL=yes'
5283 else
5284 wx_cv_use_opengl='wxUSE_OPENGL=no'
5285 fi
5286
5287 else
5288
5289 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5290
5291 fi
5292
5293
5294 eval "$wx_cv_use_opengl"
5295
5296 if test x"$withstring" = xwithout; then
5297 if test $wxUSE_OPENGL = yes; then
5298 result=no
5299 else
5300 result=yes
5301 fi
5302 else
5303 result=$wxUSE_OPENGL
5304 fi
5305
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5307 $as_echo "$result" >&6; }
5308
5309
5310 fi
5311
5312
5313 withstring=
5314 defaultval=$wxUSE_ALL_FEATURES
5315 if test -z "$defaultval"; then
5316 if test x"$withstring" = xwithout; then
5317 defaultval=yes
5318 else
5319 defaultval=no
5320 fi
5321 fi
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5323 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5324
5325 # Check whether --with-dmalloc was given.
5326 if test "${with_dmalloc+set}" = set; then :
5327 withval=$with_dmalloc;
5328 if test "$withval" = yes; then
5329 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5330 else
5331 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5332 fi
5333
5334 else
5335
5336 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5337
5338 fi
5339
5340
5341 eval "$wx_cv_use_dmalloc"
5342
5343 if test x"$withstring" = xwithout; then
5344 if test $wxUSE_DMALLOC = yes; then
5345 result=no
5346 else
5347 result=yes
5348 fi
5349 else
5350 result=$wxUSE_DMALLOC
5351 fi
5352
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5354 $as_echo "$result" >&6; }
5355
5356
5357 withstring=
5358 defaultval=$wxUSE_ALL_FEATURES
5359 if test -z "$defaultval"; then
5360 if test x"$withstring" = xwithout; then
5361 defaultval=yes
5362 else
5363 defaultval=no
5364 fi
5365 fi
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5367 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5368
5369 # Check whether --with-sdl was given.
5370 if test "${with_sdl+set}" = set; then :
5371 withval=$with_sdl;
5372 if test "$withval" = yes; then
5373 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
5374 else
5375 wx_cv_use_sdl='wxUSE_LIBSDL=no'
5376 fi
5377
5378 else
5379
5380 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5381
5382 fi
5383
5384
5385 eval "$wx_cv_use_sdl"
5386
5387 if test x"$withstring" = xwithout; then
5388 if test $wxUSE_LIBSDL = yes; then
5389 result=no
5390 else
5391 result=yes
5392 fi
5393 else
5394 result=$wxUSE_LIBSDL
5395 fi
5396
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5398 $as_echo "$result" >&6; }
5399
5400
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5402 $as_echo_n "checking for --with-regex... " >&6; }
5403
5404 # Check whether --with-regex was given.
5405 if test "${with_regex+set}" = set; then :
5406 withval=$with_regex;
5407 if test "$withval" = yes; then
5408 wx_cv_use_regex='wxUSE_REGEX=yes'
5409 elif test "$withval" = no; then
5410 wx_cv_use_regex='wxUSE_REGEX=no'
5411 elif test "$withval" = sys; then
5412 wx_cv_use_regex='wxUSE_REGEX=sys'
5413 elif test "$withval" = builtin; then
5414 wx_cv_use_regex='wxUSE_REGEX=builtin'
5415 else
5416 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5417 fi
5418
5419 else
5420
5421 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5422
5423 fi
5424
5425
5426 eval "$wx_cv_use_regex"
5427
5428 if test "$wxUSE_REGEX" = yes; then
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5430 $as_echo "yes" >&6; }
5431 elif test "$wxUSE_REGEX" = no; then
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5433 $as_echo "no" >&6; }
5434 elif test "$wxUSE_REGEX" = sys; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5436 $as_echo "system version" >&6; }
5437 elif test "$wxUSE_REGEX" = builtin; then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5439 $as_echo "builtin version" >&6; }
5440 else
5441 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5442 fi
5443
5444
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5446 $as_echo_n "checking for --with-zlib... " >&6; }
5447
5448 # Check whether --with-zlib was given.
5449 if test "${with_zlib+set}" = set; then :
5450 withval=$with_zlib;
5451 if test "$withval" = yes; then
5452 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5453 elif test "$withval" = no; then
5454 wx_cv_use_zlib='wxUSE_ZLIB=no'
5455 elif test "$withval" = sys; then
5456 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5457 elif test "$withval" = builtin; then
5458 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5459 else
5460 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5461 fi
5462
5463 else
5464
5465 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5466
5467 fi
5468
5469
5470 eval "$wx_cv_use_zlib"
5471
5472 if test "$wxUSE_ZLIB" = yes; then
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5474 $as_echo "yes" >&6; }
5475 elif test "$wxUSE_ZLIB" = no; then
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5477 $as_echo "no" >&6; }
5478 elif test "$wxUSE_ZLIB" = sys; then
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5480 $as_echo "system version" >&6; }
5481 elif test "$wxUSE_ZLIB" = builtin; then
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5483 $as_echo "builtin version" >&6; }
5484 else
5485 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5486 fi
5487
5488
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5490 $as_echo_n "checking for --with-expat... " >&6; }
5491
5492 # Check whether --with-expat was given.
5493 if test "${with_expat+set}" = set; then :
5494 withval=$with_expat;
5495 if test "$withval" = yes; then
5496 wx_cv_use_expat='wxUSE_EXPAT=yes'
5497 elif test "$withval" = no; then
5498 wx_cv_use_expat='wxUSE_EXPAT=no'
5499 elif test "$withval" = sys; then
5500 wx_cv_use_expat='wxUSE_EXPAT=sys'
5501 elif test "$withval" = builtin; then
5502 wx_cv_use_expat='wxUSE_EXPAT=builtin'
5503 else
5504 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5505 fi
5506
5507 else
5508
5509 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5510
5511 fi
5512
5513
5514 eval "$wx_cv_use_expat"
5515
5516 if test "$wxUSE_EXPAT" = yes; then
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5518 $as_echo "yes" >&6; }
5519 elif test "$wxUSE_EXPAT" = no; then
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5521 $as_echo "no" >&6; }
5522 elif test "$wxUSE_EXPAT" = sys; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5524 $as_echo "system version" >&6; }
5525 elif test "$wxUSE_EXPAT" = builtin; then
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5527 $as_echo "builtin version" >&6; }
5528 else
5529 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5530 fi
5531
5532
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5534 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5535
5536 # Check whether --with-macosx-sdk was given.
5537 if test "${with_macosx_sdk+set}" = set; then :
5538 withval=$with_macosx_sdk;
5539 wxUSE_MACOSX_SDK=$withval
5540 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5541
5542 fi
5543
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5545 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5546
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5548 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5549
5550 # Check whether --with-macosx-version-min was given.
5551 if test "${with_macosx_version_min+set}" = set; then :
5552 withval=$with_macosx_version_min;
5553 wxUSE_MACOSX_VERSION_MIN=$withval
5554 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5555
5556 fi
5557
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5559 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5560
5561
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5563 $as_echo_n "checking for --enable-debug... " >&6; }
5564 # Check whether --enable-debug was given.
5565 if test "${enable_debug+set}" = set; then :
5566 enableval=$enable_debug;
5567 if test "$enableval" = yes; then
5568 wxUSE_DEBUG=yes
5569 elif test "$enableval" = no; then
5570 wxUSE_DEBUG=no
5571 elif test "$enableval" = max; then
5572 wxUSE_DEBUG=yes
5573 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5574 else
5575 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5576 fi
5577
5578 else
5579 wxUSE_DEBUG=default
5580
5581 fi
5582
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5584 $as_echo "${enable_debug-default}" >&6; }
5585
5586 case "$wxUSE_DEBUG" in
5587 yes)
5588 DEFAULT_wxUSE_DEBUG_FLAG=yes
5589 DEFAULT_wxUSE_DEBUG_INFO=yes
5590
5591 DEFAULT_wxUSE_OPTIMISE=no
5592 ;;
5593
5594 no)
5595 DEFAULT_wxUSE_DEBUG_FLAG=no
5596 DEFAULT_wxUSE_DEBUG_INFO=no
5597 ;;
5598
5599 default)
5600 DEFAULT_wxUSE_DEBUG_FLAG=yes
5601 DEFAULT_wxUSE_DEBUG_INFO=no
5602 ;;
5603 esac
5604
5605
5606 enablestring=disable
5607 defaultval=
5608 if test -z "$defaultval"; then
5609 if test x"$enablestring" = xdisable; then
5610 defaultval=yes
5611 else
5612 defaultval=no
5613 fi
5614 fi
5615
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5617 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5618 # Check whether --enable-debug_flag was given.
5619 if test "${enable_debug_flag+set}" = set; then :
5620 enableval=$enable_debug_flag;
5621 if test "$enableval" = yes; then
5622 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5623 else
5624 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5625 fi
5626
5627 else
5628
5629 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5630
5631 fi
5632
5633
5634 eval "$wx_cv_use_debug_flag"
5635
5636 if test x"$enablestring" = xdisable; then
5637 if test $wxUSE_DEBUG_FLAG = no; then
5638 result=yes
5639 else
5640 result=no
5641 fi
5642 else
5643 result=$wxUSE_DEBUG_FLAG
5644 fi
5645
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5647 $as_echo "$result" >&6; }
5648
5649
5650 enablestring=
5651 defaultval=
5652 if test -z "$defaultval"; then
5653 if test x"$enablestring" = xdisable; then
5654 defaultval=yes
5655 else
5656 defaultval=no
5657 fi
5658 fi
5659
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5661 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5662 # Check whether --enable-debug_info was given.
5663 if test "${enable_debug_info+set}" = set; then :
5664 enableval=$enable_debug_info;
5665 if test "$enableval" = yes; then
5666 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5667 else
5668 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5669 fi
5670
5671 else
5672
5673 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5674
5675 fi
5676
5677
5678 eval "$wx_cv_use_debug_info"
5679
5680 if test x"$enablestring" = xdisable; then
5681 if test $wxUSE_DEBUG_INFO = no; then
5682 result=yes
5683 else
5684 result=no
5685 fi
5686 else
5687 result=$wxUSE_DEBUG_INFO
5688 fi
5689
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5691 $as_echo "$result" >&6; }
5692
5693
5694
5695
5696 enablestring=
5697 defaultval=
5698 if test -z "$defaultval"; then
5699 if test x"$enablestring" = xdisable; then
5700 defaultval=yes
5701 else
5702 defaultval=no
5703 fi
5704 fi
5705
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5707 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5708 # Check whether --enable-debug_gdb was given.
5709 if test "${enable_debug_gdb+set}" = set; then :
5710 enableval=$enable_debug_gdb;
5711 if test "$enableval" = yes; then
5712 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5713 else
5714 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5715 fi
5716
5717 else
5718
5719 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5720
5721 fi
5722
5723
5724 eval "$wx_cv_use_debug_gdb"
5725
5726 if test x"$enablestring" = xdisable; then
5727 if test $wxUSE_DEBUG_GDB = no; then
5728 result=yes
5729 else
5730 result=no
5731 fi
5732 else
5733 result=$wxUSE_DEBUG_GDB
5734 fi
5735
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5737 $as_echo "$result" >&6; }
5738
5739
5740 enablestring=
5741 defaultval=
5742 if test -z "$defaultval"; then
5743 if test x"$enablestring" = xdisable; then
5744 defaultval=yes
5745 else
5746 defaultval=no
5747 fi
5748 fi
5749
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5751 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5752 # Check whether --enable-debug_cntxt was given.
5753 if test "${enable_debug_cntxt+set}" = set; then :
5754 enableval=$enable_debug_cntxt;
5755 if test "$enableval" = yes; then
5756 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5757 else
5758 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5759 fi
5760
5761 else
5762
5763 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5764
5765 fi
5766
5767
5768 eval "$wx_cv_use_debug_cntxt"
5769
5770 if test x"$enablestring" = xdisable; then
5771 if test $wxUSE_DEBUG_CONTEXT = no; then
5772 result=yes
5773 else
5774 result=no
5775 fi
5776 else
5777 result=$wxUSE_DEBUG_CONTEXT
5778 fi
5779
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5781 $as_echo "$result" >&6; }
5782
5783
5784 enablestring=
5785 defaultval=
5786 if test -z "$defaultval"; then
5787 if test x"$enablestring" = xdisable; then
5788 defaultval=yes
5789 else
5790 defaultval=no
5791 fi
5792 fi
5793
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5795 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5796 # Check whether --enable-mem_tracing was given.
5797 if test "${enable_mem_tracing+set}" = set; then :
5798 enableval=$enable_mem_tracing;
5799 if test "$enableval" = yes; then
5800 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5801 else
5802 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5803 fi
5804
5805 else
5806
5807 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5808
5809 fi
5810
5811
5812 eval "$wx_cv_use_mem_tracing"
5813
5814 if test x"$enablestring" = xdisable; then
5815 if test $wxUSE_MEM_TRACING = no; then
5816 result=yes
5817 else
5818 result=no
5819 fi
5820 else
5821 result=$wxUSE_MEM_TRACING
5822 fi
5823
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5825 $as_echo "$result" >&6; }
5826
5827
5828
5829
5830 enablestring=disable
5831 defaultval=
5832 if test -z "$defaultval"; then
5833 if test x"$enablestring" = xdisable; then
5834 defaultval=yes
5835 else
5836 defaultval=no
5837 fi
5838 fi
5839
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5841 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5842 # Check whether --enable-shared was given.
5843 if test "${enable_shared+set}" = set; then :
5844 enableval=$enable_shared;
5845 if test "$enableval" = yes; then
5846 wx_cv_use_shared='wxUSE_SHARED=yes'
5847 else
5848 wx_cv_use_shared='wxUSE_SHARED=no'
5849 fi
5850
5851 else
5852
5853 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5854
5855 fi
5856
5857
5858 eval "$wx_cv_use_shared"
5859
5860 if test x"$enablestring" = xdisable; then
5861 if test $wxUSE_SHARED = no; then
5862 result=yes
5863 else
5864 result=no
5865 fi
5866 else
5867 result=$wxUSE_SHARED
5868 fi
5869
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5871 $as_echo "$result" >&6; }
5872
5873
5874 enablestring=
5875 defaultval=
5876 if test -z "$defaultval"; then
5877 if test x"$enablestring" = xdisable; then
5878 defaultval=yes
5879 else
5880 defaultval=no
5881 fi
5882 fi
5883
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5885 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5886 # Check whether --enable-stl was given.
5887 if test "${enable_stl+set}" = set; then :
5888 enableval=$enable_stl;
5889 if test "$enableval" = yes; then
5890 wx_cv_use_stl='wxUSE_STL=yes'
5891 else
5892 wx_cv_use_stl='wxUSE_STL=no'
5893 fi
5894
5895 else
5896
5897 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5898
5899 fi
5900
5901
5902 eval "$wx_cv_use_stl"
5903
5904 if test x"$enablestring" = xdisable; then
5905 if test $wxUSE_STL = no; then
5906 result=yes
5907 else
5908 result=no
5909 fi
5910 else
5911 result=$wxUSE_STL
5912 fi
5913
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5915 $as_echo "$result" >&6; }
5916
5917 if test "$wxUSE_STL" = "yes"; then
5918 DEFAULT_wxUSE_STD_CONTAINERS=yes
5919 DEFAULT_wxUSE_STD_IOSTREAM=yes
5920 DEFAULT_wxUSE_STD_STRING=yes
5921 fi
5922
5923 enablestring=
5924 defaultval=
5925 if test -z "$defaultval"; then
5926 if test x"$enablestring" = xdisable; then
5927 defaultval=yes
5928 else
5929 defaultval=no
5930 fi
5931 fi
5932
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
5934 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
5935 # Check whether --enable-std_containers was given.
5936 if test "${enable_std_containers+set}" = set; then :
5937 enableval=$enable_std_containers;
5938 if test "$enableval" = yes; then
5939 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
5940 else
5941 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
5942 fi
5943
5944 else
5945
5946 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5947
5948 fi
5949
5950
5951 eval "$wx_cv_use_std_containers"
5952
5953 if test x"$enablestring" = xdisable; then
5954 if test $wxUSE_STD_CONTAINERS = no; then
5955 result=yes
5956 else
5957 result=no
5958 fi
5959 else
5960 result=$wxUSE_STD_CONTAINERS
5961 fi
5962
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5964 $as_echo "$result" >&6; }
5965
5966
5967 enablestring=
5968 defaultval=
5969 if test -z "$defaultval"; then
5970 if test x"$enablestring" = xdisable; then
5971 defaultval=yes
5972 else
5973 defaultval=no
5974 fi
5975 fi
5976
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
5978 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
5979 # Check whether --enable-std_iostreams was given.
5980 if test "${enable_std_iostreams+set}" = set; then :
5981 enableval=$enable_std_iostreams;
5982 if test "$enableval" = yes; then
5983 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5984 else
5985 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5986 fi
5987
5988 else
5989
5990 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
5991
5992 fi
5993
5994
5995 eval "$wx_cv_use_std_iostreams"
5996
5997 if test x"$enablestring" = xdisable; then
5998 if test $wxUSE_STD_IOSTREAM = no; then
5999 result=yes
6000 else
6001 result=no
6002 fi
6003 else
6004 result=$wxUSE_STD_IOSTREAM
6005 fi
6006
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6008 $as_echo "$result" >&6; }
6009
6010
6011 enablestring=
6012 defaultval=
6013 if test -z "$defaultval"; then
6014 if test x"$enablestring" = xdisable; then
6015 defaultval=yes
6016 else
6017 defaultval=no
6018 fi
6019 fi
6020
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
6022 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
6023 # Check whether --enable-std_string was given.
6024 if test "${enable_std_string+set}" = set; then :
6025 enableval=$enable_std_string;
6026 if test "$enableval" = yes; then
6027 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
6028 else
6029 wx_cv_use_std_string='wxUSE_STD_STRING=no'
6030 fi
6031
6032 else
6033
6034 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6035
6036 fi
6037
6038
6039 eval "$wx_cv_use_std_string"
6040
6041 if test x"$enablestring" = xdisable; then
6042 if test $wxUSE_STD_STRING = no; then
6043 result=yes
6044 else
6045 result=no
6046 fi
6047 else
6048 result=$wxUSE_STD_STRING
6049 fi
6050
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6052 $as_echo "$result" >&6; }
6053
6054
6055 enablestring=
6056 defaultval=
6057 if test -z "$defaultval"; then
6058 if test x"$enablestring" = xdisable; then
6059 defaultval=yes
6060 else
6061 defaultval=no
6062 fi
6063 fi
6064
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6066 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
6067 # Check whether --enable-std_string_conv_in_wxstring was given.
6068 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6069 enableval=$enable_std_string_conv_in_wxstring;
6070 if test "$enableval" = yes; then
6071 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6072 else
6073 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6074 fi
6075
6076 else
6077
6078 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6079
6080 fi
6081
6082
6083 eval "$wx_cv_use_std_string_conv_in_wxstring"
6084
6085 if test x"$enablestring" = xdisable; then
6086 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6087 result=yes
6088 else
6089 result=no
6090 fi
6091 else
6092 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6093 fi
6094
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6096 $as_echo "$result" >&6; }
6097
6098
6099 enablestring=disable
6100 defaultval=
6101 if test -z "$defaultval"; then
6102 if test x"$enablestring" = xdisable; then
6103 defaultval=yes
6104 else
6105 defaultval=no
6106 fi
6107 fi
6108
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6110 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6111 # Check whether --enable-unicode was given.
6112 if test "${enable_unicode+set}" = set; then :
6113 enableval=$enable_unicode;
6114 if test "$enableval" = yes; then
6115 wx_cv_use_unicode='wxUSE_UNICODE=yes'
6116 else
6117 wx_cv_use_unicode='wxUSE_UNICODE=no'
6118 fi
6119
6120 else
6121
6122 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6123
6124 fi
6125
6126
6127 eval "$wx_cv_use_unicode"
6128
6129 if test x"$enablestring" = xdisable; then
6130 if test $wxUSE_UNICODE = no; then
6131 result=yes
6132 else
6133 result=no
6134 fi
6135 else
6136 result=$wxUSE_UNICODE
6137 fi
6138
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6140 $as_echo "$result" >&6; }
6141
6142
6143 enablestring=
6144 defaultval=
6145 if test -z "$defaultval"; then
6146 if test x"$enablestring" = xdisable; then
6147 defaultval=yes
6148 else
6149 defaultval=no
6150 fi
6151 fi
6152
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6154 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6155 # Check whether --enable-mslu was given.
6156 if test "${enable_mslu+set}" = set; then :
6157 enableval=$enable_mslu;
6158 if test "$enableval" = yes; then
6159 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6160 else
6161 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6162 fi
6163
6164 else
6165
6166 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6167
6168 fi
6169
6170
6171 eval "$wx_cv_use_mslu"
6172
6173 if test x"$enablestring" = xdisable; then
6174 if test $wxUSE_UNICODE_MSLU = no; then
6175 result=yes
6176 else
6177 result=no
6178 fi
6179 else
6180 result=$wxUSE_UNICODE_MSLU
6181 fi
6182
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6184 $as_echo "$result" >&6; }
6185
6186
6187 enablestring=
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6189 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6190 # Check whether --enable-utf8 was given.
6191 if test "${enable_utf8+set}" = set; then :
6192 enableval=$enable_utf8;
6193 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6194
6195 else
6196
6197 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6198
6199 fi
6200
6201
6202 eval "$wx_cv_use_utf8"
6203
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6205 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6206
6207
6208 enablestring=
6209 defaultval=
6210 if test -z "$defaultval"; then
6211 if test x"$enablestring" = xdisable; then
6212 defaultval=yes
6213 else
6214 defaultval=no
6215 fi
6216 fi
6217
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6219 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6220 # Check whether --enable-utf8only was given.
6221 if test "${enable_utf8only+set}" = set; then :
6222 enableval=$enable_utf8only;
6223 if test "$enableval" = yes; then
6224 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6225 else
6226 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6227 fi
6228
6229 else
6230
6231 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6232
6233 fi
6234
6235
6236 eval "$wx_cv_use_utf8only"
6237
6238 if test x"$enablestring" = xdisable; then
6239 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6240 result=yes
6241 else
6242 result=no
6243 fi
6244 else
6245 result=$wxUSE_UNICODE_UTF8_LOCALE
6246 fi
6247
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6249 $as_echo "$result" >&6; }
6250
6251
6252 enablestring=
6253 defaultval=
6254 if test -z "$defaultval"; then
6255 if test x"$enablestring" = xdisable; then
6256 defaultval=yes
6257 else
6258 defaultval=no
6259 fi
6260 fi
6261
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6263 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6264 # Check whether --enable-extended_rtti was given.
6265 if test "${enable_extended_rtti+set}" = set; then :
6266 enableval=$enable_extended_rtti;
6267 if test "$enableval" = yes; then
6268 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
6269 else
6270 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
6271 fi
6272
6273 else
6274
6275 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6276
6277 fi
6278
6279
6280 eval "$wx_cv_use_extended_rtti"
6281
6282 if test x"$enablestring" = xdisable; then
6283 if test $wxUSE_EXTENDED_RTTI = no; then
6284 result=yes
6285 else
6286 result=no
6287 fi
6288 else
6289 result=$wxUSE_EXTENDED_RTTI
6290 fi
6291
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6293 $as_echo "$result" >&6; }
6294
6295 if test "$USE_OS2" = 1; then
6296 DEFAULT_wxUSE_OMF=no
6297
6298 enablestring=
6299 defaultval=
6300 if test -z "$defaultval"; then
6301 if test x"$enablestring" = xdisable; then
6302 defaultval=yes
6303 else
6304 defaultval=no
6305 fi
6306 fi
6307
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6309 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6310 # Check whether --enable-omf was given.
6311 if test "${enable_omf+set}" = set; then :
6312 enableval=$enable_omf;
6313 if test "$enableval" = yes; then
6314 wx_cv_use_omf='wxUSE_OMF=yes'
6315 else
6316 wx_cv_use_omf='wxUSE_OMF=no'
6317 fi
6318
6319 else
6320
6321 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6322
6323 fi
6324
6325
6326 eval "$wx_cv_use_omf"
6327
6328 if test x"$enablestring" = xdisable; then
6329 if test $wxUSE_OMF = no; then
6330 result=yes
6331 else
6332 result=no
6333 fi
6334 else
6335 result=$wxUSE_OMF
6336 fi
6337
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6339 $as_echo "$result" >&6; }
6340
6341 fi
6342
6343
6344 enablestring=disable
6345 defaultval=
6346 if test -z "$defaultval"; then
6347 if test x"$enablestring" = xdisable; then
6348 defaultval=yes
6349 else
6350 defaultval=no
6351 fi
6352 fi
6353
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6355 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6356 # Check whether --enable-optimise was given.
6357 if test "${enable_optimise+set}" = set; then :
6358 enableval=$enable_optimise;
6359 if test "$enableval" = yes; then
6360 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6361 else
6362 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6363 fi
6364
6365 else
6366
6367 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6368
6369 fi
6370
6371
6372 eval "$wx_cv_use_optimise"
6373
6374 if test x"$enablestring" = xdisable; then
6375 if test $wxUSE_OPTIMISE = no; then
6376 result=yes
6377 else
6378 result=no
6379 fi
6380 else
6381 result=$wxUSE_OPTIMISE
6382 fi
6383
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6385 $as_echo "$result" >&6; }
6386
6387
6388
6389 enablestring=
6390 defaultval=
6391 if test -z "$defaultval"; then
6392 if test x"$enablestring" = xdisable; then
6393 defaultval=yes
6394 else
6395 defaultval=no
6396 fi
6397 fi
6398
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6400 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6401 # Check whether --enable-profile was given.
6402 if test "${enable_profile+set}" = set; then :
6403 enableval=$enable_profile;
6404 if test "$enableval" = yes; then
6405 wx_cv_use_profile='wxUSE_PROFILE=yes'
6406 else
6407 wx_cv_use_profile='wxUSE_PROFILE=no'
6408 fi
6409
6410 else
6411
6412 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6413
6414 fi
6415
6416
6417 eval "$wx_cv_use_profile"
6418
6419 if test x"$enablestring" = xdisable; then
6420 if test $wxUSE_PROFILE = no; then
6421 result=yes
6422 else
6423 result=no
6424 fi
6425 else
6426 result=$wxUSE_PROFILE
6427 fi
6428
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6430 $as_echo "$result" >&6; }
6431
6432
6433 enablestring=
6434 defaultval=
6435 if test -z "$defaultval"; then
6436 if test x"$enablestring" = xdisable; then
6437 defaultval=yes
6438 else
6439 defaultval=no
6440 fi
6441 fi
6442
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6444 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6445 # Check whether --enable-no_rtti was given.
6446 if test "${enable_no_rtti+set}" = set; then :
6447 enableval=$enable_no_rtti;
6448 if test "$enableval" = yes; then
6449 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6450 else
6451 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6452 fi
6453
6454 else
6455
6456 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6457
6458 fi
6459
6460
6461 eval "$wx_cv_use_no_rtti"
6462
6463 if test x"$enablestring" = xdisable; then
6464 if test $wxUSE_NO_RTTI = no; then
6465 result=yes
6466 else
6467 result=no
6468 fi
6469 else
6470 result=$wxUSE_NO_RTTI
6471 fi
6472
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6474 $as_echo "$result" >&6; }
6475
6476
6477 enablestring=
6478 defaultval=
6479 if test -z "$defaultval"; then
6480 if test x"$enablestring" = xdisable; then
6481 defaultval=yes
6482 else
6483 defaultval=no
6484 fi
6485 fi
6486
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6488 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6489 # Check whether --enable-no_exceptions was given.
6490 if test "${enable_no_exceptions+set}" = set; then :
6491 enableval=$enable_no_exceptions;
6492 if test "$enableval" = yes; then
6493 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6494 else
6495 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6496 fi
6497
6498 else
6499
6500 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6501
6502 fi
6503
6504
6505 eval "$wx_cv_use_no_exceptions"
6506
6507 if test x"$enablestring" = xdisable; then
6508 if test $wxUSE_NO_EXCEPTIONS = no; then
6509 result=yes
6510 else
6511 result=no
6512 fi
6513 else
6514 result=$wxUSE_NO_EXCEPTIONS
6515 fi
6516
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6518 $as_echo "$result" >&6; }
6519
6520
6521 enablestring=
6522 defaultval=
6523 if test -z "$defaultval"; then
6524 if test x"$enablestring" = xdisable; then
6525 defaultval=yes
6526 else
6527 defaultval=no
6528 fi
6529 fi
6530
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6532 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6533 # Check whether --enable-permissive was given.
6534 if test "${enable_permissive+set}" = set; then :
6535 enableval=$enable_permissive;
6536 if test "$enableval" = yes; then
6537 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
6538 else
6539 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
6540 fi
6541
6542 else
6543
6544 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6545
6546 fi
6547
6548
6549 eval "$wx_cv_use_permissive"
6550
6551 if test x"$enablestring" = xdisable; then
6552 if test $wxUSE_PERMISSIVE = no; then
6553 result=yes
6554 else
6555 result=no
6556 fi
6557 else
6558 result=$wxUSE_PERMISSIVE
6559 fi
6560
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6562 $as_echo "$result" >&6; }
6563
6564
6565 enablestring=
6566 defaultval=
6567 if test -z "$defaultval"; then
6568 if test x"$enablestring" = xdisable; then
6569 defaultval=yes
6570 else
6571 defaultval=no
6572 fi
6573 fi
6574
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6576 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6577 # Check whether --enable-no_deps was given.
6578 if test "${enable_no_deps+set}" = set; then :
6579 enableval=$enable_no_deps;
6580 if test "$enableval" = yes; then
6581 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6582 else
6583 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6584 fi
6585
6586 else
6587
6588 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6589
6590 fi
6591
6592
6593 eval "$wx_cv_use_no_deps"
6594
6595 if test x"$enablestring" = xdisable; then
6596 if test $wxUSE_NO_DEPS = no; then
6597 result=yes
6598 else
6599 result=no
6600 fi
6601 else
6602 result=$wxUSE_NO_DEPS
6603 fi
6604
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6606 $as_echo "$result" >&6; }
6607
6608
6609 enablestring=disable
6610 defaultval=
6611 if test -z "$defaultval"; then
6612 if test x"$enablestring" = xdisable; then
6613 defaultval=yes
6614 else
6615 defaultval=no
6616 fi
6617 fi
6618
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6620 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6621 # Check whether --enable-vararg_macros was given.
6622 if test "${enable_vararg_macros+set}" = set; then :
6623 enableval=$enable_vararg_macros;
6624 if test "$enableval" = yes; then
6625 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6626 else
6627 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6628 fi
6629
6630 else
6631
6632 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6633
6634 fi
6635
6636
6637 eval "$wx_cv_use_vararg_macros"
6638
6639 if test x"$enablestring" = xdisable; then
6640 if test $wxUSE_VARARG_MACROS = no; then
6641 result=yes
6642 else
6643 result=no
6644 fi
6645 else
6646 result=$wxUSE_VARARG_MACROS
6647 fi
6648
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6650 $as_echo "$result" >&6; }
6651
6652
6653
6654 enablestring=
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6656 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6657 # Check whether --enable-universal_binary was given.
6658 if test "${enable_universal_binary+set}" = set; then :
6659 enableval=$enable_universal_binary;
6660 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6661
6662 else
6663
6664 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6665
6666 fi
6667
6668
6669 eval "$wx_cv_use_universal_binary"
6670
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6672 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6673
6674
6675 enablestring=
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6677 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6678 # Check whether --enable-macosx_arch was given.
6679 if test "${enable_macosx_arch+set}" = set; then :
6680 enableval=$enable_macosx_arch;
6681 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6682
6683 else
6684
6685 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6686
6687 fi
6688
6689
6690 eval "$wx_cv_use_macosx_arch"
6691
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6693 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6694
6695
6696
6697 enablestring=
6698 defaultval=
6699 if test -z "$defaultval"; then
6700 if test x"$enablestring" = xdisable; then
6701 defaultval=yes
6702 else
6703 defaultval=no
6704 fi
6705 fi
6706
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6708 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6709 # Check whether --enable-compat26 was given.
6710 if test "${enable_compat26+set}" = set; then :
6711 enableval=$enable_compat26;
6712 if test "$enableval" = yes; then
6713 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
6714 else
6715 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
6716 fi
6717
6718 else
6719
6720 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6721
6722 fi
6723
6724
6725 eval "$wx_cv_use_compat26"
6726
6727 if test x"$enablestring" = xdisable; then
6728 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6729 result=yes
6730 else
6731 result=no
6732 fi
6733 else
6734 result=$WXWIN_COMPATIBILITY_2_6
6735 fi
6736
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6738 $as_echo "$result" >&6; }
6739
6740
6741 enablestring=disable
6742 defaultval=
6743 if test -z "$defaultval"; then
6744 if test x"$enablestring" = xdisable; then
6745 defaultval=yes
6746 else
6747 defaultval=no
6748 fi
6749 fi
6750
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6752 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6753 # Check whether --enable-compat28 was given.
6754 if test "${enable_compat28+set}" = set; then :
6755 enableval=$enable_compat28;
6756 if test "$enableval" = yes; then
6757 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6758 else
6759 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6760 fi
6761
6762 else
6763
6764 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6765
6766 fi
6767
6768
6769 eval "$wx_cv_use_compat28"
6770
6771 if test x"$enablestring" = xdisable; then
6772 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6773 result=yes
6774 else
6775 result=no
6776 fi
6777 else
6778 result=$WXWIN_COMPATIBILITY_2_8
6779 fi
6780
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6782 $as_echo "$result" >&6; }
6783
6784
6785
6786 enablestring=disable
6787 defaultval=
6788 if test -z "$defaultval"; then
6789 if test x"$enablestring" = xdisable; then
6790 defaultval=yes
6791 else
6792 defaultval=no
6793 fi
6794 fi
6795
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6797 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6798 # Check whether --enable-rpath was given.
6799 if test "${enable_rpath+set}" = set; then :
6800 enableval=$enable_rpath;
6801 if test "$enableval" = yes; then
6802 wx_cv_use_rpath='wxUSE_RPATH=yes'
6803 else
6804 wx_cv_use_rpath='wxUSE_RPATH=no'
6805 fi
6806
6807 else
6808
6809 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6810
6811 fi
6812
6813
6814 eval "$wx_cv_use_rpath"
6815
6816 if test x"$enablestring" = xdisable; then
6817 if test $wxUSE_RPATH = no; then
6818 result=yes
6819 else
6820 result=no
6821 fi
6822 else
6823 result=$wxUSE_RPATH
6824 fi
6825
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6827 $as_echo "$result" >&6; }
6828
6829
6830
6831 enablestring=
6832 defaultval=
6833 if test -z "$defaultval"; then
6834 if test x"$enablestring" = xdisable; then
6835 defaultval=yes
6836 else
6837 defaultval=no
6838 fi
6839 fi
6840
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6842 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6843 # Check whether --enable-objc_uniquifying was given.
6844 if test "${enable_objc_uniquifying+set}" = set; then :
6845 enableval=$enable_objc_uniquifying;
6846 if test "$enableval" = yes; then
6847 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6848 else
6849 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6850 fi
6851
6852 else
6853
6854 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6855
6856 fi
6857
6858
6859 eval "$wx_cv_use_objc_uniquifying"
6860
6861 if test x"$enablestring" = xdisable; then
6862 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6863 result=yes
6864 else
6865 result=no
6866 fi
6867 else
6868 result=$wxUSE_OBJC_UNIQUIFYING
6869 fi
6870
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6872 $as_echo "$result" >&6; }
6873
6874
6875
6876 enablestring=disable
6877 defaultval=
6878 if test -z "$defaultval"; then
6879 if test x"$enablestring" = xdisable; then
6880 defaultval=yes
6881 else
6882 defaultval=no
6883 fi
6884 fi
6885
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6887 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6888 # Check whether --enable-visibility was given.
6889 if test "${enable_visibility+set}" = set; then :
6890 enableval=$enable_visibility;
6891 if test "$enableval" = yes; then
6892 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6893 else
6894 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6895 fi
6896
6897 else
6898
6899 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6900
6901 fi
6902
6903
6904 eval "$wx_cv_use_visibility"
6905
6906 if test x"$enablestring" = xdisable; then
6907 if test $wxUSE_VISIBILITY = no; then
6908 result=yes
6909 else
6910 result=no
6911 fi
6912 else
6913 result=$wxUSE_VISIBILITY
6914 fi
6915
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6917 $as_echo "$result" >&6; }
6918
6919
6920 enablestring=disable
6921 defaultval=
6922 if test -z "$defaultval"; then
6923 if test x"$enablestring" = xdisable; then
6924 defaultval=yes
6925 else
6926 defaultval=no
6927 fi
6928 fi
6929
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
6931 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
6932 # Check whether --enable-tls was given.
6933 if test "${enable_tls+set}" = set; then :
6934 enableval=$enable_tls;
6935 if test "$enableval" = yes; then
6936 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
6937 else
6938 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
6939 fi
6940
6941 else
6942
6943 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6944
6945 fi
6946
6947
6948 eval "$wx_cv_use_tls"
6949
6950 if test x"$enablestring" = xdisable; then
6951 if test $wxUSE_COMPILER_TLS = no; then
6952 result=yes
6953 else
6954 result=no
6955 fi
6956 else
6957 result=$wxUSE_COMPILER_TLS
6958 fi
6959
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6961 $as_echo "$result" >&6; }
6962
6963
6964
6965
6966 enablestring=
6967 defaultval=$wxUSE_ALL_FEATURES
6968 if test -z "$defaultval"; then
6969 if test x"$enablestring" = xdisable; then
6970 defaultval=yes
6971 else
6972 defaultval=no
6973 fi
6974 fi
6975
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
6977 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
6978 # Check whether --enable-intl was given.
6979 if test "${enable_intl+set}" = set; then :
6980 enableval=$enable_intl;
6981 if test "$enableval" = yes; then
6982 wx_cv_use_intl='wxUSE_INTL=yes'
6983 else
6984 wx_cv_use_intl='wxUSE_INTL=no'
6985 fi
6986
6987 else
6988
6989 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6990
6991 fi
6992
6993
6994 eval "$wx_cv_use_intl"
6995
6996 if test x"$enablestring" = xdisable; then
6997 if test $wxUSE_INTL = no; then
6998 result=yes
6999 else
7000 result=no
7001 fi
7002 else
7003 result=$wxUSE_INTL
7004 fi
7005
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7007 $as_echo "$result" >&6; }
7008
7009
7010 enablestring=
7011 defaultval=$wxUSE_ALL_FEATURES
7012 if test -z "$defaultval"; then
7013 if test x"$enablestring" = xdisable; then
7014 defaultval=yes
7015 else
7016 defaultval=no
7017 fi
7018 fi
7019
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
7021 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
7022 # Check whether --enable-xlocale was given.
7023 if test "${enable_xlocale+set}" = set; then :
7024 enableval=$enable_xlocale;
7025 if test "$enableval" = yes; then
7026 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
7027 else
7028 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
7029 fi
7030
7031 else
7032
7033 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7034
7035 fi
7036
7037
7038 eval "$wx_cv_use_xlocale"
7039
7040 if test x"$enablestring" = xdisable; then
7041 if test $wxUSE_XLOCALE = no; then
7042 result=yes
7043 else
7044 result=no
7045 fi
7046 else
7047 result=$wxUSE_XLOCALE
7048 fi
7049
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7051 $as_echo "$result" >&6; }
7052
7053
7054 enablestring=
7055 defaultval=$wxUSE_ALL_FEATURES
7056 if test -z "$defaultval"; then
7057 if test x"$enablestring" = xdisable; then
7058 defaultval=yes
7059 else
7060 defaultval=no
7061 fi
7062 fi
7063
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
7065 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
7066 # Check whether --enable-config was given.
7067 if test "${enable_config+set}" = set; then :
7068 enableval=$enable_config;
7069 if test "$enableval" = yes; then
7070 wx_cv_use_config='wxUSE_CONFIG=yes'
7071 else
7072 wx_cv_use_config='wxUSE_CONFIG=no'
7073 fi
7074
7075 else
7076
7077 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7078
7079 fi
7080
7081
7082 eval "$wx_cv_use_config"
7083
7084 if test x"$enablestring" = xdisable; then
7085 if test $wxUSE_CONFIG = no; then
7086 result=yes
7087 else
7088 result=no
7089 fi
7090 else
7091 result=$wxUSE_CONFIG
7092 fi
7093
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7095 $as_echo "$result" >&6; }
7096
7097
7098
7099 enablestring=
7100 defaultval=$wxUSE_ALL_FEATURES
7101 if test -z "$defaultval"; then
7102 if test x"$enablestring" = xdisable; then
7103 defaultval=yes
7104 else
7105 defaultval=no
7106 fi
7107 fi
7108
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7110 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7111 # Check whether --enable-protocols was given.
7112 if test "${enable_protocols+set}" = set; then :
7113 enableval=$enable_protocols;
7114 if test "$enableval" = yes; then
7115 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
7116 else
7117 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
7118 fi
7119
7120 else
7121
7122 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7123
7124 fi
7125
7126
7127 eval "$wx_cv_use_protocols"
7128
7129 if test x"$enablestring" = xdisable; then
7130 if test $wxUSE_PROTOCOL = no; then
7131 result=yes
7132 else
7133 result=no
7134 fi
7135 else
7136 result=$wxUSE_PROTOCOL
7137 fi
7138
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7140 $as_echo "$result" >&6; }
7141
7142
7143 enablestring=
7144 defaultval=$wxUSE_ALL_FEATURES
7145 if test -z "$defaultval"; then
7146 if test x"$enablestring" = xdisable; then
7147 defaultval=yes
7148 else
7149 defaultval=no
7150 fi
7151 fi
7152
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7154 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7155 # Check whether --enable-ftp was given.
7156 if test "${enable_ftp+set}" = set; then :
7157 enableval=$enable_ftp;
7158 if test "$enableval" = yes; then
7159 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7160 else
7161 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7162 fi
7163
7164 else
7165
7166 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7167
7168 fi
7169
7170
7171 eval "$wx_cv_use_ftp"
7172
7173 if test x"$enablestring" = xdisable; then
7174 if test $wxUSE_PROTOCOL_FTP = no; then
7175 result=yes
7176 else
7177 result=no
7178 fi
7179 else
7180 result=$wxUSE_PROTOCOL_FTP
7181 fi
7182
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7184 $as_echo "$result" >&6; }
7185
7186
7187 enablestring=
7188 defaultval=$wxUSE_ALL_FEATURES
7189 if test -z "$defaultval"; then
7190 if test x"$enablestring" = xdisable; then
7191 defaultval=yes
7192 else
7193 defaultval=no
7194 fi
7195 fi
7196
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7198 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7199 # Check whether --enable-http was given.
7200 if test "${enable_http+set}" = set; then :
7201 enableval=$enable_http;
7202 if test "$enableval" = yes; then
7203 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7204 else
7205 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7206 fi
7207
7208 else
7209
7210 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7211
7212 fi
7213
7214
7215 eval "$wx_cv_use_http"
7216
7217 if test x"$enablestring" = xdisable; then
7218 if test $wxUSE_PROTOCOL_HTTP = no; then
7219 result=yes
7220 else
7221 result=no
7222 fi
7223 else
7224 result=$wxUSE_PROTOCOL_HTTP
7225 fi
7226
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7228 $as_echo "$result" >&6; }
7229
7230
7231 enablestring=
7232 defaultval=$wxUSE_ALL_FEATURES
7233 if test -z "$defaultval"; then
7234 if test x"$enablestring" = xdisable; then
7235 defaultval=yes
7236 else
7237 defaultval=no
7238 fi
7239 fi
7240
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7242 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7243 # Check whether --enable-fileproto was given.
7244 if test "${enable_fileproto+set}" = set; then :
7245 enableval=$enable_fileproto;
7246 if test "$enableval" = yes; then
7247 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
7248 else
7249 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
7250 fi
7251
7252 else
7253
7254 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7255
7256 fi
7257
7258
7259 eval "$wx_cv_use_fileproto"
7260
7261 if test x"$enablestring" = xdisable; then
7262 if test $wxUSE_PROTOCOL_FILE = no; then
7263 result=yes
7264 else
7265 result=no
7266 fi
7267 else
7268 result=$wxUSE_PROTOCOL_FILE
7269 fi
7270
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7272 $as_echo "$result" >&6; }
7273
7274
7275 enablestring=
7276 defaultval=$wxUSE_ALL_FEATURES
7277 if test -z "$defaultval"; then
7278 if test x"$enablestring" = xdisable; then
7279 defaultval=yes
7280 else
7281 defaultval=no
7282 fi
7283 fi
7284
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7286 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7287 # Check whether --enable-sockets was given.
7288 if test "${enable_sockets+set}" = set; then :
7289 enableval=$enable_sockets;
7290 if test "$enableval" = yes; then
7291 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7292 else
7293 wx_cv_use_sockets='wxUSE_SOCKETS=no'
7294 fi
7295
7296 else
7297
7298 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7299
7300 fi
7301
7302
7303 eval "$wx_cv_use_sockets"
7304
7305 if test x"$enablestring" = xdisable; then
7306 if test $wxUSE_SOCKETS = no; then
7307 result=yes
7308 else
7309 result=no
7310 fi
7311 else
7312 result=$wxUSE_SOCKETS
7313 fi
7314
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7316 $as_echo "$result" >&6; }
7317
7318
7319 enablestring=
7320 defaultval=$wxUSE_ALL_FEATURES
7321 if test -z "$defaultval"; then
7322 if test x"$enablestring" = xdisable; then
7323 defaultval=yes
7324 else
7325 defaultval=no
7326 fi
7327 fi
7328
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7330 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7331 # Check whether --enable-ipv6 was given.
7332 if test "${enable_ipv6+set}" = set; then :
7333 enableval=$enable_ipv6;
7334 if test "$enableval" = yes; then
7335 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7336 else
7337 wx_cv_use_ipv6='wxUSE_IPV6=no'
7338 fi
7339
7340 else
7341
7342 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7343
7344 fi
7345
7346
7347 eval "$wx_cv_use_ipv6"
7348
7349 if test x"$enablestring" = xdisable; then
7350 if test $wxUSE_IPV6 = no; then
7351 result=yes
7352 else
7353 result=no
7354 fi
7355 else
7356 result=$wxUSE_IPV6
7357 fi
7358
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7360 $as_echo "$result" >&6; }
7361
7362
7363 enablestring=
7364 defaultval=$wxUSE_ALL_FEATURES
7365 if test -z "$defaultval"; then
7366 if test x"$enablestring" = xdisable; then
7367 defaultval=yes
7368 else
7369 defaultval=no
7370 fi
7371 fi
7372
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7374 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7375 # Check whether --enable-ole was given.
7376 if test "${enable_ole+set}" = set; then :
7377 enableval=$enable_ole;
7378 if test "$enableval" = yes; then
7379 wx_cv_use_ole='wxUSE_OLE=yes'
7380 else
7381 wx_cv_use_ole='wxUSE_OLE=no'
7382 fi
7383
7384 else
7385
7386 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7387
7388 fi
7389
7390
7391 eval "$wx_cv_use_ole"
7392
7393 if test x"$enablestring" = xdisable; then
7394 if test $wxUSE_OLE = no; then
7395 result=yes
7396 else
7397 result=no
7398 fi
7399 else
7400 result=$wxUSE_OLE
7401 fi
7402
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7404 $as_echo "$result" >&6; }
7405
7406
7407 enablestring=
7408 defaultval=$wxUSE_ALL_FEATURES
7409 if test -z "$defaultval"; then
7410 if test x"$enablestring" = xdisable; then
7411 defaultval=yes
7412 else
7413 defaultval=no
7414 fi
7415 fi
7416
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7418 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7419 # Check whether --enable-dataobj was given.
7420 if test "${enable_dataobj+set}" = set; then :
7421 enableval=$enable_dataobj;
7422 if test "$enableval" = yes; then
7423 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7424 else
7425 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7426 fi
7427
7428 else
7429
7430 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7431
7432 fi
7433
7434
7435 eval "$wx_cv_use_dataobj"
7436
7437 if test x"$enablestring" = xdisable; then
7438 if test $wxUSE_DATAOBJ = no; then
7439 result=yes
7440 else
7441 result=no
7442 fi
7443 else
7444 result=$wxUSE_DATAOBJ
7445 fi
7446
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7448 $as_echo "$result" >&6; }
7449
7450
7451
7452 enablestring=
7453 defaultval=$wxUSE_ALL_FEATURES
7454 if test -z "$defaultval"; then
7455 if test x"$enablestring" = xdisable; then
7456 defaultval=yes
7457 else
7458 defaultval=no
7459 fi
7460 fi
7461
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7463 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7464 # Check whether --enable-ipc was given.
7465 if test "${enable_ipc+set}" = set; then :
7466 enableval=$enable_ipc;
7467 if test "$enableval" = yes; then
7468 wx_cv_use_ipc='wxUSE_IPC=yes'
7469 else
7470 wx_cv_use_ipc='wxUSE_IPC=no'
7471 fi
7472
7473 else
7474
7475 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7476
7477 fi
7478
7479
7480 eval "$wx_cv_use_ipc"
7481
7482 if test x"$enablestring" = xdisable; then
7483 if test $wxUSE_IPC = no; then
7484 result=yes
7485 else
7486 result=no
7487 fi
7488 else
7489 result=$wxUSE_IPC
7490 fi
7491
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7493 $as_echo "$result" >&6; }
7494
7495
7496
7497 enablestring=
7498 defaultval=$wxUSE_ALL_FEATURES
7499 if test -z "$defaultval"; then
7500 if test x"$enablestring" = xdisable; then
7501 defaultval=yes
7502 else
7503 defaultval=no
7504 fi
7505 fi
7506
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7508 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7509 # Check whether --enable-baseevtloop was given.
7510 if test "${enable_baseevtloop+set}" = set; then :
7511 enableval=$enable_baseevtloop;
7512 if test "$enableval" = yes; then
7513 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
7514 else
7515 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
7516 fi
7517
7518 else
7519
7520 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7521
7522 fi
7523
7524
7525 eval "$wx_cv_use_baseevtloop"
7526
7527 if test x"$enablestring" = xdisable; then
7528 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7529 result=yes
7530 else
7531 result=no
7532 fi
7533 else
7534 result=$wxUSE_CONSOLE_EVENTLOOP
7535 fi
7536
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7538 $as_echo "$result" >&6; }
7539
7540
7541 enablestring=
7542 defaultval=$wxUSE_ALL_FEATURES
7543 if test -z "$defaultval"; then
7544 if test x"$enablestring" = xdisable; then
7545 defaultval=yes
7546 else
7547 defaultval=no
7548 fi
7549 fi
7550
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7552 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7553 # Check whether --enable-epollloop was given.
7554 if test "${enable_epollloop+set}" = set; then :
7555 enableval=$enable_epollloop;
7556 if test "$enableval" = yes; then
7557 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7558 else
7559 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7560 fi
7561
7562 else
7563
7564 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7565
7566 fi
7567
7568
7569 eval "$wx_cv_use_epollloop"
7570
7571 if test x"$enablestring" = xdisable; then
7572 if test $wxUSE_EPOLL_DISPATCHER = no; then
7573 result=yes
7574 else
7575 result=no
7576 fi
7577 else
7578 result=$wxUSE_EPOLL_DISPATCHER
7579 fi
7580
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7582 $as_echo "$result" >&6; }
7583
7584
7585 enablestring=
7586 defaultval=$wxUSE_ALL_FEATURES
7587 if test -z "$defaultval"; then
7588 if test x"$enablestring" = xdisable; then
7589 defaultval=yes
7590 else
7591 defaultval=no
7592 fi
7593 fi
7594
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7596 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7597 # Check whether --enable-selectloop was given.
7598 if test "${enable_selectloop+set}" = set; then :
7599 enableval=$enable_selectloop;
7600 if test "$enableval" = yes; then
7601 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7602 else
7603 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7604 fi
7605
7606 else
7607
7608 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7609
7610 fi
7611
7612
7613 eval "$wx_cv_use_selectloop"
7614
7615 if test x"$enablestring" = xdisable; then
7616 if test $wxUSE_SELECT_DISPATCHER = no; then
7617 result=yes
7618 else
7619 result=no
7620 fi
7621 else
7622 result=$wxUSE_SELECT_DISPATCHER
7623 fi
7624
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7626 $as_echo "$result" >&6; }
7627
7628
7629
7630 enablestring=
7631 defaultval=$wxUSE_ALL_FEATURES
7632 if test -z "$defaultval"; then
7633 if test x"$enablestring" = xdisable; then
7634 defaultval=yes
7635 else
7636 defaultval=no
7637 fi
7638 fi
7639
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7641 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7642 # Check whether --enable-any was given.
7643 if test "${enable_any+set}" = set; then :
7644 enableval=$enable_any;
7645 if test "$enableval" = yes; then
7646 wx_cv_use_any='wxUSE_ANY=yes'
7647 else
7648 wx_cv_use_any='wxUSE_ANY=no'
7649 fi
7650
7651 else
7652
7653 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7654
7655 fi
7656
7657
7658 eval "$wx_cv_use_any"
7659
7660 if test x"$enablestring" = xdisable; then
7661 if test $wxUSE_ANY = no; then
7662 result=yes
7663 else
7664 result=no
7665 fi
7666 else
7667 result=$wxUSE_ANY
7668 fi
7669
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7671 $as_echo "$result" >&6; }
7672
7673
7674 enablestring=
7675 defaultval=$wxUSE_ALL_FEATURES
7676 if test -z "$defaultval"; then
7677 if test x"$enablestring" = xdisable; then
7678 defaultval=yes
7679 else
7680 defaultval=no
7681 fi
7682 fi
7683
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7685 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7686 # Check whether --enable-apple_ieee was given.
7687 if test "${enable_apple_ieee+set}" = set; then :
7688 enableval=$enable_apple_ieee;
7689 if test "$enableval" = yes; then
7690 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7691 else
7692 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7693 fi
7694
7695 else
7696
7697 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7698
7699 fi
7700
7701
7702 eval "$wx_cv_use_apple_ieee"
7703
7704 if test x"$enablestring" = xdisable; then
7705 if test $wxUSE_APPLE_IEEE = no; then
7706 result=yes
7707 else
7708 result=no
7709 fi
7710 else
7711 result=$wxUSE_APPLE_IEEE
7712 fi
7713
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7715 $as_echo "$result" >&6; }
7716
7717
7718 enablestring=
7719 defaultval=$wxUSE_ALL_FEATURES
7720 if test -z "$defaultval"; then
7721 if test x"$enablestring" = xdisable; then
7722 defaultval=yes
7723 else
7724 defaultval=no
7725 fi
7726 fi
7727
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7729 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7730 # Check whether --enable-arcstream was given.
7731 if test "${enable_arcstream+set}" = set; then :
7732 enableval=$enable_arcstream;
7733 if test "$enableval" = yes; then
7734 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7735 else
7736 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7737 fi
7738
7739 else
7740
7741 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7742
7743 fi
7744
7745
7746 eval "$wx_cv_use_arcstream"
7747
7748 if test x"$enablestring" = xdisable; then
7749 if test $wxUSE_ARCHIVE_STREAMS = no; then
7750 result=yes
7751 else
7752 result=no
7753 fi
7754 else
7755 result=$wxUSE_ARCHIVE_STREAMS
7756 fi
7757
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7759 $as_echo "$result" >&6; }
7760
7761
7762 enablestring=
7763 defaultval=$wxUSE_ALL_FEATURES
7764 if test -z "$defaultval"; then
7765 if test x"$enablestring" = xdisable; then
7766 defaultval=yes
7767 else
7768 defaultval=no
7769 fi
7770 fi
7771
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7773 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7774 # Check whether --enable-base64 was given.
7775 if test "${enable_base64+set}" = set; then :
7776 enableval=$enable_base64;
7777 if test "$enableval" = yes; then
7778 wx_cv_use_base64='wxUSE_BASE64=yes'
7779 else
7780 wx_cv_use_base64='wxUSE_BASE64=no'
7781 fi
7782
7783 else
7784
7785 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7786
7787 fi
7788
7789
7790 eval "$wx_cv_use_base64"
7791
7792 if test x"$enablestring" = xdisable; then
7793 if test $wxUSE_BASE64 = no; then
7794 result=yes
7795 else
7796 result=no
7797 fi
7798 else
7799 result=$wxUSE_BASE64
7800 fi
7801
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7803 $as_echo "$result" >&6; }
7804
7805
7806 enablestring=
7807 defaultval=$wxUSE_ALL_FEATURES
7808 if test -z "$defaultval"; then
7809 if test x"$enablestring" = xdisable; then
7810 defaultval=yes
7811 else
7812 defaultval=no
7813 fi
7814 fi
7815
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7817 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7818 # Check whether --enable-backtrace was given.
7819 if test "${enable_backtrace+set}" = set; then :
7820 enableval=$enable_backtrace;
7821 if test "$enableval" = yes; then
7822 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7823 else
7824 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7825 fi
7826
7827 else
7828
7829 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7830
7831 fi
7832
7833
7834 eval "$wx_cv_use_backtrace"
7835
7836 if test x"$enablestring" = xdisable; then
7837 if test $wxUSE_STACKWALKER = no; then
7838 result=yes
7839 else
7840 result=no
7841 fi
7842 else
7843 result=$wxUSE_STACKWALKER
7844 fi
7845
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7847 $as_echo "$result" >&6; }
7848
7849
7850 enablestring=
7851 defaultval=$wxUSE_ALL_FEATURES
7852 if test -z "$defaultval"; then
7853 if test x"$enablestring" = xdisable; then
7854 defaultval=yes
7855 else
7856 defaultval=no
7857 fi
7858 fi
7859
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7861 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7862 # Check whether --enable-catch_segvs was given.
7863 if test "${enable_catch_segvs+set}" = set; then :
7864 enableval=$enable_catch_segvs;
7865 if test "$enableval" = yes; then
7866 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7867 else
7868 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7869 fi
7870
7871 else
7872
7873 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7874
7875 fi
7876
7877
7878 eval "$wx_cv_use_catch_segvs"
7879
7880 if test x"$enablestring" = xdisable; then
7881 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7882 result=yes
7883 else
7884 result=no
7885 fi
7886 else
7887 result=$wxUSE_ON_FATAL_EXCEPTION
7888 fi
7889
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7891 $as_echo "$result" >&6; }
7892
7893
7894 enablestring=
7895 defaultval=$wxUSE_ALL_FEATURES
7896 if test -z "$defaultval"; then
7897 if test x"$enablestring" = xdisable; then
7898 defaultval=yes
7899 else
7900 defaultval=no
7901 fi
7902 fi
7903
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7905 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7906 # Check whether --enable-cmdline was given.
7907 if test "${enable_cmdline+set}" = set; then :
7908 enableval=$enable_cmdline;
7909 if test "$enableval" = yes; then
7910 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7911 else
7912 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7913 fi
7914
7915 else
7916
7917 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7918
7919 fi
7920
7921
7922 eval "$wx_cv_use_cmdline"
7923
7924 if test x"$enablestring" = xdisable; then
7925 if test $wxUSE_CMDLINE_PARSER = no; then
7926 result=yes
7927 else
7928 result=no
7929 fi
7930 else
7931 result=$wxUSE_CMDLINE_PARSER
7932 fi
7933
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7935 $as_echo "$result" >&6; }
7936
7937
7938 enablestring=
7939 defaultval=$wxUSE_ALL_FEATURES
7940 if test -z "$defaultval"; then
7941 if test x"$enablestring" = xdisable; then
7942 defaultval=yes
7943 else
7944 defaultval=no
7945 fi
7946 fi
7947
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
7949 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
7950 # Check whether --enable-datetime was given.
7951 if test "${enable_datetime+set}" = set; then :
7952 enableval=$enable_datetime;
7953 if test "$enableval" = yes; then
7954 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7955 else
7956 wx_cv_use_datetime='wxUSE_DATETIME=no'
7957 fi
7958
7959 else
7960
7961 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7962
7963 fi
7964
7965
7966 eval "$wx_cv_use_datetime"
7967
7968 if test x"$enablestring" = xdisable; then
7969 if test $wxUSE_DATETIME = no; then
7970 result=yes
7971 else
7972 result=no
7973 fi
7974 else
7975 result=$wxUSE_DATETIME
7976 fi
7977
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7979 $as_echo "$result" >&6; }
7980
7981
7982 enablestring=
7983 defaultval=$wxUSE_ALL_FEATURES
7984 if test -z "$defaultval"; then
7985 if test x"$enablestring" = xdisable; then
7986 defaultval=yes
7987 else
7988 defaultval=no
7989 fi
7990 fi
7991
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
7993 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
7994 # Check whether --enable-debugreport was given.
7995 if test "${enable_debugreport+set}" = set; then :
7996 enableval=$enable_debugreport;
7997 if test "$enableval" = yes; then
7998 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7999 else
8000 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
8001 fi
8002
8003 else
8004
8005 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
8006
8007 fi
8008
8009
8010 eval "$wx_cv_use_debugreport"
8011
8012 if test x"$enablestring" = xdisable; then
8013 if test $wxUSE_DEBUGREPORT = no; then
8014 result=yes
8015 else
8016 result=no
8017 fi
8018 else
8019 result=$wxUSE_DEBUGREPORT
8020 fi
8021
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8023 $as_echo "$result" >&6; }
8024
8025
8026 enablestring=
8027 defaultval=$wxUSE_ALL_FEATURES
8028 if test -z "$defaultval"; then
8029 if test x"$enablestring" = xdisable; then
8030 defaultval=yes
8031 else
8032 defaultval=no
8033 fi
8034 fi
8035
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8037 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8038 # Check whether --enable-dialupman was given.
8039 if test "${enable_dialupman+set}" = set; then :
8040 enableval=$enable_dialupman;
8041 if test "$enableval" = yes; then
8042 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
8043 else
8044 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
8045 fi
8046
8047 else
8048
8049 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8050
8051 fi
8052
8053
8054 eval "$wx_cv_use_dialupman"
8055
8056 if test x"$enablestring" = xdisable; then
8057 if test $wxUSE_DIALUP_MANAGER = no; then
8058 result=yes
8059 else
8060 result=no
8061 fi
8062 else
8063 result=$wxUSE_DIALUP_MANAGER
8064 fi
8065
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8067 $as_echo "$result" >&6; }
8068
8069
8070 enablestring=
8071 defaultval=$wxUSE_ALL_FEATURES
8072 if test -z "$defaultval"; then
8073 if test x"$enablestring" = xdisable; then
8074 defaultval=yes
8075 else
8076 defaultval=no
8077 fi
8078 fi
8079
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8081 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8082 # Check whether --enable-dynlib was given.
8083 if test "${enable_dynlib+set}" = set; then :
8084 enableval=$enable_dynlib;
8085 if test "$enableval" = yes; then
8086 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8087 else
8088 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8089 fi
8090
8091 else
8092
8093 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8094
8095 fi
8096
8097
8098 eval "$wx_cv_use_dynlib"
8099
8100 if test x"$enablestring" = xdisable; then
8101 if test $wxUSE_DYNLIB_CLASS = no; then
8102 result=yes
8103 else
8104 result=no
8105 fi
8106 else
8107 result=$wxUSE_DYNLIB_CLASS
8108 fi
8109
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8111 $as_echo "$result" >&6; }
8112
8113
8114 enablestring=
8115 defaultval=$wxUSE_ALL_FEATURES
8116 if test -z "$defaultval"; then
8117 if test x"$enablestring" = xdisable; then
8118 defaultval=yes
8119 else
8120 defaultval=no
8121 fi
8122 fi
8123
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8125 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8126 # Check whether --enable-dynamicloader was given.
8127 if test "${enable_dynamicloader+set}" = set; then :
8128 enableval=$enable_dynamicloader;
8129 if test "$enableval" = yes; then
8130 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8131 else
8132 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8133 fi
8134
8135 else
8136
8137 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8138
8139 fi
8140
8141
8142 eval "$wx_cv_use_dynamicloader"
8143
8144 if test x"$enablestring" = xdisable; then
8145 if test $wxUSE_DYNAMIC_LOADER = no; then
8146 result=yes
8147 else
8148 result=no
8149 fi
8150 else
8151 result=$wxUSE_DYNAMIC_LOADER
8152 fi
8153
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8155 $as_echo "$result" >&6; }
8156
8157
8158 enablestring=
8159 defaultval=$wxUSE_ALL_FEATURES
8160 if test -z "$defaultval"; then
8161 if test x"$enablestring" = xdisable; then
8162 defaultval=yes
8163 else
8164 defaultval=no
8165 fi
8166 fi
8167
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8169 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8170 # Check whether --enable-exceptions was given.
8171 if test "${enable_exceptions+set}" = set; then :
8172 enableval=$enable_exceptions;
8173 if test "$enableval" = yes; then
8174 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
8175 else
8176 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
8177 fi
8178
8179 else
8180
8181 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8182
8183 fi
8184
8185
8186 eval "$wx_cv_use_exceptions"
8187
8188 if test x"$enablestring" = xdisable; then
8189 if test $wxUSE_EXCEPTIONS = no; then
8190 result=yes
8191 else
8192 result=no
8193 fi
8194 else
8195 result=$wxUSE_EXCEPTIONS
8196 fi
8197
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8199 $as_echo "$result" >&6; }
8200
8201
8202 enablestring=
8203 defaultval=$wxUSE_ALL_FEATURES
8204 if test -z "$defaultval"; then
8205 if test x"$enablestring" = xdisable; then
8206 defaultval=yes
8207 else
8208 defaultval=no
8209 fi
8210 fi
8211
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8213 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8214 # Check whether --enable-ffile was given.
8215 if test "${enable_ffile+set}" = set; then :
8216 enableval=$enable_ffile;
8217 if test "$enableval" = yes; then
8218 wx_cv_use_ffile='wxUSE_FFILE=yes'
8219 else
8220 wx_cv_use_ffile='wxUSE_FFILE=no'
8221 fi
8222
8223 else
8224
8225 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8226
8227 fi
8228
8229
8230 eval "$wx_cv_use_ffile"
8231
8232 if test x"$enablestring" = xdisable; then
8233 if test $wxUSE_FFILE = no; then
8234 result=yes
8235 else
8236 result=no
8237 fi
8238 else
8239 result=$wxUSE_FFILE
8240 fi
8241
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8243 $as_echo "$result" >&6; }
8244
8245
8246 enablestring=
8247 defaultval=$wxUSE_ALL_FEATURES
8248 if test -z "$defaultval"; then
8249 if test x"$enablestring" = xdisable; then
8250 defaultval=yes
8251 else
8252 defaultval=no
8253 fi
8254 fi
8255
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8257 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8258 # Check whether --enable-file was given.
8259 if test "${enable_file+set}" = set; then :
8260 enableval=$enable_file;
8261 if test "$enableval" = yes; then
8262 wx_cv_use_file='wxUSE_FILE=yes'
8263 else
8264 wx_cv_use_file='wxUSE_FILE=no'
8265 fi
8266
8267 else
8268
8269 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8270
8271 fi
8272
8273
8274 eval "$wx_cv_use_file"
8275
8276 if test x"$enablestring" = xdisable; then
8277 if test $wxUSE_FILE = no; then
8278 result=yes
8279 else
8280 result=no
8281 fi
8282 else
8283 result=$wxUSE_FILE
8284 fi
8285
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8287 $as_echo "$result" >&6; }
8288
8289
8290 enablestring=
8291 defaultval=$wxUSE_ALL_FEATURES
8292 if test -z "$defaultval"; then
8293 if test x"$enablestring" = xdisable; then
8294 defaultval=yes
8295 else
8296 defaultval=no
8297 fi
8298 fi
8299
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8301 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8302 # Check whether --enable-filehistory was given.
8303 if test "${enable_filehistory+set}" = set; then :
8304 enableval=$enable_filehistory;
8305 if test "$enableval" = yes; then
8306 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
8307 else
8308 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
8309 fi
8310
8311 else
8312
8313 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8314
8315 fi
8316
8317
8318 eval "$wx_cv_use_filehistory"
8319
8320 if test x"$enablestring" = xdisable; then
8321 if test $wxUSE_FILE_HISTORY = no; then
8322 result=yes
8323 else
8324 result=no
8325 fi
8326 else
8327 result=$wxUSE_FILE_HISTORY
8328 fi
8329
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8331 $as_echo "$result" >&6; }
8332
8333
8334 enablestring=
8335 defaultval=$wxUSE_ALL_FEATURES
8336 if test -z "$defaultval"; then
8337 if test x"$enablestring" = xdisable; then
8338 defaultval=yes
8339 else
8340 defaultval=no
8341 fi
8342 fi
8343
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8345 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8346 # Check whether --enable-filesystem was given.
8347 if test "${enable_filesystem+set}" = set; then :
8348 enableval=$enable_filesystem;
8349 if test "$enableval" = yes; then
8350 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8351 else
8352 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8353 fi
8354
8355 else
8356
8357 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8358
8359 fi
8360
8361
8362 eval "$wx_cv_use_filesystem"
8363
8364 if test x"$enablestring" = xdisable; then
8365 if test $wxUSE_FILESYSTEM = no; then
8366 result=yes
8367 else
8368 result=no
8369 fi
8370 else
8371 result=$wxUSE_FILESYSTEM
8372 fi
8373
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8375 $as_echo "$result" >&6; }
8376
8377
8378 enablestring=
8379 defaultval=$wxUSE_ALL_FEATURES
8380 if test -z "$defaultval"; then
8381 if test x"$enablestring" = xdisable; then
8382 defaultval=yes
8383 else
8384 defaultval=no
8385 fi
8386 fi
8387
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8389 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8390 # Check whether --enable-fontenum was given.
8391 if test "${enable_fontenum+set}" = set; then :
8392 enableval=$enable_fontenum;
8393 if test "$enableval" = yes; then
8394 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8395 else
8396 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8397 fi
8398
8399 else
8400
8401 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8402
8403 fi
8404
8405
8406 eval "$wx_cv_use_fontenum"
8407
8408 if test x"$enablestring" = xdisable; then
8409 if test $wxUSE_FONTENUM = no; then
8410 result=yes
8411 else
8412 result=no
8413 fi
8414 else
8415 result=$wxUSE_FONTENUM
8416 fi
8417
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8419 $as_echo "$result" >&6; }
8420
8421
8422 enablestring=
8423 defaultval=$wxUSE_ALL_FEATURES
8424 if test -z "$defaultval"; then
8425 if test x"$enablestring" = xdisable; then
8426 defaultval=yes
8427 else
8428 defaultval=no
8429 fi
8430 fi
8431
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8433 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8434 # Check whether --enable-fontmap was given.
8435 if test "${enable_fontmap+set}" = set; then :
8436 enableval=$enable_fontmap;
8437 if test "$enableval" = yes; then
8438 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
8439 else
8440 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
8441 fi
8442
8443 else
8444
8445 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8446
8447 fi
8448
8449
8450 eval "$wx_cv_use_fontmap"
8451
8452 if test x"$enablestring" = xdisable; then
8453 if test $wxUSE_FONTMAP = no; then
8454 result=yes
8455 else
8456 result=no
8457 fi
8458 else
8459 result=$wxUSE_FONTMAP
8460 fi
8461
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8463 $as_echo "$result" >&6; }
8464
8465
8466 enablestring=
8467 defaultval=$wxUSE_ALL_FEATURES
8468 if test -z "$defaultval"; then
8469 if test x"$enablestring" = xdisable; then
8470 defaultval=yes
8471 else
8472 defaultval=no
8473 fi
8474 fi
8475
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8477 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8478 # Check whether --enable-fs_archive was given.
8479 if test "${enable_fs_archive+set}" = set; then :
8480 enableval=$enable_fs_archive;
8481 if test "$enableval" = yes; then
8482 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8483 else
8484 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8485 fi
8486
8487 else
8488
8489 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8490
8491 fi
8492
8493
8494 eval "$wx_cv_use_fs_archive"
8495
8496 if test x"$enablestring" = xdisable; then
8497 if test $wxUSE_FS_ARCHIVE = no; then
8498 result=yes
8499 else
8500 result=no
8501 fi
8502 else
8503 result=$wxUSE_FS_ARCHIVE
8504 fi
8505
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8507 $as_echo "$result" >&6; }
8508
8509
8510 enablestring=
8511 defaultval=$wxUSE_ALL_FEATURES
8512 if test -z "$defaultval"; then
8513 if test x"$enablestring" = xdisable; then
8514 defaultval=yes
8515 else
8516 defaultval=no
8517 fi
8518 fi
8519
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8521 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8522 # Check whether --enable-fs_inet was given.
8523 if test "${enable_fs_inet+set}" = set; then :
8524 enableval=$enable_fs_inet;
8525 if test "$enableval" = yes; then
8526 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8527 else
8528 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8529 fi
8530
8531 else
8532
8533 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8534
8535 fi
8536
8537
8538 eval "$wx_cv_use_fs_inet"
8539
8540 if test x"$enablestring" = xdisable; then
8541 if test $wxUSE_FS_INET = no; then
8542 result=yes
8543 else
8544 result=no
8545 fi
8546 else
8547 result=$wxUSE_FS_INET
8548 fi
8549
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8551 $as_echo "$result" >&6; }
8552
8553
8554 enablestring=
8555 defaultval=$wxUSE_ALL_FEATURES
8556 if test -z "$defaultval"; then
8557 if test x"$enablestring" = xdisable; then
8558 defaultval=yes
8559 else
8560 defaultval=no
8561 fi
8562 fi
8563
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8565 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8566 # Check whether --enable-fs_zip was given.
8567 if test "${enable_fs_zip+set}" = set; then :
8568 enableval=$enable_fs_zip;
8569 if test "$enableval" = yes; then
8570 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
8571 else
8572 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
8573 fi
8574
8575 else
8576
8577 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8578
8579 fi
8580
8581
8582 eval "$wx_cv_use_fs_zip"
8583
8584 if test x"$enablestring" = xdisable; then
8585 if test $wxUSE_FS_ZIP = no; then
8586 result=yes
8587 else
8588 result=no
8589 fi
8590 else
8591 result=$wxUSE_FS_ZIP
8592 fi
8593
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8595 $as_echo "$result" >&6; }
8596
8597
8598 enablestring=
8599 defaultval=$wxUSE_ALL_FEATURES
8600 if test -z "$defaultval"; then
8601 if test x"$enablestring" = xdisable; then
8602 defaultval=yes
8603 else
8604 defaultval=no
8605 fi
8606 fi
8607
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fsvolume" >&5
8609 $as_echo_n "checking for --${enablestring:-enable}-fsvolume... " >&6; }
8610 # Check whether --enable-fsvolume was given.
8611 if test "${enable_fsvolume+set}" = set; then :
8612 enableval=$enable_fsvolume;
8613 if test "$enableval" = yes; then
8614 wx_cv_use_fsvolume='wxUSE_FSVOLUME=yes'
8615 else
8616 wx_cv_use_fsvolume='wxUSE_FSVOLUME=no'
8617 fi
8618
8619 else
8620
8621 wx_cv_use_fsvolume='wxUSE_FSVOLUME=${'DEFAULT_wxUSE_FSVOLUME":-$defaultval}"
8622
8623 fi
8624
8625
8626 eval "$wx_cv_use_fsvolume"
8627
8628 if test x"$enablestring" = xdisable; then
8629 if test $wxUSE_FSVOLUME = no; then
8630 result=yes
8631 else
8632 result=no
8633 fi
8634 else
8635 result=$wxUSE_FSVOLUME
8636 fi
8637
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8639 $as_echo "$result" >&6; }
8640
8641
8642 enablestring=
8643 defaultval=$wxUSE_ALL_FEATURES
8644 if test -z "$defaultval"; then
8645 if test x"$enablestring" = xdisable; then
8646 defaultval=yes
8647 else
8648 defaultval=no
8649 fi
8650 fi
8651
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8653 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8654 # Check whether --enable-fswatcher was given.
8655 if test "${enable_fswatcher+set}" = set; then :
8656 enableval=$enable_fswatcher;
8657 if test "$enableval" = yes; then
8658 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8659 else
8660 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8661 fi
8662
8663 else
8664
8665 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8666
8667 fi
8668
8669
8670 eval "$wx_cv_use_fswatcher"
8671
8672 if test x"$enablestring" = xdisable; then
8673 if test $wxUSE_FSWATCHER = no; then
8674 result=yes
8675 else
8676 result=no
8677 fi
8678 else
8679 result=$wxUSE_FSWATCHER
8680 fi
8681
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8683 $as_echo "$result" >&6; }
8684
8685
8686 enablestring=
8687 defaultval=$wxUSE_ALL_FEATURES
8688 if test -z "$defaultval"; then
8689 if test x"$enablestring" = xdisable; then
8690 defaultval=yes
8691 else
8692 defaultval=no
8693 fi
8694 fi
8695
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8697 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8698 # Check whether --enable-geometry was given.
8699 if test "${enable_geometry+set}" = set; then :
8700 enableval=$enable_geometry;
8701 if test "$enableval" = yes; then
8702 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8703 else
8704 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8705 fi
8706
8707 else
8708
8709 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8710
8711 fi
8712
8713
8714 eval "$wx_cv_use_geometry"
8715
8716 if test x"$enablestring" = xdisable; then
8717 if test $wxUSE_GEOMETRY = no; then
8718 result=yes
8719 else
8720 result=no
8721 fi
8722 else
8723 result=$wxUSE_GEOMETRY
8724 fi
8725
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8727 $as_echo "$result" >&6; }
8728
8729
8730 enablestring=
8731 defaultval=$wxUSE_ALL_FEATURES
8732 if test -z "$defaultval"; then
8733 if test x"$enablestring" = xdisable; then
8734 defaultval=yes
8735 else
8736 defaultval=no
8737 fi
8738 fi
8739
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8741 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8742 # Check whether --enable-log was given.
8743 if test "${enable_log+set}" = set; then :
8744 enableval=$enable_log;
8745 if test "$enableval" = yes; then
8746 wx_cv_use_log='wxUSE_LOG=yes'
8747 else
8748 wx_cv_use_log='wxUSE_LOG=no'
8749 fi
8750
8751 else
8752
8753 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8754
8755 fi
8756
8757
8758 eval "$wx_cv_use_log"
8759
8760 if test x"$enablestring" = xdisable; then
8761 if test $wxUSE_LOG = no; then
8762 result=yes
8763 else
8764 result=no
8765 fi
8766 else
8767 result=$wxUSE_LOG
8768 fi
8769
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8771 $as_echo "$result" >&6; }
8772
8773
8774 enablestring=
8775 defaultval=$wxUSE_ALL_FEATURES
8776 if test -z "$defaultval"; then
8777 if test x"$enablestring" = xdisable; then
8778 defaultval=yes
8779 else
8780 defaultval=no
8781 fi
8782 fi
8783
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8785 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8786 # Check whether --enable-longlong was given.
8787 if test "${enable_longlong+set}" = set; then :
8788 enableval=$enable_longlong;
8789 if test "$enableval" = yes; then
8790 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8791 else
8792 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8793 fi
8794
8795 else
8796
8797 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8798
8799 fi
8800
8801
8802 eval "$wx_cv_use_longlong"
8803
8804 if test x"$enablestring" = xdisable; then
8805 if test $wxUSE_LONGLONG = no; then
8806 result=yes
8807 else
8808 result=no
8809 fi
8810 else
8811 result=$wxUSE_LONGLONG
8812 fi
8813
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8815 $as_echo "$result" >&6; }
8816
8817
8818 enablestring=
8819 defaultval=$wxUSE_ALL_FEATURES
8820 if test -z "$defaultval"; then
8821 if test x"$enablestring" = xdisable; then
8822 defaultval=yes
8823 else
8824 defaultval=no
8825 fi
8826 fi
8827
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8829 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8830 # Check whether --enable-mimetype was given.
8831 if test "${enable_mimetype+set}" = set; then :
8832 enableval=$enable_mimetype;
8833 if test "$enableval" = yes; then
8834 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8835 else
8836 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8837 fi
8838
8839 else
8840
8841 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8842
8843 fi
8844
8845
8846 eval "$wx_cv_use_mimetype"
8847
8848 if test x"$enablestring" = xdisable; then
8849 if test $wxUSE_MIMETYPE = no; then
8850 result=yes
8851 else
8852 result=no
8853 fi
8854 else
8855 result=$wxUSE_MIMETYPE
8856 fi
8857
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8859 $as_echo "$result" >&6; }
8860
8861
8862 enablestring=
8863 defaultval=$wxUSE_ALL_FEATURES
8864 if test -z "$defaultval"; then
8865 if test x"$enablestring" = xdisable; then
8866 defaultval=yes
8867 else
8868 defaultval=no
8869 fi
8870 fi
8871
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8873 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8874 # Check whether --enable-printfposparam was given.
8875 if test "${enable_printfposparam+set}" = set; then :
8876 enableval=$enable_printfposparam;
8877 if test "$enableval" = yes; then
8878 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8879 else
8880 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8881 fi
8882
8883 else
8884
8885 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8886
8887 fi
8888
8889
8890 eval "$wx_cv_use_printfposparam"
8891
8892 if test x"$enablestring" = xdisable; then
8893 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8894 result=yes
8895 else
8896 result=no
8897 fi
8898 else
8899 result=$wxUSE_PRINTF_POS_PARAMS
8900 fi
8901
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8903 $as_echo "$result" >&6; }
8904
8905
8906 enablestring=
8907 defaultval=$wxUSE_ALL_FEATURES
8908 if test -z "$defaultval"; then
8909 if test x"$enablestring" = xdisable; then
8910 defaultval=yes
8911 else
8912 defaultval=no
8913 fi
8914 fi
8915
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
8917 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
8918 # Check whether --enable-snglinst was given.
8919 if test "${enable_snglinst+set}" = set; then :
8920 enableval=$enable_snglinst;
8921 if test "$enableval" = yes; then
8922 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8923 else
8924 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8925 fi
8926
8927 else
8928
8929 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8930
8931 fi
8932
8933
8934 eval "$wx_cv_use_snglinst"
8935
8936 if test x"$enablestring" = xdisable; then
8937 if test $wxUSE_SNGLINST_CHECKER = no; then
8938 result=yes
8939 else
8940 result=no
8941 fi
8942 else
8943 result=$wxUSE_SNGLINST_CHECKER
8944 fi
8945
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8947 $as_echo "$result" >&6; }
8948
8949
8950 enablestring=
8951 defaultval=$wxUSE_ALL_FEATURES
8952 if test -z "$defaultval"; then
8953 if test x"$enablestring" = xdisable; then
8954 defaultval=yes
8955 else
8956 defaultval=no
8957 fi
8958 fi
8959
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
8961 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
8962 # Check whether --enable-sound was given.
8963 if test "${enable_sound+set}" = set; then :
8964 enableval=$enable_sound;
8965 if test "$enableval" = yes; then
8966 wx_cv_use_sound='wxUSE_SOUND=yes'
8967 else
8968 wx_cv_use_sound='wxUSE_SOUND=no'
8969 fi
8970
8971 else
8972
8973 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8974
8975 fi
8976
8977
8978 eval "$wx_cv_use_sound"
8979
8980 if test x"$enablestring" = xdisable; then
8981 if test $wxUSE_SOUND = no; then
8982 result=yes
8983 else
8984 result=no
8985 fi
8986 else
8987 result=$wxUSE_SOUND
8988 fi
8989
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8991 $as_echo "$result" >&6; }
8992
8993
8994 enablestring=
8995 defaultval=$wxUSE_ALL_FEATURES
8996 if test -z "$defaultval"; then
8997 if test x"$enablestring" = xdisable; then
8998 defaultval=yes
8999 else
9000 defaultval=no
9001 fi
9002 fi
9003
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
9005 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
9006 # Check whether --enable-stdpaths was given.
9007 if test "${enable_stdpaths+set}" = set; then :
9008 enableval=$enable_stdpaths;
9009 if test "$enableval" = yes; then
9010 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
9011 else
9012 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
9013 fi
9014
9015 else
9016
9017 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
9018
9019 fi
9020
9021
9022 eval "$wx_cv_use_stdpaths"
9023
9024 if test x"$enablestring" = xdisable; then
9025 if test $wxUSE_STDPATHS = no; then
9026 result=yes
9027 else
9028 result=no
9029 fi
9030 else
9031 result=$wxUSE_STDPATHS
9032 fi
9033
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9035 $as_echo "$result" >&6; }
9036
9037
9038 enablestring=
9039 defaultval=$wxUSE_ALL_FEATURES
9040 if test -z "$defaultval"; then
9041 if test x"$enablestring" = xdisable; then
9042 defaultval=yes
9043 else
9044 defaultval=no
9045 fi
9046 fi
9047
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
9049 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
9050 # Check whether --enable-stopwatch was given.
9051 if test "${enable_stopwatch+set}" = set; then :
9052 enableval=$enable_stopwatch;
9053 if test "$enableval" = yes; then
9054 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
9055 else
9056 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
9057 fi
9058
9059 else
9060
9061 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
9062
9063 fi
9064
9065
9066 eval "$wx_cv_use_stopwatch"
9067
9068 if test x"$enablestring" = xdisable; then
9069 if test $wxUSE_STOPWATCH = no; then
9070 result=yes
9071 else
9072 result=no
9073 fi
9074 else
9075 result=$wxUSE_STOPWATCH
9076 fi
9077
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9079 $as_echo "$result" >&6; }
9080
9081
9082 enablestring=
9083 defaultval=$wxUSE_ALL_FEATURES
9084 if test -z "$defaultval"; then
9085 if test x"$enablestring" = xdisable; then
9086 defaultval=yes
9087 else
9088 defaultval=no
9089 fi
9090 fi
9091
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9093 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9094 # Check whether --enable-streams was given.
9095 if test "${enable_streams+set}" = set; then :
9096 enableval=$enable_streams;
9097 if test "$enableval" = yes; then
9098 wx_cv_use_streams='wxUSE_STREAMS=yes'
9099 else
9100 wx_cv_use_streams='wxUSE_STREAMS=no'
9101 fi
9102
9103 else
9104
9105 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9106
9107 fi
9108
9109
9110 eval "$wx_cv_use_streams"
9111
9112 if test x"$enablestring" = xdisable; then
9113 if test $wxUSE_STREAMS = no; then
9114 result=yes
9115 else
9116 result=no
9117 fi
9118 else
9119 result=$wxUSE_STREAMS
9120 fi
9121
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9123 $as_echo "$result" >&6; }
9124
9125
9126 enablestring=
9127 defaultval=$wxUSE_ALL_FEATURES
9128 if test -z "$defaultval"; then
9129 if test x"$enablestring" = xdisable; then
9130 defaultval=yes
9131 else
9132 defaultval=no
9133 fi
9134 fi
9135
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9137 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9138 # Check whether --enable-sysoptions was given.
9139 if test "${enable_sysoptions+set}" = set; then :
9140 enableval=$enable_sysoptions;
9141 if test "$enableval" = yes; then
9142 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9143 else
9144 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9145 fi
9146
9147 else
9148
9149 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9150
9151 fi
9152
9153
9154 eval "$wx_cv_use_sysoptions"
9155
9156 if test x"$enablestring" = xdisable; then
9157 if test $wxUSE_SYSTEM_OPTIONS = no; then
9158 result=yes
9159 else
9160 result=no
9161 fi
9162 else
9163 result=$wxUSE_SYSTEM_OPTIONS
9164 fi
9165
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9167 $as_echo "$result" >&6; }
9168
9169
9170 enablestring=
9171 defaultval=$wxUSE_ALL_FEATURES
9172 if test -z "$defaultval"; then
9173 if test x"$enablestring" = xdisable; then
9174 defaultval=yes
9175 else
9176 defaultval=no
9177 fi
9178 fi
9179
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9181 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9182 # Check whether --enable-tarstream was given.
9183 if test "${enable_tarstream+set}" = set; then :
9184 enableval=$enable_tarstream;
9185 if test "$enableval" = yes; then
9186 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9187 else
9188 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9189 fi
9190
9191 else
9192
9193 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9194
9195 fi
9196
9197
9198 eval "$wx_cv_use_tarstream"
9199
9200 if test x"$enablestring" = xdisable; then
9201 if test $wxUSE_TARSTREAM = no; then
9202 result=yes
9203 else
9204 result=no
9205 fi
9206 else
9207 result=$wxUSE_TARSTREAM
9208 fi
9209
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9211 $as_echo "$result" >&6; }
9212
9213
9214 enablestring=
9215 defaultval=$wxUSE_ALL_FEATURES
9216 if test -z "$defaultval"; then
9217 if test x"$enablestring" = xdisable; then
9218 defaultval=yes
9219 else
9220 defaultval=no
9221 fi
9222 fi
9223
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9225 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9226 # Check whether --enable-textbuf was given.
9227 if test "${enable_textbuf+set}" = set; then :
9228 enableval=$enable_textbuf;
9229 if test "$enableval" = yes; then
9230 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9231 else
9232 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9233 fi
9234
9235 else
9236
9237 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9238
9239 fi
9240
9241
9242 eval "$wx_cv_use_textbuf"
9243
9244 if test x"$enablestring" = xdisable; then
9245 if test $wxUSE_TEXTBUFFER = no; then
9246 result=yes
9247 else
9248 result=no
9249 fi
9250 else
9251 result=$wxUSE_TEXTBUFFER
9252 fi
9253
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9255 $as_echo "$result" >&6; }
9256
9257
9258 enablestring=
9259 defaultval=$wxUSE_ALL_FEATURES
9260 if test -z "$defaultval"; then
9261 if test x"$enablestring" = xdisable; then
9262 defaultval=yes
9263 else
9264 defaultval=no
9265 fi
9266 fi
9267
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9269 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9270 # Check whether --enable-textfile was given.
9271 if test "${enable_textfile+set}" = set; then :
9272 enableval=$enable_textfile;
9273 if test "$enableval" = yes; then
9274 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9275 else
9276 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9277 fi
9278
9279 else
9280
9281 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9282
9283 fi
9284
9285
9286 eval "$wx_cv_use_textfile"
9287
9288 if test x"$enablestring" = xdisable; then
9289 if test $wxUSE_TEXTFILE = no; then
9290 result=yes
9291 else
9292 result=no
9293 fi
9294 else
9295 result=$wxUSE_TEXTFILE
9296 fi
9297
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9299 $as_echo "$result" >&6; }
9300
9301
9302 enablestring=
9303 defaultval=$wxUSE_ALL_FEATURES
9304 if test -z "$defaultval"; then
9305 if test x"$enablestring" = xdisable; then
9306 defaultval=yes
9307 else
9308 defaultval=no
9309 fi
9310 fi
9311
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9313 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9314 # Check whether --enable-timer was given.
9315 if test "${enable_timer+set}" = set; then :
9316 enableval=$enable_timer;
9317 if test "$enableval" = yes; then
9318 wx_cv_use_timer='wxUSE_TIMER=yes'
9319 else
9320 wx_cv_use_timer='wxUSE_TIMER=no'
9321 fi
9322
9323 else
9324
9325 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9326
9327 fi
9328
9329
9330 eval "$wx_cv_use_timer"
9331
9332 if test x"$enablestring" = xdisable; then
9333 if test $wxUSE_TIMER = no; then
9334 result=yes
9335 else
9336 result=no
9337 fi
9338 else
9339 result=$wxUSE_TIMER
9340 fi
9341
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9343 $as_echo "$result" >&6; }
9344
9345
9346 enablestring=
9347 defaultval=$wxUSE_ALL_FEATURES
9348 if test -z "$defaultval"; then
9349 if test x"$enablestring" = xdisable; then
9350 defaultval=yes
9351 else
9352 defaultval=no
9353 fi
9354 fi
9355
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9357 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9358 # Check whether --enable-variant was given.
9359 if test "${enable_variant+set}" = set; then :
9360 enableval=$enable_variant;
9361 if test "$enableval" = yes; then
9362 wx_cv_use_variant='wxUSE_VARIANT=yes'
9363 else
9364 wx_cv_use_variant='wxUSE_VARIANT=no'
9365 fi
9366
9367 else
9368
9369 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9370
9371 fi
9372
9373
9374 eval "$wx_cv_use_variant"
9375
9376 if test x"$enablestring" = xdisable; then
9377 if test $wxUSE_VARIANT = no; then
9378 result=yes
9379 else
9380 result=no
9381 fi
9382 else
9383 result=$wxUSE_VARIANT
9384 fi
9385
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9387 $as_echo "$result" >&6; }
9388
9389
9390 enablestring=
9391 defaultval=$wxUSE_ALL_FEATURES
9392 if test -z "$defaultval"; then
9393 if test x"$enablestring" = xdisable; then
9394 defaultval=yes
9395 else
9396 defaultval=no
9397 fi
9398 fi
9399
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9401 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9402 # Check whether --enable-zipstream was given.
9403 if test "${enable_zipstream+set}" = set; then :
9404 enableval=$enable_zipstream;
9405 if test "$enableval" = yes; then
9406 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9407 else
9408 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9409 fi
9410
9411 else
9412
9413 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9414
9415 fi
9416
9417
9418 eval "$wx_cv_use_zipstream"
9419
9420 if test x"$enablestring" = xdisable; then
9421 if test $wxUSE_ZIPSTREAM = no; then
9422 result=yes
9423 else
9424 result=no
9425 fi
9426 else
9427 result=$wxUSE_ZIPSTREAM
9428 fi
9429
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9431 $as_echo "$result" >&6; }
9432
9433
9434
9435 enablestring=
9436 defaultval=$wxUSE_ALL_FEATURES
9437 if test -z "$defaultval"; then
9438 if test x"$enablestring" = xdisable; then
9439 defaultval=yes
9440 else
9441 defaultval=no
9442 fi
9443 fi
9444
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9446 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9447 # Check whether --enable-url was given.
9448 if test "${enable_url+set}" = set; then :
9449 enableval=$enable_url;
9450 if test "$enableval" = yes; then
9451 wx_cv_use_url='wxUSE_URL=yes'
9452 else
9453 wx_cv_use_url='wxUSE_URL=no'
9454 fi
9455
9456 else
9457
9458 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9459
9460 fi
9461
9462
9463 eval "$wx_cv_use_url"
9464
9465 if test x"$enablestring" = xdisable; then
9466 if test $wxUSE_URL = no; then
9467 result=yes
9468 else
9469 result=no
9470 fi
9471 else
9472 result=$wxUSE_URL
9473 fi
9474
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9476 $as_echo "$result" >&6; }
9477
9478
9479 enablestring=
9480 defaultval=$wxUSE_ALL_FEATURES
9481 if test -z "$defaultval"; then
9482 if test x"$enablestring" = xdisable; then
9483 defaultval=yes
9484 else
9485 defaultval=no
9486 fi
9487 fi
9488
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9490 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9491 # Check whether --enable-protocol was given.
9492 if test "${enable_protocol+set}" = set; then :
9493 enableval=$enable_protocol;
9494 if test "$enableval" = yes; then
9495 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9496 else
9497 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9498 fi
9499
9500 else
9501
9502 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9503
9504 fi
9505
9506
9507 eval "$wx_cv_use_protocol"
9508
9509 if test x"$enablestring" = xdisable; then
9510 if test $wxUSE_PROTOCOL = no; then
9511 result=yes
9512 else
9513 result=no
9514 fi
9515 else
9516 result=$wxUSE_PROTOCOL
9517 fi
9518
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9520 $as_echo "$result" >&6; }
9521
9522
9523 enablestring=
9524 defaultval=$wxUSE_ALL_FEATURES
9525 if test -z "$defaultval"; then
9526 if test x"$enablestring" = xdisable; then
9527 defaultval=yes
9528 else
9529 defaultval=no
9530 fi
9531 fi
9532
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9534 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9535 # Check whether --enable-protocol_http was given.
9536 if test "${enable_protocol_http+set}" = set; then :
9537 enableval=$enable_protocol_http;
9538 if test "$enableval" = yes; then
9539 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9540 else
9541 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9542 fi
9543
9544 else
9545
9546 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9547
9548 fi
9549
9550
9551 eval "$wx_cv_use_protocol_http"
9552
9553 if test x"$enablestring" = xdisable; then
9554 if test $wxUSE_PROTOCOL_HTTP = no; then
9555 result=yes
9556 else
9557 result=no
9558 fi
9559 else
9560 result=$wxUSE_PROTOCOL_HTTP
9561 fi
9562
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9564 $as_echo "$result" >&6; }
9565
9566
9567 enablestring=
9568 defaultval=$wxUSE_ALL_FEATURES
9569 if test -z "$defaultval"; then
9570 if test x"$enablestring" = xdisable; then
9571 defaultval=yes
9572 else
9573 defaultval=no
9574 fi
9575 fi
9576
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9578 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9579 # Check whether --enable-protocol_ftp was given.
9580 if test "${enable_protocol_ftp+set}" = set; then :
9581 enableval=$enable_protocol_ftp;
9582 if test "$enableval" = yes; then
9583 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9584 else
9585 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9586 fi
9587
9588 else
9589
9590 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9591
9592 fi
9593
9594
9595 eval "$wx_cv_use_protocol_ftp"
9596
9597 if test x"$enablestring" = xdisable; then
9598 if test $wxUSE_PROTOCOL_FTP = no; then
9599 result=yes
9600 else
9601 result=no
9602 fi
9603 else
9604 result=$wxUSE_PROTOCOL_FTP
9605 fi
9606
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9608 $as_echo "$result" >&6; }
9609
9610
9611 enablestring=
9612 defaultval=$wxUSE_ALL_FEATURES
9613 if test -z "$defaultval"; then
9614 if test x"$enablestring" = xdisable; then
9615 defaultval=yes
9616 else
9617 defaultval=no
9618 fi
9619 fi
9620
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9622 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9623 # Check whether --enable-protocol_file was given.
9624 if test "${enable_protocol_file+set}" = set; then :
9625 enableval=$enable_protocol_file;
9626 if test "$enableval" = yes; then
9627 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9628 else
9629 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9630 fi
9631
9632 else
9633
9634 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9635
9636 fi
9637
9638
9639 eval "$wx_cv_use_protocol_file"
9640
9641 if test x"$enablestring" = xdisable; then
9642 if test $wxUSE_PROTOCOL_FILE = no; then
9643 result=yes
9644 else
9645 result=no
9646 fi
9647 else
9648 result=$wxUSE_PROTOCOL_FILE
9649 fi
9650
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9652 $as_echo "$result" >&6; }
9653
9654
9655
9656 enablestring=
9657 defaultval=$wxUSE_ALL_FEATURES
9658 if test -z "$defaultval"; then
9659 if test x"$enablestring" = xdisable; then
9660 defaultval=yes
9661 else
9662 defaultval=no
9663 fi
9664 fi
9665
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9667 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9668 # Check whether --enable-threads was given.
9669 if test "${enable_threads+set}" = set; then :
9670 enableval=$enable_threads;
9671 if test "$enableval" = yes; then
9672 wx_cv_use_threads='wxUSE_THREADS=yes'
9673 else
9674 wx_cv_use_threads='wxUSE_THREADS=no'
9675 fi
9676
9677 else
9678
9679 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9680
9681 fi
9682
9683
9684 eval "$wx_cv_use_threads"
9685
9686 if test x"$enablestring" = xdisable; then
9687 if test $wxUSE_THREADS = no; then
9688 result=yes
9689 else
9690 result=no
9691 fi
9692 else
9693 result=$wxUSE_THREADS
9694 fi
9695
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9697 $as_echo "$result" >&6; }
9698
9699
9700
9701 enablestring=
9702 defaultval=
9703 if test -z "$defaultval"; then
9704 if test x"$enablestring" = xdisable; then
9705 defaultval=yes
9706 else
9707 defaultval=no
9708 fi
9709 fi
9710
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9712 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9713 # Check whether --enable-iniconf was given.
9714 if test "${enable_iniconf+set}" = set; then :
9715 enableval=$enable_iniconf;
9716 if test "$enableval" = yes; then
9717 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9718 else
9719 wx_cv_use_iniconf='wxUSE_INICONF=no'
9720 fi
9721
9722 else
9723
9724 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9725
9726 fi
9727
9728
9729 eval "$wx_cv_use_iniconf"
9730
9731 if test x"$enablestring" = xdisable; then
9732 if test $wxUSE_INICONF = no; then
9733 result=yes
9734 else
9735 result=no
9736 fi
9737 else
9738 result=$wxUSE_INICONF
9739 fi
9740
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9742 $as_echo "$result" >&6; }
9743
9744
9745 enablestring=
9746 defaultval=$wxUSE_ALL_FEATURES
9747 if test -z "$defaultval"; then
9748 if test x"$enablestring" = xdisable; then
9749 defaultval=yes
9750 else
9751 defaultval=no
9752 fi
9753 fi
9754
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9756 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9757 # Check whether --enable-regkey was given.
9758 if test "${enable_regkey+set}" = set; then :
9759 enableval=$enable_regkey;
9760 if test "$enableval" = yes; then
9761 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9762 else
9763 wx_cv_use_regkey='wxUSE_REGKEY=no'
9764 fi
9765
9766 else
9767
9768 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9769
9770 fi
9771
9772
9773 eval "$wx_cv_use_regkey"
9774
9775 if test x"$enablestring" = xdisable; then
9776 if test $wxUSE_REGKEY = no; then
9777 result=yes
9778 else
9779 result=no
9780 fi
9781 else
9782 result=$wxUSE_REGKEY
9783 fi
9784
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9786 $as_echo "$result" >&6; }
9787
9788
9789 if test "$wxUSE_GUI" = "yes"; then
9790
9791
9792
9793 enablestring=
9794 defaultval=$wxUSE_ALL_FEATURES
9795 if test -z "$defaultval"; then
9796 if test x"$enablestring" = xdisable; then
9797 defaultval=yes
9798 else
9799 defaultval=no
9800 fi
9801 fi
9802
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9804 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9805 # Check whether --enable-docview was given.
9806 if test "${enable_docview+set}" = set; then :
9807 enableval=$enable_docview;
9808 if test "$enableval" = yes; then
9809 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9810 else
9811 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9812 fi
9813
9814 else
9815
9816 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9817
9818 fi
9819
9820
9821 eval "$wx_cv_use_docview"
9822
9823 if test x"$enablestring" = xdisable; then
9824 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9825 result=yes
9826 else
9827 result=no
9828 fi
9829 else
9830 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9831 fi
9832
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9834 $as_echo "$result" >&6; }
9835
9836
9837 enablestring=
9838 defaultval=$wxUSE_ALL_FEATURES
9839 if test -z "$defaultval"; then
9840 if test x"$enablestring" = xdisable; then
9841 defaultval=yes
9842 else
9843 defaultval=no
9844 fi
9845 fi
9846
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9848 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9849 # Check whether --enable-help was given.
9850 if test "${enable_help+set}" = set; then :
9851 enableval=$enable_help;
9852 if test "$enableval" = yes; then
9853 wx_cv_use_help='wxUSE_HELP=yes'
9854 else
9855 wx_cv_use_help='wxUSE_HELP=no'
9856 fi
9857
9858 else
9859
9860 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9861
9862 fi
9863
9864
9865 eval "$wx_cv_use_help"
9866
9867 if test x"$enablestring" = xdisable; then
9868 if test $wxUSE_HELP = no; then
9869 result=yes
9870 else
9871 result=no
9872 fi
9873 else
9874 result=$wxUSE_HELP
9875 fi
9876
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9878 $as_echo "$result" >&6; }
9879
9880
9881 enablestring=
9882 defaultval=$wxUSE_ALL_FEATURES
9883 if test -z "$defaultval"; then
9884 if test x"$enablestring" = xdisable; then
9885 defaultval=yes
9886 else
9887 defaultval=no
9888 fi
9889 fi
9890
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9892 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9893 # Check whether --enable-mshtmlhelp was given.
9894 if test "${enable_mshtmlhelp+set}" = set; then :
9895 enableval=$enable_mshtmlhelp;
9896 if test "$enableval" = yes; then
9897 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9898 else
9899 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9900 fi
9901
9902 else
9903
9904 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9905
9906 fi
9907
9908
9909 eval "$wx_cv_use_mshtmlhelp"
9910
9911 if test x"$enablestring" = xdisable; then
9912 if test $wxUSE_MS_HTML_HELP = no; then
9913 result=yes
9914 else
9915 result=no
9916 fi
9917 else
9918 result=$wxUSE_MS_HTML_HELP
9919 fi
9920
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9922 $as_echo "$result" >&6; }
9923
9924
9925 enablestring=
9926 defaultval=$wxUSE_ALL_FEATURES
9927 if test -z "$defaultval"; then
9928 if test x"$enablestring" = xdisable; then
9929 defaultval=yes
9930 else
9931 defaultval=no
9932 fi
9933 fi
9934
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
9936 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
9937 # Check whether --enable-html was given.
9938 if test "${enable_html+set}" = set; then :
9939 enableval=$enable_html;
9940 if test "$enableval" = yes; then
9941 wx_cv_use_html='wxUSE_HTML=yes'
9942 else
9943 wx_cv_use_html='wxUSE_HTML=no'
9944 fi
9945
9946 else
9947
9948 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9949
9950 fi
9951
9952
9953 eval "$wx_cv_use_html"
9954
9955 if test x"$enablestring" = xdisable; then
9956 if test $wxUSE_HTML = no; then
9957 result=yes
9958 else
9959 result=no
9960 fi
9961 else
9962 result=$wxUSE_HTML
9963 fi
9964
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9966 $as_echo "$result" >&6; }
9967
9968
9969 enablestring=
9970 defaultval=$wxUSE_ALL_FEATURES
9971 if test -z "$defaultval"; then
9972 if test x"$enablestring" = xdisable; then
9973 defaultval=yes
9974 else
9975 defaultval=no
9976 fi
9977 fi
9978
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
9980 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
9981 # Check whether --enable-htmlhelp was given.
9982 if test "${enable_htmlhelp+set}" = set; then :
9983 enableval=$enable_htmlhelp;
9984 if test "$enableval" = yes; then
9985 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9986 else
9987 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9988 fi
9989
9990 else
9991
9992 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9993
9994 fi
9995
9996
9997 eval "$wx_cv_use_htmlhelp"
9998
9999 if test x"$enablestring" = xdisable; then
10000 if test $wxUSE_WXHTML_HELP = no; then
10001 result=yes
10002 else
10003 result=no
10004 fi
10005 else
10006 result=$wxUSE_WXHTML_HELP
10007 fi
10008
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10010 $as_echo "$result" >&6; }
10011
10012
10013 enablestring=
10014 defaultval=$wxUSE_ALL_FEATURES
10015 if test -z "$defaultval"; then
10016 if test x"$enablestring" = xdisable; then
10017 defaultval=yes
10018 else
10019 defaultval=no
10020 fi
10021 fi
10022
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
10024 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
10025 # Check whether --enable-xrc was given.
10026 if test "${enable_xrc+set}" = set; then :
10027 enableval=$enable_xrc;
10028 if test "$enableval" = yes; then
10029 wx_cv_use_xrc='wxUSE_XRC=yes'
10030 else
10031 wx_cv_use_xrc='wxUSE_XRC=no'
10032 fi
10033
10034 else
10035
10036 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
10037
10038 fi
10039
10040
10041 eval "$wx_cv_use_xrc"
10042
10043 if test x"$enablestring" = xdisable; then
10044 if test $wxUSE_XRC = no; then
10045 result=yes
10046 else
10047 result=no
10048 fi
10049 else
10050 result=$wxUSE_XRC
10051 fi
10052
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10054 $as_echo "$result" >&6; }
10055
10056
10057 enablestring=
10058 defaultval=$wxUSE_ALL_FEATURES
10059 if test -z "$defaultval"; then
10060 if test x"$enablestring" = xdisable; then
10061 defaultval=yes
10062 else
10063 defaultval=no
10064 fi
10065 fi
10066
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
10068 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
10069 # Check whether --enable-aui was given.
10070 if test "${enable_aui+set}" = set; then :
10071 enableval=$enable_aui;
10072 if test "$enableval" = yes; then
10073 wx_cv_use_aui='wxUSE_AUI=yes'
10074 else
10075 wx_cv_use_aui='wxUSE_AUI=no'
10076 fi
10077
10078 else
10079
10080 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10081
10082 fi
10083
10084
10085 eval "$wx_cv_use_aui"
10086
10087 if test x"$enablestring" = xdisable; then
10088 if test $wxUSE_AUI = no; then
10089 result=yes
10090 else
10091 result=no
10092 fi
10093 else
10094 result=$wxUSE_AUI
10095 fi
10096
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10098 $as_echo "$result" >&6; }
10099
10100
10101 enablestring=
10102 defaultval=$wxUSE_ALL_FEATURES
10103 if test -z "$defaultval"; then
10104 if test x"$enablestring" = xdisable; then
10105 defaultval=yes
10106 else
10107 defaultval=no
10108 fi
10109 fi
10110
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10112 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10113 # Check whether --enable-propgrid was given.
10114 if test "${enable_propgrid+set}" = set; then :
10115 enableval=$enable_propgrid;
10116 if test "$enableval" = yes; then
10117 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10118 else
10119 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10120 fi
10121
10122 else
10123
10124 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10125
10126 fi
10127
10128
10129 eval "$wx_cv_use_propgrid"
10130
10131 if test x"$enablestring" = xdisable; then
10132 if test $wxUSE_PROPGRID = no; then
10133 result=yes
10134 else
10135 result=no
10136 fi
10137 else
10138 result=$wxUSE_PROPGRID
10139 fi
10140
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10142 $as_echo "$result" >&6; }
10143
10144
10145 enablestring=
10146 defaultval=$wxUSE_ALL_FEATURES
10147 if test -z "$defaultval"; then
10148 if test x"$enablestring" = xdisable; then
10149 defaultval=yes
10150 else
10151 defaultval=no
10152 fi
10153 fi
10154
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10156 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10157 # Check whether --enable-ribbon was given.
10158 if test "${enable_ribbon+set}" = set; then :
10159 enableval=$enable_ribbon;
10160 if test "$enableval" = yes; then
10161 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10162 else
10163 wx_cv_use_ribbon='wxUSE_RIBBON=no'
10164 fi
10165
10166 else
10167
10168 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10169
10170 fi
10171
10172
10173 eval "$wx_cv_use_ribbon"
10174
10175 if test x"$enablestring" = xdisable; then
10176 if test $wxUSE_RIBBON = no; then
10177 result=yes
10178 else
10179 result=no
10180 fi
10181 else
10182 result=$wxUSE_RIBBON
10183 fi
10184
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10186 $as_echo "$result" >&6; }
10187
10188
10189 enablestring=
10190 defaultval=$wxUSE_ALL_FEATURES
10191 if test -z "$defaultval"; then
10192 if test x"$enablestring" = xdisable; then
10193 defaultval=yes
10194 else
10195 defaultval=no
10196 fi
10197 fi
10198
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10200 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10201 # Check whether --enable-stc was given.
10202 if test "${enable_stc+set}" = set; then :
10203 enableval=$enable_stc;
10204 if test "$enableval" = yes; then
10205 wx_cv_use_stc='wxUSE_STC=yes'
10206 else
10207 wx_cv_use_stc='wxUSE_STC=no'
10208 fi
10209
10210 else
10211
10212 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10213
10214 fi
10215
10216
10217 eval "$wx_cv_use_stc"
10218
10219 if test x"$enablestring" = xdisable; then
10220 if test $wxUSE_STC = no; then
10221 result=yes
10222 else
10223 result=no
10224 fi
10225 else
10226 result=$wxUSE_STC
10227 fi
10228
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10230 $as_echo "$result" >&6; }
10231
10232
10233 enablestring=
10234 defaultval=$wxUSE_ALL_FEATURES
10235 if test -z "$defaultval"; then
10236 if test x"$enablestring" = xdisable; then
10237 defaultval=yes
10238 else
10239 defaultval=no
10240 fi
10241 fi
10242
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10244 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10245 # Check whether --enable-constraints was given.
10246 if test "${enable_constraints+set}" = set; then :
10247 enableval=$enable_constraints;
10248 if test "$enableval" = yes; then
10249 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10250 else
10251 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10252 fi
10253
10254 else
10255
10256 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10257
10258 fi
10259
10260
10261 eval "$wx_cv_use_constraints"
10262
10263 if test x"$enablestring" = xdisable; then
10264 if test $wxUSE_CONSTRAINTS = no; then
10265 result=yes
10266 else
10267 result=no
10268 fi
10269 else
10270 result=$wxUSE_CONSTRAINTS
10271 fi
10272
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10274 $as_echo "$result" >&6; }
10275
10276
10277 enablestring=
10278 defaultval=$wxUSE_ALL_FEATURES
10279 if test -z "$defaultval"; then
10280 if test x"$enablestring" = xdisable; then
10281 defaultval=yes
10282 else
10283 defaultval=no
10284 fi
10285 fi
10286
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10288 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10289 # Check whether --enable-loggui was given.
10290 if test "${enable_loggui+set}" = set; then :
10291 enableval=$enable_loggui;
10292 if test "$enableval" = yes; then
10293 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10294 else
10295 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10296 fi
10297
10298 else
10299
10300 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10301
10302 fi
10303
10304
10305 eval "$wx_cv_use_loggui"
10306
10307 if test x"$enablestring" = xdisable; then
10308 if test $wxUSE_LOGGUI = no; then
10309 result=yes
10310 else
10311 result=no
10312 fi
10313 else
10314 result=$wxUSE_LOGGUI
10315 fi
10316
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10318 $as_echo "$result" >&6; }
10319
10320
10321 enablestring=
10322 defaultval=$wxUSE_ALL_FEATURES
10323 if test -z "$defaultval"; then
10324 if test x"$enablestring" = xdisable; then
10325 defaultval=yes
10326 else
10327 defaultval=no
10328 fi
10329 fi
10330
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10332 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10333 # Check whether --enable-logwin was given.
10334 if test "${enable_logwin+set}" = set; then :
10335 enableval=$enable_logwin;
10336 if test "$enableval" = yes; then
10337 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10338 else
10339 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10340 fi
10341
10342 else
10343
10344 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10345
10346 fi
10347
10348
10349 eval "$wx_cv_use_logwin"
10350
10351 if test x"$enablestring" = xdisable; then
10352 if test $wxUSE_LOGWINDOW = no; then
10353 result=yes
10354 else
10355 result=no
10356 fi
10357 else
10358 result=$wxUSE_LOGWINDOW
10359 fi
10360
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10362 $as_echo "$result" >&6; }
10363
10364
10365 enablestring=
10366 defaultval=$wxUSE_ALL_FEATURES
10367 if test -z "$defaultval"; then
10368 if test x"$enablestring" = xdisable; then
10369 defaultval=yes
10370 else
10371 defaultval=no
10372 fi
10373 fi
10374
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10376 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10377 # Check whether --enable-logdialog was given.
10378 if test "${enable_logdialog+set}" = set; then :
10379 enableval=$enable_logdialog;
10380 if test "$enableval" = yes; then
10381 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10382 else
10383 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10384 fi
10385
10386 else
10387
10388 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10389
10390 fi
10391
10392
10393 eval "$wx_cv_use_logdialog"
10394
10395 if test x"$enablestring" = xdisable; then
10396 if test $wxUSE_LOGDIALOG = no; then
10397 result=yes
10398 else
10399 result=no
10400 fi
10401 else
10402 result=$wxUSE_LOGDIALOG
10403 fi
10404
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10406 $as_echo "$result" >&6; }
10407
10408
10409 enablestring=
10410 defaultval=$wxUSE_ALL_FEATURES
10411 if test -z "$defaultval"; then
10412 if test x"$enablestring" = xdisable; then
10413 defaultval=yes
10414 else
10415 defaultval=no
10416 fi
10417 fi
10418
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10420 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10421 # Check whether --enable-mdi was given.
10422 if test "${enable_mdi+set}" = set; then :
10423 enableval=$enable_mdi;
10424 if test "$enableval" = yes; then
10425 wx_cv_use_mdi='wxUSE_MDI=yes'
10426 else
10427 wx_cv_use_mdi='wxUSE_MDI=no'
10428 fi
10429
10430 else
10431
10432 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10433
10434 fi
10435
10436
10437 eval "$wx_cv_use_mdi"
10438
10439 if test x"$enablestring" = xdisable; then
10440 if test $wxUSE_MDI = no; then
10441 result=yes
10442 else
10443 result=no
10444 fi
10445 else
10446 result=$wxUSE_MDI
10447 fi
10448
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10450 $as_echo "$result" >&6; }
10451
10452
10453 enablestring=
10454 defaultval=$wxUSE_ALL_FEATURES
10455 if test -z "$defaultval"; then
10456 if test x"$enablestring" = xdisable; then
10457 defaultval=yes
10458 else
10459 defaultval=no
10460 fi
10461 fi
10462
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10464 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10465 # Check whether --enable-mdidoc was given.
10466 if test "${enable_mdidoc+set}" = set; then :
10467 enableval=$enable_mdidoc;
10468 if test "$enableval" = yes; then
10469 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10470 else
10471 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10472 fi
10473
10474 else
10475
10476 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10477
10478 fi
10479
10480
10481 eval "$wx_cv_use_mdidoc"
10482
10483 if test x"$enablestring" = xdisable; then
10484 if test $wxUSE_MDI_ARCHITECTURE = no; then
10485 result=yes
10486 else
10487 result=no
10488 fi
10489 else
10490 result=$wxUSE_MDI_ARCHITECTURE
10491 fi
10492
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10494 $as_echo "$result" >&6; }
10495
10496
10497 enablestring=
10498 defaultval=$wxUSE_ALL_FEATURES
10499 if test -z "$defaultval"; then
10500 if test x"$enablestring" = xdisable; then
10501 defaultval=yes
10502 else
10503 defaultval=no
10504 fi
10505 fi
10506
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10508 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10509 # Check whether --enable-mediactrl was given.
10510 if test "${enable_mediactrl+set}" = set; then :
10511 enableval=$enable_mediactrl;
10512 if test "$enableval" = yes; then
10513 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10514 else
10515 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10516 fi
10517
10518 else
10519
10520 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10521
10522 fi
10523
10524
10525 eval "$wx_cv_use_mediactrl"
10526
10527 if test x"$enablestring" = xdisable; then
10528 if test $wxUSE_MEDIACTRL = no; then
10529 result=yes
10530 else
10531 result=no
10532 fi
10533 else
10534 result=$wxUSE_MEDIACTRL
10535 fi
10536
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10538 $as_echo "$result" >&6; }
10539
10540
10541 enablestring=
10542 defaultval=$wxUSE_ALL_FEATURES
10543 if test -z "$defaultval"; then
10544 if test x"$enablestring" = xdisable; then
10545 defaultval=yes
10546 else
10547 defaultval=no
10548 fi
10549 fi
10550
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10552 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10553 # Check whether --enable-gstreamer8 was given.
10554 if test "${enable_gstreamer8+set}" = set; then :
10555 enableval=$enable_gstreamer8;
10556 if test "$enableval" = yes; then
10557 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10558 else
10559 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10560 fi
10561
10562 else
10563
10564 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10565
10566 fi
10567
10568
10569 eval "$wx_cv_use_gstreamer8"
10570
10571 if test x"$enablestring" = xdisable; then
10572 if test $wxUSE_GSTREAMER8 = no; then
10573 result=yes
10574 else
10575 result=no
10576 fi
10577 else
10578 result=$wxUSE_GSTREAMER8
10579 fi
10580
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10582 $as_echo "$result" >&6; }
10583
10584
10585 enablestring=
10586 defaultval=$wxUSE_ALL_FEATURES
10587 if test -z "$defaultval"; then
10588 if test x"$enablestring" = xdisable; then
10589 defaultval=yes
10590 else
10591 defaultval=no
10592 fi
10593 fi
10594
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10596 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10597 # Check whether --enable-richtext was given.
10598 if test "${enable_richtext+set}" = set; then :
10599 enableval=$enable_richtext;
10600 if test "$enableval" = yes; then
10601 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10602 else
10603 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10604 fi
10605
10606 else
10607
10608 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10609
10610 fi
10611
10612
10613 eval "$wx_cv_use_richtext"
10614
10615 if test x"$enablestring" = xdisable; then
10616 if test $wxUSE_RICHTEXT = no; then
10617 result=yes
10618 else
10619 result=no
10620 fi
10621 else
10622 result=$wxUSE_RICHTEXT
10623 fi
10624
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10626 $as_echo "$result" >&6; }
10627
10628
10629 enablestring=
10630 defaultval=$wxUSE_ALL_FEATURES
10631 if test -z "$defaultval"; then
10632 if test x"$enablestring" = xdisable; then
10633 defaultval=yes
10634 else
10635 defaultval=no
10636 fi
10637 fi
10638
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10640 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10641 # Check whether --enable-postscript was given.
10642 if test "${enable_postscript+set}" = set; then :
10643 enableval=$enable_postscript;
10644 if test "$enableval" = yes; then
10645 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10646 else
10647 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10648 fi
10649
10650 else
10651
10652 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10653
10654 fi
10655
10656
10657 eval "$wx_cv_use_postscript"
10658
10659 if test x"$enablestring" = xdisable; then
10660 if test $wxUSE_POSTSCRIPT = no; then
10661 result=yes
10662 else
10663 result=no
10664 fi
10665 else
10666 result=$wxUSE_POSTSCRIPT
10667 fi
10668
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10670 $as_echo "$result" >&6; }
10671
10672
10673 enablestring=
10674 defaultval=$wxUSE_ALL_FEATURES
10675 if test -z "$defaultval"; then
10676 if test x"$enablestring" = xdisable; then
10677 defaultval=yes
10678 else
10679 defaultval=no
10680 fi
10681 fi
10682
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10684 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10685 # Check whether --enable-printarch was given.
10686 if test "${enable_printarch+set}" = set; then :
10687 enableval=$enable_printarch;
10688 if test "$enableval" = yes; then
10689 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10690 else
10691 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10692 fi
10693
10694 else
10695
10696 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10697
10698 fi
10699
10700
10701 eval "$wx_cv_use_printarch"
10702
10703 if test x"$enablestring" = xdisable; then
10704 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10705 result=yes
10706 else
10707 result=no
10708 fi
10709 else
10710 result=$wxUSE_PRINTING_ARCHITECTURE
10711 fi
10712
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10714 $as_echo "$result" >&6; }
10715
10716
10717 enablestring=
10718 defaultval=$wxUSE_ALL_FEATURES
10719 if test -z "$defaultval"; then
10720 if test x"$enablestring" = xdisable; then
10721 defaultval=yes
10722 else
10723 defaultval=no
10724 fi
10725 fi
10726
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10728 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10729 # Check whether --enable-svg was given.
10730 if test "${enable_svg+set}" = set; then :
10731 enableval=$enable_svg;
10732 if test "$enableval" = yes; then
10733 wx_cv_use_svg='wxUSE_SVG=yes'
10734 else
10735 wx_cv_use_svg='wxUSE_SVG=no'
10736 fi
10737
10738 else
10739
10740 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10741
10742 fi
10743
10744
10745 eval "$wx_cv_use_svg"
10746
10747 if test x"$enablestring" = xdisable; then
10748 if test $wxUSE_SVG = no; then
10749 result=yes
10750 else
10751 result=no
10752 fi
10753 else
10754 result=$wxUSE_SVG
10755 fi
10756
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10758 $as_echo "$result" >&6; }
10759
10760
10761 enablestring=
10762 defaultval=$wxUSE_ALL_FEATURES
10763 if test -z "$defaultval"; then
10764 if test x"$enablestring" = xdisable; then
10765 defaultval=yes
10766 else
10767 defaultval=no
10768 fi
10769 fi
10770
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10772 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10773 # Check whether --enable-webkit was given.
10774 if test "${enable_webkit+set}" = set; then :
10775 enableval=$enable_webkit;
10776 if test "$enableval" = yes; then
10777 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10778 else
10779 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10780 fi
10781
10782 else
10783
10784 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10785
10786 fi
10787
10788
10789 eval "$wx_cv_use_webkit"
10790
10791 if test x"$enablestring" = xdisable; then
10792 if test $wxUSE_WEBKIT = no; then
10793 result=yes
10794 else
10795 result=no
10796 fi
10797 else
10798 result=$wxUSE_WEBKIT
10799 fi
10800
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10802 $as_echo "$result" >&6; }
10803
10804
10805 enablestring=
10806 defaultval=$wxUSE_ALL_FEATURES
10807 if test -z "$defaultval"; then
10808 if test x"$enablestring" = xdisable; then
10809 defaultval=yes
10810 else
10811 defaultval=no
10812 fi
10813 fi
10814
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10816 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10817 # Check whether --enable-webview was given.
10818 if test "${enable_webview+set}" = set; then :
10819 enableval=$enable_webview;
10820 if test "$enableval" = yes; then
10821 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10822 else
10823 wx_cv_use_webview='wxUSE_WEBVIEW=no'
10824 fi
10825
10826 else
10827
10828 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10829
10830 fi
10831
10832
10833 eval "$wx_cv_use_webview"
10834
10835 if test x"$enablestring" = xdisable; then
10836 if test $wxUSE_WEBVIEW = no; then
10837 result=yes
10838 else
10839 result=no
10840 fi
10841 else
10842 result=$wxUSE_WEBVIEW
10843 fi
10844
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10846 $as_echo "$result" >&6; }
10847
10848
10849 if test "$wxUSE_MAC" != 1; then
10850
10851 enablestring=
10852 defaultval=$wxUSE_ALL_FEATURES
10853 if test -z "$defaultval"; then
10854 if test x"$enablestring" = xdisable; then
10855 defaultval=yes
10856 else
10857 defaultval=no
10858 fi
10859 fi
10860
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10862 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10863 # Check whether --enable-graphics_ctx was given.
10864 if test "${enable_graphics_ctx+set}" = set; then :
10865 enableval=$enable_graphics_ctx;
10866 if test "$enableval" = yes; then
10867 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10868 else
10869 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10870 fi
10871
10872 else
10873
10874 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10875
10876 fi
10877
10878
10879 eval "$wx_cv_use_graphics_ctx"
10880
10881 if test x"$enablestring" = xdisable; then
10882 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10883 result=yes
10884 else
10885 result=no
10886 fi
10887 else
10888 result=$wxUSE_GRAPHICS_CONTEXT
10889 fi
10890
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10892 $as_echo "$result" >&6; }
10893
10894 fi
10895
10896
10897
10898 enablestring=
10899 defaultval=$wxUSE_ALL_FEATURES
10900 if test -z "$defaultval"; then
10901 if test x"$enablestring" = xdisable; then
10902 defaultval=yes
10903 else
10904 defaultval=no
10905 fi
10906 fi
10907
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10909 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10910 # Check whether --enable-clipboard was given.
10911 if test "${enable_clipboard+set}" = set; then :
10912 enableval=$enable_clipboard;
10913 if test "$enableval" = yes; then
10914 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10915 else
10916 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10917 fi
10918
10919 else
10920
10921 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10922
10923 fi
10924
10925
10926 eval "$wx_cv_use_clipboard"
10927
10928 if test x"$enablestring" = xdisable; then
10929 if test $wxUSE_CLIPBOARD = no; then
10930 result=yes
10931 else
10932 result=no
10933 fi
10934 else
10935 result=$wxUSE_CLIPBOARD
10936 fi
10937
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10939 $as_echo "$result" >&6; }
10940
10941
10942 enablestring=
10943 defaultval=$wxUSE_ALL_FEATURES
10944 if test -z "$defaultval"; then
10945 if test x"$enablestring" = xdisable; then
10946 defaultval=yes
10947 else
10948 defaultval=no
10949 fi
10950 fi
10951
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
10953 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
10954 # Check whether --enable-dnd was given.
10955 if test "${enable_dnd+set}" = set; then :
10956 enableval=$enable_dnd;
10957 if test "$enableval" = yes; then
10958 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10959 else
10960 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10961 fi
10962
10963 else
10964
10965 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10966
10967 fi
10968
10969
10970 eval "$wx_cv_use_dnd"
10971
10972 if test x"$enablestring" = xdisable; then
10973 if test $wxUSE_DRAG_AND_DROP = no; then
10974 result=yes
10975 else
10976 result=no
10977 fi
10978 else
10979 result=$wxUSE_DRAG_AND_DROP
10980 fi
10981
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10983 $as_echo "$result" >&6; }
10984
10985
10986
10987 DEFAULT_wxUSE_CONTROLS=none
10988
10989 enablestring=disable
10990 defaultval=
10991 if test -z "$defaultval"; then
10992 if test x"$enablestring" = xdisable; then
10993 defaultval=yes
10994 else
10995 defaultval=no
10996 fi
10997 fi
10998
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
11000 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
11001 # Check whether --enable-controls was given.
11002 if test "${enable_controls+set}" = set; then :
11003 enableval=$enable_controls;
11004 if test "$enableval" = yes; then
11005 wx_cv_use_controls='wxUSE_CONTROLS=yes'
11006 else
11007 wx_cv_use_controls='wxUSE_CONTROLS=no'
11008 fi
11009
11010 else
11011
11012 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
11013
11014 fi
11015
11016
11017 eval "$wx_cv_use_controls"
11018
11019 if test x"$enablestring" = xdisable; then
11020 if test $wxUSE_CONTROLS = no; then
11021 result=yes
11022 else
11023 result=no
11024 fi
11025 else
11026 result=$wxUSE_CONTROLS
11027 fi
11028
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11030 $as_echo "$result" >&6; }
11031
11032
11033 if test "$wxUSE_CONTROLS" = "no"; then
11034 DEFAULT_wxUSE_ACCEL=no
11035 DEFAULT_wxUSE_ANIMATIONCTRL=no
11036 DEFAULT_wxUSE_BANNERWINDOW=no
11037 DEFAULT_wxUSE_BMPBUTTON=no
11038 DEFAULT_wxUSE_BUTTON=no
11039 DEFAULT_wxUSE_CALCTRL=no
11040 DEFAULT_wxUSE_CARET=no
11041 DEFAULT_wxUSE_CHECKBOX=no
11042 DEFAULT_wxUSE_CHECKLISTBOX=no
11043 DEFAULT_wxUSE_CHOICE=no
11044 DEFAULT_wxUSE_CHOICEBOOK=no
11045 DEFAULT_wxUSE_COLLPANE=no
11046 DEFAULT_wxUSE_COLOURPICKERCTRL=no
11047 DEFAULT_wxUSE_COMBOBOX=no
11048 DEFAULT_wxUSE_COMBOBOX=no
11049 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
11050 DEFAULT_wxUSE_DATAVIEWCTRL=no
11051 DEFAULT_wxUSE_DATEPICKCTRL=no
11052 DEFAULT_wxUSE_DETECT_SM=no
11053 DEFAULT_wxUSE_DIRPICKERCTRL=no
11054 DEFAULT_wxUSE_DISPLAY=no
11055 DEFAULT_wxUSE_FILECTRL=no
11056 DEFAULT_wxUSE_FILEPICKERCTRL=no
11057 DEFAULT_wxUSE_FONTPICKERCTRL=no
11058 DEFAULT_wxUSE_GAUGE=no
11059 DEFAULT_wxUSE_GRID=no
11060 DEFAULT_wxUSE_HEADERCTRL=no
11061 DEFAULT_wxUSE_HYPERLINKCTRL=no
11062 DEFAULT_wxUSE_IMAGLIST=no
11063 DEFAULT_wxUSE_LISTBOOK=no
11064 DEFAULT_wxUSE_LISTBOX=no
11065 DEFAULT_wxUSE_LISTCTRL=no
11066 DEFAULT_wxUSE_MARKUP=no
11067 DEFAULT_wxUSE_NOTEBOOK=no
11068 DEFAULT_wxUSE_POPUPWIN=no
11069 DEFAULT_wxUSE_RADIOBOX=no
11070 DEFAULT_wxUSE_RADIOBTN=no
11071 DEFAULT_wxUSE_RICHMSGDLG=no
11072 DEFAULT_wxUSE_RICHTOOLTIP=no
11073 DEFAULT_wxUSE_REARRANGECTRL=no
11074 DEFAULT_wxUSE_SASH=no
11075 DEFAULT_wxUSE_SCROLLBAR=no
11076 DEFAULT_wxUSE_SEARCHCTRL=no
11077 DEFAULT_wxUSE_SLIDER=no
11078 DEFAULT_wxUSE_SPINBTN=no
11079 DEFAULT_wxUSE_SPINCTRL=no
11080 DEFAULT_wxUSE_SPLITTER=no
11081 DEFAULT_wxUSE_STATBMP=no
11082 DEFAULT_wxUSE_STATBOX=no
11083 DEFAULT_wxUSE_STATLINE=no
11084 DEFAULT_wxUSE_STATUSBAR=no
11085 DEFAULT_wxUSE_TIMEPICKCTRL=no
11086 DEFAULT_wxUSE_TIPWINDOW=no
11087 DEFAULT_wxUSE_TOGGLEBTN=no
11088 DEFAULT_wxUSE_TOOLBAR=no
11089 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11090 DEFAULT_wxUSE_TOOLBOOK=no
11091 DEFAULT_wxUSE_TOOLTIPS=no
11092 DEFAULT_wxUSE_TREEBOOK=no
11093 DEFAULT_wxUSE_TREECTRL=no
11094 DEFAULT_wxUSE_TREELISTCTRL=no
11095 fi
11096
11097
11098 enablestring=
11099 defaultval=$wxUSE_ALL_FEATURES
11100 if test -z "$defaultval"; then
11101 if test x"$enablestring" = xdisable; then
11102 defaultval=yes
11103 else
11104 defaultval=no
11105 fi
11106 fi
11107
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11109 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11110 # Check whether --enable-markup was given.
11111 if test "${enable_markup+set}" = set; then :
11112 enableval=$enable_markup;
11113 if test "$enableval" = yes; then
11114 wx_cv_use_markup='wxUSE_MARKUP=yes'
11115 else
11116 wx_cv_use_markup='wxUSE_MARKUP=no'
11117 fi
11118
11119 else
11120
11121 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11122
11123 fi
11124
11125
11126 eval "$wx_cv_use_markup"
11127
11128 if test x"$enablestring" = xdisable; then
11129 if test $wxUSE_MARKUP = no; then
11130 result=yes
11131 else
11132 result=no
11133 fi
11134 else
11135 result=$wxUSE_MARKUP
11136 fi
11137
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11139 $as_echo "$result" >&6; }
11140
11141
11142
11143 enablestring=
11144 defaultval=$wxUSE_ALL_FEATURES
11145 if test -z "$defaultval"; then
11146 if test x"$enablestring" = xdisable; then
11147 defaultval=yes
11148 else
11149 defaultval=no
11150 fi
11151 fi
11152
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11154 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11155 # Check whether --enable-accel was given.
11156 if test "${enable_accel+set}" = set; then :
11157 enableval=$enable_accel;
11158 if test "$enableval" = yes; then
11159 wx_cv_use_accel='wxUSE_ACCEL=yes'
11160 else
11161 wx_cv_use_accel='wxUSE_ACCEL=no'
11162 fi
11163
11164 else
11165
11166 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11167
11168 fi
11169
11170
11171 eval "$wx_cv_use_accel"
11172
11173 if test x"$enablestring" = xdisable; then
11174 if test $wxUSE_ACCEL = no; then
11175 result=yes
11176 else
11177 result=no
11178 fi
11179 else
11180 result=$wxUSE_ACCEL
11181 fi
11182
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11184 $as_echo "$result" >&6; }
11185
11186
11187 enablestring=
11188 defaultval=$wxUSE_ALL_FEATURES
11189 if test -z "$defaultval"; then
11190 if test x"$enablestring" = xdisable; then
11191 defaultval=yes
11192 else
11193 defaultval=no
11194 fi
11195 fi
11196
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11198 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11199 # Check whether --enable-animatectrl was given.
11200 if test "${enable_animatectrl+set}" = set; then :
11201 enableval=$enable_animatectrl;
11202 if test "$enableval" = yes; then
11203 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11204 else
11205 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11206 fi
11207
11208 else
11209
11210 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11211
11212 fi
11213
11214
11215 eval "$wx_cv_use_animatectrl"
11216
11217 if test x"$enablestring" = xdisable; then
11218 if test $wxUSE_ANIMATIONCTRL = no; then
11219 result=yes
11220 else
11221 result=no
11222 fi
11223 else
11224 result=$wxUSE_ANIMATIONCTRL
11225 fi
11226
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11228 $as_echo "$result" >&6; }
11229
11230
11231 enablestring=
11232 defaultval=$wxUSE_ALL_FEATURES
11233 if test -z "$defaultval"; then
11234 if test x"$enablestring" = xdisable; then
11235 defaultval=yes
11236 else
11237 defaultval=no
11238 fi
11239 fi
11240
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11242 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11243 # Check whether --enable-bannerwindow was given.
11244 if test "${enable_bannerwindow+set}" = set; then :
11245 enableval=$enable_bannerwindow;
11246 if test "$enableval" = yes; then
11247 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11248 else
11249 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11250 fi
11251
11252 else
11253
11254 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11255
11256 fi
11257
11258
11259 eval "$wx_cv_use_bannerwindow"
11260
11261 if test x"$enablestring" = xdisable; then
11262 if test $wxUSE_BANNERWINDOW = no; then
11263 result=yes
11264 else
11265 result=no
11266 fi
11267 else
11268 result=$wxUSE_BANNERWINDOW
11269 fi
11270
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11272 $as_echo "$result" >&6; }
11273
11274
11275 enablestring=
11276 defaultval=$wxUSE_ALL_FEATURES
11277 if test -z "$defaultval"; then
11278 if test x"$enablestring" = xdisable; then
11279 defaultval=yes
11280 else
11281 defaultval=no
11282 fi
11283 fi
11284
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11286 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11287 # Check whether --enable-artstd was given.
11288 if test "${enable_artstd+set}" = set; then :
11289 enableval=$enable_artstd;
11290 if test "$enableval" = yes; then
11291 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11292 else
11293 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11294 fi
11295
11296 else
11297
11298 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11299
11300 fi
11301
11302
11303 eval "$wx_cv_use_artstd"
11304
11305 if test x"$enablestring" = xdisable; then
11306 if test $wxUSE_ARTPROVIDER_STD = no; then
11307 result=yes
11308 else
11309 result=no
11310 fi
11311 else
11312 result=$wxUSE_ARTPROVIDER_STD
11313 fi
11314
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11316 $as_echo "$result" >&6; }
11317
11318
11319 enablestring=
11320 defaultval=$wxUSE_ALL_FEATURES
11321 if test -z "$defaultval"; then
11322 if test x"$enablestring" = xdisable; then
11323 defaultval=yes
11324 else
11325 defaultval=no
11326 fi
11327 fi
11328
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11330 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11331 # Check whether --enable-arttango was given.
11332 if test "${enable_arttango+set}" = set; then :
11333 enableval=$enable_arttango;
11334 if test "$enableval" = yes; then
11335 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11336 else
11337 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11338 fi
11339
11340 else
11341
11342 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11343
11344 fi
11345
11346
11347 eval "$wx_cv_use_arttango"
11348
11349 if test x"$enablestring" = xdisable; then
11350 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11351 result=yes
11352 else
11353 result=no
11354 fi
11355 else
11356 result=$wxUSE_ARTPROVIDER_TANGO
11357 fi
11358
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11360 $as_echo "$result" >&6; }
11361
11362
11363 enablestring=
11364 defaultval=$wxUSE_ALL_FEATURES
11365 if test -z "$defaultval"; then
11366 if test x"$enablestring" = xdisable; then
11367 defaultval=yes
11368 else
11369 defaultval=no
11370 fi
11371 fi
11372
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11374 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11375 # Check whether --enable-bmpbutton was given.
11376 if test "${enable_bmpbutton+set}" = set; then :
11377 enableval=$enable_bmpbutton;
11378 if test "$enableval" = yes; then
11379 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11380 else
11381 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11382 fi
11383
11384 else
11385
11386 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11387
11388 fi
11389
11390
11391 eval "$wx_cv_use_bmpbutton"
11392
11393 if test x"$enablestring" = xdisable; then
11394 if test $wxUSE_BMPBUTTON = no; then
11395 result=yes
11396 else
11397 result=no
11398 fi
11399 else
11400 result=$wxUSE_BMPBUTTON
11401 fi
11402
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11404 $as_echo "$result" >&6; }
11405
11406
11407 enablestring=
11408 defaultval=$wxUSE_ALL_FEATURES
11409 if test -z "$defaultval"; then
11410 if test x"$enablestring" = xdisable; then
11411 defaultval=yes
11412 else
11413 defaultval=no
11414 fi
11415 fi
11416
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11418 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11419 # Check whether --enable-bmpcombobox was given.
11420 if test "${enable_bmpcombobox+set}" = set; then :
11421 enableval=$enable_bmpcombobox;
11422 if test "$enableval" = yes; then
11423 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11424 else
11425 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11426 fi
11427
11428 else
11429
11430 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11431
11432 fi
11433
11434
11435 eval "$wx_cv_use_bmpcombobox"
11436
11437 if test x"$enablestring" = xdisable; then
11438 if test $wxUSE_BITMAPCOMBOBOX = no; then
11439 result=yes
11440 else
11441 result=no
11442 fi
11443 else
11444 result=$wxUSE_BITMAPCOMBOBOX
11445 fi
11446
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11448 $as_echo "$result" >&6; }
11449
11450
11451 enablestring=
11452 defaultval=$wxUSE_ALL_FEATURES
11453 if test -z "$defaultval"; then
11454 if test x"$enablestring" = xdisable; then
11455 defaultval=yes
11456 else
11457 defaultval=no
11458 fi
11459 fi
11460
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11462 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11463 # Check whether --enable-button was given.
11464 if test "${enable_button+set}" = set; then :
11465 enableval=$enable_button;
11466 if test "$enableval" = yes; then
11467 wx_cv_use_button='wxUSE_BUTTON=yes'
11468 else
11469 wx_cv_use_button='wxUSE_BUTTON=no'
11470 fi
11471
11472 else
11473
11474 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11475
11476 fi
11477
11478
11479 eval "$wx_cv_use_button"
11480
11481 if test x"$enablestring" = xdisable; then
11482 if test $wxUSE_BUTTON = no; then
11483 result=yes
11484 else
11485 result=no
11486 fi
11487 else
11488 result=$wxUSE_BUTTON
11489 fi
11490
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11492 $as_echo "$result" >&6; }
11493
11494
11495 enablestring=
11496 defaultval=$wxUSE_ALL_FEATURES
11497 if test -z "$defaultval"; then
11498 if test x"$enablestring" = xdisable; then
11499 defaultval=yes
11500 else
11501 defaultval=no
11502 fi
11503 fi
11504
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11506 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11507 # Check whether --enable-calendar was given.
11508 if test "${enable_calendar+set}" = set; then :
11509 enableval=$enable_calendar;
11510 if test "$enableval" = yes; then
11511 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11512 else
11513 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11514 fi
11515
11516 else
11517
11518 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11519
11520 fi
11521
11522
11523 eval "$wx_cv_use_calendar"
11524
11525 if test x"$enablestring" = xdisable; then
11526 if test $wxUSE_CALCTRL = no; then
11527 result=yes
11528 else
11529 result=no
11530 fi
11531 else
11532 result=$wxUSE_CALCTRL
11533 fi
11534
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11536 $as_echo "$result" >&6; }
11537
11538
11539 enablestring=
11540 defaultval=$wxUSE_ALL_FEATURES
11541 if test -z "$defaultval"; then
11542 if test x"$enablestring" = xdisable; then
11543 defaultval=yes
11544 else
11545 defaultval=no
11546 fi
11547 fi
11548
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11550 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11551 # Check whether --enable-caret was given.
11552 if test "${enable_caret+set}" = set; then :
11553 enableval=$enable_caret;
11554 if test "$enableval" = yes; then
11555 wx_cv_use_caret='wxUSE_CARET=yes'
11556 else
11557 wx_cv_use_caret='wxUSE_CARET=no'
11558 fi
11559
11560 else
11561
11562 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11563
11564 fi
11565
11566
11567 eval "$wx_cv_use_caret"
11568
11569 if test x"$enablestring" = xdisable; then
11570 if test $wxUSE_CARET = no; then
11571 result=yes
11572 else
11573 result=no
11574 fi
11575 else
11576 result=$wxUSE_CARET
11577 fi
11578
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11580 $as_echo "$result" >&6; }
11581
11582
11583 enablestring=
11584 defaultval=$wxUSE_ALL_FEATURES
11585 if test -z "$defaultval"; then
11586 if test x"$enablestring" = xdisable; then
11587 defaultval=yes
11588 else
11589 defaultval=no
11590 fi
11591 fi
11592
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11594 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11595 # Check whether --enable-checkbox was given.
11596 if test "${enable_checkbox+set}" = set; then :
11597 enableval=$enable_checkbox;
11598 if test "$enableval" = yes; then
11599 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11600 else
11601 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11602 fi
11603
11604 else
11605
11606 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11607
11608 fi
11609
11610
11611 eval "$wx_cv_use_checkbox"
11612
11613 if test x"$enablestring" = xdisable; then
11614 if test $wxUSE_CHECKBOX = no; then
11615 result=yes
11616 else
11617 result=no
11618 fi
11619 else
11620 result=$wxUSE_CHECKBOX
11621 fi
11622
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11624 $as_echo "$result" >&6; }
11625
11626
11627 enablestring=
11628 defaultval=$wxUSE_ALL_FEATURES
11629 if test -z "$defaultval"; then
11630 if test x"$enablestring" = xdisable; then
11631 defaultval=yes
11632 else
11633 defaultval=no
11634 fi
11635 fi
11636
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11638 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11639 # Check whether --enable-checklst was given.
11640 if test "${enable_checklst+set}" = set; then :
11641 enableval=$enable_checklst;
11642 if test "$enableval" = yes; then
11643 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11644 else
11645 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11646 fi
11647
11648 else
11649
11650 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11651
11652 fi
11653
11654
11655 eval "$wx_cv_use_checklst"
11656
11657 if test x"$enablestring" = xdisable; then
11658 if test $wxUSE_CHECKLST = no; then
11659 result=yes
11660 else
11661 result=no
11662 fi
11663 else
11664 result=$wxUSE_CHECKLST
11665 fi
11666
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11668 $as_echo "$result" >&6; }
11669
11670
11671 enablestring=
11672 defaultval=$wxUSE_ALL_FEATURES
11673 if test -z "$defaultval"; then
11674 if test x"$enablestring" = xdisable; then
11675 defaultval=yes
11676 else
11677 defaultval=no
11678 fi
11679 fi
11680
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11682 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11683 # Check whether --enable-choice was given.
11684 if test "${enable_choice+set}" = set; then :
11685 enableval=$enable_choice;
11686 if test "$enableval" = yes; then
11687 wx_cv_use_choice='wxUSE_CHOICE=yes'
11688 else
11689 wx_cv_use_choice='wxUSE_CHOICE=no'
11690 fi
11691
11692 else
11693
11694 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11695
11696 fi
11697
11698
11699 eval "$wx_cv_use_choice"
11700
11701 if test x"$enablestring" = xdisable; then
11702 if test $wxUSE_CHOICE = no; then
11703 result=yes
11704 else
11705 result=no
11706 fi
11707 else
11708 result=$wxUSE_CHOICE
11709 fi
11710
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11712 $as_echo "$result" >&6; }
11713
11714
11715 enablestring=
11716 defaultval=$wxUSE_ALL_FEATURES
11717 if test -z "$defaultval"; then
11718 if test x"$enablestring" = xdisable; then
11719 defaultval=yes
11720 else
11721 defaultval=no
11722 fi
11723 fi
11724
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11726 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11727 # Check whether --enable-choicebook was given.
11728 if test "${enable_choicebook+set}" = set; then :
11729 enableval=$enable_choicebook;
11730 if test "$enableval" = yes; then
11731 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11732 else
11733 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11734 fi
11735
11736 else
11737
11738 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11739
11740 fi
11741
11742
11743 eval "$wx_cv_use_choicebook"
11744
11745 if test x"$enablestring" = xdisable; then
11746 if test $wxUSE_CHOICEBOOK = no; then
11747 result=yes
11748 else
11749 result=no
11750 fi
11751 else
11752 result=$wxUSE_CHOICEBOOK
11753 fi
11754
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11756 $as_echo "$result" >&6; }
11757
11758
11759 enablestring=
11760 defaultval=$wxUSE_ALL_FEATURES
11761 if test -z "$defaultval"; then
11762 if test x"$enablestring" = xdisable; then
11763 defaultval=yes
11764 else
11765 defaultval=no
11766 fi
11767 fi
11768
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11770 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11771 # Check whether --enable-collpane was given.
11772 if test "${enable_collpane+set}" = set; then :
11773 enableval=$enable_collpane;
11774 if test "$enableval" = yes; then
11775 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11776 else
11777 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11778 fi
11779
11780 else
11781
11782 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11783
11784 fi
11785
11786
11787 eval "$wx_cv_use_collpane"
11788
11789 if test x"$enablestring" = xdisable; then
11790 if test $wxUSE_COLLPANE = no; then
11791 result=yes
11792 else
11793 result=no
11794 fi
11795 else
11796 result=$wxUSE_COLLPANE
11797 fi
11798
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11800 $as_echo "$result" >&6; }
11801
11802
11803 enablestring=
11804 defaultval=$wxUSE_ALL_FEATURES
11805 if test -z "$defaultval"; then
11806 if test x"$enablestring" = xdisable; then
11807 defaultval=yes
11808 else
11809 defaultval=no
11810 fi
11811 fi
11812
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11814 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11815 # Check whether --enable-colourpicker was given.
11816 if test "${enable_colourpicker+set}" = set; then :
11817 enableval=$enable_colourpicker;
11818 if test "$enableval" = yes; then
11819 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11820 else
11821 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11822 fi
11823
11824 else
11825
11826 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11827
11828 fi
11829
11830
11831 eval "$wx_cv_use_colourpicker"
11832
11833 if test x"$enablestring" = xdisable; then
11834 if test $wxUSE_COLOURPICKERCTRL = no; then
11835 result=yes
11836 else
11837 result=no
11838 fi
11839 else
11840 result=$wxUSE_COLOURPICKERCTRL
11841 fi
11842
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11844 $as_echo "$result" >&6; }
11845
11846
11847 enablestring=
11848 defaultval=$wxUSE_ALL_FEATURES
11849 if test -z "$defaultval"; then
11850 if test x"$enablestring" = xdisable; then
11851 defaultval=yes
11852 else
11853 defaultval=no
11854 fi
11855 fi
11856
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11858 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11859 # Check whether --enable-combobox was given.
11860 if test "${enable_combobox+set}" = set; then :
11861 enableval=$enable_combobox;
11862 if test "$enableval" = yes; then
11863 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11864 else
11865 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11866 fi
11867
11868 else
11869
11870 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11871
11872 fi
11873
11874
11875 eval "$wx_cv_use_combobox"
11876
11877 if test x"$enablestring" = xdisable; then
11878 if test $wxUSE_COMBOBOX = no; then
11879 result=yes
11880 else
11881 result=no
11882 fi
11883 else
11884 result=$wxUSE_COMBOBOX
11885 fi
11886
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11888 $as_echo "$result" >&6; }
11889
11890
11891 enablestring=
11892 defaultval=$wxUSE_ALL_FEATURES
11893 if test -z "$defaultval"; then
11894 if test x"$enablestring" = xdisable; then
11895 defaultval=yes
11896 else
11897 defaultval=no
11898 fi
11899 fi
11900
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11902 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11903 # Check whether --enable-comboctrl was given.
11904 if test "${enable_comboctrl+set}" = set; then :
11905 enableval=$enable_comboctrl;
11906 if test "$enableval" = yes; then
11907 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11908 else
11909 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11910 fi
11911
11912 else
11913
11914 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11915
11916 fi
11917
11918
11919 eval "$wx_cv_use_comboctrl"
11920
11921 if test x"$enablestring" = xdisable; then
11922 if test $wxUSE_COMBOCTRL = no; then
11923 result=yes
11924 else
11925 result=no
11926 fi
11927 else
11928 result=$wxUSE_COMBOCTRL
11929 fi
11930
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11932 $as_echo "$result" >&6; }
11933
11934
11935 enablestring=
11936 defaultval=$wxUSE_ALL_FEATURES
11937 if test -z "$defaultval"; then
11938 if test x"$enablestring" = xdisable; then
11939 defaultval=yes
11940 else
11941 defaultval=no
11942 fi
11943 fi
11944
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
11946 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
11947 # Check whether --enable-commandlinkbutton was given.
11948 if test "${enable_commandlinkbutton+set}" = set; then :
11949 enableval=$enable_commandlinkbutton;
11950 if test "$enableval" = yes; then
11951 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
11952 else
11953 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
11954 fi
11955
11956 else
11957
11958 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11959
11960 fi
11961
11962
11963 eval "$wx_cv_use_commandlinkbutton"
11964
11965 if test x"$enablestring" = xdisable; then
11966 if test $wxUSE_COMMANDLINKBUTTON = no; then
11967 result=yes
11968 else
11969 result=no
11970 fi
11971 else
11972 result=$wxUSE_COMMANDLINKBUTTON
11973 fi
11974
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11976 $as_echo "$result" >&6; }
11977
11978
11979 enablestring=
11980 defaultval=$wxUSE_ALL_FEATURES
11981 if test -z "$defaultval"; then
11982 if test x"$enablestring" = xdisable; then
11983 defaultval=yes
11984 else
11985 defaultval=no
11986 fi
11987 fi
11988
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
11990 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
11991 # Check whether --enable-dataviewctrl was given.
11992 if test "${enable_dataviewctrl+set}" = set; then :
11993 enableval=$enable_dataviewctrl;
11994 if test "$enableval" = yes; then
11995 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11996 else
11997 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11998 fi
11999
12000 else
12001
12002 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12003
12004 fi
12005
12006
12007 eval "$wx_cv_use_dataviewctrl"
12008
12009 if test x"$enablestring" = xdisable; then
12010 if test $wxUSE_DATAVIEWCTRL = no; then
12011 result=yes
12012 else
12013 result=no
12014 fi
12015 else
12016 result=$wxUSE_DATAVIEWCTRL
12017 fi
12018
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12020 $as_echo "$result" >&6; }
12021
12022
12023 enablestring=
12024 defaultval=$wxUSE_ALL_FEATURES
12025 if test -z "$defaultval"; then
12026 if test x"$enablestring" = xdisable; then
12027 defaultval=yes
12028 else
12029 defaultval=no
12030 fi
12031 fi
12032
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
12034 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
12035 # Check whether --enable-datepick was given.
12036 if test "${enable_datepick+set}" = set; then :
12037 enableval=$enable_datepick;
12038 if test "$enableval" = yes; then
12039 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
12040 else
12041 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
12042 fi
12043
12044 else
12045
12046 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
12047
12048 fi
12049
12050
12051 eval "$wx_cv_use_datepick"
12052
12053 if test x"$enablestring" = xdisable; then
12054 if test $wxUSE_DATEPICKCTRL = no; then
12055 result=yes
12056 else
12057 result=no
12058 fi
12059 else
12060 result=$wxUSE_DATEPICKCTRL
12061 fi
12062
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12064 $as_echo "$result" >&6; }
12065
12066
12067 enablestring=
12068 defaultval=$wxUSE_ALL_FEATURES
12069 if test -z "$defaultval"; then
12070 if test x"$enablestring" = xdisable; then
12071 defaultval=yes
12072 else
12073 defaultval=no
12074 fi
12075 fi
12076
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
12078 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
12079 # Check whether --enable-detect_sm was given.
12080 if test "${enable_detect_sm+set}" = set; then :
12081 enableval=$enable_detect_sm;
12082 if test "$enableval" = yes; then
12083 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12084 else
12085 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12086 fi
12087
12088 else
12089
12090 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12091
12092 fi
12093
12094
12095 eval "$wx_cv_use_detect_sm"
12096
12097 if test x"$enablestring" = xdisable; then
12098 if test $wxUSE_DETECT_SM = no; then
12099 result=yes
12100 else
12101 result=no
12102 fi
12103 else
12104 result=$wxUSE_DETECT_SM
12105 fi
12106
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12108 $as_echo "$result" >&6; }
12109
12110
12111 enablestring=
12112 defaultval=$wxUSE_ALL_FEATURES
12113 if test -z "$defaultval"; then
12114 if test x"$enablestring" = xdisable; then
12115 defaultval=yes
12116 else
12117 defaultval=no
12118 fi
12119 fi
12120
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12122 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12123 # Check whether --enable-dirpicker was given.
12124 if test "${enable_dirpicker+set}" = set; then :
12125 enableval=$enable_dirpicker;
12126 if test "$enableval" = yes; then
12127 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12128 else
12129 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12130 fi
12131
12132 else
12133
12134 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12135
12136 fi
12137
12138
12139 eval "$wx_cv_use_dirpicker"
12140
12141 if test x"$enablestring" = xdisable; then
12142 if test $wxUSE_DIRPICKERCTRL = no; then
12143 result=yes
12144 else
12145 result=no
12146 fi
12147 else
12148 result=$wxUSE_DIRPICKERCTRL
12149 fi
12150
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12152 $as_echo "$result" >&6; }
12153
12154
12155 enablestring=
12156 defaultval=$wxUSE_ALL_FEATURES
12157 if test -z "$defaultval"; then
12158 if test x"$enablestring" = xdisable; then
12159 defaultval=yes
12160 else
12161 defaultval=no
12162 fi
12163 fi
12164
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12166 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12167 # Check whether --enable-display was given.
12168 if test "${enable_display+set}" = set; then :
12169 enableval=$enable_display;
12170 if test "$enableval" = yes; then
12171 wx_cv_use_display='wxUSE_DISPLAY=yes'
12172 else
12173 wx_cv_use_display='wxUSE_DISPLAY=no'
12174 fi
12175
12176 else
12177
12178 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12179
12180 fi
12181
12182
12183 eval "$wx_cv_use_display"
12184
12185 if test x"$enablestring" = xdisable; then
12186 if test $wxUSE_DISPLAY = no; then
12187 result=yes
12188 else
12189 result=no
12190 fi
12191 else
12192 result=$wxUSE_DISPLAY
12193 fi
12194
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12196 $as_echo "$result" >&6; }
12197
12198
12199 enablestring=
12200 defaultval=$wxUSE_ALL_FEATURES
12201 if test -z "$defaultval"; then
12202 if test x"$enablestring" = xdisable; then
12203 defaultval=yes
12204 else
12205 defaultval=no
12206 fi
12207 fi
12208
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12210 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12211 # Check whether --enable-editablebox was given.
12212 if test "${enable_editablebox+set}" = set; then :
12213 enableval=$enable_editablebox;
12214 if test "$enableval" = yes; then
12215 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12216 else
12217 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12218 fi
12219
12220 else
12221
12222 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12223
12224 fi
12225
12226
12227 eval "$wx_cv_use_editablebox"
12228
12229 if test x"$enablestring" = xdisable; then
12230 if test $wxUSE_EDITABLELISTBOX = no; then
12231 result=yes
12232 else
12233 result=no
12234 fi
12235 else
12236 result=$wxUSE_EDITABLELISTBOX
12237 fi
12238
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12240 $as_echo "$result" >&6; }
12241
12242
12243 enablestring=
12244 defaultval=$wxUSE_ALL_FEATURES
12245 if test -z "$defaultval"; then
12246 if test x"$enablestring" = xdisable; then
12247 defaultval=yes
12248 else
12249 defaultval=no
12250 fi
12251 fi
12252
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12254 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12255 # Check whether --enable-filectrl was given.
12256 if test "${enable_filectrl+set}" = set; then :
12257 enableval=$enable_filectrl;
12258 if test "$enableval" = yes; then
12259 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12260 else
12261 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12262 fi
12263
12264 else
12265
12266 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12267
12268 fi
12269
12270
12271 eval "$wx_cv_use_filectrl"
12272
12273 if test x"$enablestring" = xdisable; then
12274 if test $wxUSE_FILECTRL = no; then
12275 result=yes
12276 else
12277 result=no
12278 fi
12279 else
12280 result=$wxUSE_FILECTRL
12281 fi
12282
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12284 $as_echo "$result" >&6; }
12285
12286
12287 enablestring=
12288 defaultval=$wxUSE_ALL_FEATURES
12289 if test -z "$defaultval"; then
12290 if test x"$enablestring" = xdisable; then
12291 defaultval=yes
12292 else
12293 defaultval=no
12294 fi
12295 fi
12296
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12298 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12299 # Check whether --enable-filepicker was given.
12300 if test "${enable_filepicker+set}" = set; then :
12301 enableval=$enable_filepicker;
12302 if test "$enableval" = yes; then
12303 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12304 else
12305 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12306 fi
12307
12308 else
12309
12310 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12311
12312 fi
12313
12314
12315 eval "$wx_cv_use_filepicker"
12316
12317 if test x"$enablestring" = xdisable; then
12318 if test $wxUSE_FILEPICKERCTRL = no; then
12319 result=yes
12320 else
12321 result=no
12322 fi
12323 else
12324 result=$wxUSE_FILEPICKERCTRL
12325 fi
12326
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12328 $as_echo "$result" >&6; }
12329
12330
12331 enablestring=
12332 defaultval=$wxUSE_ALL_FEATURES
12333 if test -z "$defaultval"; then
12334 if test x"$enablestring" = xdisable; then
12335 defaultval=yes
12336 else
12337 defaultval=no
12338 fi
12339 fi
12340
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12342 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12343 # Check whether --enable-fontpicker was given.
12344 if test "${enable_fontpicker+set}" = set; then :
12345 enableval=$enable_fontpicker;
12346 if test "$enableval" = yes; then
12347 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12348 else
12349 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12350 fi
12351
12352 else
12353
12354 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12355
12356 fi
12357
12358
12359 eval "$wx_cv_use_fontpicker"
12360
12361 if test x"$enablestring" = xdisable; then
12362 if test $wxUSE_FONTPICKERCTRL = no; then
12363 result=yes
12364 else
12365 result=no
12366 fi
12367 else
12368 result=$wxUSE_FONTPICKERCTRL
12369 fi
12370
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12372 $as_echo "$result" >&6; }
12373
12374
12375 enablestring=
12376 defaultval=$wxUSE_ALL_FEATURES
12377 if test -z "$defaultval"; then
12378 if test x"$enablestring" = xdisable; then
12379 defaultval=yes
12380 else
12381 defaultval=no
12382 fi
12383 fi
12384
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12386 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12387 # Check whether --enable-gauge was given.
12388 if test "${enable_gauge+set}" = set; then :
12389 enableval=$enable_gauge;
12390 if test "$enableval" = yes; then
12391 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12392 else
12393 wx_cv_use_gauge='wxUSE_GAUGE=no'
12394 fi
12395
12396 else
12397
12398 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12399
12400 fi
12401
12402
12403 eval "$wx_cv_use_gauge"
12404
12405 if test x"$enablestring" = xdisable; then
12406 if test $wxUSE_GAUGE = no; then
12407 result=yes
12408 else
12409 result=no
12410 fi
12411 else
12412 result=$wxUSE_GAUGE
12413 fi
12414
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12416 $as_echo "$result" >&6; }
12417
12418
12419 enablestring=
12420 defaultval=$wxUSE_ALL_FEATURES
12421 if test -z "$defaultval"; then
12422 if test x"$enablestring" = xdisable; then
12423 defaultval=yes
12424 else
12425 defaultval=no
12426 fi
12427 fi
12428
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12430 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12431 # Check whether --enable-grid was given.
12432 if test "${enable_grid+set}" = set; then :
12433 enableval=$enable_grid;
12434 if test "$enableval" = yes; then
12435 wx_cv_use_grid='wxUSE_GRID=yes'
12436 else
12437 wx_cv_use_grid='wxUSE_GRID=no'
12438 fi
12439
12440 else
12441
12442 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12443
12444 fi
12445
12446
12447 eval "$wx_cv_use_grid"
12448
12449 if test x"$enablestring" = xdisable; then
12450 if test $wxUSE_GRID = no; then
12451 result=yes
12452 else
12453 result=no
12454 fi
12455 else
12456 result=$wxUSE_GRID
12457 fi
12458
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12460 $as_echo "$result" >&6; }
12461
12462
12463 enablestring=
12464 defaultval=$wxUSE_ALL_FEATURES
12465 if test -z "$defaultval"; then
12466 if test x"$enablestring" = xdisable; then
12467 defaultval=yes
12468 else
12469 defaultval=no
12470 fi
12471 fi
12472
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12474 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12475 # Check whether --enable-headerctrl was given.
12476 if test "${enable_headerctrl+set}" = set; then :
12477 enableval=$enable_headerctrl;
12478 if test "$enableval" = yes; then
12479 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12480 else
12481 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12482 fi
12483
12484 else
12485
12486 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12487
12488 fi
12489
12490
12491 eval "$wx_cv_use_headerctrl"
12492
12493 if test x"$enablestring" = xdisable; then
12494 if test $wxUSE_HEADERCTRL = no; then
12495 result=yes
12496 else
12497 result=no
12498 fi
12499 else
12500 result=$wxUSE_HEADERCTRL
12501 fi
12502
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12504 $as_echo "$result" >&6; }
12505
12506
12507 enablestring=
12508 defaultval=$wxUSE_ALL_FEATURES
12509 if test -z "$defaultval"; then
12510 if test x"$enablestring" = xdisable; then
12511 defaultval=yes
12512 else
12513 defaultval=no
12514 fi
12515 fi
12516
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12518 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12519 # Check whether --enable-hyperlink was given.
12520 if test "${enable_hyperlink+set}" = set; then :
12521 enableval=$enable_hyperlink;
12522 if test "$enableval" = yes; then
12523 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12524 else
12525 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12526 fi
12527
12528 else
12529
12530 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12531
12532 fi
12533
12534
12535 eval "$wx_cv_use_hyperlink"
12536
12537 if test x"$enablestring" = xdisable; then
12538 if test $wxUSE_HYPERLINKCTRL = no; then
12539 result=yes
12540 else
12541 result=no
12542 fi
12543 else
12544 result=$wxUSE_HYPERLINKCTRL
12545 fi
12546
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12548 $as_echo "$result" >&6; }
12549
12550
12551 enablestring=
12552 defaultval=$wxUSE_ALL_FEATURES
12553 if test -z "$defaultval"; then
12554 if test x"$enablestring" = xdisable; then
12555 defaultval=yes
12556 else
12557 defaultval=no
12558 fi
12559 fi
12560
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12562 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12563 # Check whether --enable-imaglist was given.
12564 if test "${enable_imaglist+set}" = set; then :
12565 enableval=$enable_imaglist;
12566 if test "$enableval" = yes; then
12567 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12568 else
12569 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12570 fi
12571
12572 else
12573
12574 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12575
12576 fi
12577
12578
12579 eval "$wx_cv_use_imaglist"
12580
12581 if test x"$enablestring" = xdisable; then
12582 if test $wxUSE_IMAGLIST = no; then
12583 result=yes
12584 else
12585 result=no
12586 fi
12587 else
12588 result=$wxUSE_IMAGLIST
12589 fi
12590
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12592 $as_echo "$result" >&6; }
12593
12594
12595 enablestring=
12596 defaultval=$wxUSE_ALL_FEATURES
12597 if test -z "$defaultval"; then
12598 if test x"$enablestring" = xdisable; then
12599 defaultval=yes
12600 else
12601 defaultval=no
12602 fi
12603 fi
12604
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12606 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12607 # Check whether --enable-infobar was given.
12608 if test "${enable_infobar+set}" = set; then :
12609 enableval=$enable_infobar;
12610 if test "$enableval" = yes; then
12611 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12612 else
12613 wx_cv_use_infobar='wxUSE_INFOBAR=no'
12614 fi
12615
12616 else
12617
12618 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12619
12620 fi
12621
12622
12623 eval "$wx_cv_use_infobar"
12624
12625 if test x"$enablestring" = xdisable; then
12626 if test $wxUSE_INFOBAR = no; then
12627 result=yes
12628 else
12629 result=no
12630 fi
12631 else
12632 result=$wxUSE_INFOBAR
12633 fi
12634
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12636 $as_echo "$result" >&6; }
12637
12638
12639 enablestring=
12640 defaultval=$wxUSE_ALL_FEATURES
12641 if test -z "$defaultval"; then
12642 if test x"$enablestring" = xdisable; then
12643 defaultval=yes
12644 else
12645 defaultval=no
12646 fi
12647 fi
12648
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12650 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12651 # Check whether --enable-listbook was given.
12652 if test "${enable_listbook+set}" = set; then :
12653 enableval=$enable_listbook;
12654 if test "$enableval" = yes; then
12655 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12656 else
12657 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12658 fi
12659
12660 else
12661
12662 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12663
12664 fi
12665
12666
12667 eval "$wx_cv_use_listbook"
12668
12669 if test x"$enablestring" = xdisable; then
12670 if test $wxUSE_LISTBOOK = no; then
12671 result=yes
12672 else
12673 result=no
12674 fi
12675 else
12676 result=$wxUSE_LISTBOOK
12677 fi
12678
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12680 $as_echo "$result" >&6; }
12681
12682
12683 enablestring=
12684 defaultval=$wxUSE_ALL_FEATURES
12685 if test -z "$defaultval"; then
12686 if test x"$enablestring" = xdisable; then
12687 defaultval=yes
12688 else
12689 defaultval=no
12690 fi
12691 fi
12692
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12694 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12695 # Check whether --enable-listbox was given.
12696 if test "${enable_listbox+set}" = set; then :
12697 enableval=$enable_listbox;
12698 if test "$enableval" = yes; then
12699 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12700 else
12701 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12702 fi
12703
12704 else
12705
12706 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12707
12708 fi
12709
12710
12711 eval "$wx_cv_use_listbox"
12712
12713 if test x"$enablestring" = xdisable; then
12714 if test $wxUSE_LISTBOX = no; then
12715 result=yes
12716 else
12717 result=no
12718 fi
12719 else
12720 result=$wxUSE_LISTBOX
12721 fi
12722
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12724 $as_echo "$result" >&6; }
12725
12726
12727 enablestring=
12728 defaultval=$wxUSE_ALL_FEATURES
12729 if test -z "$defaultval"; then
12730 if test x"$enablestring" = xdisable; then
12731 defaultval=yes
12732 else
12733 defaultval=no
12734 fi
12735 fi
12736
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12738 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12739 # Check whether --enable-listctrl was given.
12740 if test "${enable_listctrl+set}" = set; then :
12741 enableval=$enable_listctrl;
12742 if test "$enableval" = yes; then
12743 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12744 else
12745 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12746 fi
12747
12748 else
12749
12750 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12751
12752 fi
12753
12754
12755 eval "$wx_cv_use_listctrl"
12756
12757 if test x"$enablestring" = xdisable; then
12758 if test $wxUSE_LISTCTRL = no; then
12759 result=yes
12760 else
12761 result=no
12762 fi
12763 else
12764 result=$wxUSE_LISTCTRL
12765 fi
12766
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12768 $as_echo "$result" >&6; }
12769
12770
12771 enablestring=
12772 defaultval=$wxUSE_ALL_FEATURES
12773 if test -z "$defaultval"; then
12774 if test x"$enablestring" = xdisable; then
12775 defaultval=yes
12776 else
12777 defaultval=no
12778 fi
12779 fi
12780
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12782 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12783 # Check whether --enable-notebook was given.
12784 if test "${enable_notebook+set}" = set; then :
12785 enableval=$enable_notebook;
12786 if test "$enableval" = yes; then
12787 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12788 else
12789 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12790 fi
12791
12792 else
12793
12794 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12795
12796 fi
12797
12798
12799 eval "$wx_cv_use_notebook"
12800
12801 if test x"$enablestring" = xdisable; then
12802 if test $wxUSE_NOTEBOOK = no; then
12803 result=yes
12804 else
12805 result=no
12806 fi
12807 else
12808 result=$wxUSE_NOTEBOOK
12809 fi
12810
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12812 $as_echo "$result" >&6; }
12813
12814
12815 enablestring=
12816 defaultval=$wxUSE_ALL_FEATURES
12817 if test -z "$defaultval"; then
12818 if test x"$enablestring" = xdisable; then
12819 defaultval=yes
12820 else
12821 defaultval=no
12822 fi
12823 fi
12824
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12826 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12827 # Check whether --enable-notifmsg was given.
12828 if test "${enable_notifmsg+set}" = set; then :
12829 enableval=$enable_notifmsg;
12830 if test "$enableval" = yes; then
12831 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12832 else
12833 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12834 fi
12835
12836 else
12837
12838 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12839
12840 fi
12841
12842
12843 eval "$wx_cv_use_notifmsg"
12844
12845 if test x"$enablestring" = xdisable; then
12846 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12847 result=yes
12848 else
12849 result=no
12850 fi
12851 else
12852 result=$wxUSE_NOTIFICATION_MESSAGE
12853 fi
12854
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12856 $as_echo "$result" >&6; }
12857
12858
12859 enablestring=
12860 defaultval=$wxUSE_ALL_FEATURES
12861 if test -z "$defaultval"; then
12862 if test x"$enablestring" = xdisable; then
12863 defaultval=yes
12864 else
12865 defaultval=no
12866 fi
12867 fi
12868
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12870 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12871 # Check whether --enable-odcombobox was given.
12872 if test "${enable_odcombobox+set}" = set; then :
12873 enableval=$enable_odcombobox;
12874 if test "$enableval" = yes; then
12875 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12876 else
12877 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12878 fi
12879
12880 else
12881
12882 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12883
12884 fi
12885
12886
12887 eval "$wx_cv_use_odcombobox"
12888
12889 if test x"$enablestring" = xdisable; then
12890 if test $wxUSE_ODCOMBOBOX = no; then
12891 result=yes
12892 else
12893 result=no
12894 fi
12895 else
12896 result=$wxUSE_ODCOMBOBOX
12897 fi
12898
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12900 $as_echo "$result" >&6; }
12901
12902
12903 enablestring=
12904 defaultval=$wxUSE_ALL_FEATURES
12905 if test -z "$defaultval"; then
12906 if test x"$enablestring" = xdisable; then
12907 defaultval=yes
12908 else
12909 defaultval=no
12910 fi
12911 fi
12912
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
12914 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
12915 # Check whether --enable-popupwin was given.
12916 if test "${enable_popupwin+set}" = set; then :
12917 enableval=$enable_popupwin;
12918 if test "$enableval" = yes; then
12919 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12920 else
12921 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12922 fi
12923
12924 else
12925
12926 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12927
12928 fi
12929
12930
12931 eval "$wx_cv_use_popupwin"
12932
12933 if test x"$enablestring" = xdisable; then
12934 if test $wxUSE_POPUPWIN = no; then
12935 result=yes
12936 else
12937 result=no
12938 fi
12939 else
12940 result=$wxUSE_POPUPWIN
12941 fi
12942
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12944 $as_echo "$result" >&6; }
12945
12946
12947 enablestring=
12948 defaultval=$wxUSE_ALL_FEATURES
12949 if test -z "$defaultval"; then
12950 if test x"$enablestring" = xdisable; then
12951 defaultval=yes
12952 else
12953 defaultval=no
12954 fi
12955 fi
12956
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
12958 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
12959 # Check whether --enable-radiobox was given.
12960 if test "${enable_radiobox+set}" = set; then :
12961 enableval=$enable_radiobox;
12962 if test "$enableval" = yes; then
12963 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12964 else
12965 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12966 fi
12967
12968 else
12969
12970 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12971
12972 fi
12973
12974
12975 eval "$wx_cv_use_radiobox"
12976
12977 if test x"$enablestring" = xdisable; then
12978 if test $wxUSE_RADIOBOX = no; then
12979 result=yes
12980 else
12981 result=no
12982 fi
12983 else
12984 result=$wxUSE_RADIOBOX
12985 fi
12986
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12988 $as_echo "$result" >&6; }
12989
12990
12991 enablestring=
12992 defaultval=$wxUSE_ALL_FEATURES
12993 if test -z "$defaultval"; then
12994 if test x"$enablestring" = xdisable; then
12995 defaultval=yes
12996 else
12997 defaultval=no
12998 fi
12999 fi
13000
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
13002 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
13003 # Check whether --enable-radiobtn was given.
13004 if test "${enable_radiobtn+set}" = set; then :
13005 enableval=$enable_radiobtn;
13006 if test "$enableval" = yes; then
13007 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
13008 else
13009 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
13010 fi
13011
13012 else
13013
13014 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
13015
13016 fi
13017
13018
13019 eval "$wx_cv_use_radiobtn"
13020
13021 if test x"$enablestring" = xdisable; then
13022 if test $wxUSE_RADIOBTN = no; then
13023 result=yes
13024 else
13025 result=no
13026 fi
13027 else
13028 result=$wxUSE_RADIOBTN
13029 fi
13030
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13032 $as_echo "$result" >&6; }
13033
13034
13035 enablestring=
13036 defaultval=$wxUSE_ALL_FEATURES
13037 if test -z "$defaultval"; then
13038 if test x"$enablestring" = xdisable; then
13039 defaultval=yes
13040 else
13041 defaultval=no
13042 fi
13043 fi
13044
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
13046 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
13047 # Check whether --enable-richmsgdlg was given.
13048 if test "${enable_richmsgdlg+set}" = set; then :
13049 enableval=$enable_richmsgdlg;
13050 if test "$enableval" = yes; then
13051 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
13052 else
13053 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
13054 fi
13055
13056 else
13057
13058 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
13059
13060 fi
13061
13062
13063 eval "$wx_cv_use_richmsgdlg"
13064
13065 if test x"$enablestring" = xdisable; then
13066 if test $wxUSE_RICHMSGDLG = no; then
13067 result=yes
13068 else
13069 result=no
13070 fi
13071 else
13072 result=$wxUSE_RICHMSGDLG
13073 fi
13074
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13076 $as_echo "$result" >&6; }
13077
13078
13079 enablestring=
13080 defaultval=$wxUSE_ALL_FEATURES
13081 if test -z "$defaultval"; then
13082 if test x"$enablestring" = xdisable; then
13083 defaultval=yes
13084 else
13085 defaultval=no
13086 fi
13087 fi
13088
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
13090 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
13091 # Check whether --enable-richtooltip was given.
13092 if test "${enable_richtooltip+set}" = set; then :
13093 enableval=$enable_richtooltip;
13094 if test "$enableval" = yes; then
13095 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
13096 else
13097 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
13098 fi
13099
13100 else
13101
13102 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13103
13104 fi
13105
13106
13107 eval "$wx_cv_use_richtooltip"
13108
13109 if test x"$enablestring" = xdisable; then
13110 if test $wxUSE_RICHTOOLTIP = no; then
13111 result=yes
13112 else
13113 result=no
13114 fi
13115 else
13116 result=$wxUSE_RICHTOOLTIP
13117 fi
13118
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13120 $as_echo "$result" >&6; }
13121
13122
13123 enablestring=
13124 defaultval=$wxUSE_ALL_FEATURES
13125 if test -z "$defaultval"; then
13126 if test x"$enablestring" = xdisable; then
13127 defaultval=yes
13128 else
13129 defaultval=no
13130 fi
13131 fi
13132
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13134 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13135 # Check whether --enable-rearrangectrl was given.
13136 if test "${enable_rearrangectrl+set}" = set; then :
13137 enableval=$enable_rearrangectrl;
13138 if test "$enableval" = yes; then
13139 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13140 else
13141 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13142 fi
13143
13144 else
13145
13146 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13147
13148 fi
13149
13150
13151 eval "$wx_cv_use_rearrangectrl"
13152
13153 if test x"$enablestring" = xdisable; then
13154 if test $wxUSE_REARRANGECTRL = no; then
13155 result=yes
13156 else
13157 result=no
13158 fi
13159 else
13160 result=$wxUSE_REARRANGECTRL
13161 fi
13162
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13164 $as_echo "$result" >&6; }
13165
13166
13167 enablestring=
13168 defaultval=$wxUSE_ALL_FEATURES
13169 if test -z "$defaultval"; then
13170 if test x"$enablestring" = xdisable; then
13171 defaultval=yes
13172 else
13173 defaultval=no
13174 fi
13175 fi
13176
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13178 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13179 # Check whether --enable-sash was given.
13180 if test "${enable_sash+set}" = set; then :
13181 enableval=$enable_sash;
13182 if test "$enableval" = yes; then
13183 wx_cv_use_sash='wxUSE_SASH=yes'
13184 else
13185 wx_cv_use_sash='wxUSE_SASH=no'
13186 fi
13187
13188 else
13189
13190 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13191
13192 fi
13193
13194
13195 eval "$wx_cv_use_sash"
13196
13197 if test x"$enablestring" = xdisable; then
13198 if test $wxUSE_SASH = no; then
13199 result=yes
13200 else
13201 result=no
13202 fi
13203 else
13204 result=$wxUSE_SASH
13205 fi
13206
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13208 $as_echo "$result" >&6; }
13209
13210
13211 enablestring=
13212 defaultval=$wxUSE_ALL_FEATURES
13213 if test -z "$defaultval"; then
13214 if test x"$enablestring" = xdisable; then
13215 defaultval=yes
13216 else
13217 defaultval=no
13218 fi
13219 fi
13220
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13222 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13223 # Check whether --enable-scrollbar was given.
13224 if test "${enable_scrollbar+set}" = set; then :
13225 enableval=$enable_scrollbar;
13226 if test "$enableval" = yes; then
13227 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13228 else
13229 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13230 fi
13231
13232 else
13233
13234 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13235
13236 fi
13237
13238
13239 eval "$wx_cv_use_scrollbar"
13240
13241 if test x"$enablestring" = xdisable; then
13242 if test $wxUSE_SCROLLBAR = no; then
13243 result=yes
13244 else
13245 result=no
13246 fi
13247 else
13248 result=$wxUSE_SCROLLBAR
13249 fi
13250
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13252 $as_echo "$result" >&6; }
13253
13254
13255 enablestring=
13256 defaultval=$wxUSE_ALL_FEATURES
13257 if test -z "$defaultval"; then
13258 if test x"$enablestring" = xdisable; then
13259 defaultval=yes
13260 else
13261 defaultval=no
13262 fi
13263 fi
13264
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13266 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13267 # Check whether --enable-searchctrl was given.
13268 if test "${enable_searchctrl+set}" = set; then :
13269 enableval=$enable_searchctrl;
13270 if test "$enableval" = yes; then
13271 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13272 else
13273 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13274 fi
13275
13276 else
13277
13278 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13279
13280 fi
13281
13282
13283 eval "$wx_cv_use_searchctrl"
13284
13285 if test x"$enablestring" = xdisable; then
13286 if test $wxUSE_SEARCHCTRL = no; then
13287 result=yes
13288 else
13289 result=no
13290 fi
13291 else
13292 result=$wxUSE_SEARCHCTRL
13293 fi
13294
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13296 $as_echo "$result" >&6; }
13297
13298
13299 enablestring=
13300 defaultval=$wxUSE_ALL_FEATURES
13301 if test -z "$defaultval"; then
13302 if test x"$enablestring" = xdisable; then
13303 defaultval=yes
13304 else
13305 defaultval=no
13306 fi
13307 fi
13308
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13310 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13311 # Check whether --enable-slider was given.
13312 if test "${enable_slider+set}" = set; then :
13313 enableval=$enable_slider;
13314 if test "$enableval" = yes; then
13315 wx_cv_use_slider='wxUSE_SLIDER=yes'
13316 else
13317 wx_cv_use_slider='wxUSE_SLIDER=no'
13318 fi
13319
13320 else
13321
13322 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13323
13324 fi
13325
13326
13327 eval "$wx_cv_use_slider"
13328
13329 if test x"$enablestring" = xdisable; then
13330 if test $wxUSE_SLIDER = no; then
13331 result=yes
13332 else
13333 result=no
13334 fi
13335 else
13336 result=$wxUSE_SLIDER
13337 fi
13338
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13340 $as_echo "$result" >&6; }
13341
13342
13343 enablestring=
13344 defaultval=$wxUSE_ALL_FEATURES
13345 if test -z "$defaultval"; then
13346 if test x"$enablestring" = xdisable; then
13347 defaultval=yes
13348 else
13349 defaultval=no
13350 fi
13351 fi
13352
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13354 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13355 # Check whether --enable-spinbtn was given.
13356 if test "${enable_spinbtn+set}" = set; then :
13357 enableval=$enable_spinbtn;
13358 if test "$enableval" = yes; then
13359 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13360 else
13361 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13362 fi
13363
13364 else
13365
13366 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13367
13368 fi
13369
13370
13371 eval "$wx_cv_use_spinbtn"
13372
13373 if test x"$enablestring" = xdisable; then
13374 if test $wxUSE_SPINBTN = no; then
13375 result=yes
13376 else
13377 result=no
13378 fi
13379 else
13380 result=$wxUSE_SPINBTN
13381 fi
13382
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13384 $as_echo "$result" >&6; }
13385
13386
13387 enablestring=
13388 defaultval=$wxUSE_ALL_FEATURES
13389 if test -z "$defaultval"; then
13390 if test x"$enablestring" = xdisable; then
13391 defaultval=yes
13392 else
13393 defaultval=no
13394 fi
13395 fi
13396
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13398 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13399 # Check whether --enable-spinctrl was given.
13400 if test "${enable_spinctrl+set}" = set; then :
13401 enableval=$enable_spinctrl;
13402 if test "$enableval" = yes; then
13403 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13404 else
13405 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13406 fi
13407
13408 else
13409
13410 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13411
13412 fi
13413
13414
13415 eval "$wx_cv_use_spinctrl"
13416
13417 if test x"$enablestring" = xdisable; then
13418 if test $wxUSE_SPINCTRL = no; then
13419 result=yes
13420 else
13421 result=no
13422 fi
13423 else
13424 result=$wxUSE_SPINCTRL
13425 fi
13426
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13428 $as_echo "$result" >&6; }
13429
13430
13431 enablestring=
13432 defaultval=$wxUSE_ALL_FEATURES
13433 if test -z "$defaultval"; then
13434 if test x"$enablestring" = xdisable; then
13435 defaultval=yes
13436 else
13437 defaultval=no
13438 fi
13439 fi
13440
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13442 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13443 # Check whether --enable-splitter was given.
13444 if test "${enable_splitter+set}" = set; then :
13445 enableval=$enable_splitter;
13446 if test "$enableval" = yes; then
13447 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13448 else
13449 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13450 fi
13451
13452 else
13453
13454 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13455
13456 fi
13457
13458
13459 eval "$wx_cv_use_splitter"
13460
13461 if test x"$enablestring" = xdisable; then
13462 if test $wxUSE_SPLITTER = no; then
13463 result=yes
13464 else
13465 result=no
13466 fi
13467 else
13468 result=$wxUSE_SPLITTER
13469 fi
13470
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13472 $as_echo "$result" >&6; }
13473
13474
13475 enablestring=
13476 defaultval=$wxUSE_ALL_FEATURES
13477 if test -z "$defaultval"; then
13478 if test x"$enablestring" = xdisable; then
13479 defaultval=yes
13480 else
13481 defaultval=no
13482 fi
13483 fi
13484
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13486 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13487 # Check whether --enable-statbmp was given.
13488 if test "${enable_statbmp+set}" = set; then :
13489 enableval=$enable_statbmp;
13490 if test "$enableval" = yes; then
13491 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13492 else
13493 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13494 fi
13495
13496 else
13497
13498 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13499
13500 fi
13501
13502
13503 eval "$wx_cv_use_statbmp"
13504
13505 if test x"$enablestring" = xdisable; then
13506 if test $wxUSE_STATBMP = no; then
13507 result=yes
13508 else
13509 result=no
13510 fi
13511 else
13512 result=$wxUSE_STATBMP
13513 fi
13514
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13516 $as_echo "$result" >&6; }
13517
13518
13519 enablestring=
13520 defaultval=$wxUSE_ALL_FEATURES
13521 if test -z "$defaultval"; then
13522 if test x"$enablestring" = xdisable; then
13523 defaultval=yes
13524 else
13525 defaultval=no
13526 fi
13527 fi
13528
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13530 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13531 # Check whether --enable-statbox was given.
13532 if test "${enable_statbox+set}" = set; then :
13533 enableval=$enable_statbox;
13534 if test "$enableval" = yes; then
13535 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13536 else
13537 wx_cv_use_statbox='wxUSE_STATBOX=no'
13538 fi
13539
13540 else
13541
13542 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13543
13544 fi
13545
13546
13547 eval "$wx_cv_use_statbox"
13548
13549 if test x"$enablestring" = xdisable; then
13550 if test $wxUSE_STATBOX = no; then
13551 result=yes
13552 else
13553 result=no
13554 fi
13555 else
13556 result=$wxUSE_STATBOX
13557 fi
13558
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13560 $as_echo "$result" >&6; }
13561
13562
13563 enablestring=
13564 defaultval=$wxUSE_ALL_FEATURES
13565 if test -z "$defaultval"; then
13566 if test x"$enablestring" = xdisable; then
13567 defaultval=yes
13568 else
13569 defaultval=no
13570 fi
13571 fi
13572
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13574 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13575 # Check whether --enable-statline was given.
13576 if test "${enable_statline+set}" = set; then :
13577 enableval=$enable_statline;
13578 if test "$enableval" = yes; then
13579 wx_cv_use_statline='wxUSE_STATLINE=yes'
13580 else
13581 wx_cv_use_statline='wxUSE_STATLINE=no'
13582 fi
13583
13584 else
13585
13586 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13587
13588 fi
13589
13590
13591 eval "$wx_cv_use_statline"
13592
13593 if test x"$enablestring" = xdisable; then
13594 if test $wxUSE_STATLINE = no; then
13595 result=yes
13596 else
13597 result=no
13598 fi
13599 else
13600 result=$wxUSE_STATLINE
13601 fi
13602
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13604 $as_echo "$result" >&6; }
13605
13606
13607 enablestring=
13608 defaultval=$wxUSE_ALL_FEATURES
13609 if test -z "$defaultval"; then
13610 if test x"$enablestring" = xdisable; then
13611 defaultval=yes
13612 else
13613 defaultval=no
13614 fi
13615 fi
13616
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13618 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13619 # Check whether --enable-stattext was given.
13620 if test "${enable_stattext+set}" = set; then :
13621 enableval=$enable_stattext;
13622 if test "$enableval" = yes; then
13623 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13624 else
13625 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13626 fi
13627
13628 else
13629
13630 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13631
13632 fi
13633
13634
13635 eval "$wx_cv_use_stattext"
13636
13637 if test x"$enablestring" = xdisable; then
13638 if test $wxUSE_STATTEXT = no; then
13639 result=yes
13640 else
13641 result=no
13642 fi
13643 else
13644 result=$wxUSE_STATTEXT
13645 fi
13646
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13648 $as_echo "$result" >&6; }
13649
13650
13651 enablestring=
13652 defaultval=$wxUSE_ALL_FEATURES
13653 if test -z "$defaultval"; then
13654 if test x"$enablestring" = xdisable; then
13655 defaultval=yes
13656 else
13657 defaultval=no
13658 fi
13659 fi
13660
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13662 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13663 # Check whether --enable-statusbar was given.
13664 if test "${enable_statusbar+set}" = set; then :
13665 enableval=$enable_statusbar;
13666 if test "$enableval" = yes; then
13667 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13668 else
13669 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13670 fi
13671
13672 else
13673
13674 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13675
13676 fi
13677
13678
13679 eval "$wx_cv_use_statusbar"
13680
13681 if test x"$enablestring" = xdisable; then
13682 if test $wxUSE_STATUSBAR = no; then
13683 result=yes
13684 else
13685 result=no
13686 fi
13687 else
13688 result=$wxUSE_STATUSBAR
13689 fi
13690
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13692 $as_echo "$result" >&6; }
13693
13694
13695 enablestring=
13696 defaultval=$wxUSE_ALL_FEATURES
13697 if test -z "$defaultval"; then
13698 if test x"$enablestring" = xdisable; then
13699 defaultval=yes
13700 else
13701 defaultval=no
13702 fi
13703 fi
13704
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13706 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13707 # Check whether --enable-taskbaricon was given.
13708 if test "${enable_taskbaricon+set}" = set; then :
13709 enableval=$enable_taskbaricon;
13710 if test "$enableval" = yes; then
13711 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13712 else
13713 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13714 fi
13715
13716 else
13717
13718 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13719
13720 fi
13721
13722
13723 eval "$wx_cv_use_taskbaricon"
13724
13725 if test x"$enablestring" = xdisable; then
13726 if test $wxUSE_TASKBARICON = no; then
13727 result=yes
13728 else
13729 result=no
13730 fi
13731 else
13732 result=$wxUSE_TASKBARICON
13733 fi
13734
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13736 $as_echo "$result" >&6; }
13737
13738
13739 enablestring=
13740 defaultval=$wxUSE_ALL_FEATURES
13741 if test -z "$defaultval"; then
13742 if test x"$enablestring" = xdisable; then
13743 defaultval=yes
13744 else
13745 defaultval=no
13746 fi
13747 fi
13748
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13750 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13751 # Check whether --enable-tbarnative was given.
13752 if test "${enable_tbarnative+set}" = set; then :
13753 enableval=$enable_tbarnative;
13754 if test "$enableval" = yes; then
13755 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13756 else
13757 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13758 fi
13759
13760 else
13761
13762 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13763
13764 fi
13765
13766
13767 eval "$wx_cv_use_tbarnative"
13768
13769 if test x"$enablestring" = xdisable; then
13770 if test $wxUSE_TOOLBAR_NATIVE = no; then
13771 result=yes
13772 else
13773 result=no
13774 fi
13775 else
13776 result=$wxUSE_TOOLBAR_NATIVE
13777 fi
13778
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13780 $as_echo "$result" >&6; }
13781
13782
13783 enablestring=
13784 defaultval=$wxUSE_ALL_FEATURES
13785 if test -z "$defaultval"; then
13786 if test x"$enablestring" = xdisable; then
13787 defaultval=yes
13788 else
13789 defaultval=no
13790 fi
13791 fi
13792
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13794 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13795 # Check whether --enable-textctrl was given.
13796 if test "${enable_textctrl+set}" = set; then :
13797 enableval=$enable_textctrl;
13798 if test "$enableval" = yes; then
13799 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13800 else
13801 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13802 fi
13803
13804 else
13805
13806 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13807
13808 fi
13809
13810
13811 eval "$wx_cv_use_textctrl"
13812
13813 if test x"$enablestring" = xdisable; then
13814 if test $wxUSE_TEXTCTRL = no; then
13815 result=yes
13816 else
13817 result=no
13818 fi
13819 else
13820 result=$wxUSE_TEXTCTRL
13821 fi
13822
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13824 $as_echo "$result" >&6; }
13825
13826
13827 enablestring=
13828 defaultval=$wxUSE_ALL_FEATURES
13829 if test -z "$defaultval"; then
13830 if test x"$enablestring" = xdisable; then
13831 defaultval=yes
13832 else
13833 defaultval=no
13834 fi
13835 fi
13836
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13838 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13839 # Check whether --enable-datepick was given.
13840 if test "${enable_datepick+set}" = set; then :
13841 enableval=$enable_datepick;
13842 if test "$enableval" = yes; then
13843 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13844 else
13845 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13846 fi
13847
13848 else
13849
13850 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13851
13852 fi
13853
13854
13855 eval "$wx_cv_use_datepick"
13856
13857 if test x"$enablestring" = xdisable; then
13858 if test $wxUSE_TIMEPICKCTRL = no; then
13859 result=yes
13860 else
13861 result=no
13862 fi
13863 else
13864 result=$wxUSE_TIMEPICKCTRL
13865 fi
13866
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13868 $as_echo "$result" >&6; }
13869
13870
13871 enablestring=
13872 defaultval=$wxUSE_ALL_FEATURES
13873 if test -z "$defaultval"; then
13874 if test x"$enablestring" = xdisable; then
13875 defaultval=yes
13876 else
13877 defaultval=no
13878 fi
13879 fi
13880
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13882 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13883 # Check whether --enable-tipwindow was given.
13884 if test "${enable_tipwindow+set}" = set; then :
13885 enableval=$enable_tipwindow;
13886 if test "$enableval" = yes; then
13887 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13888 else
13889 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13890 fi
13891
13892 else
13893
13894 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13895
13896 fi
13897
13898
13899 eval "$wx_cv_use_tipwindow"
13900
13901 if test x"$enablestring" = xdisable; then
13902 if test $wxUSE_TIPWINDOW = no; then
13903 result=yes
13904 else
13905 result=no
13906 fi
13907 else
13908 result=$wxUSE_TIPWINDOW
13909 fi
13910
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13912 $as_echo "$result" >&6; }
13913
13914
13915 enablestring=
13916 defaultval=$wxUSE_ALL_FEATURES
13917 if test -z "$defaultval"; then
13918 if test x"$enablestring" = xdisable; then
13919 defaultval=yes
13920 else
13921 defaultval=no
13922 fi
13923 fi
13924
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
13926 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
13927 # Check whether --enable-togglebtn was given.
13928 if test "${enable_togglebtn+set}" = set; then :
13929 enableval=$enable_togglebtn;
13930 if test "$enableval" = yes; then
13931 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13932 else
13933 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13934 fi
13935
13936 else
13937
13938 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13939
13940 fi
13941
13942
13943 eval "$wx_cv_use_togglebtn"
13944
13945 if test x"$enablestring" = xdisable; then
13946 if test $wxUSE_TOGGLEBTN = no; then
13947 result=yes
13948 else
13949 result=no
13950 fi
13951 else
13952 result=$wxUSE_TOGGLEBTN
13953 fi
13954
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13956 $as_echo "$result" >&6; }
13957
13958
13959 enablestring=
13960 defaultval=$wxUSE_ALL_FEATURES
13961 if test -z "$defaultval"; then
13962 if test x"$enablestring" = xdisable; then
13963 defaultval=yes
13964 else
13965 defaultval=no
13966 fi
13967 fi
13968
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
13970 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
13971 # Check whether --enable-toolbar was given.
13972 if test "${enable_toolbar+set}" = set; then :
13973 enableval=$enable_toolbar;
13974 if test "$enableval" = yes; then
13975 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13976 else
13977 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13978 fi
13979
13980 else
13981
13982 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13983
13984 fi
13985
13986
13987 eval "$wx_cv_use_toolbar"
13988
13989 if test x"$enablestring" = xdisable; then
13990 if test $wxUSE_TOOLBAR = no; then
13991 result=yes
13992 else
13993 result=no
13994 fi
13995 else
13996 result=$wxUSE_TOOLBAR
13997 fi
13998
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14000 $as_echo "$result" >&6; }
14001
14002
14003 enablestring=
14004 defaultval=$wxUSE_ALL_FEATURES
14005 if test -z "$defaultval"; then
14006 if test x"$enablestring" = xdisable; then
14007 defaultval=yes
14008 else
14009 defaultval=no
14010 fi
14011 fi
14012
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
14014 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
14015 # Check whether --enable-toolbook was given.
14016 if test "${enable_toolbook+set}" = set; then :
14017 enableval=$enable_toolbook;
14018 if test "$enableval" = yes; then
14019 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
14020 else
14021 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
14022 fi
14023
14024 else
14025
14026 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14027
14028 fi
14029
14030
14031 eval "$wx_cv_use_toolbook"
14032
14033 if test x"$enablestring" = xdisable; then
14034 if test $wxUSE_TOOLBOOK = no; then
14035 result=yes
14036 else
14037 result=no
14038 fi
14039 else
14040 result=$wxUSE_TOOLBOOK
14041 fi
14042
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14044 $as_echo "$result" >&6; }
14045
14046
14047 enablestring=
14048 defaultval=$wxUSE_ALL_FEATURES
14049 if test -z "$defaultval"; then
14050 if test x"$enablestring" = xdisable; then
14051 defaultval=yes
14052 else
14053 defaultval=no
14054 fi
14055 fi
14056
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
14058 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
14059 # Check whether --enable-treebook was given.
14060 if test "${enable_treebook+set}" = set; then :
14061 enableval=$enable_treebook;
14062 if test "$enableval" = yes; then
14063 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
14064 else
14065 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
14066 fi
14067
14068 else
14069
14070 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14071
14072 fi
14073
14074
14075 eval "$wx_cv_use_treebook"
14076
14077 if test x"$enablestring" = xdisable; then
14078 if test $wxUSE_TREEBOOK = no; then
14079 result=yes
14080 else
14081 result=no
14082 fi
14083 else
14084 result=$wxUSE_TREEBOOK
14085 fi
14086
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14088 $as_echo "$result" >&6; }
14089
14090
14091 enablestring=
14092 defaultval=$wxUSE_ALL_FEATURES
14093 if test -z "$defaultval"; then
14094 if test x"$enablestring" = xdisable; then
14095 defaultval=yes
14096 else
14097 defaultval=no
14098 fi
14099 fi
14100
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14102 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14103 # Check whether --enable-treectrl was given.
14104 if test "${enable_treectrl+set}" = set; then :
14105 enableval=$enable_treectrl;
14106 if test "$enableval" = yes; then
14107 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14108 else
14109 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14110 fi
14111
14112 else
14113
14114 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14115
14116 fi
14117
14118
14119 eval "$wx_cv_use_treectrl"
14120
14121 if test x"$enablestring" = xdisable; then
14122 if test $wxUSE_TREECTRL = no; then
14123 result=yes
14124 else
14125 result=no
14126 fi
14127 else
14128 result=$wxUSE_TREECTRL
14129 fi
14130
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14132 $as_echo "$result" >&6; }
14133
14134
14135 enablestring=
14136 defaultval=$wxUSE_ALL_FEATURES
14137 if test -z "$defaultval"; then
14138 if test x"$enablestring" = xdisable; then
14139 defaultval=yes
14140 else
14141 defaultval=no
14142 fi
14143 fi
14144
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14146 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14147 # Check whether --enable-treelist was given.
14148 if test "${enable_treelist+set}" = set; then :
14149 enableval=$enable_treelist;
14150 if test "$enableval" = yes; then
14151 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14152 else
14153 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14154 fi
14155
14156 else
14157
14158 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14159
14160 fi
14161
14162
14163 eval "$wx_cv_use_treelist"
14164
14165 if test x"$enablestring" = xdisable; then
14166 if test $wxUSE_TREELISTCTRL = no; then
14167 result=yes
14168 else
14169 result=no
14170 fi
14171 else
14172 result=$wxUSE_TREELISTCTRL
14173 fi
14174
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14176 $as_echo "$result" >&6; }
14177
14178
14179
14180
14181 enablestring=
14182 defaultval=$wxUSE_ALL_FEATURES
14183 if test -z "$defaultval"; then
14184 if test x"$enablestring" = xdisable; then
14185 defaultval=yes
14186 else
14187 defaultval=no
14188 fi
14189 fi
14190
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14192 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14193 # Check whether --enable-commondlg was given.
14194 if test "${enable_commondlg+set}" = set; then :
14195 enableval=$enable_commondlg;
14196 if test "$enableval" = yes; then
14197 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14198 else
14199 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14200 fi
14201
14202 else
14203
14204 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14205
14206 fi
14207
14208
14209 eval "$wx_cv_use_commondlg"
14210
14211 if test x"$enablestring" = xdisable; then
14212 if test $wxUSE_COMMONDLGS = no; then
14213 result=yes
14214 else
14215 result=no
14216 fi
14217 else
14218 result=$wxUSE_COMMONDLGS
14219 fi
14220
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14222 $as_echo "$result" >&6; }
14223
14224
14225 enablestring=
14226 defaultval=$wxUSE_ALL_FEATURES
14227 if test -z "$defaultval"; then
14228 if test x"$enablestring" = xdisable; then
14229 defaultval=yes
14230 else
14231 defaultval=no
14232 fi
14233 fi
14234
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14236 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14237 # Check whether --enable-aboutdlg was given.
14238 if test "${enable_aboutdlg+set}" = set; then :
14239 enableval=$enable_aboutdlg;
14240 if test "$enableval" = yes; then
14241 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14242 else
14243 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14244 fi
14245
14246 else
14247
14248 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14249
14250 fi
14251
14252
14253 eval "$wx_cv_use_aboutdlg"
14254
14255 if test x"$enablestring" = xdisable; then
14256 if test $wxUSE_ABOUTDLG = no; then
14257 result=yes
14258 else
14259 result=no
14260 fi
14261 else
14262 result=$wxUSE_ABOUTDLG
14263 fi
14264
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14266 $as_echo "$result" >&6; }
14267
14268
14269 enablestring=
14270 defaultval=$wxUSE_ALL_FEATURES
14271 if test -z "$defaultval"; then
14272 if test x"$enablestring" = xdisable; then
14273 defaultval=yes
14274 else
14275 defaultval=no
14276 fi
14277 fi
14278
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14280 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14281 # Check whether --enable-choicedlg was given.
14282 if test "${enable_choicedlg+set}" = set; then :
14283 enableval=$enable_choicedlg;
14284 if test "$enableval" = yes; then
14285 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14286 else
14287 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14288 fi
14289
14290 else
14291
14292 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14293
14294 fi
14295
14296
14297 eval "$wx_cv_use_choicedlg"
14298
14299 if test x"$enablestring" = xdisable; then
14300 if test $wxUSE_CHOICEDLG = no; then
14301 result=yes
14302 else
14303 result=no
14304 fi
14305 else
14306 result=$wxUSE_CHOICEDLG
14307 fi
14308
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14310 $as_echo "$result" >&6; }
14311
14312
14313 enablestring=
14314 defaultval=$wxUSE_ALL_FEATURES
14315 if test -z "$defaultval"; then
14316 if test x"$enablestring" = xdisable; then
14317 defaultval=yes
14318 else
14319 defaultval=no
14320 fi
14321 fi
14322
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14324 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14325 # Check whether --enable-coldlg was given.
14326 if test "${enable_coldlg+set}" = set; then :
14327 enableval=$enable_coldlg;
14328 if test "$enableval" = yes; then
14329 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14330 else
14331 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14332 fi
14333
14334 else
14335
14336 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14337
14338 fi
14339
14340
14341 eval "$wx_cv_use_coldlg"
14342
14343 if test x"$enablestring" = xdisable; then
14344 if test $wxUSE_COLOURDLG = no; then
14345 result=yes
14346 else
14347 result=no
14348 fi
14349 else
14350 result=$wxUSE_COLOURDLG
14351 fi
14352
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14354 $as_echo "$result" >&6; }
14355
14356
14357 enablestring=
14358 defaultval=$wxUSE_ALL_FEATURES
14359 if test -z "$defaultval"; then
14360 if test x"$enablestring" = xdisable; then
14361 defaultval=yes
14362 else
14363 defaultval=no
14364 fi
14365 fi
14366
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14368 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14369 # Check whether --enable-filedlg was given.
14370 if test "${enable_filedlg+set}" = set; then :
14371 enableval=$enable_filedlg;
14372 if test "$enableval" = yes; then
14373 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14374 else
14375 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14376 fi
14377
14378 else
14379
14380 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14381
14382 fi
14383
14384
14385 eval "$wx_cv_use_filedlg"
14386
14387 if test x"$enablestring" = xdisable; then
14388 if test $wxUSE_FILEDLG = no; then
14389 result=yes
14390 else
14391 result=no
14392 fi
14393 else
14394 result=$wxUSE_FILEDLG
14395 fi
14396
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14398 $as_echo "$result" >&6; }
14399
14400
14401 enablestring=
14402 defaultval=$wxUSE_ALL_FEATURES
14403 if test -z "$defaultval"; then
14404 if test x"$enablestring" = xdisable; then
14405 defaultval=yes
14406 else
14407 defaultval=no
14408 fi
14409 fi
14410
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14412 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14413 # Check whether --enable-finddlg was given.
14414 if test "${enable_finddlg+set}" = set; then :
14415 enableval=$enable_finddlg;
14416 if test "$enableval" = yes; then
14417 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14418 else
14419 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14420 fi
14421
14422 else
14423
14424 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14425
14426 fi
14427
14428
14429 eval "$wx_cv_use_finddlg"
14430
14431 if test x"$enablestring" = xdisable; then
14432 if test $wxUSE_FINDREPLDLG = no; then
14433 result=yes
14434 else
14435 result=no
14436 fi
14437 else
14438 result=$wxUSE_FINDREPLDLG
14439 fi
14440
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14442 $as_echo "$result" >&6; }
14443
14444
14445 enablestring=
14446 defaultval=$wxUSE_ALL_FEATURES
14447 if test -z "$defaultval"; then
14448 if test x"$enablestring" = xdisable; then
14449 defaultval=yes
14450 else
14451 defaultval=no
14452 fi
14453 fi
14454
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14456 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14457 # Check whether --enable-fontdlg was given.
14458 if test "${enable_fontdlg+set}" = set; then :
14459 enableval=$enable_fontdlg;
14460 if test "$enableval" = yes; then
14461 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14462 else
14463 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14464 fi
14465
14466 else
14467
14468 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14469
14470 fi
14471
14472
14473 eval "$wx_cv_use_fontdlg"
14474
14475 if test x"$enablestring" = xdisable; then
14476 if test $wxUSE_FONTDLG = no; then
14477 result=yes
14478 else
14479 result=no
14480 fi
14481 else
14482 result=$wxUSE_FONTDLG
14483 fi
14484
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14486 $as_echo "$result" >&6; }
14487
14488
14489 enablestring=
14490 defaultval=$wxUSE_ALL_FEATURES
14491 if test -z "$defaultval"; then
14492 if test x"$enablestring" = xdisable; then
14493 defaultval=yes
14494 else
14495 defaultval=no
14496 fi
14497 fi
14498
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14500 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14501 # Check whether --enable-dirdlg was given.
14502 if test "${enable_dirdlg+set}" = set; then :
14503 enableval=$enable_dirdlg;
14504 if test "$enableval" = yes; then
14505 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14506 else
14507 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14508 fi
14509
14510 else
14511
14512 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14513
14514 fi
14515
14516
14517 eval "$wx_cv_use_dirdlg"
14518
14519 if test x"$enablestring" = xdisable; then
14520 if test $wxUSE_DIRDLG = no; then
14521 result=yes
14522 else
14523 result=no
14524 fi
14525 else
14526 result=$wxUSE_DIRDLG
14527 fi
14528
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14530 $as_echo "$result" >&6; }
14531
14532
14533 enablestring=
14534 defaultval=$wxUSE_ALL_FEATURES
14535 if test -z "$defaultval"; then
14536 if test x"$enablestring" = xdisable; then
14537 defaultval=yes
14538 else
14539 defaultval=no
14540 fi
14541 fi
14542
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14544 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14545 # Check whether --enable-msgdlg was given.
14546 if test "${enable_msgdlg+set}" = set; then :
14547 enableval=$enable_msgdlg;
14548 if test "$enableval" = yes; then
14549 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14550 else
14551 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14552 fi
14553
14554 else
14555
14556 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14557
14558 fi
14559
14560
14561 eval "$wx_cv_use_msgdlg"
14562
14563 if test x"$enablestring" = xdisable; then
14564 if test $wxUSE_MSGDLG = no; then
14565 result=yes
14566 else
14567 result=no
14568 fi
14569 else
14570 result=$wxUSE_MSGDLG
14571 fi
14572
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14574 $as_echo "$result" >&6; }
14575
14576
14577 enablestring=
14578 defaultval=$wxUSE_ALL_FEATURES
14579 if test -z "$defaultval"; then
14580 if test x"$enablestring" = xdisable; then
14581 defaultval=yes
14582 else
14583 defaultval=no
14584 fi
14585 fi
14586
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14588 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14589 # Check whether --enable-numberdlg was given.
14590 if test "${enable_numberdlg+set}" = set; then :
14591 enableval=$enable_numberdlg;
14592 if test "$enableval" = yes; then
14593 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14594 else
14595 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14596 fi
14597
14598 else
14599
14600 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14601
14602 fi
14603
14604
14605 eval "$wx_cv_use_numberdlg"
14606
14607 if test x"$enablestring" = xdisable; then
14608 if test $wxUSE_NUMBERDLG = no; then
14609 result=yes
14610 else
14611 result=no
14612 fi
14613 else
14614 result=$wxUSE_NUMBERDLG
14615 fi
14616
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14618 $as_echo "$result" >&6; }
14619
14620
14621 enablestring=
14622 defaultval=$wxUSE_ALL_FEATURES
14623 if test -z "$defaultval"; then
14624 if test x"$enablestring" = xdisable; then
14625 defaultval=yes
14626 else
14627 defaultval=no
14628 fi
14629 fi
14630
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14632 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14633 # Check whether --enable-splash was given.
14634 if test "${enable_splash+set}" = set; then :
14635 enableval=$enable_splash;
14636 if test "$enableval" = yes; then
14637 wx_cv_use_splash='wxUSE_SPLASH=yes'
14638 else
14639 wx_cv_use_splash='wxUSE_SPLASH=no'
14640 fi
14641
14642 else
14643
14644 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14645
14646 fi
14647
14648
14649 eval "$wx_cv_use_splash"
14650
14651 if test x"$enablestring" = xdisable; then
14652 if test $wxUSE_SPLASH = no; then
14653 result=yes
14654 else
14655 result=no
14656 fi
14657 else
14658 result=$wxUSE_SPLASH
14659 fi
14660
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14662 $as_echo "$result" >&6; }
14663
14664
14665 enablestring=
14666 defaultval=$wxUSE_ALL_FEATURES
14667 if test -z "$defaultval"; then
14668 if test x"$enablestring" = xdisable; then
14669 defaultval=yes
14670 else
14671 defaultval=no
14672 fi
14673 fi
14674
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14676 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14677 # Check whether --enable-textdlg was given.
14678 if test "${enable_textdlg+set}" = set; then :
14679 enableval=$enable_textdlg;
14680 if test "$enableval" = yes; then
14681 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14682 else
14683 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14684 fi
14685
14686 else
14687
14688 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14689
14690 fi
14691
14692
14693 eval "$wx_cv_use_textdlg"
14694
14695 if test x"$enablestring" = xdisable; then
14696 if test $wxUSE_TEXTDLG = no; then
14697 result=yes
14698 else
14699 result=no
14700 fi
14701 else
14702 result=$wxUSE_TEXTDLG
14703 fi
14704
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14706 $as_echo "$result" >&6; }
14707
14708
14709 enablestring=
14710 defaultval=$wxUSE_ALL_FEATURES
14711 if test -z "$defaultval"; then
14712 if test x"$enablestring" = xdisable; then
14713 defaultval=yes
14714 else
14715 defaultval=no
14716 fi
14717 fi
14718
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14720 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14721 # Check whether --enable-tipdlg was given.
14722 if test "${enable_tipdlg+set}" = set; then :
14723 enableval=$enable_tipdlg;
14724 if test "$enableval" = yes; then
14725 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14726 else
14727 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14728 fi
14729
14730 else
14731
14732 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14733
14734 fi
14735
14736
14737 eval "$wx_cv_use_tipdlg"
14738
14739 if test x"$enablestring" = xdisable; then
14740 if test $wxUSE_STARTUP_TIPS = no; then
14741 result=yes
14742 else
14743 result=no
14744 fi
14745 else
14746 result=$wxUSE_STARTUP_TIPS
14747 fi
14748
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14750 $as_echo "$result" >&6; }
14751
14752
14753 enablestring=
14754 defaultval=$wxUSE_ALL_FEATURES
14755 if test -z "$defaultval"; then
14756 if test x"$enablestring" = xdisable; then
14757 defaultval=yes
14758 else
14759 defaultval=no
14760 fi
14761 fi
14762
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14764 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14765 # Check whether --enable-progressdlg was given.
14766 if test "${enable_progressdlg+set}" = set; then :
14767 enableval=$enable_progressdlg;
14768 if test "$enableval" = yes; then
14769 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14770 else
14771 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14772 fi
14773
14774 else
14775
14776 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14777
14778 fi
14779
14780
14781 eval "$wx_cv_use_progressdlg"
14782
14783 if test x"$enablestring" = xdisable; then
14784 if test $wxUSE_PROGRESSDLG = no; then
14785 result=yes
14786 else
14787 result=no
14788 fi
14789 else
14790 result=$wxUSE_PROGRESSDLG
14791 fi
14792
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14794 $as_echo "$result" >&6; }
14795
14796
14797 enablestring=
14798 defaultval=$wxUSE_ALL_FEATURES
14799 if test -z "$defaultval"; then
14800 if test x"$enablestring" = xdisable; then
14801 defaultval=yes
14802 else
14803 defaultval=no
14804 fi
14805 fi
14806
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14808 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14809 # Check whether --enable-wizarddlg was given.
14810 if test "${enable_wizarddlg+set}" = set; then :
14811 enableval=$enable_wizarddlg;
14812 if test "$enableval" = yes; then
14813 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14814 else
14815 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14816 fi
14817
14818 else
14819
14820 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14821
14822 fi
14823
14824
14825 eval "$wx_cv_use_wizarddlg"
14826
14827 if test x"$enablestring" = xdisable; then
14828 if test $wxUSE_WIZARDDLG = no; then
14829 result=yes
14830 else
14831 result=no
14832 fi
14833 else
14834 result=$wxUSE_WIZARDDLG
14835 fi
14836
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14838 $as_echo "$result" >&6; }
14839
14840
14841
14842
14843 enablestring=
14844 defaultval=$wxUSE_ALL_FEATURES
14845 if test -z "$defaultval"; then
14846 if test x"$enablestring" = xdisable; then
14847 defaultval=yes
14848 else
14849 defaultval=no
14850 fi
14851 fi
14852
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14854 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14855 # Check whether --enable-menus was given.
14856 if test "${enable_menus+set}" = set; then :
14857 enableval=$enable_menus;
14858 if test "$enableval" = yes; then
14859 wx_cv_use_menus='wxUSE_MENUS=yes'
14860 else
14861 wx_cv_use_menus='wxUSE_MENUS=no'
14862 fi
14863
14864 else
14865
14866 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14867
14868 fi
14869
14870
14871 eval "$wx_cv_use_menus"
14872
14873 if test x"$enablestring" = xdisable; then
14874 if test $wxUSE_MENUS = no; then
14875 result=yes
14876 else
14877 result=no
14878 fi
14879 else
14880 result=$wxUSE_MENUS
14881 fi
14882
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14884 $as_echo "$result" >&6; }
14885
14886
14887 enablestring=
14888 defaultval=$wxUSE_ALL_FEATURES
14889 if test -z "$defaultval"; then
14890 if test x"$enablestring" = xdisable; then
14891 defaultval=yes
14892 else
14893 defaultval=no
14894 fi
14895 fi
14896
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14898 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14899 # Check whether --enable-miniframe was given.
14900 if test "${enable_miniframe+set}" = set; then :
14901 enableval=$enable_miniframe;
14902 if test "$enableval" = yes; then
14903 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14904 else
14905 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14906 fi
14907
14908 else
14909
14910 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14911
14912 fi
14913
14914
14915 eval "$wx_cv_use_miniframe"
14916
14917 if test x"$enablestring" = xdisable; then
14918 if test $wxUSE_MINIFRAME = no; then
14919 result=yes
14920 else
14921 result=no
14922 fi
14923 else
14924 result=$wxUSE_MINIFRAME
14925 fi
14926
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14928 $as_echo "$result" >&6; }
14929
14930
14931 enablestring=
14932 defaultval=$wxUSE_ALL_FEATURES
14933 if test -z "$defaultval"; then
14934 if test x"$enablestring" = xdisable; then
14935 defaultval=yes
14936 else
14937 defaultval=no
14938 fi
14939 fi
14940
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
14942 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
14943 # Check whether --enable-tooltips was given.
14944 if test "${enable_tooltips+set}" = set; then :
14945 enableval=$enable_tooltips;
14946 if test "$enableval" = yes; then
14947 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14948 else
14949 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14950 fi
14951
14952 else
14953
14954 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14955
14956 fi
14957
14958
14959 eval "$wx_cv_use_tooltips"
14960
14961 if test x"$enablestring" = xdisable; then
14962 if test $wxUSE_TOOLTIPS = no; then
14963 result=yes
14964 else
14965 result=no
14966 fi
14967 else
14968 result=$wxUSE_TOOLTIPS
14969 fi
14970
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14972 $as_echo "$result" >&6; }
14973
14974
14975 enablestring=
14976 defaultval=$wxUSE_ALL_FEATURES
14977 if test -z "$defaultval"; then
14978 if test x"$enablestring" = xdisable; then
14979 defaultval=yes
14980 else
14981 defaultval=no
14982 fi
14983 fi
14984
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
14986 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
14987 # Check whether --enable-splines was given.
14988 if test "${enable_splines+set}" = set; then :
14989 enableval=$enable_splines;
14990 if test "$enableval" = yes; then
14991 wx_cv_use_splines='wxUSE_SPLINES=yes'
14992 else
14993 wx_cv_use_splines='wxUSE_SPLINES=no'
14994 fi
14995
14996 else
14997
14998 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14999
15000 fi
15001
15002
15003 eval "$wx_cv_use_splines"
15004
15005 if test x"$enablestring" = xdisable; then
15006 if test $wxUSE_SPLINES = no; then
15007 result=yes
15008 else
15009 result=no
15010 fi
15011 else
15012 result=$wxUSE_SPLINES
15013 fi
15014
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15016 $as_echo "$result" >&6; }
15017
15018
15019 enablestring=
15020 defaultval=$wxUSE_ALL_FEATURES
15021 if test -z "$defaultval"; then
15022 if test x"$enablestring" = xdisable; then
15023 defaultval=yes
15024 else
15025 defaultval=no
15026 fi
15027 fi
15028
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
15030 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
15031 # Check whether --enable-mousewheel was given.
15032 if test "${enable_mousewheel+set}" = set; then :
15033 enableval=$enable_mousewheel;
15034 if test "$enableval" = yes; then
15035 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15036 else
15037 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15038 fi
15039
15040 else
15041
15042 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15043
15044 fi
15045
15046
15047 eval "$wx_cv_use_mousewheel"
15048
15049 if test x"$enablestring" = xdisable; then
15050 if test $wxUSE_MOUSEWHEEL = no; then
15051 result=yes
15052 else
15053 result=no
15054 fi
15055 else
15056 result=$wxUSE_MOUSEWHEEL
15057 fi
15058
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15060 $as_echo "$result" >&6; }
15061
15062
15063 enablestring=
15064 defaultval=$wxUSE_ALL_FEATURES
15065 if test -z "$defaultval"; then
15066 if test x"$enablestring" = xdisable; then
15067 defaultval=yes
15068 else
15069 defaultval=no
15070 fi
15071 fi
15072
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
15074 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
15075 # Check whether --enable-validators was given.
15076 if test "${enable_validators+set}" = set; then :
15077 enableval=$enable_validators;
15078 if test "$enableval" = yes; then
15079 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15080 else
15081 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15082 fi
15083
15084 else
15085
15086 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15087
15088 fi
15089
15090
15091 eval "$wx_cv_use_validators"
15092
15093 if test x"$enablestring" = xdisable; then
15094 if test $wxUSE_VALIDATORS = no; then
15095 result=yes
15096 else
15097 result=no
15098 fi
15099 else
15100 result=$wxUSE_VALIDATORS
15101 fi
15102
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15104 $as_echo "$result" >&6; }
15105
15106
15107 enablestring=
15108 defaultval=$wxUSE_ALL_FEATURES
15109 if test -z "$defaultval"; then
15110 if test x"$enablestring" = xdisable; then
15111 defaultval=yes
15112 else
15113 defaultval=no
15114 fi
15115 fi
15116
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15118 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15119 # Check whether --enable-busyinfo was given.
15120 if test "${enable_busyinfo+set}" = set; then :
15121 enableval=$enable_busyinfo;
15122 if test "$enableval" = yes; then
15123 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15124 else
15125 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15126 fi
15127
15128 else
15129
15130 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15131
15132 fi
15133
15134
15135 eval "$wx_cv_use_busyinfo"
15136
15137 if test x"$enablestring" = xdisable; then
15138 if test $wxUSE_BUSYINFO = no; then
15139 result=yes
15140 else
15141 result=no
15142 fi
15143 else
15144 result=$wxUSE_BUSYINFO
15145 fi
15146
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15148 $as_echo "$result" >&6; }
15149
15150
15151 enablestring=
15152 defaultval=$wxUSE_ALL_FEATURES
15153 if test -z "$defaultval"; then
15154 if test x"$enablestring" = xdisable; then
15155 defaultval=yes
15156 else
15157 defaultval=no
15158 fi
15159 fi
15160
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15162 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15163 # Check whether --enable-hotkey was given.
15164 if test "${enable_hotkey+set}" = set; then :
15165 enableval=$enable_hotkey;
15166 if test "$enableval" = yes; then
15167 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15168 else
15169 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15170 fi
15171
15172 else
15173
15174 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15175
15176 fi
15177
15178
15179 eval "$wx_cv_use_hotkey"
15180
15181 if test x"$enablestring" = xdisable; then
15182 if test $wxUSE_HOTKEY = no; then
15183 result=yes
15184 else
15185 result=no
15186 fi
15187 else
15188 result=$wxUSE_HOTKEY
15189 fi
15190
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15192 $as_echo "$result" >&6; }
15193
15194
15195 enablestring=
15196 defaultval=$wxUSE_ALL_FEATURES
15197 if test -z "$defaultval"; then
15198 if test x"$enablestring" = xdisable; then
15199 defaultval=yes
15200 else
15201 defaultval=no
15202 fi
15203 fi
15204
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15206 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15207 # Check whether --enable-joystick was given.
15208 if test "${enable_joystick+set}" = set; then :
15209 enableval=$enable_joystick;
15210 if test "$enableval" = yes; then
15211 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15212 else
15213 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15214 fi
15215
15216 else
15217
15218 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15219
15220 fi
15221
15222
15223 eval "$wx_cv_use_joystick"
15224
15225 if test x"$enablestring" = xdisable; then
15226 if test $wxUSE_JOYSTICK = no; then
15227 result=yes
15228 else
15229 result=no
15230 fi
15231 else
15232 result=$wxUSE_JOYSTICK
15233 fi
15234
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15236 $as_echo "$result" >&6; }
15237
15238
15239 enablestring=
15240 defaultval=$wxUSE_ALL_FEATURES
15241 if test -z "$defaultval"; then
15242 if test x"$enablestring" = xdisable; then
15243 defaultval=yes
15244 else
15245 defaultval=no
15246 fi
15247 fi
15248
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15250 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15251 # Check whether --enable-metafile was given.
15252 if test "${enable_metafile+set}" = set; then :
15253 enableval=$enable_metafile;
15254 if test "$enableval" = yes; then
15255 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15256 else
15257 wx_cv_use_metafile='wxUSE_METAFILE=no'
15258 fi
15259
15260 else
15261
15262 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15263
15264 fi
15265
15266
15267 eval "$wx_cv_use_metafile"
15268
15269 if test x"$enablestring" = xdisable; then
15270 if test $wxUSE_METAFILE = no; then
15271 result=yes
15272 else
15273 result=no
15274 fi
15275 else
15276 result=$wxUSE_METAFILE
15277 fi
15278
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15280 $as_echo "$result" >&6; }
15281
15282
15283 enablestring=
15284 defaultval=$wxUSE_ALL_FEATURES
15285 if test -z "$defaultval"; then
15286 if test x"$enablestring" = xdisable; then
15287 defaultval=yes
15288 else
15289 defaultval=no
15290 fi
15291 fi
15292
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15294 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15295 # Check whether --enable-dragimage was given.
15296 if test "${enable_dragimage+set}" = set; then :
15297 enableval=$enable_dragimage;
15298 if test "$enableval" = yes; then
15299 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15300 else
15301 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15302 fi
15303
15304 else
15305
15306 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15307
15308 fi
15309
15310
15311 eval "$wx_cv_use_dragimage"
15312
15313 if test x"$enablestring" = xdisable; then
15314 if test $wxUSE_DRAGIMAGE = no; then
15315 result=yes
15316 else
15317 result=no
15318 fi
15319 else
15320 result=$wxUSE_DRAGIMAGE
15321 fi
15322
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15324 $as_echo "$result" >&6; }
15325
15326
15327 enablestring=
15328 defaultval=$wxUSE_ALL_FEATURES
15329 if test -z "$defaultval"; then
15330 if test x"$enablestring" = xdisable; then
15331 defaultval=yes
15332 else
15333 defaultval=no
15334 fi
15335 fi
15336
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15338 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15339 # Check whether --enable-accessibility was given.
15340 if test "${enable_accessibility+set}" = set; then :
15341 enableval=$enable_accessibility;
15342 if test "$enableval" = yes; then
15343 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15344 else
15345 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15346 fi
15347
15348 else
15349
15350 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15351
15352 fi
15353
15354
15355 eval "$wx_cv_use_accessibility"
15356
15357 if test x"$enablestring" = xdisable; then
15358 if test $wxUSE_ACCESSIBILITY = no; then
15359 result=yes
15360 else
15361 result=no
15362 fi
15363 else
15364 result=$wxUSE_ACCESSIBILITY
15365 fi
15366
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15368 $as_echo "$result" >&6; }
15369
15370
15371 enablestring=
15372 defaultval=$wxUSE_ALL_FEATURES
15373 if test -z "$defaultval"; then
15374 if test x"$enablestring" = xdisable; then
15375 defaultval=yes
15376 else
15377 defaultval=no
15378 fi
15379 fi
15380
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15382 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15383 # Check whether --enable-uiactionsim was given.
15384 if test "${enable_uiactionsim+set}" = set; then :
15385 enableval=$enable_uiactionsim;
15386 if test "$enableval" = yes; then
15387 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15388 else
15389 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15390 fi
15391
15392 else
15393
15394 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15395
15396 fi
15397
15398
15399 eval "$wx_cv_use_uiactionsim"
15400
15401 if test x"$enablestring" = xdisable; then
15402 if test $wxUSE_UIACTIONSIMULATOR = no; then
15403 result=yes
15404 else
15405 result=no
15406 fi
15407 else
15408 result=$wxUSE_UIACTIONSIMULATOR
15409 fi
15410
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15412 $as_echo "$result" >&6; }
15413
15414
15415 enablestring=
15416 defaultval=$wxUSE_ALL_FEATURES
15417 if test -z "$defaultval"; then
15418 if test x"$enablestring" = xdisable; then
15419 defaultval=yes
15420 else
15421 defaultval=no
15422 fi
15423 fi
15424
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15426 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15427 # Check whether --enable-dctransform was given.
15428 if test "${enable_dctransform+set}" = set; then :
15429 enableval=$enable_dctransform;
15430 if test "$enableval" = yes; then
15431 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15432 else
15433 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15434 fi
15435
15436 else
15437
15438 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15439
15440 fi
15441
15442
15443 eval "$wx_cv_use_dctransform"
15444
15445 if test x"$enablestring" = xdisable; then
15446 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15447 result=yes
15448 else
15449 result=no
15450 fi
15451 else
15452 result=$wxUSE_DC_TRANSFORM_MATRIX
15453 fi
15454
15455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15456 $as_echo "$result" >&6; }
15457
15458
15459 enablestring=
15460 defaultval=$wxUSE_ALL_FEATURES
15461 if test -z "$defaultval"; then
15462 if test x"$enablestring" = xdisable; then
15463 defaultval=yes
15464 else
15465 defaultval=no
15466 fi
15467 fi
15468
15469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15470 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15471 # Check whether --enable-webviewwebkit was given.
15472 if test "${enable_webviewwebkit+set}" = set; then :
15473 enableval=$enable_webviewwebkit;
15474 if test "$enableval" = yes; then
15475 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15476 else
15477 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15478 fi
15479
15480 else
15481
15482 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15483
15484 fi
15485
15486
15487 eval "$wx_cv_use_webviewwebkit"
15488
15489 if test x"$enablestring" = xdisable; then
15490 if test $wxUSE_WEBVIEW_WEBKIT = no; then
15491 result=yes
15492 else
15493 result=no
15494 fi
15495 else
15496 result=$wxUSE_WEBVIEW_WEBKIT
15497 fi
15498
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15500 $as_echo "$result" >&6; }
15501
15502
15503
15504
15505 enablestring=
15506 defaultval=$wxUSE_ALL_FEATURES
15507 if test -z "$defaultval"; then
15508 if test x"$enablestring" = xdisable; then
15509 defaultval=yes
15510 else
15511 defaultval=no
15512 fi
15513 fi
15514
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15516 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15517 # Check whether --enable-palette was given.
15518 if test "${enable_palette+set}" = set; then :
15519 enableval=$enable_palette;
15520 if test "$enableval" = yes; then
15521 wx_cv_use_palette='wxUSE_PALETTE=yes'
15522 else
15523 wx_cv_use_palette='wxUSE_PALETTE=no'
15524 fi
15525
15526 else
15527
15528 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15529
15530 fi
15531
15532
15533 eval "$wx_cv_use_palette"
15534
15535 if test x"$enablestring" = xdisable; then
15536 if test $wxUSE_PALETTE = no; then
15537 result=yes
15538 else
15539 result=no
15540 fi
15541 else
15542 result=$wxUSE_PALETTE
15543 fi
15544
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15546 $as_echo "$result" >&6; }
15547
15548
15549 enablestring=
15550 defaultval=$wxUSE_ALL_FEATURES
15551 if test -z "$defaultval"; then
15552 if test x"$enablestring" = xdisable; then
15553 defaultval=yes
15554 else
15555 defaultval=no
15556 fi
15557 fi
15558
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15560 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15561 # Check whether --enable-image was given.
15562 if test "${enable_image+set}" = set; then :
15563 enableval=$enable_image;
15564 if test "$enableval" = yes; then
15565 wx_cv_use_image='wxUSE_IMAGE=yes'
15566 else
15567 wx_cv_use_image='wxUSE_IMAGE=no'
15568 fi
15569
15570 else
15571
15572 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15573
15574 fi
15575
15576
15577 eval "$wx_cv_use_image"
15578
15579 if test x"$enablestring" = xdisable; then
15580 if test $wxUSE_IMAGE = no; then
15581 result=yes
15582 else
15583 result=no
15584 fi
15585 else
15586 result=$wxUSE_IMAGE
15587 fi
15588
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15590 $as_echo "$result" >&6; }
15591
15592
15593 enablestring=
15594 defaultval=$wxUSE_ALL_FEATURES
15595 if test -z "$defaultval"; then
15596 if test x"$enablestring" = xdisable; then
15597 defaultval=yes
15598 else
15599 defaultval=no
15600 fi
15601 fi
15602
15603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15604 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15605 # Check whether --enable-gif was given.
15606 if test "${enable_gif+set}" = set; then :
15607 enableval=$enable_gif;
15608 if test "$enableval" = yes; then
15609 wx_cv_use_gif='wxUSE_GIF=yes'
15610 else
15611 wx_cv_use_gif='wxUSE_GIF=no'
15612 fi
15613
15614 else
15615
15616 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15617
15618 fi
15619
15620
15621 eval "$wx_cv_use_gif"
15622
15623 if test x"$enablestring" = xdisable; then
15624 if test $wxUSE_GIF = no; then
15625 result=yes
15626 else
15627 result=no
15628 fi
15629 else
15630 result=$wxUSE_GIF
15631 fi
15632
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15634 $as_echo "$result" >&6; }
15635
15636
15637 enablestring=
15638 defaultval=$wxUSE_ALL_FEATURES
15639 if test -z "$defaultval"; then
15640 if test x"$enablestring" = xdisable; then
15641 defaultval=yes
15642 else
15643 defaultval=no
15644 fi
15645 fi
15646
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15648 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15649 # Check whether --enable-pcx was given.
15650 if test "${enable_pcx+set}" = set; then :
15651 enableval=$enable_pcx;
15652 if test "$enableval" = yes; then
15653 wx_cv_use_pcx='wxUSE_PCX=yes'
15654 else
15655 wx_cv_use_pcx='wxUSE_PCX=no'
15656 fi
15657
15658 else
15659
15660 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15661
15662 fi
15663
15664
15665 eval "$wx_cv_use_pcx"
15666
15667 if test x"$enablestring" = xdisable; then
15668 if test $wxUSE_PCX = no; then
15669 result=yes
15670 else
15671 result=no
15672 fi
15673 else
15674 result=$wxUSE_PCX
15675 fi
15676
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15678 $as_echo "$result" >&6; }
15679
15680
15681 enablestring=
15682 defaultval=$wxUSE_ALL_FEATURES
15683 if test -z "$defaultval"; then
15684 if test x"$enablestring" = xdisable; then
15685 defaultval=yes
15686 else
15687 defaultval=no
15688 fi
15689 fi
15690
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15692 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15693 # Check whether --enable-tga was given.
15694 if test "${enable_tga+set}" = set; then :
15695 enableval=$enable_tga;
15696 if test "$enableval" = yes; then
15697 wx_cv_use_tga='wxUSE_TGA=yes'
15698 else
15699 wx_cv_use_tga='wxUSE_TGA=no'
15700 fi
15701
15702 else
15703
15704 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15705
15706 fi
15707
15708
15709 eval "$wx_cv_use_tga"
15710
15711 if test x"$enablestring" = xdisable; then
15712 if test $wxUSE_TGA = no; then
15713 result=yes
15714 else
15715 result=no
15716 fi
15717 else
15718 result=$wxUSE_TGA
15719 fi
15720
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15722 $as_echo "$result" >&6; }
15723
15724
15725 enablestring=
15726 defaultval=$wxUSE_ALL_FEATURES
15727 if test -z "$defaultval"; then
15728 if test x"$enablestring" = xdisable; then
15729 defaultval=yes
15730 else
15731 defaultval=no
15732 fi
15733 fi
15734
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15736 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15737 # Check whether --enable-iff was given.
15738 if test "${enable_iff+set}" = set; then :
15739 enableval=$enable_iff;
15740 if test "$enableval" = yes; then
15741 wx_cv_use_iff='wxUSE_IFF=yes'
15742 else
15743 wx_cv_use_iff='wxUSE_IFF=no'
15744 fi
15745
15746 else
15747
15748 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15749
15750 fi
15751
15752
15753 eval "$wx_cv_use_iff"
15754
15755 if test x"$enablestring" = xdisable; then
15756 if test $wxUSE_IFF = no; then
15757 result=yes
15758 else
15759 result=no
15760 fi
15761 else
15762 result=$wxUSE_IFF
15763 fi
15764
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15766 $as_echo "$result" >&6; }
15767
15768
15769 enablestring=
15770 defaultval=$wxUSE_ALL_FEATURES
15771 if test -z "$defaultval"; then
15772 if test x"$enablestring" = xdisable; then
15773 defaultval=yes
15774 else
15775 defaultval=no
15776 fi
15777 fi
15778
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15780 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15781 # Check whether --enable-pnm was given.
15782 if test "${enable_pnm+set}" = set; then :
15783 enableval=$enable_pnm;
15784 if test "$enableval" = yes; then
15785 wx_cv_use_pnm='wxUSE_PNM=yes'
15786 else
15787 wx_cv_use_pnm='wxUSE_PNM=no'
15788 fi
15789
15790 else
15791
15792 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15793
15794 fi
15795
15796
15797 eval "$wx_cv_use_pnm"
15798
15799 if test x"$enablestring" = xdisable; then
15800 if test $wxUSE_PNM = no; then
15801 result=yes
15802 else
15803 result=no
15804 fi
15805 else
15806 result=$wxUSE_PNM
15807 fi
15808
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15810 $as_echo "$result" >&6; }
15811
15812
15813 enablestring=
15814 defaultval=$wxUSE_ALL_FEATURES
15815 if test -z "$defaultval"; then
15816 if test x"$enablestring" = xdisable; then
15817 defaultval=yes
15818 else
15819 defaultval=no
15820 fi
15821 fi
15822
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15824 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15825 # Check whether --enable-xpm was given.
15826 if test "${enable_xpm+set}" = set; then :
15827 enableval=$enable_xpm;
15828 if test "$enableval" = yes; then
15829 wx_cv_use_xpm='wxUSE_XPM=yes'
15830 else
15831 wx_cv_use_xpm='wxUSE_XPM=no'
15832 fi
15833
15834 else
15835
15836 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15837
15838 fi
15839
15840
15841 eval "$wx_cv_use_xpm"
15842
15843 if test x"$enablestring" = xdisable; then
15844 if test $wxUSE_XPM = no; then
15845 result=yes
15846 else
15847 result=no
15848 fi
15849 else
15850 result=$wxUSE_XPM
15851 fi
15852
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15854 $as_echo "$result" >&6; }
15855
15856
15857 enablestring=
15858 defaultval=$wxUSE_ALL_FEATURES
15859 if test -z "$defaultval"; then
15860 if test x"$enablestring" = xdisable; then
15861 defaultval=yes
15862 else
15863 defaultval=no
15864 fi
15865 fi
15866
15867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15868 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15869 # Check whether --enable-ico_cur was given.
15870 if test "${enable_ico_cur+set}" = set; then :
15871 enableval=$enable_ico_cur;
15872 if test "$enableval" = yes; then
15873 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15874 else
15875 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15876 fi
15877
15878 else
15879
15880 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15881
15882 fi
15883
15884
15885 eval "$wx_cv_use_ico_cur"
15886
15887 if test x"$enablestring" = xdisable; then
15888 if test $wxUSE_ICO_CUR = no; then
15889 result=yes
15890 else
15891 result=no
15892 fi
15893 else
15894 result=$wxUSE_ICO_CUR
15895 fi
15896
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15898 $as_echo "$result" >&6; }
15899
15900
15901
15902
15903 enablestring=
15904 defaultval=$wxUSE_ALL_FEATURES
15905 if test -z "$defaultval"; then
15906 if test x"$enablestring" = xdisable; then
15907 defaultval=yes
15908 else
15909 defaultval=no
15910 fi
15911 fi
15912
15913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
15914 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
15915 # Check whether --enable-dccache was given.
15916 if test "${enable_dccache+set}" = set; then :
15917 enableval=$enable_dccache;
15918 if test "$enableval" = yes; then
15919 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15920 else
15921 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15922 fi
15923
15924 else
15925
15926 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15927
15928 fi
15929
15930
15931 eval "$wx_cv_use_dccache"
15932
15933 if test x"$enablestring" = xdisable; then
15934 if test $wxUSE_DC_CACHEING = no; then
15935 result=yes
15936 else
15937 result=no
15938 fi
15939 else
15940 result=$wxUSE_DC_CACHEING
15941 fi
15942
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15944 $as_echo "$result" >&6; }
15945
15946
15947 enablestring=
15948 defaultval=$wxUSE_ALL_FEATURES
15949 if test -z "$defaultval"; then
15950 if test x"$enablestring" = xdisable; then
15951 defaultval=yes
15952 else
15953 defaultval=no
15954 fi
15955 fi
15956
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
15958 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
15959 # Check whether --enable-ps-in-msw was given.
15960 if test "${enable_ps_in_msw+set}" = set; then :
15961 enableval=$enable_ps_in_msw;
15962 if test "$enableval" = yes; then
15963 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15964 else
15965 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15966 fi
15967
15968 else
15969
15970 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15971
15972 fi
15973
15974
15975 eval "$wx_cv_use_ps_in_msw"
15976
15977 if test x"$enablestring" = xdisable; then
15978 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
15979 result=yes
15980 else
15981 result=no
15982 fi
15983 else
15984 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15985 fi
15986
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15988 $as_echo "$result" >&6; }
15989
15990
15991 enablestring=
15992 defaultval=$wxUSE_ALL_FEATURES
15993 if test -z "$defaultval"; then
15994 if test x"$enablestring" = xdisable; then
15995 defaultval=yes
15996 else
15997 defaultval=no
15998 fi
15999 fi
16000
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
16002 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
16003 # Check whether --enable-ownerdrawn was given.
16004 if test "${enable_ownerdrawn+set}" = set; then :
16005 enableval=$enable_ownerdrawn;
16006 if test "$enableval" = yes; then
16007 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16008 else
16009 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16010 fi
16011
16012 else
16013
16014 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16015
16016 fi
16017
16018
16019 eval "$wx_cv_use_ownerdrawn"
16020
16021 if test x"$enablestring" = xdisable; then
16022 if test $wxUSE_OWNER_DRAWN = no; then
16023 result=yes
16024 else
16025 result=no
16026 fi
16027 else
16028 result=$wxUSE_OWNER_DRAWN
16029 fi
16030
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16032 $as_echo "$result" >&6; }
16033
16034
16035 enablestring=
16036 defaultval=$wxUSE_ALL_FEATURES
16037 if test -z "$defaultval"; then
16038 if test x"$enablestring" = xdisable; then
16039 defaultval=yes
16040 else
16041 defaultval=no
16042 fi
16043 fi
16044
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
16046 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
16047 # Check whether --enable-uxtheme was given.
16048 if test "${enable_uxtheme+set}" = set; then :
16049 enableval=$enable_uxtheme;
16050 if test "$enableval" = yes; then
16051 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16052 else
16053 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16054 fi
16055
16056 else
16057
16058 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16059
16060 fi
16061
16062
16063 eval "$wx_cv_use_uxtheme"
16064
16065 if test x"$enablestring" = xdisable; then
16066 if test $wxUSE_UXTHEME = no; then
16067 result=yes
16068 else
16069 result=no
16070 fi
16071 else
16072 result=$wxUSE_UXTHEME
16073 fi
16074
16075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16076 $as_echo "$result" >&6; }
16077
16078
16079 enablestring=
16080 defaultval=$wxUSE_ALL_FEATURES
16081 if test -z "$defaultval"; then
16082 if test x"$enablestring" = xdisable; then
16083 defaultval=yes
16084 else
16085 defaultval=no
16086 fi
16087 fi
16088
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
16090 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
16091 # Check whether --enable-wxdib was given.
16092 if test "${enable_wxdib+set}" = set; then :
16093 enableval=$enable_wxdib;
16094 if test "$enableval" = yes; then
16095 wx_cv_use_wxdib='wxUSE_DIB=yes'
16096 else
16097 wx_cv_use_wxdib='wxUSE_DIB=no'
16098 fi
16099
16100 else
16101
16102 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16103
16104 fi
16105
16106
16107 eval "$wx_cv_use_wxdib"
16108
16109 if test x"$enablestring" = xdisable; then
16110 if test $wxUSE_DIB = no; then
16111 result=yes
16112 else
16113 result=no
16114 fi
16115 else
16116 result=$wxUSE_DIB
16117 fi
16118
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16120 $as_echo "$result" >&6; }
16121
16122
16123 enablestring=
16124 defaultval=$wxUSE_ALL_FEATURES
16125 if test -z "$defaultval"; then
16126 if test x"$enablestring" = xdisable; then
16127 defaultval=yes
16128 else
16129 defaultval=no
16130 fi
16131 fi
16132
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16134 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16135 # Check whether --enable-webviewie was given.
16136 if test "${enable_webviewie+set}" = set; then :
16137 enableval=$enable_webviewie;
16138 if test "$enableval" = yes; then
16139 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16140 else
16141 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16142 fi
16143
16144 else
16145
16146 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16147
16148 fi
16149
16150
16151 eval "$wx_cv_use_webviewie"
16152
16153 if test x"$enablestring" = xdisable; then
16154 if test $wxUSE_WEBVIEW_IE = no; then
16155 result=yes
16156 else
16157 result=no
16158 fi
16159 else
16160 result=$wxUSE_WEBVIEW_IE
16161 fi
16162
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16164 $as_echo "$result" >&6; }
16165
16166
16167 if test "$wxUSE_MSW" != 1; then
16168 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16169 fi
16170
16171
16172 enablestring=
16173 defaultval=$wxUSE_ALL_FEATURES
16174 if test -z "$defaultval"; then
16175 if test x"$enablestring" = xdisable; then
16176 defaultval=yes
16177 else
16178 defaultval=no
16179 fi
16180 fi
16181
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16183 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16184 # Check whether --enable-autoidman was given.
16185 if test "${enable_autoidman+set}" = set; then :
16186 enableval=$enable_autoidman;
16187 if test "$enableval" = yes; then
16188 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16189 else
16190 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16191 fi
16192
16193 else
16194
16195 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16196
16197 fi
16198
16199
16200 eval "$wx_cv_use_autoidman"
16201
16202 if test x"$enablestring" = xdisable; then
16203 if test $wxUSE_AUTOID_MANAGEMENT = no; then
16204 result=yes
16205 else
16206 result=no
16207 fi
16208 else
16209 result=$wxUSE_AUTOID_MANAGEMENT
16210 fi
16211
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16213 $as_echo "$result" >&6; }
16214
16215
16216 fi
16217
16218
16219 cat >confcache <<\_ACEOF
16220 # This file is a shell script that caches the results of configure
16221 # tests run on this system so they can be shared between configure
16222 # scripts and configure runs, see configure's option --config-cache.
16223 # It is not useful on other systems. If it contains results you don't
16224 # want to keep, you may remove or edit it.
16225 #
16226 # config.status only pays attention to the cache file if you give it
16227 # the --recheck option to rerun configure.
16228 #
16229 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16230 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16231 # following values.
16232
16233 _ACEOF
16234
16235 # The following way of writing the cache mishandles newlines in values,
16236 # but we know of no workaround that is simple, portable, and efficient.
16237 # So, we kill variables containing newlines.
16238 # Ultrix sh set writes to stderr and can't be redirected directly,
16239 # and sets the high bit in the cache file unless we assign to the vars.
16240 (
16241 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16242 eval ac_val=\$$ac_var
16243 case $ac_val in #(
16244 *${as_nl}*)
16245 case $ac_var in #(
16246 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16247 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16248 esac
16249 case $ac_var in #(
16250 _ | IFS | as_nl) ;; #(
16251 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16252 *) { eval $ac_var=; unset $ac_var;} ;;
16253 esac ;;
16254 esac
16255 done
16256
16257 (set) 2>&1 |
16258 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16259 *${as_nl}ac_space=\ *)
16260 # `set' does not quote correctly, so add quotes: double-quote
16261 # substitution turns \\\\ into \\, and sed turns \\ into \.
16262 sed -n \
16263 "s/'/'\\\\''/g;
16264 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16265 ;; #(
16266 *)
16267 # `set' quotes correctly as required by POSIX, so do not add quotes.
16268 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16269 ;;
16270 esac |
16271 sort
16272 ) |
16273 sed '
16274 /^ac_cv_env_/b end
16275 t clear
16276 :clear
16277 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16278 t end
16279 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16280 :end' >>confcache
16281 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16282 if test -w "$cache_file"; then
16283 if test "x$cache_file" != "x/dev/null"; then
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16285 $as_echo "$as_me: updating cache $cache_file" >&6;}
16286 if test ! -f "$cache_file" || test -h "$cache_file"; then
16287 cat confcache >"$cache_file"
16288 else
16289 case $cache_file in #(
16290 */* | ?:*)
16291 mv -f confcache "$cache_file"$$ &&
16292 mv -f "$cache_file"$$ "$cache_file" ;; #(
16293 *)
16294 mv -f confcache "$cache_file" ;;
16295 esac
16296 fi
16297 fi
16298 else
16299 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16300 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16301 fi
16302 fi
16303 rm -f confcache
16304
16305 CFLAGS=${CFLAGS:=}
16306 ac_ext=c
16307 ac_cpp='$CPP $CPPFLAGS'
16308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16311 if test -n "$ac_tool_prefix"; then
16312 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16313 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16315 $as_echo_n "checking for $ac_word... " >&6; }
16316 if ${ac_cv_prog_CC+:} false; then :
16317 $as_echo_n "(cached) " >&6
16318 else
16319 if test -n "$CC"; then
16320 ac_cv_prog_CC="$CC" # Let the user override the test.
16321 else
16322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16323 for as_dir in $PATH
16324 do
16325 IFS=$as_save_IFS
16326 test -z "$as_dir" && as_dir=.
16327 for ac_exec_ext in '' $ac_executable_extensions; do
16328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16329 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16331 break 2
16332 fi
16333 done
16334 done
16335 IFS=$as_save_IFS
16336
16337 fi
16338 fi
16339 CC=$ac_cv_prog_CC
16340 if test -n "$CC"; then
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16342 $as_echo "$CC" >&6; }
16343 else
16344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16345 $as_echo "no" >&6; }
16346 fi
16347
16348
16349 fi
16350 if test -z "$ac_cv_prog_CC"; then
16351 ac_ct_CC=$CC
16352 # Extract the first word of "gcc", so it can be a program name with args.
16353 set dummy gcc; ac_word=$2
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16355 $as_echo_n "checking for $ac_word... " >&6; }
16356 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16357 $as_echo_n "(cached) " >&6
16358 else
16359 if test -n "$ac_ct_CC"; then
16360 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16361 else
16362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16363 for as_dir in $PATH
16364 do
16365 IFS=$as_save_IFS
16366 test -z "$as_dir" && as_dir=.
16367 for ac_exec_ext in '' $ac_executable_extensions; do
16368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16369 ac_cv_prog_ac_ct_CC="gcc"
16370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16371 break 2
16372 fi
16373 done
16374 done
16375 IFS=$as_save_IFS
16376
16377 fi
16378 fi
16379 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16380 if test -n "$ac_ct_CC"; then
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16382 $as_echo "$ac_ct_CC" >&6; }
16383 else
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16385 $as_echo "no" >&6; }
16386 fi
16387
16388 if test "x$ac_ct_CC" = x; then
16389 CC=""
16390 else
16391 case $cross_compiling:$ac_tool_warned in
16392 yes:)
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16394 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16395 ac_tool_warned=yes ;;
16396 esac
16397 CC=$ac_ct_CC
16398 fi
16399 else
16400 CC="$ac_cv_prog_CC"
16401 fi
16402
16403 if test -z "$CC"; then
16404 if test -n "$ac_tool_prefix"; then
16405 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16406 set dummy ${ac_tool_prefix}cc; ac_word=$2
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16408 $as_echo_n "checking for $ac_word... " >&6; }
16409 if ${ac_cv_prog_CC+:} false; then :
16410 $as_echo_n "(cached) " >&6
16411 else
16412 if test -n "$CC"; then
16413 ac_cv_prog_CC="$CC" # Let the user override the test.
16414 else
16415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16416 for as_dir in $PATH
16417 do
16418 IFS=$as_save_IFS
16419 test -z "$as_dir" && as_dir=.
16420 for ac_exec_ext in '' $ac_executable_extensions; do
16421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16422 ac_cv_prog_CC="${ac_tool_prefix}cc"
16423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16424 break 2
16425 fi
16426 done
16427 done
16428 IFS=$as_save_IFS
16429
16430 fi
16431 fi
16432 CC=$ac_cv_prog_CC
16433 if test -n "$CC"; then
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16435 $as_echo "$CC" >&6; }
16436 else
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16438 $as_echo "no" >&6; }
16439 fi
16440
16441
16442 fi
16443 fi
16444 if test -z "$CC"; then
16445 # Extract the first word of "cc", so it can be a program name with args.
16446 set dummy cc; ac_word=$2
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16448 $as_echo_n "checking for $ac_word... " >&6; }
16449 if ${ac_cv_prog_CC+:} false; then :
16450 $as_echo_n "(cached) " >&6
16451 else
16452 if test -n "$CC"; then
16453 ac_cv_prog_CC="$CC" # Let the user override the test.
16454 else
16455 ac_prog_rejected=no
16456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16457 for as_dir in $PATH
16458 do
16459 IFS=$as_save_IFS
16460 test -z "$as_dir" && as_dir=.
16461 for ac_exec_ext in '' $ac_executable_extensions; do
16462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16463 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16464 ac_prog_rejected=yes
16465 continue
16466 fi
16467 ac_cv_prog_CC="cc"
16468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16469 break 2
16470 fi
16471 done
16472 done
16473 IFS=$as_save_IFS
16474
16475 if test $ac_prog_rejected = yes; then
16476 # We found a bogon in the path, so make sure we never use it.
16477 set dummy $ac_cv_prog_CC
16478 shift
16479 if test $# != 0; then
16480 # We chose a different compiler from the bogus one.
16481 # However, it has the same basename, so the bogon will be chosen
16482 # first if we set CC to just the basename; use the full file name.
16483 shift
16484 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16485 fi
16486 fi
16487 fi
16488 fi
16489 CC=$ac_cv_prog_CC
16490 if test -n "$CC"; then
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16492 $as_echo "$CC" >&6; }
16493 else
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16495 $as_echo "no" >&6; }
16496 fi
16497
16498
16499 fi
16500 if test -z "$CC"; then
16501 if test -n "$ac_tool_prefix"; then
16502 for ac_prog in cl.exe
16503 do
16504 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16505 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16507 $as_echo_n "checking for $ac_word... " >&6; }
16508 if ${ac_cv_prog_CC+:} false; then :
16509 $as_echo_n "(cached) " >&6
16510 else
16511 if test -n "$CC"; then
16512 ac_cv_prog_CC="$CC" # Let the user override the test.
16513 else
16514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16515 for as_dir in $PATH
16516 do
16517 IFS=$as_save_IFS
16518 test -z "$as_dir" && as_dir=.
16519 for ac_exec_ext in '' $ac_executable_extensions; do
16520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16521 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16523 break 2
16524 fi
16525 done
16526 done
16527 IFS=$as_save_IFS
16528
16529 fi
16530 fi
16531 CC=$ac_cv_prog_CC
16532 if test -n "$CC"; then
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16534 $as_echo "$CC" >&6; }
16535 else
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16537 $as_echo "no" >&6; }
16538 fi
16539
16540
16541 test -n "$CC" && break
16542 done
16543 fi
16544 if test -z "$CC"; then
16545 ac_ct_CC=$CC
16546 for ac_prog in cl.exe
16547 do
16548 # Extract the first word of "$ac_prog", so it can be a program name with args.
16549 set dummy $ac_prog; ac_word=$2
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16551 $as_echo_n "checking for $ac_word... " >&6; }
16552 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16553 $as_echo_n "(cached) " >&6
16554 else
16555 if test -n "$ac_ct_CC"; then
16556 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16557 else
16558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16559 for as_dir in $PATH
16560 do
16561 IFS=$as_save_IFS
16562 test -z "$as_dir" && as_dir=.
16563 for ac_exec_ext in '' $ac_executable_extensions; do
16564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16565 ac_cv_prog_ac_ct_CC="$ac_prog"
16566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16567 break 2
16568 fi
16569 done
16570 done
16571 IFS=$as_save_IFS
16572
16573 fi
16574 fi
16575 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16576 if test -n "$ac_ct_CC"; then
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16578 $as_echo "$ac_ct_CC" >&6; }
16579 else
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16581 $as_echo "no" >&6; }
16582 fi
16583
16584
16585 test -n "$ac_ct_CC" && break
16586 done
16587
16588 if test "x$ac_ct_CC" = x; then
16589 CC=""
16590 else
16591 case $cross_compiling:$ac_tool_warned in
16592 yes:)
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16595 ac_tool_warned=yes ;;
16596 esac
16597 CC=$ac_ct_CC
16598 fi
16599 fi
16600
16601 fi
16602
16603
16604 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16606 as_fn_error $? "no acceptable C compiler found in \$PATH
16607 See \`config.log' for more details" "$LINENO" 5; }
16608
16609 # Provide some information about the compiler.
16610 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16611 set X $ac_compile
16612 ac_compiler=$2
16613 for ac_option in --version -v -V -qversion; do
16614 { { ac_try="$ac_compiler $ac_option >&5"
16615 case "(($ac_try" in
16616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16617 *) ac_try_echo=$ac_try;;
16618 esac
16619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16620 $as_echo "$ac_try_echo"; } >&5
16621 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16622 ac_status=$?
16623 if test -s conftest.err; then
16624 sed '10a\
16625 ... rest of stderr output deleted ...
16626 10q' conftest.err >conftest.er1
16627 cat conftest.er1 >&5
16628 fi
16629 rm -f conftest.er1 conftest.err
16630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16631 test $ac_status = 0; }
16632 done
16633
16634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16635 /* end confdefs.h. */
16636
16637 int
16638 main ()
16639 {
16640
16641 ;
16642 return 0;
16643 }
16644 _ACEOF
16645 ac_clean_files_save=$ac_clean_files
16646 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16647 # Try to create an executable without -o first, disregard a.out.
16648 # It will help us diagnose broken compilers, and finding out an intuition
16649 # of exeext.
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16651 $as_echo_n "checking whether the C compiler works... " >&6; }
16652 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16653
16654 # The possible output files:
16655 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16656
16657 ac_rmfiles=
16658 for ac_file in $ac_files
16659 do
16660 case $ac_file in
16661 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16662 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16663 esac
16664 done
16665 rm -f $ac_rmfiles
16666
16667 if { { ac_try="$ac_link_default"
16668 case "(($ac_try" in
16669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16670 *) ac_try_echo=$ac_try;;
16671 esac
16672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16673 $as_echo "$ac_try_echo"; } >&5
16674 (eval "$ac_link_default") 2>&5
16675 ac_status=$?
16676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16677 test $ac_status = 0; }; then :
16678 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16679 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16680 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16681 # so that the user can short-circuit this test for compilers unknown to
16682 # Autoconf.
16683 for ac_file in $ac_files ''
16684 do
16685 test -f "$ac_file" || continue
16686 case $ac_file in
16687 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16688 ;;
16689 [ab].out )
16690 # We found the default executable, but exeext='' is most
16691 # certainly right.
16692 break;;
16693 *.* )
16694 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16695 then :; else
16696 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16697 fi
16698 # We set ac_cv_exeext here because the later test for it is not
16699 # safe: cross compilers may not add the suffix if given an `-o'
16700 # argument, so we may need to know it at that point already.
16701 # Even if this section looks crufty: it has the advantage of
16702 # actually working.
16703 break;;
16704 * )
16705 break;;
16706 esac
16707 done
16708 test "$ac_cv_exeext" = no && ac_cv_exeext=
16709
16710 else
16711 ac_file=''
16712 fi
16713 if test -z "$ac_file"; then :
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16715 $as_echo "no" >&6; }
16716 $as_echo "$as_me: failed program was:" >&5
16717 sed 's/^/| /' conftest.$ac_ext >&5
16718
16719 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16721 as_fn_error 77 "C compiler cannot create executables
16722 See \`config.log' for more details" "$LINENO" 5; }
16723 else
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16725 $as_echo "yes" >&6; }
16726 fi
16727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16728 $as_echo_n "checking for C compiler default output file name... " >&6; }
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16730 $as_echo "$ac_file" >&6; }
16731 ac_exeext=$ac_cv_exeext
16732
16733 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16734 ac_clean_files=$ac_clean_files_save
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16736 $as_echo_n "checking for suffix of executables... " >&6; }
16737 if { { ac_try="$ac_link"
16738 case "(($ac_try" in
16739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16740 *) ac_try_echo=$ac_try;;
16741 esac
16742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16743 $as_echo "$ac_try_echo"; } >&5
16744 (eval "$ac_link") 2>&5
16745 ac_status=$?
16746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16747 test $ac_status = 0; }; then :
16748 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16749 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16750 # work properly (i.e., refer to `conftest.exe'), while it won't with
16751 # `rm'.
16752 for ac_file in conftest.exe conftest conftest.*; do
16753 test -f "$ac_file" || continue
16754 case $ac_file in
16755 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16756 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16757 break;;
16758 * ) break;;
16759 esac
16760 done
16761 else
16762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16764 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16765 See \`config.log' for more details" "$LINENO" 5; }
16766 fi
16767 rm -f conftest conftest$ac_cv_exeext
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16769 $as_echo "$ac_cv_exeext" >&6; }
16770
16771 rm -f conftest.$ac_ext
16772 EXEEXT=$ac_cv_exeext
16773 ac_exeext=$EXEEXT
16774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16775 /* end confdefs.h. */
16776 #include <stdio.h>
16777 int
16778 main ()
16779 {
16780 FILE *f = fopen ("conftest.out", "w");
16781 return ferror (f) || fclose (f) != 0;
16782
16783 ;
16784 return 0;
16785 }
16786 _ACEOF
16787 ac_clean_files="$ac_clean_files conftest.out"
16788 # Check that the compiler produces executables we can run. If not, either
16789 # the compiler is broken, or we cross compile.
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16791 $as_echo_n "checking whether we are cross compiling... " >&6; }
16792 if test "$cross_compiling" != yes; then
16793 { { ac_try="$ac_link"
16794 case "(($ac_try" in
16795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16796 *) ac_try_echo=$ac_try;;
16797 esac
16798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16799 $as_echo "$ac_try_echo"; } >&5
16800 (eval "$ac_link") 2>&5
16801 ac_status=$?
16802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16803 test $ac_status = 0; }
16804 if { ac_try='./conftest$ac_cv_exeext'
16805 { { case "(($ac_try" in
16806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16807 *) ac_try_echo=$ac_try;;
16808 esac
16809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16810 $as_echo "$ac_try_echo"; } >&5
16811 (eval "$ac_try") 2>&5
16812 ac_status=$?
16813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16814 test $ac_status = 0; }; }; then
16815 cross_compiling=no
16816 else
16817 if test "$cross_compiling" = maybe; then
16818 cross_compiling=yes
16819 else
16820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16822 as_fn_error $? "cannot run C compiled programs.
16823 If you meant to cross compile, use \`--host'.
16824 See \`config.log' for more details" "$LINENO" 5; }
16825 fi
16826 fi
16827 fi
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16829 $as_echo "$cross_compiling" >&6; }
16830
16831 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16832 ac_clean_files=$ac_clean_files_save
16833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16834 $as_echo_n "checking for suffix of object files... " >&6; }
16835 if ${ac_cv_objext+:} false; then :
16836 $as_echo_n "(cached) " >&6
16837 else
16838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16839 /* end confdefs.h. */
16840
16841 int
16842 main ()
16843 {
16844
16845 ;
16846 return 0;
16847 }
16848 _ACEOF
16849 rm -f conftest.o conftest.obj
16850 if { { ac_try="$ac_compile"
16851 case "(($ac_try" in
16852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16853 *) ac_try_echo=$ac_try;;
16854 esac
16855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16856 $as_echo "$ac_try_echo"; } >&5
16857 (eval "$ac_compile") 2>&5
16858 ac_status=$?
16859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16860 test $ac_status = 0; }; then :
16861 for ac_file in conftest.o conftest.obj conftest.*; do
16862 test -f "$ac_file" || continue;
16863 case $ac_file in
16864 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16865 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16866 break;;
16867 esac
16868 done
16869 else
16870 $as_echo "$as_me: failed program was:" >&5
16871 sed 's/^/| /' conftest.$ac_ext >&5
16872
16873 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16874 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16875 as_fn_error $? "cannot compute suffix of object files: cannot compile
16876 See \`config.log' for more details" "$LINENO" 5; }
16877 fi
16878 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16879 fi
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16881 $as_echo "$ac_cv_objext" >&6; }
16882 OBJEXT=$ac_cv_objext
16883 ac_objext=$OBJEXT
16884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16885 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16886 if ${ac_cv_c_compiler_gnu+:} false; then :
16887 $as_echo_n "(cached) " >&6
16888 else
16889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16890 /* end confdefs.h. */
16891
16892 int
16893 main ()
16894 {
16895 #ifndef __GNUC__
16896 choke me
16897 #endif
16898
16899 ;
16900 return 0;
16901 }
16902 _ACEOF
16903 if ac_fn_c_try_compile "$LINENO"; then :
16904 ac_compiler_gnu=yes
16905 else
16906 ac_compiler_gnu=no
16907 fi
16908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16909 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16910
16911 fi
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16913 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16914 if test $ac_compiler_gnu = yes; then
16915 GCC=yes
16916 else
16917 GCC=
16918 fi
16919 ac_test_CFLAGS=${CFLAGS+set}
16920 ac_save_CFLAGS=$CFLAGS
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16922 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16923 if ${ac_cv_prog_cc_g+:} false; then :
16924 $as_echo_n "(cached) " >&6
16925 else
16926 ac_save_c_werror_flag=$ac_c_werror_flag
16927 ac_c_werror_flag=yes
16928 ac_cv_prog_cc_g=no
16929 CFLAGS="-g"
16930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16931 /* end confdefs.h. */
16932
16933 int
16934 main ()
16935 {
16936
16937 ;
16938 return 0;
16939 }
16940 _ACEOF
16941 if ac_fn_c_try_compile "$LINENO"; then :
16942 ac_cv_prog_cc_g=yes
16943 else
16944 CFLAGS=""
16945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16946 /* end confdefs.h. */
16947
16948 int
16949 main ()
16950 {
16951
16952 ;
16953 return 0;
16954 }
16955 _ACEOF
16956 if ac_fn_c_try_compile "$LINENO"; then :
16957
16958 else
16959 ac_c_werror_flag=$ac_save_c_werror_flag
16960 CFLAGS="-g"
16961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16962 /* end confdefs.h. */
16963
16964 int
16965 main ()
16966 {
16967
16968 ;
16969 return 0;
16970 }
16971 _ACEOF
16972 if ac_fn_c_try_compile "$LINENO"; then :
16973 ac_cv_prog_cc_g=yes
16974 fi
16975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16976 fi
16977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16978 fi
16979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16980 ac_c_werror_flag=$ac_save_c_werror_flag
16981 fi
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16983 $as_echo "$ac_cv_prog_cc_g" >&6; }
16984 if test "$ac_test_CFLAGS" = set; then
16985 CFLAGS=$ac_save_CFLAGS
16986 elif test $ac_cv_prog_cc_g = yes; then
16987 if test "$GCC" = yes; then
16988 CFLAGS="-g -O2"
16989 else
16990 CFLAGS="-g"
16991 fi
16992 else
16993 if test "$GCC" = yes; then
16994 CFLAGS="-O2"
16995 else
16996 CFLAGS=
16997 fi
16998 fi
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17000 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17001 if ${ac_cv_prog_cc_c89+:} false; then :
17002 $as_echo_n "(cached) " >&6
17003 else
17004 ac_cv_prog_cc_c89=no
17005 ac_save_CC=$CC
17006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17007 /* end confdefs.h. */
17008 #include <stdarg.h>
17009 #include <stdio.h>
17010 struct stat;
17011 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17012 struct buf { int x; };
17013 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17014 static char *e (p, i)
17015 char **p;
17016 int i;
17017 {
17018 return p[i];
17019 }
17020 static char *f (char * (*g) (char **, int), char **p, ...)
17021 {
17022 char *s;
17023 va_list v;
17024 va_start (v,p);
17025 s = g (p, va_arg (v,int));
17026 va_end (v);
17027 return s;
17028 }
17029
17030 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17031 function prototypes and stuff, but not '\xHH' hex character constants.
17032 These don't provoke an error unfortunately, instead are silently treated
17033 as 'x'. The following induces an error, until -std is added to get
17034 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17035 array size at least. It's necessary to write '\x00'==0 to get something
17036 that's true only with -std. */
17037 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17038
17039 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17040 inside strings and character constants. */
17041 #define FOO(x) 'x'
17042 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17043
17044 int test (int i, double x);
17045 struct s1 {int (*f) (int a);};
17046 struct s2 {int (*f) (double a);};
17047 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17048 int argc;
17049 char **argv;
17050 int
17051 main ()
17052 {
17053 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17054 ;
17055 return 0;
17056 }
17057 _ACEOF
17058 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17059 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17060 do
17061 CC="$ac_save_CC $ac_arg"
17062 if ac_fn_c_try_compile "$LINENO"; then :
17063 ac_cv_prog_cc_c89=$ac_arg
17064 fi
17065 rm -f core conftest.err conftest.$ac_objext
17066 test "x$ac_cv_prog_cc_c89" != "xno" && break
17067 done
17068 rm -f conftest.$ac_ext
17069 CC=$ac_save_CC
17070
17071 fi
17072 # AC_CACHE_VAL
17073 case "x$ac_cv_prog_cc_c89" in
17074 x)
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17076 $as_echo "none needed" >&6; } ;;
17077 xno)
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17079 $as_echo "unsupported" >&6; } ;;
17080 *)
17081 CC="$CC $ac_cv_prog_cc_c89"
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17083 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17084 esac
17085 if test "x$ac_cv_prog_cc_c89" != xno; then :
17086
17087 fi
17088
17089 ac_ext=c
17090 ac_cpp='$CPP $CPPFLAGS'
17091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17094
17095
17096
17097
17098
17099
17100
17101
17102 ac_ext=c
17103 ac_cpp='$CPP $CPPFLAGS'
17104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17107
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17109 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17110 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17111 $as_echo_n "(cached) " >&6
17112 else
17113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17114 /* end confdefs.h. */
17115
17116 int
17117 main ()
17118 {
17119
17120 #ifndef __INTEL_COMPILER
17121 choke me
17122 #endif
17123
17124 ;
17125 return 0;
17126 }
17127 _ACEOF
17128 if ac_fn_c_try_compile "$LINENO"; then :
17129 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17130 else
17131 bakefile_cv_c_compiler___INTEL_COMPILER=no
17132
17133 fi
17134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17135
17136
17137 fi
17138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17139 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17140 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17141 :; INTELCC=yes
17142 else
17143 :;
17144 fi
17145 ac_ext=c
17146 ac_cpp='$CPP $CPPFLAGS'
17147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17150
17151
17152
17153
17154 if test "$INTELCC" = "yes"; then
17155
17156
17157 ac_ext=c
17158 ac_cpp='$CPP $CPPFLAGS'
17159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17162
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17164 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17165 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17166 $as_echo_n "(cached) " >&6
17167 else
17168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17169 /* end confdefs.h. */
17170
17171 int
17172 main ()
17173 {
17174
17175 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17176 choke me
17177 #endif
17178
17179 ;
17180 return 0;
17181 }
17182 _ACEOF
17183 if ac_fn_c_try_compile "$LINENO"; then :
17184 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17185 else
17186 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17187
17188 fi
17189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17190
17191
17192 fi
17193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17194 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17195 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17196 :; INTELCC8=yes
17197 else
17198 :;
17199 fi
17200 ac_ext=c
17201 ac_cpp='$CPP $CPPFLAGS'
17202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17205
17206
17207
17208
17209
17210 ac_ext=c
17211 ac_cpp='$CPP $CPPFLAGS'
17212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17215
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17217 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17218 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17219 $as_echo_n "(cached) " >&6
17220 else
17221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17222 /* end confdefs.h. */
17223
17224 int
17225 main ()
17226 {
17227
17228 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17229 choke me
17230 #endif
17231
17232 ;
17233 return 0;
17234 }
17235 _ACEOF
17236 if ac_fn_c_try_compile "$LINENO"; then :
17237 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17238 else
17239 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17240
17241 fi
17242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17243
17244
17245 fi
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17247 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17248 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17249 :; INTELCC10=yes
17250 else
17251 :;
17252 fi
17253 ac_ext=c
17254 ac_cpp='$CPP $CPPFLAGS'
17255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17258
17259
17260
17261 fi
17262
17263 if test "x$GCC" != "xyes"; then
17264 if test "xCC" = "xC"; then
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17266 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17267 if ${bakefile_cv_c_exto+:} false; then :
17268 $as_echo_n "(cached) " >&6
17269 else
17270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17271 /* end confdefs.h. */
17272
17273 int
17274 main ()
17275 {
17276
17277 ;
17278 return 0;
17279 }
17280 _ACEOF
17281 rm -f conftest.$ac_objext conftest.$ac_ext.o
17282 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17283 (eval $ac_compile) 2>&5
17284 ac_status=$?
17285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17286 test $ac_status = 0; }; then :
17287 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17288 case $ac_file in
17289 conftest.$ac_ext.o)
17290 bakefile_cv_c_exto="-ext o"
17291 ;;
17292 *)
17293 ;;
17294 esac
17295 done
17296 else
17297 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17299 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
17300 See \`config.log' for more details" "$LINENO" 5; }
17301
17302 fi
17303 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17304
17305 fi
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17307 $as_echo "$bakefile_cv_c_exto" >&6; }
17308 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17309 if test "c" = "c"; then
17310 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17311 fi
17312 if test "c" = "cxx"; then
17313 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17314 fi
17315 fi
17316
17317 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17318 unset ac_cv_prog_cc_g
17319 ac_test_CFLAGS=${CFLAGS+set}
17320 ac_save_CFLAGS=$CFLAGS
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17322 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17323 if ${ac_cv_prog_cc_g+:} false; then :
17324 $as_echo_n "(cached) " >&6
17325 else
17326 ac_save_c_werror_flag=$ac_c_werror_flag
17327 ac_c_werror_flag=yes
17328 ac_cv_prog_cc_g=no
17329 CFLAGS="-g"
17330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17331 /* end confdefs.h. */
17332
17333 int
17334 main ()
17335 {
17336
17337 ;
17338 return 0;
17339 }
17340 _ACEOF
17341 if ac_fn_c_try_compile "$LINENO"; then :
17342 ac_cv_prog_cc_g=yes
17343 else
17344 CFLAGS=""
17345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17346 /* end confdefs.h. */
17347
17348 int
17349 main ()
17350 {
17351
17352 ;
17353 return 0;
17354 }
17355 _ACEOF
17356 if ac_fn_c_try_compile "$LINENO"; then :
17357
17358 else
17359 ac_c_werror_flag=$ac_save_c_werror_flag
17360 CFLAGS="-g"
17361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17362 /* end confdefs.h. */
17363
17364 int
17365 main ()
17366 {
17367
17368 ;
17369 return 0;
17370 }
17371 _ACEOF
17372 if ac_fn_c_try_compile "$LINENO"; then :
17373 ac_cv_prog_cc_g=yes
17374 fi
17375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17376 fi
17377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17378 fi
17379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17380 ac_c_werror_flag=$ac_save_c_werror_flag
17381 fi
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17383 $as_echo "$ac_cv_prog_cc_g" >&6; }
17384 if test "$ac_test_CFLAGS" = set; then
17385 CFLAGS=$ac_save_CFLAGS
17386 elif test $ac_cv_prog_cc_g = yes; then
17387 if test "$GCC" = yes; then
17388 CFLAGS="-g -O2"
17389 else
17390 CFLAGS="-g"
17391 fi
17392 else
17393 if test "$GCC" = yes; then
17394 CFLAGS="-O2"
17395 else
17396 CFLAGS=
17397 fi
17398 fi
17399 fi
17400 fi
17401
17402 case `uname -s` in
17403 AIX*)
17404
17405
17406 ac_ext=c
17407 ac_cpp='$CPP $CPPFLAGS'
17408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17411
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17413 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17414 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17415 $as_echo_n "(cached) " >&6
17416 else
17417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17418 /* end confdefs.h. */
17419
17420 int
17421 main ()
17422 {
17423
17424 #ifndef __xlC__
17425 choke me
17426 #endif
17427
17428 ;
17429 return 0;
17430 }
17431 _ACEOF
17432 if ac_fn_c_try_compile "$LINENO"; then :
17433 bakefile_cv_c_compiler___xlC__=yes
17434 else
17435 bakefile_cv_c_compiler___xlC__=no
17436
17437 fi
17438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17439
17440
17441 fi
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17443 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17444 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17445 :; XLCC=yes
17446 else
17447 :;
17448 fi
17449 ac_ext=c
17450 ac_cpp='$CPP $CPPFLAGS'
17451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17454
17455
17456
17457 ;;
17458
17459 Darwin)
17460
17461
17462 ac_ext=c
17463 ac_cpp='$CPP $CPPFLAGS'
17464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17467
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17469 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17470 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17471 $as_echo_n "(cached) " >&6
17472 else
17473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17474 /* end confdefs.h. */
17475
17476 int
17477 main ()
17478 {
17479
17480 #ifndef __MWERKS__
17481 choke me
17482 #endif
17483
17484 ;
17485 return 0;
17486 }
17487 _ACEOF
17488 if ac_fn_c_try_compile "$LINENO"; then :
17489 bakefile_cv_c_compiler___MWERKS__=yes
17490 else
17491 bakefile_cv_c_compiler___MWERKS__=no
17492
17493 fi
17494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17495
17496
17497 fi
17498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17499 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17500 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17501 :; MWCC=yes
17502 else
17503 :;
17504 fi
17505 ac_ext=c
17506 ac_cpp='$CPP $CPPFLAGS'
17507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17510
17511
17512
17513 if test "$MWCC" != "yes"; then
17514
17515
17516 ac_ext=c
17517 ac_cpp='$CPP $CPPFLAGS'
17518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17521
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17523 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17524 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17525 $as_echo_n "(cached) " >&6
17526 else
17527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17528 /* end confdefs.h. */
17529
17530 int
17531 main ()
17532 {
17533
17534 #ifndef __xlC__
17535 choke me
17536 #endif
17537
17538 ;
17539 return 0;
17540 }
17541 _ACEOF
17542 if ac_fn_c_try_compile "$LINENO"; then :
17543 bakefile_cv_c_compiler___xlC__=yes
17544 else
17545 bakefile_cv_c_compiler___xlC__=no
17546
17547 fi
17548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17549
17550
17551 fi
17552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17553 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17554 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17555 :; XLCC=yes
17556 else
17557 :;
17558 fi
17559 ac_ext=c
17560 ac_cpp='$CPP $CPPFLAGS'
17561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17564
17565
17566
17567 fi
17568 ;;
17569
17570 IRIX*)
17571
17572
17573 ac_ext=c
17574 ac_cpp='$CPP $CPPFLAGS'
17575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17578
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17580 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17581 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17582 $as_echo_n "(cached) " >&6
17583 else
17584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17585 /* end confdefs.h. */
17586
17587 int
17588 main ()
17589 {
17590
17591 #ifndef _SGI_COMPILER_VERSION
17592 choke me
17593 #endif
17594
17595 ;
17596 return 0;
17597 }
17598 _ACEOF
17599 if ac_fn_c_try_compile "$LINENO"; then :
17600 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17601 else
17602 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17603
17604 fi
17605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17606
17607
17608 fi
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17610 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17611 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17612 :; SGICC=yes
17613 else
17614 :;
17615 fi
17616 ac_ext=c
17617 ac_cpp='$CPP $CPPFLAGS'
17618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17621
17622
17623
17624 ;;
17625
17626 Linux*)
17627 if test "$INTELCC" != "yes"; then
17628
17629
17630 ac_ext=c
17631 ac_cpp='$CPP $CPPFLAGS'
17632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17635
17636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17637 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17638 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17639 $as_echo_n "(cached) " >&6
17640 else
17641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17642 /* end confdefs.h. */
17643
17644 int
17645 main ()
17646 {
17647
17648 #ifndef __SUNPRO_C
17649 choke me
17650 #endif
17651
17652 ;
17653 return 0;
17654 }
17655 _ACEOF
17656 if ac_fn_c_try_compile "$LINENO"; then :
17657 bakefile_cv_c_compiler___SUNPRO_C=yes
17658 else
17659 bakefile_cv_c_compiler___SUNPRO_C=no
17660
17661 fi
17662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17663
17664
17665 fi
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17667 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17668 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17669 :; SUNCC=yes
17670 else
17671 :;
17672 fi
17673 ac_ext=c
17674 ac_cpp='$CPP $CPPFLAGS'
17675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17678
17679
17680
17681 fi
17682 ;;
17683
17684 HP-UX*)
17685
17686
17687 ac_ext=c
17688 ac_cpp='$CPP $CPPFLAGS'
17689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17692
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17694 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17695 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17696 $as_echo_n "(cached) " >&6
17697 else
17698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17699 /* end confdefs.h. */
17700
17701 int
17702 main ()
17703 {
17704
17705 #ifndef __HP_cc
17706 choke me
17707 #endif
17708
17709 ;
17710 return 0;
17711 }
17712 _ACEOF
17713 if ac_fn_c_try_compile "$LINENO"; then :
17714 bakefile_cv_c_compiler___HP_cc=yes
17715 else
17716 bakefile_cv_c_compiler___HP_cc=no
17717
17718 fi
17719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17720
17721
17722 fi
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17724 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17725 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17726 :; HPCC=yes
17727 else
17728 :;
17729 fi
17730 ac_ext=c
17731 ac_cpp='$CPP $CPPFLAGS'
17732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17735
17736
17737
17738 ;;
17739
17740 OSF1)
17741
17742
17743 ac_ext=c
17744 ac_cpp='$CPP $CPPFLAGS'
17745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17748
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17750 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17751 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17752 $as_echo_n "(cached) " >&6
17753 else
17754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17755 /* end confdefs.h. */
17756
17757 int
17758 main ()
17759 {
17760
17761 #ifndef __DECC
17762 choke me
17763 #endif
17764
17765 ;
17766 return 0;
17767 }
17768 _ACEOF
17769 if ac_fn_c_try_compile "$LINENO"; then :
17770 bakefile_cv_c_compiler___DECC=yes
17771 else
17772 bakefile_cv_c_compiler___DECC=no
17773
17774 fi
17775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17776
17777
17778 fi
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17780 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17781 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17782 :; COMPAQCC=yes
17783 else
17784 :;
17785 fi
17786 ac_ext=c
17787 ac_cpp='$CPP $CPPFLAGS'
17788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17791
17792
17793
17794 ;;
17795
17796 SunOS)
17797
17798
17799 ac_ext=c
17800 ac_cpp='$CPP $CPPFLAGS'
17801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17804
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17806 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17807 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17808 $as_echo_n "(cached) " >&6
17809 else
17810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17811 /* end confdefs.h. */
17812
17813 int
17814 main ()
17815 {
17816
17817 #ifndef __SUNPRO_C
17818 choke me
17819 #endif
17820
17821 ;
17822 return 0;
17823 }
17824 _ACEOF
17825 if ac_fn_c_try_compile "$LINENO"; then :
17826 bakefile_cv_c_compiler___SUNPRO_C=yes
17827 else
17828 bakefile_cv_c_compiler___SUNPRO_C=no
17829
17830 fi
17831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17832
17833
17834 fi
17835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17836 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17837 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17838 :; SUNCC=yes
17839 else
17840 :;
17841 fi
17842 ac_ext=c
17843 ac_cpp='$CPP $CPPFLAGS'
17844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17847
17848
17849
17850 ;;
17851 esac
17852 fi
17853
17854
17855
17856 ac_ext=c
17857 ac_cpp='$CPP $CPPFLAGS'
17858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17862 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17863 # On Suns, sometimes $CPP names a directory.
17864 if test -n "$CPP" && test -d "$CPP"; then
17865 CPP=
17866 fi
17867 if test -z "$CPP"; then
17868 if ${ac_cv_prog_CPP+:} false; then :
17869 $as_echo_n "(cached) " >&6
17870 else
17871 # Double quotes because CPP needs to be expanded
17872 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17873 do
17874 ac_preproc_ok=false
17875 for ac_c_preproc_warn_flag in '' yes
17876 do
17877 # Use a header file that comes with gcc, so configuring glibc
17878 # with a fresh cross-compiler works.
17879 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17880 # <limits.h> exists even on freestanding compilers.
17881 # On the NeXT, cc -E runs the code through the compiler's parser,
17882 # not just through cpp. "Syntax error" is here to catch this case.
17883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17884 /* end confdefs.h. */
17885 #ifdef __STDC__
17886 # include <limits.h>
17887 #else
17888 # include <assert.h>
17889 #endif
17890 Syntax error
17891 _ACEOF
17892 if ac_fn_c_try_cpp "$LINENO"; then :
17893
17894 else
17895 # Broken: fails on valid input.
17896 continue
17897 fi
17898 rm -f conftest.err conftest.i conftest.$ac_ext
17899
17900 # OK, works on sane cases. Now check whether nonexistent headers
17901 # can be detected and how.
17902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17903 /* end confdefs.h. */
17904 #include <ac_nonexistent.h>
17905 _ACEOF
17906 if ac_fn_c_try_cpp "$LINENO"; then :
17907 # Broken: success on invalid input.
17908 continue
17909 else
17910 # Passes both tests.
17911 ac_preproc_ok=:
17912 break
17913 fi
17914 rm -f conftest.err conftest.i conftest.$ac_ext
17915
17916 done
17917 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17918 rm -f conftest.i conftest.err conftest.$ac_ext
17919 if $ac_preproc_ok; then :
17920 break
17921 fi
17922
17923 done
17924 ac_cv_prog_CPP=$CPP
17925
17926 fi
17927 CPP=$ac_cv_prog_CPP
17928 else
17929 ac_cv_prog_CPP=$CPP
17930 fi
17931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17932 $as_echo "$CPP" >&6; }
17933 ac_preproc_ok=false
17934 for ac_c_preproc_warn_flag in '' yes
17935 do
17936 # Use a header file that comes with gcc, so configuring glibc
17937 # with a fresh cross-compiler works.
17938 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17939 # <limits.h> exists even on freestanding compilers.
17940 # On the NeXT, cc -E runs the code through the compiler's parser,
17941 # not just through cpp. "Syntax error" is here to catch this case.
17942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17943 /* end confdefs.h. */
17944 #ifdef __STDC__
17945 # include <limits.h>
17946 #else
17947 # include <assert.h>
17948 #endif
17949 Syntax error
17950 _ACEOF
17951 if ac_fn_c_try_cpp "$LINENO"; then :
17952
17953 else
17954 # Broken: fails on valid input.
17955 continue
17956 fi
17957 rm -f conftest.err conftest.i conftest.$ac_ext
17958
17959 # OK, works on sane cases. Now check whether nonexistent headers
17960 # can be detected and how.
17961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17962 /* end confdefs.h. */
17963 #include <ac_nonexistent.h>
17964 _ACEOF
17965 if ac_fn_c_try_cpp "$LINENO"; then :
17966 # Broken: success on invalid input.
17967 continue
17968 else
17969 # Passes both tests.
17970 ac_preproc_ok=:
17971 break
17972 fi
17973 rm -f conftest.err conftest.i conftest.$ac_ext
17974
17975 done
17976 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17977 rm -f conftest.i conftest.err conftest.$ac_ext
17978 if $ac_preproc_ok; then :
17979
17980 else
17981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17983 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
17984 See \`config.log' for more details" "$LINENO" 5; }
17985 fi
17986
17987 ac_ext=c
17988 ac_cpp='$CPP $CPPFLAGS'
17989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17992
17993
17994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
17995 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
17996 if ${ac_cv_path_GREP+:} false; then :
17997 $as_echo_n "(cached) " >&6
17998 else
17999 if test -z "$GREP"; then
18000 ac_path_GREP_found=false
18001 # Loop through the user's path and test for each of PROGNAME-LIST
18002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18003 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18004 do
18005 IFS=$as_save_IFS
18006 test -z "$as_dir" && as_dir=.
18007 for ac_prog in grep ggrep; do
18008 for ac_exec_ext in '' $ac_executable_extensions; do
18009 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18010 as_fn_executable_p "$ac_path_GREP" || continue
18011 # Check for GNU ac_path_GREP and select it if it is found.
18012 # Check for GNU $ac_path_GREP
18013 case `"$ac_path_GREP" --version 2>&1` in
18014 *GNU*)
18015 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18016 *)
18017 ac_count=0
18018 $as_echo_n 0123456789 >"conftest.in"
18019 while :
18020 do
18021 cat "conftest.in" "conftest.in" >"conftest.tmp"
18022 mv "conftest.tmp" "conftest.in"
18023 cp "conftest.in" "conftest.nl"
18024 $as_echo 'GREP' >> "conftest.nl"
18025 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18026 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18027 as_fn_arith $ac_count + 1 && ac_count=$as_val
18028 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18029 # Best one so far, save it but keep looking for a better one
18030 ac_cv_path_GREP="$ac_path_GREP"
18031 ac_path_GREP_max=$ac_count
18032 fi
18033 # 10*(2^10) chars as input seems more than enough
18034 test $ac_count -gt 10 && break
18035 done
18036 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18037 esac
18038
18039 $ac_path_GREP_found && break 3
18040 done
18041 done
18042 done
18043 IFS=$as_save_IFS
18044 if test -z "$ac_cv_path_GREP"; then
18045 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18046 fi
18047 else
18048 ac_cv_path_GREP=$GREP
18049 fi
18050
18051 fi
18052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
18053 $as_echo "$ac_cv_path_GREP" >&6; }
18054 GREP="$ac_cv_path_GREP"
18055
18056
18057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18058 $as_echo_n "checking for egrep... " >&6; }
18059 if ${ac_cv_path_EGREP+:} false; then :
18060 $as_echo_n "(cached) " >&6
18061 else
18062 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18063 then ac_cv_path_EGREP="$GREP -E"
18064 else
18065 if test -z "$EGREP"; then
18066 ac_path_EGREP_found=false
18067 # Loop through the user's path and test for each of PROGNAME-LIST
18068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18069 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18070 do
18071 IFS=$as_save_IFS
18072 test -z "$as_dir" && as_dir=.
18073 for ac_prog in egrep; do
18074 for ac_exec_ext in '' $ac_executable_extensions; do
18075 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18076 as_fn_executable_p "$ac_path_EGREP" || continue
18077 # Check for GNU ac_path_EGREP and select it if it is found.
18078 # Check for GNU $ac_path_EGREP
18079 case `"$ac_path_EGREP" --version 2>&1` in
18080 *GNU*)
18081 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18082 *)
18083 ac_count=0
18084 $as_echo_n 0123456789 >"conftest.in"
18085 while :
18086 do
18087 cat "conftest.in" "conftest.in" >"conftest.tmp"
18088 mv "conftest.tmp" "conftest.in"
18089 cp "conftest.in" "conftest.nl"
18090 $as_echo 'EGREP' >> "conftest.nl"
18091 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18092 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18093 as_fn_arith $ac_count + 1 && ac_count=$as_val
18094 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18095 # Best one so far, save it but keep looking for a better one
18096 ac_cv_path_EGREP="$ac_path_EGREP"
18097 ac_path_EGREP_max=$ac_count
18098 fi
18099 # 10*(2^10) chars as input seems more than enough
18100 test $ac_count -gt 10 && break
18101 done
18102 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18103 esac
18104
18105 $ac_path_EGREP_found && break 3
18106 done
18107 done
18108 done
18109 IFS=$as_save_IFS
18110 if test -z "$ac_cv_path_EGREP"; then
18111 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18112 fi
18113 else
18114 ac_cv_path_EGREP=$EGREP
18115 fi
18116
18117 fi
18118 fi
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18120 $as_echo "$ac_cv_path_EGREP" >&6; }
18121 EGREP="$ac_cv_path_EGREP"
18122
18123
18124 if test $ac_cv_c_compiler_gnu = yes; then
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18126 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18127 if ${ac_cv_prog_gcc_traditional+:} false; then :
18128 $as_echo_n "(cached) " >&6
18129 else
18130 ac_pattern="Autoconf.*'x'"
18131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18132 /* end confdefs.h. */
18133 #include <sgtty.h>
18134 Autoconf TIOCGETP
18135 _ACEOF
18136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18137 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18138 ac_cv_prog_gcc_traditional=yes
18139 else
18140 ac_cv_prog_gcc_traditional=no
18141 fi
18142 rm -f conftest*
18143
18144
18145 if test $ac_cv_prog_gcc_traditional = no; then
18146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18147 /* end confdefs.h. */
18148 #include <termio.h>
18149 Autoconf TCGETA
18150 _ACEOF
18151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18152 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18153 ac_cv_prog_gcc_traditional=yes
18154 fi
18155 rm -f conftest*
18156
18157 fi
18158 fi
18159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18160 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18161 if test $ac_cv_prog_gcc_traditional = yes; then
18162 CC="$CC -traditional"
18163 fi
18164 fi
18165
18166
18167 CXXFLAGS=${CXXFLAGS:=}
18168 ac_ext=cpp
18169 ac_cpp='$CXXCPP $CPPFLAGS'
18170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18173 if test -z "$CXX"; then
18174 if test -n "$CCC"; then
18175 CXX=$CCC
18176 else
18177 if test -n "$ac_tool_prefix"; then
18178 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18179 do
18180 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18181 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18183 $as_echo_n "checking for $ac_word... " >&6; }
18184 if ${ac_cv_prog_CXX+:} false; then :
18185 $as_echo_n "(cached) " >&6
18186 else
18187 if test -n "$CXX"; then
18188 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18189 else
18190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18191 for as_dir in $PATH
18192 do
18193 IFS=$as_save_IFS
18194 test -z "$as_dir" && as_dir=.
18195 for ac_exec_ext in '' $ac_executable_extensions; do
18196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18197 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18199 break 2
18200 fi
18201 done
18202 done
18203 IFS=$as_save_IFS
18204
18205 fi
18206 fi
18207 CXX=$ac_cv_prog_CXX
18208 if test -n "$CXX"; then
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18210 $as_echo "$CXX" >&6; }
18211 else
18212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18213 $as_echo "no" >&6; }
18214 fi
18215
18216
18217 test -n "$CXX" && break
18218 done
18219 fi
18220 if test -z "$CXX"; then
18221 ac_ct_CXX=$CXX
18222 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18223 do
18224 # Extract the first word of "$ac_prog", so it can be a program name with args.
18225 set dummy $ac_prog; ac_word=$2
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18227 $as_echo_n "checking for $ac_word... " >&6; }
18228 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
18229 $as_echo_n "(cached) " >&6
18230 else
18231 if test -n "$ac_ct_CXX"; then
18232 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18233 else
18234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18235 for as_dir in $PATH
18236 do
18237 IFS=$as_save_IFS
18238 test -z "$as_dir" && as_dir=.
18239 for ac_exec_ext in '' $ac_executable_extensions; do
18240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18241 ac_cv_prog_ac_ct_CXX="$ac_prog"
18242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18243 break 2
18244 fi
18245 done
18246 done
18247 IFS=$as_save_IFS
18248
18249 fi
18250 fi
18251 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18252 if test -n "$ac_ct_CXX"; then
18253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18254 $as_echo "$ac_ct_CXX" >&6; }
18255 else
18256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18257 $as_echo "no" >&6; }
18258 fi
18259
18260
18261 test -n "$ac_ct_CXX" && break
18262 done
18263
18264 if test "x$ac_ct_CXX" = x; then
18265 CXX="g++"
18266 else
18267 case $cross_compiling:$ac_tool_warned in
18268 yes:)
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18271 ac_tool_warned=yes ;;
18272 esac
18273 CXX=$ac_ct_CXX
18274 fi
18275 fi
18276
18277 fi
18278 fi
18279 # Provide some information about the compiler.
18280 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18281 set X $ac_compile
18282 ac_compiler=$2
18283 for ac_option in --version -v -V -qversion; do
18284 { { ac_try="$ac_compiler $ac_option >&5"
18285 case "(($ac_try" in
18286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18287 *) ac_try_echo=$ac_try;;
18288 esac
18289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18290 $as_echo "$ac_try_echo"; } >&5
18291 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18292 ac_status=$?
18293 if test -s conftest.err; then
18294 sed '10a\
18295 ... rest of stderr output deleted ...
18296 10q' conftest.err >conftest.er1
18297 cat conftest.er1 >&5
18298 fi
18299 rm -f conftest.er1 conftest.err
18300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18301 test $ac_status = 0; }
18302 done
18303
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18305 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18306 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18307 $as_echo_n "(cached) " >&6
18308 else
18309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18310 /* end confdefs.h. */
18311
18312 int
18313 main ()
18314 {
18315 #ifndef __GNUC__
18316 choke me
18317 #endif
18318
18319 ;
18320 return 0;
18321 }
18322 _ACEOF
18323 if ac_fn_cxx_try_compile "$LINENO"; then :
18324 ac_compiler_gnu=yes
18325 else
18326 ac_compiler_gnu=no
18327 fi
18328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18329 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18330
18331 fi
18332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18333 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18334 if test $ac_compiler_gnu = yes; then
18335 GXX=yes
18336 else
18337 GXX=
18338 fi
18339 ac_test_CXXFLAGS=${CXXFLAGS+set}
18340 ac_save_CXXFLAGS=$CXXFLAGS
18341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18342 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18343 if ${ac_cv_prog_cxx_g+:} false; then :
18344 $as_echo_n "(cached) " >&6
18345 else
18346 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18347 ac_cxx_werror_flag=yes
18348 ac_cv_prog_cxx_g=no
18349 CXXFLAGS="-g"
18350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18351 /* end confdefs.h. */
18352
18353 int
18354 main ()
18355 {
18356
18357 ;
18358 return 0;
18359 }
18360 _ACEOF
18361 if ac_fn_cxx_try_compile "$LINENO"; then :
18362 ac_cv_prog_cxx_g=yes
18363 else
18364 CXXFLAGS=""
18365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18366 /* end confdefs.h. */
18367
18368 int
18369 main ()
18370 {
18371
18372 ;
18373 return 0;
18374 }
18375 _ACEOF
18376 if ac_fn_cxx_try_compile "$LINENO"; then :
18377
18378 else
18379 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18380 CXXFLAGS="-g"
18381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18382 /* end confdefs.h. */
18383
18384 int
18385 main ()
18386 {
18387
18388 ;
18389 return 0;
18390 }
18391 _ACEOF
18392 if ac_fn_cxx_try_compile "$LINENO"; then :
18393 ac_cv_prog_cxx_g=yes
18394 fi
18395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18396 fi
18397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18398 fi
18399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18400 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18401 fi
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18403 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18404 if test "$ac_test_CXXFLAGS" = set; then
18405 CXXFLAGS=$ac_save_CXXFLAGS
18406 elif test $ac_cv_prog_cxx_g = yes; then
18407 if test "$GXX" = yes; then
18408 CXXFLAGS="-g -O2"
18409 else
18410 CXXFLAGS="-g"
18411 fi
18412 else
18413 if test "$GXX" = yes; then
18414 CXXFLAGS="-O2"
18415 else
18416 CXXFLAGS=
18417 fi
18418 fi
18419 ac_ext=c
18420 ac_cpp='$CPP $CPPFLAGS'
18421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18424
18425
18426
18427
18428
18429
18430
18431
18432 ac_ext=cpp
18433 ac_cpp='$CXXCPP $CPPFLAGS'
18434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18437
18438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18439 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18440 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18441 $as_echo_n "(cached) " >&6
18442 else
18443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18444 /* end confdefs.h. */
18445
18446 int
18447 main ()
18448 {
18449
18450 #ifndef __INTEL_COMPILER
18451 choke me
18452 #endif
18453
18454 ;
18455 return 0;
18456 }
18457 _ACEOF
18458 if ac_fn_cxx_try_compile "$LINENO"; then :
18459 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18460 else
18461 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18462
18463 fi
18464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18465
18466
18467 fi
18468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18469 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18470 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18471 :; INTELCXX=yes
18472 else
18473 :;
18474 fi
18475 ac_ext=c
18476 ac_cpp='$CPP $CPPFLAGS'
18477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18480
18481
18482
18483
18484 if test "$INTELCXX" = "yes"; then
18485
18486
18487 ac_ext=cpp
18488 ac_cpp='$CXXCPP $CPPFLAGS'
18489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18492
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18494 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18495 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18496 $as_echo_n "(cached) " >&6
18497 else
18498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18499 /* end confdefs.h. */
18500
18501 int
18502 main ()
18503 {
18504
18505 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18506 choke me
18507 #endif
18508
18509 ;
18510 return 0;
18511 }
18512 _ACEOF
18513 if ac_fn_cxx_try_compile "$LINENO"; then :
18514 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18515 else
18516 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18517
18518 fi
18519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18520
18521
18522 fi
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18524 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18525 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18526 :; INTELCXX8=yes
18527 else
18528 :;
18529 fi
18530 ac_ext=c
18531 ac_cpp='$CPP $CPPFLAGS'
18532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18535
18536
18537
18538
18539
18540 ac_ext=cpp
18541 ac_cpp='$CXXCPP $CPPFLAGS'
18542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18545
18546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18547 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18548 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18549 $as_echo_n "(cached) " >&6
18550 else
18551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18552 /* end confdefs.h. */
18553
18554 int
18555 main ()
18556 {
18557
18558 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18559 choke me
18560 #endif
18561
18562 ;
18563 return 0;
18564 }
18565 _ACEOF
18566 if ac_fn_cxx_try_compile "$LINENO"; then :
18567 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18568 else
18569 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18570
18571 fi
18572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18573
18574
18575 fi
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18577 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18578 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18579 :; INTELCXX10=yes
18580 else
18581 :;
18582 fi
18583 ac_ext=c
18584 ac_cpp='$CPP $CPPFLAGS'
18585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18588
18589
18590
18591 fi
18592
18593 if test "x$GCXX" != "xyes"; then
18594 if test "xCXX" = "xC"; then
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18596 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18597 if ${bakefile_cv_c_exto+:} false; then :
18598 $as_echo_n "(cached) " >&6
18599 else
18600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18601 /* end confdefs.h. */
18602
18603 int
18604 main ()
18605 {
18606
18607 ;
18608 return 0;
18609 }
18610 _ACEOF
18611 rm -f conftest.$ac_objext conftest.$ac_ext.o
18612 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18613 (eval $ac_compile) 2>&5
18614 ac_status=$?
18615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18616 test $ac_status = 0; }; then :
18617 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18618 case $ac_file in
18619 conftest.$ac_ext.o)
18620 bakefile_cv_c_exto="-ext o"
18621 ;;
18622 *)
18623 ;;
18624 esac
18625 done
18626 else
18627 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18629 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
18630 See \`config.log' for more details" "$LINENO" 5; }
18631
18632 fi
18633 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18634
18635 fi
18636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18637 $as_echo "$bakefile_cv_c_exto" >&6; }
18638 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18639 if test "c" = "c"; then
18640 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18641 fi
18642 if test "c" = "cxx"; then
18643 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18644 fi
18645 fi
18646
18647 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18648 unset ac_cv_prog_cc_g
18649 ac_test_CFLAGS=${CFLAGS+set}
18650 ac_save_CFLAGS=$CFLAGS
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18652 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18653 if ${ac_cv_prog_cc_g+:} false; then :
18654 $as_echo_n "(cached) " >&6
18655 else
18656 ac_save_c_werror_flag=$ac_c_werror_flag
18657 ac_c_werror_flag=yes
18658 ac_cv_prog_cc_g=no
18659 CFLAGS="-g"
18660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18661 /* end confdefs.h. */
18662
18663 int
18664 main ()
18665 {
18666
18667 ;
18668 return 0;
18669 }
18670 _ACEOF
18671 if ac_fn_c_try_compile "$LINENO"; then :
18672 ac_cv_prog_cc_g=yes
18673 else
18674 CFLAGS=""
18675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18676 /* end confdefs.h. */
18677
18678 int
18679 main ()
18680 {
18681
18682 ;
18683 return 0;
18684 }
18685 _ACEOF
18686 if ac_fn_c_try_compile "$LINENO"; then :
18687
18688 else
18689 ac_c_werror_flag=$ac_save_c_werror_flag
18690 CFLAGS="-g"
18691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18692 /* end confdefs.h. */
18693
18694 int
18695 main ()
18696 {
18697
18698 ;
18699 return 0;
18700 }
18701 _ACEOF
18702 if ac_fn_c_try_compile "$LINENO"; then :
18703 ac_cv_prog_cc_g=yes
18704 fi
18705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18706 fi
18707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18708 fi
18709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18710 ac_c_werror_flag=$ac_save_c_werror_flag
18711 fi
18712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18713 $as_echo "$ac_cv_prog_cc_g" >&6; }
18714 if test "$ac_test_CFLAGS" = set; then
18715 CFLAGS=$ac_save_CFLAGS
18716 elif test $ac_cv_prog_cc_g = yes; then
18717 if test "$GCC" = yes; then
18718 CFLAGS="-g -O2"
18719 else
18720 CFLAGS="-g"
18721 fi
18722 else
18723 if test "$GCC" = yes; then
18724 CFLAGS="-O2"
18725 else
18726 CFLAGS=
18727 fi
18728 fi
18729 fi
18730 fi
18731
18732 case `uname -s` in
18733 AIX*)
18734
18735
18736 ac_ext=cpp
18737 ac_cpp='$CXXCPP $CPPFLAGS'
18738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18741
18742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18743 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18744 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18745 $as_echo_n "(cached) " >&6
18746 else
18747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18748 /* end confdefs.h. */
18749
18750 int
18751 main ()
18752 {
18753
18754 #ifndef __xlC__
18755 choke me
18756 #endif
18757
18758 ;
18759 return 0;
18760 }
18761 _ACEOF
18762 if ac_fn_cxx_try_compile "$LINENO"; then :
18763 bakefile_cv_cxx_compiler___xlC__=yes
18764 else
18765 bakefile_cv_cxx_compiler___xlC__=no
18766
18767 fi
18768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18769
18770
18771 fi
18772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18773 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18774 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18775 :; XLCXX=yes
18776 else
18777 :;
18778 fi
18779 ac_ext=c
18780 ac_cpp='$CPP $CPPFLAGS'
18781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18784
18785
18786
18787 ;;
18788
18789 Darwin)
18790
18791
18792 ac_ext=cpp
18793 ac_cpp='$CXXCPP $CPPFLAGS'
18794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18797
18798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18799 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18800 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18801 $as_echo_n "(cached) " >&6
18802 else
18803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18804 /* end confdefs.h. */
18805
18806 int
18807 main ()
18808 {
18809
18810 #ifndef __MWERKS__
18811 choke me
18812 #endif
18813
18814 ;
18815 return 0;
18816 }
18817 _ACEOF
18818 if ac_fn_cxx_try_compile "$LINENO"; then :
18819 bakefile_cv_cxx_compiler___MWERKS__=yes
18820 else
18821 bakefile_cv_cxx_compiler___MWERKS__=no
18822
18823 fi
18824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18825
18826
18827 fi
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18829 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18830 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18831 :; MWCXX=yes
18832 else
18833 :;
18834 fi
18835 ac_ext=c
18836 ac_cpp='$CPP $CPPFLAGS'
18837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18840
18841
18842
18843 if test "$MWCXX" != "yes"; then
18844
18845
18846 ac_ext=cpp
18847 ac_cpp='$CXXCPP $CPPFLAGS'
18848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18851
18852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18853 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18854 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18855 $as_echo_n "(cached) " >&6
18856 else
18857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18858 /* end confdefs.h. */
18859
18860 int
18861 main ()
18862 {
18863
18864 #ifndef __xlC__
18865 choke me
18866 #endif
18867
18868 ;
18869 return 0;
18870 }
18871 _ACEOF
18872 if ac_fn_cxx_try_compile "$LINENO"; then :
18873 bakefile_cv_cxx_compiler___xlC__=yes
18874 else
18875 bakefile_cv_cxx_compiler___xlC__=no
18876
18877 fi
18878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18879
18880
18881 fi
18882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18883 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18884 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18885 :; XLCXX=yes
18886 else
18887 :;
18888 fi
18889 ac_ext=c
18890 ac_cpp='$CPP $CPPFLAGS'
18891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18894
18895
18896
18897 fi
18898 ;;
18899
18900 IRIX*)
18901
18902
18903 ac_ext=cpp
18904 ac_cpp='$CXXCPP $CPPFLAGS'
18905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18908
18909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18910 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18911 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
18912 $as_echo_n "(cached) " >&6
18913 else
18914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18915 /* end confdefs.h. */
18916
18917 int
18918 main ()
18919 {
18920
18921 #ifndef _SGI_COMPILER_VERSION
18922 choke me
18923 #endif
18924
18925 ;
18926 return 0;
18927 }
18928 _ACEOF
18929 if ac_fn_cxx_try_compile "$LINENO"; then :
18930 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18931 else
18932 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18933
18934 fi
18935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18936
18937
18938 fi
18939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18940 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18941 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18942 :; SGICXX=yes
18943 else
18944 :;
18945 fi
18946 ac_ext=c
18947 ac_cpp='$CPP $CPPFLAGS'
18948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18951
18952
18953
18954 ;;
18955
18956 Linux*)
18957 if test "$INTELCXX" != "yes"; then
18958
18959
18960 ac_ext=cpp
18961 ac_cpp='$CXXCPP $CPPFLAGS'
18962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18965
18966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
18967 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18968 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
18969 $as_echo_n "(cached) " >&6
18970 else
18971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18972 /* end confdefs.h. */
18973
18974 int
18975 main ()
18976 {
18977
18978 #ifndef __SUNPRO_CC
18979 choke me
18980 #endif
18981
18982 ;
18983 return 0;
18984 }
18985 _ACEOF
18986 if ac_fn_cxx_try_compile "$LINENO"; then :
18987 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18988 else
18989 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18990
18991 fi
18992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18993
18994
18995 fi
18996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18997 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18998 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18999 :; SUNCXX=yes
19000 else
19001 :;
19002 fi
19003 ac_ext=c
19004 ac_cpp='$CPP $CPPFLAGS'
19005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19008
19009
19010
19011 fi
19012 ;;
19013
19014 HP-UX*)
19015
19016
19017 ac_ext=cpp
19018 ac_cpp='$CXXCPP $CPPFLAGS'
19019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19022
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
19024 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
19025 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
19026 $as_echo_n "(cached) " >&6
19027 else
19028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19029 /* end confdefs.h. */
19030
19031 int
19032 main ()
19033 {
19034
19035 #ifndef __HP_aCC
19036 choke me
19037 #endif
19038
19039 ;
19040 return 0;
19041 }
19042 _ACEOF
19043 if ac_fn_cxx_try_compile "$LINENO"; then :
19044 bakefile_cv_cxx_compiler___HP_aCC=yes
19045 else
19046 bakefile_cv_cxx_compiler___HP_aCC=no
19047
19048 fi
19049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19050
19051
19052 fi
19053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19054 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19055 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19056 :; HPCXX=yes
19057 else
19058 :;
19059 fi
19060 ac_ext=c
19061 ac_cpp='$CPP $CPPFLAGS'
19062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19065
19066
19067
19068 ;;
19069
19070 OSF1)
19071
19072
19073 ac_ext=cpp
19074 ac_cpp='$CXXCPP $CPPFLAGS'
19075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19078
19079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19080 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19081 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19082 $as_echo_n "(cached) " >&6
19083 else
19084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19085 /* end confdefs.h. */
19086
19087 int
19088 main ()
19089 {
19090
19091 #ifndef __DECCXX
19092 choke me
19093 #endif
19094
19095 ;
19096 return 0;
19097 }
19098 _ACEOF
19099 if ac_fn_cxx_try_compile "$LINENO"; then :
19100 bakefile_cv_cxx_compiler___DECCXX=yes
19101 else
19102 bakefile_cv_cxx_compiler___DECCXX=no
19103
19104 fi
19105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19106
19107
19108 fi
19109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19110 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19111 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19112 :; COMPAQCXX=yes
19113 else
19114 :;
19115 fi
19116 ac_ext=c
19117 ac_cpp='$CPP $CPPFLAGS'
19118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19121
19122
19123
19124 ;;
19125
19126 SunOS)
19127
19128
19129 ac_ext=cpp
19130 ac_cpp='$CXXCPP $CPPFLAGS'
19131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19134
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19136 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19137 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19138 $as_echo_n "(cached) " >&6
19139 else
19140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19141 /* end confdefs.h. */
19142
19143 int
19144 main ()
19145 {
19146
19147 #ifndef __SUNPRO_CC
19148 choke me
19149 #endif
19150
19151 ;
19152 return 0;
19153 }
19154 _ACEOF
19155 if ac_fn_cxx_try_compile "$LINENO"; then :
19156 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19157 else
19158 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19159
19160 fi
19161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19162
19163
19164 fi
19165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19166 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19167 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19168 :; SUNCXX=yes
19169 else
19170 :;
19171 fi
19172 ac_ext=c
19173 ac_cpp='$CPP $CPPFLAGS'
19174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19177
19178
19179
19180 ;;
19181 esac
19182 fi
19183
19184
19185
19186 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19187 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19188 fi
19189
19190 if test "x$SUNCXX" != xyes; then
19191 if test -n "$ac_tool_prefix"; then
19192 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19193 set dummy ${ac_tool_prefix}ar; ac_word=$2
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19195 $as_echo_n "checking for $ac_word... " >&6; }
19196 if ${ac_cv_prog_AR+:} false; then :
19197 $as_echo_n "(cached) " >&6
19198 else
19199 if test -n "$AR"; then
19200 ac_cv_prog_AR="$AR" # Let the user override the test.
19201 else
19202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19203 for as_dir in $PATH
19204 do
19205 IFS=$as_save_IFS
19206 test -z "$as_dir" && as_dir=.
19207 for ac_exec_ext in '' $ac_executable_extensions; do
19208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19209 ac_cv_prog_AR="${ac_tool_prefix}ar"
19210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19211 break 2
19212 fi
19213 done
19214 done
19215 IFS=$as_save_IFS
19216
19217 fi
19218 fi
19219 AR=$ac_cv_prog_AR
19220 if test -n "$AR"; then
19221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19222 $as_echo "$AR" >&6; }
19223 else
19224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19225 $as_echo "no" >&6; }
19226 fi
19227
19228
19229 fi
19230 if test -z "$ac_cv_prog_AR"; then
19231 ac_ct_AR=$AR
19232 # Extract the first word of "ar", so it can be a program name with args.
19233 set dummy ar; ac_word=$2
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19235 $as_echo_n "checking for $ac_word... " >&6; }
19236 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19237 $as_echo_n "(cached) " >&6
19238 else
19239 if test -n "$ac_ct_AR"; then
19240 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19241 else
19242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19243 for as_dir in $PATH
19244 do
19245 IFS=$as_save_IFS
19246 test -z "$as_dir" && as_dir=.
19247 for ac_exec_ext in '' $ac_executable_extensions; do
19248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19249 ac_cv_prog_ac_ct_AR="ar"
19250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19251 break 2
19252 fi
19253 done
19254 done
19255 IFS=$as_save_IFS
19256
19257 fi
19258 fi
19259 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19260 if test -n "$ac_ct_AR"; then
19261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19262 $as_echo "$ac_ct_AR" >&6; }
19263 else
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19265 $as_echo "no" >&6; }
19266 fi
19267
19268 if test "x$ac_ct_AR" = x; then
19269 AR=""
19270 else
19271 case $cross_compiling:$ac_tool_warned in
19272 yes:)
19273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19275 ac_tool_warned=yes ;;
19276 esac
19277 AR=$ac_ct_AR
19278 fi
19279 else
19280 AR="$ac_cv_prog_AR"
19281 fi
19282
19283 if test "x$AR" = "x" ; then
19284 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19285 fi
19286 fi
19287
19288
19289 if test "$wxUSE_MAC" = 1; then
19290
19291 retest_macosx_linking=no
19292
19293 OSX_ARCH_OPTS=""
19294
19295 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19296 if test "x$wxUSE_MAC_ARCH" != xno; then
19297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19298 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19299 fi
19300
19301 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19302 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19303 else OSX_ARCH_OPTS="ppc,i386"
19304 if test "$wxUSE_OSX_COCOA" = 1; then
19305 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19306 fi
19307 fi
19308
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19310 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19312 $as_echo "$OSX_ARCH_OPTS" >&6; }
19313
19314 retest_macosx_linking=yes
19315 else
19316 if test "x$wxUSE_MAC_ARCH" != xno; then
19317 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19318 fi
19319 fi
19320
19321 if test "x$OSX_ARCH_OPTS" != "x"; then
19322 if echo $OSX_ARCH_OPTS | grep -q ","; then
19323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19324 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19325 disable_macosx_deps=yes
19326
19327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19328 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19329 bk_use_pch=no
19330 fi
19331
19332 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19333
19334 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19335 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19336 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19337 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19338 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19339 fi
19340
19341 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19342 wxUSE_MACOSX_SDK=
19343 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19344 # TODO: Search for most recent SDK and use it.
19345 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19346 fi
19347
19348
19349 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19351 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19352 if ! test -d "$wxUSE_MACOSX_SDK"; then
19353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19355 as_fn_error $? "not found
19356 See \`config.log' for more details" "$LINENO" 5; }
19357 else
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19359 $as_echo "exists" >&6; }
19360 fi
19361 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19362 retest_macosx_linking=yes
19363 fi
19364
19365 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19366 wxUSE_MACOSX_VERSION_MIN=
19367 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19368 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19370 $as_echo_n "checking SDK deployment version... " >&6; }
19371
19372 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/'`
19373
19374 # If that failed, try again with the new key
19375 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19376
19377 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/'`
19378
19379 fi
19380
19381 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19382 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19384 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19385 else
19386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19387 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19388 wxUSE_MACOSX_VERSION_MIN=
19389 fi
19390 else
19391 wxUSE_MACOSX_VERSION_MIN=
19392 fi
19393 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19394 wxUSE_MACOSX_VERSION_MIN=10.5
19395 fi
19396
19397 if test "x$MACOSX_SDK_OPTS" != "x"; then
19398 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19399 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19400 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19401 retest_macosx_linking=yes
19402 fi
19403
19404 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19405 if test "$wxUSE_OSX_IPHONE" = 1; then
19406 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19407 else
19408 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19409 fi
19410 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19411 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19412 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19413 retest_macosx_linking=yes
19414 fi
19415
19416 if test "x$retest_macosx_linking" = "xyes"; then
19417 ac_ext=c
19418 ac_cpp='$CPP $CPPFLAGS'
19419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19422
19423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19424 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19426 /* end confdefs.h. */
19427
19428 int
19429 main ()
19430 {
19431
19432 ;
19433 return 0;
19434 }
19435 _ACEOF
19436 if ac_fn_c_try_link "$LINENO"; then :
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19438 $as_echo "yes" >&6; }
19439 else
19440 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19442 as_fn_error $? "no. Try a different SDK
19443 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19444 fi
19445 rm -f core conftest.err conftest.$ac_objext \
19446 conftest$ac_exeext conftest.$ac_ext
19447 ac_ext=c
19448 ac_cpp='$CPP $CPPFLAGS'
19449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19452
19453
19454 ac_ext=cpp
19455 ac_cpp='$CXXCPP $CPPFLAGS'
19456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19459
19460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19461 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19463 /* end confdefs.h. */
19464
19465 int
19466 main ()
19467 {
19468
19469 ;
19470 return 0;
19471 }
19472 _ACEOF
19473 if ac_fn_cxx_try_link "$LINENO"; then :
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19475 $as_echo "yes" >&6; }
19476 else
19477 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19479 as_fn_error $? "no. Try a different SDK
19480 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19481 fi
19482 rm -f core conftest.err conftest.$ac_objext \
19483 conftest$ac_exeext conftest.$ac_ext
19484 ac_ext=c
19485 ac_cpp='$CPP $CPPFLAGS'
19486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19489
19490 fi
19491
19492 fi
19493 case "${host}" in
19494
19495 *-*-darwin* )
19496 INSTALL_PROGRAM="cp -fp"
19497 INSTALL_DATA="cp -fp"
19498 ;;
19499 *)
19500 ;;
19501 esac
19502
19503
19504 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19505 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19506
19507
19508 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19509 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19510 fi
19511
19512 if test "x$USE_AIX" = "x1"; then
19513 if test "x$XLCXX" = "xyes"; then
19514 CXXFLAGS="-qunique $CXXFLAGS"
19515 fi
19516
19517 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19518 fi
19519
19520 case "${host}" in
19521 powerpc-*-darwin* )
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19523 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19525 /* end confdefs.h. */
19526
19527 int
19528 main ()
19529 {
19530 #ifndef __POWERPC__
19531 choke me for lack of PowerPC
19532 #endif
19533
19534 ;
19535 return 0;
19536 }
19537 _ACEOF
19538 if ac_fn_c_try_compile "$LINENO"; then :
19539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19540 $as_echo "yes" >&6; }
19541 else
19542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19543 $as_echo "no" >&6; }
19544 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19545
19546
19547 fi
19548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19549 ;;
19550 esac
19551
19552 case "${host}" in
19553 *-*-darwin* )
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19555 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19557 /* end confdefs.h. */
19558 #include <CoreFoundation/CFBase.h>
19559
19560 int
19561 main ()
19562 {
19563
19564 ;
19565 return 0;
19566 }
19567 _ACEOF
19568 if ac_fn_c_try_compile "$LINENO"; then :
19569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19570 $as_echo "yes" >&6; }
19571 else
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19573 $as_echo "no" >&6; }
19574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19575 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19577 /* end confdefs.h. */
19578 #define __CF_USE_FRAMEWORK_INCLUDES__
19579 #include <CoreFoundation/CFBase.h>
19580
19581 int
19582 main ()
19583 {
19584
19585 ;
19586 return 0;
19587 }
19588 _ACEOF
19589 if ac_fn_c_try_compile "$LINENO"; then :
19590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19591 $as_echo "yes" >&6; }
19592 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19593 else
19594 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19596 as_fn_error $? "no. CoreFoundation not available.
19597 See \`config.log' for more details" "$LINENO" 5; }
19598
19599 fi
19600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19601
19602
19603 fi
19604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19605 ;;
19606 esac
19607
19608 wants_win32=0
19609 doesnt_want_win32=0
19610 case "${host}" in
19611 *-*-cygwin*)
19612 if test "$wxUSE_MSW" = 1 ; then
19613 wants_win32=1
19614 else
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19616 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19617 if ${wx_cv_nocygwin+:} false; then :
19618 $as_echo_n "(cached) " >&6
19619 else
19620
19621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19622 /* end confdefs.h. */
19623
19624 int
19625 main ()
19626 {
19627
19628 #ifdef __MINGW32__
19629 choke me
19630 #endif
19631
19632 ;
19633 return 0;
19634 }
19635 _ACEOF
19636 if ac_fn_c_try_compile "$LINENO"; then :
19637 wx_cv_nocygwin=no
19638 else
19639 wx_cv_nocygwin=yes
19640
19641 fi
19642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19643
19644
19645 fi
19646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19647 $as_echo "$wx_cv_nocygwin" >&6; }
19648
19649 if test "$wx_cv_nocygwin" = "yes"; then
19650 wants_win32=1
19651 else
19652 doesnt_want_win32=1
19653 fi
19654 fi
19655 if test "$wants_win32" = 1 ; then
19656 BAKEFILE_FORCE_PLATFORM=win32
19657 fi
19658 ;;
19659 *-*-mingw*)
19660 wants_win32=1
19661 ;;
19662 esac
19663
19664 if test "$wxUSE_WINE" = "yes"; then
19665 wants_win32=1
19666 LDFLAGS_GUI="-mwindows"
19667 fi
19668
19669 if test "$wants_win32" = 1 ; then
19670 USE_UNIX=0
19671 USE_WIN32=1
19672 $as_echo "#define __WIN32__ 1" >>confdefs.h
19673
19674 $as_echo "#define __WIN95__ 1" >>confdefs.h
19675
19676 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19677
19678 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19679
19680 $as_echo "#define STRICT 1" >>confdefs.h
19681
19682 fi
19683 if test "$doesnt_want_win32" = 1 ; then
19684 USE_UNIX=1
19685 USE_WIN32=0
19686 fi
19687
19688 if test "$USE_UNIX" = 1 ; then
19689 wxUSE_UNIX=yes
19690 $as_echo "#define __UNIX__ 1" >>confdefs.h
19691
19692 fi
19693
19694 case "${host}" in
19695 *-pc-os2_emx | *-pc-os2-emx )
19696 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19698 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19699 if ${ac_cv_lib_cExt_drand48+:} false; then :
19700 $as_echo_n "(cached) " >&6
19701 else
19702 ac_check_lib_save_LIBS=$LIBS
19703 LIBS="-lcExt $LIBS"
19704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19705 /* end confdefs.h. */
19706
19707 /* Override any GCC internal prototype to avoid an error.
19708 Use char because int might match the return type of a GCC
19709 builtin and then its argument prototype would still apply. */
19710 #ifdef __cplusplus
19711 extern "C"
19712 #endif
19713 char drand48 ();
19714 int
19715 main ()
19716 {
19717 return drand48 ();
19718 ;
19719 return 0;
19720 }
19721 _ACEOF
19722 if ac_fn_c_try_link "$LINENO"; then :
19723 ac_cv_lib_cExt_drand48=yes
19724 else
19725 ac_cv_lib_cExt_drand48=no
19726 fi
19727 rm -f core conftest.err conftest.$ac_objext \
19728 conftest$ac_exeext conftest.$ac_ext
19729 LIBS=$ac_check_lib_save_LIBS
19730 fi
19731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19732 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19733 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19734 LIBS="$LIBS -lcExt"
19735 fi
19736
19737 else
19738 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19739 fi
19740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19741 $as_echo_n "checking for gcc/libc version... " >&6; }
19742 if ${wx_cv_gccversion+:} false; then :
19743 $as_echo_n "(cached) " >&6
19744 else
19745
19746 if test "$cross_compiling" = yes; then :
19747 wx_cv_gccversion="EMX2"
19748
19749 else
19750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19751 /* end confdefs.h. */
19752
19753 #include <stdio.h>
19754
19755 int main()
19756 {
19757 FILE *f=fopen("conftestval", "w");
19758 if (!f) exit(1);
19759 fprintf(f,
19760 #if (__GNUC__ < 3)
19761 "EMX2"
19762 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19763 "EMX3"
19764 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19765 "Innotek5"
19766 #else
19767 "Innotek6"
19768 #endif
19769 );
19770 exit(0);
19771 }
19772
19773 _ACEOF
19774 if ac_fn_c_try_run "$LINENO"; then :
19775 wx_cv_gccversion=`cat conftestval`
19776 else
19777 wx_cv_gccversion="EMX2"
19778 fi
19779 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19780 conftest.$ac_objext conftest.beam conftest.$ac_ext
19781 fi
19782
19783
19784 fi
19785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19786 $as_echo "$wx_cv_gccversion" >&6; }
19787 if test "$wx_cv_gccversion" = "EMX2"; then
19788 LIBS="$LIBS -lstdcpp"
19789 LDFLAGS="$LDFLAGS -Zsysv-signals"
19790 else
19791 if test "$wx_cv_gccversion" = "EMX3"; then
19792 LIBS="$LIBS -lstdcxx -lgcc"
19793 LDFLAGS="$LDFLAGS -Zsysv-signals"
19794 else
19795 LIBS="$LIBS -lstdc++"
19796 fi
19797 fi
19798 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19800 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19801 wxUSE_OMF=yes
19802 enable_omf=yes
19803 fi
19804 ;;
19805 *)
19806
19807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19808 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19809 if ${ac_cv_string_strcasecmp+:} false; then :
19810 $as_echo_n "(cached) " >&6
19811 else
19812
19813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19814 /* end confdefs.h. */
19815
19816 #include <string.h>
19817
19818 int
19819 main ()
19820 {
19821
19822 strcasecmp("foo", "bar");
19823
19824 ;
19825 return 0;
19826 }
19827 _ACEOF
19828 if ac_fn_c_try_link "$LINENO"; then :
19829 ac_cv_string_strcasecmp=yes
19830 else
19831 ac_cv_string_strcasecmp=no
19832
19833 fi
19834 rm -f core conftest.err conftest.$ac_objext \
19835 conftest$ac_exeext conftest.$ac_ext
19836
19837 fi
19838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19839 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19840
19841 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19842 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19843
19844 else
19845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19846 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19847 if ${ac_cv_strings_strcasecmp+:} false; then :
19848 $as_echo_n "(cached) " >&6
19849 else
19850
19851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19852 /* end confdefs.h. */
19853
19854 #include <strings.h>
19855
19856 int
19857 main ()
19858 {
19859
19860 strcasecmp("foo", "bar");
19861
19862 ;
19863 return 0;
19864 }
19865 _ACEOF
19866 if ac_fn_c_try_link "$LINENO"; then :
19867 ac_cv_strings_strcasecmp=yes
19868 else
19869 ac_cv_strings_strcasecmp=no
19870
19871 fi
19872 rm -f core conftest.err conftest.$ac_objext \
19873 conftest$ac_exeext conftest.$ac_ext
19874
19875 fi
19876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19877 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19878
19879 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19880 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19881
19882 else
19883 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19884 fi
19885 fi
19886
19887 ;;
19888 esac
19889
19890
19891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19892 $as_echo_n "checking for ANSI C header files... " >&6; }
19893 if ${ac_cv_header_stdc+:} false; then :
19894 $as_echo_n "(cached) " >&6
19895 else
19896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19897 /* end confdefs.h. */
19898 #include <stdlib.h>
19899 #include <stdarg.h>
19900 #include <string.h>
19901 #include <float.h>
19902
19903 int
19904 main ()
19905 {
19906
19907 ;
19908 return 0;
19909 }
19910 _ACEOF
19911 if ac_fn_c_try_compile "$LINENO"; then :
19912 ac_cv_header_stdc=yes
19913 else
19914 ac_cv_header_stdc=no
19915 fi
19916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19917
19918 if test $ac_cv_header_stdc = yes; then
19919 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19921 /* end confdefs.h. */
19922 #include <string.h>
19923
19924 _ACEOF
19925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19926 $EGREP "memchr" >/dev/null 2>&1; then :
19927
19928 else
19929 ac_cv_header_stdc=no
19930 fi
19931 rm -f conftest*
19932
19933 fi
19934
19935 if test $ac_cv_header_stdc = yes; then
19936 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19938 /* end confdefs.h. */
19939 #include <stdlib.h>
19940
19941 _ACEOF
19942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19943 $EGREP "free" >/dev/null 2>&1; then :
19944
19945 else
19946 ac_cv_header_stdc=no
19947 fi
19948 rm -f conftest*
19949
19950 fi
19951
19952 if test $ac_cv_header_stdc = yes; then
19953 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19954 if test "$cross_compiling" = yes; then :
19955 :
19956 else
19957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19958 /* end confdefs.h. */
19959 #include <ctype.h>
19960 #include <stdlib.h>
19961 #if ((' ' & 0x0FF) == 0x020)
19962 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19963 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19964 #else
19965 # define ISLOWER(c) \
19966 (('a' <= (c) && (c) <= 'i') \
19967 || ('j' <= (c) && (c) <= 'r') \
19968 || ('s' <= (c) && (c) <= 'z'))
19969 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19970 #endif
19971
19972 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19973 int
19974 main ()
19975 {
19976 int i;
19977 for (i = 0; i < 256; i++)
19978 if (XOR (islower (i), ISLOWER (i))
19979 || toupper (i) != TOUPPER (i))
19980 return 2;
19981 return 0;
19982 }
19983 _ACEOF
19984 if ac_fn_c_try_run "$LINENO"; then :
19985
19986 else
19987 ac_cv_header_stdc=no
19988 fi
19989 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19990 conftest.$ac_objext conftest.beam conftest.$ac_ext
19991 fi
19992
19993 fi
19994 fi
19995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19996 $as_echo "$ac_cv_header_stdc" >&6; }
19997 if test $ac_cv_header_stdc = yes; then
19998
19999 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20000
20001 fi
20002
20003 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20004 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20005 inttypes.h stdint.h unistd.h
20006 do :
20007 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20008 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20009 "
20010 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20011 cat >>confdefs.h <<_ACEOF
20012 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20013 _ACEOF
20014
20015 fi
20016
20017 done
20018
20019
20020 for ac_header in langinfo.h wchar.h
20021 do :
20022 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20023 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20024 "
20025 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20026 cat >>confdefs.h <<_ACEOF
20027 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20028 _ACEOF
20029
20030 fi
20031
20032 done
20033
20034
20035 if test "$ac_cv_header_wchar_h" != "yes"; then
20036 for ac_header in wcstr.h
20037 do :
20038 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20039 "
20040 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20041 cat >>confdefs.h <<_ACEOF
20042 #define HAVE_WCSTR_H 1
20043 _ACEOF
20044
20045 fi
20046
20047 done
20048
20049 fi
20050
20051 case "${host}" in
20052 *-pc-os2_emx | *-pc-os2-emx )
20053 if test $ac_cv_header_langinfo_h = "yes" \
20054 -a \( "$wx_cv_gccversion" = "EMX2" \
20055 -o "$wx_cv_gccversion" = "EMX3" \
20056 -o "$wx_cv_gccversion" = "Innotek5" \); then
20057 LIBS="$LIBS -lintl"
20058 fi
20059 ;;
20060 esac
20061
20062 if test "$USE_UNIX" = 1 ; then
20063 for ac_header in sys/select.h
20064 do :
20065 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20066 "
20067 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20068 cat >>confdefs.h <<_ACEOF
20069 #define HAVE_SYS_SELECT_H 1
20070 _ACEOF
20071
20072 fi
20073
20074 done
20075
20076
20077 ac_ext=cpp
20078 ac_cpp='$CXXCPP $CPPFLAGS'
20079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20082
20083 for ac_header in cxxabi.h
20084 do :
20085 ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default
20086 "
20087 if test "x$ac_cv_header_cxxabi_h" = xyes; then :
20088 cat >>confdefs.h <<_ACEOF
20089 #define HAVE_CXXABI_H 1
20090 _ACEOF
20091
20092 fi
20093
20094 done
20095
20096 ac_ext=c
20097 ac_cpp='$CPP $CPPFLAGS'
20098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20101
20102 fi
20103
20104
20105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20106 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20107 if ${ac_cv_c_const+:} false; then :
20108 $as_echo_n "(cached) " >&6
20109 else
20110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20111 /* end confdefs.h. */
20112
20113 int
20114 main ()
20115 {
20116
20117 #ifndef __cplusplus
20118 /* Ultrix mips cc rejects this sort of thing. */
20119 typedef int charset[2];
20120 const charset cs = { 0, 0 };
20121 /* SunOS 4.1.1 cc rejects this. */
20122 char const *const *pcpcc;
20123 char **ppc;
20124 /* NEC SVR4.0.2 mips cc rejects this. */
20125 struct point {int x, y;};
20126 static struct point const zero = {0,0};
20127 /* AIX XL C 1.02.0.0 rejects this.
20128 It does not let you subtract one const X* pointer from another in
20129 an arm of an if-expression whose if-part is not a constant
20130 expression */
20131 const char *g = "string";
20132 pcpcc = &g + (g ? g-g : 0);
20133 /* HPUX 7.0 cc rejects these. */
20134 ++pcpcc;
20135 ppc = (char**) pcpcc;
20136 pcpcc = (char const *const *) ppc;
20137 { /* SCO 3.2v4 cc rejects this sort of thing. */
20138 char tx;
20139 char *t = &tx;
20140 char const *s = 0 ? (char *) 0 : (char const *) 0;
20141
20142 *t++ = 0;
20143 if (s) return 0;
20144 }
20145 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20146 int x[] = {25, 17};
20147 const int *foo = &x[0];
20148 ++foo;
20149 }
20150 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20151 typedef const int *iptr;
20152 iptr p = 0;
20153 ++p;
20154 }
20155 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20156 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20157 struct s { int j; const int *ap[3]; } bx;
20158 struct s *b = &bx; b->j = 5;
20159 }
20160 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20161 const int foo = 10;
20162 if (!foo) return 0;
20163 }
20164 return !cs[0] && !zero.x;
20165 #endif
20166
20167 ;
20168 return 0;
20169 }
20170 _ACEOF
20171 if ac_fn_c_try_compile "$LINENO"; then :
20172 ac_cv_c_const=yes
20173 else
20174 ac_cv_c_const=no
20175 fi
20176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20177 fi
20178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20179 $as_echo "$ac_cv_c_const" >&6; }
20180 if test $ac_cv_c_const = no; then
20181
20182 $as_echo "#define const /**/" >>confdefs.h
20183
20184 fi
20185
20186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20187 $as_echo_n "checking for inline... " >&6; }
20188 if ${ac_cv_c_inline+:} false; then :
20189 $as_echo_n "(cached) " >&6
20190 else
20191 ac_cv_c_inline=no
20192 for ac_kw in inline __inline__ __inline; do
20193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20194 /* end confdefs.h. */
20195 #ifndef __cplusplus
20196 typedef int foo_t;
20197 static $ac_kw foo_t static_foo () {return 0; }
20198 $ac_kw foo_t foo () {return 0; }
20199 #endif
20200
20201 _ACEOF
20202 if ac_fn_c_try_compile "$LINENO"; then :
20203 ac_cv_c_inline=$ac_kw
20204 fi
20205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20206 test "$ac_cv_c_inline" != no && break
20207 done
20208
20209 fi
20210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20211 $as_echo "$ac_cv_c_inline" >&6; }
20212
20213 case $ac_cv_c_inline in
20214 inline | yes) ;;
20215 *)
20216 case $ac_cv_c_inline in
20217 no) ac_val=;;
20218 *) ac_val=$ac_cv_c_inline;;
20219 esac
20220 cat >>confdefs.h <<_ACEOF
20221 #ifndef __cplusplus
20222 #define inline $ac_val
20223 #endif
20224 _ACEOF
20225 ;;
20226 esac
20227
20228
20229 # The cast to long int works around a bug in the HP C Compiler
20230 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20231 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20232 # This bug is HP SR number 8606223364.
20233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20234 $as_echo_n "checking size of short... " >&6; }
20235 if ${ac_cv_sizeof_short+:} false; then :
20236 $as_echo_n "(cached) " >&6
20237 else
20238 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20239
20240 else
20241 if test "$ac_cv_type_short" = yes; then
20242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20244 as_fn_error 77 "cannot compute sizeof (short)
20245 See \`config.log' for more details" "$LINENO" 5; }
20246 else
20247 ac_cv_sizeof_short=0
20248 fi
20249 fi
20250
20251 fi
20252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20253 $as_echo "$ac_cv_sizeof_short" >&6; }
20254
20255
20256
20257 cat >>confdefs.h <<_ACEOF
20258 #define SIZEOF_SHORT $ac_cv_sizeof_short
20259 _ACEOF
20260
20261
20262 # The cast to long int works around a bug in the HP C Compiler
20263 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20264 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20265 # This bug is HP SR number 8606223364.
20266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20267 $as_echo_n "checking size of void *... " >&6; }
20268 if ${ac_cv_sizeof_void_p+:} false; then :
20269 $as_echo_n "(cached) " >&6
20270 else
20271 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20272
20273 else
20274 if test "$ac_cv_type_void_p" = yes; then
20275 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20277 as_fn_error 77 "cannot compute sizeof (void *)
20278 See \`config.log' for more details" "$LINENO" 5; }
20279 else
20280 ac_cv_sizeof_void_p=0
20281 fi
20282 fi
20283
20284 fi
20285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20286 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20287
20288
20289
20290 cat >>confdefs.h <<_ACEOF
20291 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20292 _ACEOF
20293
20294
20295 # The cast to long int works around a bug in the HP C Compiler
20296 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20297 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20298 # This bug is HP SR number 8606223364.
20299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20300 $as_echo_n "checking size of int... " >&6; }
20301 if ${ac_cv_sizeof_int+:} false; then :
20302 $as_echo_n "(cached) " >&6
20303 else
20304 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20305
20306 else
20307 if test "$ac_cv_type_int" = yes; then
20308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20310 as_fn_error 77 "cannot compute sizeof (int)
20311 See \`config.log' for more details" "$LINENO" 5; }
20312 else
20313 ac_cv_sizeof_int=0
20314 fi
20315 fi
20316
20317 fi
20318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20319 $as_echo "$ac_cv_sizeof_int" >&6; }
20320
20321
20322
20323 cat >>confdefs.h <<_ACEOF
20324 #define SIZEOF_INT $ac_cv_sizeof_int
20325 _ACEOF
20326
20327
20328 # The cast to long int works around a bug in the HP C Compiler
20329 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20330 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20331 # This bug is HP SR number 8606223364.
20332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20333 $as_echo_n "checking size of long... " >&6; }
20334 if ${ac_cv_sizeof_long+:} false; then :
20335 $as_echo_n "(cached) " >&6
20336 else
20337 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20338
20339 else
20340 if test "$ac_cv_type_long" = yes; then
20341 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20343 as_fn_error 77 "cannot compute sizeof (long)
20344 See \`config.log' for more details" "$LINENO" 5; }
20345 else
20346 ac_cv_sizeof_long=0
20347 fi
20348 fi
20349
20350 fi
20351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20352 $as_echo "$ac_cv_sizeof_long" >&6; }
20353
20354
20355
20356 cat >>confdefs.h <<_ACEOF
20357 #define SIZEOF_LONG $ac_cv_sizeof_long
20358 _ACEOF
20359
20360
20361 # The cast to long int works around a bug in the HP C Compiler
20362 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20363 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20364 # This bug is HP SR number 8606223364.
20365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20366 $as_echo_n "checking size of size_t... " >&6; }
20367 if ${ac_cv_sizeof_size_t+:} false; then :
20368 $as_echo_n "(cached) " >&6
20369 else
20370 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20371
20372 else
20373 if test "$ac_cv_type_size_t" = yes; then
20374 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20376 as_fn_error 77 "cannot compute sizeof (size_t)
20377 See \`config.log' for more details" "$LINENO" 5; }
20378 else
20379 ac_cv_sizeof_size_t=0
20380 fi
20381 fi
20382
20383 fi
20384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20385 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20386
20387
20388
20389 cat >>confdefs.h <<_ACEOF
20390 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20391 _ACEOF
20392
20393
20394
20395 case "${host}" in
20396 arm-*-linux* )
20397 # The cast to long int works around a bug in the HP C Compiler
20398 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20399 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20400 # This bug is HP SR number 8606223364.
20401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20402 $as_echo_n "checking size of long long... " >&6; }
20403 if ${ac_cv_sizeof_long_long+:} false; then :
20404 $as_echo_n "(cached) " >&6
20405 else
20406 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20407
20408 else
20409 if test "$ac_cv_type_long_long" = yes; then
20410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20412 as_fn_error 77 "cannot compute sizeof (long long)
20413 See \`config.log' for more details" "$LINENO" 5; }
20414 else
20415 ac_cv_sizeof_long_long=0
20416 fi
20417 fi
20418
20419 fi
20420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20421 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20422
20423
20424
20425 cat >>confdefs.h <<_ACEOF
20426 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20427 _ACEOF
20428
20429
20430 ;;
20431 *-hp-hpux* )
20432 # The cast to long int works around a bug in the HP C Compiler
20433 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20434 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20435 # This bug is HP SR number 8606223364.
20436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20437 $as_echo_n "checking size of long long... " >&6; }
20438 if ${ac_cv_sizeof_long_long+:} false; then :
20439 $as_echo_n "(cached) " >&6
20440 else
20441 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20442
20443 else
20444 if test "$ac_cv_type_long_long" = yes; then
20445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20447 as_fn_error 77 "cannot compute sizeof (long long)
20448 See \`config.log' for more details" "$LINENO" 5; }
20449 else
20450 ac_cv_sizeof_long_long=0
20451 fi
20452 fi
20453
20454 fi
20455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20456 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20457
20458
20459
20460 cat >>confdefs.h <<_ACEOF
20461 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20462 _ACEOF
20463
20464
20465 if test "$ac_cv_sizeof_long_long" != 0; then
20466 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20467 fi
20468 ;;
20469 * )
20470 # The cast to long int works around a bug in the HP C Compiler
20471 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20472 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20473 # This bug is HP SR number 8606223364.
20474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20475 $as_echo_n "checking size of long long... " >&6; }
20476 if ${ac_cv_sizeof_long_long+:} false; then :
20477 $as_echo_n "(cached) " >&6
20478 else
20479 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20480
20481 else
20482 if test "$ac_cv_type_long_long" = yes; then
20483 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20484 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20485 as_fn_error 77 "cannot compute sizeof (long long)
20486 See \`config.log' for more details" "$LINENO" 5; }
20487 else
20488 ac_cv_sizeof_long_long=0
20489 fi
20490 fi
20491
20492 fi
20493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20494 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20495
20496
20497
20498 cat >>confdefs.h <<_ACEOF
20499 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20500 _ACEOF
20501
20502
20503 esac
20504
20505 # The cast to long int works around a bug in the HP C Compiler
20506 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20507 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20508 # This bug is HP SR number 8606223364.
20509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20510 $as_echo_n "checking size of wchar_t... " >&6; }
20511 if ${ac_cv_sizeof_wchar_t+:} false; then :
20512 $as_echo_n "(cached) " >&6
20513 else
20514 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20515 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20516 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20517 # error \"fake wchar_t\"
20518 #endif
20519 #ifdef HAVE_WCHAR_H
20520 # ifdef __CYGWIN__
20521 # include <stddef.h>
20522 # endif
20523 # include <wchar.h>
20524 #endif
20525 #ifdef HAVE_STDLIB_H
20526 # include <stdlib.h>
20527 #endif
20528 #include <stdio.h>
20529
20530
20531 "; then :
20532
20533 else
20534 if test "$ac_cv_type_wchar_t" = yes; then
20535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20537 as_fn_error 77 "cannot compute sizeof (wchar_t)
20538 See \`config.log' for more details" "$LINENO" 5; }
20539 else
20540 ac_cv_sizeof_wchar_t=0
20541 fi
20542 fi
20543
20544 fi
20545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20546 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20547
20548
20549
20550 cat >>confdefs.h <<_ACEOF
20551 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20552 _ACEOF
20553
20554
20555 if test "$ac_cv_sizeof_wchar_t" = 0; then
20556 as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
20557 fi
20558 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20559
20560
20561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20562 $as_echo_n "checking for va_copy... " >&6; }
20563 if ${wx_cv_func_va_copy+:} false; then :
20564 $as_echo_n "(cached) " >&6
20565 else
20566
20567 ac_ext=cpp
20568 ac_cpp='$CXXCPP $CPPFLAGS'
20569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20572
20573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20574 /* end confdefs.h. */
20575
20576
20577 #include <stdarg.h>
20578 void foo(char *f, ...)
20579 {
20580 va_list ap1, ap2;
20581 va_start(ap1, f);
20582 va_copy(ap2, ap1);
20583 va_end(ap2);
20584 va_end(ap1);
20585 }
20586 int main()
20587 {
20588 foo("hi", 17);
20589 return 0;
20590 }
20591
20592 _ACEOF
20593 if ac_fn_cxx_try_link "$LINENO"; then :
20594 wx_cv_func_va_copy=yes
20595 else
20596 wx_cv_func_va_copy=no
20597
20598 fi
20599 rm -f core conftest.err conftest.$ac_objext \
20600 conftest$ac_exeext conftest.$ac_ext
20601 ac_ext=c
20602 ac_cpp='$CPP $CPPFLAGS'
20603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20606
20607
20608
20609 fi
20610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20611 $as_echo "$wx_cv_func_va_copy" >&6; }
20612
20613 if test $wx_cv_func_va_copy = "yes"; then
20614 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20615
20616 else
20617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20618 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20619 if ${wx_cv_type_va_list_lvalue+:} false; then :
20620 $as_echo_n "(cached) " >&6
20621 else
20622
20623 if test "$cross_compiling" = yes; then :
20624 wx_cv_type_va_list_lvalue=yes
20625
20626 else
20627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20628 /* end confdefs.h. */
20629
20630
20631 #include <stdarg.h>
20632 int foo(char *f, ...)
20633 {
20634 va_list ap1, ap2;
20635 va_start(ap1, f);
20636 ap2 = ap1;
20637 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20638 return 1;
20639 va_end(ap2);
20640 va_end(ap1);
20641 return 0;
20642 }
20643 int main()
20644 {
20645 return foo("hi", 17);
20646 }
20647
20648 _ACEOF
20649 if ac_fn_c_try_run "$LINENO"; then :
20650 wx_cv_type_va_list_lvalue=yes
20651 else
20652 wx_cv_type_va_list_lvalue=no
20653 fi
20654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20655 conftest.$ac_objext conftest.beam conftest.$ac_ext
20656 fi
20657
20658
20659
20660 fi
20661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20662 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20663
20664 if test $wx_cv_type_va_list_lvalue != "yes"; then
20665 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20666
20667 fi
20668 fi
20669
20670 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20671
20672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20673 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20674 if ${wx_cv_have_variadic_macros+:} false; then :
20675 $as_echo_n "(cached) " >&6
20676 else
20677
20678 ac_ext=cpp
20679 ac_cpp='$CXXCPP $CPPFLAGS'
20680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20683
20684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20685 /* end confdefs.h. */
20686
20687
20688 #include <stdio.h>
20689 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20690
20691 int
20692 main ()
20693 {
20694
20695 test("%s %d %p", "test", 1, 0);
20696
20697
20698 ;
20699 return 0;
20700 }
20701 _ACEOF
20702 if ac_fn_cxx_try_compile "$LINENO"; then :
20703 wx_cv_have_variadic_macros=yes
20704 else
20705 wx_cv_have_variadic_macros=no
20706
20707 fi
20708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20709 ac_ext=c
20710 ac_cpp='$CPP $CPPFLAGS'
20711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20714
20715
20716
20717 fi
20718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20719 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20720
20721 if test $wx_cv_have_variadic_macros = "yes"; then
20722 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20723
20724 fi
20725
20726 fi
20727
20728 LARGEFILE_CPPFLAGS=
20729 # Check whether --enable-largefile was given.
20730 if test "${enable_largefile+set}" = set; then :
20731 enableval=$enable_largefile;
20732 fi
20733
20734 if test "$enable_largefile" != no; then
20735 wx_largefile=no
20736
20737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20738 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20739 if ${ac_cv_sys_file_offset_bits+:} false; then :
20740 $as_echo_n "(cached) " >&6
20741 else
20742
20743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20744 /* end confdefs.h. */
20745 #define _FILE_OFFSET_BITS 64
20746 #include <sys/types.h>
20747 int
20748 main ()
20749 {
20750 typedef struct {
20751 unsigned int field: sizeof(off_t) == 8;
20752 } wxlf;
20753
20754 ;
20755 return 0;
20756 }
20757 _ACEOF
20758 if ac_fn_c_try_compile "$LINENO"; then :
20759 ac_cv_sys_file_offset_bits=64
20760 else
20761 ac_cv_sys_file_offset_bits=no
20762 fi
20763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20764
20765
20766 fi
20767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20768 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20769
20770 if test "$ac_cv_sys_file_offset_bits" != no; then
20771 wx_largefile=yes
20772 cat >>confdefs.h <<_ACEOF
20773 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20774 _ACEOF
20775
20776 fi
20777
20778 if test "x$wx_largefile" != "xyes"; then
20779
20780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20781 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20782 if ${ac_cv_sys_large_files+:} false; then :
20783 $as_echo_n "(cached) " >&6
20784 else
20785
20786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20787 /* end confdefs.h. */
20788 #define _LARGE_FILES 1
20789 #include <sys/types.h>
20790 int
20791 main ()
20792 {
20793 typedef struct {
20794 unsigned int field: sizeof(off_t) == 8;
20795 } wxlf;
20796
20797 ;
20798 return 0;
20799 }
20800 _ACEOF
20801 if ac_fn_c_try_compile "$LINENO"; then :
20802 ac_cv_sys_large_files=1
20803 else
20804 ac_cv_sys_large_files=no
20805 fi
20806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20807
20808
20809 fi
20810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20811 $as_echo "$ac_cv_sys_large_files" >&6; }
20812
20813 if test "$ac_cv_sys_large_files" != no; then
20814 wx_largefile=yes
20815 cat >>confdefs.h <<_ACEOF
20816 #define _LARGE_FILES $ac_cv_sys_large_files
20817 _ACEOF
20818
20819 fi
20820
20821 fi
20822
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20824 $as_echo_n "checking if large file support is available... " >&6; }
20825 if test "x$wx_largefile" = "xyes"; then
20826 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20827
20828 fi
20829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20830 $as_echo "$wx_largefile" >&6; }
20831 fi
20832
20833 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20834 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
20835 elif test "$ac_cv_sys_large_files" = 1; then
20836 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
20837 fi
20838
20839 if test -n "$LARGEFILE_CPPFLAGS"; then
20840 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20841
20842 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20844 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20845 if ${wx_cv_STDC_EXT_required+:} false; then :
20846 $as_echo_n "(cached) " >&6
20847 else
20848
20849 ac_ext=cpp
20850 ac_cpp='$CXXCPP $CPPFLAGS'
20851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20854
20855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20856 /* end confdefs.h. */
20857
20858 int
20859 main ()
20860 {
20861
20862 #ifndef __STDC_EXT__
20863 choke me
20864 #endif
20865
20866 ;
20867 return 0;
20868 }
20869 _ACEOF
20870 if ac_fn_cxx_try_compile "$LINENO"; then :
20871 wx_cv_STDC_EXT_required=no
20872 else
20873 wx_cv_STDC_EXT_required=yes
20874
20875 fi
20876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20877 ac_ext=c
20878 ac_cpp='$CPP $CPPFLAGS'
20879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20882
20883
20884
20885 fi
20886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20887 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20888 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20889 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20890 fi
20891 fi
20892 fi
20893
20894 ac_ext=cpp
20895 ac_cpp='$CXXCPP $CPPFLAGS'
20896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20899
20900 old_CPPFLAGS="$CPPFLAGS"
20901 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20903 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20904 if ${ac_cv_sys_largefile_source+:} false; then :
20905 $as_echo_n "(cached) " >&6
20906 else
20907 while :; do
20908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20909 /* end confdefs.h. */
20910 #include <sys/types.h> /* for off_t */
20911 #include <stdio.h>
20912 int
20913 main ()
20914 {
20915 int (*fp) (FILE *, off_t, int) = fseeko;
20916 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20917 ;
20918 return 0;
20919 }
20920 _ACEOF
20921 if ac_fn_cxx_try_link "$LINENO"; then :
20922 ac_cv_sys_largefile_source=no; break
20923 fi
20924 rm -f core conftest.err conftest.$ac_objext \
20925 conftest$ac_exeext conftest.$ac_ext
20926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20927 /* end confdefs.h. */
20928 #define _LARGEFILE_SOURCE 1
20929 #include <sys/types.h> /* for off_t */
20930 #include <stdio.h>
20931 int
20932 main ()
20933 {
20934 int (*fp) (FILE *, off_t, int) = fseeko;
20935 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20936 ;
20937 return 0;
20938 }
20939 _ACEOF
20940 if ac_fn_cxx_try_link "$LINENO"; then :
20941 ac_cv_sys_largefile_source=1; break
20942 fi
20943 rm -f core conftest.err conftest.$ac_objext \
20944 conftest$ac_exeext conftest.$ac_ext
20945 ac_cv_sys_largefile_source=unknown
20946 break
20947 done
20948 fi
20949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20950 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20951 case $ac_cv_sys_largefile_source in #(
20952 no | unknown) ;;
20953 *)
20954 cat >>confdefs.h <<_ACEOF
20955 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20956 _ACEOF
20957 ;;
20958 esac
20959 rm -rf conftest*
20960
20961 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20962 # in glibc 2.1.3, but that breaks too many other things.
20963 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20964 if test $ac_cv_sys_largefile_source != unknown; then
20965
20966 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20967
20968 fi
20969
20970 CPPFLAGS="$old_CPPFLAGS"
20971 ac_ext=c
20972 ac_cpp='$CPP $CPPFLAGS'
20973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20976
20977 if test "$ac_cv_sys_largefile_source" != no; then
20978 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20979 fi
20980
20981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20982 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20983 if ${ac_cv_c_bigendian+:} false; then :
20984 $as_echo_n "(cached) " >&6
20985 else
20986 ac_cv_c_bigendian=unknown
20987 # See if sys/param.h defines the BYTE_ORDER macro.
20988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20989 /* end confdefs.h. */
20990 #include <sys/types.h>
20991 #include <sys/param.h>
20992 int
20993 main ()
20994 {
20995
20996 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20997 bogus endian macros
20998 #endif
20999 ;
21000 return 0;
21001 }
21002 _ACEOF
21003 if ac_fn_c_try_compile "$LINENO"; then :
21004 # It does; now see whether it defined to BIG_ENDIAN or not.
21005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21006 /* end confdefs.h. */
21007 #include <sys/types.h>
21008 #include <sys/param.h>
21009 int
21010 main ()
21011 {
21012
21013 #if BYTE_ORDER != BIG_ENDIAN
21014 not big endian
21015 #endif
21016 ;
21017 return 0;
21018 }
21019 _ACEOF
21020 if ac_fn_c_try_compile "$LINENO"; then :
21021 ac_cv_c_bigendian=yes
21022 else
21023 ac_cv_c_bigendian=no
21024 fi
21025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21026 fi
21027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21028 if test $ac_cv_c_bigendian = unknown; then
21029 if test "$cross_compiling" = yes; then :
21030 ac_cv_c_bigendian=unknown
21031 else
21032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21033 /* end confdefs.h. */
21034 main () {
21035 /* Are we little or big endian? From Harbison&Steele. */
21036 union
21037 {
21038 long l;
21039 char c[sizeof (long)];
21040 } u;
21041 u.l = 1;
21042 exit (u.c[sizeof (long) - 1] == 1);
21043 }
21044 _ACEOF
21045 if ac_fn_c_try_run "$LINENO"; then :
21046 ac_cv_c_bigendian=no
21047 else
21048 ac_cv_c_bigendian=yes
21049 fi
21050 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21051 conftest.$ac_objext conftest.beam conftest.$ac_ext
21052 fi
21053
21054 fi
21055 fi
21056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21057 $as_echo "$ac_cv_c_bigendian" >&6; }
21058 if test $ac_cv_c_bigendian = unknown; then
21059 { $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
21060 $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;}
21061 fi
21062 if test $ac_cv_c_bigendian = yes; then
21063 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21064
21065 fi
21066
21067
21068
21069
21070 ac_ext=cpp
21071 ac_cpp='$CXXCPP $CPPFLAGS'
21072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21075
21076
21077 for ac_header in iostream
21078 do :
21079 ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
21080 "
21081 if test "x$ac_cv_header_iostream" = xyes; then :
21082 cat >>confdefs.h <<_ACEOF
21083 #define HAVE_IOSTREAM 1
21084 _ACEOF
21085
21086 fi
21087
21088 done
21089
21090
21091 if test "$ac_cv_header_iostream" = "yes" ; then
21092 :
21093 else
21094 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21095
21096 fi
21097
21098 ac_ext=c
21099 ac_cpp='$CPP $CPPFLAGS'
21100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21103
21104
21105
21106
21107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21108 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21109 if ${wx_cv_explicit+:} false; then :
21110 $as_echo_n "(cached) " >&6
21111 else
21112
21113
21114 ac_ext=cpp
21115 ac_cpp='$CXXCPP $CPPFLAGS'
21116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21119
21120
21121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21122 /* end confdefs.h. */
21123
21124 class Foo { public: explicit Foo(int) {} };
21125
21126 int
21127 main ()
21128 {
21129
21130 return 0;
21131
21132 ;
21133 return 0;
21134 }
21135 _ACEOF
21136 if ac_fn_cxx_try_compile "$LINENO"; then :
21137
21138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21139 /* end confdefs.h. */
21140
21141 class Foo { public: explicit Foo(int) {} };
21142 static void TakeFoo(const Foo& foo) { }
21143
21144 int
21145 main ()
21146 {
21147
21148 TakeFoo(17);
21149 return 0;
21150
21151 ;
21152 return 0;
21153 }
21154 _ACEOF
21155 if ac_fn_cxx_try_compile "$LINENO"; then :
21156 wx_cv_explicit=no
21157 else
21158 wx_cv_explicit=yes
21159
21160 fi
21161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21162
21163 else
21164 wx_cv_explicit=no
21165
21166 fi
21167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21168
21169 ac_ext=c
21170 ac_cpp='$CPP $CPPFLAGS'
21171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21174
21175
21176 fi
21177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21178 $as_echo "$wx_cv_explicit" >&6; }
21179
21180 if test "$wx_cv_explicit" = "yes"; then
21181 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21182
21183 fi
21184
21185
21186 if test "x$SUNCXX" = xyes; then
21187 CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21188 fi
21189
21190 if test "x$SUNCC" = xyes; then
21191 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21192 fi
21193
21194 if test "x$SGICC" = "xyes"; then
21195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21196 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21197 if ${wx_cv_prog_sgicc744+:} false; then :
21198 $as_echo_n "(cached) " >&6
21199 else
21200
21201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21202 /* end confdefs.h. */
21203
21204 int
21205 main ()
21206 {
21207
21208 #if _SGI_COMPILER_VERSION >= 744
21209 chock me: mipsPro is 7.4.4 or later
21210 #endif
21211
21212 ;
21213 return 0;
21214 }
21215 _ACEOF
21216 if ac_fn_c_try_compile "$LINENO"; then :
21217 wx_cv_prog_sgicc744=no
21218 else
21219 wx_cv_prog_sgicc744=yes
21220
21221 fi
21222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21223
21224
21225 fi
21226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21227 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21228
21229 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21230 CFLAGS="-woff 3970 $CFLAGS"
21231 fi
21232 fi
21233 if test "x$SGICXX" = "xyes"; then
21234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21235 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21236 if ${wx_cv_prog_sgicxx744+:} false; then :
21237 $as_echo_n "(cached) " >&6
21238 else
21239
21240 ac_ext=cpp
21241 ac_cpp='$CXXCPP $CPPFLAGS'
21242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21245
21246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21247 /* end confdefs.h. */
21248
21249 int
21250 main ()
21251 {
21252
21253 #if _SGI_COMPILER_VERSION >= 744
21254 chock me: mipsPro is 7.4.4 or later
21255 #endif
21256
21257 ;
21258 return 0;
21259 }
21260 _ACEOF
21261 if ac_fn_cxx_try_compile "$LINENO"; then :
21262 wx_cv_prog_sgicxx744=no
21263 else
21264 wx_cv_prog_sgicxx744=yes
21265
21266 fi
21267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21268 ac_ext=c
21269 ac_cpp='$CPP $CPPFLAGS'
21270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21273
21274
21275
21276 fi
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21278 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21279
21280 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21281 CXXFLAGS="-woff 3970 $CXXFLAGS"
21282 fi
21283 fi
21284
21285 if test "x$HPCC" = "xyes"; then
21286 CFLAGS="+W 2011,2450 $CFLAGS"
21287 fi
21288 if test "x$HPCXX" = "xyes"; then
21289 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
21290 fi
21291
21292 if test "x$COMPAQCXX" = "xyes"; then
21293 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21294 fi
21295
21296 ac_ext=cpp
21297 ac_cpp='$CXXCPP $CPPFLAGS'
21298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21301
21302
21303 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21304 if test "$wxUSE_UNICODE" = "yes"; then
21305 std_string="std::wstring"
21306 char_type="wchar_t"
21307 else
21308 std_string="std::string"
21309 char_type="char"
21310 fi
21311
21312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21313 $as_echo_n "checking for $std_string in <string>... " >&6; }
21314 if ${wx_cv_class_stdstring+:} false; then :
21315 $as_echo_n "(cached) " >&6
21316 else
21317
21318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21319 /* end confdefs.h. */
21320 #include <string>
21321 int
21322 main ()
21323 {
21324 $std_string foo;
21325 ;
21326 return 0;
21327 }
21328 _ACEOF
21329 if ac_fn_cxx_try_compile "$LINENO"; then :
21330 wx_cv_class_stdstring=yes
21331 else
21332 wx_cv_class_stdstring=no
21333
21334 fi
21335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21336
21337
21338 fi
21339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21340 $as_echo "$wx_cv_class_stdstring" >&6; }
21341
21342 if test "$wx_cv_class_stdstring" = yes; then
21343 if test "$wxUSE_UNICODE" = "yes"; then
21344 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21345
21346 fi
21347 else
21348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21349 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21350 if ${wx_cv_class_stdbasicstring+:} false; then :
21351 $as_echo_n "(cached) " >&6
21352 else
21353
21354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21355 /* end confdefs.h. */
21356
21357 #ifdef HAVE_WCHAR_H
21358 # ifdef __CYGWIN__
21359 # include <stddef.h>
21360 # endif
21361 # include <wchar.h>
21362 #endif
21363 #ifdef HAVE_STDLIB_H
21364 # include <stdlib.h>
21365 #endif
21366 #include <stdio.h>
21367 #include <string>
21368
21369 int
21370 main ()
21371 {
21372 std::basic_string<$char_type> foo;
21373 const $char_type* dummy = foo.c_str();
21374 ;
21375 return 0;
21376 }
21377 _ACEOF
21378 if ac_fn_cxx_try_compile "$LINENO"; then :
21379 wx_cv_class_stdbasicstring=yes
21380 else
21381 wx_cv_class_stdbasicstring=no
21382
21383 fi
21384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21385
21386
21387 fi
21388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21389 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21390
21391 if test "$wx_cv_class_stdbasicstring" != yes; then
21392 if test "$wxUSE_STL" = "yes"; then
21393 as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21394 elif test "$wxUSE_STD_STRING" = "yes"; then
21395 as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21396 else
21397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21398 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21399 wxUSE_STD_STRING=no
21400 fi
21401 fi
21402 fi
21403 fi
21404
21405 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21406 ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21407 "
21408 if test "x$ac_cv_type_std__istream" = xyes; then :
21409
21410 cat >>confdefs.h <<_ACEOF
21411 #define HAVE_STD__ISTREAM 1
21412 _ACEOF
21413
21414
21415 else
21416 wxUSE_STD_IOSTREAM=no
21417 fi
21418 ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21419 "
21420 if test "x$ac_cv_type_std__ostream" = xyes; then :
21421
21422 cat >>confdefs.h <<_ACEOF
21423 #define HAVE_STD__OSTREAM 1
21424 _ACEOF
21425
21426
21427 else
21428 wxUSE_STD_IOSTREAM=no
21429 fi
21430
21431
21432 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21433 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21434 as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21435 else
21436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21437 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21438 fi
21439 fi
21440 fi
21441
21442 if test "$wxUSE_STL" = "yes"; then
21443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21444 $as_echo_n "checking for basic STL functionality... " >&6; }
21445 if ${wx_cv_lib_stl+:} false; then :
21446 $as_echo_n "(cached) " >&6
21447 else
21448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21449 /* end confdefs.h. */
21450 #include <string>
21451 #include <functional>
21452 #include <algorithm>
21453 #include <vector>
21454 #include <list>
21455 int
21456 main ()
21457 {
21458 std::vector<int> moo;
21459 std::list<int> foo;
21460 std::vector<int>::iterator it =
21461 std::find_if(moo.begin(), moo.end(),
21462 std::bind2nd(std::less<int>(), 3));
21463 ;
21464 return 0;
21465 }
21466 _ACEOF
21467 if ac_fn_cxx_try_compile "$LINENO"; then :
21468 wx_cv_lib_stl=yes
21469 else
21470 wx_cv_lib_stl=no
21471
21472 fi
21473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21474
21475 fi
21476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21477 $as_echo "$wx_cv_lib_stl" >&6; }
21478
21479 if test "$wx_cv_lib_stl" != yes; then
21480 as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21481 fi
21482
21483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21484 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21485 if ${wx_cv_func_stdstring_compare+:} false; then :
21486 $as_echo_n "(cached) " >&6
21487 else
21488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21489 /* end confdefs.h. */
21490 #include <string>
21491 int
21492 main ()
21493 {
21494 std::string foo, bar;
21495 foo.compare(bar);
21496 foo.compare(1, 1, bar);
21497 foo.compare(1, 1, bar, 1, 1);
21498 foo.compare("");
21499 foo.compare(1, 1, "");
21500 foo.compare(1, 1, "", 2);
21501 ;
21502 return 0;
21503 }
21504 _ACEOF
21505 if ac_fn_cxx_try_compile "$LINENO"; then :
21506 wx_cv_func_stdstring_compare=yes
21507 else
21508 wx_cv_func_stdstring_compare=no
21509
21510 fi
21511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21512
21513 fi
21514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21515 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21516
21517 if test "$wx_cv_func_stdstring_compare" = yes; then
21518 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21519
21520 fi
21521
21522 if test "$wx_cv_class_gnuhashmapset" = yes; then
21523 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21524
21525 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21526
21527 fi
21528
21529 ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21530
21531 "
21532 if test "x$ac_cv_header_unordered_map" = xyes; then :
21533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21534 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21535 if ${wx_cv_class_stdunorderedmapset+:} false; then :
21536 $as_echo_n "(cached) " >&6
21537 else
21538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21539 /* end confdefs.h. */
21540 #include <unordered_map>
21541 #include <unordered_set>
21542 int
21543 main ()
21544 {
21545 std::unordered_map<double*, char*> test1;
21546 std::unordered_set<char*> test2;
21547 ;
21548 return 0;
21549 }
21550 _ACEOF
21551 if ac_fn_cxx_try_compile "$LINENO"; then :
21552 wx_cv_class_stdunorderedmapset=yes
21553 else
21554 wx_cv_class_stdunorderedmapset=no
21555 fi
21556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21557
21558
21559 fi
21560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21561 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21562 fi
21563
21564
21565
21566 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21567 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21568
21569 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21570
21571 else
21572 ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21573
21574 "
21575 if test "x$ac_cv_header_tr1_unordered_map" = xyes; then :
21576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21577 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21578 if ${wx_cv_class_tr1unorderedmapset+:} false; then :
21579 $as_echo_n "(cached) " >&6
21580 else
21581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21582 /* end confdefs.h. */
21583 #include <tr1/unordered_map>
21584 #include <tr1/unordered_set>
21585 int
21586 main ()
21587 {
21588 std::tr1::unordered_map<double*, char*> test1;
21589 std::tr1::unordered_set<char*> test2;
21590 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21591 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21592 #endif
21593 ;
21594 return 0;
21595 }
21596 _ACEOF
21597 if ac_fn_cxx_try_compile "$LINENO"; then :
21598 wx_cv_class_tr1unorderedmapset=yes
21599 else
21600 wx_cv_class_tr1unorderedmapset=no
21601 fi
21602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21603
21604
21605 fi
21606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21607 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21608 fi
21609
21610
21611
21612 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21613 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21614
21615 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21616
21617 else
21618 ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
21619
21620 "
21621 if test "x$ac_cv_header_hash_map" = xyes; then :
21622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21623 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21624 if ${wx_cv_class_stdhashmapset+:} false; then :
21625 $as_echo_n "(cached) " >&6
21626 else
21627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21628 /* end confdefs.h. */
21629 #include <hash_map>
21630 #include <hash_set>
21631 int
21632 main ()
21633 {
21634 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21635 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21636 ;
21637 return 0;
21638 }
21639 _ACEOF
21640 if ac_fn_cxx_try_compile "$LINENO"; then :
21641 wx_cv_class_stdhashmapset=yes
21642 else
21643 wx_cv_class_stdhashmapset=no
21644 fi
21645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21646
21647
21648 fi
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21650 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21651 fi
21652
21653
21654
21655 if test "$wx_cv_class_stdhashmapset" = yes; then
21656 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21657
21658 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21659
21660 fi
21661
21662 ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21663
21664 "
21665 if test "x$ac_cv_header_ext_hash_map" = xyes; then :
21666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21667 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21668 if ${wx_cv_class_gnuhashmapset+:} false; then :
21669 $as_echo_n "(cached) " >&6
21670 else
21671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21672 /* end confdefs.h. */
21673 #include <ext/hash_map>
21674 #include <ext/hash_set>
21675 int
21676 main ()
21677 {
21678 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21679 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21680 ;
21681 return 0;
21682 }
21683 _ACEOF
21684 if ac_fn_cxx_try_compile "$LINENO"; then :
21685 wx_cv_class_gnuhashmapset=yes
21686 else
21687 wx_cv_class_gnuhashmapset=no
21688 fi
21689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21690
21691
21692 fi
21693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21694 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21695 fi
21696
21697
21698
21699 fi
21700 fi
21701 fi
21702
21703 ac_ext=cpp
21704 ac_cpp='$CXXCPP $CPPFLAGS'
21705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21709 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21710 if test -z "$CXXCPP"; then
21711 if ${ac_cv_prog_CXXCPP+:} false; then :
21712 $as_echo_n "(cached) " >&6
21713 else
21714 # Double quotes because CXXCPP needs to be expanded
21715 for CXXCPP in "$CXX -E" "/lib/cpp"
21716 do
21717 ac_preproc_ok=false
21718 for ac_cxx_preproc_warn_flag in '' yes
21719 do
21720 # Use a header file that comes with gcc, so configuring glibc
21721 # with a fresh cross-compiler works.
21722 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21723 # <limits.h> exists even on freestanding compilers.
21724 # On the NeXT, cc -E runs the code through the compiler's parser,
21725 # not just through cpp. "Syntax error" is here to catch this case.
21726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21727 /* end confdefs.h. */
21728 #ifdef __STDC__
21729 # include <limits.h>
21730 #else
21731 # include <assert.h>
21732 #endif
21733 Syntax error
21734 _ACEOF
21735 if ac_fn_cxx_try_cpp "$LINENO"; then :
21736
21737 else
21738 # Broken: fails on valid input.
21739 continue
21740 fi
21741 rm -f conftest.err conftest.i conftest.$ac_ext
21742
21743 # OK, works on sane cases. Now check whether nonexistent headers
21744 # can be detected and how.
21745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21746 /* end confdefs.h. */
21747 #include <ac_nonexistent.h>
21748 _ACEOF
21749 if ac_fn_cxx_try_cpp "$LINENO"; then :
21750 # Broken: success on invalid input.
21751 continue
21752 else
21753 # Passes both tests.
21754 ac_preproc_ok=:
21755 break
21756 fi
21757 rm -f conftest.err conftest.i conftest.$ac_ext
21758
21759 done
21760 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21761 rm -f conftest.i conftest.err conftest.$ac_ext
21762 if $ac_preproc_ok; then :
21763 break
21764 fi
21765
21766 done
21767 ac_cv_prog_CXXCPP=$CXXCPP
21768
21769 fi
21770 CXXCPP=$ac_cv_prog_CXXCPP
21771 else
21772 ac_cv_prog_CXXCPP=$CXXCPP
21773 fi
21774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21775 $as_echo "$CXXCPP" >&6; }
21776 ac_preproc_ok=false
21777 for ac_cxx_preproc_warn_flag in '' yes
21778 do
21779 # Use a header file that comes with gcc, so configuring glibc
21780 # with a fresh cross-compiler works.
21781 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21782 # <limits.h> exists even on freestanding compilers.
21783 # On the NeXT, cc -E runs the code through the compiler's parser,
21784 # not just through cpp. "Syntax error" is here to catch this case.
21785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21786 /* end confdefs.h. */
21787 #ifdef __STDC__
21788 # include <limits.h>
21789 #else
21790 # include <assert.h>
21791 #endif
21792 Syntax error
21793 _ACEOF
21794 if ac_fn_cxx_try_cpp "$LINENO"; then :
21795
21796 else
21797 # Broken: fails on valid input.
21798 continue
21799 fi
21800 rm -f conftest.err conftest.i conftest.$ac_ext
21801
21802 # OK, works on sane cases. Now check whether nonexistent headers
21803 # can be detected and how.
21804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21805 /* end confdefs.h. */
21806 #include <ac_nonexistent.h>
21807 _ACEOF
21808 if ac_fn_cxx_try_cpp "$LINENO"; then :
21809 # Broken: success on invalid input.
21810 continue
21811 else
21812 # Passes both tests.
21813 ac_preproc_ok=:
21814 break
21815 fi
21816 rm -f conftest.err conftest.i conftest.$ac_ext
21817
21818 done
21819 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21820 rm -f conftest.i conftest.err conftest.$ac_ext
21821 if $ac_preproc_ok; then :
21822
21823 else
21824 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21825 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21826 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21827 See \`config.log' for more details" "$LINENO" 5; }
21828 fi
21829
21830 ac_ext=cpp
21831 ac_cpp='$CXXCPP $CPPFLAGS'
21832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21835
21836
21837 for ac_header in type_traits tr1/type_traits
21838 do :
21839 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21840 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21841 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21842 cat >>confdefs.h <<_ACEOF
21843 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21844 _ACEOF
21845
21846 fi
21847
21848 done
21849
21850
21851
21852
21853 if test -n "$GCC"; then
21854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21855 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21856 if ${wx_cv_cc_gcc_atomic_builtins+:} false; then :
21857 $as_echo_n "(cached) " >&6
21858 else
21859
21860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21861 /* end confdefs.h. */
21862
21863 int
21864 main ()
21865 {
21866
21867 unsigned int value=0;
21868 /* wxAtomicInc doesn't use return value here */
21869 __sync_fetch_and_add(&value, 2);
21870 __sync_sub_and_fetch(&value, 1);
21871 /* but wxAtomicDec does, so mimic that: */
21872 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21873
21874 ;
21875 return 0;
21876 }
21877 _ACEOF
21878 if ac_fn_cxx_try_link "$LINENO"; then :
21879 wx_cv_cc_gcc_atomic_builtins=yes
21880 else
21881 wx_cv_cc_gcc_atomic_builtins=no
21882 fi
21883 rm -f core conftest.err conftest.$ac_objext \
21884 conftest$ac_exeext conftest.$ac_ext
21885
21886 fi
21887
21888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21889 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21890 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21891 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21892
21893 fi
21894 fi
21895
21896
21897 ac_ext=c
21898 ac_cpp='$CPP $CPPFLAGS'
21899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21902
21903
21904
21905 SEARCH_INCLUDE="\
21906 /usr/local/include \
21907 /usr/local/X11/include \
21908 /usr/local/include/X11 \
21909 /usr/local/X11R7/include \
21910 /usr/local/X11R6/include \
21911 /usr/local/include/X11R7 \
21912 /usr/local/include/X11R6 \
21913 \
21914 /usr/Motif-2.1/include \
21915 /usr/Motif-1.2/include \
21916 /usr/include/Motif1.2 \
21917 \
21918 /usr/dt/include \
21919 /usr/openwin/include \
21920 \
21921 /usr/include/Xm \
21922 \
21923 /usr/X11R7/include \
21924 /usr/X11R6/include \
21925 /usr/X11R6.4/include \
21926 \
21927 /usr/include/X11R7 \
21928 /usr/include/X11R6 \
21929 \
21930 /usr/X11/include \
21931 /usr/include/X11 \
21932 \
21933 /usr/XFree86/include/X11 \
21934 /usr/pkg/include \
21935 \
21936 /usr/local/X1R5/include \
21937 /usr/local/include/X11R5 \
21938 /usr/X11R5/include \
21939 /usr/include/X11R5 \
21940 \
21941 /usr/local/X11R4/include \
21942 /usr/local/include/X11R4 \
21943 /usr/X11R4/include \
21944 /usr/include/X11R4 \
21945 \
21946 /usr/openwin/share/include"
21947
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21949 $as_echo_n "checking for libraries directories... " >&6; }
21950
21951 case "${host}" in
21952 *-*-irix6* )
21953 if ${wx_cv_std_libpath+:} false; then :
21954 $as_echo_n "(cached) " >&6
21955 else
21956
21957 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
21958 for e in a so sl dylib dll.a; do
21959 libc="$d/libc.$e"
21960 if test -f $libc; then
21961 save_LIBS="$LIBS"
21962 LIBS="$libc"
21963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21964 /* end confdefs.h. */
21965
21966 int main() { return 0; }
21967
21968 _ACEOF
21969 if ac_fn_c_try_link "$LINENO"; then :
21970 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
21971 fi
21972 rm -f core conftest.err conftest.$ac_objext \
21973 conftest$ac_exeext conftest.$ac_ext
21974 LIBS="$save_LIBS"
21975 if test "x$wx_cv_std_libpath" != "x"; then
21976 break 2
21977 fi
21978 fi
21979 done
21980 done
21981
21982
21983 fi
21984
21985 ;;
21986
21987 *-*-solaris2* )
21988 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21989 wx_cv_std_libpath="lib/64"
21990 fi
21991 ;;
21992
21993 *-*-linux* )
21994 if test "$ac_cv_sizeof_void_p" = 8; then
21995 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21996 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
21997 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21998 wx_cv_std_libpath="lib64"
21999 fi
22000 else
22001 case "${host}" in
22002 i*86-*-linux* )
22003 if test -d '/usr/lib/i386-linux-gnu'; then
22004 wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
22005 fi
22006 esac
22007 fi
22008
22009 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
22010 wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
22011 fi
22012 ;;
22013 esac
22014
22015 if test -z "$wx_cv_std_libpath"; then
22016 wx_cv_std_libpath="lib"
22017 fi
22018
22019 if test -z "$wx_cv_std_libfullpath"; then
22020 wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
22021 fi
22022
22023
22024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
22025 $as_echo "$wx_cv_std_libfullpath" >&6; }
22026
22027 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
22028
22029 if test "$build" != "$host" -a "$GCC" = yes; then
22030 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
22031 cross_root=`dirname $cross_root`
22032 cross_root=`dirname $cross_root`
22033
22034 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22035 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22036 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
22037
22038 if test -z "$PKG_CONFIG_PATH"; then
22039 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22040 export PKG_CONFIG_PATH
22041 fi
22042
22043 if test -z "$x_includes" -o "$x_includes" = NONE; then
22044
22045 ac_find_includes=
22046 for ac_dir in $SEARCH_INCLUDE /usr/include
22047 do
22048 if test -f "$ac_dir/X11/Intrinsic.h"; then
22049 ac_find_includes=$ac_dir
22050 break
22051 fi
22052 done
22053
22054 x_includes=$ac_find_includes
22055 fi
22056 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
22057
22058 ac_find_libraries=
22059 for ac_dir in $SEARCH_LIB
22060 do
22061 for ac_extension in a so sl dylib dll.a; do
22062 if test -f "$ac_dir/libXt.$ac_extension"; then
22063 ac_find_libraries=$ac_dir
22064 break 2
22065 fi
22066 done
22067 done
22068
22069 x_libraries=$ac_find_libraries
22070 fi
22071 fi
22072 fi
22073
22074
22075 cat >confcache <<\_ACEOF
22076 # This file is a shell script that caches the results of configure
22077 # tests run on this system so they can be shared between configure
22078 # scripts and configure runs, see configure's option --config-cache.
22079 # It is not useful on other systems. If it contains results you don't
22080 # want to keep, you may remove or edit it.
22081 #
22082 # config.status only pays attention to the cache file if you give it
22083 # the --recheck option to rerun configure.
22084 #
22085 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22086 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22087 # following values.
22088
22089 _ACEOF
22090
22091 # The following way of writing the cache mishandles newlines in values,
22092 # but we know of no workaround that is simple, portable, and efficient.
22093 # So, we kill variables containing newlines.
22094 # Ultrix sh set writes to stderr and can't be redirected directly,
22095 # and sets the high bit in the cache file unless we assign to the vars.
22096 (
22097 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22098 eval ac_val=\$$ac_var
22099 case $ac_val in #(
22100 *${as_nl}*)
22101 case $ac_var in #(
22102 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22103 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22104 esac
22105 case $ac_var in #(
22106 _ | IFS | as_nl) ;; #(
22107 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22108 *) { eval $ac_var=; unset $ac_var;} ;;
22109 esac ;;
22110 esac
22111 done
22112
22113 (set) 2>&1 |
22114 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22115 *${as_nl}ac_space=\ *)
22116 # `set' does not quote correctly, so add quotes: double-quote
22117 # substitution turns \\\\ into \\, and sed turns \\ into \.
22118 sed -n \
22119 "s/'/'\\\\''/g;
22120 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22121 ;; #(
22122 *)
22123 # `set' quotes correctly as required by POSIX, so do not add quotes.
22124 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22125 ;;
22126 esac |
22127 sort
22128 ) |
22129 sed '
22130 /^ac_cv_env_/b end
22131 t clear
22132 :clear
22133 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22134 t end
22135 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22136 :end' >>confcache
22137 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22138 if test -w "$cache_file"; then
22139 if test "x$cache_file" != "x/dev/null"; then
22140 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22141 $as_echo "$as_me: updating cache $cache_file" >&6;}
22142 if test ! -f "$cache_file" || test -h "$cache_file"; then
22143 cat confcache >"$cache_file"
22144 else
22145 case $cache_file in #(
22146 */* | ?:*)
22147 mv -f confcache "$cache_file"$$ &&
22148 mv -f "$cache_file"$$ "$cache_file" ;; #(
22149 *)
22150 mv -f confcache "$cache_file" ;;
22151 esac
22152 fi
22153 fi
22154 else
22155 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22156 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22157 fi
22158 fi
22159 rm -f confcache
22160
22161 have_cos=0
22162 have_floor=0
22163 for ac_func in cos
22164 do :
22165 ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
22166 if test "x$ac_cv_func_cos" = xyes; then :
22167 cat >>confdefs.h <<_ACEOF
22168 #define HAVE_COS 1
22169 _ACEOF
22170 have_cos=1
22171 fi
22172 done
22173
22174 for ac_func in floor
22175 do :
22176 ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22177 if test "x$ac_cv_func_floor" = xyes; then :
22178 cat >>confdefs.h <<_ACEOF
22179 #define HAVE_FLOOR 1
22180 _ACEOF
22181 have_floor=1
22182 fi
22183 done
22184
22185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22186 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22187 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22189 $as_echo "yes" >&6; }
22190 else
22191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22192 $as_echo "no" >&6; }
22193 LIBS="$LIBS -lm"
22194 # use different functions to avoid configure caching
22195 have_sin=0
22196 have_ceil=0
22197 for ac_func in sin
22198 do :
22199 ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
22200 if test "x$ac_cv_func_sin" = xyes; then :
22201 cat >>confdefs.h <<_ACEOF
22202 #define HAVE_SIN 1
22203 _ACEOF
22204 have_sin=1
22205 fi
22206 done
22207
22208 for ac_func in ceil
22209 do :
22210 ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22211 if test "x$ac_cv_func_ceil" = xyes; then :
22212 cat >>confdefs.h <<_ACEOF
22213 #define HAVE_CEIL 1
22214 _ACEOF
22215 have_ceil=1
22216 fi
22217 done
22218
22219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22220 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22221 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22223 $as_echo "yes" >&6; }
22224 else
22225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22226 $as_echo "no" >&6; }
22227 # not sure we should warn the user, crash, etc.
22228 fi
22229 fi
22230
22231 ac_ext=cpp
22232 ac_cpp='$CXXCPP $CPPFLAGS'
22233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22236
22237 if test "wxUSE_UNICODE" = "yes"; then
22238
22239 for wx_func in wcstoull
22240 do
22241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22242 $as_echo_n "checking for $wx_func... " >&6; }
22243 if eval \${wx_cv_func_$wx_func+:} false; then :
22244 $as_echo_n "(cached) " >&6
22245 else
22246
22247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22248 /* end confdefs.h. */
22249
22250
22251
22252 $ac_includes_default
22253
22254 int
22255 main ()
22256 {
22257
22258 #ifndef $wx_func
22259 &$wx_func;
22260 #endif
22261
22262
22263 ;
22264 return 0;
22265 }
22266
22267 _ACEOF
22268 if ac_fn_cxx_try_link "$LINENO"; then :
22269 eval wx_cv_func_$wx_func=yes
22270 else
22271 eval wx_cv_func_$wx_func=no
22272 fi
22273 rm -f core conftest.err conftest.$ac_objext \
22274 conftest$ac_exeext conftest.$ac_ext
22275
22276 fi
22277 eval ac_res=\$wx_cv_func_$wx_func
22278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22279 $as_echo "$ac_res" >&6; }
22280
22281 if eval test \$wx_cv_func_$wx_func = yes
22282 then
22283 cat >>confdefs.h <<_ACEOF
22284 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22285 _ACEOF
22286
22287
22288 else
22289 :
22290
22291 fi
22292 done
22293
22294 else
22295
22296 for wx_func in strtoull
22297 do
22298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22299 $as_echo_n "checking for $wx_func... " >&6; }
22300 if eval \${wx_cv_func_$wx_func+:} false; then :
22301 $as_echo_n "(cached) " >&6
22302 else
22303
22304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22305 /* end confdefs.h. */
22306
22307
22308
22309 $ac_includes_default
22310
22311 int
22312 main ()
22313 {
22314
22315 #ifndef $wx_func
22316 &$wx_func;
22317 #endif
22318
22319
22320 ;
22321 return 0;
22322 }
22323
22324 _ACEOF
22325 if ac_fn_cxx_try_link "$LINENO"; then :
22326 eval wx_cv_func_$wx_func=yes
22327 else
22328 eval wx_cv_func_$wx_func=no
22329 fi
22330 rm -f core conftest.err conftest.$ac_objext \
22331 conftest$ac_exeext conftest.$ac_ext
22332
22333 fi
22334 eval ac_res=\$wx_cv_func_$wx_func
22335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22336 $as_echo "$ac_res" >&6; }
22337
22338 if eval test \$wx_cv_func_$wx_func = yes
22339 then
22340 cat >>confdefs.h <<_ACEOF
22341 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22342 _ACEOF
22343
22344
22345 else
22346 :
22347
22348 fi
22349 done
22350
22351 fi
22352 ac_ext=c
22353 ac_cpp='$CPP $CPPFLAGS'
22354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22357
22358
22359
22360
22361 if test "$wxUSE_REGEX" != "no"; then
22362 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22363
22364
22365 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22367 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22368 wxUSE_REGEX=builtin
22369 fi
22370
22371 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22372 ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
22373 "
22374 if test "x$ac_cv_header_regex_h" = xyes; then :
22375 for ac_func in regcomp re_search
22376 do :
22377 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22378 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22379 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22380 cat >>confdefs.h <<_ACEOF
22381 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22382 _ACEOF
22383
22384 fi
22385 done
22386
22387 fi
22388
22389
22390
22391 if test "x$ac_cv_func_regcomp" != "xyes"; then
22392 if test "$wxUSE_REGEX" = "sys" ; then
22393 as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22394 else
22395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22396 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22397 wxUSE_REGEX=builtin
22398 fi
22399 else
22400 wxUSE_REGEX=sys
22401 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22402
22403 fi
22404 fi
22405 fi
22406
22407
22408 ZLIB_LINK=
22409 if test "$wxUSE_ZLIB" != "no" ; then
22410 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22411
22412
22413 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22414 if test "$USE_DARWIN" = 1; then
22415 system_zlib_h_ok="yes"
22416 else
22417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22418 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22419 if ${ac_cv_header_zlib_h+:} false; then :
22420 $as_echo_n "(cached) " >&6
22421 else
22422 if test "$cross_compiling" = yes; then :
22423 unset ac_cv_header_zlib_h
22424
22425 else
22426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22427 /* end confdefs.h. */
22428
22429 #include <zlib.h>
22430 #include <stdio.h>
22431
22432 int main()
22433 {
22434 FILE *f=fopen("conftestval", "w");
22435 if (!f) exit(1);
22436 fprintf(f, "%s",
22437 ZLIB_VERSION[0] == '1' &&
22438 (ZLIB_VERSION[2] > '1' ||
22439 (ZLIB_VERSION[2] == '1' &&
22440 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22441 exit(0);
22442 }
22443
22444 _ACEOF
22445 if ac_fn_c_try_run "$LINENO"; then :
22446 ac_cv_header_zlib_h=`cat conftestval`
22447 else
22448 ac_cv_header_zlib_h=no
22449 fi
22450 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22451 conftest.$ac_objext conftest.beam conftest.$ac_ext
22452 fi
22453
22454
22455 fi
22456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22457 $as_echo "$ac_cv_header_zlib_h" >&6; }
22458 ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22459 "
22460 if test "x$ac_cv_header_zlib_h" = xyes; then :
22461
22462 fi
22463
22464
22465
22466 system_zlib_h_ok=$ac_cv_header_zlib_h
22467 fi
22468
22469 if test "$system_zlib_h_ok" = "yes"; then
22470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22471 $as_echo_n "checking for deflate in -lz... " >&6; }
22472 if ${ac_cv_lib_z_deflate+:} false; then :
22473 $as_echo_n "(cached) " >&6
22474 else
22475 ac_check_lib_save_LIBS=$LIBS
22476 LIBS="-lz $LIBS"
22477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22478 /* end confdefs.h. */
22479
22480 /* Override any GCC internal prototype to avoid an error.
22481 Use char because int might match the return type of a GCC
22482 builtin and then its argument prototype would still apply. */
22483 #ifdef __cplusplus
22484 extern "C"
22485 #endif
22486 char deflate ();
22487 int
22488 main ()
22489 {
22490 return deflate ();
22491 ;
22492 return 0;
22493 }
22494 _ACEOF
22495 if ac_fn_c_try_link "$LINENO"; then :
22496 ac_cv_lib_z_deflate=yes
22497 else
22498 ac_cv_lib_z_deflate=no
22499 fi
22500 rm -f core conftest.err conftest.$ac_objext \
22501 conftest$ac_exeext conftest.$ac_ext
22502 LIBS=$ac_check_lib_save_LIBS
22503 fi
22504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22505 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22506 if test "x$ac_cv_lib_z_deflate" = xyes; then :
22507 ZLIB_LINK=" -lz"
22508 fi
22509
22510 fi
22511
22512 if test "x$ZLIB_LINK" = "x" ; then
22513 if test "$wxUSE_ZLIB" = "sys" ; then
22514 as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22515 else
22516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22517 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22518 wxUSE_ZLIB=builtin
22519 fi
22520 else
22521 wxUSE_ZLIB=sys
22522 fi
22523 fi
22524 fi
22525
22526
22527 PNG_LINK=
22528 if test "$wxUSE_LIBPNG" != "no" ; then
22529 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22530
22531
22532 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22534 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22535 wxUSE_LIBPNG=builtin
22536 fi
22537
22538 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22540 $as_echo_n "checking for png.h > 0.90... " >&6; }
22541 if ${ac_cv_header_png_h+:} false; then :
22542 $as_echo_n "(cached) " >&6
22543 else
22544 if test "$cross_compiling" = yes; then :
22545 unset ac_cv_header_png_h
22546
22547 else
22548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22549 /* end confdefs.h. */
22550
22551 #include <png.h>
22552 #include <stdio.h>
22553
22554 int main()
22555 {
22556 FILE *f=fopen("conftestval", "w");
22557 if (!f) exit(1);
22558 fprintf(f, "%s",
22559 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22560 exit(0);
22561 }
22562
22563 _ACEOF
22564 if ac_fn_c_try_run "$LINENO"; then :
22565 ac_cv_header_png_h=`cat conftestval`
22566 else
22567 ac_cv_header_png_h=no
22568 fi
22569 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22570 conftest.$ac_objext conftest.beam conftest.$ac_ext
22571 fi
22572
22573
22574 fi
22575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22576 $as_echo "$ac_cv_header_png_h" >&6; }
22577 ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
22578 "
22579 if test "x$ac_cv_header_png_h" = xyes; then :
22580
22581 fi
22582
22583
22584
22585 if test "$ac_cv_header_png_h" = "yes"; then
22586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22587 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22588 if ${ac_cv_lib_png_png_sig_cmp+:} false; then :
22589 $as_echo_n "(cached) " >&6
22590 else
22591 ac_check_lib_save_LIBS=$LIBS
22592 LIBS="-lpng -lz -lm $LIBS"
22593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22594 /* end confdefs.h. */
22595
22596 /* Override any GCC internal prototype to avoid an error.
22597 Use char because int might match the return type of a GCC
22598 builtin and then its argument prototype would still apply. */
22599 #ifdef __cplusplus
22600 extern "C"
22601 #endif
22602 char png_sig_cmp ();
22603 int
22604 main ()
22605 {
22606 return png_sig_cmp ();
22607 ;
22608 return 0;
22609 }
22610 _ACEOF
22611 if ac_fn_c_try_link "$LINENO"; then :
22612 ac_cv_lib_png_png_sig_cmp=yes
22613 else
22614 ac_cv_lib_png_png_sig_cmp=no
22615 fi
22616 rm -f core conftest.err conftest.$ac_objext \
22617 conftest$ac_exeext conftest.$ac_ext
22618 LIBS=$ac_check_lib_save_LIBS
22619 fi
22620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22621 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22622 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes; then :
22623 PNG_LINK=" -lpng -lz"
22624 fi
22625
22626 fi
22627
22628 if test "x$PNG_LINK" = "x" ; then
22629 if test "$wxUSE_LIBPNG" = "sys" ; then
22630 as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22631 else
22632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22633 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22634 wxUSE_LIBPNG=builtin
22635 fi
22636 else
22637 wxUSE_LIBPNG=sys
22638 fi
22639 fi
22640 fi
22641
22642
22643 JPEG_LINK=
22644 if test "$wxUSE_LIBJPEG" != "no" ; then
22645 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22646
22647
22648 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22650 $as_echo_n "checking for jpeglib.h... " >&6; }
22651 if ${ac_cv_header_jpeglib_h+:} false; then :
22652 $as_echo_n "(cached) " >&6
22653 else
22654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22655 /* end confdefs.h. */
22656
22657 #undef HAVE_STDLIB_H
22658 #include <stdio.h>
22659 #include <jpeglib.h>
22660
22661 int
22662 main ()
22663 {
22664
22665
22666 ;
22667 return 0;
22668 }
22669 _ACEOF
22670 if ac_fn_c_try_compile "$LINENO"; then :
22671 ac_cv_header_jpeglib_h=yes
22672 else
22673 ac_cv_header_jpeglib_h=no
22674
22675 fi
22676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22677
22678 fi
22679
22680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22681 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22682
22683 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22685 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22686 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false; then :
22687 $as_echo_n "(cached) " >&6
22688 else
22689 ac_check_lib_save_LIBS=$LIBS
22690 LIBS="-ljpeg $LIBS"
22691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22692 /* end confdefs.h. */
22693
22694 /* Override any GCC internal prototype to avoid an error.
22695 Use char because int might match the return type of a GCC
22696 builtin and then its argument prototype would still apply. */
22697 #ifdef __cplusplus
22698 extern "C"
22699 #endif
22700 char jpeg_read_header ();
22701 int
22702 main ()
22703 {
22704 return jpeg_read_header ();
22705 ;
22706 return 0;
22707 }
22708 _ACEOF
22709 if ac_fn_c_try_link "$LINENO"; then :
22710 ac_cv_lib_jpeg_jpeg_read_header=yes
22711 else
22712 ac_cv_lib_jpeg_jpeg_read_header=no
22713 fi
22714 rm -f core conftest.err conftest.$ac_objext \
22715 conftest$ac_exeext conftest.$ac_ext
22716 LIBS=$ac_check_lib_save_LIBS
22717 fi
22718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22719 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22720 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes; then :
22721 JPEG_LINK=" -ljpeg"
22722 fi
22723
22724 fi
22725
22726 if test "x$JPEG_LINK" = "x" ; then
22727 if test "$wxUSE_LIBJPEG" = "sys" ; then
22728 as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22729 else
22730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22731 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22732 wxUSE_LIBJPEG=builtin
22733 fi
22734 else
22735 wxUSE_LIBJPEG=sys
22736
22737 if test "$wxUSE_MSW" = 1; then
22738 ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22739 "
22740 if test "x$ac_cv_type_boolean" = xyes; then :
22741
22742 cat >>confdefs.h <<_ACEOF
22743 #define HAVE_BOOLEAN 1
22744 _ACEOF
22745
22746
22747 # The cast to long int works around a bug in the HP C Compiler
22748 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22749 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22750 # This bug is HP SR number 8606223364.
22751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22752 $as_echo_n "checking size of boolean... " >&6; }
22753 if ${ac_cv_sizeof_boolean+:} false; then :
22754 $as_echo_n "(cached) " >&6
22755 else
22756 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22757 #undef HAVE_BOOLEAN
22758 #include <stdio.h>
22759 #include <jpeglib.h>
22760
22761 "; then :
22762
22763 else
22764 if test "$ac_cv_type_boolean" = yes; then
22765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22767 as_fn_error 77 "cannot compute sizeof (boolean)
22768 See \`config.log' for more details" "$LINENO" 5; }
22769 else
22770 ac_cv_sizeof_boolean=0
22771 fi
22772 fi
22773
22774 fi
22775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22776 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22777
22778
22779
22780 cat >>confdefs.h <<_ACEOF
22781 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22782 _ACEOF
22783
22784
22785 cat >>confdefs.h <<_ACEOF
22786 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22787 _ACEOF
22788
22789
22790 fi
22791
22792 fi
22793 fi
22794 fi
22795 fi
22796
22797
22798 TIFF_LINK=
22799 TIFF_PREREQ_LINKS=-lm
22800 if test "$wxUSE_LIBTIFF" != "no" ; then
22801 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22802
22803
22804 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22805 if test "$wxUSE_LIBJPEG" = "sys"; then
22806 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22807 fi
22808 if test "$wxUSE_ZLIB" = "sys"; then
22809 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22810 fi
22811 ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22812
22813 "
22814 if test "x$ac_cv_header_tiffio_h" = xyes; then :
22815
22816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22817 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22818 if ${ac_cv_lib_tiff_TIFFError+:} false; then :
22819 $as_echo_n "(cached) " >&6
22820 else
22821 ac_check_lib_save_LIBS=$LIBS
22822 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22824 /* end confdefs.h. */
22825
22826 /* Override any GCC internal prototype to avoid an error.
22827 Use char because int might match the return type of a GCC
22828 builtin and then its argument prototype would still apply. */
22829 #ifdef __cplusplus
22830 extern "C"
22831 #endif
22832 char TIFFError ();
22833 int
22834 main ()
22835 {
22836 return TIFFError ();
22837 ;
22838 return 0;
22839 }
22840 _ACEOF
22841 if ac_fn_c_try_link "$LINENO"; then :
22842 ac_cv_lib_tiff_TIFFError=yes
22843 else
22844 ac_cv_lib_tiff_TIFFError=no
22845 fi
22846 rm -f core conftest.err conftest.$ac_objext \
22847 conftest$ac_exeext conftest.$ac_ext
22848 LIBS=$ac_check_lib_save_LIBS
22849 fi
22850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22851 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22852 if test "x$ac_cv_lib_tiff_TIFFError" = xyes; then :
22853 TIFF_LINK=" -ltiff"
22854 fi
22855
22856
22857 fi
22858
22859
22860
22861 if test "x$TIFF_LINK" = "x" ; then
22862 if test "$wxUSE_LIBTIFF" = "sys" ; then
22863 as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22864 else
22865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22866 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22867 wxUSE_LIBTIFF=builtin
22868 fi
22869 else
22870 wxUSE_LIBTIFF=sys
22871 fi
22872 fi
22873 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22874 if test "$wxUSE_LIBJPEG" = "no"; then
22875 ac_configure_args="$ac_configure_args --disable-jpeg"
22876 fi
22877
22878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
22879 $as_echo_n "checking for lzma_code in -llzma... " >&6; }
22880 if ${ac_cv_lib_lzma_lzma_code+:} false; then :
22881 $as_echo_n "(cached) " >&6
22882 else
22883 ac_check_lib_save_LIBS=$LIBS
22884 LIBS="-llzma $LIBS"
22885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22886 /* end confdefs.h. */
22887
22888 /* Override any GCC internal prototype to avoid an error.
22889 Use char because int might match the return type of a GCC
22890 builtin and then its argument prototype would still apply. */
22891 #ifdef __cplusplus
22892 extern "C"
22893 #endif
22894 char lzma_code ();
22895 int
22896 main ()
22897 {
22898 return lzma_code ();
22899 ;
22900 return 0;
22901 }
22902 _ACEOF
22903 if ac_fn_c_try_link "$LINENO"; then :
22904 ac_cv_lib_lzma_lzma_code=yes
22905 else
22906 ac_cv_lib_lzma_lzma_code=no
22907 fi
22908 rm -f core conftest.err conftest.$ac_objext \
22909 conftest$ac_exeext conftest.$ac_ext
22910 LIBS=$ac_check_lib_save_LIBS
22911 fi
22912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
22913 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
22914 if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then :
22915 LIBS="$LIBS -llzma"
22916 fi
22917
22918
22919
22920
22921 subdirs="$subdirs src/tiff"
22922
22923 fi
22924 fi
22925
22926
22927 if test "$wxUSE_EXPAT" != "no"; then
22928 wxUSE_XML=yes
22929 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22930
22931 $as_echo "#define wxUSE_XML 1" >>confdefs.h
22932
22933
22934 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22935 ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
22936 "
22937 if test "x$ac_cv_header_expat_h" = xyes; then :
22938 found_expat_h=1
22939 fi
22940
22941
22942 if test "x$found_expat_h" = "x1"; then
22943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22944 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22945 if ${wx_cv_expat_is_not_broken+:} false; then :
22946 $as_echo_n "(cached) " >&6
22947 else
22948
22949 ac_ext=cpp
22950 ac_cpp='$CXXCPP $CPPFLAGS'
22951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22954
22955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22956 /* end confdefs.h. */
22957 #include <expat.h>
22958 int
22959 main ()
22960 {
22961
22962 ;
22963 return 0;
22964 }
22965 _ACEOF
22966 if ac_fn_cxx_try_compile "$LINENO"; then :
22967 wx_cv_expat_is_not_broken=yes
22968 else
22969 wx_cv_expat_is_not_broken=no
22970
22971 fi
22972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22973 ac_ext=c
22974 ac_cpp='$CPP $CPPFLAGS'
22975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22978
22979
22980
22981 fi
22982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
22983 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
22984 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
22986 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
22987 if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then :
22988 $as_echo_n "(cached) " >&6
22989 else
22990 ac_check_lib_save_LIBS=$LIBS
22991 LIBS="-lexpat $LIBS"
22992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22993 /* end confdefs.h. */
22994
22995 /* Override any GCC internal prototype to avoid an error.
22996 Use char because int might match the return type of a GCC
22997 builtin and then its argument prototype would still apply. */
22998 #ifdef __cplusplus
22999 extern "C"
23000 #endif
23001 char XML_ParserCreate ();
23002 int
23003 main ()
23004 {
23005 return XML_ParserCreate ();
23006 ;
23007 return 0;
23008 }
23009 _ACEOF
23010 if ac_fn_c_try_link "$LINENO"; then :
23011 ac_cv_lib_expat_XML_ParserCreate=yes
23012 else
23013 ac_cv_lib_expat_XML_ParserCreate=no
23014 fi
23015 rm -f core conftest.err conftest.$ac_objext \
23016 conftest$ac_exeext conftest.$ac_ext
23017 LIBS=$ac_check_lib_save_LIBS
23018 fi
23019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23020 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
23021 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then :
23022 EXPAT_LINK=" -lexpat"
23023 fi
23024
23025 fi
23026 fi
23027 if test "x$EXPAT_LINK" = "x" ; then
23028 if test "$wxUSE_EXPAT" = "sys" ; then
23029 as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
23030 else
23031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
23032 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23033 wxUSE_EXPAT=builtin
23034 fi
23035 else
23036 wxUSE_EXPAT=sys
23037 fi
23038 fi
23039 if test "$wxUSE_EXPAT" = "builtin" ; then
23040 subdirs="$subdirs src/expat"
23041
23042 fi
23043 fi
23044
23045
23046
23047 if test "$wxUSE_LIBMSPACK" != "no"; then
23048 ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
23049 "
23050 if test "x$ac_cv_header_mspack_h" = xyes; then :
23051 found_mspack_h=1
23052 fi
23053
23054
23055 if test "x$found_mspack_h" = "x1"; then
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
23057 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
23058 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false; then :
23059 $as_echo_n "(cached) " >&6
23060 else
23061 ac_check_lib_save_LIBS=$LIBS
23062 LIBS="-lmspack $LIBS"
23063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23064 /* end confdefs.h. */
23065
23066 /* Override any GCC internal prototype to avoid an error.
23067 Use char because int might match the return type of a GCC
23068 builtin and then its argument prototype would still apply. */
23069 #ifdef __cplusplus
23070 extern "C"
23071 #endif
23072 char mspack_create_chm_decompressor ();
23073 int
23074 main ()
23075 {
23076 return mspack_create_chm_decompressor ();
23077 ;
23078 return 0;
23079 }
23080 _ACEOF
23081 if ac_fn_c_try_link "$LINENO"; then :
23082 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
23083 else
23084 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
23085 fi
23086 rm -f core conftest.err conftest.$ac_objext \
23087 conftest$ac_exeext conftest.$ac_ext
23088 LIBS=$ac_check_lib_save_LIBS
23089 fi
23090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23091 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
23092 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes; then :
23093 MSPACK_LINK=" -lmspack"
23094 fi
23095
23096 fi
23097 if test "x$MSPACK_LINK" = "x" ; then
23098 wxUSE_LIBMSPACK=no
23099 fi
23100 fi
23101
23102 if test "$wxUSE_LIBMSPACK" != "no"; then
23103 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23104
23105 fi
23106
23107
23108
23109 AFMINSTALL=
23110 WIN32INSTALL=
23111
23112 TOOLKIT=
23113 TOOLKIT_INCLUDE=
23114 WIDGET_SET=
23115
23116 if test "$USE_WIN32" = 1 ; then
23117 for ac_header in w32api.h
23118 do :
23119 ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23120 "
23121 if test "x$ac_cv_header_w32api_h" = xyes; then :
23122 cat >>confdefs.h <<_ACEOF
23123 #define HAVE_W32API_H 1
23124 _ACEOF
23125
23126 fi
23127
23128 done
23129
23130 ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
23131 "
23132 if test "x$ac_cv_header_windows_h" = xyes; then :
23133
23134 else
23135
23136 as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23137
23138 fi
23139
23140
23141
23142 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23143 case "${host}" in
23144 x86_64-*-mingw32* )
23145 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
23146 ;;
23147 esac
23148 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23149 LIBS="$LIBS -loleacc"
23150 fi
23151
23152 case "${host}" in
23153 *-*-cygwin* )
23154 LIBS="$LIBS -lkernel32 -luser32"
23155 esac
23156
23157 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23158 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
23159
23160 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23161
23162 WIN32INSTALL=win32install
23163 fi
23164
23165 if test "$wxUSE_GUI" = "yes"; then
23166 USE_GUI=1
23167
23168 GUI_TK_LIBRARY=
23169
23170 WXGTK1=
23171 WXGTK127=
23172 WXGTK2=
23173 WXGTK3=
23174 WXGPE=
23175
23176 if test "$wxUSE_OLD_COCOA" = 1 ; then
23177 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23179 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23180 wxUSE_PRINTING_ARCHITECTURE=no
23181 fi
23182 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23184 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23185 wxUSE_DRAG_AND_DROP=no
23186 fi
23187 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23189 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23190 wxUSE_DRAGIMAGE=no
23191 fi
23192 fi
23193
23194 if test "$wxUSE_MSW" = 1 ; then
23195 TOOLKIT=MSW
23196 GUIDIST=MSW_DIST
23197
23198 case "${host}" in
23199 *-*-mingw32* )
23200 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23201 esac
23202 fi
23203
23204 if test "$wxUSE_GTK" = 1; then
23205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23206 $as_echo_n "checking for GTK+ version... " >&6; }
23207
23208 gtk_version_cached=1
23209 if ${wx_cv_lib_gtk+:} false; then :
23210 $as_echo_n "(cached) " >&6
23211 else
23212
23213 gtk_version_cached=0
23214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23215 $as_echo "" >&6; }
23216
23217 GTK_MODULES=
23218 if test "$wxUSE_THREADS" = "yes"; then
23219 GTK_MODULES=gthread
23220 fi
23221
23222 if test -z "$wxGTK_VERSION"; then
23223 wxGTK_VERSION=any
23224 fi
23225
23226 wx_cv_lib_gtk=
23227 if test "x$wxGTK_VERSION" != "x1"
23228 then
23229 case "${host}" in
23230 *-*-solaris2* )
23231 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23232 enable_gtktest=no
23233 fi
23234 esac
23235
23236 if test "$wxGTK_VERSION" != 3; then
23237 # Check whether --enable-gtktest was given.
23238 if test "${enable_gtktest+set}" = set; then :
23239 enableval=$enable_gtktest;
23240 else
23241 enable_gtktest=yes
23242 fi
23243
23244
23245 pkg_config_args=gtk+-2.0
23246 for module in . $GTK_MODULES
23247 do
23248 case "$module" in
23249 gthread)
23250 pkg_config_args="$pkg_config_args gthread-2.0"
23251 ;;
23252 esac
23253 done
23254
23255 no_gtk=""
23256
23257 # Extract the first word of "pkg-config", so it can be a program name with args.
23258 set dummy pkg-config; ac_word=$2
23259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23260 $as_echo_n "checking for $ac_word... " >&6; }
23261 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23262 $as_echo_n "(cached) " >&6
23263 else
23264 case $PKG_CONFIG in
23265 [\\/]* | ?:[\\/]*)
23266 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23267 ;;
23268 *)
23269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23270 for as_dir in $PATH
23271 do
23272 IFS=$as_save_IFS
23273 test -z "$as_dir" && as_dir=.
23274 for ac_exec_ext in '' $ac_executable_extensions; do
23275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23276 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23278 break 2
23279 fi
23280 done
23281 done
23282 IFS=$as_save_IFS
23283
23284 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23285 ;;
23286 esac
23287 fi
23288 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23289 if test -n "$PKG_CONFIG"; then
23290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23291 $as_echo "$PKG_CONFIG" >&6; }
23292 else
23293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23294 $as_echo "no" >&6; }
23295 fi
23296
23297
23298
23299 if test x$PKG_CONFIG != xno ; then
23300 if pkg-config --atleast-pkgconfig-version 0.7 ; then
23301 :
23302 else
23303 echo "*** pkg-config too old; version 0.7 or better required."
23304 no_gtk=yes
23305 PKG_CONFIG=no
23306 fi
23307 else
23308 no_gtk=yes
23309 fi
23310
23311 min_gtk_version=2.6.0
23312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23313 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23314
23315 if test x$PKG_CONFIG != xno ; then
23316 ## don't try to run the test against uninstalled libtool libs
23317 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23318 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23319 enable_gtktest=no
23320 fi
23321
23322 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23323 :
23324 else
23325 no_gtk=yes
23326 fi
23327 fi
23328
23329 if test x"$no_gtk" = x ; then
23330 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23331 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23332 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23333 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23334 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23335 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23336 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23337 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23338 if test "x$enable_gtktest" = "xyes" ; then
23339 ac_save_CFLAGS="$CFLAGS"
23340 ac_save_LIBS="$LIBS"
23341 CFLAGS="$CFLAGS $GTK_CFLAGS"
23342 LIBS="$GTK_LIBS $LIBS"
23343 rm -f conf.gtktest
23344 if test "$cross_compiling" = yes; then :
23345 echo $ac_n "cross compiling; assumed OK... $ac_c"
23346 else
23347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23348 /* end confdefs.h. */
23349
23350 #include <gtk/gtk.h>
23351 #include <stdio.h>
23352 #include <stdlib.h>
23353
23354 int
23355 main ()
23356 {
23357 int major, minor, micro;
23358 char *tmp_version;
23359
23360 system ("touch conf.gtktest");
23361
23362 /* HP/UX 9 (%@#!) writes to sscanf strings */
23363 tmp_version = g_strdup("$min_gtk_version");
23364 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23365 printf("%s, bad version string\n", "$min_gtk_version");
23366 exit(1);
23367 }
23368
23369 if ((gtk_major_version != $gtk_config_major_version) ||
23370 (gtk_minor_version != $gtk_config_minor_version) ||
23371 (gtk_micro_version != $gtk_config_micro_version))
23372 {
23373 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23374 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23375 gtk_major_version, gtk_minor_version, gtk_micro_version);
23376 printf ("*** was found! If pkg-config was correct, then it is best\n");
23377 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23378 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23379 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23380 printf("*** required on your system.\n");
23381 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23382 printf("*** to point to the correct configuration files\n");
23383 }
23384 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23385 (gtk_minor_version != GTK_MINOR_VERSION) ||
23386 (gtk_micro_version != GTK_MICRO_VERSION))
23387 {
23388 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23389 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23390 printf("*** library (version %d.%d.%d)\n",
23391 gtk_major_version, gtk_minor_version, gtk_micro_version);
23392 }
23393 else
23394 {
23395 if ((gtk_major_version > major) ||
23396 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23397 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23398 {
23399 return 0;
23400 }
23401 else
23402 {
23403 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23404 gtk_major_version, gtk_minor_version, gtk_micro_version);
23405 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23406 major, minor, micro);
23407 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23408 printf("***\n");
23409 printf("*** If you have already installed a sufficiently new version, this error\n");
23410 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23411 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23412 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23413 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23414 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23415 printf("*** so that the correct libraries are found at run-time))\n");
23416 }
23417 }
23418 return 1;
23419 }
23420
23421 _ACEOF
23422 if ac_fn_c_try_run "$LINENO"; then :
23423
23424 else
23425 no_gtk=yes
23426 fi
23427 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23428 conftest.$ac_objext conftest.beam conftest.$ac_ext
23429 fi
23430
23431 CFLAGS="$ac_save_CFLAGS"
23432 LIBS="$ac_save_LIBS"
23433 fi
23434 fi
23435 if test "x$no_gtk" = x ; then
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23437 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23438 wx_cv_lib_gtk=2.0
23439 else
23440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23441 $as_echo "no" >&6; }
23442 if test "$PKG_CONFIG" = "no" ; then
23443 echo "*** A new enough version of pkg-config was not found."
23444 echo "*** See http://pkgconfig.sourceforge.net"
23445 else
23446 if test -f conf.gtktest ; then
23447 :
23448 else
23449 echo "*** Could not run GTK+ test program, checking why..."
23450 ac_save_CFLAGS="$CFLAGS"
23451 ac_save_LIBS="$LIBS"
23452 CFLAGS="$CFLAGS $GTK_CFLAGS"
23453 LIBS="$LIBS $GTK_LIBS"
23454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23455 /* end confdefs.h. */
23456
23457 #include <gtk/gtk.h>
23458 #include <stdio.h>
23459
23460 int
23461 main ()
23462 {
23463 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23464 ;
23465 return 0;
23466 }
23467 _ACEOF
23468 if ac_fn_c_try_link "$LINENO"; then :
23469 echo "*** The test program compiled, but did not run. This usually means"
23470 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23471 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23472 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23473 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23474 echo "*** is required on your system"
23475 echo "***"
23476 echo "*** If you have an old version installed, it is best to remove it, although"
23477 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23478 else
23479 echo "*** The test program failed to compile or link. See the file config.log for the"
23480 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23481 fi
23482 rm -f core conftest.err conftest.$ac_objext \
23483 conftest$ac_exeext conftest.$ac_ext
23484 CFLAGS="$ac_save_CFLAGS"
23485 LIBS="$ac_save_LIBS"
23486 fi
23487 fi
23488 GTK_CFLAGS=""
23489 GTK_LIBS=""
23490 :
23491 fi
23492
23493
23494 rm -f conf.gtktest
23495
23496 fi
23497 if test -z "$wx_cv_lib_gtk"; then
23498 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then
23499 # Check whether --enable-gtktest was given.
23500 if test "${enable_gtktest+set}" = set; then :
23501 enableval=$enable_gtktest;
23502 else
23503 enable_gtktest=yes
23504 fi
23505
23506
23507 pkg_config_args=gtk+-3.0
23508 for module in . $GTK_MODULES
23509 do
23510 case "$module" in
23511 gthread)
23512 pkg_config_args="$pkg_config_args gthread-2.0"
23513 ;;
23514 esac
23515 done
23516
23517 no_gtk=""
23518
23519 # Extract the first word of "pkg-config", so it can be a program name with args.
23520 set dummy pkg-config; ac_word=$2
23521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23522 $as_echo_n "checking for $ac_word... " >&6; }
23523 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23524 $as_echo_n "(cached) " >&6
23525 else
23526 case $PKG_CONFIG in
23527 [\\/]* | ?:[\\/]*)
23528 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23529 ;;
23530 *)
23531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23532 for as_dir in $PATH
23533 do
23534 IFS=$as_save_IFS
23535 test -z "$as_dir" && as_dir=.
23536 for ac_exec_ext in '' $ac_executable_extensions; do
23537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23538 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23540 break 2
23541 fi
23542 done
23543 done
23544 IFS=$as_save_IFS
23545
23546 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23547 ;;
23548 esac
23549 fi
23550 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23551 if test -n "$PKG_CONFIG"; then
23552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23553 $as_echo "$PKG_CONFIG" >&6; }
23554 else
23555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23556 $as_echo "no" >&6; }
23557 fi
23558
23559
23560
23561 if test x$PKG_CONFIG != xno ; then
23562 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23563 :
23564 else
23565 echo "*** pkg-config too old; version 0.7 or better required."
23566 no_gtk=yes
23567 PKG_CONFIG=no
23568 fi
23569 else
23570 no_gtk=yes
23571 fi
23572
23573 min_gtk_version=3.0.0
23574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23575 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23576
23577 if test x$PKG_CONFIG != xno ; then
23578 ## don't try to run the test against uninstalled libtool libs
23579 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23580 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23581 enable_gtktest=no
23582 fi
23583
23584 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23585 :
23586 else
23587 no_gtk=yes
23588 fi
23589 fi
23590
23591 if test x"$no_gtk" = x ; then
23592 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23593 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23594 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23595 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23596 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23597 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23598 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23599 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23600 if test "x$enable_gtktest" = "xyes" ; then
23601 ac_save_CFLAGS="$CFLAGS"
23602 ac_save_LIBS="$LIBS"
23603 CFLAGS="$CFLAGS $GTK_CFLAGS"
23604 LIBS="$GTK_LIBS $LIBS"
23605 rm -f conf.gtktest
23606 if test "$cross_compiling" = yes; then :
23607 echo $ac_n "cross compiling; assumed OK... $ac_c"
23608 else
23609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23610 /* end confdefs.h. */
23611
23612 #include <gtk/gtk.h>
23613 #include <stdio.h>
23614 #include <stdlib.h>
23615
23616 int
23617 main ()
23618 {
23619 int major, minor, micro;
23620 char *tmp_version;
23621
23622 fclose (fopen ("conf.gtktest", "w"));
23623
23624 /* HP/UX 9 (%@#!) writes to sscanf strings */
23625 tmp_version = g_strdup("$min_gtk_version");
23626 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23627 printf("%s, bad version string\n", "$min_gtk_version");
23628 exit(1);
23629 }
23630
23631 if ((gtk_major_version != $gtk_config_major_version) ||
23632 (gtk_minor_version != $gtk_config_minor_version) ||
23633 (gtk_micro_version != $gtk_config_micro_version))
23634 {
23635 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23636 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23637 gtk_major_version, gtk_minor_version, gtk_micro_version);
23638 printf ("*** was found! If pkg-config was correct, then it is best\n");
23639 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23640 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23641 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23642 printf("*** required on your system.\n");
23643 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23644 printf("*** to point to the correct configuration files\n");
23645 }
23646 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23647 (gtk_minor_version != GTK_MINOR_VERSION) ||
23648 (gtk_micro_version != GTK_MICRO_VERSION))
23649 {
23650 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23651 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23652 printf("*** library (version %d.%d.%d)\n",
23653 gtk_major_version, gtk_minor_version, gtk_micro_version);
23654 }
23655 else
23656 {
23657 if ((gtk_major_version > major) ||
23658 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23659 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23660 {
23661 return 0;
23662 }
23663 else
23664 {
23665 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23666 gtk_major_version, gtk_minor_version, gtk_micro_version);
23667 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23668 major, minor, micro);
23669 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23670 printf("***\n");
23671 printf("*** If you have already installed a sufficiently new version, this error\n");
23672 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23673 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23674 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23675 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23676 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23677 printf("*** so that the correct libraries are found at run-time))\n");
23678 }
23679 }
23680 return 1;
23681 }
23682
23683 _ACEOF
23684 if ac_fn_c_try_run "$LINENO"; then :
23685
23686 else
23687 no_gtk=yes
23688 fi
23689 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23690 conftest.$ac_objext conftest.beam conftest.$ac_ext
23691 fi
23692
23693 CFLAGS="$ac_save_CFLAGS"
23694 LIBS="$ac_save_LIBS"
23695 fi
23696 fi
23697 if test "x$no_gtk" = x ; then
23698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23699 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23700 wx_cv_lib_gtk=3
23701 else
23702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23703 $as_echo "no" >&6; }
23704 if test "$PKG_CONFIG" = "no" ; then
23705 echo "*** A new enough version of pkg-config was not found."
23706 echo "*** See http://pkgconfig.sourceforge.net"
23707 else
23708 if test -f conf.gtktest ; then
23709 :
23710 else
23711 echo "*** Could not run GTK+ test program, checking why..."
23712 ac_save_CFLAGS="$CFLAGS"
23713 ac_save_LIBS="$LIBS"
23714 CFLAGS="$CFLAGS $GTK_CFLAGS"
23715 LIBS="$LIBS $GTK_LIBS"
23716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23717 /* end confdefs.h. */
23718
23719 #include <gtk/gtk.h>
23720 #include <stdio.h>
23721
23722 int
23723 main ()
23724 {
23725 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23726 ;
23727 return 0;
23728 }
23729 _ACEOF
23730 if ac_fn_c_try_link "$LINENO"; then :
23731 echo "*** The test program compiled, but did not run. This usually means"
23732 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23733 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23734 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23735 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23736 echo "*** is required on your system"
23737 echo "***"
23738 echo "*** If you have an old version installed, it is best to remove it, although"
23739 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23740 else
23741 echo "*** The test program failed to compile or link. See the file config.log for the"
23742 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23743 fi
23744 rm -f core conftest.err conftest.$ac_objext \
23745 conftest$ac_exeext conftest.$ac_ext
23746 CFLAGS="$ac_save_CFLAGS"
23747 LIBS="$ac_save_LIBS"
23748 fi
23749 fi
23750 GTK_CFLAGS=""
23751 GTK_LIBS=""
23752 :
23753 fi
23754
23755
23756 rm -f conf.gtktest
23757
23758 fi
23759 fi
23760 fi
23761
23762 if test -z "$wx_cv_lib_gtk"; then
23763 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23764
23765 # Check whether --with-gtk-prefix was given.
23766 if test "${with_gtk_prefix+set}" = set; then :
23767 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23768 else
23769 gtk_config_prefix=""
23770 fi
23771
23772
23773 # Check whether --with-gtk-exec-prefix was given.
23774 if test "${with_gtk_exec_prefix+set}" = set; then :
23775 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23776 else
23777 gtk_config_exec_prefix=""
23778 fi
23779
23780 # Check whether --enable-gtktest was given.
23781 if test "${enable_gtktest+set}" = set; then :
23782 enableval=$enable_gtktest;
23783 else
23784 enable_gtktest=yes
23785 fi
23786
23787
23788 for module in . $GTK_MODULES
23789 do
23790 case "$module" in
23791 gthread)
23792 gtk_config_args="$gtk_config_args gthread"
23793 ;;
23794 esac
23795 done
23796
23797 if test x$gtk_config_exec_prefix != x ; then
23798 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23799 if test x${GTK_CONFIG+set} != xset ; then
23800 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23801 fi
23802 fi
23803 if test x$gtk_config_prefix != x ; then
23804 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23805 if test x${GTK_CONFIG+set} != xset ; then
23806 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23807 fi
23808 fi
23809
23810 # Extract the first word of "gtk-config", so it can be a program name with args.
23811 set dummy gtk-config; ac_word=$2
23812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23813 $as_echo_n "checking for $ac_word... " >&6; }
23814 if ${ac_cv_path_GTK_CONFIG+:} false; then :
23815 $as_echo_n "(cached) " >&6
23816 else
23817 case $GTK_CONFIG in
23818 [\\/]* | ?:[\\/]*)
23819 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23820 ;;
23821 *)
23822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23823 for as_dir in $PATH
23824 do
23825 IFS=$as_save_IFS
23826 test -z "$as_dir" && as_dir=.
23827 for ac_exec_ext in '' $ac_executable_extensions; do
23828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23829 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23831 break 2
23832 fi
23833 done
23834 done
23835 IFS=$as_save_IFS
23836
23837 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23838 ;;
23839 esac
23840 fi
23841 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23842 if test -n "$GTK_CONFIG"; then
23843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23844 $as_echo "$GTK_CONFIG" >&6; }
23845 else
23846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23847 $as_echo "no" >&6; }
23848 fi
23849
23850
23851 min_gtk_version=1.2.7
23852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23853 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23854 no_gtk=""
23855 if test "$GTK_CONFIG" = "no" ; then
23856 no_gtk=yes
23857 else
23858 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23859 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23860 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23861 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23862 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23863 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23864 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23865 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23866 if test "x$enable_gtktest" = "xyes" ; then
23867 ac_save_CFLAGS="$CFLAGS"
23868 ac_save_LIBS="$LIBS"
23869 CFLAGS="$CFLAGS $GTK_CFLAGS"
23870 LIBS="$GTK_LIBS $LIBS"
23871 rm -f conf.gtktest
23872 if test "$cross_compiling" = yes; then :
23873 echo $ac_n "cross compiling; assumed OK... $ac_c"
23874 else
23875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23876 /* end confdefs.h. */
23877
23878 #include <gtk/gtk.h>
23879 #include <stdio.h>
23880 #include <stdlib.h>
23881
23882 int
23883 main ()
23884 {
23885 int major, minor, micro;
23886 char *tmp_version;
23887
23888 system ("touch conf.gtktest");
23889
23890 /* HP/UX 9 (%@#!) writes to sscanf strings */
23891 tmp_version = g_strdup("$min_gtk_version");
23892 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23893 printf("%s, bad version string\n", "$min_gtk_version");
23894 exit(1);
23895 }
23896
23897 if ((gtk_major_version != $gtk_config_major_version) ||
23898 (gtk_minor_version != $gtk_config_minor_version) ||
23899 (gtk_micro_version != $gtk_config_micro_version))
23900 {
23901 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23902 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23903 gtk_major_version, gtk_minor_version, gtk_micro_version);
23904 printf ("*** was found! If gtk-config was correct, then it is best\n");
23905 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23906 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23907 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23908 printf("*** required on your system.\n");
23909 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23910 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23911 printf("*** before re-running configure\n");
23912 }
23913 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23914 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23915 (gtk_minor_version != GTK_MINOR_VERSION) ||
23916 (gtk_micro_version != GTK_MICRO_VERSION))
23917 {
23918 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23919 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23920 printf("*** library (version %d.%d.%d)\n",
23921 gtk_major_version, gtk_minor_version, gtk_micro_version);
23922 }
23923 #endif /* defined (GTK_MAJOR_VERSION) ... */
23924 else
23925 {
23926 if ((gtk_major_version > major) ||
23927 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23928 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23929 {
23930 return 0;
23931 }
23932 else
23933 {
23934 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23935 gtk_major_version, gtk_minor_version, gtk_micro_version);
23936 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23937 major, minor, micro);
23938 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23939 printf("***\n");
23940 printf("*** If you have already installed a sufficiently new version, this error\n");
23941 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23942 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23943 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23944 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23945 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23946 printf("*** so that the correct libraries are found at run-time))\n");
23947 }
23948 }
23949 return 1;
23950 }
23951
23952 _ACEOF
23953 if ac_fn_c_try_run "$LINENO"; then :
23954
23955 else
23956 no_gtk=yes
23957 fi
23958 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23959 conftest.$ac_objext conftest.beam conftest.$ac_ext
23960 fi
23961
23962 CFLAGS="$ac_save_CFLAGS"
23963 LIBS="$ac_save_LIBS"
23964 fi
23965 fi
23966 if test "x$no_gtk" = x ; then
23967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23968 $as_echo "yes" >&6; }
23969 wx_cv_lib_gtk=1.2.7
23970 else
23971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23972 $as_echo "no" >&6; }
23973 if test "$GTK_CONFIG" = "no" ; then
23974 echo "*** The gtk-config script installed by GTK could not be found"
23975 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23976 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23977 echo "*** full path to gtk-config."
23978 else
23979 if test -f conf.gtktest ; then
23980 :
23981 else
23982 echo "*** Could not run GTK test program, checking why..."
23983 CFLAGS="$CFLAGS $GTK_CFLAGS"
23984 LIBS="$LIBS $GTK_LIBS"
23985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23986 /* end confdefs.h. */
23987
23988 #include <gtk/gtk.h>
23989 #include <stdio.h>
23990
23991 int
23992 main ()
23993 {
23994 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23995 ;
23996 return 0;
23997 }
23998 _ACEOF
23999 if ac_fn_c_try_link "$LINENO"; then :
24000 echo "*** The test program compiled, but did not run. This usually means"
24001 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24002 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24003 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24004 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24005 echo "*** is required on your system"
24006 echo "***"
24007 echo "*** If you have an old version installed, it is best to remove it, although"
24008 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24009 echo "***"
24010 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24011 echo "*** came with the system with the command"
24012 echo "***"
24013 echo "*** rpm --erase --nodeps gtk gtk-devel"
24014 else
24015 echo "*** The test program failed to compile or link. See the file config.log for the"
24016 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24017 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24018 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24019 fi
24020 rm -f core conftest.err conftest.$ac_objext \
24021 conftest$ac_exeext conftest.$ac_ext
24022 CFLAGS="$ac_save_CFLAGS"
24023 LIBS="$ac_save_LIBS"
24024 fi
24025 fi
24026 GTK_CFLAGS=""
24027 GTK_LIBS=""
24028 :
24029 fi
24030
24031
24032 rm -f conf.gtktest
24033
24034
24035 if test -z "$wx_cv_lib_gtk"; then
24036
24037 # Check whether --with-gtk-prefix was given.
24038 if test "${with_gtk_prefix+set}" = set; then :
24039 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
24040 else
24041 gtk_config_prefix=""
24042 fi
24043
24044
24045 # Check whether --with-gtk-exec-prefix was given.
24046 if test "${with_gtk_exec_prefix+set}" = set; then :
24047 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
24048 else
24049 gtk_config_exec_prefix=""
24050 fi
24051
24052 # Check whether --enable-gtktest was given.
24053 if test "${enable_gtktest+set}" = set; then :
24054 enableval=$enable_gtktest;
24055 else
24056 enable_gtktest=yes
24057 fi
24058
24059
24060 for module in . $GTK_MODULES
24061 do
24062 case "$module" in
24063 gthread)
24064 gtk_config_args="$gtk_config_args gthread"
24065 ;;
24066 esac
24067 done
24068
24069 if test x$gtk_config_exec_prefix != x ; then
24070 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24071 if test x${GTK_CONFIG+set} != xset ; then
24072 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24073 fi
24074 fi
24075 if test x$gtk_config_prefix != x ; then
24076 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24077 if test x${GTK_CONFIG+set} != xset ; then
24078 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24079 fi
24080 fi
24081
24082 # Extract the first word of "gtk-config", so it can be a program name with args.
24083 set dummy gtk-config; ac_word=$2
24084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24085 $as_echo_n "checking for $ac_word... " >&6; }
24086 if ${ac_cv_path_GTK_CONFIG+:} false; then :
24087 $as_echo_n "(cached) " >&6
24088 else
24089 case $GTK_CONFIG in
24090 [\\/]* | ?:[\\/]*)
24091 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24092 ;;
24093 *)
24094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24095 for as_dir in $PATH
24096 do
24097 IFS=$as_save_IFS
24098 test -z "$as_dir" && as_dir=.
24099 for ac_exec_ext in '' $ac_executable_extensions; do
24100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24101 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24103 break 2
24104 fi
24105 done
24106 done
24107 IFS=$as_save_IFS
24108
24109 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24110 ;;
24111 esac
24112 fi
24113 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24114 if test -n "$GTK_CONFIG"; then
24115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24116 $as_echo "$GTK_CONFIG" >&6; }
24117 else
24118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24119 $as_echo "no" >&6; }
24120 fi
24121
24122
24123 min_gtk_version=1.2.3
24124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24125 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24126 no_gtk=""
24127 if test "$GTK_CONFIG" = "no" ; then
24128 no_gtk=yes
24129 else
24130 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24131 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24132 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24133 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24134 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24135 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24136 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24137 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24138 if test "x$enable_gtktest" = "xyes" ; then
24139 ac_save_CFLAGS="$CFLAGS"
24140 ac_save_LIBS="$LIBS"
24141 CFLAGS="$CFLAGS $GTK_CFLAGS"
24142 LIBS="$GTK_LIBS $LIBS"
24143 rm -f conf.gtktest
24144 if test "$cross_compiling" = yes; then :
24145 echo $ac_n "cross compiling; assumed OK... $ac_c"
24146 else
24147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24148 /* end confdefs.h. */
24149
24150 #include <gtk/gtk.h>
24151 #include <stdio.h>
24152 #include <stdlib.h>
24153
24154 int
24155 main ()
24156 {
24157 int major, minor, micro;
24158 char *tmp_version;
24159
24160 system ("touch conf.gtktest");
24161
24162 /* HP/UX 9 (%@#!) writes to sscanf strings */
24163 tmp_version = g_strdup("$min_gtk_version");
24164 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24165 printf("%s, bad version string\n", "$min_gtk_version");
24166 exit(1);
24167 }
24168
24169 if ((gtk_major_version != $gtk_config_major_version) ||
24170 (gtk_minor_version != $gtk_config_minor_version) ||
24171 (gtk_micro_version != $gtk_config_micro_version))
24172 {
24173 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24174 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24175 gtk_major_version, gtk_minor_version, gtk_micro_version);
24176 printf ("*** was found! If gtk-config was correct, then it is best\n");
24177 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24178 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24179 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24180 printf("*** required on your system.\n");
24181 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24182 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24183 printf("*** before re-running configure\n");
24184 }
24185 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24186 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24187 (gtk_minor_version != GTK_MINOR_VERSION) ||
24188 (gtk_micro_version != GTK_MICRO_VERSION))
24189 {
24190 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24191 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24192 printf("*** library (version %d.%d.%d)\n",
24193 gtk_major_version, gtk_minor_version, gtk_micro_version);
24194 }
24195 #endif /* defined (GTK_MAJOR_VERSION) ... */
24196 else
24197 {
24198 if ((gtk_major_version > major) ||
24199 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24200 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24201 {
24202 return 0;
24203 }
24204 else
24205 {
24206 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24207 gtk_major_version, gtk_minor_version, gtk_micro_version);
24208 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24209 major, minor, micro);
24210 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24211 printf("***\n");
24212 printf("*** If you have already installed a sufficiently new version, this error\n");
24213 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24214 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24215 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24216 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24217 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24218 printf("*** so that the correct libraries are found at run-time))\n");
24219 }
24220 }
24221 return 1;
24222 }
24223
24224 _ACEOF
24225 if ac_fn_c_try_run "$LINENO"; then :
24226
24227 else
24228 no_gtk=yes
24229 fi
24230 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24231 conftest.$ac_objext conftest.beam conftest.$ac_ext
24232 fi
24233
24234 CFLAGS="$ac_save_CFLAGS"
24235 LIBS="$ac_save_LIBS"
24236 fi
24237 fi
24238 if test "x$no_gtk" = x ; then
24239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24240 $as_echo "yes" >&6; }
24241 wx_cv_lib_gtk=1.2.3
24242 else
24243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24244 $as_echo "no" >&6; }
24245 if test "$GTK_CONFIG" = "no" ; then
24246 echo "*** The gtk-config script installed by GTK could not be found"
24247 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24248 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24249 echo "*** full path to gtk-config."
24250 else
24251 if test -f conf.gtktest ; then
24252 :
24253 else
24254 echo "*** Could not run GTK test program, checking why..."
24255 CFLAGS="$CFLAGS $GTK_CFLAGS"
24256 LIBS="$LIBS $GTK_LIBS"
24257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24258 /* end confdefs.h. */
24259
24260 #include <gtk/gtk.h>
24261 #include <stdio.h>
24262
24263 int
24264 main ()
24265 {
24266 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24267 ;
24268 return 0;
24269 }
24270 _ACEOF
24271 if ac_fn_c_try_link "$LINENO"; then :
24272 echo "*** The test program compiled, but did not run. This usually means"
24273 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24274 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24275 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24276 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24277 echo "*** is required on your system"
24278 echo "***"
24279 echo "*** If you have an old version installed, it is best to remove it, although"
24280 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24281 echo "***"
24282 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24283 echo "*** came with the system with the command"
24284 echo "***"
24285 echo "*** rpm --erase --nodeps gtk gtk-devel"
24286 else
24287 echo "*** The test program failed to compile or link. See the file config.log for the"
24288 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24289 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24290 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24291 fi
24292 rm -f core conftest.err conftest.$ac_objext \
24293 conftest$ac_exeext conftest.$ac_ext
24294 CFLAGS="$ac_save_CFLAGS"
24295 LIBS="$ac_save_LIBS"
24296 fi
24297 fi
24298 GTK_CFLAGS=""
24299 GTK_LIBS=""
24300 :
24301 fi
24302
24303
24304 rm -f conf.gtktest
24305
24306 fi
24307 fi
24308 fi
24309
24310 if test -z "$wx_cv_lib_gtk"; then
24311 wx_cv_lib_gtk=none
24312 else
24313 GTK_LIBS="$GTK_LIBS -lX11"
24314
24315 wx_cv_cflags_gtk=$GTK_CFLAGS
24316 wx_cv_libs_gtk=$GTK_LIBS
24317 fi
24318
24319
24320 fi
24321
24322
24323 if test "$gtk_version_cached" = 1; then
24324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24325 $as_echo "$wx_cv_lib_gtk" >&6; }
24326 fi
24327
24328 case "$wx_cv_lib_gtk" in
24329 3) WXGTK3=1
24330 TOOLKIT_VERSION=3
24331 ;;
24332 2.0) WXGTK2=1
24333 TOOLKIT_VERSION=2
24334 ;;
24335 1.2.7) WXGTK127=1
24336 WXGTK1=1
24337 ;;
24338 1.2*) WXGTK1=1 ;;
24339 *) as_fn_error $? "
24340 The development files for GTK+ were not found. For GTK+ 2, please
24341 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24342 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24343 and that the version is 1.2.3 or above. Also check that the
24344 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24345 --libs' are in the LD_LIBRARY_PATH or equivalent.
24346 " "$LINENO" 5
24347 ;;
24348 esac
24349
24350 if test "$WXGTK3" = 1; then
24351 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24352
24353 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24354
24355 elif test "$WXGTK2" = 1; then
24356 save_CFLAGS="$CFLAGS"
24357 save_LIBS="$LIBS"
24358 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
24359 LIBS="$LIBS $wx_cv_libs_gtk"
24360
24361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24362 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24364 /* end confdefs.h. */
24365
24366 #include <gtk/gtk.h>
24367
24368 int
24369 main ()
24370 {
24371
24372 #if !GTK_CHECK_VERSION(2,18,0)
24373 Not GTK+ 2.18
24374 #endif
24375
24376 ;
24377 return 0;
24378 }
24379 _ACEOF
24380 if ac_fn_c_try_compile "$LINENO"; then :
24381
24382 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24383
24384 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24385
24386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24387 $as_echo "yes" >&6; }
24388 ac_wxgtk218=1
24389
24390 else
24391
24392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24393 $as_echo "no" >&6; }
24394 ac_wxgtk218=0
24395
24396 fi
24397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24398
24399 if test "$ac_wxgtk218" = 0; then
24400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24401 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24403 /* end confdefs.h. */
24404
24405 #include <gtk/gtk.h>
24406
24407 int
24408 main ()
24409 {
24410
24411 #if !GTK_CHECK_VERSION(2,10,0)
24412 Not GTK+ 2.10
24413 #endif
24414
24415 ;
24416 return 0;
24417 }
24418 _ACEOF
24419 if ac_fn_c_try_compile "$LINENO"; then :
24420
24421 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24422
24423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24424 $as_echo "yes" >&6; }
24425 ac_wxgtk210=1
24426
24427 else
24428
24429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24430 $as_echo "no" >&6; }
24431 ac_wxgtk210=0
24432
24433 fi
24434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24435 fi
24436
24437 CFLAGS="$save_CFLAGS"
24438 LIBS="$save_LIBS"
24439 else
24440 if test "$wxUSE_UNICODE" = "yes"; then
24441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24442 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24443 wxUSE_UNICODE=no
24444 fi
24445
24446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24447 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24448 if ${ac_cv_lib_gdk_gdk_im_open+:} false; then :
24449 $as_echo_n "(cached) " >&6
24450 else
24451 ac_check_lib_save_LIBS=$LIBS
24452 LIBS="-lgdk $LIBS"
24453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24454 /* end confdefs.h. */
24455
24456 /* Override any GCC internal prototype to avoid an error.
24457 Use char because int might match the return type of a GCC
24458 builtin and then its argument prototype would still apply. */
24459 #ifdef __cplusplus
24460 extern "C"
24461 #endif
24462 char gdk_im_open ();
24463 int
24464 main ()
24465 {
24466 return gdk_im_open ();
24467 ;
24468 return 0;
24469 }
24470 _ACEOF
24471 if ac_fn_c_try_link "$LINENO"; then :
24472 ac_cv_lib_gdk_gdk_im_open=yes
24473 else
24474 ac_cv_lib_gdk_gdk_im_open=no
24475 fi
24476 rm -f core conftest.err conftest.$ac_objext \
24477 conftest$ac_exeext conftest.$ac_ext
24478 LIBS=$ac_check_lib_save_LIBS
24479 fi
24480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24481 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24482 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes; then :
24483 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24484
24485 fi
24486
24487
24488 if test "$USE_DARWIN" != 1; then
24489 for ac_func in poll
24490 do :
24491 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
24492 if test "x$ac_cv_func_poll" = xyes; then :
24493 cat >>confdefs.h <<_ACEOF
24494 #define HAVE_POLL 1
24495 _ACEOF
24496
24497 fi
24498 done
24499
24500 fi
24501 fi
24502
24503 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24504 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24505 AFMINSTALL=afminstall
24506 TOOLKIT=GTK
24507 GUIDIST=GTK_DIST
24508
24509 if test "$wxUSE_GPE" = "yes"; then
24510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24511 $as_echo_n "checking for gpewidget library... " >&6; }
24512
24513 ac_find_libraries=
24514 for ac_dir in $SEARCH_LIB
24515 do
24516 for ac_extension in a so sl dylib dll.a; do
24517 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24518 ac_find_libraries=$ac_dir
24519 break 2
24520 fi
24521 done
24522 done
24523
24524 if test "$ac_find_libraries" != "" ; then
24525
24526 if test "$ac_find_libraries" = "default location"; then
24527 ac_path_to_link=""
24528 else
24529 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24530 result=$?
24531 if test $result = 0; then
24532 ac_path_to_link=""
24533 else
24534 ac_path_to_link=" -L$ac_find_libraries"
24535 fi
24536 fi
24537
24538 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24539 WXGPE=1
24540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24541 $as_echo "found in $ac_find_libraries" >&6; }
24542 else
24543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24544 $as_echo "not found" >&6; }
24545 fi
24546
24547 fi
24548 fi
24549
24550 if test "$wxUSE_DFB" = 1; then
24551
24552
24553 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24554 if test -n "$ac_tool_prefix"; then
24555 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24556 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24558 $as_echo_n "checking for $ac_word... " >&6; }
24559 if ${ac_cv_path_PKG_CONFIG+:} false; then :
24560 $as_echo_n "(cached) " >&6
24561 else
24562 case $PKG_CONFIG in
24563 [\\/]* | ?:[\\/]*)
24564 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24565 ;;
24566 *)
24567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24568 for as_dir in $PATH
24569 do
24570 IFS=$as_save_IFS
24571 test -z "$as_dir" && as_dir=.
24572 for ac_exec_ext in '' $ac_executable_extensions; do
24573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24574 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24576 break 2
24577 fi
24578 done
24579 done
24580 IFS=$as_save_IFS
24581
24582 ;;
24583 esac
24584 fi
24585 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24586 if test -n "$PKG_CONFIG"; then
24587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24588 $as_echo "$PKG_CONFIG" >&6; }
24589 else
24590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24591 $as_echo "no" >&6; }
24592 fi
24593
24594
24595 fi
24596 if test -z "$ac_cv_path_PKG_CONFIG"; then
24597 ac_pt_PKG_CONFIG=$PKG_CONFIG
24598 # Extract the first word of "pkg-config", so it can be a program name with args.
24599 set dummy pkg-config; ac_word=$2
24600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24601 $as_echo_n "checking for $ac_word... " >&6; }
24602 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
24603 $as_echo_n "(cached) " >&6
24604 else
24605 case $ac_pt_PKG_CONFIG in
24606 [\\/]* | ?:[\\/]*)
24607 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24608 ;;
24609 *)
24610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24611 for as_dir in $PATH
24612 do
24613 IFS=$as_save_IFS
24614 test -z "$as_dir" && as_dir=.
24615 for ac_exec_ext in '' $ac_executable_extensions; do
24616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24617 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24619 break 2
24620 fi
24621 done
24622 done
24623 IFS=$as_save_IFS
24624
24625 ;;
24626 esac
24627 fi
24628 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24629 if test -n "$ac_pt_PKG_CONFIG"; then
24630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24631 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24632 else
24633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24634 $as_echo "no" >&6; }
24635 fi
24636
24637 if test "x$ac_pt_PKG_CONFIG" = x; then
24638 PKG_CONFIG=""
24639 else
24640 case $cross_compiling:$ac_tool_warned in
24641 yes:)
24642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24644 ac_tool_warned=yes ;;
24645 esac
24646 PKG_CONFIG=$ac_pt_PKG_CONFIG
24647 fi
24648 else
24649 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24650 fi
24651
24652 fi
24653 if test -n "$PKG_CONFIG"; then
24654 _pkg_min_version=0.9.0
24655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24656 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24657 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24659 $as_echo "yes" >&6; }
24660 else
24661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24662 $as_echo "no" >&6; }
24663 PKG_CONFIG=""
24664 fi
24665
24666 fi
24667
24668
24669 pkg_failed=no
24670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24671 $as_echo_n "checking for DIRECTFB... " >&6; }
24672
24673 if test -n "$PKG_CONFIG"; then
24674 if test -n "$DIRECTFB_CFLAGS"; then
24675 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24676 else
24677 if test -n "$PKG_CONFIG" && \
24678 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24679 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24680 ac_status=$?
24681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24682 test $ac_status = 0; }; then
24683 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24684 else
24685 pkg_failed=yes
24686 fi
24687 fi
24688 else
24689 pkg_failed=untried
24690 fi
24691 if test -n "$PKG_CONFIG"; then
24692 if test -n "$DIRECTFB_LIBS"; then
24693 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24694 else
24695 if test -n "$PKG_CONFIG" && \
24696 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24697 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24698 ac_status=$?
24699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24700 test $ac_status = 0; }; then
24701 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24702 else
24703 pkg_failed=yes
24704 fi
24705 fi
24706 else
24707 pkg_failed=untried
24708 fi
24709
24710
24711
24712 if test $pkg_failed = yes; then
24713
24714 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24715 _pkg_short_errors_supported=yes
24716 else
24717 _pkg_short_errors_supported=no
24718 fi
24719 if test $_pkg_short_errors_supported = yes; then
24720 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24721 else
24722 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24723 fi
24724 # Put the nasty error message in config.log where it belongs
24725 echo "$DIRECTFB_PKG_ERRORS" >&5
24726
24727
24728 as_fn_error $? "DirectFB not found." "$LINENO" 5
24729
24730
24731 elif test $pkg_failed = untried; then
24732
24733 as_fn_error $? "DirectFB not found." "$LINENO" 5
24734
24735
24736 else
24737 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24738 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24740 $as_echo "yes" >&6; }
24741
24742 wxUSE_UNIVERSAL="yes"
24743 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
24744 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
24745 TOOLKIT=DFB
24746 GUIDIST=DFB_DIST
24747
24748 fi
24749 fi
24750
24751 if test "$wxUSE_MICROWIN" = 1; then
24752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24753 $as_echo_n "checking for MicroWindows... " >&6; }
24754 if test "x$MICROWINDOWS" = x ; then
24755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24756 $as_echo "not found" >&6; }
24757 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24758 else
24759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24760 $as_echo "$MICROWINDOWS" >&6; }
24761 fi
24762
24763 if test -f $MICROWINDOWS/lib/libmwin.a; then
24764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24765 $as_echo "MicroWindows' libraries found." >&6; }
24766 else
24767 as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24768 fi
24769
24770 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24771 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24772
24773 wxUSE_UNIVERSAL="yes"
24774
24775 AFMINSTALL=afminstall
24776 TOOLKIT=MICROWIN
24777 GUIDIST=MICROWIN_DIST
24778
24779 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24780 fi
24781
24782 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24784 $as_echo_n "checking for X... " >&6; }
24785
24786
24787 # Check whether --with-x was given.
24788 if test "${with_x+set}" = set; then :
24789 withval=$with_x;
24790 fi
24791
24792 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24793 if test "x$with_x" = xno; then
24794 # The user explicitly disabled X.
24795 have_x=disabled
24796 else
24797 case $x_includes,$x_libraries in #(
24798 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24799 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
24800 $as_echo_n "(cached) " >&6
24801 else
24802 # One or both of the vars are not set, and there is no cached value.
24803 ac_x_includes=no ac_x_libraries=no
24804 rm -f -r conftest.dir
24805 if mkdir conftest.dir; then
24806 cd conftest.dir
24807 cat >Imakefile <<'_ACEOF'
24808 incroot:
24809 @echo incroot='${INCROOT}'
24810 usrlibdir:
24811 @echo usrlibdir='${USRLIBDIR}'
24812 libdir:
24813 @echo libdir='${LIBDIR}'
24814 _ACEOF
24815 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24816 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24817 for ac_var in incroot usrlibdir libdir; do
24818 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24819 done
24820 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24821 for ac_extension in a so sl dylib la dll; do
24822 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24823 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24824 ac_im_usrlibdir=$ac_im_libdir; break
24825 fi
24826 done
24827 # Screen out bogus values from the imake configuration. They are
24828 # bogus both because they are the default anyway, and because
24829 # using them would break gcc on systems where it needs fixed includes.
24830 case $ac_im_incroot in
24831 /usr/include) ac_x_includes= ;;
24832 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24833 esac
24834 case $ac_im_usrlibdir in
24835 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24836 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24837 esac
24838 fi
24839 cd ..
24840 rm -f -r conftest.dir
24841 fi
24842
24843 # Standard set of common directories for X headers.
24844 # Check X11 before X11Rn because it is often a symlink to the current release.
24845 ac_x_header_dirs='
24846 /usr/X11/include
24847 /usr/X11R7/include
24848 /usr/X11R6/include
24849 /usr/X11R5/include
24850 /usr/X11R4/include
24851
24852 /usr/include/X11
24853 /usr/include/X11R7
24854 /usr/include/X11R6
24855 /usr/include/X11R5
24856 /usr/include/X11R4
24857
24858 /usr/local/X11/include
24859 /usr/local/X11R7/include
24860 /usr/local/X11R6/include
24861 /usr/local/X11R5/include
24862 /usr/local/X11R4/include
24863
24864 /usr/local/include/X11
24865 /usr/local/include/X11R7
24866 /usr/local/include/X11R6
24867 /usr/local/include/X11R5
24868 /usr/local/include/X11R4
24869
24870 /usr/X386/include
24871 /usr/x386/include
24872 /usr/XFree86/include/X11
24873
24874 /usr/include
24875 /usr/local/include
24876 /usr/unsupported/include
24877 /usr/athena/include
24878 /usr/local/x11r5/include
24879 /usr/lpp/Xamples/include
24880
24881 /usr/openwin/include
24882 /usr/openwin/share/include'
24883
24884 if test "$ac_x_includes" = no; then
24885 # Guess where to find include files, by looking for Xlib.h.
24886 # First, try using that file with no special directory specified.
24887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24888 /* end confdefs.h. */
24889 #include <X11/Xlib.h>
24890 _ACEOF
24891 if ac_fn_c_try_cpp "$LINENO"; then :
24892 # We can compile using X headers with no special include directory.
24893 ac_x_includes=
24894 else
24895 for ac_dir in $ac_x_header_dirs; do
24896 if test -r "$ac_dir/X11/Xlib.h"; then
24897 ac_x_includes=$ac_dir
24898 break
24899 fi
24900 done
24901 fi
24902 rm -f conftest.err conftest.i conftest.$ac_ext
24903 fi # $ac_x_includes = no
24904
24905 if test "$ac_x_libraries" = no; then
24906 # Check for the libraries.
24907 # See if we find them without any special options.
24908 # Don't add to $LIBS permanently.
24909 ac_save_LIBS=$LIBS
24910 LIBS="-lX11 $LIBS"
24911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24912 /* end confdefs.h. */
24913 #include <X11/Xlib.h>
24914 int
24915 main ()
24916 {
24917 XrmInitialize ()
24918 ;
24919 return 0;
24920 }
24921 _ACEOF
24922 if ac_fn_c_try_link "$LINENO"; then :
24923 LIBS=$ac_save_LIBS
24924 # We can link X programs with no special library path.
24925 ac_x_libraries=
24926 else
24927 LIBS=$ac_save_LIBS
24928 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24929 do
24930 # Don't even attempt the hair of trying to link an X program!
24931 for ac_extension in a so sl dylib la dll; do
24932 if test -r "$ac_dir/libX11.$ac_extension"; then
24933 ac_x_libraries=$ac_dir
24934 break 2
24935 fi
24936 done
24937 done
24938 fi
24939 rm -f core conftest.err conftest.$ac_objext \
24940 conftest$ac_exeext conftest.$ac_ext
24941 fi # $ac_x_libraries = no
24942
24943 case $ac_x_includes,$ac_x_libraries in #(
24944 no,* | *,no | *\'*)
24945 # Didn't find X, or a directory has "'" in its name.
24946 ac_cv_have_x="have_x=no";; #(
24947 *)
24948 # Record where we found X for the cache.
24949 ac_cv_have_x="have_x=yes\
24950 ac_x_includes='$ac_x_includes'\
24951 ac_x_libraries='$ac_x_libraries'"
24952 esac
24953 fi
24954 ;; #(
24955 *) have_x=yes;;
24956 esac
24957 eval "$ac_cv_have_x"
24958 fi # $with_x != no
24959
24960 if test "$have_x" != yes; then
24961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24962 $as_echo "$have_x" >&6; }
24963 no_x=yes
24964 else
24965 # If each of the values was on the command line, it overrides each guess.
24966 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24967 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24968 # Update the cache value to reflect the command line values.
24969 ac_cv_have_x="have_x=yes\
24970 ac_x_includes='$x_includes'\
24971 ac_x_libraries='$x_libraries'"
24972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24973 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24974 fi
24975
24976 if test "$no_x" = yes; then
24977 # Not all programs may use this symbol, but it does not hurt to define it.
24978
24979 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24980
24981 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24982 else
24983 if test -n "$x_includes"; then
24984 X_CFLAGS="$X_CFLAGS -I$x_includes"
24985 fi
24986
24987 # It would also be nice to do this for all -L options, not just this one.
24988 if test -n "$x_libraries"; then
24989 X_LIBS="$X_LIBS -L$x_libraries"
24990 # For Solaris; some versions of Sun CC require a space after -R and
24991 # others require no space. Words are not sufficient . . . .
24992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24993 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24994 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24995 ac_xsave_c_werror_flag=$ac_c_werror_flag
24996 ac_c_werror_flag=yes
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: no" >&5
25010 $as_echo "no" >&6; }
25011 X_LIBS="$X_LIBS -R$x_libraries"
25012 else
25013 LIBS="$ac_xsave_LIBS -R $x_libraries"
25014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25015 /* end confdefs.h. */
25016
25017 int
25018 main ()
25019 {
25020
25021 ;
25022 return 0;
25023 }
25024 _ACEOF
25025 if ac_fn_c_try_link "$LINENO"; then :
25026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25027 $as_echo "yes" >&6; }
25028 X_LIBS="$X_LIBS -R $x_libraries"
25029 else
25030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25031 $as_echo "neither works" >&6; }
25032 fi
25033 rm -f core conftest.err conftest.$ac_objext \
25034 conftest$ac_exeext conftest.$ac_ext
25035 fi
25036 rm -f core conftest.err conftest.$ac_objext \
25037 conftest$ac_exeext conftest.$ac_ext
25038 ac_c_werror_flag=$ac_xsave_c_werror_flag
25039 LIBS=$ac_xsave_LIBS
25040 fi
25041
25042 # Check for system-dependent libraries X programs must link with.
25043 # Do this before checking for the system-independent R6 libraries
25044 # (-lICE), since we may need -lsocket or whatever for X linking.
25045
25046 if test "$ISC" = yes; then
25047 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25048 else
25049 # Martyn Johnson says this is needed for Ultrix, if the X
25050 # libraries were built with DECnet support. And Karl Berry says
25051 # the Alpha needs dnet_stub (dnet does not exist).
25052 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25054 /* end confdefs.h. */
25055
25056 /* Override any GCC internal prototype to avoid an error.
25057 Use char because int might match the return type of a GCC
25058 builtin and then its argument prototype would still apply. */
25059 #ifdef __cplusplus
25060 extern "C"
25061 #endif
25062 char XOpenDisplay ();
25063 int
25064 main ()
25065 {
25066 return XOpenDisplay ();
25067 ;
25068 return 0;
25069 }
25070 _ACEOF
25071 if ac_fn_c_try_link "$LINENO"; then :
25072
25073 else
25074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25075 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25076 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
25077 $as_echo_n "(cached) " >&6
25078 else
25079 ac_check_lib_save_LIBS=$LIBS
25080 LIBS="-ldnet $LIBS"
25081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25082 /* end confdefs.h. */
25083
25084 /* Override any GCC internal prototype to avoid an error.
25085 Use char because int might match the return type of a GCC
25086 builtin and then its argument prototype would still apply. */
25087 #ifdef __cplusplus
25088 extern "C"
25089 #endif
25090 char dnet_ntoa ();
25091 int
25092 main ()
25093 {
25094 return dnet_ntoa ();
25095 ;
25096 return 0;
25097 }
25098 _ACEOF
25099 if ac_fn_c_try_link "$LINENO"; then :
25100 ac_cv_lib_dnet_dnet_ntoa=yes
25101 else
25102 ac_cv_lib_dnet_dnet_ntoa=no
25103 fi
25104 rm -f core conftest.err conftest.$ac_objext \
25105 conftest$ac_exeext conftest.$ac_ext
25106 LIBS=$ac_check_lib_save_LIBS
25107 fi
25108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25109 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25110 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
25111 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25112 fi
25113
25114 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25116 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25117 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
25118 $as_echo_n "(cached) " >&6
25119 else
25120 ac_check_lib_save_LIBS=$LIBS
25121 LIBS="-ldnet_stub $LIBS"
25122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25123 /* end confdefs.h. */
25124
25125 /* Override any GCC internal prototype to avoid an error.
25126 Use char because int might match the return type of a GCC
25127 builtin and then its argument prototype would still apply. */
25128 #ifdef __cplusplus
25129 extern "C"
25130 #endif
25131 char dnet_ntoa ();
25132 int
25133 main ()
25134 {
25135 return dnet_ntoa ();
25136 ;
25137 return 0;
25138 }
25139 _ACEOF
25140 if ac_fn_c_try_link "$LINENO"; then :
25141 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25142 else
25143 ac_cv_lib_dnet_stub_dnet_ntoa=no
25144 fi
25145 rm -f core conftest.err conftest.$ac_objext \
25146 conftest$ac_exeext conftest.$ac_ext
25147 LIBS=$ac_check_lib_save_LIBS
25148 fi
25149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25150 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25151 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
25152 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25153 fi
25154
25155 fi
25156 fi
25157 rm -f core conftest.err conftest.$ac_objext \
25158 conftest$ac_exeext conftest.$ac_ext
25159 LIBS="$ac_xsave_LIBS"
25160
25161 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25162 # to get the SysV transport functions.
25163 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25164 # needs -lnsl.
25165 # The nsl library prevents programs from opening the X display
25166 # on Irix 5.2, according to T.E. Dickey.
25167 # The functions gethostbyname, getservbyname, and inet_addr are
25168 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25169 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25170 if test "x$ac_cv_func_gethostbyname" = xyes; then :
25171
25172 fi
25173
25174 if test $ac_cv_func_gethostbyname = no; then
25175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25176 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25177 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
25178 $as_echo_n "(cached) " >&6
25179 else
25180 ac_check_lib_save_LIBS=$LIBS
25181 LIBS="-lnsl $LIBS"
25182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25183 /* end confdefs.h. */
25184
25185 /* Override any GCC internal prototype to avoid an error.
25186 Use char because int might match the return type of a GCC
25187 builtin and then its argument prototype would still apply. */
25188 #ifdef __cplusplus
25189 extern "C"
25190 #endif
25191 char gethostbyname ();
25192 int
25193 main ()
25194 {
25195 return gethostbyname ();
25196 ;
25197 return 0;
25198 }
25199 _ACEOF
25200 if ac_fn_c_try_link "$LINENO"; then :
25201 ac_cv_lib_nsl_gethostbyname=yes
25202 else
25203 ac_cv_lib_nsl_gethostbyname=no
25204 fi
25205 rm -f core conftest.err conftest.$ac_objext \
25206 conftest$ac_exeext conftest.$ac_ext
25207 LIBS=$ac_check_lib_save_LIBS
25208 fi
25209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25210 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25211 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
25212 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25213 fi
25214
25215 if test $ac_cv_lib_nsl_gethostbyname = no; then
25216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25217 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25218 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
25219 $as_echo_n "(cached) " >&6
25220 else
25221 ac_check_lib_save_LIBS=$LIBS
25222 LIBS="-lbsd $LIBS"
25223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25224 /* end confdefs.h. */
25225
25226 /* Override any GCC internal prototype to avoid an error.
25227 Use char because int might match the return type of a GCC
25228 builtin and then its argument prototype would still apply. */
25229 #ifdef __cplusplus
25230 extern "C"
25231 #endif
25232 char gethostbyname ();
25233 int
25234 main ()
25235 {
25236 return gethostbyname ();
25237 ;
25238 return 0;
25239 }
25240 _ACEOF
25241 if ac_fn_c_try_link "$LINENO"; then :
25242 ac_cv_lib_bsd_gethostbyname=yes
25243 else
25244 ac_cv_lib_bsd_gethostbyname=no
25245 fi
25246 rm -f core conftest.err conftest.$ac_objext \
25247 conftest$ac_exeext conftest.$ac_ext
25248 LIBS=$ac_check_lib_save_LIBS
25249 fi
25250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25251 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25252 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
25253 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25254 fi
25255
25256 fi
25257 fi
25258
25259 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25260 # socket/setsockopt and other routines are undefined under SCO ODT
25261 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25262 # on later versions), says Simon Leinen: it contains gethostby*
25263 # variants that don't use the name server (or something). -lsocket
25264 # must be given before -lnsl if both are needed. We assume that
25265 # if connect needs -lnsl, so does gethostbyname.
25266 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25267 if test "x$ac_cv_func_connect" = xyes; then :
25268
25269 fi
25270
25271 if test $ac_cv_func_connect = no; then
25272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25273 $as_echo_n "checking for connect in -lsocket... " >&6; }
25274 if ${ac_cv_lib_socket_connect+:} false; then :
25275 $as_echo_n "(cached) " >&6
25276 else
25277 ac_check_lib_save_LIBS=$LIBS
25278 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25280 /* end confdefs.h. */
25281
25282 /* Override any GCC internal prototype to avoid an error.
25283 Use char because int might match the return type of a GCC
25284 builtin and then its argument prototype would still apply. */
25285 #ifdef __cplusplus
25286 extern "C"
25287 #endif
25288 char connect ();
25289 int
25290 main ()
25291 {
25292 return connect ();
25293 ;
25294 return 0;
25295 }
25296 _ACEOF
25297 if ac_fn_c_try_link "$LINENO"; then :
25298 ac_cv_lib_socket_connect=yes
25299 else
25300 ac_cv_lib_socket_connect=no
25301 fi
25302 rm -f core conftest.err conftest.$ac_objext \
25303 conftest$ac_exeext conftest.$ac_ext
25304 LIBS=$ac_check_lib_save_LIBS
25305 fi
25306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25307 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25308 if test "x$ac_cv_lib_socket_connect" = xyes; then :
25309 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25310 fi
25311
25312 fi
25313
25314 # Guillermo Gomez says -lposix is necessary on A/UX.
25315 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25316 if test "x$ac_cv_func_remove" = xyes; then :
25317
25318 fi
25319
25320 if test $ac_cv_func_remove = no; then
25321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25322 $as_echo_n "checking for remove in -lposix... " >&6; }
25323 if ${ac_cv_lib_posix_remove+:} false; then :
25324 $as_echo_n "(cached) " >&6
25325 else
25326 ac_check_lib_save_LIBS=$LIBS
25327 LIBS="-lposix $LIBS"
25328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25329 /* end confdefs.h. */
25330
25331 /* Override any GCC internal prototype to avoid an error.
25332 Use char because int might match the return type of a GCC
25333 builtin and then its argument prototype would still apply. */
25334 #ifdef __cplusplus
25335 extern "C"
25336 #endif
25337 char remove ();
25338 int
25339 main ()
25340 {
25341 return remove ();
25342 ;
25343 return 0;
25344 }
25345 _ACEOF
25346 if ac_fn_c_try_link "$LINENO"; then :
25347 ac_cv_lib_posix_remove=yes
25348 else
25349 ac_cv_lib_posix_remove=no
25350 fi
25351 rm -f core conftest.err conftest.$ac_objext \
25352 conftest$ac_exeext conftest.$ac_ext
25353 LIBS=$ac_check_lib_save_LIBS
25354 fi
25355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25356 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25357 if test "x$ac_cv_lib_posix_remove" = xyes; then :
25358 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25359 fi
25360
25361 fi
25362
25363 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25364 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25365 if test "x$ac_cv_func_shmat" = xyes; then :
25366
25367 fi
25368
25369 if test $ac_cv_func_shmat = no; then
25370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25371 $as_echo_n "checking for shmat in -lipc... " >&6; }
25372 if ${ac_cv_lib_ipc_shmat+:} false; then :
25373 $as_echo_n "(cached) " >&6
25374 else
25375 ac_check_lib_save_LIBS=$LIBS
25376 LIBS="-lipc $LIBS"
25377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25378 /* end confdefs.h. */
25379
25380 /* Override any GCC internal prototype to avoid an error.
25381 Use char because int might match the return type of a GCC
25382 builtin and then its argument prototype would still apply. */
25383 #ifdef __cplusplus
25384 extern "C"
25385 #endif
25386 char shmat ();
25387 int
25388 main ()
25389 {
25390 return shmat ();
25391 ;
25392 return 0;
25393 }
25394 _ACEOF
25395 if ac_fn_c_try_link "$LINENO"; then :
25396 ac_cv_lib_ipc_shmat=yes
25397 else
25398 ac_cv_lib_ipc_shmat=no
25399 fi
25400 rm -f core conftest.err conftest.$ac_objext \
25401 conftest$ac_exeext conftest.$ac_ext
25402 LIBS=$ac_check_lib_save_LIBS
25403 fi
25404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25405 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25406 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
25407 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25408 fi
25409
25410 fi
25411 fi
25412
25413 # Check for libraries that X11R6 Xt/Xaw programs need.
25414 ac_save_LDFLAGS=$LDFLAGS
25415 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25416 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25417 # check for ICE first), but we must link in the order -lSM -lICE or
25418 # we get undefined symbols. So assume we have SM if we have ICE.
25419 # These have to be linked with before -lX11, unlike the other
25420 # libraries we check for below, so use a different variable.
25421 # John Interrante, Karl Berry
25422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25423 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25424 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
25425 $as_echo_n "(cached) " >&6
25426 else
25427 ac_check_lib_save_LIBS=$LIBS
25428 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25430 /* end confdefs.h. */
25431
25432 /* Override any GCC internal prototype to avoid an error.
25433 Use char because int might match the return type of a GCC
25434 builtin and then its argument prototype would still apply. */
25435 #ifdef __cplusplus
25436 extern "C"
25437 #endif
25438 char IceConnectionNumber ();
25439 int
25440 main ()
25441 {
25442 return IceConnectionNumber ();
25443 ;
25444 return 0;
25445 }
25446 _ACEOF
25447 if ac_fn_c_try_link "$LINENO"; then :
25448 ac_cv_lib_ICE_IceConnectionNumber=yes
25449 else
25450 ac_cv_lib_ICE_IceConnectionNumber=no
25451 fi
25452 rm -f core conftest.err conftest.$ac_objext \
25453 conftest$ac_exeext conftest.$ac_ext
25454 LIBS=$ac_check_lib_save_LIBS
25455 fi
25456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25457 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25458 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
25459 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25460 fi
25461
25462 LDFLAGS=$ac_save_LDFLAGS
25463
25464 fi
25465
25466
25467 if test "$no_x" = "yes"; then
25468 as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25469 fi
25470
25471 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25472 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25473 AFMINSTALL=afminstall
25474 COMPILED_X_PROGRAM=0
25475
25476 fi
25477
25478 if test "$wxUSE_X11" = 1; then
25479 if test "$wxUSE_NANOX" = "yes"; then
25480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25481 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25482 if test "x$MICROWIN" = x ; then
25483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25484 $as_echo "not found" >&6; }
25485 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25486 else
25487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25488 $as_echo "$MICROWIN" >&6; }
25489 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25490
25491 fi
25492 fi
25493
25494 if test "$wxUSE_UNICODE" = "yes"; then
25495
25496
25497 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25498 if test -n "$ac_tool_prefix"; then
25499 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25500 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25502 $as_echo_n "checking for $ac_word... " >&6; }
25503 if ${ac_cv_path_PKG_CONFIG+:} false; then :
25504 $as_echo_n "(cached) " >&6
25505 else
25506 case $PKG_CONFIG in
25507 [\\/]* | ?:[\\/]*)
25508 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25509 ;;
25510 *)
25511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25512 for as_dir in $PATH
25513 do
25514 IFS=$as_save_IFS
25515 test -z "$as_dir" && as_dir=.
25516 for ac_exec_ext in '' $ac_executable_extensions; do
25517 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25518 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25520 break 2
25521 fi
25522 done
25523 done
25524 IFS=$as_save_IFS
25525
25526 ;;
25527 esac
25528 fi
25529 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25530 if test -n "$PKG_CONFIG"; then
25531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25532 $as_echo "$PKG_CONFIG" >&6; }
25533 else
25534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25535 $as_echo "no" >&6; }
25536 fi
25537
25538
25539 fi
25540 if test -z "$ac_cv_path_PKG_CONFIG"; then
25541 ac_pt_PKG_CONFIG=$PKG_CONFIG
25542 # Extract the first word of "pkg-config", so it can be a program name with args.
25543 set dummy pkg-config; ac_word=$2
25544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25545 $as_echo_n "checking for $ac_word... " >&6; }
25546 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
25547 $as_echo_n "(cached) " >&6
25548 else
25549 case $ac_pt_PKG_CONFIG in
25550 [\\/]* | ?:[\\/]*)
25551 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25552 ;;
25553 *)
25554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25555 for as_dir in $PATH
25556 do
25557 IFS=$as_save_IFS
25558 test -z "$as_dir" && as_dir=.
25559 for ac_exec_ext in '' $ac_executable_extensions; do
25560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25561 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25563 break 2
25564 fi
25565 done
25566 done
25567 IFS=$as_save_IFS
25568
25569 ;;
25570 esac
25571 fi
25572 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25573 if test -n "$ac_pt_PKG_CONFIG"; then
25574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25575 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25576 else
25577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25578 $as_echo "no" >&6; }
25579 fi
25580
25581 if test "x$ac_pt_PKG_CONFIG" = x; then
25582 PKG_CONFIG=""
25583 else
25584 case $cross_compiling:$ac_tool_warned in
25585 yes:)
25586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25588 ac_tool_warned=yes ;;
25589 esac
25590 PKG_CONFIG=$ac_pt_PKG_CONFIG
25591 fi
25592 else
25593 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25594 fi
25595
25596 fi
25597 if test -n "$PKG_CONFIG"; then
25598 _pkg_min_version=0.9.0
25599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25600 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25601 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25603 $as_echo "yes" >&6; }
25604 else
25605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25606 $as_echo "no" >&6; }
25607 PKG_CONFIG=""
25608 fi
25609
25610 fi
25611
25612
25613 pkg_failed=no
25614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25615 $as_echo_n "checking for PANGOX... " >&6; }
25616
25617 if test -n "$PKG_CONFIG"; then
25618 if test -n "$PANGOX_CFLAGS"; then
25619 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
25620 else
25621 if test -n "$PKG_CONFIG" && \
25622 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25623 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25624 ac_status=$?
25625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25626 test $ac_status = 0; }; then
25627 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25628 else
25629 pkg_failed=yes
25630 fi
25631 fi
25632 else
25633 pkg_failed=untried
25634 fi
25635 if test -n "$PKG_CONFIG"; then
25636 if test -n "$PANGOX_LIBS"; then
25637 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
25638 else
25639 if test -n "$PKG_CONFIG" && \
25640 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25641 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25642 ac_status=$?
25643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25644 test $ac_status = 0; }; then
25645 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25646 else
25647 pkg_failed=yes
25648 fi
25649 fi
25650 else
25651 pkg_failed=untried
25652 fi
25653
25654
25655
25656 if test $pkg_failed = yes; then
25657
25658 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25659 _pkg_short_errors_supported=yes
25660 else
25661 _pkg_short_errors_supported=no
25662 fi
25663 if test $_pkg_short_errors_supported = yes; then
25664 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25665 else
25666 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25667 fi
25668 # Put the nasty error message in config.log where it belongs
25669 echo "$PANGOX_PKG_ERRORS" >&5
25670
25671
25672 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25673
25674
25675 elif test $pkg_failed = untried; then
25676
25677 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25678
25679
25680 else
25681 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
25682 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
25683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25684 $as_echo "yes" >&6; }
25685
25686 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
25687 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
25688 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25689
25690 fi
25691
25692 pkg_failed=no
25693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25694 $as_echo_n "checking for PANGOFT2... " >&6; }
25695
25696 if test -n "$PKG_CONFIG"; then
25697 if test -n "$PANGOFT2_CFLAGS"; then
25698 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
25699 else
25700 if test -n "$PKG_CONFIG" && \
25701 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25702 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25703 ac_status=$?
25704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25705 test $ac_status = 0; }; then
25706 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25707 else
25708 pkg_failed=yes
25709 fi
25710 fi
25711 else
25712 pkg_failed=untried
25713 fi
25714 if test -n "$PKG_CONFIG"; then
25715 if test -n "$PANGOFT2_LIBS"; then
25716 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
25717 else
25718 if test -n "$PKG_CONFIG" && \
25719 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25720 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25721 ac_status=$?
25722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25723 test $ac_status = 0; }; then
25724 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25725 else
25726 pkg_failed=yes
25727 fi
25728 fi
25729 else
25730 pkg_failed=untried
25731 fi
25732
25733
25734
25735 if test $pkg_failed = yes; then
25736
25737 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25738 _pkg_short_errors_supported=yes
25739 else
25740 _pkg_short_errors_supported=no
25741 fi
25742 if test $_pkg_short_errors_supported = yes; then
25743 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25744 else
25745 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25746 fi
25747 # Put the nasty error message in config.log where it belongs
25748 echo "$PANGOFT2_PKG_ERRORS" >&5
25749
25750
25751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25752 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25753 wxUSE_PRINTING_ARCHITECTURE="no"
25754
25755
25756 elif test $pkg_failed = untried; then
25757
25758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25759 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25760 wxUSE_PRINTING_ARCHITECTURE="no"
25761
25762
25763 else
25764 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
25765 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
25766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25767 $as_echo "yes" >&6; }
25768
25769 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
25770 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
25771 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25772
25773 fi
25774
25775 pkg_failed=no
25776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25777 $as_echo_n "checking for PANGOXFT... " >&6; }
25778
25779 if test -n "$PKG_CONFIG"; then
25780 if test -n "$PANGOXFT_CFLAGS"; then
25781 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
25782 else
25783 if test -n "$PKG_CONFIG" && \
25784 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25785 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25786 ac_status=$?
25787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25788 test $ac_status = 0; }; then
25789 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25790 else
25791 pkg_failed=yes
25792 fi
25793 fi
25794 else
25795 pkg_failed=untried
25796 fi
25797 if test -n "$PKG_CONFIG"; then
25798 if test -n "$PANGOXFT_LIBS"; then
25799 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
25800 else
25801 if test -n "$PKG_CONFIG" && \
25802 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25803 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25804 ac_status=$?
25805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25806 test $ac_status = 0; }; then
25807 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25808 else
25809 pkg_failed=yes
25810 fi
25811 fi
25812 else
25813 pkg_failed=untried
25814 fi
25815
25816
25817
25818 if test $pkg_failed = yes; then
25819
25820 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25821 _pkg_short_errors_supported=yes
25822 else
25823 _pkg_short_errors_supported=no
25824 fi
25825 if test $_pkg_short_errors_supported = yes; then
25826 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25827 else
25828 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25829 fi
25830 # Put the nasty error message in config.log where it belongs
25831 echo "$PANGOXFT_PKG_ERRORS" >&5
25832
25833
25834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25835 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25836
25837
25838 elif test $pkg_failed = untried; then
25839
25840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25841 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25842
25843
25844 else
25845 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
25846 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
25847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25848 $as_echo "yes" >&6; }
25849
25850 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25851
25852 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
25853 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
25854 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25855
25856 fi
25857 save_LIBS="$LIBS"
25858 LIBS="$LIBS $PANGOX_LIBS"
25859 for ac_func in pango_font_family_is_monospace
25860 do :
25861 ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25862 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes; then :
25863 cat >>confdefs.h <<_ACEOF
25864 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25865 _ACEOF
25866
25867 fi
25868 done
25869
25870 LIBS="$save_LIBS"
25871 fi
25872
25873 wxUSE_UNIVERSAL="yes"
25874
25875 if test "$wxUSE_NANOX" = "yes"; then
25876 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25877 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"
25878 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25879 else
25880 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25881 fi
25882
25883 TOOLKIT=X11
25884 GUIDIST=X11_DIST
25885 fi
25886
25887 if test "$wxUSE_MOTIF" = 1; then
25888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25889 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25890
25891 ac_find_includes=
25892 for ac_dir in $SEARCH_INCLUDE /usr/include
25893 do
25894 if test -f "$ac_dir/Xm/Xm.h"; then
25895 ac_find_includes=$ac_dir
25896 break
25897 fi
25898 done
25899
25900 if test "$ac_find_includes" != "" ; then
25901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25902 $as_echo "found in $ac_find_includes" >&6; }
25903
25904 if test "x$ac_find_includes" = "x/usr/include"; then
25905 ac_path_to_include=""
25906 else
25907 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25908 result=$?
25909 if test $result = 0; then
25910 ac_path_to_include=""
25911 else
25912 ac_path_to_include=" -I$ac_find_includes"
25913 fi
25914 fi
25915
25916 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25917 else
25918 save_CFLAGS=$CFLAGS
25919 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25920
25921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25922 /* end confdefs.h. */
25923
25924 #include <Xm/Xm.h>
25925
25926 int
25927 main ()
25928 {
25929
25930 int version;
25931 version = xmUseVersion;
25932
25933 ;
25934 return 0;
25935 }
25936 _ACEOF
25937 if ac_fn_c_try_compile "$LINENO"; then :
25938
25939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25940 $as_echo "found in default search path" >&6; }
25941 COMPILED_X_PROGRAM=1
25942
25943 else
25944
25945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25946 $as_echo "no" >&6; }
25947 as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25948
25949
25950 fi
25951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25952
25953 CFLAGS=$save_CFLAGS
25954 fi
25955
25956
25957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25958 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25959
25960 ac_find_libraries=
25961 for ac_dir in $SEARCH_LIB
25962 do
25963 for ac_extension in a so sl dylib dll.a; do
25964 if test -f "$ac_dir/libXm.$ac_extension"; then
25965 ac_find_libraries=$ac_dir
25966 break 2
25967 fi
25968 done
25969 done
25970
25971
25972 if test "x$ac_find_libraries" != "x" ; then
25973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25974 $as_echo "found in $ac_find_libraries" >&6; }
25975
25976
25977 if test "$ac_find_libraries" = "default location"; then
25978 ac_path_to_link=""
25979 else
25980 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25981 result=$?
25982 if test $result = 0; then
25983 ac_path_to_link=""
25984 else
25985 ac_path_to_link=" -L$ac_find_libraries"
25986 fi
25987 fi
25988
25989 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25990 else
25991 save_CFLAGS=$CFLAGS
25992 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25993 save_LIBS="$LIBS"
25994 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
25995
25996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25997 /* end confdefs.h. */
25998
25999 #include <Xm/Xm.h>
26000
26001 int
26002 main ()
26003 {
26004
26005 int version;
26006 version = xmUseVersion;
26007
26008 ;
26009 return 0;
26010 }
26011 _ACEOF
26012 if ac_fn_c_try_link "$LINENO"; then :
26013
26014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26015 $as_echo "found in default search path" >&6; }
26016 COMPILED_X_PROGRAM=1
26017
26018 else
26019
26020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26021 $as_echo "no" >&6; }
26022 as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
26023
26024
26025 fi
26026 rm -f core conftest.err conftest.$ac_objext \
26027 conftest$ac_exeext conftest.$ac_ext
26028
26029 CFLAGS=$save_CFLAGS
26030 LIBS="$save_LIBS"
26031 fi
26032
26033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
26034 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
26035 libp_link=""
26036 libsm_ice_link=""
26037 libs_found=0
26038 for libp in "" " -lXp"; do
26039 if test "$libs_found" = 0; then
26040 for libsm_ice in "" " -lSM -lICE"; do
26041 if test "$libs_found" = 0; then
26042 save_LIBS="$LIBS"
26043 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26044 save_CFLAGS=$CFLAGS
26045 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26046
26047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26048 /* end confdefs.h. */
26049
26050 #include <Xm/Xm.h>
26051 #include <Xm/List.h>
26052
26053 int
26054 main ()
26055 {
26056
26057 XmString string = NULL;
26058 Widget w = NULL;
26059 int position = 0;
26060 XmListAddItem(w, string, position);
26061
26062 ;
26063 return 0;
26064 }
26065 _ACEOF
26066 if ac_fn_c_try_link "$LINENO"; then :
26067
26068 libp_link="$libp"
26069 libsm_ice_link="$libsm_ice"
26070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
26071 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26072 libs_found=1
26073
26074 fi
26075 rm -f core conftest.err conftest.$ac_objext \
26076 conftest$ac_exeext conftest.$ac_ext
26077
26078 LIBS="$save_LIBS"
26079 CFLAGS=$save_CFLAGS
26080 fi
26081 done
26082 fi
26083 done
26084
26085 if test "$libs_found" = 0; then
26086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26087 $as_echo "can't find the right libraries" >&6; }
26088 as_fn_error $? "can't link a simple motif program" "$LINENO" 5
26089 fi
26090
26091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26092 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26093 if ${ac_cv_lib_Sgm_SgCreateList+:} false; then :
26094 $as_echo_n "(cached) " >&6
26095 else
26096 ac_check_lib_save_LIBS=$LIBS
26097 LIBS="-lSgm $LIBS"
26098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26099 /* end confdefs.h. */
26100
26101 /* Override any GCC internal prototype to avoid an error.
26102 Use char because int might match the return type of a GCC
26103 builtin and then its argument prototype would still apply. */
26104 #ifdef __cplusplus
26105 extern "C"
26106 #endif
26107 char SgCreateList ();
26108 int
26109 main ()
26110 {
26111 return SgCreateList ();
26112 ;
26113 return 0;
26114 }
26115 _ACEOF
26116 if ac_fn_c_try_link "$LINENO"; then :
26117 ac_cv_lib_Sgm_SgCreateList=yes
26118 else
26119 ac_cv_lib_Sgm_SgCreateList=no
26120 fi
26121 rm -f core conftest.err conftest.$ac_objext \
26122 conftest$ac_exeext conftest.$ac_ext
26123 LIBS=$ac_check_lib_save_LIBS
26124 fi
26125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26126 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26127 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes; then :
26128 libsgm_link=" -lSgm"
26129 fi
26130
26131
26132 save_CFLAGS=$CFLAGS
26133 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26134
26135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26136 $as_echo_n "checking for Motif 2... " >&6; }
26137 if ${wx_cv_lib_motif2+:} false; then :
26138 $as_echo_n "(cached) " >&6
26139 else
26140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26141 /* end confdefs.h. */
26142
26143 #include <Xm/Xm.h>
26144
26145 int
26146 main ()
26147 {
26148
26149 #if XmVersion < 2000
26150 Not Motif 2
26151 #endif
26152
26153 ;
26154 return 0;
26155 }
26156 _ACEOF
26157 if ac_fn_c_try_compile "$LINENO"; then :
26158 wx_cv_lib_motif2="yes"
26159 else
26160 wx_cv_lib_motif2="no"
26161 fi
26162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26163 fi
26164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26165 $as_echo "$wx_cv_lib_motif2" >&6; }
26166 if test "$wx_cv_lib_motif2" = "yes"; then
26167 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26168
26169 else
26170 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26171
26172 fi
26173
26174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26175 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26176 if ${wx_cv_lib_lesstif+:} false; then :
26177 $as_echo_n "(cached) " >&6
26178 else
26179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26180 /* end confdefs.h. */
26181
26182 #include <Xm/Xm.h>
26183
26184 int
26185 main ()
26186 {
26187
26188 #if !defined(LesstifVersion) || LesstifVersion <= 0
26189 Not Lesstif
26190 #endif
26191
26192 ;
26193 return 0;
26194 }
26195 _ACEOF
26196 if ac_fn_c_try_compile "$LINENO"; then :
26197 wx_cv_lib_lesstif="yes"
26198 else
26199 wx_cv_lib_lesstif="no"
26200 fi
26201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26202
26203 fi
26204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26205 $as_echo "$wx_cv_lib_lesstif" >&6; }
26206 if test "$wx_cv_lib_lesstif" = "yes"; then
26207 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26208
26209 else
26210 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26211
26212 fi
26213
26214 CFLAGS=$save_CFLAGS
26215
26216 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26217 TOOLKIT=MOTIF
26218 GUIDIST=MOTIF_DIST
26219 fi
26220
26221 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26222 if test "$wxUSE_LIBXPM" = "sys"; then
26223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26224 $as_echo_n "checking for Xpm library... " >&6; }
26225
26226 ac_find_libraries=
26227 for ac_dir in $SEARCH_LIB
26228 do
26229 for ac_extension in a so sl dylib dll.a; do
26230 if test -f "$ac_dir/libXpm.$ac_extension"; then
26231 ac_find_libraries=$ac_dir
26232 break 2
26233 fi
26234 done
26235 done
26236
26237 if test "$ac_find_libraries" != "" ; then
26238
26239 if test "$ac_find_libraries" = "default location"; then
26240 ac_path_to_link=""
26241 else
26242 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26243 result=$?
26244 if test $result = 0; then
26245 ac_path_to_link=""
26246 else
26247 ac_path_to_link=" -L$ac_find_libraries"
26248 fi
26249 fi
26250
26251 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26253 $as_echo "found in $ac_find_libraries" >&6; }
26254
26255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26256 $as_echo_n "checking for X11/xpm.h... " >&6; }
26257 if ${wx_cv_x11_xpm_h+:} false; then :
26258 $as_echo_n "(cached) " >&6
26259 else
26260
26261 save_CFLAGS=$CFLAGS
26262 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26263
26264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26265 /* end confdefs.h. */
26266
26267 #include <X11/xpm.h>
26268
26269 int
26270 main ()
26271 {
26272
26273 int version;
26274 version = XpmLibraryVersion();
26275
26276 ;
26277 return 0;
26278 }
26279 _ACEOF
26280 if ac_fn_c_try_compile "$LINENO"; then :
26281 wx_cv_x11_xpm_h=yes
26282 else
26283 wx_cv_x11_xpm_h=no
26284
26285 fi
26286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26287
26288 CFLAGS=$save_CFLAGS
26289
26290
26291 fi
26292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26293 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26294
26295 if test $wx_cv_x11_xpm_h = "yes"; then
26296 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26297 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26298
26299 else
26300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26301 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26302 fi
26303 fi
26304
26305 fi
26306
26307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26308 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26309 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
26310 $as_echo_n "(cached) " >&6
26311 else
26312 ac_check_lib_save_LIBS=$LIBS
26313 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26315 /* end confdefs.h. */
26316
26317 /* Override any GCC internal prototype to avoid an error.
26318 Use char because int might match the return type of a GCC
26319 builtin and then its argument prototype would still apply. */
26320 #ifdef __cplusplus
26321 extern "C"
26322 #endif
26323 char XShapeQueryExtension ();
26324 int
26325 main ()
26326 {
26327 return XShapeQueryExtension ();
26328 ;
26329 return 0;
26330 }
26331 _ACEOF
26332 if ac_fn_c_try_link "$LINENO"; then :
26333 ac_cv_lib_Xext_XShapeQueryExtension=yes
26334 else
26335 ac_cv_lib_Xext_XShapeQueryExtension=no
26336 fi
26337 rm -f core conftest.err conftest.$ac_objext \
26338 conftest$ac_exeext conftest.$ac_ext
26339 LIBS=$ac_check_lib_save_LIBS
26340 fi
26341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26342 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26343 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
26344
26345 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26346 wxHAVE_XEXT_LIB=1
26347
26348 fi
26349
26350
26351 if test "$wxHAVE_XEXT_LIB" = 1; then
26352 save_CFLAGS="$CFLAGS"
26353 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26354
26355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26356 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26358 /* end confdefs.h. */
26359
26360 #include <X11/Xlib.h>
26361 #include <X11/extensions/shape.h>
26362
26363 int
26364 main ()
26365 {
26366
26367 int dummy1, dummy2;
26368 XShapeQueryExtension((Display*)NULL,
26369 (int*)NULL, (int*)NULL);
26370
26371 ;
26372 return 0;
26373 }
26374 _ACEOF
26375 if ac_fn_c_try_compile "$LINENO"; then :
26376
26377 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26378
26379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26380 $as_echo "found" >&6; }
26381
26382 else
26383
26384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26385 $as_echo "not found" >&6; }
26386
26387 fi
26388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26389 CFLAGS="$save_CFLAGS"
26390
26391 fi
26392 fi
26393
26394 if test "$wxUSE_OSX_CARBON" = 1; then
26395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26396 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26397 if test "$GCC" = yes; then
26398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26399 $as_echo "gcc" >&6; }
26400 CPPFLAGS_PASCAL="-fpascal-strings"
26401 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26403 $as_echo "xlc" >&6; }
26404 CPPFLAGS_PASCAL="-qmacpstr"
26405 else
26406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26407 $as_echo "none" >&6; }
26408 fi
26409
26410 if test "x$wxUSE_UNIX" = "xyes"; then
26411 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26412 else
26413 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26414 fi
26415
26416 TOOLKIT=OSX_CARBON
26417 GUIDIST=OSX_CARBON_DIST
26418 WXBASEPORT="_carbon"
26419
26420 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26421 fi
26422
26423 if test "$wxUSE_OSX_COCOA" = 1; then
26424 TOOLKIT=OSX_COCOA
26425 GUIDIST=OSX_COCOA_DIST
26426
26427 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26428 fi
26429
26430 if test "$wxUSE_OSX_IPHONE" = 1; then
26431 TOOLKIT=OSX_IPHONE
26432 fi
26433
26434 if test "$wxUSE_OLD_COCOA" = 1; then
26435 TOOLKIT=COCOA
26436 GUIDIST=COCOA_DIST
26437 fi
26438
26439 if test "$wxUSE_PM" = 1; then
26440 TOOLKIT=PM
26441 GUIDIST=PM_DIST
26442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26443 $as_echo_n "checking for type SPBCDATA... " >&6; }
26444 if ${wx_cv_spbcdata+:} false; then :
26445 $as_echo_n "(cached) " >&6
26446 else
26447
26448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26449 /* end confdefs.h. */
26450
26451 #define INCL_PM
26452 #include <os2.h>
26453
26454 int
26455 main ()
26456 {
26457
26458 SPBCDATA test;
26459
26460 ;
26461 return 0;
26462 }
26463 _ACEOF
26464 if ac_fn_c_try_compile "$LINENO"; then :
26465 wx_cv_spbcdata=yes
26466 else
26467 wx_cv_spbcdata=no
26468
26469 fi
26470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26471
26472
26473 fi
26474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26475 $as_echo "$wx_cv_spbcdata" >&6; }
26476
26477 if test $wx_cv_spbcdata = "yes"; then
26478 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26479
26480 fi
26481 fi
26482
26483 if test "$TOOLKIT" = "PM" ; then
26484 TOOLKIT_DIR="os2"
26485 else
26486 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26487 fi
26488
26489 if test "$wxUSE_UNIVERSAL" = "yes"; then
26490 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26491 WIDGET_SET=univ
26492 fi
26493
26494 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26495 DISTDIR="wx\$(TOOLKIT)"
26496 else
26497 USE_GUI=0
26498
26499 TOOLKIT_DIR="base"
26500
26501 if test "$USE_WIN32" = 1 ; then
26502 TOOLKIT="MSW"
26503 fi
26504
26505 GUIDIST="BASE_DIST"
26506 DISTDIR="wxBase"
26507 fi
26508
26509
26510
26511 if test "$wxUSE_GUI" = "yes"; then
26512 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26513 for ac_header in X11/Xlib.h
26514 do :
26515 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26516 "
26517 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
26518 cat >>confdefs.h <<_ACEOF
26519 #define HAVE_X11_XLIB_H 1
26520 _ACEOF
26521
26522 fi
26523
26524 done
26525
26526 for ac_header in X11/XKBlib.h
26527 do :
26528 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26529 #if HAVE_X11_XLIB_H
26530 #include <X11/Xlib.h>
26531 #endif
26532
26533 "
26534 if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
26535 cat >>confdefs.h <<_ACEOF
26536 #define HAVE_X11_XKBLIB_H 1
26537 _ACEOF
26538
26539 fi
26540
26541 done
26542
26543 fi
26544 fi
26545
26546
26547
26548 USE_XINERAMA=0
26549 if test "$wxUSE_DISPLAY" = "yes"; then
26550 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26551
26552 ac_find_libraries=
26553
26554 fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
26555
26556
26557 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26558 if test -n "$ac_tool_prefix"; then
26559 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26560 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26562 $as_echo_n "checking for $ac_word... " >&6; }
26563 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26564 $as_echo_n "(cached) " >&6
26565 else
26566 case $PKG_CONFIG in
26567 [\\/]* | ?:[\\/]*)
26568 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26569 ;;
26570 *)
26571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26572 for as_dir in $PATH
26573 do
26574 IFS=$as_save_IFS
26575 test -z "$as_dir" && as_dir=.
26576 for ac_exec_ext in '' $ac_executable_extensions; do
26577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26578 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26580 break 2
26581 fi
26582 done
26583 done
26584 IFS=$as_save_IFS
26585
26586 ;;
26587 esac
26588 fi
26589 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26590 if test -n "$PKG_CONFIG"; then
26591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26592 $as_echo "$PKG_CONFIG" >&6; }
26593 else
26594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26595 $as_echo "no" >&6; }
26596 fi
26597
26598
26599 fi
26600 if test -z "$ac_cv_path_PKG_CONFIG"; then
26601 ac_pt_PKG_CONFIG=$PKG_CONFIG
26602 # Extract the first word of "pkg-config", so it can be a program name with args.
26603 set dummy pkg-config; ac_word=$2
26604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26605 $as_echo_n "checking for $ac_word... " >&6; }
26606 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26607 $as_echo_n "(cached) " >&6
26608 else
26609 case $ac_pt_PKG_CONFIG in
26610 [\\/]* | ?:[\\/]*)
26611 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26612 ;;
26613 *)
26614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26615 for as_dir in $PATH
26616 do
26617 IFS=$as_save_IFS
26618 test -z "$as_dir" && as_dir=.
26619 for ac_exec_ext in '' $ac_executable_extensions; do
26620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26621 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26623 break 2
26624 fi
26625 done
26626 done
26627 IFS=$as_save_IFS
26628
26629 ;;
26630 esac
26631 fi
26632 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26633 if test -n "$ac_pt_PKG_CONFIG"; then
26634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26635 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26636 else
26637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26638 $as_echo "no" >&6; }
26639 fi
26640
26641 if test "x$ac_pt_PKG_CONFIG" = x; then
26642 PKG_CONFIG=""
26643 else
26644 case $cross_compiling:$ac_tool_warned in
26645 yes:)
26646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26648 ac_tool_warned=yes ;;
26649 esac
26650 PKG_CONFIG=$ac_pt_PKG_CONFIG
26651 fi
26652 else
26653 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26654 fi
26655
26656 fi
26657 if test -n "$PKG_CONFIG"; then
26658 _pkg_min_version=0.9.0
26659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26660 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26661 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26663 $as_echo "yes" >&6; }
26664 else
26665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26666 $as_echo "no" >&6; }
26667 PKG_CONFIG=""
26668 fi
26669
26670 fi 6> /dev/null
26671
26672 pkg_failed=no
26673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26674 $as_echo_n "checking for Xinerama... " >&6; }
26675
26676 if test -n "$PKG_CONFIG"; then
26677 if test -n "$Xinerama_CFLAGS"; then
26678 pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
26679 else
26680 if test -n "$PKG_CONFIG" && \
26681 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26682 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26683 ac_status=$?
26684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26685 test $ac_status = 0; }; then
26686 pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26687 else
26688 pkg_failed=yes
26689 fi
26690 fi
26691 else
26692 pkg_failed=untried
26693 fi
26694 if test -n "$PKG_CONFIG"; then
26695 if test -n "$Xinerama_LIBS"; then
26696 pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
26697 else
26698 if test -n "$PKG_CONFIG" && \
26699 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26700 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26701 ac_status=$?
26702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26703 test $ac_status = 0; }; then
26704 pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26705 else
26706 pkg_failed=yes
26707 fi
26708 fi
26709 else
26710 pkg_failed=untried
26711 fi
26712
26713
26714
26715 if test $pkg_failed = yes; then
26716
26717 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26718 _pkg_short_errors_supported=yes
26719 else
26720 _pkg_short_errors_supported=no
26721 fi
26722 if test $_pkg_short_errors_supported = yes; then
26723 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26724 else
26725 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26726 fi
26727 # Put the nasty error message in config.log where it belongs
26728 echo "$Xinerama_PKG_ERRORS" >&5
26729
26730
26731 if test "x$ac_find_libraries" = "x"; then
26732 if test "xXineramaQueryScreens" != "x"; then
26733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26734 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26735 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26736 $as_echo_n "(cached) " >&6
26737 else
26738 ac_check_lib_save_LIBS=$LIBS
26739 LIBS="-lXinerama $LIBS"
26740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26741 /* end confdefs.h. */
26742
26743 /* Override any GCC internal prototype to avoid an error.
26744 Use char because int might match the return type of a GCC
26745 builtin and then its argument prototype would still apply. */
26746 #ifdef __cplusplus
26747 extern "C"
26748 #endif
26749 char XineramaQueryScreens ();
26750 int
26751 main ()
26752 {
26753 return XineramaQueryScreens ();
26754 ;
26755 return 0;
26756 }
26757 _ACEOF
26758 if ac_fn_c_try_link "$LINENO"; then :
26759 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26760 else
26761 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26762 fi
26763 rm -f core conftest.err conftest.$ac_objext \
26764 conftest$ac_exeext conftest.$ac_ext
26765 LIBS=$ac_check_lib_save_LIBS
26766 fi
26767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26768 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26769 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26770 ac_find_libraries="std"
26771 fi
26772
26773 fi
26774 fi
26775
26776 if test "x$ac_find_libraries" = "x"; then
26777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26778 $as_echo_n "checking elsewhere... " >&6; }
26779
26780 ac_find_libraries=
26781 for ac_dir in $SEARCH_LIB
26782 do
26783 for ac_extension in a so sl dylib dll.a; do
26784 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26785 ac_find_libraries=$ac_dir
26786 break 2
26787 fi
26788 done
26789 done
26790
26791 if test "x$ac_find_libraries" != "x"; then
26792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26793 $as_echo "yes" >&6; }
26794 else
26795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26796 $as_echo "no" >&6; }
26797 fi
26798 fi
26799
26800 elif test $pkg_failed = untried; then
26801
26802 if test "x$ac_find_libraries" = "x"; then
26803 if test "xXineramaQueryScreens" != "x"; then
26804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26805 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26806 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26807 $as_echo_n "(cached) " >&6
26808 else
26809 ac_check_lib_save_LIBS=$LIBS
26810 LIBS="-lXinerama $LIBS"
26811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26812 /* end confdefs.h. */
26813
26814 /* Override any GCC internal prototype to avoid an error.
26815 Use char because int might match the return type of a GCC
26816 builtin and then its argument prototype would still apply. */
26817 #ifdef __cplusplus
26818 extern "C"
26819 #endif
26820 char XineramaQueryScreens ();
26821 int
26822 main ()
26823 {
26824 return XineramaQueryScreens ();
26825 ;
26826 return 0;
26827 }
26828 _ACEOF
26829 if ac_fn_c_try_link "$LINENO"; then :
26830 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26831 else
26832 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26833 fi
26834 rm -f core conftest.err conftest.$ac_objext \
26835 conftest$ac_exeext conftest.$ac_ext
26836 LIBS=$ac_check_lib_save_LIBS
26837 fi
26838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26839 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26840 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26841 ac_find_libraries="std"
26842 fi
26843
26844 fi
26845 fi
26846
26847 if test "x$ac_find_libraries" = "x"; then
26848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26849 $as_echo_n "checking elsewhere... " >&6; }
26850
26851 ac_find_libraries=
26852 for ac_dir in $SEARCH_LIB
26853 do
26854 for ac_extension in a so sl dylib dll.a; do
26855 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26856 ac_find_libraries=$ac_dir
26857 break 2
26858 fi
26859 done
26860 done
26861
26862 if test "x$ac_find_libraries" != "x"; then
26863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26864 $as_echo "yes" >&6; }
26865 else
26866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26867 $as_echo "no" >&6; }
26868 fi
26869 fi
26870
26871 else
26872 Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
26873 Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
26874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26875 $as_echo "yes" >&6; }
26876
26877 ac_find_libraries="std"
26878
26879 eval ac_find_cflags=\$Xinerama_CFLAGS
26880 eval fl_libs=\$Xinerama_LIBS
26881
26882 for fl_path in $fl_libs
26883 do
26884 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26885 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
26886 fi
26887 done
26888
26889 fi
26890
26891 if test "$ac_find_libraries" != "" ; then
26892 if test "$ac_find_libraries" != "std" ; then
26893
26894 if test "$ac_find_libraries" = "default location"; then
26895 ac_path_to_link=""
26896 else
26897 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26898 result=$?
26899 if test $result = 0; then
26900 ac_path_to_link=""
26901 else
26902 ac_path_to_link=" -L$ac_find_libraries"
26903 fi
26904 fi
26905
26906 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26907 LDFLAGS="$LDFLAGS $ac_path_to_link"
26908 fi
26909 fi
26910 USE_XINERAMA=1
26911 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26912 else
26913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26914 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26915 wxUSE_DISPLAY="no"
26916 fi
26917 elif test "$wxUSE_MSW" = 1; then
26918 ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26919 "
26920 if test "x$ac_cv_header_ddraw_h" = xyes; then :
26921
26922 fi
26923
26924
26925 fi
26926 fi
26927
26928 if test "$wxUSE_DISPLAY" = "yes"; then
26929 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26930
26931 ac_find_libraries=
26932
26933 fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26934
26935
26936 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26937 if test -n "$ac_tool_prefix"; then
26938 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26939 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26941 $as_echo_n "checking for $ac_word... " >&6; }
26942 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26943 $as_echo_n "(cached) " >&6
26944 else
26945 case $PKG_CONFIG in
26946 [\\/]* | ?:[\\/]*)
26947 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26948 ;;
26949 *)
26950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26951 for as_dir in $PATH
26952 do
26953 IFS=$as_save_IFS
26954 test -z "$as_dir" && as_dir=.
26955 for ac_exec_ext in '' $ac_executable_extensions; do
26956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26957 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26959 break 2
26960 fi
26961 done
26962 done
26963 IFS=$as_save_IFS
26964
26965 ;;
26966 esac
26967 fi
26968 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26969 if test -n "$PKG_CONFIG"; then
26970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26971 $as_echo "$PKG_CONFIG" >&6; }
26972 else
26973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26974 $as_echo "no" >&6; }
26975 fi
26976
26977
26978 fi
26979 if test -z "$ac_cv_path_PKG_CONFIG"; then
26980 ac_pt_PKG_CONFIG=$PKG_CONFIG
26981 # Extract the first word of "pkg-config", so it can be a program name with args.
26982 set dummy pkg-config; ac_word=$2
26983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26984 $as_echo_n "checking for $ac_word... " >&6; }
26985 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26986 $as_echo_n "(cached) " >&6
26987 else
26988 case $ac_pt_PKG_CONFIG in
26989 [\\/]* | ?:[\\/]*)
26990 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26991 ;;
26992 *)
26993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26994 for as_dir in $PATH
26995 do
26996 IFS=$as_save_IFS
26997 test -z "$as_dir" && as_dir=.
26998 for ac_exec_ext in '' $ac_executable_extensions; do
26999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27000 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27002 break 2
27003 fi
27004 done
27005 done
27006 IFS=$as_save_IFS
27007
27008 ;;
27009 esac
27010 fi
27011 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27012 if test -n "$ac_pt_PKG_CONFIG"; then
27013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27014 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27015 else
27016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27017 $as_echo "no" >&6; }
27018 fi
27019
27020 if test "x$ac_pt_PKG_CONFIG" = x; then
27021 PKG_CONFIG=""
27022 else
27023 case $cross_compiling:$ac_tool_warned in
27024 yes:)
27025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27027 ac_tool_warned=yes ;;
27028 esac
27029 PKG_CONFIG=$ac_pt_PKG_CONFIG
27030 fi
27031 else
27032 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27033 fi
27034
27035 fi
27036 if test -n "$PKG_CONFIG"; then
27037 _pkg_min_version=0.9.0
27038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27039 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27040 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27042 $as_echo "yes" >&6; }
27043 else
27044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27045 $as_echo "no" >&6; }
27046 PKG_CONFIG=""
27047 fi
27048
27049 fi 6> /dev/null
27050
27051 pkg_failed=no
27052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
27053 $as_echo_n "checking for Xxf86vm... " >&6; }
27054
27055 if test -n "$PKG_CONFIG"; then
27056 if test -n "$Xxf86vm_CFLAGS"; then
27057 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
27058 else
27059 if test -n "$PKG_CONFIG" && \
27060 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27061 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27062 ac_status=$?
27063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27064 test $ac_status = 0; }; then
27065 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27066 else
27067 pkg_failed=yes
27068 fi
27069 fi
27070 else
27071 pkg_failed=untried
27072 fi
27073 if test -n "$PKG_CONFIG"; then
27074 if test -n "$Xxf86vm_LIBS"; then
27075 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
27076 else
27077 if test -n "$PKG_CONFIG" && \
27078 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27079 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27080 ac_status=$?
27081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27082 test $ac_status = 0; }; then
27083 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27084 else
27085 pkg_failed=yes
27086 fi
27087 fi
27088 else
27089 pkg_failed=untried
27090 fi
27091
27092
27093
27094 if test $pkg_failed = yes; then
27095
27096 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27097 _pkg_short_errors_supported=yes
27098 else
27099 _pkg_short_errors_supported=no
27100 fi
27101 if test $_pkg_short_errors_supported = yes; then
27102 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27103 else
27104 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27105 fi
27106 # Put the nasty error message in config.log where it belongs
27107 echo "$Xxf86vm_PKG_ERRORS" >&5
27108
27109
27110 if test "x$ac_find_libraries" = "x"; then
27111 if test "xXF86VidModeQueryExtension" != "x"; then
27112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27113 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27114 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27115 $as_echo_n "(cached) " >&6
27116 else
27117 ac_check_lib_save_LIBS=$LIBS
27118 LIBS="-lXxf86vm $LIBS"
27119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27120 /* end confdefs.h. */
27121
27122 /* Override any GCC internal prototype to avoid an error.
27123 Use char because int might match the return type of a GCC
27124 builtin and then its argument prototype would still apply. */
27125 #ifdef __cplusplus
27126 extern "C"
27127 #endif
27128 char XF86VidModeQueryExtension ();
27129 int
27130 main ()
27131 {
27132 return XF86VidModeQueryExtension ();
27133 ;
27134 return 0;
27135 }
27136 _ACEOF
27137 if ac_fn_c_try_link "$LINENO"; then :
27138 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27139 else
27140 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27141 fi
27142 rm -f core conftest.err conftest.$ac_objext \
27143 conftest$ac_exeext conftest.$ac_ext
27144 LIBS=$ac_check_lib_save_LIBS
27145 fi
27146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27147 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27148 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27149 ac_find_libraries="std"
27150 fi
27151
27152 fi
27153 fi
27154
27155 if test "x$ac_find_libraries" = "x"; then
27156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27157 $as_echo_n "checking elsewhere... " >&6; }
27158
27159 ac_find_libraries=
27160 for ac_dir in $SEARCH_LIB
27161 do
27162 for ac_extension in a so sl dylib dll.a; do
27163 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27164 ac_find_libraries=$ac_dir
27165 break 2
27166 fi
27167 done
27168 done
27169
27170 if test "x$ac_find_libraries" != "x"; then
27171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27172 $as_echo "yes" >&6; }
27173 else
27174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27175 $as_echo "no" >&6; }
27176 fi
27177 fi
27178
27179 elif test $pkg_failed = untried; then
27180
27181 if test "x$ac_find_libraries" = "x"; then
27182 if test "xXF86VidModeQueryExtension" != "x"; then
27183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27184 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27185 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27186 $as_echo_n "(cached) " >&6
27187 else
27188 ac_check_lib_save_LIBS=$LIBS
27189 LIBS="-lXxf86vm $LIBS"
27190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27191 /* end confdefs.h. */
27192
27193 /* Override any GCC internal prototype to avoid an error.
27194 Use char because int might match the return type of a GCC
27195 builtin and then its argument prototype would still apply. */
27196 #ifdef __cplusplus
27197 extern "C"
27198 #endif
27199 char XF86VidModeQueryExtension ();
27200 int
27201 main ()
27202 {
27203 return XF86VidModeQueryExtension ();
27204 ;
27205 return 0;
27206 }
27207 _ACEOF
27208 if ac_fn_c_try_link "$LINENO"; then :
27209 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27210 else
27211 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27212 fi
27213 rm -f core conftest.err conftest.$ac_objext \
27214 conftest$ac_exeext conftest.$ac_ext
27215 LIBS=$ac_check_lib_save_LIBS
27216 fi
27217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27218 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27219 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27220 ac_find_libraries="std"
27221 fi
27222
27223 fi
27224 fi
27225
27226 if test "x$ac_find_libraries" = "x"; then
27227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27228 $as_echo_n "checking elsewhere... " >&6; }
27229
27230 ac_find_libraries=
27231 for ac_dir in $SEARCH_LIB
27232 do
27233 for ac_extension in a so sl dylib dll.a; do
27234 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27235 ac_find_libraries=$ac_dir
27236 break 2
27237 fi
27238 done
27239 done
27240
27241 if test "x$ac_find_libraries" != "x"; then
27242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27243 $as_echo "yes" >&6; }
27244 else
27245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27246 $as_echo "no" >&6; }
27247 fi
27248 fi
27249
27250 else
27251 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
27252 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
27253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27254 $as_echo "yes" >&6; }
27255
27256 ac_find_libraries="std"
27257
27258 eval ac_find_cflags=\$Xxf86vm_CFLAGS
27259 eval fl_libs=\$Xxf86vm_LIBS
27260
27261 for fl_path in $fl_libs
27262 do
27263 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27264 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27265 fi
27266 done
27267
27268 fi
27269
27270 if test "$ac_find_libraries" != "" ; then
27271 for ac_header in X11/extensions/xf86vmode.h
27272 do :
27273 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27274 #if HAVE_X11_XLIB_H
27275 #include <X11/Xlib.h>
27276 #endif
27277
27278 "
27279 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes; then :
27280 cat >>confdefs.h <<_ACEOF
27281 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27282 _ACEOF
27283
27284 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27285
27286 fi
27287
27288 done
27289
27290 fi
27291 fi
27292 fi
27293
27294 if test "$wxUSE_DETECT_SM" = "yes"; then
27295 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27296
27297 ac_find_libraries=
27298
27299 fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
27300
27301
27302 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27303 if test -n "$ac_tool_prefix"; then
27304 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27305 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27307 $as_echo_n "checking for $ac_word... " >&6; }
27308 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27309 $as_echo_n "(cached) " >&6
27310 else
27311 case $PKG_CONFIG in
27312 [\\/]* | ?:[\\/]*)
27313 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27314 ;;
27315 *)
27316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27317 for as_dir in $PATH
27318 do
27319 IFS=$as_save_IFS
27320 test -z "$as_dir" && as_dir=.
27321 for ac_exec_ext in '' $ac_executable_extensions; do
27322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27323 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27325 break 2
27326 fi
27327 done
27328 done
27329 IFS=$as_save_IFS
27330
27331 ;;
27332 esac
27333 fi
27334 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27335 if test -n "$PKG_CONFIG"; then
27336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27337 $as_echo "$PKG_CONFIG" >&6; }
27338 else
27339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27340 $as_echo "no" >&6; }
27341 fi
27342
27343
27344 fi
27345 if test -z "$ac_cv_path_PKG_CONFIG"; then
27346 ac_pt_PKG_CONFIG=$PKG_CONFIG
27347 # Extract the first word of "pkg-config", so it can be a program name with args.
27348 set dummy pkg-config; ac_word=$2
27349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27350 $as_echo_n "checking for $ac_word... " >&6; }
27351 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27352 $as_echo_n "(cached) " >&6
27353 else
27354 case $ac_pt_PKG_CONFIG in
27355 [\\/]* | ?:[\\/]*)
27356 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27357 ;;
27358 *)
27359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27360 for as_dir in $PATH
27361 do
27362 IFS=$as_save_IFS
27363 test -z "$as_dir" && as_dir=.
27364 for ac_exec_ext in '' $ac_executable_extensions; do
27365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27366 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27368 break 2
27369 fi
27370 done
27371 done
27372 IFS=$as_save_IFS
27373
27374 ;;
27375 esac
27376 fi
27377 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27378 if test -n "$ac_pt_PKG_CONFIG"; then
27379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27380 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27381 else
27382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27383 $as_echo "no" >&6; }
27384 fi
27385
27386 if test "x$ac_pt_PKG_CONFIG" = x; then
27387 PKG_CONFIG=""
27388 else
27389 case $cross_compiling:$ac_tool_warned in
27390 yes:)
27391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27392 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27393 ac_tool_warned=yes ;;
27394 esac
27395 PKG_CONFIG=$ac_pt_PKG_CONFIG
27396 fi
27397 else
27398 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27399 fi
27400
27401 fi
27402 if test -n "$PKG_CONFIG"; then
27403 _pkg_min_version=0.9.0
27404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27405 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27406 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27408 $as_echo "yes" >&6; }
27409 else
27410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27411 $as_echo "no" >&6; }
27412 PKG_CONFIG=""
27413 fi
27414
27415 fi 6> /dev/null
27416
27417 pkg_failed=no
27418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27419 $as_echo_n "checking for SM... " >&6; }
27420
27421 if test -n "$PKG_CONFIG"; then
27422 if test -n "$SM_CFLAGS"; then
27423 pkg_cv_SM_CFLAGS="$SM_CFLAGS"
27424 else
27425 if test -n "$PKG_CONFIG" && \
27426 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27427 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27428 ac_status=$?
27429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27430 test $ac_status = 0; }; then
27431 pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27432 else
27433 pkg_failed=yes
27434 fi
27435 fi
27436 else
27437 pkg_failed=untried
27438 fi
27439 if test -n "$PKG_CONFIG"; then
27440 if test -n "$SM_LIBS"; then
27441 pkg_cv_SM_LIBS="$SM_LIBS"
27442 else
27443 if test -n "$PKG_CONFIG" && \
27444 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27445 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27446 ac_status=$?
27447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27448 test $ac_status = 0; }; then
27449 pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27450 else
27451 pkg_failed=yes
27452 fi
27453 fi
27454 else
27455 pkg_failed=untried
27456 fi
27457
27458
27459
27460 if test $pkg_failed = yes; then
27461
27462 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27463 _pkg_short_errors_supported=yes
27464 else
27465 _pkg_short_errors_supported=no
27466 fi
27467 if test $_pkg_short_errors_supported = yes; then
27468 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27469 else
27470 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27471 fi
27472 # Put the nasty error message in config.log where it belongs
27473 echo "$SM_PKG_ERRORS" >&5
27474
27475
27476 if test "x$ac_find_libraries" = "x"; then
27477 if test "xSmcOpenConnection" != "x"; then
27478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27479 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27480 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27481 $as_echo_n "(cached) " >&6
27482 else
27483 ac_check_lib_save_LIBS=$LIBS
27484 LIBS="-lSM $LIBS"
27485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27486 /* end confdefs.h. */
27487
27488 /* Override any GCC internal prototype to avoid an error.
27489 Use char because int might match the return type of a GCC
27490 builtin and then its argument prototype would still apply. */
27491 #ifdef __cplusplus
27492 extern "C"
27493 #endif
27494 char SmcOpenConnection ();
27495 int
27496 main ()
27497 {
27498 return SmcOpenConnection ();
27499 ;
27500 return 0;
27501 }
27502 _ACEOF
27503 if ac_fn_c_try_link "$LINENO"; then :
27504 ac_cv_lib_SM_SmcOpenConnection=yes
27505 else
27506 ac_cv_lib_SM_SmcOpenConnection=no
27507 fi
27508 rm -f core conftest.err conftest.$ac_objext \
27509 conftest$ac_exeext conftest.$ac_ext
27510 LIBS=$ac_check_lib_save_LIBS
27511 fi
27512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27513 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27514 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27515 ac_find_libraries="std"
27516 fi
27517
27518 fi
27519 fi
27520
27521 if test "x$ac_find_libraries" = "x"; then
27522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27523 $as_echo_n "checking elsewhere... " >&6; }
27524
27525 ac_find_libraries=
27526 for ac_dir in $SEARCH_LIB
27527 do
27528 for ac_extension in a so sl dylib dll.a; do
27529 if test -f "$ac_dir/libSM.$ac_extension"; then
27530 ac_find_libraries=$ac_dir
27531 break 2
27532 fi
27533 done
27534 done
27535
27536 if test "x$ac_find_libraries" != "x"; then
27537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27538 $as_echo "yes" >&6; }
27539 else
27540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27541 $as_echo "no" >&6; }
27542 fi
27543 fi
27544
27545 elif test $pkg_failed = untried; then
27546
27547 if test "x$ac_find_libraries" = "x"; then
27548 if test "xSmcOpenConnection" != "x"; then
27549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27550 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27551 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27552 $as_echo_n "(cached) " >&6
27553 else
27554 ac_check_lib_save_LIBS=$LIBS
27555 LIBS="-lSM $LIBS"
27556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27557 /* end confdefs.h. */
27558
27559 /* Override any GCC internal prototype to avoid an error.
27560 Use char because int might match the return type of a GCC
27561 builtin and then its argument prototype would still apply. */
27562 #ifdef __cplusplus
27563 extern "C"
27564 #endif
27565 char SmcOpenConnection ();
27566 int
27567 main ()
27568 {
27569 return SmcOpenConnection ();
27570 ;
27571 return 0;
27572 }
27573 _ACEOF
27574 if ac_fn_c_try_link "$LINENO"; then :
27575 ac_cv_lib_SM_SmcOpenConnection=yes
27576 else
27577 ac_cv_lib_SM_SmcOpenConnection=no
27578 fi
27579 rm -f core conftest.err conftest.$ac_objext \
27580 conftest$ac_exeext conftest.$ac_ext
27581 LIBS=$ac_check_lib_save_LIBS
27582 fi
27583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27584 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27585 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27586 ac_find_libraries="std"
27587 fi
27588
27589 fi
27590 fi
27591
27592 if test "x$ac_find_libraries" = "x"; then
27593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27594 $as_echo_n "checking elsewhere... " >&6; }
27595
27596 ac_find_libraries=
27597 for ac_dir in $SEARCH_LIB
27598 do
27599 for ac_extension in a so sl dylib dll.a; do
27600 if test -f "$ac_dir/libSM.$ac_extension"; then
27601 ac_find_libraries=$ac_dir
27602 break 2
27603 fi
27604 done
27605 done
27606
27607 if test "x$ac_find_libraries" != "x"; then
27608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27609 $as_echo "yes" >&6; }
27610 else
27611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27612 $as_echo "no" >&6; }
27613 fi
27614 fi
27615
27616 else
27617 SM_CFLAGS=$pkg_cv_SM_CFLAGS
27618 SM_LIBS=$pkg_cv_SM_LIBS
27619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27620 $as_echo "yes" >&6; }
27621
27622 ac_find_libraries="std"
27623
27624 eval ac_find_cflags=\$SM_CFLAGS
27625 eval fl_libs=\$SM_LIBS
27626
27627 for fl_path in $fl_libs
27628 do
27629 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27630 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27631 fi
27632 done
27633
27634 fi
27635
27636 if test "$ac_find_libraries" != "" ; then
27637 if test "$ac_find_libraries" != "std" ; then
27638
27639 if test "$ac_find_libraries" = "default location"; then
27640 ac_path_to_link=""
27641 else
27642 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27643 result=$?
27644 if test $result = 0; then
27645 ac_path_to_link=""
27646 else
27647 ac_path_to_link=" -L$ac_find_libraries"
27648 fi
27649 fi
27650
27651 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27652 LDFLAGS="$LDFLAGS $ac_path_to_link"
27653 fi
27654 fi
27655 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
27656 else
27657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27658 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27659 wxUSE_DETECT_SM="no"
27660 fi
27661 else
27662 wxUSE_DETECT_SM="no"
27663 fi
27664 fi
27665
27666
27667
27668 USE_OPENGL=0
27669 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27670
27671
27672 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27673 OPENGL_LIBS="-framework OpenGL -framework AGL"
27674 elif test "$wxUSE_MSW" = 1; then
27675 OPENGL_LIBS="-lopengl32 -lglu32"
27676 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27677
27678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27679 $as_echo_n "checking for OpenGL headers... " >&6; }
27680
27681 ac_find_includes=
27682 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
27683 do
27684 if test -f "$ac_dir/GL/gl.h"; then
27685 ac_find_includes=$ac_dir
27686 break
27687 fi
27688 done
27689
27690 if test "$ac_find_includes" != "" ; then
27691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27692 $as_echo "found in $ac_find_includes" >&6; }
27693
27694 if test "x$ac_find_includes" = "x/usr/include"; then
27695 ac_path_to_include=""
27696 else
27697 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27698 result=$?
27699 if test $result = 0; then
27700 ac_path_to_include=""
27701 else
27702 ac_path_to_include=" -I$ac_find_includes"
27703 fi
27704 fi
27705
27706 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
27707 else
27708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27709 $as_echo "not found" >&6; }
27710 fi
27711
27712 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27713 "
27714 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
27715
27716 ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27717 "
27718 if test "x$ac_cv_header_GL_glu_h" = xyes; then :
27719
27720 found_gl=0
27721
27722
27723 ac_find_libraries=
27724
27725 fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
27726
27727
27728 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27729 if test -n "$ac_tool_prefix"; then
27730 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27731 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27733 $as_echo_n "checking for $ac_word... " >&6; }
27734 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27735 $as_echo_n "(cached) " >&6
27736 else
27737 case $PKG_CONFIG in
27738 [\\/]* | ?:[\\/]*)
27739 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27740 ;;
27741 *)
27742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27743 for as_dir in $PATH
27744 do
27745 IFS=$as_save_IFS
27746 test -z "$as_dir" && as_dir=.
27747 for ac_exec_ext in '' $ac_executable_extensions; do
27748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27749 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27751 break 2
27752 fi
27753 done
27754 done
27755 IFS=$as_save_IFS
27756
27757 ;;
27758 esac
27759 fi
27760 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27761 if test -n "$PKG_CONFIG"; then
27762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27763 $as_echo "$PKG_CONFIG" >&6; }
27764 else
27765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27766 $as_echo "no" >&6; }
27767 fi
27768
27769
27770 fi
27771 if test -z "$ac_cv_path_PKG_CONFIG"; then
27772 ac_pt_PKG_CONFIG=$PKG_CONFIG
27773 # Extract the first word of "pkg-config", so it can be a program name with args.
27774 set dummy pkg-config; ac_word=$2
27775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27776 $as_echo_n "checking for $ac_word... " >&6; }
27777 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27778 $as_echo_n "(cached) " >&6
27779 else
27780 case $ac_pt_PKG_CONFIG in
27781 [\\/]* | ?:[\\/]*)
27782 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27783 ;;
27784 *)
27785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27786 for as_dir in $PATH
27787 do
27788 IFS=$as_save_IFS
27789 test -z "$as_dir" && as_dir=.
27790 for ac_exec_ext in '' $ac_executable_extensions; do
27791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27792 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27794 break 2
27795 fi
27796 done
27797 done
27798 IFS=$as_save_IFS
27799
27800 ;;
27801 esac
27802 fi
27803 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27804 if test -n "$ac_pt_PKG_CONFIG"; then
27805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27806 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27807 else
27808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27809 $as_echo "no" >&6; }
27810 fi
27811
27812 if test "x$ac_pt_PKG_CONFIG" = x; then
27813 PKG_CONFIG=""
27814 else
27815 case $cross_compiling:$ac_tool_warned in
27816 yes:)
27817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27819 ac_tool_warned=yes ;;
27820 esac
27821 PKG_CONFIG=$ac_pt_PKG_CONFIG
27822 fi
27823 else
27824 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27825 fi
27826
27827 fi
27828 if test -n "$PKG_CONFIG"; then
27829 _pkg_min_version=0.9.0
27830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27831 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27832 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27834 $as_echo "yes" >&6; }
27835 else
27836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27837 $as_echo "no" >&6; }
27838 PKG_CONFIG=""
27839 fi
27840
27841 fi 6> /dev/null
27842
27843 pkg_failed=no
27844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27845 $as_echo_n "checking for GL... " >&6; }
27846
27847 if test -n "$PKG_CONFIG"; then
27848 if test -n "$GL_CFLAGS"; then
27849 pkg_cv_GL_CFLAGS="$GL_CFLAGS"
27850 else
27851 if test -n "$PKG_CONFIG" && \
27852 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27853 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27854 ac_status=$?
27855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27856 test $ac_status = 0; }; then
27857 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27858 else
27859 pkg_failed=yes
27860 fi
27861 fi
27862 else
27863 pkg_failed=untried
27864 fi
27865 if test -n "$PKG_CONFIG"; then
27866 if test -n "$GL_LIBS"; then
27867 pkg_cv_GL_LIBS="$GL_LIBS"
27868 else
27869 if test -n "$PKG_CONFIG" && \
27870 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27871 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27872 ac_status=$?
27873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27874 test $ac_status = 0; }; then
27875 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27876 else
27877 pkg_failed=yes
27878 fi
27879 fi
27880 else
27881 pkg_failed=untried
27882 fi
27883
27884
27885
27886 if test $pkg_failed = yes; then
27887
27888 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27889 _pkg_short_errors_supported=yes
27890 else
27891 _pkg_short_errors_supported=no
27892 fi
27893 if test $_pkg_short_errors_supported = yes; then
27894 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27895 else
27896 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27897 fi
27898 # Put the nasty error message in config.log where it belongs
27899 echo "$GL_PKG_ERRORS" >&5
27900
27901
27902 if test "x$ac_find_libraries" = "x"; then
27903 if test "xglBegin" != "x"; then
27904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27905 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27906 if ${ac_cv_lib_GL_glBegin+:} false; then :
27907 $as_echo_n "(cached) " >&6
27908 else
27909 ac_check_lib_save_LIBS=$LIBS
27910 LIBS="-lGL $LIBS"
27911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27912 /* end confdefs.h. */
27913
27914 /* Override any GCC internal prototype to avoid an error.
27915 Use char because int might match the return type of a GCC
27916 builtin and then its argument prototype would still apply. */
27917 #ifdef __cplusplus
27918 extern "C"
27919 #endif
27920 char glBegin ();
27921 int
27922 main ()
27923 {
27924 return glBegin ();
27925 ;
27926 return 0;
27927 }
27928 _ACEOF
27929 if ac_fn_c_try_link "$LINENO"; then :
27930 ac_cv_lib_GL_glBegin=yes
27931 else
27932 ac_cv_lib_GL_glBegin=no
27933 fi
27934 rm -f core conftest.err conftest.$ac_objext \
27935 conftest$ac_exeext conftest.$ac_ext
27936 LIBS=$ac_check_lib_save_LIBS
27937 fi
27938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27939 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27940 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
27941 ac_find_libraries="std"
27942 fi
27943
27944 fi
27945 fi
27946
27947 if test "x$ac_find_libraries" = "x"; then
27948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27949 $as_echo_n "checking elsewhere... " >&6; }
27950
27951 ac_find_libraries=
27952 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27953 do
27954 for ac_extension in a so sl dylib dll.a; do
27955 if test -f "$ac_dir/libGL.$ac_extension"; then
27956 ac_find_libraries=$ac_dir
27957 break 2
27958 fi
27959 done
27960 done
27961
27962 if test "x$ac_find_libraries" != "x"; then
27963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27964 $as_echo "yes" >&6; }
27965 else
27966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27967 $as_echo "no" >&6; }
27968 fi
27969 fi
27970
27971 elif test $pkg_failed = untried; then
27972
27973 if test "x$ac_find_libraries" = "x"; then
27974 if test "xglBegin" != "x"; then
27975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27976 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27977 if ${ac_cv_lib_GL_glBegin+:} false; then :
27978 $as_echo_n "(cached) " >&6
27979 else
27980 ac_check_lib_save_LIBS=$LIBS
27981 LIBS="-lGL $LIBS"
27982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27983 /* end confdefs.h. */
27984
27985 /* Override any GCC internal prototype to avoid an error.
27986 Use char because int might match the return type of a GCC
27987 builtin and then its argument prototype would still apply. */
27988 #ifdef __cplusplus
27989 extern "C"
27990 #endif
27991 char glBegin ();
27992 int
27993 main ()
27994 {
27995 return glBegin ();
27996 ;
27997 return 0;
27998 }
27999 _ACEOF
28000 if ac_fn_c_try_link "$LINENO"; then :
28001 ac_cv_lib_GL_glBegin=yes
28002 else
28003 ac_cv_lib_GL_glBegin=no
28004 fi
28005 rm -f core conftest.err conftest.$ac_objext \
28006 conftest$ac_exeext conftest.$ac_ext
28007 LIBS=$ac_check_lib_save_LIBS
28008 fi
28009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28010 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28011 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
28012 ac_find_libraries="std"
28013 fi
28014
28015 fi
28016 fi
28017
28018 if test "x$ac_find_libraries" = "x"; then
28019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28020 $as_echo_n "checking elsewhere... " >&6; }
28021
28022 ac_find_libraries=
28023 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28024 do
28025 for ac_extension in a so sl dylib dll.a; do
28026 if test -f "$ac_dir/libGL.$ac_extension"; then
28027 ac_find_libraries=$ac_dir
28028 break 2
28029 fi
28030 done
28031 done
28032
28033 if test "x$ac_find_libraries" != "x"; then
28034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28035 $as_echo "yes" >&6; }
28036 else
28037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28038 $as_echo "no" >&6; }
28039 fi
28040 fi
28041
28042 else
28043 GL_CFLAGS=$pkg_cv_GL_CFLAGS
28044 GL_LIBS=$pkg_cv_GL_LIBS
28045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28046 $as_echo "yes" >&6; }
28047
28048 ac_find_libraries="std"
28049
28050 eval ac_find_cflags=\$GL_CFLAGS
28051 eval fl_libs=\$GL_LIBS
28052
28053 for fl_path in $fl_libs
28054 do
28055 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28056 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28057 fi
28058 done
28059
28060 fi
28061
28062 if test "$ac_find_libraries" != "" ; then
28063 if test "$ac_find_libraries" != "std" ; then
28064
28065 if test "$ac_find_libraries" = "default location"; then
28066 ac_path_to_link=""
28067 else
28068 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28069 result=$?
28070 if test $result = 0; then
28071 ac_path_to_link=""
28072 else
28073 ac_path_to_link=" -L$ac_find_libraries"
28074 fi
28075 fi
28076
28077 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28078 LDFLAGS_GL="$ac_path_to_link"
28079 fi
28080 fi
28081
28082
28083 ac_find_libraries=
28084
28085 fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
28086
28087
28088 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28089 if test -n "$ac_tool_prefix"; then
28090 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28091 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28093 $as_echo_n "checking for $ac_word... " >&6; }
28094 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28095 $as_echo_n "(cached) " >&6
28096 else
28097 case $PKG_CONFIG in
28098 [\\/]* | ?:[\\/]*)
28099 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28100 ;;
28101 *)
28102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28103 for as_dir in $PATH
28104 do
28105 IFS=$as_save_IFS
28106 test -z "$as_dir" && as_dir=.
28107 for ac_exec_ext in '' $ac_executable_extensions; do
28108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28109 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28111 break 2
28112 fi
28113 done
28114 done
28115 IFS=$as_save_IFS
28116
28117 ;;
28118 esac
28119 fi
28120 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28121 if test -n "$PKG_CONFIG"; then
28122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28123 $as_echo "$PKG_CONFIG" >&6; }
28124 else
28125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28126 $as_echo "no" >&6; }
28127 fi
28128
28129
28130 fi
28131 if test -z "$ac_cv_path_PKG_CONFIG"; then
28132 ac_pt_PKG_CONFIG=$PKG_CONFIG
28133 # Extract the first word of "pkg-config", so it can be a program name with args.
28134 set dummy pkg-config; ac_word=$2
28135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28136 $as_echo_n "checking for $ac_word... " >&6; }
28137 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28138 $as_echo_n "(cached) " >&6
28139 else
28140 case $ac_pt_PKG_CONFIG in
28141 [\\/]* | ?:[\\/]*)
28142 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28143 ;;
28144 *)
28145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28146 for as_dir in $PATH
28147 do
28148 IFS=$as_save_IFS
28149 test -z "$as_dir" && as_dir=.
28150 for ac_exec_ext in '' $ac_executable_extensions; do
28151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28152 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28154 break 2
28155 fi
28156 done
28157 done
28158 IFS=$as_save_IFS
28159
28160 ;;
28161 esac
28162 fi
28163 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28164 if test -n "$ac_pt_PKG_CONFIG"; then
28165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28166 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28167 else
28168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28169 $as_echo "no" >&6; }
28170 fi
28171
28172 if test "x$ac_pt_PKG_CONFIG" = x; then
28173 PKG_CONFIG=""
28174 else
28175 case $cross_compiling:$ac_tool_warned in
28176 yes:)
28177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28179 ac_tool_warned=yes ;;
28180 esac
28181 PKG_CONFIG=$ac_pt_PKG_CONFIG
28182 fi
28183 else
28184 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28185 fi
28186
28187 fi
28188 if test -n "$PKG_CONFIG"; then
28189 _pkg_min_version=0.9.0
28190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28191 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28192 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28194 $as_echo "yes" >&6; }
28195 else
28196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28197 $as_echo "no" >&6; }
28198 PKG_CONFIG=""
28199 fi
28200
28201 fi 6> /dev/null
28202
28203 pkg_failed=no
28204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28205 $as_echo_n "checking for GLU... " >&6; }
28206
28207 if test -n "$PKG_CONFIG"; then
28208 if test -n "$GLU_CFLAGS"; then
28209 pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
28210 else
28211 if test -n "$PKG_CONFIG" && \
28212 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28213 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28214 ac_status=$?
28215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28216 test $ac_status = 0; }; then
28217 pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28218 else
28219 pkg_failed=yes
28220 fi
28221 fi
28222 else
28223 pkg_failed=untried
28224 fi
28225 if test -n "$PKG_CONFIG"; then
28226 if test -n "$GLU_LIBS"; then
28227 pkg_cv_GLU_LIBS="$GLU_LIBS"
28228 else
28229 if test -n "$PKG_CONFIG" && \
28230 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28231 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28232 ac_status=$?
28233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28234 test $ac_status = 0; }; then
28235 pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28236 else
28237 pkg_failed=yes
28238 fi
28239 fi
28240 else
28241 pkg_failed=untried
28242 fi
28243
28244
28245
28246 if test $pkg_failed = yes; then
28247
28248 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28249 _pkg_short_errors_supported=yes
28250 else
28251 _pkg_short_errors_supported=no
28252 fi
28253 if test $_pkg_short_errors_supported = yes; then
28254 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28255 else
28256 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28257 fi
28258 # Put the nasty error message in config.log where it belongs
28259 echo "$GLU_PKG_ERRORS" >&5
28260
28261
28262 if test "x$ac_find_libraries" = "x"; then
28263 if test "xgluBeginCurve" != "x"; then
28264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28265 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28266 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28267 $as_echo_n "(cached) " >&6
28268 else
28269 ac_check_lib_save_LIBS=$LIBS
28270 LIBS="-lGLU $LIBS"
28271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28272 /* end confdefs.h. */
28273
28274 /* Override any GCC internal prototype to avoid an error.
28275 Use char because int might match the return type of a GCC
28276 builtin and then its argument prototype would still apply. */
28277 #ifdef __cplusplus
28278 extern "C"
28279 #endif
28280 char gluBeginCurve ();
28281 int
28282 main ()
28283 {
28284 return gluBeginCurve ();
28285 ;
28286 return 0;
28287 }
28288 _ACEOF
28289 if ac_fn_c_try_link "$LINENO"; then :
28290 ac_cv_lib_GLU_gluBeginCurve=yes
28291 else
28292 ac_cv_lib_GLU_gluBeginCurve=no
28293 fi
28294 rm -f core conftest.err conftest.$ac_objext \
28295 conftest$ac_exeext conftest.$ac_ext
28296 LIBS=$ac_check_lib_save_LIBS
28297 fi
28298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28299 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28300 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28301 ac_find_libraries="std"
28302 fi
28303
28304 fi
28305 fi
28306
28307 if test "x$ac_find_libraries" = "x"; then
28308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28309 $as_echo_n "checking elsewhere... " >&6; }
28310
28311 ac_find_libraries=
28312 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28313 do
28314 for ac_extension in a so sl dylib dll.a; do
28315 if test -f "$ac_dir/libGLU.$ac_extension"; then
28316 ac_find_libraries=$ac_dir
28317 break 2
28318 fi
28319 done
28320 done
28321
28322 if test "x$ac_find_libraries" != "x"; then
28323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28324 $as_echo "yes" >&6; }
28325 else
28326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28327 $as_echo "no" >&6; }
28328 fi
28329 fi
28330
28331 elif test $pkg_failed = untried; then
28332
28333 if test "x$ac_find_libraries" = "x"; then
28334 if test "xgluBeginCurve" != "x"; then
28335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28336 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28337 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28338 $as_echo_n "(cached) " >&6
28339 else
28340 ac_check_lib_save_LIBS=$LIBS
28341 LIBS="-lGLU $LIBS"
28342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28343 /* end confdefs.h. */
28344
28345 /* Override any GCC internal prototype to avoid an error.
28346 Use char because int might match the return type of a GCC
28347 builtin and then its argument prototype would still apply. */
28348 #ifdef __cplusplus
28349 extern "C"
28350 #endif
28351 char gluBeginCurve ();
28352 int
28353 main ()
28354 {
28355 return gluBeginCurve ();
28356 ;
28357 return 0;
28358 }
28359 _ACEOF
28360 if ac_fn_c_try_link "$LINENO"; then :
28361 ac_cv_lib_GLU_gluBeginCurve=yes
28362 else
28363 ac_cv_lib_GLU_gluBeginCurve=no
28364 fi
28365 rm -f core conftest.err conftest.$ac_objext \
28366 conftest$ac_exeext conftest.$ac_ext
28367 LIBS=$ac_check_lib_save_LIBS
28368 fi
28369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28370 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28371 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28372 ac_find_libraries="std"
28373 fi
28374
28375 fi
28376 fi
28377
28378 if test "x$ac_find_libraries" = "x"; then
28379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28380 $as_echo_n "checking elsewhere... " >&6; }
28381
28382 ac_find_libraries=
28383 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28384 do
28385 for ac_extension in a so sl dylib dll.a; do
28386 if test -f "$ac_dir/libGLU.$ac_extension"; then
28387 ac_find_libraries=$ac_dir
28388 break 2
28389 fi
28390 done
28391 done
28392
28393 if test "x$ac_find_libraries" != "x"; then
28394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28395 $as_echo "yes" >&6; }
28396 else
28397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28398 $as_echo "no" >&6; }
28399 fi
28400 fi
28401
28402 else
28403 GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
28404 GLU_LIBS=$pkg_cv_GLU_LIBS
28405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28406 $as_echo "yes" >&6; }
28407
28408 ac_find_libraries="std"
28409
28410 eval ac_find_cflags=\$GLU_CFLAGS
28411 eval fl_libs=\$GLU_LIBS
28412
28413 for fl_path in $fl_libs
28414 do
28415 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28416 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28417 fi
28418 done
28419
28420 fi
28421
28422 if test "$ac_find_libraries" != "" ; then
28423 if test "$ac_find_libraries" != "std" ; then
28424
28425 if test "$ac_find_libraries" = "default location"; then
28426 ac_path_to_link=""
28427 else
28428 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28429 result=$?
28430 if test $result = 0; then
28431 ac_path_to_link=""
28432 else
28433 ac_path_to_link=" -L$ac_find_libraries"
28434 fi
28435 fi
28436
28437 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28438 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28439 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28440 fi
28441 fi
28442
28443 found_gl=1
28444 OPENGL_LIBS="-lGL -lGLU"
28445 fi
28446 fi
28447
28448 if test "$found_gl" != 1; then
28449
28450 ac_find_libraries=
28451
28452 fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
28453
28454
28455 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28456 if test -n "$ac_tool_prefix"; then
28457 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28458 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28460 $as_echo_n "checking for $ac_word... " >&6; }
28461 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28462 $as_echo_n "(cached) " >&6
28463 else
28464 case $PKG_CONFIG in
28465 [\\/]* | ?:[\\/]*)
28466 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28467 ;;
28468 *)
28469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28470 for as_dir in $PATH
28471 do
28472 IFS=$as_save_IFS
28473 test -z "$as_dir" && as_dir=.
28474 for ac_exec_ext in '' $ac_executable_extensions; do
28475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28476 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28478 break 2
28479 fi
28480 done
28481 done
28482 IFS=$as_save_IFS
28483
28484 ;;
28485 esac
28486 fi
28487 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28488 if test -n "$PKG_CONFIG"; then
28489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28490 $as_echo "$PKG_CONFIG" >&6; }
28491 else
28492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28493 $as_echo "no" >&6; }
28494 fi
28495
28496
28497 fi
28498 if test -z "$ac_cv_path_PKG_CONFIG"; then
28499 ac_pt_PKG_CONFIG=$PKG_CONFIG
28500 # Extract the first word of "pkg-config", so it can be a program name with args.
28501 set dummy pkg-config; ac_word=$2
28502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28503 $as_echo_n "checking for $ac_word... " >&6; }
28504 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28505 $as_echo_n "(cached) " >&6
28506 else
28507 case $ac_pt_PKG_CONFIG in
28508 [\\/]* | ?:[\\/]*)
28509 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28510 ;;
28511 *)
28512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28513 for as_dir in $PATH
28514 do
28515 IFS=$as_save_IFS
28516 test -z "$as_dir" && as_dir=.
28517 for ac_exec_ext in '' $ac_executable_extensions; do
28518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28519 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28521 break 2
28522 fi
28523 done
28524 done
28525 IFS=$as_save_IFS
28526
28527 ;;
28528 esac
28529 fi
28530 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28531 if test -n "$ac_pt_PKG_CONFIG"; then
28532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28533 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28534 else
28535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28536 $as_echo "no" >&6; }
28537 fi
28538
28539 if test "x$ac_pt_PKG_CONFIG" = x; then
28540 PKG_CONFIG=""
28541 else
28542 case $cross_compiling:$ac_tool_warned in
28543 yes:)
28544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28546 ac_tool_warned=yes ;;
28547 esac
28548 PKG_CONFIG=$ac_pt_PKG_CONFIG
28549 fi
28550 else
28551 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28552 fi
28553
28554 fi
28555 if test -n "$PKG_CONFIG"; then
28556 _pkg_min_version=0.9.0
28557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28558 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28559 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28561 $as_echo "yes" >&6; }
28562 else
28563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28564 $as_echo "no" >&6; }
28565 PKG_CONFIG=""
28566 fi
28567
28568 fi 6> /dev/null
28569
28570 pkg_failed=no
28571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28572 $as_echo_n "checking for MesaGL... " >&6; }
28573
28574 if test -n "$PKG_CONFIG"; then
28575 if test -n "$MesaGL_CFLAGS"; then
28576 pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
28577 else
28578 if test -n "$PKG_CONFIG" && \
28579 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28580 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28581 ac_status=$?
28582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28583 test $ac_status = 0; }; then
28584 pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28585 else
28586 pkg_failed=yes
28587 fi
28588 fi
28589 else
28590 pkg_failed=untried
28591 fi
28592 if test -n "$PKG_CONFIG"; then
28593 if test -n "$MesaGL_LIBS"; then
28594 pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
28595 else
28596 if test -n "$PKG_CONFIG" && \
28597 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28598 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28599 ac_status=$?
28600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28601 test $ac_status = 0; }; then
28602 pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28603 else
28604 pkg_failed=yes
28605 fi
28606 fi
28607 else
28608 pkg_failed=untried
28609 fi
28610
28611
28612
28613 if test $pkg_failed = yes; then
28614
28615 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28616 _pkg_short_errors_supported=yes
28617 else
28618 _pkg_short_errors_supported=no
28619 fi
28620 if test $_pkg_short_errors_supported = yes; then
28621 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28622 else
28623 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28624 fi
28625 # Put the nasty error message in config.log where it belongs
28626 echo "$MesaGL_PKG_ERRORS" >&5
28627
28628
28629 if test "x$ac_find_libraries" = "x"; then
28630 if test "xglEnable" != "x"; then
28631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28632 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28633 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28634 $as_echo_n "(cached) " >&6
28635 else
28636 ac_check_lib_save_LIBS=$LIBS
28637 LIBS="-lMesaGL $LIBS"
28638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28639 /* end confdefs.h. */
28640
28641 /* Override any GCC internal prototype to avoid an error.
28642 Use char because int might match the return type of a GCC
28643 builtin and then its argument prototype would still apply. */
28644 #ifdef __cplusplus
28645 extern "C"
28646 #endif
28647 char glEnable ();
28648 int
28649 main ()
28650 {
28651 return glEnable ();
28652 ;
28653 return 0;
28654 }
28655 _ACEOF
28656 if ac_fn_c_try_link "$LINENO"; then :
28657 ac_cv_lib_MesaGL_glEnable=yes
28658 else
28659 ac_cv_lib_MesaGL_glEnable=no
28660 fi
28661 rm -f core conftest.err conftest.$ac_objext \
28662 conftest$ac_exeext conftest.$ac_ext
28663 LIBS=$ac_check_lib_save_LIBS
28664 fi
28665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28666 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28667 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28668 ac_find_libraries="std"
28669 fi
28670
28671 fi
28672 fi
28673
28674 if test "x$ac_find_libraries" = "x"; then
28675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28676 $as_echo_n "checking elsewhere... " >&6; }
28677
28678 ac_find_libraries=
28679 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28680 do
28681 for ac_extension in a so sl dylib dll.a; do
28682 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28683 ac_find_libraries=$ac_dir
28684 break 2
28685 fi
28686 done
28687 done
28688
28689 if test "x$ac_find_libraries" != "x"; then
28690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28691 $as_echo "yes" >&6; }
28692 else
28693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28694 $as_echo "no" >&6; }
28695 fi
28696 fi
28697
28698 elif test $pkg_failed = untried; then
28699
28700 if test "x$ac_find_libraries" = "x"; then
28701 if test "xglEnable" != "x"; then
28702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28703 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28704 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28705 $as_echo_n "(cached) " >&6
28706 else
28707 ac_check_lib_save_LIBS=$LIBS
28708 LIBS="-lMesaGL $LIBS"
28709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28710 /* end confdefs.h. */
28711
28712 /* Override any GCC internal prototype to avoid an error.
28713 Use char because int might match the return type of a GCC
28714 builtin and then its argument prototype would still apply. */
28715 #ifdef __cplusplus
28716 extern "C"
28717 #endif
28718 char glEnable ();
28719 int
28720 main ()
28721 {
28722 return glEnable ();
28723 ;
28724 return 0;
28725 }
28726 _ACEOF
28727 if ac_fn_c_try_link "$LINENO"; then :
28728 ac_cv_lib_MesaGL_glEnable=yes
28729 else
28730 ac_cv_lib_MesaGL_glEnable=no
28731 fi
28732 rm -f core conftest.err conftest.$ac_objext \
28733 conftest$ac_exeext conftest.$ac_ext
28734 LIBS=$ac_check_lib_save_LIBS
28735 fi
28736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28737 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28738 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28739 ac_find_libraries="std"
28740 fi
28741
28742 fi
28743 fi
28744
28745 if test "x$ac_find_libraries" = "x"; then
28746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28747 $as_echo_n "checking elsewhere... " >&6; }
28748
28749 ac_find_libraries=
28750 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28751 do
28752 for ac_extension in a so sl dylib dll.a; do
28753 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28754 ac_find_libraries=$ac_dir
28755 break 2
28756 fi
28757 done
28758 done
28759
28760 if test "x$ac_find_libraries" != "x"; then
28761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28762 $as_echo "yes" >&6; }
28763 else
28764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28765 $as_echo "no" >&6; }
28766 fi
28767 fi
28768
28769 else
28770 MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
28771 MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
28772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28773 $as_echo "yes" >&6; }
28774
28775 ac_find_libraries="std"
28776
28777 eval ac_find_cflags=\$MesaGL_CFLAGS
28778 eval fl_libs=\$MesaGL_LIBS
28779
28780 for fl_path in $fl_libs
28781 do
28782 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28783 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28784 fi
28785 done
28786
28787 fi
28788
28789 if test "$ac_find_libraries" != "" ; then
28790 if test "$ac_find_libraries" != "std" ; then
28791
28792 if test "$ac_find_libraries" = "default location"; then
28793 ac_path_to_link=""
28794 else
28795 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28796 result=$?
28797 if test $result = 0; then
28798 ac_path_to_link=""
28799 else
28800 ac_path_to_link=" -L$ac_find_libraries"
28801 fi
28802 fi
28803
28804 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28805 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28806 fi
28807 fi
28808 OPENGL_LIBS="-lMesaGL -lMesaGLU"
28809 fi
28810 fi
28811
28812 fi
28813
28814
28815
28816 fi
28817
28818
28819
28820 if test "x$OPENGL_LIBS" = "x"; then
28821 if test "$wxUSE_OPENGL" = "yes"; then
28822 as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
28823 else
28824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28825 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28826 wxUSE_OPENGL=no
28827 USE_OPENGL=0
28828 fi
28829 fi
28830 else
28831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28832 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28833 wxUSE_OPENGL="no"
28834 fi
28835
28836 if test "$wxUSE_OPENGL" = "auto"; then
28837 wxUSE_OPENGL=yes
28838 fi
28839
28840 if test "$wxUSE_OPENGL" = "yes"; then
28841 USE_OPENGL=1
28842 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28843
28844 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28845
28846 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28847 fi
28848 fi
28849
28850
28851 if test -n "$TOOLKIT" ; then
28852 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28853 fi
28854
28855
28856
28857 if test "$wxUSE_SHARED" = "yes"; then
28858 case "${host}" in
28859 *-pc-msdosdjgpp )
28860 wxUSE_SHARED=no
28861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28862 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28863 ;;
28864 esac
28865 fi
28866
28867 if test "$wxUSE_SHARED" = "yes"; then
28868
28869
28870 case "${host}" in
28871 *-*-cygwin* | *-*-mingw* )
28872 wx_cv_version_script=no
28873 ;;
28874
28875 *)
28876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28877 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28878 if ${wx_cv_version_script+:} false; then :
28879 $as_echo_n "(cached) " >&6
28880 else
28881
28882 echo "VER_1 { *; };" >conftest.sym
28883 echo "int main() { return 0; }" >conftest.cpp
28884
28885 if { ac_try='
28886 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28887 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28888 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28889 (eval $ac_try) 2>&5
28890 ac_status=$?
28891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28892 test $ac_status = 0; }; } ; then
28893 if test -s conftest.stderr ; then
28894 wx_cv_version_script=no
28895 else
28896 wx_cv_version_script=yes
28897 fi
28898 else
28899 wx_cv_version_script=no
28900 fi
28901
28902 if test $wx_cv_version_script = yes
28903 then
28904 echo "struct B { virtual ~B() { } }; \
28905 struct D : public B { }; \
28906 void F() { D d; }" > conftest.cpp
28907
28908 if { ac_try='
28909 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28910 -Wl,--version-script,conftest.sym >/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 { ac_try='
28917 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28918 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28919 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28920 (eval $ac_try) 2>&5
28921 ac_status=$?
28922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28923 test $ac_status = 0; }; }
28924 then
28925 if { ac_try='
28926 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28927 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28928 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28929 (eval $ac_try) 2>&5
28930 ac_status=$?
28931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28932 test $ac_status = 0; }; }
28933 then
28934 wx_cv_version_script=yes
28935 else
28936 wx_cv_version_script=no
28937 fi
28938 fi
28939 fi
28940
28941 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28942 rm -f conftest1.output conftest2.output conftest3.output
28943
28944 fi
28945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28946 $as_echo "$wx_cv_version_script" >&6; }
28947
28948 if test $wx_cv_version_script = yes ; then
28949 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28950 fi
28951 ;;
28952 esac
28953
28954
28955 if test "$wxUSE_VISIBILITY" != "no"; then
28956
28957
28958 if test -n "$GCC"; then
28959 CFLAGS_VISIBILITY="-fvisibility=hidden"
28960 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
28961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28962 $as_echo_n "checking for symbols visibility support... " >&6; }
28963 if ${wx_cv_cc_visibility+:} false; then :
28964 $as_echo_n "(cached) " >&6
28965 else
28966
28967 wx_save_CXXFLAGS="$CXXFLAGS"
28968 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28969 ac_ext=cpp
28970 ac_cpp='$CXXCPP $CPPFLAGS'
28971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28974
28975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28976 /* end confdefs.h. */
28977
28978 /* we need gcc >= 4.0, older versions with visibility support
28979 didn't have class visibility: */
28980 #if defined(__GNUC__) && __GNUC__ < 4
28981 error this gcc is too old;
28982 #endif
28983
28984 /* visibility only makes sense for ELF shared libs: */
28985 #if !defined(__ELF__) && !defined(__APPLE__)
28986 error this platform has no visibility;
28987 #endif
28988
28989 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
28990 #if defined(__clang__)
28991 clang compiler is still broken w.r.t. visibility;
28992 #endif
28993
28994 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
28995 extern __attribute__((__visibility__("default"))) int exportedvar;
28996 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
28997 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
28998 class __attribute__((__visibility__("default"))) Foo {
28999 Foo() {}
29000 };
29001
29002 int
29003 main ()
29004 {
29005
29006 ;
29007 return 0;
29008 }
29009 _ACEOF
29010 if ac_fn_cxx_try_compile "$LINENO"; then :
29011 wx_cv_cc_visibility=yes
29012 else
29013 wx_cv_cc_visibility=no
29014 fi
29015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29016 ac_ext=c
29017 ac_cpp='$CPP $CPPFLAGS'
29018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29021
29022 CXXFLAGS="$wx_save_CXXFLAGS"
29023 fi
29024
29025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
29026 $as_echo "$wx_cv_cc_visibility" >&6; }
29027 if test $wx_cv_cc_visibility = yes; then
29028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
29029 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
29030 if ${wx_cv_cc_broken_libstdcxx_visibility+:} false; then :
29031 $as_echo_n "(cached) " >&6
29032 else
29033
29034 wx_save_CXXFLAGS="$CXXFLAGS"
29035 wx_save_LDFLAGS="$LDFLAGS"
29036 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29037 LDFLAGS="$LDFLAGS -shared -fPIC"
29038 ac_ext=cpp
29039 ac_cpp='$CXXCPP $CPPFLAGS'
29040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29043
29044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29045 /* end confdefs.h. */
29046
29047 #include <string>
29048
29049 int
29050 main ()
29051 {
29052
29053 std::string s("hello");
29054 return s.length();
29055
29056 ;
29057 return 0;
29058 }
29059 _ACEOF
29060 if ac_fn_cxx_try_link "$LINENO"; then :
29061 wx_cv_cc_broken_libstdcxx_visibility=no
29062 else
29063 wx_cv_cc_broken_libstdcxx_visibility=yes
29064 fi
29065 rm -f core conftest.err conftest.$ac_objext \
29066 conftest$ac_exeext conftest.$ac_ext
29067 ac_ext=c
29068 ac_cpp='$CPP $CPPFLAGS'
29069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29072
29073 CXXFLAGS="$wx_save_CXXFLAGS"
29074 LDFLAGS="$wx_save_LDFLAGS"
29075 fi
29076
29077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29078 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29079
29080 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29082 $as_echo_n "checking whether we can work around it... " >&6; }
29083 if ${wx_cv_cc_visibility_workaround+:} false; then :
29084 $as_echo_n "(cached) " >&6
29085 else
29086
29087 ac_ext=cpp
29088 ac_cpp='$CXXCPP $CPPFLAGS'
29089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29092
29093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29094 /* end confdefs.h. */
29095
29096 #pragma GCC visibility push(default)
29097 #include <string>
29098 #pragma GCC visibility pop
29099
29100 int
29101 main ()
29102 {
29103
29104 std::string s("hello");
29105 return s.length();
29106
29107 ;
29108 return 0;
29109 }
29110 _ACEOF
29111 if ac_fn_cxx_try_link "$LINENO"; then :
29112 wx_cv_cc_visibility_workaround=no
29113 else
29114 wx_cv_cc_visibility_workaround=yes
29115 fi
29116 rm -f core conftest.err conftest.$ac_objext \
29117 conftest$ac_exeext conftest.$ac_ext
29118 ac_ext=c
29119 ac_cpp='$CPP $CPPFLAGS'
29120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29123
29124
29125 fi
29126
29127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29128 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29129
29130 if test $wx_cv_cc_visibility_workaround = no; then
29131 wx_cv_cc_visibility=no
29132 fi
29133 fi
29134 fi
29135
29136 if test $wx_cv_cc_visibility = yes; then
29137 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29138
29139 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29140 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29141
29142 fi
29143 else
29144 CFLAGS_VISIBILITY=""
29145 CXXFLAGS_VISIBILITY=""
29146 fi
29147
29148
29149 fi
29150
29151 fi
29152
29153 if test "x$SUNCXX" = xyes; then
29154 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
29155 WXCONFIG_RPATH="-R\$libdir"
29156 else
29157 case "${host}" in
29158 *-*-linux* | *-*-gnu* )
29159 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29160 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29161 ;;
29162
29163 *-*-solaris2* )
29164
29165 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
29166
29167 saveLdflags="$LDFLAGS"
29168 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29170 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29172 /* end confdefs.h. */
29173
29174 int
29175 main ()
29176 {
29177
29178 ;
29179 return 0;
29180 }
29181 _ACEOF
29182 if ac_fn_c_try_link "$LINENO"; then :
29183
29184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29185 $as_echo "yes" >&6; }
29186 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29187 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29188
29189 else
29190
29191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29192 $as_echo "no" >&6; }
29193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29194 $as_echo_n "checking if the linker accepts -R... " >&6; }
29195 LDFLAGS="$saveLdflags -Wl,-R,/"
29196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29197 /* end confdefs.h. */
29198
29199 int
29200 main ()
29201 {
29202
29203 ;
29204 return 0;
29205 }
29206 _ACEOF
29207 if ac_fn_c_try_link "$LINENO"; then :
29208
29209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29210 $as_echo "yes" >&6; }
29211 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
29212 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29213
29214 else
29215
29216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29217 $as_echo "no" >&6; }
29218
29219 fi
29220 rm -f core conftest.err conftest.$ac_objext \
29221 conftest$ac_exeext conftest.$ac_ext
29222
29223 fi
29224 rm -f core conftest.err conftest.$ac_objext \
29225 conftest$ac_exeext conftest.$ac_ext
29226 LDFLAGS="$saveLdflags"
29227 ;;
29228
29229 *-*-darwin* )
29230 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
29231 if test "$install_name_tool" -a -x "$install_name_tool"; then
29232 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29233 cat <<EOF >change-install-names
29234 #!/bin/sh
29235 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29236 for i in \${libnames} ; do
29237 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29238 for dep in \${libnames} ; do
29239 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29240 done
29241 done
29242 EOF
29243 chmod +x change-install-names
29244 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29245 fi
29246
29247 HEADER_PAD_OPTION="-headerpad_max_install_names"
29248 ;;
29249
29250 *-*-cygwin* | *-*-mingw32* )
29251 ;;
29252
29253 *-*-hpux* )
29254 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
29255 WXCONFIG_RPATH="-Wl,+b,\$libdir"
29256 ;;
29257
29258 esac
29259 fi
29260
29261 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29262
29263 if test $wxUSE_RPATH = "no"; then
29264 SAMPLES_RPATH_FLAG=''
29265 DYLIB_PATH_POSTLINK=''
29266 WXCONFIG_RPATH=''
29267 fi
29268
29269 SHARED=1
29270
29271 else
29272
29273 config_linkage_component="-static"
29274 SHARED=0
29275
29276 fi
29277
29278
29279 UNICODE=0
29280 lib_unicode_suffix=
29281 WX_CHARTYPE="ansi"
29282 if test "$wxUSE_UNICODE" = "yes"; then
29283 lib_unicode_suffix=u
29284 WX_CHARTYPE="unicode"
29285 UNICODE=1
29286 fi
29287
29288 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29289 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29290
29291 DEBUG_INFO=0
29292 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29293 DEBUG_INFO=1
29294 fi
29295
29296 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29297
29298 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29299
29300 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29301
29302
29303 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29304 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29305 else
29306 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29307 fi
29308 if test "${TOOLKIT_DIR}" = "os2"; then
29309 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29310 else
29311 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29312 fi
29313
29314
29315
29316 if test "$wxUSE_OLD_COCOA" = 1; then
29317
29318 ac_ext=c
29319 ac_cpp='$CPP $CPPFLAGS'
29320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29323
29324 ac_ext=m
29325
29326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29327 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29329 /* end confdefs.h. */
29330 #include <AppKit/NSEvent.h>
29331 #include <CoreFoundation/CoreFoundation.h>
29332
29333 int
29334 main ()
29335 {
29336
29337 ;
29338 return 0;
29339 }
29340 _ACEOF
29341 if ac_fn_c_try_compile "$LINENO"; then :
29342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29343 $as_echo "no" >&6; }
29344 else
29345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29346 $as_echo "yes" >&6; }
29347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29348 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29350 /* end confdefs.h. */
29351 #define __Point__ 1
29352 #include <AppKit/NSEvent.h>
29353 #include <CoreFoundation/CoreFoundation.h>
29354
29355 int
29356 main ()
29357 {
29358
29359 ;
29360 return 0;
29361 }
29362 _ACEOF
29363 if ac_fn_c_try_compile "$LINENO"; then :
29364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29365 $as_echo "yes" >&6; }
29366 $as_echo "#define __Point__ 1" >>confdefs.h
29367
29368
29369 else
29370 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29372 as_fn_error $? "no
29373 See \`config.log' for more details" "$LINENO" 5; }
29374
29375 fi
29376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29377
29378 fi
29379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29380 ac_ext=c
29381 ac_cpp='$CPP $CPPFLAGS'
29382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29385
29386 fi
29387
29388
29389 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29390 if test "x$ac_cv_type_mode_t" = xyes; then :
29391
29392 else
29393
29394 cat >>confdefs.h <<_ACEOF
29395 #define mode_t int
29396 _ACEOF
29397
29398 fi
29399
29400 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29401 if test "x$ac_cv_type_off_t" = xyes; then :
29402
29403 else
29404
29405 cat >>confdefs.h <<_ACEOF
29406 #define off_t long int
29407 _ACEOF
29408
29409 fi
29410
29411 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29412 if test "x$ac_cv_type_pid_t" = xyes; then :
29413
29414 else
29415
29416 cat >>confdefs.h <<_ACEOF
29417 #define pid_t int
29418 _ACEOF
29419
29420 fi
29421
29422 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29423 if test "x$ac_cv_type_size_t" = xyes; then :
29424
29425 else
29426
29427 cat >>confdefs.h <<_ACEOF
29428 #define size_t unsigned int
29429 _ACEOF
29430
29431 fi
29432
29433
29434 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29435 if test "x$ac_cv_type_ssize_t" = xyes; then :
29436
29437 cat >>confdefs.h <<_ACEOF
29438 #define HAVE_SSIZE_T 1
29439 _ACEOF
29440
29441
29442 fi
29443
29444
29445 ac_ext=cpp
29446 ac_cpp='$CXXCPP $CPPFLAGS'
29447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29451 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29452 if ${wx_cv_size_t_is_uint+:} false; then :
29453 $as_echo_n "(cached) " >&6
29454 else
29455
29456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29457 /* end confdefs.h. */
29458 #include <stddef.h>
29459 int
29460 main ()
29461 {
29462
29463 return 0; }
29464
29465 struct Foo { void foo(size_t); void foo(unsigned int); };
29466
29467 int bar() {
29468
29469 ;
29470 return 0;
29471 }
29472 _ACEOF
29473 if ac_fn_cxx_try_compile "$LINENO"; then :
29474 wx_cv_size_t_is_uint=no
29475 else
29476 wx_cv_size_t_is_uint=yes
29477
29478 fi
29479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29480
29481
29482 fi
29483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29484 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29485
29486 if test "$wx_cv_size_t_is_uint" = "yes"; then
29487 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29488
29489 else
29490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29491 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29492 if ${wx_cv_size_t_is_ulong+:} false; then :
29493 $as_echo_n "(cached) " >&6
29494 else
29495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29496 /* end confdefs.h. */
29497 #include <stddef.h>
29498 int
29499 main ()
29500 {
29501
29502 return 0; }
29503
29504 struct Foo { void foo(size_t); void foo(unsigned long); };
29505
29506 int bar() {
29507
29508 ;
29509 return 0;
29510 }
29511 _ACEOF
29512 if ac_fn_cxx_try_compile "$LINENO"; then :
29513 wx_cv_size_t_is_ulong=no
29514 else
29515 wx_cv_size_t_is_ulong=yes
29516
29517 fi
29518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29519
29520 fi
29521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29522 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29523
29524 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29525 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29526
29527 fi
29528 fi
29529
29530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29531 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29532 if ${wx_cv_wchar_t_is_separate_type+:} false; then :
29533 $as_echo_n "(cached) " >&6
29534 else
29535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29536 /* end confdefs.h. */
29537 #include <wchar.h>
29538 int
29539 main ()
29540 {
29541
29542 return 0; }
29543
29544 struct Foo { void foo(wchar_t);
29545 void foo(unsigned short);
29546 void foo(unsigned int);
29547 void foo(unsigned long); };
29548
29549 int bar() {
29550
29551 ;
29552 return 0;
29553 }
29554 _ACEOF
29555 if ac_fn_cxx_try_compile "$LINENO"; then :
29556 wx_cv_wchar_t_is_separate_type=yes
29557 else
29558 wx_cv_wchar_t_is_separate_type=no
29559
29560 fi
29561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29562
29563 fi
29564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29565 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29566
29567 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29568 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29569
29570 else
29571 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29572
29573 fi
29574
29575 ac_ext=c
29576 ac_cpp='$CPP $CPPFLAGS'
29577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29580
29581
29582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29583 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29584 if ${wx_cv_struct_pw_gecos+:} false; then :
29585 $as_echo_n "(cached) " >&6
29586 else
29587
29588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29589 /* end confdefs.h. */
29590 #include <pwd.h>
29591 int
29592 main ()
29593 {
29594
29595 char *p;
29596 struct passwd *pw;
29597 p = pw->pw_gecos;
29598
29599 ;
29600 return 0;
29601 }
29602 _ACEOF
29603 if ac_fn_c_try_compile "$LINENO"; then :
29604
29605 wx_cv_struct_pw_gecos=yes
29606
29607 else
29608
29609 wx_cv_struct_pw_gecos=no
29610
29611
29612 fi
29613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29614
29615
29616 fi
29617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29618 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29619
29620 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29621 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29622
29623 fi
29624
29625
29626 WCSLEN_FOUND=0
29627 WCHAR_LINK=
29628 for ac_func in wcslen
29629 do :
29630 ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
29631 if test "x$ac_cv_func_wcslen" = xyes; then :
29632 cat >>confdefs.h <<_ACEOF
29633 #define HAVE_WCSLEN 1
29634 _ACEOF
29635 WCSLEN_FOUND=1
29636 fi
29637 done
29638
29639
29640 if test "$WCSLEN_FOUND" = 0; then
29641 if test "$TOOLKIT" = "MSW"; then
29642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29643 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29644 if ${ac_cv_lib_msvcrt_wcslen+:} false; then :
29645 $as_echo_n "(cached) " >&6
29646 else
29647 ac_check_lib_save_LIBS=$LIBS
29648 LIBS="-lmsvcrt $LIBS"
29649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29650 /* end confdefs.h. */
29651
29652 /* Override any GCC internal prototype to avoid an error.
29653 Use char because int might match the return type of a GCC
29654 builtin and then its argument prototype would still apply. */
29655 #ifdef __cplusplus
29656 extern "C"
29657 #endif
29658 char wcslen ();
29659 int
29660 main ()
29661 {
29662 return wcslen ();
29663 ;
29664 return 0;
29665 }
29666 _ACEOF
29667 if ac_fn_c_try_link "$LINENO"; then :
29668 ac_cv_lib_msvcrt_wcslen=yes
29669 else
29670 ac_cv_lib_msvcrt_wcslen=no
29671 fi
29672 rm -f core conftest.err conftest.$ac_objext \
29673 conftest$ac_exeext conftest.$ac_ext
29674 LIBS=$ac_check_lib_save_LIBS
29675 fi
29676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29677 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29678 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes; then :
29679 WCHAR_OK=1
29680 fi
29681
29682 else
29683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29684 $as_echo_n "checking for wcslen in -lw... " >&6; }
29685 if ${ac_cv_lib_w_wcslen+:} false; then :
29686 $as_echo_n "(cached) " >&6
29687 else
29688 ac_check_lib_save_LIBS=$LIBS
29689 LIBS="-lw $LIBS"
29690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29691 /* end confdefs.h. */
29692
29693 /* Override any GCC internal prototype to avoid an error.
29694 Use char because int might match the return type of a GCC
29695 builtin and then its argument prototype would still apply. */
29696 #ifdef __cplusplus
29697 extern "C"
29698 #endif
29699 char wcslen ();
29700 int
29701 main ()
29702 {
29703 return wcslen ();
29704 ;
29705 return 0;
29706 }
29707 _ACEOF
29708 if ac_fn_c_try_link "$LINENO"; then :
29709 ac_cv_lib_w_wcslen=yes
29710 else
29711 ac_cv_lib_w_wcslen=no
29712 fi
29713 rm -f core conftest.err conftest.$ac_objext \
29714 conftest$ac_exeext conftest.$ac_ext
29715 LIBS=$ac_check_lib_save_LIBS
29716 fi
29717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29718 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29719 if test "x$ac_cv_lib_w_wcslen" = xyes; then :
29720
29721 WCHAR_LINK=" -lw"
29722 WCSLEN_FOUND=1
29723
29724 fi
29725
29726 fi
29727 fi
29728
29729 if test "$WCSLEN_FOUND" = 1; then
29730 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29731
29732 fi
29733
29734 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29735 do :
29736 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29737 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29738 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29739 cat >>confdefs.h <<_ACEOF
29740 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29741 _ACEOF
29742
29743 fi
29744 done
29745
29746
29747 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29748 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29749 fi
29750
29751 ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29752 "
29753 if test "x$ac_cv_type_mbstate_t" = xyes; then :
29754
29755 cat >>confdefs.h <<_ACEOF
29756 #define HAVE_MBSTATE_T 1
29757 _ACEOF
29758
29759 for ac_func in wcsrtombs
29760 do :
29761 ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29762 if test "x$ac_cv_func_wcsrtombs" = xyes; then :
29763 cat >>confdefs.h <<_ACEOF
29764 #define HAVE_WCSRTOMBS 1
29765 _ACEOF
29766
29767 fi
29768 done
29769
29770 fi
29771
29772
29773 for ac_func in snprintf vsnprintf vsscanf
29774 do :
29775 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29776 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29777 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29778 cat >>confdefs.h <<_ACEOF
29779 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29780 _ACEOF
29781
29782 fi
29783 done
29784
29785
29786 ac_ext=cpp
29787 ac_cpp='$CXXCPP $CPPFLAGS'
29788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29791
29792 if test "$ac_cv_func_vsnprintf" = "yes"; then
29793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29794 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29795 if ${wx_cv_func_vsnprintf_decl+:} false; then :
29796 $as_echo_n "(cached) " >&6
29797 else
29798
29799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29800 /* end confdefs.h. */
29801
29802 #include <stdio.h>
29803 #include <stdarg.h>
29804
29805 int
29806 main ()
29807 {
29808
29809 char *buf;
29810 va_list ap;
29811 vsnprintf(buf, 10u, "%s", ap);
29812
29813 ;
29814 return 0;
29815 }
29816 _ACEOF
29817 if ac_fn_cxx_try_compile "$LINENO"; then :
29818 wx_cv_func_vsnprintf_decl=yes
29819 else
29820 wx_cv_func_vsnprintf_decl=no
29821
29822 fi
29823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29824
29825
29826 fi
29827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29828 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29829
29830 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29831 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29832
29833
29834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29835 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29836 if ${wx_cv_func_broken_vsnprintf_decl+:} false; then :
29837 $as_echo_n "(cached) " >&6
29838 else
29839
29840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29841 /* end confdefs.h. */
29842
29843 #include <stdio.h>
29844 #include <stdarg.h>
29845 #ifdef __MSL__
29846 #if __MSL__ >= 0x6000
29847 namespace std {}
29848 using namespace std;
29849 #endif
29850 #endif
29851
29852 int
29853 main ()
29854 {
29855
29856 char *buf;
29857 va_list ap;
29858 const char *fmt = "%s";
29859 vsnprintf(buf, 10u, fmt, ap);
29860
29861 ;
29862 return 0;
29863 }
29864 _ACEOF
29865 if ac_fn_cxx_try_compile "$LINENO"; then :
29866 wx_cv_func_broken_vsnprintf_decl=no
29867 else
29868 wx_cv_func_broken_vsnprintf_decl=yes
29869
29870 fi
29871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29872
29873
29874 fi
29875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29876 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29877
29878 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29879 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29880
29881 fi
29882 fi
29883 fi
29884
29885 if test "$ac_cv_func_snprintf" = "yes"; then
29886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29887 $as_echo_n "checking for snprintf declaration... " >&6; }
29888 if ${wx_cv_func_snprintf_decl+:} false; then :
29889 $as_echo_n "(cached) " >&6
29890 else
29891
29892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29893 /* end confdefs.h. */
29894
29895 #include <stdio.h>
29896 #include <stdarg.h>
29897 #ifdef __MSL__
29898 #if __MSL__ >= 0x6000
29899 namespace std {}
29900 using namespace std;
29901 #endif
29902 #endif
29903
29904 int
29905 main ()
29906 {
29907
29908 char *buf;
29909 snprintf(buf, 10u, "%s", "wx");
29910
29911 ;
29912 return 0;
29913 }
29914 _ACEOF
29915 if ac_fn_cxx_try_compile "$LINENO"; then :
29916 wx_cv_func_snprintf_decl=yes
29917 else
29918 wx_cv_func_snprintf_decl=no
29919
29920 fi
29921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29922
29923
29924 fi
29925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29926 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29927
29928 if test "$wx_cv_func_snprintf_decl" = "yes"; then
29929 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29930
29931 fi
29932
29933 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29934
29935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29936 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29937 if ${wx_cv_func_snprintf_pos_params+:} false; then :
29938 $as_echo_n "(cached) " >&6
29939 else
29940
29941 if test "$cross_compiling" = yes; then :
29942
29943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29944 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29945 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29946 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29947 wx_cv_func_snprintf_pos_params=no
29948
29949
29950 else
29951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29952 /* end confdefs.h. */
29953
29954 #include <stdio.h>
29955
29956 int main (void)
29957 {
29958 char buffer[128];
29959 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
29960 if (strcmp ("2 3 1", buffer) == 0)
29961 exit (0);
29962 exit (1);
29963 }
29964
29965 _ACEOF
29966 if ac_fn_cxx_try_run "$LINENO"; then :
29967 wx_cv_func_snprintf_pos_params=no
29968 else
29969 wx_cv_func_snprintf_pos_params=yes
29970 fi
29971 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29972 conftest.$ac_objext conftest.beam conftest.$ac_ext
29973 fi
29974
29975
29976
29977 fi
29978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
29979 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
29980
29981 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
29982 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
29983
29984 fi
29985 fi
29986 fi
29987
29988 if test "$ac_cv_func_vsscanf" = "yes"; then
29989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
29990 $as_echo_n "checking for vsscanf declaration... " >&6; }
29991 if ${wx_cv_func_vsscanf_decl+:} false; then :
29992 $as_echo_n "(cached) " >&6
29993 else
29994
29995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29996 /* end confdefs.h. */
29997
29998 #include <stdio.h>
29999 #include <stdarg.h>
30000 #ifdef __MSL__
30001 #if __MSL__ >= 0x6000
30002 namespace std {}
30003 using namespace std;
30004 #endif
30005 #endif
30006
30007 int
30008 main ()
30009 {
30010
30011 char *buf;
30012 va_list args;
30013 vsscanf(buf, "%s", args);
30014
30015 ;
30016 return 0;
30017 }
30018 _ACEOF
30019 if ac_fn_cxx_try_compile "$LINENO"; then :
30020 wx_cv_func_vsscanf_decl=yes
30021 else
30022 wx_cv_func_vsscanf_decl=no
30023
30024 fi
30025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30026
30027
30028 fi
30029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
30030 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
30031
30032 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
30033 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
30034
30035 fi
30036 fi
30037 ac_ext=c
30038 ac_cpp='$CPP $CPPFLAGS'
30039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30042
30043
30044 if test "$wxUSE_UNICODE" = yes; then
30045
30046 wchar_headers="#include <stdio.h>
30047 #include <wchar.h>"
30048 case "${host}" in
30049 *-*-solaris2* )
30050 for ac_header in widec.h
30051 do :
30052 ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
30053 "
30054 if test "x$ac_cv_header_widec_h" = xyes; then :
30055 cat >>confdefs.h <<_ACEOF
30056 #define HAVE_WIDEC_H 1
30057 _ACEOF
30058
30059 fi
30060
30061 done
30062
30063 if test "$ac_cv_header_widec_h" = "yes"; then
30064 wchar_headers="$wchar_headers
30065 #include <widec.h>"
30066 fi
30067 esac
30068
30069
30070 for wx_func in putws fputws wprintf vswprintf vswscanf
30071 do
30072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30073 $as_echo_n "checking for $wx_func... " >&6; }
30074 if eval \${wx_cv_func_$wx_func+:} false; then :
30075 $as_echo_n "(cached) " >&6
30076 else
30077
30078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30079 /* end confdefs.h. */
30080
30081
30082 $wchar_headers
30083 $ac_includes_default
30084
30085 int
30086 main ()
30087 {
30088
30089 #ifndef $wx_func
30090 &$wx_func;
30091 #endif
30092
30093
30094 ;
30095 return 0;
30096 }
30097
30098 _ACEOF
30099 if ac_fn_c_try_link "$LINENO"; then :
30100 eval wx_cv_func_$wx_func=yes
30101 else
30102 eval wx_cv_func_$wx_func=no
30103 fi
30104 rm -f core conftest.err conftest.$ac_objext \
30105 conftest$ac_exeext conftest.$ac_ext
30106
30107 fi
30108 eval ac_res=\$wx_cv_func_$wx_func
30109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30110 $as_echo "$ac_res" >&6; }
30111
30112 if eval test \$wx_cv_func_$wx_func = yes
30113 then
30114 cat >>confdefs.h <<_ACEOF
30115 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30116 _ACEOF
30117
30118
30119 else
30120 :
30121
30122 fi
30123 done
30124
30125
30126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30127 $as_echo_n "checking for _vsnwprintf... " >&6; }
30128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30129 /* end confdefs.h. */
30130 #include <wchar.h>
30131 int
30132 main ()
30133 {
30134 &_vsnwprintf;
30135 ;
30136 return 0;
30137 }
30138 _ACEOF
30139 if ac_fn_c_try_compile "$LINENO"; then :
30140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30141 $as_echo "yes" >&6; }
30142 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30143
30144 else
30145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30146 $as_echo "no" >&6; }
30147 fi
30148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
30149 fi
30150
30151 if test "$wxUSE_FILE" = "yes"; then
30152
30153 for wx_func in fsync
30154 do
30155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30156 $as_echo_n "checking for $wx_func... " >&6; }
30157 if eval \${wx_cv_func_$wx_func+:} false; then :
30158 $as_echo_n "(cached) " >&6
30159 else
30160
30161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30162 /* end confdefs.h. */
30163
30164
30165
30166 $ac_includes_default
30167
30168 int
30169 main ()
30170 {
30171
30172 #ifndef $wx_func
30173 &$wx_func;
30174 #endif
30175
30176
30177 ;
30178 return 0;
30179 }
30180
30181 _ACEOF
30182 if ac_fn_c_try_link "$LINENO"; then :
30183 eval wx_cv_func_$wx_func=yes
30184 else
30185 eval wx_cv_func_$wx_func=no
30186 fi
30187 rm -f core conftest.err conftest.$ac_objext \
30188 conftest$ac_exeext conftest.$ac_ext
30189
30190 fi
30191 eval ac_res=\$wx_cv_func_$wx_func
30192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30193 $as_echo "$ac_res" >&6; }
30194
30195 if eval test \$wx_cv_func_$wx_func = yes
30196 then
30197 cat >>confdefs.h <<_ACEOF
30198 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30199 _ACEOF
30200
30201
30202 else
30203 :
30204
30205 fi
30206 done
30207
30208 fi
30209
30210 ac_ext=cpp
30211 ac_cpp='$CXXCPP $CPPFLAGS'
30212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30215
30216
30217 for wx_func in round
30218 do
30219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30220 $as_echo_n "checking for $wx_func... " >&6; }
30221 if eval \${wx_cv_func_$wx_func+:} false; then :
30222 $as_echo_n "(cached) " >&6
30223 else
30224
30225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30226 /* end confdefs.h. */
30227
30228
30229 #include <math.h>
30230 $ac_includes_default
30231
30232 int
30233 main ()
30234 {
30235
30236 #ifndef $wx_func
30237 &$wx_func;
30238 #endif
30239
30240
30241 ;
30242 return 0;
30243 }
30244
30245 _ACEOF
30246 if ac_fn_cxx_try_link "$LINENO"; then :
30247 eval wx_cv_func_$wx_func=yes
30248 else
30249 eval wx_cv_func_$wx_func=no
30250 fi
30251 rm -f core conftest.err conftest.$ac_objext \
30252 conftest$ac_exeext conftest.$ac_ext
30253
30254 fi
30255 eval ac_res=\$wx_cv_func_$wx_func
30256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30257 $as_echo "$ac_res" >&6; }
30258
30259 if eval test \$wx_cv_func_$wx_func = yes
30260 then
30261 cat >>confdefs.h <<_ACEOF
30262 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30263 _ACEOF
30264
30265
30266 else
30267 :
30268
30269 fi
30270 done
30271
30272 ac_ext=c
30273 ac_cpp='$CPP $CPPFLAGS'
30274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30277
30278
30279 if test "$TOOLKIT" != "MSW"; then
30280
30281 if test "$wxUSE_LIBICONV" != "no" ; then
30282
30283
30284
30285 # Check whether --with-libiconv-prefix was given.
30286 if test "${with_libiconv_prefix+set}" = set; then :
30287 withval=$with_libiconv_prefix;
30288 for dir in `echo "$withval" | tr : ' '`; do
30289 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30290 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30291 done
30292
30293 fi
30294
30295
30296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30297 $as_echo_n "checking for iconv... " >&6; }
30298 if ${am_cv_func_iconv+:} false; then :
30299 $as_echo_n "(cached) " >&6
30300 else
30301
30302 am_cv_func_iconv="no, consider installing GNU libiconv"
30303 am_cv_lib_iconv=no
30304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30305 /* end confdefs.h. */
30306 #include <stdlib.h>
30307 #include <iconv.h>
30308 int
30309 main ()
30310 {
30311 iconv_t cd = iconv_open("","");
30312 iconv(cd,NULL,NULL,NULL,NULL);
30313 iconv_close(cd);
30314 ;
30315 return 0;
30316 }
30317 _ACEOF
30318 if ac_fn_c_try_link "$LINENO"; then :
30319 am_cv_func_iconv=yes
30320 fi
30321 rm -f core conftest.err conftest.$ac_objext \
30322 conftest$ac_exeext conftest.$ac_ext
30323 if test "$am_cv_func_iconv" != yes; then
30324 am_save_LIBS="$LIBS"
30325 LIBS="$LIBS -liconv"
30326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30327 /* end confdefs.h. */
30328 #include <stdlib.h>
30329 #include <iconv.h>
30330 int
30331 main ()
30332 {
30333 iconv_t cd = iconv_open("","");
30334 iconv(cd,NULL,NULL,NULL,NULL);
30335 iconv_close(cd);
30336 ;
30337 return 0;
30338 }
30339 _ACEOF
30340 if ac_fn_c_try_link "$LINENO"; then :
30341 am_cv_lib_iconv=yes
30342 am_cv_func_iconv=yes
30343 fi
30344 rm -f core conftest.err conftest.$ac_objext \
30345 conftest$ac_exeext conftest.$ac_ext
30346 LIBS="$am_save_LIBS"
30347 fi
30348
30349 fi
30350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30351 $as_echo "$am_cv_func_iconv" >&6; }
30352 if test "$am_cv_func_iconv" = yes; then
30353
30354 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30355
30356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30357 $as_echo_n "checking if iconv needs const... " >&6; }
30358 if ${wx_cv_func_iconv_const+:} false; then :
30359 $as_echo_n "(cached) " >&6
30360 else
30361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30362 /* end confdefs.h. */
30363
30364 #include <stdlib.h>
30365 #include <iconv.h>
30366 extern
30367 #ifdef __cplusplus
30368 "C"
30369 #endif
30370 #if defined(__STDC__) || defined(__cplusplus)
30371 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30372 #else
30373 size_t iconv();
30374 #endif
30375
30376 int
30377 main ()
30378 {
30379
30380 ;
30381 return 0;
30382 }
30383 _ACEOF
30384 if ac_fn_c_try_compile "$LINENO"; then :
30385 wx_cv_func_iconv_const="no"
30386 else
30387 wx_cv_func_iconv_const="yes"
30388
30389 fi
30390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30391
30392 fi
30393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30394 $as_echo "$wx_cv_func_iconv_const" >&6; }
30395
30396 iconv_const=
30397 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30398 iconv_const="const"
30399 fi
30400
30401
30402 cat >>confdefs.h <<_ACEOF
30403 #define ICONV_CONST $iconv_const
30404 _ACEOF
30405
30406 fi
30407 LIBICONV=
30408 if test "$am_cv_lib_iconv" = yes; then
30409 LIBICONV="-liconv"
30410 fi
30411
30412
30413 LIBS="$LIBICONV $LIBS"
30414 fi
30415
30416 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30417 for ac_func in sigaction
30418 do :
30419 ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
30420 if test "x$ac_cv_func_sigaction" = xyes; then :
30421 cat >>confdefs.h <<_ACEOF
30422 #define HAVE_SIGACTION 1
30423 _ACEOF
30424
30425 fi
30426 done
30427
30428
30429 if test "$ac_cv_func_sigaction" = "no"; then
30430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30431 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30432 wxUSE_ON_FATAL_EXCEPTION=no
30433 fi
30434
30435 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30437 $as_echo_n "checking for sa_handler type... " >&6; }
30438 if ${wx_cv_type_sa_handler+:} false; then :
30439 $as_echo_n "(cached) " >&6
30440 else
30441
30442 ac_ext=cpp
30443 ac_cpp='$CXXCPP $CPPFLAGS'
30444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30447
30448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30449 /* end confdefs.h. */
30450 #include <signal.h>
30451 int
30452 main ()
30453 {
30454
30455 extern void testSigHandler(int);
30456
30457 struct sigaction sa;
30458 sa.sa_handler = testSigHandler;
30459
30460 ;
30461 return 0;
30462 }
30463 _ACEOF
30464 if ac_fn_cxx_try_compile "$LINENO"; then :
30465
30466 wx_cv_type_sa_handler=int
30467
30468 else
30469
30470 wx_cv_type_sa_handler=void
30471
30472 fi
30473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30474 ac_ext=c
30475 ac_cpp='$CPP $CPPFLAGS'
30476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30479
30480
30481 fi
30482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30483 $as_echo "$wx_cv_type_sa_handler" >&6; }
30484
30485 cat >>confdefs.h <<_ACEOF
30486 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30487 _ACEOF
30488
30489 fi
30490 fi
30491
30492 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30494 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30495 if ${wx_cv_func_backtrace+:} false; then :
30496 $as_echo_n "(cached) " >&6
30497 else
30498
30499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
30500 $as_echo_n "checking for library containing backtrace... " >&6; }
30501 if ${ac_cv_search_backtrace+:} false; then :
30502 $as_echo_n "(cached) " >&6
30503 else
30504 ac_func_search_save_LIBS=$LIBS
30505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30506 /* end confdefs.h. */
30507
30508 /* Override any GCC internal prototype to avoid an error.
30509 Use char because int might match the return type of a GCC
30510 builtin and then its argument prototype would still apply. */
30511 #ifdef __cplusplus
30512 extern "C"
30513 #endif
30514 char backtrace ();
30515 int
30516 main ()
30517 {
30518 return backtrace ();
30519 ;
30520 return 0;
30521 }
30522 _ACEOF
30523 for ac_lib in '' execinfo; do
30524 if test -z "$ac_lib"; then
30525 ac_res="none required"
30526 else
30527 ac_res=-l$ac_lib
30528 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
30529 fi
30530 if ac_fn_c_try_link "$LINENO"; then :
30531 ac_cv_search_backtrace=$ac_res
30532 fi
30533 rm -f core conftest.err conftest.$ac_objext \
30534 conftest$ac_exeext
30535 if ${ac_cv_search_backtrace+:} false; then :
30536 break
30537 fi
30538 done
30539 if ${ac_cv_search_backtrace+:} false; then :
30540
30541 else
30542 ac_cv_search_backtrace=no
30543 fi
30544 rm conftest.$ac_ext
30545 LIBS=$ac_func_search_save_LIBS
30546 fi
30547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
30548 $as_echo "$ac_cv_search_backtrace" >&6; }
30549 ac_res=$ac_cv_search_backtrace
30550 if test "$ac_res" != no; then :
30551 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
30552
30553 ac_ext=cpp
30554 ac_cpp='$CXXCPP $CPPFLAGS'
30555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30558
30559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30560 /* end confdefs.h. */
30561 #include <execinfo.h>
30562 int
30563 main ()
30564 {
30565
30566 void *trace[1];
30567 char **messages;
30568 backtrace(trace, 1);
30569 messages = backtrace_symbols(trace, 1);
30570
30571 ;
30572 return 0;
30573 }
30574 _ACEOF
30575 if ac_fn_cxx_try_link "$LINENO"; then :
30576 wx_cv_func_backtrace=yes
30577 else
30578 wx_cv_func_backtrace=no
30579
30580 fi
30581 rm -f core conftest.err conftest.$ac_objext \
30582 conftest$ac_exeext conftest.$ac_ext
30583 ac_ext=c
30584 ac_cpp='$CPP $CPPFLAGS'
30585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30588
30589
30590 else
30591 wx_cv_func_backtrace=no
30592
30593 fi
30594
30595
30596
30597 fi
30598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30599 $as_echo "$wx_cv_func_backtrace" >&6; }
30600
30601 if test "$wx_cv_func_backtrace" = "no"; then
30602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30603 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30604 wxUSE_STACKWALKER=no
30605 else
30606 if test "$ac_cv_header_cxxabi_h" = "yes"; then
30607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30608 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30609 if ${wx_cv_func_cxa_demangle+:} false; then :
30610 $as_echo_n "(cached) " >&6
30611 else
30612
30613 ac_ext=cpp
30614 ac_cpp='$CXXCPP $CPPFLAGS'
30615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30618
30619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30620 /* end confdefs.h. */
30621 #include <cxxabi.h>
30622 int
30623 main ()
30624 {
30625
30626 int rc;
30627 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30628
30629 ;
30630 return 0;
30631 }
30632 _ACEOF
30633 if ac_fn_cxx_try_link "$LINENO"; then :
30634 wx_cv_func_cxa_demangle=yes
30635 else
30636 wx_cv_func_cxa_demangle=no
30637
30638 fi
30639 rm -f core conftest.err conftest.$ac_objext \
30640 conftest$ac_exeext conftest.$ac_ext
30641 ac_ext=c
30642 ac_cpp='$CPP $CPPFLAGS'
30643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30646
30647
30648
30649 fi
30650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30651 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30652 else
30653 wx_cv_func_cxa_demangle=no
30654 fi
30655
30656 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30657 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30658
30659 fi
30660 fi
30661 fi
30662
30663 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30665 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30666 wxUSE_STACKWALKER=no
30667 fi
30668
30669
30670 for ac_func in mkstemp mktemp
30671 do :
30672 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30673 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30674 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30675 cat >>confdefs.h <<_ACEOF
30676 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30677 _ACEOF
30678 break
30679 fi
30680 done
30681
30682
30683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30684 $as_echo_n "checking for statfs... " >&6; }
30685 if ${wx_cv_func_statfs+:} false; then :
30686 $as_echo_n "(cached) " >&6
30687 else
30688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30689 /* end confdefs.h. */
30690
30691 #if defined(__BSD__)
30692 #include <sys/param.h>
30693 #include <sys/mount.h>
30694 #else
30695 #include <sys/vfs.h>
30696 #endif
30697
30698 int
30699 main ()
30700 {
30701
30702 long l;
30703 struct statfs fs;
30704 statfs("/", &fs);
30705 l = fs.f_bsize;
30706 l += fs.f_blocks;
30707 l += fs.f_bavail;
30708
30709 ;
30710 return 0;
30711 }
30712 _ACEOF
30713 if ac_fn_c_try_compile "$LINENO"; then :
30714 wx_cv_func_statfs=yes
30715 else
30716 wx_cv_func_statfs=no
30717
30718 fi
30719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30720
30721 fi
30722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30723 $as_echo "$wx_cv_func_statfs" >&6; }
30724
30725 if test "$wx_cv_func_statfs" = "yes"; then
30726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30727 $as_echo_n "checking for statfs declaration... " >&6; }
30728 if ${wx_cv_func_statfs_decl+:} false; then :
30729 $as_echo_n "(cached) " >&6
30730 else
30731 ac_ext=cpp
30732 ac_cpp='$CXXCPP $CPPFLAGS'
30733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30736
30737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30738 /* end confdefs.h. */
30739
30740 #if defined(__BSD__)
30741 #include <sys/param.h>
30742 #include <sys/mount.h>
30743 #else
30744 #include <sys/vfs.h>
30745 #endif
30746
30747 int
30748 main ()
30749 {
30750
30751 struct statfs fs;
30752 statfs("", &fs);
30753
30754 ;
30755 return 0;
30756 }
30757 _ACEOF
30758 if ac_fn_cxx_try_compile "$LINENO"; then :
30759 wx_cv_func_statfs_decl=yes
30760 else
30761 wx_cv_func_statfs_decl=no
30762
30763 fi
30764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30765 ac_ext=c
30766 ac_cpp='$CPP $CPPFLAGS'
30767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30770
30771
30772 fi
30773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30774 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30775
30776 if test "$wx_cv_func_statfs_decl" = "yes"; then
30777 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30778
30779 fi
30780
30781 wx_cv_type_statvfs_t="struct statfs"
30782 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30783
30784 else
30785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30786 $as_echo_n "checking for statvfs... " >&6; }
30787 if ${wx_cv_func_statvfs+:} false; then :
30788 $as_echo_n "(cached) " >&6
30789 else
30790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30791 /* end confdefs.h. */
30792
30793 #include <stddef.h>
30794 #include <sys/statvfs.h>
30795
30796 int
30797 main ()
30798 {
30799
30800 statvfs("/", NULL);
30801
30802 ;
30803 return 0;
30804 }
30805 _ACEOF
30806 if ac_fn_c_try_compile "$LINENO"; then :
30807 wx_cv_func_statvfs=yes
30808 else
30809 wx_cv_func_statvfs=no
30810
30811 fi
30812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30813
30814 fi
30815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30816 $as_echo "$wx_cv_func_statvfs" >&6; }
30817
30818 if test "$wx_cv_func_statvfs" = "yes"; then
30819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30820 $as_echo_n "checking for statvfs argument type... " >&6; }
30821 if ${wx_cv_type_statvfs_t+:} false; then :
30822 $as_echo_n "(cached) " >&6
30823 else
30824 ac_ext=cpp
30825 ac_cpp='$CXXCPP $CPPFLAGS'
30826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30829
30830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30831 /* end confdefs.h. */
30832
30833 #include <sys/statvfs.h>
30834
30835 int
30836 main ()
30837 {
30838
30839 long l;
30840 statvfs_t fs;
30841 statvfs("/", &fs);
30842 l = fs.f_bsize;
30843 l += fs.f_blocks;
30844 l += fs.f_bavail;
30845
30846 ;
30847 return 0;
30848 }
30849 _ACEOF
30850 if ac_fn_cxx_try_compile "$LINENO"; then :
30851 wx_cv_type_statvfs_t=statvfs_t
30852 else
30853
30854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30855 /* end confdefs.h. */
30856
30857 #include <sys/statvfs.h>
30858
30859 int
30860 main ()
30861 {
30862
30863 long l;
30864 struct statvfs fs;
30865 statvfs("/", &fs);
30866 l = fs.f_bsize;
30867 l += fs.f_blocks;
30868 l += fs.f_bavail;
30869
30870 ;
30871 return 0;
30872 }
30873 _ACEOF
30874 if ac_fn_cxx_try_compile "$LINENO"; then :
30875 wx_cv_type_statvfs_t="struct statvfs"
30876 else
30877 wx_cv_type_statvfs_t="unknown"
30878
30879 fi
30880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30881
30882
30883 fi
30884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30885 ac_ext=c
30886 ac_cpp='$CPP $CPPFLAGS'
30887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30890
30891
30892 fi
30893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30894 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30895
30896 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30897 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30898
30899 fi
30900 else
30901 wx_cv_type_statvfs_t="unknown"
30902 fi
30903 fi
30904
30905 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30906 cat >>confdefs.h <<_ACEOF
30907 #define WX_STATFS_T $wx_cv_type_statvfs_t
30908 _ACEOF
30909
30910 else
30911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30912 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30913 fi
30914
30915 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30916 for ac_func in fcntl flock
30917 do :
30918 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30919 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30920 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30921 cat >>confdefs.h <<_ACEOF
30922 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30923 _ACEOF
30924 break
30925 fi
30926 done
30927
30928
30929 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30931 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30932 wxUSE_SNGLINST_CHECKER=no
30933 fi
30934 fi
30935
30936 for ac_func in setenv putenv
30937 do :
30938 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30939 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30940 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30941 cat >>confdefs.h <<_ACEOF
30942 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30943 _ACEOF
30944 break
30945 fi
30946 done
30947
30948 if test "$ac_cv_func_setenv" = "yes"; then
30949 for ac_func in unsetenv
30950 do :
30951 ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30952 if test "x$ac_cv_func_unsetenv" = xyes; then :
30953 cat >>confdefs.h <<_ACEOF
30954 #define HAVE_UNSETENV 1
30955 _ACEOF
30956
30957 fi
30958 done
30959
30960 fi
30961
30962 HAVE_SOME_SLEEP_FUNC=0
30963 if test "$USE_BEOS" = 1; then
30964 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30965
30966 HAVE_SOME_SLEEP_FUNC=1
30967 fi
30968
30969 if test "$USE_DARWIN" = 1; then
30970 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
30971
30972 HAVE_SOME_SLEEP_FUNC=1
30973 fi
30974
30975 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30976 POSIX4_LINK=
30977 for ac_func in nanosleep
30978 do :
30979 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30980 if test "x$ac_cv_func_nanosleep" = xyes; then :
30981 cat >>confdefs.h <<_ACEOF
30982 #define HAVE_NANOSLEEP 1
30983 _ACEOF
30984 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30985
30986 else
30987
30988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
30989 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
30990 if ${ac_cv_lib_posix4_nanosleep+:} false; then :
30991 $as_echo_n "(cached) " >&6
30992 else
30993 ac_check_lib_save_LIBS=$LIBS
30994 LIBS="-lposix4 $LIBS"
30995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30996 /* end confdefs.h. */
30997
30998 /* Override any GCC internal prototype to avoid an error.
30999 Use char because int might match the return type of a GCC
31000 builtin and then its argument prototype would still apply. */
31001 #ifdef __cplusplus
31002 extern "C"
31003 #endif
31004 char nanosleep ();
31005 int
31006 main ()
31007 {
31008 return nanosleep ();
31009 ;
31010 return 0;
31011 }
31012 _ACEOF
31013 if ac_fn_c_try_link "$LINENO"; then :
31014 ac_cv_lib_posix4_nanosleep=yes
31015 else
31016 ac_cv_lib_posix4_nanosleep=no
31017 fi
31018 rm -f core conftest.err conftest.$ac_objext \
31019 conftest$ac_exeext conftest.$ac_ext
31020 LIBS=$ac_check_lib_save_LIBS
31021 fi
31022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
31023 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
31024 if test "x$ac_cv_lib_posix4_nanosleep" = xyes; then :
31025
31026 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31027
31028 POSIX4_LINK=" -lposix4"
31029
31030 else
31031
31032
31033 for wx_func in usleep
31034 do
31035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31036 $as_echo_n "checking for $wx_func... " >&6; }
31037 if eval \${wx_cv_func_$wx_func+:} false; then :
31038 $as_echo_n "(cached) " >&6
31039 else
31040
31041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31042 /* end confdefs.h. */
31043
31044
31045
31046 $ac_includes_default
31047
31048 int
31049 main ()
31050 {
31051
31052 #ifndef $wx_func
31053 &$wx_func;
31054 #endif
31055
31056
31057 ;
31058 return 0;
31059 }
31060
31061 _ACEOF
31062 if ac_fn_c_try_link "$LINENO"; then :
31063 eval wx_cv_func_$wx_func=yes
31064 else
31065 eval wx_cv_func_$wx_func=no
31066 fi
31067 rm -f core conftest.err conftest.$ac_objext \
31068 conftest$ac_exeext conftest.$ac_ext
31069
31070 fi
31071 eval ac_res=\$wx_cv_func_$wx_func
31072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31073 $as_echo "$ac_res" >&6; }
31074
31075 if eval test \$wx_cv_func_$wx_func = yes
31076 then
31077 cat >>confdefs.h <<_ACEOF
31078 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31079 _ACEOF
31080
31081
31082 else
31083 :
31084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
31085 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31086
31087 fi
31088 done
31089
31090
31091
31092 fi
31093
31094
31095
31096 fi
31097 done
31098
31099 fi
31100
31101
31102 for wx_func in uname
31103 do
31104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31105 $as_echo_n "checking for $wx_func... " >&6; }
31106 if eval \${wx_cv_func_$wx_func+:} false; then :
31107 $as_echo_n "(cached) " >&6
31108 else
31109
31110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31111 /* end confdefs.h. */
31112
31113
31114 #include <sys/utsname.h>
31115 $ac_includes_default
31116
31117 int
31118 main ()
31119 {
31120
31121 #ifndef $wx_func
31122 &$wx_func;
31123 #endif
31124
31125
31126 ;
31127 return 0;
31128 }
31129
31130 _ACEOF
31131 if ac_fn_c_try_link "$LINENO"; then :
31132 eval wx_cv_func_$wx_func=yes
31133 else
31134 eval wx_cv_func_$wx_func=no
31135 fi
31136 rm -f core conftest.err conftest.$ac_objext \
31137 conftest$ac_exeext conftest.$ac_ext
31138
31139 fi
31140 eval ac_res=\$wx_cv_func_$wx_func
31141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31142 $as_echo "$ac_res" >&6; }
31143
31144 if eval test \$wx_cv_func_$wx_func = yes
31145 then
31146 cat >>confdefs.h <<_ACEOF
31147 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31148 _ACEOF
31149
31150
31151 else
31152 :
31153
31154 fi
31155 done
31156
31157 if test "$wx_cv_func_uname" != yes; then
31158
31159 for wx_func in gethostname
31160 do
31161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31162 $as_echo_n "checking for $wx_func... " >&6; }
31163 if eval \${wx_cv_func_$wx_func+:} false; then :
31164 $as_echo_n "(cached) " >&6
31165 else
31166
31167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31168 /* end confdefs.h. */
31169
31170
31171
31172 $ac_includes_default
31173
31174 int
31175 main ()
31176 {
31177
31178 #ifndef $wx_func
31179 &$wx_func;
31180 #endif
31181
31182
31183 ;
31184 return 0;
31185 }
31186
31187 _ACEOF
31188 if ac_fn_c_try_link "$LINENO"; then :
31189 eval wx_cv_func_$wx_func=yes
31190 else
31191 eval wx_cv_func_$wx_func=no
31192 fi
31193 rm -f core conftest.err conftest.$ac_objext \
31194 conftest$ac_exeext conftest.$ac_ext
31195
31196 fi
31197 eval ac_res=\$wx_cv_func_$wx_func
31198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31199 $as_echo "$ac_res" >&6; }
31200
31201 if eval test \$wx_cv_func_$wx_func = yes
31202 then
31203 cat >>confdefs.h <<_ACEOF
31204 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31205 _ACEOF
31206
31207
31208 else
31209 :
31210
31211 fi
31212 done
31213
31214 fi
31215
31216
31217 for wx_func in strtok_r
31218 do
31219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31220 $as_echo_n "checking for $wx_func... " >&6; }
31221 if eval \${wx_cv_func_$wx_func+:} false; then :
31222 $as_echo_n "(cached) " >&6
31223 else
31224
31225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31226 /* end confdefs.h. */
31227
31228
31229 #define _REENTRANT
31230 $ac_includes_default
31231
31232 int
31233 main ()
31234 {
31235
31236 #ifndef $wx_func
31237 &$wx_func;
31238 #endif
31239
31240
31241 ;
31242 return 0;
31243 }
31244
31245 _ACEOF
31246 if ac_fn_c_try_link "$LINENO"; then :
31247 eval wx_cv_func_$wx_func=yes
31248 else
31249 eval wx_cv_func_$wx_func=no
31250 fi
31251 rm -f core conftest.err conftest.$ac_objext \
31252 conftest$ac_exeext conftest.$ac_ext
31253
31254 fi
31255 eval ac_res=\$wx_cv_func_$wx_func
31256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31257 $as_echo "$ac_res" >&6; }
31258
31259 if eval test \$wx_cv_func_$wx_func = yes
31260 then
31261 cat >>confdefs.h <<_ACEOF
31262 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31263 _ACEOF
31264
31265
31266 else
31267 :
31268
31269 fi
31270 done
31271
31272
31273 INET_LINK=
31274 for ac_func in inet_addr
31275 do :
31276 ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31277 if test "x$ac_cv_func_inet_addr" = xyes; then :
31278 cat >>confdefs.h <<_ACEOF
31279 #define HAVE_INET_ADDR 1
31280 _ACEOF
31281 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31282
31283 else
31284
31285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31286 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31287 if ${ac_cv_lib_nsl_inet_addr+:} false; then :
31288 $as_echo_n "(cached) " >&6
31289 else
31290 ac_check_lib_save_LIBS=$LIBS
31291 LIBS="-lnsl $LIBS"
31292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31293 /* end confdefs.h. */
31294
31295 /* Override any GCC internal prototype to avoid an error.
31296 Use char because int might match the return type of a GCC
31297 builtin and then its argument prototype would still apply. */
31298 #ifdef __cplusplus
31299 extern "C"
31300 #endif
31301 char inet_addr ();
31302 int
31303 main ()
31304 {
31305 return inet_addr ();
31306 ;
31307 return 0;
31308 }
31309 _ACEOF
31310 if ac_fn_c_try_link "$LINENO"; then :
31311 ac_cv_lib_nsl_inet_addr=yes
31312 else
31313 ac_cv_lib_nsl_inet_addr=no
31314 fi
31315 rm -f core conftest.err conftest.$ac_objext \
31316 conftest$ac_exeext conftest.$ac_ext
31317 LIBS=$ac_check_lib_save_LIBS
31318 fi
31319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31320 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31321 if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
31322 INET_LINK="nsl"
31323 else
31324
31325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31326 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31327 if ${ac_cv_lib_resolv_inet_addr+:} false; then :
31328 $as_echo_n "(cached) " >&6
31329 else
31330 ac_check_lib_save_LIBS=$LIBS
31331 LIBS="-lresolv $LIBS"
31332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31333 /* end confdefs.h. */
31334
31335 /* Override any GCC internal prototype to avoid an error.
31336 Use char because int might match the return type of a GCC
31337 builtin and then its argument prototype would still apply. */
31338 #ifdef __cplusplus
31339 extern "C"
31340 #endif
31341 char inet_addr ();
31342 int
31343 main ()
31344 {
31345 return inet_addr ();
31346 ;
31347 return 0;
31348 }
31349 _ACEOF
31350 if ac_fn_c_try_link "$LINENO"; then :
31351 ac_cv_lib_resolv_inet_addr=yes
31352 else
31353 ac_cv_lib_resolv_inet_addr=no
31354 fi
31355 rm -f core conftest.err conftest.$ac_objext \
31356 conftest$ac_exeext conftest.$ac_ext
31357 LIBS=$ac_check_lib_save_LIBS
31358 fi
31359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31360 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31361 if test "x$ac_cv_lib_resolv_inet_addr" = xyes; then :
31362 INET_LINK="resolv"
31363 else
31364
31365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31366 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31367 if ${ac_cv_lib_socket_inet_addr+:} false; then :
31368 $as_echo_n "(cached) " >&6
31369 else
31370 ac_check_lib_save_LIBS=$LIBS
31371 LIBS="-lsocket $LIBS"
31372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31373 /* end confdefs.h. */
31374
31375 /* Override any GCC internal prototype to avoid an error.
31376 Use char because int might match the return type of a GCC
31377 builtin and then its argument prototype would still apply. */
31378 #ifdef __cplusplus
31379 extern "C"
31380 #endif
31381 char inet_addr ();
31382 int
31383 main ()
31384 {
31385 return inet_addr ();
31386 ;
31387 return 0;
31388 }
31389 _ACEOF
31390 if ac_fn_c_try_link "$LINENO"; then :
31391 ac_cv_lib_socket_inet_addr=yes
31392 else
31393 ac_cv_lib_socket_inet_addr=no
31394 fi
31395 rm -f core conftest.err conftest.$ac_objext \
31396 conftest$ac_exeext conftest.$ac_ext
31397 LIBS=$ac_check_lib_save_LIBS
31398 fi
31399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31400 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31401 if test "x$ac_cv_lib_socket_inet_addr" = xyes; then :
31402 INET_LINK="socket"
31403
31404 fi
31405
31406
31407
31408 fi
31409
31410
31411
31412 fi
31413
31414
31415
31416 fi
31417 done
31418
31419
31420 for ac_func in inet_aton
31421 do :
31422 ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31423 if test "x$ac_cv_func_inet_aton" = xyes; then :
31424 cat >>confdefs.h <<_ACEOF
31425 #define HAVE_INET_ATON 1
31426 _ACEOF
31427 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31428
31429 else
31430
31431 as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31433 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31434 if eval \${$as_ac_Lib+:} false; then :
31435 $as_echo_n "(cached) " >&6
31436 else
31437 ac_check_lib_save_LIBS=$LIBS
31438 LIBS="-l$INET_LINK $LIBS"
31439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31440 /* end confdefs.h. */
31441
31442 /* Override any GCC internal prototype to avoid an error.
31443 Use char because int might match the return type of a GCC
31444 builtin and then its argument prototype would still apply. */
31445 #ifdef __cplusplus
31446 extern "C"
31447 #endif
31448 char inet_aton ();
31449 int
31450 main ()
31451 {
31452 return inet_aton ();
31453 ;
31454 return 0;
31455 }
31456 _ACEOF
31457 if ac_fn_c_try_link "$LINENO"; then :
31458 eval "$as_ac_Lib=yes"
31459 else
31460 eval "$as_ac_Lib=no"
31461 fi
31462 rm -f core conftest.err conftest.$ac_objext \
31463 conftest$ac_exeext conftest.$ac_ext
31464 LIBS=$ac_check_lib_save_LIBS
31465 fi
31466 eval ac_res=\$$as_ac_Lib
31467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31468 $as_echo "$ac_res" >&6; }
31469 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
31470 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31471
31472 fi
31473
31474
31475 fi
31476 done
31477
31478
31479 if test "x$INET_LINK" != "x"; then
31480 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31481
31482 INET_LINK=" -l$INET_LINK"
31483 fi
31484
31485
31486 for wx_func in fdopen
31487 do
31488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31489 $as_echo_n "checking for $wx_func... " >&6; }
31490 if eval \${wx_cv_func_$wx_func+:} false; then :
31491 $as_echo_n "(cached) " >&6
31492 else
31493
31494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31495 /* end confdefs.h. */
31496
31497
31498
31499 $ac_includes_default
31500
31501 int
31502 main ()
31503 {
31504
31505 #ifndef $wx_func
31506 &$wx_func;
31507 #endif
31508
31509
31510 ;
31511 return 0;
31512 }
31513
31514 _ACEOF
31515 if ac_fn_c_try_link "$LINENO"; then :
31516 eval wx_cv_func_$wx_func=yes
31517 else
31518 eval wx_cv_func_$wx_func=no
31519 fi
31520 rm -f core conftest.err conftest.$ac_objext \
31521 conftest$ac_exeext conftest.$ac_ext
31522
31523 fi
31524 eval ac_res=\$wx_cv_func_$wx_func
31525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31526 $as_echo "$ac_res" >&6; }
31527
31528 if eval test \$wx_cv_func_$wx_func = yes
31529 then
31530 cat >>confdefs.h <<_ACEOF
31531 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31532 _ACEOF
31533
31534
31535 else
31536 :
31537
31538 fi
31539 done
31540
31541
31542 if test "$wxUSE_TARSTREAM" = "yes"; then
31543
31544 for wx_func in sysconf
31545 do
31546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31547 $as_echo_n "checking for $wx_func... " >&6; }
31548 if eval \${wx_cv_func_$wx_func+:} false; then :
31549 $as_echo_n "(cached) " >&6
31550 else
31551
31552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31553 /* end confdefs.h. */
31554
31555
31556
31557 $ac_includes_default
31558
31559 int
31560 main ()
31561 {
31562
31563 #ifndef $wx_func
31564 &$wx_func;
31565 #endif
31566
31567
31568 ;
31569 return 0;
31570 }
31571
31572 _ACEOF
31573 if ac_fn_c_try_link "$LINENO"; then :
31574 eval wx_cv_func_$wx_func=yes
31575 else
31576 eval wx_cv_func_$wx_func=no
31577 fi
31578 rm -f core conftest.err conftest.$ac_objext \
31579 conftest$ac_exeext conftest.$ac_ext
31580
31581 fi
31582 eval ac_res=\$wx_cv_func_$wx_func
31583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31584 $as_echo "$ac_res" >&6; }
31585
31586 if eval test \$wx_cv_func_$wx_func = yes
31587 then
31588 cat >>confdefs.h <<_ACEOF
31589 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31590 _ACEOF
31591
31592
31593 else
31594 :
31595
31596 fi
31597 done
31598
31599
31600
31601 for wx_func in getpwuid_r
31602 do
31603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31604 $as_echo_n "checking for $wx_func... " >&6; }
31605 if eval \${wx_cv_func_$wx_func+:} false; then :
31606 $as_echo_n "(cached) " >&6
31607 else
31608
31609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31610 /* end confdefs.h. */
31611
31612
31613
31614 #define _REENTRANT
31615 #include <pwd.h>
31616
31617 $ac_includes_default
31618
31619 int
31620 main ()
31621 {
31622
31623 #ifndef $wx_func
31624 &$wx_func;
31625 #endif
31626
31627 struct passwd pw, *ppw;
31628 char buf[1024];
31629 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31630
31631
31632 ;
31633 return 0;
31634 }
31635
31636 _ACEOF
31637 if ac_fn_c_try_link "$LINENO"; then :
31638 eval wx_cv_func_$wx_func=yes
31639 else
31640 eval wx_cv_func_$wx_func=no
31641 fi
31642 rm -f core conftest.err conftest.$ac_objext \
31643 conftest$ac_exeext conftest.$ac_ext
31644
31645 fi
31646 eval ac_res=\$wx_cv_func_$wx_func
31647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31648 $as_echo "$ac_res" >&6; }
31649
31650 if eval test \$wx_cv_func_$wx_func = yes
31651 then
31652 cat >>confdefs.h <<_ACEOF
31653 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31654 _ACEOF
31655
31656
31657 else
31658 :
31659
31660 fi
31661 done
31662
31663
31664
31665 for wx_func in getgrgid_r
31666 do
31667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31668 $as_echo_n "checking for $wx_func... " >&6; }
31669 if eval \${wx_cv_func_$wx_func+:} false; then :
31670 $as_echo_n "(cached) " >&6
31671 else
31672
31673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31674 /* end confdefs.h. */
31675
31676
31677
31678 #define _REENTRANT
31679 #include <grp.h>
31680
31681 $ac_includes_default
31682
31683 int
31684 main ()
31685 {
31686
31687 #ifndef $wx_func
31688 &$wx_func;
31689 #endif
31690
31691 struct group grp, *pgrp;
31692 char buf[1024];
31693 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31694
31695
31696 ;
31697 return 0;
31698 }
31699
31700 _ACEOF
31701 if ac_fn_c_try_link "$LINENO"; then :
31702 eval wx_cv_func_$wx_func=yes
31703 else
31704 eval wx_cv_func_$wx_func=no
31705 fi
31706 rm -f core conftest.err conftest.$ac_objext \
31707 conftest$ac_exeext conftest.$ac_ext
31708
31709 fi
31710 eval ac_res=\$wx_cv_func_$wx_func
31711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31712 $as_echo "$ac_res" >&6; }
31713
31714 if eval test \$wx_cv_func_$wx_func = yes
31715 then
31716 cat >>confdefs.h <<_ACEOF
31717 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31718 _ACEOF
31719
31720
31721 else
31722 :
31723
31724 fi
31725 done
31726
31727 fi
31728
31729 fi
31730
31731
31732
31733 cat >confcache <<\_ACEOF
31734 # This file is a shell script that caches the results of configure
31735 # tests run on this system so they can be shared between configure
31736 # scripts and configure runs, see configure's option --config-cache.
31737 # It is not useful on other systems. If it contains results you don't
31738 # want to keep, you may remove or edit it.
31739 #
31740 # config.status only pays attention to the cache file if you give it
31741 # the --recheck option to rerun configure.
31742 #
31743 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31744 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31745 # following values.
31746
31747 _ACEOF
31748
31749 # The following way of writing the cache mishandles newlines in values,
31750 # but we know of no workaround that is simple, portable, and efficient.
31751 # So, we kill variables containing newlines.
31752 # Ultrix sh set writes to stderr and can't be redirected directly,
31753 # and sets the high bit in the cache file unless we assign to the vars.
31754 (
31755 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31756 eval ac_val=\$$ac_var
31757 case $ac_val in #(
31758 *${as_nl}*)
31759 case $ac_var in #(
31760 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31761 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31762 esac
31763 case $ac_var in #(
31764 _ | IFS | as_nl) ;; #(
31765 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31766 *) { eval $ac_var=; unset $ac_var;} ;;
31767 esac ;;
31768 esac
31769 done
31770
31771 (set) 2>&1 |
31772 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31773 *${as_nl}ac_space=\ *)
31774 # `set' does not quote correctly, so add quotes: double-quote
31775 # substitution turns \\\\ into \\, and sed turns \\ into \.
31776 sed -n \
31777 "s/'/'\\\\''/g;
31778 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31779 ;; #(
31780 *)
31781 # `set' quotes correctly as required by POSIX, so do not add quotes.
31782 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31783 ;;
31784 esac |
31785 sort
31786 ) |
31787 sed '
31788 /^ac_cv_env_/b end
31789 t clear
31790 :clear
31791 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31792 t end
31793 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31794 :end' >>confcache
31795 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31796 if test -w "$cache_file"; then
31797 if test "x$cache_file" != "x/dev/null"; then
31798 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31799 $as_echo "$as_me: updating cache $cache_file" >&6;}
31800 if test ! -f "$cache_file" || test -h "$cache_file"; then
31801 cat confcache >"$cache_file"
31802 else
31803 case $cache_file in #(
31804 */* | ?:*)
31805 mv -f confcache "$cache_file"$$ &&
31806 mv -f "$cache_file"$$ "$cache_file" ;; #(
31807 *)
31808 mv -f confcache "$cache_file" ;;
31809 esac
31810 fi
31811 fi
31812 else
31813 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31814 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31815 fi
31816 fi
31817 rm -f confcache
31818
31819
31820 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31821
31822
31823 THREADS_LINK=
31824 THREADS_CFLAGS=
31825
31826 if test "$wxUSE_THREADS" = "yes" ; then
31827 if test "$USE_BEOS" = 1; then
31828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31829 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31830 wxUSE_THREADS="no"
31831 fi
31832 fi
31833
31834 if test "$wxUSE_THREADS" = "yes" ; then
31835
31836
31837 THREAD_OPTS="-pthread"
31838 if test "x$SUNCXX" = xyes; then
31839 THREAD_OPTS="-mt lthread $THREAD_OPTS"
31840 fi
31841
31842 case "${host}" in
31843 *-*-solaris2* | *-*-sunos4* )
31844 if test "x$GCC" = "xyes"; then
31845 THREAD_OPTS="-pthreads $THREAD_OPTS"
31846 fi
31847 ;;
31848 *-*-freebsd*)
31849 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31850 ;;
31851 *-*-darwin* | *-*-cygwin* )
31852 THREAD_OPTS=""
31853 ;;
31854 *-*-aix*)
31855 THREAD_OPTS="pthreads"
31856 ;;
31857 *-hp-hpux* )
31858 if test "x$GCC" = "xyes"; then
31859 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
31860 THREAD_OPTS=""
31861 else
31862 THREAD_OPTS="-mt"
31863 fi
31864 ;;
31865
31866 *-*-irix* )
31867 if test "x$GCC" = "xyes"; then
31868 THREAD_OPTS=""
31869 fi
31870 ;;
31871
31872 *-*-qnx*)
31873 THREAD_OPTS=""
31874 ;;
31875
31876 *-*-*UnixWare*)
31877 if test "x$GCC" != "xyes"; then
31878 THREAD_OPTS="-Ethread"
31879 fi
31880 ;;
31881 esac
31882
31883 case "${host}" in
31884 *-*-qnx*)
31885 THREAD_OPTS="none pthread"
31886 ;;
31887
31888 *)
31889 THREAD_OPTS="$THREAD_OPTS pthread none"
31890 ;;
31891 esac
31892
31893 THREADS_OK=no
31894 for flag in $THREAD_OPTS; do
31895 case $flag in
31896 none)
31897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31898 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31899 ;;
31900
31901 -*)
31902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31903 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31904 THREADS_CFLAGS="$flag"
31905 ;;
31906
31907 *)
31908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31909 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31910 THREADS_LINK="-l$flag"
31911 ;;
31912 esac
31913
31914 save_LIBS="$LIBS"
31915 save_CFLAGS="$CFLAGS"
31916 LIBS="$THREADS_LINK $LIBS"
31917 CFLAGS="$THREADS_CFLAGS $CFLAGS"
31918
31919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31920 /* end confdefs.h. */
31921 #include <pthread.h>
31922 int
31923 main ()
31924 {
31925 pthread_create(0,0,0,0);
31926 ;
31927 return 0;
31928 }
31929 _ACEOF
31930 if ac_fn_c_try_link "$LINENO"; then :
31931 THREADS_OK=yes
31932 fi
31933 rm -f core conftest.err conftest.$ac_objext \
31934 conftest$ac_exeext conftest.$ac_ext
31935
31936 LIBS="$save_LIBS"
31937 CFLAGS="$save_CFLAGS"
31938
31939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31940 $as_echo "$THREADS_OK" >&6; }
31941 if test "x$THREADS_OK" = "xyes"; then
31942 break;
31943 fi
31944
31945 THREADS_LINK=""
31946 THREADS_CFLAGS=""
31947 done
31948
31949 if test "x$THREADS_OK" != "xyes"; then
31950 wxUSE_THREADS=no
31951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31952 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31953 else
31954 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31955 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31956 LIBS="$THREADS_LINK $LIBS"
31957
31958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
31959 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
31960 flag=no
31961 case "${host}" in
31962 *-aix*)
31963 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31964 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
31965 flag="-D_THREAD_SAFE"
31966 ;;
31967 *-freebsd*)
31968 flag="-D_THREAD_SAFE"
31969 ;;
31970 *-hp-hpux* )
31971 flag="-D_REENTRANT"
31972 if test "x$GCC" != "xyes"; then
31973 flag="$flag -D_RWSTD_MULTI_THREAD"
31974 fi
31975 ;;
31976 *solaris* | alpha*-osf*)
31977 flag="-D_REENTRANT"
31978 ;;
31979 esac
31980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
31981 $as_echo "${flag}" >&6; }
31982 if test "x$flag" != xno; then
31983 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31984 fi
31985
31986 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
31987 fi
31988 fi
31989
31990 if test "$wxUSE_THREADS" = "yes" ; then
31991 for ac_func in pthread_setconcurrency
31992 do :
31993 ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
31994 if test "x$ac_cv_func_pthread_setconcurrency" = xyes; then :
31995 cat >>confdefs.h <<_ACEOF
31996 #define HAVE_PTHREAD_SETCONCURRENCY 1
31997 _ACEOF
31998 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
31999
32000 else
32001
32002 for ac_func in thr_setconcurrency
32003 do :
32004 ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
32005 if test "x$ac_cv_func_thr_setconcurrency" = xyes; then :
32006 cat >>confdefs.h <<_ACEOF
32007 #define HAVE_THR_SETCONCURRENCY 1
32008 _ACEOF
32009 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
32010
32011 else
32012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
32013 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
32014 fi
32015 done
32016
32017
32018 fi
32019 done
32020
32021
32022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
32023 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
32024 if ${wx_cv_func_pthread_cleanup+:} false; then :
32025 $as_echo_n "(cached) " >&6
32026 else
32027
32028 ac_ext=cpp
32029 ac_cpp='$CXXCPP $CPPFLAGS'
32030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32033
32034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32035 /* end confdefs.h. */
32036 #include <pthread.h>
32037 void ThreadCleanupFunc(void *p);
32038
32039 int
32040 main ()
32041 {
32042
32043 void *p;
32044 pthread_cleanup_push(ThreadCleanupFunc, p);
32045 pthread_cleanup_pop(0);
32046
32047 ;
32048 return 0;
32049 }
32050 _ACEOF
32051 if ac_fn_cxx_try_compile "$LINENO"; then :
32052
32053 wx_cv_func_pthread_cleanup=yes
32054
32055 else
32056
32057 wx_cv_func_pthread_cleanup=no
32058
32059
32060 fi
32061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32062 ac_ext=c
32063 ac_cpp='$CPP $CPPFLAGS'
32064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32067
32068
32069 fi
32070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
32071 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
32072 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
32073 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
32074
32075 fi
32076
32077 for ac_header in sched.h
32078 do :
32079 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
32080 "
32081 if test "x$ac_cv_header_sched_h" = xyes; then :
32082 cat >>confdefs.h <<_ACEOF
32083 #define HAVE_SCHED_H 1
32084 _ACEOF
32085
32086 fi
32087
32088 done
32089
32090 if test "$ac_cv_header_sched_h" = "yes"; then
32091 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
32092 if test "x$ac_cv_func_sched_yield" = xyes; then :
32093 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32094
32095 else
32096
32097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
32098 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
32099 if ${ac_cv_lib_posix4_sched_yield+:} false; then :
32100 $as_echo_n "(cached) " >&6
32101 else
32102 ac_check_lib_save_LIBS=$LIBS
32103 LIBS="-lposix4 $LIBS"
32104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32105 /* end confdefs.h. */
32106
32107 /* Override any GCC internal prototype to avoid an error.
32108 Use char because int might match the return type of a GCC
32109 builtin and then its argument prototype would still apply. */
32110 #ifdef __cplusplus
32111 extern "C"
32112 #endif
32113 char sched_yield ();
32114 int
32115 main ()
32116 {
32117 return sched_yield ();
32118 ;
32119 return 0;
32120 }
32121 _ACEOF
32122 if ac_fn_c_try_link "$LINENO"; then :
32123 ac_cv_lib_posix4_sched_yield=yes
32124 else
32125 ac_cv_lib_posix4_sched_yield=no
32126 fi
32127 rm -f core conftest.err conftest.$ac_objext \
32128 conftest$ac_exeext conftest.$ac_ext
32129 LIBS=$ac_check_lib_save_LIBS
32130 fi
32131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
32132 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
32133 if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then :
32134 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32135 POSIX4_LINK=" -lposix4"
32136 else
32137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
32138 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32139
32140 fi
32141
32142
32143
32144 fi
32145
32146 fi
32147
32148 HAVE_PRIOR_FUNCS=0
32149 ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32150 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes; then :
32151 ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32152 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes; then :
32153 ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32154 if test "x$ac_cv_func_sched_get_priority_max" = xyes; then :
32155 HAVE_PRIOR_FUNCS=1
32156 else
32157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32158 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32159 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false; then :
32160 $as_echo_n "(cached) " >&6
32161 else
32162 ac_check_lib_save_LIBS=$LIBS
32163 LIBS="-lposix4 $LIBS"
32164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32165 /* end confdefs.h. */
32166
32167 /* Override any GCC internal prototype to avoid an error.
32168 Use char because int might match the return type of a GCC
32169 builtin and then its argument prototype would still apply. */
32170 #ifdef __cplusplus
32171 extern "C"
32172 #endif
32173 char sched_get_priority_max ();
32174 int
32175 main ()
32176 {
32177 return sched_get_priority_max ();
32178 ;
32179 return 0;
32180 }
32181 _ACEOF
32182 if ac_fn_c_try_link "$LINENO"; then :
32183 ac_cv_lib_posix4_sched_get_priority_max=yes
32184 else
32185 ac_cv_lib_posix4_sched_get_priority_max=no
32186 fi
32187 rm -f core conftest.err conftest.$ac_objext \
32188 conftest$ac_exeext conftest.$ac_ext
32189 LIBS=$ac_check_lib_save_LIBS
32190 fi
32191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32192 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32193 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes; then :
32194
32195 HAVE_PRIOR_FUNCS=1
32196 POSIX4_LINK=" -lposix4"
32197
32198 fi
32199
32200
32201 fi
32202
32203
32204 fi
32205
32206
32207 fi
32208
32209
32210 if test "$HAVE_PRIOR_FUNCS" = 1; then
32211 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32212
32213 else
32214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32215 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32216 fi
32217
32218 ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32219 if test "x$ac_cv_func_pthread_cancel" = xyes; then :
32220 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32221
32222 else
32223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32224 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32225 fi
32226
32227
32228 ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32229 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes; then :
32230 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32231
32232 else
32233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32234 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32235 fi
32236
32237
32238 ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32239 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes; then :
32240 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32241
32242 fi
32243
32244
32245
32246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32247 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32248 if ${wx_cv_type_pthread_mutexattr_t+:} false; then :
32249 $as_echo_n "(cached) " >&6
32250 else
32251
32252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32253 /* end confdefs.h. */
32254 #include <pthread.h>
32255 int
32256 main ()
32257 {
32258
32259 pthread_mutexattr_t attr;
32260 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32261
32262 ;
32263 return 0;
32264 }
32265 _ACEOF
32266 if ac_fn_c_try_compile "$LINENO"; then :
32267 wx_cv_type_pthread_mutexattr_t=yes
32268 else
32269 wx_cv_type_pthread_mutexattr_t=no
32270
32271 fi
32272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32273
32274 fi
32275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32276 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32277
32278 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32279 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32280
32281
32282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32283 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32284 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false; then :
32285 $as_echo_n "(cached) " >&6
32286 else
32287
32288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32289 /* end confdefs.h. */
32290 #include <pthread.h>
32291 int
32292 main ()
32293 {
32294
32295 pthread_mutexattr_t attr;
32296 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32297
32298 ;
32299 return 0;
32300 }
32301 _ACEOF
32302 if ac_fn_c_try_compile "$LINENO"; then :
32303 wx_cv_func_pthread_mutexattr_settype_decl=yes
32304 else
32305 wx_cv_func_pthread_mutexattr_settype_decl=no
32306
32307 fi
32308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32309
32310 fi
32311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32312 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32313 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32314 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32315
32316 fi
32317 else
32318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32319 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32320 if ${wx_cv_type_pthread_rec_mutex_init+:} false; then :
32321 $as_echo_n "(cached) " >&6
32322 else
32323
32324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32325 /* end confdefs.h. */
32326 #include <pthread.h>
32327 int
32328 main ()
32329 {
32330
32331 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32332
32333 ;
32334 return 0;
32335 }
32336 _ACEOF
32337 if ac_fn_c_try_compile "$LINENO"; then :
32338
32339 wx_cv_type_pthread_rec_mutex_init=yes
32340
32341 else
32342
32343 wx_cv_type_pthread_rec_mutex_init=no
32344
32345
32346 fi
32347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32348
32349 fi
32350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32351 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32352 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32353 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32354
32355 else
32356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32357 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32358 fi
32359 fi
32360
32361 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32362 if test "$USE_NETBSD" = 1; then
32363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32364 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32365 wxUSE_COMPILER_TLS=no
32366 else
32367 wxUSE_COMPILER_TLS=yes
32368 fi
32369 fi
32370
32371 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32373 $as_echo_n "checking for __thread keyword... " >&6; }
32374 if ${wx_cv_cc___thread+:} false; then :
32375 $as_echo_n "(cached) " >&6
32376 else
32377
32378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32379 /* end confdefs.h. */
32380 #include <pthread.h>
32381 int
32382 main ()
32383 {
32384
32385 static __thread int n = 0;
32386 static __thread int *p = 0;
32387
32388 ;
32389 return 0;
32390 }
32391 _ACEOF
32392 if ac_fn_c_try_compile "$LINENO"; then :
32393 wx_cv_cc___thread=yes
32394 else
32395 wx_cv_cc___thread=no
32396
32397 fi
32398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32399
32400
32401 fi
32402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32403 $as_echo "$wx_cv_cc___thread" >&6; }
32404
32405 if test "$wx_cv_cc___thread" = "yes"; then
32406
32407 GXX_VERSION=""
32408
32409
32410
32411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32412 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32413
32414 if test "x$GCC" = "xyes" ; then :
32415
32416 if test -z "" ; then :
32417
32418 ax_gcc_option_test="int main()
32419 {
32420 return 0;
32421 }"
32422
32423 else
32424
32425 ax_gcc_option_test=""
32426
32427 fi
32428
32429 # Dump the test program to file
32430 cat <<EOF > conftest.c
32431 $ax_gcc_option_test
32432 EOF
32433
32434 # Dump back the file to the log, useful for debugging purposes
32435 { ac_try='cat conftest.c 1>&5'
32436 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32437 (eval $ac_try) 2>&5
32438 ac_status=$?
32439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32440 test $ac_status = 0; }; }
32441
32442 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
32443 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32444 (eval $ac_try) 2>&5
32445 ac_status=$?
32446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32447 test $ac_status = 0; }; } ; then :
32448
32449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32450 $as_echo "yes" >&6; }
32451
32452 ax_gcc_version_option=yes
32453
32454
32455 else
32456
32457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32458 $as_echo "no" >&6; }
32459
32460 ax_gcc_version_option=no
32461
32462
32463 fi
32464
32465 else
32466
32467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32468 $as_echo "no gcc available" >&6; }
32469
32470 fi
32471
32472 if test "x$GXX" = "xyes"; then :
32473
32474 if test "x$ax_gxx_version_option" != "no"; then :
32475
32476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32477 $as_echo_n "checking gxx version... " >&6; }
32478 if ${ax_cv_gxx_version+:} false; then :
32479 $as_echo_n "(cached) " >&6
32480 else
32481
32482 ax_cv_gxx_version="`$CXX -dumpversion`"
32483 if test "x$ax_cv_gxx_version" = "x"; then :
32484
32485 ax_cv_gxx_version=""
32486
32487 fi
32488
32489 fi
32490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32491 $as_echo "$ax_cv_gxx_version" >&6; }
32492 GXX_VERSION=$ax_cv_gxx_version
32493
32494 fi
32495
32496 fi
32497
32498
32499 if test -n "$ax_cv_gxx_version"; then
32500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32501 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32502 case "$ax_cv_gxx_version" in
32503 1.* | 2.* | 3.* )
32504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32505 $as_echo "no, it's broken" >&6; }
32506 wx_cv_cc___thread=no
32507 ;;
32508 *)
32509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32510 $as_echo "yes, it works" >&6; }
32511 ;;
32512 esac
32513 fi
32514 fi
32515
32516 if test "$wx_cv_cc___thread" = "yes"; then
32517 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32518
32519 fi
32520 fi
32521
32522 if test "$ac_cv_header_cxxabi_h" = "yes"; then
32523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in <cxxabi.h>" >&5
32524 $as_echo_n "checking for abi::__forced_unwind() in <cxxabi.h>... " >&6; }
32525 if ${wx_cv_type_abi_forced_unwind+:} false; then :
32526 $as_echo_n "(cached) " >&6
32527 else
32528
32529 ac_ext=cpp
32530 ac_cpp='$CXXCPP $CPPFLAGS'
32531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32534
32535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32536 /* end confdefs.h. */
32537 #include <cxxabi.h>
32538 int
32539 main ()
32540 {
32541
32542 void foo(abi::__forced_unwind&);
32543
32544 ;
32545 return 0;
32546 }
32547 _ACEOF
32548 if ac_fn_cxx_try_compile "$LINENO"; then :
32549 wx_cv_type_abi_forced_unwind=yes
32550 else
32551 wx_cv_type_abi_forced_unwind=no
32552
32553 fi
32554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32555 ac_ext=c
32556 ac_cpp='$CPP $CPPFLAGS'
32557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32560
32561
32562
32563 fi
32564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5
32565 $as_echo "$wx_cv_type_abi_forced_unwind" >&6; }
32566 else
32567 wx_cv_type_abi_forced_unwind=no
32568 fi
32569
32570 if test "$wx_cv_type_abi_forced_unwind" = "yes"; then
32571 $as_echo "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h
32572
32573 fi
32574 fi
32575
32576 else
32577 if test "$wxUSE_THREADS" = "yes" ; then
32578 case "${host}" in
32579 x86_64-*-mingw32* )
32580 ;;
32581 *-*-mingw32* )
32582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32583 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32584 if ${wx_cv_cflags_mthread+:} false; then :
32585 $as_echo_n "(cached) " >&6
32586 else
32587
32588 CFLAGS_OLD="$CFLAGS"
32589 CFLAGS="-mthreads $CFLAGS"
32590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32591 /* end confdefs.h. */
32592
32593 int
32594 main ()
32595 {
32596
32597 ;
32598 return 0;
32599 }
32600 _ACEOF
32601 if ac_fn_c_try_compile "$LINENO"; then :
32602 wx_cv_cflags_mthread=yes
32603 else
32604 wx_cv_cflags_mthread=no
32605
32606 fi
32607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32608
32609
32610 fi
32611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32612 $as_echo "$wx_cv_cflags_mthread" >&6; }
32613
32614 if test "$wx_cv_cflags_mthread" = "yes"; then
32615 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
32616 LDFLAGS="$LDFLAGS -mthreads"
32617 else
32618 CFLAGS="$CFLAGS_OLD"
32619 fi
32620 ;;
32621 *-pc-os2*emx )
32622 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32623 LDFLAGS="$LDFLAGS -Zmt"
32624 ;;
32625 esac
32626 fi
32627 fi
32628
32629 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32630 if test "x$ac_cv_func_localtime_r" = xyes; then :
32631 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32632
32633 fi
32634
32635 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32636 if test "x$ac_cv_func_gmtime_r" = xyes; then :
32637 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32638
32639 fi
32640
32641
32642
32643
32644 ac_ext=c
32645 ac_cpp='$CPP $CPPFLAGS'
32646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32649
32650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32651 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32652
32653 if ${ac_cv_func_which_gethostbyname_r+:} false; then :
32654 $as_echo_n "(cached) " >&6
32655 else
32656
32657
32658 ################################################################
32659
32660 ac_cv_func_which_gethostbyname_r=unknown
32661
32662 #
32663 # ONE ARGUMENT (sanity check)
32664 #
32665
32666 # This should fail, as there is no variant of gethostbyname_r() that takes
32667 # a single argument. If it actually compiles, then we can assume that
32668 # netdb.h is not declaring the function, and the compiler is thereby
32669 # assuming an implicit prototype. In which case, we're out of luck.
32670 #
32671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32672 /* end confdefs.h. */
32673 #include <netdb.h>
32674 int
32675 main ()
32676 {
32677
32678 char *name = "www.gnu.org";
32679 (void)gethostbyname_r(name) /* ; */
32680
32681
32682 ;
32683 return 0;
32684 }
32685 _ACEOF
32686 if ac_fn_c_try_compile "$LINENO"; then :
32687 ac_cv_func_which_gethostbyname_r=no
32688
32689 fi
32690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32691
32692 #
32693 # SIX ARGUMENTS
32694 # (e.g. Linux)
32695 #
32696
32697 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32698
32699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32700 /* end confdefs.h. */
32701 #include <netdb.h>
32702 int
32703 main ()
32704 {
32705
32706 char *name = "www.gnu.org";
32707 struct hostent ret, *retp;
32708 char buf[1024];
32709 int buflen = 1024;
32710 int my_h_errno;
32711 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32712
32713
32714 ;
32715 return 0;
32716 }
32717 _ACEOF
32718 if ac_fn_c_try_compile "$LINENO"; then :
32719 ac_cv_func_which_gethostbyname_r=six
32720
32721 fi
32722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32723
32724 fi
32725
32726 #
32727 # FIVE ARGUMENTS
32728 # (e.g. Solaris)
32729 #
32730
32731 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32732
32733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32734 /* end confdefs.h. */
32735 #include <netdb.h>
32736 int
32737 main ()
32738 {
32739
32740 char *name = "www.gnu.org";
32741 struct hostent ret;
32742 char buf[1024];
32743 int buflen = 1024;
32744 int my_h_errno;
32745 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32746
32747
32748 ;
32749 return 0;
32750 }
32751 _ACEOF
32752 if ac_fn_c_try_compile "$LINENO"; then :
32753 ac_cv_func_which_gethostbyname_r=five
32754
32755 fi
32756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32757
32758 fi
32759
32760 #
32761 # THREE ARGUMENTS
32762 # (e.g. AIX, HP-UX, Tru64)
32763 #
32764
32765 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32766
32767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32768 /* end confdefs.h. */
32769 #include <netdb.h>
32770 int
32771 main ()
32772 {
32773
32774 char *name = "www.gnu.org";
32775 struct hostent ret;
32776 struct hostent_data data;
32777 (void)gethostbyname_r(name, &ret, &data) /* ; */
32778
32779
32780 ;
32781 return 0;
32782 }
32783 _ACEOF
32784 if ac_fn_c_try_compile "$LINENO"; then :
32785 ac_cv_func_which_gethostbyname_r=three
32786
32787 fi
32788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32789
32790 fi
32791
32792 ################################################################
32793
32794
32795 fi
32796
32797 case "$ac_cv_func_which_gethostbyname_r" in
32798 three)
32799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32800 $as_echo "three" >&6; }
32801 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32802
32803 ;;
32804
32805 five)
32806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32807 $as_echo "five" >&6; }
32808 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32809
32810 ;;
32811
32812 six)
32813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32814 $as_echo "six" >&6; }
32815 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32816
32817 ;;
32818
32819 no)
32820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32821 $as_echo "cannot find function declaration in netdb.h" >&6; }
32822 ;;
32823
32824 unknown)
32825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32826 $as_echo "can't tell" >&6; }
32827 ;;
32828
32829 *)
32830 as_fn_error $? "internal error" "$LINENO" 5
32831 ;;
32832 esac
32833
32834 ac_ext=c
32835 ac_cpp='$CPP $CPPFLAGS'
32836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32839
32840
32841
32842 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32843 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32844 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32845 if test "x$ac_cv_func_gethostbyname" = xyes; then :
32846 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32847
32848 fi
32849
32850 fi
32851
32852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32853 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32854 if ${ac_cv_func_which_getservbyname_r+:} false; then :
32855 $as_echo_n "(cached) " >&6
32856 else
32857
32858 ac_ext=cpp
32859 ac_cpp='$CXXCPP $CPPFLAGS'
32860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32863
32864
32865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32866 /* end confdefs.h. */
32867 #include <netdb.h>
32868 int
32869 main ()
32870 {
32871
32872 char *name;
32873 char *proto;
32874 struct servent *se, *res;
32875 char buffer[2048];
32876 int buflen = 2048;
32877 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32878
32879 ;
32880 return 0;
32881 }
32882 _ACEOF
32883 if ac_fn_cxx_try_compile "$LINENO"; then :
32884 ac_cv_func_which_getservbyname_r=six
32885 else
32886
32887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32888 /* end confdefs.h. */
32889 #include <netdb.h>
32890 int
32891 main ()
32892 {
32893
32894 char *name;
32895 char *proto;
32896 struct servent *se;
32897 char buffer[2048];
32898 int buflen = 2048;
32899 (void) getservbyname_r(name, proto, se, buffer, buflen)
32900
32901 ;
32902 return 0;
32903 }
32904 _ACEOF
32905 if ac_fn_cxx_try_compile "$LINENO"; then :
32906 ac_cv_func_which_getservbyname_r=five
32907 else
32908
32909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32910 /* end confdefs.h. */
32911 #include <netdb.h>
32912 int
32913 main ()
32914 {
32915
32916 char *name;
32917 char *proto;
32918 struct servent *se;
32919 struct servent_data data;
32920 (void) getservbyname_r(name, proto, se, &data);
32921
32922 ;
32923 return 0;
32924 }
32925 _ACEOF
32926 if ac_fn_cxx_try_compile "$LINENO"; then :
32927 ac_cv_func_which_getservbyname_r=four
32928 else
32929 ac_cv_func_which_getservbyname_r=no
32930
32931 fi
32932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32933
32934
32935 fi
32936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32937
32938
32939 fi
32940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32941 ac_ext=c
32942 ac_cpp='$CPP $CPPFLAGS'
32943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32946
32947
32948
32949 fi
32950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32951 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32952
32953 if test $ac_cv_func_which_getservbyname_r = six; then
32954 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32955
32956 elif test $ac_cv_func_which_getservbyname_r = five; then
32957 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
32958
32959 elif test $ac_cv_func_which_getservbyname_r = four; then
32960 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
32961
32962 fi
32963
32964
32965 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
32966 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
32967 for ac_func in getservbyname
32968 do :
32969 ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
32970 if test "x$ac_cv_func_getservbyname" = xyes; then :
32971 cat >>confdefs.h <<_ACEOF
32972 #define HAVE_GETSERVBYNAME 1
32973 _ACEOF
32974 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
32975
32976 fi
32977 done
32978
32979 fi
32980
32981 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
32982
32983
32984 if test "$wxUSE_THREADS" = "yes"; then
32985 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
32986
32987
32988 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
32989 else
32990 if test "$wx_cv_func_strtok_r" = "yes"; then
32991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
32992 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
32993 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32994 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
32995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32996 $as_echo "yes" >&6; }
32997 else
32998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32999 $as_echo "no" >&6; }
33000 fi
33001 fi
33002 fi
33003
33004 if test "$WXGTK3" = 1 ; then
33005 cat >>confdefs.h <<_ACEOF
33006 #define __WXGTK3__ 1
33007 _ACEOF
33008
33009 WXGTK2=1
33010 fi
33011 if test "$WXGTK2" = 1 ; then
33012 cat >>confdefs.h <<_ACEOF
33013 #define __WXGTK20__ $WXGTK2
33014 _ACEOF
33015
33016 fi
33017
33018 if test "$WXGTK127" = 1 ; then
33019 cat >>confdefs.h <<_ACEOF
33020 #define __WXGTK127__ $WXGTK127
33021 _ACEOF
33022
33023 fi
33024
33025 if test "$WXGPE" = 1 ; then
33026 cat >>confdefs.h <<_ACEOF
33027 #define __WXGPE__ $WXGPE
33028 _ACEOF
33029
33030 fi
33031
33032 DEBUG_CFLAGS=
33033 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
33034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
33035 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
33036 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
33037 DEBUG_CFLAGS="-g"
33038 fi
33039
33040 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33041 wxUSE_DEBUG_INFO=yes
33042 if test "$GCC" = yes; then
33043 DEBUG_CFLAGS="-ggdb"
33044 fi
33045 fi
33046
33047 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
33048 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
33049
33050 if test "$wxUSE_GTK" = 1 ; then
33051 if test "$WXGTK2" = 1 ; then
33052 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
33053 else
33054 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
33055 fi
33056 fi
33057 fi
33058
33059 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33060 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
33061
33062 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
33063
33064 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
33065
33066 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33067 fi
33068
33069 if test "$wxUSE_DMALLOC" = "yes" ; then
33070 DMALLOC_LIBS="-ldmallocthcxx"
33071 fi
33072
33073 PROFILE_FLAGS=
33074 if test "$wxUSE_PROFILE" = "yes" ; then
33075 PROFILE_FLAGS=" -pg"
33076 fi
33077
33078 if test "$GCC" = "yes" ; then
33079 if test "$wxUSE_NO_RTTI" = "yes" ; then
33080 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
33081 fi
33082 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33083 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
33084 fi
33085 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33086 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
33087 fi
33088
33089 case "${host}" in
33090 powerpc*-*-aix* )
33091 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
33092 ;;
33093 *-hppa* )
33094 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
33095 ;;
33096 esac
33097 fi
33098
33099 OPTIMISE_CFLAGS=
33100 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
33101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
33102 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
33103 else
33104 if test "$wxUSE_OPTIMISE" = "no" ; then
33105 if test "$GCC" = yes ; then
33106 OPTIMISE_CFLAGS="-O0"
33107 fi
33108 else
33109 if test "$GCC" = yes ; then
33110 case "${host}" in
33111 *-pc-os2_emx | *-pc-os2-emx )
33112 OPTIMISE_CFLAGS="-O2"
33113 ;;
33114 *)
33115 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
33116 ;;
33117 esac
33118 else
33119 OPTIMISE_CFLAGS="-O"
33120 fi
33121 fi
33122 fi
33123
33124
33125 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
33126 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
33127
33128
33129 WXWIN_COMPATIBILITY_2_8="yes"
33130 fi
33131
33132 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
33133 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
33134
33135 fi
33136
33137
33138 if test "$wxUSE_GUI" = "yes"; then
33139 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
33140
33141
33142 fi
33143
33144
33145 if test "$wxUSE_UNIX" = "yes"; then
33146 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
33147
33148 fi
33149
33150
33151 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33152
33153 HAVE_DL_FUNCS=0
33154 HAVE_SHL_FUNCS=0
33155 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33156 if test "$USE_DOS" = 1; then
33157 HAVE_DL_FUNCS=0
33158 else
33159 for ac_func in dlopen
33160 do :
33161 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
33162 if test "x$ac_cv_func_dlopen" = xyes; then :
33163 cat >>confdefs.h <<_ACEOF
33164 #define HAVE_DLOPEN 1
33165 _ACEOF
33166
33167 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33168
33169 HAVE_DL_FUNCS=1
33170
33171 else
33172
33173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
33174 $as_echo_n "checking for dlopen in -ldl... " >&6; }
33175 if ${ac_cv_lib_dl_dlopen+:} false; then :
33176 $as_echo_n "(cached) " >&6
33177 else
33178 ac_check_lib_save_LIBS=$LIBS
33179 LIBS="-ldl $LIBS"
33180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33181 /* end confdefs.h. */
33182
33183 /* Override any GCC internal prototype to avoid an error.
33184 Use char because int might match the return type of a GCC
33185 builtin and then its argument prototype would still apply. */
33186 #ifdef __cplusplus
33187 extern "C"
33188 #endif
33189 char dlopen ();
33190 int
33191 main ()
33192 {
33193 return dlopen ();
33194 ;
33195 return 0;
33196 }
33197 _ACEOF
33198 if ac_fn_c_try_link "$LINENO"; then :
33199 ac_cv_lib_dl_dlopen=yes
33200 else
33201 ac_cv_lib_dl_dlopen=no
33202 fi
33203 rm -f core conftest.err conftest.$ac_objext \
33204 conftest$ac_exeext conftest.$ac_ext
33205 LIBS=$ac_check_lib_save_LIBS
33206 fi
33207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33208 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33209 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
33210
33211 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33212
33213 HAVE_DL_FUNCS=1
33214 DL_LINK=" -ldl$DL_LINK"
33215
33216 else
33217
33218 for ac_func in shl_load
33219 do :
33220 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
33221 if test "x$ac_cv_func_shl_load" = xyes; then :
33222 cat >>confdefs.h <<_ACEOF
33223 #define HAVE_SHL_LOAD 1
33224 _ACEOF
33225
33226 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33227
33228 HAVE_SHL_FUNCS=1
33229
33230 else
33231
33232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33233 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33234 if ${ac_cv_lib_shl_load_dld+:} false; then :
33235 $as_echo_n "(cached) " >&6
33236 else
33237 ac_check_lib_save_LIBS=$LIBS
33238 LIBS="-lshl_load $LIBS"
33239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33240 /* end confdefs.h. */
33241
33242 /* Override any GCC internal prototype to avoid an error.
33243 Use char because int might match the return type of a GCC
33244 builtin and then its argument prototype would still apply. */
33245 #ifdef __cplusplus
33246 extern "C"
33247 #endif
33248 char dld ();
33249 int
33250 main ()
33251 {
33252 return dld ();
33253 ;
33254 return 0;
33255 }
33256 _ACEOF
33257 if ac_fn_c_try_link "$LINENO"; then :
33258 ac_cv_lib_shl_load_dld=yes
33259 else
33260 ac_cv_lib_shl_load_dld=no
33261 fi
33262 rm -f core conftest.err conftest.$ac_objext \
33263 conftest$ac_exeext conftest.$ac_ext
33264 LIBS=$ac_check_lib_save_LIBS
33265 fi
33266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33267 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33268 if test "x$ac_cv_lib_shl_load_dld" = xyes; then :
33269
33270 HAVE_SHL_FUNCS=1
33271 DL_LINK=" -ldld$DL_LINK"
33272
33273 fi
33274
33275
33276 fi
33277 done
33278
33279
33280 fi
33281
33282
33283 fi
33284 done
33285
33286
33287 if test "$HAVE_DL_FUNCS" = 1; then
33288 for ac_func in dlerror
33289 do :
33290 ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
33291 if test "x$ac_cv_func_dlerror" = xyes; then :
33292 cat >>confdefs.h <<_ACEOF
33293 #define HAVE_DLERROR 1
33294 _ACEOF
33295 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33296
33297 else
33298
33299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33300 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33301 if ${ac_cv_lib_dl_dlerror+:} false; then :
33302 $as_echo_n "(cached) " >&6
33303 else
33304 ac_check_lib_save_LIBS=$LIBS
33305 LIBS="-ldl $LIBS"
33306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33307 /* end confdefs.h. */
33308
33309 /* Override any GCC internal prototype to avoid an error.
33310 Use char because int might match the return type of a GCC
33311 builtin and then its argument prototype would still apply. */
33312 #ifdef __cplusplus
33313 extern "C"
33314 #endif
33315 char dlerror ();
33316 int
33317 main ()
33318 {
33319 return dlerror ();
33320 ;
33321 return 0;
33322 }
33323 _ACEOF
33324 if ac_fn_c_try_link "$LINENO"; then :
33325 ac_cv_lib_dl_dlerror=yes
33326 else
33327 ac_cv_lib_dl_dlerror=no
33328 fi
33329 rm -f core conftest.err conftest.$ac_objext \
33330 conftest$ac_exeext conftest.$ac_ext
33331 LIBS=$ac_check_lib_save_LIBS
33332 fi
33333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33334 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33335 if test "x$ac_cv_lib_dl_dlerror" = xyes; then :
33336 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33337
33338 fi
33339
33340
33341
33342 fi
33343 done
33344
33345 fi
33346 fi
33347
33348 if test "$USE_DARWIN" = 1; then
33349 HAVE_DL_FUNCS=1
33350 fi
33351
33352 if test "$HAVE_DL_FUNCS" = 0; then
33353 if test "$HAVE_SHL_FUNCS" = 0; then
33354 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33356 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33357 wxUSE_DYNAMIC_LOADER=no
33358 wxUSE_DYNLIB_CLASS=no
33359 else
33360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33361 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33362 fi
33363 fi
33364 fi
33365 fi
33366 fi
33367
33368 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33369 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33370
33371 fi
33372 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33373 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33374
33375 fi
33376
33377
33378
33379 if test "$wxUSE_PLUGINS" = "yes" ; then
33380 if test "$wxUSE_SHARED" = "no" ; then
33381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33382 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33383 wxUSE_PLUGINS=no
33384 fi
33385 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33387 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33388 wxUSE_PLUGINS=no
33389 fi
33390 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33392 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33393 wxUSE_PLUGINS=no
33394 fi
33395 if test "$wxUSE_PLUGINS" = "yes" ; then
33396 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33397
33398 fi
33399 fi
33400
33401
33402 if test "$wxUSE_FSWATCHER" = "yes"; then
33403 if test "$wxUSE_MSW" != "1"; then
33404 if test "$wxUSE_UNIX" = "yes"; then
33405 for ac_header in sys/inotify.h
33406 do :
33407 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33408 "
33409 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
33410 cat >>confdefs.h <<_ACEOF
33411 #define HAVE_SYS_INOTIFY_H 1
33412 _ACEOF
33413
33414 fi
33415
33416 done
33417
33418 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33419 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33420
33421 else
33422 for ac_header in sys/event.h
33423 do :
33424 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33425 "
33426 if test "x$ac_cv_header_sys_event_h" = xyes; then :
33427 cat >>confdefs.h <<_ACEOF
33428 #define HAVE_SYS_EVENT_H 1
33429 _ACEOF
33430
33431 fi
33432
33433 done
33434
33435 if test "$ac_cv_header_sys_event_h" = "yes"; then
33436 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33437
33438 else
33439 wxUSE_FSWATCHER=no
33440 fi
33441 fi
33442 else
33443 wxUSE_FSWATCHER=no
33444 fi
33445 else
33446 if test "$wxUSE_THREADS" != "yes"; then
33447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33448 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33449 wxUSE_FSWATCHER=no
33450 fi
33451 fi
33452
33453 if test "$wxUSE_FSWATCHER" = "yes"; then
33454 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33455
33456 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
33457 else
33458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33459 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33460 fi
33461 fi
33462
33463
33464 if test "$wxUSE_STL" = "yes"; then
33465 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33466
33467 fi
33468
33469 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33470 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33471
33472 fi
33473
33474 if test "$wxUSE_ANY" = "yes"; then
33475 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33476
33477 fi
33478
33479 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33480 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33481
33482 fi
33483
33484 if test "$wxUSE_TIMER" = "yes"; then
33485 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33486
33487 fi
33488
33489 if test "$USE_UNIX" = 1 ; then
33490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33491 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33492 if ${ac_cv_header_sys_soundcard+:} false; then :
33493 $as_echo_n "(cached) " >&6
33494 else
33495
33496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33497 /* end confdefs.h. */
33498
33499 #include <sys/ioctl.h>
33500 #include <sys/soundcard.h>
33501
33502 int
33503 main ()
33504 {
33505
33506 ioctl(0, SNDCTL_DSP_SPEED, 0);
33507
33508 ;
33509 return 0;
33510 }
33511 _ACEOF
33512 if ac_fn_c_try_link "$LINENO"; then :
33513 ac_cv_header_sys_soundcard=yes
33514 else
33515
33516 saveLibs="$LIBS"
33517 LIBS="$saveLibs -lossaudio"
33518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33519 /* end confdefs.h. */
33520
33521 #include <sys/ioctl.h>
33522 #include <sys/soundcard.h>
33523
33524 int
33525 main ()
33526 {
33527
33528 ioctl(0, SNDCTL_DSP_SPEED, 0);
33529
33530 ;
33531 return 0;
33532 }
33533 _ACEOF
33534 if ac_fn_c_try_link "$LINENO"; then :
33535 ac_cv_header_sys_soundcard=yes
33536 else
33537
33538 LIBS="$saveLibs"
33539 ac_cv_header_sys_soundcard=no
33540
33541
33542 fi
33543 rm -f core conftest.err conftest.$ac_objext \
33544 conftest$ac_exeext conftest.$ac_ext
33545
33546
33547 fi
33548 rm -f core conftest.err conftest.$ac_objext \
33549 conftest$ac_exeext conftest.$ac_ext
33550
33551 fi
33552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33553 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33554
33555 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33556 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33557
33558 fi
33559 fi
33560
33561 WITH_PLUGIN_SDL=0
33562 if test "$wxUSE_SOUND" = "yes"; then
33563 if test "$USE_UNIX" = 1 ; then
33564 if test "$wxUSE_LIBSDL" != "no"; then
33565
33566 # Check whether --with-sdl-prefix was given.
33567 if test "${with_sdl_prefix+set}" = set; then :
33568 withval=$with_sdl_prefix; sdl_prefix="$withval"
33569 else
33570 sdl_prefix=""
33571 fi
33572
33573
33574 # Check whether --with-sdl-exec-prefix was given.
33575 if test "${with_sdl_exec_prefix+set}" = set; then :
33576 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
33577 else
33578 sdl_exec_prefix=""
33579 fi
33580
33581 # Check whether --enable-sdltest was given.
33582 if test "${enable_sdltest+set}" = set; then :
33583 enableval=$enable_sdltest;
33584 else
33585 enable_sdltest=yes
33586 fi
33587
33588
33589 if test x$sdl_exec_prefix != x ; then
33590 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33591 if test x${SDL_CONFIG+set} != xset ; then
33592 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33593 fi
33594 fi
33595 if test x$sdl_prefix != x ; then
33596 sdl_args="$sdl_args --prefix=$sdl_prefix"
33597 if test x${SDL_CONFIG+set} != xset ; then
33598 SDL_CONFIG=$sdl_prefix/bin/sdl-config
33599 fi
33600 fi
33601
33602 if test "x$prefix" != xNONE; then
33603 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33604 fi
33605 # Extract the first word of "sdl-config", so it can be a program name with args.
33606 set dummy sdl-config; ac_word=$2
33607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33608 $as_echo_n "checking for $ac_word... " >&6; }
33609 if ${ac_cv_path_SDL_CONFIG+:} false; then :
33610 $as_echo_n "(cached) " >&6
33611 else
33612 case $SDL_CONFIG in
33613 [\\/]* | ?:[\\/]*)
33614 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33615 ;;
33616 *)
33617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33618 for as_dir in $PATH
33619 do
33620 IFS=$as_save_IFS
33621 test -z "$as_dir" && as_dir=.
33622 for ac_exec_ext in '' $ac_executable_extensions; do
33623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33624 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33626 break 2
33627 fi
33628 done
33629 done
33630 IFS=$as_save_IFS
33631
33632 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33633 ;;
33634 esac
33635 fi
33636 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33637 if test -n "$SDL_CONFIG"; then
33638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33639 $as_echo "$SDL_CONFIG" >&6; }
33640 else
33641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33642 $as_echo "no" >&6; }
33643 fi
33644
33645
33646 min_sdl_version=1.2.0
33647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33648 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33649 no_sdl=""
33650 if test "$SDL_CONFIG" = "no" ; then
33651 no_sdl=yes
33652 else
33653 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33654 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33655
33656 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33657 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33658 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33659 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33660 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33661 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33662 if test "x$enable_sdltest" = "xyes" ; then
33663 ac_save_CFLAGS="$CFLAGS"
33664 ac_save_CXXFLAGS="$CXXFLAGS"
33665 ac_save_LIBS="$LIBS"
33666 CFLAGS="$CFLAGS $SDL_CFLAGS"
33667 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33668 LIBS="$LIBS $SDL_LIBS"
33669 rm -f conf.sdltest
33670 if test "$cross_compiling" = yes; then :
33671 echo $ac_n "cross compiling; assumed OK... $ac_c"
33672 else
33673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33674 /* end confdefs.h. */
33675
33676 #include <stdio.h>
33677 #include <stdlib.h>
33678 #include <string.h>
33679 #include "SDL.h"
33680
33681 char*
33682 my_strdup (char *str)
33683 {
33684 char *new_str;
33685
33686 if (str)
33687 {
33688 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33689 strcpy (new_str, str);
33690 }
33691 else
33692 new_str = NULL;
33693
33694 return new_str;
33695 }
33696
33697 int main (int argc, char *argv[])
33698 {
33699 int major, minor, micro;
33700 char *tmp_version;
33701
33702 /* This hangs on some systems (?)
33703 system ("touch conf.sdltest");
33704 */
33705 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33706
33707 /* HP/UX 9 (%@#!) writes to sscanf strings */
33708 tmp_version = my_strdup("$min_sdl_version");
33709 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33710 printf("%s, bad version string\n", "$min_sdl_version");
33711 exit(1);
33712 }
33713
33714 if (($sdl_major_version > major) ||
33715 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33716 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33717 {
33718 return 0;
33719 }
33720 else
33721 {
33722 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33723 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33724 printf("*** best to upgrade to the required version.\n");
33725 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33726 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33727 printf("*** config.cache before re-running configure\n");
33728 return 1;
33729 }
33730 }
33731
33732
33733 _ACEOF
33734 if ac_fn_c_try_run "$LINENO"; then :
33735
33736 else
33737 no_sdl=yes
33738 fi
33739 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33740 conftest.$ac_objext conftest.beam conftest.$ac_ext
33741 fi
33742
33743 CFLAGS="$ac_save_CFLAGS"
33744 CXXFLAGS="$ac_save_CXXFLAGS"
33745 LIBS="$ac_save_LIBS"
33746 fi
33747 fi
33748 if test "x$no_sdl" = x ; then
33749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33750 $as_echo "yes" >&6; }
33751
33752 EXTRALIBS_SDL="$SDL_LIBS"
33753 CFLAGS="$SDL_CFLAGS $CFLAGS"
33754 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
33755 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33756
33757
33758 else
33759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33760 $as_echo "no" >&6; }
33761 if test "$SDL_CONFIG" = "no" ; then
33762 echo "*** The sdl-config script installed by SDL could not be found"
33763 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33764 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33765 echo "*** full path to sdl-config."
33766 else
33767 if test -f conf.sdltest ; then
33768 :
33769 else
33770 echo "*** Could not run SDL test program, checking why..."
33771 CFLAGS="$CFLAGS $SDL_CFLAGS"
33772 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33773 LIBS="$LIBS $SDL_LIBS"
33774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33775 /* end confdefs.h. */
33776
33777 #include <stdio.h>
33778 #include "SDL.h"
33779
33780 int main(int argc, char *argv[])
33781 { return 0; }
33782 #undef main
33783 #define main K_and_R_C_main
33784
33785 int
33786 main ()
33787 {
33788 return 0;
33789 ;
33790 return 0;
33791 }
33792 _ACEOF
33793 if ac_fn_c_try_link "$LINENO"; then :
33794 echo "*** The test program compiled, but did not run. This usually means"
33795 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33796 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33797 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33798 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33799 echo "*** is required on your system"
33800 echo "***"
33801 echo "*** If you have an old version installed, it is best to remove it, although"
33802 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33803 else
33804 echo "*** The test program failed to compile or link. See the file config.log for the"
33805 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33806 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33807 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33808 fi
33809 rm -f core conftest.err conftest.$ac_objext \
33810 conftest$ac_exeext conftest.$ac_ext
33811 CFLAGS="$ac_save_CFLAGS"
33812 CXXFLAGS="$ac_save_CXXFLAGS"
33813 LIBS="$ac_save_LIBS"
33814 fi
33815 fi
33816 SDL_CFLAGS=""
33817 SDL_LIBS=""
33818 wxUSE_LIBSDL="no"
33819 fi
33820
33821
33822 rm -f conf.sdltest
33823
33824 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33825 WITH_PLUGIN_SDL=1
33826 fi
33827 fi
33828 fi
33829 fi
33830
33831 if test "$wxUSE_SOUND" = "yes"; then
33832 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33833
33834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33835 fi
33836
33837 if test "$WXGTK2" = 1; then
33838
33839
33840 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33841 if test -n "$ac_tool_prefix"; then
33842 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33843 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33845 $as_echo_n "checking for $ac_word... " >&6; }
33846 if ${ac_cv_path_PKG_CONFIG+:} false; then :
33847 $as_echo_n "(cached) " >&6
33848 else
33849 case $PKG_CONFIG in
33850 [\\/]* | ?:[\\/]*)
33851 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33852 ;;
33853 *)
33854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33855 for as_dir in $PATH
33856 do
33857 IFS=$as_save_IFS
33858 test -z "$as_dir" && as_dir=.
33859 for ac_exec_ext in '' $ac_executable_extensions; do
33860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33861 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33863 break 2
33864 fi
33865 done
33866 done
33867 IFS=$as_save_IFS
33868
33869 ;;
33870 esac
33871 fi
33872 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33873 if test -n "$PKG_CONFIG"; then
33874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33875 $as_echo "$PKG_CONFIG" >&6; }
33876 else
33877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33878 $as_echo "no" >&6; }
33879 fi
33880
33881
33882 fi
33883 if test -z "$ac_cv_path_PKG_CONFIG"; then
33884 ac_pt_PKG_CONFIG=$PKG_CONFIG
33885 # Extract the first word of "pkg-config", so it can be a program name with args.
33886 set dummy pkg-config; ac_word=$2
33887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33888 $as_echo_n "checking for $ac_word... " >&6; }
33889 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
33890 $as_echo_n "(cached) " >&6
33891 else
33892 case $ac_pt_PKG_CONFIG in
33893 [\\/]* | ?:[\\/]*)
33894 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33895 ;;
33896 *)
33897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33898 for as_dir in $PATH
33899 do
33900 IFS=$as_save_IFS
33901 test -z "$as_dir" && as_dir=.
33902 for ac_exec_ext in '' $ac_executable_extensions; do
33903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33904 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33906 break 2
33907 fi
33908 done
33909 done
33910 IFS=$as_save_IFS
33911
33912 ;;
33913 esac
33914 fi
33915 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33916 if test -n "$ac_pt_PKG_CONFIG"; then
33917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33918 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33919 else
33920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33921 $as_echo "no" >&6; }
33922 fi
33923
33924 if test "x$ac_pt_PKG_CONFIG" = x; then
33925 PKG_CONFIG=""
33926 else
33927 case $cross_compiling:$ac_tool_warned in
33928 yes:)
33929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33931 ac_tool_warned=yes ;;
33932 esac
33933 PKG_CONFIG=$ac_pt_PKG_CONFIG
33934 fi
33935 else
33936 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33937 fi
33938
33939 fi
33940 if test -n "$PKG_CONFIG"; then
33941 _pkg_min_version=0.9.0
33942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33943 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33944 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33946 $as_echo "yes" >&6; }
33947 else
33948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33949 $as_echo "no" >&6; }
33950 PKG_CONFIG=""
33951 fi
33952
33953 fi
33954
33955 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33956
33957 if test "$wxUSE_GTKPRINT" = "yes" ; then
33958 if test "$WXGTK3" = 1; then
33959 gtk_unix_print="gtk+-unix-print-3.0"
33960 else
33961 gtk_unix_print="gtk+-unix-print-2.0 >= 2.10"
33962 fi
33963
33964 pkg_failed=no
33965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
33966 $as_echo_n "checking for GTKPRINT... " >&6; }
33967
33968 if test -n "$PKG_CONFIG"; then
33969 if test -n "$GTKPRINT_CFLAGS"; then
33970 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
33971 else
33972 if test -n "$PKG_CONFIG" && \
33973 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33974 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33975 ac_status=$?
33976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33977 test $ac_status = 0; }; then
33978 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
33979 else
33980 pkg_failed=yes
33981 fi
33982 fi
33983 else
33984 pkg_failed=untried
33985 fi
33986 if test -n "$PKG_CONFIG"; then
33987 if test -n "$GTKPRINT_LIBS"; then
33988 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
33989 else
33990 if test -n "$PKG_CONFIG" && \
33991 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33992 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33993 ac_status=$?
33994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33995 test $ac_status = 0; }; then
33996 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
33997 else
33998 pkg_failed=yes
33999 fi
34000 fi
34001 else
34002 pkg_failed=untried
34003 fi
34004
34005
34006
34007 if test $pkg_failed = yes; then
34008
34009 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34010 _pkg_short_errors_supported=yes
34011 else
34012 _pkg_short_errors_supported=no
34013 fi
34014 if test $_pkg_short_errors_supported = yes; then
34015 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
34016 else
34017 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
34018 fi
34019 # Put the nasty error message in config.log where it belongs
34020 echo "$GTKPRINT_PKG_ERRORS" >&5
34021
34022
34023 { $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
34024 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34025 wxUSE_GTKPRINT="no"
34026
34027
34028 elif test $pkg_failed = untried; then
34029
34030 { $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
34031 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34032 wxUSE_GTKPRINT="no"
34033
34034
34035 else
34036 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
34037 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
34038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34039 $as_echo "yes" >&6; }
34040
34041 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
34042 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
34043 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
34044 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
34045
34046
34047 fi
34048 fi
34049
34050 if test "$WXGTK3" = 1; then
34051 wxUSE_LIBGNOMEPRINT=no
34052 fi
34053
34054 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34055
34056
34057 pkg_failed=no
34058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
34059 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
34060
34061 if test -n "$PKG_CONFIG"; then
34062 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
34063 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
34064 else
34065 if test -n "$PKG_CONFIG" && \
34066 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34067 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34068 ac_status=$?
34069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34070 test $ac_status = 0; }; then
34071 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34072 else
34073 pkg_failed=yes
34074 fi
34075 fi
34076 else
34077 pkg_failed=untried
34078 fi
34079 if test -n "$PKG_CONFIG"; then
34080 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
34081 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
34082 else
34083 if test -n "$PKG_CONFIG" && \
34084 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34085 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34086 ac_status=$?
34087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34088 test $ac_status = 0; }; then
34089 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34090 else
34091 pkg_failed=yes
34092 fi
34093 fi
34094 else
34095 pkg_failed=untried
34096 fi
34097
34098
34099
34100 if test $pkg_failed = yes; then
34101
34102 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34103 _pkg_short_errors_supported=yes
34104 else
34105 _pkg_short_errors_supported=no
34106 fi
34107 if test $_pkg_short_errors_supported = yes; then
34108 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34109 else
34110 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34111 fi
34112 # Put the nasty error message in config.log where it belongs
34113 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
34114
34115
34116 if test "$wxUSE_GTKPRINT" = yes; then
34117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34118 $as_echo "no" >&6; }
34119 else
34120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34121 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34122 fi
34123 wxUSE_LIBGNOMEPRINT="no"
34124
34125
34126 elif test $pkg_failed = untried; then
34127
34128 if test "$wxUSE_GTKPRINT" = yes; then
34129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34130 $as_echo "no" >&6; }
34131 else
34132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34133 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34134 fi
34135 wxUSE_LIBGNOMEPRINT="no"
34136
34137
34138 else
34139 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
34140 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
34141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34142 $as_echo "yes" >&6; }
34143
34144 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
34145 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
34146 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
34147 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
34148
34149
34150 fi
34151 fi
34152 fi
34153
34154 if test "$wxUSE_MIMETYPE" = "yes" ; then
34155 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
34156
34157
34158 pkg_failed=no
34159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
34160 $as_echo_n "checking for GNOMEVFS... " >&6; }
34161
34162 if test -n "$PKG_CONFIG"; then
34163 if test -n "$GNOMEVFS_CFLAGS"; then
34164 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
34165 else
34166 if test -n "$PKG_CONFIG" && \
34167 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34168 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34169 ac_status=$?
34170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34171 test $ac_status = 0; }; then
34172 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34173 else
34174 pkg_failed=yes
34175 fi
34176 fi
34177 else
34178 pkg_failed=untried
34179 fi
34180 if test -n "$PKG_CONFIG"; then
34181 if test -n "$GNOMEVFS_LIBS"; then
34182 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
34183 else
34184 if test -n "$PKG_CONFIG" && \
34185 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34186 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34187 ac_status=$?
34188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34189 test $ac_status = 0; }; then
34190 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34191 else
34192 pkg_failed=yes
34193 fi
34194 fi
34195 else
34196 pkg_failed=untried
34197 fi
34198
34199
34200
34201 if test $pkg_failed = yes; then
34202
34203 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34204 _pkg_short_errors_supported=yes
34205 else
34206 _pkg_short_errors_supported=no
34207 fi
34208 if test $_pkg_short_errors_supported = yes; then
34209 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34210 else
34211 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34212 fi
34213 # Put the nasty error message in config.log where it belongs
34214 echo "$GNOMEVFS_PKG_ERRORS" >&5
34215
34216
34217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34218 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34219 wxUSE_LIBGNOMEVFS="no"
34220
34221
34222 elif test $pkg_failed = untried; then
34223
34224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34225 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34226 wxUSE_LIBGNOMEVFS="no"
34227
34228
34229 else
34230 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
34231 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
34232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34233 $as_echo "yes" >&6; }
34234
34235 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34236 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
34237 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
34238 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34239
34240
34241 fi
34242 fi
34243 fi
34244
34245 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34246 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34247 HAVE_LIBNOTIFY=0
34248
34249 pkg_failed=no
34250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34251 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34252
34253 if test -n "$PKG_CONFIG"; then
34254 if test -n "$LIBNOTIFY_CFLAGS"; then
34255 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34256 else
34257 if test -n "$PKG_CONFIG" && \
34258 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34259 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34260 ac_status=$?
34261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34262 test $ac_status = 0; }; then
34263 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34264 else
34265 pkg_failed=yes
34266 fi
34267 fi
34268 else
34269 pkg_failed=untried
34270 fi
34271 if test -n "$PKG_CONFIG"; then
34272 if test -n "$LIBNOTIFY_LIBS"; then
34273 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34274 else
34275 if test -n "$PKG_CONFIG" && \
34276 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34277 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34278 ac_status=$?
34279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34280 test $ac_status = 0; }; then
34281 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34282 else
34283 pkg_failed=yes
34284 fi
34285 fi
34286 else
34287 pkg_failed=untried
34288 fi
34289
34290
34291
34292 if test $pkg_failed = yes; then
34293
34294 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34295 _pkg_short_errors_supported=yes
34296 else
34297 _pkg_short_errors_supported=no
34298 fi
34299 if test $_pkg_short_errors_supported = yes; then
34300 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34301 else
34302 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34303 fi
34304 # Put the nasty error message in config.log where it belongs
34305 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34306
34307
34308
34309 pkg_failed=no
34310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34311 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34312
34313 if test -n "$PKG_CONFIG"; then
34314 if test -n "$LIBNOTIFY_CFLAGS"; then
34315 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34316 else
34317 if test -n "$PKG_CONFIG" && \
34318 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34319 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34320 ac_status=$?
34321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34322 test $ac_status = 0; }; then
34323 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34324 else
34325 pkg_failed=yes
34326 fi
34327 fi
34328 else
34329 pkg_failed=untried
34330 fi
34331 if test -n "$PKG_CONFIG"; then
34332 if test -n "$LIBNOTIFY_LIBS"; then
34333 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34334 else
34335 if test -n "$PKG_CONFIG" && \
34336 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34337 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34338 ac_status=$?
34339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34340 test $ac_status = 0; }; then
34341 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34342 else
34343 pkg_failed=yes
34344 fi
34345 fi
34346 else
34347 pkg_failed=untried
34348 fi
34349
34350
34351
34352 if test $pkg_failed = yes; then
34353
34354 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34355 _pkg_short_errors_supported=yes
34356 else
34357 _pkg_short_errors_supported=no
34358 fi
34359 if test $_pkg_short_errors_supported = yes; then
34360 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34361 else
34362 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34363 fi
34364 # Put the nasty error message in config.log where it belongs
34365 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34366
34367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34368 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34369
34370 elif test $pkg_failed = untried; then
34371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34372 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34373
34374 else
34375 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34376 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34378 $as_echo "yes" >&6; }
34379 HAVE_LIBNOTIFY=1
34380 fi
34381
34382
34383 elif test $pkg_failed = untried; then
34384
34385
34386 pkg_failed=no
34387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34388 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34389
34390 if test -n "$PKG_CONFIG"; then
34391 if test -n "$LIBNOTIFY_CFLAGS"; then
34392 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34393 else
34394 if test -n "$PKG_CONFIG" && \
34395 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34396 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34397 ac_status=$?
34398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34399 test $ac_status = 0; }; then
34400 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34401 else
34402 pkg_failed=yes
34403 fi
34404 fi
34405 else
34406 pkg_failed=untried
34407 fi
34408 if test -n "$PKG_CONFIG"; then
34409 if test -n "$LIBNOTIFY_LIBS"; then
34410 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34411 else
34412 if test -n "$PKG_CONFIG" && \
34413 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34414 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34415 ac_status=$?
34416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34417 test $ac_status = 0; }; then
34418 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34419 else
34420 pkg_failed=yes
34421 fi
34422 fi
34423 else
34424 pkg_failed=untried
34425 fi
34426
34427
34428
34429 if test $pkg_failed = yes; then
34430
34431 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34432 _pkg_short_errors_supported=yes
34433 else
34434 _pkg_short_errors_supported=no
34435 fi
34436 if test $_pkg_short_errors_supported = yes; then
34437 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34438 else
34439 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34440 fi
34441 # Put the nasty error message in config.log where it belongs
34442 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34443
34444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34445 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34446
34447 elif test $pkg_failed = untried; then
34448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34449 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34450
34451 else
34452 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34453 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34455 $as_echo "yes" >&6; }
34456 HAVE_LIBNOTIFY=1
34457 fi
34458
34459
34460 else
34461 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34462 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34464 $as_echo "yes" >&6; }
34465
34466 HAVE_LIBNOTIFY=1
34467 $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34468
34469
34470 fi
34471
34472 if test "$HAVE_LIBNOTIFY" = "1" ; then
34473 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34474 CFLAGS="$LIBNOTIFY_CFLAGS $CFLAGS"
34475 CXXFLAGS="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34476 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34477
34478 fi
34479 fi
34480 fi
34481
34482 if test "$wxUSE_LIBHILDON" = "yes" ; then
34483
34484 pkg_failed=no
34485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34486 $as_echo_n "checking for HILDON... " >&6; }
34487
34488 if test -n "$PKG_CONFIG"; then
34489 if test -n "$HILDON_CFLAGS"; then
34490 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
34491 else
34492 if test -n "$PKG_CONFIG" && \
34493 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34494 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34495 ac_status=$?
34496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34497 test $ac_status = 0; }; then
34498 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34499 else
34500 pkg_failed=yes
34501 fi
34502 fi
34503 else
34504 pkg_failed=untried
34505 fi
34506 if test -n "$PKG_CONFIG"; then
34507 if test -n "$HILDON_LIBS"; then
34508 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
34509 else
34510 if test -n "$PKG_CONFIG" && \
34511 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34512 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34513 ac_status=$?
34514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34515 test $ac_status = 0; }; then
34516 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34517 else
34518 pkg_failed=yes
34519 fi
34520 fi
34521 else
34522 pkg_failed=untried
34523 fi
34524
34525
34526
34527 if test $pkg_failed = yes; then
34528
34529 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34530 _pkg_short_errors_supported=yes
34531 else
34532 _pkg_short_errors_supported=no
34533 fi
34534 if test $_pkg_short_errors_supported = yes; then
34535 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34536 else
34537 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34538 fi
34539 # Put the nasty error message in config.log where it belongs
34540 echo "$HILDON_PKG_ERRORS" >&5
34541
34542
34543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34544 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34545 wxUSE_LIBHILDON="no"
34546 ac_hildon_lgpl=0
34547
34548
34549 elif test $pkg_failed = untried; then
34550
34551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34552 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34553 wxUSE_LIBHILDON="no"
34554 ac_hildon_lgpl=0
34555
34556
34557 else
34558 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
34559 HILDON_LIBS=$pkg_cv_HILDON_LIBS
34560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34561 $as_echo "yes" >&6; }
34562
34563 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON_LIBS"
34564 CFLAGS="$CFLAGS $HILDON_CFLAGS"
34565 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
34566 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34567
34568 ac_hildon_lgpl=1
34569
34570 fi
34571
34572 if test "$ac_hildon_lgpl" = 0 ; then
34573
34574 pkg_failed=no
34575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34576 $as_echo_n "checking for HILDON2... " >&6; }
34577
34578 if test -n "$PKG_CONFIG"; then
34579 if test -n "$HILDON2_CFLAGS"; then
34580 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
34581 else
34582 if test -n "$PKG_CONFIG" && \
34583 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34584 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34585 ac_status=$?
34586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34587 test $ac_status = 0; }; then
34588 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34589 else
34590 pkg_failed=yes
34591 fi
34592 fi
34593 else
34594 pkg_failed=untried
34595 fi
34596 if test -n "$PKG_CONFIG"; then
34597 if test -n "$HILDON2_LIBS"; then
34598 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
34599 else
34600 if test -n "$PKG_CONFIG" && \
34601 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34602 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34603 ac_status=$?
34604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34605 test $ac_status = 0; }; then
34606 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34607 else
34608 pkg_failed=yes
34609 fi
34610 fi
34611 else
34612 pkg_failed=untried
34613 fi
34614
34615
34616
34617 if test $pkg_failed = yes; then
34618
34619 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34620 _pkg_short_errors_supported=yes
34621 else
34622 _pkg_short_errors_supported=no
34623 fi
34624 if test $_pkg_short_errors_supported = yes; then
34625 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34626 else
34627 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34628 fi
34629 # Put the nasty error message in config.log where it belongs
34630 echo "$HILDON2_PKG_ERRORS" >&5
34631
34632
34633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34634 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34635 wxUSE_LIBHILDON2="no"
34636
34637
34638 elif test $pkg_failed = untried; then
34639
34640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34641 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34642 wxUSE_LIBHILDON2="no"
34643
34644
34645 else
34646 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
34647 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
34648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34649 $as_echo "yes" >&6; }
34650
34651 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON2_LIBS"
34652 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
34653 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
34654 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34655
34656
34657 fi
34658 fi
34659 fi
34660 fi
34661
34662 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34663 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34664
34665 fi
34666
34667 if test "$wxUSE_STOPWATCH" = "yes"; then
34668 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34669
34670 fi
34671
34672 if test "$wxUSE_DATETIME" = "yes"; then
34673 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34674
34675 fi
34676
34677 if test "$wxUSE_FILE" = "yes"; then
34678 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34679
34680 fi
34681
34682 if test "$wxUSE_FFILE" = "yes"; then
34683 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34684
34685 fi
34686
34687 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34688 if test "$wxUSE_STREAMS" != yes; then
34689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34690 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34691 wxUSE_ARCHIVE_STREAMS=no
34692 else
34693 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34694
34695 fi
34696 fi
34697
34698 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34699 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34701 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34702 elif test "$wxUSE_ZLIB" = "no"; then
34703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34704 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34705 else
34706 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34707
34708 fi
34709 fi
34710
34711 if test "$wxUSE_TARSTREAM" = "yes"; then
34712 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34714 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34715 else
34716 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34717
34718 fi
34719 fi
34720
34721 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34722 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34723
34724 fi
34725
34726 if test "$wxUSE_FILESYSTEM" = "yes"; then
34727 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
34728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34729 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34730 wxUSE_FILESYSTEM=no
34731 else
34732 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34733
34734 fi
34735 fi
34736
34737 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34738 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34740 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34741 else
34742 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34743
34744 fi
34745 fi
34746
34747 if test "$wxUSE_FS_ZIP" = "yes"; then
34748 if test "$wxUSE_FS_ARCHIVE" != yes; then
34749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34750 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34751 else
34752 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34753
34754 fi
34755 fi
34756
34757 if test "$wxUSE_FSVOLUME" = "yes"; then
34758 $as_echo "#define wxUSE_FSVOLUME 1" >>confdefs.h
34759
34760 fi
34761
34762 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34763 if test "$USE_UNIX" != 1; then
34764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34765 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34766 wxUSE_ON_FATAL_EXCEPTION=no
34767 else
34768 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34769
34770 fi
34771 fi
34772
34773 if test "$wxUSE_STACKWALKER" = "yes"; then
34774 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34775
34776 fi
34777
34778 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34779 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34781 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34782 wxUSE_DEBUGREPORT=no
34783 else
34784 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34785
34786 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34787 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
34788 fi
34789 fi
34790 fi
34791
34792 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34793 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34794
34795 fi
34796
34797 if test "$wxUSE_BUSYINFO" = "yes"; then
34798 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34799
34800 fi
34801
34802 if test "$wxUSE_HOTKEY" = "yes"; then
34803 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34805 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34806 wxUSE_HOTKEY=no
34807 fi
34808 elif test "$wxUSE_HOTKEY" = "auto"; then
34809 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34810 wxUSE_HOTKEY=yes
34811 fi
34812 fi
34813 if test "$wxUSE_HOTKEY" = "yes"; then
34814 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34815
34816 fi
34817
34818 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34819 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34820
34821 fi
34822
34823 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34824 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34825
34826 fi
34827
34828 if test "$wxUSE_STD_STRING" = "yes"; then
34829 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34830
34831 fi
34832
34833 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34834 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34835
34836 fi
34837
34838 if test "$wxUSE_STDPATHS" = "yes"; then
34839 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34840
34841 fi
34842
34843 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34844 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34845
34846 fi
34847
34848 if test "$wxUSE_TEXTFILE" = "yes"; then
34849 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34851 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34852 else
34853 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34854
34855 fi
34856 fi
34857
34858 if test "$wxUSE_CONFIG" = "yes" ; then
34859 if test "$wxUSE_TEXTFILE" != "yes"; then
34860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34861 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34862 else
34863 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34864
34865 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34866
34867 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34868 fi
34869 fi
34870
34871 if test "$wxUSE_INTL" = "yes" ; then
34872 if test "$wxUSE_FILE" != "yes"; then
34873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34874 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34875 else
34876 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34877
34878 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34879 GUIDIST="$GUIDIST INTL_DIST"
34880 fi
34881 fi
34882
34883 if test "$wxUSE_XLOCALE" = "yes" ; then
34884 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34885
34886 ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34887 #include <locale.h>
34888 "
34889 if test "x$ac_cv_type_locale_t" = xyes; then :
34890
34891 cat >>confdefs.h <<_ACEOF
34892 #define HAVE_LOCALE_T 1
34893 _ACEOF
34894
34895
34896 fi
34897
34898 fi
34899
34900 if test "$wxUSE_LOG" = "yes"; then
34901 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34902
34903
34904 if test "$wxUSE_LOGGUI" = "yes"; then
34905 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34906
34907 fi
34908
34909 if test "$wxUSE_LOGWINDOW" = "yes"; then
34910 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34911
34912 fi
34913
34914 if test "$wxUSE_LOGDIALOG" = "yes"; then
34915 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34916
34917 fi
34918
34919 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
34920 fi
34921
34922 if test "$wxUSE_LONGLONG" = "yes"; then
34923 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34924
34925 fi
34926
34927 if test "$wxUSE_GEOMETRY" = "yes"; then
34928 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34929
34930 fi
34931
34932 if test "$wxUSE_BASE64" = "yes"; then
34933 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34934
34935 fi
34936
34937 if test "$wxUSE_STREAMS" = "yes" ; then
34938 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34939
34940 fi
34941
34942 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34943 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34944
34945 fi
34946
34947 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34948 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34949
34950 fi
34951
34952
34953 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34954 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34955
34956
34957 if test "$wxUSE_UNIX" = "yes"; then
34958 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34959 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34960
34961 fi
34962
34963 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34964 for ac_header in sys/epoll.h
34965 do :
34966 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34967 "
34968 if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
34969 cat >>confdefs.h <<_ACEOF
34970 #define HAVE_SYS_EPOLL_H 1
34971 _ACEOF
34972
34973 fi
34974
34975 done
34976
34977 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34978 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34979
34980 else
34981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34982 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34983 fi
34984 fi
34985 fi
34986 fi
34987
34988
34989 for ac_func in gettimeofday ftime
34990 do :
34991 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34992 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34993 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34994 cat >>confdefs.h <<_ACEOF
34995 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34996 _ACEOF
34997 break
34998 fi
34999 done
35000
35001
35002 if test "$ac_cv_func_gettimeofday" = "yes"; then
35003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
35004 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
35005 if ${wx_cv_func_gettimeofday_has_2_args+:} false; then :
35006 $as_echo_n "(cached) " >&6
35007 else
35008
35009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35010 /* end confdefs.h. */
35011
35012 #include <sys/time.h>
35013 #include <unistd.h>
35014
35015 int
35016 main ()
35017 {
35018
35019 struct timeval tv;
35020 gettimeofday(&tv, NULL);
35021
35022 ;
35023 return 0;
35024 }
35025 _ACEOF
35026 if ac_fn_c_try_compile "$LINENO"; then :
35027 wx_cv_func_gettimeofday_has_2_args=yes
35028 else
35029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35030 /* end confdefs.h. */
35031
35032 #include <sys/time.h>
35033 #include <unistd.h>
35034
35035 int
35036 main ()
35037 {
35038
35039 struct timeval tv;
35040 gettimeofday(&tv);
35041
35042 ;
35043 return 0;
35044 }
35045 _ACEOF
35046 if ac_fn_c_try_compile "$LINENO"; then :
35047 wx_cv_func_gettimeofday_has_2_args=no
35048 else
35049
35050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
35051 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35052 wx_cv_func_gettimeofday_has_2_args=unknown
35053
35054
35055 fi
35056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35057
35058 fi
35059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35060
35061 fi
35062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35063 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
35064
35065 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35066 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
35067
35068 fi
35069 fi
35070
35071 if test "$wxUSE_DATETIME" = "yes"; then
35072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
35073 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
35074 if ${wx_cv_var_timezone+:} false; then :
35075 $as_echo_n "(cached) " >&6
35076 else
35077
35078 ac_ext=cpp
35079 ac_cpp='$CXXCPP $CPPFLAGS'
35080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35083
35084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35085 /* end confdefs.h. */
35086
35087 #include <time.h>
35088
35089 int
35090 main ()
35091 {
35092
35093 int tz;
35094 tz = timezone;
35095
35096 ;
35097 return 0;
35098 }
35099 _ACEOF
35100 if ac_fn_cxx_try_compile "$LINENO"; then :
35101
35102 wx_cv_var_timezone=timezone
35103
35104 else
35105
35106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35107 /* end confdefs.h. */
35108
35109 #include <time.h>
35110
35111 int
35112 main ()
35113 {
35114
35115 int tz;
35116 tz = _timezone;
35117
35118 ;
35119 return 0;
35120 }
35121 _ACEOF
35122 if ac_fn_cxx_try_compile "$LINENO"; then :
35123
35124 wx_cv_var_timezone=_timezone
35125
35126 else
35127
35128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35129 /* end confdefs.h. */
35130
35131 #include <time.h>
35132
35133 int
35134 main ()
35135 {
35136
35137 int tz;
35138 tz = __timezone;
35139
35140 ;
35141 return 0;
35142 }
35143 _ACEOF
35144 if ac_fn_cxx_try_compile "$LINENO"; then :
35145
35146 wx_cv_var_timezone=__timezone
35147
35148 else
35149
35150 if test "$USE_DOS" = 0 ; then
35151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
35152 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
35153 fi
35154
35155
35156 fi
35157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35158
35159
35160 fi
35161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35162
35163
35164 fi
35165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35166 ac_ext=c
35167 ac_cpp='$CPP $CPPFLAGS'
35168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35171
35172
35173
35174 fi
35175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
35176 $as_echo "$wx_cv_var_timezone" >&6; }
35177
35178 if test "x$wx_cv_var_timezone" != x ; then
35179 cat >>confdefs.h <<_ACEOF
35180 #define WX_TIMEZONE $wx_cv_var_timezone
35181 _ACEOF
35182
35183 fi
35184
35185 for ac_func in localtime
35186 do :
35187 ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
35188 if test "x$ac_cv_func_localtime" = xyes; then :
35189 cat >>confdefs.h <<_ACEOF
35190 #define HAVE_LOCALTIME 1
35191 _ACEOF
35192
35193 fi
35194 done
35195
35196
35197 if test "$ac_cv_func_localtime" = "yes"; then
35198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
35199 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
35200 if ${wx_cv_struct_tm_has_gmtoff+:} false; then :
35201 $as_echo_n "(cached) " >&6
35202 else
35203
35204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35205 /* end confdefs.h. */
35206
35207 #include <time.h>
35208
35209 int
35210 main ()
35211 {
35212
35213 struct tm tm;
35214 tm.tm_gmtoff++;
35215
35216 ;
35217 return 0;
35218 }
35219 _ACEOF
35220 if ac_fn_c_try_compile "$LINENO"; then :
35221
35222 wx_cv_struct_tm_has_gmtoff=yes
35223
35224 else
35225 wx_cv_struct_tm_has_gmtoff=no
35226
35227 fi
35228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35229
35230 fi
35231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35232 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35233 fi
35234
35235 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35236 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35237
35238 fi
35239
35240 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35241 fi
35242
35243
35244 for ac_func in setpriority
35245 do :
35246 ac_fn_c_check_func "$LINENO" "setpriority" "ac_cv_func_setpriority"
35247 if test "x$ac_cv_func_setpriority" = xyes; then :
35248 cat >>confdefs.h <<_ACEOF
35249 #define HAVE_SETPRIORITY 1
35250 _ACEOF
35251
35252 fi
35253 done
35254
35255
35256
35257 if test "$wxUSE_SOCKETS" = "yes"; then
35258 if test "$TOOLKIT" != "MSW"; then
35259 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
35260 if test "x$ac_cv_func_socket" = xyes; then :
35261
35262 else
35263
35264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35265 $as_echo_n "checking for socket in -lsocket... " >&6; }
35266 if ${ac_cv_lib_socket_socket+:} false; then :
35267 $as_echo_n "(cached) " >&6
35268 else
35269 ac_check_lib_save_LIBS=$LIBS
35270 LIBS="-lsocket $LIBS"
35271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35272 /* end confdefs.h. */
35273
35274 /* Override any GCC internal prototype to avoid an error.
35275 Use char because int might match the return type of a GCC
35276 builtin and then its argument prototype would still apply. */
35277 #ifdef __cplusplus
35278 extern "C"
35279 #endif
35280 char socket ();
35281 int
35282 main ()
35283 {
35284 return socket ();
35285 ;
35286 return 0;
35287 }
35288 _ACEOF
35289 if ac_fn_c_try_link "$LINENO"; then :
35290 ac_cv_lib_socket_socket=yes
35291 else
35292 ac_cv_lib_socket_socket=no
35293 fi
35294 rm -f core conftest.err conftest.$ac_objext \
35295 conftest$ac_exeext conftest.$ac_ext
35296 LIBS=$ac_check_lib_save_LIBS
35297 fi
35298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35299 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35300 if test "x$ac_cv_lib_socket_socket" = xyes; then :
35301 if test "$INET_LINK" != " -lsocket"; then
35302 INET_LINK="$INET_LINK -lsocket"
35303 fi
35304 else
35305
35306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35307 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35308 wxUSE_SOCKETS=no
35309
35310
35311 fi
35312
35313
35314
35315 fi
35316
35317 fi
35318 fi
35319
35320 if test "$wxUSE_SOCKETS" = "yes" ; then
35321 if test "$TOOLKIT" != "MSW"; then
35322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35323 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35324 if ${wx_cv_type_getsockname3+:} false; then :
35325 $as_echo_n "(cached) " >&6
35326 else
35327
35328 ac_ext=cpp
35329 ac_cpp='$CXXCPP $CPPFLAGS'
35330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35333
35334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35335 /* end confdefs.h. */
35336
35337 #include <sys/types.h>
35338 #include <sys/socket.h>
35339
35340 int
35341 main ()
35342 {
35343
35344 socklen_t len;
35345 getsockname(0, 0, &len);
35346
35347 ;
35348 return 0;
35349 }
35350 _ACEOF
35351 if ac_fn_cxx_try_compile "$LINENO"; then :
35352 wx_cv_type_getsockname3=socklen_t
35353 else
35354
35355 CFLAGS_OLD="$CFLAGS"
35356 if test "$GCC" = yes ; then
35357 CFLAGS="-Werror $CFLAGS"
35358 fi
35359
35360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35361 /* end confdefs.h. */
35362
35363 #include <sys/types.h>
35364 #include <sys/socket.h>
35365
35366 int
35367 main ()
35368 {
35369
35370 size_t len;
35371 getsockname(0, 0, &len);
35372
35373 ;
35374 return 0;
35375 }
35376 _ACEOF
35377 if ac_fn_cxx_try_compile "$LINENO"; then :
35378 wx_cv_type_getsockname3=size_t
35379 else
35380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35381 /* end confdefs.h. */
35382
35383 #include <sys/types.h>
35384 #include <sys/socket.h>
35385
35386 int
35387 main ()
35388 {
35389
35390 int len;
35391 getsockname(0, 0, &len);
35392
35393 ;
35394 return 0;
35395 }
35396 _ACEOF
35397 if ac_fn_cxx_try_compile "$LINENO"; then :
35398 wx_cv_type_getsockname3=int
35399 else
35400 wx_cv_type_getsockname3=unknown
35401
35402 fi
35403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35404
35405 fi
35406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35407
35408 CFLAGS="$CFLAGS_OLD"
35409
35410
35411 fi
35412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35413 ac_ext=c
35414 ac_cpp='$CPP $CPPFLAGS'
35415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35418
35419
35420 fi
35421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35422 $as_echo "$wx_cv_type_getsockname3" >&6; }
35423
35424 if test "$wx_cv_type_getsockname3" = "unknown"; then
35425 wxUSE_SOCKETS=no
35426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35427 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35428 else
35429 cat >>confdefs.h <<_ACEOF
35430 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35431 _ACEOF
35432
35433 fi
35434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35435 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35436 if ${wx_cv_type_getsockopt5+:} false; then :
35437 $as_echo_n "(cached) " >&6
35438 else
35439
35440 ac_ext=cpp
35441 ac_cpp='$CXXCPP $CPPFLAGS'
35442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35445
35446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35447 /* end confdefs.h. */
35448
35449 #include <sys/types.h>
35450 #include <sys/socket.h>
35451
35452 int
35453 main ()
35454 {
35455
35456 socklen_t len;
35457 getsockopt(0, 0, 0, 0, &len);
35458
35459 ;
35460 return 0;
35461 }
35462 _ACEOF
35463 if ac_fn_cxx_try_compile "$LINENO"; then :
35464 wx_cv_type_getsockopt5=socklen_t
35465 else
35466
35467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35468 /* end confdefs.h. */
35469
35470 #include <sys/types.h>
35471 #include <sys/socket.h>
35472
35473 int
35474 main ()
35475 {
35476
35477 size_t len;
35478 getsockopt(0, 0, 0, 0, &len);
35479
35480 ;
35481 return 0;
35482 }
35483 _ACEOF
35484 if ac_fn_cxx_try_compile "$LINENO"; then :
35485 wx_cv_type_getsockopt5=size_t
35486 else
35487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35488 /* end confdefs.h. */
35489
35490 #include <sys/types.h>
35491 #include <sys/socket.h>
35492
35493 int
35494 main ()
35495 {
35496
35497 int len;
35498 getsockopt(0, 0, 0, 0, &len);
35499
35500 ;
35501 return 0;
35502 }
35503 _ACEOF
35504 if ac_fn_cxx_try_compile "$LINENO"; then :
35505 wx_cv_type_getsockopt5=int
35506 else
35507 wx_cv_type_getsockopt5=unknown
35508
35509 fi
35510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35511
35512 fi
35513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35514
35515
35516 fi
35517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35518 ac_ext=c
35519 ac_cpp='$CPP $CPPFLAGS'
35520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35523
35524
35525 fi
35526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35527 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35528
35529 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35530 wxUSE_SOCKETS=no
35531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35532 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35533 else
35534 cat >>confdefs.h <<_ACEOF
35535 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35536 _ACEOF
35537
35538 fi
35539 fi
35540 fi
35541
35542 if test "$wxUSE_SOCKETS" = "yes" ; then
35543 if test "$wxUSE_IPV6" = "yes"; then
35544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35545 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35546 if ${wx_cv_type_sockaddr_in6+:} false; then :
35547 $as_echo_n "(cached) " >&6
35548 else
35549
35550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35551 /* end confdefs.h. */
35552
35553 #include <sys/types.h>
35554 #include <sys/socket.h>
35555 #include <netinet/in.h>
35556
35557 int
35558 main ()
35559 {
35560
35561 struct sockaddr_in6 sa6;
35562
35563 ;
35564 return 0;
35565 }
35566 _ACEOF
35567 if ac_fn_c_try_compile "$LINENO"; then :
35568 wx_cv_type_sockaddr_in6=yes
35569 else
35570 wx_cv_type_sockaddr_in6=no
35571
35572 fi
35573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35574
35575
35576 fi
35577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35578 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35579
35580 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35581 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35582
35583 else
35584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35585 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35586 fi
35587 fi
35588
35589 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35590
35591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35592 fi
35593
35594 if test "$wxUSE_PROTOCOL" = "yes"; then
35595 if test "$wxUSE_SOCKETS" != "yes"; then
35596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35597 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35598 wxUSE_PROTOCOL=no
35599 fi
35600 fi
35601
35602 if test "$wxUSE_PROTOCOL" = "yes"; then
35603 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35604
35605
35606 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35607 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35608
35609 fi
35610 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35611 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35612
35613 fi
35614 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35615 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35616
35617 fi
35618 else
35619 if test "$wxUSE_FS_INET" = "yes"; then
35620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35621 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35622 wxUSE_FS_INET="no"
35623 fi
35624 fi
35625
35626 if test "$wxUSE_URL" = "yes"; then
35627 if test "$wxUSE_PROTOCOL" != "yes"; then
35628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35629 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35630 wxUSE_URL=no
35631 fi
35632 if test "$wxUSE_URL" = "yes"; then
35633 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35634
35635 fi
35636 fi
35637
35638 if test "$wxUSE_VARIANT" = "yes"; then
35639 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35640
35641 fi
35642
35643 if test "$wxUSE_FS_INET" = "yes"; then
35644 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35645
35646 fi
35647
35648
35649 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35650 wxUSE_JOYSTICK=no
35651
35652 if test "$TOOLKIT" = "MSW"; then
35653 wxUSE_JOYSTICK=yes
35654
35655 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35656 if test "$USE_DARWIN" = 1; then
35657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35658 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35659 ac_ext=cpp
35660 ac_cpp='$CXXCPP $CPPFLAGS'
35661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35664
35665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35666 /* end confdefs.h. */
35667 #include <IOKit/hid/IOHIDLib.h>
35668 int
35669 main ()
35670 {
35671 IOHIDQueueInterface *qi = NULL;
35672 IOHIDCallbackFunction cb = NULL;
35673 qi->setEventCallout(NULL, cb, NULL, NULL);
35674 ;
35675 return 0;
35676 }
35677 _ACEOF
35678 if ac_fn_cxx_try_compile "$LINENO"; then :
35679 wxUSE_JOYSTICK=yes
35680
35681 fi
35682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35683 ac_ext=c
35684 ac_cpp='$CPP $CPPFLAGS'
35685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35688
35689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35690 $as_echo "$wxUSE_JOYSTICK" >&6; }
35691 fi
35692
35693 else
35694 for ac_header in linux/joystick.h
35695 do :
35696 ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35697 "
35698 if test "x$ac_cv_header_linux_joystick_h" = xyes; then :
35699 cat >>confdefs.h <<_ACEOF
35700 #define HAVE_LINUX_JOYSTICK_H 1
35701 _ACEOF
35702 wxUSE_JOYSTICK=yes
35703 fi
35704
35705 done
35706
35707 fi
35708
35709 if test "$wxUSE_JOYSTICK" = "yes"; then
35710 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35711
35712 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35713 else
35714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35715 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35716 fi
35717 fi
35718
35719
35720
35721 if test "$wxUSE_FONTENUM" = "yes" ; then
35722 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35723
35724 fi
35725
35726 if test "$wxUSE_FONTMAP" = "yes" ; then
35727 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35728
35729 fi
35730
35731 if test "$wxUSE_UNICODE" = "yes" ; then
35732 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35733
35734
35735 if test "$USE_WIN32" != 1; then
35736 wxUSE_UNICODE_MSLU=no
35737 fi
35738
35739 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35741 $as_echo_n "checking for main in -lunicows... " >&6; }
35742 if ${ac_cv_lib_unicows_main+:} false; then :
35743 $as_echo_n "(cached) " >&6
35744 else
35745 ac_check_lib_save_LIBS=$LIBS
35746 LIBS="-lunicows $LIBS"
35747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35748 /* end confdefs.h. */
35749
35750
35751 int
35752 main ()
35753 {
35754 return main ();
35755 ;
35756 return 0;
35757 }
35758 _ACEOF
35759 if ac_fn_c_try_link "$LINENO"; then :
35760 ac_cv_lib_unicows_main=yes
35761 else
35762 ac_cv_lib_unicows_main=no
35763 fi
35764 rm -f core conftest.err conftest.$ac_objext \
35765 conftest$ac_exeext conftest.$ac_ext
35766 LIBS=$ac_check_lib_save_LIBS
35767 fi
35768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35769 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35770 if test "x$ac_cv_lib_unicows_main" = xyes; then :
35771
35772 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35773
35774
35775 else
35776
35777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35778 Applications will only run on Windows NT/2000/XP!" >&5
35779 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35780 Applications will only run on Windows NT/2000/XP!" >&2;}
35781 wxUSE_UNICODE_MSLU=no
35782
35783 fi
35784
35785 fi
35786 fi
35787
35788 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35789 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35790
35791
35792 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35793 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35794
35795 fi
35796 fi
35797
35798
35799 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35800 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35801
35802 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35803 fi
35804
35805 if test "$wxUSE_MDI" = "yes"; then
35806 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35807
35808
35809 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35810 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35811
35812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35813 fi
35814 fi
35815
35816 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35817 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35818
35819 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35820 fi
35821
35822 if test "$wxUSE_HELP" = "yes"; then
35823 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35824
35825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35826
35827 if test "$wxUSE_MSW" = 1; then
35828 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35829 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35830
35831 fi
35832 fi
35833
35834 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35835 if test "$wxUSE_HTML" = "yes"; then
35836 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35837
35838 else
35839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35840 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35841 wxUSE_WXHTML_HELP=no
35842 fi
35843 fi
35844 fi
35845
35846 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35847 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35848
35849 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35850 fi
35851
35852 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35853 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35854
35855 fi
35856
35857 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35858
35859
35860 if test "$wxUSE_SVG" = "yes"; then
35861 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35862
35863 fi
35864
35865
35866 if test "$wxUSE_METAFILE" = "yes"; then
35867 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35869 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35870 wxUSE_METAFILE=no
35871 fi
35872 elif test "$wxUSE_METAFILE" = "auto"; then
35873 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35874 wxUSE_METAFILE=yes
35875 fi
35876 fi
35877
35878 if test "$wxUSE_METAFILE" = "yes"; then
35879 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35880
35881 if test "$wxUSE_MSW" = 1; then
35882 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35883
35884 fi
35885 fi
35886
35887
35888 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
35889 -o "$wxUSE_CLIPBOARD" = "yes" \
35890 -o "$wxUSE_OLE" = "yes" \
35891 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
35892 ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35893 "
35894 if test "x$ac_cv_header_ole2_h" = xyes; then :
35895
35896 fi
35897
35898
35899
35900 if test "$ac_cv_header_ole2_h" = "yes" ; then
35901 if test "$GCC" = yes ; then
35902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35903 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35905 /* end confdefs.h. */
35906 #include <windows.h>
35907 #include <ole2.h>
35908 int
35909 main ()
35910 {
35911
35912 ;
35913 return 0;
35914 }
35915 _ACEOF
35916 if ac_fn_c_try_compile "$LINENO"; then :
35917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35918 $as_echo "no" >&6; }
35919 else
35920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35921 $as_echo "yes" >&6; }
35922 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35923 fi
35924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35925 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35926 if test "$wxUSE_OLE" = "yes" ; then
35927 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35928
35929 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35930
35931 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35932
35933 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
35934 fi
35935 fi
35936
35937 if test "$wxUSE_DATAOBJ" = "yes" ; then
35938 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35939
35940 fi
35941 else
35942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35943 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35944
35945 wxUSE_CLIPBOARD=no
35946 wxUSE_DRAG_AND_DROP=no
35947 wxUSE_DATAOBJ=no
35948 wxUSE_OLE=no
35949 fi
35950 fi
35951
35952 if test "$wxUSE_IPC" = "yes"; then
35953 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35955 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35956 wxUSE_IPC=no
35957 fi
35958
35959 if test "$wxUSE_IPC" = "yes"; then
35960 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35961
35962 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
35963 fi
35964 fi
35965
35966 if test "$wxUSE_DATAOBJ" = "yes"; then
35967 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35968
35969 else
35970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35971 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35972 wxUSE_CLIPBOARD=no
35973 wxUSE_DRAG_AND_DROP=no
35974 fi
35975
35976 if test "$wxUSE_CLIPBOARD" = "yes"; then
35977 if test "$wxUSE_DFB" = 1; then
35978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35979 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35980 wxUSE_CLIPBOARD=no
35981 fi
35982
35983 if test "$wxUSE_CLIPBOARD" = "yes"; then
35984 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35985
35986 fi
35987 fi
35988
35989 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35990 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35992 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35993 wxUSE_DRAG_AND_DROP=no
35994 fi
35995
35996 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35997 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35998
35999 fi
36000
36001 fi
36002
36003 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36005 fi
36006
36007 if test "$wxUSE_CLIPBOARD" = "yes"; then
36008 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
36009 fi
36010
36011 if test "$wxUSE_SPLINES" = "yes" ; then
36012 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
36013
36014 fi
36015
36016 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
36017 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
36018
36019 fi
36020
36021 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
36022 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
36023
36024 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
36025 fi
36026
36027 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
36028 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
36029
36030 fi
36031
36032
36033 USES_CONTROLS=0
36034 if test "$wxUSE_CONTROLS" = "yes"; then
36035 USES_CONTROLS=1
36036 fi
36037
36038 if test "$wxUSE_MARKUP" = "yes"; then
36039 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
36040
36041 fi
36042
36043 if test "$wxUSE_ACCEL" = "yes"; then
36044 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
36045
36046 USES_CONTROLS=1
36047 fi
36048
36049 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
36050 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
36051
36052 USES_CONTROLS=1
36053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
36054 fi
36055
36056 if test "$wxUSE_BANNERWINDOW" = "yes"; then
36057 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
36058
36059 fi
36060
36061 if test "$wxUSE_BUTTON" = "yes"; then
36062 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
36063
36064 USES_CONTROLS=1
36065 fi
36066
36067 if test "$wxUSE_BMPBUTTON" = "yes"; then
36068 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
36069
36070 USES_CONTROLS=1
36071 fi
36072
36073 if test "$wxUSE_CALCTRL" = "yes"; then
36074 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
36075
36076 USES_CONTROLS=1
36077 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36078 fi
36079
36080 if test "$wxUSE_CARET" = "yes"; then
36081 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
36082
36083 USES_CONTROLS=1
36084 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36085 fi
36086
36087 if test "$wxUSE_COLLPANE" = "yes"; then
36088 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
36089
36090 USES_CONTROLS=1
36091 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
36092 fi
36093
36094 if test "$wxUSE_COMBOBOX" = "yes"; then
36095 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
36096
36097 USES_CONTROLS=1
36098 fi
36099
36100 if test "$wxUSE_COMBOCTRL" = "yes"; then
36101 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
36102
36103 USES_CONTROLS=1
36104 fi
36105
36106 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
36107 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
36108
36109 USES_CONTROLS=1
36110 fi
36111
36112 if test "$wxUSE_CHOICE" = "yes"; then
36113 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
36114
36115 USES_CONTROLS=1
36116 fi
36117
36118 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36119 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
36120
36121 USES_CONTROLS=1
36122 fi
36123
36124 if test "$wxUSE_CHECKBOX" = "yes"; then
36125 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
36126
36127 USES_CONTROLS=1
36128 fi
36129
36130 if test "$wxUSE_CHECKLST" = "yes"; then
36131 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
36132
36133 USES_CONTROLS=1
36134 fi
36135
36136 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
36137 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
36138
36139 USES_CONTROLS=1
36140 fi
36141
36142 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
36143 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
36144
36145 USES_CONTROLS=1
36146 fi
36147
36148 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
36149 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
36150
36151 USES_CONTROLS=1
36152 fi
36153
36154 if test "$wxUSE_FILECTRL" = "yes"; then
36155 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
36156
36157 USES_CONTROLS=1
36158 fi
36159
36160 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
36161 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
36162
36163 USES_CONTROLS=1
36164 fi
36165
36166 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
36167 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
36168
36169 USES_CONTROLS=1
36170 fi
36171
36172 if test "$wxUSE_DISPLAY" = "yes"; then
36173 if test "$wxUSE_DFB" = 1; then
36174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
36175 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
36176 wxUSE_DISPLAY=no
36177 else
36178 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
36179
36180 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36181 fi
36182 fi
36183
36184 if test "$wxUSE_DETECT_SM" = "yes"; then
36185 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
36186
36187 fi
36188
36189 if test "$wxUSE_GAUGE" = "yes"; then
36190 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
36191
36192 USES_CONTROLS=1
36193 fi
36194
36195 if test "$wxUSE_GRID" = "yes"; then
36196 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
36197
36198 USES_CONTROLS=1
36199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36200 fi
36201
36202 if test "$wxUSE_HEADERCTRL" = "yes"; then
36203 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
36204
36205 USES_CONTROLS=1
36206 fi
36207
36208 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
36209 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
36210
36211 USES_CONTROLS=1
36212 fi
36213
36214 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
36215 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
36216
36217 USES_CONTROLS=1
36218 fi
36219
36220 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
36221 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
36222
36223 USES_CONTROLS=1
36224 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
36225 fi
36226
36227 if test "$wxUSE_IMAGLIST" = "yes"; then
36228 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
36229
36230 fi
36231
36232 if test "$wxUSE_INFOBAR" = "yes"; then
36233 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36234
36235 fi
36236
36237 if test "$wxUSE_LISTBOOK" = "yes"; then
36238 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36239
36240 USES_CONTROLS=1
36241 fi
36242
36243 if test "$wxUSE_LISTBOX" = "yes"; then
36244 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36245
36246 USES_CONTROLS=1
36247 fi
36248
36249 if test "$wxUSE_LISTCTRL" = "yes"; then
36250 if test "$wxUSE_IMAGLIST" = "yes"; then
36251 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36252
36253 USES_CONTROLS=1
36254 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36255 else
36256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36257 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36258 fi
36259 fi
36260
36261 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36262 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36263
36264 USES_CONTROLS=1
36265 fi
36266
36267 if test "$wxUSE_NOTEBOOK" = "yes"; then
36268 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36269
36270 USES_CONTROLS=1
36271 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36272 fi
36273
36274 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36275 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36276
36277 fi
36278
36279 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36280 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36281
36282 USES_CONTROLS=1
36283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
36284 fi
36285
36286 if test "$wxUSE_RADIOBOX" = "yes"; then
36287 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36288
36289 USES_CONTROLS=1
36290 fi
36291
36292 if test "$wxUSE_RADIOBTN" = "yes"; then
36293 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36294
36295 USES_CONTROLS=1
36296 fi
36297
36298 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36299 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36300
36301 fi
36302
36303 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36304 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36305
36306 fi
36307
36308 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36309 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36310
36311 fi
36312
36313 if test "$wxUSE_SASH" = "yes"; then
36314 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36315
36316 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36317 fi
36318
36319 if test "$wxUSE_SCROLLBAR" = "yes"; then
36320 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36321
36322 USES_CONTROLS=1
36323 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
36324 fi
36325
36326 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36327 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36328
36329 USES_CONTROLS=1
36330 fi
36331
36332 if test "$wxUSE_SLIDER" = "yes"; then
36333 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36334
36335 USES_CONTROLS=1
36336 fi
36337
36338 if test "$wxUSE_SPINBTN" = "yes"; then
36339 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36340
36341 USES_CONTROLS=1
36342 fi
36343
36344 if test "$wxUSE_SPINCTRL" = "yes"; then
36345 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36346
36347 USES_CONTROLS=1
36348 fi
36349
36350 if test "$wxUSE_SPLITTER" = "yes"; then
36351 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36352
36353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36354 fi
36355
36356 if test "$wxUSE_STATBMP" = "yes"; then
36357 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36358
36359 USES_CONTROLS=1
36360 fi
36361
36362 if test "$wxUSE_STATBOX" = "yes"; then
36363 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36364
36365 USES_CONTROLS=1
36366 fi
36367
36368 if test "$wxUSE_STATTEXT" = "yes"; then
36369 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36370
36371 USES_CONTROLS=1
36372 fi
36373
36374 if test "$wxUSE_STATLINE" = "yes"; then
36375 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36376
36377 USES_CONTROLS=1
36378 fi
36379
36380 if test "$wxUSE_STATUSBAR" = "yes"; then
36381 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36382
36383 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36384
36385 USES_CONTROLS=1
36386
36387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36388 fi
36389
36390 if test "$wxUSE_TEXTCTRL" = "yes"; then
36391 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36392
36393 USES_CONTROLS=1
36394 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36395
36396 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36397
36398 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36399
36400 fi
36401
36402 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36403 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36404
36405 USES_CONTROLS=1
36406 fi
36407
36408 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36409 if test "$wxUSE_OLD_COCOA" = 1 ; then
36410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36411 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36412 wxUSE_TOGGLEBTN=no
36413 fi
36414
36415 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36416 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36417
36418 USES_CONTROLS=1
36419 fi
36420 fi
36421
36422 if test "$wxUSE_TOOLBAR" = "yes"; then
36423 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36424
36425 USES_CONTROLS=1
36426
36427 if test "$wxUSE_UNIVERSAL" = "yes"; then
36428 wxUSE_TOOLBAR_NATIVE="no"
36429 else
36430 wxUSE_TOOLBAR_NATIVE="yes"
36431 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36432
36433 fi
36434
36435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36436 fi
36437
36438 if test "$wxUSE_TOOLTIPS" = "yes"; then
36439 if test "$wxUSE_MOTIF" = 1; then
36440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36441 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36442 else
36443 if test "$wxUSE_UNIVERSAL" = "yes"; then
36444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36445 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36446 else
36447 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36448
36449 fi
36450 fi
36451 fi
36452
36453 if test "$wxUSE_TREEBOOK" = "yes"; then
36454 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36455
36456 USES_CONTROLS=1
36457 fi
36458
36459 if test "$wxUSE_TOOLBOOK" = "yes"; then
36460 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36461
36462 USES_CONTROLS=1
36463 fi
36464
36465 if test "$wxUSE_TREECTRL" = "yes"; then
36466 if test "$wxUSE_IMAGLIST" = "yes"; then
36467 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36468
36469 USES_CONTROLS=1
36470 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36471 else
36472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36473 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36474 fi
36475 fi
36476
36477 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36478 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36479
36480 USES_CONTROLS=1
36481 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
36482 fi
36483
36484 if test "$wxUSE_POPUPWIN" = "yes"; then
36485 if test "$wxUSE_OLD_COCOA" = 1 ; then
36486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36487 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36488 else
36489 if test "$wxUSE_PM" = 1; then
36490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36491 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36492 else
36493 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36494
36495 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
36496
36497 USES_CONTROLS=1
36498 fi
36499 fi
36500 fi
36501
36502 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36503 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36505 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36506 else
36507 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36508
36509 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
36510 fi
36511 fi
36512
36513 if test "$wxUSE_TIPWINDOW" = "yes"; then
36514 if test "$wxUSE_PM" = 1; then
36515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36516 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36517 else
36518 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36519
36520 fi
36521 fi
36522
36523 if test "$USES_CONTROLS" = 1; then
36524 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36525
36526 fi
36527
36528
36529 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36530 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36531
36532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36533 fi
36534
36535 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36536 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36537
36538 fi
36539
36540 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36541 if test "$wxUSE_GTK" != 1; then
36542 if test "$wxUSE_LIBPNG" != no -a \
36543 "$wxUSE_IMAGE" = yes -a \
36544 "$wxUSE_STREAMS" = yes; then
36545 wxUSE_ARTPROVIDER_TANGO="yes"
36546 fi
36547 fi
36548 fi
36549
36550 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36551 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36552
36553 fi
36554
36555 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36556 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36557
36558 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36559 fi
36560
36561 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36562 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36564 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36565 else
36566 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36567
36568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36569 fi
36570 fi
36571
36572 USE_HTML=0
36573 if test "$wxUSE_HTML" = "yes"; then
36574 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36575
36576 USE_HTML=1
36577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36578 fi
36579 if test "$wxUSE_WEBKIT" = "yes"; then
36580 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36581 old_CPPFLAGS="$CPPFLAGS"
36582 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36583 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36584 #include <Carbon/Carbon.h>
36585 #include <WebKit/WebKit.h>
36586
36587 "
36588 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36589
36590 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36591
36592 WEBKIT_LINK="-framework WebKit"
36593
36594 else
36595
36596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36597 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36598 wxUSE_WEBKIT=no
36599
36600 fi
36601
36602
36603 CPPFLAGS="$old_CPPFLAGS"
36604 elif test "$wxUSE_OLD_COCOA" = 1; then
36605 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36606
36607 else
36608 wxUSE_WEBKIT=no
36609 fi
36610 if test "$wxUSE_WEBKIT" = "yes"; then
36611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36612 fi
36613 fi
36614
36615 USE_XRC=0
36616 if test "$wxUSE_XRC" = "yes"; then
36617 if test "$wxUSE_XML" != "yes"; then
36618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36619 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36620 wxUSE_XRC=no
36621 else
36622 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36623
36624 USE_XRC=1
36625 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
36626 fi
36627 fi
36628
36629 USE_AUI=0
36630 if test "$wxUSE_AUI" = "yes"; then
36631 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36632
36633 USE_AUI=1
36634 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
36635 fi
36636
36637 USE_PROPGRID=0
36638 if test "$wxUSE_PROPGRID" = "yes"; then
36639 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36640
36641 USE_PROPGRID=1
36642 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
36643 fi
36644
36645 USE_RIBBON=0
36646 if test "$wxUSE_RIBBON" = "yes"; then
36647 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36648
36649 USE_RIBBON=1
36650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
36651 fi
36652
36653 USE_STC=0
36654 if test "$wxUSE_STC" = "yes"; then
36655 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36656
36657 USE_STC=1
36658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
36659
36660 # Extract the first word of "python", so it can be a program name with args.
36661 set dummy python; ac_word=$2
36662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36663 $as_echo_n "checking for $ac_word... " >&6; }
36664 if ${ac_cv_path_PYTHON+:} false; then :
36665 $as_echo_n "(cached) " >&6
36666 else
36667 case $PYTHON in
36668 [\\/]* | ?:[\\/]*)
36669 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
36670 ;;
36671 *)
36672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36673 for as_dir in $PATH
36674 do
36675 IFS=$as_save_IFS
36676 test -z "$as_dir" && as_dir=.
36677 for ac_exec_ext in '' $ac_executable_extensions; do
36678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36679 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
36680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36681 break 2
36682 fi
36683 done
36684 done
36685 IFS=$as_save_IFS
36686
36687 ;;
36688 esac
36689 fi
36690 PYTHON=$ac_cv_path_PYTHON
36691 if test -n "$PYTHON"; then
36692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36693 $as_echo "$PYTHON" >&6; }
36694 else
36695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36696 $as_echo "no" >&6; }
36697 fi
36698
36699
36700 if test "x$PYTHON" = "x"; then
36701 COND_PYTHON="#"
36702 fi
36703
36704 fi
36705
36706 if test "$wxUSE_MENUS" = "yes"; then
36707 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36708
36709 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36710 fi
36711
36712 if test "$wxUSE_MIMETYPE" = "yes"; then
36713 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36714
36715 fi
36716
36717 if test "$wxUSE_MINIFRAME" = "yes"; then
36718 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36719
36720 fi
36721
36722 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36723 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36724
36725 fi
36726
36727 if test "$wxUSE_TASKBARICON" = "yes"; then
36728 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36729
36730 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36731
36732 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36733 fi
36734
36735
36736 if test "$wxUSE_VALIDATORS" = "yes"; then
36737 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36738
36739 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36740 fi
36741
36742 if test "$wxUSE_PALETTE" = "yes" ; then
36743 if test "$wxUSE_DFB" = 1; then
36744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36745 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36746 wxUSE_PALETTE=no
36747 else
36748 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36749
36750 fi
36751 fi
36752
36753 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36754 LIBS=" -lunicows $LIBS"
36755 fi
36756
36757 USE_RICHTEXT=0
36758 if test "$wxUSE_RICHTEXT" = "yes"; then
36759 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36760
36761 USE_RICHTEXT=1
36762 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
36763 fi
36764
36765 if test "$wxUSE_WEBVIEW" = "yes"; then
36766 USE_WEBVIEW_WEBKIT=0
36767 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36768 if test "$wxUSE_GTK" = 1; then
36769 webkitgtk=webkit-1.0
36770 if test "$WXGTK3" = 1; then
36771 webkitgtk=webkitgtk-3.0
36772 fi
36773
36774 pkg_failed=no
36775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36776 $as_echo_n "checking for WEBKIT... " >&6; }
36777
36778 if test -n "$PKG_CONFIG"; then
36779 if test -n "$WEBKIT_CFLAGS"; then
36780 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
36781 else
36782 if test -n "$PKG_CONFIG" && \
36783 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36784 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36785 ac_status=$?
36786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36787 test $ac_status = 0; }; then
36788 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36789 else
36790 pkg_failed=yes
36791 fi
36792 fi
36793 else
36794 pkg_failed=untried
36795 fi
36796 if test -n "$PKG_CONFIG"; then
36797 if test -n "$WEBKIT_LIBS"; then
36798 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
36799 else
36800 if test -n "$PKG_CONFIG" && \
36801 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36802 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36803 ac_status=$?
36804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36805 test $ac_status = 0; }; then
36806 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36807 else
36808 pkg_failed=yes
36809 fi
36810 fi
36811 else
36812 pkg_failed=untried
36813 fi
36814
36815
36816
36817 if test $pkg_failed = yes; then
36818
36819 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36820 _pkg_short_errors_supported=yes
36821 else
36822 _pkg_short_errors_supported=no
36823 fi
36824 if test $_pkg_short_errors_supported = yes; then
36825 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36826 else
36827 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36828 fi
36829 # Put the nasty error message in config.log where it belongs
36830 echo "$WEBKIT_PKG_ERRORS" >&5
36831
36832
36833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36834 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36835
36836 elif test $pkg_failed = untried; then
36837
36838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36839 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36840
36841 else
36842 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
36843 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
36844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36845 $as_echo "yes" >&6; }
36846
36847 USE_WEBVIEW_WEBKIT=1
36848 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
36849 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36850
36851 fi
36852 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36853 old_CPPFLAGS="$CPPFLAGS"
36854 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36855 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36856 #include <Carbon/Carbon.h>
36857 #include <WebKit/WebKit.h>
36858
36859 "
36860 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36861
36862 USE_WEBVIEW_WEBKIT=1
36863 WEBKIT_LINK="-framework WebKit"
36864
36865 else
36866
36867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36868 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36869
36870 fi
36871
36872
36873 CPPFLAGS="$old_CPPFLAGS"
36874 fi
36875 fi
36876
36877 wxUSE_WEBVIEW="no"
36878 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36879 if test "$USE_WEBVIEW_WEBKIT" = 1; then
36880 wxUSE_WEBVIEW="yes"
36881 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36882
36883 else
36884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36885 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36886 fi
36887 elif test "$wxUSE_MSW" = 1; then
36888 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36889 wxUSE_WEBVIEW="yes"
36890 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36891
36892 fi
36893 fi
36894 fi
36895
36896 if test "$wxUSE_WEBVIEW" = "yes"; then
36897 USE_WEBVIEW=1
36898 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36899
36900 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
36901 else
36902 USE_WEBVIEW=0
36903 fi
36904
36905
36906 if test "$wxUSE_IMAGE" = "yes" ; then
36907 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36908
36909
36910 if test "$wxUSE_GIF" = "yes" ; then
36911 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36912
36913 fi
36914
36915 if test "$wxUSE_PCX" = "yes" ; then
36916 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36917
36918 fi
36919
36920 if test "$wxUSE_TGA" = "yes" ; then
36921 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36922
36923 fi
36924
36925 if test "$wxUSE_IFF" = "yes" ; then
36926 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36927
36928 fi
36929
36930 if test "$wxUSE_PNM" = "yes" ; then
36931 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36932
36933 fi
36934
36935 if test "$wxUSE_XPM" = "yes" ; then
36936 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36937
36938 fi
36939
36940 if test "$wxUSE_ICO_CUR" = "yes" ; then
36941 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36942
36943 fi
36944 fi
36945
36946
36947 if test "$wxUSE_ABOUTDLG" = "yes"; then
36948 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36949
36950 fi
36951
36952 if test "$wxUSE_CHOICEDLG" = "yes"; then
36953 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36954
36955 fi
36956
36957 if test "$wxUSE_COLOURDLG" = "yes"; then
36958 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36959
36960 fi
36961
36962 if test "$wxUSE_FILEDLG" = "yes"; then
36963 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36964
36965 fi
36966
36967 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36968 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36969
36970 fi
36971
36972 if test "$wxUSE_FONTDLG" = "yes"; then
36973 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36974
36975 fi
36976
36977 if test "$wxUSE_DIRDLG" = "yes"; then
36978 if test "$wxUSE_TREECTRL" != "yes"; then
36979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36980 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36981 else
36982 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36983
36984 fi
36985 fi
36986
36987 if test "$wxUSE_MSGDLG" = "yes"; then
36988 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36989
36990 fi
36991
36992 if test "$wxUSE_NUMBERDLG" = "yes"; then
36993 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36994
36995 fi
36996
36997 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36998 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36999
37000 fi
37001
37002 if test "$wxUSE_SPLASH" = "yes"; then
37003 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
37004
37005 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
37006 fi
37007
37008 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37009 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
37010
37011 fi
37012
37013 if test "$wxUSE_TEXTDLG" = "yes"; then
37014 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
37015
37016 fi
37017
37018 if test "$wxUSE_WIZARDDLG" = "yes"; then
37019 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
37020
37021 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37022 fi
37023
37024
37025 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
37026 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
37027 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
37028
37029 fi
37030 fi
37031
37032
37033 if test "$wxUSE_MSW" = 1 ; then
37034
37035 if test "$wxUSE_DC_CACHEING" = "yes"; then
37036 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
37037
37038 fi
37039
37040 if test "$wxUSE_DIB" = "yes"; then
37041 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
37042
37043 fi
37044
37045 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
37046 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
37047
37048 fi
37049
37050 if test "$wxUSE_UXTHEME" = "yes"; then
37051 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
37052
37053 fi
37054
37055 fi
37056
37057 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
37058 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
37059
37060 fi
37061
37062 if test "$USE_WIN32" = 1 ; then
37063 if test "$wxUSE_INICONF" = "yes"; then
37064 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
37065
37066 fi
37067
37068 if test "$wxUSE_REGKEY" = "yes"; then
37069 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
37070
37071 fi
37072 fi
37073
37074
37075 if test "$wxUSE_MAC" = 1; then
37076 wxUSE_GRAPHICS_CONTEXT="yes"
37077 fi
37078
37079 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
37080 wx_has_graphics=0
37081 if test "$wxUSE_MSW" = 1; then
37082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
37083 $as_echo_n "checking if GDI+ is available... " >&6; }
37084 if ${wx_cv_lib_gdiplus+:} false; then :
37085 $as_echo_n "(cached) " >&6
37086 else
37087
37088 ac_ext=cpp
37089 ac_cpp='$CXXCPP $CPPFLAGS'
37090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37093
37094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37095 /* end confdefs.h. */
37096 #include <windows.h>
37097 #include <gdiplus.h>
37098 int
37099 main ()
37100 {
37101
37102 using namespace Gdiplus;
37103
37104 ;
37105 return 0;
37106 }
37107 _ACEOF
37108 if ac_fn_cxx_try_compile "$LINENO"; then :
37109 wx_cv_lib_gdiplus=yes
37110 else
37111 wx_cv_lib_gdiplus=no
37112
37113 fi
37114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37115 ac_ext=c
37116 ac_cpp='$CPP $CPPFLAGS'
37117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37120
37121
37122
37123 fi
37124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
37125 $as_echo "$wx_cv_lib_gdiplus" >&6; }
37126 if test "$wx_cv_lib_gdiplus" = "yes"; then
37127 wx_has_graphics=1
37128 fi
37129 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
37130
37131 pkg_failed=no
37132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
37133 $as_echo_n "checking for CAIRO... " >&6; }
37134
37135 if test -n "$PKG_CONFIG"; then
37136 if test -n "$CAIRO_CFLAGS"; then
37137 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
37138 else
37139 if test -n "$PKG_CONFIG" && \
37140 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37141 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37142 ac_status=$?
37143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37144 test $ac_status = 0; }; then
37145 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
37146 else
37147 pkg_failed=yes
37148 fi
37149 fi
37150 else
37151 pkg_failed=untried
37152 fi
37153 if test -n "$PKG_CONFIG"; then
37154 if test -n "$CAIRO_LIBS"; then
37155 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
37156 else
37157 if test -n "$PKG_CONFIG" && \
37158 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37159 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37160 ac_status=$?
37161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37162 test $ac_status = 0; }; then
37163 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
37164 else
37165 pkg_failed=yes
37166 fi
37167 fi
37168 else
37169 pkg_failed=untried
37170 fi
37171
37172
37173
37174 if test $pkg_failed = yes; then
37175
37176 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37177 _pkg_short_errors_supported=yes
37178 else
37179 _pkg_short_errors_supported=no
37180 fi
37181 if test $_pkg_short_errors_supported = yes; then
37182 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
37183 else
37184 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
37185 fi
37186 # Put the nasty error message in config.log where it belongs
37187 echo "$CAIRO_PKG_ERRORS" >&5
37188
37189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37190 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37191
37192 elif test $pkg_failed = untried; then
37193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37194 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37195
37196 else
37197 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
37198 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
37199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37200 $as_echo "yes" >&6; }
37201 wx_has_graphics=1
37202 fi
37203 if test "$wx_has_graphics" = 1; then
37204 save_LIBS="$LIBS"
37205 LIBS="$LIBS $CAIRO_LIBS"
37206 for ac_func in cairo_push_group
37207 do :
37208 ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
37209 if test "x$ac_cv_func_cairo_push_group" = xyes; then :
37210 cat >>confdefs.h <<_ACEOF
37211 #define HAVE_CAIRO_PUSH_GROUP 1
37212 _ACEOF
37213
37214 fi
37215 done
37216
37217 LIBS="$save_LIBS"
37218 if test "$ac_cv_func_cairo_push_group" = "no"; then
37219 wx_has_graphics=0
37220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
37221 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
37222 else
37223 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
37224
37225
37226 if test "$wxUSE_GTK" != 1; then
37227 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
37228 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
37229 fi
37230 fi
37231 fi
37232 else
37233 wx_has_graphics=1
37234 fi
37235
37236 if test "$wx_has_graphics" = 1; then
37237 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37238
37239 else
37240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37241 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37242 fi
37243 fi
37244
37245
37246 USE_MEDIA=0
37247
37248 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37249 USE_MEDIA=1
37250
37251 if test "$wxUSE_GTK" = 1; then
37252 wxUSE_GSTREAMER="no"
37253
37254 GST_VERSION_MAJOR=0
37255 GST_VERSION_MINOR=10
37256 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37257
37258 if test "$wxUSE_GSTREAMER8" = "no"; then
37259
37260 pkg_failed=no
37261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37262 $as_echo_n "checking for GST... " >&6; }
37263
37264 if test -n "$PKG_CONFIG"; then
37265 if test -n "$GST_CFLAGS"; then
37266 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37267 else
37268 if test -n "$PKG_CONFIG" && \
37269 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37270 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37271 ac_status=$?
37272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37273 test $ac_status = 0; }; then
37274 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37275 else
37276 pkg_failed=yes
37277 fi
37278 fi
37279 else
37280 pkg_failed=untried
37281 fi
37282 if test -n "$PKG_CONFIG"; then
37283 if test -n "$GST_LIBS"; then
37284 pkg_cv_GST_LIBS="$GST_LIBS"
37285 else
37286 if test -n "$PKG_CONFIG" && \
37287 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37288 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37289 ac_status=$?
37290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37291 test $ac_status = 0; }; then
37292 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37293 else
37294 pkg_failed=yes
37295 fi
37296 fi
37297 else
37298 pkg_failed=untried
37299 fi
37300
37301
37302
37303 if test $pkg_failed = yes; then
37304
37305 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37306 _pkg_short_errors_supported=yes
37307 else
37308 _pkg_short_errors_supported=no
37309 fi
37310 if test $_pkg_short_errors_supported = yes; then
37311 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37312 else
37313 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37314 fi
37315 # Put the nasty error message in config.log where it belongs
37316 echo "$GST_PKG_ERRORS" >&5
37317
37318
37319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37320 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37321 GST_VERSION_MINOR=8
37322
37323
37324 elif test $pkg_failed = untried; then
37325
37326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37327 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37328 GST_VERSION_MINOR=8
37329
37330
37331 else
37332 GST_CFLAGS=$pkg_cv_GST_CFLAGS
37333 GST_LIBS=$pkg_cv_GST_LIBS
37334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37335 $as_echo "yes" >&6; }
37336
37337 wxUSE_GSTREAMER="yes"
37338 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37339
37340 fi
37341 else
37342 GST_VERSION_MINOR=8
37343 fi
37344
37345 if test $GST_VERSION_MINOR = "8"; then
37346 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37347
37348 pkg_failed=no
37349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37350 $as_echo_n "checking for GST... " >&6; }
37351
37352 if test -n "$PKG_CONFIG"; then
37353 if test -n "$GST_CFLAGS"; then
37354 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37355 else
37356 if test -n "$PKG_CONFIG" && \
37357 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37358 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37359 ac_status=$?
37360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37361 test $ac_status = 0; }; then
37362 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37363 else
37364 pkg_failed=yes
37365 fi
37366 fi
37367 else
37368 pkg_failed=untried
37369 fi
37370 if test -n "$PKG_CONFIG"; then
37371 if test -n "$GST_LIBS"; then
37372 pkg_cv_GST_LIBS="$GST_LIBS"
37373 else
37374 if test -n "$PKG_CONFIG" && \
37375 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37376 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37377 ac_status=$?
37378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37379 test $ac_status = 0; }; then
37380 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37381 else
37382 pkg_failed=yes
37383 fi
37384 fi
37385 else
37386 pkg_failed=untried
37387 fi
37388
37389
37390
37391 if test $pkg_failed = yes; then
37392
37393 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37394 _pkg_short_errors_supported=yes
37395 else
37396 _pkg_short_errors_supported=no
37397 fi
37398 if test $_pkg_short_errors_supported = yes; then
37399 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37400 else
37401 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37402 fi
37403 # Put the nasty error message in config.log where it belongs
37404 echo "$GST_PKG_ERRORS" >&5
37405
37406
37407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37408 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37409
37410 elif test $pkg_failed = untried; then
37411
37412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37413 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37414
37415 else
37416 GST_CFLAGS=$pkg_cv_GST_CFLAGS
37417 GST_LIBS=$pkg_cv_GST_LIBS
37418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37419 $as_echo "yes" >&6; }
37420 wxUSE_GSTREAMER="yes"
37421 fi
37422 fi
37423
37424
37425 if test "$wxUSE_GSTREAMER" = "yes"; then
37426 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
37427 EXTRALIBS_MEDIA="$GST_LIBS"
37428
37429 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37430
37431 else
37432 USE_MEDIA=0
37433 fi
37434
37435 elif test "$wxUSE_MAC" = 1; then
37436 GST_LIBS="-framework QTKit"
37437 fi
37438
37439 if test $USE_MEDIA = 1; then
37440 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
37441 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37442
37443 else
37444 if test "$wxUSE_MEDIACTRL" = "yes"; then
37445 as_fn_error $? "GStreamer not available" "$LINENO" 5
37446 else
37447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37448 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37449 fi
37450 fi
37451 fi
37452
37453
37454 if test "$cross_compiling" != "no"; then
37455 OSINFO="\"$host\""
37456 else
37457 OSINFO=`uname -s -r -m`
37458 OSINFO="\"$OSINFO\""
37459 fi
37460
37461 cat >>confdefs.h <<_ACEOF
37462 #define WXWIN_OS_DESCRIPTION $OSINFO
37463 _ACEOF
37464
37465
37466
37467 if test "x$prefix" != "xNONE"; then
37468 wxPREFIX=$prefix
37469 else
37470 wxPREFIX=$ac_default_prefix
37471 fi
37472
37473 cat >>confdefs.h <<_ACEOF
37474 #define wxINSTALL_PREFIX "$wxPREFIX"
37475 _ACEOF
37476
37477
37478
37479
37480 STD_BASE_LIBS="base"
37481 STD_GUI_LIBS=""
37482 BUILT_WX_LIBS="base"
37483 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
37484
37485 if test "$wxUSE_SOCKETS" = "yes" ; then
37486 STD_BASE_LIBS="net $STD_BASE_LIBS"
37487 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
37488 fi
37489 if test "$wxUSE_XML" = "yes" ; then
37490 STD_BASE_LIBS="xml $STD_BASE_LIBS"
37491 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
37492 fi
37493
37494 if test "$wxUSE_GUI" = "yes"; then
37495 STD_GUI_LIBS="adv core"
37496 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
37497
37498 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37499 STD_GUI_LIBS="qa $STD_GUI_LIBS"
37500 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
37501 fi
37502 if test "$wxUSE_HTML" = "yes" ; then
37503 STD_GUI_LIBS="html $STD_GUI_LIBS"
37504 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
37505 fi
37506 if test "$wxUSE_MEDIACTRL" = "yes" ; then
37507 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
37508 fi
37509 if test "$wxUSE_OPENGL" = "yes" ; then
37510 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
37511 fi
37512 if test "$wxUSE_AUI" = "yes" ; then
37513 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
37514 fi
37515 if test "$wxUSE_PROPGRID" = "yes" ; then
37516 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
37517 fi
37518 if test "$wxUSE_RIBBON" = "yes" ; then
37519 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
37520 fi
37521 if test "$wxUSE_RICHTEXT" = "yes" ; then
37522 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
37523 fi
37524 if test "$wxUSE_STC" = "yes" ; then
37525 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
37526 fi
37527 if test "$wxUSE_WEBVIEW" = "yes" ; then
37528 STD_GUI_LIBS="webview $STD_GUI_LIBS"
37529 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
37530 fi
37531 if test "$wxUSE_XRC" = "yes" ; then
37532 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
37533 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
37534 fi
37535 fi
37536
37537
37538
37539
37540
37541
37542
37543 EXTRA_FRAMEWORKS=
37544 if test "$wxUSE_MAC" = 1 ; then
37545 if test "$USE_DARWIN" = 1; then
37546 if test "$wxUSE_OSX_IPHONE" = 1; then
37547 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37548 else
37549 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37550
37551
37552 if test "$cross_compiling" != "no"; then
37553 wx_cv_target_x86_64=no
37554 else
37555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37556 $as_echo_n "checking if we target only x86_64... " >&6; }
37557 if ${wx_cv_target_x86_64+:} false; then :
37558 $as_echo_n "(cached) " >&6
37559 else
37560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37561 /* end confdefs.h. */
37562 int main() { return 0; }
37563 _ACEOF
37564 if ac_fn_c_try_link "$LINENO"; then :
37565 if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
37566 wx_cv_target_x86_64=no
37567 else
37568 wx_cv_target_x86_64=yes
37569 fi
37570
37571 fi
37572 rm -f core conftest.err conftest.$ac_objext \
37573 conftest$ac_exeext conftest.$ac_ext
37574
37575 fi
37576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37577 $as_echo "$wx_cv_target_x86_64" >&6; }
37578 fi
37579
37580 if test "$wx_cv_target_x86_64" != "yes"; then
37581 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37582 fi
37583 fi
37584 fi
37585 fi
37586 if test "$wxUSE_OLD_COCOA" = 1 ; then
37587 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
37588 if test "$wxUSE_MEDIACTRL" = "yes"; then
37589 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37590 fi
37591 fi
37592 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37593 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37594 fi
37595
37596 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
37597 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37598
37599 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37600
37601 if test "$wxUSE_GUI" = "yes"; then
37602
37603
37604 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37605 erase event exec font image minimal preferences render \
37606 shaped svg taborder vscroll widgets wrapsizer"
37607
37608 if test "$wxUSE_MONOLITHIC" != "yes"; then
37609 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37610 fi
37611 if test "$TOOLKIT" = "MSW"; then
37612 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
37613 if test "$wxUSE_UNIVERSAL" != "yes"; then
37614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37615 fi
37616 fi
37617 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37618 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
37619 fi
37620 else
37621 SAMPLES_SUBDIRS="console"
37622 if test "$wxUSE_SOCKETS" = "yes" ; then
37623 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37624 fi
37625 if test "$wxUSE_IPC" = "yes" ; then
37626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
37627 fi
37628 fi
37629
37630
37631 if test "x$INTELCC" = "xyes" ; then
37632 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
37633 elif test "$GCC" = yes ; then
37634 CWARNINGS="-Wall -Wundef"
37635 fi
37636
37637 if test "x$INTELCXX" = "xyes" ; then
37638 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37639 elif test "$GXX" = yes ; then
37640 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37642 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37643 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false; then :
37644 $as_echo_n "(cached) " >&6
37645 else
37646 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
37647
37648 ac_ext=cpp
37649 ac_cpp='$CXXCPP $CPPFLAGS'
37650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37653
37654 ac_save_CXXFLAGS="$CXXFLAGS"
37655 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37656 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37658 /* end confdefs.h. */
37659
37660 int
37661 main ()
37662 {
37663 return 0;
37664 ;
37665 return 0;
37666 }
37667 _ACEOF
37668 if ac_fn_cxx_try_compile "$LINENO"; then :
37669 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37670 fi
37671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37672 done
37673 CXXFLAGS="$ac_save_CXXFLAGS"
37674 ac_ext=c
37675 ac_cpp='$CPP $CPPFLAGS'
37676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37679
37680
37681 fi
37682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37683 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37684 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37685 .ok|.ok,*) ;;
37686 .|.no|.no,*) ;;
37687 *)
37688 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
37689 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37690 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37691 ac_status=$?
37692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37693 test $ac_status = 0; }
37694 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37695 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37696 ac_status=$?
37697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37698 test $ac_status = 0; }
37699 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37700 fi
37701 ;;
37702 esac
37703
37704
37705 if test "$wxUSE_MAC" = 1 ; then
37706 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
37707 fi
37708 fi
37709
37710
37711 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
37712 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37713
37714
37715 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
37716 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37717 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37718 $CPPFLAGS `
37719
37720 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37721 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37722 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37723 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37724 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37725
37726 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37727
37728
37729 if test "x$MWCC" = "xyes"; then
37730
37731 CC="$CC -cwd source -I-"
37732 CXX="$CXX -cwd source -I-"
37733 fi
37734
37735
37736 LIBS=`echo $LIBS`
37737 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37738 EXTRALIBS_XML="$EXPAT_LINK"
37739 EXTRALIBS_HTML="$MSPACK_LINK"
37740 EXTRALIBS_MEDIA="$GST_LIBS"
37741 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37742 if test "$wxUSE_GUI" = "yes"; then
37743 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37744 fi
37745 if test "$wxUSE_OPENGL" = "yes"; then
37746 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37747 fi
37748
37749 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
37750
37751 WXCONFIG_LIBS="$LIBS"
37752
37753 if test "$wxUSE_REGEX" = "builtin" ; then
37754 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37755 fi
37756 if test "$wxUSE_EXPAT" = "builtin" ; then
37757 wxconfig_3rdparty="expat $wxconfig_3rdparty"
37758 fi
37759 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37760 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
37761 fi
37762 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37763 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
37764 fi
37765 if test "$wxUSE_LIBPNG" = "builtin" ; then
37766 wxconfig_3rdparty="png $wxconfig_3rdparty"
37767 fi
37768 if test "$wxUSE_ZLIB" = "builtin" ; then
37769 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
37770 fi
37771
37772 for i in $wxconfig_3rdparty ; do
37773 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37774 done
37775
37776
37777 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37778 WXUNIV=1
37779
37780 case "$wxUNIV_THEMES" in
37781 ''|all)
37782 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37783
37784 ;;
37785
37786 *)
37787 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37788 cat >>confdefs.h <<_ACEOF
37789 #define wxUSE_THEME_$t 1
37790 _ACEOF
37791
37792 done
37793 esac
37794 else
37795 WXUNIV=0
37796 fi
37797
37798
37799
37800
37801
37802
37803
37804
37805 if test $wxUSE_MONOLITHIC = "yes" ; then
37806 MONOLITHIC=1
37807 else
37808 MONOLITHIC=0
37809 fi
37810
37811 if test $wxUSE_PLUGINS = "yes" ; then
37812 USE_PLUGINS=1
37813 else
37814 USE_PLUGINS=0
37815 fi
37816
37817 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37818 USE_QA=1
37819 else
37820 USE_QA=0
37821 fi
37822
37823 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37824 OFFICIAL_BUILD=1
37825 else
37826 OFFICIAL_BUILD=0
37827 fi
37828
37829
37830
37831
37832
37833
37834
37835
37836
37837
37838
37839
37840
37841
37842
37843
37844
37845
37846
37847
37848
37849
37850
37851 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37852
37853
37854
37855
37856
37857
37858
37859
37860
37861
37862 case "$TOOLKIT" in
37863 GTK)
37864 TOOLKIT_DESC="GTK+"
37865 if test "$WXGTK2" = 1; then
37866 if test "$WXGTK3" = 1; then
37867 TOOLKIT_DESC="$TOOLKIT_DESC 3"
37868 else
37869 TOOLKIT_DESC="$TOOLKIT_DESC 2"
37870 fi
37871 if test "$wxUSE_GTKPRINT" = "yes" ; then
37872 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
37873 fi
37874 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37875 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
37876 fi
37877 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37878 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
37879 fi
37880 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
37881 TOOLKIT_EXTRA="$TOOLKIT_EXTRA libnotify"
37882 fi
37883 if test "$wxUSE_LIBHILDON" = "yes"; then
37884 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37885 fi
37886 if test "$wxUSE_LIBHILDON2" = "yes"; then
37887 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37888 fi
37889
37890 if test "$TOOLKIT_EXTRA" != ""; then
37891 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37892 fi
37893 fi
37894 ;;
37895
37896 ?*)
37897 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
37898 ;;
37899
37900 *)
37901 TOOLKIT_DESC="base only"
37902 ;;
37903 esac
37904
37905 if test "$wxUSE_WINE" = "yes"; then
37906 BAKEFILE_FORCE_PLATFORM=win32
37907 fi
37908
37909 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37910 then
37911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37912 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37913 if ${wx_cv_gcc_pch_bug+:} false; then :
37914 $as_echo_n "(cached) " >&6
37915 else
37916
37917 echo '#include <stdio.h>
37918 const wchar_t test_var[] = L"awidetest";' > conftest.h
37919
37920 echo '#include "conftest.h"
37921 int main()
37922 {
37923 printf("%ls", test_var);
37924 return 0;
37925 }' > conftest.cpp
37926
37927 wx_cv_gcc_pch_bug="pch not supported"
37928
37929 if $CXX conftest.h >/dev/null 2>&1
37930 then
37931 wx_cv_gcc_pch_bug=
37932
37933 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
37934 then
37935 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
37936 grep awidetest >/dev/null
37937 then
37938 wx_cv_gcc_pch_bug=no
37939 else
37940 wx_cv_gcc_pch_bug=yes
37941 fi
37942 fi
37943 fi
37944
37945 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
37946
37947 fi
37948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37949 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37950
37951 if test "$wx_cv_gcc_pch_bug" = yes; then
37952 bk_use_pch=no
37953 fi
37954 fi
37955
37956 # Find a good install program. We prefer a C program (faster),
37957 # so one script is as good as another. But avoid the broken or
37958 # incompatible versions:
37959 # SysV /etc/install, /usr/sbin/install
37960 # SunOS /usr/etc/install
37961 # IRIX /sbin/install
37962 # AIX /bin/install
37963 # AmigaOS /C/install, which installs bootblocks on floppy discs
37964 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37965 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37966 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37967 # OS/2's system install, which has a completely different semantic
37968 # ./install, which can be erroneously created by make from ./install.sh.
37969 # Reject install programs that cannot install multiple files.
37970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37971 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37972 if test -z "$INSTALL"; then
37973 if ${ac_cv_path_install+:} false; then :
37974 $as_echo_n "(cached) " >&6
37975 else
37976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37977 for as_dir in $PATH
37978 do
37979 IFS=$as_save_IFS
37980 test -z "$as_dir" && as_dir=.
37981 # Account for people who put trailing slashes in PATH elements.
37982 case $as_dir/ in #((
37983 ./ | .// | /[cC]/* | \
37984 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37985 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
37986 /usr/ucb/* ) ;;
37987 *)
37988 # OSF1 and SCO ODT 3.0 have their own names for install.
37989 # Don't use installbsd from OSF since it installs stuff as root
37990 # by default.
37991 for ac_prog in ginstall scoinst install; do
37992 for ac_exec_ext in '' $ac_executable_extensions; do
37993 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37994 if test $ac_prog = install &&
37995 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37996 # AIX install. It has an incompatible calling convention.
37997 :
37998 elif test $ac_prog = install &&
37999 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38000 # program-specific install script used by HP pwplus--don't use.
38001 :
38002 else
38003 rm -rf conftest.one conftest.two conftest.dir
38004 echo one > conftest.one
38005 echo two > conftest.two
38006 mkdir conftest.dir
38007 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
38008 test -s conftest.one && test -s conftest.two &&
38009 test -s conftest.dir/conftest.one &&
38010 test -s conftest.dir/conftest.two
38011 then
38012 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
38013 break 3
38014 fi
38015 fi
38016 fi
38017 done
38018 done
38019 ;;
38020 esac
38021
38022 done
38023 IFS=$as_save_IFS
38024
38025 rm -rf conftest.one conftest.two conftest.dir
38026
38027 fi
38028 if test "${ac_cv_path_install+set}" = set; then
38029 INSTALL=$ac_cv_path_install
38030 else
38031 # As a last resort, use the slow shell script. Don't cache a
38032 # value for INSTALL within a source directory, because that will
38033 # break other packages using the cache if that directory is
38034 # removed, or if the value is a relative name.
38035 INSTALL=$ac_install_sh
38036 fi
38037 fi
38038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
38039 $as_echo "$INSTALL" >&6; }
38040
38041 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38042 # It thinks the first close brace ends the variable substitution.
38043 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
38044
38045 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
38046
38047 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38048
38049
38050
38051
38052
38053
38054
38055 if test "x$BAKEFILE_HOST" = "x"; then
38056 if test "x${host}" = "x" ; then
38057 as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
38058 fi
38059
38060 BAKEFILE_HOST="${host}"
38061 fi
38062
38063 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38064
38065 if test -n "$ac_tool_prefix"; then
38066 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38067 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
38068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38069 $as_echo_n "checking for $ac_word... " >&6; }
38070 if ${ac_cv_prog_RANLIB+:} false; then :
38071 $as_echo_n "(cached) " >&6
38072 else
38073 if test -n "$RANLIB"; then
38074 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
38075 else
38076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38077 for as_dir in $PATH
38078 do
38079 IFS=$as_save_IFS
38080 test -z "$as_dir" && as_dir=.
38081 for ac_exec_ext in '' $ac_executable_extensions; do
38082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38083 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
38084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38085 break 2
38086 fi
38087 done
38088 done
38089 IFS=$as_save_IFS
38090
38091 fi
38092 fi
38093 RANLIB=$ac_cv_prog_RANLIB
38094 if test -n "$RANLIB"; then
38095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
38096 $as_echo "$RANLIB" >&6; }
38097 else
38098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38099 $as_echo "no" >&6; }
38100 fi
38101
38102
38103 fi
38104 if test -z "$ac_cv_prog_RANLIB"; then
38105 ac_ct_RANLIB=$RANLIB
38106 # Extract the first word of "ranlib", so it can be a program name with args.
38107 set dummy ranlib; ac_word=$2
38108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38109 $as_echo_n "checking for $ac_word... " >&6; }
38110 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
38111 $as_echo_n "(cached) " >&6
38112 else
38113 if test -n "$ac_ct_RANLIB"; then
38114 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
38115 else
38116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38117 for as_dir in $PATH
38118 do
38119 IFS=$as_save_IFS
38120 test -z "$as_dir" && as_dir=.
38121 for ac_exec_ext in '' $ac_executable_extensions; do
38122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38123 ac_cv_prog_ac_ct_RANLIB="ranlib"
38124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38125 break 2
38126 fi
38127 done
38128 done
38129 IFS=$as_save_IFS
38130
38131 fi
38132 fi
38133 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
38134 if test -n "$ac_ct_RANLIB"; then
38135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
38136 $as_echo "$ac_ct_RANLIB" >&6; }
38137 else
38138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38139 $as_echo "no" >&6; }
38140 fi
38141
38142 if test "x$ac_ct_RANLIB" = x; then
38143 RANLIB=":"
38144 else
38145 case $cross_compiling:$ac_tool_warned in
38146 yes:)
38147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38149 ac_tool_warned=yes ;;
38150 esac
38151 RANLIB=$ac_ct_RANLIB
38152 fi
38153 else
38154 RANLIB="$ac_cv_prog_RANLIB"
38155 fi
38156
38157
38158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
38159 $as_echo_n "checking whether ln -s works... " >&6; }
38160 LN_S=$as_ln_s
38161 if test "$LN_S" = "ln -s"; then
38162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38163 $as_echo "yes" >&6; }
38164 else
38165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
38166 $as_echo "no, using $LN_S" >&6; }
38167 fi
38168
38169
38170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38171 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
38172 set x ${MAKE-make}
38173 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
38174 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
38175 $as_echo_n "(cached) " >&6
38176 else
38177 cat >conftest.make <<\_ACEOF
38178 SHELL = /bin/sh
38179 all:
38180 @echo '@@@%%%=$(MAKE)=@@@%%%'
38181 _ACEOF
38182 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
38183 case `${MAKE-make} -f conftest.make 2>/dev/null` in
38184 *@@@%%%=?*=@@@%%%*)
38185 eval ac_cv_prog_make_${ac_make}_set=yes;;
38186 *)
38187 eval ac_cv_prog_make_${ac_make}_set=no;;
38188 esac
38189 rm -f conftest.make
38190 fi
38191 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
38192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38193 $as_echo "yes" >&6; }
38194 SET_MAKE=
38195 else
38196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38197 $as_echo "no" >&6; }
38198 SET_MAKE="MAKE=${MAKE-make}"
38199 fi
38200
38201
38202
38203 if test "x$SUNCXX" = "xyes"; then
38204 AR=$CXX
38205 AROPTIONS="-xar -o"
38206
38207 elif test "x$SGICC" = "xyes"; then
38208 AR=$CXX
38209 AROPTIONS="-ar -o"
38210
38211 else
38212 if test -n "$ac_tool_prefix"; then
38213 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38214 set dummy ${ac_tool_prefix}ar; ac_word=$2
38215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38216 $as_echo_n "checking for $ac_word... " >&6; }
38217 if ${ac_cv_prog_AR+:} false; then :
38218 $as_echo_n "(cached) " >&6
38219 else
38220 if test -n "$AR"; then
38221 ac_cv_prog_AR="$AR" # Let the user override the test.
38222 else
38223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38224 for as_dir in $PATH
38225 do
38226 IFS=$as_save_IFS
38227 test -z "$as_dir" && as_dir=.
38228 for ac_exec_ext in '' $ac_executable_extensions; do
38229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38230 ac_cv_prog_AR="${ac_tool_prefix}ar"
38231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38232 break 2
38233 fi
38234 done
38235 done
38236 IFS=$as_save_IFS
38237
38238 fi
38239 fi
38240 AR=$ac_cv_prog_AR
38241 if test -n "$AR"; then
38242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38243 $as_echo "$AR" >&6; }
38244 else
38245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38246 $as_echo "no" >&6; }
38247 fi
38248
38249
38250 fi
38251 if test -z "$ac_cv_prog_AR"; then
38252 ac_ct_AR=$AR
38253 # Extract the first word of "ar", so it can be a program name with args.
38254 set dummy ar; ac_word=$2
38255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38256 $as_echo_n "checking for $ac_word... " >&6; }
38257 if ${ac_cv_prog_ac_ct_AR+:} false; then :
38258 $as_echo_n "(cached) " >&6
38259 else
38260 if test -n "$ac_ct_AR"; then
38261 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38262 else
38263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38264 for as_dir in $PATH
38265 do
38266 IFS=$as_save_IFS
38267 test -z "$as_dir" && as_dir=.
38268 for ac_exec_ext in '' $ac_executable_extensions; do
38269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38270 ac_cv_prog_ac_ct_AR="ar"
38271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38272 break 2
38273 fi
38274 done
38275 done
38276 IFS=$as_save_IFS
38277
38278 fi
38279 fi
38280 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38281 if test -n "$ac_ct_AR"; then
38282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38283 $as_echo "$ac_ct_AR" >&6; }
38284 else
38285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38286 $as_echo "no" >&6; }
38287 fi
38288
38289 if test "x$ac_ct_AR" = x; then
38290 AR="ar"
38291 else
38292 case $cross_compiling:$ac_tool_warned in
38293 yes:)
38294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38296 ac_tool_warned=yes ;;
38297 esac
38298 AR=$ac_ct_AR
38299 fi
38300 else
38301 AR="$ac_cv_prog_AR"
38302 fi
38303
38304 AROPTIONS=rcu
38305 fi
38306
38307
38308 if test -n "$ac_tool_prefix"; then
38309 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38310 set dummy ${ac_tool_prefix}strip; ac_word=$2
38311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38312 $as_echo_n "checking for $ac_word... " >&6; }
38313 if ${ac_cv_prog_STRIP+:} false; then :
38314 $as_echo_n "(cached) " >&6
38315 else
38316 if test -n "$STRIP"; then
38317 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38318 else
38319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38320 for as_dir in $PATH
38321 do
38322 IFS=$as_save_IFS
38323 test -z "$as_dir" && as_dir=.
38324 for ac_exec_ext in '' $ac_executable_extensions; do
38325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38326 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38328 break 2
38329 fi
38330 done
38331 done
38332 IFS=$as_save_IFS
38333
38334 fi
38335 fi
38336 STRIP=$ac_cv_prog_STRIP
38337 if test -n "$STRIP"; then
38338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38339 $as_echo "$STRIP" >&6; }
38340 else
38341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38342 $as_echo "no" >&6; }
38343 fi
38344
38345
38346 fi
38347 if test -z "$ac_cv_prog_STRIP"; then
38348 ac_ct_STRIP=$STRIP
38349 # Extract the first word of "strip", so it can be a program name with args.
38350 set dummy strip; ac_word=$2
38351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38352 $as_echo_n "checking for $ac_word... " >&6; }
38353 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
38354 $as_echo_n "(cached) " >&6
38355 else
38356 if test -n "$ac_ct_STRIP"; then
38357 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38358 else
38359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38360 for as_dir in $PATH
38361 do
38362 IFS=$as_save_IFS
38363 test -z "$as_dir" && as_dir=.
38364 for ac_exec_ext in '' $ac_executable_extensions; do
38365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38366 ac_cv_prog_ac_ct_STRIP="strip"
38367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38368 break 2
38369 fi
38370 done
38371 done
38372 IFS=$as_save_IFS
38373
38374 fi
38375 fi
38376 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38377 if test -n "$ac_ct_STRIP"; then
38378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38379 $as_echo "$ac_ct_STRIP" >&6; }
38380 else
38381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38382 $as_echo "no" >&6; }
38383 fi
38384
38385 if test "x$ac_ct_STRIP" = x; then
38386 STRIP=":"
38387 else
38388 case $cross_compiling:$ac_tool_warned in
38389 yes:)
38390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38392 ac_tool_warned=yes ;;
38393 esac
38394 STRIP=$ac_ct_STRIP
38395 fi
38396 else
38397 STRIP="$ac_cv_prog_STRIP"
38398 fi
38399
38400 if test -n "$ac_tool_prefix"; then
38401 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38402 set dummy ${ac_tool_prefix}nm; ac_word=$2
38403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38404 $as_echo_n "checking for $ac_word... " >&6; }
38405 if ${ac_cv_prog_NM+:} false; then :
38406 $as_echo_n "(cached) " >&6
38407 else
38408 if test -n "$NM"; then
38409 ac_cv_prog_NM="$NM" # Let the user override the test.
38410 else
38411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38412 for as_dir in $PATH
38413 do
38414 IFS=$as_save_IFS
38415 test -z "$as_dir" && as_dir=.
38416 for ac_exec_ext in '' $ac_executable_extensions; do
38417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38418 ac_cv_prog_NM="${ac_tool_prefix}nm"
38419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38420 break 2
38421 fi
38422 done
38423 done
38424 IFS=$as_save_IFS
38425
38426 fi
38427 fi
38428 NM=$ac_cv_prog_NM
38429 if test -n "$NM"; then
38430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38431 $as_echo "$NM" >&6; }
38432 else
38433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38434 $as_echo "no" >&6; }
38435 fi
38436
38437
38438 fi
38439 if test -z "$ac_cv_prog_NM"; then
38440 ac_ct_NM=$NM
38441 # Extract the first word of "nm", so it can be a program name with args.
38442 set dummy nm; ac_word=$2
38443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38444 $as_echo_n "checking for $ac_word... " >&6; }
38445 if ${ac_cv_prog_ac_ct_NM+:} false; then :
38446 $as_echo_n "(cached) " >&6
38447 else
38448 if test -n "$ac_ct_NM"; then
38449 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38450 else
38451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38452 for as_dir in $PATH
38453 do
38454 IFS=$as_save_IFS
38455 test -z "$as_dir" && as_dir=.
38456 for ac_exec_ext in '' $ac_executable_extensions; do
38457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38458 ac_cv_prog_ac_ct_NM="nm"
38459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38460 break 2
38461 fi
38462 done
38463 done
38464 IFS=$as_save_IFS
38465
38466 fi
38467 fi
38468 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38469 if test -n "$ac_ct_NM"; then
38470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38471 $as_echo "$ac_ct_NM" >&6; }
38472 else
38473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38474 $as_echo "no" >&6; }
38475 fi
38476
38477 if test "x$ac_ct_NM" = x; then
38478 NM=":"
38479 else
38480 case $cross_compiling:$ac_tool_warned in
38481 yes:)
38482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38484 ac_tool_warned=yes ;;
38485 esac
38486 NM=$ac_ct_NM
38487 fi
38488 else
38489 NM="$ac_cv_prog_NM"
38490 fi
38491
38492
38493 INSTALL_DIR="mkdir -p"
38494
38495
38496 LDFLAGS_GUI=
38497 case ${BAKEFILE_HOST} in
38498 *-*-cygwin* | *-*-mingw32* )
38499 LDFLAGS_GUI="-mwindows"
38500 esac
38501
38502
38503 fi
38504
38505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38506 $as_echo_n "checking if make is GNU make... " >&6; }
38507 if ${bakefile_cv_prog_makeisgnu+:} false; then :
38508 $as_echo_n "(cached) " >&6
38509 else
38510
38511 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38512 egrep -s GNU > /dev/null); then
38513 bakefile_cv_prog_makeisgnu="yes"
38514 else
38515 bakefile_cv_prog_makeisgnu="no"
38516 fi
38517
38518 fi
38519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38520 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38521
38522 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38523 IF_GNU_MAKE=""
38524 else
38525 IF_GNU_MAKE="#"
38526 fi
38527
38528
38529
38530 PLATFORM_UNIX=0
38531 PLATFORM_WIN32=0
38532 PLATFORM_MSDOS=0
38533 PLATFORM_MAC=0
38534 PLATFORM_MACOS=0
38535 PLATFORM_MACOSX=0
38536 PLATFORM_OS2=0
38537 PLATFORM_BEOS=0
38538
38539 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38540 case "${BAKEFILE_HOST}" in
38541 *-*-mingw32* )
38542 PLATFORM_WIN32=1
38543 ;;
38544 *-pc-msdosdjgpp )
38545 PLATFORM_MSDOS=1
38546 ;;
38547 *-pc-os2_emx | *-pc-os2-emx )
38548 PLATFORM_OS2=1
38549 ;;
38550 *-*-darwin* )
38551 PLATFORM_MAC=1
38552 PLATFORM_MACOSX=1
38553 ;;
38554 *-*-beos* )
38555 PLATFORM_BEOS=1
38556 ;;
38557 powerpc-apple-macos* )
38558 PLATFORM_MAC=1
38559 PLATFORM_MACOS=1
38560 ;;
38561 * )
38562 PLATFORM_UNIX=1
38563 ;;
38564 esac
38565 else
38566 case "$BAKEFILE_FORCE_PLATFORM" in
38567 win32 )
38568 PLATFORM_WIN32=1
38569 ;;
38570 msdos )
38571 PLATFORM_MSDOS=1
38572 ;;
38573 os2 )
38574 PLATFORM_OS2=1
38575 ;;
38576 darwin )
38577 PLATFORM_MAC=1
38578 PLATFORM_MACOSX=1
38579 ;;
38580 unix )
38581 PLATFORM_UNIX=1
38582 ;;
38583 beos )
38584 PLATFORM_BEOS=1
38585 ;;
38586 * )
38587 as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38588 ;;
38589 esac
38590 fi
38591
38592
38593
38594
38595
38596
38597
38598
38599
38600
38601
38602 # Check whether --enable-omf was given.
38603 if test "${enable_omf+set}" = set; then :
38604 enableval=$enable_omf; bk_os2_use_omf="$enableval"
38605 fi
38606
38607
38608 case "${BAKEFILE_HOST}" in
38609 *-*-darwin* )
38610 if test "x$GCC" = "xyes"; then
38611 CFLAGS="$CFLAGS -fno-common"
38612 CXXFLAGS="$CXXFLAGS -fno-common"
38613 fi
38614 if test "x$XLCC" = "xyes"; then
38615 CFLAGS="$CFLAGS -qnocommon"
38616 CXXFLAGS="$CXXFLAGS -qnocommon"
38617 fi
38618 ;;
38619
38620 *-pc-os2_emx | *-pc-os2-emx )
38621 if test "x$bk_os2_use_omf" = "xyes" ; then
38622 AR=emxomfar
38623 RANLIB=:
38624 LDFLAGS="-Zomf $LDFLAGS"
38625 CFLAGS="-Zomf $CFLAGS"
38626 CXXFLAGS="-Zomf $CXXFLAGS"
38627 OS2_LIBEXT="lib"
38628 else
38629 OS2_LIBEXT="a"
38630 fi
38631 ;;
38632
38633 i*86-*-beos* )
38634 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
38635 ;;
38636 esac
38637
38638
38639 SO_SUFFIX="so"
38640 SO_SUFFIX_MODULE="so"
38641 EXEEXT=""
38642 LIBPREFIX="lib"
38643 LIBEXT=".a"
38644 DLLPREFIX="lib"
38645 DLLPREFIX_MODULE=""
38646 DLLIMP_SUFFIX=""
38647 dlldir="$libdir"
38648
38649 case "${BAKEFILE_HOST}" in
38650 ia64-hp-hpux* )
38651 ;;
38652 *-hp-hpux* )
38653 SO_SUFFIX="sl"
38654 SO_SUFFIX_MODULE="sl"
38655 ;;
38656 *-*-aix* )
38657 SO_SUFFIX="a"
38658 SO_SUFFIX_MODULE="a"
38659 ;;
38660 *-*-cygwin* )
38661 SO_SUFFIX="dll"
38662 SO_SUFFIX_MODULE="dll"
38663 DLLIMP_SUFFIX="dll.a"
38664 EXEEXT=".exe"
38665 DLLPREFIX="cyg"
38666 dlldir="$bindir"
38667 ;;
38668 *-*-mingw32* )
38669 SO_SUFFIX="dll"
38670 SO_SUFFIX_MODULE="dll"
38671 DLLIMP_SUFFIX="dll.a"
38672 EXEEXT=".exe"
38673 DLLPREFIX=""
38674 dlldir="$bindir"
38675 ;;
38676 *-pc-msdosdjgpp )
38677 EXEEXT=".exe"
38678 DLLPREFIX=""
38679 dlldir="$bindir"
38680 ;;
38681 *-pc-os2_emx | *-pc-os2-emx )
38682 SO_SUFFIX="dll"
38683 SO_SUFFIX_MODULE="dll"
38684 DLLIMP_SUFFIX=$OS2_LIBEXT
38685 EXEEXT=".exe"
38686 DLLPREFIX=""
38687 LIBPREFIX=""
38688 LIBEXT=".$OS2_LIBEXT"
38689 dlldir="$bindir"
38690 ;;
38691 *-*-darwin* )
38692 SO_SUFFIX="dylib"
38693 SO_SUFFIX_MODULE="bundle"
38694 ;;
38695 esac
38696
38697 if test "x$DLLIMP_SUFFIX" = "x" ; then
38698 DLLIMP_SUFFIX="$SO_SUFFIX"
38699 fi
38700
38701
38702
38703
38704
38705
38706
38707
38708
38709
38710
38711
38712 PIC_FLAG=""
38713 if test "x$GCC" = "xyes"; then
38714 PIC_FLAG="-fPIC"
38715 fi
38716
38717 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
38718 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
38719 WINDOWS_IMPLIB=0
38720
38721 case "${BAKEFILE_HOST}" in
38722 *-hp-hpux* )
38723 if test "x$GCC" != "xyes"; then
38724 LDFLAGS="$LDFLAGS -L/usr/lib"
38725
38726 SHARED_LD_CC="${CC} -b -o"
38727 SHARED_LD_CXX="${CXX} -b -o"
38728 PIC_FLAG="+Z"
38729 fi
38730 ;;
38731
38732 *-*-linux* )
38733 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38734 PIC_FLAG="-KPIC"
38735 elif test "x$SUNCXX" = "xyes"; then
38736 SHARED_LD_CC="${CC} -G -o"
38737 SHARED_LD_CXX="${CXX} -G -o"
38738 PIC_FLAG="-KPIC"
38739 fi
38740 ;;
38741
38742 *-*-solaris2* )
38743 if test "x$SUNCXX" = xyes ; then
38744 SHARED_LD_CC="${CC} -G -o"
38745 SHARED_LD_CXX="${CXX} -G -o"
38746 PIC_FLAG="-KPIC"
38747 fi
38748 ;;
38749
38750 *-*-darwin* )
38751
38752 D='$'
38753 cat <<EOF >shared-ld-sh
38754 #!/bin/sh
38755 #-----------------------------------------------------------------------------
38756 #-- Name: distrib/mac/shared-ld-sh
38757 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38758 #-- Author: Gilles Depeyrot
38759 #-- Copyright: (c) 2002 Gilles Depeyrot
38760 #-- Licence: any use permitted
38761 #-----------------------------------------------------------------------------
38762
38763 verbose=0
38764 args=""
38765 objects=""
38766 linking_flag="-dynamiclib"
38767 ldargs="-r -keep_private_externs -nostdlib"
38768
38769 if test "x${D}CXX" = "x"; then
38770 CXX="c++"
38771 fi
38772
38773 while test ${D}# -gt 0; do
38774 case ${D}1 in
38775
38776 -v)
38777 verbose=1
38778 ;;
38779
38780 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38781 # collect these options and values
38782 args="${D}{args} ${D}1 ${D}2"
38783 shift
38784 ;;
38785
38786 -arch|-isysroot)
38787 # collect these options and values
38788 ldargs="${D}{ldargs} ${D}1 ${D}2"
38789 shift
38790 ;;
38791
38792 -s|-Wl,*)
38793 # collect these load args
38794 ldargs="${D}{ldargs} ${D}1"
38795 ;;
38796
38797 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38798 # collect these options
38799 args="${D}{args} ${D}1"
38800 ;;
38801
38802 -dynamiclib|-bundle)
38803 linking_flag="${D}1"
38804 ;;
38805
38806 -*)
38807 echo "shared-ld: unhandled option '${D}1'"
38808 exit 1
38809 ;;
38810
38811 *.o | *.a | *.dylib)
38812 # collect object files
38813 objects="${D}{objects} ${D}1"
38814 ;;
38815
38816 *)
38817 echo "shared-ld: unhandled argument '${D}1'"
38818 exit 1
38819 ;;
38820
38821 esac
38822 shift
38823 done
38824
38825 status=0
38826
38827 #
38828 # Link one module containing all the others
38829 #
38830 if test ${D}{verbose} = 1; then
38831 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38832 fi
38833 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38834 status=${D}?
38835
38836 #
38837 # Link the shared library from the single module created, but only if the
38838 # previous command didn't fail:
38839 #
38840 if test ${D}{status} = 0; then
38841 if test ${D}{verbose} = 1; then
38842 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38843 fi
38844 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38845 status=${D}?
38846 fi
38847
38848 #
38849 # Remove intermediate module
38850 #
38851 rm -f master.${D}${D}.o
38852
38853 exit ${D}status
38854 EOF
38855
38856 chmod +x shared-ld-sh
38857
38858 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38859 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38860
38861
38862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38863 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38864 if ${bakefile_cv_gcc31+:} false; then :
38865 $as_echo_n "(cached) " >&6
38866 else
38867
38868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38869 /* end confdefs.h. */
38870
38871 int
38872 main ()
38873 {
38874
38875 #if (__GNUC__ < 3) || \
38876 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38877 This is old gcc
38878 #endif
38879
38880 ;
38881 return 0;
38882 }
38883 _ACEOF
38884 if ac_fn_c_try_compile "$LINENO"; then :
38885
38886 bakefile_cv_gcc31=yes
38887
38888 else
38889
38890 bakefile_cv_gcc31=no
38891
38892
38893 fi
38894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38895
38896 fi
38897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38898 $as_echo "$bakefile_cv_gcc31" >&6; }
38899 if test "$bakefile_cv_gcc31" = "no"; then
38900 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38901 SHARED_LD_CXX="$SHARED_LD_CC"
38902 else
38903 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38904 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38905 fi
38906
38907 if test "x$GCC" == "xyes"; then
38908 PIC_FLAG="-dynamic -fPIC"
38909 fi
38910 if test "x$XLCC" = "xyes"; then
38911 PIC_FLAG="-dynamic -DPIC"
38912 fi
38913 ;;
38914
38915 *-*-aix* )
38916 if test "x$GCC" = "xyes"; then
38917 PIC_FLAG=""
38918
38919 case "${BAKEFILE_HOST}" in
38920 *-*-aix5* )
38921 LD_EXPFULL="-Wl,-bexpfull"
38922 ;;
38923 esac
38924
38925 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
38926 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
38927 else
38928 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38929 set dummy makeC++SharedLib; ac_word=$2
38930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38931 $as_echo_n "checking for $ac_word... " >&6; }
38932 if ${ac_cv_prog_AIX_CXX_LD+:} false; then :
38933 $as_echo_n "(cached) " >&6
38934 else
38935 if test -n "$AIX_CXX_LD"; then
38936 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38937 else
38938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38939 for as_dir in $PATH
38940 do
38941 IFS=$as_save_IFS
38942 test -z "$as_dir" && as_dir=.
38943 for ac_exec_ext in '' $ac_executable_extensions; do
38944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38945 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38947 break 2
38948 fi
38949 done
38950 done
38951 IFS=$as_save_IFS
38952
38953 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38954 fi
38955 fi
38956 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38957 if test -n "$AIX_CXX_LD"; then
38958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38959 $as_echo "$AIX_CXX_LD" >&6; }
38960 else
38961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38962 $as_echo "no" >&6; }
38963 fi
38964
38965
38966 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38967 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38968 fi
38969 ;;
38970
38971 *-*-beos* )
38972 SHARED_LD_CC="${LD} -nostart -o"
38973 SHARED_LD_CXX="${LD} -nostart -o"
38974 ;;
38975
38976 *-*-irix* )
38977 if test "x$GCC" != "xyes"; then
38978 PIC_FLAG="-KPIC"
38979 fi
38980 ;;
38981
38982 *-*-cygwin* | *-*-mingw32* )
38983 PIC_FLAG=""
38984 SHARED_LD_CC="\$(CC) -shared -o"
38985 SHARED_LD_CXX="\$(CXX) -shared -o"
38986 WINDOWS_IMPLIB=1
38987 ;;
38988
38989 *-pc-os2_emx | *-pc-os2-emx )
38990 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38991 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38992 PIC_FLAG=""
38993
38994 D='$'
38995 cat <<EOF >dllar.sh
38996 #!/bin/sh
38997 #
38998 # dllar - a tool to build both a .dll and an .a file
38999 # from a set of object (.o) files for EMX/OS2.
39000 #
39001 # Written by Andrew Zabolotny, bit@freya.etu.ru
39002 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39003 #
39004 # This script will accept a set of files on the command line.
39005 # All the public symbols from the .o files will be exported into
39006 # a .DEF file, then linker will be run (through gcc) against them to
39007 # build a shared library consisting of all given .o files. All libraries
39008 # (.a) will be first decompressed into component .o files then act as
39009 # described above. You can optionally give a description (-d "description")
39010 # which will be put into .DLL. To see the list of accepted options (as well
39011 # as command-line format) simply run this program without options. The .DLL
39012 # is built to be imported by name (there is no guarantee that new versions
39013 # of the library you build will have same ordinals for same symbols).
39014 #
39015 # dllar is free software; you can redistribute it and/or modify
39016 # it under the terms of the GNU General Public License as published by
39017 # the Free Software Foundation; either version 2, or (at your option)
39018 # any later version.
39019 #
39020 # dllar is distributed in the hope that it will be useful,
39021 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39022 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39023 # GNU General Public License for more details.
39024 #
39025 # You should have received a copy of the GNU General Public License
39026 # along with dllar; see the file COPYING. If not, write to the Free
39027 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39028 # 02111-1307, USA.
39029
39030 # To successfuly run this program you will need:
39031 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39032 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39033 # - gcc
39034 # (used to build the .dll)
39035 # - emxexp
39036 # (used to create .def file from .o files)
39037 # - emximp
39038 # (used to create .a file from .def file)
39039 # - GNU text utilites (cat, sort, uniq)
39040 # used to process emxexp output
39041 # - GNU file utilities (mv, rm)
39042 # - GNU sed
39043 # - lxlite (optional, see flag below)
39044 # (used for general .dll cleanup)
39045 #
39046
39047 flag_USE_LXLITE=1;
39048
39049 #
39050 # helper functions
39051 # basnam, variant of basename, which does _not_ remove the path, _iff_
39052 # second argument (suffix to remove) is given
39053 basnam(){
39054 case ${D}# in
39055 1)
39056 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39057 ;;
39058 2)
39059 echo ${D}1 | sed 's/'${D}2'${D}//'
39060 ;;
39061 *)
39062 echo "error in basnam ${D}*"
39063 exit 8
39064 ;;
39065 esac
39066 }
39067
39068 # Cleanup temporary files and output
39069 CleanUp() {
39070 cd ${D}curDir
39071 for i in ${D}inputFiles ; do
39072 case ${D}i in
39073 *!)
39074 rm -rf \`basnam ${D}i !\`
39075 ;;
39076 *)
39077 ;;
39078 esac
39079 done
39080
39081 # Kill result in case of failure as there is just to many stupid make/nmake
39082 # things out there which doesn't do this.
39083 if [ ${D}# -eq 0 ]; then
39084 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39085 fi
39086 }
39087
39088 # Print usage and exit script with rc=1.
39089 PrintHelp() {
39090 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
39091 echo ' [-name-mangler-script script.sh]'
39092 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
39093 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
39094 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
39095 echo ' [*.o] [*.a]'
39096 echo '*> "output_file" should have no extension.'
39097 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39098 echo ' The import library name is derived from this and is set to "name".a,'
39099 echo ' unless overridden by -import'
39100 echo '*> "importlib_name" should have no extension.'
39101 echo ' If it has the .o, or .a extension, it is automatically removed.'
39102 echo ' This name is used as the import library name and may be longer and'
39103 echo ' more descriptive than the DLL name which has to follow the old '
39104 echo ' 8.3 convention of FAT.'
39105 echo '*> "script.sh may be given to override the output_file name by a'
39106 echo ' different name. It is mainly useful if the regular make process'
39107 echo ' of some package does not take into account OS/2 restriction of'
39108 echo ' DLL name lengths. It takes the importlib name as input and is'
39109 echo ' supposed to procude a shorter name as output. The script should'
39110 echo ' expect to get importlib_name without extension and should produce'
39111 echo ' a (max.) 8 letter name without extension.'
39112 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39113 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39114 echo ' These flags will be put at the start of GCC command line.'
39115 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
39116 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
39117 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39118 echo ' If the last character of a symbol is "*", all symbols beginning'
39119 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39120 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
39121 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39122 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
39123 echo ' C runtime DLLs.'
39124 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
39125 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39126 echo ' unchanged to GCC at the end of command line.'
39127 echo '*> If you create a DLL from a library and you do not specify -o,'
39128 echo ' the basename for DLL and import library will be set to library name,'
39129 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39130 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39131 echo ' library will be renamed into gcc_s.a.'
39132 echo '--------'
39133 echo 'Example:'
39134 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39135 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39136 CleanUp
39137 exit 1
39138 }
39139
39140 # Execute a command.
39141 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39142 # @Uses Whatever CleanUp() uses.
39143 doCommand() {
39144 echo "${D}*"
39145 eval ${D}*
39146 rcCmd=${D}?
39147
39148 if [ ${D}rcCmd -ne 0 ]; then
39149 echo "command failed, exit code="${D}rcCmd
39150 CleanUp
39151 exit ${D}rcCmd
39152 fi
39153 }
39154
39155 # main routine
39156 # setup globals
39157 cmdLine=${D}*
39158 outFile=""
39159 outimpFile=""
39160 inputFiles=""
39161 renameScript=""
39162 description=""
39163 CC=gcc.exe
39164 CFLAGS="-s -Zcrtdll"
39165 EXTRA_CFLAGS=""
39166 EXPORT_BY_ORDINALS=0
39167 exclude_symbols=""
39168 library_flags=""
39169 curDir=\`pwd\`
39170 curDirS=curDir
39171 case ${D}curDirS in
39172 */)
39173 ;;
39174 *)
39175 curDirS=${D}{curDirS}"/"
39176 ;;
39177 esac
39178 # Parse commandline
39179 libsToLink=0
39180 omfLinking=0
39181 while [ ${D}1 ]; do
39182 case ${D}1 in
39183 -ord*)
39184 EXPORT_BY_ORDINALS=1;
39185 ;;
39186 -o*)
39187 shift
39188 outFile=${D}1
39189 ;;
39190 -i*)
39191 shift
39192 outimpFile=${D}1
39193 ;;
39194 -name-mangler-script)
39195 shift
39196 renameScript=${D}1
39197 ;;
39198 -d*)
39199 shift
39200 description=${D}1
39201 ;;
39202 -f*)
39203 shift
39204 CFLAGS=${D}1
39205 ;;
39206 -c*)
39207 shift
39208 CC=${D}1
39209 ;;
39210 -h*)
39211 PrintHelp
39212 ;;
39213 -ex*)
39214 shift
39215 exclude_symbols=${D}{exclude_symbols}${D}1" "
39216 ;;
39217 -libf*)
39218 shift
39219 library_flags=${D}{library_flags}${D}1" "
39220 ;;
39221 -nocrt*)
39222 CFLAGS="-s"
39223 ;;
39224 -nolxl*)
39225 flag_USE_LXLITE=0
39226 ;;
39227 -* | /*)
39228 case ${D}1 in
39229 -L* | -l*)
39230 libsToLink=1
39231 ;;
39232 -Zomf)
39233 omfLinking=1
39234 ;;
39235 *)
39236 ;;
39237 esac
39238 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39239 ;;
39240 *.dll)
39241 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39242 if [ ${D}omfLinking -eq 1 ]; then
39243 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39244 else
39245 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39246 fi
39247 ;;
39248 *)
39249 found=0;
39250 if [ ${D}libsToLink -ne 0 ]; then
39251 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39252 else
39253 for file in ${D}1 ; do
39254 if [ -f ${D}file ]; then
39255 inputFiles="${D}{inputFiles} ${D}file"
39256 found=1
39257 fi
39258 done
39259 if [ ${D}found -eq 0 ]; then
39260 echo "ERROR: No file(s) found: "${D}1
39261 exit 8
39262 fi
39263 fi
39264 ;;
39265 esac
39266 shift
39267 done # iterate cmdline words
39268
39269 #
39270 if [ -z "${D}inputFiles" ]; then
39271 echo "dllar: no input files"
39272 PrintHelp
39273 fi
39274
39275 # Now extract all .o files from .a files
39276 newInputFiles=""
39277 for file in ${D}inputFiles ; do
39278 case ${D}file in
39279 *.a | *.lib)
39280 case ${D}file in
39281 *.a)
39282 suffix=".a"
39283 AR="ar"
39284 ;;
39285 *.lib)
39286 suffix=".lib"
39287 AR="emxomfar"
39288 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39289 ;;
39290 *)
39291 ;;
39292 esac
39293 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39294 mkdir ${D}dirname
39295 if [ ${D}? -ne 0 ]; then
39296 echo "Failed to create subdirectory ./${D}dirname"
39297 CleanUp
39298 exit 8;
39299 fi
39300 # Append '!' to indicate archive
39301 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39302 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39303 cd ${D}curDir
39304 found=0;
39305 for subfile in ${D}dirname/*.o* ; do
39306 if [ -f ${D}subfile ]; then
39307 found=1
39308 if [ -s ${D}subfile ]; then
39309 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39310 newInputFiles="${D}newInputFiles ${D}subfile"
39311 fi
39312 fi
39313 done
39314 if [ ${D}found -eq 0 ]; then
39315 echo "WARNING: there are no files in archive \\'${D}file\\'"
39316 fi
39317 ;;
39318 *)
39319 newInputFiles="${D}{newInputFiles} ${D}file"
39320 ;;
39321 esac
39322 done
39323 inputFiles="${D}newInputFiles"
39324
39325 # Output filename(s).
39326 do_backup=0;
39327 if [ -z ${D}outFile ]; then
39328 do_backup=1;
39329 set outFile ${D}inputFiles; outFile=${D}2
39330 fi
39331
39332 # If it is an archive, remove the '!' and the '_%' suffixes
39333 case ${D}outFile in
39334 *_%!)
39335 outFile=\`basnam ${D}outFile _%!\`
39336 ;;
39337 *)
39338 ;;
39339 esac
39340 case ${D}outFile in
39341 *.dll)
39342 outFile=\`basnam ${D}outFile .dll\`
39343 ;;
39344 *.DLL)
39345 outFile=\`basnam ${D}outFile .DLL\`
39346 ;;
39347 *.o)
39348 outFile=\`basnam ${D}outFile .o\`
39349 ;;
39350 *.obj)
39351 outFile=\`basnam ${D}outFile .obj\`
39352 ;;
39353 *.a)
39354 outFile=\`basnam ${D}outFile .a\`
39355 ;;
39356 *.lib)
39357 outFile=\`basnam ${D}outFile .lib\`
39358 ;;
39359 *)
39360 ;;
39361 esac
39362 case ${D}outimpFile in
39363 *.a)
39364 outimpFile=\`basnam ${D}outimpFile .a\`
39365 ;;
39366 *.lib)
39367 outimpFile=\`basnam ${D}outimpFile .lib\`
39368 ;;
39369 *)
39370 ;;
39371 esac
39372 if [ -z ${D}outimpFile ]; then
39373 outimpFile=${D}outFile
39374 fi
39375 defFile="${D}{outFile}.def"
39376 arcFile="${D}{outimpFile}.a"
39377 arcFile2="${D}{outimpFile}.lib"
39378
39379 #create ${D}dllFile as something matching 8.3 restrictions,
39380 if [ -z ${D}renameScript ] ; then
39381 dllFile="${D}outFile"
39382 else
39383 dllFile=\`${D}renameScript ${D}outimpFile\`
39384 fi
39385
39386 if [ ${D}do_backup -ne 0 ] ; then
39387 if [ -f ${D}arcFile ] ; then
39388 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39389 fi
39390 if [ -f ${D}arcFile2 ] ; then
39391 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39392 fi
39393 fi
39394
39395 # Extract public symbols from all the object files.
39396 tmpdefFile=${D}{defFile}_%
39397 rm -f ${D}tmpdefFile
39398 for file in ${D}inputFiles ; do
39399 case ${D}file in
39400 *!)
39401 ;;
39402 *)
39403 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39404 ;;
39405 esac
39406 done
39407
39408 # Create the def file.
39409 rm -f ${D}defFile
39410 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39411 dllFile="${D}{dllFile}.dll"
39412 if [ ! -z ${D}description ]; then
39413 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
39414 fi
39415 echo "EXPORTS" >> ${D}defFile
39416
39417 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39418 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39419
39420 # Checks if the export is ok or not.
39421 for word in ${D}exclude_symbols; do
39422 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39423 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39424 done
39425
39426
39427 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39428 sed "=" < ${D}tmpdefFile | \\
39429 sed '
39430 N
39431 : loop
39432 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39433 t loop
39434 ' > ${D}{tmpdefFile}%
39435 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39436 else
39437 rm -f ${D}{tmpdefFile}%
39438 fi
39439 cat ${D}tmpdefFile >> ${D}defFile
39440 rm -f ${D}tmpdefFile
39441
39442 # Do linking, create implib, and apply lxlite.
39443 gccCmdl="";
39444 for file in ${D}inputFiles ; do
39445 case ${D}file in
39446 *!)
39447 ;;
39448 *)
39449 gccCmdl="${D}gccCmdl ${D}file"
39450 ;;
39451 esac
39452 done
39453 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39454 touch "${D}{outFile}.dll"
39455
39456 doCommand "emximp -o ${D}arcFile ${D}defFile"
39457 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39458 add_flags="";
39459 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39460 add_flags="-ynd"
39461 fi
39462 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39463 fi
39464 doCommand "emxomf -s -l ${D}arcFile"
39465
39466 # Successful exit.
39467 CleanUp 1
39468 exit 0
39469 EOF
39470
39471 chmod +x dllar.sh
39472 ;;
39473
39474 powerpc-apple-macos* | \
39475 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
39476 *-*-mirbsd* | \
39477 *-*-sunos4* | \
39478 *-*-osf* | \
39479 *-*-dgux5* | \
39480 *-*-sysv5* | \
39481 *-pc-msdosdjgpp )
39482 ;;
39483
39484 *)
39485 as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
39486 esac
39487
39488 if test "x$PIC_FLAG" != "x" ; then
39489 PIC_FLAG="$PIC_FLAG -DPIC"
39490 fi
39491
39492 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39493 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39494 fi
39495 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39496 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39497 fi
39498
39499
39500
39501
39502
39503
39504
39505
39506
39507 USE_SOVERSION=0
39508 USE_SOVERLINUX=0
39509 USE_SOVERSOLARIS=0
39510 USE_SOVERCYGWIN=0
39511 USE_SOTWOSYMLINKS=0
39512 USE_MACVERSION=0
39513 SONAME_FLAG=
39514
39515 case "${BAKEFILE_HOST}" in
39516 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39517 *-*-k*bsd*-gnu | *-*-mirbsd* )
39518 if test "x$SUNCXX" = "xyes"; then
39519 SONAME_FLAG="-h "
39520 else
39521 SONAME_FLAG="-Wl,-soname,"
39522 fi
39523 USE_SOVERSION=1
39524 USE_SOVERLINUX=1
39525 USE_SOTWOSYMLINKS=1
39526 ;;
39527
39528 *-*-solaris2* )
39529 SONAME_FLAG="-h "
39530 USE_SOVERSION=1
39531 USE_SOVERSOLARIS=1
39532 ;;
39533
39534 *-*-darwin* )
39535 USE_MACVERSION=1
39536 USE_SOVERSION=1
39537 USE_SOTWOSYMLINKS=1
39538 ;;
39539
39540 *-*-cygwin* )
39541 USE_SOVERSION=1
39542 USE_SOVERCYGWIN=1
39543 ;;
39544 esac
39545
39546
39547
39548
39549
39550
39551
39552
39553
39554
39555 # Check whether --enable-dependency-tracking was given.
39556 if test "${enable_dependency_tracking+set}" = set; then :
39557 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
39558 fi
39559
39560
39561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39562 $as_echo_n "checking for dependency tracking method... " >&6; }
39563
39564 BK_DEPS=""
39565 if test "x$bk_use_trackdeps" = "xno" ; then
39566 DEPS_TRACKING=0
39567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39568 $as_echo "disabled" >&6; }
39569 else
39570 DEPS_TRACKING=1
39571
39572 if test "x$GCC" = "xyes"; then
39573 DEPSMODE=gcc
39574 DEPSFLAG="-MMD"
39575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39576 $as_echo "gcc" >&6; }
39577 elif test "x$MWCC" = "xyes"; then
39578 DEPSMODE=mwcc
39579 DEPSFLAG="-MM"
39580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39581 $as_echo "mwcc" >&6; }
39582 elif test "x$SUNCC" = "xyes"; then
39583 DEPSMODE=unixcc
39584 DEPSFLAG="-xM1"
39585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39586 $as_echo "Sun cc" >&6; }
39587 elif test "x$SGICC" = "xyes"; then
39588 DEPSMODE=unixcc
39589 DEPSFLAG="-M"
39590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39591 $as_echo "SGI cc" >&6; }
39592 elif test "x$HPCC" = "xyes"; then
39593 DEPSMODE=unixcc
39594 DEPSFLAG="+make"
39595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39596 $as_echo "HP cc" >&6; }
39597 elif test "x$COMPAQCC" = "xyes"; then
39598 DEPSMODE=gcc
39599 DEPSFLAG="-MD"
39600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39601 $as_echo "Compaq cc" >&6; }
39602 else
39603 DEPS_TRACKING=0
39604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39605 $as_echo "none" >&6; }
39606 fi
39607
39608 if test $DEPS_TRACKING = 1 ; then
39609
39610 D='$'
39611 cat <<EOF >bk-deps
39612 #!/bin/sh
39613
39614 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39615 # script. It is used to track C/C++ files dependencies in portable way.
39616 #
39617 # Permission is given to use this file in any way.
39618
39619 DEPSMODE=${DEPSMODE}
39620 DEPSFLAG="${DEPSFLAG}"
39621 DEPSDIRBASE=.deps
39622
39623 if test ${D}DEPSMODE = gcc ; then
39624 ${D}* ${D}{DEPSFLAG}
39625 status=${D}?
39626
39627 # determine location of created files:
39628 while test ${D}# -gt 0; do
39629 case "${D}1" in
39630 -o )
39631 shift
39632 objfile=${D}1
39633 ;;
39634 -* )
39635 ;;
39636 * )
39637 srcfile=${D}1
39638 ;;
39639 esac
39640 shift
39641 done
39642 objfilebase=\`basename ${D}objfile\`
39643 builddir=\`dirname ${D}objfile\`
39644 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39645 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39646 depsdir=${D}builddir/${D}DEPSDIRBASE
39647 mkdir -p ${D}depsdir
39648
39649 # if the compiler failed, we're done:
39650 if test ${D}{status} != 0 ; then
39651 rm -f ${D}depfile
39652 exit ${D}{status}
39653 fi
39654
39655 # move created file to the location we want it in:
39656 if test -f ${D}depfile ; then
39657 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39658 rm -f ${D}depfile
39659 else
39660 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39661 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39662 if test ! -f ${D}depfile ; then
39663 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39664 depfile="${D}objfile.d"
39665 fi
39666 if test -f ${D}depfile ; then
39667 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39668 rm -f ${D}depfile
39669 fi
39670 fi
39671 exit 0
39672
39673 elif test ${D}DEPSMODE = mwcc ; then
39674 ${D}* || exit ${D}?
39675 # Run mwcc again with -MM and redirect into the dep file we want
39676 # NOTE: We can't use shift here because we need ${D}* to be valid
39677 prevarg=
39678 for arg in ${D}* ; do
39679 if test "${D}prevarg" = "-o"; then
39680 objfile=${D}arg
39681 else
39682 case "${D}arg" in
39683 -* )
39684 ;;
39685 * )
39686 srcfile=${D}arg
39687 ;;
39688 esac
39689 fi
39690 prevarg="${D}arg"
39691 done
39692
39693 objfilebase=\`basename ${D}objfile\`
39694 builddir=\`dirname ${D}objfile\`
39695 depsdir=${D}builddir/${D}DEPSDIRBASE
39696 mkdir -p ${D}depsdir
39697
39698 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39699 exit 0
39700
39701 elif test ${D}DEPSMODE = unixcc; then
39702 ${D}* || exit ${D}?
39703 # Run compiler again with deps flag and redirect into the dep file.
39704 # It doesn't work if the '-o FILE' option is used, but without it the
39705 # dependency file will contain the wrong name for the object. So it is
39706 # removed from the command line, and the dep file is fixed with sed.
39707 cmd=""
39708 while test ${D}# -gt 0; do
39709 case "${D}1" in
39710 -o )
39711 shift
39712 objfile=${D}1
39713 ;;
39714 * )
39715 eval arg${D}#=\\${D}1
39716 cmd="${D}cmd \\${D}arg${D}#"
39717 ;;
39718 esac
39719 shift
39720 done
39721
39722 objfilebase=\`basename ${D}objfile\`
39723 builddir=\`dirname ${D}objfile\`
39724 depsdir=${D}builddir/${D}DEPSDIRBASE
39725 mkdir -p ${D}depsdir
39726
39727 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39728 exit 0
39729
39730 else
39731 ${D}*
39732 exit ${D}?
39733 fi
39734 EOF
39735
39736 chmod +x bk-deps
39737 BK_DEPS="`pwd`/bk-deps"
39738 fi
39739 fi
39740
39741
39742
39743
39744
39745 case ${BAKEFILE_HOST} in
39746 *-*-cygwin* | *-*-mingw32* )
39747 if test -n "$ac_tool_prefix"; then
39748 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39749 set dummy ${ac_tool_prefix}windres; ac_word=$2
39750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39751 $as_echo_n "checking for $ac_word... " >&6; }
39752 if ${ac_cv_prog_WINDRES+:} false; then :
39753 $as_echo_n "(cached) " >&6
39754 else
39755 if test -n "$WINDRES"; then
39756 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
39757 else
39758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39759 for as_dir in $PATH
39760 do
39761 IFS=$as_save_IFS
39762 test -z "$as_dir" && as_dir=.
39763 for ac_exec_ext in '' $ac_executable_extensions; do
39764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39765 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
39766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39767 break 2
39768 fi
39769 done
39770 done
39771 IFS=$as_save_IFS
39772
39773 fi
39774 fi
39775 WINDRES=$ac_cv_prog_WINDRES
39776 if test -n "$WINDRES"; then
39777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39778 $as_echo "$WINDRES" >&6; }
39779 else
39780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39781 $as_echo "no" >&6; }
39782 fi
39783
39784
39785 fi
39786 if test -z "$ac_cv_prog_WINDRES"; then
39787 ac_ct_WINDRES=$WINDRES
39788 # Extract the first word of "windres", so it can be a program name with args.
39789 set dummy windres; ac_word=$2
39790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39791 $as_echo_n "checking for $ac_word... " >&6; }
39792 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
39793 $as_echo_n "(cached) " >&6
39794 else
39795 if test -n "$ac_ct_WINDRES"; then
39796 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
39797 else
39798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39799 for as_dir in $PATH
39800 do
39801 IFS=$as_save_IFS
39802 test -z "$as_dir" && as_dir=.
39803 for ac_exec_ext in '' $ac_executable_extensions; do
39804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39805 ac_cv_prog_ac_ct_WINDRES="windres"
39806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39807 break 2
39808 fi
39809 done
39810 done
39811 IFS=$as_save_IFS
39812
39813 fi
39814 fi
39815 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
39816 if test -n "$ac_ct_WINDRES"; then
39817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39818 $as_echo "$ac_ct_WINDRES" >&6; }
39819 else
39820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39821 $as_echo "no" >&6; }
39822 fi
39823
39824 if test "x$ac_ct_WINDRES" = x; then
39825 WINDRES=""
39826 else
39827 case $cross_compiling:$ac_tool_warned in
39828 yes:)
39829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39831 ac_tool_warned=yes ;;
39832 esac
39833 WINDRES=$ac_ct_WINDRES
39834 fi
39835 else
39836 WINDRES="$ac_cv_prog_WINDRES"
39837 fi
39838
39839 ;;
39840
39841 *-*-darwin* | powerpc-apple-macos* )
39842 # Extract the first word of "Rez", so it can be a program name with args.
39843 set dummy Rez; ac_word=$2
39844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39845 $as_echo_n "checking for $ac_word... " >&6; }
39846 if ${ac_cv_prog_REZ+:} false; then :
39847 $as_echo_n "(cached) " >&6
39848 else
39849 if test -n "$REZ"; then
39850 ac_cv_prog_REZ="$REZ" # Let the user override the test.
39851 else
39852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39853 for as_dir in $PATH
39854 do
39855 IFS=$as_save_IFS
39856 test -z "$as_dir" && as_dir=.
39857 for ac_exec_ext in '' $ac_executable_extensions; do
39858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39859 ac_cv_prog_REZ="Rez"
39860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39861 break 2
39862 fi
39863 done
39864 done
39865 IFS=$as_save_IFS
39866
39867 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
39868 fi
39869 fi
39870 REZ=$ac_cv_prog_REZ
39871 if test -n "$REZ"; then
39872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39873 $as_echo "$REZ" >&6; }
39874 else
39875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39876 $as_echo "no" >&6; }
39877 fi
39878
39879
39880 # Extract the first word of "SetFile", so it can be a program name with args.
39881 set dummy SetFile; ac_word=$2
39882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39883 $as_echo_n "checking for $ac_word... " >&6; }
39884 if ${ac_cv_prog_SETFILE+:} false; then :
39885 $as_echo_n "(cached) " >&6
39886 else
39887 if test -n "$SETFILE"; then
39888 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39889 else
39890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39891 for as_dir in $PATH
39892 do
39893 IFS=$as_save_IFS
39894 test -z "$as_dir" && as_dir=.
39895 for ac_exec_ext in '' $ac_executable_extensions; do
39896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39897 ac_cv_prog_SETFILE="SetFile"
39898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39899 break 2
39900 fi
39901 done
39902 done
39903 IFS=$as_save_IFS
39904
39905 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39906 fi
39907 fi
39908 SETFILE=$ac_cv_prog_SETFILE
39909 if test -n "$SETFILE"; then
39910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39911 $as_echo "$SETFILE" >&6; }
39912 else
39913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39914 $as_echo "no" >&6; }
39915 fi
39916
39917
39918 ;;
39919 esac
39920
39921
39922
39923
39924
39925
39926
39927
39928
39929 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
39930
39931
39932 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
39933
39934
39935
39936 # Check whether --enable-precomp-headers was given.
39937 if test "${enable_precomp_headers+set}" = set; then :
39938 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
39939 fi
39940
39941
39942 GCC_PCH=0
39943 ICC_PCH=0
39944 USE_PCH=0
39945 BK_MAKE_PCH=""
39946
39947 case ${BAKEFILE_HOST} in
39948 *-*-cygwin* )
39949 bk_use_pch="no"
39950 ;;
39951 esac
39952
39953 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39954 if test "x$GCC" = "xyes"; then
39955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39956 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39958 /* end confdefs.h. */
39959
39960 int
39961 main ()
39962 {
39963
39964 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39965 There is no PCH support
39966 #endif
39967 #if (__GNUC__ < 3)
39968 There is no PCH support
39969 #endif
39970 #if (__GNUC__ == 3) && \
39971 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39972 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39973 ( defined(__INTEL_COMPILER) )
39974 There is no PCH support
39975 #endif
39976
39977 ;
39978 return 0;
39979 }
39980 _ACEOF
39981 if ac_fn_c_try_compile "$LINENO"; then :
39982
39983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39984 $as_echo "yes" >&6; }
39985 GCC_PCH=1
39986
39987 else
39988
39989 if test "$INTELCXX8" = "yes"; then
39990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39991 $as_echo "yes" >&6; }
39992 ICC_PCH=1
39993 if test "$INTELCXX10" = "yes"; then
39994 ICC_PCH_CREATE_SWITCH="-pch-create"
39995 ICC_PCH_USE_SWITCH="-pch-use"
39996 else
39997 ICC_PCH_CREATE_SWITCH="-create-pch"
39998 ICC_PCH_USE_SWITCH="-use-pch"
39999 fi
40000 else
40001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40002 $as_echo "no" >&6; }
40003 fi
40004
40005 fi
40006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40007 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
40008 USE_PCH=1
40009
40010 D='$'
40011 cat <<EOF >bk-make-pch
40012 #!/bin/sh
40013
40014 # This script is part of Bakefile (http://www.bakefile.org) autoconf
40015 # script. It is used to generated precompiled headers.
40016 #
40017 # Permission is given to use this file in any way.
40018
40019 outfile="${D}{1}"
40020 header="${D}{2}"
40021 shift
40022 shift
40023
40024 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
40025
40026 compiler=""
40027 headerfile=""
40028
40029 while test ${D}{#} -gt 0; do
40030 add_to_cmdline=1
40031 case "${D}{1}" in
40032 -I* )
40033 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40034 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40035 headerfile="${D}{incdir}/${D}{header}"
40036 fi
40037 ;;
40038 -use-pch|-use_pch|-pch-use )
40039 shift
40040 add_to_cmdline=0
40041 ;;
40042 esac
40043 if test ${D}add_to_cmdline = 1 ; then
40044 compiler="${D}{compiler} ${D}{1}"
40045 fi
40046 shift
40047 done
40048
40049 if test "x${D}{headerfile}" = "x" ; then
40050 echo "error: can't find header ${D}{header} in include paths" >&2
40051 else
40052 if test -f ${D}{outfile} ; then
40053 rm -f ${D}{outfile}
40054 else
40055 mkdir -p \`dirname ${D}{outfile}\`
40056 fi
40057 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40058 mkdir -p ${D}{builddir}/.deps
40059 if test "x${GCC_PCH}" = "x1" ; then
40060 # can do this because gcc is >= 3.4:
40061 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40062 elif test "x${ICC_PCH}" = "x1" ; then
40063 filename=pch_gen-${D}${D}
40064 file=${D}{filename}.c
40065 dfile=${D}{filename}.d
40066 cat > ${D}file <<EOT
40067 #include "${D}header"
40068 EOT
40069 # using -MF icc complains about differing command lines in creation/use
40070 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
40071 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
40072 rm -f ${D}file ${D}dfile ${D}{filename}.o
40073 fi
40074 exit ${D}{?}
40075 fi
40076 EOF
40077
40078 chmod +x bk-make-pch
40079 BK_MAKE_PCH="`pwd`/bk-make-pch"
40080 fi
40081 fi
40082 fi
40083
40084
40085
40086
40087
40088
40089
40090 COND_BUILD_debug="#"
40091 if test "x$BUILD" = "xdebug" ; then
40092 COND_BUILD_debug=""
40093 fi
40094
40095 COND_BUILD_debug_DEBUG_INFO_default="#"
40096 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40097 COND_BUILD_debug_DEBUG_INFO_default=""
40098 fi
40099
40100 COND_BUILD_release="#"
40101 if test "x$BUILD" = "xrelease" ; then
40102 COND_BUILD_release=""
40103 fi
40104
40105 COND_BUILD_release_DEBUG_INFO_default="#"
40106 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40107 COND_BUILD_release_DEBUG_INFO_default=""
40108 fi
40109
40110 COND_DEBUG_FLAG_0="#"
40111 if test "x$DEBUG_FLAG" = "x0" ; then
40112 COND_DEBUG_FLAG_0=""
40113 fi
40114
40115 COND_DEBUG_INFO_0="#"
40116 if test "x$DEBUG_INFO" = "x0" ; then
40117 COND_DEBUG_INFO_0=""
40118 fi
40119
40120 COND_DEBUG_INFO_1="#"
40121 if test "x$DEBUG_INFO" = "x1" ; then
40122 COND_DEBUG_INFO_1=""
40123 fi
40124
40125 COND_DEPS_TRACKING_0="#"
40126 if test "x$DEPS_TRACKING" = "x0" ; then
40127 COND_DEPS_TRACKING_0=""
40128 fi
40129
40130 COND_DEPS_TRACKING_1="#"
40131 if test "x$DEPS_TRACKING" = "x1" ; then
40132 COND_DEPS_TRACKING_1=""
40133 fi
40134
40135 COND_GCC_PCH_1="#"
40136 if test "x$GCC_PCH" = "x1" ; then
40137 COND_GCC_PCH_1=""
40138 fi
40139
40140 COND_ICC_PCH_1="#"
40141 if test "x$ICC_PCH" = "x1" ; then
40142 COND_ICC_PCH_1=""
40143 fi
40144
40145 COND_MONOLITHIC_0="#"
40146 if test "x$MONOLITHIC" = "x0" ; then
40147 COND_MONOLITHIC_0=""
40148 fi
40149
40150 COND_MONOLITHIC_0_SHARED_0="#"
40151 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40152 COND_MONOLITHIC_0_SHARED_0=""
40153 fi
40154
40155 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
40156 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40157 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
40158 fi
40159
40160 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40161 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40162 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40163 fi
40164
40165 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
40166 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40167 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
40168 fi
40169
40170 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
40171 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40172 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
40173 fi
40174
40175 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
40176 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40177 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
40178 fi
40179
40180 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
40181 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40182 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
40183 fi
40184
40185 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
40186 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40187 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
40188 fi
40189
40190 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
40191 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40192 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
40193 fi
40194
40195 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
40196 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40197 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
40198 fi
40199
40200 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
40201 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40202 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
40203 fi
40204
40205 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40206 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40207 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40208 fi
40209
40210 COND_MONOLITHIC_0_SHARED_1="#"
40211 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40212 COND_MONOLITHIC_0_SHARED_1=""
40213 fi
40214
40215 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
40216 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40217 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
40218 fi
40219
40220 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40221 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40222 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40223 fi
40224
40225 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
40226 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40227 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
40228 fi
40229
40230 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
40231 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40232 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
40233 fi
40234
40235 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
40236 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40237 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
40238 fi
40239
40240 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
40241 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40242 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
40243 fi
40244
40245 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
40246 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40247 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
40248 fi
40249
40250 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
40251 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40252 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
40253 fi
40254
40255 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
40256 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40257 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
40258 fi
40259
40260 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
40261 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40262 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
40263 fi
40264
40265 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40266 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40267 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40268 fi
40269
40270 COND_MONOLITHIC_0_USE_AUI_1="#"
40271 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40272 COND_MONOLITHIC_0_USE_AUI_1=""
40273 fi
40274
40275 COND_MONOLITHIC_0_USE_GUI_1="#"
40276 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40277 COND_MONOLITHIC_0_USE_GUI_1=""
40278 fi
40279
40280 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
40281 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40282 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
40283 fi
40284
40285 COND_MONOLITHIC_0_USE_HTML_1="#"
40286 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40287 COND_MONOLITHIC_0_USE_HTML_1=""
40288 fi
40289
40290 COND_MONOLITHIC_0_USE_MEDIA_1="#"
40291 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40292 COND_MONOLITHIC_0_USE_MEDIA_1=""
40293 fi
40294
40295 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
40296 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40297 COND_MONOLITHIC_0_USE_PROPGRID_1=""
40298 fi
40299
40300 COND_MONOLITHIC_0_USE_QA_1="#"
40301 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40302 COND_MONOLITHIC_0_USE_QA_1=""
40303 fi
40304
40305 COND_MONOLITHIC_0_USE_RIBBON_1="#"
40306 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40307 COND_MONOLITHIC_0_USE_RIBBON_1=""
40308 fi
40309
40310 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
40311 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40312 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
40313 fi
40314
40315 COND_MONOLITHIC_0_USE_STC_1="#"
40316 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40317 COND_MONOLITHIC_0_USE_STC_1=""
40318 fi
40319
40320 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
40321 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40322 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
40323 fi
40324
40325 COND_MONOLITHIC_0_USE_XRC_1="#"
40326 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40327 COND_MONOLITHIC_0_USE_XRC_1=""
40328 fi
40329
40330 COND_MONOLITHIC_1="#"
40331 if test "x$MONOLITHIC" = "x1" ; then
40332 COND_MONOLITHIC_1=""
40333 fi
40334
40335 COND_MONOLITHIC_1_SHARED_0="#"
40336 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40337 COND_MONOLITHIC_1_SHARED_0=""
40338 fi
40339
40340 COND_MONOLITHIC_1_SHARED_1="#"
40341 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40342 COND_MONOLITHIC_1_SHARED_1=""
40343 fi
40344
40345 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40346 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40347 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40348 fi
40349
40350 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40351 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40352 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40353 fi
40354
40355 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
40356 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40357 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
40358 fi
40359
40360 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40361 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40362 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40363 fi
40364
40365 COND_PLATFORM_MACOSX_1="#"
40366 if test "x$PLATFORM_MACOSX" = "x1" ; then
40367 COND_PLATFORM_MACOSX_1=""
40368 fi
40369
40370 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
40371 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40372 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
40373 fi
40374
40375 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
40376 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40377 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
40378 fi
40379
40380 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40381 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40382 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40383 fi
40384
40385 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40386 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40387 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40388 fi
40389
40390 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40391 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40392 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40393 fi
40394
40395 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40396 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40397 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40398 fi
40399
40400 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40401 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40402 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40403 fi
40404
40405 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
40406 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40407 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
40408 fi
40409
40410 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40411 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40412 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40413 fi
40414
40415 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
40416 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40417 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
40418 fi
40419
40420 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40421 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40422 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40423 fi
40424
40425 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40426 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40427 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40428 fi
40429
40430 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40431 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40432 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40433 fi
40434
40435 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
40436 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40437 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
40438 fi
40439
40440 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40441 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40442 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40443 fi
40444
40445 COND_PLATFORM_MAC_0="#"
40446 if test "x$PLATFORM_MAC" = "x0" ; then
40447 COND_PLATFORM_MAC_0=""
40448 fi
40449
40450 COND_PLATFORM_MAC_1="#"
40451 if test "x$PLATFORM_MAC" = "x1" ; then
40452 COND_PLATFORM_MAC_1=""
40453 fi
40454
40455 COND_PLATFORM_MSDOS_0="#"
40456 if test "x$PLATFORM_MSDOS" = "x0" ; then
40457 COND_PLATFORM_MSDOS_0=""
40458 fi
40459
40460 COND_PLATFORM_MSDOS_1="#"
40461 if test "x$PLATFORM_MSDOS" = "x1" ; then
40462 COND_PLATFORM_MSDOS_1=""
40463 fi
40464
40465 COND_PLATFORM_OS2_1="#"
40466 if test "x$PLATFORM_OS2" = "x1" ; then
40467 COND_PLATFORM_OS2_1=""
40468 fi
40469
40470 COND_PLATFORM_UNIX_0="#"
40471 if test "x$PLATFORM_UNIX" = "x0" ; then
40472 COND_PLATFORM_UNIX_0=""
40473 fi
40474
40475 COND_PLATFORM_UNIX_1="#"
40476 if test "x$PLATFORM_UNIX" = "x1" ; then
40477 COND_PLATFORM_UNIX_1=""
40478 fi
40479
40480 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40481 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40482 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40483 fi
40484
40485 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40486 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40487 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40488 fi
40489
40490 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40491 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40492 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40493 fi
40494
40495 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40496 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40497 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40498 fi
40499
40500 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40501 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40502 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40503 fi
40504
40505 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40506 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40507 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40508 fi
40509
40510 COND_PLATFORM_WIN32_0="#"
40511 if test "x$PLATFORM_WIN32" = "x0" ; then
40512 COND_PLATFORM_WIN32_0=""
40513 fi
40514
40515 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40516 if test "x$PLATFORM_WIN32" = "x0" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40517 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40518 fi
40519
40520 COND_PLATFORM_WIN32_1="#"
40521 if test "x$PLATFORM_WIN32" = "x1" ; then
40522 COND_PLATFORM_WIN32_1=""
40523 fi
40524
40525 COND_PLATFORM_WIN32_1_SHARED_0="#"
40526 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40527 COND_PLATFORM_WIN32_1_SHARED_0=""
40528 fi
40529
40530 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40531 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40532 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40533 fi
40534
40535 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40536 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40537 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40538 fi
40539
40540 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40541 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40542 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40543 fi
40544
40545 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40546 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40547 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40548 fi
40549
40550 COND_SHARED_0="#"
40551 if test "x$SHARED" = "x0" ; then
40552 COND_SHARED_0=""
40553 fi
40554
40555 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40556 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40557 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40558 fi
40559
40560 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40561 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40562 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40563 fi
40564
40565 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40566 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40567 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40568 fi
40569
40570 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40571 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40572 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40573 fi
40574
40575 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40576 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40577 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40578 fi
40579
40580 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40581 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40582 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40583 fi
40584
40585 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40586 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40587 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40588 fi
40589
40590 COND_SHARED_0_USE_STC_1="#"
40591 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40592 COND_SHARED_0_USE_STC_1=""
40593 fi
40594
40595 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
40596 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40597 COND_SHARED_0_wxUSE_EXPAT_builtin=""
40598 fi
40599
40600 COND_SHARED_0_wxUSE_REGEX_builtin="#"
40601 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40602 COND_SHARED_0_wxUSE_REGEX_builtin=""
40603 fi
40604
40605 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
40606 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40607 COND_SHARED_0_wxUSE_ZLIB_builtin=""
40608 fi
40609
40610 COND_SHARED_1="#"
40611 if test "x$SHARED" = "x1" ; then
40612 COND_SHARED_1=""
40613 fi
40614
40615 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40616 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40617 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40618 fi
40619
40620 COND_TOOLKIT_="#"
40621 if test "x$TOOLKIT" = "x" ; then
40622 COND_TOOLKIT_=""
40623 fi
40624
40625 COND_TOOLKIT_COCOA="#"
40626 if test "x$TOOLKIT" = "xCOCOA" ; then
40627 COND_TOOLKIT_COCOA=""
40628 fi
40629
40630 COND_TOOLKIT_COCOA_USE_GUI_1="#"
40631 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40632 COND_TOOLKIT_COCOA_USE_GUI_1=""
40633 fi
40634
40635 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40636 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40637 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40638 fi
40639
40640 COND_TOOLKIT_DFB="#"
40641 if test "x$TOOLKIT" = "xDFB" ; then
40642 COND_TOOLKIT_DFB=""
40643 fi
40644
40645 COND_TOOLKIT_DFB_USE_GUI_1="#"
40646 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40647 COND_TOOLKIT_DFB_USE_GUI_1=""
40648 fi
40649
40650 COND_TOOLKIT_GTK="#"
40651 if test "x$TOOLKIT" = "xGTK" ; then
40652 COND_TOOLKIT_GTK=""
40653 fi
40654
40655 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
40656 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40657 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
40658 fi
40659
40660 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40661 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40662 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40663 fi
40664
40665 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40666 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40667 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40668 fi
40669
40670 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
40671 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40672 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
40673 fi
40674
40675 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1="#"
40676 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40677 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1=""
40678 fi
40679
40680 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
40681 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40682 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
40683 fi
40684
40685 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1="#"
40686 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x1" ; then
40687 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1=""
40688 fi
40689
40690 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40691 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40692 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40693 fi
40694
40695 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40696 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40697 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40698 fi
40699
40700 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0="#"
40701 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40702 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0=""
40703 fi
40704
40705 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0="#"
40706 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40707 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0=""
40708 fi
40709
40710 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
40711 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40712 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
40713 fi
40714
40715 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
40716 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40717 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
40718 fi
40719
40720 COND_TOOLKIT_GTK_USE_GUI_1="#"
40721 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40722 COND_TOOLKIT_GTK_USE_GUI_1=""
40723 fi
40724
40725 COND_TOOLKIT_MAC="#"
40726 if test "x$TOOLKIT" = "xMAC" ; then
40727 COND_TOOLKIT_MAC=""
40728 fi
40729
40730 COND_TOOLKIT_MOTIF="#"
40731 if test "x$TOOLKIT" = "xMOTIF" ; then
40732 COND_TOOLKIT_MOTIF=""
40733 fi
40734
40735 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40736 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40737 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40738 fi
40739
40740 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40741 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40742 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40743 fi
40744
40745 COND_TOOLKIT_MSW="#"
40746 if test "x$TOOLKIT" = "xMSW" ; then
40747 COND_TOOLKIT_MSW=""
40748 fi
40749
40750 COND_TOOLKIT_MSW_USE_GUI_1="#"
40751 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40752 COND_TOOLKIT_MSW_USE_GUI_1=""
40753 fi
40754
40755 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40756 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40757 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40758 fi
40759
40760 COND_TOOLKIT_MSW_WXUNIV_0="#"
40761 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40762 COND_TOOLKIT_MSW_WXUNIV_0=""
40763 fi
40764
40765 COND_TOOLKIT_OSX_CARBON="#"
40766 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40767 COND_TOOLKIT_OSX_CARBON=""
40768 fi
40769
40770 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40771 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40772 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40773 fi
40774
40775 COND_TOOLKIT_OSX_COCOA="#"
40776 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40777 COND_TOOLKIT_OSX_COCOA=""
40778 fi
40779
40780 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40781 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40782 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40783 fi
40784
40785 COND_TOOLKIT_OSX_IPHONE="#"
40786 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40787 COND_TOOLKIT_OSX_IPHONE=""
40788 fi
40789
40790 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40791 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40792 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40793 fi
40794
40795 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40796 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40797 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40798 fi
40799
40800 COND_TOOLKIT_PM="#"
40801 if test "x$TOOLKIT" = "xPM" ; then
40802 COND_TOOLKIT_PM=""
40803 fi
40804
40805 COND_TOOLKIT_PM_USE_GUI_1="#"
40806 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40807 COND_TOOLKIT_PM_USE_GUI_1=""
40808 fi
40809
40810 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40811 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40812 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40813 fi
40814
40815 COND_TOOLKIT_WINCE="#"
40816 if test "x$TOOLKIT" = "xWINCE" ; then
40817 COND_TOOLKIT_WINCE=""
40818 fi
40819
40820 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40821 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40822 COND_TOOLKIT_WINCE_USE_GUI_1=""
40823 fi
40824
40825 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40826 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40827 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40828 fi
40829
40830 COND_TOOLKIT_WINCE_WXUNIV_0="#"
40831 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40832 COND_TOOLKIT_WINCE_WXUNIV_0=""
40833 fi
40834
40835 COND_TOOLKIT_X11="#"
40836 if test "x$TOOLKIT" = "xX11" ; then
40837 COND_TOOLKIT_X11=""
40838 fi
40839
40840 COND_TOOLKIT_X11_USE_GUI_1="#"
40841 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40842 COND_TOOLKIT_X11_USE_GUI_1=""
40843 fi
40844
40845 COND_UNICODE_1="#"
40846 if test "x$UNICODE" = "x1" ; then
40847 COND_UNICODE_1=""
40848 fi
40849
40850 COND_USE_CAIRO_1="#"
40851 if test "x$USE_CAIRO" = "x1" ; then
40852 COND_USE_CAIRO_1=""
40853 fi
40854
40855 COND_USE_EXCEPTIONS_0="#"
40856 if test "x$USE_EXCEPTIONS" = "x0" ; then
40857 COND_USE_EXCEPTIONS_0=""
40858 fi
40859
40860 COND_USE_EXCEPTIONS_1="#"
40861 if test "x$USE_EXCEPTIONS" = "x1" ; then
40862 COND_USE_EXCEPTIONS_1=""
40863 fi
40864
40865 COND_USE_GUI_0="#"
40866 if test "x$USE_GUI" = "x0" ; then
40867 COND_USE_GUI_0=""
40868 fi
40869
40870 COND_USE_GUI_1="#"
40871 if test "x$USE_GUI" = "x1" ; then
40872 COND_USE_GUI_1=""
40873 fi
40874
40875 COND_USE_GUI_1_USE_OPENGL_1="#"
40876 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40877 COND_USE_GUI_1_USE_OPENGL_1=""
40878 fi
40879
40880 COND_USE_GUI_1_WXUNIV_0="#"
40881 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40882 COND_USE_GUI_1_WXUNIV_0=""
40883 fi
40884
40885 COND_USE_GUI_1_WXUNIV_1="#"
40886 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40887 COND_USE_GUI_1_WXUNIV_1=""
40888 fi
40889
40890 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40891 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40892 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40893 fi
40894
40895 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40896 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40897 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40898 fi
40899
40900 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40901 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40902 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40903 fi
40904
40905 COND_USE_OPENGL_1="#"
40906 if test "x$USE_OPENGL" = "x1" ; then
40907 COND_USE_OPENGL_1=""
40908 fi
40909
40910 COND_USE_PCH_1="#"
40911 if test "x$USE_PCH" = "x1" ; then
40912 COND_USE_PCH_1=""
40913 fi
40914
40915 COND_USE_PLUGINS_0="#"
40916 if test "x$USE_PLUGINS" = "x0" ; then
40917 COND_USE_PLUGINS_0=""
40918 fi
40919
40920 COND_USE_RTTI_0="#"
40921 if test "x$USE_RTTI" = "x0" ; then
40922 COND_USE_RTTI_0=""
40923 fi
40924
40925 COND_USE_RTTI_1="#"
40926 if test "x$USE_RTTI" = "x1" ; then
40927 COND_USE_RTTI_1=""
40928 fi
40929
40930 COND_USE_SOTWOSYMLINKS_1="#"
40931 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40932 COND_USE_SOTWOSYMLINKS_1=""
40933 fi
40934
40935 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
40936 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40937 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
40938 fi
40939
40940 COND_USE_SOVERLINUX_1="#"
40941 if test "x$USE_SOVERLINUX" = "x1" ; then
40942 COND_USE_SOVERLINUX_1=""
40943 fi
40944
40945 COND_USE_SOVERSION_0="#"
40946 if test "x$USE_SOVERSION" = "x0" ; then
40947 COND_USE_SOVERSION_0=""
40948 fi
40949
40950 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
40951 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40952 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
40953 fi
40954
40955 COND_USE_SOVERSOLARIS_1="#"
40956 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40957 COND_USE_SOVERSOLARIS_1=""
40958 fi
40959
40960 COND_USE_STC_1="#"
40961 if test "x$USE_STC" = "x1" ; then
40962 COND_USE_STC_1=""
40963 fi
40964
40965 COND_USE_THREADS_0="#"
40966 if test "x$USE_THREADS" = "x0" ; then
40967 COND_USE_THREADS_0=""
40968 fi
40969
40970 COND_USE_THREADS_1="#"
40971 if test "x$USE_THREADS" = "x1" ; then
40972 COND_USE_THREADS_1=""
40973 fi
40974
40975 COND_USE_XRC_1="#"
40976 if test "x$USE_XRC" = "x1" ; then
40977 COND_USE_XRC_1=""
40978 fi
40979
40980 COND_WINDOWS_IMPLIB_1="#"
40981 if test "x$WINDOWS_IMPLIB" = "x1" ; then
40982 COND_WINDOWS_IMPLIB_1=""
40983 fi
40984
40985 COND_WITH_PLUGIN_SDL_1="#"
40986 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40987 COND_WITH_PLUGIN_SDL_1=""
40988 fi
40989
40990 COND_WXUNIV_0="#"
40991 if test "x$WXUNIV" = "x0" ; then
40992 COND_WXUNIV_0=""
40993 fi
40994
40995 COND_WXUNIV_1="#"
40996 if test "x$WXUNIV" = "x1" ; then
40997 COND_WXUNIV_1=""
40998 fi
40999
41000 COND_wxUSE_EXPAT_builtin="#"
41001 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41002 COND_wxUSE_EXPAT_builtin=""
41003 fi
41004
41005 COND_wxUSE_LIBJPEG_builtin="#"
41006 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41007 COND_wxUSE_LIBJPEG_builtin=""
41008 fi
41009
41010 COND_wxUSE_LIBPNG_builtin="#"
41011 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41012 COND_wxUSE_LIBPNG_builtin=""
41013 fi
41014
41015 COND_wxUSE_LIBTIFF_builtin="#"
41016 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41017 COND_wxUSE_LIBTIFF_builtin=""
41018 fi
41019
41020 COND_wxUSE_REGEX_builtin="#"
41021 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41022 COND_wxUSE_REGEX_builtin=""
41023 fi
41024
41025 COND_wxUSE_ZLIB_builtin="#"
41026 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41027 COND_wxUSE_ZLIB_builtin=""
41028 fi
41029
41030
41031
41032 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
41033 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
41034 fi
41035
41036 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41037 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
41038 fi
41039
41040
41041 case ${INSTALL} in
41042 /* ) # Absolute
41043 ;;
41044 ?:* ) # Drive letter, considered as absolute.
41045 ;;
41046 *)
41047 INSTALL=`pwd`/${INSTALL} ;;
41048 esac
41049
41050 if test "$wxUSE_GUI" = "yes"; then
41051
41052 if test "$wxUSE_MSW" = 1 ; then
41053 if test "x$WINDRES" = "x"; then
41054 as_fn_error $? "Required windres program not found" "$LINENO" 5
41055 fi
41056
41057 RESCOMP="$WINDRES"
41058 fi
41059
41060 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
41061 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
41062 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
41063
41064 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
41065
41066 # Extract the first word of "DeRez", so it can be a program name with args.
41067 set dummy DeRez; ac_word=$2
41068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41069 $as_echo_n "checking for $ac_word... " >&6; }
41070 if ${ac_cv_prog_DEREZ+:} false; then :
41071 $as_echo_n "(cached) " >&6
41072 else
41073 if test -n "$DEREZ"; then
41074 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
41075 else
41076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41077 for as_dir in $PATH
41078 do
41079 IFS=$as_save_IFS
41080 test -z "$as_dir" && as_dir=.
41081 for ac_exec_ext in '' $ac_executable_extensions; do
41082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41083 ac_cv_prog_DEREZ="DeRez"
41084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41085 break 2
41086 fi
41087 done
41088 done
41089 IFS=$as_save_IFS
41090
41091 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
41092 fi
41093 fi
41094 DEREZ=$ac_cv_prog_DEREZ
41095 if test -n "$DEREZ"; then
41096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
41097 $as_echo "$DEREZ" >&6; }
41098 else
41099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41100 $as_echo "no" >&6; }
41101 fi
41102
41103
41104
41105 MACSETFILE="\$(SETFILE)"
41106
41107 if test "$wxUSE_OSX_CARBON" = 1; then
41108 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
41109 RESCOMP="$REZ"
41110 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
41111 else
41112 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
41113 RESCOMP="cat /dev/null \| $REZ"
41114 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
41115 fi
41116
41117 else
41118 MACSETFILE="@true"
41119
41120 if test "$wxUSE_PM" = 1; then
41121 RESCOMP="emxbind"
41122 WXCONFIG_RESFLAGS="-ep"
41123
41124 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
41125 else
41126 POSTLINK_COMMAND="@true"
41127 fi
41128 fi
41129
41130 fi
41131
41132
41133 if test $GCC_PCH = 1
41134 then
41135 if test "$wx_cv_gcc_pch_bug" = yes; then
41136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
41137 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
41138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
41139 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41141 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41142 fi
41143
41144 # Our WX_PRECOMP flag does not make sense for any language except C++ because
41145 # the headers that benefit from precompilation are mostly C++ headers.
41146 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41147 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41148 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41149 fi
41150
41151
41152 if test "$wxUSE_MAC" = 1 ; then
41153 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41154 if test "x$disable_macosx_deps" = "xyes"; then
41155 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
41156 mv temp bk-deps
41157 chmod +x bk-deps
41158 fi
41159 fi
41160 fi
41161
41162 if test "$wxUSE_SHARED" = "yes"; then
41163 case "${host}" in
41164 *-pc-os2_emx | *-pc-os2-emx )
41165 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41166 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41167 cp -p ${srcdir}/src/os2/dllnames.sh .
41168 cp -p ${srcdir}/src/os2/dllar.sh .
41169 ;;
41170 esac
41171 fi
41172 if test "$wxUSE_OMF" = "yes"; then
41173 case "${host}" in
41174 *-pc-os2_emx | *-pc-os2-emx )
41175 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
41176 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41177 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41178 ;;
41179 esac
41180 fi
41181
41182 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41183
41184
41185 case "${host}" in
41186 *-*-solaris2* )
41187 if test "$GCC" = yes; then
41188 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
41189 LIBS=`echo $LIBS | sed 's/-mt//g'`
41190 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41191 fi
41192 ;;
41193
41194 *-*-linux* )
41195 if test "x$SUNCXX" = xyes; then
41196 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
41197 LIBS=`echo $LIBS | sed 's/-pthread//g'`
41198 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41199 fi
41200 ;;
41201 esac
41202
41203 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
41204 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41205 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
41206 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41207
41208 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41209
41210
41211
41212
41213
41214
41215
41216
41217
41218
41219
41220
41221
41222
41223
41224
41225
41226
41227
41228
41229
41230
41231
41232
41233
41234
41235
41236
41237
41238
41239
41240
41241
41242
41243
41244
41245
41246
41247
41248
41249
41250
41251
41252
41253
41254
41255
41256
41257
41258
41259
41260
41261
41262
41263
41264
41265
41266
41267
41268
41269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41270 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41271 set x ${MAKE-make}
41272 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41273 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
41274 $as_echo_n "(cached) " >&6
41275 else
41276 cat >conftest.make <<\_ACEOF
41277 SHELL = /bin/sh
41278 all:
41279 @echo '@@@%%%=$(MAKE)=@@@%%%'
41280 _ACEOF
41281 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41282 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41283 *@@@%%%=?*=@@@%%%*)
41284 eval ac_cv_prog_make_${ac_make}_set=yes;;
41285 *)
41286 eval ac_cv_prog_make_${ac_make}_set=no;;
41287 esac
41288 rm -f conftest.make
41289 fi
41290 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
41291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41292 $as_echo "yes" >&6; }
41293 SET_MAKE=
41294 else
41295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41296 $as_echo "no" >&6; }
41297 SET_MAKE="MAKE=${MAKE-make}"
41298 fi
41299
41300
41301
41302 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41303
41304
41305 if test "$USE_WIN32" = 1; then
41306 ac_config_commands="$ac_config_commands rcdefs.h"
41307
41308 fi
41309
41310 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41311
41312
41313 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41314
41315
41316 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
41317
41318
41319 if test "$wx_cv_version_script" = "yes"; then
41320 ac_config_files="$ac_config_files version-script"
41321
41322 fi
41323 ac_config_files="$ac_config_files Makefile"
41324
41325
41326 ac_config_commands="$ac_config_commands wx-config"
41327
41328
41329
41330 if test "$wxWITH_SUBDIRS" != "no"; then
41331 if test "$wxUSE_GUI" = "yes"; then
41332 SUBDIRS="samples demos utils"
41333 else
41334 SUBDIRS="samples utils"
41335 fi
41336
41337
41338
41339 # Check whether --with-cppunit-prefix was given.
41340 if test "${with_cppunit_prefix+set}" = set; then :
41341 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
41342 else
41343 cppunit_config_prefix=""
41344 fi
41345
41346
41347 # Check whether --with-cppunit-exec-prefix was given.
41348 if test "${with_cppunit_exec_prefix+set}" = set; then :
41349 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
41350 else
41351 cppunit_config_exec_prefix=""
41352 fi
41353
41354
41355 if test x$cppunit_config_exec_prefix != x ; then
41356 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41357 if test x${CPPUNIT_CONFIG+set} != xset ; then
41358 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41359 fi
41360 fi
41361 if test x$cppunit_config_prefix != x ; then
41362 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41363 if test x${CPPUNIT_CONFIG+set} != xset ; then
41364 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41365 fi
41366 fi
41367
41368 # Extract the first word of "cppunit-config", so it can be a program name with args.
41369 set dummy cppunit-config; ac_word=$2
41370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41371 $as_echo_n "checking for $ac_word... " >&6; }
41372 if ${ac_cv_path_CPPUNIT_CONFIG+:} false; then :
41373 $as_echo_n "(cached) " >&6
41374 else
41375 case $CPPUNIT_CONFIG in
41376 [\\/]* | ?:[\\/]*)
41377 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41378 ;;
41379 *)
41380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41381 for as_dir in $PATH
41382 do
41383 IFS=$as_save_IFS
41384 test -z "$as_dir" && as_dir=.
41385 for ac_exec_ext in '' $ac_executable_extensions; do
41386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41387 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41389 break 2
41390 fi
41391 done
41392 done
41393 IFS=$as_save_IFS
41394
41395 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41396 ;;
41397 esac
41398 fi
41399 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41400 if test -n "$CPPUNIT_CONFIG"; then
41401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41402 $as_echo "$CPPUNIT_CONFIG" >&6; }
41403 else
41404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41405 $as_echo "no" >&6; }
41406 fi
41407
41408
41409 cppunit_version_min=1.8.0
41410
41411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41412 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41413 no_cppunit=""
41414 if test "$CPPUNIT_CONFIG" = "no" ; then
41415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41416 $as_echo "no" >&6; }
41417 no_cppunit=yes
41418 else
41419 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41420 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41421 cppunit_version=`$CPPUNIT_CONFIG --version`
41422
41423 cppunit_major_version=`echo $cppunit_version | \
41424 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41425 cppunit_minor_version=`echo $cppunit_version | \
41426 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41427 cppunit_micro_version=`echo $cppunit_version | \
41428 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41429
41430 cppunit_major_min=`echo $cppunit_version_min | \
41431 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41432 cppunit_minor_min=`echo $cppunit_version_min | \
41433 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41434 cppunit_micro_min=`echo $cppunit_version_min | \
41435 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41436
41437 cppunit_version_proper=`expr \
41438 $cppunit_major_version \> $cppunit_major_min \| \
41439 $cppunit_major_version \= $cppunit_major_min \& \
41440 $cppunit_minor_version \> $cppunit_minor_min \| \
41441 $cppunit_major_version \= $cppunit_major_min \& \
41442 $cppunit_minor_version \= $cppunit_minor_min \& \
41443 $cppunit_micro_version \>= $cppunit_micro_min `
41444
41445 if test "$cppunit_version_proper" = "1" ; then
41446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41447 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41448 else
41449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41450 $as_echo "no" >&6; }
41451 no_cppunit=yes
41452 fi
41453 fi
41454
41455 if test "x$no_cppunit" = x ; then
41456 SUBDIRS="$SUBDIRS tests"
41457 else
41458 CPPUNIT_CFLAGS=""
41459 CPPUNIT_LIBS=""
41460 :
41461 fi
41462
41463
41464
41465
41466
41467 for subdir in $SUBDIRS; do
41468 if test -d ${srcdir}/${subdir} ; then
41469 if test "$wxUSE_GUI" = "yes"; then
41470 if test ${subdir} = "samples"; then
41471 makefiles="samples/Makefile.in $makefiles"
41472 for sample in $SAMPLES_SUBDIRS; do
41473 if test -d $srcdir/samples/$sample; then
41474 makefiles="samples/$sample/Makefile.in $makefiles"
41475 fi
41476 done
41477 else
41478 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
41479 eval "disabled=\$$disabled_var"
41480 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
41481 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41482 fi
41483 else
41484 if test ${subdir} = "samples"; then
41485 makefiles="samples/Makefile.in $makefiles"
41486 for sample in `echo $SAMPLES_SUBDIRS`; do
41487 if test -d $srcdir/samples/$sample; then
41488 makefiles="samples/$sample/Makefile.in $makefiles"
41489 fi
41490 done
41491 elif test ${subdir} = "utils"; then
41492 makefiles=""
41493 for util in ifacecheck ; do
41494 if test -d $srcdir/utils/$util ; then
41495 makefiles="utils/$util/src/Makefile.in \
41496 $makefiles"
41497 fi
41498 done
41499 else
41500 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41501 fi
41502 fi
41503
41504 for mkin in $makefiles ; do
41505 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41506 ac_config_files="$ac_config_files $mk"
41507
41508 done
41509 fi
41510 done
41511 fi
41512 cat >confcache <<\_ACEOF
41513 # This file is a shell script that caches the results of configure
41514 # tests run on this system so they can be shared between configure
41515 # scripts and configure runs, see configure's option --config-cache.
41516 # It is not useful on other systems. If it contains results you don't
41517 # want to keep, you may remove or edit it.
41518 #
41519 # config.status only pays attention to the cache file if you give it
41520 # the --recheck option to rerun configure.
41521 #
41522 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41523 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41524 # following values.
41525
41526 _ACEOF
41527
41528 # The following way of writing the cache mishandles newlines in values,
41529 # but we know of no workaround that is simple, portable, and efficient.
41530 # So, we kill variables containing newlines.
41531 # Ultrix sh set writes to stderr and can't be redirected directly,
41532 # and sets the high bit in the cache file unless we assign to the vars.
41533 (
41534 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41535 eval ac_val=\$$ac_var
41536 case $ac_val in #(
41537 *${as_nl}*)
41538 case $ac_var in #(
41539 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41540 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41541 esac
41542 case $ac_var in #(
41543 _ | IFS | as_nl) ;; #(
41544 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
41545 *) { eval $ac_var=; unset $ac_var;} ;;
41546 esac ;;
41547 esac
41548 done
41549
41550 (set) 2>&1 |
41551 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41552 *${as_nl}ac_space=\ *)
41553 # `set' does not quote correctly, so add quotes: double-quote
41554 # substitution turns \\\\ into \\, and sed turns \\ into \.
41555 sed -n \
41556 "s/'/'\\\\''/g;
41557 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41558 ;; #(
41559 *)
41560 # `set' quotes correctly as required by POSIX, so do not add quotes.
41561 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41562 ;;
41563 esac |
41564 sort
41565 ) |
41566 sed '
41567 /^ac_cv_env_/b end
41568 t clear
41569 :clear
41570 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41571 t end
41572 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41573 :end' >>confcache
41574 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41575 if test -w "$cache_file"; then
41576 if test "x$cache_file" != "x/dev/null"; then
41577 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41578 $as_echo "$as_me: updating cache $cache_file" >&6;}
41579 if test ! -f "$cache_file" || test -h "$cache_file"; then
41580 cat confcache >"$cache_file"
41581 else
41582 case $cache_file in #(
41583 */* | ?:*)
41584 mv -f confcache "$cache_file"$$ &&
41585 mv -f "$cache_file"$$ "$cache_file" ;; #(
41586 *)
41587 mv -f confcache "$cache_file" ;;
41588 esac
41589 fi
41590 fi
41591 else
41592 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41593 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41594 fi
41595 fi
41596 rm -f confcache
41597
41598 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41599 # Let make expand exec_prefix.
41600 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41601
41602 DEFS=-DHAVE_CONFIG_H
41603
41604 ac_libobjs=
41605 ac_ltlibobjs=
41606 U=
41607 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41608 # 1. Remove the extension, and $U if already installed.
41609 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41610 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
41611 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41612 # will be set to the directory where LIBOBJS objects are built.
41613 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41614 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
41615 done
41616 LIBOBJS=$ac_libobjs
41617
41618 LTLIBOBJS=$ac_ltlibobjs
41619
41620
41621
41622 : "${CONFIG_STATUS=./config.status}"
41623 ac_write_fail=0
41624 ac_clean_files_save=$ac_clean_files
41625 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41626 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41627 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41628 as_write_fail=0
41629 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41630 #! $SHELL
41631 # Generated by $as_me.
41632 # Run this file to recreate the current configuration.
41633 # Compiler output produced by configure, useful for debugging
41634 # configure, is in config.log if it exists.
41635
41636 debug=false
41637 ac_cs_recheck=false
41638 ac_cs_silent=false
41639
41640 SHELL=\${CONFIG_SHELL-$SHELL}
41641 export SHELL
41642 _ASEOF
41643 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
41644 ## -------------------- ##
41645 ## M4sh Initialization. ##
41646 ## -------------------- ##
41647
41648 # Be more Bourne compatible
41649 DUALCASE=1; export DUALCASE # for MKS sh
41650 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
41651 emulate sh
41652 NULLCMD=:
41653 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41654 # is contrary to our usage. Disable this feature.
41655 alias -g '${1+"$@"}'='"$@"'
41656 setopt NO_GLOB_SUBST
41657 else
41658 case `(set -o) 2>/dev/null` in #(
41659 *posix*) :
41660 set -o posix ;; #(
41661 *) :
41662 ;;
41663 esac
41664 fi
41665
41666
41667 as_nl='
41668 '
41669 export as_nl
41670 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41671 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41672 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41673 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41674 # Prefer a ksh shell builtin over an external printf program on Solaris,
41675 # but without wasting forks for bash or zsh.
41676 if test -z "$BASH_VERSION$ZSH_VERSION" \
41677 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41678 as_echo='print -r --'
41679 as_echo_n='print -rn --'
41680 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41681 as_echo='printf %s\n'
41682 as_echo_n='printf %s'
41683 else
41684 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41685 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
41686 as_echo_n='/usr/ucb/echo -n'
41687 else
41688 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41689 as_echo_n_body='eval
41690 arg=$1;
41691 case $arg in #(
41692 *"$as_nl"*)
41693 expr "X$arg" : "X\\(.*\\)$as_nl";
41694 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41695 esac;
41696 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41697 '
41698 export as_echo_n_body
41699 as_echo_n='sh -c $as_echo_n_body as_echo'
41700 fi
41701 export as_echo_body
41702 as_echo='sh -c $as_echo_body as_echo'
41703 fi
41704
41705 # The user is always right.
41706 if test "${PATH_SEPARATOR+set}" != set; then
41707 PATH_SEPARATOR=:
41708 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41709 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41710 PATH_SEPARATOR=';'
41711 }
41712 fi
41713
41714
41715 # IFS
41716 # We need space, tab and new line, in precisely that order. Quoting is
41717 # there to prevent editors from complaining about space-tab.
41718 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41719 # splitting by setting IFS to empty value.)
41720 IFS=" "" $as_nl"
41721
41722 # Find who we are. Look in the path if we contain no directory separator.
41723 as_myself=
41724 case $0 in #((
41725 *[\\/]* ) as_myself=$0 ;;
41726 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41727 for as_dir in $PATH
41728 do
41729 IFS=$as_save_IFS
41730 test -z "$as_dir" && as_dir=.
41731 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41732 done
41733 IFS=$as_save_IFS
41734
41735 ;;
41736 esac
41737 # We did not find ourselves, most probably we were run as `sh COMMAND'
41738 # in which case we are not to be found in the path.
41739 if test "x$as_myself" = x; then
41740 as_myself=$0
41741 fi
41742 if test ! -f "$as_myself"; then
41743 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41744 exit 1
41745 fi
41746
41747 # Unset variables that we do not need and which cause bugs (e.g. in
41748 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41749 # suppresses any "Segmentation fault" message there. '((' could
41750 # trigger a bug in pdksh 5.2.14.
41751 for as_var in BASH_ENV ENV MAIL MAILPATH
41752 do eval test x\${$as_var+set} = xset \
41753 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
41754 done
41755 PS1='$ '
41756 PS2='> '
41757 PS4='+ '
41758
41759 # NLS nuisances.
41760 LC_ALL=C
41761 export LC_ALL
41762 LANGUAGE=C
41763 export LANGUAGE
41764
41765 # CDPATH.
41766 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
41767
41768
41769 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41770 # ----------------------------------------
41771 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41772 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41773 # script with STATUS, using 1 if that was 0.
41774 as_fn_error ()
41775 {
41776 as_status=$1; test $as_status -eq 0 && as_status=1
41777 if test "$4"; then
41778 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41779 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41780 fi
41781 $as_echo "$as_me: error: $2" >&2
41782 as_fn_exit $as_status
41783 } # as_fn_error
41784
41785
41786 # as_fn_set_status STATUS
41787 # -----------------------
41788 # Set $? to STATUS, without forking.
41789 as_fn_set_status ()
41790 {
41791 return $1
41792 } # as_fn_set_status
41793
41794 # as_fn_exit STATUS
41795 # -----------------
41796 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41797 as_fn_exit ()
41798 {
41799 set +e
41800 as_fn_set_status $1
41801 exit $1
41802 } # as_fn_exit
41803
41804 # as_fn_unset VAR
41805 # ---------------
41806 # Portably unset VAR.
41807 as_fn_unset ()
41808 {
41809 { eval $1=; unset $1;}
41810 }
41811 as_unset=as_fn_unset
41812 # as_fn_append VAR VALUE
41813 # ----------------------
41814 # Append the text in VALUE to the end of the definition contained in VAR. Take
41815 # advantage of any shell optimizations that allow amortized linear growth over
41816 # repeated appends, instead of the typical quadratic growth present in naive
41817 # implementations.
41818 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
41819 eval 'as_fn_append ()
41820 {
41821 eval $1+=\$2
41822 }'
41823 else
41824 as_fn_append ()
41825 {
41826 eval $1=\$$1\$2
41827 }
41828 fi # as_fn_append
41829
41830 # as_fn_arith ARG...
41831 # ------------------
41832 # Perform arithmetic evaluation on the ARGs, and store the result in the
41833 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41834 # must be portable across $(()) and expr.
41835 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
41836 eval 'as_fn_arith ()
41837 {
41838 as_val=$(( $* ))
41839 }'
41840 else
41841 as_fn_arith ()
41842 {
41843 as_val=`expr "$@" || test $? -eq 1`
41844 }
41845 fi # as_fn_arith
41846
41847
41848 if expr a : '\(a\)' >/dev/null 2>&1 &&
41849 test "X`expr 00001 : '.*\(...\)'`" = X001; then
41850 as_expr=expr
41851 else
41852 as_expr=false
41853 fi
41854
41855 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41856 as_basename=basename
41857 else
41858 as_basename=false
41859 fi
41860
41861 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
41862 as_dirname=dirname
41863 else
41864 as_dirname=false
41865 fi
41866
41867 as_me=`$as_basename -- "$0" ||
41868 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41869 X"$0" : 'X\(//\)$' \| \
41870 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41871 $as_echo X/"$0" |
41872 sed '/^.*\/\([^/][^/]*\)\/*$/{
41873 s//\1/
41874 q
41875 }
41876 /^X\/\(\/\/\)$/{
41877 s//\1/
41878 q
41879 }
41880 /^X\/\(\/\).*/{
41881 s//\1/
41882 q
41883 }
41884 s/.*/./; q'`
41885
41886 # Avoid depending upon Character Ranges.
41887 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41888 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41889 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41890 as_cr_digits='0123456789'
41891 as_cr_alnum=$as_cr_Letters$as_cr_digits
41892
41893 ECHO_C= ECHO_N= ECHO_T=
41894 case `echo -n x` in #(((((
41895 -n*)
41896 case `echo 'xy\c'` in
41897 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
41898 xy) ECHO_C='\c';;
41899 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
41900 ECHO_T=' ';;
41901 esac;;
41902 *)
41903 ECHO_N='-n';;
41904 esac
41905
41906 rm -f conf$$ conf$$.exe conf$$.file
41907 if test -d conf$$.dir; then
41908 rm -f conf$$.dir/conf$$.file
41909 else
41910 rm -f conf$$.dir
41911 mkdir conf$$.dir 2>/dev/null
41912 fi
41913 if (echo >conf$$.file) 2>/dev/null; then
41914 if ln -s conf$$.file conf$$ 2>/dev/null; then
41915 as_ln_s='ln -s'
41916 # ... but there are two gotchas:
41917 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41918 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41919 # In both cases, we have to default to `cp -pR'.
41920 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
41921 as_ln_s='cp -pR'
41922 elif ln conf$$.file conf$$ 2>/dev/null; then
41923 as_ln_s=ln
41924 else
41925 as_ln_s='cp -pR'
41926 fi
41927 else
41928 as_ln_s='cp -pR'
41929 fi
41930 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
41931 rmdir conf$$.dir 2>/dev/null
41932
41933
41934 # as_fn_mkdir_p
41935 # -------------
41936 # Create "$as_dir" as a directory, including parents if necessary.
41937 as_fn_mkdir_p ()
41938 {
41939
41940 case $as_dir in #(
41941 -*) as_dir=./$as_dir;;
41942 esac
41943 test -d "$as_dir" || eval $as_mkdir_p || {
41944 as_dirs=
41945 while :; do
41946 case $as_dir in #(
41947 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
41948 *) as_qdir=$as_dir;;
41949 esac
41950 as_dirs="'$as_qdir' $as_dirs"
41951 as_dir=`$as_dirname -- "$as_dir" ||
41952 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41953 X"$as_dir" : 'X\(//\)[^/]' \| \
41954 X"$as_dir" : 'X\(//\)$' \| \
41955 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41956 $as_echo X"$as_dir" |
41957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41958 s//\1/
41959 q
41960 }
41961 /^X\(\/\/\)[^/].*/{
41962 s//\1/
41963 q
41964 }
41965 /^X\(\/\/\)$/{
41966 s//\1/
41967 q
41968 }
41969 /^X\(\/\).*/{
41970 s//\1/
41971 q
41972 }
41973 s/.*/./; q'`
41974 test -d "$as_dir" && break
41975 done
41976 test -z "$as_dirs" || eval "mkdir $as_dirs"
41977 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
41978
41979
41980 } # as_fn_mkdir_p
41981 if mkdir -p . 2>/dev/null; then
41982 as_mkdir_p='mkdir -p "$as_dir"'
41983 else
41984 test -d ./-p && rmdir ./-p
41985 as_mkdir_p=false
41986 fi
41987
41988
41989 # as_fn_executable_p FILE
41990 # -----------------------
41991 # Test if FILE is an executable regular file.
41992 as_fn_executable_p ()
41993 {
41994 test -f "$1" && test -x "$1"
41995 } # as_fn_executable_p
41996 as_test_x='test -x'
41997 as_executable_p=as_fn_executable_p
41998
41999 # Sed expression to map a string onto a valid CPP name.
42000 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42001
42002 # Sed expression to map a string onto a valid variable name.
42003 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42004
42005
42006 exec 6>&1
42007 ## ----------------------------------- ##
42008 ## Main body of $CONFIG_STATUS script. ##
42009 ## ----------------------------------- ##
42010 _ASEOF
42011 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
42012
42013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42014 # Save the log message, to keep $0 and so on meaningful, and to
42015 # report actual input values of CONFIG_FILES etc. instead of their
42016 # values after options handling.
42017 ac_log="
42018 This file was extended by wxWidgets $as_me 2.9.5, which was
42019 generated by GNU Autoconf 2.69. Invocation command line was
42020
42021 CONFIG_FILES = $CONFIG_FILES
42022 CONFIG_HEADERS = $CONFIG_HEADERS
42023 CONFIG_LINKS = $CONFIG_LINKS
42024 CONFIG_COMMANDS = $CONFIG_COMMANDS
42025 $ $0 $@
42026
42027 on `(hostname || uname -n) 2>/dev/null | sed 1q`
42028 "
42029
42030 _ACEOF
42031
42032 case $ac_config_files in *"
42033 "*) set x $ac_config_files; shift; ac_config_files=$*;;
42034 esac
42035
42036 case $ac_config_headers in *"
42037 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
42038 esac
42039
42040
42041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42042 # Files that config.status was made for.
42043 config_files="$ac_config_files"
42044 config_headers="$ac_config_headers"
42045 config_commands="$ac_config_commands"
42046
42047 _ACEOF
42048
42049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42050 ac_cs_usage="\
42051 \`$as_me' instantiates files and other configuration actions
42052 from templates according to the current configuration. Unless the files
42053 and actions are specified as TAGs, all are instantiated by default.
42054
42055 Usage: $0 [OPTION]... [TAG]...
42056
42057 -h, --help print this help, then exit
42058 -V, --version print version number and configuration settings, then exit
42059 --config print configuration, then exit
42060 -q, --quiet, --silent
42061 do not print progress messages
42062 -d, --debug don't remove temporary files
42063 --recheck update $as_me by reconfiguring in the same conditions
42064 --file=FILE[:TEMPLATE]
42065 instantiate the configuration file FILE
42066 --header=FILE[:TEMPLATE]
42067 instantiate the configuration header FILE
42068
42069 Configuration files:
42070 $config_files
42071
42072 Configuration headers:
42073 $config_headers
42074
42075 Configuration commands:
42076 $config_commands
42077
42078 Report bugs to <wx-dev@lists.wxwidgets.org>."
42079
42080 _ACEOF
42081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42082 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
42083 ac_cs_version="\\
42084 wxWidgets config.status 2.9.5
42085 configured by $0, generated by GNU Autoconf 2.69,
42086 with options \\"\$ac_cs_config\\"
42087
42088 Copyright (C) 2012 Free Software Foundation, Inc.
42089 This config.status script is free software; the Free Software Foundation
42090 gives unlimited permission to copy, distribute and modify it."
42091
42092 ac_pwd='$ac_pwd'
42093 srcdir='$srcdir'
42094 INSTALL='$INSTALL'
42095 test -n "\$AWK" || AWK=awk
42096 _ACEOF
42097
42098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42099 # The default lists apply if the user does not specify any file.
42100 ac_need_defaults=:
42101 while test $# != 0
42102 do
42103 case $1 in
42104 --*=?*)
42105 ac_option=`expr "X$1" : 'X\([^=]*\)='`
42106 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
42107 ac_shift=:
42108 ;;
42109 --*=)
42110 ac_option=`expr "X$1" : 'X\([^=]*\)='`
42111 ac_optarg=
42112 ac_shift=:
42113 ;;
42114 *)
42115 ac_option=$1
42116 ac_optarg=$2
42117 ac_shift=shift
42118 ;;
42119 esac
42120
42121 case $ac_option in
42122 # Handling of the options.
42123 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42124 ac_cs_recheck=: ;;
42125 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42126 $as_echo "$ac_cs_version"; exit ;;
42127 --config | --confi | --conf | --con | --co | --c )
42128 $as_echo "$ac_cs_config"; exit ;;
42129 --debug | --debu | --deb | --de | --d | -d )
42130 debug=: ;;
42131 --file | --fil | --fi | --f )
42132 $ac_shift
42133 case $ac_optarg in
42134 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42135 '') as_fn_error $? "missing file argument" ;;
42136 esac
42137 as_fn_append CONFIG_FILES " '$ac_optarg'"
42138 ac_need_defaults=false;;
42139 --header | --heade | --head | --hea )
42140 $ac_shift
42141 case $ac_optarg in
42142 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42143 esac
42144 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
42145 ac_need_defaults=false;;
42146 --he | --h)
42147 # Conflict between --help and --header
42148 as_fn_error $? "ambiguous option: \`$1'
42149 Try \`$0 --help' for more information.";;
42150 --help | --hel | -h )
42151 $as_echo "$ac_cs_usage"; exit ;;
42152 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42153 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42154 ac_cs_silent=: ;;
42155
42156 # This is an error.
42157 -*) as_fn_error $? "unrecognized option: \`$1'
42158 Try \`$0 --help' for more information." ;;
42159
42160 *) as_fn_append ac_config_targets " $1"
42161 ac_need_defaults=false ;;
42162
42163 esac
42164 shift
42165 done
42166
42167 ac_configure_extra_args=
42168
42169 if $ac_cs_silent; then
42170 exec 6>/dev/null
42171 ac_configure_extra_args="$ac_configure_extra_args --silent"
42172 fi
42173
42174 _ACEOF
42175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42176 if \$ac_cs_recheck; then
42177 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42178 shift
42179 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42180 CONFIG_SHELL='$SHELL'
42181 export CONFIG_SHELL
42182 exec "\$@"
42183 fi
42184
42185 _ACEOF
42186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42187 exec 5>>config.log
42188 {
42189 echo
42190 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42191 ## Running $as_me. ##
42192 _ASBOX
42193 $as_echo "$ac_log"
42194 } >&5
42195
42196 _ACEOF
42197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42198 #
42199 # INIT-COMMANDS
42200 #
42201
42202 CPP="$CPP"
42203 infile="$srcdir/include/wx/msw/genrcdefs.h"
42204 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42205
42206
42207 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42208 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42209 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42210 LN_S="${LN_S}"
42211
42212
42213 _ACEOF
42214
42215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42216
42217 # Handling of arguments.
42218 for ac_config_target in $ac_config_targets
42219 do
42220 case $ac_config_target in
42221 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42222 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
42223 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42224 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42225 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42226 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
42227 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42228 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
42229 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
42230
42231 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42232 esac
42233 done
42234
42235
42236 # If the user did not use the arguments to specify the items to instantiate,
42237 # then the envvar interface is used. Set only those that are not.
42238 # We use the long form for the default assignment because of an extremely
42239 # bizarre bug on SunOS 4.1.3.
42240 if $ac_need_defaults; then
42241 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42242 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42243 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42244 fi
42245
42246 # Have a temporary directory for convenience. Make it in the build tree
42247 # simply because there is no reason against having it here, and in addition,
42248 # creating and moving files from /tmp can sometimes cause problems.
42249 # Hook for its removal unless debugging.
42250 # Note that there is a small window in which the directory will not be cleaned:
42251 # after its creation but before its name has been assigned to `$tmp'.
42252 $debug ||
42253 {
42254 tmp= ac_tmp=
42255 trap 'exit_status=$?
42256 : "${ac_tmp:=$tmp}"
42257 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42258 ' 0
42259 trap 'as_fn_exit 1' 1 2 13 15
42260 }
42261 # Create a (secure) tmp directory for tmp files.
42262
42263 {
42264 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42265 test -d "$tmp"
42266 } ||
42267 {
42268 tmp=./conf$$-$RANDOM
42269 (umask 077 && mkdir "$tmp")
42270 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
42271 ac_tmp=$tmp
42272
42273 # Set up the scripts for CONFIG_FILES section.
42274 # No need to generate them if there are no CONFIG_FILES.
42275 # This happens for instance with `./config.status config.h'.
42276 if test -n "$CONFIG_FILES"; then
42277
42278
42279 ac_cr=`echo X | tr X '\015'`
42280 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42281 # But we know of no other shell where ac_cr would be empty at this
42282 # point, so we can use a bashism as a fallback.
42283 if test "x$ac_cr" = x; then
42284 eval ac_cr=\$\'\\r\'
42285 fi
42286 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42287 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42288 ac_cs_awk_cr='\\r'
42289 else
42290 ac_cs_awk_cr=$ac_cr
42291 fi
42292
42293 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42294 _ACEOF
42295
42296
42297 {
42298 echo "cat >conf$$subs.awk <<_ACEOF" &&
42299 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42300 echo "_ACEOF"
42301 } >conf$$subs.sh ||
42302 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42303 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42304 ac_delim='%!_!# '
42305 for ac_last_try in false false false false false :; do
42306 . ./conf$$subs.sh ||
42307 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42308
42309 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
42310 if test $ac_delim_n = $ac_delim_num; then
42311 break
42312 elif $ac_last_try; then
42313 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42314 else
42315 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42316 fi
42317 done
42318 rm -f conf$$subs.sh
42319
42320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42321 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
42322 _ACEOF
42323 sed -n '
42324 h
42325 s/^/S["/; s/!.*/"]=/
42326 p
42327 g
42328 s/^[^!]*!//
42329 :repl
42330 t repl
42331 s/'"$ac_delim"'$//
42332 t delim
42333 :nl
42334 h
42335 s/\(.\{148\}\)..*/\1/
42336 t more1
42337 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
42338 p
42339 n
42340 b repl
42341 :more1
42342 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42343 p
42344 g
42345 s/.\{148\}//
42346 t nl
42347 :delim
42348 h
42349 s/\(.\{148\}\)..*/\1/
42350 t more2
42351 s/["\\]/\\&/g; s/^/"/; s/$/"/
42352 p
42353 b
42354 :more2
42355 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42356 p
42357 g
42358 s/.\{148\}//
42359 t delim
42360 ' <conf$$subs.awk | sed '
42361 /^[^""]/{
42362 N
42363 s/\n//
42364 }
42365 ' >>$CONFIG_STATUS || ac_write_fail=1
42366 rm -f conf$$subs.awk
42367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42368 _ACAWK
42369 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
42370 for (key in S) S_is_set[key] = 1
42371 FS = "\a"
42372
42373 }
42374 {
42375 line = $ 0
42376 nfields = split(line, field, "@")
42377 substed = 0
42378 len = length(field[1])
42379 for (i = 2; i < nfields; i++) {
42380 key = field[i]
42381 keylen = length(key)
42382 if (S_is_set[key]) {
42383 value = S[key]
42384 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42385 len += length(value) + length(field[++i])
42386 substed = 1
42387 } else
42388 len += 1 + keylen
42389 }
42390
42391 print line
42392 }
42393
42394 _ACAWK
42395 _ACEOF
42396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42397 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42398 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
42399 else
42400 cat
42401 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
42402 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
42403 _ACEOF
42404
42405 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42406 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
42407 # trailing colons and then remove the whole line if VPATH becomes empty
42408 # (actually we leave an empty line to preserve line numbers).
42409 if test "x$srcdir" = x.; then
42410 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
42411 h
42412 s///
42413 s/^/:/
42414 s/[ ]*$/:/
42415 s/:\$(srcdir):/:/g
42416 s/:\${srcdir}:/:/g
42417 s/:@srcdir@:/:/g
42418 s/^:*//
42419 s/:*$//
42420 x
42421 s/\(=[ ]*\).*/\1/
42422 G
42423 s/\n//
42424 s/^[^=]*=[ ]*$//
42425 }'
42426 fi
42427
42428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42429 fi # test -n "$CONFIG_FILES"
42430
42431 # Set up the scripts for CONFIG_HEADERS section.
42432 # No need to generate them if there are no CONFIG_HEADERS.
42433 # This happens for instance with `./config.status Makefile'.
42434 if test -n "$CONFIG_HEADERS"; then
42435 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
42436 BEGIN {
42437 _ACEOF
42438
42439 # Transform confdefs.h into an awk script `defines.awk', embedded as
42440 # here-document in config.status, that substitutes the proper values into
42441 # config.h.in to produce config.h.
42442
42443 # Create a delimiter string that does not exist in confdefs.h, to ease
42444 # handling of long lines.
42445 ac_delim='%!_!# '
42446 for ac_last_try in false false :; do
42447 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
42448 if test -z "$ac_tt"; then
42449 break
42450 elif $ac_last_try; then
42451 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
42452 else
42453 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42454 fi
42455 done
42456
42457 # For the awk script, D is an array of macro values keyed by name,
42458 # likewise P contains macro parameters if any. Preserve backslash
42459 # newline sequences.
42460
42461 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42462 sed -n '
42463 s/.\{148\}/&'"$ac_delim"'/g
42464 t rset
42465 :rset
42466 s/^[ ]*#[ ]*define[ ][ ]*/ /
42467 t def
42468 d
42469 :def
42470 s/\\$//
42471 t bsnl
42472 s/["\\]/\\&/g
42473 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42474 D["\1"]=" \3"/p
42475 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
42476 d
42477 :bsnl
42478 s/["\\]/\\&/g
42479 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42480 D["\1"]=" \3\\\\\\n"\\/p
42481 t cont
42482 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
42483 t cont
42484 d
42485 :cont
42486 n
42487 s/.\{148\}/&'"$ac_delim"'/g
42488 t clear
42489 :clear
42490 s/\\$//
42491 t bsnlc
42492 s/["\\]/\\&/g; s/^/"/; s/$/"/p
42493 d
42494 :bsnlc
42495 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
42496 b cont
42497 ' <confdefs.h | sed '
42498 s/'"$ac_delim"'/"\\\
42499 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42500
42501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42502 for (key in D) D_is_set[key] = 1
42503 FS = "\a"
42504 }
42505 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42506 line = \$ 0
42507 split(line, arg, " ")
42508 if (arg[1] == "#") {
42509 defundef = arg[2]
42510 mac1 = arg[3]
42511 } else {
42512 defundef = substr(arg[1], 2)
42513 mac1 = arg[2]
42514 }
42515 split(mac1, mac2, "(") #)
42516 macro = mac2[1]
42517 prefix = substr(line, 1, index(line, defundef) - 1)
42518 if (D_is_set[macro]) {
42519 # Preserve the white space surrounding the "#".
42520 print prefix "define", macro P[macro] D[macro]
42521 next
42522 } else {
42523 # Replace #undef with comments. This is necessary, for example,
42524 # in the case of _POSIX_SOURCE, which is predefined and required
42525 # on some systems where configure will not decide to define it.
42526 if (defundef == "undef") {
42527 print "/*", prefix defundef, macro, "*/"
42528 next
42529 }
42530 }
42531 }
42532 { print }
42533 _ACAWK
42534 _ACEOF
42535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42536 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
42537 fi # test -n "$CONFIG_HEADERS"
42538
42539
42540 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42541 shift
42542 for ac_tag
42543 do
42544 case $ac_tag in
42545 :[FHLC]) ac_mode=$ac_tag; continue;;
42546 esac
42547 case $ac_mode$ac_tag in
42548 :[FHL]*:*);;
42549 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
42550 :[FH]-) ac_tag=-:-;;
42551 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
42552 esac
42553 ac_save_IFS=$IFS
42554 IFS=:
42555 set x $ac_tag
42556 IFS=$ac_save_IFS
42557 shift
42558 ac_file=$1
42559 shift
42560
42561 case $ac_mode in
42562 :L) ac_source=$1;;
42563 :[FH])
42564 ac_file_inputs=
42565 for ac_f
42566 do
42567 case $ac_f in
42568 -) ac_f="$ac_tmp/stdin";;
42569 *) # Look for the file first in the build tree, then in the source tree
42570 # (if the path is not absolute). The absolute path cannot be DOS-style,
42571 # because $ac_f cannot contain `:'.
42572 test -f "$ac_f" ||
42573 case $ac_f in
42574 [\\/$]*) false;;
42575 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
42576 esac ||
42577 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42578 esac
42579 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42580 as_fn_append ac_file_inputs " '$ac_f'"
42581 done
42582
42583 # Let's still pretend it is `configure' which instantiates (i.e., don't
42584 # use $as_me), people would be surprised to read:
42585 # /* config.h. Generated by config.status. */
42586 configure_input='Generated from '`
42587 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42588 `' by configure.'
42589 if test x"$ac_file" != x-; then
42590 configure_input="$ac_file. $configure_input"
42591 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42592 $as_echo "$as_me: creating $ac_file" >&6;}
42593 fi
42594 # Neutralize special characters interpreted by sed in replacement strings.
42595 case $configure_input in #(
42596 *\&* | *\|* | *\\* )
42597 ac_sed_conf_input=`$as_echo "$configure_input" |
42598 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42599 *) ac_sed_conf_input=$configure_input;;
42600 esac
42601
42602 case $ac_tag in
42603 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42604 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
42605 esac
42606 ;;
42607 esac
42608
42609 ac_dir=`$as_dirname -- "$ac_file" ||
42610 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42611 X"$ac_file" : 'X\(//\)[^/]' \| \
42612 X"$ac_file" : 'X\(//\)$' \| \
42613 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42614 $as_echo X"$ac_file" |
42615 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42616 s//\1/
42617 q
42618 }
42619 /^X\(\/\/\)[^/].*/{
42620 s//\1/
42621 q
42622 }
42623 /^X\(\/\/\)$/{
42624 s//\1/
42625 q
42626 }
42627 /^X\(\/\).*/{
42628 s//\1/
42629 q
42630 }
42631 s/.*/./; q'`
42632 as_dir="$ac_dir"; as_fn_mkdir_p
42633 ac_builddir=.
42634
42635 case "$ac_dir" in
42636 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42637 *)
42638 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42639 # A ".." for each directory in $ac_dir_suffix.
42640 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42641 case $ac_top_builddir_sub in
42642 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42643 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42644 esac ;;
42645 esac
42646 ac_abs_top_builddir=$ac_pwd
42647 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42648 # for backward compatibility:
42649 ac_top_builddir=$ac_top_build_prefix
42650
42651 case $srcdir in
42652 .) # We are building in place.
42653 ac_srcdir=.
42654 ac_top_srcdir=$ac_top_builddir_sub
42655 ac_abs_top_srcdir=$ac_pwd ;;
42656 [\\/]* | ?:[\\/]* ) # Absolute name.
42657 ac_srcdir=$srcdir$ac_dir_suffix;
42658 ac_top_srcdir=$srcdir
42659 ac_abs_top_srcdir=$srcdir ;;
42660 *) # Relative name.
42661 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42662 ac_top_srcdir=$ac_top_build_prefix$srcdir
42663 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42664 esac
42665 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42666
42667
42668 case $ac_mode in
42669 :F)
42670 #
42671 # CONFIG_FILE
42672 #
42673
42674 case $INSTALL in
42675 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42676 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
42677 esac
42678 _ACEOF
42679
42680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42681 # If the template does not know about datarootdir, expand it.
42682 # FIXME: This hack should be removed a few years after 2.60.
42683 ac_datarootdir_hack=; ac_datarootdir_seen=
42684 ac_sed_dataroot='
42685 /datarootdir/ {
42686 p
42687 q
42688 }
42689 /@datadir@/p
42690 /@docdir@/p
42691 /@infodir@/p
42692 /@localedir@/p
42693 /@mandir@/p'
42694 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42695 *datarootdir*) ac_datarootdir_seen=yes;;
42696 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
42697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42698 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42699 _ACEOF
42700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42701 ac_datarootdir_hack='
42702 s&@datadir@&$datadir&g
42703 s&@docdir@&$docdir&g
42704 s&@infodir@&$infodir&g
42705 s&@localedir@&$localedir&g
42706 s&@mandir@&$mandir&g
42707 s&\\\${datarootdir}&$datarootdir&g' ;;
42708 esac
42709 _ACEOF
42710
42711 # Neutralize VPATH when `$srcdir' = `.'.
42712 # Shell code in configure.ac might set extrasub.
42713 # FIXME: do we really want to maintain this feature?
42714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42715 ac_sed_extra="$ac_vpsub
42716 $extrasub
42717 _ACEOF
42718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42719 :t
42720 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42721 s|@configure_input@|$ac_sed_conf_input|;t t
42722 s&@top_builddir@&$ac_top_builddir_sub&;t t
42723 s&@top_build_prefix@&$ac_top_build_prefix&;t t
42724 s&@srcdir@&$ac_srcdir&;t t
42725 s&@abs_srcdir@&$ac_abs_srcdir&;t t
42726 s&@top_srcdir@&$ac_top_srcdir&;t t
42727 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42728 s&@builddir@&$ac_builddir&;t t
42729 s&@abs_builddir@&$ac_abs_builddir&;t t
42730 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42731 s&@INSTALL@&$ac_INSTALL&;t t
42732 $ac_datarootdir_hack
42733 "
42734 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
42735 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42736
42737 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42738 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
42739 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
42740 "$ac_tmp/out"`; test -z "$ac_out"; } &&
42741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42742 which seems to be undefined. Please make sure it is defined" >&5
42743 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42744 which seems to be undefined. Please make sure it is defined" >&2;}
42745
42746 rm -f "$ac_tmp/stdin"
42747 case $ac_file in
42748 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42749 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42750 esac \
42751 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42752 ;;
42753 :H)
42754 #
42755 # CONFIG_HEADER
42756 #
42757 if test x"$ac_file" != x-; then
42758 {
42759 $as_echo "/* $configure_input */" \
42760 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42761 } >"$ac_tmp/config.h" \
42762 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42763 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42764 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42765 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42766 else
42767 rm -f "$ac_file"
42768 mv "$ac_tmp/config.h" "$ac_file" \
42769 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42770 fi
42771 else
42772 $as_echo "/* $configure_input */" \
42773 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42774 || as_fn_error $? "could not create -" "$LINENO" 5
42775 fi
42776 ;;
42777
42778 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42779 $as_echo "$as_me: executing $ac_file commands" >&6;}
42780 ;;
42781 esac
42782
42783
42784 case $ac_file$ac_mode in
42785 "rcdefs.h":C)
42786 mkdir -p $outdir &&
42787 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42788 ;;
42789 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42790 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42791 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
42792 "wx-config":C) rm -f wx-config
42793 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42794 ;;
42795
42796 esac
42797 done # for ac_tag
42798
42799
42800 as_fn_exit 0
42801 _ACEOF
42802 ac_clean_files=$ac_clean_files_save
42803
42804 test $ac_write_fail = 0 ||
42805 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
42806
42807
42808 # configure is writing to config.log, and then calls config.status.
42809 # config.status does its own redirection, appending to config.log.
42810 # Unfortunately, on DOS this fails, as config.log is still kept open
42811 # by configure, so config.status won't be able to write to it; its
42812 # output is simply discarded. So we exec the FD to /dev/null,
42813 # effectively closing config.log, so it can be properly (re)opened and
42814 # appended to by config.status. When coming back to configure, we
42815 # need to make the FD available again.
42816 if test "$no_create" != yes; then
42817 ac_cs_success=:
42818 ac_config_status_args=
42819 test "$silent" = yes &&
42820 ac_config_status_args="$ac_config_status_args --quiet"
42821 exec 5>/dev/null
42822 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42823 exec 5>>config.log
42824 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42825 # would make configure fail if this is the last instruction.
42826 $ac_cs_success || as_fn_exit 1
42827 fi
42828
42829 #
42830 # CONFIG_SUBDIRS section.
42831 #
42832 if test "$no_recursion" != yes; then
42833
42834 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42835 # so they do not pile up.
42836 ac_sub_configure_args=
42837 ac_prev=
42838 eval "set x $ac_configure_args"
42839 shift
42840 for ac_arg
42841 do
42842 if test -n "$ac_prev"; then
42843 ac_prev=
42844 continue
42845 fi
42846 case $ac_arg in
42847 -cache-file | --cache-file | --cache-fil | --cache-fi \
42848 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42849 ac_prev=cache_file ;;
42850 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42851 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42852 | --c=*)
42853 ;;
42854 --config-cache | -C)
42855 ;;
42856 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42857 ac_prev=srcdir ;;
42858 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42859 ;;
42860 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42861 ac_prev=prefix ;;
42862 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42863 ;;
42864 --disable-option-checking)
42865 ;;
42866 *)
42867 case $ac_arg in
42868 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42869 esac
42870 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
42871 esac
42872 done
42873
42874 # Always prepend --prefix to ensure using the same prefix
42875 # in subdir configurations.
42876 ac_arg="--prefix=$prefix"
42877 case $ac_arg in
42878 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42879 esac
42880 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
42881
42882 # Pass --silent
42883 if test "$silent" = yes; then
42884 ac_sub_configure_args="--silent $ac_sub_configure_args"
42885 fi
42886
42887 # Always prepend --disable-option-checking to silence warnings, since
42888 # different subdirs can have different --enable and --with options.
42889 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
42890
42891 ac_popdir=`pwd`
42892 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
42893
42894 # Do not complain, so a configure script can configure whichever
42895 # parts of a large source tree are present.
42896 test -d "$srcdir/$ac_dir" || continue
42897
42898 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42899 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42900 $as_echo "$ac_msg" >&6
42901 as_dir="$ac_dir"; as_fn_mkdir_p
42902 ac_builddir=.
42903
42904 case "$ac_dir" in
42905 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42906 *)
42907 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42908 # A ".." for each directory in $ac_dir_suffix.
42909 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42910 case $ac_top_builddir_sub in
42911 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42912 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42913 esac ;;
42914 esac
42915 ac_abs_top_builddir=$ac_pwd
42916 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42917 # for backward compatibility:
42918 ac_top_builddir=$ac_top_build_prefix
42919
42920 case $srcdir in
42921 .) # We are building in place.
42922 ac_srcdir=.
42923 ac_top_srcdir=$ac_top_builddir_sub
42924 ac_abs_top_srcdir=$ac_pwd ;;
42925 [\\/]* | ?:[\\/]* ) # Absolute name.
42926 ac_srcdir=$srcdir$ac_dir_suffix;
42927 ac_top_srcdir=$srcdir
42928 ac_abs_top_srcdir=$srcdir ;;
42929 *) # Relative name.
42930 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42931 ac_top_srcdir=$ac_top_build_prefix$srcdir
42932 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42933 esac
42934 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42935
42936
42937 cd "$ac_dir"
42938
42939 # Check for guested configure; otherwise get Cygnus style configure.
42940 if test -f "$ac_srcdir/configure.gnu"; then
42941 ac_sub_configure=$ac_srcdir/configure.gnu
42942 elif test -f "$ac_srcdir/configure"; then
42943 ac_sub_configure=$ac_srcdir/configure
42944 elif test -f "$ac_srcdir/configure.in"; then
42945 # This should be Cygnus configure.
42946 ac_sub_configure=$ac_aux_dir/configure
42947 else
42948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
42949 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42950 ac_sub_configure=
42951 fi
42952
42953 # The recursion is here.
42954 if test -n "$ac_sub_configure"; then
42955 # Make the cache file name correct relative to the subdirectory.
42956 case $cache_file in
42957 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
42958 *) # Relative name.
42959 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
42960 esac
42961
42962 { $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
42963 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42964 # The eval makes quoting arguments work.
42965 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
42966 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
42967 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
42968 fi
42969
42970 cd "$ac_popdir"
42971 done
42972 fi
42973 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
42974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
42975 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
42976 fi
42977
42978
42979 echo
42980 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42981 echo ""
42982 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
42983 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42984 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
42985 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
42986 if test "$wxUSE_UNICODE" = "yes"; then
42987 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
42988 echo " (using UTF-8)"
42989 else
42990 echo " (using wchar_t)"
42991 fi
42992 else
42993 echo
42994 fi
42995
42996 echo " What level of wxWidgets compatibility should be enabled?"
42997 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
42998 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
42999
43000 echo " Which libraries should wxWidgets use?"
43001 echo " STL ${wxUSE_STL}"
43002 echo " jpeg ${wxUSE_LIBJPEG-none}"
43003 echo " png ${wxUSE_LIBPNG-none}"
43004 echo " regex ${wxUSE_REGEX}"
43005 echo " tiff ${wxUSE_LIBTIFF-none}"
43006 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43007 echo " xpm ${wxUSE_LIBXPM-none}"
43008 fi
43009 echo " zlib ${wxUSE_ZLIB}"
43010 echo " expat ${wxUSE_EXPAT}"
43011 echo " libmspack ${wxUSE_LIBMSPACK}"
43012 echo " sdl ${wxUSE_LIBSDL}"
43013
43014 echo ""
43015