]> git.saurik.com Git - wxWidgets.git/blob - configure
Removed 3D style for splitter on Mac since it looks bad
[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_libjbig
1108 with_liblzma
1109 with_libxpm
1110 with_libiconv
1111 with_libmspack
1112 with_gtkprint
1113 with_gnomeprint
1114 with_gnomevfs
1115 with_libnotify
1116 with_hildon
1117 with_opengl
1118 with_dmalloc
1119 with_sdl
1120 with_regex
1121 with_zlib
1122 with_expat
1123 with_macosx_sdk
1124 with_macosx_version_min
1125 enable_debug
1126 enable_debug_flag
1127 enable_debug_info
1128 enable_debug_gdb
1129 enable_debug_cntxt
1130 enable_mem_tracing
1131 enable_shared
1132 enable_stl
1133 enable_std_containers
1134 enable_std_iostreams
1135 enable_std_string
1136 enable_std_string_conv_in_wxstring
1137 enable_unicode
1138 enable_mslu
1139 enable_utf8
1140 enable_utf8only
1141 enable_extended_rtti
1142 enable_omf
1143 enable_optimise
1144 enable_profile
1145 enable_no_rtti
1146 enable_no_exceptions
1147 enable_permissive
1148 enable_no_deps
1149 enable_vararg_macros
1150 enable_universal_binary
1151 enable_macosx_arch
1152 enable_compat26
1153 enable_compat28
1154 enable_rpath
1155 enable_objc_uniquifying
1156 enable_visibility
1157 enable_tls
1158 enable_intl
1159 enable_xlocale
1160 enable_config
1161 enable_protocols
1162 enable_ftp
1163 enable_http
1164 enable_fileproto
1165 enable_sockets
1166 enable_ipv6
1167 enable_ole
1168 enable_dataobj
1169 enable_ipc
1170 enable_baseevtloop
1171 enable_epollloop
1172 enable_selectloop
1173 enable_any
1174 enable_apple_ieee
1175 enable_arcstream
1176 enable_base64
1177 enable_backtrace
1178 enable_catch_segvs
1179 enable_cmdline
1180 enable_datetime
1181 enable_debugreport
1182 enable_dialupman
1183 enable_dynlib
1184 enable_dynamicloader
1185 enable_exceptions
1186 enable_ffile
1187 enable_file
1188 enable_filehistory
1189 enable_filesystem
1190 enable_fontenum
1191 enable_fontmap
1192 enable_fs_archive
1193 enable_fs_inet
1194 enable_fs_zip
1195 enable_fsvolume
1196 enable_fswatcher
1197 enable_geometry
1198 enable_log
1199 enable_longlong
1200 enable_mimetype
1201 enable_printfposparam
1202 enable_snglinst
1203 enable_sound
1204 enable_stdpaths
1205 enable_stopwatch
1206 enable_streams
1207 enable_sysoptions
1208 enable_tarstream
1209 enable_textbuf
1210 enable_textfile
1211 enable_timer
1212 enable_variant
1213 enable_zipstream
1214 enable_url
1215 enable_protocol
1216 enable_protocol_http
1217 enable_protocol_ftp
1218 enable_protocol_file
1219 enable_threads
1220 enable_iniconf
1221 enable_regkey
1222 enable_docview
1223 enable_help
1224 enable_mshtmlhelp
1225 enable_html
1226 enable_htmlhelp
1227 enable_xrc
1228 enable_aui
1229 enable_propgrid
1230 enable_ribbon
1231 enable_stc
1232 enable_constraints
1233 enable_loggui
1234 enable_logwin
1235 enable_logdialog
1236 enable_mdi
1237 enable_mdidoc
1238 enable_mediactrl
1239 enable_gstreamer8
1240 enable_richtext
1241 enable_postscript
1242 enable_printarch
1243 enable_svg
1244 enable_webkit
1245 enable_webview
1246 enable_graphics_ctx
1247 enable_clipboard
1248 enable_dnd
1249 enable_controls
1250 enable_markup
1251 enable_accel
1252 enable_animatectrl
1253 enable_bannerwindow
1254 enable_artstd
1255 enable_arttango
1256 enable_bmpbutton
1257 enable_bmpcombobox
1258 enable_button
1259 enable_calendar
1260 enable_caret
1261 enable_checkbox
1262 enable_checklst
1263 enable_choice
1264 enable_choicebook
1265 enable_collpane
1266 enable_colourpicker
1267 enable_combobox
1268 enable_comboctrl
1269 enable_commandlinkbutton
1270 enable_dataviewctrl
1271 enable_datepick
1272 enable_detect_sm
1273 enable_dirpicker
1274 enable_display
1275 enable_editablebox
1276 enable_filectrl
1277 enable_filepicker
1278 enable_fontpicker
1279 enable_gauge
1280 enable_grid
1281 enable_headerctrl
1282 enable_hyperlink
1283 enable_imaglist
1284 enable_infobar
1285 enable_listbook
1286 enable_listbox
1287 enable_listctrl
1288 enable_notebook
1289 enable_notifmsg
1290 enable_odcombobox
1291 enable_popupwin
1292 enable_radiobox
1293 enable_radiobtn
1294 enable_richmsgdlg
1295 enable_richtooltip
1296 enable_rearrangectrl
1297 enable_sash
1298 enable_scrollbar
1299 enable_searchctrl
1300 enable_slider
1301 enable_spinbtn
1302 enable_spinctrl
1303 enable_splitter
1304 enable_statbmp
1305 enable_statbox
1306 enable_statline
1307 enable_stattext
1308 enable_statusbar
1309 enable_taskbaricon
1310 enable_tbarnative
1311 enable_textctrl
1312 enable_tipwindow
1313 enable_togglebtn
1314 enable_toolbar
1315 enable_toolbook
1316 enable_treebook
1317 enable_treectrl
1318 enable_treelist
1319 enable_commondlg
1320 enable_aboutdlg
1321 enable_choicedlg
1322 enable_coldlg
1323 enable_filedlg
1324 enable_finddlg
1325 enable_fontdlg
1326 enable_dirdlg
1327 enable_msgdlg
1328 enable_numberdlg
1329 enable_splash
1330 enable_textdlg
1331 enable_tipdlg
1332 enable_progressdlg
1333 enable_wizarddlg
1334 enable_menus
1335 enable_miniframe
1336 enable_tooltips
1337 enable_splines
1338 enable_mousewheel
1339 enable_validators
1340 enable_busyinfo
1341 enable_hotkey
1342 enable_joystick
1343 enable_metafile
1344 enable_dragimage
1345 enable_accessibility
1346 enable_uiactionsim
1347 enable_dctransform
1348 enable_webviewwebkit
1349 enable_palette
1350 enable_image
1351 enable_gif
1352 enable_pcx
1353 enable_tga
1354 enable_iff
1355 enable_pnm
1356 enable_xpm
1357 enable_ico_cur
1358 enable_dccache
1359 enable_ps_in_msw
1360 enable_ownerdrawn
1361 enable_uxtheme
1362 enable_wxdib
1363 enable_webviewie
1364 enable_autoidman
1365 enable_largefile
1366 enable_gtktest
1367 with_gtk_prefix
1368 with_gtk_exec_prefix
1369 with_x
1370 with_libiconv_prefix
1371 with_sdl_prefix
1372 with_sdl_exec_prefix
1373 enable_sdltest
1374 enable_dependency_tracking
1375 enable_precomp_headers
1376 with_cppunit_prefix
1377 with_cppunit_exec_prefix
1378 '
1379 ac_precious_vars='build_alias
1380 host_alias
1381 target_alias
1382 CC
1383 CFLAGS
1384 LDFLAGS
1385 LIBS
1386 CPPFLAGS
1387 CPP
1388 CXX
1389 CXXFLAGS
1390 CCC
1391 CXXCPP
1392 PKG_CONFIG
1393 DIRECTFB_CFLAGS
1394 DIRECTFB_LIBS
1395 XMKMF
1396 PANGOX_CFLAGS
1397 PANGOX_LIBS
1398 PANGOFT2_CFLAGS
1399 PANGOFT2_LIBS
1400 PANGOXFT_CFLAGS
1401 PANGOXFT_LIBS
1402 Xinerama_CFLAGS
1403 Xinerama_LIBS
1404 Xxf86vm_CFLAGS
1405 Xxf86vm_LIBS
1406 SM_CFLAGS
1407 SM_LIBS
1408 GL_CFLAGS
1409 GL_LIBS
1410 GLU_CFLAGS
1411 GLU_LIBS
1412 MesaGL_CFLAGS
1413 MesaGL_LIBS
1414 GTKPRINT_CFLAGS
1415 GTKPRINT_LIBS
1416 LIBGNOMEPRINTUI_CFLAGS
1417 LIBGNOMEPRINTUI_LIBS
1418 GNOMEVFS_CFLAGS
1419 GNOMEVFS_LIBS
1420 LIBNOTIFY_CFLAGS
1421 LIBNOTIFY_LIBS
1422 HILDON_CFLAGS
1423 HILDON_LIBS
1424 HILDON2_CFLAGS
1425 HILDON2_LIBS
1426 WEBKIT_CFLAGS
1427 WEBKIT_LIBS
1428 CAIRO_CFLAGS
1429 CAIRO_LIBS
1430 GST_CFLAGS
1431 GST_LIBS'
1432 ac_subdirs_all='src/tiff
1433 src/expat'
1434
1435 # Initialize some variables set by options.
1436 ac_init_help=
1437 ac_init_version=false
1438 ac_unrecognized_opts=
1439 ac_unrecognized_sep=
1440 # The variables have the same names as the options, with
1441 # dashes changed to underlines.
1442 cache_file=/dev/null
1443 exec_prefix=NONE
1444 no_create=
1445 no_recursion=
1446 prefix=NONE
1447 program_prefix=NONE
1448 program_suffix=NONE
1449 program_transform_name=s,x,x,
1450 silent=
1451 site=
1452 srcdir=
1453 verbose=
1454 x_includes=NONE
1455 x_libraries=NONE
1456
1457 # Installation directory options.
1458 # These are left unexpanded so users can "make install exec_prefix=/foo"
1459 # and all the variables that are supposed to be based on exec_prefix
1460 # by default will actually change.
1461 # Use braces instead of parens because sh, perl, etc. also accept them.
1462 # (The list follows the same order as the GNU Coding Standards.)
1463 bindir='${exec_prefix}/bin'
1464 sbindir='${exec_prefix}/sbin'
1465 libexecdir='${exec_prefix}/libexec'
1466 datarootdir='${prefix}/share'
1467 datadir='${datarootdir}'
1468 sysconfdir='${prefix}/etc'
1469 sharedstatedir='${prefix}/com'
1470 localstatedir='${prefix}/var'
1471 includedir='${prefix}/include'
1472 oldincludedir='/usr/include'
1473 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1474 infodir='${datarootdir}/info'
1475 htmldir='${docdir}'
1476 dvidir='${docdir}'
1477 pdfdir='${docdir}'
1478 psdir='${docdir}'
1479 libdir='${exec_prefix}/lib'
1480 localedir='${datarootdir}/locale'
1481 mandir='${datarootdir}/man'
1482
1483 ac_prev=
1484 ac_dashdash=
1485 for ac_option
1486 do
1487 # If the previous option needs an argument, assign it.
1488 if test -n "$ac_prev"; then
1489 eval $ac_prev=\$ac_option
1490 ac_prev=
1491 continue
1492 fi
1493
1494 case $ac_option in
1495 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1496 *=) ac_optarg= ;;
1497 *) ac_optarg=yes ;;
1498 esac
1499
1500 # Accept the important Cygnus configure options, so we can diagnose typos.
1501
1502 case $ac_dashdash$ac_option in
1503 --)
1504 ac_dashdash=yes ;;
1505
1506 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1507 ac_prev=bindir ;;
1508 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1509 bindir=$ac_optarg ;;
1510
1511 -build | --build | --buil | --bui | --bu)
1512 ac_prev=build_alias ;;
1513 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1514 build_alias=$ac_optarg ;;
1515
1516 -cache-file | --cache-file | --cache-fil | --cache-fi \
1517 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1518 ac_prev=cache_file ;;
1519 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1520 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1521 cache_file=$ac_optarg ;;
1522
1523 --config-cache | -C)
1524 cache_file=config.cache ;;
1525
1526 -datadir | --datadir | --datadi | --datad)
1527 ac_prev=datadir ;;
1528 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1529 datadir=$ac_optarg ;;
1530
1531 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1532 | --dataroo | --dataro | --datar)
1533 ac_prev=datarootdir ;;
1534 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1535 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1536 datarootdir=$ac_optarg ;;
1537
1538 -disable-* | --disable-*)
1539 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1540 # Reject names that are not valid shell variable names.
1541 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1542 as_fn_error $? "invalid feature name: $ac_useropt"
1543 ac_useropt_orig=$ac_useropt
1544 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1545 case $ac_user_opts in
1546 *"
1547 "enable_$ac_useropt"
1548 "*) ;;
1549 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1550 ac_unrecognized_sep=', ';;
1551 esac
1552 eval enable_$ac_useropt=no ;;
1553
1554 -docdir | --docdir | --docdi | --doc | --do)
1555 ac_prev=docdir ;;
1556 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1557 docdir=$ac_optarg ;;
1558
1559 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1560 ac_prev=dvidir ;;
1561 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1562 dvidir=$ac_optarg ;;
1563
1564 -enable-* | --enable-*)
1565 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1566 # Reject names that are not valid shell variable names.
1567 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1568 as_fn_error $? "invalid feature name: $ac_useropt"
1569 ac_useropt_orig=$ac_useropt
1570 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1571 case $ac_user_opts in
1572 *"
1573 "enable_$ac_useropt"
1574 "*) ;;
1575 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1576 ac_unrecognized_sep=', ';;
1577 esac
1578 eval enable_$ac_useropt=\$ac_optarg ;;
1579
1580 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1581 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1582 | --exec | --exe | --ex)
1583 ac_prev=exec_prefix ;;
1584 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1585 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1586 | --exec=* | --exe=* | --ex=*)
1587 exec_prefix=$ac_optarg ;;
1588
1589 -gas | --gas | --ga | --g)
1590 # Obsolete; use --with-gas.
1591 with_gas=yes ;;
1592
1593 -help | --help | --hel | --he | -h)
1594 ac_init_help=long ;;
1595 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1596 ac_init_help=recursive ;;
1597 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1598 ac_init_help=short ;;
1599
1600 -host | --host | --hos | --ho)
1601 ac_prev=host_alias ;;
1602 -host=* | --host=* | --hos=* | --ho=*)
1603 host_alias=$ac_optarg ;;
1604
1605 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1606 ac_prev=htmldir ;;
1607 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1608 | --ht=*)
1609 htmldir=$ac_optarg ;;
1610
1611 -includedir | --includedir | --includedi | --included | --include \
1612 | --includ | --inclu | --incl | --inc)
1613 ac_prev=includedir ;;
1614 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1615 | --includ=* | --inclu=* | --incl=* | --inc=*)
1616 includedir=$ac_optarg ;;
1617
1618 -infodir | --infodir | --infodi | --infod | --info | --inf)
1619 ac_prev=infodir ;;
1620 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1621 infodir=$ac_optarg ;;
1622
1623 -libdir | --libdir | --libdi | --libd)
1624 ac_prev=libdir ;;
1625 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1626 libdir=$ac_optarg ;;
1627
1628 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1629 | --libexe | --libex | --libe)
1630 ac_prev=libexecdir ;;
1631 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1632 | --libexe=* | --libex=* | --libe=*)
1633 libexecdir=$ac_optarg ;;
1634
1635 -localedir | --localedir | --localedi | --localed | --locale)
1636 ac_prev=localedir ;;
1637 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1638 localedir=$ac_optarg ;;
1639
1640 -localstatedir | --localstatedir | --localstatedi | --localstated \
1641 | --localstate | --localstat | --localsta | --localst | --locals)
1642 ac_prev=localstatedir ;;
1643 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1644 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1645 localstatedir=$ac_optarg ;;
1646
1647 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1648 ac_prev=mandir ;;
1649 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1650 mandir=$ac_optarg ;;
1651
1652 -nfp | --nfp | --nf)
1653 # Obsolete; use --without-fp.
1654 with_fp=no ;;
1655
1656 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1657 | --no-cr | --no-c | -n)
1658 no_create=yes ;;
1659
1660 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1661 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1662 no_recursion=yes ;;
1663
1664 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1665 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1666 | --oldin | --oldi | --old | --ol | --o)
1667 ac_prev=oldincludedir ;;
1668 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1669 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1670 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1671 oldincludedir=$ac_optarg ;;
1672
1673 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1674 ac_prev=prefix ;;
1675 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1676 prefix=$ac_optarg ;;
1677
1678 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1679 | --program-pre | --program-pr | --program-p)
1680 ac_prev=program_prefix ;;
1681 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1682 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1683 program_prefix=$ac_optarg ;;
1684
1685 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1686 | --program-suf | --program-su | --program-s)
1687 ac_prev=program_suffix ;;
1688 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1689 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1690 program_suffix=$ac_optarg ;;
1691
1692 -program-transform-name | --program-transform-name \
1693 | --program-transform-nam | --program-transform-na \
1694 | --program-transform-n | --program-transform- \
1695 | --program-transform | --program-transfor \
1696 | --program-transfo | --program-transf \
1697 | --program-trans | --program-tran \
1698 | --progr-tra | --program-tr | --program-t)
1699 ac_prev=program_transform_name ;;
1700 -program-transform-name=* | --program-transform-name=* \
1701 | --program-transform-nam=* | --program-transform-na=* \
1702 | --program-transform-n=* | --program-transform-=* \
1703 | --program-transform=* | --program-transfor=* \
1704 | --program-transfo=* | --program-transf=* \
1705 | --program-trans=* | --program-tran=* \
1706 | --progr-tra=* | --program-tr=* | --program-t=*)
1707 program_transform_name=$ac_optarg ;;
1708
1709 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1710 ac_prev=pdfdir ;;
1711 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1712 pdfdir=$ac_optarg ;;
1713
1714 -psdir | --psdir | --psdi | --psd | --ps)
1715 ac_prev=psdir ;;
1716 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1717 psdir=$ac_optarg ;;
1718
1719 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1720 | -silent | --silent | --silen | --sile | --sil)
1721 silent=yes ;;
1722
1723 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1724 ac_prev=sbindir ;;
1725 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1726 | --sbi=* | --sb=*)
1727 sbindir=$ac_optarg ;;
1728
1729 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1730 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1731 | --sharedst | --shareds | --shared | --share | --shar \
1732 | --sha | --sh)
1733 ac_prev=sharedstatedir ;;
1734 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1735 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1736 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1737 | --sha=* | --sh=*)
1738 sharedstatedir=$ac_optarg ;;
1739
1740 -site | --site | --sit)
1741 ac_prev=site ;;
1742 -site=* | --site=* | --sit=*)
1743 site=$ac_optarg ;;
1744
1745 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1746 ac_prev=srcdir ;;
1747 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1748 srcdir=$ac_optarg ;;
1749
1750 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1751 | --syscon | --sysco | --sysc | --sys | --sy)
1752 ac_prev=sysconfdir ;;
1753 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1754 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1755 sysconfdir=$ac_optarg ;;
1756
1757 -target | --target | --targe | --targ | --tar | --ta | --t)
1758 ac_prev=target_alias ;;
1759 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1760 target_alias=$ac_optarg ;;
1761
1762 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1763 verbose=yes ;;
1764
1765 -version | --version | --versio | --versi | --vers | -V)
1766 ac_init_version=: ;;
1767
1768 -with-* | --with-*)
1769 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1770 # Reject names that are not valid shell variable names.
1771 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1772 as_fn_error $? "invalid package name: $ac_useropt"
1773 ac_useropt_orig=$ac_useropt
1774 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1775 case $ac_user_opts in
1776 *"
1777 "with_$ac_useropt"
1778 "*) ;;
1779 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1780 ac_unrecognized_sep=', ';;
1781 esac
1782 eval with_$ac_useropt=\$ac_optarg ;;
1783
1784 -without-* | --without-*)
1785 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1786 # Reject names that are not valid shell variable names.
1787 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1788 as_fn_error $? "invalid package name: $ac_useropt"
1789 ac_useropt_orig=$ac_useropt
1790 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1791 case $ac_user_opts in
1792 *"
1793 "with_$ac_useropt"
1794 "*) ;;
1795 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1796 ac_unrecognized_sep=', ';;
1797 esac
1798 eval with_$ac_useropt=no ;;
1799
1800 --x)
1801 # Obsolete; use --with-x.
1802 with_x=yes ;;
1803
1804 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1805 | --x-incl | --x-inc | --x-in | --x-i)
1806 ac_prev=x_includes ;;
1807 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1808 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1809 x_includes=$ac_optarg ;;
1810
1811 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1812 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1813 ac_prev=x_libraries ;;
1814 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1815 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1816 x_libraries=$ac_optarg ;;
1817
1818 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1819 Try \`$0 --help' for more information"
1820 ;;
1821
1822 *=*)
1823 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1824 # Reject names that are not valid shell variable names.
1825 case $ac_envvar in #(
1826 '' | [0-9]* | *[!_$as_cr_alnum]* )
1827 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1828 esac
1829 eval $ac_envvar=\$ac_optarg
1830 export $ac_envvar ;;
1831
1832 *)
1833 # FIXME: should be removed in autoconf 3.0.
1834 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1835 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1836 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1837 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1838 ;;
1839
1840 esac
1841 done
1842
1843 if test -n "$ac_prev"; then
1844 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1845 as_fn_error $? "missing argument to $ac_option"
1846 fi
1847
1848 if test -n "$ac_unrecognized_opts"; then
1849 case $enable_option_checking in
1850 no) ;;
1851 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1852 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1853 esac
1854 fi
1855
1856 # Check all directory arguments for consistency.
1857 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1858 datadir sysconfdir sharedstatedir localstatedir includedir \
1859 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1860 libdir localedir mandir
1861 do
1862 eval ac_val=\$$ac_var
1863 # Remove trailing slashes.
1864 case $ac_val in
1865 */ )
1866 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1867 eval $ac_var=\$ac_val;;
1868 esac
1869 # Be sure to have absolute directory names.
1870 case $ac_val in
1871 [\\/$]* | ?:[\\/]* ) continue;;
1872 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1873 esac
1874 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1875 done
1876
1877 # There might be people who depend on the old broken behavior: `$host'
1878 # used to hold the argument of --host etc.
1879 # FIXME: To remove some day.
1880 build=$build_alias
1881 host=$host_alias
1882 target=$target_alias
1883
1884 # FIXME: To remove some day.
1885 if test "x$host_alias" != x; then
1886 if test "x$build_alias" = x; then
1887 cross_compiling=maybe
1888 elif test "x$build_alias" != "x$host_alias"; then
1889 cross_compiling=yes
1890 fi
1891 fi
1892
1893 ac_tool_prefix=
1894 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1895
1896 test "$silent" = yes && exec 6>/dev/null
1897
1898
1899 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1900 ac_ls_di=`ls -di .` &&
1901 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1902 as_fn_error $? "working directory cannot be determined"
1903 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1904 as_fn_error $? "pwd does not report name of working directory"
1905
1906
1907 # Find the source files, if location was not specified.
1908 if test -z "$srcdir"; then
1909 ac_srcdir_defaulted=yes
1910 # Try the directory containing this script, then the parent directory.
1911 ac_confdir=`$as_dirname -- "$as_myself" ||
1912 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1913 X"$as_myself" : 'X\(//\)[^/]' \| \
1914 X"$as_myself" : 'X\(//\)$' \| \
1915 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1916 $as_echo X"$as_myself" |
1917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1918 s//\1/
1919 q
1920 }
1921 /^X\(\/\/\)[^/].*/{
1922 s//\1/
1923 q
1924 }
1925 /^X\(\/\/\)$/{
1926 s//\1/
1927 q
1928 }
1929 /^X\(\/\).*/{
1930 s//\1/
1931 q
1932 }
1933 s/.*/./; q'`
1934 srcdir=$ac_confdir
1935 if test ! -r "$srcdir/$ac_unique_file"; then
1936 srcdir=..
1937 fi
1938 else
1939 ac_srcdir_defaulted=no
1940 fi
1941 if test ! -r "$srcdir/$ac_unique_file"; then
1942 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1943 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1944 fi
1945 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1946 ac_abs_confdir=`(
1947 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1948 pwd)`
1949 # When building in place, set srcdir=.
1950 if test "$ac_abs_confdir" = "$ac_pwd"; then
1951 srcdir=.
1952 fi
1953 # Remove unnecessary trailing slashes from srcdir.
1954 # Double slashes in file names in object file debugging info
1955 # mess up M-x gdb in Emacs.
1956 case $srcdir in
1957 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1958 esac
1959 for ac_var in $ac_precious_vars; do
1960 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1961 eval ac_env_${ac_var}_value=\$${ac_var}
1962 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1963 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1964 done
1965
1966 #
1967 # Report the --help message.
1968 #
1969 if test "$ac_init_help" = "long"; then
1970 # Omit some internal or obsolete options to make the list less imposing.
1971 # This message is too long to be a string in the A/UX 3.1 sh.
1972 cat <<_ACEOF
1973 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1974
1975 Usage: $0 [OPTION]... [VAR=VALUE]...
1976
1977 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1978 VAR=VALUE. See below for descriptions of some of the useful variables.
1979
1980 Defaults for the options are specified in brackets.
1981
1982 Configuration:
1983 -h, --help display this help and exit
1984 --help=short display options specific to this package
1985 --help=recursive display the short help of all the included packages
1986 -V, --version display version information and exit
1987 -q, --quiet, --silent do not print \`checking ...' messages
1988 --cache-file=FILE cache test results in FILE [disabled]
1989 -C, --config-cache alias for \`--cache-file=config.cache'
1990 -n, --no-create do not create output files
1991 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1992
1993 Installation directories:
1994 --prefix=PREFIX install architecture-independent files in PREFIX
1995 [$ac_default_prefix]
1996 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1997 [PREFIX]
1998
1999 By default, \`make install' will install all the files in
2000 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2001 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2002 for instance \`--prefix=\$HOME'.
2003
2004 For better control, use the options below.
2005
2006 Fine tuning of the installation directories:
2007 --bindir=DIR user executables [EPREFIX/bin]
2008 --sbindir=DIR system admin executables [EPREFIX/sbin]
2009 --libexecdir=DIR program executables [EPREFIX/libexec]
2010 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2011 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2012 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2013 --libdir=DIR object code libraries [EPREFIX/lib]
2014 --includedir=DIR C header files [PREFIX/include]
2015 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2016 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2017 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2018 --infodir=DIR info documentation [DATAROOTDIR/info]
2019 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2020 --mandir=DIR man documentation [DATAROOTDIR/man]
2021 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2022 --htmldir=DIR html documentation [DOCDIR]
2023 --dvidir=DIR dvi documentation [DOCDIR]
2024 --pdfdir=DIR pdf documentation [DOCDIR]
2025 --psdir=DIR ps documentation [DOCDIR]
2026 _ACEOF
2027
2028 cat <<\_ACEOF
2029
2030 X features:
2031 --x-includes=DIR X include files are in DIR
2032 --x-libraries=DIR X library files are in DIR
2033
2034 System types:
2035 --build=BUILD configure for building on BUILD [guessed]
2036 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2037 _ACEOF
2038 fi
2039
2040 if test -n "$ac_init_help"; then
2041 case $ac_init_help in
2042 short | recursive ) echo "Configuration of wxWidgets 2.9.5:";;
2043 esac
2044 cat <<\_ACEOF
2045
2046 Optional Features:
2047 --disable-option-checking ignore unrecognized --enable/--with options
2048 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2049 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2050 --disable-gui don't build GUI parts of the library
2051 --enable-monolithic build wxWidgets as single library
2052 --enable-plugins build parts of wxWidgets as loadable components
2053 --enable-official_build official build of wxWidgets (win32 DLL only)
2054 --enable-vendor=VENDOR vendor name (win32 DLL only)
2055 --disable-all-features disable all optional features to build minimal library
2056 --enable-universal use wxWidgets GUI controls instead of native ones
2057 --enable-nanox use NanoX
2058 --enable-gpe use GNOME PDA Environment features if possible
2059 --enable-debug build library for debugging
2060 --disable-debug_flag disable all debugging support
2061 --enable-debug_info generate debug information
2062 --enable-debug_gdb create code with extra GDB debugging information
2063 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
2064 --enable-mem_tracing obsolete, don't use: create code with memory tracing
2065 --disable-shared create static library instead of shared
2066 --enable-stl use standard C++ classes for everything
2067 --enable-std_containers use standard C++ container classes
2068 --enable-std_iostreams use standard C++ stream classes
2069 --enable-std_string use standard C++ string classes
2070 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2071 --disable-unicode compile without Unicode support
2072 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2073 --enable-utf8 use UTF-8 representation for strings (Unix only)
2074 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2075 --enable-extended_rtti use extended RTTI (XTI)
2076 --enable-omf use OMF object format
2077 --disable-optimise compile without optimisations
2078 --enable-profile create code with profiling information
2079 --enable-no_rtti create code without RTTI information
2080 --enable-no_exceptions create code without C++ exceptions handling
2081 --enable-permissive compile code disregarding strict ANSI
2082 --enable-no_deps create code without dependency information
2083 --disable-vararg_macros don't use vararg macros, even if they are supported
2084 --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
2085 --enable-macosx_arch=ARCH build for just the specified architecture
2086 --enable-compat26 enable wxWidgets 2.6 compatibility
2087 --disable-compat28 disable wxWidgets 2.8 compatibility
2088 --disable-rpath disable use of rpath for uninstalled builds
2089 --enable-objc_uniquifying enable Objective-C class name uniquifying
2090 --disable-visibility disable use of ELF symbols visibility even if supported
2091 --disable-tls disable use of compiler TLS support
2092 --enable-intl use internationalization system
2093 --enable-xlocale use x-locale support (requires wxLocale)
2094 --enable-config use wxConfig (and derived) classes
2095 --enable-protocols use wxProtocol and derived classes
2096 --enable-ftp use wxFTP (requires wxProtocol
2097 --enable-http use wxHTTP (requires wxProtocol
2098 --enable-fileproto use wxFileProto class (requires wxProtocol
2099 --enable-sockets use socket/network classes
2100 --enable-ipv6 enable IPv6 support in wxSocket
2101 --enable-ole use OLE classes (Win32 only)
2102 --enable-dataobj use data object classes
2103 --enable-ipc use interprocess communication (wxSocket etc.)
2104 --enable-baseevtloop use event loop in console programs too
2105 --enable-epollloop use wxEpollDispatcher class (Linux only)
2106 --enable-selectloop use wxSelectDispatcher class
2107 --enable-any use wxAny class
2108 --enable-apple_ieee use the Apple IEEE codec
2109 --enable-arcstream use wxArchive streams
2110 --enable-base64 use base64 encoding/decoding functions
2111 --enable-backtrace use wxStackWalker class for getting backtraces
2112 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
2113 --enable-cmdline use wxCmdLineParser class
2114 --enable-datetime use wxDateTime class
2115 --enable-debugreport use wxDebugReport class
2116 --enable-dialupman use dialup network classes
2117 --enable-dynlib use wxLibrary class for DLL loading
2118 --enable-dynamicloader use (new) wxDynamicLibrary class
2119 --enable-exceptions build exception-safe library
2120 --enable-ffile use wxFFile class
2121 --enable-file use wxFile class
2122 --enable-filehistory use wxFileHistory class
2123 --enable-filesystem use virtual file systems classes
2124 --enable-fontenum use wxFontEnumerator class
2125 --enable-fontmap use font encodings conversion classes
2126 --enable-fs_archive use virtual archive filesystems
2127 --enable-fs_inet use virtual HTTP/FTP filesystems
2128 --enable-fs_zip now replaced by fs_archive
2129 --enable-fsvolume use wxFSVolume class
2130 --enable-fswatcher use wxFileSystemWatcher class
2131 --enable-geometry use geometry class
2132 --enable-log use logging system
2133 --enable-longlong use wxLongLong class
2134 --enable-mimetype use wxMimeTypesManager
2135 --enable-printfposparam use wxVsnprintf() which supports positional parameters
2136 --enable-snglinst use wxSingleInstanceChecker class
2137 --enable-sound use wxSound class
2138 --enable-stdpaths use wxStandardPaths class
2139 --enable-stopwatch use wxStopWatch class
2140 --enable-streams use wxStream etc classes
2141 --enable-sysoptions use wxSystemOptions
2142 --enable-tarstream use wxTar streams
2143 --enable-textbuf use wxTextBuffer class
2144 --enable-textfile use wxTextFile class
2145 --enable-timer use wxTimer class
2146 --enable-variant use wxVariant class
2147 --enable-zipstream use wxZip streams
2148 --enable-url use wxURL class
2149 --enable-protocol use wxProtocol class
2150 --enable-protocol-http HTTP support in wxProtocol
2151 --enable-protocol-ftp FTP support in wxProtocol
2152 --enable-protocol-file FILE support in wxProtocol
2153 --enable-threads use threads
2154 --enable-iniconf use wxIniConfig (Win32 only)
2155 --enable-regkey use wxRegKey class (Win32 only)
2156 --enable-docview use document view architecture
2157 --enable-help use help subsystem
2158 --enable-mshtmlhelp use MS HTML Help (win32)
2159 --enable-html use wxHTML sub-library
2160 --enable-htmlhelp use wxHTML-based help
2161 --enable-xrc use XRC resources sub-library
2162 --enable-aui use AUI docking library
2163 --enable-propgrid use wxPropertyGrid library
2164 --enable-ribbon use wxRibbon library
2165 --enable-stc use wxStyledTextCtrl library
2166 --enable-constraints use layout-constraints system
2167 --enable-loggui use standard GUI logger
2168 --enable-logwin use wxLogWindow
2169 --enable-logdialog use wxLogDialog
2170 --enable-mdi use multiple document interface architecture
2171 --enable-mdidoc use docview architecture with MDI
2172 --enable-mediactrl use wxMediaCtrl class
2173 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
2174 --enable-richtext use wxRichTextCtrl
2175 --enable-postscript use wxPostscriptDC device context (default for gtk+)
2176 --enable-printarch use printing architecture
2177 --enable-svg use wxSVGFileDC device context
2178 --enable-webkit use wxWebKitCtrl (Mac-only, use wxWebView instead)
2179 --enable-webview use wxWebView library
2180 --enable-graphics_ctx use graphics context 2D drawing API
2181 --enable-clipboard use wxClipboard class
2182 --enable-dnd use Drag'n'Drop classes
2183 --disable-controls disable compilation of all standard controls
2184 --enable-markup support wxControl::SetLabelMarkup
2185 --enable-accel use accelerators
2186 --enable-animatectrl use wxAnimationCtrl class
2187 --enable-bannerwindow use wxBannerWindow class
2188 --enable-artstd use standard XPM icons in wxArtProvider
2189 --enable-arttango use Tango icons in wxArtProvider
2190 --enable-bmpbutton use wxBitmapButton class
2191 --enable-bmpcombobox use wxBitmapComboBox class
2192 --enable-button use wxButton class
2193 --enable-calendar use wxCalendarCtrl class
2194 --enable-caret use wxCaret class
2195 --enable-checkbox use wxCheckBox class
2196 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
2197 --enable-choice use wxChoice class
2198 --enable-choicebook use wxChoicebook class
2199 --enable-collpane use wxCollapsiblePane class
2200 --enable-colourpicker use wxColourPickerCtrl class
2201 --enable-combobox use wxComboBox class
2202 --enable-comboctrl use wxComboCtrl class
2203 --enable-commandlinkbutton use wxCommmandLinkButton class
2204 --enable-dataviewctrl use wxDataViewCtrl class
2205 --enable-datepick use wxDatePickerCtrl class
2206 --enable-detect_sm use code to detect X11 session manager
2207 --enable-dirpicker use wxDirPickerCtrl class
2208 --enable-display use wxDisplay class
2209 --enable-editablebox use wxEditableListBox class
2210 --enable-filectrl use wxFileCtrl class
2211 --enable-filepicker use wxFilePickerCtrl class
2212 --enable-fontpicker use wxFontPickerCtrl class
2213 --enable-gauge use wxGauge class
2214 --enable-grid use wxGrid class
2215 --enable-headerctrl use wxHeaderCtrl class
2216 --enable-hyperlink use wxHyperlinkCtrl class
2217 --enable-imaglist use wxImageList class
2218 --enable-infobar use wxInfoBar class
2219 --enable-listbook use wxListbook class
2220 --enable-listbox use wxListBox class
2221 --enable-listctrl use wxListCtrl class
2222 --enable-notebook use wxNotebook class
2223 --enable-notifmsg use wxNotificationMessage class
2224 --enable-odcombobox use wxOwnerDrawnComboBox class
2225 --enable-popupwin use wxPopUpWindow class
2226 --enable-radiobox use wxRadioBox class
2227 --enable-radiobtn use wxRadioButton class
2228 --enable-richmsgdlg use wxRichMessageDialog class
2229 --enable-richtooltip use wxRichToolTip class
2230 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
2231 --enable-sash use wxSashWindow class
2232 --enable-scrollbar use wxScrollBar class and scrollable windows
2233 --enable-searchctrl use wxSearchCtrl class
2234 --enable-slider use wxSlider class
2235 --enable-spinbtn use wxSpinButton class
2236 --enable-spinctrl use wxSpinCtrl class
2237 --enable-splitter use wxSplitterWindow class
2238 --enable-statbmp use wxStaticBitmap class
2239 --enable-statbox use wxStaticBox class
2240 --enable-statline use wxStaticLine class
2241 --enable-stattext use wxStaticText class
2242 --enable-statusbar use wxStatusBar class
2243 --enable-taskbaricon use wxTaskBarIcon class
2244 --enable-tbarnative use native wxToolBar class
2245 --enable-textctrl use wxTextCtrl class
2246 --enable-timepick use wxTimePickerCtrl class
2247 --enable-tipwindow use wxTipWindow class
2248 --enable-togglebtn use wxToggleButton class
2249 --enable-toolbar use wxToolBar class
2250 --enable-toolbook use wxToolbook class
2251 --enable-treebook use wxTreebook class
2252 --enable-treectrl use wxTreeCtrl class
2253 --enable-treelist use wxTreeListCtrl class
2254 --enable-commondlg use all common dialogs
2255 --enable-aboutdlg use wxAboutBox
2256 --enable-choicedlg use wxChoiceDialog
2257 --enable-coldlg use wxColourDialog
2258 --enable-filedlg use wxFileDialog
2259 --enable-finddlg use wxFindReplaceDialog
2260 --enable-fontdlg use wxFontDialog
2261 --enable-dirdlg use wxDirDialog
2262 --enable-msgdlg use wxMessageDialog
2263 --enable-numberdlg use wxNumberEntryDialog
2264 --enable-splash use wxSplashScreen
2265 --enable-textdlg use wxTextDialog
2266 --enable-tipdlg use startup tips
2267 --enable-progressdlg use wxProgressDialog
2268 --enable-wizarddlg use wxWizard
2269 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
2270 --enable-miniframe use wxMiniFrame class
2271 --enable-tooltips use wxToolTip class
2272 --enable-splines use spline drawing code
2273 --enable-mousewheel use mousewheel
2274 --enable-validators use wxValidator and derived classes
2275 --enable-busyinfo use wxBusyInfo
2276 --enable-hotkey use wxWindow::RegisterHotKey()
2277 --enable-joystick use wxJoystick
2278 --enable-metafiles use wxMetaFile
2279 --enable-dragimage use wxDragImage
2280 --enable-accessibility enable accessibility support
2281 --enable-uiactionsim use wxUIActionSimulator (experimental)
2282 --enable-dctransform use wxDC::SetTransformMatrix and related
2283 --enable-webviewwebkit use wxWebView WebKit backend
2284 --enable-palette use wxPalette class
2285 --enable-image use wxImage class
2286 --enable-gif use gif images (GIF file format)
2287 --enable-pcx use pcx images (PCX file format)
2288 --enable-tga use tga images (TGA file format)
2289 --enable-iff use iff images (IFF file format)
2290 --enable-pnm use pnm images (PNM file format)
2291 --enable-xpm use xpm images (XPM file format)
2292 --enable-ico_cur use Windows ICO and CUR formats
2293 --enable-dccache cache temporary wxDC objects (Win32 only)
2294 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
2295 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
2296 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
2297 --enable-wxdib use wxDIB class (Win32 only)
2298 --enable-webviewie use wxWebView IE backend (Win32 only)
2299 --enable-autoidman use automatic ids management
2300 --disable-largefile omit support for large files
2301 --disable-gtktest do not try to compile and run a test GTK+ program
2302 --disable-gtktest Do not try to compile and run a test GTK program
2303 --disable-sdltest Do not try to compile and run a test SDL program
2304 --enable-omf use OMF object format (OS/2)
2305 --disable-dependency-tracking
2306 don't use dependency tracking even if the compiler
2307 can
2308 --disable-precomp-headers
2309 don't use precompiled headers even if compiler can
2310
2311 Optional Packages:
2312 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2313 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2314 --without-subdirs don't generate makefiles for samples/demos/...
2315 --with-flavour=NAME specify a name to identify this build
2316 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2317 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2318 --with-motif use Motif/Lesstif
2319 --with-osx_carbon use Mac OS X (Carbon)
2320 --with-osx_cocoa use Mac OS X (Cocoa)
2321 --with-osx_iphone use iPhone OS X port
2322 --with-osx use Mac OS X (default port, currently Carbon)
2323 --with-carbon same as --with-osx_carbon
2324 --with-cocoa same as --with-osx_cocoa
2325 --with-iphone same as --with-osx_iphone
2326 --with-mac same as --with-osx
2327 --with-old_cocoa use old, deprecated, Cocoa port
2328 --with-wine use Wine
2329 --with-msw use MS-Windows
2330 --with-pm use OS/2 Presentation Manager
2331 --with-directfb use DirectFB
2332 --with-microwin use MicroWindows
2333 --with-x11 use X11
2334 --with-libpng use libpng (PNG image format)
2335 --with-libjpeg use libjpeg (JPEG file format)
2336 --with-libtiff use libtiff (TIFF file format)
2337 --without-libjbig don't use libjbig in libtiff even if available)
2338 --without-liblzma don't use liblzma in libtiff even if available)
2339 --with-libxpm use libxpm (XPM file format)
2340 --with-libiconv use libiconv (character conversion)
2341 --with-libmspack use libmspack (CHM help files loading)
2342 --without-gtkprint don't use GTK printing support
2343 --without-gnomeprint don't use GNOME printing libraries
2344 --with-gnomevfs use GNOME VFS for associating MIME types
2345 --with-libnotify use libnotify for notifications
2346 --with-hildon use Hildon framework for Nokia 770/800/810
2347 --with-opengl use OpenGL (or Mesa)
2348 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2349 --with-sdl use SDL for audio on Unix
2350 --with-regex enable support for wxRegEx class
2351 --with-zlib use zlib for LZW compression
2352 --with-expat enable XML support using expat parser
2353 --with-macosx-sdk=PATH use an OS X SDK at PATH
2354 --with-macosx-version-min=VER build binaries which require at least this OS X version
2355 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2356 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2357 --with-x use the X Window System
2358 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2359 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2360 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2361 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2362 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2363
2364 Some influential environment variables:
2365 CC C compiler command
2366 CFLAGS C compiler flags
2367 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2368 nonstandard directory <lib dir>
2369 LIBS libraries to pass to the linker, e.g. -l<library>
2370 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2371 you have headers in a nonstandard directory <include dir>
2372 CPP C preprocessor
2373 CXX C++ compiler command
2374 CXXFLAGS C++ compiler flags
2375 CXXCPP C++ preprocessor
2376 PKG_CONFIG path to pkg-config utility
2377 DIRECTFB_CFLAGS
2378 C compiler flags for DIRECTFB, overriding pkg-config
2379 DIRECTFB_LIBS
2380 linker flags for DIRECTFB, overriding pkg-config
2381 XMKMF Path to xmkmf, Makefile generator for X Window System
2382 PANGOX_CFLAGS
2383 C compiler flags for PANGOX, overriding pkg-config
2384 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2385 PANGOFT2_CFLAGS
2386 C compiler flags for PANGOFT2, overriding pkg-config
2387 PANGOFT2_LIBS
2388 linker flags for PANGOFT2, overriding pkg-config
2389 PANGOXFT_CFLAGS
2390 C compiler flags for PANGOXFT, overriding pkg-config
2391 PANGOXFT_LIBS
2392 linker flags for PANGOXFT, overriding pkg-config
2393 Xinerama_CFLAGS
2394 C compiler flags for Xinerama, overriding pkg-config
2395 Xinerama_LIBS
2396 linker flags for Xinerama, overriding pkg-config
2397 Xxf86vm_CFLAGS
2398 C compiler flags for Xxf86vm, overriding pkg-config
2399 Xxf86vm_LIBS
2400 linker flags for Xxf86vm, overriding pkg-config
2401 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2402 SM_LIBS linker flags for SM, overriding pkg-config
2403 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2404 GL_LIBS linker flags for GL, overriding pkg-config
2405 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2406 GLU_LIBS linker flags for GLU, overriding pkg-config
2407 MesaGL_CFLAGS
2408 C compiler flags for MesaGL, overriding pkg-config
2409 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2410 GTKPRINT_CFLAGS
2411 C compiler flags for GTKPRINT, overriding pkg-config
2412 GTKPRINT_LIBS
2413 linker flags for GTKPRINT, overriding pkg-config
2414 LIBGNOMEPRINTUI_CFLAGS
2415 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2416 LIBGNOMEPRINTUI_LIBS
2417 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2418 GNOMEVFS_CFLAGS
2419 C compiler flags for GNOMEVFS, overriding pkg-config
2420 GNOMEVFS_LIBS
2421 linker flags for GNOMEVFS, overriding pkg-config
2422 LIBNOTIFY_CFLAGS
2423 C compiler flags for LIBNOTIFY, overriding pkg-config
2424 LIBNOTIFY_LIBS
2425 linker flags for LIBNOTIFY, overriding pkg-config
2426 HILDON_CFLAGS
2427 C compiler flags for HILDON, overriding pkg-config
2428 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2429 HILDON2_CFLAGS
2430 C compiler flags for HILDON2, overriding pkg-config
2431 HILDON2_LIBS
2432 linker flags for HILDON2, overriding pkg-config
2433 WEBKIT_CFLAGS
2434 C compiler flags for WEBKIT, overriding pkg-config
2435 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2436 CAIRO_CFLAGS
2437 C compiler flags for CAIRO, overriding pkg-config
2438 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2439 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2440 GST_LIBS linker flags for GST, overriding pkg-config
2441
2442 Use these variables to override the choices made by `configure' or to help
2443 it to find libraries and programs with nonstandard names/locations.
2444
2445 Report bugs to <wx-dev@lists.wxwidgets.org>.
2446 _ACEOF
2447 ac_status=$?
2448 fi
2449
2450 if test "$ac_init_help" = "recursive"; then
2451 # If there are subdirs, report their specific --help.
2452 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2453 test -d "$ac_dir" ||
2454 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2455 continue
2456 ac_builddir=.
2457
2458 case "$ac_dir" in
2459 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2460 *)
2461 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2462 # A ".." for each directory in $ac_dir_suffix.
2463 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2464 case $ac_top_builddir_sub in
2465 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2466 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2467 esac ;;
2468 esac
2469 ac_abs_top_builddir=$ac_pwd
2470 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2471 # for backward compatibility:
2472 ac_top_builddir=$ac_top_build_prefix
2473
2474 case $srcdir in
2475 .) # We are building in place.
2476 ac_srcdir=.
2477 ac_top_srcdir=$ac_top_builddir_sub
2478 ac_abs_top_srcdir=$ac_pwd ;;
2479 [\\/]* | ?:[\\/]* ) # Absolute name.
2480 ac_srcdir=$srcdir$ac_dir_suffix;
2481 ac_top_srcdir=$srcdir
2482 ac_abs_top_srcdir=$srcdir ;;
2483 *) # Relative name.
2484 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2485 ac_top_srcdir=$ac_top_build_prefix$srcdir
2486 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2487 esac
2488 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2489
2490 cd "$ac_dir" || { ac_status=$?; continue; }
2491 # Check for guested configure.
2492 if test -f "$ac_srcdir/configure.gnu"; then
2493 echo &&
2494 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2495 elif test -f "$ac_srcdir/configure"; then
2496 echo &&
2497 $SHELL "$ac_srcdir/configure" --help=recursive
2498 else
2499 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2500 fi || ac_status=$?
2501 cd "$ac_pwd" || { ac_status=$?; break; }
2502 done
2503 fi
2504
2505 test -n "$ac_init_help" && exit $ac_status
2506 if $ac_init_version; then
2507 cat <<\_ACEOF
2508 wxWidgets configure 2.9.5
2509 generated by GNU Autoconf 2.69
2510
2511 Copyright (C) 2012 Free Software Foundation, Inc.
2512 This configure script is free software; the Free Software Foundation
2513 gives unlimited permission to copy, distribute and modify it.
2514 _ACEOF
2515 exit
2516 fi
2517
2518 ## ------------------------ ##
2519 ## Autoconf initialization. ##
2520 ## ------------------------ ##
2521
2522 # ac_fn_c_try_compile LINENO
2523 # --------------------------
2524 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2525 ac_fn_c_try_compile ()
2526 {
2527 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2528 rm -f conftest.$ac_objext
2529 if { { ac_try="$ac_compile"
2530 case "(($ac_try" in
2531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2532 *) ac_try_echo=$ac_try;;
2533 esac
2534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2535 $as_echo "$ac_try_echo"; } >&5
2536 (eval "$ac_compile") 2>conftest.err
2537 ac_status=$?
2538 if test -s conftest.err; then
2539 grep -v '^ *+' conftest.err >conftest.er1
2540 cat conftest.er1 >&5
2541 mv -f conftest.er1 conftest.err
2542 fi
2543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2544 test $ac_status = 0; } && {
2545 test -z "$ac_c_werror_flag" ||
2546 test ! -s conftest.err
2547 } && test -s conftest.$ac_objext; then :
2548 ac_retval=0
2549 else
2550 $as_echo "$as_me: failed program was:" >&5
2551 sed 's/^/| /' conftest.$ac_ext >&5
2552
2553 ac_retval=1
2554 fi
2555 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2556 as_fn_set_status $ac_retval
2557
2558 } # ac_fn_c_try_compile
2559
2560 # ac_fn_c_try_cpp LINENO
2561 # ----------------------
2562 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2563 ac_fn_c_try_cpp ()
2564 {
2565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2566 if { { ac_try="$ac_cpp conftest.$ac_ext"
2567 case "(($ac_try" in
2568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2569 *) ac_try_echo=$ac_try;;
2570 esac
2571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2572 $as_echo "$ac_try_echo"; } >&5
2573 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2574 ac_status=$?
2575 if test -s conftest.err; then
2576 grep -v '^ *+' conftest.err >conftest.er1
2577 cat conftest.er1 >&5
2578 mv -f conftest.er1 conftest.err
2579 fi
2580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2581 test $ac_status = 0; } > conftest.i && {
2582 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2583 test ! -s conftest.err
2584 }; then :
2585 ac_retval=0
2586 else
2587 $as_echo "$as_me: failed program was:" >&5
2588 sed 's/^/| /' conftest.$ac_ext >&5
2589
2590 ac_retval=1
2591 fi
2592 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2593 as_fn_set_status $ac_retval
2594
2595 } # ac_fn_c_try_cpp
2596
2597 # ac_fn_cxx_try_compile LINENO
2598 # ----------------------------
2599 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2600 ac_fn_cxx_try_compile ()
2601 {
2602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2603 rm -f conftest.$ac_objext
2604 if { { ac_try="$ac_compile"
2605 case "(($ac_try" in
2606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2607 *) ac_try_echo=$ac_try;;
2608 esac
2609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2610 $as_echo "$ac_try_echo"; } >&5
2611 (eval "$ac_compile") 2>conftest.err
2612 ac_status=$?
2613 if test -s conftest.err; then
2614 grep -v '^ *+' conftest.err >conftest.er1
2615 cat conftest.er1 >&5
2616 mv -f conftest.er1 conftest.err
2617 fi
2618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2619 test $ac_status = 0; } && {
2620 test -z "$ac_cxx_werror_flag" ||
2621 test ! -s conftest.err
2622 } && test -s conftest.$ac_objext; then :
2623 ac_retval=0
2624 else
2625 $as_echo "$as_me: failed program was:" >&5
2626 sed 's/^/| /' conftest.$ac_ext >&5
2627
2628 ac_retval=1
2629 fi
2630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2631 as_fn_set_status $ac_retval
2632
2633 } # ac_fn_cxx_try_compile
2634
2635 # ac_fn_c_try_link LINENO
2636 # -----------------------
2637 # Try to link conftest.$ac_ext, and return whether this succeeded.
2638 ac_fn_c_try_link ()
2639 {
2640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2641 rm -f conftest.$ac_objext conftest$ac_exeext
2642 if { { ac_try="$ac_link"
2643 case "(($ac_try" in
2644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2645 *) ac_try_echo=$ac_try;;
2646 esac
2647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2648 $as_echo "$ac_try_echo"; } >&5
2649 (eval "$ac_link") 2>conftest.err
2650 ac_status=$?
2651 if test -s conftest.err; then
2652 grep -v '^ *+' conftest.err >conftest.er1
2653 cat conftest.er1 >&5
2654 mv -f conftest.er1 conftest.err
2655 fi
2656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2657 test $ac_status = 0; } && {
2658 test -z "$ac_c_werror_flag" ||
2659 test ! -s conftest.err
2660 } && test -s conftest$ac_exeext && {
2661 test "$cross_compiling" = yes ||
2662 test -x conftest$ac_exeext
2663 }; then :
2664 ac_retval=0
2665 else
2666 $as_echo "$as_me: failed program was:" >&5
2667 sed 's/^/| /' conftest.$ac_ext >&5
2668
2669 ac_retval=1
2670 fi
2671 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2672 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2673 # interfere with the next link command; also delete a directory that is
2674 # left behind by Apple's compiler. We do this before executing the actions.
2675 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2676 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2677 as_fn_set_status $ac_retval
2678
2679 } # ac_fn_c_try_link
2680
2681 # ac_fn_cxx_try_link LINENO
2682 # -------------------------
2683 # Try to link conftest.$ac_ext, and return whether this succeeded.
2684 ac_fn_cxx_try_link ()
2685 {
2686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2687 rm -f conftest.$ac_objext conftest$ac_exeext
2688 if { { ac_try="$ac_link"
2689 case "(($ac_try" in
2690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2691 *) ac_try_echo=$ac_try;;
2692 esac
2693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2694 $as_echo "$ac_try_echo"; } >&5
2695 (eval "$ac_link") 2>conftest.err
2696 ac_status=$?
2697 if test -s conftest.err; then
2698 grep -v '^ *+' conftest.err >conftest.er1
2699 cat conftest.er1 >&5
2700 mv -f conftest.er1 conftest.err
2701 fi
2702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2703 test $ac_status = 0; } && {
2704 test -z "$ac_cxx_werror_flag" ||
2705 test ! -s conftest.err
2706 } && test -s conftest$ac_exeext && {
2707 test "$cross_compiling" = yes ||
2708 test -x conftest$ac_exeext
2709 }; then :
2710 ac_retval=0
2711 else
2712 $as_echo "$as_me: failed program was:" >&5
2713 sed 's/^/| /' conftest.$ac_ext >&5
2714
2715 ac_retval=1
2716 fi
2717 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2718 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2719 # interfere with the next link command; also delete a directory that is
2720 # left behind by Apple's compiler. We do this before executing the actions.
2721 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2722 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2723 as_fn_set_status $ac_retval
2724
2725 } # ac_fn_cxx_try_link
2726
2727 # ac_fn_c_try_run LINENO
2728 # ----------------------
2729 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2730 # that executables *can* be run.
2731 ac_fn_c_try_run ()
2732 {
2733 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2734 if { { ac_try="$ac_link"
2735 case "(($ac_try" in
2736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2737 *) ac_try_echo=$ac_try;;
2738 esac
2739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2740 $as_echo "$ac_try_echo"; } >&5
2741 (eval "$ac_link") 2>&5
2742 ac_status=$?
2743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2744 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2745 { { case "(($ac_try" in
2746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747 *) ac_try_echo=$ac_try;;
2748 esac
2749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2750 $as_echo "$ac_try_echo"; } >&5
2751 (eval "$ac_try") 2>&5
2752 ac_status=$?
2753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2754 test $ac_status = 0; }; }; then :
2755 ac_retval=0
2756 else
2757 $as_echo "$as_me: program exited with status $ac_status" >&5
2758 $as_echo "$as_me: failed program was:" >&5
2759 sed 's/^/| /' conftest.$ac_ext >&5
2760
2761 ac_retval=$ac_status
2762 fi
2763 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2765 as_fn_set_status $ac_retval
2766
2767 } # ac_fn_c_try_run
2768
2769 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2770 # -------------------------------------------------------
2771 # Tests whether HEADER exists and can be compiled using the include files in
2772 # INCLUDES, setting the cache variable VAR accordingly.
2773 ac_fn_c_check_header_compile ()
2774 {
2775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2777 $as_echo_n "checking for $2... " >&6; }
2778 if eval \${$3+:} false; then :
2779 $as_echo_n "(cached) " >&6
2780 else
2781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2782 /* end confdefs.h. */
2783 $4
2784 #include <$2>
2785 _ACEOF
2786 if ac_fn_c_try_compile "$LINENO"; then :
2787 eval "$3=yes"
2788 else
2789 eval "$3=no"
2790 fi
2791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2792 fi
2793 eval ac_res=\$$3
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2795 $as_echo "$ac_res" >&6; }
2796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2797
2798 } # ac_fn_c_check_header_compile
2799
2800 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2801 # ---------------------------------------------------------
2802 # Tests whether HEADER exists and can be compiled using the include files in
2803 # INCLUDES, setting the cache variable VAR accordingly.
2804 ac_fn_cxx_check_header_compile ()
2805 {
2806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2808 $as_echo_n "checking for $2... " >&6; }
2809 if eval \${$3+:} false; then :
2810 $as_echo_n "(cached) " >&6
2811 else
2812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2813 /* end confdefs.h. */
2814 $4
2815 #include <$2>
2816 _ACEOF
2817 if ac_fn_cxx_try_compile "$LINENO"; then :
2818 eval "$3=yes"
2819 else
2820 eval "$3=no"
2821 fi
2822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2823 fi
2824 eval ac_res=\$$3
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2826 $as_echo "$ac_res" >&6; }
2827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2828
2829 } # ac_fn_cxx_check_header_compile
2830
2831 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2832 # --------------------------------------------
2833 # Tries to find the compile-time value of EXPR in a program that includes
2834 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2835 # computed
2836 ac_fn_c_compute_int ()
2837 {
2838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2839 if test "$cross_compiling" = yes; then
2840 # Depending upon the size, compute the lo and hi bounds.
2841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2842 /* end confdefs.h. */
2843 $4
2844 int
2845 main ()
2846 {
2847 static int test_array [1 - 2 * !(($2) >= 0)];
2848 test_array [0] = 0;
2849 return test_array [0];
2850
2851 ;
2852 return 0;
2853 }
2854 _ACEOF
2855 if ac_fn_c_try_compile "$LINENO"; then :
2856 ac_lo=0 ac_mid=0
2857 while :; do
2858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2859 /* end confdefs.h. */
2860 $4
2861 int
2862 main ()
2863 {
2864 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2865 test_array [0] = 0;
2866 return test_array [0];
2867
2868 ;
2869 return 0;
2870 }
2871 _ACEOF
2872 if ac_fn_c_try_compile "$LINENO"; then :
2873 ac_hi=$ac_mid; break
2874 else
2875 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2876 if test $ac_lo -le $ac_mid; then
2877 ac_lo= ac_hi=
2878 break
2879 fi
2880 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2881 fi
2882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2883 done
2884 else
2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2887 $4
2888 int
2889 main ()
2890 {
2891 static int test_array [1 - 2 * !(($2) < 0)];
2892 test_array [0] = 0;
2893 return test_array [0];
2894
2895 ;
2896 return 0;
2897 }
2898 _ACEOF
2899 if ac_fn_c_try_compile "$LINENO"; then :
2900 ac_hi=-1 ac_mid=-1
2901 while :; do
2902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2903 /* end confdefs.h. */
2904 $4
2905 int
2906 main ()
2907 {
2908 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2909 test_array [0] = 0;
2910 return test_array [0];
2911
2912 ;
2913 return 0;
2914 }
2915 _ACEOF
2916 if ac_fn_c_try_compile "$LINENO"; then :
2917 ac_lo=$ac_mid; break
2918 else
2919 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2920 if test $ac_mid -le $ac_hi; then
2921 ac_lo= ac_hi=
2922 break
2923 fi
2924 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2925 fi
2926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2927 done
2928 else
2929 ac_lo= ac_hi=
2930 fi
2931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2932 fi
2933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2934 # Binary search between lo and hi bounds.
2935 while test "x$ac_lo" != "x$ac_hi"; do
2936 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2938 /* end confdefs.h. */
2939 $4
2940 int
2941 main ()
2942 {
2943 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2944 test_array [0] = 0;
2945 return test_array [0];
2946
2947 ;
2948 return 0;
2949 }
2950 _ACEOF
2951 if ac_fn_c_try_compile "$LINENO"; then :
2952 ac_hi=$ac_mid
2953 else
2954 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2955 fi
2956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2957 done
2958 case $ac_lo in #((
2959 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2960 '') ac_retval=1 ;;
2961 esac
2962 else
2963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2964 /* end confdefs.h. */
2965 $4
2966 static long int longval () { return $2; }
2967 static unsigned long int ulongval () { return $2; }
2968 #include <stdio.h>
2969 #include <stdlib.h>
2970 int
2971 main ()
2972 {
2973
2974 FILE *f = fopen ("conftest.val", "w");
2975 if (! f)
2976 return 1;
2977 if (($2) < 0)
2978 {
2979 long int i = longval ();
2980 if (i != ($2))
2981 return 1;
2982 fprintf (f, "%ld", i);
2983 }
2984 else
2985 {
2986 unsigned long int i = ulongval ();
2987 if (i != ($2))
2988 return 1;
2989 fprintf (f, "%lu", i);
2990 }
2991 /* Do not output a trailing newline, as this causes \r\n confusion
2992 on some platforms. */
2993 return ferror (f) || fclose (f) != 0;
2994
2995 ;
2996 return 0;
2997 }
2998 _ACEOF
2999 if ac_fn_c_try_run "$LINENO"; then :
3000 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3001 else
3002 ac_retval=1
3003 fi
3004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3005 conftest.$ac_objext conftest.beam conftest.$ac_ext
3006 rm -f conftest.val
3007
3008 fi
3009 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3010 as_fn_set_status $ac_retval
3011
3012 } # ac_fn_c_compute_int
3013
3014 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3015 # ---------------------------------------------
3016 # Tests whether TYPE exists after having included INCLUDES, setting cache
3017 # variable VAR accordingly.
3018 ac_fn_cxx_check_type ()
3019 {
3020 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3022 $as_echo_n "checking for $2... " >&6; }
3023 if eval \${$3+:} false; then :
3024 $as_echo_n "(cached) " >&6
3025 else
3026 eval "$3=no"
3027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3028 /* end confdefs.h. */
3029 $4
3030 int
3031 main ()
3032 {
3033 if (sizeof ($2))
3034 return 0;
3035 ;
3036 return 0;
3037 }
3038 _ACEOF
3039 if ac_fn_cxx_try_compile "$LINENO"; then :
3040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3041 /* end confdefs.h. */
3042 $4
3043 int
3044 main ()
3045 {
3046 if (sizeof (($2)))
3047 return 0;
3048 ;
3049 return 0;
3050 }
3051 _ACEOF
3052 if ac_fn_cxx_try_compile "$LINENO"; then :
3053
3054 else
3055 eval "$3=yes"
3056 fi
3057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3058 fi
3059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3060 fi
3061 eval ac_res=\$$3
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3063 $as_echo "$ac_res" >&6; }
3064 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3065
3066 } # ac_fn_cxx_check_type
3067
3068 # ac_fn_cxx_try_cpp LINENO
3069 # ------------------------
3070 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3071 ac_fn_cxx_try_cpp ()
3072 {
3073 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3074 if { { ac_try="$ac_cpp conftest.$ac_ext"
3075 case "(($ac_try" in
3076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3077 *) ac_try_echo=$ac_try;;
3078 esac
3079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3080 $as_echo "$ac_try_echo"; } >&5
3081 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3082 ac_status=$?
3083 if test -s conftest.err; then
3084 grep -v '^ *+' conftest.err >conftest.er1
3085 cat conftest.er1 >&5
3086 mv -f conftest.er1 conftest.err
3087 fi
3088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3089 test $ac_status = 0; } > conftest.i && {
3090 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3091 test ! -s conftest.err
3092 }; then :
3093 ac_retval=0
3094 else
3095 $as_echo "$as_me: failed program was:" >&5
3096 sed 's/^/| /' conftest.$ac_ext >&5
3097
3098 ac_retval=1
3099 fi
3100 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3101 as_fn_set_status $ac_retval
3102
3103 } # ac_fn_cxx_try_cpp
3104
3105 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3106 # ---------------------------------------------------------
3107 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3108 # the include files in INCLUDES and setting the cache variable VAR
3109 # accordingly.
3110 ac_fn_cxx_check_header_mongrel ()
3111 {
3112 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3113 if eval \${$3+:} false; then :
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3115 $as_echo_n "checking for $2... " >&6; }
3116 if eval \${$3+:} false; then :
3117 $as_echo_n "(cached) " >&6
3118 fi
3119 eval ac_res=\$$3
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3121 $as_echo "$ac_res" >&6; }
3122 else
3123 # Is the header compilable?
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3125 $as_echo_n "checking $2 usability... " >&6; }
3126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3127 /* end confdefs.h. */
3128 $4
3129 #include <$2>
3130 _ACEOF
3131 if ac_fn_cxx_try_compile "$LINENO"; then :
3132 ac_header_compiler=yes
3133 else
3134 ac_header_compiler=no
3135 fi
3136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3138 $as_echo "$ac_header_compiler" >&6; }
3139
3140 # Is the header present?
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3142 $as_echo_n "checking $2 presence... " >&6; }
3143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3144 /* end confdefs.h. */
3145 #include <$2>
3146 _ACEOF
3147 if ac_fn_cxx_try_cpp "$LINENO"; then :
3148 ac_header_preproc=yes
3149 else
3150 ac_header_preproc=no
3151 fi
3152 rm -f conftest.err conftest.i conftest.$ac_ext
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3154 $as_echo "$ac_header_preproc" >&6; }
3155
3156 # So? What about this header?
3157 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3158 yes:no: )
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3160 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3162 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3163 ;;
3164 no:yes:* )
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3166 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3168 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3170 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3172 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3174 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3175 ( $as_echo "## ----------------------------------------- ##
3176 ## Report this to wx-dev@lists.wxwidgets.org ##
3177 ## ----------------------------------------- ##"
3178 ) | sed "s/^/$as_me: WARNING: /" >&2
3179 ;;
3180 esac
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3182 $as_echo_n "checking for $2... " >&6; }
3183 if eval \${$3+:} false; then :
3184 $as_echo_n "(cached) " >&6
3185 else
3186 eval "$3=\$ac_header_compiler"
3187 fi
3188 eval ac_res=\$$3
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3190 $as_echo "$ac_res" >&6; }
3191 fi
3192 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3193
3194 } # ac_fn_cxx_check_header_mongrel
3195
3196 # ac_fn_c_check_func LINENO FUNC VAR
3197 # ----------------------------------
3198 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3199 ac_fn_c_check_func ()
3200 {
3201 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3203 $as_echo_n "checking for $2... " >&6; }
3204 if eval \${$3+:} false; then :
3205 $as_echo_n "(cached) " >&6
3206 else
3207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3208 /* end confdefs.h. */
3209 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3211 #define $2 innocuous_$2
3212
3213 /* System header to define __stub macros and hopefully few prototypes,
3214 which can conflict with char $2 (); below.
3215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3216 <limits.h> exists even on freestanding compilers. */
3217
3218 #ifdef __STDC__
3219 # include <limits.h>
3220 #else
3221 # include <assert.h>
3222 #endif
3223
3224 #undef $2
3225
3226 /* Override any GCC internal prototype to avoid an error.
3227 Use char because int might match the return type of a GCC
3228 builtin and then its argument prototype would still apply. */
3229 #ifdef __cplusplus
3230 extern "C"
3231 #endif
3232 char $2 ();
3233 /* The GNU C library defines this for functions which it implements
3234 to always fail with ENOSYS. Some functions are actually named
3235 something starting with __ and the normal name is an alias. */
3236 #if defined __stub_$2 || defined __stub___$2
3237 choke me
3238 #endif
3239
3240 int
3241 main ()
3242 {
3243 return $2 ();
3244 ;
3245 return 0;
3246 }
3247 _ACEOF
3248 if ac_fn_c_try_link "$LINENO"; then :
3249 eval "$3=yes"
3250 else
3251 eval "$3=no"
3252 fi
3253 rm -f core conftest.err conftest.$ac_objext \
3254 conftest$ac_exeext conftest.$ac_ext
3255 fi
3256 eval ac_res=\$$3
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3258 $as_echo "$ac_res" >&6; }
3259 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3260
3261 } # ac_fn_c_check_func
3262
3263 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3264 # -------------------------------------------
3265 # Tests whether TYPE exists after having included INCLUDES, setting cache
3266 # variable VAR accordingly.
3267 ac_fn_c_check_type ()
3268 {
3269 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3271 $as_echo_n "checking for $2... " >&6; }
3272 if eval \${$3+:} false; then :
3273 $as_echo_n "(cached) " >&6
3274 else
3275 eval "$3=no"
3276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3277 /* end confdefs.h. */
3278 $4
3279 int
3280 main ()
3281 {
3282 if (sizeof ($2))
3283 return 0;
3284 ;
3285 return 0;
3286 }
3287 _ACEOF
3288 if ac_fn_c_try_compile "$LINENO"; then :
3289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3290 /* end confdefs.h. */
3291 $4
3292 int
3293 main ()
3294 {
3295 if (sizeof (($2)))
3296 return 0;
3297 ;
3298 return 0;
3299 }
3300 _ACEOF
3301 if ac_fn_c_try_compile "$LINENO"; then :
3302
3303 else
3304 eval "$3=yes"
3305 fi
3306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307 fi
3308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3309 fi
3310 eval ac_res=\$$3
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3312 $as_echo "$ac_res" >&6; }
3313 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3314
3315 } # ac_fn_c_check_type
3316
3317 # ac_fn_cxx_try_run LINENO
3318 # ------------------------
3319 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3320 # that executables *can* be run.
3321 ac_fn_cxx_try_run ()
3322 {
3323 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3324 if { { ac_try="$ac_link"
3325 case "(($ac_try" in
3326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3327 *) ac_try_echo=$ac_try;;
3328 esac
3329 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3330 $as_echo "$ac_try_echo"; } >&5
3331 (eval "$ac_link") 2>&5
3332 ac_status=$?
3333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3334 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3335 { { case "(($ac_try" in
3336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3337 *) ac_try_echo=$ac_try;;
3338 esac
3339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3340 $as_echo "$ac_try_echo"; } >&5
3341 (eval "$ac_try") 2>&5
3342 ac_status=$?
3343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3344 test $ac_status = 0; }; }; then :
3345 ac_retval=0
3346 else
3347 $as_echo "$as_me: program exited with status $ac_status" >&5
3348 $as_echo "$as_me: failed program was:" >&5
3349 sed 's/^/| /' conftest.$ac_ext >&5
3350
3351 ac_retval=$ac_status
3352 fi
3353 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3354 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3355 as_fn_set_status $ac_retval
3356
3357 } # ac_fn_cxx_try_run
3358 cat >config.log <<_ACEOF
3359 This file contains any messages produced by compilers while
3360 running configure, to aid debugging if configure makes a mistake.
3361
3362 It was created by wxWidgets $as_me 2.9.5, which was
3363 generated by GNU Autoconf 2.69. Invocation command line was
3364
3365 $ $0 $@
3366
3367 _ACEOF
3368 exec 5>>config.log
3369 {
3370 cat <<_ASUNAME
3371 ## --------- ##
3372 ## Platform. ##
3373 ## --------- ##
3374
3375 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3376 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3377 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3378 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3379 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3380
3381 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3382 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3383
3384 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3385 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3386 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3387 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3388 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3389 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3390 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3391
3392 _ASUNAME
3393
3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3395 for as_dir in $PATH
3396 do
3397 IFS=$as_save_IFS
3398 test -z "$as_dir" && as_dir=.
3399 $as_echo "PATH: $as_dir"
3400 done
3401 IFS=$as_save_IFS
3402
3403 } >&5
3404
3405 cat >&5 <<_ACEOF
3406
3407
3408 ## ----------- ##
3409 ## Core tests. ##
3410 ## ----------- ##
3411
3412 _ACEOF
3413
3414
3415 # Keep a trace of the command line.
3416 # Strip out --no-create and --no-recursion so they do not pile up.
3417 # Strip out --silent because we don't want to record it for future runs.
3418 # Also quote any args containing shell meta-characters.
3419 # Make two passes to allow for proper duplicate-argument suppression.
3420 ac_configure_args=
3421 ac_configure_args0=
3422 ac_configure_args1=
3423 ac_must_keep_next=false
3424 for ac_pass in 1 2
3425 do
3426 for ac_arg
3427 do
3428 case $ac_arg in
3429 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3430 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3431 | -silent | --silent | --silen | --sile | --sil)
3432 continue ;;
3433 *\'*)
3434 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3435 esac
3436 case $ac_pass in
3437 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3438 2)
3439 as_fn_append ac_configure_args1 " '$ac_arg'"
3440 if test $ac_must_keep_next = true; then
3441 ac_must_keep_next=false # Got value, back to normal.
3442 else
3443 case $ac_arg in
3444 *=* | --config-cache | -C | -disable-* | --disable-* \
3445 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3446 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3447 | -with-* | --with-* | -without-* | --without-* | --x)
3448 case "$ac_configure_args0 " in
3449 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3450 esac
3451 ;;
3452 -* ) ac_must_keep_next=true ;;
3453 esac
3454 fi
3455 as_fn_append ac_configure_args " '$ac_arg'"
3456 ;;
3457 esac
3458 done
3459 done
3460 { ac_configure_args0=; unset ac_configure_args0;}
3461 { ac_configure_args1=; unset ac_configure_args1;}
3462
3463 # When interrupted or exit'd, cleanup temporary files, and complete
3464 # config.log. We remove comments because anyway the quotes in there
3465 # would cause problems or look ugly.
3466 # WARNING: Use '\'' to represent an apostrophe within the trap.
3467 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3468 trap 'exit_status=$?
3469 # Save into config.log some information that might help in debugging.
3470 {
3471 echo
3472
3473 $as_echo "## ---------------- ##
3474 ## Cache variables. ##
3475 ## ---------------- ##"
3476 echo
3477 # The following way of writing the cache mishandles newlines in values,
3478 (
3479 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3480 eval ac_val=\$$ac_var
3481 case $ac_val in #(
3482 *${as_nl}*)
3483 case $ac_var in #(
3484 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3485 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3486 esac
3487 case $ac_var in #(
3488 _ | IFS | as_nl) ;; #(
3489 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3490 *) { eval $ac_var=; unset $ac_var;} ;;
3491 esac ;;
3492 esac
3493 done
3494 (set) 2>&1 |
3495 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3496 *${as_nl}ac_space=\ *)
3497 sed -n \
3498 "s/'\''/'\''\\\\'\'''\''/g;
3499 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3500 ;; #(
3501 *)
3502 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3503 ;;
3504 esac |
3505 sort
3506 )
3507 echo
3508
3509 $as_echo "## ----------------- ##
3510 ## Output variables. ##
3511 ## ----------------- ##"
3512 echo
3513 for ac_var in $ac_subst_vars
3514 do
3515 eval ac_val=\$$ac_var
3516 case $ac_val in
3517 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3518 esac
3519 $as_echo "$ac_var='\''$ac_val'\''"
3520 done | sort
3521 echo
3522
3523 if test -n "$ac_subst_files"; then
3524 $as_echo "## ------------------- ##
3525 ## File substitutions. ##
3526 ## ------------------- ##"
3527 echo
3528 for ac_var in $ac_subst_files
3529 do
3530 eval ac_val=\$$ac_var
3531 case $ac_val in
3532 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3533 esac
3534 $as_echo "$ac_var='\''$ac_val'\''"
3535 done | sort
3536 echo
3537 fi
3538
3539 if test -s confdefs.h; then
3540 $as_echo "## ----------- ##
3541 ## confdefs.h. ##
3542 ## ----------- ##"
3543 echo
3544 cat confdefs.h
3545 echo
3546 fi
3547 test "$ac_signal" != 0 &&
3548 $as_echo "$as_me: caught signal $ac_signal"
3549 $as_echo "$as_me: exit $exit_status"
3550 } >&5
3551 rm -f core *.core core.conftest.* &&
3552 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3553 exit $exit_status
3554 ' 0
3555 for ac_signal in 1 2 13 15; do
3556 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3557 done
3558 ac_signal=0
3559
3560 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3561 rm -f -r conftest* confdefs.h
3562
3563 $as_echo "/* confdefs.h */" > confdefs.h
3564
3565 # Predefined preprocessor variables.
3566
3567 cat >>confdefs.h <<_ACEOF
3568 #define PACKAGE_NAME "$PACKAGE_NAME"
3569 _ACEOF
3570
3571 cat >>confdefs.h <<_ACEOF
3572 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3573 _ACEOF
3574
3575 cat >>confdefs.h <<_ACEOF
3576 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3577 _ACEOF
3578
3579 cat >>confdefs.h <<_ACEOF
3580 #define PACKAGE_STRING "$PACKAGE_STRING"
3581 _ACEOF
3582
3583 cat >>confdefs.h <<_ACEOF
3584 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3585 _ACEOF
3586
3587 cat >>confdefs.h <<_ACEOF
3588 #define PACKAGE_URL "$PACKAGE_URL"
3589 _ACEOF
3590
3591
3592 # Let the site file select an alternate cache file if it wants to.
3593 # Prefer an explicitly selected file to automatically selected ones.
3594 ac_site_file1=NONE
3595 ac_site_file2=NONE
3596 if test -n "$CONFIG_SITE"; then
3597 # We do not want a PATH search for config.site.
3598 case $CONFIG_SITE in #((
3599 -*) ac_site_file1=./$CONFIG_SITE;;
3600 */*) ac_site_file1=$CONFIG_SITE;;
3601 *) ac_site_file1=./$CONFIG_SITE;;
3602 esac
3603 elif test "x$prefix" != xNONE; then
3604 ac_site_file1=$prefix/share/config.site
3605 ac_site_file2=$prefix/etc/config.site
3606 else
3607 ac_site_file1=$ac_default_prefix/share/config.site
3608 ac_site_file2=$ac_default_prefix/etc/config.site
3609 fi
3610 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3611 do
3612 test "x$ac_site_file" = xNONE && continue
3613 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3615 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3616 sed 's/^/| /' "$ac_site_file" >&5
3617 . "$ac_site_file" \
3618 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3620 as_fn_error $? "failed to load site script $ac_site_file
3621 See \`config.log' for more details" "$LINENO" 5; }
3622 fi
3623 done
3624
3625 if test -r "$cache_file"; then
3626 # Some versions of bash will fail to source /dev/null (special files
3627 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3628 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3630 $as_echo "$as_me: loading cache $cache_file" >&6;}
3631 case $cache_file in
3632 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3633 *) . "./$cache_file";;
3634 esac
3635 fi
3636 else
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3638 $as_echo "$as_me: creating cache $cache_file" >&6;}
3639 >$cache_file
3640 fi
3641
3642 # Check that the precious variables saved in the cache have kept the same
3643 # value.
3644 ac_cache_corrupted=false
3645 for ac_var in $ac_precious_vars; do
3646 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3647 eval ac_new_set=\$ac_env_${ac_var}_set
3648 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3649 eval ac_new_val=\$ac_env_${ac_var}_value
3650 case $ac_old_set,$ac_new_set in
3651 set,)
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3653 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3654 ac_cache_corrupted=: ;;
3655 ,set)
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3657 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3658 ac_cache_corrupted=: ;;
3659 ,);;
3660 *)
3661 if test "x$ac_old_val" != "x$ac_new_val"; then
3662 # differences in whitespace do not lead to failure.
3663 ac_old_val_w=`echo x $ac_old_val`
3664 ac_new_val_w=`echo x $ac_new_val`
3665 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3667 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3668 ac_cache_corrupted=:
3669 else
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3671 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3672 eval $ac_var=\$ac_old_val
3673 fi
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3675 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3677 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3678 fi;;
3679 esac
3680 # Pass precious variables to config.status.
3681 if test "$ac_new_set" = set; then
3682 case $ac_new_val in
3683 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3684 *) ac_arg=$ac_var=$ac_new_val ;;
3685 esac
3686 case " $ac_configure_args " in
3687 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3688 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3689 esac
3690 fi
3691 done
3692 if $ac_cache_corrupted; then
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3696 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3697 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3698 fi
3699 ## -------------------- ##
3700 ## Main body of script. ##
3701 ## -------------------- ##
3702
3703 ac_ext=c
3704 ac_cpp='$CPP $CPPFLAGS'
3705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3708
3709
3710
3711
3712
3713 ac_aux_dir=
3714 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3715 if test -f "$ac_dir/install-sh"; then
3716 ac_aux_dir=$ac_dir
3717 ac_install_sh="$ac_aux_dir/install-sh -c"
3718 break
3719 elif test -f "$ac_dir/install.sh"; then
3720 ac_aux_dir=$ac_dir
3721 ac_install_sh="$ac_aux_dir/install.sh -c"
3722 break
3723 elif test -f "$ac_dir/shtool"; then
3724 ac_aux_dir=$ac_dir
3725 ac_install_sh="$ac_aux_dir/shtool install -c"
3726 break
3727 fi
3728 done
3729 if test -z "$ac_aux_dir"; then
3730 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3731 fi
3732
3733 # These three variables are undocumented and unsupported,
3734 # and are intended to be withdrawn in a future Autoconf release.
3735 # They can cause serious problems if a builder's source tree is in a directory
3736 # whose full name contains unusual characters.
3737 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3738 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3739 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3740
3741
3742 # Make sure we can run config.sub.
3743 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3744 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3745
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3747 $as_echo_n "checking build system type... " >&6; }
3748 if ${ac_cv_build+:} false; then :
3749 $as_echo_n "(cached) " >&6
3750 else
3751 ac_build_alias=$build_alias
3752 test "x$ac_build_alias" = x &&
3753 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3754 test "x$ac_build_alias" = x &&
3755 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3756 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3757 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3758
3759 fi
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3761 $as_echo "$ac_cv_build" >&6; }
3762 case $ac_cv_build in
3763 *-*-*) ;;
3764 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3765 esac
3766 build=$ac_cv_build
3767 ac_save_IFS=$IFS; IFS='-'
3768 set x $ac_cv_build
3769 shift
3770 build_cpu=$1
3771 build_vendor=$2
3772 shift; shift
3773 # Remember, the first character of IFS is used to create $*,
3774 # except with old shells:
3775 build_os=$*
3776 IFS=$ac_save_IFS
3777 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3778
3779
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3781 $as_echo_n "checking host system type... " >&6; }
3782 if ${ac_cv_host+:} false; then :
3783 $as_echo_n "(cached) " >&6
3784 else
3785 if test "x$host_alias" = x; then
3786 ac_cv_host=$ac_cv_build
3787 else
3788 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3789 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3790 fi
3791
3792 fi
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3794 $as_echo "$ac_cv_host" >&6; }
3795 case $ac_cv_host in
3796 *-*-*) ;;
3797 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3798 esac
3799 host=$ac_cv_host
3800 ac_save_IFS=$IFS; IFS='-'
3801 set x $ac_cv_host
3802 shift
3803 host_cpu=$1
3804 host_vendor=$2
3805 shift; shift
3806 # Remember, the first character of IFS is used to create $*,
3807 # except with old shells:
3808 host_os=$*
3809 IFS=$ac_save_IFS
3810 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3811
3812
3813
3814 if test "$cross_compiling" != "no"; then
3815 HOST_PREFIX="${host_alias}-"
3816 HOST_SUFFIX="-$host_alias"
3817 else
3818 HOST_PREFIX=
3819 HOST_SUFFIX=
3820 fi
3821
3822
3823 wx_major_version_number=2
3824 wx_minor_version_number=9
3825 wx_release_number=5
3826 wx_subrelease_number=0
3827
3828 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
3829 WX_VERSION=$WX_RELEASE.$wx_release_number
3830 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
3831
3832 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
3833
3834
3835 wx_top_builddir="`pwd`"
3836
3837
3838
3839
3840 USE_UNIX=1
3841 USE_OS2=0
3842 USE_WIN32=0
3843 USE_DOS=0
3844 USE_BEOS=0
3845 USE_MAC=0
3846
3847 USE_AIX=
3848 USE_BSD= USE_DARWIN= USE_FREEBSD=
3849 USE_GNU= USE_HPUX=
3850 USE_LINUX=
3851 USE_NETBSD=
3852 USE_OPENBSD=
3853 USE_OSF= USE_SGI=
3854 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
3855 USE_ULTRIX=
3856 USE_UNIXWARE=
3857
3858 USE_ALPHA=
3859
3860 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
3861
3862 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3863
3864 DEFAULT_wxUSE_OLD_COCOA=0
3865 DEFAULT_wxUSE_GTK=0
3866 DEFAULT_wxUSE_OSX_CARBON=0
3867 DEFAULT_wxUSE_OSX_COCOA=0
3868 DEFAULT_wxUSE_OSX_IPHONE=0
3869 DEFAULT_wxUSE_MICROWIN=0
3870 DEFAULT_wxUSE_MOTIF=0
3871 DEFAULT_wxUSE_MSW=0
3872 DEFAULT_wxUSE_PM=0
3873 DEFAULT_wxUSE_X11=0
3874 DEFAULT_wxUSE_DFB=0
3875
3876 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
3877 DEFAULT_DEFAULT_wxUSE_GTK=0
3878 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
3879 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
3880 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
3881 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
3882 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3883 DEFAULT_DEFAULT_wxUSE_MSW=0
3884 DEFAULT_DEFAULT_wxUSE_PM=0
3885 DEFAULT_DEFAULT_wxUSE_X11=0
3886 DEFAULT_DEFAULT_wxUSE_DFB=0
3887
3888 PROGRAM_EXT=
3889 SAMPLES_RPATH_FLAG=
3890 DYLIB_RPATH_INSTALL=
3891 DYLIB_RPATH_POSTLINK=
3892
3893 DEFAULT_STD_FLAG=yes
3894
3895 case "${host}" in
3896 *-hp-hpux* )
3897 USE_HPUX=1
3898 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3899 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3900 $as_echo "#define __HPUX__ 1" >>confdefs.h
3901
3902
3903 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
3904 ;;
3905 *-*-linux* )
3906 USE_LINUX=1
3907 $as_echo "#define __LINUX__ 1" >>confdefs.h
3908
3909 TMP=`uname -m`
3910 if test "x$TMP" = "xalpha"; then
3911 USE_ALPHA=1
3912 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3913
3914 fi
3915 DEFAULT_DEFAULT_wxUSE_GTK=1
3916 ;;
3917 *-*-gnu* | *-*-k*bsd*-gnu )
3918 USE_GNU=1
3919 TMP=`uname -m`
3920 if test "x$TMP" = "xalpha"; then
3921 USE_ALPHA=1
3922 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3923
3924 fi
3925 DEFAULT_DEFAULT_wxUSE_GTK=1
3926 ;;
3927 *-*-irix5* | *-*-irix6* )
3928 USE_SGI=1
3929 USE_SVR4=1
3930 $as_echo "#define __SGI__ 1" >>confdefs.h
3931
3932 $as_echo "#define __SVR4__ 1" >>confdefs.h
3933
3934 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3935 ;;
3936 *-*-qnx*)
3937 USE_QNX=1
3938 $as_echo "#define __QNX__ 1" >>confdefs.h
3939
3940 DEFAULT_DEFAULT_wxUSE_X11=1
3941 ;;
3942 *-*-solaris2* )
3943 USE_SUN=1
3944 USE_SOLARIS=1
3945 USE_SVR4=1
3946 $as_echo "#define __SUN__ 1" >>confdefs.h
3947
3948 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3949
3950 $as_echo "#define __SVR4__ 1" >>confdefs.h
3951
3952 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3953 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3954 ;;
3955 *-*-sunos4* )
3956 USE_SUN=1
3957 USE_SUNOS=1
3958 USE_BSD=1
3959 $as_echo "#define __SUN__ 1" >>confdefs.h
3960
3961 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3962
3963 $as_echo "#define __BSD__ 1" >>confdefs.h
3964
3965 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3966 ;;
3967 *-*-freebsd*)
3968 USE_BSD=1
3969 USE_FREEBSD=1
3970 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3971
3972 $as_echo "#define __BSD__ 1" >>confdefs.h
3973
3974 DEFAULT_DEFAULT_wxUSE_GTK=1
3975 ;;
3976 *-*-openbsd*|*-*-mirbsd*)
3977 USE_BSD=1
3978 USE_OPENBSD=1
3979 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3980
3981 $as_echo "#define __BSD__ 1" >>confdefs.h
3982
3983 DEFAULT_DEFAULT_wxUSE_GTK=1
3984 ;;
3985 *-*-netbsd*)
3986 USE_BSD=1
3987 USE_NETBSD=1
3988 $as_echo "#define __NETBSD__ 1" >>confdefs.h
3989
3990 $as_echo "#define __BSD__ 1" >>confdefs.h
3991
3992 DEFAULT_DEFAULT_wxUSE_GTK=1
3993 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3994
3995 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
3996 ;;
3997 *-*-osf* )
3998 USE_ALPHA=1
3999 USE_OSF=1
4000 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4001
4002 $as_echo "#define __OSF__ 1" >>confdefs.h
4003
4004 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4005 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
4006 ;;
4007 *-*-dgux5* )
4008 USE_ALPHA=1
4009 USE_SVR4=1
4010 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4011
4012 $as_echo "#define __SVR4__ 1" >>confdefs.h
4013
4014 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4015 ;;
4016 *-*-sysv5* )
4017 USE_SYSV=1
4018 USE_SVR4=1
4019 $as_echo "#define __SYSV__ 1" >>confdefs.h
4020
4021 $as_echo "#define __SVR4__ 1" >>confdefs.h
4022
4023 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4024 ;;
4025 *-*-aix* )
4026 USE_AIX=1
4027 USE_SYSV=1
4028 USE_SVR4=1
4029 $as_echo "#define __AIX__ 1" >>confdefs.h
4030
4031 $as_echo "#define __SYSV__ 1" >>confdefs.h
4032
4033 $as_echo "#define __SVR4__ 1" >>confdefs.h
4034
4035 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4036 ;;
4037
4038 *-*-*UnixWare*)
4039 USE_SYSV=1
4040 USE_SVR4=1
4041 USE_UNIXWARE=1
4042 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4043
4044 ;;
4045
4046 *-*-cygwin* | *-*-mingw32* )
4047 PROGRAM_EXT=".exe"
4048 DEFAULT_DEFAULT_wxUSE_MSW=1
4049 ;;
4050
4051 *-pc-msdosdjgpp )
4052 USE_UNIX=0
4053 USE_DOS=1
4054 $as_echo "#define __DOS__ 1" >>confdefs.h
4055
4056 PROGRAM_EXT=".exe"
4057 ;;
4058
4059 *-pc-os2_emx | *-pc-os2-emx )
4060 $as_echo "#define __EMX__ 1" >>confdefs.h
4061
4062 USE_OS2=1
4063 $as_echo "#define __OS2__ 1" >>confdefs.h
4064
4065 PROGRAM_EXT=".exe"
4066 DEFAULT_DEFAULT_wxUSE_PM=1
4067 CXX=gcc
4068 LDFLAGS="$LDFLAGS -Zcrtdll"
4069 ac_executable_extensions=".exe"
4070 export ac_executable_extensions
4071 ac_save_IFS="$IFS"
4072 IFS='\\'
4073 ac_TEMP_PATH=
4074 for ac_dir in $PATH; do
4075 IFS=$ac_save_IFS
4076 if test -z "$ac_TEMP_PATH"; then
4077 ac_TEMP_PATH="$ac_dir"
4078 else
4079 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
4080 fi
4081 done
4082 export PATH="$ac_TEMP_PATH"
4083 unset ac_TEMP_PATH
4084 DEFAULT_STD_FLAG=no
4085 ;;
4086
4087 arm-apple-darwin*)
4088 USE_BSD=1
4089 USE_DARWIN=1
4090 $as_echo "#define __BSD__ 1" >>confdefs.h
4091
4092 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4093
4094 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
4095 ;;
4096
4097 *-*-darwin* )
4098 USE_BSD=1
4099 USE_DARWIN=1
4100 $as_echo "#define __BSD__ 1" >>confdefs.h
4101
4102 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4103
4104 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4105
4106 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
4107 ;;
4108
4109 *-*-beos* )
4110 USE_BEOS=1
4111 $as_echo "#define __BEOS__ 1" >>confdefs.h
4112
4113 ;;
4114
4115 *)
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4117 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4119 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4120
4121 DEFAULT_DEFAULT_wxUSE_X11=1
4122 DEFAULT_wxUSE_SHARED=no
4123 esac
4124
4125
4126
4127 DEFAULT_wxUSE_ALL_FEATURES=yes
4128
4129 DEFAULT_wxUSE_STD_CONTAINERS=no
4130 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
4131 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
4132
4133 DEFAULT_wxUSE_DMALLOC=no
4134 DEFAULT_wxUSE_LIBGNOMEVFS=no
4135 DEFAULT_wxUSE_LIBHILDON=no
4136 DEFAULT_wxUSE_LIBHILDON2=no
4137 DEFAULT_wxUSE_LIBMSPACK=no
4138 DEFAULT_wxUSE_LIBSDL=no
4139
4140 DEFAULT_wxUSE_ACCESSIBILITY=no
4141 DEFAULT_wxUSE_IPV6=no
4142 DEFAULT_wxUSE_GSTREAMER8=no
4143 DEFAULT_wxUSE_UNICODE_UTF8=no
4144 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
4145
4146 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
4147 DEFAULT_wxUSE_OPENGL=auto
4148 DEFAULT_wxUSE_MEDIACTRL=auto
4149 DEFAULT_wxUSE_COMPILER_TLS=auto
4150 DEFAULT_wxUSE_HOTKEY=auto
4151 DEFAULT_wxUSE_METAFILE=auto
4152
4153 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
4154 DEFAULT_wxUSE_MAC_ARCH=no
4155
4156 DEFAULT_wxUSE_OFFICIAL_BUILD=no
4157
4158 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
4159
4160
4161
4162
4163
4164 enablestring=disable
4165 defaultval=
4166 if test -z "$defaultval"; then
4167 if test x"$enablestring" = xdisable; then
4168 defaultval=yes
4169 else
4170 defaultval=no
4171 fi
4172 fi
4173
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4175 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4176 # Check whether --enable-gui was given.
4177 if test "${enable_gui+set}" = set; then :
4178 enableval=$enable_gui;
4179 if test "$enableval" = yes; then
4180 wx_cv_use_gui='wxUSE_GUI=yes'
4181 else
4182 wx_cv_use_gui='wxUSE_GUI=no'
4183 fi
4184
4185 else
4186
4187 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4188
4189 fi
4190
4191
4192 eval "$wx_cv_use_gui"
4193
4194 if test x"$enablestring" = xdisable; then
4195 if test $wxUSE_GUI = no; then
4196 result=yes
4197 else
4198 result=no
4199 fi
4200 else
4201 result=$wxUSE_GUI
4202 fi
4203
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4205 $as_echo "$result" >&6; }
4206
4207
4208 enablestring=
4209 defaultval=
4210 if test -z "$defaultval"; then
4211 if test x"$enablestring" = xdisable; then
4212 defaultval=yes
4213 else
4214 defaultval=no
4215 fi
4216 fi
4217
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4219 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4220 # Check whether --enable-monolithic was given.
4221 if test "${enable_monolithic+set}" = set; then :
4222 enableval=$enable_monolithic;
4223 if test "$enableval" = yes; then
4224 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
4225 else
4226 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
4227 fi
4228
4229 else
4230
4231 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4232
4233 fi
4234
4235
4236 eval "$wx_cv_use_monolithic"
4237
4238 if test x"$enablestring" = xdisable; then
4239 if test $wxUSE_MONOLITHIC = no; then
4240 result=yes
4241 else
4242 result=no
4243 fi
4244 else
4245 result=$wxUSE_MONOLITHIC
4246 fi
4247
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4249 $as_echo "$result" >&6; }
4250
4251
4252 enablestring=
4253 defaultval=
4254 if test -z "$defaultval"; then
4255 if test x"$enablestring" = xdisable; then
4256 defaultval=yes
4257 else
4258 defaultval=no
4259 fi
4260 fi
4261
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-plugins" >&5
4263 $as_echo_n "checking for --${enablestring:-enable}-plugins... " >&6; }
4264 # Check whether --enable-plugins was given.
4265 if test "${enable_plugins+set}" = set; then :
4266 enableval=$enable_plugins;
4267 if test "$enableval" = yes; then
4268 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4269 else
4270 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4271 fi
4272
4273 else
4274
4275 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4276
4277 fi
4278
4279
4280 eval "$wx_cv_use_plugins"
4281
4282 if test x"$enablestring" = xdisable; then
4283 if test $wxUSE_PLUGINS = no; then
4284 result=yes
4285 else
4286 result=no
4287 fi
4288 else
4289 result=$wxUSE_PLUGINS
4290 fi
4291
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4293 $as_echo "$result" >&6; }
4294
4295
4296 withstring=without
4297 defaultval=$wxUSE_ALL_FEATURES
4298 if test -z "$defaultval"; then
4299 if test x"$withstring" = xwithout; then
4300 defaultval=yes
4301 else
4302 defaultval=no
4303 fi
4304 fi
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4306 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4307
4308 # Check whether --with-subdirs was given.
4309 if test "${with_subdirs+set}" = set; then :
4310 withval=$with_subdirs;
4311 if test "$withval" = yes; then
4312 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
4313 else
4314 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
4315 fi
4316
4317 else
4318
4319 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4320
4321 fi
4322
4323
4324 eval "$wx_cv_use_subdirs"
4325
4326 if test x"$withstring" = xwithout; then
4327 if test $wxWITH_SUBDIRS = yes; then
4328 result=no
4329 else
4330 result=yes
4331 fi
4332 else
4333 result=$wxWITH_SUBDIRS
4334 fi
4335
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4337 $as_echo "$result" >&6; }
4338
4339
4340 # Check whether --with-flavour was given.
4341 if test "${with_flavour+set}" = set; then :
4342 withval=$with_flavour; WX_FLAVOUR="$withval"
4343 fi
4344
4345
4346 enablestring=
4347 defaultval=
4348 if test -z "$defaultval"; then
4349 if test x"$enablestring" = xdisable; then
4350 defaultval=yes
4351 else
4352 defaultval=no
4353 fi
4354 fi
4355
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4357 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4358 # Check whether --enable-official_build was given.
4359 if test "${enable_official_build+set}" = set; then :
4360 enableval=$enable_official_build;
4361 if test "$enableval" = yes; then
4362 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
4363 else
4364 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
4365 fi
4366
4367 else
4368
4369 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4370
4371 fi
4372
4373
4374 eval "$wx_cv_use_official_build"
4375
4376 if test x"$enablestring" = xdisable; then
4377 if test $wxUSE_OFFICIAL_BUILD = no; then
4378 result=yes
4379 else
4380 result=no
4381 fi
4382 else
4383 result=$wxUSE_OFFICIAL_BUILD
4384 fi
4385
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4387 $as_echo "$result" >&6; }
4388
4389 # Check whether --enable-vendor was given.
4390 if test "${enable_vendor+set}" = set; then :
4391 enableval=$enable_vendor; VENDOR="$enableval"
4392 fi
4393
4394 if test "x$VENDOR" = "x"; then
4395 VENDOR="custom"
4396 fi
4397
4398
4399 enablestring=disable
4400 defaultval=
4401 if test -z "$defaultval"; then
4402 if test x"$enablestring" = xdisable; then
4403 defaultval=yes
4404 else
4405 defaultval=no
4406 fi
4407 fi
4408
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-all-features" >&5
4410 $as_echo_n "checking for --${enablestring:-enable}-all-features... " >&6; }
4411 # Check whether --enable-all-features was given.
4412 if test "${enable_all_features+set}" = set; then :
4413 enableval=$enable_all_features;
4414 if test "$enableval" = yes; then
4415 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4416 else
4417 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4418 fi
4419
4420 else
4421
4422 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4423
4424 fi
4425
4426
4427 eval "$wx_cv_use_all_features"
4428
4429 if test x"$enablestring" = xdisable; then
4430 if test $wxUSE_ALL_FEATURES = no; then
4431 result=yes
4432 else
4433 result=no
4434 fi
4435 else
4436 result=$wxUSE_ALL_FEATURES
4437 fi
4438
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4440 $as_echo "$result" >&6; }
4441
4442
4443 if test "$wxUSE_ALL_FEATURES" = "no"; then
4444 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
4445 DEFAULT_wxUSE_MEDIACTRL=no
4446 fi
4447
4448
4449 if test "$wxUSE_GUI" = "yes"; then
4450
4451
4452 enablestring=
4453 defaultval=
4454 if test -z "$defaultval"; then
4455 if test x"$enablestring" = xdisable; then
4456 defaultval=yes
4457 else
4458 defaultval=no
4459 fi
4460 fi
4461
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4463 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4464 # Check whether --enable-universal was given.
4465 if test "${enable_universal+set}" = set; then :
4466 enableval=$enable_universal;
4467 if test "$enableval" = yes; then
4468 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
4469 else
4470 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
4471 fi
4472
4473 else
4474
4475 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4476
4477 fi
4478
4479
4480 eval "$wx_cv_use_universal"
4481
4482 if test x"$enablestring" = xdisable; then
4483 if test $wxUSE_UNIVERSAL = no; then
4484 result=yes
4485 else
4486 result=no
4487 fi
4488 else
4489 result=$wxUSE_UNIVERSAL
4490 fi
4491
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4493 $as_echo "$result" >&6; }
4494
4495 if test "$wxUSE_UNIVERSAL" = "yes"; then
4496
4497 # Check whether --with-themes was given.
4498 if test "${with_themes+set}" = set; then :
4499 withval=$with_themes; wxUNIV_THEMES="$withval"
4500 fi
4501
4502 fi
4503
4504
4505 # Check whether --with-gtk was given.
4506 if test "${with_gtk+set}" = set; then :
4507 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4508 fi
4509
4510
4511 # Check whether --with-motif was given.
4512 if test "${with_motif+set}" = set; then :
4513 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4514 fi
4515
4516
4517 # Check whether --with-osx_carbon was given.
4518 if test "${with_osx_carbon+set}" = set; then :
4519 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4520 fi
4521
4522
4523 # Check whether --with-osx_cocoa was given.
4524 if test "${with_osx_cocoa+set}" = set; then :
4525 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4526 fi
4527
4528
4529 # Check whether --with-osx_iphone was given.
4530 if test "${with_osx_iphone+set}" = set; then :
4531 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4532 fi
4533
4534
4535 # Check whether --with-osx was given.
4536 if test "${with_osx+set}" = set; then :
4537 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4538 fi
4539
4540
4541 # Check whether --with-carbon was given.
4542 if test "${with_carbon+set}" = set; then :
4543 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4544 fi
4545
4546
4547 # Check whether --with-cocoa was given.
4548 if test "${with_cocoa+set}" = set; then :
4549 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4550 fi
4551
4552
4553 # Check whether --with-iphone was given.
4554 if test "${with_iphone+set}" = set; then :
4555 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4556 fi
4557
4558
4559 # Check whether --with-mac was given.
4560 if test "${with_mac+set}" = set; then :
4561 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4562 fi
4563
4564
4565 # Check whether --with-old_cocoa was given.
4566 if test "${with_old_cocoa+set}" = set; then :
4567 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4568 fi
4569
4570
4571 # Check whether --with-wine was given.
4572 if test "${with_wine+set}" = set; then :
4573 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4574 fi
4575
4576
4577 # Check whether --with-msw was given.
4578 if test "${with_msw+set}" = set; then :
4579 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4580 fi
4581
4582
4583 # Check whether --with-pm was given.
4584 if test "${with_pm+set}" = set; then :
4585 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4586 fi
4587
4588
4589 # Check whether --with-directfb was given.
4590 if test "${with_directfb+set}" = set; then :
4591 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4592 fi
4593
4594
4595 # Check whether --with-microwin was given.
4596 if test "${with_microwin+set}" = set; then :
4597 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4598 fi
4599
4600
4601 # Check whether --with-x11 was given.
4602 if test "${with_x11+set}" = set; then :
4603 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4604 fi
4605
4606
4607 enablestring=
4608 defaultval=
4609 if test -z "$defaultval"; then
4610 if test x"$enablestring" = xdisable; then
4611 defaultval=yes
4612 else
4613 defaultval=no
4614 fi
4615 fi
4616
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4618 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4619 # Check whether --enable-nanox was given.
4620 if test "${enable_nanox+set}" = set; then :
4621 enableval=$enable_nanox;
4622 if test "$enableval" = yes; then
4623 wx_cv_use_nanox='wxUSE_NANOX=yes'
4624 else
4625 wx_cv_use_nanox='wxUSE_NANOX=no'
4626 fi
4627
4628 else
4629
4630 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4631
4632 fi
4633
4634
4635 eval "$wx_cv_use_nanox"
4636
4637 if test x"$enablestring" = xdisable; then
4638 if test $wxUSE_NANOX = no; then
4639 result=yes
4640 else
4641 result=no
4642 fi
4643 else
4644 result=$wxUSE_NANOX
4645 fi
4646
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4648 $as_echo "$result" >&6; }
4649
4650
4651 enablestring=
4652 defaultval=
4653 if test -z "$defaultval"; then
4654 if test x"$enablestring" = xdisable; then
4655 defaultval=yes
4656 else
4657 defaultval=no
4658 fi
4659 fi
4660
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gpe" >&5
4662 $as_echo_n "checking for --${enablestring:-enable}-gpe... " >&6; }
4663 # Check whether --enable-gpe was given.
4664 if test "${enable_gpe+set}" = set; then :
4665 enableval=$enable_gpe;
4666 if test "$enableval" = yes; then
4667 wx_cv_use_gpe='wxUSE_GPE=yes'
4668 else
4669 wx_cv_use_gpe='wxUSE_GPE=no'
4670 fi
4671
4672 else
4673
4674 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4675
4676 fi
4677
4678
4679 eval "$wx_cv_use_gpe"
4680
4681 if test x"$enablestring" = xdisable; then
4682 if test $wxUSE_GPE = no; then
4683 result=yes
4684 else
4685 result=no
4686 fi
4687 else
4688 result=$wxUSE_GPE
4689 fi
4690
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4692 $as_echo "$result" >&6; }
4693
4694
4695
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4697 $as_echo_n "checking for toolkit... " >&6; }
4698
4699
4700
4701 # In Wine, we need to default to MSW, not GTK or MOTIF
4702 if test "$wxUSE_WINE" = "yes"; then
4703 DEFAULT_DEFAULT_wxUSE_GTK=0
4704 DEFAULT_DEFAULT_wxUSE_MOTIF=0
4705 DEFAULT_DEFAULT_wxUSE_MSW=1
4706 wxUSE_SHARED=no
4707 CC=${CC:-winegcc}
4708 CXX=${CXX:-wineg++}
4709 fi
4710
4711
4712 if test "$wxUSE_GUI" = "yes"; then
4713
4714 if test "$USE_BEOS" = 1; then
4715 as_fn_error $? "BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4716 fi
4717
4718 if test "$TOOLKIT_GIVEN" = 1; then
4719 for toolkit in $ALL_TOOLKITS; do
4720 var=wxUSE_$toolkit
4721 eval "value=\$${var}"
4722 if test "x$value" = "xno"; then
4723 eval "$var=0"
4724 elif test "x$value" != "x"; then
4725 eval "$var=1"
4726 fi
4727
4728 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4729 eval "wx${toolkit}_VERSION=$value"
4730 fi
4731 done
4732 else
4733 for toolkit in $ALL_TOOLKITS; do
4734 var=DEFAULT_DEFAULT_wxUSE_$toolkit
4735 eval "wxUSE_$toolkit=\$${var}"
4736 done
4737 fi
4738
4739 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4740 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4741 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4742
4743 case "${host}" in
4744 *-pc-os2_emx | *-pc-os2-emx )
4745 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4746 esac
4747
4748 case "$NUM_TOOLKITS" in
4749 1)
4750 ;;
4751 0)
4752 as_fn_error $? "Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4753 ;;
4754 *)
4755 as_fn_error $? "Please specify at most one toolkit" "$LINENO" 5
4756 esac
4757
4758 for toolkit in $ALL_TOOLKITS; do
4759 var=wxUSE_$toolkit
4760 eval "value=\$${var}"
4761 if test "$value" = 1; then
4762 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4764 $as_echo "$toolkit_echo" >&6; }
4765 fi
4766 done
4767 else
4768 if test "x$host_alias" != "x"; then
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4770 $as_echo "base ($host_alias hosted) only" >&6; }
4771 else
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4773 $as_echo "base only" >&6; }
4774 fi
4775 fi
4776
4777 wxUSE_MAC=0
4778 if test "$wxUSE_OSX_CARBON" = 1 \
4779 -o "$wxUSE_OSX_COCOA" = 1 \
4780 -o "$wxUSE_OSX_IPHONE" = 1; then
4781 wxUSE_MAC=1
4782 fi
4783
4784
4785
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4787 $as_echo_n "checking for --with-libpng... " >&6; }
4788
4789 # Check whether --with-libpng was given.
4790 if test "${with_libpng+set}" = set; then :
4791 withval=$with_libpng;
4792 if test "$withval" = yes; then
4793 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
4794 elif test "$withval" = no; then
4795 wx_cv_use_libpng='wxUSE_LIBPNG=no'
4796 elif test "$withval" = sys; then
4797 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
4798 elif test "$withval" = builtin; then
4799 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
4800 else
4801 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4802 fi
4803
4804 else
4805
4806 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4807
4808 fi
4809
4810
4811 eval "$wx_cv_use_libpng"
4812
4813 if test "$wxUSE_LIBPNG" = yes; then
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4815 $as_echo "yes" >&6; }
4816 elif test "$wxUSE_LIBPNG" = no; then
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4818 $as_echo "no" >&6; }
4819 elif test "$wxUSE_LIBPNG" = sys; then
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4821 $as_echo "system version" >&6; }
4822 elif test "$wxUSE_LIBPNG" = builtin; then
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4824 $as_echo "builtin version" >&6; }
4825 else
4826 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4827 fi
4828
4829
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4831 $as_echo_n "checking for --with-libjpeg... " >&6; }
4832
4833 # Check whether --with-libjpeg was given.
4834 if test "${with_libjpeg+set}" = set; then :
4835 withval=$with_libjpeg;
4836 if test "$withval" = yes; then
4837 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
4838 elif test "$withval" = no; then
4839 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
4840 elif test "$withval" = sys; then
4841 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
4842 elif test "$withval" = builtin; then
4843 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
4844 else
4845 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4846 fi
4847
4848 else
4849
4850 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4851
4852 fi
4853
4854
4855 eval "$wx_cv_use_libjpeg"
4856
4857 if test "$wxUSE_LIBJPEG" = yes; then
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4859 $as_echo "yes" >&6; }
4860 elif test "$wxUSE_LIBJPEG" = no; then
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4862 $as_echo "no" >&6; }
4863 elif test "$wxUSE_LIBJPEG" = sys; then
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4865 $as_echo "system version" >&6; }
4866 elif test "$wxUSE_LIBJPEG" = builtin; then
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4868 $as_echo "builtin version" >&6; }
4869 else
4870 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4871 fi
4872
4873
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libtiff" >&5
4875 $as_echo_n "checking for --with-libtiff... " >&6; }
4876
4877 # Check whether --with-libtiff was given.
4878 if test "${with_libtiff+set}" = set; then :
4879 withval=$with_libtiff;
4880 if test "$withval" = yes; then
4881 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4882 elif test "$withval" = no; then
4883 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4884 elif test "$withval" = sys; then
4885 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4886 elif test "$withval" = builtin; then
4887 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4888 else
4889 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4890 fi
4891
4892 else
4893
4894 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4895
4896 fi
4897
4898
4899 eval "$wx_cv_use_libtiff"
4900
4901 if test "$wxUSE_LIBTIFF" = yes; then
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4903 $as_echo "yes" >&6; }
4904 elif test "$wxUSE_LIBTIFF" = no; then
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4906 $as_echo "no" >&6; }
4907 elif test "$wxUSE_LIBTIFF" = sys; then
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4909 $as_echo "system version" >&6; }
4910 elif test "$wxUSE_LIBTIFF" = builtin; then
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4912 $as_echo "builtin version" >&6; }
4913 else
4914 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4915 fi
4916
4917
4918 withstring=without
4919 defaultval=$wxUSE_ALL_FEATURES
4920 if test -z "$defaultval"; then
4921 if test x"$withstring" = xwithout; then
4922 defaultval=yes
4923 else
4924 defaultval=no
4925 fi
4926 fi
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libjbig" >&5
4928 $as_echo_n "checking for --${withstring:-with}-libjbig... " >&6; }
4929
4930 # Check whether --with-libjbig was given.
4931 if test "${with_libjbig+set}" = set; then :
4932 withval=$with_libjbig;
4933 if test "$withval" = yes; then
4934 wx_cv_use_libjbig='wxUSE_LIBJBIG=yes'
4935 else
4936 wx_cv_use_libjbig='wxUSE_LIBJBIG=no'
4937 fi
4938
4939 else
4940
4941 wx_cv_use_libjbig='wxUSE_LIBJBIG=${'DEFAULT_wxUSE_LIBJBIG":-$defaultval}"
4942
4943 fi
4944
4945
4946 eval "$wx_cv_use_libjbig"
4947
4948 if test x"$withstring" = xwithout; then
4949 if test $wxUSE_LIBJBIG = yes; then
4950 result=no
4951 else
4952 result=yes
4953 fi
4954 else
4955 result=$wxUSE_LIBJBIG
4956 fi
4957
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4959 $as_echo "$result" >&6; }
4960
4961
4962 withstring=without
4963 defaultval=$wxUSE_ALL_FEATURES
4964 if test -z "$defaultval"; then
4965 if test x"$withstring" = xwithout; then
4966 defaultval=yes
4967 else
4968 defaultval=no
4969 fi
4970 fi
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-liblzma" >&5
4972 $as_echo_n "checking for --${withstring:-with}-liblzma... " >&6; }
4973
4974 # Check whether --with-liblzma was given.
4975 if test "${with_liblzma+set}" = set; then :
4976 withval=$with_liblzma;
4977 if test "$withval" = yes; then
4978 wx_cv_use_liblzma='wxUSE_LIBLZMA=yes'
4979 else
4980 wx_cv_use_liblzma='wxUSE_LIBLZMA=no'
4981 fi
4982
4983 else
4984
4985 wx_cv_use_liblzma='wxUSE_LIBLZMA=${'DEFAULT_wxUSE_LIBLZMA":-$defaultval}"
4986
4987 fi
4988
4989
4990 eval "$wx_cv_use_liblzma"
4991
4992 if test x"$withstring" = xwithout; then
4993 if test $wxUSE_LIBLZMA = yes; then
4994 result=no
4995 else
4996 result=yes
4997 fi
4998 else
4999 result=$wxUSE_LIBLZMA
5000 fi
5001
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5003 $as_echo "$result" >&6; }
5004
5005
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
5007 $as_echo_n "checking for --with-libxpm... " >&6; }
5008
5009 # Check whether --with-libxpm was given.
5010 if test "${with_libxpm+set}" = set; then :
5011 withval=$with_libxpm;
5012 if test "$withval" = yes; then
5013 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
5014 elif test "$withval" = no; then
5015 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
5016 elif test "$withval" = sys; then
5017 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
5018 elif test "$withval" = builtin; then
5019 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
5020 else
5021 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
5022 fi
5023
5024 else
5025
5026 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
5027
5028 fi
5029
5030
5031 eval "$wx_cv_use_libxpm"
5032
5033 if test "$wxUSE_LIBXPM" = yes; then
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5035 $as_echo "yes" >&6; }
5036 elif test "$wxUSE_LIBXPM" = no; then
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5038 $as_echo "no" >&6; }
5039 elif test "$wxUSE_LIBXPM" = sys; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5041 $as_echo "system version" >&6; }
5042 elif test "$wxUSE_LIBXPM" = builtin; then
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5044 $as_echo "builtin version" >&6; }
5045 else
5046 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
5047 fi
5048
5049
5050 withstring=
5051 defaultval=$wxUSE_ALL_FEATURES
5052 if test -z "$defaultval"; then
5053 if test x"$withstring" = xwithout; then
5054 defaultval=yes
5055 else
5056 defaultval=no
5057 fi
5058 fi
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
5060 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
5061
5062 # Check whether --with-libiconv was given.
5063 if test "${with_libiconv+set}" = set; then :
5064 withval=$with_libiconv;
5065 if test "$withval" = yes; then
5066 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
5067 else
5068 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
5069 fi
5070
5071 else
5072
5073 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
5074
5075 fi
5076
5077
5078 eval "$wx_cv_use_libiconv"
5079
5080 if test x"$withstring" = xwithout; then
5081 if test $wxUSE_LIBICONV = yes; then
5082 result=no
5083 else
5084 result=yes
5085 fi
5086 else
5087 result=$wxUSE_LIBICONV
5088 fi
5089
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5091 $as_echo "$result" >&6; }
5092
5093
5094 withstring=
5095 defaultval=$wxUSE_ALL_FEATURES
5096 if test -z "$defaultval"; then
5097 if test x"$withstring" = xwithout; then
5098 defaultval=yes
5099 else
5100 defaultval=no
5101 fi
5102 fi
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
5104 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
5105
5106 # Check whether --with-libmspack was given.
5107 if test "${with_libmspack+set}" = set; then :
5108 withval=$with_libmspack;
5109 if test "$withval" = yes; then
5110 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5111 else
5112 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5113 fi
5114
5115 else
5116
5117 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5118
5119 fi
5120
5121
5122 eval "$wx_cv_use_libmspack"
5123
5124 if test x"$withstring" = xwithout; then
5125 if test $wxUSE_LIBMSPACK = yes; then
5126 result=no
5127 else
5128 result=yes
5129 fi
5130 else
5131 result=$wxUSE_LIBMSPACK
5132 fi
5133
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5135 $as_echo "$result" >&6; }
5136
5137
5138 withstring=without
5139 defaultval=$wxUSE_ALL_FEATURES
5140 if test -z "$defaultval"; then
5141 if test x"$withstring" = xwithout; then
5142 defaultval=yes
5143 else
5144 defaultval=no
5145 fi
5146 fi
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5148 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5149
5150 # Check whether --with-gtkprint was given.
5151 if test "${with_gtkprint+set}" = set; then :
5152 withval=$with_gtkprint;
5153 if test "$withval" = yes; then
5154 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5155 else
5156 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5157 fi
5158
5159 else
5160
5161 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5162
5163 fi
5164
5165
5166 eval "$wx_cv_use_gtkprint"
5167
5168 if test x"$withstring" = xwithout; then
5169 if test $wxUSE_GTKPRINT = yes; then
5170 result=no
5171 else
5172 result=yes
5173 fi
5174 else
5175 result=$wxUSE_GTKPRINT
5176 fi
5177
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5179 $as_echo "$result" >&6; }
5180
5181
5182 withstring=without
5183 defaultval=$wxUSE_ALL_FEATURES
5184 if test -z "$defaultval"; then
5185 if test x"$withstring" = xwithout; then
5186 defaultval=yes
5187 else
5188 defaultval=no
5189 fi
5190 fi
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5192 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5193
5194 # Check whether --with-gnomeprint was given.
5195 if test "${with_gnomeprint+set}" = set; then :
5196 withval=$with_gnomeprint;
5197 if test "$withval" = yes; then
5198 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
5199 else
5200 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
5201 fi
5202
5203 else
5204
5205 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5206
5207 fi
5208
5209
5210 eval "$wx_cv_use_gnomeprint"
5211
5212 if test x"$withstring" = xwithout; then
5213 if test $wxUSE_LIBGNOMEPRINT = yes; then
5214 result=no
5215 else
5216 result=yes
5217 fi
5218 else
5219 result=$wxUSE_LIBGNOMEPRINT
5220 fi
5221
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5223 $as_echo "$result" >&6; }
5224
5225
5226 withstring=
5227 defaultval=$wxUSE_ALL_FEATURES
5228 if test -z "$defaultval"; then
5229 if test x"$withstring" = xwithout; then
5230 defaultval=yes
5231 else
5232 defaultval=no
5233 fi
5234 fi
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5236 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5237
5238 # Check whether --with-gnomevfs was given.
5239 if test "${with_gnomevfs+set}" = set; then :
5240 withval=$with_gnomevfs;
5241 if test "$withval" = yes; then
5242 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5243 else
5244 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5245 fi
5246
5247 else
5248
5249 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5250
5251 fi
5252
5253
5254 eval "$wx_cv_use_gnomevfs"
5255
5256 if test x"$withstring" = xwithout; then
5257 if test $wxUSE_LIBGNOMEVFS = yes; then
5258 result=no
5259 else
5260 result=yes
5261 fi
5262 else
5263 result=$wxUSE_LIBGNOMEVFS
5264 fi
5265
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5267 $as_echo "$result" >&6; }
5268
5269
5270 withstring=
5271 defaultval=$wxUSE_ALL_FEATURES
5272 if test -z "$defaultval"; then
5273 if test x"$withstring" = xwithout; then
5274 defaultval=yes
5275 else
5276 defaultval=no
5277 fi
5278 fi
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libnotify" >&5
5280 $as_echo_n "checking for --${withstring:-with}-libnotify... " >&6; }
5281
5282 # Check whether --with-libnotify was given.
5283 if test "${with_libnotify+set}" = set; then :
5284 withval=$with_libnotify;
5285 if test "$withval" = yes; then
5286 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=yes'
5287 else
5288 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=no'
5289 fi
5290
5291 else
5292
5293 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}"
5294
5295 fi
5296
5297
5298 eval "$wx_cv_use_libnotify"
5299
5300 if test x"$withstring" = xwithout; then
5301 if test $wxUSE_LIBNOTIFY = yes; then
5302 result=no
5303 else
5304 result=yes
5305 fi
5306 else
5307 result=$wxUSE_LIBNOTIFY
5308 fi
5309
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5311 $as_echo "$result" >&6; }
5312
5313
5314 withstring=
5315 defaultval=$wxUSE_ALL_FEATURES
5316 if test -z "$defaultval"; then
5317 if test x"$withstring" = xwithout; then
5318 defaultval=yes
5319 else
5320 defaultval=no
5321 fi
5322 fi
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5324 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5325
5326 # Check whether --with-hildon was given.
5327 if test "${with_hildon+set}" = set; then :
5328 withval=$with_hildon;
5329 if test "$withval" = yes; then
5330 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
5331 else
5332 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
5333 fi
5334
5335 else
5336
5337 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5338
5339 fi
5340
5341
5342 eval "$wx_cv_use_hildon"
5343
5344 if test x"$withstring" = xwithout; then
5345 if test $wxUSE_LIBHILDON = yes; then
5346 result=no
5347 else
5348 result=yes
5349 fi
5350 else
5351 result=$wxUSE_LIBHILDON
5352 fi
5353
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5355 $as_echo "$result" >&6; }
5356
5357
5358 withstring=
5359 defaultval=$wxUSE_ALL_FEATURES
5360 if test -z "$defaultval"; then
5361 if test x"$withstring" = xwithout; then
5362 defaultval=yes
5363 else
5364 defaultval=no
5365 fi
5366 fi
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5368 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5369
5370 # Check whether --with-opengl was given.
5371 if test "${with_opengl+set}" = set; then :
5372 withval=$with_opengl;
5373 if test "$withval" = yes; then
5374 wx_cv_use_opengl='wxUSE_OPENGL=yes'
5375 else
5376 wx_cv_use_opengl='wxUSE_OPENGL=no'
5377 fi
5378
5379 else
5380
5381 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5382
5383 fi
5384
5385
5386 eval "$wx_cv_use_opengl"
5387
5388 if test x"$withstring" = xwithout; then
5389 if test $wxUSE_OPENGL = yes; then
5390 result=no
5391 else
5392 result=yes
5393 fi
5394 else
5395 result=$wxUSE_OPENGL
5396 fi
5397
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5399 $as_echo "$result" >&6; }
5400
5401
5402 fi
5403
5404
5405 withstring=
5406 defaultval=$wxUSE_ALL_FEATURES
5407 if test -z "$defaultval"; then
5408 if test x"$withstring" = xwithout; then
5409 defaultval=yes
5410 else
5411 defaultval=no
5412 fi
5413 fi
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5415 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5416
5417 # Check whether --with-dmalloc was given.
5418 if test "${with_dmalloc+set}" = set; then :
5419 withval=$with_dmalloc;
5420 if test "$withval" = yes; then
5421 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5422 else
5423 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5424 fi
5425
5426 else
5427
5428 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5429
5430 fi
5431
5432
5433 eval "$wx_cv_use_dmalloc"
5434
5435 if test x"$withstring" = xwithout; then
5436 if test $wxUSE_DMALLOC = yes; then
5437 result=no
5438 else
5439 result=yes
5440 fi
5441 else
5442 result=$wxUSE_DMALLOC
5443 fi
5444
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5446 $as_echo "$result" >&6; }
5447
5448
5449 withstring=
5450 defaultval=$wxUSE_ALL_FEATURES
5451 if test -z "$defaultval"; then
5452 if test x"$withstring" = xwithout; then
5453 defaultval=yes
5454 else
5455 defaultval=no
5456 fi
5457 fi
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5459 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5460
5461 # Check whether --with-sdl was given.
5462 if test "${with_sdl+set}" = set; then :
5463 withval=$with_sdl;
5464 if test "$withval" = yes; then
5465 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
5466 else
5467 wx_cv_use_sdl='wxUSE_LIBSDL=no'
5468 fi
5469
5470 else
5471
5472 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5473
5474 fi
5475
5476
5477 eval "$wx_cv_use_sdl"
5478
5479 if test x"$withstring" = xwithout; then
5480 if test $wxUSE_LIBSDL = yes; then
5481 result=no
5482 else
5483 result=yes
5484 fi
5485 else
5486 result=$wxUSE_LIBSDL
5487 fi
5488
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5490 $as_echo "$result" >&6; }
5491
5492
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5494 $as_echo_n "checking for --with-regex... " >&6; }
5495
5496 # Check whether --with-regex was given.
5497 if test "${with_regex+set}" = set; then :
5498 withval=$with_regex;
5499 if test "$withval" = yes; then
5500 wx_cv_use_regex='wxUSE_REGEX=yes'
5501 elif test "$withval" = no; then
5502 wx_cv_use_regex='wxUSE_REGEX=no'
5503 elif test "$withval" = sys; then
5504 wx_cv_use_regex='wxUSE_REGEX=sys'
5505 elif test "$withval" = builtin; then
5506 wx_cv_use_regex='wxUSE_REGEX=builtin'
5507 else
5508 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5509 fi
5510
5511 else
5512
5513 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5514
5515 fi
5516
5517
5518 eval "$wx_cv_use_regex"
5519
5520 if test "$wxUSE_REGEX" = yes; then
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5522 $as_echo "yes" >&6; }
5523 elif test "$wxUSE_REGEX" = no; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5525 $as_echo "no" >&6; }
5526 elif test "$wxUSE_REGEX" = sys; then
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5528 $as_echo "system version" >&6; }
5529 elif test "$wxUSE_REGEX" = builtin; then
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5531 $as_echo "builtin version" >&6; }
5532 else
5533 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5534 fi
5535
5536
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5538 $as_echo_n "checking for --with-zlib... " >&6; }
5539
5540 # Check whether --with-zlib was given.
5541 if test "${with_zlib+set}" = set; then :
5542 withval=$with_zlib;
5543 if test "$withval" = yes; then
5544 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5545 elif test "$withval" = no; then
5546 wx_cv_use_zlib='wxUSE_ZLIB=no'
5547 elif test "$withval" = sys; then
5548 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5549 elif test "$withval" = builtin; then
5550 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5551 else
5552 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5553 fi
5554
5555 else
5556
5557 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5558
5559 fi
5560
5561
5562 eval "$wx_cv_use_zlib"
5563
5564 if test "$wxUSE_ZLIB" = yes; then
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5566 $as_echo "yes" >&6; }
5567 elif test "$wxUSE_ZLIB" = no; then
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5569 $as_echo "no" >&6; }
5570 elif test "$wxUSE_ZLIB" = sys; then
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5572 $as_echo "system version" >&6; }
5573 elif test "$wxUSE_ZLIB" = builtin; then
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5575 $as_echo "builtin version" >&6; }
5576 else
5577 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5578 fi
5579
5580
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5582 $as_echo_n "checking for --with-expat... " >&6; }
5583
5584 # Check whether --with-expat was given.
5585 if test "${with_expat+set}" = set; then :
5586 withval=$with_expat;
5587 if test "$withval" = yes; then
5588 wx_cv_use_expat='wxUSE_EXPAT=yes'
5589 elif test "$withval" = no; then
5590 wx_cv_use_expat='wxUSE_EXPAT=no'
5591 elif test "$withval" = sys; then
5592 wx_cv_use_expat='wxUSE_EXPAT=sys'
5593 elif test "$withval" = builtin; then
5594 wx_cv_use_expat='wxUSE_EXPAT=builtin'
5595 else
5596 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5597 fi
5598
5599 else
5600
5601 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5602
5603 fi
5604
5605
5606 eval "$wx_cv_use_expat"
5607
5608 if test "$wxUSE_EXPAT" = yes; then
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5610 $as_echo "yes" >&6; }
5611 elif test "$wxUSE_EXPAT" = no; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5613 $as_echo "no" >&6; }
5614 elif test "$wxUSE_EXPAT" = sys; then
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5616 $as_echo "system version" >&6; }
5617 elif test "$wxUSE_EXPAT" = builtin; then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5619 $as_echo "builtin version" >&6; }
5620 else
5621 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5622 fi
5623
5624
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5626 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5627
5628 # Check whether --with-macosx-sdk was given.
5629 if test "${with_macosx_sdk+set}" = set; then :
5630 withval=$with_macosx_sdk;
5631 wxUSE_MACOSX_SDK=$withval
5632 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5633
5634 fi
5635
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5637 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5638
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5640 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5641
5642 # Check whether --with-macosx-version-min was given.
5643 if test "${with_macosx_version_min+set}" = set; then :
5644 withval=$with_macosx_version_min;
5645 wxUSE_MACOSX_VERSION_MIN=$withval
5646 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5647
5648 fi
5649
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5651 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5652
5653
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5655 $as_echo_n "checking for --enable-debug... " >&6; }
5656 # Check whether --enable-debug was given.
5657 if test "${enable_debug+set}" = set; then :
5658 enableval=$enable_debug;
5659 if test "$enableval" = yes; then
5660 wxUSE_DEBUG=yes
5661 elif test "$enableval" = no; then
5662 wxUSE_DEBUG=no
5663 elif test "$enableval" = max; then
5664 wxUSE_DEBUG=yes
5665 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5666 else
5667 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5668 fi
5669
5670 else
5671 wxUSE_DEBUG=default
5672
5673 fi
5674
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5676 $as_echo "${enable_debug-default}" >&6; }
5677
5678 case "$wxUSE_DEBUG" in
5679 yes)
5680 DEFAULT_wxUSE_DEBUG_FLAG=yes
5681 DEFAULT_wxUSE_DEBUG_INFO=yes
5682
5683 DEFAULT_wxUSE_OPTIMISE=no
5684 ;;
5685
5686 no)
5687 DEFAULT_wxUSE_DEBUG_FLAG=no
5688 DEFAULT_wxUSE_DEBUG_INFO=no
5689 ;;
5690
5691 default)
5692 DEFAULT_wxUSE_DEBUG_FLAG=yes
5693 DEFAULT_wxUSE_DEBUG_INFO=no
5694 ;;
5695 esac
5696
5697
5698 enablestring=disable
5699 defaultval=
5700 if test -z "$defaultval"; then
5701 if test x"$enablestring" = xdisable; then
5702 defaultval=yes
5703 else
5704 defaultval=no
5705 fi
5706 fi
5707
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5709 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5710 # Check whether --enable-debug_flag was given.
5711 if test "${enable_debug_flag+set}" = set; then :
5712 enableval=$enable_debug_flag;
5713 if test "$enableval" = yes; then
5714 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5715 else
5716 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5717 fi
5718
5719 else
5720
5721 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5722
5723 fi
5724
5725
5726 eval "$wx_cv_use_debug_flag"
5727
5728 if test x"$enablestring" = xdisable; then
5729 if test $wxUSE_DEBUG_FLAG = no; then
5730 result=yes
5731 else
5732 result=no
5733 fi
5734 else
5735 result=$wxUSE_DEBUG_FLAG
5736 fi
5737
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5739 $as_echo "$result" >&6; }
5740
5741
5742 enablestring=
5743 defaultval=
5744 if test -z "$defaultval"; then
5745 if test x"$enablestring" = xdisable; then
5746 defaultval=yes
5747 else
5748 defaultval=no
5749 fi
5750 fi
5751
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5753 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5754 # Check whether --enable-debug_info was given.
5755 if test "${enable_debug_info+set}" = set; then :
5756 enableval=$enable_debug_info;
5757 if test "$enableval" = yes; then
5758 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5759 else
5760 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5761 fi
5762
5763 else
5764
5765 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5766
5767 fi
5768
5769
5770 eval "$wx_cv_use_debug_info"
5771
5772 if test x"$enablestring" = xdisable; then
5773 if test $wxUSE_DEBUG_INFO = no; then
5774 result=yes
5775 else
5776 result=no
5777 fi
5778 else
5779 result=$wxUSE_DEBUG_INFO
5780 fi
5781
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5783 $as_echo "$result" >&6; }
5784
5785
5786
5787
5788 enablestring=
5789 defaultval=
5790 if test -z "$defaultval"; then
5791 if test x"$enablestring" = xdisable; then
5792 defaultval=yes
5793 else
5794 defaultval=no
5795 fi
5796 fi
5797
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5799 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5800 # Check whether --enable-debug_gdb was given.
5801 if test "${enable_debug_gdb+set}" = set; then :
5802 enableval=$enable_debug_gdb;
5803 if test "$enableval" = yes; then
5804 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5805 else
5806 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5807 fi
5808
5809 else
5810
5811 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5812
5813 fi
5814
5815
5816 eval "$wx_cv_use_debug_gdb"
5817
5818 if test x"$enablestring" = xdisable; then
5819 if test $wxUSE_DEBUG_GDB = no; then
5820 result=yes
5821 else
5822 result=no
5823 fi
5824 else
5825 result=$wxUSE_DEBUG_GDB
5826 fi
5827
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5829 $as_echo "$result" >&6; }
5830
5831
5832 enablestring=
5833 defaultval=
5834 if test -z "$defaultval"; then
5835 if test x"$enablestring" = xdisable; then
5836 defaultval=yes
5837 else
5838 defaultval=no
5839 fi
5840 fi
5841
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5843 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5844 # Check whether --enable-debug_cntxt was given.
5845 if test "${enable_debug_cntxt+set}" = set; then :
5846 enableval=$enable_debug_cntxt;
5847 if test "$enableval" = yes; then
5848 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5849 else
5850 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5851 fi
5852
5853 else
5854
5855 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5856
5857 fi
5858
5859
5860 eval "$wx_cv_use_debug_cntxt"
5861
5862 if test x"$enablestring" = xdisable; then
5863 if test $wxUSE_DEBUG_CONTEXT = no; then
5864 result=yes
5865 else
5866 result=no
5867 fi
5868 else
5869 result=$wxUSE_DEBUG_CONTEXT
5870 fi
5871
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5873 $as_echo "$result" >&6; }
5874
5875
5876 enablestring=
5877 defaultval=
5878 if test -z "$defaultval"; then
5879 if test x"$enablestring" = xdisable; then
5880 defaultval=yes
5881 else
5882 defaultval=no
5883 fi
5884 fi
5885
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5887 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5888 # Check whether --enable-mem_tracing was given.
5889 if test "${enable_mem_tracing+set}" = set; then :
5890 enableval=$enable_mem_tracing;
5891 if test "$enableval" = yes; then
5892 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5893 else
5894 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5895 fi
5896
5897 else
5898
5899 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5900
5901 fi
5902
5903
5904 eval "$wx_cv_use_mem_tracing"
5905
5906 if test x"$enablestring" = xdisable; then
5907 if test $wxUSE_MEM_TRACING = no; then
5908 result=yes
5909 else
5910 result=no
5911 fi
5912 else
5913 result=$wxUSE_MEM_TRACING
5914 fi
5915
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5917 $as_echo "$result" >&6; }
5918
5919
5920
5921
5922 enablestring=disable
5923 defaultval=
5924 if test -z "$defaultval"; then
5925 if test x"$enablestring" = xdisable; then
5926 defaultval=yes
5927 else
5928 defaultval=no
5929 fi
5930 fi
5931
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5933 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5934 # Check whether --enable-shared was given.
5935 if test "${enable_shared+set}" = set; then :
5936 enableval=$enable_shared;
5937 if test "$enableval" = yes; then
5938 wx_cv_use_shared='wxUSE_SHARED=yes'
5939 else
5940 wx_cv_use_shared='wxUSE_SHARED=no'
5941 fi
5942
5943 else
5944
5945 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5946
5947 fi
5948
5949
5950 eval "$wx_cv_use_shared"
5951
5952 if test x"$enablestring" = xdisable; then
5953 if test $wxUSE_SHARED = no; then
5954 result=yes
5955 else
5956 result=no
5957 fi
5958 else
5959 result=$wxUSE_SHARED
5960 fi
5961
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5963 $as_echo "$result" >&6; }
5964
5965
5966 enablestring=
5967 defaultval=
5968 if test -z "$defaultval"; then
5969 if test x"$enablestring" = xdisable; then
5970 defaultval=yes
5971 else
5972 defaultval=no
5973 fi
5974 fi
5975
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5977 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5978 # Check whether --enable-stl was given.
5979 if test "${enable_stl+set}" = set; then :
5980 enableval=$enable_stl;
5981 if test "$enableval" = yes; then
5982 wx_cv_use_stl='wxUSE_STL=yes'
5983 else
5984 wx_cv_use_stl='wxUSE_STL=no'
5985 fi
5986
5987 else
5988
5989 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5990
5991 fi
5992
5993
5994 eval "$wx_cv_use_stl"
5995
5996 if test x"$enablestring" = xdisable; then
5997 if test $wxUSE_STL = no; then
5998 result=yes
5999 else
6000 result=no
6001 fi
6002 else
6003 result=$wxUSE_STL
6004 fi
6005
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6007 $as_echo "$result" >&6; }
6008
6009 if test "$wxUSE_STL" = "yes"; then
6010 DEFAULT_wxUSE_STD_CONTAINERS=yes
6011 DEFAULT_wxUSE_STD_IOSTREAM=yes
6012 DEFAULT_wxUSE_STD_STRING=yes
6013 fi
6014
6015 enablestring=
6016 defaultval=
6017 if test -z "$defaultval"; then
6018 if test x"$enablestring" = xdisable; then
6019 defaultval=yes
6020 else
6021 defaultval=no
6022 fi
6023 fi
6024
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
6026 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
6027 # Check whether --enable-std_containers was given.
6028 if test "${enable_std_containers+set}" = set; then :
6029 enableval=$enable_std_containers;
6030 if test "$enableval" = yes; then
6031 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
6032 else
6033 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
6034 fi
6035
6036 else
6037
6038 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
6039
6040 fi
6041
6042
6043 eval "$wx_cv_use_std_containers"
6044
6045 if test x"$enablestring" = xdisable; then
6046 if test $wxUSE_STD_CONTAINERS = no; then
6047 result=yes
6048 else
6049 result=no
6050 fi
6051 else
6052 result=$wxUSE_STD_CONTAINERS
6053 fi
6054
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6056 $as_echo "$result" >&6; }
6057
6058
6059 enablestring=
6060 defaultval=
6061 if test -z "$defaultval"; then
6062 if test x"$enablestring" = xdisable; then
6063 defaultval=yes
6064 else
6065 defaultval=no
6066 fi
6067 fi
6068
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
6070 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
6071 # Check whether --enable-std_iostreams was given.
6072 if test "${enable_std_iostreams+set}" = set; then :
6073 enableval=$enable_std_iostreams;
6074 if test "$enableval" = yes; then
6075 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6076 else
6077 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6078 fi
6079
6080 else
6081
6082 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
6083
6084 fi
6085
6086
6087 eval "$wx_cv_use_std_iostreams"
6088
6089 if test x"$enablestring" = xdisable; then
6090 if test $wxUSE_STD_IOSTREAM = no; then
6091 result=yes
6092 else
6093 result=no
6094 fi
6095 else
6096 result=$wxUSE_STD_IOSTREAM
6097 fi
6098
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6100 $as_echo "$result" >&6; }
6101
6102
6103 enablestring=
6104 defaultval=
6105 if test -z "$defaultval"; then
6106 if test x"$enablestring" = xdisable; then
6107 defaultval=yes
6108 else
6109 defaultval=no
6110 fi
6111 fi
6112
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
6114 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
6115 # Check whether --enable-std_string was given.
6116 if test "${enable_std_string+set}" = set; then :
6117 enableval=$enable_std_string;
6118 if test "$enableval" = yes; then
6119 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
6120 else
6121 wx_cv_use_std_string='wxUSE_STD_STRING=no'
6122 fi
6123
6124 else
6125
6126 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6127
6128 fi
6129
6130
6131 eval "$wx_cv_use_std_string"
6132
6133 if test x"$enablestring" = xdisable; then
6134 if test $wxUSE_STD_STRING = no; then
6135 result=yes
6136 else
6137 result=no
6138 fi
6139 else
6140 result=$wxUSE_STD_STRING
6141 fi
6142
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6144 $as_echo "$result" >&6; }
6145
6146
6147 enablestring=
6148 defaultval=
6149 if test -z "$defaultval"; then
6150 if test x"$enablestring" = xdisable; then
6151 defaultval=yes
6152 else
6153 defaultval=no
6154 fi
6155 fi
6156
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6158 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
6159 # Check whether --enable-std_string_conv_in_wxstring was given.
6160 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6161 enableval=$enable_std_string_conv_in_wxstring;
6162 if test "$enableval" = yes; then
6163 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6164 else
6165 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6166 fi
6167
6168 else
6169
6170 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6171
6172 fi
6173
6174
6175 eval "$wx_cv_use_std_string_conv_in_wxstring"
6176
6177 if test x"$enablestring" = xdisable; then
6178 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6179 result=yes
6180 else
6181 result=no
6182 fi
6183 else
6184 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6185 fi
6186
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6188 $as_echo "$result" >&6; }
6189
6190
6191 enablestring=disable
6192 defaultval=
6193 if test -z "$defaultval"; then
6194 if test x"$enablestring" = xdisable; then
6195 defaultval=yes
6196 else
6197 defaultval=no
6198 fi
6199 fi
6200
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6202 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6203 # Check whether --enable-unicode was given.
6204 if test "${enable_unicode+set}" = set; then :
6205 enableval=$enable_unicode;
6206 if test "$enableval" = yes; then
6207 wx_cv_use_unicode='wxUSE_UNICODE=yes'
6208 else
6209 wx_cv_use_unicode='wxUSE_UNICODE=no'
6210 fi
6211
6212 else
6213
6214 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6215
6216 fi
6217
6218
6219 eval "$wx_cv_use_unicode"
6220
6221 if test x"$enablestring" = xdisable; then
6222 if test $wxUSE_UNICODE = no; then
6223 result=yes
6224 else
6225 result=no
6226 fi
6227 else
6228 result=$wxUSE_UNICODE
6229 fi
6230
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6232 $as_echo "$result" >&6; }
6233
6234
6235 enablestring=
6236 defaultval=
6237 if test -z "$defaultval"; then
6238 if test x"$enablestring" = xdisable; then
6239 defaultval=yes
6240 else
6241 defaultval=no
6242 fi
6243 fi
6244
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6246 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6247 # Check whether --enable-mslu was given.
6248 if test "${enable_mslu+set}" = set; then :
6249 enableval=$enable_mslu;
6250 if test "$enableval" = yes; then
6251 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6252 else
6253 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6254 fi
6255
6256 else
6257
6258 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6259
6260 fi
6261
6262
6263 eval "$wx_cv_use_mslu"
6264
6265 if test x"$enablestring" = xdisable; then
6266 if test $wxUSE_UNICODE_MSLU = no; then
6267 result=yes
6268 else
6269 result=no
6270 fi
6271 else
6272 result=$wxUSE_UNICODE_MSLU
6273 fi
6274
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6276 $as_echo "$result" >&6; }
6277
6278
6279 enablestring=
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6281 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6282 # Check whether --enable-utf8 was given.
6283 if test "${enable_utf8+set}" = set; then :
6284 enableval=$enable_utf8;
6285 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6286
6287 else
6288
6289 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6290
6291 fi
6292
6293
6294 eval "$wx_cv_use_utf8"
6295
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6297 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6298
6299
6300 enablestring=
6301 defaultval=
6302 if test -z "$defaultval"; then
6303 if test x"$enablestring" = xdisable; then
6304 defaultval=yes
6305 else
6306 defaultval=no
6307 fi
6308 fi
6309
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6311 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6312 # Check whether --enable-utf8only was given.
6313 if test "${enable_utf8only+set}" = set; then :
6314 enableval=$enable_utf8only;
6315 if test "$enableval" = yes; then
6316 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6317 else
6318 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6319 fi
6320
6321 else
6322
6323 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6324
6325 fi
6326
6327
6328 eval "$wx_cv_use_utf8only"
6329
6330 if test x"$enablestring" = xdisable; then
6331 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6332 result=yes
6333 else
6334 result=no
6335 fi
6336 else
6337 result=$wxUSE_UNICODE_UTF8_LOCALE
6338 fi
6339
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6341 $as_echo "$result" >&6; }
6342
6343
6344 enablestring=
6345 defaultval=
6346 if test -z "$defaultval"; then
6347 if test x"$enablestring" = xdisable; then
6348 defaultval=yes
6349 else
6350 defaultval=no
6351 fi
6352 fi
6353
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6355 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6356 # Check whether --enable-extended_rtti was given.
6357 if test "${enable_extended_rtti+set}" = set; then :
6358 enableval=$enable_extended_rtti;
6359 if test "$enableval" = yes; then
6360 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
6361 else
6362 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
6363 fi
6364
6365 else
6366
6367 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6368
6369 fi
6370
6371
6372 eval "$wx_cv_use_extended_rtti"
6373
6374 if test x"$enablestring" = xdisable; then
6375 if test $wxUSE_EXTENDED_RTTI = no; then
6376 result=yes
6377 else
6378 result=no
6379 fi
6380 else
6381 result=$wxUSE_EXTENDED_RTTI
6382 fi
6383
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6385 $as_echo "$result" >&6; }
6386
6387 if test "$USE_OS2" = 1; then
6388 DEFAULT_wxUSE_OMF=no
6389
6390 enablestring=
6391 defaultval=
6392 if test -z "$defaultval"; then
6393 if test x"$enablestring" = xdisable; then
6394 defaultval=yes
6395 else
6396 defaultval=no
6397 fi
6398 fi
6399
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6401 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6402 # Check whether --enable-omf was given.
6403 if test "${enable_omf+set}" = set; then :
6404 enableval=$enable_omf;
6405 if test "$enableval" = yes; then
6406 wx_cv_use_omf='wxUSE_OMF=yes'
6407 else
6408 wx_cv_use_omf='wxUSE_OMF=no'
6409 fi
6410
6411 else
6412
6413 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6414
6415 fi
6416
6417
6418 eval "$wx_cv_use_omf"
6419
6420 if test x"$enablestring" = xdisable; then
6421 if test $wxUSE_OMF = no; then
6422 result=yes
6423 else
6424 result=no
6425 fi
6426 else
6427 result=$wxUSE_OMF
6428 fi
6429
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6431 $as_echo "$result" >&6; }
6432
6433 fi
6434
6435
6436 enablestring=disable
6437 defaultval=
6438 if test -z "$defaultval"; then
6439 if test x"$enablestring" = xdisable; then
6440 defaultval=yes
6441 else
6442 defaultval=no
6443 fi
6444 fi
6445
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6447 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6448 # Check whether --enable-optimise was given.
6449 if test "${enable_optimise+set}" = set; then :
6450 enableval=$enable_optimise;
6451 if test "$enableval" = yes; then
6452 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6453 else
6454 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6455 fi
6456
6457 else
6458
6459 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6460
6461 fi
6462
6463
6464 eval "$wx_cv_use_optimise"
6465
6466 if test x"$enablestring" = xdisable; then
6467 if test $wxUSE_OPTIMISE = no; then
6468 result=yes
6469 else
6470 result=no
6471 fi
6472 else
6473 result=$wxUSE_OPTIMISE
6474 fi
6475
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6477 $as_echo "$result" >&6; }
6478
6479
6480
6481 enablestring=
6482 defaultval=
6483 if test -z "$defaultval"; then
6484 if test x"$enablestring" = xdisable; then
6485 defaultval=yes
6486 else
6487 defaultval=no
6488 fi
6489 fi
6490
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6492 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6493 # Check whether --enable-profile was given.
6494 if test "${enable_profile+set}" = set; then :
6495 enableval=$enable_profile;
6496 if test "$enableval" = yes; then
6497 wx_cv_use_profile='wxUSE_PROFILE=yes'
6498 else
6499 wx_cv_use_profile='wxUSE_PROFILE=no'
6500 fi
6501
6502 else
6503
6504 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6505
6506 fi
6507
6508
6509 eval "$wx_cv_use_profile"
6510
6511 if test x"$enablestring" = xdisable; then
6512 if test $wxUSE_PROFILE = no; then
6513 result=yes
6514 else
6515 result=no
6516 fi
6517 else
6518 result=$wxUSE_PROFILE
6519 fi
6520
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6522 $as_echo "$result" >&6; }
6523
6524
6525 enablestring=
6526 defaultval=
6527 if test -z "$defaultval"; then
6528 if test x"$enablestring" = xdisable; then
6529 defaultval=yes
6530 else
6531 defaultval=no
6532 fi
6533 fi
6534
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6536 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6537 # Check whether --enable-no_rtti was given.
6538 if test "${enable_no_rtti+set}" = set; then :
6539 enableval=$enable_no_rtti;
6540 if test "$enableval" = yes; then
6541 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6542 else
6543 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6544 fi
6545
6546 else
6547
6548 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6549
6550 fi
6551
6552
6553 eval "$wx_cv_use_no_rtti"
6554
6555 if test x"$enablestring" = xdisable; then
6556 if test $wxUSE_NO_RTTI = no; then
6557 result=yes
6558 else
6559 result=no
6560 fi
6561 else
6562 result=$wxUSE_NO_RTTI
6563 fi
6564
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6566 $as_echo "$result" >&6; }
6567
6568
6569 enablestring=
6570 defaultval=
6571 if test -z "$defaultval"; then
6572 if test x"$enablestring" = xdisable; then
6573 defaultval=yes
6574 else
6575 defaultval=no
6576 fi
6577 fi
6578
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6580 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6581 # Check whether --enable-no_exceptions was given.
6582 if test "${enable_no_exceptions+set}" = set; then :
6583 enableval=$enable_no_exceptions;
6584 if test "$enableval" = yes; then
6585 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6586 else
6587 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6588 fi
6589
6590 else
6591
6592 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6593
6594 fi
6595
6596
6597 eval "$wx_cv_use_no_exceptions"
6598
6599 if test x"$enablestring" = xdisable; then
6600 if test $wxUSE_NO_EXCEPTIONS = no; then
6601 result=yes
6602 else
6603 result=no
6604 fi
6605 else
6606 result=$wxUSE_NO_EXCEPTIONS
6607 fi
6608
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6610 $as_echo "$result" >&6; }
6611
6612
6613 enablestring=
6614 defaultval=
6615 if test -z "$defaultval"; then
6616 if test x"$enablestring" = xdisable; then
6617 defaultval=yes
6618 else
6619 defaultval=no
6620 fi
6621 fi
6622
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6624 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6625 # Check whether --enable-permissive was given.
6626 if test "${enable_permissive+set}" = set; then :
6627 enableval=$enable_permissive;
6628 if test "$enableval" = yes; then
6629 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
6630 else
6631 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
6632 fi
6633
6634 else
6635
6636 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6637
6638 fi
6639
6640
6641 eval "$wx_cv_use_permissive"
6642
6643 if test x"$enablestring" = xdisable; then
6644 if test $wxUSE_PERMISSIVE = no; then
6645 result=yes
6646 else
6647 result=no
6648 fi
6649 else
6650 result=$wxUSE_PERMISSIVE
6651 fi
6652
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6654 $as_echo "$result" >&6; }
6655
6656
6657 enablestring=
6658 defaultval=
6659 if test -z "$defaultval"; then
6660 if test x"$enablestring" = xdisable; then
6661 defaultval=yes
6662 else
6663 defaultval=no
6664 fi
6665 fi
6666
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6668 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6669 # Check whether --enable-no_deps was given.
6670 if test "${enable_no_deps+set}" = set; then :
6671 enableval=$enable_no_deps;
6672 if test "$enableval" = yes; then
6673 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6674 else
6675 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6676 fi
6677
6678 else
6679
6680 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6681
6682 fi
6683
6684
6685 eval "$wx_cv_use_no_deps"
6686
6687 if test x"$enablestring" = xdisable; then
6688 if test $wxUSE_NO_DEPS = no; then
6689 result=yes
6690 else
6691 result=no
6692 fi
6693 else
6694 result=$wxUSE_NO_DEPS
6695 fi
6696
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6698 $as_echo "$result" >&6; }
6699
6700
6701 enablestring=disable
6702 defaultval=
6703 if test -z "$defaultval"; then
6704 if test x"$enablestring" = xdisable; then
6705 defaultval=yes
6706 else
6707 defaultval=no
6708 fi
6709 fi
6710
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6712 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6713 # Check whether --enable-vararg_macros was given.
6714 if test "${enable_vararg_macros+set}" = set; then :
6715 enableval=$enable_vararg_macros;
6716 if test "$enableval" = yes; then
6717 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6718 else
6719 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6720 fi
6721
6722 else
6723
6724 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6725
6726 fi
6727
6728
6729 eval "$wx_cv_use_vararg_macros"
6730
6731 if test x"$enablestring" = xdisable; then
6732 if test $wxUSE_VARARG_MACROS = no; then
6733 result=yes
6734 else
6735 result=no
6736 fi
6737 else
6738 result=$wxUSE_VARARG_MACROS
6739 fi
6740
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6742 $as_echo "$result" >&6; }
6743
6744
6745
6746 enablestring=
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6748 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6749 # Check whether --enable-universal_binary was given.
6750 if test "${enable_universal_binary+set}" = set; then :
6751 enableval=$enable_universal_binary;
6752 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6753
6754 else
6755
6756 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6757
6758 fi
6759
6760
6761 eval "$wx_cv_use_universal_binary"
6762
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6764 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6765
6766
6767 enablestring=
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6769 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6770 # Check whether --enable-macosx_arch was given.
6771 if test "${enable_macosx_arch+set}" = set; then :
6772 enableval=$enable_macosx_arch;
6773 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6774
6775 else
6776
6777 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6778
6779 fi
6780
6781
6782 eval "$wx_cv_use_macosx_arch"
6783
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6785 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6786
6787
6788
6789 enablestring=
6790 defaultval=
6791 if test -z "$defaultval"; then
6792 if test x"$enablestring" = xdisable; then
6793 defaultval=yes
6794 else
6795 defaultval=no
6796 fi
6797 fi
6798
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6800 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6801 # Check whether --enable-compat26 was given.
6802 if test "${enable_compat26+set}" = set; then :
6803 enableval=$enable_compat26;
6804 if test "$enableval" = yes; then
6805 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
6806 else
6807 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
6808 fi
6809
6810 else
6811
6812 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6813
6814 fi
6815
6816
6817 eval "$wx_cv_use_compat26"
6818
6819 if test x"$enablestring" = xdisable; then
6820 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6821 result=yes
6822 else
6823 result=no
6824 fi
6825 else
6826 result=$WXWIN_COMPATIBILITY_2_6
6827 fi
6828
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6830 $as_echo "$result" >&6; }
6831
6832
6833 enablestring=disable
6834 defaultval=
6835 if test -z "$defaultval"; then
6836 if test x"$enablestring" = xdisable; then
6837 defaultval=yes
6838 else
6839 defaultval=no
6840 fi
6841 fi
6842
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6844 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6845 # Check whether --enable-compat28 was given.
6846 if test "${enable_compat28+set}" = set; then :
6847 enableval=$enable_compat28;
6848 if test "$enableval" = yes; then
6849 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6850 else
6851 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6852 fi
6853
6854 else
6855
6856 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6857
6858 fi
6859
6860
6861 eval "$wx_cv_use_compat28"
6862
6863 if test x"$enablestring" = xdisable; then
6864 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6865 result=yes
6866 else
6867 result=no
6868 fi
6869 else
6870 result=$WXWIN_COMPATIBILITY_2_8
6871 fi
6872
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6874 $as_echo "$result" >&6; }
6875
6876
6877
6878 enablestring=disable
6879 defaultval=
6880 if test -z "$defaultval"; then
6881 if test x"$enablestring" = xdisable; then
6882 defaultval=yes
6883 else
6884 defaultval=no
6885 fi
6886 fi
6887
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6889 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6890 # Check whether --enable-rpath was given.
6891 if test "${enable_rpath+set}" = set; then :
6892 enableval=$enable_rpath;
6893 if test "$enableval" = yes; then
6894 wx_cv_use_rpath='wxUSE_RPATH=yes'
6895 else
6896 wx_cv_use_rpath='wxUSE_RPATH=no'
6897 fi
6898
6899 else
6900
6901 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6902
6903 fi
6904
6905
6906 eval "$wx_cv_use_rpath"
6907
6908 if test x"$enablestring" = xdisable; then
6909 if test $wxUSE_RPATH = no; then
6910 result=yes
6911 else
6912 result=no
6913 fi
6914 else
6915 result=$wxUSE_RPATH
6916 fi
6917
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6919 $as_echo "$result" >&6; }
6920
6921
6922
6923 enablestring=
6924 defaultval=
6925 if test -z "$defaultval"; then
6926 if test x"$enablestring" = xdisable; then
6927 defaultval=yes
6928 else
6929 defaultval=no
6930 fi
6931 fi
6932
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6934 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6935 # Check whether --enable-objc_uniquifying was given.
6936 if test "${enable_objc_uniquifying+set}" = set; then :
6937 enableval=$enable_objc_uniquifying;
6938 if test "$enableval" = yes; then
6939 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6940 else
6941 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6942 fi
6943
6944 else
6945
6946 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6947
6948 fi
6949
6950
6951 eval "$wx_cv_use_objc_uniquifying"
6952
6953 if test x"$enablestring" = xdisable; then
6954 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6955 result=yes
6956 else
6957 result=no
6958 fi
6959 else
6960 result=$wxUSE_OBJC_UNIQUIFYING
6961 fi
6962
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6964 $as_echo "$result" >&6; }
6965
6966
6967
6968 enablestring=disable
6969 defaultval=
6970 if test -z "$defaultval"; then
6971 if test x"$enablestring" = xdisable; then
6972 defaultval=yes
6973 else
6974 defaultval=no
6975 fi
6976 fi
6977
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6979 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6980 # Check whether --enable-visibility was given.
6981 if test "${enable_visibility+set}" = set; then :
6982 enableval=$enable_visibility;
6983 if test "$enableval" = yes; then
6984 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6985 else
6986 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6987 fi
6988
6989 else
6990
6991 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6992
6993 fi
6994
6995
6996 eval "$wx_cv_use_visibility"
6997
6998 if test x"$enablestring" = xdisable; then
6999 if test $wxUSE_VISIBILITY = no; then
7000 result=yes
7001 else
7002 result=no
7003 fi
7004 else
7005 result=$wxUSE_VISIBILITY
7006 fi
7007
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7009 $as_echo "$result" >&6; }
7010
7011
7012 enablestring=disable
7013 defaultval=
7014 if test -z "$defaultval"; then
7015 if test x"$enablestring" = xdisable; then
7016 defaultval=yes
7017 else
7018 defaultval=no
7019 fi
7020 fi
7021
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
7023 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
7024 # Check whether --enable-tls was given.
7025 if test "${enable_tls+set}" = set; then :
7026 enableval=$enable_tls;
7027 if test "$enableval" = yes; then
7028 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
7029 else
7030 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
7031 fi
7032
7033 else
7034
7035 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
7036
7037 fi
7038
7039
7040 eval "$wx_cv_use_tls"
7041
7042 if test x"$enablestring" = xdisable; then
7043 if test $wxUSE_COMPILER_TLS = no; then
7044 result=yes
7045 else
7046 result=no
7047 fi
7048 else
7049 result=$wxUSE_COMPILER_TLS
7050 fi
7051
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7053 $as_echo "$result" >&6; }
7054
7055
7056
7057
7058 enablestring=
7059 defaultval=$wxUSE_ALL_FEATURES
7060 if test -z "$defaultval"; then
7061 if test x"$enablestring" = xdisable; then
7062 defaultval=yes
7063 else
7064 defaultval=no
7065 fi
7066 fi
7067
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
7069 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
7070 # Check whether --enable-intl was given.
7071 if test "${enable_intl+set}" = set; then :
7072 enableval=$enable_intl;
7073 if test "$enableval" = yes; then
7074 wx_cv_use_intl='wxUSE_INTL=yes'
7075 else
7076 wx_cv_use_intl='wxUSE_INTL=no'
7077 fi
7078
7079 else
7080
7081 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
7082
7083 fi
7084
7085
7086 eval "$wx_cv_use_intl"
7087
7088 if test x"$enablestring" = xdisable; then
7089 if test $wxUSE_INTL = no; then
7090 result=yes
7091 else
7092 result=no
7093 fi
7094 else
7095 result=$wxUSE_INTL
7096 fi
7097
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7099 $as_echo "$result" >&6; }
7100
7101
7102 enablestring=
7103 defaultval=$wxUSE_ALL_FEATURES
7104 if test -z "$defaultval"; then
7105 if test x"$enablestring" = xdisable; then
7106 defaultval=yes
7107 else
7108 defaultval=no
7109 fi
7110 fi
7111
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
7113 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
7114 # Check whether --enable-xlocale was given.
7115 if test "${enable_xlocale+set}" = set; then :
7116 enableval=$enable_xlocale;
7117 if test "$enableval" = yes; then
7118 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
7119 else
7120 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
7121 fi
7122
7123 else
7124
7125 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7126
7127 fi
7128
7129
7130 eval "$wx_cv_use_xlocale"
7131
7132 if test x"$enablestring" = xdisable; then
7133 if test $wxUSE_XLOCALE = no; then
7134 result=yes
7135 else
7136 result=no
7137 fi
7138 else
7139 result=$wxUSE_XLOCALE
7140 fi
7141
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7143 $as_echo "$result" >&6; }
7144
7145
7146 enablestring=
7147 defaultval=$wxUSE_ALL_FEATURES
7148 if test -z "$defaultval"; then
7149 if test x"$enablestring" = xdisable; then
7150 defaultval=yes
7151 else
7152 defaultval=no
7153 fi
7154 fi
7155
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
7157 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
7158 # Check whether --enable-config was given.
7159 if test "${enable_config+set}" = set; then :
7160 enableval=$enable_config;
7161 if test "$enableval" = yes; then
7162 wx_cv_use_config='wxUSE_CONFIG=yes'
7163 else
7164 wx_cv_use_config='wxUSE_CONFIG=no'
7165 fi
7166
7167 else
7168
7169 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7170
7171 fi
7172
7173
7174 eval "$wx_cv_use_config"
7175
7176 if test x"$enablestring" = xdisable; then
7177 if test $wxUSE_CONFIG = no; then
7178 result=yes
7179 else
7180 result=no
7181 fi
7182 else
7183 result=$wxUSE_CONFIG
7184 fi
7185
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7187 $as_echo "$result" >&6; }
7188
7189
7190
7191 enablestring=
7192 defaultval=$wxUSE_ALL_FEATURES
7193 if test -z "$defaultval"; then
7194 if test x"$enablestring" = xdisable; then
7195 defaultval=yes
7196 else
7197 defaultval=no
7198 fi
7199 fi
7200
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7202 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7203 # Check whether --enable-protocols was given.
7204 if test "${enable_protocols+set}" = set; then :
7205 enableval=$enable_protocols;
7206 if test "$enableval" = yes; then
7207 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
7208 else
7209 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
7210 fi
7211
7212 else
7213
7214 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7215
7216 fi
7217
7218
7219 eval "$wx_cv_use_protocols"
7220
7221 if test x"$enablestring" = xdisable; then
7222 if test $wxUSE_PROTOCOL = no; then
7223 result=yes
7224 else
7225 result=no
7226 fi
7227 else
7228 result=$wxUSE_PROTOCOL
7229 fi
7230
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7232 $as_echo "$result" >&6; }
7233
7234
7235 enablestring=
7236 defaultval=$wxUSE_ALL_FEATURES
7237 if test -z "$defaultval"; then
7238 if test x"$enablestring" = xdisable; then
7239 defaultval=yes
7240 else
7241 defaultval=no
7242 fi
7243 fi
7244
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7246 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7247 # Check whether --enable-ftp was given.
7248 if test "${enable_ftp+set}" = set; then :
7249 enableval=$enable_ftp;
7250 if test "$enableval" = yes; then
7251 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7252 else
7253 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7254 fi
7255
7256 else
7257
7258 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7259
7260 fi
7261
7262
7263 eval "$wx_cv_use_ftp"
7264
7265 if test x"$enablestring" = xdisable; then
7266 if test $wxUSE_PROTOCOL_FTP = no; then
7267 result=yes
7268 else
7269 result=no
7270 fi
7271 else
7272 result=$wxUSE_PROTOCOL_FTP
7273 fi
7274
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7276 $as_echo "$result" >&6; }
7277
7278
7279 enablestring=
7280 defaultval=$wxUSE_ALL_FEATURES
7281 if test -z "$defaultval"; then
7282 if test x"$enablestring" = xdisable; then
7283 defaultval=yes
7284 else
7285 defaultval=no
7286 fi
7287 fi
7288
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7290 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7291 # Check whether --enable-http was given.
7292 if test "${enable_http+set}" = set; then :
7293 enableval=$enable_http;
7294 if test "$enableval" = yes; then
7295 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7296 else
7297 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7298 fi
7299
7300 else
7301
7302 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7303
7304 fi
7305
7306
7307 eval "$wx_cv_use_http"
7308
7309 if test x"$enablestring" = xdisable; then
7310 if test $wxUSE_PROTOCOL_HTTP = no; then
7311 result=yes
7312 else
7313 result=no
7314 fi
7315 else
7316 result=$wxUSE_PROTOCOL_HTTP
7317 fi
7318
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7320 $as_echo "$result" >&6; }
7321
7322
7323 enablestring=
7324 defaultval=$wxUSE_ALL_FEATURES
7325 if test -z "$defaultval"; then
7326 if test x"$enablestring" = xdisable; then
7327 defaultval=yes
7328 else
7329 defaultval=no
7330 fi
7331 fi
7332
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7334 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7335 # Check whether --enable-fileproto was given.
7336 if test "${enable_fileproto+set}" = set; then :
7337 enableval=$enable_fileproto;
7338 if test "$enableval" = yes; then
7339 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
7340 else
7341 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
7342 fi
7343
7344 else
7345
7346 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7347
7348 fi
7349
7350
7351 eval "$wx_cv_use_fileproto"
7352
7353 if test x"$enablestring" = xdisable; then
7354 if test $wxUSE_PROTOCOL_FILE = no; then
7355 result=yes
7356 else
7357 result=no
7358 fi
7359 else
7360 result=$wxUSE_PROTOCOL_FILE
7361 fi
7362
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7364 $as_echo "$result" >&6; }
7365
7366
7367 enablestring=
7368 defaultval=$wxUSE_ALL_FEATURES
7369 if test -z "$defaultval"; then
7370 if test x"$enablestring" = xdisable; then
7371 defaultval=yes
7372 else
7373 defaultval=no
7374 fi
7375 fi
7376
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7378 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7379 # Check whether --enable-sockets was given.
7380 if test "${enable_sockets+set}" = set; then :
7381 enableval=$enable_sockets;
7382 if test "$enableval" = yes; then
7383 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7384 else
7385 wx_cv_use_sockets='wxUSE_SOCKETS=no'
7386 fi
7387
7388 else
7389
7390 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7391
7392 fi
7393
7394
7395 eval "$wx_cv_use_sockets"
7396
7397 if test x"$enablestring" = xdisable; then
7398 if test $wxUSE_SOCKETS = no; then
7399 result=yes
7400 else
7401 result=no
7402 fi
7403 else
7404 result=$wxUSE_SOCKETS
7405 fi
7406
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7408 $as_echo "$result" >&6; }
7409
7410
7411 enablestring=
7412 defaultval=$wxUSE_ALL_FEATURES
7413 if test -z "$defaultval"; then
7414 if test x"$enablestring" = xdisable; then
7415 defaultval=yes
7416 else
7417 defaultval=no
7418 fi
7419 fi
7420
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7422 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7423 # Check whether --enable-ipv6 was given.
7424 if test "${enable_ipv6+set}" = set; then :
7425 enableval=$enable_ipv6;
7426 if test "$enableval" = yes; then
7427 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7428 else
7429 wx_cv_use_ipv6='wxUSE_IPV6=no'
7430 fi
7431
7432 else
7433
7434 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7435
7436 fi
7437
7438
7439 eval "$wx_cv_use_ipv6"
7440
7441 if test x"$enablestring" = xdisable; then
7442 if test $wxUSE_IPV6 = no; then
7443 result=yes
7444 else
7445 result=no
7446 fi
7447 else
7448 result=$wxUSE_IPV6
7449 fi
7450
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7452 $as_echo "$result" >&6; }
7453
7454
7455 enablestring=
7456 defaultval=$wxUSE_ALL_FEATURES
7457 if test -z "$defaultval"; then
7458 if test x"$enablestring" = xdisable; then
7459 defaultval=yes
7460 else
7461 defaultval=no
7462 fi
7463 fi
7464
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7466 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7467 # Check whether --enable-ole was given.
7468 if test "${enable_ole+set}" = set; then :
7469 enableval=$enable_ole;
7470 if test "$enableval" = yes; then
7471 wx_cv_use_ole='wxUSE_OLE=yes'
7472 else
7473 wx_cv_use_ole='wxUSE_OLE=no'
7474 fi
7475
7476 else
7477
7478 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7479
7480 fi
7481
7482
7483 eval "$wx_cv_use_ole"
7484
7485 if test x"$enablestring" = xdisable; then
7486 if test $wxUSE_OLE = no; then
7487 result=yes
7488 else
7489 result=no
7490 fi
7491 else
7492 result=$wxUSE_OLE
7493 fi
7494
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7496 $as_echo "$result" >&6; }
7497
7498
7499 enablestring=
7500 defaultval=$wxUSE_ALL_FEATURES
7501 if test -z "$defaultval"; then
7502 if test x"$enablestring" = xdisable; then
7503 defaultval=yes
7504 else
7505 defaultval=no
7506 fi
7507 fi
7508
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7510 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7511 # Check whether --enable-dataobj was given.
7512 if test "${enable_dataobj+set}" = set; then :
7513 enableval=$enable_dataobj;
7514 if test "$enableval" = yes; then
7515 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7516 else
7517 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7518 fi
7519
7520 else
7521
7522 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7523
7524 fi
7525
7526
7527 eval "$wx_cv_use_dataobj"
7528
7529 if test x"$enablestring" = xdisable; then
7530 if test $wxUSE_DATAOBJ = no; then
7531 result=yes
7532 else
7533 result=no
7534 fi
7535 else
7536 result=$wxUSE_DATAOBJ
7537 fi
7538
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7540 $as_echo "$result" >&6; }
7541
7542
7543
7544 enablestring=
7545 defaultval=$wxUSE_ALL_FEATURES
7546 if test -z "$defaultval"; then
7547 if test x"$enablestring" = xdisable; then
7548 defaultval=yes
7549 else
7550 defaultval=no
7551 fi
7552 fi
7553
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7555 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7556 # Check whether --enable-ipc was given.
7557 if test "${enable_ipc+set}" = set; then :
7558 enableval=$enable_ipc;
7559 if test "$enableval" = yes; then
7560 wx_cv_use_ipc='wxUSE_IPC=yes'
7561 else
7562 wx_cv_use_ipc='wxUSE_IPC=no'
7563 fi
7564
7565 else
7566
7567 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7568
7569 fi
7570
7571
7572 eval "$wx_cv_use_ipc"
7573
7574 if test x"$enablestring" = xdisable; then
7575 if test $wxUSE_IPC = no; then
7576 result=yes
7577 else
7578 result=no
7579 fi
7580 else
7581 result=$wxUSE_IPC
7582 fi
7583
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7585 $as_echo "$result" >&6; }
7586
7587
7588
7589 enablestring=
7590 defaultval=$wxUSE_ALL_FEATURES
7591 if test -z "$defaultval"; then
7592 if test x"$enablestring" = xdisable; then
7593 defaultval=yes
7594 else
7595 defaultval=no
7596 fi
7597 fi
7598
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7600 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7601 # Check whether --enable-baseevtloop was given.
7602 if test "${enable_baseevtloop+set}" = set; then :
7603 enableval=$enable_baseevtloop;
7604 if test "$enableval" = yes; then
7605 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
7606 else
7607 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
7608 fi
7609
7610 else
7611
7612 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7613
7614 fi
7615
7616
7617 eval "$wx_cv_use_baseevtloop"
7618
7619 if test x"$enablestring" = xdisable; then
7620 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7621 result=yes
7622 else
7623 result=no
7624 fi
7625 else
7626 result=$wxUSE_CONSOLE_EVENTLOOP
7627 fi
7628
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7630 $as_echo "$result" >&6; }
7631
7632
7633 enablestring=
7634 defaultval=$wxUSE_ALL_FEATURES
7635 if test -z "$defaultval"; then
7636 if test x"$enablestring" = xdisable; then
7637 defaultval=yes
7638 else
7639 defaultval=no
7640 fi
7641 fi
7642
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7644 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7645 # Check whether --enable-epollloop was given.
7646 if test "${enable_epollloop+set}" = set; then :
7647 enableval=$enable_epollloop;
7648 if test "$enableval" = yes; then
7649 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7650 else
7651 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7652 fi
7653
7654 else
7655
7656 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7657
7658 fi
7659
7660
7661 eval "$wx_cv_use_epollloop"
7662
7663 if test x"$enablestring" = xdisable; then
7664 if test $wxUSE_EPOLL_DISPATCHER = no; then
7665 result=yes
7666 else
7667 result=no
7668 fi
7669 else
7670 result=$wxUSE_EPOLL_DISPATCHER
7671 fi
7672
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7674 $as_echo "$result" >&6; }
7675
7676
7677 enablestring=
7678 defaultval=$wxUSE_ALL_FEATURES
7679 if test -z "$defaultval"; then
7680 if test x"$enablestring" = xdisable; then
7681 defaultval=yes
7682 else
7683 defaultval=no
7684 fi
7685 fi
7686
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7688 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7689 # Check whether --enable-selectloop was given.
7690 if test "${enable_selectloop+set}" = set; then :
7691 enableval=$enable_selectloop;
7692 if test "$enableval" = yes; then
7693 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7694 else
7695 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7696 fi
7697
7698 else
7699
7700 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7701
7702 fi
7703
7704
7705 eval "$wx_cv_use_selectloop"
7706
7707 if test x"$enablestring" = xdisable; then
7708 if test $wxUSE_SELECT_DISPATCHER = no; then
7709 result=yes
7710 else
7711 result=no
7712 fi
7713 else
7714 result=$wxUSE_SELECT_DISPATCHER
7715 fi
7716
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7718 $as_echo "$result" >&6; }
7719
7720
7721
7722 enablestring=
7723 defaultval=$wxUSE_ALL_FEATURES
7724 if test -z "$defaultval"; then
7725 if test x"$enablestring" = xdisable; then
7726 defaultval=yes
7727 else
7728 defaultval=no
7729 fi
7730 fi
7731
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7733 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7734 # Check whether --enable-any was given.
7735 if test "${enable_any+set}" = set; then :
7736 enableval=$enable_any;
7737 if test "$enableval" = yes; then
7738 wx_cv_use_any='wxUSE_ANY=yes'
7739 else
7740 wx_cv_use_any='wxUSE_ANY=no'
7741 fi
7742
7743 else
7744
7745 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7746
7747 fi
7748
7749
7750 eval "$wx_cv_use_any"
7751
7752 if test x"$enablestring" = xdisable; then
7753 if test $wxUSE_ANY = no; then
7754 result=yes
7755 else
7756 result=no
7757 fi
7758 else
7759 result=$wxUSE_ANY
7760 fi
7761
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7763 $as_echo "$result" >&6; }
7764
7765
7766 enablestring=
7767 defaultval=$wxUSE_ALL_FEATURES
7768 if test -z "$defaultval"; then
7769 if test x"$enablestring" = xdisable; then
7770 defaultval=yes
7771 else
7772 defaultval=no
7773 fi
7774 fi
7775
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7777 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7778 # Check whether --enable-apple_ieee was given.
7779 if test "${enable_apple_ieee+set}" = set; then :
7780 enableval=$enable_apple_ieee;
7781 if test "$enableval" = yes; then
7782 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7783 else
7784 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7785 fi
7786
7787 else
7788
7789 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7790
7791 fi
7792
7793
7794 eval "$wx_cv_use_apple_ieee"
7795
7796 if test x"$enablestring" = xdisable; then
7797 if test $wxUSE_APPLE_IEEE = no; then
7798 result=yes
7799 else
7800 result=no
7801 fi
7802 else
7803 result=$wxUSE_APPLE_IEEE
7804 fi
7805
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7807 $as_echo "$result" >&6; }
7808
7809
7810 enablestring=
7811 defaultval=$wxUSE_ALL_FEATURES
7812 if test -z "$defaultval"; then
7813 if test x"$enablestring" = xdisable; then
7814 defaultval=yes
7815 else
7816 defaultval=no
7817 fi
7818 fi
7819
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7821 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7822 # Check whether --enable-arcstream was given.
7823 if test "${enable_arcstream+set}" = set; then :
7824 enableval=$enable_arcstream;
7825 if test "$enableval" = yes; then
7826 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7827 else
7828 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7829 fi
7830
7831 else
7832
7833 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7834
7835 fi
7836
7837
7838 eval "$wx_cv_use_arcstream"
7839
7840 if test x"$enablestring" = xdisable; then
7841 if test $wxUSE_ARCHIVE_STREAMS = no; then
7842 result=yes
7843 else
7844 result=no
7845 fi
7846 else
7847 result=$wxUSE_ARCHIVE_STREAMS
7848 fi
7849
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7851 $as_echo "$result" >&6; }
7852
7853
7854 enablestring=
7855 defaultval=$wxUSE_ALL_FEATURES
7856 if test -z "$defaultval"; then
7857 if test x"$enablestring" = xdisable; then
7858 defaultval=yes
7859 else
7860 defaultval=no
7861 fi
7862 fi
7863
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7865 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7866 # Check whether --enable-base64 was given.
7867 if test "${enable_base64+set}" = set; then :
7868 enableval=$enable_base64;
7869 if test "$enableval" = yes; then
7870 wx_cv_use_base64='wxUSE_BASE64=yes'
7871 else
7872 wx_cv_use_base64='wxUSE_BASE64=no'
7873 fi
7874
7875 else
7876
7877 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7878
7879 fi
7880
7881
7882 eval "$wx_cv_use_base64"
7883
7884 if test x"$enablestring" = xdisable; then
7885 if test $wxUSE_BASE64 = no; then
7886 result=yes
7887 else
7888 result=no
7889 fi
7890 else
7891 result=$wxUSE_BASE64
7892 fi
7893
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7895 $as_echo "$result" >&6; }
7896
7897
7898 enablestring=
7899 defaultval=$wxUSE_ALL_FEATURES
7900 if test -z "$defaultval"; then
7901 if test x"$enablestring" = xdisable; then
7902 defaultval=yes
7903 else
7904 defaultval=no
7905 fi
7906 fi
7907
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7909 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7910 # Check whether --enable-backtrace was given.
7911 if test "${enable_backtrace+set}" = set; then :
7912 enableval=$enable_backtrace;
7913 if test "$enableval" = yes; then
7914 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7915 else
7916 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7917 fi
7918
7919 else
7920
7921 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7922
7923 fi
7924
7925
7926 eval "$wx_cv_use_backtrace"
7927
7928 if test x"$enablestring" = xdisable; then
7929 if test $wxUSE_STACKWALKER = no; then
7930 result=yes
7931 else
7932 result=no
7933 fi
7934 else
7935 result=$wxUSE_STACKWALKER
7936 fi
7937
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7939 $as_echo "$result" >&6; }
7940
7941
7942 enablestring=
7943 defaultval=$wxUSE_ALL_FEATURES
7944 if test -z "$defaultval"; then
7945 if test x"$enablestring" = xdisable; then
7946 defaultval=yes
7947 else
7948 defaultval=no
7949 fi
7950 fi
7951
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7953 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7954 # Check whether --enable-catch_segvs was given.
7955 if test "${enable_catch_segvs+set}" = set; then :
7956 enableval=$enable_catch_segvs;
7957 if test "$enableval" = yes; then
7958 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7959 else
7960 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7961 fi
7962
7963 else
7964
7965 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7966
7967 fi
7968
7969
7970 eval "$wx_cv_use_catch_segvs"
7971
7972 if test x"$enablestring" = xdisable; then
7973 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7974 result=yes
7975 else
7976 result=no
7977 fi
7978 else
7979 result=$wxUSE_ON_FATAL_EXCEPTION
7980 fi
7981
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7983 $as_echo "$result" >&6; }
7984
7985
7986 enablestring=
7987 defaultval=$wxUSE_ALL_FEATURES
7988 if test -z "$defaultval"; then
7989 if test x"$enablestring" = xdisable; then
7990 defaultval=yes
7991 else
7992 defaultval=no
7993 fi
7994 fi
7995
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7997 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7998 # Check whether --enable-cmdline was given.
7999 if test "${enable_cmdline+set}" = set; then :
8000 enableval=$enable_cmdline;
8001 if test "$enableval" = yes; then
8002 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
8003 else
8004 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
8005 fi
8006
8007 else
8008
8009 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
8010
8011 fi
8012
8013
8014 eval "$wx_cv_use_cmdline"
8015
8016 if test x"$enablestring" = xdisable; then
8017 if test $wxUSE_CMDLINE_PARSER = no; then
8018 result=yes
8019 else
8020 result=no
8021 fi
8022 else
8023 result=$wxUSE_CMDLINE_PARSER
8024 fi
8025
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8027 $as_echo "$result" >&6; }
8028
8029
8030 enablestring=
8031 defaultval=$wxUSE_ALL_FEATURES
8032 if test -z "$defaultval"; then
8033 if test x"$enablestring" = xdisable; then
8034 defaultval=yes
8035 else
8036 defaultval=no
8037 fi
8038 fi
8039
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
8041 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
8042 # Check whether --enable-datetime was given.
8043 if test "${enable_datetime+set}" = set; then :
8044 enableval=$enable_datetime;
8045 if test "$enableval" = yes; then
8046 wx_cv_use_datetime='wxUSE_DATETIME=yes'
8047 else
8048 wx_cv_use_datetime='wxUSE_DATETIME=no'
8049 fi
8050
8051 else
8052
8053 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
8054
8055 fi
8056
8057
8058 eval "$wx_cv_use_datetime"
8059
8060 if test x"$enablestring" = xdisable; then
8061 if test $wxUSE_DATETIME = no; then
8062 result=yes
8063 else
8064 result=no
8065 fi
8066 else
8067 result=$wxUSE_DATETIME
8068 fi
8069
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8071 $as_echo "$result" >&6; }
8072
8073
8074 enablestring=
8075 defaultval=$wxUSE_ALL_FEATURES
8076 if test -z "$defaultval"; then
8077 if test x"$enablestring" = xdisable; then
8078 defaultval=yes
8079 else
8080 defaultval=no
8081 fi
8082 fi
8083
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
8085 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
8086 # Check whether --enable-debugreport was given.
8087 if test "${enable_debugreport+set}" = set; then :
8088 enableval=$enable_debugreport;
8089 if test "$enableval" = yes; then
8090 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
8091 else
8092 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
8093 fi
8094
8095 else
8096
8097 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
8098
8099 fi
8100
8101
8102 eval "$wx_cv_use_debugreport"
8103
8104 if test x"$enablestring" = xdisable; then
8105 if test $wxUSE_DEBUGREPORT = no; then
8106 result=yes
8107 else
8108 result=no
8109 fi
8110 else
8111 result=$wxUSE_DEBUGREPORT
8112 fi
8113
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8115 $as_echo "$result" >&6; }
8116
8117
8118 enablestring=
8119 defaultval=$wxUSE_ALL_FEATURES
8120 if test -z "$defaultval"; then
8121 if test x"$enablestring" = xdisable; then
8122 defaultval=yes
8123 else
8124 defaultval=no
8125 fi
8126 fi
8127
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8129 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8130 # Check whether --enable-dialupman was given.
8131 if test "${enable_dialupman+set}" = set; then :
8132 enableval=$enable_dialupman;
8133 if test "$enableval" = yes; then
8134 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
8135 else
8136 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
8137 fi
8138
8139 else
8140
8141 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8142
8143 fi
8144
8145
8146 eval "$wx_cv_use_dialupman"
8147
8148 if test x"$enablestring" = xdisable; then
8149 if test $wxUSE_DIALUP_MANAGER = no; then
8150 result=yes
8151 else
8152 result=no
8153 fi
8154 else
8155 result=$wxUSE_DIALUP_MANAGER
8156 fi
8157
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8159 $as_echo "$result" >&6; }
8160
8161
8162 enablestring=
8163 defaultval=$wxUSE_ALL_FEATURES
8164 if test -z "$defaultval"; then
8165 if test x"$enablestring" = xdisable; then
8166 defaultval=yes
8167 else
8168 defaultval=no
8169 fi
8170 fi
8171
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8173 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8174 # Check whether --enable-dynlib was given.
8175 if test "${enable_dynlib+set}" = set; then :
8176 enableval=$enable_dynlib;
8177 if test "$enableval" = yes; then
8178 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8179 else
8180 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8181 fi
8182
8183 else
8184
8185 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8186
8187 fi
8188
8189
8190 eval "$wx_cv_use_dynlib"
8191
8192 if test x"$enablestring" = xdisable; then
8193 if test $wxUSE_DYNLIB_CLASS = no; then
8194 result=yes
8195 else
8196 result=no
8197 fi
8198 else
8199 result=$wxUSE_DYNLIB_CLASS
8200 fi
8201
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8203 $as_echo "$result" >&6; }
8204
8205
8206 enablestring=
8207 defaultval=$wxUSE_ALL_FEATURES
8208 if test -z "$defaultval"; then
8209 if test x"$enablestring" = xdisable; then
8210 defaultval=yes
8211 else
8212 defaultval=no
8213 fi
8214 fi
8215
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8217 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8218 # Check whether --enable-dynamicloader was given.
8219 if test "${enable_dynamicloader+set}" = set; then :
8220 enableval=$enable_dynamicloader;
8221 if test "$enableval" = yes; then
8222 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8223 else
8224 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8225 fi
8226
8227 else
8228
8229 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8230
8231 fi
8232
8233
8234 eval "$wx_cv_use_dynamicloader"
8235
8236 if test x"$enablestring" = xdisable; then
8237 if test $wxUSE_DYNAMIC_LOADER = no; then
8238 result=yes
8239 else
8240 result=no
8241 fi
8242 else
8243 result=$wxUSE_DYNAMIC_LOADER
8244 fi
8245
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8247 $as_echo "$result" >&6; }
8248
8249
8250 enablestring=
8251 defaultval=$wxUSE_ALL_FEATURES
8252 if test -z "$defaultval"; then
8253 if test x"$enablestring" = xdisable; then
8254 defaultval=yes
8255 else
8256 defaultval=no
8257 fi
8258 fi
8259
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8261 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8262 # Check whether --enable-exceptions was given.
8263 if test "${enable_exceptions+set}" = set; then :
8264 enableval=$enable_exceptions;
8265 if test "$enableval" = yes; then
8266 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
8267 else
8268 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
8269 fi
8270
8271 else
8272
8273 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8274
8275 fi
8276
8277
8278 eval "$wx_cv_use_exceptions"
8279
8280 if test x"$enablestring" = xdisable; then
8281 if test $wxUSE_EXCEPTIONS = no; then
8282 result=yes
8283 else
8284 result=no
8285 fi
8286 else
8287 result=$wxUSE_EXCEPTIONS
8288 fi
8289
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8291 $as_echo "$result" >&6; }
8292
8293
8294 enablestring=
8295 defaultval=$wxUSE_ALL_FEATURES
8296 if test -z "$defaultval"; then
8297 if test x"$enablestring" = xdisable; then
8298 defaultval=yes
8299 else
8300 defaultval=no
8301 fi
8302 fi
8303
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8305 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8306 # Check whether --enable-ffile was given.
8307 if test "${enable_ffile+set}" = set; then :
8308 enableval=$enable_ffile;
8309 if test "$enableval" = yes; then
8310 wx_cv_use_ffile='wxUSE_FFILE=yes'
8311 else
8312 wx_cv_use_ffile='wxUSE_FFILE=no'
8313 fi
8314
8315 else
8316
8317 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8318
8319 fi
8320
8321
8322 eval "$wx_cv_use_ffile"
8323
8324 if test x"$enablestring" = xdisable; then
8325 if test $wxUSE_FFILE = no; then
8326 result=yes
8327 else
8328 result=no
8329 fi
8330 else
8331 result=$wxUSE_FFILE
8332 fi
8333
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8335 $as_echo "$result" >&6; }
8336
8337
8338 enablestring=
8339 defaultval=$wxUSE_ALL_FEATURES
8340 if test -z "$defaultval"; then
8341 if test x"$enablestring" = xdisable; then
8342 defaultval=yes
8343 else
8344 defaultval=no
8345 fi
8346 fi
8347
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8349 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8350 # Check whether --enable-file was given.
8351 if test "${enable_file+set}" = set; then :
8352 enableval=$enable_file;
8353 if test "$enableval" = yes; then
8354 wx_cv_use_file='wxUSE_FILE=yes'
8355 else
8356 wx_cv_use_file='wxUSE_FILE=no'
8357 fi
8358
8359 else
8360
8361 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8362
8363 fi
8364
8365
8366 eval "$wx_cv_use_file"
8367
8368 if test x"$enablestring" = xdisable; then
8369 if test $wxUSE_FILE = no; then
8370 result=yes
8371 else
8372 result=no
8373 fi
8374 else
8375 result=$wxUSE_FILE
8376 fi
8377
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8379 $as_echo "$result" >&6; }
8380
8381
8382 enablestring=
8383 defaultval=$wxUSE_ALL_FEATURES
8384 if test -z "$defaultval"; then
8385 if test x"$enablestring" = xdisable; then
8386 defaultval=yes
8387 else
8388 defaultval=no
8389 fi
8390 fi
8391
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8393 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8394 # Check whether --enable-filehistory was given.
8395 if test "${enable_filehistory+set}" = set; then :
8396 enableval=$enable_filehistory;
8397 if test "$enableval" = yes; then
8398 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
8399 else
8400 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
8401 fi
8402
8403 else
8404
8405 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8406
8407 fi
8408
8409
8410 eval "$wx_cv_use_filehistory"
8411
8412 if test x"$enablestring" = xdisable; then
8413 if test $wxUSE_FILE_HISTORY = no; then
8414 result=yes
8415 else
8416 result=no
8417 fi
8418 else
8419 result=$wxUSE_FILE_HISTORY
8420 fi
8421
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8423 $as_echo "$result" >&6; }
8424
8425
8426 enablestring=
8427 defaultval=$wxUSE_ALL_FEATURES
8428 if test -z "$defaultval"; then
8429 if test x"$enablestring" = xdisable; then
8430 defaultval=yes
8431 else
8432 defaultval=no
8433 fi
8434 fi
8435
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8437 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8438 # Check whether --enable-filesystem was given.
8439 if test "${enable_filesystem+set}" = set; then :
8440 enableval=$enable_filesystem;
8441 if test "$enableval" = yes; then
8442 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8443 else
8444 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8445 fi
8446
8447 else
8448
8449 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8450
8451 fi
8452
8453
8454 eval "$wx_cv_use_filesystem"
8455
8456 if test x"$enablestring" = xdisable; then
8457 if test $wxUSE_FILESYSTEM = no; then
8458 result=yes
8459 else
8460 result=no
8461 fi
8462 else
8463 result=$wxUSE_FILESYSTEM
8464 fi
8465
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8467 $as_echo "$result" >&6; }
8468
8469
8470 enablestring=
8471 defaultval=$wxUSE_ALL_FEATURES
8472 if test -z "$defaultval"; then
8473 if test x"$enablestring" = xdisable; then
8474 defaultval=yes
8475 else
8476 defaultval=no
8477 fi
8478 fi
8479
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8481 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8482 # Check whether --enable-fontenum was given.
8483 if test "${enable_fontenum+set}" = set; then :
8484 enableval=$enable_fontenum;
8485 if test "$enableval" = yes; then
8486 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8487 else
8488 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8489 fi
8490
8491 else
8492
8493 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8494
8495 fi
8496
8497
8498 eval "$wx_cv_use_fontenum"
8499
8500 if test x"$enablestring" = xdisable; then
8501 if test $wxUSE_FONTENUM = no; then
8502 result=yes
8503 else
8504 result=no
8505 fi
8506 else
8507 result=$wxUSE_FONTENUM
8508 fi
8509
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8511 $as_echo "$result" >&6; }
8512
8513
8514 enablestring=
8515 defaultval=$wxUSE_ALL_FEATURES
8516 if test -z "$defaultval"; then
8517 if test x"$enablestring" = xdisable; then
8518 defaultval=yes
8519 else
8520 defaultval=no
8521 fi
8522 fi
8523
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8525 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8526 # Check whether --enable-fontmap was given.
8527 if test "${enable_fontmap+set}" = set; then :
8528 enableval=$enable_fontmap;
8529 if test "$enableval" = yes; then
8530 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
8531 else
8532 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
8533 fi
8534
8535 else
8536
8537 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8538
8539 fi
8540
8541
8542 eval "$wx_cv_use_fontmap"
8543
8544 if test x"$enablestring" = xdisable; then
8545 if test $wxUSE_FONTMAP = no; then
8546 result=yes
8547 else
8548 result=no
8549 fi
8550 else
8551 result=$wxUSE_FONTMAP
8552 fi
8553
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8555 $as_echo "$result" >&6; }
8556
8557
8558 enablestring=
8559 defaultval=$wxUSE_ALL_FEATURES
8560 if test -z "$defaultval"; then
8561 if test x"$enablestring" = xdisable; then
8562 defaultval=yes
8563 else
8564 defaultval=no
8565 fi
8566 fi
8567
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8569 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8570 # Check whether --enable-fs_archive was given.
8571 if test "${enable_fs_archive+set}" = set; then :
8572 enableval=$enable_fs_archive;
8573 if test "$enableval" = yes; then
8574 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8575 else
8576 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8577 fi
8578
8579 else
8580
8581 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8582
8583 fi
8584
8585
8586 eval "$wx_cv_use_fs_archive"
8587
8588 if test x"$enablestring" = xdisable; then
8589 if test $wxUSE_FS_ARCHIVE = no; then
8590 result=yes
8591 else
8592 result=no
8593 fi
8594 else
8595 result=$wxUSE_FS_ARCHIVE
8596 fi
8597
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8599 $as_echo "$result" >&6; }
8600
8601
8602 enablestring=
8603 defaultval=$wxUSE_ALL_FEATURES
8604 if test -z "$defaultval"; then
8605 if test x"$enablestring" = xdisable; then
8606 defaultval=yes
8607 else
8608 defaultval=no
8609 fi
8610 fi
8611
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8613 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8614 # Check whether --enable-fs_inet was given.
8615 if test "${enable_fs_inet+set}" = set; then :
8616 enableval=$enable_fs_inet;
8617 if test "$enableval" = yes; then
8618 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8619 else
8620 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8621 fi
8622
8623 else
8624
8625 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8626
8627 fi
8628
8629
8630 eval "$wx_cv_use_fs_inet"
8631
8632 if test x"$enablestring" = xdisable; then
8633 if test $wxUSE_FS_INET = no; then
8634 result=yes
8635 else
8636 result=no
8637 fi
8638 else
8639 result=$wxUSE_FS_INET
8640 fi
8641
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8643 $as_echo "$result" >&6; }
8644
8645
8646 enablestring=
8647 defaultval=$wxUSE_ALL_FEATURES
8648 if test -z "$defaultval"; then
8649 if test x"$enablestring" = xdisable; then
8650 defaultval=yes
8651 else
8652 defaultval=no
8653 fi
8654 fi
8655
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8657 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8658 # Check whether --enable-fs_zip was given.
8659 if test "${enable_fs_zip+set}" = set; then :
8660 enableval=$enable_fs_zip;
8661 if test "$enableval" = yes; then
8662 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
8663 else
8664 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
8665 fi
8666
8667 else
8668
8669 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8670
8671 fi
8672
8673
8674 eval "$wx_cv_use_fs_zip"
8675
8676 if test x"$enablestring" = xdisable; then
8677 if test $wxUSE_FS_ZIP = no; then
8678 result=yes
8679 else
8680 result=no
8681 fi
8682 else
8683 result=$wxUSE_FS_ZIP
8684 fi
8685
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8687 $as_echo "$result" >&6; }
8688
8689
8690 enablestring=
8691 defaultval=$wxUSE_ALL_FEATURES
8692 if test -z "$defaultval"; then
8693 if test x"$enablestring" = xdisable; then
8694 defaultval=yes
8695 else
8696 defaultval=no
8697 fi
8698 fi
8699
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fsvolume" >&5
8701 $as_echo_n "checking for --${enablestring:-enable}-fsvolume... " >&6; }
8702 # Check whether --enable-fsvolume was given.
8703 if test "${enable_fsvolume+set}" = set; then :
8704 enableval=$enable_fsvolume;
8705 if test "$enableval" = yes; then
8706 wx_cv_use_fsvolume='wxUSE_FSVOLUME=yes'
8707 else
8708 wx_cv_use_fsvolume='wxUSE_FSVOLUME=no'
8709 fi
8710
8711 else
8712
8713 wx_cv_use_fsvolume='wxUSE_FSVOLUME=${'DEFAULT_wxUSE_FSVOLUME":-$defaultval}"
8714
8715 fi
8716
8717
8718 eval "$wx_cv_use_fsvolume"
8719
8720 if test x"$enablestring" = xdisable; then
8721 if test $wxUSE_FSVOLUME = no; then
8722 result=yes
8723 else
8724 result=no
8725 fi
8726 else
8727 result=$wxUSE_FSVOLUME
8728 fi
8729
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8731 $as_echo "$result" >&6; }
8732
8733
8734 enablestring=
8735 defaultval=$wxUSE_ALL_FEATURES
8736 if test -z "$defaultval"; then
8737 if test x"$enablestring" = xdisable; then
8738 defaultval=yes
8739 else
8740 defaultval=no
8741 fi
8742 fi
8743
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8745 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8746 # Check whether --enable-fswatcher was given.
8747 if test "${enable_fswatcher+set}" = set; then :
8748 enableval=$enable_fswatcher;
8749 if test "$enableval" = yes; then
8750 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8751 else
8752 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8753 fi
8754
8755 else
8756
8757 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8758
8759 fi
8760
8761
8762 eval "$wx_cv_use_fswatcher"
8763
8764 if test x"$enablestring" = xdisable; then
8765 if test $wxUSE_FSWATCHER = no; then
8766 result=yes
8767 else
8768 result=no
8769 fi
8770 else
8771 result=$wxUSE_FSWATCHER
8772 fi
8773
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8775 $as_echo "$result" >&6; }
8776
8777
8778 enablestring=
8779 defaultval=$wxUSE_ALL_FEATURES
8780 if test -z "$defaultval"; then
8781 if test x"$enablestring" = xdisable; then
8782 defaultval=yes
8783 else
8784 defaultval=no
8785 fi
8786 fi
8787
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8789 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8790 # Check whether --enable-geometry was given.
8791 if test "${enable_geometry+set}" = set; then :
8792 enableval=$enable_geometry;
8793 if test "$enableval" = yes; then
8794 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8795 else
8796 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8797 fi
8798
8799 else
8800
8801 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8802
8803 fi
8804
8805
8806 eval "$wx_cv_use_geometry"
8807
8808 if test x"$enablestring" = xdisable; then
8809 if test $wxUSE_GEOMETRY = no; then
8810 result=yes
8811 else
8812 result=no
8813 fi
8814 else
8815 result=$wxUSE_GEOMETRY
8816 fi
8817
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8819 $as_echo "$result" >&6; }
8820
8821
8822 enablestring=
8823 defaultval=$wxUSE_ALL_FEATURES
8824 if test -z "$defaultval"; then
8825 if test x"$enablestring" = xdisable; then
8826 defaultval=yes
8827 else
8828 defaultval=no
8829 fi
8830 fi
8831
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8833 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8834 # Check whether --enable-log was given.
8835 if test "${enable_log+set}" = set; then :
8836 enableval=$enable_log;
8837 if test "$enableval" = yes; then
8838 wx_cv_use_log='wxUSE_LOG=yes'
8839 else
8840 wx_cv_use_log='wxUSE_LOG=no'
8841 fi
8842
8843 else
8844
8845 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8846
8847 fi
8848
8849
8850 eval "$wx_cv_use_log"
8851
8852 if test x"$enablestring" = xdisable; then
8853 if test $wxUSE_LOG = no; then
8854 result=yes
8855 else
8856 result=no
8857 fi
8858 else
8859 result=$wxUSE_LOG
8860 fi
8861
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8863 $as_echo "$result" >&6; }
8864
8865
8866 enablestring=
8867 defaultval=$wxUSE_ALL_FEATURES
8868 if test -z "$defaultval"; then
8869 if test x"$enablestring" = xdisable; then
8870 defaultval=yes
8871 else
8872 defaultval=no
8873 fi
8874 fi
8875
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8877 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8878 # Check whether --enable-longlong was given.
8879 if test "${enable_longlong+set}" = set; then :
8880 enableval=$enable_longlong;
8881 if test "$enableval" = yes; then
8882 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8883 else
8884 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8885 fi
8886
8887 else
8888
8889 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8890
8891 fi
8892
8893
8894 eval "$wx_cv_use_longlong"
8895
8896 if test x"$enablestring" = xdisable; then
8897 if test $wxUSE_LONGLONG = no; then
8898 result=yes
8899 else
8900 result=no
8901 fi
8902 else
8903 result=$wxUSE_LONGLONG
8904 fi
8905
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8907 $as_echo "$result" >&6; }
8908
8909
8910 enablestring=
8911 defaultval=$wxUSE_ALL_FEATURES
8912 if test -z "$defaultval"; then
8913 if test x"$enablestring" = xdisable; then
8914 defaultval=yes
8915 else
8916 defaultval=no
8917 fi
8918 fi
8919
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8921 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8922 # Check whether --enable-mimetype was given.
8923 if test "${enable_mimetype+set}" = set; then :
8924 enableval=$enable_mimetype;
8925 if test "$enableval" = yes; then
8926 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8927 else
8928 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8929 fi
8930
8931 else
8932
8933 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8934
8935 fi
8936
8937
8938 eval "$wx_cv_use_mimetype"
8939
8940 if test x"$enablestring" = xdisable; then
8941 if test $wxUSE_MIMETYPE = no; then
8942 result=yes
8943 else
8944 result=no
8945 fi
8946 else
8947 result=$wxUSE_MIMETYPE
8948 fi
8949
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8951 $as_echo "$result" >&6; }
8952
8953
8954 enablestring=
8955 defaultval=$wxUSE_ALL_FEATURES
8956 if test -z "$defaultval"; then
8957 if test x"$enablestring" = xdisable; then
8958 defaultval=yes
8959 else
8960 defaultval=no
8961 fi
8962 fi
8963
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8965 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8966 # Check whether --enable-printfposparam was given.
8967 if test "${enable_printfposparam+set}" = set; then :
8968 enableval=$enable_printfposparam;
8969 if test "$enableval" = yes; then
8970 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8971 else
8972 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8973 fi
8974
8975 else
8976
8977 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8978
8979 fi
8980
8981
8982 eval "$wx_cv_use_printfposparam"
8983
8984 if test x"$enablestring" = xdisable; then
8985 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8986 result=yes
8987 else
8988 result=no
8989 fi
8990 else
8991 result=$wxUSE_PRINTF_POS_PARAMS
8992 fi
8993
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8995 $as_echo "$result" >&6; }
8996
8997
8998 enablestring=
8999 defaultval=$wxUSE_ALL_FEATURES
9000 if test -z "$defaultval"; then
9001 if test x"$enablestring" = xdisable; then
9002 defaultval=yes
9003 else
9004 defaultval=no
9005 fi
9006 fi
9007
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
9009 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
9010 # Check whether --enable-snglinst was given.
9011 if test "${enable_snglinst+set}" = set; then :
9012 enableval=$enable_snglinst;
9013 if test "$enableval" = yes; then
9014 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
9015 else
9016 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
9017 fi
9018
9019 else
9020
9021 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
9022
9023 fi
9024
9025
9026 eval "$wx_cv_use_snglinst"
9027
9028 if test x"$enablestring" = xdisable; then
9029 if test $wxUSE_SNGLINST_CHECKER = no; then
9030 result=yes
9031 else
9032 result=no
9033 fi
9034 else
9035 result=$wxUSE_SNGLINST_CHECKER
9036 fi
9037
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9039 $as_echo "$result" >&6; }
9040
9041
9042 enablestring=
9043 defaultval=$wxUSE_ALL_FEATURES
9044 if test -z "$defaultval"; then
9045 if test x"$enablestring" = xdisable; then
9046 defaultval=yes
9047 else
9048 defaultval=no
9049 fi
9050 fi
9051
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
9053 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
9054 # Check whether --enable-sound was given.
9055 if test "${enable_sound+set}" = set; then :
9056 enableval=$enable_sound;
9057 if test "$enableval" = yes; then
9058 wx_cv_use_sound='wxUSE_SOUND=yes'
9059 else
9060 wx_cv_use_sound='wxUSE_SOUND=no'
9061 fi
9062
9063 else
9064
9065 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
9066
9067 fi
9068
9069
9070 eval "$wx_cv_use_sound"
9071
9072 if test x"$enablestring" = xdisable; then
9073 if test $wxUSE_SOUND = no; then
9074 result=yes
9075 else
9076 result=no
9077 fi
9078 else
9079 result=$wxUSE_SOUND
9080 fi
9081
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9083 $as_echo "$result" >&6; }
9084
9085
9086 enablestring=
9087 defaultval=$wxUSE_ALL_FEATURES
9088 if test -z "$defaultval"; then
9089 if test x"$enablestring" = xdisable; then
9090 defaultval=yes
9091 else
9092 defaultval=no
9093 fi
9094 fi
9095
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
9097 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
9098 # Check whether --enable-stdpaths was given.
9099 if test "${enable_stdpaths+set}" = set; then :
9100 enableval=$enable_stdpaths;
9101 if test "$enableval" = yes; then
9102 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
9103 else
9104 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
9105 fi
9106
9107 else
9108
9109 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
9110
9111 fi
9112
9113
9114 eval "$wx_cv_use_stdpaths"
9115
9116 if test x"$enablestring" = xdisable; then
9117 if test $wxUSE_STDPATHS = no; then
9118 result=yes
9119 else
9120 result=no
9121 fi
9122 else
9123 result=$wxUSE_STDPATHS
9124 fi
9125
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9127 $as_echo "$result" >&6; }
9128
9129
9130 enablestring=
9131 defaultval=$wxUSE_ALL_FEATURES
9132 if test -z "$defaultval"; then
9133 if test x"$enablestring" = xdisable; then
9134 defaultval=yes
9135 else
9136 defaultval=no
9137 fi
9138 fi
9139
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
9141 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
9142 # Check whether --enable-stopwatch was given.
9143 if test "${enable_stopwatch+set}" = set; then :
9144 enableval=$enable_stopwatch;
9145 if test "$enableval" = yes; then
9146 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
9147 else
9148 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
9149 fi
9150
9151 else
9152
9153 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
9154
9155 fi
9156
9157
9158 eval "$wx_cv_use_stopwatch"
9159
9160 if test x"$enablestring" = xdisable; then
9161 if test $wxUSE_STOPWATCH = no; then
9162 result=yes
9163 else
9164 result=no
9165 fi
9166 else
9167 result=$wxUSE_STOPWATCH
9168 fi
9169
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9171 $as_echo "$result" >&6; }
9172
9173
9174 enablestring=
9175 defaultval=$wxUSE_ALL_FEATURES
9176 if test -z "$defaultval"; then
9177 if test x"$enablestring" = xdisable; then
9178 defaultval=yes
9179 else
9180 defaultval=no
9181 fi
9182 fi
9183
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9185 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9186 # Check whether --enable-streams was given.
9187 if test "${enable_streams+set}" = set; then :
9188 enableval=$enable_streams;
9189 if test "$enableval" = yes; then
9190 wx_cv_use_streams='wxUSE_STREAMS=yes'
9191 else
9192 wx_cv_use_streams='wxUSE_STREAMS=no'
9193 fi
9194
9195 else
9196
9197 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9198
9199 fi
9200
9201
9202 eval "$wx_cv_use_streams"
9203
9204 if test x"$enablestring" = xdisable; then
9205 if test $wxUSE_STREAMS = no; then
9206 result=yes
9207 else
9208 result=no
9209 fi
9210 else
9211 result=$wxUSE_STREAMS
9212 fi
9213
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9215 $as_echo "$result" >&6; }
9216
9217
9218 enablestring=
9219 defaultval=$wxUSE_ALL_FEATURES
9220 if test -z "$defaultval"; then
9221 if test x"$enablestring" = xdisable; then
9222 defaultval=yes
9223 else
9224 defaultval=no
9225 fi
9226 fi
9227
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9229 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9230 # Check whether --enable-sysoptions was given.
9231 if test "${enable_sysoptions+set}" = set; then :
9232 enableval=$enable_sysoptions;
9233 if test "$enableval" = yes; then
9234 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9235 else
9236 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9237 fi
9238
9239 else
9240
9241 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9242
9243 fi
9244
9245
9246 eval "$wx_cv_use_sysoptions"
9247
9248 if test x"$enablestring" = xdisable; then
9249 if test $wxUSE_SYSTEM_OPTIONS = no; then
9250 result=yes
9251 else
9252 result=no
9253 fi
9254 else
9255 result=$wxUSE_SYSTEM_OPTIONS
9256 fi
9257
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9259 $as_echo "$result" >&6; }
9260
9261
9262 enablestring=
9263 defaultval=$wxUSE_ALL_FEATURES
9264 if test -z "$defaultval"; then
9265 if test x"$enablestring" = xdisable; then
9266 defaultval=yes
9267 else
9268 defaultval=no
9269 fi
9270 fi
9271
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9273 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9274 # Check whether --enable-tarstream was given.
9275 if test "${enable_tarstream+set}" = set; then :
9276 enableval=$enable_tarstream;
9277 if test "$enableval" = yes; then
9278 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9279 else
9280 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9281 fi
9282
9283 else
9284
9285 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9286
9287 fi
9288
9289
9290 eval "$wx_cv_use_tarstream"
9291
9292 if test x"$enablestring" = xdisable; then
9293 if test $wxUSE_TARSTREAM = no; then
9294 result=yes
9295 else
9296 result=no
9297 fi
9298 else
9299 result=$wxUSE_TARSTREAM
9300 fi
9301
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9303 $as_echo "$result" >&6; }
9304
9305
9306 enablestring=
9307 defaultval=$wxUSE_ALL_FEATURES
9308 if test -z "$defaultval"; then
9309 if test x"$enablestring" = xdisable; then
9310 defaultval=yes
9311 else
9312 defaultval=no
9313 fi
9314 fi
9315
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9317 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9318 # Check whether --enable-textbuf was given.
9319 if test "${enable_textbuf+set}" = set; then :
9320 enableval=$enable_textbuf;
9321 if test "$enableval" = yes; then
9322 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9323 else
9324 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9325 fi
9326
9327 else
9328
9329 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9330
9331 fi
9332
9333
9334 eval "$wx_cv_use_textbuf"
9335
9336 if test x"$enablestring" = xdisable; then
9337 if test $wxUSE_TEXTBUFFER = no; then
9338 result=yes
9339 else
9340 result=no
9341 fi
9342 else
9343 result=$wxUSE_TEXTBUFFER
9344 fi
9345
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9347 $as_echo "$result" >&6; }
9348
9349
9350 enablestring=
9351 defaultval=$wxUSE_ALL_FEATURES
9352 if test -z "$defaultval"; then
9353 if test x"$enablestring" = xdisable; then
9354 defaultval=yes
9355 else
9356 defaultval=no
9357 fi
9358 fi
9359
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9361 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9362 # Check whether --enable-textfile was given.
9363 if test "${enable_textfile+set}" = set; then :
9364 enableval=$enable_textfile;
9365 if test "$enableval" = yes; then
9366 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9367 else
9368 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9369 fi
9370
9371 else
9372
9373 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9374
9375 fi
9376
9377
9378 eval "$wx_cv_use_textfile"
9379
9380 if test x"$enablestring" = xdisable; then
9381 if test $wxUSE_TEXTFILE = no; then
9382 result=yes
9383 else
9384 result=no
9385 fi
9386 else
9387 result=$wxUSE_TEXTFILE
9388 fi
9389
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9391 $as_echo "$result" >&6; }
9392
9393
9394 enablestring=
9395 defaultval=$wxUSE_ALL_FEATURES
9396 if test -z "$defaultval"; then
9397 if test x"$enablestring" = xdisable; then
9398 defaultval=yes
9399 else
9400 defaultval=no
9401 fi
9402 fi
9403
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9405 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9406 # Check whether --enable-timer was given.
9407 if test "${enable_timer+set}" = set; then :
9408 enableval=$enable_timer;
9409 if test "$enableval" = yes; then
9410 wx_cv_use_timer='wxUSE_TIMER=yes'
9411 else
9412 wx_cv_use_timer='wxUSE_TIMER=no'
9413 fi
9414
9415 else
9416
9417 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9418
9419 fi
9420
9421
9422 eval "$wx_cv_use_timer"
9423
9424 if test x"$enablestring" = xdisable; then
9425 if test $wxUSE_TIMER = no; then
9426 result=yes
9427 else
9428 result=no
9429 fi
9430 else
9431 result=$wxUSE_TIMER
9432 fi
9433
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9435 $as_echo "$result" >&6; }
9436
9437
9438 enablestring=
9439 defaultval=$wxUSE_ALL_FEATURES
9440 if test -z "$defaultval"; then
9441 if test x"$enablestring" = xdisable; then
9442 defaultval=yes
9443 else
9444 defaultval=no
9445 fi
9446 fi
9447
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9449 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9450 # Check whether --enable-variant was given.
9451 if test "${enable_variant+set}" = set; then :
9452 enableval=$enable_variant;
9453 if test "$enableval" = yes; then
9454 wx_cv_use_variant='wxUSE_VARIANT=yes'
9455 else
9456 wx_cv_use_variant='wxUSE_VARIANT=no'
9457 fi
9458
9459 else
9460
9461 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9462
9463 fi
9464
9465
9466 eval "$wx_cv_use_variant"
9467
9468 if test x"$enablestring" = xdisable; then
9469 if test $wxUSE_VARIANT = no; then
9470 result=yes
9471 else
9472 result=no
9473 fi
9474 else
9475 result=$wxUSE_VARIANT
9476 fi
9477
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9479 $as_echo "$result" >&6; }
9480
9481
9482 enablestring=
9483 defaultval=$wxUSE_ALL_FEATURES
9484 if test -z "$defaultval"; then
9485 if test x"$enablestring" = xdisable; then
9486 defaultval=yes
9487 else
9488 defaultval=no
9489 fi
9490 fi
9491
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9493 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9494 # Check whether --enable-zipstream was given.
9495 if test "${enable_zipstream+set}" = set; then :
9496 enableval=$enable_zipstream;
9497 if test "$enableval" = yes; then
9498 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9499 else
9500 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9501 fi
9502
9503 else
9504
9505 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9506
9507 fi
9508
9509
9510 eval "$wx_cv_use_zipstream"
9511
9512 if test x"$enablestring" = xdisable; then
9513 if test $wxUSE_ZIPSTREAM = no; then
9514 result=yes
9515 else
9516 result=no
9517 fi
9518 else
9519 result=$wxUSE_ZIPSTREAM
9520 fi
9521
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9523 $as_echo "$result" >&6; }
9524
9525
9526
9527 enablestring=
9528 defaultval=$wxUSE_ALL_FEATURES
9529 if test -z "$defaultval"; then
9530 if test x"$enablestring" = xdisable; then
9531 defaultval=yes
9532 else
9533 defaultval=no
9534 fi
9535 fi
9536
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9538 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9539 # Check whether --enable-url was given.
9540 if test "${enable_url+set}" = set; then :
9541 enableval=$enable_url;
9542 if test "$enableval" = yes; then
9543 wx_cv_use_url='wxUSE_URL=yes'
9544 else
9545 wx_cv_use_url='wxUSE_URL=no'
9546 fi
9547
9548 else
9549
9550 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9551
9552 fi
9553
9554
9555 eval "$wx_cv_use_url"
9556
9557 if test x"$enablestring" = xdisable; then
9558 if test $wxUSE_URL = no; then
9559 result=yes
9560 else
9561 result=no
9562 fi
9563 else
9564 result=$wxUSE_URL
9565 fi
9566
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9568 $as_echo "$result" >&6; }
9569
9570
9571 enablestring=
9572 defaultval=$wxUSE_ALL_FEATURES
9573 if test -z "$defaultval"; then
9574 if test x"$enablestring" = xdisable; then
9575 defaultval=yes
9576 else
9577 defaultval=no
9578 fi
9579 fi
9580
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9582 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9583 # Check whether --enable-protocol was given.
9584 if test "${enable_protocol+set}" = set; then :
9585 enableval=$enable_protocol;
9586 if test "$enableval" = yes; then
9587 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9588 else
9589 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9590 fi
9591
9592 else
9593
9594 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9595
9596 fi
9597
9598
9599 eval "$wx_cv_use_protocol"
9600
9601 if test x"$enablestring" = xdisable; then
9602 if test $wxUSE_PROTOCOL = no; then
9603 result=yes
9604 else
9605 result=no
9606 fi
9607 else
9608 result=$wxUSE_PROTOCOL
9609 fi
9610
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9612 $as_echo "$result" >&6; }
9613
9614
9615 enablestring=
9616 defaultval=$wxUSE_ALL_FEATURES
9617 if test -z "$defaultval"; then
9618 if test x"$enablestring" = xdisable; then
9619 defaultval=yes
9620 else
9621 defaultval=no
9622 fi
9623 fi
9624
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9626 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9627 # Check whether --enable-protocol_http was given.
9628 if test "${enable_protocol_http+set}" = set; then :
9629 enableval=$enable_protocol_http;
9630 if test "$enableval" = yes; then
9631 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9632 else
9633 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9634 fi
9635
9636 else
9637
9638 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9639
9640 fi
9641
9642
9643 eval "$wx_cv_use_protocol_http"
9644
9645 if test x"$enablestring" = xdisable; then
9646 if test $wxUSE_PROTOCOL_HTTP = no; then
9647 result=yes
9648 else
9649 result=no
9650 fi
9651 else
9652 result=$wxUSE_PROTOCOL_HTTP
9653 fi
9654
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9656 $as_echo "$result" >&6; }
9657
9658
9659 enablestring=
9660 defaultval=$wxUSE_ALL_FEATURES
9661 if test -z "$defaultval"; then
9662 if test x"$enablestring" = xdisable; then
9663 defaultval=yes
9664 else
9665 defaultval=no
9666 fi
9667 fi
9668
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9670 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9671 # Check whether --enable-protocol_ftp was given.
9672 if test "${enable_protocol_ftp+set}" = set; then :
9673 enableval=$enable_protocol_ftp;
9674 if test "$enableval" = yes; then
9675 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9676 else
9677 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9678 fi
9679
9680 else
9681
9682 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9683
9684 fi
9685
9686
9687 eval "$wx_cv_use_protocol_ftp"
9688
9689 if test x"$enablestring" = xdisable; then
9690 if test $wxUSE_PROTOCOL_FTP = no; then
9691 result=yes
9692 else
9693 result=no
9694 fi
9695 else
9696 result=$wxUSE_PROTOCOL_FTP
9697 fi
9698
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9700 $as_echo "$result" >&6; }
9701
9702
9703 enablestring=
9704 defaultval=$wxUSE_ALL_FEATURES
9705 if test -z "$defaultval"; then
9706 if test x"$enablestring" = xdisable; then
9707 defaultval=yes
9708 else
9709 defaultval=no
9710 fi
9711 fi
9712
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9714 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9715 # Check whether --enable-protocol_file was given.
9716 if test "${enable_protocol_file+set}" = set; then :
9717 enableval=$enable_protocol_file;
9718 if test "$enableval" = yes; then
9719 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9720 else
9721 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9722 fi
9723
9724 else
9725
9726 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9727
9728 fi
9729
9730
9731 eval "$wx_cv_use_protocol_file"
9732
9733 if test x"$enablestring" = xdisable; then
9734 if test $wxUSE_PROTOCOL_FILE = no; then
9735 result=yes
9736 else
9737 result=no
9738 fi
9739 else
9740 result=$wxUSE_PROTOCOL_FILE
9741 fi
9742
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9744 $as_echo "$result" >&6; }
9745
9746
9747
9748 enablestring=
9749 defaultval=$wxUSE_ALL_FEATURES
9750 if test -z "$defaultval"; then
9751 if test x"$enablestring" = xdisable; then
9752 defaultval=yes
9753 else
9754 defaultval=no
9755 fi
9756 fi
9757
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9759 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9760 # Check whether --enable-threads was given.
9761 if test "${enable_threads+set}" = set; then :
9762 enableval=$enable_threads;
9763 if test "$enableval" = yes; then
9764 wx_cv_use_threads='wxUSE_THREADS=yes'
9765 else
9766 wx_cv_use_threads='wxUSE_THREADS=no'
9767 fi
9768
9769 else
9770
9771 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9772
9773 fi
9774
9775
9776 eval "$wx_cv_use_threads"
9777
9778 if test x"$enablestring" = xdisable; then
9779 if test $wxUSE_THREADS = no; then
9780 result=yes
9781 else
9782 result=no
9783 fi
9784 else
9785 result=$wxUSE_THREADS
9786 fi
9787
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9789 $as_echo "$result" >&6; }
9790
9791
9792
9793 enablestring=
9794 defaultval=
9795 if test -z "$defaultval"; then
9796 if test x"$enablestring" = xdisable; then
9797 defaultval=yes
9798 else
9799 defaultval=no
9800 fi
9801 fi
9802
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9804 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9805 # Check whether --enable-iniconf was given.
9806 if test "${enable_iniconf+set}" = set; then :
9807 enableval=$enable_iniconf;
9808 if test "$enableval" = yes; then
9809 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9810 else
9811 wx_cv_use_iniconf='wxUSE_INICONF=no'
9812 fi
9813
9814 else
9815
9816 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9817
9818 fi
9819
9820
9821 eval "$wx_cv_use_iniconf"
9822
9823 if test x"$enablestring" = xdisable; then
9824 if test $wxUSE_INICONF = no; then
9825 result=yes
9826 else
9827 result=no
9828 fi
9829 else
9830 result=$wxUSE_INICONF
9831 fi
9832
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9834 $as_echo "$result" >&6; }
9835
9836
9837 enablestring=
9838 defaultval=$wxUSE_ALL_FEATURES
9839 if test -z "$defaultval"; then
9840 if test x"$enablestring" = xdisable; then
9841 defaultval=yes
9842 else
9843 defaultval=no
9844 fi
9845 fi
9846
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9848 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9849 # Check whether --enable-regkey was given.
9850 if test "${enable_regkey+set}" = set; then :
9851 enableval=$enable_regkey;
9852 if test "$enableval" = yes; then
9853 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9854 else
9855 wx_cv_use_regkey='wxUSE_REGKEY=no'
9856 fi
9857
9858 else
9859
9860 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9861
9862 fi
9863
9864
9865 eval "$wx_cv_use_regkey"
9866
9867 if test x"$enablestring" = xdisable; then
9868 if test $wxUSE_REGKEY = no; then
9869 result=yes
9870 else
9871 result=no
9872 fi
9873 else
9874 result=$wxUSE_REGKEY
9875 fi
9876
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9878 $as_echo "$result" >&6; }
9879
9880
9881 if test "$wxUSE_GUI" = "yes"; then
9882
9883
9884
9885 enablestring=
9886 defaultval=$wxUSE_ALL_FEATURES
9887 if test -z "$defaultval"; then
9888 if test x"$enablestring" = xdisable; then
9889 defaultval=yes
9890 else
9891 defaultval=no
9892 fi
9893 fi
9894
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9896 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9897 # Check whether --enable-docview was given.
9898 if test "${enable_docview+set}" = set; then :
9899 enableval=$enable_docview;
9900 if test "$enableval" = yes; then
9901 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9902 else
9903 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9904 fi
9905
9906 else
9907
9908 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9909
9910 fi
9911
9912
9913 eval "$wx_cv_use_docview"
9914
9915 if test x"$enablestring" = xdisable; then
9916 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9917 result=yes
9918 else
9919 result=no
9920 fi
9921 else
9922 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9923 fi
9924
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9926 $as_echo "$result" >&6; }
9927
9928
9929 enablestring=
9930 defaultval=$wxUSE_ALL_FEATURES
9931 if test -z "$defaultval"; then
9932 if test x"$enablestring" = xdisable; then
9933 defaultval=yes
9934 else
9935 defaultval=no
9936 fi
9937 fi
9938
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9940 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9941 # Check whether --enable-help was given.
9942 if test "${enable_help+set}" = set; then :
9943 enableval=$enable_help;
9944 if test "$enableval" = yes; then
9945 wx_cv_use_help='wxUSE_HELP=yes'
9946 else
9947 wx_cv_use_help='wxUSE_HELP=no'
9948 fi
9949
9950 else
9951
9952 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9953
9954 fi
9955
9956
9957 eval "$wx_cv_use_help"
9958
9959 if test x"$enablestring" = xdisable; then
9960 if test $wxUSE_HELP = no; then
9961 result=yes
9962 else
9963 result=no
9964 fi
9965 else
9966 result=$wxUSE_HELP
9967 fi
9968
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9970 $as_echo "$result" >&6; }
9971
9972
9973 enablestring=
9974 defaultval=$wxUSE_ALL_FEATURES
9975 if test -z "$defaultval"; then
9976 if test x"$enablestring" = xdisable; then
9977 defaultval=yes
9978 else
9979 defaultval=no
9980 fi
9981 fi
9982
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9984 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9985 # Check whether --enable-mshtmlhelp was given.
9986 if test "${enable_mshtmlhelp+set}" = set; then :
9987 enableval=$enable_mshtmlhelp;
9988 if test "$enableval" = yes; then
9989 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9990 else
9991 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9992 fi
9993
9994 else
9995
9996 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9997
9998 fi
9999
10000
10001 eval "$wx_cv_use_mshtmlhelp"
10002
10003 if test x"$enablestring" = xdisable; then
10004 if test $wxUSE_MS_HTML_HELP = no; then
10005 result=yes
10006 else
10007 result=no
10008 fi
10009 else
10010 result=$wxUSE_MS_HTML_HELP
10011 fi
10012
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10014 $as_echo "$result" >&6; }
10015
10016
10017 enablestring=
10018 defaultval=$wxUSE_ALL_FEATURES
10019 if test -z "$defaultval"; then
10020 if test x"$enablestring" = xdisable; then
10021 defaultval=yes
10022 else
10023 defaultval=no
10024 fi
10025 fi
10026
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
10028 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
10029 # Check whether --enable-html was given.
10030 if test "${enable_html+set}" = set; then :
10031 enableval=$enable_html;
10032 if test "$enableval" = yes; then
10033 wx_cv_use_html='wxUSE_HTML=yes'
10034 else
10035 wx_cv_use_html='wxUSE_HTML=no'
10036 fi
10037
10038 else
10039
10040 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
10041
10042 fi
10043
10044
10045 eval "$wx_cv_use_html"
10046
10047 if test x"$enablestring" = xdisable; then
10048 if test $wxUSE_HTML = no; then
10049 result=yes
10050 else
10051 result=no
10052 fi
10053 else
10054 result=$wxUSE_HTML
10055 fi
10056
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10058 $as_echo "$result" >&6; }
10059
10060
10061 enablestring=
10062 defaultval=$wxUSE_ALL_FEATURES
10063 if test -z "$defaultval"; then
10064 if test x"$enablestring" = xdisable; then
10065 defaultval=yes
10066 else
10067 defaultval=no
10068 fi
10069 fi
10070
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
10072 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
10073 # Check whether --enable-htmlhelp was given.
10074 if test "${enable_htmlhelp+set}" = set; then :
10075 enableval=$enable_htmlhelp;
10076 if test "$enableval" = yes; then
10077 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
10078 else
10079 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
10080 fi
10081
10082 else
10083
10084 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
10085
10086 fi
10087
10088
10089 eval "$wx_cv_use_htmlhelp"
10090
10091 if test x"$enablestring" = xdisable; then
10092 if test $wxUSE_WXHTML_HELP = no; then
10093 result=yes
10094 else
10095 result=no
10096 fi
10097 else
10098 result=$wxUSE_WXHTML_HELP
10099 fi
10100
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10102 $as_echo "$result" >&6; }
10103
10104
10105 enablestring=
10106 defaultval=$wxUSE_ALL_FEATURES
10107 if test -z "$defaultval"; then
10108 if test x"$enablestring" = xdisable; then
10109 defaultval=yes
10110 else
10111 defaultval=no
10112 fi
10113 fi
10114
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
10116 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
10117 # Check whether --enable-xrc was given.
10118 if test "${enable_xrc+set}" = set; then :
10119 enableval=$enable_xrc;
10120 if test "$enableval" = yes; then
10121 wx_cv_use_xrc='wxUSE_XRC=yes'
10122 else
10123 wx_cv_use_xrc='wxUSE_XRC=no'
10124 fi
10125
10126 else
10127
10128 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
10129
10130 fi
10131
10132
10133 eval "$wx_cv_use_xrc"
10134
10135 if test x"$enablestring" = xdisable; then
10136 if test $wxUSE_XRC = no; then
10137 result=yes
10138 else
10139 result=no
10140 fi
10141 else
10142 result=$wxUSE_XRC
10143 fi
10144
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10146 $as_echo "$result" >&6; }
10147
10148
10149 enablestring=
10150 defaultval=$wxUSE_ALL_FEATURES
10151 if test -z "$defaultval"; then
10152 if test x"$enablestring" = xdisable; then
10153 defaultval=yes
10154 else
10155 defaultval=no
10156 fi
10157 fi
10158
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
10160 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
10161 # Check whether --enable-aui was given.
10162 if test "${enable_aui+set}" = set; then :
10163 enableval=$enable_aui;
10164 if test "$enableval" = yes; then
10165 wx_cv_use_aui='wxUSE_AUI=yes'
10166 else
10167 wx_cv_use_aui='wxUSE_AUI=no'
10168 fi
10169
10170 else
10171
10172 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10173
10174 fi
10175
10176
10177 eval "$wx_cv_use_aui"
10178
10179 if test x"$enablestring" = xdisable; then
10180 if test $wxUSE_AUI = no; then
10181 result=yes
10182 else
10183 result=no
10184 fi
10185 else
10186 result=$wxUSE_AUI
10187 fi
10188
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10190 $as_echo "$result" >&6; }
10191
10192
10193 enablestring=
10194 defaultval=$wxUSE_ALL_FEATURES
10195 if test -z "$defaultval"; then
10196 if test x"$enablestring" = xdisable; then
10197 defaultval=yes
10198 else
10199 defaultval=no
10200 fi
10201 fi
10202
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10204 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10205 # Check whether --enable-propgrid was given.
10206 if test "${enable_propgrid+set}" = set; then :
10207 enableval=$enable_propgrid;
10208 if test "$enableval" = yes; then
10209 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10210 else
10211 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10212 fi
10213
10214 else
10215
10216 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10217
10218 fi
10219
10220
10221 eval "$wx_cv_use_propgrid"
10222
10223 if test x"$enablestring" = xdisable; then
10224 if test $wxUSE_PROPGRID = no; then
10225 result=yes
10226 else
10227 result=no
10228 fi
10229 else
10230 result=$wxUSE_PROPGRID
10231 fi
10232
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10234 $as_echo "$result" >&6; }
10235
10236
10237 enablestring=
10238 defaultval=$wxUSE_ALL_FEATURES
10239 if test -z "$defaultval"; then
10240 if test x"$enablestring" = xdisable; then
10241 defaultval=yes
10242 else
10243 defaultval=no
10244 fi
10245 fi
10246
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10248 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10249 # Check whether --enable-ribbon was given.
10250 if test "${enable_ribbon+set}" = set; then :
10251 enableval=$enable_ribbon;
10252 if test "$enableval" = yes; then
10253 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10254 else
10255 wx_cv_use_ribbon='wxUSE_RIBBON=no'
10256 fi
10257
10258 else
10259
10260 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10261
10262 fi
10263
10264
10265 eval "$wx_cv_use_ribbon"
10266
10267 if test x"$enablestring" = xdisable; then
10268 if test $wxUSE_RIBBON = no; then
10269 result=yes
10270 else
10271 result=no
10272 fi
10273 else
10274 result=$wxUSE_RIBBON
10275 fi
10276
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10278 $as_echo "$result" >&6; }
10279
10280
10281 enablestring=
10282 defaultval=$wxUSE_ALL_FEATURES
10283 if test -z "$defaultval"; then
10284 if test x"$enablestring" = xdisable; then
10285 defaultval=yes
10286 else
10287 defaultval=no
10288 fi
10289 fi
10290
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10292 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10293 # Check whether --enable-stc was given.
10294 if test "${enable_stc+set}" = set; then :
10295 enableval=$enable_stc;
10296 if test "$enableval" = yes; then
10297 wx_cv_use_stc='wxUSE_STC=yes'
10298 else
10299 wx_cv_use_stc='wxUSE_STC=no'
10300 fi
10301
10302 else
10303
10304 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10305
10306 fi
10307
10308
10309 eval "$wx_cv_use_stc"
10310
10311 if test x"$enablestring" = xdisable; then
10312 if test $wxUSE_STC = no; then
10313 result=yes
10314 else
10315 result=no
10316 fi
10317 else
10318 result=$wxUSE_STC
10319 fi
10320
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10322 $as_echo "$result" >&6; }
10323
10324
10325 enablestring=
10326 defaultval=$wxUSE_ALL_FEATURES
10327 if test -z "$defaultval"; then
10328 if test x"$enablestring" = xdisable; then
10329 defaultval=yes
10330 else
10331 defaultval=no
10332 fi
10333 fi
10334
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10336 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10337 # Check whether --enable-constraints was given.
10338 if test "${enable_constraints+set}" = set; then :
10339 enableval=$enable_constraints;
10340 if test "$enableval" = yes; then
10341 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10342 else
10343 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10344 fi
10345
10346 else
10347
10348 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10349
10350 fi
10351
10352
10353 eval "$wx_cv_use_constraints"
10354
10355 if test x"$enablestring" = xdisable; then
10356 if test $wxUSE_CONSTRAINTS = no; then
10357 result=yes
10358 else
10359 result=no
10360 fi
10361 else
10362 result=$wxUSE_CONSTRAINTS
10363 fi
10364
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10366 $as_echo "$result" >&6; }
10367
10368
10369 enablestring=
10370 defaultval=$wxUSE_ALL_FEATURES
10371 if test -z "$defaultval"; then
10372 if test x"$enablestring" = xdisable; then
10373 defaultval=yes
10374 else
10375 defaultval=no
10376 fi
10377 fi
10378
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10380 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10381 # Check whether --enable-loggui was given.
10382 if test "${enable_loggui+set}" = set; then :
10383 enableval=$enable_loggui;
10384 if test "$enableval" = yes; then
10385 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10386 else
10387 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10388 fi
10389
10390 else
10391
10392 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10393
10394 fi
10395
10396
10397 eval "$wx_cv_use_loggui"
10398
10399 if test x"$enablestring" = xdisable; then
10400 if test $wxUSE_LOGGUI = no; then
10401 result=yes
10402 else
10403 result=no
10404 fi
10405 else
10406 result=$wxUSE_LOGGUI
10407 fi
10408
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10410 $as_echo "$result" >&6; }
10411
10412
10413 enablestring=
10414 defaultval=$wxUSE_ALL_FEATURES
10415 if test -z "$defaultval"; then
10416 if test x"$enablestring" = xdisable; then
10417 defaultval=yes
10418 else
10419 defaultval=no
10420 fi
10421 fi
10422
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10424 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10425 # Check whether --enable-logwin was given.
10426 if test "${enable_logwin+set}" = set; then :
10427 enableval=$enable_logwin;
10428 if test "$enableval" = yes; then
10429 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10430 else
10431 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10432 fi
10433
10434 else
10435
10436 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10437
10438 fi
10439
10440
10441 eval "$wx_cv_use_logwin"
10442
10443 if test x"$enablestring" = xdisable; then
10444 if test $wxUSE_LOGWINDOW = no; then
10445 result=yes
10446 else
10447 result=no
10448 fi
10449 else
10450 result=$wxUSE_LOGWINDOW
10451 fi
10452
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10454 $as_echo "$result" >&6; }
10455
10456
10457 enablestring=
10458 defaultval=$wxUSE_ALL_FEATURES
10459 if test -z "$defaultval"; then
10460 if test x"$enablestring" = xdisable; then
10461 defaultval=yes
10462 else
10463 defaultval=no
10464 fi
10465 fi
10466
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10468 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10469 # Check whether --enable-logdialog was given.
10470 if test "${enable_logdialog+set}" = set; then :
10471 enableval=$enable_logdialog;
10472 if test "$enableval" = yes; then
10473 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10474 else
10475 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10476 fi
10477
10478 else
10479
10480 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10481
10482 fi
10483
10484
10485 eval "$wx_cv_use_logdialog"
10486
10487 if test x"$enablestring" = xdisable; then
10488 if test $wxUSE_LOGDIALOG = no; then
10489 result=yes
10490 else
10491 result=no
10492 fi
10493 else
10494 result=$wxUSE_LOGDIALOG
10495 fi
10496
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10498 $as_echo "$result" >&6; }
10499
10500
10501 enablestring=
10502 defaultval=$wxUSE_ALL_FEATURES
10503 if test -z "$defaultval"; then
10504 if test x"$enablestring" = xdisable; then
10505 defaultval=yes
10506 else
10507 defaultval=no
10508 fi
10509 fi
10510
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10512 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10513 # Check whether --enable-mdi was given.
10514 if test "${enable_mdi+set}" = set; then :
10515 enableval=$enable_mdi;
10516 if test "$enableval" = yes; then
10517 wx_cv_use_mdi='wxUSE_MDI=yes'
10518 else
10519 wx_cv_use_mdi='wxUSE_MDI=no'
10520 fi
10521
10522 else
10523
10524 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10525
10526 fi
10527
10528
10529 eval "$wx_cv_use_mdi"
10530
10531 if test x"$enablestring" = xdisable; then
10532 if test $wxUSE_MDI = no; then
10533 result=yes
10534 else
10535 result=no
10536 fi
10537 else
10538 result=$wxUSE_MDI
10539 fi
10540
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10542 $as_echo "$result" >&6; }
10543
10544
10545 enablestring=
10546 defaultval=$wxUSE_ALL_FEATURES
10547 if test -z "$defaultval"; then
10548 if test x"$enablestring" = xdisable; then
10549 defaultval=yes
10550 else
10551 defaultval=no
10552 fi
10553 fi
10554
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10556 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10557 # Check whether --enable-mdidoc was given.
10558 if test "${enable_mdidoc+set}" = set; then :
10559 enableval=$enable_mdidoc;
10560 if test "$enableval" = yes; then
10561 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10562 else
10563 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10564 fi
10565
10566 else
10567
10568 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10569
10570 fi
10571
10572
10573 eval "$wx_cv_use_mdidoc"
10574
10575 if test x"$enablestring" = xdisable; then
10576 if test $wxUSE_MDI_ARCHITECTURE = no; then
10577 result=yes
10578 else
10579 result=no
10580 fi
10581 else
10582 result=$wxUSE_MDI_ARCHITECTURE
10583 fi
10584
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10586 $as_echo "$result" >&6; }
10587
10588
10589 enablestring=
10590 defaultval=$wxUSE_ALL_FEATURES
10591 if test -z "$defaultval"; then
10592 if test x"$enablestring" = xdisable; then
10593 defaultval=yes
10594 else
10595 defaultval=no
10596 fi
10597 fi
10598
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10600 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10601 # Check whether --enable-mediactrl was given.
10602 if test "${enable_mediactrl+set}" = set; then :
10603 enableval=$enable_mediactrl;
10604 if test "$enableval" = yes; then
10605 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10606 else
10607 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10608 fi
10609
10610 else
10611
10612 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10613
10614 fi
10615
10616
10617 eval "$wx_cv_use_mediactrl"
10618
10619 if test x"$enablestring" = xdisable; then
10620 if test $wxUSE_MEDIACTRL = no; then
10621 result=yes
10622 else
10623 result=no
10624 fi
10625 else
10626 result=$wxUSE_MEDIACTRL
10627 fi
10628
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10630 $as_echo "$result" >&6; }
10631
10632
10633 enablestring=
10634 defaultval=$wxUSE_ALL_FEATURES
10635 if test -z "$defaultval"; then
10636 if test x"$enablestring" = xdisable; then
10637 defaultval=yes
10638 else
10639 defaultval=no
10640 fi
10641 fi
10642
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10644 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10645 # Check whether --enable-gstreamer8 was given.
10646 if test "${enable_gstreamer8+set}" = set; then :
10647 enableval=$enable_gstreamer8;
10648 if test "$enableval" = yes; then
10649 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10650 else
10651 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10652 fi
10653
10654 else
10655
10656 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10657
10658 fi
10659
10660
10661 eval "$wx_cv_use_gstreamer8"
10662
10663 if test x"$enablestring" = xdisable; then
10664 if test $wxUSE_GSTREAMER8 = no; then
10665 result=yes
10666 else
10667 result=no
10668 fi
10669 else
10670 result=$wxUSE_GSTREAMER8
10671 fi
10672
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10674 $as_echo "$result" >&6; }
10675
10676
10677 enablestring=
10678 defaultval=$wxUSE_ALL_FEATURES
10679 if test -z "$defaultval"; then
10680 if test x"$enablestring" = xdisable; then
10681 defaultval=yes
10682 else
10683 defaultval=no
10684 fi
10685 fi
10686
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10688 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10689 # Check whether --enable-richtext was given.
10690 if test "${enable_richtext+set}" = set; then :
10691 enableval=$enable_richtext;
10692 if test "$enableval" = yes; then
10693 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10694 else
10695 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10696 fi
10697
10698 else
10699
10700 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10701
10702 fi
10703
10704
10705 eval "$wx_cv_use_richtext"
10706
10707 if test x"$enablestring" = xdisable; then
10708 if test $wxUSE_RICHTEXT = no; then
10709 result=yes
10710 else
10711 result=no
10712 fi
10713 else
10714 result=$wxUSE_RICHTEXT
10715 fi
10716
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10718 $as_echo "$result" >&6; }
10719
10720
10721 enablestring=
10722 defaultval=$wxUSE_ALL_FEATURES
10723 if test -z "$defaultval"; then
10724 if test x"$enablestring" = xdisable; then
10725 defaultval=yes
10726 else
10727 defaultval=no
10728 fi
10729 fi
10730
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10732 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10733 # Check whether --enable-postscript was given.
10734 if test "${enable_postscript+set}" = set; then :
10735 enableval=$enable_postscript;
10736 if test "$enableval" = yes; then
10737 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10738 else
10739 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10740 fi
10741
10742 else
10743
10744 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10745
10746 fi
10747
10748
10749 eval "$wx_cv_use_postscript"
10750
10751 if test x"$enablestring" = xdisable; then
10752 if test $wxUSE_POSTSCRIPT = no; then
10753 result=yes
10754 else
10755 result=no
10756 fi
10757 else
10758 result=$wxUSE_POSTSCRIPT
10759 fi
10760
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10762 $as_echo "$result" >&6; }
10763
10764
10765 enablestring=
10766 defaultval=$wxUSE_ALL_FEATURES
10767 if test -z "$defaultval"; then
10768 if test x"$enablestring" = xdisable; then
10769 defaultval=yes
10770 else
10771 defaultval=no
10772 fi
10773 fi
10774
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10776 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10777 # Check whether --enable-printarch was given.
10778 if test "${enable_printarch+set}" = set; then :
10779 enableval=$enable_printarch;
10780 if test "$enableval" = yes; then
10781 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10782 else
10783 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10784 fi
10785
10786 else
10787
10788 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10789
10790 fi
10791
10792
10793 eval "$wx_cv_use_printarch"
10794
10795 if test x"$enablestring" = xdisable; then
10796 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10797 result=yes
10798 else
10799 result=no
10800 fi
10801 else
10802 result=$wxUSE_PRINTING_ARCHITECTURE
10803 fi
10804
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10806 $as_echo "$result" >&6; }
10807
10808
10809 enablestring=
10810 defaultval=$wxUSE_ALL_FEATURES
10811 if test -z "$defaultval"; then
10812 if test x"$enablestring" = xdisable; then
10813 defaultval=yes
10814 else
10815 defaultval=no
10816 fi
10817 fi
10818
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10820 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10821 # Check whether --enable-svg was given.
10822 if test "${enable_svg+set}" = set; then :
10823 enableval=$enable_svg;
10824 if test "$enableval" = yes; then
10825 wx_cv_use_svg='wxUSE_SVG=yes'
10826 else
10827 wx_cv_use_svg='wxUSE_SVG=no'
10828 fi
10829
10830 else
10831
10832 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10833
10834 fi
10835
10836
10837 eval "$wx_cv_use_svg"
10838
10839 if test x"$enablestring" = xdisable; then
10840 if test $wxUSE_SVG = no; then
10841 result=yes
10842 else
10843 result=no
10844 fi
10845 else
10846 result=$wxUSE_SVG
10847 fi
10848
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10850 $as_echo "$result" >&6; }
10851
10852
10853 enablestring=
10854 defaultval=$wxUSE_ALL_FEATURES
10855 if test -z "$defaultval"; then
10856 if test x"$enablestring" = xdisable; then
10857 defaultval=yes
10858 else
10859 defaultval=no
10860 fi
10861 fi
10862
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10864 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10865 # Check whether --enable-webkit was given.
10866 if test "${enable_webkit+set}" = set; then :
10867 enableval=$enable_webkit;
10868 if test "$enableval" = yes; then
10869 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10870 else
10871 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10872 fi
10873
10874 else
10875
10876 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10877
10878 fi
10879
10880
10881 eval "$wx_cv_use_webkit"
10882
10883 if test x"$enablestring" = xdisable; then
10884 if test $wxUSE_WEBKIT = no; then
10885 result=yes
10886 else
10887 result=no
10888 fi
10889 else
10890 result=$wxUSE_WEBKIT
10891 fi
10892
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10894 $as_echo "$result" >&6; }
10895
10896
10897 enablestring=
10898 defaultval=$wxUSE_ALL_FEATURES
10899 if test -z "$defaultval"; then
10900 if test x"$enablestring" = xdisable; then
10901 defaultval=yes
10902 else
10903 defaultval=no
10904 fi
10905 fi
10906
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10908 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10909 # Check whether --enable-webview was given.
10910 if test "${enable_webview+set}" = set; then :
10911 enableval=$enable_webview;
10912 if test "$enableval" = yes; then
10913 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10914 else
10915 wx_cv_use_webview='wxUSE_WEBVIEW=no'
10916 fi
10917
10918 else
10919
10920 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10921
10922 fi
10923
10924
10925 eval "$wx_cv_use_webview"
10926
10927 if test x"$enablestring" = xdisable; then
10928 if test $wxUSE_WEBVIEW = no; then
10929 result=yes
10930 else
10931 result=no
10932 fi
10933 else
10934 result=$wxUSE_WEBVIEW
10935 fi
10936
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10938 $as_echo "$result" >&6; }
10939
10940
10941 if test "$wxUSE_MAC" != 1; then
10942
10943 enablestring=
10944 defaultval=$wxUSE_ALL_FEATURES
10945 if test -z "$defaultval"; then
10946 if test x"$enablestring" = xdisable; then
10947 defaultval=yes
10948 else
10949 defaultval=no
10950 fi
10951 fi
10952
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10954 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10955 # Check whether --enable-graphics_ctx was given.
10956 if test "${enable_graphics_ctx+set}" = set; then :
10957 enableval=$enable_graphics_ctx;
10958 if test "$enableval" = yes; then
10959 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10960 else
10961 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10962 fi
10963
10964 else
10965
10966 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10967
10968 fi
10969
10970
10971 eval "$wx_cv_use_graphics_ctx"
10972
10973 if test x"$enablestring" = xdisable; then
10974 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10975 result=yes
10976 else
10977 result=no
10978 fi
10979 else
10980 result=$wxUSE_GRAPHICS_CONTEXT
10981 fi
10982
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10984 $as_echo "$result" >&6; }
10985
10986 fi
10987
10988
10989
10990 enablestring=
10991 defaultval=$wxUSE_ALL_FEATURES
10992 if test -z "$defaultval"; then
10993 if test x"$enablestring" = xdisable; then
10994 defaultval=yes
10995 else
10996 defaultval=no
10997 fi
10998 fi
10999
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
11001 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
11002 # Check whether --enable-clipboard was given.
11003 if test "${enable_clipboard+set}" = set; then :
11004 enableval=$enable_clipboard;
11005 if test "$enableval" = yes; then
11006 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
11007 else
11008 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
11009 fi
11010
11011 else
11012
11013 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
11014
11015 fi
11016
11017
11018 eval "$wx_cv_use_clipboard"
11019
11020 if test x"$enablestring" = xdisable; then
11021 if test $wxUSE_CLIPBOARD = no; then
11022 result=yes
11023 else
11024 result=no
11025 fi
11026 else
11027 result=$wxUSE_CLIPBOARD
11028 fi
11029
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11031 $as_echo "$result" >&6; }
11032
11033
11034 enablestring=
11035 defaultval=$wxUSE_ALL_FEATURES
11036 if test -z "$defaultval"; then
11037 if test x"$enablestring" = xdisable; then
11038 defaultval=yes
11039 else
11040 defaultval=no
11041 fi
11042 fi
11043
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
11045 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
11046 # Check whether --enable-dnd was given.
11047 if test "${enable_dnd+set}" = set; then :
11048 enableval=$enable_dnd;
11049 if test "$enableval" = yes; then
11050 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
11051 else
11052 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
11053 fi
11054
11055 else
11056
11057 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
11058
11059 fi
11060
11061
11062 eval "$wx_cv_use_dnd"
11063
11064 if test x"$enablestring" = xdisable; then
11065 if test $wxUSE_DRAG_AND_DROP = no; then
11066 result=yes
11067 else
11068 result=no
11069 fi
11070 else
11071 result=$wxUSE_DRAG_AND_DROP
11072 fi
11073
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11075 $as_echo "$result" >&6; }
11076
11077
11078
11079 DEFAULT_wxUSE_CONTROLS=none
11080
11081 enablestring=disable
11082 defaultval=
11083 if test -z "$defaultval"; then
11084 if test x"$enablestring" = xdisable; then
11085 defaultval=yes
11086 else
11087 defaultval=no
11088 fi
11089 fi
11090
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
11092 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
11093 # Check whether --enable-controls was given.
11094 if test "${enable_controls+set}" = set; then :
11095 enableval=$enable_controls;
11096 if test "$enableval" = yes; then
11097 wx_cv_use_controls='wxUSE_CONTROLS=yes'
11098 else
11099 wx_cv_use_controls='wxUSE_CONTROLS=no'
11100 fi
11101
11102 else
11103
11104 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
11105
11106 fi
11107
11108
11109 eval "$wx_cv_use_controls"
11110
11111 if test x"$enablestring" = xdisable; then
11112 if test $wxUSE_CONTROLS = no; then
11113 result=yes
11114 else
11115 result=no
11116 fi
11117 else
11118 result=$wxUSE_CONTROLS
11119 fi
11120
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11122 $as_echo "$result" >&6; }
11123
11124
11125 if test "$wxUSE_CONTROLS" = "no"; then
11126 DEFAULT_wxUSE_ACCEL=no
11127 DEFAULT_wxUSE_ANIMATIONCTRL=no
11128 DEFAULT_wxUSE_BANNERWINDOW=no
11129 DEFAULT_wxUSE_BMPBUTTON=no
11130 DEFAULT_wxUSE_BUTTON=no
11131 DEFAULT_wxUSE_CALCTRL=no
11132 DEFAULT_wxUSE_CARET=no
11133 DEFAULT_wxUSE_CHECKBOX=no
11134 DEFAULT_wxUSE_CHECKLISTBOX=no
11135 DEFAULT_wxUSE_CHOICE=no
11136 DEFAULT_wxUSE_CHOICEBOOK=no
11137 DEFAULT_wxUSE_COLLPANE=no
11138 DEFAULT_wxUSE_COLOURPICKERCTRL=no
11139 DEFAULT_wxUSE_COMBOBOX=no
11140 DEFAULT_wxUSE_COMBOBOX=no
11141 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
11142 DEFAULT_wxUSE_DATAVIEWCTRL=no
11143 DEFAULT_wxUSE_DATEPICKCTRL=no
11144 DEFAULT_wxUSE_DETECT_SM=no
11145 DEFAULT_wxUSE_DIRPICKERCTRL=no
11146 DEFAULT_wxUSE_DISPLAY=no
11147 DEFAULT_wxUSE_FILECTRL=no
11148 DEFAULT_wxUSE_FILEPICKERCTRL=no
11149 DEFAULT_wxUSE_FONTPICKERCTRL=no
11150 DEFAULT_wxUSE_GAUGE=no
11151 DEFAULT_wxUSE_GRID=no
11152 DEFAULT_wxUSE_HEADERCTRL=no
11153 DEFAULT_wxUSE_HYPERLINKCTRL=no
11154 DEFAULT_wxUSE_IMAGLIST=no
11155 DEFAULT_wxUSE_LISTBOOK=no
11156 DEFAULT_wxUSE_LISTBOX=no
11157 DEFAULT_wxUSE_LISTCTRL=no
11158 DEFAULT_wxUSE_MARKUP=no
11159 DEFAULT_wxUSE_NOTEBOOK=no
11160 DEFAULT_wxUSE_POPUPWIN=no
11161 DEFAULT_wxUSE_RADIOBOX=no
11162 DEFAULT_wxUSE_RADIOBTN=no
11163 DEFAULT_wxUSE_RICHMSGDLG=no
11164 DEFAULT_wxUSE_RICHTOOLTIP=no
11165 DEFAULT_wxUSE_REARRANGECTRL=no
11166 DEFAULT_wxUSE_SASH=no
11167 DEFAULT_wxUSE_SCROLLBAR=no
11168 DEFAULT_wxUSE_SEARCHCTRL=no
11169 DEFAULT_wxUSE_SLIDER=no
11170 DEFAULT_wxUSE_SPINBTN=no
11171 DEFAULT_wxUSE_SPINCTRL=no
11172 DEFAULT_wxUSE_SPLITTER=no
11173 DEFAULT_wxUSE_STATBMP=no
11174 DEFAULT_wxUSE_STATBOX=no
11175 DEFAULT_wxUSE_STATLINE=no
11176 DEFAULT_wxUSE_STATUSBAR=no
11177 DEFAULT_wxUSE_TIMEPICKCTRL=no
11178 DEFAULT_wxUSE_TIPWINDOW=no
11179 DEFAULT_wxUSE_TOGGLEBTN=no
11180 DEFAULT_wxUSE_TOOLBAR=no
11181 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11182 DEFAULT_wxUSE_TOOLBOOK=no
11183 DEFAULT_wxUSE_TOOLTIPS=no
11184 DEFAULT_wxUSE_TREEBOOK=no
11185 DEFAULT_wxUSE_TREECTRL=no
11186 DEFAULT_wxUSE_TREELISTCTRL=no
11187 fi
11188
11189
11190 enablestring=
11191 defaultval=$wxUSE_ALL_FEATURES
11192 if test -z "$defaultval"; then
11193 if test x"$enablestring" = xdisable; then
11194 defaultval=yes
11195 else
11196 defaultval=no
11197 fi
11198 fi
11199
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11201 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11202 # Check whether --enable-markup was given.
11203 if test "${enable_markup+set}" = set; then :
11204 enableval=$enable_markup;
11205 if test "$enableval" = yes; then
11206 wx_cv_use_markup='wxUSE_MARKUP=yes'
11207 else
11208 wx_cv_use_markup='wxUSE_MARKUP=no'
11209 fi
11210
11211 else
11212
11213 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11214
11215 fi
11216
11217
11218 eval "$wx_cv_use_markup"
11219
11220 if test x"$enablestring" = xdisable; then
11221 if test $wxUSE_MARKUP = no; then
11222 result=yes
11223 else
11224 result=no
11225 fi
11226 else
11227 result=$wxUSE_MARKUP
11228 fi
11229
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11231 $as_echo "$result" >&6; }
11232
11233
11234
11235 enablestring=
11236 defaultval=$wxUSE_ALL_FEATURES
11237 if test -z "$defaultval"; then
11238 if test x"$enablestring" = xdisable; then
11239 defaultval=yes
11240 else
11241 defaultval=no
11242 fi
11243 fi
11244
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11246 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11247 # Check whether --enable-accel was given.
11248 if test "${enable_accel+set}" = set; then :
11249 enableval=$enable_accel;
11250 if test "$enableval" = yes; then
11251 wx_cv_use_accel='wxUSE_ACCEL=yes'
11252 else
11253 wx_cv_use_accel='wxUSE_ACCEL=no'
11254 fi
11255
11256 else
11257
11258 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11259
11260 fi
11261
11262
11263 eval "$wx_cv_use_accel"
11264
11265 if test x"$enablestring" = xdisable; then
11266 if test $wxUSE_ACCEL = no; then
11267 result=yes
11268 else
11269 result=no
11270 fi
11271 else
11272 result=$wxUSE_ACCEL
11273 fi
11274
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11276 $as_echo "$result" >&6; }
11277
11278
11279 enablestring=
11280 defaultval=$wxUSE_ALL_FEATURES
11281 if test -z "$defaultval"; then
11282 if test x"$enablestring" = xdisable; then
11283 defaultval=yes
11284 else
11285 defaultval=no
11286 fi
11287 fi
11288
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11290 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11291 # Check whether --enable-animatectrl was given.
11292 if test "${enable_animatectrl+set}" = set; then :
11293 enableval=$enable_animatectrl;
11294 if test "$enableval" = yes; then
11295 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11296 else
11297 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11298 fi
11299
11300 else
11301
11302 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11303
11304 fi
11305
11306
11307 eval "$wx_cv_use_animatectrl"
11308
11309 if test x"$enablestring" = xdisable; then
11310 if test $wxUSE_ANIMATIONCTRL = no; then
11311 result=yes
11312 else
11313 result=no
11314 fi
11315 else
11316 result=$wxUSE_ANIMATIONCTRL
11317 fi
11318
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11320 $as_echo "$result" >&6; }
11321
11322
11323 enablestring=
11324 defaultval=$wxUSE_ALL_FEATURES
11325 if test -z "$defaultval"; then
11326 if test x"$enablestring" = xdisable; then
11327 defaultval=yes
11328 else
11329 defaultval=no
11330 fi
11331 fi
11332
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11334 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11335 # Check whether --enable-bannerwindow was given.
11336 if test "${enable_bannerwindow+set}" = set; then :
11337 enableval=$enable_bannerwindow;
11338 if test "$enableval" = yes; then
11339 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11340 else
11341 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11342 fi
11343
11344 else
11345
11346 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11347
11348 fi
11349
11350
11351 eval "$wx_cv_use_bannerwindow"
11352
11353 if test x"$enablestring" = xdisable; then
11354 if test $wxUSE_BANNERWINDOW = no; then
11355 result=yes
11356 else
11357 result=no
11358 fi
11359 else
11360 result=$wxUSE_BANNERWINDOW
11361 fi
11362
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11364 $as_echo "$result" >&6; }
11365
11366
11367 enablestring=
11368 defaultval=$wxUSE_ALL_FEATURES
11369 if test -z "$defaultval"; then
11370 if test x"$enablestring" = xdisable; then
11371 defaultval=yes
11372 else
11373 defaultval=no
11374 fi
11375 fi
11376
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11378 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11379 # Check whether --enable-artstd was given.
11380 if test "${enable_artstd+set}" = set; then :
11381 enableval=$enable_artstd;
11382 if test "$enableval" = yes; then
11383 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11384 else
11385 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11386 fi
11387
11388 else
11389
11390 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11391
11392 fi
11393
11394
11395 eval "$wx_cv_use_artstd"
11396
11397 if test x"$enablestring" = xdisable; then
11398 if test $wxUSE_ARTPROVIDER_STD = no; then
11399 result=yes
11400 else
11401 result=no
11402 fi
11403 else
11404 result=$wxUSE_ARTPROVIDER_STD
11405 fi
11406
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11408 $as_echo "$result" >&6; }
11409
11410
11411 enablestring=
11412 defaultval=$wxUSE_ALL_FEATURES
11413 if test -z "$defaultval"; then
11414 if test x"$enablestring" = xdisable; then
11415 defaultval=yes
11416 else
11417 defaultval=no
11418 fi
11419 fi
11420
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11422 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11423 # Check whether --enable-arttango was given.
11424 if test "${enable_arttango+set}" = set; then :
11425 enableval=$enable_arttango;
11426 if test "$enableval" = yes; then
11427 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11428 else
11429 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11430 fi
11431
11432 else
11433
11434 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11435
11436 fi
11437
11438
11439 eval "$wx_cv_use_arttango"
11440
11441 if test x"$enablestring" = xdisable; then
11442 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11443 result=yes
11444 else
11445 result=no
11446 fi
11447 else
11448 result=$wxUSE_ARTPROVIDER_TANGO
11449 fi
11450
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11452 $as_echo "$result" >&6; }
11453
11454
11455 enablestring=
11456 defaultval=$wxUSE_ALL_FEATURES
11457 if test -z "$defaultval"; then
11458 if test x"$enablestring" = xdisable; then
11459 defaultval=yes
11460 else
11461 defaultval=no
11462 fi
11463 fi
11464
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11466 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11467 # Check whether --enable-bmpbutton was given.
11468 if test "${enable_bmpbutton+set}" = set; then :
11469 enableval=$enable_bmpbutton;
11470 if test "$enableval" = yes; then
11471 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11472 else
11473 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11474 fi
11475
11476 else
11477
11478 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11479
11480 fi
11481
11482
11483 eval "$wx_cv_use_bmpbutton"
11484
11485 if test x"$enablestring" = xdisable; then
11486 if test $wxUSE_BMPBUTTON = no; then
11487 result=yes
11488 else
11489 result=no
11490 fi
11491 else
11492 result=$wxUSE_BMPBUTTON
11493 fi
11494
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11496 $as_echo "$result" >&6; }
11497
11498
11499 enablestring=
11500 defaultval=$wxUSE_ALL_FEATURES
11501 if test -z "$defaultval"; then
11502 if test x"$enablestring" = xdisable; then
11503 defaultval=yes
11504 else
11505 defaultval=no
11506 fi
11507 fi
11508
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11510 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11511 # Check whether --enable-bmpcombobox was given.
11512 if test "${enable_bmpcombobox+set}" = set; then :
11513 enableval=$enable_bmpcombobox;
11514 if test "$enableval" = yes; then
11515 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11516 else
11517 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11518 fi
11519
11520 else
11521
11522 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11523
11524 fi
11525
11526
11527 eval "$wx_cv_use_bmpcombobox"
11528
11529 if test x"$enablestring" = xdisable; then
11530 if test $wxUSE_BITMAPCOMBOBOX = no; then
11531 result=yes
11532 else
11533 result=no
11534 fi
11535 else
11536 result=$wxUSE_BITMAPCOMBOBOX
11537 fi
11538
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11540 $as_echo "$result" >&6; }
11541
11542
11543 enablestring=
11544 defaultval=$wxUSE_ALL_FEATURES
11545 if test -z "$defaultval"; then
11546 if test x"$enablestring" = xdisable; then
11547 defaultval=yes
11548 else
11549 defaultval=no
11550 fi
11551 fi
11552
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11554 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11555 # Check whether --enable-button was given.
11556 if test "${enable_button+set}" = set; then :
11557 enableval=$enable_button;
11558 if test "$enableval" = yes; then
11559 wx_cv_use_button='wxUSE_BUTTON=yes'
11560 else
11561 wx_cv_use_button='wxUSE_BUTTON=no'
11562 fi
11563
11564 else
11565
11566 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11567
11568 fi
11569
11570
11571 eval "$wx_cv_use_button"
11572
11573 if test x"$enablestring" = xdisable; then
11574 if test $wxUSE_BUTTON = no; then
11575 result=yes
11576 else
11577 result=no
11578 fi
11579 else
11580 result=$wxUSE_BUTTON
11581 fi
11582
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11584 $as_echo "$result" >&6; }
11585
11586
11587 enablestring=
11588 defaultval=$wxUSE_ALL_FEATURES
11589 if test -z "$defaultval"; then
11590 if test x"$enablestring" = xdisable; then
11591 defaultval=yes
11592 else
11593 defaultval=no
11594 fi
11595 fi
11596
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11598 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11599 # Check whether --enable-calendar was given.
11600 if test "${enable_calendar+set}" = set; then :
11601 enableval=$enable_calendar;
11602 if test "$enableval" = yes; then
11603 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11604 else
11605 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11606 fi
11607
11608 else
11609
11610 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11611
11612 fi
11613
11614
11615 eval "$wx_cv_use_calendar"
11616
11617 if test x"$enablestring" = xdisable; then
11618 if test $wxUSE_CALCTRL = no; then
11619 result=yes
11620 else
11621 result=no
11622 fi
11623 else
11624 result=$wxUSE_CALCTRL
11625 fi
11626
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11628 $as_echo "$result" >&6; }
11629
11630
11631 enablestring=
11632 defaultval=$wxUSE_ALL_FEATURES
11633 if test -z "$defaultval"; then
11634 if test x"$enablestring" = xdisable; then
11635 defaultval=yes
11636 else
11637 defaultval=no
11638 fi
11639 fi
11640
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11642 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11643 # Check whether --enable-caret was given.
11644 if test "${enable_caret+set}" = set; then :
11645 enableval=$enable_caret;
11646 if test "$enableval" = yes; then
11647 wx_cv_use_caret='wxUSE_CARET=yes'
11648 else
11649 wx_cv_use_caret='wxUSE_CARET=no'
11650 fi
11651
11652 else
11653
11654 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11655
11656 fi
11657
11658
11659 eval "$wx_cv_use_caret"
11660
11661 if test x"$enablestring" = xdisable; then
11662 if test $wxUSE_CARET = no; then
11663 result=yes
11664 else
11665 result=no
11666 fi
11667 else
11668 result=$wxUSE_CARET
11669 fi
11670
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11672 $as_echo "$result" >&6; }
11673
11674
11675 enablestring=
11676 defaultval=$wxUSE_ALL_FEATURES
11677 if test -z "$defaultval"; then
11678 if test x"$enablestring" = xdisable; then
11679 defaultval=yes
11680 else
11681 defaultval=no
11682 fi
11683 fi
11684
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11686 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11687 # Check whether --enable-checkbox was given.
11688 if test "${enable_checkbox+set}" = set; then :
11689 enableval=$enable_checkbox;
11690 if test "$enableval" = yes; then
11691 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11692 else
11693 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11694 fi
11695
11696 else
11697
11698 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11699
11700 fi
11701
11702
11703 eval "$wx_cv_use_checkbox"
11704
11705 if test x"$enablestring" = xdisable; then
11706 if test $wxUSE_CHECKBOX = no; then
11707 result=yes
11708 else
11709 result=no
11710 fi
11711 else
11712 result=$wxUSE_CHECKBOX
11713 fi
11714
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11716 $as_echo "$result" >&6; }
11717
11718
11719 enablestring=
11720 defaultval=$wxUSE_ALL_FEATURES
11721 if test -z "$defaultval"; then
11722 if test x"$enablestring" = xdisable; then
11723 defaultval=yes
11724 else
11725 defaultval=no
11726 fi
11727 fi
11728
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11730 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11731 # Check whether --enable-checklst was given.
11732 if test "${enable_checklst+set}" = set; then :
11733 enableval=$enable_checklst;
11734 if test "$enableval" = yes; then
11735 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11736 else
11737 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11738 fi
11739
11740 else
11741
11742 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11743
11744 fi
11745
11746
11747 eval "$wx_cv_use_checklst"
11748
11749 if test x"$enablestring" = xdisable; then
11750 if test $wxUSE_CHECKLST = no; then
11751 result=yes
11752 else
11753 result=no
11754 fi
11755 else
11756 result=$wxUSE_CHECKLST
11757 fi
11758
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11760 $as_echo "$result" >&6; }
11761
11762
11763 enablestring=
11764 defaultval=$wxUSE_ALL_FEATURES
11765 if test -z "$defaultval"; then
11766 if test x"$enablestring" = xdisable; then
11767 defaultval=yes
11768 else
11769 defaultval=no
11770 fi
11771 fi
11772
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11774 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11775 # Check whether --enable-choice was given.
11776 if test "${enable_choice+set}" = set; then :
11777 enableval=$enable_choice;
11778 if test "$enableval" = yes; then
11779 wx_cv_use_choice='wxUSE_CHOICE=yes'
11780 else
11781 wx_cv_use_choice='wxUSE_CHOICE=no'
11782 fi
11783
11784 else
11785
11786 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11787
11788 fi
11789
11790
11791 eval "$wx_cv_use_choice"
11792
11793 if test x"$enablestring" = xdisable; then
11794 if test $wxUSE_CHOICE = no; then
11795 result=yes
11796 else
11797 result=no
11798 fi
11799 else
11800 result=$wxUSE_CHOICE
11801 fi
11802
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11804 $as_echo "$result" >&6; }
11805
11806
11807 enablestring=
11808 defaultval=$wxUSE_ALL_FEATURES
11809 if test -z "$defaultval"; then
11810 if test x"$enablestring" = xdisable; then
11811 defaultval=yes
11812 else
11813 defaultval=no
11814 fi
11815 fi
11816
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11818 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11819 # Check whether --enable-choicebook was given.
11820 if test "${enable_choicebook+set}" = set; then :
11821 enableval=$enable_choicebook;
11822 if test "$enableval" = yes; then
11823 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11824 else
11825 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11826 fi
11827
11828 else
11829
11830 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11831
11832 fi
11833
11834
11835 eval "$wx_cv_use_choicebook"
11836
11837 if test x"$enablestring" = xdisable; then
11838 if test $wxUSE_CHOICEBOOK = no; then
11839 result=yes
11840 else
11841 result=no
11842 fi
11843 else
11844 result=$wxUSE_CHOICEBOOK
11845 fi
11846
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11848 $as_echo "$result" >&6; }
11849
11850
11851 enablestring=
11852 defaultval=$wxUSE_ALL_FEATURES
11853 if test -z "$defaultval"; then
11854 if test x"$enablestring" = xdisable; then
11855 defaultval=yes
11856 else
11857 defaultval=no
11858 fi
11859 fi
11860
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11862 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11863 # Check whether --enable-collpane was given.
11864 if test "${enable_collpane+set}" = set; then :
11865 enableval=$enable_collpane;
11866 if test "$enableval" = yes; then
11867 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11868 else
11869 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11870 fi
11871
11872 else
11873
11874 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11875
11876 fi
11877
11878
11879 eval "$wx_cv_use_collpane"
11880
11881 if test x"$enablestring" = xdisable; then
11882 if test $wxUSE_COLLPANE = no; then
11883 result=yes
11884 else
11885 result=no
11886 fi
11887 else
11888 result=$wxUSE_COLLPANE
11889 fi
11890
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11892 $as_echo "$result" >&6; }
11893
11894
11895 enablestring=
11896 defaultval=$wxUSE_ALL_FEATURES
11897 if test -z "$defaultval"; then
11898 if test x"$enablestring" = xdisable; then
11899 defaultval=yes
11900 else
11901 defaultval=no
11902 fi
11903 fi
11904
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11906 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11907 # Check whether --enable-colourpicker was given.
11908 if test "${enable_colourpicker+set}" = set; then :
11909 enableval=$enable_colourpicker;
11910 if test "$enableval" = yes; then
11911 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11912 else
11913 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11914 fi
11915
11916 else
11917
11918 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11919
11920 fi
11921
11922
11923 eval "$wx_cv_use_colourpicker"
11924
11925 if test x"$enablestring" = xdisable; then
11926 if test $wxUSE_COLOURPICKERCTRL = no; then
11927 result=yes
11928 else
11929 result=no
11930 fi
11931 else
11932 result=$wxUSE_COLOURPICKERCTRL
11933 fi
11934
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11936 $as_echo "$result" >&6; }
11937
11938
11939 enablestring=
11940 defaultval=$wxUSE_ALL_FEATURES
11941 if test -z "$defaultval"; then
11942 if test x"$enablestring" = xdisable; then
11943 defaultval=yes
11944 else
11945 defaultval=no
11946 fi
11947 fi
11948
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11950 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11951 # Check whether --enable-combobox was given.
11952 if test "${enable_combobox+set}" = set; then :
11953 enableval=$enable_combobox;
11954 if test "$enableval" = yes; then
11955 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11956 else
11957 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11958 fi
11959
11960 else
11961
11962 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11963
11964 fi
11965
11966
11967 eval "$wx_cv_use_combobox"
11968
11969 if test x"$enablestring" = xdisable; then
11970 if test $wxUSE_COMBOBOX = no; then
11971 result=yes
11972 else
11973 result=no
11974 fi
11975 else
11976 result=$wxUSE_COMBOBOX
11977 fi
11978
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11980 $as_echo "$result" >&6; }
11981
11982
11983 enablestring=
11984 defaultval=$wxUSE_ALL_FEATURES
11985 if test -z "$defaultval"; then
11986 if test x"$enablestring" = xdisable; then
11987 defaultval=yes
11988 else
11989 defaultval=no
11990 fi
11991 fi
11992
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11994 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11995 # Check whether --enable-comboctrl was given.
11996 if test "${enable_comboctrl+set}" = set; then :
11997 enableval=$enable_comboctrl;
11998 if test "$enableval" = yes; then
11999 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
12000 else
12001 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
12002 fi
12003
12004 else
12005
12006 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
12007
12008 fi
12009
12010
12011 eval "$wx_cv_use_comboctrl"
12012
12013 if test x"$enablestring" = xdisable; then
12014 if test $wxUSE_COMBOCTRL = no; then
12015 result=yes
12016 else
12017 result=no
12018 fi
12019 else
12020 result=$wxUSE_COMBOCTRL
12021 fi
12022
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12024 $as_echo "$result" >&6; }
12025
12026
12027 enablestring=
12028 defaultval=$wxUSE_ALL_FEATURES
12029 if test -z "$defaultval"; then
12030 if test x"$enablestring" = xdisable; then
12031 defaultval=yes
12032 else
12033 defaultval=no
12034 fi
12035 fi
12036
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
12038 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
12039 # Check whether --enable-commandlinkbutton was given.
12040 if test "${enable_commandlinkbutton+set}" = set; then :
12041 enableval=$enable_commandlinkbutton;
12042 if test "$enableval" = yes; then
12043 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
12044 else
12045 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
12046 fi
12047
12048 else
12049
12050 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
12051
12052 fi
12053
12054
12055 eval "$wx_cv_use_commandlinkbutton"
12056
12057 if test x"$enablestring" = xdisable; then
12058 if test $wxUSE_COMMANDLINKBUTTON = no; then
12059 result=yes
12060 else
12061 result=no
12062 fi
12063 else
12064 result=$wxUSE_COMMANDLINKBUTTON
12065 fi
12066
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12068 $as_echo "$result" >&6; }
12069
12070
12071 enablestring=
12072 defaultval=$wxUSE_ALL_FEATURES
12073 if test -z "$defaultval"; then
12074 if test x"$enablestring" = xdisable; then
12075 defaultval=yes
12076 else
12077 defaultval=no
12078 fi
12079 fi
12080
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
12082 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
12083 # Check whether --enable-dataviewctrl was given.
12084 if test "${enable_dataviewctrl+set}" = set; then :
12085 enableval=$enable_dataviewctrl;
12086 if test "$enableval" = yes; then
12087 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12088 else
12089 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12090 fi
12091
12092 else
12093
12094 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12095
12096 fi
12097
12098
12099 eval "$wx_cv_use_dataviewctrl"
12100
12101 if test x"$enablestring" = xdisable; then
12102 if test $wxUSE_DATAVIEWCTRL = no; then
12103 result=yes
12104 else
12105 result=no
12106 fi
12107 else
12108 result=$wxUSE_DATAVIEWCTRL
12109 fi
12110
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12112 $as_echo "$result" >&6; }
12113
12114
12115 enablestring=
12116 defaultval=$wxUSE_ALL_FEATURES
12117 if test -z "$defaultval"; then
12118 if test x"$enablestring" = xdisable; then
12119 defaultval=yes
12120 else
12121 defaultval=no
12122 fi
12123 fi
12124
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
12126 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
12127 # Check whether --enable-datepick was given.
12128 if test "${enable_datepick+set}" = set; then :
12129 enableval=$enable_datepick;
12130 if test "$enableval" = yes; then
12131 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
12132 else
12133 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
12134 fi
12135
12136 else
12137
12138 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
12139
12140 fi
12141
12142
12143 eval "$wx_cv_use_datepick"
12144
12145 if test x"$enablestring" = xdisable; then
12146 if test $wxUSE_DATEPICKCTRL = no; then
12147 result=yes
12148 else
12149 result=no
12150 fi
12151 else
12152 result=$wxUSE_DATEPICKCTRL
12153 fi
12154
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12156 $as_echo "$result" >&6; }
12157
12158
12159 enablestring=
12160 defaultval=$wxUSE_ALL_FEATURES
12161 if test -z "$defaultval"; then
12162 if test x"$enablestring" = xdisable; then
12163 defaultval=yes
12164 else
12165 defaultval=no
12166 fi
12167 fi
12168
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
12170 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
12171 # Check whether --enable-detect_sm was given.
12172 if test "${enable_detect_sm+set}" = set; then :
12173 enableval=$enable_detect_sm;
12174 if test "$enableval" = yes; then
12175 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12176 else
12177 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12178 fi
12179
12180 else
12181
12182 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12183
12184 fi
12185
12186
12187 eval "$wx_cv_use_detect_sm"
12188
12189 if test x"$enablestring" = xdisable; then
12190 if test $wxUSE_DETECT_SM = no; then
12191 result=yes
12192 else
12193 result=no
12194 fi
12195 else
12196 result=$wxUSE_DETECT_SM
12197 fi
12198
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12200 $as_echo "$result" >&6; }
12201
12202
12203 enablestring=
12204 defaultval=$wxUSE_ALL_FEATURES
12205 if test -z "$defaultval"; then
12206 if test x"$enablestring" = xdisable; then
12207 defaultval=yes
12208 else
12209 defaultval=no
12210 fi
12211 fi
12212
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12214 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12215 # Check whether --enable-dirpicker was given.
12216 if test "${enable_dirpicker+set}" = set; then :
12217 enableval=$enable_dirpicker;
12218 if test "$enableval" = yes; then
12219 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12220 else
12221 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12222 fi
12223
12224 else
12225
12226 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12227
12228 fi
12229
12230
12231 eval "$wx_cv_use_dirpicker"
12232
12233 if test x"$enablestring" = xdisable; then
12234 if test $wxUSE_DIRPICKERCTRL = no; then
12235 result=yes
12236 else
12237 result=no
12238 fi
12239 else
12240 result=$wxUSE_DIRPICKERCTRL
12241 fi
12242
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12244 $as_echo "$result" >&6; }
12245
12246
12247 enablestring=
12248 defaultval=$wxUSE_ALL_FEATURES
12249 if test -z "$defaultval"; then
12250 if test x"$enablestring" = xdisable; then
12251 defaultval=yes
12252 else
12253 defaultval=no
12254 fi
12255 fi
12256
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12258 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12259 # Check whether --enable-display was given.
12260 if test "${enable_display+set}" = set; then :
12261 enableval=$enable_display;
12262 if test "$enableval" = yes; then
12263 wx_cv_use_display='wxUSE_DISPLAY=yes'
12264 else
12265 wx_cv_use_display='wxUSE_DISPLAY=no'
12266 fi
12267
12268 else
12269
12270 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12271
12272 fi
12273
12274
12275 eval "$wx_cv_use_display"
12276
12277 if test x"$enablestring" = xdisable; then
12278 if test $wxUSE_DISPLAY = no; then
12279 result=yes
12280 else
12281 result=no
12282 fi
12283 else
12284 result=$wxUSE_DISPLAY
12285 fi
12286
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12288 $as_echo "$result" >&6; }
12289
12290
12291 enablestring=
12292 defaultval=$wxUSE_ALL_FEATURES
12293 if test -z "$defaultval"; then
12294 if test x"$enablestring" = xdisable; then
12295 defaultval=yes
12296 else
12297 defaultval=no
12298 fi
12299 fi
12300
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12302 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12303 # Check whether --enable-editablebox was given.
12304 if test "${enable_editablebox+set}" = set; then :
12305 enableval=$enable_editablebox;
12306 if test "$enableval" = yes; then
12307 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12308 else
12309 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12310 fi
12311
12312 else
12313
12314 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12315
12316 fi
12317
12318
12319 eval "$wx_cv_use_editablebox"
12320
12321 if test x"$enablestring" = xdisable; then
12322 if test $wxUSE_EDITABLELISTBOX = no; then
12323 result=yes
12324 else
12325 result=no
12326 fi
12327 else
12328 result=$wxUSE_EDITABLELISTBOX
12329 fi
12330
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12332 $as_echo "$result" >&6; }
12333
12334
12335 enablestring=
12336 defaultval=$wxUSE_ALL_FEATURES
12337 if test -z "$defaultval"; then
12338 if test x"$enablestring" = xdisable; then
12339 defaultval=yes
12340 else
12341 defaultval=no
12342 fi
12343 fi
12344
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12346 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12347 # Check whether --enable-filectrl was given.
12348 if test "${enable_filectrl+set}" = set; then :
12349 enableval=$enable_filectrl;
12350 if test "$enableval" = yes; then
12351 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12352 else
12353 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12354 fi
12355
12356 else
12357
12358 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12359
12360 fi
12361
12362
12363 eval "$wx_cv_use_filectrl"
12364
12365 if test x"$enablestring" = xdisable; then
12366 if test $wxUSE_FILECTRL = no; then
12367 result=yes
12368 else
12369 result=no
12370 fi
12371 else
12372 result=$wxUSE_FILECTRL
12373 fi
12374
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12376 $as_echo "$result" >&6; }
12377
12378
12379 enablestring=
12380 defaultval=$wxUSE_ALL_FEATURES
12381 if test -z "$defaultval"; then
12382 if test x"$enablestring" = xdisable; then
12383 defaultval=yes
12384 else
12385 defaultval=no
12386 fi
12387 fi
12388
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12390 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12391 # Check whether --enable-filepicker was given.
12392 if test "${enable_filepicker+set}" = set; then :
12393 enableval=$enable_filepicker;
12394 if test "$enableval" = yes; then
12395 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12396 else
12397 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12398 fi
12399
12400 else
12401
12402 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12403
12404 fi
12405
12406
12407 eval "$wx_cv_use_filepicker"
12408
12409 if test x"$enablestring" = xdisable; then
12410 if test $wxUSE_FILEPICKERCTRL = no; then
12411 result=yes
12412 else
12413 result=no
12414 fi
12415 else
12416 result=$wxUSE_FILEPICKERCTRL
12417 fi
12418
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12420 $as_echo "$result" >&6; }
12421
12422
12423 enablestring=
12424 defaultval=$wxUSE_ALL_FEATURES
12425 if test -z "$defaultval"; then
12426 if test x"$enablestring" = xdisable; then
12427 defaultval=yes
12428 else
12429 defaultval=no
12430 fi
12431 fi
12432
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12434 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12435 # Check whether --enable-fontpicker was given.
12436 if test "${enable_fontpicker+set}" = set; then :
12437 enableval=$enable_fontpicker;
12438 if test "$enableval" = yes; then
12439 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12440 else
12441 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12442 fi
12443
12444 else
12445
12446 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12447
12448 fi
12449
12450
12451 eval "$wx_cv_use_fontpicker"
12452
12453 if test x"$enablestring" = xdisable; then
12454 if test $wxUSE_FONTPICKERCTRL = no; then
12455 result=yes
12456 else
12457 result=no
12458 fi
12459 else
12460 result=$wxUSE_FONTPICKERCTRL
12461 fi
12462
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12464 $as_echo "$result" >&6; }
12465
12466
12467 enablestring=
12468 defaultval=$wxUSE_ALL_FEATURES
12469 if test -z "$defaultval"; then
12470 if test x"$enablestring" = xdisable; then
12471 defaultval=yes
12472 else
12473 defaultval=no
12474 fi
12475 fi
12476
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12478 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12479 # Check whether --enable-gauge was given.
12480 if test "${enable_gauge+set}" = set; then :
12481 enableval=$enable_gauge;
12482 if test "$enableval" = yes; then
12483 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12484 else
12485 wx_cv_use_gauge='wxUSE_GAUGE=no'
12486 fi
12487
12488 else
12489
12490 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12491
12492 fi
12493
12494
12495 eval "$wx_cv_use_gauge"
12496
12497 if test x"$enablestring" = xdisable; then
12498 if test $wxUSE_GAUGE = no; then
12499 result=yes
12500 else
12501 result=no
12502 fi
12503 else
12504 result=$wxUSE_GAUGE
12505 fi
12506
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12508 $as_echo "$result" >&6; }
12509
12510
12511 enablestring=
12512 defaultval=$wxUSE_ALL_FEATURES
12513 if test -z "$defaultval"; then
12514 if test x"$enablestring" = xdisable; then
12515 defaultval=yes
12516 else
12517 defaultval=no
12518 fi
12519 fi
12520
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12522 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12523 # Check whether --enable-grid was given.
12524 if test "${enable_grid+set}" = set; then :
12525 enableval=$enable_grid;
12526 if test "$enableval" = yes; then
12527 wx_cv_use_grid='wxUSE_GRID=yes'
12528 else
12529 wx_cv_use_grid='wxUSE_GRID=no'
12530 fi
12531
12532 else
12533
12534 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12535
12536 fi
12537
12538
12539 eval "$wx_cv_use_grid"
12540
12541 if test x"$enablestring" = xdisable; then
12542 if test $wxUSE_GRID = no; then
12543 result=yes
12544 else
12545 result=no
12546 fi
12547 else
12548 result=$wxUSE_GRID
12549 fi
12550
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12552 $as_echo "$result" >&6; }
12553
12554
12555 enablestring=
12556 defaultval=$wxUSE_ALL_FEATURES
12557 if test -z "$defaultval"; then
12558 if test x"$enablestring" = xdisable; then
12559 defaultval=yes
12560 else
12561 defaultval=no
12562 fi
12563 fi
12564
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12566 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12567 # Check whether --enable-headerctrl was given.
12568 if test "${enable_headerctrl+set}" = set; then :
12569 enableval=$enable_headerctrl;
12570 if test "$enableval" = yes; then
12571 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12572 else
12573 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12574 fi
12575
12576 else
12577
12578 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12579
12580 fi
12581
12582
12583 eval "$wx_cv_use_headerctrl"
12584
12585 if test x"$enablestring" = xdisable; then
12586 if test $wxUSE_HEADERCTRL = no; then
12587 result=yes
12588 else
12589 result=no
12590 fi
12591 else
12592 result=$wxUSE_HEADERCTRL
12593 fi
12594
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12596 $as_echo "$result" >&6; }
12597
12598
12599 enablestring=
12600 defaultval=$wxUSE_ALL_FEATURES
12601 if test -z "$defaultval"; then
12602 if test x"$enablestring" = xdisable; then
12603 defaultval=yes
12604 else
12605 defaultval=no
12606 fi
12607 fi
12608
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12610 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12611 # Check whether --enable-hyperlink was given.
12612 if test "${enable_hyperlink+set}" = set; then :
12613 enableval=$enable_hyperlink;
12614 if test "$enableval" = yes; then
12615 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12616 else
12617 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12618 fi
12619
12620 else
12621
12622 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12623
12624 fi
12625
12626
12627 eval "$wx_cv_use_hyperlink"
12628
12629 if test x"$enablestring" = xdisable; then
12630 if test $wxUSE_HYPERLINKCTRL = no; then
12631 result=yes
12632 else
12633 result=no
12634 fi
12635 else
12636 result=$wxUSE_HYPERLINKCTRL
12637 fi
12638
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12640 $as_echo "$result" >&6; }
12641
12642
12643 enablestring=
12644 defaultval=$wxUSE_ALL_FEATURES
12645 if test -z "$defaultval"; then
12646 if test x"$enablestring" = xdisable; then
12647 defaultval=yes
12648 else
12649 defaultval=no
12650 fi
12651 fi
12652
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12654 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12655 # Check whether --enable-imaglist was given.
12656 if test "${enable_imaglist+set}" = set; then :
12657 enableval=$enable_imaglist;
12658 if test "$enableval" = yes; then
12659 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12660 else
12661 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12662 fi
12663
12664 else
12665
12666 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12667
12668 fi
12669
12670
12671 eval "$wx_cv_use_imaglist"
12672
12673 if test x"$enablestring" = xdisable; then
12674 if test $wxUSE_IMAGLIST = no; then
12675 result=yes
12676 else
12677 result=no
12678 fi
12679 else
12680 result=$wxUSE_IMAGLIST
12681 fi
12682
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12684 $as_echo "$result" >&6; }
12685
12686
12687 enablestring=
12688 defaultval=$wxUSE_ALL_FEATURES
12689 if test -z "$defaultval"; then
12690 if test x"$enablestring" = xdisable; then
12691 defaultval=yes
12692 else
12693 defaultval=no
12694 fi
12695 fi
12696
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12698 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12699 # Check whether --enable-infobar was given.
12700 if test "${enable_infobar+set}" = set; then :
12701 enableval=$enable_infobar;
12702 if test "$enableval" = yes; then
12703 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12704 else
12705 wx_cv_use_infobar='wxUSE_INFOBAR=no'
12706 fi
12707
12708 else
12709
12710 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12711
12712 fi
12713
12714
12715 eval "$wx_cv_use_infobar"
12716
12717 if test x"$enablestring" = xdisable; then
12718 if test $wxUSE_INFOBAR = no; then
12719 result=yes
12720 else
12721 result=no
12722 fi
12723 else
12724 result=$wxUSE_INFOBAR
12725 fi
12726
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12728 $as_echo "$result" >&6; }
12729
12730
12731 enablestring=
12732 defaultval=$wxUSE_ALL_FEATURES
12733 if test -z "$defaultval"; then
12734 if test x"$enablestring" = xdisable; then
12735 defaultval=yes
12736 else
12737 defaultval=no
12738 fi
12739 fi
12740
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12742 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12743 # Check whether --enable-listbook was given.
12744 if test "${enable_listbook+set}" = set; then :
12745 enableval=$enable_listbook;
12746 if test "$enableval" = yes; then
12747 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12748 else
12749 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12750 fi
12751
12752 else
12753
12754 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12755
12756 fi
12757
12758
12759 eval "$wx_cv_use_listbook"
12760
12761 if test x"$enablestring" = xdisable; then
12762 if test $wxUSE_LISTBOOK = no; then
12763 result=yes
12764 else
12765 result=no
12766 fi
12767 else
12768 result=$wxUSE_LISTBOOK
12769 fi
12770
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12772 $as_echo "$result" >&6; }
12773
12774
12775 enablestring=
12776 defaultval=$wxUSE_ALL_FEATURES
12777 if test -z "$defaultval"; then
12778 if test x"$enablestring" = xdisable; then
12779 defaultval=yes
12780 else
12781 defaultval=no
12782 fi
12783 fi
12784
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12786 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12787 # Check whether --enable-listbox was given.
12788 if test "${enable_listbox+set}" = set; then :
12789 enableval=$enable_listbox;
12790 if test "$enableval" = yes; then
12791 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12792 else
12793 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12794 fi
12795
12796 else
12797
12798 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12799
12800 fi
12801
12802
12803 eval "$wx_cv_use_listbox"
12804
12805 if test x"$enablestring" = xdisable; then
12806 if test $wxUSE_LISTBOX = no; then
12807 result=yes
12808 else
12809 result=no
12810 fi
12811 else
12812 result=$wxUSE_LISTBOX
12813 fi
12814
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12816 $as_echo "$result" >&6; }
12817
12818
12819 enablestring=
12820 defaultval=$wxUSE_ALL_FEATURES
12821 if test -z "$defaultval"; then
12822 if test x"$enablestring" = xdisable; then
12823 defaultval=yes
12824 else
12825 defaultval=no
12826 fi
12827 fi
12828
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12830 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12831 # Check whether --enable-listctrl was given.
12832 if test "${enable_listctrl+set}" = set; then :
12833 enableval=$enable_listctrl;
12834 if test "$enableval" = yes; then
12835 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12836 else
12837 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12838 fi
12839
12840 else
12841
12842 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12843
12844 fi
12845
12846
12847 eval "$wx_cv_use_listctrl"
12848
12849 if test x"$enablestring" = xdisable; then
12850 if test $wxUSE_LISTCTRL = no; then
12851 result=yes
12852 else
12853 result=no
12854 fi
12855 else
12856 result=$wxUSE_LISTCTRL
12857 fi
12858
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12860 $as_echo "$result" >&6; }
12861
12862
12863 enablestring=
12864 defaultval=$wxUSE_ALL_FEATURES
12865 if test -z "$defaultval"; then
12866 if test x"$enablestring" = xdisable; then
12867 defaultval=yes
12868 else
12869 defaultval=no
12870 fi
12871 fi
12872
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12874 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12875 # Check whether --enable-notebook was given.
12876 if test "${enable_notebook+set}" = set; then :
12877 enableval=$enable_notebook;
12878 if test "$enableval" = yes; then
12879 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12880 else
12881 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12882 fi
12883
12884 else
12885
12886 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12887
12888 fi
12889
12890
12891 eval "$wx_cv_use_notebook"
12892
12893 if test x"$enablestring" = xdisable; then
12894 if test $wxUSE_NOTEBOOK = no; then
12895 result=yes
12896 else
12897 result=no
12898 fi
12899 else
12900 result=$wxUSE_NOTEBOOK
12901 fi
12902
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12904 $as_echo "$result" >&6; }
12905
12906
12907 enablestring=
12908 defaultval=$wxUSE_ALL_FEATURES
12909 if test -z "$defaultval"; then
12910 if test x"$enablestring" = xdisable; then
12911 defaultval=yes
12912 else
12913 defaultval=no
12914 fi
12915 fi
12916
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12918 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12919 # Check whether --enable-notifmsg was given.
12920 if test "${enable_notifmsg+set}" = set; then :
12921 enableval=$enable_notifmsg;
12922 if test "$enableval" = yes; then
12923 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12924 else
12925 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12926 fi
12927
12928 else
12929
12930 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12931
12932 fi
12933
12934
12935 eval "$wx_cv_use_notifmsg"
12936
12937 if test x"$enablestring" = xdisable; then
12938 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12939 result=yes
12940 else
12941 result=no
12942 fi
12943 else
12944 result=$wxUSE_NOTIFICATION_MESSAGE
12945 fi
12946
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12948 $as_echo "$result" >&6; }
12949
12950
12951 enablestring=
12952 defaultval=$wxUSE_ALL_FEATURES
12953 if test -z "$defaultval"; then
12954 if test x"$enablestring" = xdisable; then
12955 defaultval=yes
12956 else
12957 defaultval=no
12958 fi
12959 fi
12960
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12962 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12963 # Check whether --enable-odcombobox was given.
12964 if test "${enable_odcombobox+set}" = set; then :
12965 enableval=$enable_odcombobox;
12966 if test "$enableval" = yes; then
12967 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12968 else
12969 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12970 fi
12971
12972 else
12973
12974 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12975
12976 fi
12977
12978
12979 eval "$wx_cv_use_odcombobox"
12980
12981 if test x"$enablestring" = xdisable; then
12982 if test $wxUSE_ODCOMBOBOX = no; then
12983 result=yes
12984 else
12985 result=no
12986 fi
12987 else
12988 result=$wxUSE_ODCOMBOBOX
12989 fi
12990
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12992 $as_echo "$result" >&6; }
12993
12994
12995 enablestring=
12996 defaultval=$wxUSE_ALL_FEATURES
12997 if test -z "$defaultval"; then
12998 if test x"$enablestring" = xdisable; then
12999 defaultval=yes
13000 else
13001 defaultval=no
13002 fi
13003 fi
13004
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
13006 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
13007 # Check whether --enable-popupwin was given.
13008 if test "${enable_popupwin+set}" = set; then :
13009 enableval=$enable_popupwin;
13010 if test "$enableval" = yes; then
13011 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13012 else
13013 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13014 fi
13015
13016 else
13017
13018 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13019
13020 fi
13021
13022
13023 eval "$wx_cv_use_popupwin"
13024
13025 if test x"$enablestring" = xdisable; then
13026 if test $wxUSE_POPUPWIN = no; then
13027 result=yes
13028 else
13029 result=no
13030 fi
13031 else
13032 result=$wxUSE_POPUPWIN
13033 fi
13034
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13036 $as_echo "$result" >&6; }
13037
13038
13039 enablestring=
13040 defaultval=$wxUSE_ALL_FEATURES
13041 if test -z "$defaultval"; then
13042 if test x"$enablestring" = xdisable; then
13043 defaultval=yes
13044 else
13045 defaultval=no
13046 fi
13047 fi
13048
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
13050 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
13051 # Check whether --enable-radiobox was given.
13052 if test "${enable_radiobox+set}" = set; then :
13053 enableval=$enable_radiobox;
13054 if test "$enableval" = yes; then
13055 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
13056 else
13057 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
13058 fi
13059
13060 else
13061
13062 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
13063
13064 fi
13065
13066
13067 eval "$wx_cv_use_radiobox"
13068
13069 if test x"$enablestring" = xdisable; then
13070 if test $wxUSE_RADIOBOX = no; then
13071 result=yes
13072 else
13073 result=no
13074 fi
13075 else
13076 result=$wxUSE_RADIOBOX
13077 fi
13078
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13080 $as_echo "$result" >&6; }
13081
13082
13083 enablestring=
13084 defaultval=$wxUSE_ALL_FEATURES
13085 if test -z "$defaultval"; then
13086 if test x"$enablestring" = xdisable; then
13087 defaultval=yes
13088 else
13089 defaultval=no
13090 fi
13091 fi
13092
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
13094 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
13095 # Check whether --enable-radiobtn was given.
13096 if test "${enable_radiobtn+set}" = set; then :
13097 enableval=$enable_radiobtn;
13098 if test "$enableval" = yes; then
13099 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
13100 else
13101 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
13102 fi
13103
13104 else
13105
13106 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
13107
13108 fi
13109
13110
13111 eval "$wx_cv_use_radiobtn"
13112
13113 if test x"$enablestring" = xdisable; then
13114 if test $wxUSE_RADIOBTN = no; then
13115 result=yes
13116 else
13117 result=no
13118 fi
13119 else
13120 result=$wxUSE_RADIOBTN
13121 fi
13122
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13124 $as_echo "$result" >&6; }
13125
13126
13127 enablestring=
13128 defaultval=$wxUSE_ALL_FEATURES
13129 if test -z "$defaultval"; then
13130 if test x"$enablestring" = xdisable; then
13131 defaultval=yes
13132 else
13133 defaultval=no
13134 fi
13135 fi
13136
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
13138 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
13139 # Check whether --enable-richmsgdlg was given.
13140 if test "${enable_richmsgdlg+set}" = set; then :
13141 enableval=$enable_richmsgdlg;
13142 if test "$enableval" = yes; then
13143 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
13144 else
13145 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
13146 fi
13147
13148 else
13149
13150 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
13151
13152 fi
13153
13154
13155 eval "$wx_cv_use_richmsgdlg"
13156
13157 if test x"$enablestring" = xdisable; then
13158 if test $wxUSE_RICHMSGDLG = no; then
13159 result=yes
13160 else
13161 result=no
13162 fi
13163 else
13164 result=$wxUSE_RICHMSGDLG
13165 fi
13166
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13168 $as_echo "$result" >&6; }
13169
13170
13171 enablestring=
13172 defaultval=$wxUSE_ALL_FEATURES
13173 if test -z "$defaultval"; then
13174 if test x"$enablestring" = xdisable; then
13175 defaultval=yes
13176 else
13177 defaultval=no
13178 fi
13179 fi
13180
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
13182 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
13183 # Check whether --enable-richtooltip was given.
13184 if test "${enable_richtooltip+set}" = set; then :
13185 enableval=$enable_richtooltip;
13186 if test "$enableval" = yes; then
13187 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
13188 else
13189 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
13190 fi
13191
13192 else
13193
13194 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13195
13196 fi
13197
13198
13199 eval "$wx_cv_use_richtooltip"
13200
13201 if test x"$enablestring" = xdisable; then
13202 if test $wxUSE_RICHTOOLTIP = no; then
13203 result=yes
13204 else
13205 result=no
13206 fi
13207 else
13208 result=$wxUSE_RICHTOOLTIP
13209 fi
13210
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13212 $as_echo "$result" >&6; }
13213
13214
13215 enablestring=
13216 defaultval=$wxUSE_ALL_FEATURES
13217 if test -z "$defaultval"; then
13218 if test x"$enablestring" = xdisable; then
13219 defaultval=yes
13220 else
13221 defaultval=no
13222 fi
13223 fi
13224
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13226 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13227 # Check whether --enable-rearrangectrl was given.
13228 if test "${enable_rearrangectrl+set}" = set; then :
13229 enableval=$enable_rearrangectrl;
13230 if test "$enableval" = yes; then
13231 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13232 else
13233 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13234 fi
13235
13236 else
13237
13238 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13239
13240 fi
13241
13242
13243 eval "$wx_cv_use_rearrangectrl"
13244
13245 if test x"$enablestring" = xdisable; then
13246 if test $wxUSE_REARRANGECTRL = no; then
13247 result=yes
13248 else
13249 result=no
13250 fi
13251 else
13252 result=$wxUSE_REARRANGECTRL
13253 fi
13254
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13256 $as_echo "$result" >&6; }
13257
13258
13259 enablestring=
13260 defaultval=$wxUSE_ALL_FEATURES
13261 if test -z "$defaultval"; then
13262 if test x"$enablestring" = xdisable; then
13263 defaultval=yes
13264 else
13265 defaultval=no
13266 fi
13267 fi
13268
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13270 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13271 # Check whether --enable-sash was given.
13272 if test "${enable_sash+set}" = set; then :
13273 enableval=$enable_sash;
13274 if test "$enableval" = yes; then
13275 wx_cv_use_sash='wxUSE_SASH=yes'
13276 else
13277 wx_cv_use_sash='wxUSE_SASH=no'
13278 fi
13279
13280 else
13281
13282 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13283
13284 fi
13285
13286
13287 eval "$wx_cv_use_sash"
13288
13289 if test x"$enablestring" = xdisable; then
13290 if test $wxUSE_SASH = no; then
13291 result=yes
13292 else
13293 result=no
13294 fi
13295 else
13296 result=$wxUSE_SASH
13297 fi
13298
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13300 $as_echo "$result" >&6; }
13301
13302
13303 enablestring=
13304 defaultval=$wxUSE_ALL_FEATURES
13305 if test -z "$defaultval"; then
13306 if test x"$enablestring" = xdisable; then
13307 defaultval=yes
13308 else
13309 defaultval=no
13310 fi
13311 fi
13312
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13314 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13315 # Check whether --enable-scrollbar was given.
13316 if test "${enable_scrollbar+set}" = set; then :
13317 enableval=$enable_scrollbar;
13318 if test "$enableval" = yes; then
13319 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13320 else
13321 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13322 fi
13323
13324 else
13325
13326 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13327
13328 fi
13329
13330
13331 eval "$wx_cv_use_scrollbar"
13332
13333 if test x"$enablestring" = xdisable; then
13334 if test $wxUSE_SCROLLBAR = no; then
13335 result=yes
13336 else
13337 result=no
13338 fi
13339 else
13340 result=$wxUSE_SCROLLBAR
13341 fi
13342
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13344 $as_echo "$result" >&6; }
13345
13346
13347 enablestring=
13348 defaultval=$wxUSE_ALL_FEATURES
13349 if test -z "$defaultval"; then
13350 if test x"$enablestring" = xdisable; then
13351 defaultval=yes
13352 else
13353 defaultval=no
13354 fi
13355 fi
13356
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13358 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13359 # Check whether --enable-searchctrl was given.
13360 if test "${enable_searchctrl+set}" = set; then :
13361 enableval=$enable_searchctrl;
13362 if test "$enableval" = yes; then
13363 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13364 else
13365 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13366 fi
13367
13368 else
13369
13370 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13371
13372 fi
13373
13374
13375 eval "$wx_cv_use_searchctrl"
13376
13377 if test x"$enablestring" = xdisable; then
13378 if test $wxUSE_SEARCHCTRL = no; then
13379 result=yes
13380 else
13381 result=no
13382 fi
13383 else
13384 result=$wxUSE_SEARCHCTRL
13385 fi
13386
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13388 $as_echo "$result" >&6; }
13389
13390
13391 enablestring=
13392 defaultval=$wxUSE_ALL_FEATURES
13393 if test -z "$defaultval"; then
13394 if test x"$enablestring" = xdisable; then
13395 defaultval=yes
13396 else
13397 defaultval=no
13398 fi
13399 fi
13400
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13402 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13403 # Check whether --enable-slider was given.
13404 if test "${enable_slider+set}" = set; then :
13405 enableval=$enable_slider;
13406 if test "$enableval" = yes; then
13407 wx_cv_use_slider='wxUSE_SLIDER=yes'
13408 else
13409 wx_cv_use_slider='wxUSE_SLIDER=no'
13410 fi
13411
13412 else
13413
13414 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13415
13416 fi
13417
13418
13419 eval "$wx_cv_use_slider"
13420
13421 if test x"$enablestring" = xdisable; then
13422 if test $wxUSE_SLIDER = no; then
13423 result=yes
13424 else
13425 result=no
13426 fi
13427 else
13428 result=$wxUSE_SLIDER
13429 fi
13430
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13432 $as_echo "$result" >&6; }
13433
13434
13435 enablestring=
13436 defaultval=$wxUSE_ALL_FEATURES
13437 if test -z "$defaultval"; then
13438 if test x"$enablestring" = xdisable; then
13439 defaultval=yes
13440 else
13441 defaultval=no
13442 fi
13443 fi
13444
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13446 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13447 # Check whether --enable-spinbtn was given.
13448 if test "${enable_spinbtn+set}" = set; then :
13449 enableval=$enable_spinbtn;
13450 if test "$enableval" = yes; then
13451 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13452 else
13453 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13454 fi
13455
13456 else
13457
13458 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13459
13460 fi
13461
13462
13463 eval "$wx_cv_use_spinbtn"
13464
13465 if test x"$enablestring" = xdisable; then
13466 if test $wxUSE_SPINBTN = no; then
13467 result=yes
13468 else
13469 result=no
13470 fi
13471 else
13472 result=$wxUSE_SPINBTN
13473 fi
13474
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13476 $as_echo "$result" >&6; }
13477
13478
13479 enablestring=
13480 defaultval=$wxUSE_ALL_FEATURES
13481 if test -z "$defaultval"; then
13482 if test x"$enablestring" = xdisable; then
13483 defaultval=yes
13484 else
13485 defaultval=no
13486 fi
13487 fi
13488
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13490 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13491 # Check whether --enable-spinctrl was given.
13492 if test "${enable_spinctrl+set}" = set; then :
13493 enableval=$enable_spinctrl;
13494 if test "$enableval" = yes; then
13495 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13496 else
13497 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13498 fi
13499
13500 else
13501
13502 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13503
13504 fi
13505
13506
13507 eval "$wx_cv_use_spinctrl"
13508
13509 if test x"$enablestring" = xdisable; then
13510 if test $wxUSE_SPINCTRL = no; then
13511 result=yes
13512 else
13513 result=no
13514 fi
13515 else
13516 result=$wxUSE_SPINCTRL
13517 fi
13518
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13520 $as_echo "$result" >&6; }
13521
13522
13523 enablestring=
13524 defaultval=$wxUSE_ALL_FEATURES
13525 if test -z "$defaultval"; then
13526 if test x"$enablestring" = xdisable; then
13527 defaultval=yes
13528 else
13529 defaultval=no
13530 fi
13531 fi
13532
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13534 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13535 # Check whether --enable-splitter was given.
13536 if test "${enable_splitter+set}" = set; then :
13537 enableval=$enable_splitter;
13538 if test "$enableval" = yes; then
13539 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13540 else
13541 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13542 fi
13543
13544 else
13545
13546 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13547
13548 fi
13549
13550
13551 eval "$wx_cv_use_splitter"
13552
13553 if test x"$enablestring" = xdisable; then
13554 if test $wxUSE_SPLITTER = no; then
13555 result=yes
13556 else
13557 result=no
13558 fi
13559 else
13560 result=$wxUSE_SPLITTER
13561 fi
13562
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13564 $as_echo "$result" >&6; }
13565
13566
13567 enablestring=
13568 defaultval=$wxUSE_ALL_FEATURES
13569 if test -z "$defaultval"; then
13570 if test x"$enablestring" = xdisable; then
13571 defaultval=yes
13572 else
13573 defaultval=no
13574 fi
13575 fi
13576
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13578 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13579 # Check whether --enable-statbmp was given.
13580 if test "${enable_statbmp+set}" = set; then :
13581 enableval=$enable_statbmp;
13582 if test "$enableval" = yes; then
13583 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13584 else
13585 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13586 fi
13587
13588 else
13589
13590 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13591
13592 fi
13593
13594
13595 eval "$wx_cv_use_statbmp"
13596
13597 if test x"$enablestring" = xdisable; then
13598 if test $wxUSE_STATBMP = no; then
13599 result=yes
13600 else
13601 result=no
13602 fi
13603 else
13604 result=$wxUSE_STATBMP
13605 fi
13606
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13608 $as_echo "$result" >&6; }
13609
13610
13611 enablestring=
13612 defaultval=$wxUSE_ALL_FEATURES
13613 if test -z "$defaultval"; then
13614 if test x"$enablestring" = xdisable; then
13615 defaultval=yes
13616 else
13617 defaultval=no
13618 fi
13619 fi
13620
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13622 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13623 # Check whether --enable-statbox was given.
13624 if test "${enable_statbox+set}" = set; then :
13625 enableval=$enable_statbox;
13626 if test "$enableval" = yes; then
13627 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13628 else
13629 wx_cv_use_statbox='wxUSE_STATBOX=no'
13630 fi
13631
13632 else
13633
13634 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13635
13636 fi
13637
13638
13639 eval "$wx_cv_use_statbox"
13640
13641 if test x"$enablestring" = xdisable; then
13642 if test $wxUSE_STATBOX = no; then
13643 result=yes
13644 else
13645 result=no
13646 fi
13647 else
13648 result=$wxUSE_STATBOX
13649 fi
13650
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13652 $as_echo "$result" >&6; }
13653
13654
13655 enablestring=
13656 defaultval=$wxUSE_ALL_FEATURES
13657 if test -z "$defaultval"; then
13658 if test x"$enablestring" = xdisable; then
13659 defaultval=yes
13660 else
13661 defaultval=no
13662 fi
13663 fi
13664
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13666 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13667 # Check whether --enable-statline was given.
13668 if test "${enable_statline+set}" = set; then :
13669 enableval=$enable_statline;
13670 if test "$enableval" = yes; then
13671 wx_cv_use_statline='wxUSE_STATLINE=yes'
13672 else
13673 wx_cv_use_statline='wxUSE_STATLINE=no'
13674 fi
13675
13676 else
13677
13678 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13679
13680 fi
13681
13682
13683 eval "$wx_cv_use_statline"
13684
13685 if test x"$enablestring" = xdisable; then
13686 if test $wxUSE_STATLINE = no; then
13687 result=yes
13688 else
13689 result=no
13690 fi
13691 else
13692 result=$wxUSE_STATLINE
13693 fi
13694
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13696 $as_echo "$result" >&6; }
13697
13698
13699 enablestring=
13700 defaultval=$wxUSE_ALL_FEATURES
13701 if test -z "$defaultval"; then
13702 if test x"$enablestring" = xdisable; then
13703 defaultval=yes
13704 else
13705 defaultval=no
13706 fi
13707 fi
13708
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13710 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13711 # Check whether --enable-stattext was given.
13712 if test "${enable_stattext+set}" = set; then :
13713 enableval=$enable_stattext;
13714 if test "$enableval" = yes; then
13715 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13716 else
13717 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13718 fi
13719
13720 else
13721
13722 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13723
13724 fi
13725
13726
13727 eval "$wx_cv_use_stattext"
13728
13729 if test x"$enablestring" = xdisable; then
13730 if test $wxUSE_STATTEXT = no; then
13731 result=yes
13732 else
13733 result=no
13734 fi
13735 else
13736 result=$wxUSE_STATTEXT
13737 fi
13738
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13740 $as_echo "$result" >&6; }
13741
13742
13743 enablestring=
13744 defaultval=$wxUSE_ALL_FEATURES
13745 if test -z "$defaultval"; then
13746 if test x"$enablestring" = xdisable; then
13747 defaultval=yes
13748 else
13749 defaultval=no
13750 fi
13751 fi
13752
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13754 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13755 # Check whether --enable-statusbar was given.
13756 if test "${enable_statusbar+set}" = set; then :
13757 enableval=$enable_statusbar;
13758 if test "$enableval" = yes; then
13759 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13760 else
13761 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13762 fi
13763
13764 else
13765
13766 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13767
13768 fi
13769
13770
13771 eval "$wx_cv_use_statusbar"
13772
13773 if test x"$enablestring" = xdisable; then
13774 if test $wxUSE_STATUSBAR = no; then
13775 result=yes
13776 else
13777 result=no
13778 fi
13779 else
13780 result=$wxUSE_STATUSBAR
13781 fi
13782
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13784 $as_echo "$result" >&6; }
13785
13786
13787 enablestring=
13788 defaultval=$wxUSE_ALL_FEATURES
13789 if test -z "$defaultval"; then
13790 if test x"$enablestring" = xdisable; then
13791 defaultval=yes
13792 else
13793 defaultval=no
13794 fi
13795 fi
13796
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13798 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13799 # Check whether --enable-taskbaricon was given.
13800 if test "${enable_taskbaricon+set}" = set; then :
13801 enableval=$enable_taskbaricon;
13802 if test "$enableval" = yes; then
13803 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13804 else
13805 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13806 fi
13807
13808 else
13809
13810 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13811
13812 fi
13813
13814
13815 eval "$wx_cv_use_taskbaricon"
13816
13817 if test x"$enablestring" = xdisable; then
13818 if test $wxUSE_TASKBARICON = no; then
13819 result=yes
13820 else
13821 result=no
13822 fi
13823 else
13824 result=$wxUSE_TASKBARICON
13825 fi
13826
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13828 $as_echo "$result" >&6; }
13829
13830
13831 enablestring=
13832 defaultval=$wxUSE_ALL_FEATURES
13833 if test -z "$defaultval"; then
13834 if test x"$enablestring" = xdisable; then
13835 defaultval=yes
13836 else
13837 defaultval=no
13838 fi
13839 fi
13840
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13842 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13843 # Check whether --enable-tbarnative was given.
13844 if test "${enable_tbarnative+set}" = set; then :
13845 enableval=$enable_tbarnative;
13846 if test "$enableval" = yes; then
13847 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13848 else
13849 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13850 fi
13851
13852 else
13853
13854 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13855
13856 fi
13857
13858
13859 eval "$wx_cv_use_tbarnative"
13860
13861 if test x"$enablestring" = xdisable; then
13862 if test $wxUSE_TOOLBAR_NATIVE = no; then
13863 result=yes
13864 else
13865 result=no
13866 fi
13867 else
13868 result=$wxUSE_TOOLBAR_NATIVE
13869 fi
13870
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13872 $as_echo "$result" >&6; }
13873
13874
13875 enablestring=
13876 defaultval=$wxUSE_ALL_FEATURES
13877 if test -z "$defaultval"; then
13878 if test x"$enablestring" = xdisable; then
13879 defaultval=yes
13880 else
13881 defaultval=no
13882 fi
13883 fi
13884
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13886 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13887 # Check whether --enable-textctrl was given.
13888 if test "${enable_textctrl+set}" = set; then :
13889 enableval=$enable_textctrl;
13890 if test "$enableval" = yes; then
13891 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13892 else
13893 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13894 fi
13895
13896 else
13897
13898 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13899
13900 fi
13901
13902
13903 eval "$wx_cv_use_textctrl"
13904
13905 if test x"$enablestring" = xdisable; then
13906 if test $wxUSE_TEXTCTRL = no; then
13907 result=yes
13908 else
13909 result=no
13910 fi
13911 else
13912 result=$wxUSE_TEXTCTRL
13913 fi
13914
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13916 $as_echo "$result" >&6; }
13917
13918
13919 enablestring=
13920 defaultval=$wxUSE_ALL_FEATURES
13921 if test -z "$defaultval"; then
13922 if test x"$enablestring" = xdisable; then
13923 defaultval=yes
13924 else
13925 defaultval=no
13926 fi
13927 fi
13928
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13930 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13931 # Check whether --enable-datepick was given.
13932 if test "${enable_datepick+set}" = set; then :
13933 enableval=$enable_datepick;
13934 if test "$enableval" = yes; then
13935 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13936 else
13937 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13938 fi
13939
13940 else
13941
13942 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13943
13944 fi
13945
13946
13947 eval "$wx_cv_use_datepick"
13948
13949 if test x"$enablestring" = xdisable; then
13950 if test $wxUSE_TIMEPICKCTRL = no; then
13951 result=yes
13952 else
13953 result=no
13954 fi
13955 else
13956 result=$wxUSE_TIMEPICKCTRL
13957 fi
13958
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13960 $as_echo "$result" >&6; }
13961
13962
13963 enablestring=
13964 defaultval=$wxUSE_ALL_FEATURES
13965 if test -z "$defaultval"; then
13966 if test x"$enablestring" = xdisable; then
13967 defaultval=yes
13968 else
13969 defaultval=no
13970 fi
13971 fi
13972
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13974 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13975 # Check whether --enable-tipwindow was given.
13976 if test "${enable_tipwindow+set}" = set; then :
13977 enableval=$enable_tipwindow;
13978 if test "$enableval" = yes; then
13979 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13980 else
13981 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13982 fi
13983
13984 else
13985
13986 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13987
13988 fi
13989
13990
13991 eval "$wx_cv_use_tipwindow"
13992
13993 if test x"$enablestring" = xdisable; then
13994 if test $wxUSE_TIPWINDOW = no; then
13995 result=yes
13996 else
13997 result=no
13998 fi
13999 else
14000 result=$wxUSE_TIPWINDOW
14001 fi
14002
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14004 $as_echo "$result" >&6; }
14005
14006
14007 enablestring=
14008 defaultval=$wxUSE_ALL_FEATURES
14009 if test -z "$defaultval"; then
14010 if test x"$enablestring" = xdisable; then
14011 defaultval=yes
14012 else
14013 defaultval=no
14014 fi
14015 fi
14016
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
14018 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
14019 # Check whether --enable-togglebtn was given.
14020 if test "${enable_togglebtn+set}" = set; then :
14021 enableval=$enable_togglebtn;
14022 if test "$enableval" = yes; then
14023 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
14024 else
14025 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
14026 fi
14027
14028 else
14029
14030 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
14031
14032 fi
14033
14034
14035 eval "$wx_cv_use_togglebtn"
14036
14037 if test x"$enablestring" = xdisable; then
14038 if test $wxUSE_TOGGLEBTN = no; then
14039 result=yes
14040 else
14041 result=no
14042 fi
14043 else
14044 result=$wxUSE_TOGGLEBTN
14045 fi
14046
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14048 $as_echo "$result" >&6; }
14049
14050
14051 enablestring=
14052 defaultval=$wxUSE_ALL_FEATURES
14053 if test -z "$defaultval"; then
14054 if test x"$enablestring" = xdisable; then
14055 defaultval=yes
14056 else
14057 defaultval=no
14058 fi
14059 fi
14060
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
14062 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
14063 # Check whether --enable-toolbar was given.
14064 if test "${enable_toolbar+set}" = set; then :
14065 enableval=$enable_toolbar;
14066 if test "$enableval" = yes; then
14067 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
14068 else
14069 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
14070 fi
14071
14072 else
14073
14074 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
14075
14076 fi
14077
14078
14079 eval "$wx_cv_use_toolbar"
14080
14081 if test x"$enablestring" = xdisable; then
14082 if test $wxUSE_TOOLBAR = no; then
14083 result=yes
14084 else
14085 result=no
14086 fi
14087 else
14088 result=$wxUSE_TOOLBAR
14089 fi
14090
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14092 $as_echo "$result" >&6; }
14093
14094
14095 enablestring=
14096 defaultval=$wxUSE_ALL_FEATURES
14097 if test -z "$defaultval"; then
14098 if test x"$enablestring" = xdisable; then
14099 defaultval=yes
14100 else
14101 defaultval=no
14102 fi
14103 fi
14104
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
14106 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
14107 # Check whether --enable-toolbook was given.
14108 if test "${enable_toolbook+set}" = set; then :
14109 enableval=$enable_toolbook;
14110 if test "$enableval" = yes; then
14111 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
14112 else
14113 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
14114 fi
14115
14116 else
14117
14118 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14119
14120 fi
14121
14122
14123 eval "$wx_cv_use_toolbook"
14124
14125 if test x"$enablestring" = xdisable; then
14126 if test $wxUSE_TOOLBOOK = no; then
14127 result=yes
14128 else
14129 result=no
14130 fi
14131 else
14132 result=$wxUSE_TOOLBOOK
14133 fi
14134
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14136 $as_echo "$result" >&6; }
14137
14138
14139 enablestring=
14140 defaultval=$wxUSE_ALL_FEATURES
14141 if test -z "$defaultval"; then
14142 if test x"$enablestring" = xdisable; then
14143 defaultval=yes
14144 else
14145 defaultval=no
14146 fi
14147 fi
14148
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
14150 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
14151 # Check whether --enable-treebook was given.
14152 if test "${enable_treebook+set}" = set; then :
14153 enableval=$enable_treebook;
14154 if test "$enableval" = yes; then
14155 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
14156 else
14157 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
14158 fi
14159
14160 else
14161
14162 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14163
14164 fi
14165
14166
14167 eval "$wx_cv_use_treebook"
14168
14169 if test x"$enablestring" = xdisable; then
14170 if test $wxUSE_TREEBOOK = no; then
14171 result=yes
14172 else
14173 result=no
14174 fi
14175 else
14176 result=$wxUSE_TREEBOOK
14177 fi
14178
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14180 $as_echo "$result" >&6; }
14181
14182
14183 enablestring=
14184 defaultval=$wxUSE_ALL_FEATURES
14185 if test -z "$defaultval"; then
14186 if test x"$enablestring" = xdisable; then
14187 defaultval=yes
14188 else
14189 defaultval=no
14190 fi
14191 fi
14192
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14194 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14195 # Check whether --enable-treectrl was given.
14196 if test "${enable_treectrl+set}" = set; then :
14197 enableval=$enable_treectrl;
14198 if test "$enableval" = yes; then
14199 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14200 else
14201 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14202 fi
14203
14204 else
14205
14206 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14207
14208 fi
14209
14210
14211 eval "$wx_cv_use_treectrl"
14212
14213 if test x"$enablestring" = xdisable; then
14214 if test $wxUSE_TREECTRL = no; then
14215 result=yes
14216 else
14217 result=no
14218 fi
14219 else
14220 result=$wxUSE_TREECTRL
14221 fi
14222
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14224 $as_echo "$result" >&6; }
14225
14226
14227 enablestring=
14228 defaultval=$wxUSE_ALL_FEATURES
14229 if test -z "$defaultval"; then
14230 if test x"$enablestring" = xdisable; then
14231 defaultval=yes
14232 else
14233 defaultval=no
14234 fi
14235 fi
14236
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14238 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14239 # Check whether --enable-treelist was given.
14240 if test "${enable_treelist+set}" = set; then :
14241 enableval=$enable_treelist;
14242 if test "$enableval" = yes; then
14243 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14244 else
14245 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14246 fi
14247
14248 else
14249
14250 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14251
14252 fi
14253
14254
14255 eval "$wx_cv_use_treelist"
14256
14257 if test x"$enablestring" = xdisable; then
14258 if test $wxUSE_TREELISTCTRL = no; then
14259 result=yes
14260 else
14261 result=no
14262 fi
14263 else
14264 result=$wxUSE_TREELISTCTRL
14265 fi
14266
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14268 $as_echo "$result" >&6; }
14269
14270
14271
14272
14273 enablestring=
14274 defaultval=$wxUSE_ALL_FEATURES
14275 if test -z "$defaultval"; then
14276 if test x"$enablestring" = xdisable; then
14277 defaultval=yes
14278 else
14279 defaultval=no
14280 fi
14281 fi
14282
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14284 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14285 # Check whether --enable-commondlg was given.
14286 if test "${enable_commondlg+set}" = set; then :
14287 enableval=$enable_commondlg;
14288 if test "$enableval" = yes; then
14289 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14290 else
14291 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14292 fi
14293
14294 else
14295
14296 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14297
14298 fi
14299
14300
14301 eval "$wx_cv_use_commondlg"
14302
14303 if test x"$enablestring" = xdisable; then
14304 if test $wxUSE_COMMONDLGS = no; then
14305 result=yes
14306 else
14307 result=no
14308 fi
14309 else
14310 result=$wxUSE_COMMONDLGS
14311 fi
14312
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14314 $as_echo "$result" >&6; }
14315
14316
14317 enablestring=
14318 defaultval=$wxUSE_ALL_FEATURES
14319 if test -z "$defaultval"; then
14320 if test x"$enablestring" = xdisable; then
14321 defaultval=yes
14322 else
14323 defaultval=no
14324 fi
14325 fi
14326
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14328 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14329 # Check whether --enable-aboutdlg was given.
14330 if test "${enable_aboutdlg+set}" = set; then :
14331 enableval=$enable_aboutdlg;
14332 if test "$enableval" = yes; then
14333 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14334 else
14335 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14336 fi
14337
14338 else
14339
14340 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14341
14342 fi
14343
14344
14345 eval "$wx_cv_use_aboutdlg"
14346
14347 if test x"$enablestring" = xdisable; then
14348 if test $wxUSE_ABOUTDLG = no; then
14349 result=yes
14350 else
14351 result=no
14352 fi
14353 else
14354 result=$wxUSE_ABOUTDLG
14355 fi
14356
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14358 $as_echo "$result" >&6; }
14359
14360
14361 enablestring=
14362 defaultval=$wxUSE_ALL_FEATURES
14363 if test -z "$defaultval"; then
14364 if test x"$enablestring" = xdisable; then
14365 defaultval=yes
14366 else
14367 defaultval=no
14368 fi
14369 fi
14370
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14372 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14373 # Check whether --enable-choicedlg was given.
14374 if test "${enable_choicedlg+set}" = set; then :
14375 enableval=$enable_choicedlg;
14376 if test "$enableval" = yes; then
14377 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14378 else
14379 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14380 fi
14381
14382 else
14383
14384 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14385
14386 fi
14387
14388
14389 eval "$wx_cv_use_choicedlg"
14390
14391 if test x"$enablestring" = xdisable; then
14392 if test $wxUSE_CHOICEDLG = no; then
14393 result=yes
14394 else
14395 result=no
14396 fi
14397 else
14398 result=$wxUSE_CHOICEDLG
14399 fi
14400
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14402 $as_echo "$result" >&6; }
14403
14404
14405 enablestring=
14406 defaultval=$wxUSE_ALL_FEATURES
14407 if test -z "$defaultval"; then
14408 if test x"$enablestring" = xdisable; then
14409 defaultval=yes
14410 else
14411 defaultval=no
14412 fi
14413 fi
14414
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14416 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14417 # Check whether --enable-coldlg was given.
14418 if test "${enable_coldlg+set}" = set; then :
14419 enableval=$enable_coldlg;
14420 if test "$enableval" = yes; then
14421 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14422 else
14423 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14424 fi
14425
14426 else
14427
14428 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14429
14430 fi
14431
14432
14433 eval "$wx_cv_use_coldlg"
14434
14435 if test x"$enablestring" = xdisable; then
14436 if test $wxUSE_COLOURDLG = no; then
14437 result=yes
14438 else
14439 result=no
14440 fi
14441 else
14442 result=$wxUSE_COLOURDLG
14443 fi
14444
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14446 $as_echo "$result" >&6; }
14447
14448
14449 enablestring=
14450 defaultval=$wxUSE_ALL_FEATURES
14451 if test -z "$defaultval"; then
14452 if test x"$enablestring" = xdisable; then
14453 defaultval=yes
14454 else
14455 defaultval=no
14456 fi
14457 fi
14458
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14460 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14461 # Check whether --enable-filedlg was given.
14462 if test "${enable_filedlg+set}" = set; then :
14463 enableval=$enable_filedlg;
14464 if test "$enableval" = yes; then
14465 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14466 else
14467 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14468 fi
14469
14470 else
14471
14472 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14473
14474 fi
14475
14476
14477 eval "$wx_cv_use_filedlg"
14478
14479 if test x"$enablestring" = xdisable; then
14480 if test $wxUSE_FILEDLG = no; then
14481 result=yes
14482 else
14483 result=no
14484 fi
14485 else
14486 result=$wxUSE_FILEDLG
14487 fi
14488
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14490 $as_echo "$result" >&6; }
14491
14492
14493 enablestring=
14494 defaultval=$wxUSE_ALL_FEATURES
14495 if test -z "$defaultval"; then
14496 if test x"$enablestring" = xdisable; then
14497 defaultval=yes
14498 else
14499 defaultval=no
14500 fi
14501 fi
14502
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14504 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14505 # Check whether --enable-finddlg was given.
14506 if test "${enable_finddlg+set}" = set; then :
14507 enableval=$enable_finddlg;
14508 if test "$enableval" = yes; then
14509 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14510 else
14511 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14512 fi
14513
14514 else
14515
14516 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14517
14518 fi
14519
14520
14521 eval "$wx_cv_use_finddlg"
14522
14523 if test x"$enablestring" = xdisable; then
14524 if test $wxUSE_FINDREPLDLG = no; then
14525 result=yes
14526 else
14527 result=no
14528 fi
14529 else
14530 result=$wxUSE_FINDREPLDLG
14531 fi
14532
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14534 $as_echo "$result" >&6; }
14535
14536
14537 enablestring=
14538 defaultval=$wxUSE_ALL_FEATURES
14539 if test -z "$defaultval"; then
14540 if test x"$enablestring" = xdisable; then
14541 defaultval=yes
14542 else
14543 defaultval=no
14544 fi
14545 fi
14546
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14548 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14549 # Check whether --enable-fontdlg was given.
14550 if test "${enable_fontdlg+set}" = set; then :
14551 enableval=$enable_fontdlg;
14552 if test "$enableval" = yes; then
14553 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14554 else
14555 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14556 fi
14557
14558 else
14559
14560 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14561
14562 fi
14563
14564
14565 eval "$wx_cv_use_fontdlg"
14566
14567 if test x"$enablestring" = xdisable; then
14568 if test $wxUSE_FONTDLG = no; then
14569 result=yes
14570 else
14571 result=no
14572 fi
14573 else
14574 result=$wxUSE_FONTDLG
14575 fi
14576
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14578 $as_echo "$result" >&6; }
14579
14580
14581 enablestring=
14582 defaultval=$wxUSE_ALL_FEATURES
14583 if test -z "$defaultval"; then
14584 if test x"$enablestring" = xdisable; then
14585 defaultval=yes
14586 else
14587 defaultval=no
14588 fi
14589 fi
14590
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14592 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14593 # Check whether --enable-dirdlg was given.
14594 if test "${enable_dirdlg+set}" = set; then :
14595 enableval=$enable_dirdlg;
14596 if test "$enableval" = yes; then
14597 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14598 else
14599 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14600 fi
14601
14602 else
14603
14604 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14605
14606 fi
14607
14608
14609 eval "$wx_cv_use_dirdlg"
14610
14611 if test x"$enablestring" = xdisable; then
14612 if test $wxUSE_DIRDLG = no; then
14613 result=yes
14614 else
14615 result=no
14616 fi
14617 else
14618 result=$wxUSE_DIRDLG
14619 fi
14620
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14622 $as_echo "$result" >&6; }
14623
14624
14625 enablestring=
14626 defaultval=$wxUSE_ALL_FEATURES
14627 if test -z "$defaultval"; then
14628 if test x"$enablestring" = xdisable; then
14629 defaultval=yes
14630 else
14631 defaultval=no
14632 fi
14633 fi
14634
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14636 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14637 # Check whether --enable-msgdlg was given.
14638 if test "${enable_msgdlg+set}" = set; then :
14639 enableval=$enable_msgdlg;
14640 if test "$enableval" = yes; then
14641 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14642 else
14643 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14644 fi
14645
14646 else
14647
14648 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14649
14650 fi
14651
14652
14653 eval "$wx_cv_use_msgdlg"
14654
14655 if test x"$enablestring" = xdisable; then
14656 if test $wxUSE_MSGDLG = no; then
14657 result=yes
14658 else
14659 result=no
14660 fi
14661 else
14662 result=$wxUSE_MSGDLG
14663 fi
14664
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14666 $as_echo "$result" >&6; }
14667
14668
14669 enablestring=
14670 defaultval=$wxUSE_ALL_FEATURES
14671 if test -z "$defaultval"; then
14672 if test x"$enablestring" = xdisable; then
14673 defaultval=yes
14674 else
14675 defaultval=no
14676 fi
14677 fi
14678
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14680 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14681 # Check whether --enable-numberdlg was given.
14682 if test "${enable_numberdlg+set}" = set; then :
14683 enableval=$enable_numberdlg;
14684 if test "$enableval" = yes; then
14685 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14686 else
14687 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14688 fi
14689
14690 else
14691
14692 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14693
14694 fi
14695
14696
14697 eval "$wx_cv_use_numberdlg"
14698
14699 if test x"$enablestring" = xdisable; then
14700 if test $wxUSE_NUMBERDLG = no; then
14701 result=yes
14702 else
14703 result=no
14704 fi
14705 else
14706 result=$wxUSE_NUMBERDLG
14707 fi
14708
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14710 $as_echo "$result" >&6; }
14711
14712
14713 enablestring=
14714 defaultval=$wxUSE_ALL_FEATURES
14715 if test -z "$defaultval"; then
14716 if test x"$enablestring" = xdisable; then
14717 defaultval=yes
14718 else
14719 defaultval=no
14720 fi
14721 fi
14722
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14724 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14725 # Check whether --enable-splash was given.
14726 if test "${enable_splash+set}" = set; then :
14727 enableval=$enable_splash;
14728 if test "$enableval" = yes; then
14729 wx_cv_use_splash='wxUSE_SPLASH=yes'
14730 else
14731 wx_cv_use_splash='wxUSE_SPLASH=no'
14732 fi
14733
14734 else
14735
14736 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14737
14738 fi
14739
14740
14741 eval "$wx_cv_use_splash"
14742
14743 if test x"$enablestring" = xdisable; then
14744 if test $wxUSE_SPLASH = no; then
14745 result=yes
14746 else
14747 result=no
14748 fi
14749 else
14750 result=$wxUSE_SPLASH
14751 fi
14752
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14754 $as_echo "$result" >&6; }
14755
14756
14757 enablestring=
14758 defaultval=$wxUSE_ALL_FEATURES
14759 if test -z "$defaultval"; then
14760 if test x"$enablestring" = xdisable; then
14761 defaultval=yes
14762 else
14763 defaultval=no
14764 fi
14765 fi
14766
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14768 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14769 # Check whether --enable-textdlg was given.
14770 if test "${enable_textdlg+set}" = set; then :
14771 enableval=$enable_textdlg;
14772 if test "$enableval" = yes; then
14773 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14774 else
14775 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14776 fi
14777
14778 else
14779
14780 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14781
14782 fi
14783
14784
14785 eval "$wx_cv_use_textdlg"
14786
14787 if test x"$enablestring" = xdisable; then
14788 if test $wxUSE_TEXTDLG = no; then
14789 result=yes
14790 else
14791 result=no
14792 fi
14793 else
14794 result=$wxUSE_TEXTDLG
14795 fi
14796
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14798 $as_echo "$result" >&6; }
14799
14800
14801 enablestring=
14802 defaultval=$wxUSE_ALL_FEATURES
14803 if test -z "$defaultval"; then
14804 if test x"$enablestring" = xdisable; then
14805 defaultval=yes
14806 else
14807 defaultval=no
14808 fi
14809 fi
14810
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14812 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14813 # Check whether --enable-tipdlg was given.
14814 if test "${enable_tipdlg+set}" = set; then :
14815 enableval=$enable_tipdlg;
14816 if test "$enableval" = yes; then
14817 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14818 else
14819 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14820 fi
14821
14822 else
14823
14824 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14825
14826 fi
14827
14828
14829 eval "$wx_cv_use_tipdlg"
14830
14831 if test x"$enablestring" = xdisable; then
14832 if test $wxUSE_STARTUP_TIPS = no; then
14833 result=yes
14834 else
14835 result=no
14836 fi
14837 else
14838 result=$wxUSE_STARTUP_TIPS
14839 fi
14840
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14842 $as_echo "$result" >&6; }
14843
14844
14845 enablestring=
14846 defaultval=$wxUSE_ALL_FEATURES
14847 if test -z "$defaultval"; then
14848 if test x"$enablestring" = xdisable; then
14849 defaultval=yes
14850 else
14851 defaultval=no
14852 fi
14853 fi
14854
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14856 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14857 # Check whether --enable-progressdlg was given.
14858 if test "${enable_progressdlg+set}" = set; then :
14859 enableval=$enable_progressdlg;
14860 if test "$enableval" = yes; then
14861 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14862 else
14863 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14864 fi
14865
14866 else
14867
14868 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14869
14870 fi
14871
14872
14873 eval "$wx_cv_use_progressdlg"
14874
14875 if test x"$enablestring" = xdisable; then
14876 if test $wxUSE_PROGRESSDLG = no; then
14877 result=yes
14878 else
14879 result=no
14880 fi
14881 else
14882 result=$wxUSE_PROGRESSDLG
14883 fi
14884
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14886 $as_echo "$result" >&6; }
14887
14888
14889 enablestring=
14890 defaultval=$wxUSE_ALL_FEATURES
14891 if test -z "$defaultval"; then
14892 if test x"$enablestring" = xdisable; then
14893 defaultval=yes
14894 else
14895 defaultval=no
14896 fi
14897 fi
14898
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14900 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14901 # Check whether --enable-wizarddlg was given.
14902 if test "${enable_wizarddlg+set}" = set; then :
14903 enableval=$enable_wizarddlg;
14904 if test "$enableval" = yes; then
14905 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14906 else
14907 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14908 fi
14909
14910 else
14911
14912 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14913
14914 fi
14915
14916
14917 eval "$wx_cv_use_wizarddlg"
14918
14919 if test x"$enablestring" = xdisable; then
14920 if test $wxUSE_WIZARDDLG = no; then
14921 result=yes
14922 else
14923 result=no
14924 fi
14925 else
14926 result=$wxUSE_WIZARDDLG
14927 fi
14928
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14930 $as_echo "$result" >&6; }
14931
14932
14933
14934
14935 enablestring=
14936 defaultval=$wxUSE_ALL_FEATURES
14937 if test -z "$defaultval"; then
14938 if test x"$enablestring" = xdisable; then
14939 defaultval=yes
14940 else
14941 defaultval=no
14942 fi
14943 fi
14944
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14946 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14947 # Check whether --enable-menus was given.
14948 if test "${enable_menus+set}" = set; then :
14949 enableval=$enable_menus;
14950 if test "$enableval" = yes; then
14951 wx_cv_use_menus='wxUSE_MENUS=yes'
14952 else
14953 wx_cv_use_menus='wxUSE_MENUS=no'
14954 fi
14955
14956 else
14957
14958 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14959
14960 fi
14961
14962
14963 eval "$wx_cv_use_menus"
14964
14965 if test x"$enablestring" = xdisable; then
14966 if test $wxUSE_MENUS = no; then
14967 result=yes
14968 else
14969 result=no
14970 fi
14971 else
14972 result=$wxUSE_MENUS
14973 fi
14974
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14976 $as_echo "$result" >&6; }
14977
14978
14979 enablestring=
14980 defaultval=$wxUSE_ALL_FEATURES
14981 if test -z "$defaultval"; then
14982 if test x"$enablestring" = xdisable; then
14983 defaultval=yes
14984 else
14985 defaultval=no
14986 fi
14987 fi
14988
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14990 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14991 # Check whether --enable-miniframe was given.
14992 if test "${enable_miniframe+set}" = set; then :
14993 enableval=$enable_miniframe;
14994 if test "$enableval" = yes; then
14995 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14996 else
14997 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14998 fi
14999
15000 else
15001
15002 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15003
15004 fi
15005
15006
15007 eval "$wx_cv_use_miniframe"
15008
15009 if test x"$enablestring" = xdisable; then
15010 if test $wxUSE_MINIFRAME = no; then
15011 result=yes
15012 else
15013 result=no
15014 fi
15015 else
15016 result=$wxUSE_MINIFRAME
15017 fi
15018
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15020 $as_echo "$result" >&6; }
15021
15022
15023 enablestring=
15024 defaultval=$wxUSE_ALL_FEATURES
15025 if test -z "$defaultval"; then
15026 if test x"$enablestring" = xdisable; then
15027 defaultval=yes
15028 else
15029 defaultval=no
15030 fi
15031 fi
15032
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
15034 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
15035 # Check whether --enable-tooltips was given.
15036 if test "${enable_tooltips+set}" = set; then :
15037 enableval=$enable_tooltips;
15038 if test "$enableval" = yes; then
15039 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15040 else
15041 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15042 fi
15043
15044 else
15045
15046 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15047
15048 fi
15049
15050
15051 eval "$wx_cv_use_tooltips"
15052
15053 if test x"$enablestring" = xdisable; then
15054 if test $wxUSE_TOOLTIPS = no; then
15055 result=yes
15056 else
15057 result=no
15058 fi
15059 else
15060 result=$wxUSE_TOOLTIPS
15061 fi
15062
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15064 $as_echo "$result" >&6; }
15065
15066
15067 enablestring=
15068 defaultval=$wxUSE_ALL_FEATURES
15069 if test -z "$defaultval"; then
15070 if test x"$enablestring" = xdisable; then
15071 defaultval=yes
15072 else
15073 defaultval=no
15074 fi
15075 fi
15076
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
15078 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
15079 # Check whether --enable-splines was given.
15080 if test "${enable_splines+set}" = set; then :
15081 enableval=$enable_splines;
15082 if test "$enableval" = yes; then
15083 wx_cv_use_splines='wxUSE_SPLINES=yes'
15084 else
15085 wx_cv_use_splines='wxUSE_SPLINES=no'
15086 fi
15087
15088 else
15089
15090 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15091
15092 fi
15093
15094
15095 eval "$wx_cv_use_splines"
15096
15097 if test x"$enablestring" = xdisable; then
15098 if test $wxUSE_SPLINES = no; then
15099 result=yes
15100 else
15101 result=no
15102 fi
15103 else
15104 result=$wxUSE_SPLINES
15105 fi
15106
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15108 $as_echo "$result" >&6; }
15109
15110
15111 enablestring=
15112 defaultval=$wxUSE_ALL_FEATURES
15113 if test -z "$defaultval"; then
15114 if test x"$enablestring" = xdisable; then
15115 defaultval=yes
15116 else
15117 defaultval=no
15118 fi
15119 fi
15120
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
15122 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
15123 # Check whether --enable-mousewheel was given.
15124 if test "${enable_mousewheel+set}" = set; then :
15125 enableval=$enable_mousewheel;
15126 if test "$enableval" = yes; then
15127 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15128 else
15129 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15130 fi
15131
15132 else
15133
15134 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15135
15136 fi
15137
15138
15139 eval "$wx_cv_use_mousewheel"
15140
15141 if test x"$enablestring" = xdisable; then
15142 if test $wxUSE_MOUSEWHEEL = no; then
15143 result=yes
15144 else
15145 result=no
15146 fi
15147 else
15148 result=$wxUSE_MOUSEWHEEL
15149 fi
15150
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15152 $as_echo "$result" >&6; }
15153
15154
15155 enablestring=
15156 defaultval=$wxUSE_ALL_FEATURES
15157 if test -z "$defaultval"; then
15158 if test x"$enablestring" = xdisable; then
15159 defaultval=yes
15160 else
15161 defaultval=no
15162 fi
15163 fi
15164
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
15166 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
15167 # Check whether --enable-validators was given.
15168 if test "${enable_validators+set}" = set; then :
15169 enableval=$enable_validators;
15170 if test "$enableval" = yes; then
15171 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15172 else
15173 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15174 fi
15175
15176 else
15177
15178 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15179
15180 fi
15181
15182
15183 eval "$wx_cv_use_validators"
15184
15185 if test x"$enablestring" = xdisable; then
15186 if test $wxUSE_VALIDATORS = no; then
15187 result=yes
15188 else
15189 result=no
15190 fi
15191 else
15192 result=$wxUSE_VALIDATORS
15193 fi
15194
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15196 $as_echo "$result" >&6; }
15197
15198
15199 enablestring=
15200 defaultval=$wxUSE_ALL_FEATURES
15201 if test -z "$defaultval"; then
15202 if test x"$enablestring" = xdisable; then
15203 defaultval=yes
15204 else
15205 defaultval=no
15206 fi
15207 fi
15208
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15210 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15211 # Check whether --enable-busyinfo was given.
15212 if test "${enable_busyinfo+set}" = set; then :
15213 enableval=$enable_busyinfo;
15214 if test "$enableval" = yes; then
15215 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15216 else
15217 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15218 fi
15219
15220 else
15221
15222 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15223
15224 fi
15225
15226
15227 eval "$wx_cv_use_busyinfo"
15228
15229 if test x"$enablestring" = xdisable; then
15230 if test $wxUSE_BUSYINFO = no; then
15231 result=yes
15232 else
15233 result=no
15234 fi
15235 else
15236 result=$wxUSE_BUSYINFO
15237 fi
15238
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15240 $as_echo "$result" >&6; }
15241
15242
15243 enablestring=
15244 defaultval=$wxUSE_ALL_FEATURES
15245 if test -z "$defaultval"; then
15246 if test x"$enablestring" = xdisable; then
15247 defaultval=yes
15248 else
15249 defaultval=no
15250 fi
15251 fi
15252
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15254 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15255 # Check whether --enable-hotkey was given.
15256 if test "${enable_hotkey+set}" = set; then :
15257 enableval=$enable_hotkey;
15258 if test "$enableval" = yes; then
15259 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15260 else
15261 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15262 fi
15263
15264 else
15265
15266 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15267
15268 fi
15269
15270
15271 eval "$wx_cv_use_hotkey"
15272
15273 if test x"$enablestring" = xdisable; then
15274 if test $wxUSE_HOTKEY = no; then
15275 result=yes
15276 else
15277 result=no
15278 fi
15279 else
15280 result=$wxUSE_HOTKEY
15281 fi
15282
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15284 $as_echo "$result" >&6; }
15285
15286
15287 enablestring=
15288 defaultval=$wxUSE_ALL_FEATURES
15289 if test -z "$defaultval"; then
15290 if test x"$enablestring" = xdisable; then
15291 defaultval=yes
15292 else
15293 defaultval=no
15294 fi
15295 fi
15296
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15298 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15299 # Check whether --enable-joystick was given.
15300 if test "${enable_joystick+set}" = set; then :
15301 enableval=$enable_joystick;
15302 if test "$enableval" = yes; then
15303 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15304 else
15305 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15306 fi
15307
15308 else
15309
15310 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15311
15312 fi
15313
15314
15315 eval "$wx_cv_use_joystick"
15316
15317 if test x"$enablestring" = xdisable; then
15318 if test $wxUSE_JOYSTICK = no; then
15319 result=yes
15320 else
15321 result=no
15322 fi
15323 else
15324 result=$wxUSE_JOYSTICK
15325 fi
15326
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15328 $as_echo "$result" >&6; }
15329
15330
15331 enablestring=
15332 defaultval=$wxUSE_ALL_FEATURES
15333 if test -z "$defaultval"; then
15334 if test x"$enablestring" = xdisable; then
15335 defaultval=yes
15336 else
15337 defaultval=no
15338 fi
15339 fi
15340
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15342 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15343 # Check whether --enable-metafile was given.
15344 if test "${enable_metafile+set}" = set; then :
15345 enableval=$enable_metafile;
15346 if test "$enableval" = yes; then
15347 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15348 else
15349 wx_cv_use_metafile='wxUSE_METAFILE=no'
15350 fi
15351
15352 else
15353
15354 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15355
15356 fi
15357
15358
15359 eval "$wx_cv_use_metafile"
15360
15361 if test x"$enablestring" = xdisable; then
15362 if test $wxUSE_METAFILE = no; then
15363 result=yes
15364 else
15365 result=no
15366 fi
15367 else
15368 result=$wxUSE_METAFILE
15369 fi
15370
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15372 $as_echo "$result" >&6; }
15373
15374
15375 enablestring=
15376 defaultval=$wxUSE_ALL_FEATURES
15377 if test -z "$defaultval"; then
15378 if test x"$enablestring" = xdisable; then
15379 defaultval=yes
15380 else
15381 defaultval=no
15382 fi
15383 fi
15384
15385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15386 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15387 # Check whether --enable-dragimage was given.
15388 if test "${enable_dragimage+set}" = set; then :
15389 enableval=$enable_dragimage;
15390 if test "$enableval" = yes; then
15391 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15392 else
15393 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15394 fi
15395
15396 else
15397
15398 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15399
15400 fi
15401
15402
15403 eval "$wx_cv_use_dragimage"
15404
15405 if test x"$enablestring" = xdisable; then
15406 if test $wxUSE_DRAGIMAGE = no; then
15407 result=yes
15408 else
15409 result=no
15410 fi
15411 else
15412 result=$wxUSE_DRAGIMAGE
15413 fi
15414
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15416 $as_echo "$result" >&6; }
15417
15418
15419 enablestring=
15420 defaultval=$wxUSE_ALL_FEATURES
15421 if test -z "$defaultval"; then
15422 if test x"$enablestring" = xdisable; then
15423 defaultval=yes
15424 else
15425 defaultval=no
15426 fi
15427 fi
15428
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15430 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15431 # Check whether --enable-accessibility was given.
15432 if test "${enable_accessibility+set}" = set; then :
15433 enableval=$enable_accessibility;
15434 if test "$enableval" = yes; then
15435 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15436 else
15437 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15438 fi
15439
15440 else
15441
15442 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15443
15444 fi
15445
15446
15447 eval "$wx_cv_use_accessibility"
15448
15449 if test x"$enablestring" = xdisable; then
15450 if test $wxUSE_ACCESSIBILITY = no; then
15451 result=yes
15452 else
15453 result=no
15454 fi
15455 else
15456 result=$wxUSE_ACCESSIBILITY
15457 fi
15458
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15460 $as_echo "$result" >&6; }
15461
15462
15463 enablestring=
15464 defaultval=$wxUSE_ALL_FEATURES
15465 if test -z "$defaultval"; then
15466 if test x"$enablestring" = xdisable; then
15467 defaultval=yes
15468 else
15469 defaultval=no
15470 fi
15471 fi
15472
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15474 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15475 # Check whether --enable-uiactionsim was given.
15476 if test "${enable_uiactionsim+set}" = set; then :
15477 enableval=$enable_uiactionsim;
15478 if test "$enableval" = yes; then
15479 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15480 else
15481 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15482 fi
15483
15484 else
15485
15486 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15487
15488 fi
15489
15490
15491 eval "$wx_cv_use_uiactionsim"
15492
15493 if test x"$enablestring" = xdisable; then
15494 if test $wxUSE_UIACTIONSIMULATOR = no; then
15495 result=yes
15496 else
15497 result=no
15498 fi
15499 else
15500 result=$wxUSE_UIACTIONSIMULATOR
15501 fi
15502
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15504 $as_echo "$result" >&6; }
15505
15506
15507 enablestring=
15508 defaultval=$wxUSE_ALL_FEATURES
15509 if test -z "$defaultval"; then
15510 if test x"$enablestring" = xdisable; then
15511 defaultval=yes
15512 else
15513 defaultval=no
15514 fi
15515 fi
15516
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15518 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15519 # Check whether --enable-dctransform was given.
15520 if test "${enable_dctransform+set}" = set; then :
15521 enableval=$enable_dctransform;
15522 if test "$enableval" = yes; then
15523 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15524 else
15525 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15526 fi
15527
15528 else
15529
15530 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15531
15532 fi
15533
15534
15535 eval "$wx_cv_use_dctransform"
15536
15537 if test x"$enablestring" = xdisable; then
15538 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15539 result=yes
15540 else
15541 result=no
15542 fi
15543 else
15544 result=$wxUSE_DC_TRANSFORM_MATRIX
15545 fi
15546
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15548 $as_echo "$result" >&6; }
15549
15550
15551 enablestring=
15552 defaultval=$wxUSE_ALL_FEATURES
15553 if test -z "$defaultval"; then
15554 if test x"$enablestring" = xdisable; then
15555 defaultval=yes
15556 else
15557 defaultval=no
15558 fi
15559 fi
15560
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15562 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15563 # Check whether --enable-webviewwebkit was given.
15564 if test "${enable_webviewwebkit+set}" = set; then :
15565 enableval=$enable_webviewwebkit;
15566 if test "$enableval" = yes; then
15567 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15568 else
15569 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15570 fi
15571
15572 else
15573
15574 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15575
15576 fi
15577
15578
15579 eval "$wx_cv_use_webviewwebkit"
15580
15581 if test x"$enablestring" = xdisable; then
15582 if test $wxUSE_WEBVIEW_WEBKIT = no; then
15583 result=yes
15584 else
15585 result=no
15586 fi
15587 else
15588 result=$wxUSE_WEBVIEW_WEBKIT
15589 fi
15590
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15592 $as_echo "$result" >&6; }
15593
15594
15595
15596
15597 enablestring=
15598 defaultval=$wxUSE_ALL_FEATURES
15599 if test -z "$defaultval"; then
15600 if test x"$enablestring" = xdisable; then
15601 defaultval=yes
15602 else
15603 defaultval=no
15604 fi
15605 fi
15606
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15608 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15609 # Check whether --enable-palette was given.
15610 if test "${enable_palette+set}" = set; then :
15611 enableval=$enable_palette;
15612 if test "$enableval" = yes; then
15613 wx_cv_use_palette='wxUSE_PALETTE=yes'
15614 else
15615 wx_cv_use_palette='wxUSE_PALETTE=no'
15616 fi
15617
15618 else
15619
15620 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15621
15622 fi
15623
15624
15625 eval "$wx_cv_use_palette"
15626
15627 if test x"$enablestring" = xdisable; then
15628 if test $wxUSE_PALETTE = no; then
15629 result=yes
15630 else
15631 result=no
15632 fi
15633 else
15634 result=$wxUSE_PALETTE
15635 fi
15636
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15638 $as_echo "$result" >&6; }
15639
15640
15641 enablestring=
15642 defaultval=$wxUSE_ALL_FEATURES
15643 if test -z "$defaultval"; then
15644 if test x"$enablestring" = xdisable; then
15645 defaultval=yes
15646 else
15647 defaultval=no
15648 fi
15649 fi
15650
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15652 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15653 # Check whether --enable-image was given.
15654 if test "${enable_image+set}" = set; then :
15655 enableval=$enable_image;
15656 if test "$enableval" = yes; then
15657 wx_cv_use_image='wxUSE_IMAGE=yes'
15658 else
15659 wx_cv_use_image='wxUSE_IMAGE=no'
15660 fi
15661
15662 else
15663
15664 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15665
15666 fi
15667
15668
15669 eval "$wx_cv_use_image"
15670
15671 if test x"$enablestring" = xdisable; then
15672 if test $wxUSE_IMAGE = no; then
15673 result=yes
15674 else
15675 result=no
15676 fi
15677 else
15678 result=$wxUSE_IMAGE
15679 fi
15680
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15682 $as_echo "$result" >&6; }
15683
15684
15685 enablestring=
15686 defaultval=$wxUSE_ALL_FEATURES
15687 if test -z "$defaultval"; then
15688 if test x"$enablestring" = xdisable; then
15689 defaultval=yes
15690 else
15691 defaultval=no
15692 fi
15693 fi
15694
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15696 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15697 # Check whether --enable-gif was given.
15698 if test "${enable_gif+set}" = set; then :
15699 enableval=$enable_gif;
15700 if test "$enableval" = yes; then
15701 wx_cv_use_gif='wxUSE_GIF=yes'
15702 else
15703 wx_cv_use_gif='wxUSE_GIF=no'
15704 fi
15705
15706 else
15707
15708 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15709
15710 fi
15711
15712
15713 eval "$wx_cv_use_gif"
15714
15715 if test x"$enablestring" = xdisable; then
15716 if test $wxUSE_GIF = no; then
15717 result=yes
15718 else
15719 result=no
15720 fi
15721 else
15722 result=$wxUSE_GIF
15723 fi
15724
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15726 $as_echo "$result" >&6; }
15727
15728
15729 enablestring=
15730 defaultval=$wxUSE_ALL_FEATURES
15731 if test -z "$defaultval"; then
15732 if test x"$enablestring" = xdisable; then
15733 defaultval=yes
15734 else
15735 defaultval=no
15736 fi
15737 fi
15738
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15740 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15741 # Check whether --enable-pcx was given.
15742 if test "${enable_pcx+set}" = set; then :
15743 enableval=$enable_pcx;
15744 if test "$enableval" = yes; then
15745 wx_cv_use_pcx='wxUSE_PCX=yes'
15746 else
15747 wx_cv_use_pcx='wxUSE_PCX=no'
15748 fi
15749
15750 else
15751
15752 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15753
15754 fi
15755
15756
15757 eval "$wx_cv_use_pcx"
15758
15759 if test x"$enablestring" = xdisable; then
15760 if test $wxUSE_PCX = no; then
15761 result=yes
15762 else
15763 result=no
15764 fi
15765 else
15766 result=$wxUSE_PCX
15767 fi
15768
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15770 $as_echo "$result" >&6; }
15771
15772
15773 enablestring=
15774 defaultval=$wxUSE_ALL_FEATURES
15775 if test -z "$defaultval"; then
15776 if test x"$enablestring" = xdisable; then
15777 defaultval=yes
15778 else
15779 defaultval=no
15780 fi
15781 fi
15782
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15784 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15785 # Check whether --enable-tga was given.
15786 if test "${enable_tga+set}" = set; then :
15787 enableval=$enable_tga;
15788 if test "$enableval" = yes; then
15789 wx_cv_use_tga='wxUSE_TGA=yes'
15790 else
15791 wx_cv_use_tga='wxUSE_TGA=no'
15792 fi
15793
15794 else
15795
15796 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15797
15798 fi
15799
15800
15801 eval "$wx_cv_use_tga"
15802
15803 if test x"$enablestring" = xdisable; then
15804 if test $wxUSE_TGA = no; then
15805 result=yes
15806 else
15807 result=no
15808 fi
15809 else
15810 result=$wxUSE_TGA
15811 fi
15812
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15814 $as_echo "$result" >&6; }
15815
15816
15817 enablestring=
15818 defaultval=$wxUSE_ALL_FEATURES
15819 if test -z "$defaultval"; then
15820 if test x"$enablestring" = xdisable; then
15821 defaultval=yes
15822 else
15823 defaultval=no
15824 fi
15825 fi
15826
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15828 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15829 # Check whether --enable-iff was given.
15830 if test "${enable_iff+set}" = set; then :
15831 enableval=$enable_iff;
15832 if test "$enableval" = yes; then
15833 wx_cv_use_iff='wxUSE_IFF=yes'
15834 else
15835 wx_cv_use_iff='wxUSE_IFF=no'
15836 fi
15837
15838 else
15839
15840 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15841
15842 fi
15843
15844
15845 eval "$wx_cv_use_iff"
15846
15847 if test x"$enablestring" = xdisable; then
15848 if test $wxUSE_IFF = no; then
15849 result=yes
15850 else
15851 result=no
15852 fi
15853 else
15854 result=$wxUSE_IFF
15855 fi
15856
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15858 $as_echo "$result" >&6; }
15859
15860
15861 enablestring=
15862 defaultval=$wxUSE_ALL_FEATURES
15863 if test -z "$defaultval"; then
15864 if test x"$enablestring" = xdisable; then
15865 defaultval=yes
15866 else
15867 defaultval=no
15868 fi
15869 fi
15870
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15872 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15873 # Check whether --enable-pnm was given.
15874 if test "${enable_pnm+set}" = set; then :
15875 enableval=$enable_pnm;
15876 if test "$enableval" = yes; then
15877 wx_cv_use_pnm='wxUSE_PNM=yes'
15878 else
15879 wx_cv_use_pnm='wxUSE_PNM=no'
15880 fi
15881
15882 else
15883
15884 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15885
15886 fi
15887
15888
15889 eval "$wx_cv_use_pnm"
15890
15891 if test x"$enablestring" = xdisable; then
15892 if test $wxUSE_PNM = no; then
15893 result=yes
15894 else
15895 result=no
15896 fi
15897 else
15898 result=$wxUSE_PNM
15899 fi
15900
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15902 $as_echo "$result" >&6; }
15903
15904
15905 enablestring=
15906 defaultval=$wxUSE_ALL_FEATURES
15907 if test -z "$defaultval"; then
15908 if test x"$enablestring" = xdisable; then
15909 defaultval=yes
15910 else
15911 defaultval=no
15912 fi
15913 fi
15914
15915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15916 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15917 # Check whether --enable-xpm was given.
15918 if test "${enable_xpm+set}" = set; then :
15919 enableval=$enable_xpm;
15920 if test "$enableval" = yes; then
15921 wx_cv_use_xpm='wxUSE_XPM=yes'
15922 else
15923 wx_cv_use_xpm='wxUSE_XPM=no'
15924 fi
15925
15926 else
15927
15928 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15929
15930 fi
15931
15932
15933 eval "$wx_cv_use_xpm"
15934
15935 if test x"$enablestring" = xdisable; then
15936 if test $wxUSE_XPM = no; then
15937 result=yes
15938 else
15939 result=no
15940 fi
15941 else
15942 result=$wxUSE_XPM
15943 fi
15944
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15946 $as_echo "$result" >&6; }
15947
15948
15949 enablestring=
15950 defaultval=$wxUSE_ALL_FEATURES
15951 if test -z "$defaultval"; then
15952 if test x"$enablestring" = xdisable; then
15953 defaultval=yes
15954 else
15955 defaultval=no
15956 fi
15957 fi
15958
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15960 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15961 # Check whether --enable-ico_cur was given.
15962 if test "${enable_ico_cur+set}" = set; then :
15963 enableval=$enable_ico_cur;
15964 if test "$enableval" = yes; then
15965 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15966 else
15967 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15968 fi
15969
15970 else
15971
15972 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15973
15974 fi
15975
15976
15977 eval "$wx_cv_use_ico_cur"
15978
15979 if test x"$enablestring" = xdisable; then
15980 if test $wxUSE_ICO_CUR = no; then
15981 result=yes
15982 else
15983 result=no
15984 fi
15985 else
15986 result=$wxUSE_ICO_CUR
15987 fi
15988
15989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15990 $as_echo "$result" >&6; }
15991
15992
15993
15994
15995 enablestring=
15996 defaultval=$wxUSE_ALL_FEATURES
15997 if test -z "$defaultval"; then
15998 if test x"$enablestring" = xdisable; then
15999 defaultval=yes
16000 else
16001 defaultval=no
16002 fi
16003 fi
16004
16005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
16006 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
16007 # Check whether --enable-dccache was given.
16008 if test "${enable_dccache+set}" = set; then :
16009 enableval=$enable_dccache;
16010 if test "$enableval" = yes; then
16011 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16012 else
16013 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16014 fi
16015
16016 else
16017
16018 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16019
16020 fi
16021
16022
16023 eval "$wx_cv_use_dccache"
16024
16025 if test x"$enablestring" = xdisable; then
16026 if test $wxUSE_DC_CACHEING = no; then
16027 result=yes
16028 else
16029 result=no
16030 fi
16031 else
16032 result=$wxUSE_DC_CACHEING
16033 fi
16034
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16036 $as_echo "$result" >&6; }
16037
16038
16039 enablestring=
16040 defaultval=$wxUSE_ALL_FEATURES
16041 if test -z "$defaultval"; then
16042 if test x"$enablestring" = xdisable; then
16043 defaultval=yes
16044 else
16045 defaultval=no
16046 fi
16047 fi
16048
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
16050 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
16051 # Check whether --enable-ps-in-msw was given.
16052 if test "${enable_ps_in_msw+set}" = set; then :
16053 enableval=$enable_ps_in_msw;
16054 if test "$enableval" = yes; then
16055 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16056 else
16057 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16058 fi
16059
16060 else
16061
16062 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16063
16064 fi
16065
16066
16067 eval "$wx_cv_use_ps_in_msw"
16068
16069 if test x"$enablestring" = xdisable; then
16070 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
16071 result=yes
16072 else
16073 result=no
16074 fi
16075 else
16076 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16077 fi
16078
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16080 $as_echo "$result" >&6; }
16081
16082
16083 enablestring=
16084 defaultval=$wxUSE_ALL_FEATURES
16085 if test -z "$defaultval"; then
16086 if test x"$enablestring" = xdisable; then
16087 defaultval=yes
16088 else
16089 defaultval=no
16090 fi
16091 fi
16092
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
16094 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
16095 # Check whether --enable-ownerdrawn was given.
16096 if test "${enable_ownerdrawn+set}" = set; then :
16097 enableval=$enable_ownerdrawn;
16098 if test "$enableval" = yes; then
16099 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16100 else
16101 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16102 fi
16103
16104 else
16105
16106 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16107
16108 fi
16109
16110
16111 eval "$wx_cv_use_ownerdrawn"
16112
16113 if test x"$enablestring" = xdisable; then
16114 if test $wxUSE_OWNER_DRAWN = no; then
16115 result=yes
16116 else
16117 result=no
16118 fi
16119 else
16120 result=$wxUSE_OWNER_DRAWN
16121 fi
16122
16123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16124 $as_echo "$result" >&6; }
16125
16126
16127 enablestring=
16128 defaultval=$wxUSE_ALL_FEATURES
16129 if test -z "$defaultval"; then
16130 if test x"$enablestring" = xdisable; then
16131 defaultval=yes
16132 else
16133 defaultval=no
16134 fi
16135 fi
16136
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
16138 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
16139 # Check whether --enable-uxtheme was given.
16140 if test "${enable_uxtheme+set}" = set; then :
16141 enableval=$enable_uxtheme;
16142 if test "$enableval" = yes; then
16143 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16144 else
16145 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16146 fi
16147
16148 else
16149
16150 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16151
16152 fi
16153
16154
16155 eval "$wx_cv_use_uxtheme"
16156
16157 if test x"$enablestring" = xdisable; then
16158 if test $wxUSE_UXTHEME = no; then
16159 result=yes
16160 else
16161 result=no
16162 fi
16163 else
16164 result=$wxUSE_UXTHEME
16165 fi
16166
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16168 $as_echo "$result" >&6; }
16169
16170
16171 enablestring=
16172 defaultval=$wxUSE_ALL_FEATURES
16173 if test -z "$defaultval"; then
16174 if test x"$enablestring" = xdisable; then
16175 defaultval=yes
16176 else
16177 defaultval=no
16178 fi
16179 fi
16180
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
16182 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
16183 # Check whether --enable-wxdib was given.
16184 if test "${enable_wxdib+set}" = set; then :
16185 enableval=$enable_wxdib;
16186 if test "$enableval" = yes; then
16187 wx_cv_use_wxdib='wxUSE_DIB=yes'
16188 else
16189 wx_cv_use_wxdib='wxUSE_DIB=no'
16190 fi
16191
16192 else
16193
16194 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16195
16196 fi
16197
16198
16199 eval "$wx_cv_use_wxdib"
16200
16201 if test x"$enablestring" = xdisable; then
16202 if test $wxUSE_DIB = no; then
16203 result=yes
16204 else
16205 result=no
16206 fi
16207 else
16208 result=$wxUSE_DIB
16209 fi
16210
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16212 $as_echo "$result" >&6; }
16213
16214
16215 enablestring=
16216 defaultval=$wxUSE_ALL_FEATURES
16217 if test -z "$defaultval"; then
16218 if test x"$enablestring" = xdisable; then
16219 defaultval=yes
16220 else
16221 defaultval=no
16222 fi
16223 fi
16224
16225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16226 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16227 # Check whether --enable-webviewie was given.
16228 if test "${enable_webviewie+set}" = set; then :
16229 enableval=$enable_webviewie;
16230 if test "$enableval" = yes; then
16231 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16232 else
16233 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16234 fi
16235
16236 else
16237
16238 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16239
16240 fi
16241
16242
16243 eval "$wx_cv_use_webviewie"
16244
16245 if test x"$enablestring" = xdisable; then
16246 if test $wxUSE_WEBVIEW_IE = no; then
16247 result=yes
16248 else
16249 result=no
16250 fi
16251 else
16252 result=$wxUSE_WEBVIEW_IE
16253 fi
16254
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16256 $as_echo "$result" >&6; }
16257
16258
16259 if test "$wxUSE_MSW" != 1; then
16260 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16261 fi
16262
16263
16264 enablestring=
16265 defaultval=$wxUSE_ALL_FEATURES
16266 if test -z "$defaultval"; then
16267 if test x"$enablestring" = xdisable; then
16268 defaultval=yes
16269 else
16270 defaultval=no
16271 fi
16272 fi
16273
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16275 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16276 # Check whether --enable-autoidman was given.
16277 if test "${enable_autoidman+set}" = set; then :
16278 enableval=$enable_autoidman;
16279 if test "$enableval" = yes; then
16280 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16281 else
16282 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16283 fi
16284
16285 else
16286
16287 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16288
16289 fi
16290
16291
16292 eval "$wx_cv_use_autoidman"
16293
16294 if test x"$enablestring" = xdisable; then
16295 if test $wxUSE_AUTOID_MANAGEMENT = no; then
16296 result=yes
16297 else
16298 result=no
16299 fi
16300 else
16301 result=$wxUSE_AUTOID_MANAGEMENT
16302 fi
16303
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16305 $as_echo "$result" >&6; }
16306
16307
16308 fi
16309
16310
16311 cat >confcache <<\_ACEOF
16312 # This file is a shell script that caches the results of configure
16313 # tests run on this system so they can be shared between configure
16314 # scripts and configure runs, see configure's option --config-cache.
16315 # It is not useful on other systems. If it contains results you don't
16316 # want to keep, you may remove or edit it.
16317 #
16318 # config.status only pays attention to the cache file if you give it
16319 # the --recheck option to rerun configure.
16320 #
16321 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16322 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16323 # following values.
16324
16325 _ACEOF
16326
16327 # The following way of writing the cache mishandles newlines in values,
16328 # but we know of no workaround that is simple, portable, and efficient.
16329 # So, we kill variables containing newlines.
16330 # Ultrix sh set writes to stderr and can't be redirected directly,
16331 # and sets the high bit in the cache file unless we assign to the vars.
16332 (
16333 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16334 eval ac_val=\$$ac_var
16335 case $ac_val in #(
16336 *${as_nl}*)
16337 case $ac_var in #(
16338 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16339 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16340 esac
16341 case $ac_var in #(
16342 _ | IFS | as_nl) ;; #(
16343 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16344 *) { eval $ac_var=; unset $ac_var;} ;;
16345 esac ;;
16346 esac
16347 done
16348
16349 (set) 2>&1 |
16350 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16351 *${as_nl}ac_space=\ *)
16352 # `set' does not quote correctly, so add quotes: double-quote
16353 # substitution turns \\\\ into \\, and sed turns \\ into \.
16354 sed -n \
16355 "s/'/'\\\\''/g;
16356 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16357 ;; #(
16358 *)
16359 # `set' quotes correctly as required by POSIX, so do not add quotes.
16360 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16361 ;;
16362 esac |
16363 sort
16364 ) |
16365 sed '
16366 /^ac_cv_env_/b end
16367 t clear
16368 :clear
16369 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16370 t end
16371 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16372 :end' >>confcache
16373 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16374 if test -w "$cache_file"; then
16375 if test "x$cache_file" != "x/dev/null"; then
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16377 $as_echo "$as_me: updating cache $cache_file" >&6;}
16378 if test ! -f "$cache_file" || test -h "$cache_file"; then
16379 cat confcache >"$cache_file"
16380 else
16381 case $cache_file in #(
16382 */* | ?:*)
16383 mv -f confcache "$cache_file"$$ &&
16384 mv -f "$cache_file"$$ "$cache_file" ;; #(
16385 *)
16386 mv -f confcache "$cache_file" ;;
16387 esac
16388 fi
16389 fi
16390 else
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16392 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16393 fi
16394 fi
16395 rm -f confcache
16396
16397 CFLAGS=${CFLAGS:=}
16398 ac_ext=c
16399 ac_cpp='$CPP $CPPFLAGS'
16400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16403 if test -n "$ac_tool_prefix"; then
16404 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16405 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16407 $as_echo_n "checking for $ac_word... " >&6; }
16408 if ${ac_cv_prog_CC+:} false; then :
16409 $as_echo_n "(cached) " >&6
16410 else
16411 if test -n "$CC"; then
16412 ac_cv_prog_CC="$CC" # Let the user override the test.
16413 else
16414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16415 for as_dir in $PATH
16416 do
16417 IFS=$as_save_IFS
16418 test -z "$as_dir" && as_dir=.
16419 for ac_exec_ext in '' $ac_executable_extensions; do
16420 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16421 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16423 break 2
16424 fi
16425 done
16426 done
16427 IFS=$as_save_IFS
16428
16429 fi
16430 fi
16431 CC=$ac_cv_prog_CC
16432 if test -n "$CC"; then
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16434 $as_echo "$CC" >&6; }
16435 else
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16437 $as_echo "no" >&6; }
16438 fi
16439
16440
16441 fi
16442 if test -z "$ac_cv_prog_CC"; then
16443 ac_ct_CC=$CC
16444 # Extract the first word of "gcc", so it can be a program name with args.
16445 set dummy gcc; ac_word=$2
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16447 $as_echo_n "checking for $ac_word... " >&6; }
16448 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16449 $as_echo_n "(cached) " >&6
16450 else
16451 if test -n "$ac_ct_CC"; then
16452 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16453 else
16454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16455 for as_dir in $PATH
16456 do
16457 IFS=$as_save_IFS
16458 test -z "$as_dir" && as_dir=.
16459 for ac_exec_ext in '' $ac_executable_extensions; do
16460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16461 ac_cv_prog_ac_ct_CC="gcc"
16462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16463 break 2
16464 fi
16465 done
16466 done
16467 IFS=$as_save_IFS
16468
16469 fi
16470 fi
16471 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16472 if test -n "$ac_ct_CC"; then
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16474 $as_echo "$ac_ct_CC" >&6; }
16475 else
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16477 $as_echo "no" >&6; }
16478 fi
16479
16480 if test "x$ac_ct_CC" = x; then
16481 CC=""
16482 else
16483 case $cross_compiling:$ac_tool_warned in
16484 yes:)
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16486 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16487 ac_tool_warned=yes ;;
16488 esac
16489 CC=$ac_ct_CC
16490 fi
16491 else
16492 CC="$ac_cv_prog_CC"
16493 fi
16494
16495 if test -z "$CC"; then
16496 if test -n "$ac_tool_prefix"; then
16497 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16498 set dummy ${ac_tool_prefix}cc; ac_word=$2
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16500 $as_echo_n "checking for $ac_word... " >&6; }
16501 if ${ac_cv_prog_CC+:} false; then :
16502 $as_echo_n "(cached) " >&6
16503 else
16504 if test -n "$CC"; then
16505 ac_cv_prog_CC="$CC" # Let the user override the test.
16506 else
16507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16508 for as_dir in $PATH
16509 do
16510 IFS=$as_save_IFS
16511 test -z "$as_dir" && as_dir=.
16512 for ac_exec_ext in '' $ac_executable_extensions; do
16513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16514 ac_cv_prog_CC="${ac_tool_prefix}cc"
16515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16516 break 2
16517 fi
16518 done
16519 done
16520 IFS=$as_save_IFS
16521
16522 fi
16523 fi
16524 CC=$ac_cv_prog_CC
16525 if test -n "$CC"; then
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16527 $as_echo "$CC" >&6; }
16528 else
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16530 $as_echo "no" >&6; }
16531 fi
16532
16533
16534 fi
16535 fi
16536 if test -z "$CC"; then
16537 # Extract the first word of "cc", so it can be a program name with args.
16538 set dummy cc; ac_word=$2
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16540 $as_echo_n "checking for $ac_word... " >&6; }
16541 if ${ac_cv_prog_CC+:} false; then :
16542 $as_echo_n "(cached) " >&6
16543 else
16544 if test -n "$CC"; then
16545 ac_cv_prog_CC="$CC" # Let the user override the test.
16546 else
16547 ac_prog_rejected=no
16548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16549 for as_dir in $PATH
16550 do
16551 IFS=$as_save_IFS
16552 test -z "$as_dir" && as_dir=.
16553 for ac_exec_ext in '' $ac_executable_extensions; do
16554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16555 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16556 ac_prog_rejected=yes
16557 continue
16558 fi
16559 ac_cv_prog_CC="cc"
16560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16561 break 2
16562 fi
16563 done
16564 done
16565 IFS=$as_save_IFS
16566
16567 if test $ac_prog_rejected = yes; then
16568 # We found a bogon in the path, so make sure we never use it.
16569 set dummy $ac_cv_prog_CC
16570 shift
16571 if test $# != 0; then
16572 # We chose a different compiler from the bogus one.
16573 # However, it has the same basename, so the bogon will be chosen
16574 # first if we set CC to just the basename; use the full file name.
16575 shift
16576 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16577 fi
16578 fi
16579 fi
16580 fi
16581 CC=$ac_cv_prog_CC
16582 if test -n "$CC"; then
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16584 $as_echo "$CC" >&6; }
16585 else
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16587 $as_echo "no" >&6; }
16588 fi
16589
16590
16591 fi
16592 if test -z "$CC"; then
16593 if test -n "$ac_tool_prefix"; then
16594 for ac_prog in cl.exe
16595 do
16596 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16597 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16599 $as_echo_n "checking for $ac_word... " >&6; }
16600 if ${ac_cv_prog_CC+:} false; then :
16601 $as_echo_n "(cached) " >&6
16602 else
16603 if test -n "$CC"; then
16604 ac_cv_prog_CC="$CC" # Let the user override the test.
16605 else
16606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16607 for as_dir in $PATH
16608 do
16609 IFS=$as_save_IFS
16610 test -z "$as_dir" && as_dir=.
16611 for ac_exec_ext in '' $ac_executable_extensions; do
16612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16613 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16615 break 2
16616 fi
16617 done
16618 done
16619 IFS=$as_save_IFS
16620
16621 fi
16622 fi
16623 CC=$ac_cv_prog_CC
16624 if test -n "$CC"; then
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16626 $as_echo "$CC" >&6; }
16627 else
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16629 $as_echo "no" >&6; }
16630 fi
16631
16632
16633 test -n "$CC" && break
16634 done
16635 fi
16636 if test -z "$CC"; then
16637 ac_ct_CC=$CC
16638 for ac_prog in cl.exe
16639 do
16640 # Extract the first word of "$ac_prog", so it can be a program name with args.
16641 set dummy $ac_prog; ac_word=$2
16642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16643 $as_echo_n "checking for $ac_word... " >&6; }
16644 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16645 $as_echo_n "(cached) " >&6
16646 else
16647 if test -n "$ac_ct_CC"; then
16648 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16649 else
16650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16651 for as_dir in $PATH
16652 do
16653 IFS=$as_save_IFS
16654 test -z "$as_dir" && as_dir=.
16655 for ac_exec_ext in '' $ac_executable_extensions; do
16656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16657 ac_cv_prog_ac_ct_CC="$ac_prog"
16658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16659 break 2
16660 fi
16661 done
16662 done
16663 IFS=$as_save_IFS
16664
16665 fi
16666 fi
16667 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16668 if test -n "$ac_ct_CC"; then
16669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16670 $as_echo "$ac_ct_CC" >&6; }
16671 else
16672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16673 $as_echo "no" >&6; }
16674 fi
16675
16676
16677 test -n "$ac_ct_CC" && break
16678 done
16679
16680 if test "x$ac_ct_CC" = x; then
16681 CC=""
16682 else
16683 case $cross_compiling:$ac_tool_warned in
16684 yes:)
16685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16687 ac_tool_warned=yes ;;
16688 esac
16689 CC=$ac_ct_CC
16690 fi
16691 fi
16692
16693 fi
16694
16695
16696 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16697 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16698 as_fn_error $? "no acceptable C compiler found in \$PATH
16699 See \`config.log' for more details" "$LINENO" 5; }
16700
16701 # Provide some information about the compiler.
16702 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16703 set X $ac_compile
16704 ac_compiler=$2
16705 for ac_option in --version -v -V -qversion; do
16706 { { ac_try="$ac_compiler $ac_option >&5"
16707 case "(($ac_try" in
16708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16709 *) ac_try_echo=$ac_try;;
16710 esac
16711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16712 $as_echo "$ac_try_echo"; } >&5
16713 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16714 ac_status=$?
16715 if test -s conftest.err; then
16716 sed '10a\
16717 ... rest of stderr output deleted ...
16718 10q' conftest.err >conftest.er1
16719 cat conftest.er1 >&5
16720 fi
16721 rm -f conftest.er1 conftest.err
16722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16723 test $ac_status = 0; }
16724 done
16725
16726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16727 /* end confdefs.h. */
16728
16729 int
16730 main ()
16731 {
16732
16733 ;
16734 return 0;
16735 }
16736 _ACEOF
16737 ac_clean_files_save=$ac_clean_files
16738 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16739 # Try to create an executable without -o first, disregard a.out.
16740 # It will help us diagnose broken compilers, and finding out an intuition
16741 # of exeext.
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16743 $as_echo_n "checking whether the C compiler works... " >&6; }
16744 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16745
16746 # The possible output files:
16747 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16748
16749 ac_rmfiles=
16750 for ac_file in $ac_files
16751 do
16752 case $ac_file in
16753 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16754 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16755 esac
16756 done
16757 rm -f $ac_rmfiles
16758
16759 if { { ac_try="$ac_link_default"
16760 case "(($ac_try" in
16761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16762 *) ac_try_echo=$ac_try;;
16763 esac
16764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16765 $as_echo "$ac_try_echo"; } >&5
16766 (eval "$ac_link_default") 2>&5
16767 ac_status=$?
16768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16769 test $ac_status = 0; }; then :
16770 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16771 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16772 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16773 # so that the user can short-circuit this test for compilers unknown to
16774 # Autoconf.
16775 for ac_file in $ac_files ''
16776 do
16777 test -f "$ac_file" || continue
16778 case $ac_file in
16779 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16780 ;;
16781 [ab].out )
16782 # We found the default executable, but exeext='' is most
16783 # certainly right.
16784 break;;
16785 *.* )
16786 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16787 then :; else
16788 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16789 fi
16790 # We set ac_cv_exeext here because the later test for it is not
16791 # safe: cross compilers may not add the suffix if given an `-o'
16792 # argument, so we may need to know it at that point already.
16793 # Even if this section looks crufty: it has the advantage of
16794 # actually working.
16795 break;;
16796 * )
16797 break;;
16798 esac
16799 done
16800 test "$ac_cv_exeext" = no && ac_cv_exeext=
16801
16802 else
16803 ac_file=''
16804 fi
16805 if test -z "$ac_file"; then :
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16807 $as_echo "no" >&6; }
16808 $as_echo "$as_me: failed program was:" >&5
16809 sed 's/^/| /' conftest.$ac_ext >&5
16810
16811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16813 as_fn_error 77 "C compiler cannot create executables
16814 See \`config.log' for more details" "$LINENO" 5; }
16815 else
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16817 $as_echo "yes" >&6; }
16818 fi
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16820 $as_echo_n "checking for C compiler default output file name... " >&6; }
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16822 $as_echo "$ac_file" >&6; }
16823 ac_exeext=$ac_cv_exeext
16824
16825 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16826 ac_clean_files=$ac_clean_files_save
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16828 $as_echo_n "checking for suffix of executables... " >&6; }
16829 if { { ac_try="$ac_link"
16830 case "(($ac_try" in
16831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16832 *) ac_try_echo=$ac_try;;
16833 esac
16834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16835 $as_echo "$ac_try_echo"; } >&5
16836 (eval "$ac_link") 2>&5
16837 ac_status=$?
16838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16839 test $ac_status = 0; }; then :
16840 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16841 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16842 # work properly (i.e., refer to `conftest.exe'), while it won't with
16843 # `rm'.
16844 for ac_file in conftest.exe conftest conftest.*; do
16845 test -f "$ac_file" || continue
16846 case $ac_file in
16847 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16848 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16849 break;;
16850 * ) break;;
16851 esac
16852 done
16853 else
16854 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16856 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16857 See \`config.log' for more details" "$LINENO" 5; }
16858 fi
16859 rm -f conftest conftest$ac_cv_exeext
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16861 $as_echo "$ac_cv_exeext" >&6; }
16862
16863 rm -f conftest.$ac_ext
16864 EXEEXT=$ac_cv_exeext
16865 ac_exeext=$EXEEXT
16866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16867 /* end confdefs.h. */
16868 #include <stdio.h>
16869 int
16870 main ()
16871 {
16872 FILE *f = fopen ("conftest.out", "w");
16873 return ferror (f) || fclose (f) != 0;
16874
16875 ;
16876 return 0;
16877 }
16878 _ACEOF
16879 ac_clean_files="$ac_clean_files conftest.out"
16880 # Check that the compiler produces executables we can run. If not, either
16881 # the compiler is broken, or we cross compile.
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16883 $as_echo_n "checking whether we are cross compiling... " >&6; }
16884 if test "$cross_compiling" != yes; then
16885 { { ac_try="$ac_link"
16886 case "(($ac_try" in
16887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16888 *) ac_try_echo=$ac_try;;
16889 esac
16890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16891 $as_echo "$ac_try_echo"; } >&5
16892 (eval "$ac_link") 2>&5
16893 ac_status=$?
16894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16895 test $ac_status = 0; }
16896 if { ac_try='./conftest$ac_cv_exeext'
16897 { { case "(($ac_try" in
16898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16899 *) ac_try_echo=$ac_try;;
16900 esac
16901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16902 $as_echo "$ac_try_echo"; } >&5
16903 (eval "$ac_try") 2>&5
16904 ac_status=$?
16905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16906 test $ac_status = 0; }; }; then
16907 cross_compiling=no
16908 else
16909 if test "$cross_compiling" = maybe; then
16910 cross_compiling=yes
16911 else
16912 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16914 as_fn_error $? "cannot run C compiled programs.
16915 If you meant to cross compile, use \`--host'.
16916 See \`config.log' for more details" "$LINENO" 5; }
16917 fi
16918 fi
16919 fi
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16921 $as_echo "$cross_compiling" >&6; }
16922
16923 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16924 ac_clean_files=$ac_clean_files_save
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16926 $as_echo_n "checking for suffix of object files... " >&6; }
16927 if ${ac_cv_objext+:} false; then :
16928 $as_echo_n "(cached) " >&6
16929 else
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 rm -f conftest.o conftest.obj
16942 if { { ac_try="$ac_compile"
16943 case "(($ac_try" in
16944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16945 *) ac_try_echo=$ac_try;;
16946 esac
16947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16948 $as_echo "$ac_try_echo"; } >&5
16949 (eval "$ac_compile") 2>&5
16950 ac_status=$?
16951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16952 test $ac_status = 0; }; then :
16953 for ac_file in conftest.o conftest.obj conftest.*; do
16954 test -f "$ac_file" || continue;
16955 case $ac_file in
16956 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16957 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16958 break;;
16959 esac
16960 done
16961 else
16962 $as_echo "$as_me: failed program was:" >&5
16963 sed 's/^/| /' conftest.$ac_ext >&5
16964
16965 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16967 as_fn_error $? "cannot compute suffix of object files: cannot compile
16968 See \`config.log' for more details" "$LINENO" 5; }
16969 fi
16970 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16971 fi
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16973 $as_echo "$ac_cv_objext" >&6; }
16974 OBJEXT=$ac_cv_objext
16975 ac_objext=$OBJEXT
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16977 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16978 if ${ac_cv_c_compiler_gnu+:} false; then :
16979 $as_echo_n "(cached) " >&6
16980 else
16981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16982 /* end confdefs.h. */
16983
16984 int
16985 main ()
16986 {
16987 #ifndef __GNUC__
16988 choke me
16989 #endif
16990
16991 ;
16992 return 0;
16993 }
16994 _ACEOF
16995 if ac_fn_c_try_compile "$LINENO"; then :
16996 ac_compiler_gnu=yes
16997 else
16998 ac_compiler_gnu=no
16999 fi
17000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17001 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17002
17003 fi
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
17005 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
17006 if test $ac_compiler_gnu = yes; then
17007 GCC=yes
17008 else
17009 GCC=
17010 fi
17011 ac_test_CFLAGS=${CFLAGS+set}
17012 ac_save_CFLAGS=$CFLAGS
17013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17014 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17015 if ${ac_cv_prog_cc_g+:} false; then :
17016 $as_echo_n "(cached) " >&6
17017 else
17018 ac_save_c_werror_flag=$ac_c_werror_flag
17019 ac_c_werror_flag=yes
17020 ac_cv_prog_cc_g=no
17021 CFLAGS="-g"
17022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17023 /* end confdefs.h. */
17024
17025 int
17026 main ()
17027 {
17028
17029 ;
17030 return 0;
17031 }
17032 _ACEOF
17033 if ac_fn_c_try_compile "$LINENO"; then :
17034 ac_cv_prog_cc_g=yes
17035 else
17036 CFLAGS=""
17037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17038 /* end confdefs.h. */
17039
17040 int
17041 main ()
17042 {
17043
17044 ;
17045 return 0;
17046 }
17047 _ACEOF
17048 if ac_fn_c_try_compile "$LINENO"; then :
17049
17050 else
17051 ac_c_werror_flag=$ac_save_c_werror_flag
17052 CFLAGS="-g"
17053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17054 /* end confdefs.h. */
17055
17056 int
17057 main ()
17058 {
17059
17060 ;
17061 return 0;
17062 }
17063 _ACEOF
17064 if ac_fn_c_try_compile "$LINENO"; then :
17065 ac_cv_prog_cc_g=yes
17066 fi
17067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17068 fi
17069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17070 fi
17071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17072 ac_c_werror_flag=$ac_save_c_werror_flag
17073 fi
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17075 $as_echo "$ac_cv_prog_cc_g" >&6; }
17076 if test "$ac_test_CFLAGS" = set; then
17077 CFLAGS=$ac_save_CFLAGS
17078 elif test $ac_cv_prog_cc_g = yes; then
17079 if test "$GCC" = yes; then
17080 CFLAGS="-g -O2"
17081 else
17082 CFLAGS="-g"
17083 fi
17084 else
17085 if test "$GCC" = yes; then
17086 CFLAGS="-O2"
17087 else
17088 CFLAGS=
17089 fi
17090 fi
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17092 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17093 if ${ac_cv_prog_cc_c89+:} false; then :
17094 $as_echo_n "(cached) " >&6
17095 else
17096 ac_cv_prog_cc_c89=no
17097 ac_save_CC=$CC
17098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17099 /* end confdefs.h. */
17100 #include <stdarg.h>
17101 #include <stdio.h>
17102 struct stat;
17103 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17104 struct buf { int x; };
17105 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17106 static char *e (p, i)
17107 char **p;
17108 int i;
17109 {
17110 return p[i];
17111 }
17112 static char *f (char * (*g) (char **, int), char **p, ...)
17113 {
17114 char *s;
17115 va_list v;
17116 va_start (v,p);
17117 s = g (p, va_arg (v,int));
17118 va_end (v);
17119 return s;
17120 }
17121
17122 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17123 function prototypes and stuff, but not '\xHH' hex character constants.
17124 These don't provoke an error unfortunately, instead are silently treated
17125 as 'x'. The following induces an error, until -std is added to get
17126 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17127 array size at least. It's necessary to write '\x00'==0 to get something
17128 that's true only with -std. */
17129 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17130
17131 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17132 inside strings and character constants. */
17133 #define FOO(x) 'x'
17134 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17135
17136 int test (int i, double x);
17137 struct s1 {int (*f) (int a);};
17138 struct s2 {int (*f) (double a);};
17139 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17140 int argc;
17141 char **argv;
17142 int
17143 main ()
17144 {
17145 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17146 ;
17147 return 0;
17148 }
17149 _ACEOF
17150 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17151 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17152 do
17153 CC="$ac_save_CC $ac_arg"
17154 if ac_fn_c_try_compile "$LINENO"; then :
17155 ac_cv_prog_cc_c89=$ac_arg
17156 fi
17157 rm -f core conftest.err conftest.$ac_objext
17158 test "x$ac_cv_prog_cc_c89" != "xno" && break
17159 done
17160 rm -f conftest.$ac_ext
17161 CC=$ac_save_CC
17162
17163 fi
17164 # AC_CACHE_VAL
17165 case "x$ac_cv_prog_cc_c89" in
17166 x)
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17168 $as_echo "none needed" >&6; } ;;
17169 xno)
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17171 $as_echo "unsupported" >&6; } ;;
17172 *)
17173 CC="$CC $ac_cv_prog_cc_c89"
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17175 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17176 esac
17177 if test "x$ac_cv_prog_cc_c89" != xno; then :
17178
17179 fi
17180
17181 ac_ext=c
17182 ac_cpp='$CPP $CPPFLAGS'
17183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17186
17187
17188
17189
17190
17191
17192
17193
17194 ac_ext=c
17195 ac_cpp='$CPP $CPPFLAGS'
17196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17199
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17201 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17202 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17203 $as_echo_n "(cached) " >&6
17204 else
17205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17206 /* end confdefs.h. */
17207
17208 int
17209 main ()
17210 {
17211
17212 #ifndef __INTEL_COMPILER
17213 choke me
17214 #endif
17215
17216 ;
17217 return 0;
17218 }
17219 _ACEOF
17220 if ac_fn_c_try_compile "$LINENO"; then :
17221 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17222 else
17223 bakefile_cv_c_compiler___INTEL_COMPILER=no
17224
17225 fi
17226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17227
17228
17229 fi
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17231 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17232 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17233 :; INTELCC=yes
17234 else
17235 :;
17236 fi
17237 ac_ext=c
17238 ac_cpp='$CPP $CPPFLAGS'
17239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17242
17243
17244
17245
17246 if test "$INTELCC" = "yes"; then
17247
17248
17249 ac_ext=c
17250 ac_cpp='$CPP $CPPFLAGS'
17251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17254
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17256 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17257 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17258 $as_echo_n "(cached) " >&6
17259 else
17260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17261 /* end confdefs.h. */
17262
17263 int
17264 main ()
17265 {
17266
17267 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17268 choke me
17269 #endif
17270
17271 ;
17272 return 0;
17273 }
17274 _ACEOF
17275 if ac_fn_c_try_compile "$LINENO"; then :
17276 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17277 else
17278 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17279
17280 fi
17281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17282
17283
17284 fi
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17286 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17287 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17288 :; INTELCC8=yes
17289 else
17290 :;
17291 fi
17292 ac_ext=c
17293 ac_cpp='$CPP $CPPFLAGS'
17294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17297
17298
17299
17300
17301
17302 ac_ext=c
17303 ac_cpp='$CPP $CPPFLAGS'
17304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17307
17308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17309 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17310 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17311 $as_echo_n "(cached) " >&6
17312 else
17313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17314 /* end confdefs.h. */
17315
17316 int
17317 main ()
17318 {
17319
17320 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17321 choke me
17322 #endif
17323
17324 ;
17325 return 0;
17326 }
17327 _ACEOF
17328 if ac_fn_c_try_compile "$LINENO"; then :
17329 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17330 else
17331 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17332
17333 fi
17334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17335
17336
17337 fi
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17339 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17340 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17341 :; INTELCC10=yes
17342 else
17343 :;
17344 fi
17345 ac_ext=c
17346 ac_cpp='$CPP $CPPFLAGS'
17347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17350
17351
17352
17353 fi
17354
17355 if test "x$GCC" != "xyes"; then
17356 if test "xCC" = "xC"; then
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17358 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17359 if ${bakefile_cv_c_exto+:} false; then :
17360 $as_echo_n "(cached) " >&6
17361 else
17362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17364
17365 int
17366 main ()
17367 {
17368
17369 ;
17370 return 0;
17371 }
17372 _ACEOF
17373 rm -f conftest.$ac_objext conftest.$ac_ext.o
17374 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17375 (eval $ac_compile) 2>&5
17376 ac_status=$?
17377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17378 test $ac_status = 0; }; then :
17379 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17380 case $ac_file in
17381 conftest.$ac_ext.o)
17382 bakefile_cv_c_exto="-ext o"
17383 ;;
17384 *)
17385 ;;
17386 esac
17387 done
17388 else
17389 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17391 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
17392 See \`config.log' for more details" "$LINENO" 5; }
17393
17394 fi
17395 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17396
17397 fi
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17399 $as_echo "$bakefile_cv_c_exto" >&6; }
17400 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17401 if test "c" = "c"; then
17402 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17403 fi
17404 if test "c" = "cxx"; then
17405 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17406 fi
17407 fi
17408
17409 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17410 unset ac_cv_prog_cc_g
17411 ac_test_CFLAGS=${CFLAGS+set}
17412 ac_save_CFLAGS=$CFLAGS
17413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17414 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17415 if ${ac_cv_prog_cc_g+:} false; then :
17416 $as_echo_n "(cached) " >&6
17417 else
17418 ac_save_c_werror_flag=$ac_c_werror_flag
17419 ac_c_werror_flag=yes
17420 ac_cv_prog_cc_g=no
17421 CFLAGS="-g"
17422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17423 /* end confdefs.h. */
17424
17425 int
17426 main ()
17427 {
17428
17429 ;
17430 return 0;
17431 }
17432 _ACEOF
17433 if ac_fn_c_try_compile "$LINENO"; then :
17434 ac_cv_prog_cc_g=yes
17435 else
17436 CFLAGS=""
17437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17438 /* end confdefs.h. */
17439
17440 int
17441 main ()
17442 {
17443
17444 ;
17445 return 0;
17446 }
17447 _ACEOF
17448 if ac_fn_c_try_compile "$LINENO"; then :
17449
17450 else
17451 ac_c_werror_flag=$ac_save_c_werror_flag
17452 CFLAGS="-g"
17453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17454 /* end confdefs.h. */
17455
17456 int
17457 main ()
17458 {
17459
17460 ;
17461 return 0;
17462 }
17463 _ACEOF
17464 if ac_fn_c_try_compile "$LINENO"; then :
17465 ac_cv_prog_cc_g=yes
17466 fi
17467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17468 fi
17469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17470 fi
17471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17472 ac_c_werror_flag=$ac_save_c_werror_flag
17473 fi
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17475 $as_echo "$ac_cv_prog_cc_g" >&6; }
17476 if test "$ac_test_CFLAGS" = set; then
17477 CFLAGS=$ac_save_CFLAGS
17478 elif test $ac_cv_prog_cc_g = yes; then
17479 if test "$GCC" = yes; then
17480 CFLAGS="-g -O2"
17481 else
17482 CFLAGS="-g"
17483 fi
17484 else
17485 if test "$GCC" = yes; then
17486 CFLAGS="-O2"
17487 else
17488 CFLAGS=
17489 fi
17490 fi
17491 fi
17492 fi
17493
17494 case `uname -s` in
17495 AIX*)
17496
17497
17498 ac_ext=c
17499 ac_cpp='$CPP $CPPFLAGS'
17500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17503
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17505 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17506 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17507 $as_echo_n "(cached) " >&6
17508 else
17509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17510 /* end confdefs.h. */
17511
17512 int
17513 main ()
17514 {
17515
17516 #ifndef __xlC__
17517 choke me
17518 #endif
17519
17520 ;
17521 return 0;
17522 }
17523 _ACEOF
17524 if ac_fn_c_try_compile "$LINENO"; then :
17525 bakefile_cv_c_compiler___xlC__=yes
17526 else
17527 bakefile_cv_c_compiler___xlC__=no
17528
17529 fi
17530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17531
17532
17533 fi
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17535 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17536 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17537 :; XLCC=yes
17538 else
17539 :;
17540 fi
17541 ac_ext=c
17542 ac_cpp='$CPP $CPPFLAGS'
17543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17546
17547
17548
17549 ;;
17550
17551 Darwin)
17552
17553
17554 ac_ext=c
17555 ac_cpp='$CPP $CPPFLAGS'
17556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17559
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17561 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17562 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17563 $as_echo_n "(cached) " >&6
17564 else
17565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17566 /* end confdefs.h. */
17567
17568 int
17569 main ()
17570 {
17571
17572 #ifndef __MWERKS__
17573 choke me
17574 #endif
17575
17576 ;
17577 return 0;
17578 }
17579 _ACEOF
17580 if ac_fn_c_try_compile "$LINENO"; then :
17581 bakefile_cv_c_compiler___MWERKS__=yes
17582 else
17583 bakefile_cv_c_compiler___MWERKS__=no
17584
17585 fi
17586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17587
17588
17589 fi
17590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17591 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17592 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17593 :; MWCC=yes
17594 else
17595 :;
17596 fi
17597 ac_ext=c
17598 ac_cpp='$CPP $CPPFLAGS'
17599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17602
17603
17604
17605 if test "$MWCC" != "yes"; then
17606
17607
17608 ac_ext=c
17609 ac_cpp='$CPP $CPPFLAGS'
17610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17613
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17615 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17616 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17617 $as_echo_n "(cached) " >&6
17618 else
17619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17620 /* end confdefs.h. */
17621
17622 int
17623 main ()
17624 {
17625
17626 #ifndef __xlC__
17627 choke me
17628 #endif
17629
17630 ;
17631 return 0;
17632 }
17633 _ACEOF
17634 if ac_fn_c_try_compile "$LINENO"; then :
17635 bakefile_cv_c_compiler___xlC__=yes
17636 else
17637 bakefile_cv_c_compiler___xlC__=no
17638
17639 fi
17640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17641
17642
17643 fi
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17645 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17646 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17647 :; XLCC=yes
17648 else
17649 :;
17650 fi
17651 ac_ext=c
17652 ac_cpp='$CPP $CPPFLAGS'
17653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17656
17657
17658
17659 fi
17660 ;;
17661
17662 IRIX*)
17663
17664
17665 ac_ext=c
17666 ac_cpp='$CPP $CPPFLAGS'
17667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17670
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17672 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17673 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17674 $as_echo_n "(cached) " >&6
17675 else
17676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17677 /* end confdefs.h. */
17678
17679 int
17680 main ()
17681 {
17682
17683 #ifndef _SGI_COMPILER_VERSION
17684 choke me
17685 #endif
17686
17687 ;
17688 return 0;
17689 }
17690 _ACEOF
17691 if ac_fn_c_try_compile "$LINENO"; then :
17692 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17693 else
17694 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17695
17696 fi
17697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17698
17699
17700 fi
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17702 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17703 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17704 :; SGICC=yes
17705 else
17706 :;
17707 fi
17708 ac_ext=c
17709 ac_cpp='$CPP $CPPFLAGS'
17710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17713
17714
17715
17716 ;;
17717
17718 Linux*)
17719 if test "$INTELCC" != "yes"; then
17720
17721
17722 ac_ext=c
17723 ac_cpp='$CPP $CPPFLAGS'
17724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17727
17728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17729 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17730 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17731 $as_echo_n "(cached) " >&6
17732 else
17733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17734 /* end confdefs.h. */
17735
17736 int
17737 main ()
17738 {
17739
17740 #ifndef __SUNPRO_C
17741 choke me
17742 #endif
17743
17744 ;
17745 return 0;
17746 }
17747 _ACEOF
17748 if ac_fn_c_try_compile "$LINENO"; then :
17749 bakefile_cv_c_compiler___SUNPRO_C=yes
17750 else
17751 bakefile_cv_c_compiler___SUNPRO_C=no
17752
17753 fi
17754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17755
17756
17757 fi
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17759 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17760 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17761 :; SUNCC=yes
17762 else
17763 :;
17764 fi
17765 ac_ext=c
17766 ac_cpp='$CPP $CPPFLAGS'
17767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17770
17771
17772
17773 fi
17774 ;;
17775
17776 HP-UX*)
17777
17778
17779 ac_ext=c
17780 ac_cpp='$CPP $CPPFLAGS'
17781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17784
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17786 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17787 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17788 $as_echo_n "(cached) " >&6
17789 else
17790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17791 /* end confdefs.h. */
17792
17793 int
17794 main ()
17795 {
17796
17797 #ifndef __HP_cc
17798 choke me
17799 #endif
17800
17801 ;
17802 return 0;
17803 }
17804 _ACEOF
17805 if ac_fn_c_try_compile "$LINENO"; then :
17806 bakefile_cv_c_compiler___HP_cc=yes
17807 else
17808 bakefile_cv_c_compiler___HP_cc=no
17809
17810 fi
17811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17812
17813
17814 fi
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17816 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17817 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17818 :; HPCC=yes
17819 else
17820 :;
17821 fi
17822 ac_ext=c
17823 ac_cpp='$CPP $CPPFLAGS'
17824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17827
17828
17829
17830 ;;
17831
17832 OSF1)
17833
17834
17835 ac_ext=c
17836 ac_cpp='$CPP $CPPFLAGS'
17837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17840
17841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17842 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17843 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17844 $as_echo_n "(cached) " >&6
17845 else
17846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17847 /* end confdefs.h. */
17848
17849 int
17850 main ()
17851 {
17852
17853 #ifndef __DECC
17854 choke me
17855 #endif
17856
17857 ;
17858 return 0;
17859 }
17860 _ACEOF
17861 if ac_fn_c_try_compile "$LINENO"; then :
17862 bakefile_cv_c_compiler___DECC=yes
17863 else
17864 bakefile_cv_c_compiler___DECC=no
17865
17866 fi
17867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17868
17869
17870 fi
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17872 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17873 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17874 :; COMPAQCC=yes
17875 else
17876 :;
17877 fi
17878 ac_ext=c
17879 ac_cpp='$CPP $CPPFLAGS'
17880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17883
17884
17885
17886 ;;
17887
17888 SunOS)
17889
17890
17891 ac_ext=c
17892 ac_cpp='$CPP $CPPFLAGS'
17893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17896
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17898 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17899 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17900 $as_echo_n "(cached) " >&6
17901 else
17902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17903 /* end confdefs.h. */
17904
17905 int
17906 main ()
17907 {
17908
17909 #ifndef __SUNPRO_C
17910 choke me
17911 #endif
17912
17913 ;
17914 return 0;
17915 }
17916 _ACEOF
17917 if ac_fn_c_try_compile "$LINENO"; then :
17918 bakefile_cv_c_compiler___SUNPRO_C=yes
17919 else
17920 bakefile_cv_c_compiler___SUNPRO_C=no
17921
17922 fi
17923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17924
17925
17926 fi
17927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17928 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17929 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17930 :; SUNCC=yes
17931 else
17932 :;
17933 fi
17934 ac_ext=c
17935 ac_cpp='$CPP $CPPFLAGS'
17936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17939
17940
17941
17942 ;;
17943 esac
17944 fi
17945
17946
17947
17948 ac_ext=c
17949 ac_cpp='$CPP $CPPFLAGS'
17950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17954 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17955 # On Suns, sometimes $CPP names a directory.
17956 if test -n "$CPP" && test -d "$CPP"; then
17957 CPP=
17958 fi
17959 if test -z "$CPP"; then
17960 if ${ac_cv_prog_CPP+:} false; then :
17961 $as_echo_n "(cached) " >&6
17962 else
17963 # Double quotes because CPP needs to be expanded
17964 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17965 do
17966 ac_preproc_ok=false
17967 for ac_c_preproc_warn_flag in '' yes
17968 do
17969 # Use a header file that comes with gcc, so configuring glibc
17970 # with a fresh cross-compiler works.
17971 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17972 # <limits.h> exists even on freestanding compilers.
17973 # On the NeXT, cc -E runs the code through the compiler's parser,
17974 # not just through cpp. "Syntax error" is here to catch this case.
17975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17976 /* end confdefs.h. */
17977 #ifdef __STDC__
17978 # include <limits.h>
17979 #else
17980 # include <assert.h>
17981 #endif
17982 Syntax error
17983 _ACEOF
17984 if ac_fn_c_try_cpp "$LINENO"; then :
17985
17986 else
17987 # Broken: fails on valid input.
17988 continue
17989 fi
17990 rm -f conftest.err conftest.i conftest.$ac_ext
17991
17992 # OK, works on sane cases. Now check whether nonexistent headers
17993 # can be detected and how.
17994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17995 /* end confdefs.h. */
17996 #include <ac_nonexistent.h>
17997 _ACEOF
17998 if ac_fn_c_try_cpp "$LINENO"; then :
17999 # Broken: success on invalid input.
18000 continue
18001 else
18002 # Passes both tests.
18003 ac_preproc_ok=:
18004 break
18005 fi
18006 rm -f conftest.err conftest.i conftest.$ac_ext
18007
18008 done
18009 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18010 rm -f conftest.i conftest.err conftest.$ac_ext
18011 if $ac_preproc_ok; then :
18012 break
18013 fi
18014
18015 done
18016 ac_cv_prog_CPP=$CPP
18017
18018 fi
18019 CPP=$ac_cv_prog_CPP
18020 else
18021 ac_cv_prog_CPP=$CPP
18022 fi
18023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
18024 $as_echo "$CPP" >&6; }
18025 ac_preproc_ok=false
18026 for ac_c_preproc_warn_flag in '' yes
18027 do
18028 # Use a header file that comes with gcc, so configuring glibc
18029 # with a fresh cross-compiler works.
18030 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18031 # <limits.h> exists even on freestanding compilers.
18032 # On the NeXT, cc -E runs the code through the compiler's parser,
18033 # not just through cpp. "Syntax error" is here to catch this case.
18034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18035 /* end confdefs.h. */
18036 #ifdef __STDC__
18037 # include <limits.h>
18038 #else
18039 # include <assert.h>
18040 #endif
18041 Syntax error
18042 _ACEOF
18043 if ac_fn_c_try_cpp "$LINENO"; then :
18044
18045 else
18046 # Broken: fails on valid input.
18047 continue
18048 fi
18049 rm -f conftest.err conftest.i conftest.$ac_ext
18050
18051 # OK, works on sane cases. Now check whether nonexistent headers
18052 # can be detected and how.
18053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18054 /* end confdefs.h. */
18055 #include <ac_nonexistent.h>
18056 _ACEOF
18057 if ac_fn_c_try_cpp "$LINENO"; then :
18058 # Broken: success on invalid input.
18059 continue
18060 else
18061 # Passes both tests.
18062 ac_preproc_ok=:
18063 break
18064 fi
18065 rm -f conftest.err conftest.i conftest.$ac_ext
18066
18067 done
18068 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18069 rm -f conftest.i conftest.err conftest.$ac_ext
18070 if $ac_preproc_ok; then :
18071
18072 else
18073 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18075 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
18076 See \`config.log' for more details" "$LINENO" 5; }
18077 fi
18078
18079 ac_ext=c
18080 ac_cpp='$CPP $CPPFLAGS'
18081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18084
18085
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
18087 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
18088 if ${ac_cv_path_GREP+:} false; then :
18089 $as_echo_n "(cached) " >&6
18090 else
18091 if test -z "$GREP"; then
18092 ac_path_GREP_found=false
18093 # Loop through the user's path and test for each of PROGNAME-LIST
18094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18095 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18096 do
18097 IFS=$as_save_IFS
18098 test -z "$as_dir" && as_dir=.
18099 for ac_prog in grep ggrep; do
18100 for ac_exec_ext in '' $ac_executable_extensions; do
18101 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18102 as_fn_executable_p "$ac_path_GREP" || continue
18103 # Check for GNU ac_path_GREP and select it if it is found.
18104 # Check for GNU $ac_path_GREP
18105 case `"$ac_path_GREP" --version 2>&1` in
18106 *GNU*)
18107 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18108 *)
18109 ac_count=0
18110 $as_echo_n 0123456789 >"conftest.in"
18111 while :
18112 do
18113 cat "conftest.in" "conftest.in" >"conftest.tmp"
18114 mv "conftest.tmp" "conftest.in"
18115 cp "conftest.in" "conftest.nl"
18116 $as_echo 'GREP' >> "conftest.nl"
18117 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18118 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18119 as_fn_arith $ac_count + 1 && ac_count=$as_val
18120 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18121 # Best one so far, save it but keep looking for a better one
18122 ac_cv_path_GREP="$ac_path_GREP"
18123 ac_path_GREP_max=$ac_count
18124 fi
18125 # 10*(2^10) chars as input seems more than enough
18126 test $ac_count -gt 10 && break
18127 done
18128 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18129 esac
18130
18131 $ac_path_GREP_found && break 3
18132 done
18133 done
18134 done
18135 IFS=$as_save_IFS
18136 if test -z "$ac_cv_path_GREP"; then
18137 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18138 fi
18139 else
18140 ac_cv_path_GREP=$GREP
18141 fi
18142
18143 fi
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
18145 $as_echo "$ac_cv_path_GREP" >&6; }
18146 GREP="$ac_cv_path_GREP"
18147
18148
18149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18150 $as_echo_n "checking for egrep... " >&6; }
18151 if ${ac_cv_path_EGREP+:} false; then :
18152 $as_echo_n "(cached) " >&6
18153 else
18154 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18155 then ac_cv_path_EGREP="$GREP -E"
18156 else
18157 if test -z "$EGREP"; then
18158 ac_path_EGREP_found=false
18159 # Loop through the user's path and test for each of PROGNAME-LIST
18160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18161 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18162 do
18163 IFS=$as_save_IFS
18164 test -z "$as_dir" && as_dir=.
18165 for ac_prog in egrep; do
18166 for ac_exec_ext in '' $ac_executable_extensions; do
18167 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18168 as_fn_executable_p "$ac_path_EGREP" || continue
18169 # Check for GNU ac_path_EGREP and select it if it is found.
18170 # Check for GNU $ac_path_EGREP
18171 case `"$ac_path_EGREP" --version 2>&1` in
18172 *GNU*)
18173 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18174 *)
18175 ac_count=0
18176 $as_echo_n 0123456789 >"conftest.in"
18177 while :
18178 do
18179 cat "conftest.in" "conftest.in" >"conftest.tmp"
18180 mv "conftest.tmp" "conftest.in"
18181 cp "conftest.in" "conftest.nl"
18182 $as_echo 'EGREP' >> "conftest.nl"
18183 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18184 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18185 as_fn_arith $ac_count + 1 && ac_count=$as_val
18186 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18187 # Best one so far, save it but keep looking for a better one
18188 ac_cv_path_EGREP="$ac_path_EGREP"
18189 ac_path_EGREP_max=$ac_count
18190 fi
18191 # 10*(2^10) chars as input seems more than enough
18192 test $ac_count -gt 10 && break
18193 done
18194 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18195 esac
18196
18197 $ac_path_EGREP_found && break 3
18198 done
18199 done
18200 done
18201 IFS=$as_save_IFS
18202 if test -z "$ac_cv_path_EGREP"; then
18203 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18204 fi
18205 else
18206 ac_cv_path_EGREP=$EGREP
18207 fi
18208
18209 fi
18210 fi
18211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18212 $as_echo "$ac_cv_path_EGREP" >&6; }
18213 EGREP="$ac_cv_path_EGREP"
18214
18215
18216 if test $ac_cv_c_compiler_gnu = yes; then
18217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18218 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18219 if ${ac_cv_prog_gcc_traditional+:} false; then :
18220 $as_echo_n "(cached) " >&6
18221 else
18222 ac_pattern="Autoconf.*'x'"
18223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18224 /* end confdefs.h. */
18225 #include <sgtty.h>
18226 Autoconf TIOCGETP
18227 _ACEOF
18228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18229 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18230 ac_cv_prog_gcc_traditional=yes
18231 else
18232 ac_cv_prog_gcc_traditional=no
18233 fi
18234 rm -f conftest*
18235
18236
18237 if test $ac_cv_prog_gcc_traditional = no; then
18238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18239 /* end confdefs.h. */
18240 #include <termio.h>
18241 Autoconf TCGETA
18242 _ACEOF
18243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18244 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18245 ac_cv_prog_gcc_traditional=yes
18246 fi
18247 rm -f conftest*
18248
18249 fi
18250 fi
18251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18252 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18253 if test $ac_cv_prog_gcc_traditional = yes; then
18254 CC="$CC -traditional"
18255 fi
18256 fi
18257
18258
18259 CXXFLAGS=${CXXFLAGS:=}
18260 ac_ext=cpp
18261 ac_cpp='$CXXCPP $CPPFLAGS'
18262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18265 if test -z "$CXX"; then
18266 if test -n "$CCC"; then
18267 CXX=$CCC
18268 else
18269 if test -n "$ac_tool_prefix"; then
18270 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18271 do
18272 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18273 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18275 $as_echo_n "checking for $ac_word... " >&6; }
18276 if ${ac_cv_prog_CXX+:} false; then :
18277 $as_echo_n "(cached) " >&6
18278 else
18279 if test -n "$CXX"; then
18280 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18281 else
18282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18283 for as_dir in $PATH
18284 do
18285 IFS=$as_save_IFS
18286 test -z "$as_dir" && as_dir=.
18287 for ac_exec_ext in '' $ac_executable_extensions; do
18288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18289 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18291 break 2
18292 fi
18293 done
18294 done
18295 IFS=$as_save_IFS
18296
18297 fi
18298 fi
18299 CXX=$ac_cv_prog_CXX
18300 if test -n "$CXX"; then
18301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18302 $as_echo "$CXX" >&6; }
18303 else
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18305 $as_echo "no" >&6; }
18306 fi
18307
18308
18309 test -n "$CXX" && break
18310 done
18311 fi
18312 if test -z "$CXX"; then
18313 ac_ct_CXX=$CXX
18314 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18315 do
18316 # Extract the first word of "$ac_prog", so it can be a program name with args.
18317 set dummy $ac_prog; ac_word=$2
18318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18319 $as_echo_n "checking for $ac_word... " >&6; }
18320 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
18321 $as_echo_n "(cached) " >&6
18322 else
18323 if test -n "$ac_ct_CXX"; then
18324 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18325 else
18326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18327 for as_dir in $PATH
18328 do
18329 IFS=$as_save_IFS
18330 test -z "$as_dir" && as_dir=.
18331 for ac_exec_ext in '' $ac_executable_extensions; do
18332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18333 ac_cv_prog_ac_ct_CXX="$ac_prog"
18334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18335 break 2
18336 fi
18337 done
18338 done
18339 IFS=$as_save_IFS
18340
18341 fi
18342 fi
18343 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18344 if test -n "$ac_ct_CXX"; then
18345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18346 $as_echo "$ac_ct_CXX" >&6; }
18347 else
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18349 $as_echo "no" >&6; }
18350 fi
18351
18352
18353 test -n "$ac_ct_CXX" && break
18354 done
18355
18356 if test "x$ac_ct_CXX" = x; then
18357 CXX="g++"
18358 else
18359 case $cross_compiling:$ac_tool_warned in
18360 yes:)
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18363 ac_tool_warned=yes ;;
18364 esac
18365 CXX=$ac_ct_CXX
18366 fi
18367 fi
18368
18369 fi
18370 fi
18371 # Provide some information about the compiler.
18372 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18373 set X $ac_compile
18374 ac_compiler=$2
18375 for ac_option in --version -v -V -qversion; do
18376 { { ac_try="$ac_compiler $ac_option >&5"
18377 case "(($ac_try" in
18378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18379 *) ac_try_echo=$ac_try;;
18380 esac
18381 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18382 $as_echo "$ac_try_echo"; } >&5
18383 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18384 ac_status=$?
18385 if test -s conftest.err; then
18386 sed '10a\
18387 ... rest of stderr output deleted ...
18388 10q' conftest.err >conftest.er1
18389 cat conftest.er1 >&5
18390 fi
18391 rm -f conftest.er1 conftest.err
18392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18393 test $ac_status = 0; }
18394 done
18395
18396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18397 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18398 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18399 $as_echo_n "(cached) " >&6
18400 else
18401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18402 /* end confdefs.h. */
18403
18404 int
18405 main ()
18406 {
18407 #ifndef __GNUC__
18408 choke me
18409 #endif
18410
18411 ;
18412 return 0;
18413 }
18414 _ACEOF
18415 if ac_fn_cxx_try_compile "$LINENO"; then :
18416 ac_compiler_gnu=yes
18417 else
18418 ac_compiler_gnu=no
18419 fi
18420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18421 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18422
18423 fi
18424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18425 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18426 if test $ac_compiler_gnu = yes; then
18427 GXX=yes
18428 else
18429 GXX=
18430 fi
18431 ac_test_CXXFLAGS=${CXXFLAGS+set}
18432 ac_save_CXXFLAGS=$CXXFLAGS
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18434 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18435 if ${ac_cv_prog_cxx_g+:} false; then :
18436 $as_echo_n "(cached) " >&6
18437 else
18438 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18439 ac_cxx_werror_flag=yes
18440 ac_cv_prog_cxx_g=no
18441 CXXFLAGS="-g"
18442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18443 /* end confdefs.h. */
18444
18445 int
18446 main ()
18447 {
18448
18449 ;
18450 return 0;
18451 }
18452 _ACEOF
18453 if ac_fn_cxx_try_compile "$LINENO"; then :
18454 ac_cv_prog_cxx_g=yes
18455 else
18456 CXXFLAGS=""
18457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18458 /* end confdefs.h. */
18459
18460 int
18461 main ()
18462 {
18463
18464 ;
18465 return 0;
18466 }
18467 _ACEOF
18468 if ac_fn_cxx_try_compile "$LINENO"; then :
18469
18470 else
18471 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18472 CXXFLAGS="-g"
18473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18474 /* end confdefs.h. */
18475
18476 int
18477 main ()
18478 {
18479
18480 ;
18481 return 0;
18482 }
18483 _ACEOF
18484 if ac_fn_cxx_try_compile "$LINENO"; then :
18485 ac_cv_prog_cxx_g=yes
18486 fi
18487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18488 fi
18489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18490 fi
18491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18492 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18493 fi
18494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18495 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18496 if test "$ac_test_CXXFLAGS" = set; then
18497 CXXFLAGS=$ac_save_CXXFLAGS
18498 elif test $ac_cv_prog_cxx_g = yes; then
18499 if test "$GXX" = yes; then
18500 CXXFLAGS="-g -O2"
18501 else
18502 CXXFLAGS="-g"
18503 fi
18504 else
18505 if test "$GXX" = yes; then
18506 CXXFLAGS="-O2"
18507 else
18508 CXXFLAGS=
18509 fi
18510 fi
18511 ac_ext=c
18512 ac_cpp='$CPP $CPPFLAGS'
18513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18516
18517
18518
18519
18520
18521
18522
18523
18524 ac_ext=cpp
18525 ac_cpp='$CXXCPP $CPPFLAGS'
18526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18529
18530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18531 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18532 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18533 $as_echo_n "(cached) " >&6
18534 else
18535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18536 /* end confdefs.h. */
18537
18538 int
18539 main ()
18540 {
18541
18542 #ifndef __INTEL_COMPILER
18543 choke me
18544 #endif
18545
18546 ;
18547 return 0;
18548 }
18549 _ACEOF
18550 if ac_fn_cxx_try_compile "$LINENO"; then :
18551 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18552 else
18553 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18554
18555 fi
18556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18557
18558
18559 fi
18560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18561 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18562 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18563 :; INTELCXX=yes
18564 else
18565 :;
18566 fi
18567 ac_ext=c
18568 ac_cpp='$CPP $CPPFLAGS'
18569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18572
18573
18574
18575
18576 if test "$INTELCXX" = "yes"; then
18577
18578
18579 ac_ext=cpp
18580 ac_cpp='$CXXCPP $CPPFLAGS'
18581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18584
18585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18586 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18587 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18588 $as_echo_n "(cached) " >&6
18589 else
18590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18591 /* end confdefs.h. */
18592
18593 int
18594 main ()
18595 {
18596
18597 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18598 choke me
18599 #endif
18600
18601 ;
18602 return 0;
18603 }
18604 _ACEOF
18605 if ac_fn_cxx_try_compile "$LINENO"; then :
18606 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18607 else
18608 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18609
18610 fi
18611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18612
18613
18614 fi
18615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18616 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18617 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18618 :; INTELCXX8=yes
18619 else
18620 :;
18621 fi
18622 ac_ext=c
18623 ac_cpp='$CPP $CPPFLAGS'
18624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18627
18628
18629
18630
18631
18632 ac_ext=cpp
18633 ac_cpp='$CXXCPP $CPPFLAGS'
18634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18637
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18639 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18640 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18641 $as_echo_n "(cached) " >&6
18642 else
18643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18644 /* end confdefs.h. */
18645
18646 int
18647 main ()
18648 {
18649
18650 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18651 choke me
18652 #endif
18653
18654 ;
18655 return 0;
18656 }
18657 _ACEOF
18658 if ac_fn_cxx_try_compile "$LINENO"; then :
18659 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18660 else
18661 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18662
18663 fi
18664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18665
18666
18667 fi
18668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18669 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18670 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18671 :; INTELCXX10=yes
18672 else
18673 :;
18674 fi
18675 ac_ext=c
18676 ac_cpp='$CPP $CPPFLAGS'
18677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18680
18681
18682
18683 fi
18684
18685 if test "x$GCXX" != "xyes"; then
18686 if test "xCXX" = "xC"; then
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18688 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18689 if ${bakefile_cv_c_exto+:} false; then :
18690 $as_echo_n "(cached) " >&6
18691 else
18692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18693 /* end confdefs.h. */
18694
18695 int
18696 main ()
18697 {
18698
18699 ;
18700 return 0;
18701 }
18702 _ACEOF
18703 rm -f conftest.$ac_objext conftest.$ac_ext.o
18704 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18705 (eval $ac_compile) 2>&5
18706 ac_status=$?
18707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18708 test $ac_status = 0; }; then :
18709 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18710 case $ac_file in
18711 conftest.$ac_ext.o)
18712 bakefile_cv_c_exto="-ext o"
18713 ;;
18714 *)
18715 ;;
18716 esac
18717 done
18718 else
18719 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18721 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
18722 See \`config.log' for more details" "$LINENO" 5; }
18723
18724 fi
18725 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18726
18727 fi
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18729 $as_echo "$bakefile_cv_c_exto" >&6; }
18730 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18731 if test "c" = "c"; then
18732 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18733 fi
18734 if test "c" = "cxx"; then
18735 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18736 fi
18737 fi
18738
18739 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18740 unset ac_cv_prog_cc_g
18741 ac_test_CFLAGS=${CFLAGS+set}
18742 ac_save_CFLAGS=$CFLAGS
18743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18744 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18745 if ${ac_cv_prog_cc_g+:} false; then :
18746 $as_echo_n "(cached) " >&6
18747 else
18748 ac_save_c_werror_flag=$ac_c_werror_flag
18749 ac_c_werror_flag=yes
18750 ac_cv_prog_cc_g=no
18751 CFLAGS="-g"
18752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18753 /* end confdefs.h. */
18754
18755 int
18756 main ()
18757 {
18758
18759 ;
18760 return 0;
18761 }
18762 _ACEOF
18763 if ac_fn_c_try_compile "$LINENO"; then :
18764 ac_cv_prog_cc_g=yes
18765 else
18766 CFLAGS=""
18767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18768 /* end confdefs.h. */
18769
18770 int
18771 main ()
18772 {
18773
18774 ;
18775 return 0;
18776 }
18777 _ACEOF
18778 if ac_fn_c_try_compile "$LINENO"; then :
18779
18780 else
18781 ac_c_werror_flag=$ac_save_c_werror_flag
18782 CFLAGS="-g"
18783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18784 /* end confdefs.h. */
18785
18786 int
18787 main ()
18788 {
18789
18790 ;
18791 return 0;
18792 }
18793 _ACEOF
18794 if ac_fn_c_try_compile "$LINENO"; then :
18795 ac_cv_prog_cc_g=yes
18796 fi
18797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18798 fi
18799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18800 fi
18801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18802 ac_c_werror_flag=$ac_save_c_werror_flag
18803 fi
18804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18805 $as_echo "$ac_cv_prog_cc_g" >&6; }
18806 if test "$ac_test_CFLAGS" = set; then
18807 CFLAGS=$ac_save_CFLAGS
18808 elif test $ac_cv_prog_cc_g = yes; then
18809 if test "$GCC" = yes; then
18810 CFLAGS="-g -O2"
18811 else
18812 CFLAGS="-g"
18813 fi
18814 else
18815 if test "$GCC" = yes; then
18816 CFLAGS="-O2"
18817 else
18818 CFLAGS=
18819 fi
18820 fi
18821 fi
18822 fi
18823
18824 case `uname -s` in
18825 AIX*)
18826
18827
18828 ac_ext=cpp
18829 ac_cpp='$CXXCPP $CPPFLAGS'
18830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18833
18834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18835 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18836 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18837 $as_echo_n "(cached) " >&6
18838 else
18839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18840 /* end confdefs.h. */
18841
18842 int
18843 main ()
18844 {
18845
18846 #ifndef __xlC__
18847 choke me
18848 #endif
18849
18850 ;
18851 return 0;
18852 }
18853 _ACEOF
18854 if ac_fn_cxx_try_compile "$LINENO"; then :
18855 bakefile_cv_cxx_compiler___xlC__=yes
18856 else
18857 bakefile_cv_cxx_compiler___xlC__=no
18858
18859 fi
18860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18861
18862
18863 fi
18864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18865 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18866 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18867 :; XLCXX=yes
18868 else
18869 :;
18870 fi
18871 ac_ext=c
18872 ac_cpp='$CPP $CPPFLAGS'
18873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18876
18877
18878
18879 ;;
18880
18881 Darwin)
18882
18883
18884 ac_ext=cpp
18885 ac_cpp='$CXXCPP $CPPFLAGS'
18886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18889
18890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18891 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18892 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18893 $as_echo_n "(cached) " >&6
18894 else
18895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18896 /* end confdefs.h. */
18897
18898 int
18899 main ()
18900 {
18901
18902 #ifndef __MWERKS__
18903 choke me
18904 #endif
18905
18906 ;
18907 return 0;
18908 }
18909 _ACEOF
18910 if ac_fn_cxx_try_compile "$LINENO"; then :
18911 bakefile_cv_cxx_compiler___MWERKS__=yes
18912 else
18913 bakefile_cv_cxx_compiler___MWERKS__=no
18914
18915 fi
18916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18917
18918
18919 fi
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18921 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18922 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18923 :; MWCXX=yes
18924 else
18925 :;
18926 fi
18927 ac_ext=c
18928 ac_cpp='$CPP $CPPFLAGS'
18929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18932
18933
18934
18935 if test "$MWCXX" != "yes"; then
18936
18937
18938 ac_ext=cpp
18939 ac_cpp='$CXXCPP $CPPFLAGS'
18940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18943
18944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18945 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18946 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18947 $as_echo_n "(cached) " >&6
18948 else
18949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18950 /* end confdefs.h. */
18951
18952 int
18953 main ()
18954 {
18955
18956 #ifndef __xlC__
18957 choke me
18958 #endif
18959
18960 ;
18961 return 0;
18962 }
18963 _ACEOF
18964 if ac_fn_cxx_try_compile "$LINENO"; then :
18965 bakefile_cv_cxx_compiler___xlC__=yes
18966 else
18967 bakefile_cv_cxx_compiler___xlC__=no
18968
18969 fi
18970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18971
18972
18973 fi
18974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18975 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18976 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18977 :; XLCXX=yes
18978 else
18979 :;
18980 fi
18981 ac_ext=c
18982 ac_cpp='$CPP $CPPFLAGS'
18983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18986
18987
18988
18989 fi
18990 ;;
18991
18992 IRIX*)
18993
18994
18995 ac_ext=cpp
18996 ac_cpp='$CXXCPP $CPPFLAGS'
18997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19000
19001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
19002 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
19003 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
19004 $as_echo_n "(cached) " >&6
19005 else
19006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19007 /* end confdefs.h. */
19008
19009 int
19010 main ()
19011 {
19012
19013 #ifndef _SGI_COMPILER_VERSION
19014 choke me
19015 #endif
19016
19017 ;
19018 return 0;
19019 }
19020 _ACEOF
19021 if ac_fn_cxx_try_compile "$LINENO"; then :
19022 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19023 else
19024 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19025
19026 fi
19027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19028
19029
19030 fi
19031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19032 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19033 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19034 :; SGICXX=yes
19035 else
19036 :;
19037 fi
19038 ac_ext=c
19039 ac_cpp='$CPP $CPPFLAGS'
19040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19043
19044
19045
19046 ;;
19047
19048 Linux*)
19049 if test "$INTELCXX" != "yes"; then
19050
19051
19052 ac_ext=cpp
19053 ac_cpp='$CXXCPP $CPPFLAGS'
19054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19057
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19059 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19060 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19061 $as_echo_n "(cached) " >&6
19062 else
19063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19064 /* end confdefs.h. */
19065
19066 int
19067 main ()
19068 {
19069
19070 #ifndef __SUNPRO_CC
19071 choke me
19072 #endif
19073
19074 ;
19075 return 0;
19076 }
19077 _ACEOF
19078 if ac_fn_cxx_try_compile "$LINENO"; then :
19079 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19080 else
19081 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19082
19083 fi
19084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19085
19086
19087 fi
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19089 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19090 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19091 :; SUNCXX=yes
19092 else
19093 :;
19094 fi
19095 ac_ext=c
19096 ac_cpp='$CPP $CPPFLAGS'
19097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19100
19101
19102
19103 fi
19104 ;;
19105
19106 HP-UX*)
19107
19108
19109 ac_ext=cpp
19110 ac_cpp='$CXXCPP $CPPFLAGS'
19111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19114
19115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
19116 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
19117 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
19118 $as_echo_n "(cached) " >&6
19119 else
19120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19121 /* end confdefs.h. */
19122
19123 int
19124 main ()
19125 {
19126
19127 #ifndef __HP_aCC
19128 choke me
19129 #endif
19130
19131 ;
19132 return 0;
19133 }
19134 _ACEOF
19135 if ac_fn_cxx_try_compile "$LINENO"; then :
19136 bakefile_cv_cxx_compiler___HP_aCC=yes
19137 else
19138 bakefile_cv_cxx_compiler___HP_aCC=no
19139
19140 fi
19141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19142
19143
19144 fi
19145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19146 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19147 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19148 :; HPCXX=yes
19149 else
19150 :;
19151 fi
19152 ac_ext=c
19153 ac_cpp='$CPP $CPPFLAGS'
19154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19157
19158
19159
19160 ;;
19161
19162 OSF1)
19163
19164
19165 ac_ext=cpp
19166 ac_cpp='$CXXCPP $CPPFLAGS'
19167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19170
19171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19172 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19173 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19174 $as_echo_n "(cached) " >&6
19175 else
19176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19177 /* end confdefs.h. */
19178
19179 int
19180 main ()
19181 {
19182
19183 #ifndef __DECCXX
19184 choke me
19185 #endif
19186
19187 ;
19188 return 0;
19189 }
19190 _ACEOF
19191 if ac_fn_cxx_try_compile "$LINENO"; then :
19192 bakefile_cv_cxx_compiler___DECCXX=yes
19193 else
19194 bakefile_cv_cxx_compiler___DECCXX=no
19195
19196 fi
19197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19198
19199
19200 fi
19201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19202 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19203 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19204 :; COMPAQCXX=yes
19205 else
19206 :;
19207 fi
19208 ac_ext=c
19209 ac_cpp='$CPP $CPPFLAGS'
19210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19213
19214
19215
19216 ;;
19217
19218 SunOS)
19219
19220
19221 ac_ext=cpp
19222 ac_cpp='$CXXCPP $CPPFLAGS'
19223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19226
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19228 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19229 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19230 $as_echo_n "(cached) " >&6
19231 else
19232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19233 /* end confdefs.h. */
19234
19235 int
19236 main ()
19237 {
19238
19239 #ifndef __SUNPRO_CC
19240 choke me
19241 #endif
19242
19243 ;
19244 return 0;
19245 }
19246 _ACEOF
19247 if ac_fn_cxx_try_compile "$LINENO"; then :
19248 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19249 else
19250 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19251
19252 fi
19253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19254
19255
19256 fi
19257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19258 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19259 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19260 :; SUNCXX=yes
19261 else
19262 :;
19263 fi
19264 ac_ext=c
19265 ac_cpp='$CPP $CPPFLAGS'
19266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19269
19270
19271
19272 ;;
19273 esac
19274 fi
19275
19276
19277
19278 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19279 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19280 fi
19281
19282 if test "x$SUNCXX" != xyes; then
19283 if test -n "$ac_tool_prefix"; then
19284 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19285 set dummy ${ac_tool_prefix}ar; ac_word=$2
19286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19287 $as_echo_n "checking for $ac_word... " >&6; }
19288 if ${ac_cv_prog_AR+:} false; then :
19289 $as_echo_n "(cached) " >&6
19290 else
19291 if test -n "$AR"; then
19292 ac_cv_prog_AR="$AR" # Let the user override the test.
19293 else
19294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19295 for as_dir in $PATH
19296 do
19297 IFS=$as_save_IFS
19298 test -z "$as_dir" && as_dir=.
19299 for ac_exec_ext in '' $ac_executable_extensions; do
19300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19301 ac_cv_prog_AR="${ac_tool_prefix}ar"
19302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19303 break 2
19304 fi
19305 done
19306 done
19307 IFS=$as_save_IFS
19308
19309 fi
19310 fi
19311 AR=$ac_cv_prog_AR
19312 if test -n "$AR"; then
19313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19314 $as_echo "$AR" >&6; }
19315 else
19316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19317 $as_echo "no" >&6; }
19318 fi
19319
19320
19321 fi
19322 if test -z "$ac_cv_prog_AR"; then
19323 ac_ct_AR=$AR
19324 # Extract the first word of "ar", so it can be a program name with args.
19325 set dummy ar; ac_word=$2
19326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19327 $as_echo_n "checking for $ac_word... " >&6; }
19328 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19329 $as_echo_n "(cached) " >&6
19330 else
19331 if test -n "$ac_ct_AR"; then
19332 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19333 else
19334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19335 for as_dir in $PATH
19336 do
19337 IFS=$as_save_IFS
19338 test -z "$as_dir" && as_dir=.
19339 for ac_exec_ext in '' $ac_executable_extensions; do
19340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19341 ac_cv_prog_ac_ct_AR="ar"
19342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19343 break 2
19344 fi
19345 done
19346 done
19347 IFS=$as_save_IFS
19348
19349 fi
19350 fi
19351 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19352 if test -n "$ac_ct_AR"; then
19353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19354 $as_echo "$ac_ct_AR" >&6; }
19355 else
19356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19357 $as_echo "no" >&6; }
19358 fi
19359
19360 if test "x$ac_ct_AR" = x; then
19361 AR=""
19362 else
19363 case $cross_compiling:$ac_tool_warned in
19364 yes:)
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19367 ac_tool_warned=yes ;;
19368 esac
19369 AR=$ac_ct_AR
19370 fi
19371 else
19372 AR="$ac_cv_prog_AR"
19373 fi
19374
19375 if test "x$AR" = "x" ; then
19376 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19377 fi
19378 fi
19379
19380
19381 if test "$wxUSE_MAC" = 1; then
19382
19383 retest_macosx_linking=no
19384
19385 OSX_ARCH_OPTS=""
19386
19387 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19388 if test "x$wxUSE_MAC_ARCH" != xno; then
19389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19390 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19391 fi
19392
19393 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19394 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19395 else OSX_ARCH_OPTS="ppc,i386"
19396 if test "$wxUSE_OSX_COCOA" = 1; then
19397 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19398 fi
19399 fi
19400
19401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19402 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19404 $as_echo "$OSX_ARCH_OPTS" >&6; }
19405
19406 retest_macosx_linking=yes
19407 else
19408 if test "x$wxUSE_MAC_ARCH" != xno; then
19409 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19410 fi
19411 fi
19412
19413 if test "x$OSX_ARCH_OPTS" != "x"; then
19414 if echo $OSX_ARCH_OPTS | grep -q ","; then
19415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19416 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19417 disable_macosx_deps=yes
19418
19419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19420 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19421 bk_use_pch=no
19422 fi
19423
19424 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19425
19426 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19427 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19428 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19429 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19430 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19431 fi
19432
19433 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19434 wxUSE_MACOSX_SDK=
19435 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19436 # TODO: Search for most recent SDK and use it.
19437 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19438 fi
19439
19440
19441 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19443 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19444 if ! test -d "$wxUSE_MACOSX_SDK"; then
19445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19447 as_fn_error $? "not found
19448 See \`config.log' for more details" "$LINENO" 5; }
19449 else
19450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19451 $as_echo "exists" >&6; }
19452 fi
19453 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19454 retest_macosx_linking=yes
19455 fi
19456
19457 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19458 wxUSE_MACOSX_VERSION_MIN=
19459 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19460 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19462 $as_echo_n "checking SDK deployment version... " >&6; }
19463
19464 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/'`
19465
19466 # If that failed, try again with the new key
19467 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19468
19469 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/'`
19470
19471 fi
19472
19473 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19474 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19476 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19477 else
19478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19479 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19480 wxUSE_MACOSX_VERSION_MIN=
19481 fi
19482 else
19483 wxUSE_MACOSX_VERSION_MIN=
19484 fi
19485 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19486 wxUSE_MACOSX_VERSION_MIN=10.5
19487 fi
19488
19489 if test "x$MACOSX_SDK_OPTS" != "x"; then
19490 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19491 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19492 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19493 retest_macosx_linking=yes
19494 fi
19495
19496 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19497 if test "$wxUSE_OSX_IPHONE" = 1; then
19498 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19499 else
19500 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19501 fi
19502 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19503 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19504 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19505 retest_macosx_linking=yes
19506 fi
19507
19508 if test "x$retest_macosx_linking" = "xyes"; then
19509 ac_ext=c
19510 ac_cpp='$CPP $CPPFLAGS'
19511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19514
19515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19516 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19518 /* end confdefs.h. */
19519
19520 int
19521 main ()
19522 {
19523
19524 ;
19525 return 0;
19526 }
19527 _ACEOF
19528 if ac_fn_c_try_link "$LINENO"; then :
19529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19530 $as_echo "yes" >&6; }
19531 else
19532 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19534 as_fn_error $? "no. Try a different SDK
19535 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19536 fi
19537 rm -f core conftest.err conftest.$ac_objext \
19538 conftest$ac_exeext conftest.$ac_ext
19539 ac_ext=c
19540 ac_cpp='$CPP $CPPFLAGS'
19541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19544
19545
19546 ac_ext=cpp
19547 ac_cpp='$CXXCPP $CPPFLAGS'
19548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19551
19552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19553 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19555 /* end confdefs.h. */
19556
19557 int
19558 main ()
19559 {
19560
19561 ;
19562 return 0;
19563 }
19564 _ACEOF
19565 if ac_fn_cxx_try_link "$LINENO"; then :
19566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19567 $as_echo "yes" >&6; }
19568 else
19569 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19570 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19571 as_fn_error $? "no. Try a different SDK
19572 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19573 fi
19574 rm -f core conftest.err conftest.$ac_objext \
19575 conftest$ac_exeext conftest.$ac_ext
19576 ac_ext=c
19577 ac_cpp='$CPP $CPPFLAGS'
19578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19581
19582 fi
19583
19584 fi
19585 case "${host}" in
19586
19587 *-*-darwin* )
19588 INSTALL_PROGRAM="cp -fp"
19589 INSTALL_DATA="cp -fp"
19590 ;;
19591 *)
19592 ;;
19593 esac
19594
19595
19596 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19597 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19598
19599
19600 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19601 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19602 fi
19603
19604 if test "x$USE_AIX" = "x1"; then
19605 if test "x$XLCXX" = "xyes"; then
19606 CXXFLAGS="-qunique $CXXFLAGS"
19607 fi
19608
19609 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19610 fi
19611
19612 case "${host}" in
19613 powerpc-*-darwin* )
19614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19615 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19617 /* end confdefs.h. */
19618
19619 int
19620 main ()
19621 {
19622 #ifndef __POWERPC__
19623 choke me for lack of PowerPC
19624 #endif
19625
19626 ;
19627 return 0;
19628 }
19629 _ACEOF
19630 if ac_fn_c_try_compile "$LINENO"; then :
19631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19632 $as_echo "yes" >&6; }
19633 else
19634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19635 $as_echo "no" >&6; }
19636 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19637
19638
19639 fi
19640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19641 ;;
19642 esac
19643
19644 case "${host}" in
19645 *-*-darwin* )
19646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19647 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19649 /* end confdefs.h. */
19650 #include <CoreFoundation/CFBase.h>
19651
19652 int
19653 main ()
19654 {
19655
19656 ;
19657 return 0;
19658 }
19659 _ACEOF
19660 if ac_fn_c_try_compile "$LINENO"; then :
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19662 $as_echo "yes" >&6; }
19663 else
19664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19665 $as_echo "no" >&6; }
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19667 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19669 /* end confdefs.h. */
19670 #define __CF_USE_FRAMEWORK_INCLUDES__
19671 #include <CoreFoundation/CFBase.h>
19672
19673 int
19674 main ()
19675 {
19676
19677 ;
19678 return 0;
19679 }
19680 _ACEOF
19681 if ac_fn_c_try_compile "$LINENO"; then :
19682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19683 $as_echo "yes" >&6; }
19684 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19685 else
19686 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19688 as_fn_error $? "no. CoreFoundation not available.
19689 See \`config.log' for more details" "$LINENO" 5; }
19690
19691 fi
19692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19693
19694
19695 fi
19696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19697 ;;
19698 esac
19699
19700 wants_win32=0
19701 doesnt_want_win32=0
19702 case "${host}" in
19703 *-*-cygwin*)
19704 if test "$wxUSE_MSW" = 1 ; then
19705 wants_win32=1
19706 else
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19708 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19709 if ${wx_cv_nocygwin+:} false; then :
19710 $as_echo_n "(cached) " >&6
19711 else
19712
19713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19714 /* end confdefs.h. */
19715
19716 int
19717 main ()
19718 {
19719
19720 #ifdef __MINGW32__
19721 choke me
19722 #endif
19723
19724 ;
19725 return 0;
19726 }
19727 _ACEOF
19728 if ac_fn_c_try_compile "$LINENO"; then :
19729 wx_cv_nocygwin=no
19730 else
19731 wx_cv_nocygwin=yes
19732
19733 fi
19734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19735
19736
19737 fi
19738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19739 $as_echo "$wx_cv_nocygwin" >&6; }
19740
19741 if test "$wx_cv_nocygwin" = "yes"; then
19742 wants_win32=1
19743 else
19744 doesnt_want_win32=1
19745 fi
19746 fi
19747 if test "$wants_win32" = 1 ; then
19748 BAKEFILE_FORCE_PLATFORM=win32
19749 fi
19750 ;;
19751 *-*-mingw*)
19752 wants_win32=1
19753 ;;
19754 esac
19755
19756 if test "$wxUSE_WINE" = "yes"; then
19757 wants_win32=1
19758 LDFLAGS_GUI="-mwindows"
19759 fi
19760
19761 if test "$wants_win32" = 1 ; then
19762 USE_UNIX=0
19763 USE_WIN32=1
19764 $as_echo "#define __WIN32__ 1" >>confdefs.h
19765
19766 $as_echo "#define __WIN95__ 1" >>confdefs.h
19767
19768 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19769
19770 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19771
19772 $as_echo "#define STRICT 1" >>confdefs.h
19773
19774 fi
19775 if test "$doesnt_want_win32" = 1 ; then
19776 USE_UNIX=1
19777 USE_WIN32=0
19778 fi
19779
19780 if test "$USE_UNIX" = 1 ; then
19781 wxUSE_UNIX=yes
19782 $as_echo "#define __UNIX__ 1" >>confdefs.h
19783
19784 fi
19785
19786 case "${host}" in
19787 *-pc-os2_emx | *-pc-os2-emx )
19788 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19790 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19791 if ${ac_cv_lib_cExt_drand48+:} false; then :
19792 $as_echo_n "(cached) " >&6
19793 else
19794 ac_check_lib_save_LIBS=$LIBS
19795 LIBS="-lcExt $LIBS"
19796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19797 /* end confdefs.h. */
19798
19799 /* Override any GCC internal prototype to avoid an error.
19800 Use char because int might match the return type of a GCC
19801 builtin and then its argument prototype would still apply. */
19802 #ifdef __cplusplus
19803 extern "C"
19804 #endif
19805 char drand48 ();
19806 int
19807 main ()
19808 {
19809 return drand48 ();
19810 ;
19811 return 0;
19812 }
19813 _ACEOF
19814 if ac_fn_c_try_link "$LINENO"; then :
19815 ac_cv_lib_cExt_drand48=yes
19816 else
19817 ac_cv_lib_cExt_drand48=no
19818 fi
19819 rm -f core conftest.err conftest.$ac_objext \
19820 conftest$ac_exeext conftest.$ac_ext
19821 LIBS=$ac_check_lib_save_LIBS
19822 fi
19823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19824 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19825 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19826 LIBS="$LIBS -lcExt"
19827 fi
19828
19829 else
19830 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19831 fi
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19833 $as_echo_n "checking for gcc/libc version... " >&6; }
19834 if ${wx_cv_gccversion+:} false; then :
19835 $as_echo_n "(cached) " >&6
19836 else
19837
19838 if test "$cross_compiling" = yes; then :
19839 wx_cv_gccversion="EMX2"
19840
19841 else
19842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19843 /* end confdefs.h. */
19844
19845 #include <stdio.h>
19846
19847 int main()
19848 {
19849 FILE *f=fopen("conftestval", "w");
19850 if (!f) exit(1);
19851 fprintf(f,
19852 #if (__GNUC__ < 3)
19853 "EMX2"
19854 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19855 "EMX3"
19856 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19857 "Innotek5"
19858 #else
19859 "Innotek6"
19860 #endif
19861 );
19862 exit(0);
19863 }
19864
19865 _ACEOF
19866 if ac_fn_c_try_run "$LINENO"; then :
19867 wx_cv_gccversion=`cat conftestval`
19868 else
19869 wx_cv_gccversion="EMX2"
19870 fi
19871 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19872 conftest.$ac_objext conftest.beam conftest.$ac_ext
19873 fi
19874
19875
19876 fi
19877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19878 $as_echo "$wx_cv_gccversion" >&6; }
19879 if test "$wx_cv_gccversion" = "EMX2"; then
19880 LIBS="$LIBS -lstdcpp"
19881 LDFLAGS="$LDFLAGS -Zsysv-signals"
19882 else
19883 if test "$wx_cv_gccversion" = "EMX3"; then
19884 LIBS="$LIBS -lstdcxx -lgcc"
19885 LDFLAGS="$LDFLAGS -Zsysv-signals"
19886 else
19887 LIBS="$LIBS -lstdc++"
19888 fi
19889 fi
19890 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19892 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19893 wxUSE_OMF=yes
19894 enable_omf=yes
19895 fi
19896 ;;
19897 *)
19898
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19900 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19901 if ${ac_cv_string_strcasecmp+:} false; then :
19902 $as_echo_n "(cached) " >&6
19903 else
19904
19905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19906 /* end confdefs.h. */
19907
19908 #include <string.h>
19909
19910 int
19911 main ()
19912 {
19913
19914 strcasecmp("foo", "bar");
19915
19916 ;
19917 return 0;
19918 }
19919 _ACEOF
19920 if ac_fn_c_try_link "$LINENO"; then :
19921 ac_cv_string_strcasecmp=yes
19922 else
19923 ac_cv_string_strcasecmp=no
19924
19925 fi
19926 rm -f core conftest.err conftest.$ac_objext \
19927 conftest$ac_exeext conftest.$ac_ext
19928
19929 fi
19930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19931 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19932
19933 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19934 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19935
19936 else
19937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19938 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19939 if ${ac_cv_strings_strcasecmp+:} false; then :
19940 $as_echo_n "(cached) " >&6
19941 else
19942
19943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19944 /* end confdefs.h. */
19945
19946 #include <strings.h>
19947
19948 int
19949 main ()
19950 {
19951
19952 strcasecmp("foo", "bar");
19953
19954 ;
19955 return 0;
19956 }
19957 _ACEOF
19958 if ac_fn_c_try_link "$LINENO"; then :
19959 ac_cv_strings_strcasecmp=yes
19960 else
19961 ac_cv_strings_strcasecmp=no
19962
19963 fi
19964 rm -f core conftest.err conftest.$ac_objext \
19965 conftest$ac_exeext conftest.$ac_ext
19966
19967 fi
19968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19969 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19970
19971 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19972 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19973
19974 else
19975 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19976 fi
19977 fi
19978
19979 ;;
19980 esac
19981
19982
19983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19984 $as_echo_n "checking for ANSI C header files... " >&6; }
19985 if ${ac_cv_header_stdc+:} false; then :
19986 $as_echo_n "(cached) " >&6
19987 else
19988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19989 /* end confdefs.h. */
19990 #include <stdlib.h>
19991 #include <stdarg.h>
19992 #include <string.h>
19993 #include <float.h>
19994
19995 int
19996 main ()
19997 {
19998
19999 ;
20000 return 0;
20001 }
20002 _ACEOF
20003 if ac_fn_c_try_compile "$LINENO"; then :
20004 ac_cv_header_stdc=yes
20005 else
20006 ac_cv_header_stdc=no
20007 fi
20008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20009
20010 if test $ac_cv_header_stdc = yes; then
20011 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20013 /* end confdefs.h. */
20014 #include <string.h>
20015
20016 _ACEOF
20017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20018 $EGREP "memchr" >/dev/null 2>&1; then :
20019
20020 else
20021 ac_cv_header_stdc=no
20022 fi
20023 rm -f conftest*
20024
20025 fi
20026
20027 if test $ac_cv_header_stdc = yes; then
20028 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20030 /* end confdefs.h. */
20031 #include <stdlib.h>
20032
20033 _ACEOF
20034 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20035 $EGREP "free" >/dev/null 2>&1; then :
20036
20037 else
20038 ac_cv_header_stdc=no
20039 fi
20040 rm -f conftest*
20041
20042 fi
20043
20044 if test $ac_cv_header_stdc = yes; then
20045 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20046 if test "$cross_compiling" = yes; then :
20047 :
20048 else
20049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20050 /* end confdefs.h. */
20051 #include <ctype.h>
20052 #include <stdlib.h>
20053 #if ((' ' & 0x0FF) == 0x020)
20054 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20055 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20056 #else
20057 # define ISLOWER(c) \
20058 (('a' <= (c) && (c) <= 'i') \
20059 || ('j' <= (c) && (c) <= 'r') \
20060 || ('s' <= (c) && (c) <= 'z'))
20061 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20062 #endif
20063
20064 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20065 int
20066 main ()
20067 {
20068 int i;
20069 for (i = 0; i < 256; i++)
20070 if (XOR (islower (i), ISLOWER (i))
20071 || toupper (i) != TOUPPER (i))
20072 return 2;
20073 return 0;
20074 }
20075 _ACEOF
20076 if ac_fn_c_try_run "$LINENO"; then :
20077
20078 else
20079 ac_cv_header_stdc=no
20080 fi
20081 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20082 conftest.$ac_objext conftest.beam conftest.$ac_ext
20083 fi
20084
20085 fi
20086 fi
20087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20088 $as_echo "$ac_cv_header_stdc" >&6; }
20089 if test $ac_cv_header_stdc = yes; then
20090
20091 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20092
20093 fi
20094
20095 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20096 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20097 inttypes.h stdint.h unistd.h
20098 do :
20099 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20100 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20101 "
20102 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20103 cat >>confdefs.h <<_ACEOF
20104 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20105 _ACEOF
20106
20107 fi
20108
20109 done
20110
20111
20112 for ac_header in langinfo.h wchar.h
20113 do :
20114 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20115 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20116 "
20117 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20118 cat >>confdefs.h <<_ACEOF
20119 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20120 _ACEOF
20121
20122 fi
20123
20124 done
20125
20126
20127 if test "$ac_cv_header_wchar_h" != "yes"; then
20128 for ac_header in wcstr.h
20129 do :
20130 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20131 "
20132 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20133 cat >>confdefs.h <<_ACEOF
20134 #define HAVE_WCSTR_H 1
20135 _ACEOF
20136
20137 fi
20138
20139 done
20140
20141 fi
20142
20143 case "${host}" in
20144 *-pc-os2_emx | *-pc-os2-emx )
20145 if test $ac_cv_header_langinfo_h = "yes" \
20146 -a \( "$wx_cv_gccversion" = "EMX2" \
20147 -o "$wx_cv_gccversion" = "EMX3" \
20148 -o "$wx_cv_gccversion" = "Innotek5" \); then
20149 LIBS="$LIBS -lintl"
20150 fi
20151 ;;
20152 esac
20153
20154 if test "$USE_UNIX" = 1 ; then
20155 for ac_header in sys/select.h
20156 do :
20157 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20158 "
20159 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20160 cat >>confdefs.h <<_ACEOF
20161 #define HAVE_SYS_SELECT_H 1
20162 _ACEOF
20163
20164 fi
20165
20166 done
20167
20168
20169 ac_ext=cpp
20170 ac_cpp='$CXXCPP $CPPFLAGS'
20171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20174
20175 for ac_header in cxxabi.h
20176 do :
20177 ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default
20178 "
20179 if test "x$ac_cv_header_cxxabi_h" = xyes; then :
20180 cat >>confdefs.h <<_ACEOF
20181 #define HAVE_CXXABI_H 1
20182 _ACEOF
20183
20184 fi
20185
20186 done
20187
20188 ac_ext=c
20189 ac_cpp='$CPP $CPPFLAGS'
20190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20193
20194 fi
20195
20196
20197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20198 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20199 if ${ac_cv_c_const+:} false; then :
20200 $as_echo_n "(cached) " >&6
20201 else
20202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20203 /* end confdefs.h. */
20204
20205 int
20206 main ()
20207 {
20208
20209 #ifndef __cplusplus
20210 /* Ultrix mips cc rejects this sort of thing. */
20211 typedef int charset[2];
20212 const charset cs = { 0, 0 };
20213 /* SunOS 4.1.1 cc rejects this. */
20214 char const *const *pcpcc;
20215 char **ppc;
20216 /* NEC SVR4.0.2 mips cc rejects this. */
20217 struct point {int x, y;};
20218 static struct point const zero = {0,0};
20219 /* AIX XL C 1.02.0.0 rejects this.
20220 It does not let you subtract one const X* pointer from another in
20221 an arm of an if-expression whose if-part is not a constant
20222 expression */
20223 const char *g = "string";
20224 pcpcc = &g + (g ? g-g : 0);
20225 /* HPUX 7.0 cc rejects these. */
20226 ++pcpcc;
20227 ppc = (char**) pcpcc;
20228 pcpcc = (char const *const *) ppc;
20229 { /* SCO 3.2v4 cc rejects this sort of thing. */
20230 char tx;
20231 char *t = &tx;
20232 char const *s = 0 ? (char *) 0 : (char const *) 0;
20233
20234 *t++ = 0;
20235 if (s) return 0;
20236 }
20237 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20238 int x[] = {25, 17};
20239 const int *foo = &x[0];
20240 ++foo;
20241 }
20242 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20243 typedef const int *iptr;
20244 iptr p = 0;
20245 ++p;
20246 }
20247 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20248 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20249 struct s { int j; const int *ap[3]; } bx;
20250 struct s *b = &bx; b->j = 5;
20251 }
20252 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20253 const int foo = 10;
20254 if (!foo) return 0;
20255 }
20256 return !cs[0] && !zero.x;
20257 #endif
20258
20259 ;
20260 return 0;
20261 }
20262 _ACEOF
20263 if ac_fn_c_try_compile "$LINENO"; then :
20264 ac_cv_c_const=yes
20265 else
20266 ac_cv_c_const=no
20267 fi
20268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20269 fi
20270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20271 $as_echo "$ac_cv_c_const" >&6; }
20272 if test $ac_cv_c_const = no; then
20273
20274 $as_echo "#define const /**/" >>confdefs.h
20275
20276 fi
20277
20278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20279 $as_echo_n "checking for inline... " >&6; }
20280 if ${ac_cv_c_inline+:} false; then :
20281 $as_echo_n "(cached) " >&6
20282 else
20283 ac_cv_c_inline=no
20284 for ac_kw in inline __inline__ __inline; do
20285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20286 /* end confdefs.h. */
20287 #ifndef __cplusplus
20288 typedef int foo_t;
20289 static $ac_kw foo_t static_foo () {return 0; }
20290 $ac_kw foo_t foo () {return 0; }
20291 #endif
20292
20293 _ACEOF
20294 if ac_fn_c_try_compile "$LINENO"; then :
20295 ac_cv_c_inline=$ac_kw
20296 fi
20297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20298 test "$ac_cv_c_inline" != no && break
20299 done
20300
20301 fi
20302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20303 $as_echo "$ac_cv_c_inline" >&6; }
20304
20305 case $ac_cv_c_inline in
20306 inline | yes) ;;
20307 *)
20308 case $ac_cv_c_inline in
20309 no) ac_val=;;
20310 *) ac_val=$ac_cv_c_inline;;
20311 esac
20312 cat >>confdefs.h <<_ACEOF
20313 #ifndef __cplusplus
20314 #define inline $ac_val
20315 #endif
20316 _ACEOF
20317 ;;
20318 esac
20319
20320
20321 # The cast to long int works around a bug in the HP C Compiler
20322 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20323 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20324 # This bug is HP SR number 8606223364.
20325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20326 $as_echo_n "checking size of short... " >&6; }
20327 if ${ac_cv_sizeof_short+:} false; then :
20328 $as_echo_n "(cached) " >&6
20329 else
20330 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20331
20332 else
20333 if test "$ac_cv_type_short" = yes; then
20334 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20335 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20336 as_fn_error 77 "cannot compute sizeof (short)
20337 See \`config.log' for more details" "$LINENO" 5; }
20338 else
20339 ac_cv_sizeof_short=0
20340 fi
20341 fi
20342
20343 fi
20344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20345 $as_echo "$ac_cv_sizeof_short" >&6; }
20346
20347
20348
20349 cat >>confdefs.h <<_ACEOF
20350 #define SIZEOF_SHORT $ac_cv_sizeof_short
20351 _ACEOF
20352
20353
20354 # The cast to long int works around a bug in the HP C Compiler
20355 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20356 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20357 # This bug is HP SR number 8606223364.
20358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20359 $as_echo_n "checking size of void *... " >&6; }
20360 if ${ac_cv_sizeof_void_p+:} false; then :
20361 $as_echo_n "(cached) " >&6
20362 else
20363 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20364
20365 else
20366 if test "$ac_cv_type_void_p" = yes; then
20367 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20369 as_fn_error 77 "cannot compute sizeof (void *)
20370 See \`config.log' for more details" "$LINENO" 5; }
20371 else
20372 ac_cv_sizeof_void_p=0
20373 fi
20374 fi
20375
20376 fi
20377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20378 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20379
20380
20381
20382 cat >>confdefs.h <<_ACEOF
20383 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20384 _ACEOF
20385
20386
20387 # The cast to long int works around a bug in the HP C Compiler
20388 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20389 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20390 # This bug is HP SR number 8606223364.
20391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20392 $as_echo_n "checking size of int... " >&6; }
20393 if ${ac_cv_sizeof_int+:} false; then :
20394 $as_echo_n "(cached) " >&6
20395 else
20396 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20397
20398 else
20399 if test "$ac_cv_type_int" = yes; then
20400 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20402 as_fn_error 77 "cannot compute sizeof (int)
20403 See \`config.log' for more details" "$LINENO" 5; }
20404 else
20405 ac_cv_sizeof_int=0
20406 fi
20407 fi
20408
20409 fi
20410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20411 $as_echo "$ac_cv_sizeof_int" >&6; }
20412
20413
20414
20415 cat >>confdefs.h <<_ACEOF
20416 #define SIZEOF_INT $ac_cv_sizeof_int
20417 _ACEOF
20418
20419
20420 # The cast to long int works around a bug in the HP C Compiler
20421 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20422 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20423 # This bug is HP SR number 8606223364.
20424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20425 $as_echo_n "checking size of long... " >&6; }
20426 if ${ac_cv_sizeof_long+:} false; then :
20427 $as_echo_n "(cached) " >&6
20428 else
20429 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20430
20431 else
20432 if test "$ac_cv_type_long" = yes; then
20433 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20435 as_fn_error 77 "cannot compute sizeof (long)
20436 See \`config.log' for more details" "$LINENO" 5; }
20437 else
20438 ac_cv_sizeof_long=0
20439 fi
20440 fi
20441
20442 fi
20443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20444 $as_echo "$ac_cv_sizeof_long" >&6; }
20445
20446
20447
20448 cat >>confdefs.h <<_ACEOF
20449 #define SIZEOF_LONG $ac_cv_sizeof_long
20450 _ACEOF
20451
20452
20453 # The cast to long int works around a bug in the HP C Compiler
20454 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20455 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20456 # This bug is HP SR number 8606223364.
20457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20458 $as_echo_n "checking size of size_t... " >&6; }
20459 if ${ac_cv_sizeof_size_t+:} false; then :
20460 $as_echo_n "(cached) " >&6
20461 else
20462 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20463
20464 else
20465 if test "$ac_cv_type_size_t" = yes; then
20466 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20467 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20468 as_fn_error 77 "cannot compute sizeof (size_t)
20469 See \`config.log' for more details" "$LINENO" 5; }
20470 else
20471 ac_cv_sizeof_size_t=0
20472 fi
20473 fi
20474
20475 fi
20476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20477 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20478
20479
20480
20481 cat >>confdefs.h <<_ACEOF
20482 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20483 _ACEOF
20484
20485
20486
20487 case "${host}" in
20488 arm-*-linux* )
20489 # The cast to long int works around a bug in the HP C Compiler
20490 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20491 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20492 # This bug is HP SR number 8606223364.
20493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20494 $as_echo_n "checking size of long long... " >&6; }
20495 if ${ac_cv_sizeof_long_long+:} false; then :
20496 $as_echo_n "(cached) " >&6
20497 else
20498 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20499
20500 else
20501 if test "$ac_cv_type_long_long" = yes; then
20502 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20504 as_fn_error 77 "cannot compute sizeof (long long)
20505 See \`config.log' for more details" "$LINENO" 5; }
20506 else
20507 ac_cv_sizeof_long_long=0
20508 fi
20509 fi
20510
20511 fi
20512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20513 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20514
20515
20516
20517 cat >>confdefs.h <<_ACEOF
20518 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20519 _ACEOF
20520
20521
20522 ;;
20523 *-hp-hpux* )
20524 # The cast to long int works around a bug in the HP C Compiler
20525 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20526 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20527 # This bug is HP SR number 8606223364.
20528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20529 $as_echo_n "checking size of long long... " >&6; }
20530 if ${ac_cv_sizeof_long_long+:} false; then :
20531 $as_echo_n "(cached) " >&6
20532 else
20533 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20534
20535 else
20536 if test "$ac_cv_type_long_long" = yes; then
20537 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20539 as_fn_error 77 "cannot compute sizeof (long long)
20540 See \`config.log' for more details" "$LINENO" 5; }
20541 else
20542 ac_cv_sizeof_long_long=0
20543 fi
20544 fi
20545
20546 fi
20547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20548 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20549
20550
20551
20552 cat >>confdefs.h <<_ACEOF
20553 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20554 _ACEOF
20555
20556
20557 if test "$ac_cv_sizeof_long_long" != 0; then
20558 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20559 fi
20560 ;;
20561 * )
20562 # The cast to long int works around a bug in the HP C Compiler
20563 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20564 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20565 # This bug is HP SR number 8606223364.
20566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20567 $as_echo_n "checking size of long long... " >&6; }
20568 if ${ac_cv_sizeof_long_long+:} false; then :
20569 $as_echo_n "(cached) " >&6
20570 else
20571 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20572
20573 else
20574 if test "$ac_cv_type_long_long" = yes; then
20575 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20577 as_fn_error 77 "cannot compute sizeof (long long)
20578 See \`config.log' for more details" "$LINENO" 5; }
20579 else
20580 ac_cv_sizeof_long_long=0
20581 fi
20582 fi
20583
20584 fi
20585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20586 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20587
20588
20589
20590 cat >>confdefs.h <<_ACEOF
20591 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20592 _ACEOF
20593
20594
20595 esac
20596
20597 # The cast to long int works around a bug in the HP C Compiler
20598 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20599 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20600 # This bug is HP SR number 8606223364.
20601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20602 $as_echo_n "checking size of wchar_t... " >&6; }
20603 if ${ac_cv_sizeof_wchar_t+:} false; then :
20604 $as_echo_n "(cached) " >&6
20605 else
20606 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20607 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20608 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20609 # error \"fake wchar_t\"
20610 #endif
20611 #ifdef HAVE_WCHAR_H
20612 # ifdef __CYGWIN__
20613 # include <stddef.h>
20614 # endif
20615 # include <wchar.h>
20616 #endif
20617 #ifdef HAVE_STDLIB_H
20618 # include <stdlib.h>
20619 #endif
20620 #include <stdio.h>
20621
20622
20623 "; then :
20624
20625 else
20626 if test "$ac_cv_type_wchar_t" = yes; then
20627 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20629 as_fn_error 77 "cannot compute sizeof (wchar_t)
20630 See \`config.log' for more details" "$LINENO" 5; }
20631 else
20632 ac_cv_sizeof_wchar_t=0
20633 fi
20634 fi
20635
20636 fi
20637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20638 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20639
20640
20641
20642 cat >>confdefs.h <<_ACEOF
20643 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20644 _ACEOF
20645
20646
20647 if test "$ac_cv_sizeof_wchar_t" = 0; then
20648 as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
20649 fi
20650 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20651
20652
20653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20654 $as_echo_n "checking for va_copy... " >&6; }
20655 if ${wx_cv_func_va_copy+:} false; then :
20656 $as_echo_n "(cached) " >&6
20657 else
20658
20659 ac_ext=cpp
20660 ac_cpp='$CXXCPP $CPPFLAGS'
20661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20664
20665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20666 /* end confdefs.h. */
20667
20668
20669 #include <stdarg.h>
20670 void foo(char *f, ...)
20671 {
20672 va_list ap1, ap2;
20673 va_start(ap1, f);
20674 va_copy(ap2, ap1);
20675 va_end(ap2);
20676 va_end(ap1);
20677 }
20678 int main()
20679 {
20680 foo("hi", 17);
20681 return 0;
20682 }
20683
20684 _ACEOF
20685 if ac_fn_cxx_try_link "$LINENO"; then :
20686 wx_cv_func_va_copy=yes
20687 else
20688 wx_cv_func_va_copy=no
20689
20690 fi
20691 rm -f core conftest.err conftest.$ac_objext \
20692 conftest$ac_exeext conftest.$ac_ext
20693 ac_ext=c
20694 ac_cpp='$CPP $CPPFLAGS'
20695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20698
20699
20700
20701 fi
20702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20703 $as_echo "$wx_cv_func_va_copy" >&6; }
20704
20705 if test $wx_cv_func_va_copy = "yes"; then
20706 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20707
20708 else
20709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20710 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20711 if ${wx_cv_type_va_list_lvalue+:} false; then :
20712 $as_echo_n "(cached) " >&6
20713 else
20714
20715 if test "$cross_compiling" = yes; then :
20716 wx_cv_type_va_list_lvalue=yes
20717
20718 else
20719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20720 /* end confdefs.h. */
20721
20722
20723 #include <stdarg.h>
20724 int foo(char *f, ...)
20725 {
20726 va_list ap1, ap2;
20727 va_start(ap1, f);
20728 ap2 = ap1;
20729 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20730 return 1;
20731 va_end(ap2);
20732 va_end(ap1);
20733 return 0;
20734 }
20735 int main()
20736 {
20737 return foo("hi", 17);
20738 }
20739
20740 _ACEOF
20741 if ac_fn_c_try_run "$LINENO"; then :
20742 wx_cv_type_va_list_lvalue=yes
20743 else
20744 wx_cv_type_va_list_lvalue=no
20745 fi
20746 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20747 conftest.$ac_objext conftest.beam conftest.$ac_ext
20748 fi
20749
20750
20751
20752 fi
20753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20754 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20755
20756 if test $wx_cv_type_va_list_lvalue != "yes"; then
20757 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20758
20759 fi
20760 fi
20761
20762 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20763
20764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20765 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20766 if ${wx_cv_have_variadic_macros+:} false; then :
20767 $as_echo_n "(cached) " >&6
20768 else
20769
20770 ac_ext=cpp
20771 ac_cpp='$CXXCPP $CPPFLAGS'
20772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20775
20776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20777 /* end confdefs.h. */
20778
20779
20780 #include <stdio.h>
20781 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20782
20783 int
20784 main ()
20785 {
20786
20787 test("%s %d %p", "test", 1, 0);
20788
20789
20790 ;
20791 return 0;
20792 }
20793 _ACEOF
20794 if ac_fn_cxx_try_compile "$LINENO"; then :
20795 wx_cv_have_variadic_macros=yes
20796 else
20797 wx_cv_have_variadic_macros=no
20798
20799 fi
20800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20801 ac_ext=c
20802 ac_cpp='$CPP $CPPFLAGS'
20803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20806
20807
20808
20809 fi
20810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20811 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20812
20813 if test $wx_cv_have_variadic_macros = "yes"; then
20814 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20815
20816 fi
20817
20818 fi
20819
20820 LARGEFILE_CPPFLAGS=
20821 # Check whether --enable-largefile was given.
20822 if test "${enable_largefile+set}" = set; then :
20823 enableval=$enable_largefile;
20824 fi
20825
20826 if test "$enable_largefile" != no; then
20827 wx_largefile=no
20828
20829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20830 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20831 if ${ac_cv_sys_file_offset_bits+:} false; then :
20832 $as_echo_n "(cached) " >&6
20833 else
20834
20835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20836 /* end confdefs.h. */
20837 #define _FILE_OFFSET_BITS 64
20838 #include <sys/types.h>
20839 int
20840 main ()
20841 {
20842 typedef struct {
20843 unsigned int field: sizeof(off_t) == 8;
20844 } wxlf;
20845
20846 ;
20847 return 0;
20848 }
20849 _ACEOF
20850 if ac_fn_c_try_compile "$LINENO"; then :
20851 ac_cv_sys_file_offset_bits=64
20852 else
20853 ac_cv_sys_file_offset_bits=no
20854 fi
20855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20856
20857
20858 fi
20859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20860 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20861
20862 if test "$ac_cv_sys_file_offset_bits" != no; then
20863 wx_largefile=yes
20864 cat >>confdefs.h <<_ACEOF
20865 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20866 _ACEOF
20867
20868 fi
20869
20870 if test "x$wx_largefile" != "xyes"; then
20871
20872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20873 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20874 if ${ac_cv_sys_large_files+:} false; then :
20875 $as_echo_n "(cached) " >&6
20876 else
20877
20878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20879 /* end confdefs.h. */
20880 #define _LARGE_FILES 1
20881 #include <sys/types.h>
20882 int
20883 main ()
20884 {
20885 typedef struct {
20886 unsigned int field: sizeof(off_t) == 8;
20887 } wxlf;
20888
20889 ;
20890 return 0;
20891 }
20892 _ACEOF
20893 if ac_fn_c_try_compile "$LINENO"; then :
20894 ac_cv_sys_large_files=1
20895 else
20896 ac_cv_sys_large_files=no
20897 fi
20898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20899
20900
20901 fi
20902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20903 $as_echo "$ac_cv_sys_large_files" >&6; }
20904
20905 if test "$ac_cv_sys_large_files" != no; then
20906 wx_largefile=yes
20907 cat >>confdefs.h <<_ACEOF
20908 #define _LARGE_FILES $ac_cv_sys_large_files
20909 _ACEOF
20910
20911 fi
20912
20913 fi
20914
20915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20916 $as_echo_n "checking if large file support is available... " >&6; }
20917 if test "x$wx_largefile" = "xyes"; then
20918 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20919
20920 fi
20921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20922 $as_echo "$wx_largefile" >&6; }
20923 fi
20924
20925 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20926 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
20927 elif test "$ac_cv_sys_large_files" = 1; then
20928 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
20929 fi
20930
20931 if test -n "$LARGEFILE_CPPFLAGS"; then
20932 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20933
20934 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20936 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20937 if ${wx_cv_STDC_EXT_required+:} false; then :
20938 $as_echo_n "(cached) " >&6
20939 else
20940
20941 ac_ext=cpp
20942 ac_cpp='$CXXCPP $CPPFLAGS'
20943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20946
20947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20948 /* end confdefs.h. */
20949
20950 int
20951 main ()
20952 {
20953
20954 #ifndef __STDC_EXT__
20955 choke me
20956 #endif
20957
20958 ;
20959 return 0;
20960 }
20961 _ACEOF
20962 if ac_fn_cxx_try_compile "$LINENO"; then :
20963 wx_cv_STDC_EXT_required=no
20964 else
20965 wx_cv_STDC_EXT_required=yes
20966
20967 fi
20968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20969 ac_ext=c
20970 ac_cpp='$CPP $CPPFLAGS'
20971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20974
20975
20976
20977 fi
20978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20979 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20980 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20981 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20982 fi
20983 fi
20984 fi
20985
20986 ac_ext=cpp
20987 ac_cpp='$CXXCPP $CPPFLAGS'
20988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20991
20992 old_CPPFLAGS="$CPPFLAGS"
20993 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20995 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20996 if ${ac_cv_sys_largefile_source+:} false; then :
20997 $as_echo_n "(cached) " >&6
20998 else
20999 while :; do
21000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21001 /* end confdefs.h. */
21002 #include <sys/types.h> /* for off_t */
21003 #include <stdio.h>
21004 int
21005 main ()
21006 {
21007 int (*fp) (FILE *, off_t, int) = fseeko;
21008 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
21009 ;
21010 return 0;
21011 }
21012 _ACEOF
21013 if ac_fn_cxx_try_link "$LINENO"; then :
21014 ac_cv_sys_largefile_source=no; break
21015 fi
21016 rm -f core conftest.err conftest.$ac_objext \
21017 conftest$ac_exeext conftest.$ac_ext
21018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21019 /* end confdefs.h. */
21020 #define _LARGEFILE_SOURCE 1
21021 #include <sys/types.h> /* for off_t */
21022 #include <stdio.h>
21023 int
21024 main ()
21025 {
21026 int (*fp) (FILE *, off_t, int) = fseeko;
21027 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
21028 ;
21029 return 0;
21030 }
21031 _ACEOF
21032 if ac_fn_cxx_try_link "$LINENO"; then :
21033 ac_cv_sys_largefile_source=1; break
21034 fi
21035 rm -f core conftest.err conftest.$ac_objext \
21036 conftest$ac_exeext conftest.$ac_ext
21037 ac_cv_sys_largefile_source=unknown
21038 break
21039 done
21040 fi
21041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
21042 $as_echo "$ac_cv_sys_largefile_source" >&6; }
21043 case $ac_cv_sys_largefile_source in #(
21044 no | unknown) ;;
21045 *)
21046 cat >>confdefs.h <<_ACEOF
21047 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21048 _ACEOF
21049 ;;
21050 esac
21051 rm -rf conftest*
21052
21053 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21054 # in glibc 2.1.3, but that breaks too many other things.
21055 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21056 if test $ac_cv_sys_largefile_source != unknown; then
21057
21058 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
21059
21060 fi
21061
21062 CPPFLAGS="$old_CPPFLAGS"
21063 ac_ext=c
21064 ac_cpp='$CPP $CPPFLAGS'
21065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21068
21069 if test "$ac_cv_sys_largefile_source" != no; then
21070 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21071 fi
21072
21073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
21074 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
21075 if ${ac_cv_c_bigendian+:} false; then :
21076 $as_echo_n "(cached) " >&6
21077 else
21078 ac_cv_c_bigendian=unknown
21079 # See if sys/param.h defines the BYTE_ORDER macro.
21080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21081 /* end confdefs.h. */
21082 #include <sys/types.h>
21083 #include <sys/param.h>
21084 int
21085 main ()
21086 {
21087
21088 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21089 bogus endian macros
21090 #endif
21091 ;
21092 return 0;
21093 }
21094 _ACEOF
21095 if ac_fn_c_try_compile "$LINENO"; then :
21096 # It does; now see whether it defined to BIG_ENDIAN or not.
21097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21098 /* end confdefs.h. */
21099 #include <sys/types.h>
21100 #include <sys/param.h>
21101 int
21102 main ()
21103 {
21104
21105 #if BYTE_ORDER != BIG_ENDIAN
21106 not big endian
21107 #endif
21108 ;
21109 return 0;
21110 }
21111 _ACEOF
21112 if ac_fn_c_try_compile "$LINENO"; then :
21113 ac_cv_c_bigendian=yes
21114 else
21115 ac_cv_c_bigendian=no
21116 fi
21117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21118 fi
21119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21120 if test $ac_cv_c_bigendian = unknown; then
21121 if test "$cross_compiling" = yes; then :
21122 ac_cv_c_bigendian=unknown
21123 else
21124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21125 /* end confdefs.h. */
21126 main () {
21127 /* Are we little or big endian? From Harbison&Steele. */
21128 union
21129 {
21130 long l;
21131 char c[sizeof (long)];
21132 } u;
21133 u.l = 1;
21134 exit (u.c[sizeof (long) - 1] == 1);
21135 }
21136 _ACEOF
21137 if ac_fn_c_try_run "$LINENO"; then :
21138 ac_cv_c_bigendian=no
21139 else
21140 ac_cv_c_bigendian=yes
21141 fi
21142 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21143 conftest.$ac_objext conftest.beam conftest.$ac_ext
21144 fi
21145
21146 fi
21147 fi
21148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21149 $as_echo "$ac_cv_c_bigendian" >&6; }
21150 if test $ac_cv_c_bigendian = unknown; then
21151 { $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
21152 $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;}
21153 fi
21154 if test $ac_cv_c_bigendian = yes; then
21155 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21156
21157 fi
21158
21159
21160
21161
21162 ac_ext=cpp
21163 ac_cpp='$CXXCPP $CPPFLAGS'
21164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21167
21168
21169 for ac_header in iostream
21170 do :
21171 ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
21172 "
21173 if test "x$ac_cv_header_iostream" = xyes; then :
21174 cat >>confdefs.h <<_ACEOF
21175 #define HAVE_IOSTREAM 1
21176 _ACEOF
21177
21178 fi
21179
21180 done
21181
21182
21183 if test "$ac_cv_header_iostream" = "yes" ; then
21184 :
21185 else
21186 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21187
21188 fi
21189
21190 ac_ext=c
21191 ac_cpp='$CPP $CPPFLAGS'
21192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21195
21196
21197
21198
21199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21200 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21201 if ${wx_cv_explicit+:} false; then :
21202 $as_echo_n "(cached) " >&6
21203 else
21204
21205
21206 ac_ext=cpp
21207 ac_cpp='$CXXCPP $CPPFLAGS'
21208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21211
21212
21213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21214 /* end confdefs.h. */
21215
21216 class Foo { public: explicit Foo(int) {} };
21217
21218 int
21219 main ()
21220 {
21221
21222 return 0;
21223
21224 ;
21225 return 0;
21226 }
21227 _ACEOF
21228 if ac_fn_cxx_try_compile "$LINENO"; then :
21229
21230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21231 /* end confdefs.h. */
21232
21233 class Foo { public: explicit Foo(int) {} };
21234 static void TakeFoo(const Foo& foo) { }
21235
21236 int
21237 main ()
21238 {
21239
21240 TakeFoo(17);
21241 return 0;
21242
21243 ;
21244 return 0;
21245 }
21246 _ACEOF
21247 if ac_fn_cxx_try_compile "$LINENO"; then :
21248 wx_cv_explicit=no
21249 else
21250 wx_cv_explicit=yes
21251
21252 fi
21253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21254
21255 else
21256 wx_cv_explicit=no
21257
21258 fi
21259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21260
21261 ac_ext=c
21262 ac_cpp='$CPP $CPPFLAGS'
21263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21266
21267
21268 fi
21269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21270 $as_echo "$wx_cv_explicit" >&6; }
21271
21272 if test "$wx_cv_explicit" = "yes"; then
21273 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21274
21275 fi
21276
21277
21278 if test "x$SUNCXX" = xyes; then
21279 CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21280 fi
21281
21282 if test "x$SUNCC" = xyes; then
21283 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21284 fi
21285
21286 if test "x$SGICC" = "xyes"; then
21287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21288 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21289 if ${wx_cv_prog_sgicc744+:} false; then :
21290 $as_echo_n "(cached) " >&6
21291 else
21292
21293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21294 /* end confdefs.h. */
21295
21296 int
21297 main ()
21298 {
21299
21300 #if _SGI_COMPILER_VERSION >= 744
21301 chock me: mipsPro is 7.4.4 or later
21302 #endif
21303
21304 ;
21305 return 0;
21306 }
21307 _ACEOF
21308 if ac_fn_c_try_compile "$LINENO"; then :
21309 wx_cv_prog_sgicc744=no
21310 else
21311 wx_cv_prog_sgicc744=yes
21312
21313 fi
21314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21315
21316
21317 fi
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21319 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21320
21321 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21322 CFLAGS="-woff 3970 $CFLAGS"
21323 fi
21324 fi
21325 if test "x$SGICXX" = "xyes"; then
21326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21327 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21328 if ${wx_cv_prog_sgicxx744+:} false; then :
21329 $as_echo_n "(cached) " >&6
21330 else
21331
21332 ac_ext=cpp
21333 ac_cpp='$CXXCPP $CPPFLAGS'
21334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21337
21338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21339 /* end confdefs.h. */
21340
21341 int
21342 main ()
21343 {
21344
21345 #if _SGI_COMPILER_VERSION >= 744
21346 chock me: mipsPro is 7.4.4 or later
21347 #endif
21348
21349 ;
21350 return 0;
21351 }
21352 _ACEOF
21353 if ac_fn_cxx_try_compile "$LINENO"; then :
21354 wx_cv_prog_sgicxx744=no
21355 else
21356 wx_cv_prog_sgicxx744=yes
21357
21358 fi
21359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21360 ac_ext=c
21361 ac_cpp='$CPP $CPPFLAGS'
21362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21365
21366
21367
21368 fi
21369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21370 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21371
21372 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21373 CXXFLAGS="-woff 3970 $CXXFLAGS"
21374 fi
21375 fi
21376
21377 if test "x$HPCC" = "xyes"; then
21378 CFLAGS="+W 2011,2450 $CFLAGS"
21379 fi
21380 if test "x$HPCXX" = "xyes"; then
21381 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
21382 fi
21383
21384 if test "x$COMPAQCXX" = "xyes"; then
21385 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21386 fi
21387
21388 ac_ext=cpp
21389 ac_cpp='$CXXCPP $CPPFLAGS'
21390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21393
21394
21395 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21396 if test "$wxUSE_UNICODE" = "yes"; then
21397 std_string="std::wstring"
21398 char_type="wchar_t"
21399 else
21400 std_string="std::string"
21401 char_type="char"
21402 fi
21403
21404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21405 $as_echo_n "checking for $std_string in <string>... " >&6; }
21406 if ${wx_cv_class_stdstring+:} false; then :
21407 $as_echo_n "(cached) " >&6
21408 else
21409
21410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21411 /* end confdefs.h. */
21412 #include <string>
21413 int
21414 main ()
21415 {
21416 $std_string foo;
21417 ;
21418 return 0;
21419 }
21420 _ACEOF
21421 if ac_fn_cxx_try_compile "$LINENO"; then :
21422 wx_cv_class_stdstring=yes
21423 else
21424 wx_cv_class_stdstring=no
21425
21426 fi
21427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21428
21429
21430 fi
21431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21432 $as_echo "$wx_cv_class_stdstring" >&6; }
21433
21434 if test "$wx_cv_class_stdstring" = yes; then
21435 if test "$wxUSE_UNICODE" = "yes"; then
21436 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21437
21438 fi
21439 else
21440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21441 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21442 if ${wx_cv_class_stdbasicstring+:} false; then :
21443 $as_echo_n "(cached) " >&6
21444 else
21445
21446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21447 /* end confdefs.h. */
21448
21449 #ifdef HAVE_WCHAR_H
21450 # ifdef __CYGWIN__
21451 # include <stddef.h>
21452 # endif
21453 # include <wchar.h>
21454 #endif
21455 #ifdef HAVE_STDLIB_H
21456 # include <stdlib.h>
21457 #endif
21458 #include <stdio.h>
21459 #include <string>
21460
21461 int
21462 main ()
21463 {
21464 std::basic_string<$char_type> foo;
21465 const $char_type* dummy = foo.c_str();
21466 ;
21467 return 0;
21468 }
21469 _ACEOF
21470 if ac_fn_cxx_try_compile "$LINENO"; then :
21471 wx_cv_class_stdbasicstring=yes
21472 else
21473 wx_cv_class_stdbasicstring=no
21474
21475 fi
21476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21477
21478
21479 fi
21480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21481 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21482
21483 if test "$wx_cv_class_stdbasicstring" != yes; then
21484 if test "$wxUSE_STL" = "yes"; then
21485 as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21486 elif test "$wxUSE_STD_STRING" = "yes"; then
21487 as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21488 else
21489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21490 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21491 wxUSE_STD_STRING=no
21492 fi
21493 fi
21494 fi
21495 fi
21496
21497 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21498 ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21499 "
21500 if test "x$ac_cv_type_std__istream" = xyes; then :
21501
21502 cat >>confdefs.h <<_ACEOF
21503 #define HAVE_STD__ISTREAM 1
21504 _ACEOF
21505
21506
21507 else
21508 wxUSE_STD_IOSTREAM=no
21509 fi
21510 ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21511 "
21512 if test "x$ac_cv_type_std__ostream" = xyes; then :
21513
21514 cat >>confdefs.h <<_ACEOF
21515 #define HAVE_STD__OSTREAM 1
21516 _ACEOF
21517
21518
21519 else
21520 wxUSE_STD_IOSTREAM=no
21521 fi
21522
21523
21524 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21525 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21526 as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21527 else
21528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21529 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21530 fi
21531 fi
21532 fi
21533
21534 if test "$wxUSE_STL" = "yes"; then
21535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21536 $as_echo_n "checking for basic STL functionality... " >&6; }
21537 if ${wx_cv_lib_stl+:} false; then :
21538 $as_echo_n "(cached) " >&6
21539 else
21540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21541 /* end confdefs.h. */
21542 #include <string>
21543 #include <functional>
21544 #include <algorithm>
21545 #include <vector>
21546 #include <list>
21547 int
21548 main ()
21549 {
21550 std::vector<int> moo;
21551 std::list<int> foo;
21552 std::vector<int>::iterator it =
21553 std::find_if(moo.begin(), moo.end(),
21554 std::bind2nd(std::less<int>(), 3));
21555 ;
21556 return 0;
21557 }
21558 _ACEOF
21559 if ac_fn_cxx_try_compile "$LINENO"; then :
21560 wx_cv_lib_stl=yes
21561 else
21562 wx_cv_lib_stl=no
21563
21564 fi
21565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21566
21567 fi
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21569 $as_echo "$wx_cv_lib_stl" >&6; }
21570
21571 if test "$wx_cv_lib_stl" != yes; then
21572 as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21573 fi
21574
21575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21576 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21577 if ${wx_cv_func_stdstring_compare+:} false; then :
21578 $as_echo_n "(cached) " >&6
21579 else
21580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21581 /* end confdefs.h. */
21582 #include <string>
21583 int
21584 main ()
21585 {
21586 std::string foo, bar;
21587 foo.compare(bar);
21588 foo.compare(1, 1, bar);
21589 foo.compare(1, 1, bar, 1, 1);
21590 foo.compare("");
21591 foo.compare(1, 1, "");
21592 foo.compare(1, 1, "", 2);
21593 ;
21594 return 0;
21595 }
21596 _ACEOF
21597 if ac_fn_cxx_try_compile "$LINENO"; then :
21598 wx_cv_func_stdstring_compare=yes
21599 else
21600 wx_cv_func_stdstring_compare=no
21601
21602 fi
21603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21604
21605 fi
21606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21607 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21608
21609 if test "$wx_cv_func_stdstring_compare" = yes; then
21610 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21611
21612 fi
21613
21614 if test "$wx_cv_class_gnuhashmapset" = yes; then
21615 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21616
21617 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21618
21619 fi
21620
21621 ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21622
21623 "
21624 if test "x$ac_cv_header_unordered_map" = xyes; then :
21625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21626 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21627 if ${wx_cv_class_stdunorderedmapset+:} false; then :
21628 $as_echo_n "(cached) " >&6
21629 else
21630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21631 /* end confdefs.h. */
21632 #include <unordered_map>
21633 #include <unordered_set>
21634 int
21635 main ()
21636 {
21637 std::unordered_map<double*, char*> test1;
21638 std::unordered_set<char*> test2;
21639 ;
21640 return 0;
21641 }
21642 _ACEOF
21643 if ac_fn_cxx_try_compile "$LINENO"; then :
21644 wx_cv_class_stdunorderedmapset=yes
21645 else
21646 wx_cv_class_stdunorderedmapset=no
21647 fi
21648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21649
21650
21651 fi
21652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21653 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21654 fi
21655
21656
21657
21658 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21659 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21660
21661 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21662
21663 else
21664 ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21665
21666 "
21667 if test "x$ac_cv_header_tr1_unordered_map" = xyes; then :
21668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21669 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21670 if ${wx_cv_class_tr1unorderedmapset+:} false; then :
21671 $as_echo_n "(cached) " >&6
21672 else
21673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21674 /* end confdefs.h. */
21675 #include <tr1/unordered_map>
21676 #include <tr1/unordered_set>
21677 int
21678 main ()
21679 {
21680 std::tr1::unordered_map<double*, char*> test1;
21681 std::tr1::unordered_set<char*> test2;
21682 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21683 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21684 #endif
21685 ;
21686 return 0;
21687 }
21688 _ACEOF
21689 if ac_fn_cxx_try_compile "$LINENO"; then :
21690 wx_cv_class_tr1unorderedmapset=yes
21691 else
21692 wx_cv_class_tr1unorderedmapset=no
21693 fi
21694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21695
21696
21697 fi
21698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21699 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21700 fi
21701
21702
21703
21704 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21705 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21706
21707 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21708
21709 else
21710 ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
21711
21712 "
21713 if test "x$ac_cv_header_hash_map" = xyes; then :
21714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21715 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21716 if ${wx_cv_class_stdhashmapset+:} false; then :
21717 $as_echo_n "(cached) " >&6
21718 else
21719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21720 /* end confdefs.h. */
21721 #include <hash_map>
21722 #include <hash_set>
21723 int
21724 main ()
21725 {
21726 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21727 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21728 ;
21729 return 0;
21730 }
21731 _ACEOF
21732 if ac_fn_cxx_try_compile "$LINENO"; then :
21733 wx_cv_class_stdhashmapset=yes
21734 else
21735 wx_cv_class_stdhashmapset=no
21736 fi
21737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21738
21739
21740 fi
21741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21742 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21743 fi
21744
21745
21746
21747 if test "$wx_cv_class_stdhashmapset" = yes; then
21748 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21749
21750 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21751
21752 fi
21753
21754 ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21755
21756 "
21757 if test "x$ac_cv_header_ext_hash_map" = xyes; then :
21758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21759 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21760 if ${wx_cv_class_gnuhashmapset+:} false; then :
21761 $as_echo_n "(cached) " >&6
21762 else
21763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21764 /* end confdefs.h. */
21765 #include <ext/hash_map>
21766 #include <ext/hash_set>
21767 int
21768 main ()
21769 {
21770 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21771 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21772 ;
21773 return 0;
21774 }
21775 _ACEOF
21776 if ac_fn_cxx_try_compile "$LINENO"; then :
21777 wx_cv_class_gnuhashmapset=yes
21778 else
21779 wx_cv_class_gnuhashmapset=no
21780 fi
21781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21782
21783
21784 fi
21785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21786 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21787 fi
21788
21789
21790
21791 fi
21792 fi
21793 fi
21794
21795 ac_ext=cpp
21796 ac_cpp='$CXXCPP $CPPFLAGS'
21797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21801 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21802 if test -z "$CXXCPP"; then
21803 if ${ac_cv_prog_CXXCPP+:} false; then :
21804 $as_echo_n "(cached) " >&6
21805 else
21806 # Double quotes because CXXCPP needs to be expanded
21807 for CXXCPP in "$CXX -E" "/lib/cpp"
21808 do
21809 ac_preproc_ok=false
21810 for ac_cxx_preproc_warn_flag in '' yes
21811 do
21812 # Use a header file that comes with gcc, so configuring glibc
21813 # with a fresh cross-compiler works.
21814 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21815 # <limits.h> exists even on freestanding compilers.
21816 # On the NeXT, cc -E runs the code through the compiler's parser,
21817 # not just through cpp. "Syntax error" is here to catch this case.
21818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21819 /* end confdefs.h. */
21820 #ifdef __STDC__
21821 # include <limits.h>
21822 #else
21823 # include <assert.h>
21824 #endif
21825 Syntax error
21826 _ACEOF
21827 if ac_fn_cxx_try_cpp "$LINENO"; then :
21828
21829 else
21830 # Broken: fails on valid input.
21831 continue
21832 fi
21833 rm -f conftest.err conftest.i conftest.$ac_ext
21834
21835 # OK, works on sane cases. Now check whether nonexistent headers
21836 # can be detected and how.
21837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21838 /* end confdefs.h. */
21839 #include <ac_nonexistent.h>
21840 _ACEOF
21841 if ac_fn_cxx_try_cpp "$LINENO"; then :
21842 # Broken: success on invalid input.
21843 continue
21844 else
21845 # Passes both tests.
21846 ac_preproc_ok=:
21847 break
21848 fi
21849 rm -f conftest.err conftest.i conftest.$ac_ext
21850
21851 done
21852 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21853 rm -f conftest.i conftest.err conftest.$ac_ext
21854 if $ac_preproc_ok; then :
21855 break
21856 fi
21857
21858 done
21859 ac_cv_prog_CXXCPP=$CXXCPP
21860
21861 fi
21862 CXXCPP=$ac_cv_prog_CXXCPP
21863 else
21864 ac_cv_prog_CXXCPP=$CXXCPP
21865 fi
21866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21867 $as_echo "$CXXCPP" >&6; }
21868 ac_preproc_ok=false
21869 for ac_cxx_preproc_warn_flag in '' yes
21870 do
21871 # Use a header file that comes with gcc, so configuring glibc
21872 # with a fresh cross-compiler works.
21873 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21874 # <limits.h> exists even on freestanding compilers.
21875 # On the NeXT, cc -E runs the code through the compiler's parser,
21876 # not just through cpp. "Syntax error" is here to catch this case.
21877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21878 /* end confdefs.h. */
21879 #ifdef __STDC__
21880 # include <limits.h>
21881 #else
21882 # include <assert.h>
21883 #endif
21884 Syntax error
21885 _ACEOF
21886 if ac_fn_cxx_try_cpp "$LINENO"; then :
21887
21888 else
21889 # Broken: fails on valid input.
21890 continue
21891 fi
21892 rm -f conftest.err conftest.i conftest.$ac_ext
21893
21894 # OK, works on sane cases. Now check whether nonexistent headers
21895 # can be detected and how.
21896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21897 /* end confdefs.h. */
21898 #include <ac_nonexistent.h>
21899 _ACEOF
21900 if ac_fn_cxx_try_cpp "$LINENO"; then :
21901 # Broken: success on invalid input.
21902 continue
21903 else
21904 # Passes both tests.
21905 ac_preproc_ok=:
21906 break
21907 fi
21908 rm -f conftest.err conftest.i conftest.$ac_ext
21909
21910 done
21911 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21912 rm -f conftest.i conftest.err conftest.$ac_ext
21913 if $ac_preproc_ok; then :
21914
21915 else
21916 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21917 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21918 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21919 See \`config.log' for more details" "$LINENO" 5; }
21920 fi
21921
21922 ac_ext=cpp
21923 ac_cpp='$CXXCPP $CPPFLAGS'
21924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21927
21928
21929 for ac_header in type_traits tr1/type_traits
21930 do :
21931 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21932 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21933 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21934 cat >>confdefs.h <<_ACEOF
21935 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21936 _ACEOF
21937
21938 fi
21939
21940 done
21941
21942
21943
21944
21945 if test -n "$GCC"; then
21946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21947 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21948 if ${wx_cv_cc_gcc_atomic_builtins+:} false; then :
21949 $as_echo_n "(cached) " >&6
21950 else
21951
21952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21953 /* end confdefs.h. */
21954
21955 int
21956 main ()
21957 {
21958
21959 unsigned int value=0;
21960 /* wxAtomicInc doesn't use return value here */
21961 __sync_fetch_and_add(&value, 2);
21962 __sync_sub_and_fetch(&value, 1);
21963 /* but wxAtomicDec does, so mimic that: */
21964 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21965
21966 ;
21967 return 0;
21968 }
21969 _ACEOF
21970 if ac_fn_cxx_try_link "$LINENO"; then :
21971 wx_cv_cc_gcc_atomic_builtins=yes
21972 else
21973 wx_cv_cc_gcc_atomic_builtins=no
21974 fi
21975 rm -f core conftest.err conftest.$ac_objext \
21976 conftest$ac_exeext conftest.$ac_ext
21977
21978 fi
21979
21980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21981 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21982 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21983 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21984
21985 fi
21986 fi
21987
21988
21989 ac_ext=c
21990 ac_cpp='$CPP $CPPFLAGS'
21991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21994
21995
21996
21997 SEARCH_INCLUDE="\
21998 /usr/local/include \
21999 /usr/local/X11/include \
22000 /usr/local/include/X11 \
22001 /usr/local/X11R7/include \
22002 /usr/local/X11R6/include \
22003 /usr/local/include/X11R7 \
22004 /usr/local/include/X11R6 \
22005 \
22006 /usr/Motif-2.1/include \
22007 /usr/Motif-1.2/include \
22008 /usr/include/Motif1.2 \
22009 \
22010 /usr/dt/include \
22011 /usr/openwin/include \
22012 \
22013 /usr/include/Xm \
22014 \
22015 /usr/X11R7/include \
22016 /usr/X11R6/include \
22017 /usr/X11R6.4/include \
22018 \
22019 /usr/include/X11R7 \
22020 /usr/include/X11R6 \
22021 \
22022 /usr/X11/include \
22023 /usr/include/X11 \
22024 \
22025 /usr/XFree86/include/X11 \
22026 /usr/pkg/include \
22027 \
22028 /usr/local/X1R5/include \
22029 /usr/local/include/X11R5 \
22030 /usr/X11R5/include \
22031 /usr/include/X11R5 \
22032 \
22033 /usr/local/X11R4/include \
22034 /usr/local/include/X11R4 \
22035 /usr/X11R4/include \
22036 /usr/include/X11R4 \
22037 \
22038 /usr/openwin/share/include"
22039
22040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
22041 $as_echo_n "checking for libraries directories... " >&6; }
22042
22043 case "${host}" in
22044 *-*-irix6* )
22045 if ${wx_cv_std_libpath+:} false; then :
22046 $as_echo_n "(cached) " >&6
22047 else
22048
22049 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
22050 for e in a so sl dylib dll.a; do
22051 libc="$d/libc.$e"
22052 if test -f $libc; then
22053 save_LIBS="$LIBS"
22054 LIBS="$libc"
22055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22056 /* end confdefs.h. */
22057
22058 int main() { return 0; }
22059
22060 _ACEOF
22061 if ac_fn_c_try_link "$LINENO"; then :
22062 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
22063 fi
22064 rm -f core conftest.err conftest.$ac_objext \
22065 conftest$ac_exeext conftest.$ac_ext
22066 LIBS="$save_LIBS"
22067 if test "x$wx_cv_std_libpath" != "x"; then
22068 break 2
22069 fi
22070 fi
22071 done
22072 done
22073
22074
22075 fi
22076
22077 ;;
22078
22079 *-*-solaris2* )
22080 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
22081 wx_cv_std_libpath="lib/64"
22082 fi
22083 ;;
22084
22085 *-*-linux* )
22086 if test "$ac_cv_sizeof_void_p" = 8; then
22087 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
22088 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
22089 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
22090 wx_cv_std_libpath="lib64"
22091 fi
22092 else
22093 case "${host}" in
22094 i*86-*-linux* )
22095 if test -d '/usr/lib/i386-linux-gnu'; then
22096 wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
22097 fi
22098 esac
22099 fi
22100
22101 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
22102 wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
22103 fi
22104 ;;
22105 esac
22106
22107 if test -z "$wx_cv_std_libpath"; then
22108 wx_cv_std_libpath="lib"
22109 fi
22110
22111 if test -z "$wx_cv_std_libfullpath"; then
22112 wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
22113 fi
22114
22115
22116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
22117 $as_echo "$wx_cv_std_libfullpath" >&6; }
22118
22119 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
22120
22121 if test "$build" != "$host" -a "$GCC" = yes; then
22122 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
22123 cross_root=`dirname $cross_root`
22124 cross_root=`dirname $cross_root`
22125
22126 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22127 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22128 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
22129
22130 if test -z "$PKG_CONFIG_PATH"; then
22131 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22132 export PKG_CONFIG_PATH
22133 fi
22134
22135 if test -z "$x_includes" -o "$x_includes" = NONE; then
22136
22137 ac_find_includes=
22138 for ac_dir in $SEARCH_INCLUDE /usr/include
22139 do
22140 if test -f "$ac_dir/X11/Intrinsic.h"; then
22141 ac_find_includes=$ac_dir
22142 break
22143 fi
22144 done
22145
22146 x_includes=$ac_find_includes
22147 fi
22148 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
22149
22150 ac_find_libraries=
22151 for ac_dir in $SEARCH_LIB
22152 do
22153 for ac_extension in a so sl dylib dll.a; do
22154 if test -f "$ac_dir/libXt.$ac_extension"; then
22155 ac_find_libraries=$ac_dir
22156 break 2
22157 fi
22158 done
22159 done
22160
22161 x_libraries=$ac_find_libraries
22162 fi
22163 fi
22164 fi
22165
22166
22167 cat >confcache <<\_ACEOF
22168 # This file is a shell script that caches the results of configure
22169 # tests run on this system so they can be shared between configure
22170 # scripts and configure runs, see configure's option --config-cache.
22171 # It is not useful on other systems. If it contains results you don't
22172 # want to keep, you may remove or edit it.
22173 #
22174 # config.status only pays attention to the cache file if you give it
22175 # the --recheck option to rerun configure.
22176 #
22177 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22178 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22179 # following values.
22180
22181 _ACEOF
22182
22183 # The following way of writing the cache mishandles newlines in values,
22184 # but we know of no workaround that is simple, portable, and efficient.
22185 # So, we kill variables containing newlines.
22186 # Ultrix sh set writes to stderr and can't be redirected directly,
22187 # and sets the high bit in the cache file unless we assign to the vars.
22188 (
22189 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22190 eval ac_val=\$$ac_var
22191 case $ac_val in #(
22192 *${as_nl}*)
22193 case $ac_var in #(
22194 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22195 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22196 esac
22197 case $ac_var in #(
22198 _ | IFS | as_nl) ;; #(
22199 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22200 *) { eval $ac_var=; unset $ac_var;} ;;
22201 esac ;;
22202 esac
22203 done
22204
22205 (set) 2>&1 |
22206 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22207 *${as_nl}ac_space=\ *)
22208 # `set' does not quote correctly, so add quotes: double-quote
22209 # substitution turns \\\\ into \\, and sed turns \\ into \.
22210 sed -n \
22211 "s/'/'\\\\''/g;
22212 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22213 ;; #(
22214 *)
22215 # `set' quotes correctly as required by POSIX, so do not add quotes.
22216 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22217 ;;
22218 esac |
22219 sort
22220 ) |
22221 sed '
22222 /^ac_cv_env_/b end
22223 t clear
22224 :clear
22225 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22226 t end
22227 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22228 :end' >>confcache
22229 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22230 if test -w "$cache_file"; then
22231 if test "x$cache_file" != "x/dev/null"; then
22232 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22233 $as_echo "$as_me: updating cache $cache_file" >&6;}
22234 if test ! -f "$cache_file" || test -h "$cache_file"; then
22235 cat confcache >"$cache_file"
22236 else
22237 case $cache_file in #(
22238 */* | ?:*)
22239 mv -f confcache "$cache_file"$$ &&
22240 mv -f "$cache_file"$$ "$cache_file" ;; #(
22241 *)
22242 mv -f confcache "$cache_file" ;;
22243 esac
22244 fi
22245 fi
22246 else
22247 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22248 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22249 fi
22250 fi
22251 rm -f confcache
22252
22253 have_cos=0
22254 have_floor=0
22255 for ac_func in cos
22256 do :
22257 ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
22258 if test "x$ac_cv_func_cos" = xyes; then :
22259 cat >>confdefs.h <<_ACEOF
22260 #define HAVE_COS 1
22261 _ACEOF
22262 have_cos=1
22263 fi
22264 done
22265
22266 for ac_func in floor
22267 do :
22268 ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22269 if test "x$ac_cv_func_floor" = xyes; then :
22270 cat >>confdefs.h <<_ACEOF
22271 #define HAVE_FLOOR 1
22272 _ACEOF
22273 have_floor=1
22274 fi
22275 done
22276
22277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22278 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22279 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22281 $as_echo "yes" >&6; }
22282 else
22283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22284 $as_echo "no" >&6; }
22285 LIBS="$LIBS -lm"
22286 # use different functions to avoid configure caching
22287 have_sin=0
22288 have_ceil=0
22289 for ac_func in sin
22290 do :
22291 ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
22292 if test "x$ac_cv_func_sin" = xyes; then :
22293 cat >>confdefs.h <<_ACEOF
22294 #define HAVE_SIN 1
22295 _ACEOF
22296 have_sin=1
22297 fi
22298 done
22299
22300 for ac_func in ceil
22301 do :
22302 ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22303 if test "x$ac_cv_func_ceil" = xyes; then :
22304 cat >>confdefs.h <<_ACEOF
22305 #define HAVE_CEIL 1
22306 _ACEOF
22307 have_ceil=1
22308 fi
22309 done
22310
22311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22312 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22313 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22315 $as_echo "yes" >&6; }
22316 else
22317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22318 $as_echo "no" >&6; }
22319 # not sure we should warn the user, crash, etc.
22320 fi
22321 fi
22322
22323 ac_ext=cpp
22324 ac_cpp='$CXXCPP $CPPFLAGS'
22325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22328
22329 if test "wxUSE_UNICODE" = "yes"; then
22330
22331 for wx_func in wcstoull
22332 do
22333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22334 $as_echo_n "checking for $wx_func... " >&6; }
22335 if eval \${wx_cv_func_$wx_func+:} false; then :
22336 $as_echo_n "(cached) " >&6
22337 else
22338
22339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22340 /* end confdefs.h. */
22341
22342
22343
22344 $ac_includes_default
22345
22346 int
22347 main ()
22348 {
22349
22350 #ifndef $wx_func
22351 &$wx_func;
22352 #endif
22353
22354
22355 ;
22356 return 0;
22357 }
22358
22359 _ACEOF
22360 if ac_fn_cxx_try_link "$LINENO"; then :
22361 eval wx_cv_func_$wx_func=yes
22362 else
22363 eval wx_cv_func_$wx_func=no
22364 fi
22365 rm -f core conftest.err conftest.$ac_objext \
22366 conftest$ac_exeext conftest.$ac_ext
22367
22368 fi
22369 eval ac_res=\$wx_cv_func_$wx_func
22370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22371 $as_echo "$ac_res" >&6; }
22372
22373 if eval test \$wx_cv_func_$wx_func = yes
22374 then
22375 cat >>confdefs.h <<_ACEOF
22376 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22377 _ACEOF
22378
22379
22380 else
22381 :
22382
22383 fi
22384 done
22385
22386 else
22387
22388 for wx_func in strtoull
22389 do
22390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22391 $as_echo_n "checking for $wx_func... " >&6; }
22392 if eval \${wx_cv_func_$wx_func+:} false; then :
22393 $as_echo_n "(cached) " >&6
22394 else
22395
22396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22397 /* end confdefs.h. */
22398
22399
22400
22401 $ac_includes_default
22402
22403 int
22404 main ()
22405 {
22406
22407 #ifndef $wx_func
22408 &$wx_func;
22409 #endif
22410
22411
22412 ;
22413 return 0;
22414 }
22415
22416 _ACEOF
22417 if ac_fn_cxx_try_link "$LINENO"; then :
22418 eval wx_cv_func_$wx_func=yes
22419 else
22420 eval wx_cv_func_$wx_func=no
22421 fi
22422 rm -f core conftest.err conftest.$ac_objext \
22423 conftest$ac_exeext conftest.$ac_ext
22424
22425 fi
22426 eval ac_res=\$wx_cv_func_$wx_func
22427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22428 $as_echo "$ac_res" >&6; }
22429
22430 if eval test \$wx_cv_func_$wx_func = yes
22431 then
22432 cat >>confdefs.h <<_ACEOF
22433 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22434 _ACEOF
22435
22436
22437 else
22438 :
22439
22440 fi
22441 done
22442
22443 fi
22444 ac_ext=c
22445 ac_cpp='$CPP $CPPFLAGS'
22446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22449
22450
22451
22452
22453 if test "$wxUSE_REGEX" != "no"; then
22454 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22455
22456
22457 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22459 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22460 wxUSE_REGEX=builtin
22461 fi
22462
22463 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22464 ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
22465 "
22466 if test "x$ac_cv_header_regex_h" = xyes; then :
22467 for ac_func in regcomp re_search
22468 do :
22469 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22470 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22471 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22472 cat >>confdefs.h <<_ACEOF
22473 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22474 _ACEOF
22475
22476 fi
22477 done
22478
22479 fi
22480
22481
22482
22483 if test "x$ac_cv_func_regcomp" != "xyes"; then
22484 if test "$wxUSE_REGEX" = "sys" ; then
22485 as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22486 else
22487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22488 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22489 wxUSE_REGEX=builtin
22490 fi
22491 else
22492 wxUSE_REGEX=sys
22493 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22494
22495 fi
22496 fi
22497 fi
22498
22499
22500 ZLIB_LINK=
22501 if test "$wxUSE_ZLIB" != "no" ; then
22502 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22503
22504
22505 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22506 if test "$USE_DARWIN" = 1; then
22507 system_zlib_h_ok="yes"
22508 else
22509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22510 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22511 if ${ac_cv_header_zlib_h+:} false; then :
22512 $as_echo_n "(cached) " >&6
22513 else
22514 if test "$cross_compiling" = yes; then :
22515 unset ac_cv_header_zlib_h
22516
22517 else
22518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22519 /* end confdefs.h. */
22520
22521 #include <zlib.h>
22522 #include <stdio.h>
22523
22524 int main()
22525 {
22526 FILE *f=fopen("conftestval", "w");
22527 if (!f) exit(1);
22528 fprintf(f, "%s",
22529 ZLIB_VERSION[0] == '1' &&
22530 (ZLIB_VERSION[2] > '1' ||
22531 (ZLIB_VERSION[2] == '1' &&
22532 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22533 exit(0);
22534 }
22535
22536 _ACEOF
22537 if ac_fn_c_try_run "$LINENO"; then :
22538 ac_cv_header_zlib_h=`cat conftestval`
22539 else
22540 ac_cv_header_zlib_h=no
22541 fi
22542 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22543 conftest.$ac_objext conftest.beam conftest.$ac_ext
22544 fi
22545
22546
22547 fi
22548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22549 $as_echo "$ac_cv_header_zlib_h" >&6; }
22550 ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22551 "
22552 if test "x$ac_cv_header_zlib_h" = xyes; then :
22553
22554 fi
22555
22556
22557
22558 system_zlib_h_ok=$ac_cv_header_zlib_h
22559 fi
22560
22561 if test "$system_zlib_h_ok" = "yes"; then
22562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22563 $as_echo_n "checking for deflate in -lz... " >&6; }
22564 if ${ac_cv_lib_z_deflate+:} false; then :
22565 $as_echo_n "(cached) " >&6
22566 else
22567 ac_check_lib_save_LIBS=$LIBS
22568 LIBS="-lz $LIBS"
22569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22570 /* end confdefs.h. */
22571
22572 /* Override any GCC internal prototype to avoid an error.
22573 Use char because int might match the return type of a GCC
22574 builtin and then its argument prototype would still apply. */
22575 #ifdef __cplusplus
22576 extern "C"
22577 #endif
22578 char deflate ();
22579 int
22580 main ()
22581 {
22582 return deflate ();
22583 ;
22584 return 0;
22585 }
22586 _ACEOF
22587 if ac_fn_c_try_link "$LINENO"; then :
22588 ac_cv_lib_z_deflate=yes
22589 else
22590 ac_cv_lib_z_deflate=no
22591 fi
22592 rm -f core conftest.err conftest.$ac_objext \
22593 conftest$ac_exeext conftest.$ac_ext
22594 LIBS=$ac_check_lib_save_LIBS
22595 fi
22596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22597 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22598 if test "x$ac_cv_lib_z_deflate" = xyes; then :
22599 ZLIB_LINK=" -lz"
22600 fi
22601
22602 fi
22603
22604 if test "x$ZLIB_LINK" = "x" ; then
22605 if test "$wxUSE_ZLIB" = "sys" ; then
22606 as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22607 else
22608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22609 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22610 wxUSE_ZLIB=builtin
22611 fi
22612 else
22613 wxUSE_ZLIB=sys
22614 fi
22615 fi
22616 fi
22617
22618
22619 PNG_LINK=
22620 if test "$wxUSE_LIBPNG" != "no" ; then
22621 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22622
22623
22624 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22626 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22627 wxUSE_LIBPNG=builtin
22628 fi
22629
22630 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22632 $as_echo_n "checking for png.h > 0.90... " >&6; }
22633 if ${ac_cv_header_png_h+:} false; then :
22634 $as_echo_n "(cached) " >&6
22635 else
22636 if test "$cross_compiling" = yes; then :
22637 unset ac_cv_header_png_h
22638
22639 else
22640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22641 /* end confdefs.h. */
22642
22643 #include <png.h>
22644 #include <stdio.h>
22645
22646 int main()
22647 {
22648 FILE *f=fopen("conftestval", "w");
22649 if (!f) exit(1);
22650 fprintf(f, "%s",
22651 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22652 exit(0);
22653 }
22654
22655 _ACEOF
22656 if ac_fn_c_try_run "$LINENO"; then :
22657 ac_cv_header_png_h=`cat conftestval`
22658 else
22659 ac_cv_header_png_h=no
22660 fi
22661 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22662 conftest.$ac_objext conftest.beam conftest.$ac_ext
22663 fi
22664
22665
22666 fi
22667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22668 $as_echo "$ac_cv_header_png_h" >&6; }
22669 ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
22670 "
22671 if test "x$ac_cv_header_png_h" = xyes; then :
22672
22673 fi
22674
22675
22676
22677 if test "$ac_cv_header_png_h" = "yes"; then
22678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22679 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22680 if ${ac_cv_lib_png_png_sig_cmp+:} false; then :
22681 $as_echo_n "(cached) " >&6
22682 else
22683 ac_check_lib_save_LIBS=$LIBS
22684 LIBS="-lpng -lz -lm $LIBS"
22685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22686 /* end confdefs.h. */
22687
22688 /* Override any GCC internal prototype to avoid an error.
22689 Use char because int might match the return type of a GCC
22690 builtin and then its argument prototype would still apply. */
22691 #ifdef __cplusplus
22692 extern "C"
22693 #endif
22694 char png_sig_cmp ();
22695 int
22696 main ()
22697 {
22698 return png_sig_cmp ();
22699 ;
22700 return 0;
22701 }
22702 _ACEOF
22703 if ac_fn_c_try_link "$LINENO"; then :
22704 ac_cv_lib_png_png_sig_cmp=yes
22705 else
22706 ac_cv_lib_png_png_sig_cmp=no
22707 fi
22708 rm -f core conftest.err conftest.$ac_objext \
22709 conftest$ac_exeext conftest.$ac_ext
22710 LIBS=$ac_check_lib_save_LIBS
22711 fi
22712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22713 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22714 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes; then :
22715 PNG_LINK=" -lpng -lz"
22716 fi
22717
22718 fi
22719
22720 if test "x$PNG_LINK" = "x" ; then
22721 if test "$wxUSE_LIBPNG" = "sys" ; then
22722 as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22723 else
22724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22725 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22726 wxUSE_LIBPNG=builtin
22727 fi
22728 else
22729 wxUSE_LIBPNG=sys
22730 fi
22731 fi
22732 fi
22733
22734
22735 JPEG_LINK=
22736 if test "$wxUSE_LIBJPEG" != "no" ; then
22737 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22738
22739
22740 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22742 $as_echo_n "checking for jpeglib.h... " >&6; }
22743 if ${ac_cv_header_jpeglib_h+:} false; then :
22744 $as_echo_n "(cached) " >&6
22745 else
22746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22747 /* end confdefs.h. */
22748
22749 #undef HAVE_STDLIB_H
22750 #include <stdio.h>
22751 #include <jpeglib.h>
22752
22753 int
22754 main ()
22755 {
22756
22757
22758 ;
22759 return 0;
22760 }
22761 _ACEOF
22762 if ac_fn_c_try_compile "$LINENO"; then :
22763 ac_cv_header_jpeglib_h=yes
22764 else
22765 ac_cv_header_jpeglib_h=no
22766
22767 fi
22768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22769
22770 fi
22771
22772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22773 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22774
22775 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22777 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22778 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false; then :
22779 $as_echo_n "(cached) " >&6
22780 else
22781 ac_check_lib_save_LIBS=$LIBS
22782 LIBS="-ljpeg $LIBS"
22783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22784 /* end confdefs.h. */
22785
22786 /* Override any GCC internal prototype to avoid an error.
22787 Use char because int might match the return type of a GCC
22788 builtin and then its argument prototype would still apply. */
22789 #ifdef __cplusplus
22790 extern "C"
22791 #endif
22792 char jpeg_read_header ();
22793 int
22794 main ()
22795 {
22796 return jpeg_read_header ();
22797 ;
22798 return 0;
22799 }
22800 _ACEOF
22801 if ac_fn_c_try_link "$LINENO"; then :
22802 ac_cv_lib_jpeg_jpeg_read_header=yes
22803 else
22804 ac_cv_lib_jpeg_jpeg_read_header=no
22805 fi
22806 rm -f core conftest.err conftest.$ac_objext \
22807 conftest$ac_exeext conftest.$ac_ext
22808 LIBS=$ac_check_lib_save_LIBS
22809 fi
22810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22811 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22812 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes; then :
22813 JPEG_LINK=" -ljpeg"
22814 fi
22815
22816 fi
22817
22818 if test "x$JPEG_LINK" = "x" ; then
22819 if test "$wxUSE_LIBJPEG" = "sys" ; then
22820 as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22821 else
22822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22823 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22824 wxUSE_LIBJPEG=builtin
22825 fi
22826 else
22827 wxUSE_LIBJPEG=sys
22828
22829 if test "$wxUSE_MSW" = 1; then
22830 ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22831 "
22832 if test "x$ac_cv_type_boolean" = xyes; then :
22833
22834 cat >>confdefs.h <<_ACEOF
22835 #define HAVE_BOOLEAN 1
22836 _ACEOF
22837
22838
22839 # The cast to long int works around a bug in the HP C Compiler
22840 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22841 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22842 # This bug is HP SR number 8606223364.
22843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22844 $as_echo_n "checking size of boolean... " >&6; }
22845 if ${ac_cv_sizeof_boolean+:} false; then :
22846 $as_echo_n "(cached) " >&6
22847 else
22848 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22849 #undef HAVE_BOOLEAN
22850 #include <stdio.h>
22851 #include <jpeglib.h>
22852
22853 "; then :
22854
22855 else
22856 if test "$ac_cv_type_boolean" = yes; then
22857 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22858 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22859 as_fn_error 77 "cannot compute sizeof (boolean)
22860 See \`config.log' for more details" "$LINENO" 5; }
22861 else
22862 ac_cv_sizeof_boolean=0
22863 fi
22864 fi
22865
22866 fi
22867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22868 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22869
22870
22871
22872 cat >>confdefs.h <<_ACEOF
22873 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22874 _ACEOF
22875
22876
22877 cat >>confdefs.h <<_ACEOF
22878 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22879 _ACEOF
22880
22881
22882 fi
22883
22884 fi
22885 fi
22886 fi
22887 fi
22888
22889
22890 TIFF_LINK=
22891 TIFF_PREREQ_LINKS=-lm
22892 if test "$wxUSE_LIBTIFF" != "no" ; then
22893 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22894
22895
22896 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22897 if test "$wxUSE_LIBJPEG" = "sys"; then
22898 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22899 fi
22900 if test "$wxUSE_ZLIB" = "sys"; then
22901 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22902 fi
22903 ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22904
22905 "
22906 if test "x$ac_cv_header_tiffio_h" = xyes; then :
22907
22908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22909 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22910 if ${ac_cv_lib_tiff_TIFFError+:} false; then :
22911 $as_echo_n "(cached) " >&6
22912 else
22913 ac_check_lib_save_LIBS=$LIBS
22914 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22916 /* end confdefs.h. */
22917
22918 /* Override any GCC internal prototype to avoid an error.
22919 Use char because int might match the return type of a GCC
22920 builtin and then its argument prototype would still apply. */
22921 #ifdef __cplusplus
22922 extern "C"
22923 #endif
22924 char TIFFError ();
22925 int
22926 main ()
22927 {
22928 return TIFFError ();
22929 ;
22930 return 0;
22931 }
22932 _ACEOF
22933 if ac_fn_c_try_link "$LINENO"; then :
22934 ac_cv_lib_tiff_TIFFError=yes
22935 else
22936 ac_cv_lib_tiff_TIFFError=no
22937 fi
22938 rm -f core conftest.err conftest.$ac_objext \
22939 conftest$ac_exeext conftest.$ac_ext
22940 LIBS=$ac_check_lib_save_LIBS
22941 fi
22942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22943 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22944 if test "x$ac_cv_lib_tiff_TIFFError" = xyes; then :
22945 TIFF_LINK=" -ltiff"
22946 fi
22947
22948
22949 fi
22950
22951
22952
22953 if test "x$TIFF_LINK" = "x" ; then
22954 if test "$wxUSE_LIBTIFF" = "sys" ; then
22955 as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22956 else
22957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22958 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22959 wxUSE_LIBTIFF=builtin
22960 fi
22961 else
22962 wxUSE_LIBTIFF=sys
22963 fi
22964 fi
22965 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22966 if test "$wxUSE_LIBJPEG" = "no"; then
22967 ac_configure_args="$ac_configure_args --disable-jpeg"
22968 fi
22969
22970 if test "$wxUSE_LIBLZMA" = "yes"; then
22971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
22972 $as_echo_n "checking for lzma_code in -llzma... " >&6; }
22973 if ${ac_cv_lib_lzma_lzma_code+:} false; then :
22974 $as_echo_n "(cached) " >&6
22975 else
22976 ac_check_lib_save_LIBS=$LIBS
22977 LIBS="-llzma $LIBS"
22978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22979 /* end confdefs.h. */
22980
22981 /* Override any GCC internal prototype to avoid an error.
22982 Use char because int might match the return type of a GCC
22983 builtin and then its argument prototype would still apply. */
22984 #ifdef __cplusplus
22985 extern "C"
22986 #endif
22987 char lzma_code ();
22988 int
22989 main ()
22990 {
22991 return lzma_code ();
22992 ;
22993 return 0;
22994 }
22995 _ACEOF
22996 if ac_fn_c_try_link "$LINENO"; then :
22997 ac_cv_lib_lzma_lzma_code=yes
22998 else
22999 ac_cv_lib_lzma_lzma_code=no
23000 fi
23001 rm -f core conftest.err conftest.$ac_objext \
23002 conftest$ac_exeext conftest.$ac_ext
23003 LIBS=$ac_check_lib_save_LIBS
23004 fi
23005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
23006 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
23007 if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then :
23008 LIBS="$LIBS -llzma"
23009 fi
23010
23011 else
23012 ac_configure_args="$ac_configure_args --disable-lzma"
23013 fi
23014
23015 if test "$wxUSE_LIBJBIG" = "yes"; then
23016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jbg_dec_init in -ljbig" >&5
23017 $as_echo_n "checking for jbg_dec_init in -ljbig... " >&6; }
23018 if ${ac_cv_lib_jbig_jbg_dec_init+:} false; then :
23019 $as_echo_n "(cached) " >&6
23020 else
23021 ac_check_lib_save_LIBS=$LIBS
23022 LIBS="-ljbig $LIBS"
23023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23024 /* end confdefs.h. */
23025
23026 /* Override any GCC internal prototype to avoid an error.
23027 Use char because int might match the return type of a GCC
23028 builtin and then its argument prototype would still apply. */
23029 #ifdef __cplusplus
23030 extern "C"
23031 #endif
23032 char jbg_dec_init ();
23033 int
23034 main ()
23035 {
23036 return jbg_dec_init ();
23037 ;
23038 return 0;
23039 }
23040 _ACEOF
23041 if ac_fn_c_try_link "$LINENO"; then :
23042 ac_cv_lib_jbig_jbg_dec_init=yes
23043 else
23044 ac_cv_lib_jbig_jbg_dec_init=no
23045 fi
23046 rm -f core conftest.err conftest.$ac_objext \
23047 conftest$ac_exeext conftest.$ac_ext
23048 LIBS=$ac_check_lib_save_LIBS
23049 fi
23050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jbig_jbg_dec_init" >&5
23051 $as_echo "$ac_cv_lib_jbig_jbg_dec_init" >&6; }
23052 if test "x$ac_cv_lib_jbig_jbg_dec_init" = xyes; then :
23053 LIBS="$LIBS -ljbig"
23054 fi
23055
23056 else
23057 ac_configure_args="$ac_configure_args --disable-jbig"
23058 fi
23059
23060
23061
23062 subdirs="$subdirs src/tiff"
23063
23064 fi
23065 fi
23066
23067
23068 if test "$wxUSE_EXPAT" != "no"; then
23069 wxUSE_XML=yes
23070 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
23071
23072 $as_echo "#define wxUSE_XML 1" >>confdefs.h
23073
23074
23075 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23076 ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
23077 "
23078 if test "x$ac_cv_header_expat_h" = xyes; then :
23079 found_expat_h=1
23080 fi
23081
23082
23083 if test "x$found_expat_h" = "x1"; then
23084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
23085 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
23086 if ${wx_cv_expat_is_not_broken+:} false; then :
23087 $as_echo_n "(cached) " >&6
23088 else
23089
23090 ac_ext=cpp
23091 ac_cpp='$CXXCPP $CPPFLAGS'
23092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23095
23096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23097 /* end confdefs.h. */
23098 #include <expat.h>
23099 int
23100 main ()
23101 {
23102
23103 ;
23104 return 0;
23105 }
23106 _ACEOF
23107 if ac_fn_cxx_try_compile "$LINENO"; then :
23108 wx_cv_expat_is_not_broken=yes
23109 else
23110 wx_cv_expat_is_not_broken=no
23111
23112 fi
23113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23114 ac_ext=c
23115 ac_cpp='$CPP $CPPFLAGS'
23116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23119
23120
23121
23122 fi
23123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
23124 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
23125 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
23127 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
23128 if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then :
23129 $as_echo_n "(cached) " >&6
23130 else
23131 ac_check_lib_save_LIBS=$LIBS
23132 LIBS="-lexpat $LIBS"
23133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23134 /* end confdefs.h. */
23135
23136 /* Override any GCC internal prototype to avoid an error.
23137 Use char because int might match the return type of a GCC
23138 builtin and then its argument prototype would still apply. */
23139 #ifdef __cplusplus
23140 extern "C"
23141 #endif
23142 char XML_ParserCreate ();
23143 int
23144 main ()
23145 {
23146 return XML_ParserCreate ();
23147 ;
23148 return 0;
23149 }
23150 _ACEOF
23151 if ac_fn_c_try_link "$LINENO"; then :
23152 ac_cv_lib_expat_XML_ParserCreate=yes
23153 else
23154 ac_cv_lib_expat_XML_ParserCreate=no
23155 fi
23156 rm -f core conftest.err conftest.$ac_objext \
23157 conftest$ac_exeext conftest.$ac_ext
23158 LIBS=$ac_check_lib_save_LIBS
23159 fi
23160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23161 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
23162 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then :
23163 EXPAT_LINK=" -lexpat"
23164 fi
23165
23166 fi
23167 fi
23168 if test "x$EXPAT_LINK" = "x" ; then
23169 if test "$wxUSE_EXPAT" = "sys" ; then
23170 as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
23171 else
23172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
23173 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23174 wxUSE_EXPAT=builtin
23175 fi
23176 else
23177 wxUSE_EXPAT=sys
23178 fi
23179 fi
23180 if test "$wxUSE_EXPAT" = "builtin" ; then
23181 subdirs="$subdirs src/expat"
23182
23183 fi
23184 fi
23185
23186
23187
23188 if test "$wxUSE_LIBMSPACK" != "no"; then
23189 ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
23190 "
23191 if test "x$ac_cv_header_mspack_h" = xyes; then :
23192 found_mspack_h=1
23193 fi
23194
23195
23196 if test "x$found_mspack_h" = "x1"; then
23197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
23198 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
23199 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false; then :
23200 $as_echo_n "(cached) " >&6
23201 else
23202 ac_check_lib_save_LIBS=$LIBS
23203 LIBS="-lmspack $LIBS"
23204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23205 /* end confdefs.h. */
23206
23207 /* Override any GCC internal prototype to avoid an error.
23208 Use char because int might match the return type of a GCC
23209 builtin and then its argument prototype would still apply. */
23210 #ifdef __cplusplus
23211 extern "C"
23212 #endif
23213 char mspack_create_chm_decompressor ();
23214 int
23215 main ()
23216 {
23217 return mspack_create_chm_decompressor ();
23218 ;
23219 return 0;
23220 }
23221 _ACEOF
23222 if ac_fn_c_try_link "$LINENO"; then :
23223 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
23224 else
23225 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
23226 fi
23227 rm -f core conftest.err conftest.$ac_objext \
23228 conftest$ac_exeext conftest.$ac_ext
23229 LIBS=$ac_check_lib_save_LIBS
23230 fi
23231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23232 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
23233 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes; then :
23234 MSPACK_LINK=" -lmspack"
23235 fi
23236
23237 fi
23238 if test "x$MSPACK_LINK" = "x" ; then
23239 wxUSE_LIBMSPACK=no
23240 fi
23241 fi
23242
23243 if test "$wxUSE_LIBMSPACK" != "no"; then
23244 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23245
23246 fi
23247
23248
23249
23250 AFMINSTALL=
23251 WIN32INSTALL=
23252
23253 TOOLKIT=
23254 TOOLKIT_INCLUDE=
23255 WIDGET_SET=
23256
23257 if test "$USE_WIN32" = 1 ; then
23258 for ac_header in w32api.h
23259 do :
23260 ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23261 "
23262 if test "x$ac_cv_header_w32api_h" = xyes; then :
23263 cat >>confdefs.h <<_ACEOF
23264 #define HAVE_W32API_H 1
23265 _ACEOF
23266
23267 fi
23268
23269 done
23270
23271 ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
23272 "
23273 if test "x$ac_cv_header_windows_h" = xyes; then :
23274
23275 else
23276
23277 as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23278
23279 fi
23280
23281
23282
23283 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23284 case "${host}" in
23285 x86_64-*-mingw32* )
23286 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
23287 ;;
23288 esac
23289 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23290 LIBS="$LIBS -loleacc"
23291 fi
23292
23293 case "${host}" in
23294 *-*-cygwin* )
23295 LIBS="$LIBS -lkernel32 -luser32"
23296 esac
23297
23298 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23299 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
23300
23301 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23302
23303 WIN32INSTALL=win32install
23304 fi
23305
23306 if test "$wxUSE_GUI" = "yes"; then
23307 USE_GUI=1
23308
23309 GUI_TK_LIBRARY=
23310
23311 WXGTK1=
23312 WXGTK127=
23313 WXGTK2=
23314 WXGTK3=
23315 WXGPE=
23316
23317 if test "$wxUSE_OLD_COCOA" = 1 ; then
23318 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23320 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23321 wxUSE_PRINTING_ARCHITECTURE=no
23322 fi
23323 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23325 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23326 wxUSE_DRAG_AND_DROP=no
23327 fi
23328 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23330 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23331 wxUSE_DRAGIMAGE=no
23332 fi
23333 fi
23334
23335 if test "$wxUSE_MSW" = 1 ; then
23336 TOOLKIT=MSW
23337 GUIDIST=MSW_DIST
23338
23339 case "${host}" in
23340 *-*-mingw32* )
23341 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23342 esac
23343 fi
23344
23345 if test "$wxUSE_GTK" = 1; then
23346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23347 $as_echo_n "checking for GTK+ version... " >&6; }
23348
23349 gtk_version_cached=1
23350 if ${wx_cv_lib_gtk+:} false; then :
23351 $as_echo_n "(cached) " >&6
23352 else
23353
23354 gtk_version_cached=0
23355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23356 $as_echo "" >&6; }
23357
23358 GTK_MODULES=
23359 if test "$wxUSE_THREADS" = "yes"; then
23360 GTK_MODULES=gthread
23361 fi
23362
23363 if test -z "$wxGTK_VERSION"; then
23364 wxGTK_VERSION=any
23365 fi
23366
23367 wx_cv_lib_gtk=
23368 if test "x$wxGTK_VERSION" != "x1"
23369 then
23370 case "${host}" in
23371 *-*-solaris2* )
23372 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23373 enable_gtktest=no
23374 fi
23375 esac
23376
23377 if test "$wxGTK_VERSION" != 3; then
23378 # Check whether --enable-gtktest was given.
23379 if test "${enable_gtktest+set}" = set; then :
23380 enableval=$enable_gtktest;
23381 else
23382 enable_gtktest=yes
23383 fi
23384
23385
23386 pkg_config_args=gtk+-2.0
23387 for module in . $GTK_MODULES
23388 do
23389 case "$module" in
23390 gthread)
23391 pkg_config_args="$pkg_config_args gthread-2.0"
23392 ;;
23393 esac
23394 done
23395
23396 no_gtk=""
23397
23398 # Extract the first word of "pkg-config", so it can be a program name with args.
23399 set dummy pkg-config; ac_word=$2
23400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23401 $as_echo_n "checking for $ac_word... " >&6; }
23402 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23403 $as_echo_n "(cached) " >&6
23404 else
23405 case $PKG_CONFIG in
23406 [\\/]* | ?:[\\/]*)
23407 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23408 ;;
23409 *)
23410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23411 for as_dir in $PATH
23412 do
23413 IFS=$as_save_IFS
23414 test -z "$as_dir" && as_dir=.
23415 for ac_exec_ext in '' $ac_executable_extensions; do
23416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23417 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23419 break 2
23420 fi
23421 done
23422 done
23423 IFS=$as_save_IFS
23424
23425 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23426 ;;
23427 esac
23428 fi
23429 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23430 if test -n "$PKG_CONFIG"; then
23431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23432 $as_echo "$PKG_CONFIG" >&6; }
23433 else
23434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23435 $as_echo "no" >&6; }
23436 fi
23437
23438
23439
23440 if test x$PKG_CONFIG != xno ; then
23441 if pkg-config --atleast-pkgconfig-version 0.7 ; then
23442 :
23443 else
23444 echo "*** pkg-config too old; version 0.7 or better required."
23445 no_gtk=yes
23446 PKG_CONFIG=no
23447 fi
23448 else
23449 no_gtk=yes
23450 fi
23451
23452 min_gtk_version=2.6.0
23453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23454 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23455
23456 if test x$PKG_CONFIG != xno ; then
23457 ## don't try to run the test against uninstalled libtool libs
23458 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23459 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23460 enable_gtktest=no
23461 fi
23462
23463 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23464 :
23465 else
23466 no_gtk=yes
23467 fi
23468 fi
23469
23470 if test x"$no_gtk" = x ; then
23471 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23472 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23473 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23474 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23475 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23476 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23477 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23478 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23479 if test "x$enable_gtktest" = "xyes" ; then
23480 ac_save_CFLAGS="$CFLAGS"
23481 ac_save_LIBS="$LIBS"
23482 CFLAGS="$CFLAGS $GTK_CFLAGS"
23483 LIBS="$GTK_LIBS $LIBS"
23484 rm -f conf.gtktest
23485 if test "$cross_compiling" = yes; then :
23486 echo $ac_n "cross compiling; assumed OK... $ac_c"
23487 else
23488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23489 /* end confdefs.h. */
23490
23491 #include <gtk/gtk.h>
23492 #include <stdio.h>
23493 #include <stdlib.h>
23494
23495 int
23496 main ()
23497 {
23498 int major, minor, micro;
23499 char *tmp_version;
23500
23501 system ("touch conf.gtktest");
23502
23503 /* HP/UX 9 (%@#!) writes to sscanf strings */
23504 tmp_version = g_strdup("$min_gtk_version");
23505 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23506 printf("%s, bad version string\n", "$min_gtk_version");
23507 exit(1);
23508 }
23509
23510 if ((gtk_major_version != $gtk_config_major_version) ||
23511 (gtk_minor_version != $gtk_config_minor_version) ||
23512 (gtk_micro_version != $gtk_config_micro_version))
23513 {
23514 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23515 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23516 gtk_major_version, gtk_minor_version, gtk_micro_version);
23517 printf ("*** was found! If pkg-config was correct, then it is best\n");
23518 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23519 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23520 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23521 printf("*** required on your system.\n");
23522 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23523 printf("*** to point to the correct configuration files\n");
23524 }
23525 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23526 (gtk_minor_version != GTK_MINOR_VERSION) ||
23527 (gtk_micro_version != GTK_MICRO_VERSION))
23528 {
23529 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23530 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23531 printf("*** library (version %d.%d.%d)\n",
23532 gtk_major_version, gtk_minor_version, gtk_micro_version);
23533 }
23534 else
23535 {
23536 if ((gtk_major_version > major) ||
23537 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23538 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23539 {
23540 return 0;
23541 }
23542 else
23543 {
23544 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23545 gtk_major_version, gtk_minor_version, gtk_micro_version);
23546 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23547 major, minor, micro);
23548 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23549 printf("***\n");
23550 printf("*** If you have already installed a sufficiently new version, this error\n");
23551 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23552 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23553 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23554 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23555 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23556 printf("*** so that the correct libraries are found at run-time))\n");
23557 }
23558 }
23559 return 1;
23560 }
23561
23562 _ACEOF
23563 if ac_fn_c_try_run "$LINENO"; then :
23564
23565 else
23566 no_gtk=yes
23567 fi
23568 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23569 conftest.$ac_objext conftest.beam conftest.$ac_ext
23570 fi
23571
23572 CFLAGS="$ac_save_CFLAGS"
23573 LIBS="$ac_save_LIBS"
23574 fi
23575 fi
23576 if test "x$no_gtk" = x ; then
23577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23578 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23579 wx_cv_lib_gtk=2.0
23580 else
23581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23582 $as_echo "no" >&6; }
23583 if test "$PKG_CONFIG" = "no" ; then
23584 echo "*** A new enough version of pkg-config was not found."
23585 echo "*** See http://pkgconfig.sourceforge.net"
23586 else
23587 if test -f conf.gtktest ; then
23588 :
23589 else
23590 echo "*** Could not run GTK+ test program, checking why..."
23591 ac_save_CFLAGS="$CFLAGS"
23592 ac_save_LIBS="$LIBS"
23593 CFLAGS="$CFLAGS $GTK_CFLAGS"
23594 LIBS="$LIBS $GTK_LIBS"
23595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23596 /* end confdefs.h. */
23597
23598 #include <gtk/gtk.h>
23599 #include <stdio.h>
23600
23601 int
23602 main ()
23603 {
23604 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23605 ;
23606 return 0;
23607 }
23608 _ACEOF
23609 if ac_fn_c_try_link "$LINENO"; then :
23610 echo "*** The test program compiled, but did not run. This usually means"
23611 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23612 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23613 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23614 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23615 echo "*** is required on your system"
23616 echo "***"
23617 echo "*** If you have an old version installed, it is best to remove it, although"
23618 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23619 else
23620 echo "*** The test program failed to compile or link. See the file config.log for the"
23621 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23622 fi
23623 rm -f core conftest.err conftest.$ac_objext \
23624 conftest$ac_exeext conftest.$ac_ext
23625 CFLAGS="$ac_save_CFLAGS"
23626 LIBS="$ac_save_LIBS"
23627 fi
23628 fi
23629 GTK_CFLAGS=""
23630 GTK_LIBS=""
23631 :
23632 fi
23633
23634
23635 rm -f conf.gtktest
23636
23637 fi
23638 if test -z "$wx_cv_lib_gtk"; then
23639 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then
23640 # Check whether --enable-gtktest was given.
23641 if test "${enable_gtktest+set}" = set; then :
23642 enableval=$enable_gtktest;
23643 else
23644 enable_gtktest=yes
23645 fi
23646
23647
23648 pkg_config_args=gtk+-3.0
23649 for module in . $GTK_MODULES
23650 do
23651 case "$module" in
23652 gthread)
23653 pkg_config_args="$pkg_config_args gthread-2.0"
23654 ;;
23655 esac
23656 done
23657
23658 no_gtk=""
23659
23660 # Extract the first word of "pkg-config", so it can be a program name with args.
23661 set dummy pkg-config; ac_word=$2
23662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23663 $as_echo_n "checking for $ac_word... " >&6; }
23664 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23665 $as_echo_n "(cached) " >&6
23666 else
23667 case $PKG_CONFIG in
23668 [\\/]* | ?:[\\/]*)
23669 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23670 ;;
23671 *)
23672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23673 for as_dir in $PATH
23674 do
23675 IFS=$as_save_IFS
23676 test -z "$as_dir" && as_dir=.
23677 for ac_exec_ext in '' $ac_executable_extensions; do
23678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23679 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23681 break 2
23682 fi
23683 done
23684 done
23685 IFS=$as_save_IFS
23686
23687 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23688 ;;
23689 esac
23690 fi
23691 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23692 if test -n "$PKG_CONFIG"; then
23693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23694 $as_echo "$PKG_CONFIG" >&6; }
23695 else
23696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23697 $as_echo "no" >&6; }
23698 fi
23699
23700
23701
23702 if test x$PKG_CONFIG != xno ; then
23703 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23704 :
23705 else
23706 echo "*** pkg-config too old; version 0.7 or better required."
23707 no_gtk=yes
23708 PKG_CONFIG=no
23709 fi
23710 else
23711 no_gtk=yes
23712 fi
23713
23714 min_gtk_version=3.0.0
23715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23716 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23717
23718 if test x$PKG_CONFIG != xno ; then
23719 ## don't try to run the test against uninstalled libtool libs
23720 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23721 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23722 enable_gtktest=no
23723 fi
23724
23725 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23726 :
23727 else
23728 no_gtk=yes
23729 fi
23730 fi
23731
23732 if test x"$no_gtk" = x ; then
23733 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23734 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23735 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23736 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23737 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23738 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23739 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23740 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23741 if test "x$enable_gtktest" = "xyes" ; then
23742 ac_save_CFLAGS="$CFLAGS"
23743 ac_save_LIBS="$LIBS"
23744 CFLAGS="$CFLAGS $GTK_CFLAGS"
23745 LIBS="$GTK_LIBS $LIBS"
23746 rm -f conf.gtktest
23747 if test "$cross_compiling" = yes; then :
23748 echo $ac_n "cross compiling; assumed OK... $ac_c"
23749 else
23750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23751 /* end confdefs.h. */
23752
23753 #include <gtk/gtk.h>
23754 #include <stdio.h>
23755 #include <stdlib.h>
23756
23757 int
23758 main ()
23759 {
23760 int major, minor, micro;
23761 char *tmp_version;
23762
23763 fclose (fopen ("conf.gtktest", "w"));
23764
23765 /* HP/UX 9 (%@#!) writes to sscanf strings */
23766 tmp_version = g_strdup("$min_gtk_version");
23767 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23768 printf("%s, bad version string\n", "$min_gtk_version");
23769 exit(1);
23770 }
23771
23772 if ((gtk_major_version != $gtk_config_major_version) ||
23773 (gtk_minor_version != $gtk_config_minor_version) ||
23774 (gtk_micro_version != $gtk_config_micro_version))
23775 {
23776 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23777 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23778 gtk_major_version, gtk_minor_version, gtk_micro_version);
23779 printf ("*** was found! If pkg-config was correct, then it is best\n");
23780 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23781 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23782 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23783 printf("*** required on your system.\n");
23784 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23785 printf("*** to point to the correct configuration files\n");
23786 }
23787 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23788 (gtk_minor_version != GTK_MINOR_VERSION) ||
23789 (gtk_micro_version != GTK_MICRO_VERSION))
23790 {
23791 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23792 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23793 printf("*** library (version %d.%d.%d)\n",
23794 gtk_major_version, gtk_minor_version, gtk_micro_version);
23795 }
23796 else
23797 {
23798 if ((gtk_major_version > major) ||
23799 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23800 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23801 {
23802 return 0;
23803 }
23804 else
23805 {
23806 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23807 gtk_major_version, gtk_minor_version, gtk_micro_version);
23808 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23809 major, minor, micro);
23810 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23811 printf("***\n");
23812 printf("*** If you have already installed a sufficiently new version, this error\n");
23813 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23814 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23815 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23816 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23817 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23818 printf("*** so that the correct libraries are found at run-time))\n");
23819 }
23820 }
23821 return 1;
23822 }
23823
23824 _ACEOF
23825 if ac_fn_c_try_run "$LINENO"; then :
23826
23827 else
23828 no_gtk=yes
23829 fi
23830 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23831 conftest.$ac_objext conftest.beam conftest.$ac_ext
23832 fi
23833
23834 CFLAGS="$ac_save_CFLAGS"
23835 LIBS="$ac_save_LIBS"
23836 fi
23837 fi
23838 if test "x$no_gtk" = x ; then
23839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23840 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23841 wx_cv_lib_gtk=3
23842 else
23843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23844 $as_echo "no" >&6; }
23845 if test "$PKG_CONFIG" = "no" ; then
23846 echo "*** A new enough version of pkg-config was not found."
23847 echo "*** See http://pkgconfig.sourceforge.net"
23848 else
23849 if test -f conf.gtktest ; then
23850 :
23851 else
23852 echo "*** Could not run GTK+ test program, checking why..."
23853 ac_save_CFLAGS="$CFLAGS"
23854 ac_save_LIBS="$LIBS"
23855 CFLAGS="$CFLAGS $GTK_CFLAGS"
23856 LIBS="$LIBS $GTK_LIBS"
23857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23858 /* end confdefs.h. */
23859
23860 #include <gtk/gtk.h>
23861 #include <stdio.h>
23862
23863 int
23864 main ()
23865 {
23866 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23867 ;
23868 return 0;
23869 }
23870 _ACEOF
23871 if ac_fn_c_try_link "$LINENO"; then :
23872 echo "*** The test program compiled, but did not run. This usually means"
23873 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23874 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23875 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23876 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23877 echo "*** is required on your system"
23878 echo "***"
23879 echo "*** If you have an old version installed, it is best to remove it, although"
23880 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23881 else
23882 echo "*** The test program failed to compile or link. See the file config.log for the"
23883 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23884 fi
23885 rm -f core conftest.err conftest.$ac_objext \
23886 conftest$ac_exeext conftest.$ac_ext
23887 CFLAGS="$ac_save_CFLAGS"
23888 LIBS="$ac_save_LIBS"
23889 fi
23890 fi
23891 GTK_CFLAGS=""
23892 GTK_LIBS=""
23893 :
23894 fi
23895
23896
23897 rm -f conf.gtktest
23898
23899 fi
23900 fi
23901 fi
23902
23903 if test -z "$wx_cv_lib_gtk"; then
23904 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23905
23906 # Check whether --with-gtk-prefix was given.
23907 if test "${with_gtk_prefix+set}" = set; then :
23908 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23909 else
23910 gtk_config_prefix=""
23911 fi
23912
23913
23914 # Check whether --with-gtk-exec-prefix was given.
23915 if test "${with_gtk_exec_prefix+set}" = set; then :
23916 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23917 else
23918 gtk_config_exec_prefix=""
23919 fi
23920
23921 # Check whether --enable-gtktest was given.
23922 if test "${enable_gtktest+set}" = set; then :
23923 enableval=$enable_gtktest;
23924 else
23925 enable_gtktest=yes
23926 fi
23927
23928
23929 for module in . $GTK_MODULES
23930 do
23931 case "$module" in
23932 gthread)
23933 gtk_config_args="$gtk_config_args gthread"
23934 ;;
23935 esac
23936 done
23937
23938 if test x$gtk_config_exec_prefix != x ; then
23939 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23940 if test x${GTK_CONFIG+set} != xset ; then
23941 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23942 fi
23943 fi
23944 if test x$gtk_config_prefix != x ; then
23945 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23946 if test x${GTK_CONFIG+set} != xset ; then
23947 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23948 fi
23949 fi
23950
23951 # Extract the first word of "gtk-config", so it can be a program name with args.
23952 set dummy gtk-config; ac_word=$2
23953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23954 $as_echo_n "checking for $ac_word... " >&6; }
23955 if ${ac_cv_path_GTK_CONFIG+:} false; then :
23956 $as_echo_n "(cached) " >&6
23957 else
23958 case $GTK_CONFIG in
23959 [\\/]* | ?:[\\/]*)
23960 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23961 ;;
23962 *)
23963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23964 for as_dir in $PATH
23965 do
23966 IFS=$as_save_IFS
23967 test -z "$as_dir" && as_dir=.
23968 for ac_exec_ext in '' $ac_executable_extensions; do
23969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23970 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23972 break 2
23973 fi
23974 done
23975 done
23976 IFS=$as_save_IFS
23977
23978 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23979 ;;
23980 esac
23981 fi
23982 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23983 if test -n "$GTK_CONFIG"; then
23984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23985 $as_echo "$GTK_CONFIG" >&6; }
23986 else
23987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23988 $as_echo "no" >&6; }
23989 fi
23990
23991
23992 min_gtk_version=1.2.7
23993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23994 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23995 no_gtk=""
23996 if test "$GTK_CONFIG" = "no" ; then
23997 no_gtk=yes
23998 else
23999 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24000 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24001 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24002 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24003 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24004 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24005 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24006 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24007 if test "x$enable_gtktest" = "xyes" ; then
24008 ac_save_CFLAGS="$CFLAGS"
24009 ac_save_LIBS="$LIBS"
24010 CFLAGS="$CFLAGS $GTK_CFLAGS"
24011 LIBS="$GTK_LIBS $LIBS"
24012 rm -f conf.gtktest
24013 if test "$cross_compiling" = yes; then :
24014 echo $ac_n "cross compiling; assumed OK... $ac_c"
24015 else
24016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24017 /* end confdefs.h. */
24018
24019 #include <gtk/gtk.h>
24020 #include <stdio.h>
24021 #include <stdlib.h>
24022
24023 int
24024 main ()
24025 {
24026 int major, minor, micro;
24027 char *tmp_version;
24028
24029 system ("touch conf.gtktest");
24030
24031 /* HP/UX 9 (%@#!) writes to sscanf strings */
24032 tmp_version = g_strdup("$min_gtk_version");
24033 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24034 printf("%s, bad version string\n", "$min_gtk_version");
24035 exit(1);
24036 }
24037
24038 if ((gtk_major_version != $gtk_config_major_version) ||
24039 (gtk_minor_version != $gtk_config_minor_version) ||
24040 (gtk_micro_version != $gtk_config_micro_version))
24041 {
24042 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24043 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24044 gtk_major_version, gtk_minor_version, gtk_micro_version);
24045 printf ("*** was found! If gtk-config was correct, then it is best\n");
24046 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24047 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24048 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24049 printf("*** required on your system.\n");
24050 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24051 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24052 printf("*** before re-running configure\n");
24053 }
24054 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24055 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24056 (gtk_minor_version != GTK_MINOR_VERSION) ||
24057 (gtk_micro_version != GTK_MICRO_VERSION))
24058 {
24059 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24060 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24061 printf("*** library (version %d.%d.%d)\n",
24062 gtk_major_version, gtk_minor_version, gtk_micro_version);
24063 }
24064 #endif /* defined (GTK_MAJOR_VERSION) ... */
24065 else
24066 {
24067 if ((gtk_major_version > major) ||
24068 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24069 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24070 {
24071 return 0;
24072 }
24073 else
24074 {
24075 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24076 gtk_major_version, gtk_minor_version, gtk_micro_version);
24077 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24078 major, minor, micro);
24079 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24080 printf("***\n");
24081 printf("*** If you have already installed a sufficiently new version, this error\n");
24082 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24083 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24084 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24085 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24086 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24087 printf("*** so that the correct libraries are found at run-time))\n");
24088 }
24089 }
24090 return 1;
24091 }
24092
24093 _ACEOF
24094 if ac_fn_c_try_run "$LINENO"; then :
24095
24096 else
24097 no_gtk=yes
24098 fi
24099 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24100 conftest.$ac_objext conftest.beam conftest.$ac_ext
24101 fi
24102
24103 CFLAGS="$ac_save_CFLAGS"
24104 LIBS="$ac_save_LIBS"
24105 fi
24106 fi
24107 if test "x$no_gtk" = x ; then
24108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24109 $as_echo "yes" >&6; }
24110 wx_cv_lib_gtk=1.2.7
24111 else
24112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24113 $as_echo "no" >&6; }
24114 if test "$GTK_CONFIG" = "no" ; then
24115 echo "*** The gtk-config script installed by GTK could not be found"
24116 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24117 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24118 echo "*** full path to gtk-config."
24119 else
24120 if test -f conf.gtktest ; then
24121 :
24122 else
24123 echo "*** Could not run GTK test program, checking why..."
24124 CFLAGS="$CFLAGS $GTK_CFLAGS"
24125 LIBS="$LIBS $GTK_LIBS"
24126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24127 /* end confdefs.h. */
24128
24129 #include <gtk/gtk.h>
24130 #include <stdio.h>
24131
24132 int
24133 main ()
24134 {
24135 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24136 ;
24137 return 0;
24138 }
24139 _ACEOF
24140 if ac_fn_c_try_link "$LINENO"; then :
24141 echo "*** The test program compiled, but did not run. This usually means"
24142 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24143 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24144 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24145 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24146 echo "*** is required on your system"
24147 echo "***"
24148 echo "*** If you have an old version installed, it is best to remove it, although"
24149 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24150 echo "***"
24151 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24152 echo "*** came with the system with the command"
24153 echo "***"
24154 echo "*** rpm --erase --nodeps gtk gtk-devel"
24155 else
24156 echo "*** The test program failed to compile or link. See the file config.log for the"
24157 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24158 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24159 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24160 fi
24161 rm -f core conftest.err conftest.$ac_objext \
24162 conftest$ac_exeext conftest.$ac_ext
24163 CFLAGS="$ac_save_CFLAGS"
24164 LIBS="$ac_save_LIBS"
24165 fi
24166 fi
24167 GTK_CFLAGS=""
24168 GTK_LIBS=""
24169 :
24170 fi
24171
24172
24173 rm -f conf.gtktest
24174
24175
24176 if test -z "$wx_cv_lib_gtk"; then
24177
24178 # Check whether --with-gtk-prefix was given.
24179 if test "${with_gtk_prefix+set}" = set; then :
24180 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
24181 else
24182 gtk_config_prefix=""
24183 fi
24184
24185
24186 # Check whether --with-gtk-exec-prefix was given.
24187 if test "${with_gtk_exec_prefix+set}" = set; then :
24188 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
24189 else
24190 gtk_config_exec_prefix=""
24191 fi
24192
24193 # Check whether --enable-gtktest was given.
24194 if test "${enable_gtktest+set}" = set; then :
24195 enableval=$enable_gtktest;
24196 else
24197 enable_gtktest=yes
24198 fi
24199
24200
24201 for module in . $GTK_MODULES
24202 do
24203 case "$module" in
24204 gthread)
24205 gtk_config_args="$gtk_config_args gthread"
24206 ;;
24207 esac
24208 done
24209
24210 if test x$gtk_config_exec_prefix != x ; then
24211 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24212 if test x${GTK_CONFIG+set} != xset ; then
24213 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24214 fi
24215 fi
24216 if test x$gtk_config_prefix != x ; then
24217 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24218 if test x${GTK_CONFIG+set} != xset ; then
24219 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24220 fi
24221 fi
24222
24223 # Extract the first word of "gtk-config", so it can be a program name with args.
24224 set dummy gtk-config; ac_word=$2
24225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24226 $as_echo_n "checking for $ac_word... " >&6; }
24227 if ${ac_cv_path_GTK_CONFIG+:} false; then :
24228 $as_echo_n "(cached) " >&6
24229 else
24230 case $GTK_CONFIG in
24231 [\\/]* | ?:[\\/]*)
24232 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24233 ;;
24234 *)
24235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24236 for as_dir in $PATH
24237 do
24238 IFS=$as_save_IFS
24239 test -z "$as_dir" && as_dir=.
24240 for ac_exec_ext in '' $ac_executable_extensions; do
24241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24242 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24244 break 2
24245 fi
24246 done
24247 done
24248 IFS=$as_save_IFS
24249
24250 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24251 ;;
24252 esac
24253 fi
24254 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24255 if test -n "$GTK_CONFIG"; then
24256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24257 $as_echo "$GTK_CONFIG" >&6; }
24258 else
24259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24260 $as_echo "no" >&6; }
24261 fi
24262
24263
24264 min_gtk_version=1.2.3
24265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24266 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24267 no_gtk=""
24268 if test "$GTK_CONFIG" = "no" ; then
24269 no_gtk=yes
24270 else
24271 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24272 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24273 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24274 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24275 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24276 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24277 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24278 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24279 if test "x$enable_gtktest" = "xyes" ; then
24280 ac_save_CFLAGS="$CFLAGS"
24281 ac_save_LIBS="$LIBS"
24282 CFLAGS="$CFLAGS $GTK_CFLAGS"
24283 LIBS="$GTK_LIBS $LIBS"
24284 rm -f conf.gtktest
24285 if test "$cross_compiling" = yes; then :
24286 echo $ac_n "cross compiling; assumed OK... $ac_c"
24287 else
24288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24289 /* end confdefs.h. */
24290
24291 #include <gtk/gtk.h>
24292 #include <stdio.h>
24293 #include <stdlib.h>
24294
24295 int
24296 main ()
24297 {
24298 int major, minor, micro;
24299 char *tmp_version;
24300
24301 system ("touch conf.gtktest");
24302
24303 /* HP/UX 9 (%@#!) writes to sscanf strings */
24304 tmp_version = g_strdup("$min_gtk_version");
24305 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24306 printf("%s, bad version string\n", "$min_gtk_version");
24307 exit(1);
24308 }
24309
24310 if ((gtk_major_version != $gtk_config_major_version) ||
24311 (gtk_minor_version != $gtk_config_minor_version) ||
24312 (gtk_micro_version != $gtk_config_micro_version))
24313 {
24314 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24315 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24316 gtk_major_version, gtk_minor_version, gtk_micro_version);
24317 printf ("*** was found! If gtk-config was correct, then it is best\n");
24318 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24319 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24320 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24321 printf("*** required on your system.\n");
24322 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24323 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24324 printf("*** before re-running configure\n");
24325 }
24326 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24327 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24328 (gtk_minor_version != GTK_MINOR_VERSION) ||
24329 (gtk_micro_version != GTK_MICRO_VERSION))
24330 {
24331 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24332 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24333 printf("*** library (version %d.%d.%d)\n",
24334 gtk_major_version, gtk_minor_version, gtk_micro_version);
24335 }
24336 #endif /* defined (GTK_MAJOR_VERSION) ... */
24337 else
24338 {
24339 if ((gtk_major_version > major) ||
24340 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24341 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24342 {
24343 return 0;
24344 }
24345 else
24346 {
24347 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24348 gtk_major_version, gtk_minor_version, gtk_micro_version);
24349 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24350 major, minor, micro);
24351 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24352 printf("***\n");
24353 printf("*** If you have already installed a sufficiently new version, this error\n");
24354 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24355 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24356 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24357 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24358 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24359 printf("*** so that the correct libraries are found at run-time))\n");
24360 }
24361 }
24362 return 1;
24363 }
24364
24365 _ACEOF
24366 if ac_fn_c_try_run "$LINENO"; then :
24367
24368 else
24369 no_gtk=yes
24370 fi
24371 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24372 conftest.$ac_objext conftest.beam conftest.$ac_ext
24373 fi
24374
24375 CFLAGS="$ac_save_CFLAGS"
24376 LIBS="$ac_save_LIBS"
24377 fi
24378 fi
24379 if test "x$no_gtk" = x ; then
24380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24381 $as_echo "yes" >&6; }
24382 wx_cv_lib_gtk=1.2.3
24383 else
24384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24385 $as_echo "no" >&6; }
24386 if test "$GTK_CONFIG" = "no" ; then
24387 echo "*** The gtk-config script installed by GTK could not be found"
24388 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24389 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24390 echo "*** full path to gtk-config."
24391 else
24392 if test -f conf.gtktest ; then
24393 :
24394 else
24395 echo "*** Could not run GTK test program, checking why..."
24396 CFLAGS="$CFLAGS $GTK_CFLAGS"
24397 LIBS="$LIBS $GTK_LIBS"
24398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24399 /* end confdefs.h. */
24400
24401 #include <gtk/gtk.h>
24402 #include <stdio.h>
24403
24404 int
24405 main ()
24406 {
24407 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24408 ;
24409 return 0;
24410 }
24411 _ACEOF
24412 if ac_fn_c_try_link "$LINENO"; then :
24413 echo "*** The test program compiled, but did not run. This usually means"
24414 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24415 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24416 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24417 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24418 echo "*** is required on your system"
24419 echo "***"
24420 echo "*** If you have an old version installed, it is best to remove it, although"
24421 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24422 echo "***"
24423 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24424 echo "*** came with the system with the command"
24425 echo "***"
24426 echo "*** rpm --erase --nodeps gtk gtk-devel"
24427 else
24428 echo "*** The test program failed to compile or link. See the file config.log for the"
24429 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24430 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24431 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24432 fi
24433 rm -f core conftest.err conftest.$ac_objext \
24434 conftest$ac_exeext conftest.$ac_ext
24435 CFLAGS="$ac_save_CFLAGS"
24436 LIBS="$ac_save_LIBS"
24437 fi
24438 fi
24439 GTK_CFLAGS=""
24440 GTK_LIBS=""
24441 :
24442 fi
24443
24444
24445 rm -f conf.gtktest
24446
24447 fi
24448 fi
24449 fi
24450
24451 if test -z "$wx_cv_lib_gtk"; then
24452 wx_cv_lib_gtk=none
24453 else
24454 GTK_LIBS="$GTK_LIBS -lX11"
24455
24456 wx_cv_cflags_gtk=$GTK_CFLAGS
24457 wx_cv_libs_gtk=$GTK_LIBS
24458 fi
24459
24460
24461 fi
24462
24463
24464 if test "$gtk_version_cached" = 1; then
24465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24466 $as_echo "$wx_cv_lib_gtk" >&6; }
24467 fi
24468
24469 case "$wx_cv_lib_gtk" in
24470 3) WXGTK3=1
24471 TOOLKIT_VERSION=3
24472 ;;
24473 2.0) WXGTK2=1
24474 TOOLKIT_VERSION=2
24475 ;;
24476 1.2.7) WXGTK127=1
24477 WXGTK1=1
24478 ;;
24479 1.2*) WXGTK1=1 ;;
24480 *) as_fn_error $? "
24481 The development files for GTK+ were not found. For GTK+ 2, please
24482 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24483 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24484 and that the version is 1.2.3 or above. Also check that the
24485 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24486 --libs' are in the LD_LIBRARY_PATH or equivalent.
24487 " "$LINENO" 5
24488 ;;
24489 esac
24490
24491 if test "$WXGTK3" = 1; then
24492 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24493
24494 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24495
24496 elif test "$WXGTK2" = 1; then
24497 save_CFLAGS="$CFLAGS"
24498 save_LIBS="$LIBS"
24499 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
24500 LIBS="$LIBS $wx_cv_libs_gtk"
24501
24502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24503 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24505 /* end confdefs.h. */
24506
24507 #include <gtk/gtk.h>
24508
24509 int
24510 main ()
24511 {
24512
24513 #if !GTK_CHECK_VERSION(2,18,0)
24514 Not GTK+ 2.18
24515 #endif
24516
24517 ;
24518 return 0;
24519 }
24520 _ACEOF
24521 if ac_fn_c_try_compile "$LINENO"; then :
24522
24523 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24524
24525 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24526
24527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24528 $as_echo "yes" >&6; }
24529 ac_wxgtk218=1
24530
24531 else
24532
24533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24534 $as_echo "no" >&6; }
24535 ac_wxgtk218=0
24536
24537 fi
24538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24539
24540 if test "$ac_wxgtk218" = 0; then
24541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24542 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24544 /* end confdefs.h. */
24545
24546 #include <gtk/gtk.h>
24547
24548 int
24549 main ()
24550 {
24551
24552 #if !GTK_CHECK_VERSION(2,10,0)
24553 Not GTK+ 2.10
24554 #endif
24555
24556 ;
24557 return 0;
24558 }
24559 _ACEOF
24560 if ac_fn_c_try_compile "$LINENO"; then :
24561
24562 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24563
24564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24565 $as_echo "yes" >&6; }
24566 ac_wxgtk210=1
24567
24568 else
24569
24570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24571 $as_echo "no" >&6; }
24572 ac_wxgtk210=0
24573
24574 fi
24575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24576 fi
24577
24578 CFLAGS="$save_CFLAGS"
24579 LIBS="$save_LIBS"
24580 else
24581 if test "$wxUSE_UNICODE" = "yes"; then
24582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24583 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24584 wxUSE_UNICODE=no
24585 fi
24586
24587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24588 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24589 if ${ac_cv_lib_gdk_gdk_im_open+:} false; then :
24590 $as_echo_n "(cached) " >&6
24591 else
24592 ac_check_lib_save_LIBS=$LIBS
24593 LIBS="-lgdk $LIBS"
24594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24595 /* end confdefs.h. */
24596
24597 /* Override any GCC internal prototype to avoid an error.
24598 Use char because int might match the return type of a GCC
24599 builtin and then its argument prototype would still apply. */
24600 #ifdef __cplusplus
24601 extern "C"
24602 #endif
24603 char gdk_im_open ();
24604 int
24605 main ()
24606 {
24607 return gdk_im_open ();
24608 ;
24609 return 0;
24610 }
24611 _ACEOF
24612 if ac_fn_c_try_link "$LINENO"; then :
24613 ac_cv_lib_gdk_gdk_im_open=yes
24614 else
24615 ac_cv_lib_gdk_gdk_im_open=no
24616 fi
24617 rm -f core conftest.err conftest.$ac_objext \
24618 conftest$ac_exeext conftest.$ac_ext
24619 LIBS=$ac_check_lib_save_LIBS
24620 fi
24621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24622 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24623 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes; then :
24624 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24625
24626 fi
24627
24628
24629 if test "$USE_DARWIN" != 1; then
24630 for ac_func in poll
24631 do :
24632 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
24633 if test "x$ac_cv_func_poll" = xyes; then :
24634 cat >>confdefs.h <<_ACEOF
24635 #define HAVE_POLL 1
24636 _ACEOF
24637
24638 fi
24639 done
24640
24641 fi
24642 fi
24643
24644 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24645 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24646 AFMINSTALL=afminstall
24647 TOOLKIT=GTK
24648 GUIDIST=GTK_DIST
24649
24650 if test "$wxUSE_GPE" = "yes"; then
24651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24652 $as_echo_n "checking for gpewidget library... " >&6; }
24653
24654 ac_find_libraries=
24655 for ac_dir in $SEARCH_LIB
24656 do
24657 for ac_extension in a so sl dylib dll.a; do
24658 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24659 ac_find_libraries=$ac_dir
24660 break 2
24661 fi
24662 done
24663 done
24664
24665 if test "$ac_find_libraries" != "" ; then
24666
24667 if test "$ac_find_libraries" = "default location"; then
24668 ac_path_to_link=""
24669 else
24670 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24671 result=$?
24672 if test $result = 0; then
24673 ac_path_to_link=""
24674 else
24675 ac_path_to_link=" -L$ac_find_libraries"
24676 fi
24677 fi
24678
24679 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24680 WXGPE=1
24681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24682 $as_echo "found in $ac_find_libraries" >&6; }
24683 else
24684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24685 $as_echo "not found" >&6; }
24686 fi
24687
24688 fi
24689 fi
24690
24691 if test "$wxUSE_DFB" = 1; then
24692
24693
24694 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24695 if test -n "$ac_tool_prefix"; then
24696 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24697 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24699 $as_echo_n "checking for $ac_word... " >&6; }
24700 if ${ac_cv_path_PKG_CONFIG+:} false; then :
24701 $as_echo_n "(cached) " >&6
24702 else
24703 case $PKG_CONFIG in
24704 [\\/]* | ?:[\\/]*)
24705 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24706 ;;
24707 *)
24708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24709 for as_dir in $PATH
24710 do
24711 IFS=$as_save_IFS
24712 test -z "$as_dir" && as_dir=.
24713 for ac_exec_ext in '' $ac_executable_extensions; do
24714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24715 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24717 break 2
24718 fi
24719 done
24720 done
24721 IFS=$as_save_IFS
24722
24723 ;;
24724 esac
24725 fi
24726 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24727 if test -n "$PKG_CONFIG"; then
24728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24729 $as_echo "$PKG_CONFIG" >&6; }
24730 else
24731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24732 $as_echo "no" >&6; }
24733 fi
24734
24735
24736 fi
24737 if test -z "$ac_cv_path_PKG_CONFIG"; then
24738 ac_pt_PKG_CONFIG=$PKG_CONFIG
24739 # Extract the first word of "pkg-config", so it can be a program name with args.
24740 set dummy pkg-config; ac_word=$2
24741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24742 $as_echo_n "checking for $ac_word... " >&6; }
24743 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
24744 $as_echo_n "(cached) " >&6
24745 else
24746 case $ac_pt_PKG_CONFIG in
24747 [\\/]* | ?:[\\/]*)
24748 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24749 ;;
24750 *)
24751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24752 for as_dir in $PATH
24753 do
24754 IFS=$as_save_IFS
24755 test -z "$as_dir" && as_dir=.
24756 for ac_exec_ext in '' $ac_executable_extensions; do
24757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24758 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24760 break 2
24761 fi
24762 done
24763 done
24764 IFS=$as_save_IFS
24765
24766 ;;
24767 esac
24768 fi
24769 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24770 if test -n "$ac_pt_PKG_CONFIG"; then
24771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24772 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24773 else
24774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24775 $as_echo "no" >&6; }
24776 fi
24777
24778 if test "x$ac_pt_PKG_CONFIG" = x; then
24779 PKG_CONFIG=""
24780 else
24781 case $cross_compiling:$ac_tool_warned in
24782 yes:)
24783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24785 ac_tool_warned=yes ;;
24786 esac
24787 PKG_CONFIG=$ac_pt_PKG_CONFIG
24788 fi
24789 else
24790 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24791 fi
24792
24793 fi
24794 if test -n "$PKG_CONFIG"; then
24795 _pkg_min_version=0.9.0
24796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24797 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24798 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24800 $as_echo "yes" >&6; }
24801 else
24802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24803 $as_echo "no" >&6; }
24804 PKG_CONFIG=""
24805 fi
24806
24807 fi
24808
24809
24810 pkg_failed=no
24811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24812 $as_echo_n "checking for DIRECTFB... " >&6; }
24813
24814 if test -n "$PKG_CONFIG"; then
24815 if test -n "$DIRECTFB_CFLAGS"; then
24816 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24817 else
24818 if test -n "$PKG_CONFIG" && \
24819 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24820 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24821 ac_status=$?
24822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24823 test $ac_status = 0; }; then
24824 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24825 else
24826 pkg_failed=yes
24827 fi
24828 fi
24829 else
24830 pkg_failed=untried
24831 fi
24832 if test -n "$PKG_CONFIG"; then
24833 if test -n "$DIRECTFB_LIBS"; then
24834 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24835 else
24836 if test -n "$PKG_CONFIG" && \
24837 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24838 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24839 ac_status=$?
24840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24841 test $ac_status = 0; }; then
24842 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24843 else
24844 pkg_failed=yes
24845 fi
24846 fi
24847 else
24848 pkg_failed=untried
24849 fi
24850
24851
24852
24853 if test $pkg_failed = yes; then
24854
24855 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24856 _pkg_short_errors_supported=yes
24857 else
24858 _pkg_short_errors_supported=no
24859 fi
24860 if test $_pkg_short_errors_supported = yes; then
24861 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24862 else
24863 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24864 fi
24865 # Put the nasty error message in config.log where it belongs
24866 echo "$DIRECTFB_PKG_ERRORS" >&5
24867
24868
24869 as_fn_error $? "DirectFB not found." "$LINENO" 5
24870
24871
24872 elif test $pkg_failed = untried; then
24873
24874 as_fn_error $? "DirectFB not found." "$LINENO" 5
24875
24876
24877 else
24878 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24879 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24881 $as_echo "yes" >&6; }
24882
24883 wxUSE_UNIVERSAL="yes"
24884 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
24885 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
24886 TOOLKIT=DFB
24887 GUIDIST=DFB_DIST
24888
24889 fi
24890 fi
24891
24892 if test "$wxUSE_MICROWIN" = 1; then
24893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24894 $as_echo_n "checking for MicroWindows... " >&6; }
24895 if test "x$MICROWINDOWS" = x ; then
24896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24897 $as_echo "not found" >&6; }
24898 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24899 else
24900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24901 $as_echo "$MICROWINDOWS" >&6; }
24902 fi
24903
24904 if test -f $MICROWINDOWS/lib/libmwin.a; then
24905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24906 $as_echo "MicroWindows' libraries found." >&6; }
24907 else
24908 as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24909 fi
24910
24911 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24912 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24913
24914 wxUSE_UNIVERSAL="yes"
24915
24916 AFMINSTALL=afminstall
24917 TOOLKIT=MICROWIN
24918 GUIDIST=MICROWIN_DIST
24919
24920 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24921 fi
24922
24923 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24925 $as_echo_n "checking for X... " >&6; }
24926
24927
24928 # Check whether --with-x was given.
24929 if test "${with_x+set}" = set; then :
24930 withval=$with_x;
24931 fi
24932
24933 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24934 if test "x$with_x" = xno; then
24935 # The user explicitly disabled X.
24936 have_x=disabled
24937 else
24938 case $x_includes,$x_libraries in #(
24939 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24940 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
24941 $as_echo_n "(cached) " >&6
24942 else
24943 # One or both of the vars are not set, and there is no cached value.
24944 ac_x_includes=no ac_x_libraries=no
24945 rm -f -r conftest.dir
24946 if mkdir conftest.dir; then
24947 cd conftest.dir
24948 cat >Imakefile <<'_ACEOF'
24949 incroot:
24950 @echo incroot='${INCROOT}'
24951 usrlibdir:
24952 @echo usrlibdir='${USRLIBDIR}'
24953 libdir:
24954 @echo libdir='${LIBDIR}'
24955 _ACEOF
24956 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24957 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24958 for ac_var in incroot usrlibdir libdir; do
24959 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24960 done
24961 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24962 for ac_extension in a so sl dylib la dll; do
24963 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24964 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24965 ac_im_usrlibdir=$ac_im_libdir; break
24966 fi
24967 done
24968 # Screen out bogus values from the imake configuration. They are
24969 # bogus both because they are the default anyway, and because
24970 # using them would break gcc on systems where it needs fixed includes.
24971 case $ac_im_incroot in
24972 /usr/include) ac_x_includes= ;;
24973 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24974 esac
24975 case $ac_im_usrlibdir in
24976 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24977 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24978 esac
24979 fi
24980 cd ..
24981 rm -f -r conftest.dir
24982 fi
24983
24984 # Standard set of common directories for X headers.
24985 # Check X11 before X11Rn because it is often a symlink to the current release.
24986 ac_x_header_dirs='
24987 /usr/X11/include
24988 /usr/X11R7/include
24989 /usr/X11R6/include
24990 /usr/X11R5/include
24991 /usr/X11R4/include
24992
24993 /usr/include/X11
24994 /usr/include/X11R7
24995 /usr/include/X11R6
24996 /usr/include/X11R5
24997 /usr/include/X11R4
24998
24999 /usr/local/X11/include
25000 /usr/local/X11R7/include
25001 /usr/local/X11R6/include
25002 /usr/local/X11R5/include
25003 /usr/local/X11R4/include
25004
25005 /usr/local/include/X11
25006 /usr/local/include/X11R7
25007 /usr/local/include/X11R6
25008 /usr/local/include/X11R5
25009 /usr/local/include/X11R4
25010
25011 /usr/X386/include
25012 /usr/x386/include
25013 /usr/XFree86/include/X11
25014
25015 /usr/include
25016 /usr/local/include
25017 /usr/unsupported/include
25018 /usr/athena/include
25019 /usr/local/x11r5/include
25020 /usr/lpp/Xamples/include
25021
25022 /usr/openwin/include
25023 /usr/openwin/share/include'
25024
25025 if test "$ac_x_includes" = no; then
25026 # Guess where to find include files, by looking for Xlib.h.
25027 # First, try using that file with no special directory specified.
25028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25029 /* end confdefs.h. */
25030 #include <X11/Xlib.h>
25031 _ACEOF
25032 if ac_fn_c_try_cpp "$LINENO"; then :
25033 # We can compile using X headers with no special include directory.
25034 ac_x_includes=
25035 else
25036 for ac_dir in $ac_x_header_dirs; do
25037 if test -r "$ac_dir/X11/Xlib.h"; then
25038 ac_x_includes=$ac_dir
25039 break
25040 fi
25041 done
25042 fi
25043 rm -f conftest.err conftest.i conftest.$ac_ext
25044 fi # $ac_x_includes = no
25045
25046 if test "$ac_x_libraries" = no; then
25047 # Check for the libraries.
25048 # See if we find them without any special options.
25049 # Don't add to $LIBS permanently.
25050 ac_save_LIBS=$LIBS
25051 LIBS="-lX11 $LIBS"
25052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25053 /* end confdefs.h. */
25054 #include <X11/Xlib.h>
25055 int
25056 main ()
25057 {
25058 XrmInitialize ()
25059 ;
25060 return 0;
25061 }
25062 _ACEOF
25063 if ac_fn_c_try_link "$LINENO"; then :
25064 LIBS=$ac_save_LIBS
25065 # We can link X programs with no special library path.
25066 ac_x_libraries=
25067 else
25068 LIBS=$ac_save_LIBS
25069 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25070 do
25071 # Don't even attempt the hair of trying to link an X program!
25072 for ac_extension in a so sl dylib la dll; do
25073 if test -r "$ac_dir/libX11.$ac_extension"; then
25074 ac_x_libraries=$ac_dir
25075 break 2
25076 fi
25077 done
25078 done
25079 fi
25080 rm -f core conftest.err conftest.$ac_objext \
25081 conftest$ac_exeext conftest.$ac_ext
25082 fi # $ac_x_libraries = no
25083
25084 case $ac_x_includes,$ac_x_libraries in #(
25085 no,* | *,no | *\'*)
25086 # Didn't find X, or a directory has "'" in its name.
25087 ac_cv_have_x="have_x=no";; #(
25088 *)
25089 # Record where we found X for the cache.
25090 ac_cv_have_x="have_x=yes\
25091 ac_x_includes='$ac_x_includes'\
25092 ac_x_libraries='$ac_x_libraries'"
25093 esac
25094 fi
25095 ;; #(
25096 *) have_x=yes;;
25097 esac
25098 eval "$ac_cv_have_x"
25099 fi # $with_x != no
25100
25101 if test "$have_x" != yes; then
25102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25103 $as_echo "$have_x" >&6; }
25104 no_x=yes
25105 else
25106 # If each of the values was on the command line, it overrides each guess.
25107 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25108 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25109 # Update the cache value to reflect the command line values.
25110 ac_cv_have_x="have_x=yes\
25111 ac_x_includes='$x_includes'\
25112 ac_x_libraries='$x_libraries'"
25113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25114 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25115 fi
25116
25117 if test "$no_x" = yes; then
25118 # Not all programs may use this symbol, but it does not hurt to define it.
25119
25120 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25121
25122 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25123 else
25124 if test -n "$x_includes"; then
25125 X_CFLAGS="$X_CFLAGS -I$x_includes"
25126 fi
25127
25128 # It would also be nice to do this for all -L options, not just this one.
25129 if test -n "$x_libraries"; then
25130 X_LIBS="$X_LIBS -L$x_libraries"
25131 # For Solaris; some versions of Sun CC require a space after -R and
25132 # others require no space. Words are not sufficient . . . .
25133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25134 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
25135 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25136 ac_xsave_c_werror_flag=$ac_c_werror_flag
25137 ac_c_werror_flag=yes
25138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25139 /* end confdefs.h. */
25140
25141 int
25142 main ()
25143 {
25144
25145 ;
25146 return 0;
25147 }
25148 _ACEOF
25149 if ac_fn_c_try_link "$LINENO"; then :
25150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25151 $as_echo "no" >&6; }
25152 X_LIBS="$X_LIBS -R$x_libraries"
25153 else
25154 LIBS="$ac_xsave_LIBS -R $x_libraries"
25155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25156 /* end confdefs.h. */
25157
25158 int
25159 main ()
25160 {
25161
25162 ;
25163 return 0;
25164 }
25165 _ACEOF
25166 if ac_fn_c_try_link "$LINENO"; then :
25167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25168 $as_echo "yes" >&6; }
25169 X_LIBS="$X_LIBS -R $x_libraries"
25170 else
25171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25172 $as_echo "neither works" >&6; }
25173 fi
25174 rm -f core conftest.err conftest.$ac_objext \
25175 conftest$ac_exeext conftest.$ac_ext
25176 fi
25177 rm -f core conftest.err conftest.$ac_objext \
25178 conftest$ac_exeext conftest.$ac_ext
25179 ac_c_werror_flag=$ac_xsave_c_werror_flag
25180 LIBS=$ac_xsave_LIBS
25181 fi
25182
25183 # Check for system-dependent libraries X programs must link with.
25184 # Do this before checking for the system-independent R6 libraries
25185 # (-lICE), since we may need -lsocket or whatever for X linking.
25186
25187 if test "$ISC" = yes; then
25188 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25189 else
25190 # Martyn Johnson says this is needed for Ultrix, if the X
25191 # libraries were built with DECnet support. And Karl Berry says
25192 # the Alpha needs dnet_stub (dnet does not exist).
25193 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25195 /* end confdefs.h. */
25196
25197 /* Override any GCC internal prototype to avoid an error.
25198 Use char because int might match the return type of a GCC
25199 builtin and then its argument prototype would still apply. */
25200 #ifdef __cplusplus
25201 extern "C"
25202 #endif
25203 char XOpenDisplay ();
25204 int
25205 main ()
25206 {
25207 return XOpenDisplay ();
25208 ;
25209 return 0;
25210 }
25211 _ACEOF
25212 if ac_fn_c_try_link "$LINENO"; then :
25213
25214 else
25215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25216 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25217 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
25218 $as_echo_n "(cached) " >&6
25219 else
25220 ac_check_lib_save_LIBS=$LIBS
25221 LIBS="-ldnet $LIBS"
25222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25223 /* end confdefs.h. */
25224
25225 /* Override any GCC internal prototype to avoid an error.
25226 Use char because int might match the return type of a GCC
25227 builtin and then its argument prototype would still apply. */
25228 #ifdef __cplusplus
25229 extern "C"
25230 #endif
25231 char dnet_ntoa ();
25232 int
25233 main ()
25234 {
25235 return dnet_ntoa ();
25236 ;
25237 return 0;
25238 }
25239 _ACEOF
25240 if ac_fn_c_try_link "$LINENO"; then :
25241 ac_cv_lib_dnet_dnet_ntoa=yes
25242 else
25243 ac_cv_lib_dnet_dnet_ntoa=no
25244 fi
25245 rm -f core conftest.err conftest.$ac_objext \
25246 conftest$ac_exeext conftest.$ac_ext
25247 LIBS=$ac_check_lib_save_LIBS
25248 fi
25249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25250 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25251 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
25252 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25253 fi
25254
25255 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25257 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25258 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
25259 $as_echo_n "(cached) " >&6
25260 else
25261 ac_check_lib_save_LIBS=$LIBS
25262 LIBS="-ldnet_stub $LIBS"
25263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25264 /* end confdefs.h. */
25265
25266 /* Override any GCC internal prototype to avoid an error.
25267 Use char because int might match the return type of a GCC
25268 builtin and then its argument prototype would still apply. */
25269 #ifdef __cplusplus
25270 extern "C"
25271 #endif
25272 char dnet_ntoa ();
25273 int
25274 main ()
25275 {
25276 return dnet_ntoa ();
25277 ;
25278 return 0;
25279 }
25280 _ACEOF
25281 if ac_fn_c_try_link "$LINENO"; then :
25282 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25283 else
25284 ac_cv_lib_dnet_stub_dnet_ntoa=no
25285 fi
25286 rm -f core conftest.err conftest.$ac_objext \
25287 conftest$ac_exeext conftest.$ac_ext
25288 LIBS=$ac_check_lib_save_LIBS
25289 fi
25290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25291 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25292 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
25293 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25294 fi
25295
25296 fi
25297 fi
25298 rm -f core conftest.err conftest.$ac_objext \
25299 conftest$ac_exeext conftest.$ac_ext
25300 LIBS="$ac_xsave_LIBS"
25301
25302 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25303 # to get the SysV transport functions.
25304 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25305 # needs -lnsl.
25306 # The nsl library prevents programs from opening the X display
25307 # on Irix 5.2, according to T.E. Dickey.
25308 # The functions gethostbyname, getservbyname, and inet_addr are
25309 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25310 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25311 if test "x$ac_cv_func_gethostbyname" = xyes; then :
25312
25313 fi
25314
25315 if test $ac_cv_func_gethostbyname = no; then
25316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25317 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25318 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
25319 $as_echo_n "(cached) " >&6
25320 else
25321 ac_check_lib_save_LIBS=$LIBS
25322 LIBS="-lnsl $LIBS"
25323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25324 /* end confdefs.h. */
25325
25326 /* Override any GCC internal prototype to avoid an error.
25327 Use char because int might match the return type of a GCC
25328 builtin and then its argument prototype would still apply. */
25329 #ifdef __cplusplus
25330 extern "C"
25331 #endif
25332 char gethostbyname ();
25333 int
25334 main ()
25335 {
25336 return gethostbyname ();
25337 ;
25338 return 0;
25339 }
25340 _ACEOF
25341 if ac_fn_c_try_link "$LINENO"; then :
25342 ac_cv_lib_nsl_gethostbyname=yes
25343 else
25344 ac_cv_lib_nsl_gethostbyname=no
25345 fi
25346 rm -f core conftest.err conftest.$ac_objext \
25347 conftest$ac_exeext conftest.$ac_ext
25348 LIBS=$ac_check_lib_save_LIBS
25349 fi
25350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25351 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25352 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
25353 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25354 fi
25355
25356 if test $ac_cv_lib_nsl_gethostbyname = no; then
25357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25358 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25359 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
25360 $as_echo_n "(cached) " >&6
25361 else
25362 ac_check_lib_save_LIBS=$LIBS
25363 LIBS="-lbsd $LIBS"
25364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25365 /* end confdefs.h. */
25366
25367 /* Override any GCC internal prototype to avoid an error.
25368 Use char because int might match the return type of a GCC
25369 builtin and then its argument prototype would still apply. */
25370 #ifdef __cplusplus
25371 extern "C"
25372 #endif
25373 char gethostbyname ();
25374 int
25375 main ()
25376 {
25377 return gethostbyname ();
25378 ;
25379 return 0;
25380 }
25381 _ACEOF
25382 if ac_fn_c_try_link "$LINENO"; then :
25383 ac_cv_lib_bsd_gethostbyname=yes
25384 else
25385 ac_cv_lib_bsd_gethostbyname=no
25386 fi
25387 rm -f core conftest.err conftest.$ac_objext \
25388 conftest$ac_exeext conftest.$ac_ext
25389 LIBS=$ac_check_lib_save_LIBS
25390 fi
25391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25392 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25393 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
25394 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25395 fi
25396
25397 fi
25398 fi
25399
25400 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25401 # socket/setsockopt and other routines are undefined under SCO ODT
25402 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25403 # on later versions), says Simon Leinen: it contains gethostby*
25404 # variants that don't use the name server (or something). -lsocket
25405 # must be given before -lnsl if both are needed. We assume that
25406 # if connect needs -lnsl, so does gethostbyname.
25407 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25408 if test "x$ac_cv_func_connect" = xyes; then :
25409
25410 fi
25411
25412 if test $ac_cv_func_connect = no; then
25413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25414 $as_echo_n "checking for connect in -lsocket... " >&6; }
25415 if ${ac_cv_lib_socket_connect+:} false; then :
25416 $as_echo_n "(cached) " >&6
25417 else
25418 ac_check_lib_save_LIBS=$LIBS
25419 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25421 /* end confdefs.h. */
25422
25423 /* Override any GCC internal prototype to avoid an error.
25424 Use char because int might match the return type of a GCC
25425 builtin and then its argument prototype would still apply. */
25426 #ifdef __cplusplus
25427 extern "C"
25428 #endif
25429 char connect ();
25430 int
25431 main ()
25432 {
25433 return connect ();
25434 ;
25435 return 0;
25436 }
25437 _ACEOF
25438 if ac_fn_c_try_link "$LINENO"; then :
25439 ac_cv_lib_socket_connect=yes
25440 else
25441 ac_cv_lib_socket_connect=no
25442 fi
25443 rm -f core conftest.err conftest.$ac_objext \
25444 conftest$ac_exeext conftest.$ac_ext
25445 LIBS=$ac_check_lib_save_LIBS
25446 fi
25447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25448 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25449 if test "x$ac_cv_lib_socket_connect" = xyes; then :
25450 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25451 fi
25452
25453 fi
25454
25455 # Guillermo Gomez says -lposix is necessary on A/UX.
25456 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25457 if test "x$ac_cv_func_remove" = xyes; then :
25458
25459 fi
25460
25461 if test $ac_cv_func_remove = no; then
25462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25463 $as_echo_n "checking for remove in -lposix... " >&6; }
25464 if ${ac_cv_lib_posix_remove+:} false; then :
25465 $as_echo_n "(cached) " >&6
25466 else
25467 ac_check_lib_save_LIBS=$LIBS
25468 LIBS="-lposix $LIBS"
25469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25470 /* end confdefs.h. */
25471
25472 /* Override any GCC internal prototype to avoid an error.
25473 Use char because int might match the return type of a GCC
25474 builtin and then its argument prototype would still apply. */
25475 #ifdef __cplusplus
25476 extern "C"
25477 #endif
25478 char remove ();
25479 int
25480 main ()
25481 {
25482 return remove ();
25483 ;
25484 return 0;
25485 }
25486 _ACEOF
25487 if ac_fn_c_try_link "$LINENO"; then :
25488 ac_cv_lib_posix_remove=yes
25489 else
25490 ac_cv_lib_posix_remove=no
25491 fi
25492 rm -f core conftest.err conftest.$ac_objext \
25493 conftest$ac_exeext conftest.$ac_ext
25494 LIBS=$ac_check_lib_save_LIBS
25495 fi
25496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25497 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25498 if test "x$ac_cv_lib_posix_remove" = xyes; then :
25499 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25500 fi
25501
25502 fi
25503
25504 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25505 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25506 if test "x$ac_cv_func_shmat" = xyes; then :
25507
25508 fi
25509
25510 if test $ac_cv_func_shmat = no; then
25511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25512 $as_echo_n "checking for shmat in -lipc... " >&6; }
25513 if ${ac_cv_lib_ipc_shmat+:} false; then :
25514 $as_echo_n "(cached) " >&6
25515 else
25516 ac_check_lib_save_LIBS=$LIBS
25517 LIBS="-lipc $LIBS"
25518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25519 /* end confdefs.h. */
25520
25521 /* Override any GCC internal prototype to avoid an error.
25522 Use char because int might match the return type of a GCC
25523 builtin and then its argument prototype would still apply. */
25524 #ifdef __cplusplus
25525 extern "C"
25526 #endif
25527 char shmat ();
25528 int
25529 main ()
25530 {
25531 return shmat ();
25532 ;
25533 return 0;
25534 }
25535 _ACEOF
25536 if ac_fn_c_try_link "$LINENO"; then :
25537 ac_cv_lib_ipc_shmat=yes
25538 else
25539 ac_cv_lib_ipc_shmat=no
25540 fi
25541 rm -f core conftest.err conftest.$ac_objext \
25542 conftest$ac_exeext conftest.$ac_ext
25543 LIBS=$ac_check_lib_save_LIBS
25544 fi
25545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25546 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25547 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
25548 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25549 fi
25550
25551 fi
25552 fi
25553
25554 # Check for libraries that X11R6 Xt/Xaw programs need.
25555 ac_save_LDFLAGS=$LDFLAGS
25556 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25557 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25558 # check for ICE first), but we must link in the order -lSM -lICE or
25559 # we get undefined symbols. So assume we have SM if we have ICE.
25560 # These have to be linked with before -lX11, unlike the other
25561 # libraries we check for below, so use a different variable.
25562 # John Interrante, Karl Berry
25563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25564 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25565 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
25566 $as_echo_n "(cached) " >&6
25567 else
25568 ac_check_lib_save_LIBS=$LIBS
25569 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25571 /* end confdefs.h. */
25572
25573 /* Override any GCC internal prototype to avoid an error.
25574 Use char because int might match the return type of a GCC
25575 builtin and then its argument prototype would still apply. */
25576 #ifdef __cplusplus
25577 extern "C"
25578 #endif
25579 char IceConnectionNumber ();
25580 int
25581 main ()
25582 {
25583 return IceConnectionNumber ();
25584 ;
25585 return 0;
25586 }
25587 _ACEOF
25588 if ac_fn_c_try_link "$LINENO"; then :
25589 ac_cv_lib_ICE_IceConnectionNumber=yes
25590 else
25591 ac_cv_lib_ICE_IceConnectionNumber=no
25592 fi
25593 rm -f core conftest.err conftest.$ac_objext \
25594 conftest$ac_exeext conftest.$ac_ext
25595 LIBS=$ac_check_lib_save_LIBS
25596 fi
25597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25598 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25599 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
25600 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25601 fi
25602
25603 LDFLAGS=$ac_save_LDFLAGS
25604
25605 fi
25606
25607
25608 if test "$no_x" = "yes"; then
25609 as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25610 fi
25611
25612 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25613 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25614 AFMINSTALL=afminstall
25615 COMPILED_X_PROGRAM=0
25616
25617 fi
25618
25619 if test "$wxUSE_X11" = 1; then
25620 if test "$wxUSE_NANOX" = "yes"; then
25621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25622 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25623 if test "x$MICROWIN" = x ; then
25624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25625 $as_echo "not found" >&6; }
25626 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25627 else
25628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25629 $as_echo "$MICROWIN" >&6; }
25630 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25631
25632 fi
25633 fi
25634
25635 if test "$wxUSE_UNICODE" = "yes"; then
25636
25637
25638 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25639 if test -n "$ac_tool_prefix"; then
25640 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25641 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25643 $as_echo_n "checking for $ac_word... " >&6; }
25644 if ${ac_cv_path_PKG_CONFIG+:} false; then :
25645 $as_echo_n "(cached) " >&6
25646 else
25647 case $PKG_CONFIG in
25648 [\\/]* | ?:[\\/]*)
25649 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25650 ;;
25651 *)
25652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25653 for as_dir in $PATH
25654 do
25655 IFS=$as_save_IFS
25656 test -z "$as_dir" && as_dir=.
25657 for ac_exec_ext in '' $ac_executable_extensions; do
25658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25659 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25661 break 2
25662 fi
25663 done
25664 done
25665 IFS=$as_save_IFS
25666
25667 ;;
25668 esac
25669 fi
25670 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25671 if test -n "$PKG_CONFIG"; then
25672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25673 $as_echo "$PKG_CONFIG" >&6; }
25674 else
25675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25676 $as_echo "no" >&6; }
25677 fi
25678
25679
25680 fi
25681 if test -z "$ac_cv_path_PKG_CONFIG"; then
25682 ac_pt_PKG_CONFIG=$PKG_CONFIG
25683 # Extract the first word of "pkg-config", so it can be a program name with args.
25684 set dummy pkg-config; ac_word=$2
25685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25686 $as_echo_n "checking for $ac_word... " >&6; }
25687 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
25688 $as_echo_n "(cached) " >&6
25689 else
25690 case $ac_pt_PKG_CONFIG in
25691 [\\/]* | ?:[\\/]*)
25692 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25693 ;;
25694 *)
25695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25696 for as_dir in $PATH
25697 do
25698 IFS=$as_save_IFS
25699 test -z "$as_dir" && as_dir=.
25700 for ac_exec_ext in '' $ac_executable_extensions; do
25701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25702 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25704 break 2
25705 fi
25706 done
25707 done
25708 IFS=$as_save_IFS
25709
25710 ;;
25711 esac
25712 fi
25713 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25714 if test -n "$ac_pt_PKG_CONFIG"; then
25715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25716 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25717 else
25718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25719 $as_echo "no" >&6; }
25720 fi
25721
25722 if test "x$ac_pt_PKG_CONFIG" = x; then
25723 PKG_CONFIG=""
25724 else
25725 case $cross_compiling:$ac_tool_warned in
25726 yes:)
25727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25729 ac_tool_warned=yes ;;
25730 esac
25731 PKG_CONFIG=$ac_pt_PKG_CONFIG
25732 fi
25733 else
25734 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25735 fi
25736
25737 fi
25738 if test -n "$PKG_CONFIG"; then
25739 _pkg_min_version=0.9.0
25740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25741 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25742 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25744 $as_echo "yes" >&6; }
25745 else
25746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25747 $as_echo "no" >&6; }
25748 PKG_CONFIG=""
25749 fi
25750
25751 fi
25752
25753
25754 pkg_failed=no
25755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25756 $as_echo_n "checking for PANGOX... " >&6; }
25757
25758 if test -n "$PKG_CONFIG"; then
25759 if test -n "$PANGOX_CFLAGS"; then
25760 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
25761 else
25762 if test -n "$PKG_CONFIG" && \
25763 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25764 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25765 ac_status=$?
25766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25767 test $ac_status = 0; }; then
25768 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25769 else
25770 pkg_failed=yes
25771 fi
25772 fi
25773 else
25774 pkg_failed=untried
25775 fi
25776 if test -n "$PKG_CONFIG"; then
25777 if test -n "$PANGOX_LIBS"; then
25778 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
25779 else
25780 if test -n "$PKG_CONFIG" && \
25781 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25782 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25783 ac_status=$?
25784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25785 test $ac_status = 0; }; then
25786 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25787 else
25788 pkg_failed=yes
25789 fi
25790 fi
25791 else
25792 pkg_failed=untried
25793 fi
25794
25795
25796
25797 if test $pkg_failed = yes; then
25798
25799 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25800 _pkg_short_errors_supported=yes
25801 else
25802 _pkg_short_errors_supported=no
25803 fi
25804 if test $_pkg_short_errors_supported = yes; then
25805 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25806 else
25807 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25808 fi
25809 # Put the nasty error message in config.log where it belongs
25810 echo "$PANGOX_PKG_ERRORS" >&5
25811
25812
25813 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25814
25815
25816 elif test $pkg_failed = untried; then
25817
25818 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25819
25820
25821 else
25822 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
25823 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
25824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25825 $as_echo "yes" >&6; }
25826
25827 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
25828 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
25829 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25830
25831 fi
25832
25833 pkg_failed=no
25834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25835 $as_echo_n "checking for PANGOFT2... " >&6; }
25836
25837 if test -n "$PKG_CONFIG"; then
25838 if test -n "$PANGOFT2_CFLAGS"; then
25839 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
25840 else
25841 if test -n "$PKG_CONFIG" && \
25842 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25843 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25844 ac_status=$?
25845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25846 test $ac_status = 0; }; then
25847 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25848 else
25849 pkg_failed=yes
25850 fi
25851 fi
25852 else
25853 pkg_failed=untried
25854 fi
25855 if test -n "$PKG_CONFIG"; then
25856 if test -n "$PANGOFT2_LIBS"; then
25857 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
25858 else
25859 if test -n "$PKG_CONFIG" && \
25860 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25861 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25862 ac_status=$?
25863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25864 test $ac_status = 0; }; then
25865 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25866 else
25867 pkg_failed=yes
25868 fi
25869 fi
25870 else
25871 pkg_failed=untried
25872 fi
25873
25874
25875
25876 if test $pkg_failed = yes; then
25877
25878 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25879 _pkg_short_errors_supported=yes
25880 else
25881 _pkg_short_errors_supported=no
25882 fi
25883 if test $_pkg_short_errors_supported = yes; then
25884 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25885 else
25886 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25887 fi
25888 # Put the nasty error message in config.log where it belongs
25889 echo "$PANGOFT2_PKG_ERRORS" >&5
25890
25891
25892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25893 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25894 wxUSE_PRINTING_ARCHITECTURE="no"
25895
25896
25897 elif test $pkg_failed = untried; then
25898
25899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25900 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25901 wxUSE_PRINTING_ARCHITECTURE="no"
25902
25903
25904 else
25905 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
25906 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
25907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25908 $as_echo "yes" >&6; }
25909
25910 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
25911 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
25912 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25913
25914 fi
25915
25916 pkg_failed=no
25917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25918 $as_echo_n "checking for PANGOXFT... " >&6; }
25919
25920 if test -n "$PKG_CONFIG"; then
25921 if test -n "$PANGOXFT_CFLAGS"; then
25922 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
25923 else
25924 if test -n "$PKG_CONFIG" && \
25925 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25926 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25927 ac_status=$?
25928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25929 test $ac_status = 0; }; then
25930 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25931 else
25932 pkg_failed=yes
25933 fi
25934 fi
25935 else
25936 pkg_failed=untried
25937 fi
25938 if test -n "$PKG_CONFIG"; then
25939 if test -n "$PANGOXFT_LIBS"; then
25940 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
25941 else
25942 if test -n "$PKG_CONFIG" && \
25943 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25944 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25945 ac_status=$?
25946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25947 test $ac_status = 0; }; then
25948 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25949 else
25950 pkg_failed=yes
25951 fi
25952 fi
25953 else
25954 pkg_failed=untried
25955 fi
25956
25957
25958
25959 if test $pkg_failed = yes; then
25960
25961 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25962 _pkg_short_errors_supported=yes
25963 else
25964 _pkg_short_errors_supported=no
25965 fi
25966 if test $_pkg_short_errors_supported = yes; then
25967 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25968 else
25969 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25970 fi
25971 # Put the nasty error message in config.log where it belongs
25972 echo "$PANGOXFT_PKG_ERRORS" >&5
25973
25974
25975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25976 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25977
25978
25979 elif test $pkg_failed = untried; then
25980
25981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25982 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25983
25984
25985 else
25986 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
25987 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
25988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25989 $as_echo "yes" >&6; }
25990
25991 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25992
25993 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
25994 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
25995 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25996
25997 fi
25998 save_LIBS="$LIBS"
25999 LIBS="$LIBS $PANGOX_LIBS"
26000 for ac_func in pango_font_family_is_monospace
26001 do :
26002 ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
26003 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes; then :
26004 cat >>confdefs.h <<_ACEOF
26005 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
26006 _ACEOF
26007
26008 fi
26009 done
26010
26011 LIBS="$save_LIBS"
26012 fi
26013
26014 wxUSE_UNIVERSAL="yes"
26015
26016 if test "$wxUSE_NANOX" = "yes"; then
26017 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26018 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"
26019 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26020 else
26021 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
26022 fi
26023
26024 TOOLKIT=X11
26025 GUIDIST=X11_DIST
26026 fi
26027
26028 if test "$wxUSE_MOTIF" = 1; then
26029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
26030 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
26031
26032 ac_find_includes=
26033 for ac_dir in $SEARCH_INCLUDE /usr/include
26034 do
26035 if test -f "$ac_dir/Xm/Xm.h"; then
26036 ac_find_includes=$ac_dir
26037 break
26038 fi
26039 done
26040
26041 if test "$ac_find_includes" != "" ; then
26042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
26043 $as_echo "found in $ac_find_includes" >&6; }
26044
26045 if test "x$ac_find_includes" = "x/usr/include"; then
26046 ac_path_to_include=""
26047 else
26048 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
26049 result=$?
26050 if test $result = 0; then
26051 ac_path_to_include=""
26052 else
26053 ac_path_to_include=" -I$ac_find_includes"
26054 fi
26055 fi
26056
26057 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
26058 else
26059 save_CFLAGS=$CFLAGS
26060 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26061
26062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26063 /* end confdefs.h. */
26064
26065 #include <Xm/Xm.h>
26066
26067 int
26068 main ()
26069 {
26070
26071 int version;
26072 version = xmUseVersion;
26073
26074 ;
26075 return 0;
26076 }
26077 _ACEOF
26078 if ac_fn_c_try_compile "$LINENO"; then :
26079
26080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26081 $as_echo "found in default search path" >&6; }
26082 COMPILED_X_PROGRAM=1
26083
26084 else
26085
26086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26087 $as_echo "no" >&6; }
26088 as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
26089
26090
26091 fi
26092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26093
26094 CFLAGS=$save_CFLAGS
26095 fi
26096
26097
26098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
26099 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
26100
26101 ac_find_libraries=
26102 for ac_dir in $SEARCH_LIB
26103 do
26104 for ac_extension in a so sl dylib dll.a; do
26105 if test -f "$ac_dir/libXm.$ac_extension"; then
26106 ac_find_libraries=$ac_dir
26107 break 2
26108 fi
26109 done
26110 done
26111
26112
26113 if test "x$ac_find_libraries" != "x" ; then
26114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26115 $as_echo "found in $ac_find_libraries" >&6; }
26116
26117
26118 if test "$ac_find_libraries" = "default location"; then
26119 ac_path_to_link=""
26120 else
26121 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26122 result=$?
26123 if test $result = 0; then
26124 ac_path_to_link=""
26125 else
26126 ac_path_to_link=" -L$ac_find_libraries"
26127 fi
26128 fi
26129
26130 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26131 else
26132 save_CFLAGS=$CFLAGS
26133 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26134 save_LIBS="$LIBS"
26135 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
26136
26137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26138 /* end confdefs.h. */
26139
26140 #include <Xm/Xm.h>
26141
26142 int
26143 main ()
26144 {
26145
26146 int version;
26147 version = xmUseVersion;
26148
26149 ;
26150 return 0;
26151 }
26152 _ACEOF
26153 if ac_fn_c_try_link "$LINENO"; then :
26154
26155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26156 $as_echo "found in default search path" >&6; }
26157 COMPILED_X_PROGRAM=1
26158
26159 else
26160
26161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26162 $as_echo "no" >&6; }
26163 as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
26164
26165
26166 fi
26167 rm -f core conftest.err conftest.$ac_objext \
26168 conftest$ac_exeext conftest.$ac_ext
26169
26170 CFLAGS=$save_CFLAGS
26171 LIBS="$save_LIBS"
26172 fi
26173
26174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
26175 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
26176 libp_link=""
26177 libsm_ice_link=""
26178 libs_found=0
26179 for libp in "" " -lXp"; do
26180 if test "$libs_found" = 0; then
26181 for libsm_ice in "" " -lSM -lICE"; do
26182 if test "$libs_found" = 0; then
26183 save_LIBS="$LIBS"
26184 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26185 save_CFLAGS=$CFLAGS
26186 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26187
26188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26189 /* end confdefs.h. */
26190
26191 #include <Xm/Xm.h>
26192 #include <Xm/List.h>
26193
26194 int
26195 main ()
26196 {
26197
26198 XmString string = NULL;
26199 Widget w = NULL;
26200 int position = 0;
26201 XmListAddItem(w, string, position);
26202
26203 ;
26204 return 0;
26205 }
26206 _ACEOF
26207 if ac_fn_c_try_link "$LINENO"; then :
26208
26209 libp_link="$libp"
26210 libsm_ice_link="$libsm_ice"
26211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
26212 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26213 libs_found=1
26214
26215 fi
26216 rm -f core conftest.err conftest.$ac_objext \
26217 conftest$ac_exeext conftest.$ac_ext
26218
26219 LIBS="$save_LIBS"
26220 CFLAGS=$save_CFLAGS
26221 fi
26222 done
26223 fi
26224 done
26225
26226 if test "$libs_found" = 0; then
26227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26228 $as_echo "can't find the right libraries" >&6; }
26229 as_fn_error $? "can't link a simple motif program" "$LINENO" 5
26230 fi
26231
26232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26233 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26234 if ${ac_cv_lib_Sgm_SgCreateList+:} false; then :
26235 $as_echo_n "(cached) " >&6
26236 else
26237 ac_check_lib_save_LIBS=$LIBS
26238 LIBS="-lSgm $LIBS"
26239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26240 /* end confdefs.h. */
26241
26242 /* Override any GCC internal prototype to avoid an error.
26243 Use char because int might match the return type of a GCC
26244 builtin and then its argument prototype would still apply. */
26245 #ifdef __cplusplus
26246 extern "C"
26247 #endif
26248 char SgCreateList ();
26249 int
26250 main ()
26251 {
26252 return SgCreateList ();
26253 ;
26254 return 0;
26255 }
26256 _ACEOF
26257 if ac_fn_c_try_link "$LINENO"; then :
26258 ac_cv_lib_Sgm_SgCreateList=yes
26259 else
26260 ac_cv_lib_Sgm_SgCreateList=no
26261 fi
26262 rm -f core conftest.err conftest.$ac_objext \
26263 conftest$ac_exeext conftest.$ac_ext
26264 LIBS=$ac_check_lib_save_LIBS
26265 fi
26266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26267 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26268 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes; then :
26269 libsgm_link=" -lSgm"
26270 fi
26271
26272
26273 save_CFLAGS=$CFLAGS
26274 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26275
26276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26277 $as_echo_n "checking for Motif 2... " >&6; }
26278 if ${wx_cv_lib_motif2+:} false; then :
26279 $as_echo_n "(cached) " >&6
26280 else
26281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26282 /* end confdefs.h. */
26283
26284 #include <Xm/Xm.h>
26285
26286 int
26287 main ()
26288 {
26289
26290 #if XmVersion < 2000
26291 Not Motif 2
26292 #endif
26293
26294 ;
26295 return 0;
26296 }
26297 _ACEOF
26298 if ac_fn_c_try_compile "$LINENO"; then :
26299 wx_cv_lib_motif2="yes"
26300 else
26301 wx_cv_lib_motif2="no"
26302 fi
26303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26304 fi
26305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26306 $as_echo "$wx_cv_lib_motif2" >&6; }
26307 if test "$wx_cv_lib_motif2" = "yes"; then
26308 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26309
26310 else
26311 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26312
26313 fi
26314
26315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26316 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26317 if ${wx_cv_lib_lesstif+:} false; then :
26318 $as_echo_n "(cached) " >&6
26319 else
26320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26321 /* end confdefs.h. */
26322
26323 #include <Xm/Xm.h>
26324
26325 int
26326 main ()
26327 {
26328
26329 #if !defined(LesstifVersion) || LesstifVersion <= 0
26330 Not Lesstif
26331 #endif
26332
26333 ;
26334 return 0;
26335 }
26336 _ACEOF
26337 if ac_fn_c_try_compile "$LINENO"; then :
26338 wx_cv_lib_lesstif="yes"
26339 else
26340 wx_cv_lib_lesstif="no"
26341 fi
26342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26343
26344 fi
26345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26346 $as_echo "$wx_cv_lib_lesstif" >&6; }
26347 if test "$wx_cv_lib_lesstif" = "yes"; then
26348 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26349
26350 else
26351 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26352
26353 fi
26354
26355 CFLAGS=$save_CFLAGS
26356
26357 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26358 TOOLKIT=MOTIF
26359 GUIDIST=MOTIF_DIST
26360 fi
26361
26362 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26363 if test "$wxUSE_LIBXPM" = "sys"; then
26364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26365 $as_echo_n "checking for Xpm library... " >&6; }
26366
26367 ac_find_libraries=
26368 for ac_dir in $SEARCH_LIB
26369 do
26370 for ac_extension in a so sl dylib dll.a; do
26371 if test -f "$ac_dir/libXpm.$ac_extension"; then
26372 ac_find_libraries=$ac_dir
26373 break 2
26374 fi
26375 done
26376 done
26377
26378 if test "$ac_find_libraries" != "" ; then
26379
26380 if test "$ac_find_libraries" = "default location"; then
26381 ac_path_to_link=""
26382 else
26383 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26384 result=$?
26385 if test $result = 0; then
26386 ac_path_to_link=""
26387 else
26388 ac_path_to_link=" -L$ac_find_libraries"
26389 fi
26390 fi
26391
26392 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26394 $as_echo "found in $ac_find_libraries" >&6; }
26395
26396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26397 $as_echo_n "checking for X11/xpm.h... " >&6; }
26398 if ${wx_cv_x11_xpm_h+:} false; then :
26399 $as_echo_n "(cached) " >&6
26400 else
26401
26402 save_CFLAGS=$CFLAGS
26403 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26404
26405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26406 /* end confdefs.h. */
26407
26408 #include <X11/xpm.h>
26409
26410 int
26411 main ()
26412 {
26413
26414 int version;
26415 version = XpmLibraryVersion();
26416
26417 ;
26418 return 0;
26419 }
26420 _ACEOF
26421 if ac_fn_c_try_compile "$LINENO"; then :
26422 wx_cv_x11_xpm_h=yes
26423 else
26424 wx_cv_x11_xpm_h=no
26425
26426 fi
26427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26428
26429 CFLAGS=$save_CFLAGS
26430
26431
26432 fi
26433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26434 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26435
26436 if test $wx_cv_x11_xpm_h = "yes"; then
26437 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26438 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26439
26440 else
26441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26442 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26443 fi
26444 fi
26445
26446 fi
26447
26448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26449 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26450 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
26451 $as_echo_n "(cached) " >&6
26452 else
26453 ac_check_lib_save_LIBS=$LIBS
26454 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26456 /* end confdefs.h. */
26457
26458 /* Override any GCC internal prototype to avoid an error.
26459 Use char because int might match the return type of a GCC
26460 builtin and then its argument prototype would still apply. */
26461 #ifdef __cplusplus
26462 extern "C"
26463 #endif
26464 char XShapeQueryExtension ();
26465 int
26466 main ()
26467 {
26468 return XShapeQueryExtension ();
26469 ;
26470 return 0;
26471 }
26472 _ACEOF
26473 if ac_fn_c_try_link "$LINENO"; then :
26474 ac_cv_lib_Xext_XShapeQueryExtension=yes
26475 else
26476 ac_cv_lib_Xext_XShapeQueryExtension=no
26477 fi
26478 rm -f core conftest.err conftest.$ac_objext \
26479 conftest$ac_exeext conftest.$ac_ext
26480 LIBS=$ac_check_lib_save_LIBS
26481 fi
26482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26483 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26484 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
26485
26486 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26487 wxHAVE_XEXT_LIB=1
26488
26489 fi
26490
26491
26492 if test "$wxHAVE_XEXT_LIB" = 1; then
26493 save_CFLAGS="$CFLAGS"
26494 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26495
26496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26497 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26499 /* end confdefs.h. */
26500
26501 #include <X11/Xlib.h>
26502 #include <X11/extensions/shape.h>
26503
26504 int
26505 main ()
26506 {
26507
26508 int dummy1, dummy2;
26509 XShapeQueryExtension((Display*)NULL,
26510 (int*)NULL, (int*)NULL);
26511
26512 ;
26513 return 0;
26514 }
26515 _ACEOF
26516 if ac_fn_c_try_compile "$LINENO"; then :
26517
26518 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26519
26520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26521 $as_echo "found" >&6; }
26522
26523 else
26524
26525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26526 $as_echo "not found" >&6; }
26527
26528 fi
26529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26530 CFLAGS="$save_CFLAGS"
26531
26532 fi
26533 fi
26534
26535 if test "$wxUSE_OSX_CARBON" = 1; then
26536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26537 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26538 if test "$GCC" = yes; then
26539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26540 $as_echo "gcc" >&6; }
26541 CPPFLAGS_PASCAL="-fpascal-strings"
26542 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26544 $as_echo "xlc" >&6; }
26545 CPPFLAGS_PASCAL="-qmacpstr"
26546 else
26547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26548 $as_echo "none" >&6; }
26549 fi
26550
26551 if test "x$wxUSE_UNIX" = "xyes"; then
26552 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26553 else
26554 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26555 fi
26556
26557 TOOLKIT=OSX_CARBON
26558 GUIDIST=OSX_CARBON_DIST
26559 WXBASEPORT="_carbon"
26560
26561 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26562 fi
26563
26564 if test "$wxUSE_OSX_COCOA" = 1; then
26565 TOOLKIT=OSX_COCOA
26566 GUIDIST=OSX_COCOA_DIST
26567
26568 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26569 fi
26570
26571 if test "$wxUSE_OSX_IPHONE" = 1; then
26572 TOOLKIT=OSX_IPHONE
26573 fi
26574
26575 if test "$wxUSE_OLD_COCOA" = 1; then
26576 TOOLKIT=COCOA
26577 GUIDIST=COCOA_DIST
26578 fi
26579
26580 if test "$wxUSE_PM" = 1; then
26581 TOOLKIT=PM
26582 GUIDIST=PM_DIST
26583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26584 $as_echo_n "checking for type SPBCDATA... " >&6; }
26585 if ${wx_cv_spbcdata+:} false; then :
26586 $as_echo_n "(cached) " >&6
26587 else
26588
26589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26590 /* end confdefs.h. */
26591
26592 #define INCL_PM
26593 #include <os2.h>
26594
26595 int
26596 main ()
26597 {
26598
26599 SPBCDATA test;
26600
26601 ;
26602 return 0;
26603 }
26604 _ACEOF
26605 if ac_fn_c_try_compile "$LINENO"; then :
26606 wx_cv_spbcdata=yes
26607 else
26608 wx_cv_spbcdata=no
26609
26610 fi
26611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26612
26613
26614 fi
26615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26616 $as_echo "$wx_cv_spbcdata" >&6; }
26617
26618 if test $wx_cv_spbcdata = "yes"; then
26619 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26620
26621 fi
26622 fi
26623
26624 if test "$TOOLKIT" = "PM" ; then
26625 TOOLKIT_DIR="os2"
26626 else
26627 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26628 fi
26629
26630 if test "$wxUSE_UNIVERSAL" = "yes"; then
26631 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26632 WIDGET_SET=univ
26633 fi
26634
26635 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26636 DISTDIR="wx\$(TOOLKIT)"
26637 else
26638 USE_GUI=0
26639
26640 TOOLKIT_DIR="base"
26641
26642 if test "$USE_WIN32" = 1 ; then
26643 TOOLKIT="MSW"
26644 fi
26645
26646 GUIDIST="BASE_DIST"
26647 DISTDIR="wxBase"
26648 fi
26649
26650
26651
26652 if test "$wxUSE_GUI" = "yes"; then
26653 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26654 for ac_header in X11/Xlib.h
26655 do :
26656 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26657 "
26658 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
26659 cat >>confdefs.h <<_ACEOF
26660 #define HAVE_X11_XLIB_H 1
26661 _ACEOF
26662
26663 fi
26664
26665 done
26666
26667 for ac_header in X11/XKBlib.h
26668 do :
26669 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26670 #if HAVE_X11_XLIB_H
26671 #include <X11/Xlib.h>
26672 #endif
26673
26674 "
26675 if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
26676 cat >>confdefs.h <<_ACEOF
26677 #define HAVE_X11_XKBLIB_H 1
26678 _ACEOF
26679
26680 fi
26681
26682 done
26683
26684 fi
26685 fi
26686
26687
26688
26689 USE_XINERAMA=0
26690 if test "$wxUSE_DISPLAY" = "yes"; then
26691 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26692
26693 ac_find_libraries=
26694
26695 fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
26696
26697
26698 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26699 if test -n "$ac_tool_prefix"; then
26700 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26701 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26703 $as_echo_n "checking for $ac_word... " >&6; }
26704 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26705 $as_echo_n "(cached) " >&6
26706 else
26707 case $PKG_CONFIG in
26708 [\\/]* | ?:[\\/]*)
26709 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26710 ;;
26711 *)
26712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26713 for as_dir in $PATH
26714 do
26715 IFS=$as_save_IFS
26716 test -z "$as_dir" && as_dir=.
26717 for ac_exec_ext in '' $ac_executable_extensions; do
26718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26719 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26721 break 2
26722 fi
26723 done
26724 done
26725 IFS=$as_save_IFS
26726
26727 ;;
26728 esac
26729 fi
26730 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26731 if test -n "$PKG_CONFIG"; then
26732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26733 $as_echo "$PKG_CONFIG" >&6; }
26734 else
26735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26736 $as_echo "no" >&6; }
26737 fi
26738
26739
26740 fi
26741 if test -z "$ac_cv_path_PKG_CONFIG"; then
26742 ac_pt_PKG_CONFIG=$PKG_CONFIG
26743 # Extract the first word of "pkg-config", so it can be a program name with args.
26744 set dummy pkg-config; ac_word=$2
26745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26746 $as_echo_n "checking for $ac_word... " >&6; }
26747 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26748 $as_echo_n "(cached) " >&6
26749 else
26750 case $ac_pt_PKG_CONFIG in
26751 [\\/]* | ?:[\\/]*)
26752 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26753 ;;
26754 *)
26755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26756 for as_dir in $PATH
26757 do
26758 IFS=$as_save_IFS
26759 test -z "$as_dir" && as_dir=.
26760 for ac_exec_ext in '' $ac_executable_extensions; do
26761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26762 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26764 break 2
26765 fi
26766 done
26767 done
26768 IFS=$as_save_IFS
26769
26770 ;;
26771 esac
26772 fi
26773 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26774 if test -n "$ac_pt_PKG_CONFIG"; then
26775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26776 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26777 else
26778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26779 $as_echo "no" >&6; }
26780 fi
26781
26782 if test "x$ac_pt_PKG_CONFIG" = x; then
26783 PKG_CONFIG=""
26784 else
26785 case $cross_compiling:$ac_tool_warned in
26786 yes:)
26787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26789 ac_tool_warned=yes ;;
26790 esac
26791 PKG_CONFIG=$ac_pt_PKG_CONFIG
26792 fi
26793 else
26794 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26795 fi
26796
26797 fi
26798 if test -n "$PKG_CONFIG"; then
26799 _pkg_min_version=0.9.0
26800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26801 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26802 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26804 $as_echo "yes" >&6; }
26805 else
26806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26807 $as_echo "no" >&6; }
26808 PKG_CONFIG=""
26809 fi
26810
26811 fi 6> /dev/null
26812
26813 pkg_failed=no
26814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26815 $as_echo_n "checking for Xinerama... " >&6; }
26816
26817 if test -n "$PKG_CONFIG"; then
26818 if test -n "$Xinerama_CFLAGS"; then
26819 pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
26820 else
26821 if test -n "$PKG_CONFIG" && \
26822 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26823 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26824 ac_status=$?
26825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26826 test $ac_status = 0; }; then
26827 pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26828 else
26829 pkg_failed=yes
26830 fi
26831 fi
26832 else
26833 pkg_failed=untried
26834 fi
26835 if test -n "$PKG_CONFIG"; then
26836 if test -n "$Xinerama_LIBS"; then
26837 pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
26838 else
26839 if test -n "$PKG_CONFIG" && \
26840 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26841 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26842 ac_status=$?
26843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26844 test $ac_status = 0; }; then
26845 pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26846 else
26847 pkg_failed=yes
26848 fi
26849 fi
26850 else
26851 pkg_failed=untried
26852 fi
26853
26854
26855
26856 if test $pkg_failed = yes; then
26857
26858 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26859 _pkg_short_errors_supported=yes
26860 else
26861 _pkg_short_errors_supported=no
26862 fi
26863 if test $_pkg_short_errors_supported = yes; then
26864 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26865 else
26866 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26867 fi
26868 # Put the nasty error message in config.log where it belongs
26869 echo "$Xinerama_PKG_ERRORS" >&5
26870
26871
26872 if test "x$ac_find_libraries" = "x"; then
26873 if test "xXineramaQueryScreens" != "x"; then
26874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26875 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26876 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26877 $as_echo_n "(cached) " >&6
26878 else
26879 ac_check_lib_save_LIBS=$LIBS
26880 LIBS="-lXinerama $LIBS"
26881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26882 /* end confdefs.h. */
26883
26884 /* Override any GCC internal prototype to avoid an error.
26885 Use char because int might match the return type of a GCC
26886 builtin and then its argument prototype would still apply. */
26887 #ifdef __cplusplus
26888 extern "C"
26889 #endif
26890 char XineramaQueryScreens ();
26891 int
26892 main ()
26893 {
26894 return XineramaQueryScreens ();
26895 ;
26896 return 0;
26897 }
26898 _ACEOF
26899 if ac_fn_c_try_link "$LINENO"; then :
26900 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26901 else
26902 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26903 fi
26904 rm -f core conftest.err conftest.$ac_objext \
26905 conftest$ac_exeext conftest.$ac_ext
26906 LIBS=$ac_check_lib_save_LIBS
26907 fi
26908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26909 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26910 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26911 ac_find_libraries="std"
26912 fi
26913
26914 fi
26915 fi
26916
26917 if test "x$ac_find_libraries" = "x"; then
26918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26919 $as_echo_n "checking elsewhere... " >&6; }
26920
26921 ac_find_libraries=
26922 for ac_dir in $SEARCH_LIB
26923 do
26924 for ac_extension in a so sl dylib dll.a; do
26925 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26926 ac_find_libraries=$ac_dir
26927 break 2
26928 fi
26929 done
26930 done
26931
26932 if test "x$ac_find_libraries" != "x"; then
26933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26934 $as_echo "yes" >&6; }
26935 else
26936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26937 $as_echo "no" >&6; }
26938 fi
26939 fi
26940
26941 elif test $pkg_failed = untried; then
26942
26943 if test "x$ac_find_libraries" = "x"; then
26944 if test "xXineramaQueryScreens" != "x"; then
26945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26946 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26947 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26948 $as_echo_n "(cached) " >&6
26949 else
26950 ac_check_lib_save_LIBS=$LIBS
26951 LIBS="-lXinerama $LIBS"
26952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26953 /* end confdefs.h. */
26954
26955 /* Override any GCC internal prototype to avoid an error.
26956 Use char because int might match the return type of a GCC
26957 builtin and then its argument prototype would still apply. */
26958 #ifdef __cplusplus
26959 extern "C"
26960 #endif
26961 char XineramaQueryScreens ();
26962 int
26963 main ()
26964 {
26965 return XineramaQueryScreens ();
26966 ;
26967 return 0;
26968 }
26969 _ACEOF
26970 if ac_fn_c_try_link "$LINENO"; then :
26971 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26972 else
26973 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26974 fi
26975 rm -f core conftest.err conftest.$ac_objext \
26976 conftest$ac_exeext conftest.$ac_ext
26977 LIBS=$ac_check_lib_save_LIBS
26978 fi
26979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26980 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26981 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26982 ac_find_libraries="std"
26983 fi
26984
26985 fi
26986 fi
26987
26988 if test "x$ac_find_libraries" = "x"; then
26989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26990 $as_echo_n "checking elsewhere... " >&6; }
26991
26992 ac_find_libraries=
26993 for ac_dir in $SEARCH_LIB
26994 do
26995 for ac_extension in a so sl dylib dll.a; do
26996 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26997 ac_find_libraries=$ac_dir
26998 break 2
26999 fi
27000 done
27001 done
27002
27003 if test "x$ac_find_libraries" != "x"; then
27004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27005 $as_echo "yes" >&6; }
27006 else
27007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27008 $as_echo "no" >&6; }
27009 fi
27010 fi
27011
27012 else
27013 Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
27014 Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
27015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27016 $as_echo "yes" >&6; }
27017
27018 ac_find_libraries="std"
27019
27020 eval ac_find_cflags=\$Xinerama_CFLAGS
27021 eval fl_libs=\$Xinerama_LIBS
27022
27023 for fl_path in $fl_libs
27024 do
27025 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27026 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27027 fi
27028 done
27029
27030 fi
27031
27032 if test "$ac_find_libraries" != "" ; then
27033 if test "$ac_find_libraries" != "std" ; then
27034
27035 if test "$ac_find_libraries" = "default location"; then
27036 ac_path_to_link=""
27037 else
27038 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27039 result=$?
27040 if test $result = 0; then
27041 ac_path_to_link=""
27042 else
27043 ac_path_to_link=" -L$ac_find_libraries"
27044 fi
27045 fi
27046
27047 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27048 LDFLAGS="$LDFLAGS $ac_path_to_link"
27049 fi
27050 fi
27051 USE_XINERAMA=1
27052 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27053 else
27054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
27055 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27056 wxUSE_DISPLAY="no"
27057 fi
27058 elif test "$wxUSE_MSW" = 1; then
27059 ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
27060 "
27061 if test "x$ac_cv_header_ddraw_h" = xyes; then :
27062
27063 fi
27064
27065
27066 fi
27067 fi
27068
27069 if test "$wxUSE_DISPLAY" = "yes"; then
27070 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
27071
27072 ac_find_libraries=
27073
27074 fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
27075
27076
27077 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27078 if test -n "$ac_tool_prefix"; then
27079 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27080 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27082 $as_echo_n "checking for $ac_word... " >&6; }
27083 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27084 $as_echo_n "(cached) " >&6
27085 else
27086 case $PKG_CONFIG in
27087 [\\/]* | ?:[\\/]*)
27088 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27089 ;;
27090 *)
27091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27092 for as_dir in $PATH
27093 do
27094 IFS=$as_save_IFS
27095 test -z "$as_dir" && as_dir=.
27096 for ac_exec_ext in '' $ac_executable_extensions; do
27097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27098 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27100 break 2
27101 fi
27102 done
27103 done
27104 IFS=$as_save_IFS
27105
27106 ;;
27107 esac
27108 fi
27109 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27110 if test -n "$PKG_CONFIG"; then
27111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27112 $as_echo "$PKG_CONFIG" >&6; }
27113 else
27114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27115 $as_echo "no" >&6; }
27116 fi
27117
27118
27119 fi
27120 if test -z "$ac_cv_path_PKG_CONFIG"; then
27121 ac_pt_PKG_CONFIG=$PKG_CONFIG
27122 # Extract the first word of "pkg-config", so it can be a program name with args.
27123 set dummy pkg-config; ac_word=$2
27124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27125 $as_echo_n "checking for $ac_word... " >&6; }
27126 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27127 $as_echo_n "(cached) " >&6
27128 else
27129 case $ac_pt_PKG_CONFIG in
27130 [\\/]* | ?:[\\/]*)
27131 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27132 ;;
27133 *)
27134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27135 for as_dir in $PATH
27136 do
27137 IFS=$as_save_IFS
27138 test -z "$as_dir" && as_dir=.
27139 for ac_exec_ext in '' $ac_executable_extensions; do
27140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27141 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27143 break 2
27144 fi
27145 done
27146 done
27147 IFS=$as_save_IFS
27148
27149 ;;
27150 esac
27151 fi
27152 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27153 if test -n "$ac_pt_PKG_CONFIG"; then
27154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27155 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27156 else
27157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27158 $as_echo "no" >&6; }
27159 fi
27160
27161 if test "x$ac_pt_PKG_CONFIG" = x; then
27162 PKG_CONFIG=""
27163 else
27164 case $cross_compiling:$ac_tool_warned in
27165 yes:)
27166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27168 ac_tool_warned=yes ;;
27169 esac
27170 PKG_CONFIG=$ac_pt_PKG_CONFIG
27171 fi
27172 else
27173 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27174 fi
27175
27176 fi
27177 if test -n "$PKG_CONFIG"; then
27178 _pkg_min_version=0.9.0
27179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27180 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27181 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27183 $as_echo "yes" >&6; }
27184 else
27185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27186 $as_echo "no" >&6; }
27187 PKG_CONFIG=""
27188 fi
27189
27190 fi 6> /dev/null
27191
27192 pkg_failed=no
27193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
27194 $as_echo_n "checking for Xxf86vm... " >&6; }
27195
27196 if test -n "$PKG_CONFIG"; then
27197 if test -n "$Xxf86vm_CFLAGS"; then
27198 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
27199 else
27200 if test -n "$PKG_CONFIG" && \
27201 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27202 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27203 ac_status=$?
27204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27205 test $ac_status = 0; }; then
27206 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27207 else
27208 pkg_failed=yes
27209 fi
27210 fi
27211 else
27212 pkg_failed=untried
27213 fi
27214 if test -n "$PKG_CONFIG"; then
27215 if test -n "$Xxf86vm_LIBS"; then
27216 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
27217 else
27218 if test -n "$PKG_CONFIG" && \
27219 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27220 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27221 ac_status=$?
27222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27223 test $ac_status = 0; }; then
27224 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27225 else
27226 pkg_failed=yes
27227 fi
27228 fi
27229 else
27230 pkg_failed=untried
27231 fi
27232
27233
27234
27235 if test $pkg_failed = yes; then
27236
27237 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27238 _pkg_short_errors_supported=yes
27239 else
27240 _pkg_short_errors_supported=no
27241 fi
27242 if test $_pkg_short_errors_supported = yes; then
27243 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27244 else
27245 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27246 fi
27247 # Put the nasty error message in config.log where it belongs
27248 echo "$Xxf86vm_PKG_ERRORS" >&5
27249
27250
27251 if test "x$ac_find_libraries" = "x"; then
27252 if test "xXF86VidModeQueryExtension" != "x"; then
27253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27254 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27255 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27256 $as_echo_n "(cached) " >&6
27257 else
27258 ac_check_lib_save_LIBS=$LIBS
27259 LIBS="-lXxf86vm $LIBS"
27260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27261 /* end confdefs.h. */
27262
27263 /* Override any GCC internal prototype to avoid an error.
27264 Use char because int might match the return type of a GCC
27265 builtin and then its argument prototype would still apply. */
27266 #ifdef __cplusplus
27267 extern "C"
27268 #endif
27269 char XF86VidModeQueryExtension ();
27270 int
27271 main ()
27272 {
27273 return XF86VidModeQueryExtension ();
27274 ;
27275 return 0;
27276 }
27277 _ACEOF
27278 if ac_fn_c_try_link "$LINENO"; then :
27279 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27280 else
27281 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27282 fi
27283 rm -f core conftest.err conftest.$ac_objext \
27284 conftest$ac_exeext conftest.$ac_ext
27285 LIBS=$ac_check_lib_save_LIBS
27286 fi
27287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27288 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27289 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27290 ac_find_libraries="std"
27291 fi
27292
27293 fi
27294 fi
27295
27296 if test "x$ac_find_libraries" = "x"; then
27297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27298 $as_echo_n "checking elsewhere... " >&6; }
27299
27300 ac_find_libraries=
27301 for ac_dir in $SEARCH_LIB
27302 do
27303 for ac_extension in a so sl dylib dll.a; do
27304 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27305 ac_find_libraries=$ac_dir
27306 break 2
27307 fi
27308 done
27309 done
27310
27311 if test "x$ac_find_libraries" != "x"; then
27312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27313 $as_echo "yes" >&6; }
27314 else
27315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27316 $as_echo "no" >&6; }
27317 fi
27318 fi
27319
27320 elif test $pkg_failed = untried; then
27321
27322 if test "x$ac_find_libraries" = "x"; then
27323 if test "xXF86VidModeQueryExtension" != "x"; then
27324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27325 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27326 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27327 $as_echo_n "(cached) " >&6
27328 else
27329 ac_check_lib_save_LIBS=$LIBS
27330 LIBS="-lXxf86vm $LIBS"
27331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27332 /* end confdefs.h. */
27333
27334 /* Override any GCC internal prototype to avoid an error.
27335 Use char because int might match the return type of a GCC
27336 builtin and then its argument prototype would still apply. */
27337 #ifdef __cplusplus
27338 extern "C"
27339 #endif
27340 char XF86VidModeQueryExtension ();
27341 int
27342 main ()
27343 {
27344 return XF86VidModeQueryExtension ();
27345 ;
27346 return 0;
27347 }
27348 _ACEOF
27349 if ac_fn_c_try_link "$LINENO"; then :
27350 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27351 else
27352 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27353 fi
27354 rm -f core conftest.err conftest.$ac_objext \
27355 conftest$ac_exeext conftest.$ac_ext
27356 LIBS=$ac_check_lib_save_LIBS
27357 fi
27358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27359 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27360 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27361 ac_find_libraries="std"
27362 fi
27363
27364 fi
27365 fi
27366
27367 if test "x$ac_find_libraries" = "x"; then
27368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27369 $as_echo_n "checking elsewhere... " >&6; }
27370
27371 ac_find_libraries=
27372 for ac_dir in $SEARCH_LIB
27373 do
27374 for ac_extension in a so sl dylib dll.a; do
27375 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27376 ac_find_libraries=$ac_dir
27377 break 2
27378 fi
27379 done
27380 done
27381
27382 if test "x$ac_find_libraries" != "x"; then
27383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27384 $as_echo "yes" >&6; }
27385 else
27386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27387 $as_echo "no" >&6; }
27388 fi
27389 fi
27390
27391 else
27392 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
27393 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
27394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27395 $as_echo "yes" >&6; }
27396
27397 ac_find_libraries="std"
27398
27399 eval ac_find_cflags=\$Xxf86vm_CFLAGS
27400 eval fl_libs=\$Xxf86vm_LIBS
27401
27402 for fl_path in $fl_libs
27403 do
27404 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27405 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27406 fi
27407 done
27408
27409 fi
27410
27411 if test "$ac_find_libraries" != "" ; then
27412 for ac_header in X11/extensions/xf86vmode.h
27413 do :
27414 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27415 #if HAVE_X11_XLIB_H
27416 #include <X11/Xlib.h>
27417 #endif
27418
27419 "
27420 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes; then :
27421 cat >>confdefs.h <<_ACEOF
27422 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27423 _ACEOF
27424
27425 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27426
27427 fi
27428
27429 done
27430
27431 fi
27432 fi
27433 fi
27434
27435 if test "$wxUSE_DETECT_SM" = "yes"; then
27436 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27437
27438 ac_find_libraries=
27439
27440 fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
27441
27442
27443 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27444 if test -n "$ac_tool_prefix"; then
27445 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27446 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27448 $as_echo_n "checking for $ac_word... " >&6; }
27449 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27450 $as_echo_n "(cached) " >&6
27451 else
27452 case $PKG_CONFIG in
27453 [\\/]* | ?:[\\/]*)
27454 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27455 ;;
27456 *)
27457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27458 for as_dir in $PATH
27459 do
27460 IFS=$as_save_IFS
27461 test -z "$as_dir" && as_dir=.
27462 for ac_exec_ext in '' $ac_executable_extensions; do
27463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27464 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27466 break 2
27467 fi
27468 done
27469 done
27470 IFS=$as_save_IFS
27471
27472 ;;
27473 esac
27474 fi
27475 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27476 if test -n "$PKG_CONFIG"; then
27477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27478 $as_echo "$PKG_CONFIG" >&6; }
27479 else
27480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27481 $as_echo "no" >&6; }
27482 fi
27483
27484
27485 fi
27486 if test -z "$ac_cv_path_PKG_CONFIG"; then
27487 ac_pt_PKG_CONFIG=$PKG_CONFIG
27488 # Extract the first word of "pkg-config", so it can be a program name with args.
27489 set dummy pkg-config; ac_word=$2
27490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27491 $as_echo_n "checking for $ac_word... " >&6; }
27492 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27493 $as_echo_n "(cached) " >&6
27494 else
27495 case $ac_pt_PKG_CONFIG in
27496 [\\/]* | ?:[\\/]*)
27497 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27498 ;;
27499 *)
27500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27501 for as_dir in $PATH
27502 do
27503 IFS=$as_save_IFS
27504 test -z "$as_dir" && as_dir=.
27505 for ac_exec_ext in '' $ac_executable_extensions; do
27506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27507 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27509 break 2
27510 fi
27511 done
27512 done
27513 IFS=$as_save_IFS
27514
27515 ;;
27516 esac
27517 fi
27518 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27519 if test -n "$ac_pt_PKG_CONFIG"; then
27520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27521 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27522 else
27523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27524 $as_echo "no" >&6; }
27525 fi
27526
27527 if test "x$ac_pt_PKG_CONFIG" = x; then
27528 PKG_CONFIG=""
27529 else
27530 case $cross_compiling:$ac_tool_warned in
27531 yes:)
27532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27534 ac_tool_warned=yes ;;
27535 esac
27536 PKG_CONFIG=$ac_pt_PKG_CONFIG
27537 fi
27538 else
27539 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27540 fi
27541
27542 fi
27543 if test -n "$PKG_CONFIG"; then
27544 _pkg_min_version=0.9.0
27545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27546 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27547 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27549 $as_echo "yes" >&6; }
27550 else
27551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27552 $as_echo "no" >&6; }
27553 PKG_CONFIG=""
27554 fi
27555
27556 fi 6> /dev/null
27557
27558 pkg_failed=no
27559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27560 $as_echo_n "checking for SM... " >&6; }
27561
27562 if test -n "$PKG_CONFIG"; then
27563 if test -n "$SM_CFLAGS"; then
27564 pkg_cv_SM_CFLAGS="$SM_CFLAGS"
27565 else
27566 if test -n "$PKG_CONFIG" && \
27567 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27568 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27569 ac_status=$?
27570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27571 test $ac_status = 0; }; then
27572 pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27573 else
27574 pkg_failed=yes
27575 fi
27576 fi
27577 else
27578 pkg_failed=untried
27579 fi
27580 if test -n "$PKG_CONFIG"; then
27581 if test -n "$SM_LIBS"; then
27582 pkg_cv_SM_LIBS="$SM_LIBS"
27583 else
27584 if test -n "$PKG_CONFIG" && \
27585 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27586 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27587 ac_status=$?
27588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27589 test $ac_status = 0; }; then
27590 pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27591 else
27592 pkg_failed=yes
27593 fi
27594 fi
27595 else
27596 pkg_failed=untried
27597 fi
27598
27599
27600
27601 if test $pkg_failed = yes; then
27602
27603 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27604 _pkg_short_errors_supported=yes
27605 else
27606 _pkg_short_errors_supported=no
27607 fi
27608 if test $_pkg_short_errors_supported = yes; then
27609 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27610 else
27611 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27612 fi
27613 # Put the nasty error message in config.log where it belongs
27614 echo "$SM_PKG_ERRORS" >&5
27615
27616
27617 if test "x$ac_find_libraries" = "x"; then
27618 if test "xSmcOpenConnection" != "x"; then
27619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27620 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27621 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27622 $as_echo_n "(cached) " >&6
27623 else
27624 ac_check_lib_save_LIBS=$LIBS
27625 LIBS="-lSM $LIBS"
27626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27627 /* end confdefs.h. */
27628
27629 /* Override any GCC internal prototype to avoid an error.
27630 Use char because int might match the return type of a GCC
27631 builtin and then its argument prototype would still apply. */
27632 #ifdef __cplusplus
27633 extern "C"
27634 #endif
27635 char SmcOpenConnection ();
27636 int
27637 main ()
27638 {
27639 return SmcOpenConnection ();
27640 ;
27641 return 0;
27642 }
27643 _ACEOF
27644 if ac_fn_c_try_link "$LINENO"; then :
27645 ac_cv_lib_SM_SmcOpenConnection=yes
27646 else
27647 ac_cv_lib_SM_SmcOpenConnection=no
27648 fi
27649 rm -f core conftest.err conftest.$ac_objext \
27650 conftest$ac_exeext conftest.$ac_ext
27651 LIBS=$ac_check_lib_save_LIBS
27652 fi
27653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27654 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27655 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27656 ac_find_libraries="std"
27657 fi
27658
27659 fi
27660 fi
27661
27662 if test "x$ac_find_libraries" = "x"; then
27663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27664 $as_echo_n "checking elsewhere... " >&6; }
27665
27666 ac_find_libraries=
27667 for ac_dir in $SEARCH_LIB
27668 do
27669 for ac_extension in a so sl dylib dll.a; do
27670 if test -f "$ac_dir/libSM.$ac_extension"; then
27671 ac_find_libraries=$ac_dir
27672 break 2
27673 fi
27674 done
27675 done
27676
27677 if test "x$ac_find_libraries" != "x"; then
27678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27679 $as_echo "yes" >&6; }
27680 else
27681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27682 $as_echo "no" >&6; }
27683 fi
27684 fi
27685
27686 elif test $pkg_failed = untried; then
27687
27688 if test "x$ac_find_libraries" = "x"; then
27689 if test "xSmcOpenConnection" != "x"; then
27690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27691 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27692 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27693 $as_echo_n "(cached) " >&6
27694 else
27695 ac_check_lib_save_LIBS=$LIBS
27696 LIBS="-lSM $LIBS"
27697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27698 /* end confdefs.h. */
27699
27700 /* Override any GCC internal prototype to avoid an error.
27701 Use char because int might match the return type of a GCC
27702 builtin and then its argument prototype would still apply. */
27703 #ifdef __cplusplus
27704 extern "C"
27705 #endif
27706 char SmcOpenConnection ();
27707 int
27708 main ()
27709 {
27710 return SmcOpenConnection ();
27711 ;
27712 return 0;
27713 }
27714 _ACEOF
27715 if ac_fn_c_try_link "$LINENO"; then :
27716 ac_cv_lib_SM_SmcOpenConnection=yes
27717 else
27718 ac_cv_lib_SM_SmcOpenConnection=no
27719 fi
27720 rm -f core conftest.err conftest.$ac_objext \
27721 conftest$ac_exeext conftest.$ac_ext
27722 LIBS=$ac_check_lib_save_LIBS
27723 fi
27724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27725 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27726 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27727 ac_find_libraries="std"
27728 fi
27729
27730 fi
27731 fi
27732
27733 if test "x$ac_find_libraries" = "x"; then
27734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27735 $as_echo_n "checking elsewhere... " >&6; }
27736
27737 ac_find_libraries=
27738 for ac_dir in $SEARCH_LIB
27739 do
27740 for ac_extension in a so sl dylib dll.a; do
27741 if test -f "$ac_dir/libSM.$ac_extension"; then
27742 ac_find_libraries=$ac_dir
27743 break 2
27744 fi
27745 done
27746 done
27747
27748 if test "x$ac_find_libraries" != "x"; then
27749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27750 $as_echo "yes" >&6; }
27751 else
27752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27753 $as_echo "no" >&6; }
27754 fi
27755 fi
27756
27757 else
27758 SM_CFLAGS=$pkg_cv_SM_CFLAGS
27759 SM_LIBS=$pkg_cv_SM_LIBS
27760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27761 $as_echo "yes" >&6; }
27762
27763 ac_find_libraries="std"
27764
27765 eval ac_find_cflags=\$SM_CFLAGS
27766 eval fl_libs=\$SM_LIBS
27767
27768 for fl_path in $fl_libs
27769 do
27770 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27771 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27772 fi
27773 done
27774
27775 fi
27776
27777 if test "$ac_find_libraries" != "" ; then
27778 if test "$ac_find_libraries" != "std" ; then
27779
27780 if test "$ac_find_libraries" = "default location"; then
27781 ac_path_to_link=""
27782 else
27783 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27784 result=$?
27785 if test $result = 0; then
27786 ac_path_to_link=""
27787 else
27788 ac_path_to_link=" -L$ac_find_libraries"
27789 fi
27790 fi
27791
27792 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27793 LDFLAGS="$LDFLAGS $ac_path_to_link"
27794 fi
27795 fi
27796 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
27797 else
27798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27799 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27800 wxUSE_DETECT_SM="no"
27801 fi
27802 else
27803 wxUSE_DETECT_SM="no"
27804 fi
27805 fi
27806
27807
27808
27809 USE_OPENGL=0
27810 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27811
27812
27813 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27814 OPENGL_LIBS="-framework OpenGL -framework AGL"
27815 elif test "$wxUSE_MSW" = 1; then
27816 OPENGL_LIBS="-lopengl32 -lglu32"
27817 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27818
27819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27820 $as_echo_n "checking for OpenGL headers... " >&6; }
27821
27822 ac_find_includes=
27823 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
27824 do
27825 if test -f "$ac_dir/GL/gl.h"; then
27826 ac_find_includes=$ac_dir
27827 break
27828 fi
27829 done
27830
27831 if test "$ac_find_includes" != "" ; then
27832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27833 $as_echo "found in $ac_find_includes" >&6; }
27834
27835 if test "x$ac_find_includes" = "x/usr/include"; then
27836 ac_path_to_include=""
27837 else
27838 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27839 result=$?
27840 if test $result = 0; then
27841 ac_path_to_include=""
27842 else
27843 ac_path_to_include=" -I$ac_find_includes"
27844 fi
27845 fi
27846
27847 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
27848 else
27849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27850 $as_echo "not found" >&6; }
27851 fi
27852
27853 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27854 "
27855 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
27856
27857 ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27858 "
27859 if test "x$ac_cv_header_GL_glu_h" = xyes; then :
27860
27861 found_gl=0
27862
27863
27864 ac_find_libraries=
27865
27866 fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
27867
27868
27869 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27870 if test -n "$ac_tool_prefix"; then
27871 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27872 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27874 $as_echo_n "checking for $ac_word... " >&6; }
27875 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27876 $as_echo_n "(cached) " >&6
27877 else
27878 case $PKG_CONFIG in
27879 [\\/]* | ?:[\\/]*)
27880 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27881 ;;
27882 *)
27883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27884 for as_dir in $PATH
27885 do
27886 IFS=$as_save_IFS
27887 test -z "$as_dir" && as_dir=.
27888 for ac_exec_ext in '' $ac_executable_extensions; do
27889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27890 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27892 break 2
27893 fi
27894 done
27895 done
27896 IFS=$as_save_IFS
27897
27898 ;;
27899 esac
27900 fi
27901 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27902 if test -n "$PKG_CONFIG"; then
27903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27904 $as_echo "$PKG_CONFIG" >&6; }
27905 else
27906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27907 $as_echo "no" >&6; }
27908 fi
27909
27910
27911 fi
27912 if test -z "$ac_cv_path_PKG_CONFIG"; then
27913 ac_pt_PKG_CONFIG=$PKG_CONFIG
27914 # Extract the first word of "pkg-config", so it can be a program name with args.
27915 set dummy pkg-config; ac_word=$2
27916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27917 $as_echo_n "checking for $ac_word... " >&6; }
27918 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27919 $as_echo_n "(cached) " >&6
27920 else
27921 case $ac_pt_PKG_CONFIG in
27922 [\\/]* | ?:[\\/]*)
27923 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27924 ;;
27925 *)
27926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27927 for as_dir in $PATH
27928 do
27929 IFS=$as_save_IFS
27930 test -z "$as_dir" && as_dir=.
27931 for ac_exec_ext in '' $ac_executable_extensions; do
27932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27933 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27935 break 2
27936 fi
27937 done
27938 done
27939 IFS=$as_save_IFS
27940
27941 ;;
27942 esac
27943 fi
27944 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27945 if test -n "$ac_pt_PKG_CONFIG"; then
27946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27947 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27948 else
27949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27950 $as_echo "no" >&6; }
27951 fi
27952
27953 if test "x$ac_pt_PKG_CONFIG" = x; then
27954 PKG_CONFIG=""
27955 else
27956 case $cross_compiling:$ac_tool_warned in
27957 yes:)
27958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27960 ac_tool_warned=yes ;;
27961 esac
27962 PKG_CONFIG=$ac_pt_PKG_CONFIG
27963 fi
27964 else
27965 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27966 fi
27967
27968 fi
27969 if test -n "$PKG_CONFIG"; then
27970 _pkg_min_version=0.9.0
27971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27972 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27973 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27975 $as_echo "yes" >&6; }
27976 else
27977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27978 $as_echo "no" >&6; }
27979 PKG_CONFIG=""
27980 fi
27981
27982 fi 6> /dev/null
27983
27984 pkg_failed=no
27985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27986 $as_echo_n "checking for GL... " >&6; }
27987
27988 if test -n "$PKG_CONFIG"; then
27989 if test -n "$GL_CFLAGS"; then
27990 pkg_cv_GL_CFLAGS="$GL_CFLAGS"
27991 else
27992 if test -n "$PKG_CONFIG" && \
27993 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27994 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27995 ac_status=$?
27996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27997 test $ac_status = 0; }; then
27998 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27999 else
28000 pkg_failed=yes
28001 fi
28002 fi
28003 else
28004 pkg_failed=untried
28005 fi
28006 if test -n "$PKG_CONFIG"; then
28007 if test -n "$GL_LIBS"; then
28008 pkg_cv_GL_LIBS="$GL_LIBS"
28009 else
28010 if test -n "$PKG_CONFIG" && \
28011 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28012 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28013 ac_status=$?
28014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28015 test $ac_status = 0; }; then
28016 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28017 else
28018 pkg_failed=yes
28019 fi
28020 fi
28021 else
28022 pkg_failed=untried
28023 fi
28024
28025
28026
28027 if test $pkg_failed = yes; then
28028
28029 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28030 _pkg_short_errors_supported=yes
28031 else
28032 _pkg_short_errors_supported=no
28033 fi
28034 if test $_pkg_short_errors_supported = yes; then
28035 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28036 else
28037 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28038 fi
28039 # Put the nasty error message in config.log where it belongs
28040 echo "$GL_PKG_ERRORS" >&5
28041
28042
28043 if test "x$ac_find_libraries" = "x"; then
28044 if test "xglBegin" != "x"; then
28045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
28046 $as_echo_n "checking for glBegin in -lGL... " >&6; }
28047 if ${ac_cv_lib_GL_glBegin+:} false; then :
28048 $as_echo_n "(cached) " >&6
28049 else
28050 ac_check_lib_save_LIBS=$LIBS
28051 LIBS="-lGL $LIBS"
28052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28053 /* end confdefs.h. */
28054
28055 /* Override any GCC internal prototype to avoid an error.
28056 Use char because int might match the return type of a GCC
28057 builtin and then its argument prototype would still apply. */
28058 #ifdef __cplusplus
28059 extern "C"
28060 #endif
28061 char glBegin ();
28062 int
28063 main ()
28064 {
28065 return glBegin ();
28066 ;
28067 return 0;
28068 }
28069 _ACEOF
28070 if ac_fn_c_try_link "$LINENO"; then :
28071 ac_cv_lib_GL_glBegin=yes
28072 else
28073 ac_cv_lib_GL_glBegin=no
28074 fi
28075 rm -f core conftest.err conftest.$ac_objext \
28076 conftest$ac_exeext conftest.$ac_ext
28077 LIBS=$ac_check_lib_save_LIBS
28078 fi
28079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28080 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28081 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
28082 ac_find_libraries="std"
28083 fi
28084
28085 fi
28086 fi
28087
28088 if test "x$ac_find_libraries" = "x"; then
28089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28090 $as_echo_n "checking elsewhere... " >&6; }
28091
28092 ac_find_libraries=
28093 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28094 do
28095 for ac_extension in a so sl dylib dll.a; do
28096 if test -f "$ac_dir/libGL.$ac_extension"; then
28097 ac_find_libraries=$ac_dir
28098 break 2
28099 fi
28100 done
28101 done
28102
28103 if test "x$ac_find_libraries" != "x"; then
28104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28105 $as_echo "yes" >&6; }
28106 else
28107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28108 $as_echo "no" >&6; }
28109 fi
28110 fi
28111
28112 elif test $pkg_failed = untried; then
28113
28114 if test "x$ac_find_libraries" = "x"; then
28115 if test "xglBegin" != "x"; then
28116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
28117 $as_echo_n "checking for glBegin in -lGL... " >&6; }
28118 if ${ac_cv_lib_GL_glBegin+:} false; then :
28119 $as_echo_n "(cached) " >&6
28120 else
28121 ac_check_lib_save_LIBS=$LIBS
28122 LIBS="-lGL $LIBS"
28123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28124 /* end confdefs.h. */
28125
28126 /* Override any GCC internal prototype to avoid an error.
28127 Use char because int might match the return type of a GCC
28128 builtin and then its argument prototype would still apply. */
28129 #ifdef __cplusplus
28130 extern "C"
28131 #endif
28132 char glBegin ();
28133 int
28134 main ()
28135 {
28136 return glBegin ();
28137 ;
28138 return 0;
28139 }
28140 _ACEOF
28141 if ac_fn_c_try_link "$LINENO"; then :
28142 ac_cv_lib_GL_glBegin=yes
28143 else
28144 ac_cv_lib_GL_glBegin=no
28145 fi
28146 rm -f core conftest.err conftest.$ac_objext \
28147 conftest$ac_exeext conftest.$ac_ext
28148 LIBS=$ac_check_lib_save_LIBS
28149 fi
28150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28151 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28152 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
28153 ac_find_libraries="std"
28154 fi
28155
28156 fi
28157 fi
28158
28159 if test "x$ac_find_libraries" = "x"; then
28160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28161 $as_echo_n "checking elsewhere... " >&6; }
28162
28163 ac_find_libraries=
28164 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28165 do
28166 for ac_extension in a so sl dylib dll.a; do
28167 if test -f "$ac_dir/libGL.$ac_extension"; then
28168 ac_find_libraries=$ac_dir
28169 break 2
28170 fi
28171 done
28172 done
28173
28174 if test "x$ac_find_libraries" != "x"; then
28175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28176 $as_echo "yes" >&6; }
28177 else
28178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28179 $as_echo "no" >&6; }
28180 fi
28181 fi
28182
28183 else
28184 GL_CFLAGS=$pkg_cv_GL_CFLAGS
28185 GL_LIBS=$pkg_cv_GL_LIBS
28186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28187 $as_echo "yes" >&6; }
28188
28189 ac_find_libraries="std"
28190
28191 eval ac_find_cflags=\$GL_CFLAGS
28192 eval fl_libs=\$GL_LIBS
28193
28194 for fl_path in $fl_libs
28195 do
28196 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28197 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28198 fi
28199 done
28200
28201 fi
28202
28203 if test "$ac_find_libraries" != "" ; then
28204 if test "$ac_find_libraries" != "std" ; then
28205
28206 if test "$ac_find_libraries" = "default location"; then
28207 ac_path_to_link=""
28208 else
28209 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28210 result=$?
28211 if test $result = 0; then
28212 ac_path_to_link=""
28213 else
28214 ac_path_to_link=" -L$ac_find_libraries"
28215 fi
28216 fi
28217
28218 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28219 LDFLAGS_GL="$ac_path_to_link"
28220 fi
28221 fi
28222
28223
28224 ac_find_libraries=
28225
28226 fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
28227
28228
28229 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28230 if test -n "$ac_tool_prefix"; then
28231 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28232 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28234 $as_echo_n "checking for $ac_word... " >&6; }
28235 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28236 $as_echo_n "(cached) " >&6
28237 else
28238 case $PKG_CONFIG in
28239 [\\/]* | ?:[\\/]*)
28240 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28241 ;;
28242 *)
28243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28244 for as_dir in $PATH
28245 do
28246 IFS=$as_save_IFS
28247 test -z "$as_dir" && as_dir=.
28248 for ac_exec_ext in '' $ac_executable_extensions; do
28249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28250 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28252 break 2
28253 fi
28254 done
28255 done
28256 IFS=$as_save_IFS
28257
28258 ;;
28259 esac
28260 fi
28261 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28262 if test -n "$PKG_CONFIG"; then
28263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28264 $as_echo "$PKG_CONFIG" >&6; }
28265 else
28266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28267 $as_echo "no" >&6; }
28268 fi
28269
28270
28271 fi
28272 if test -z "$ac_cv_path_PKG_CONFIG"; then
28273 ac_pt_PKG_CONFIG=$PKG_CONFIG
28274 # Extract the first word of "pkg-config", so it can be a program name with args.
28275 set dummy pkg-config; ac_word=$2
28276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28277 $as_echo_n "checking for $ac_word... " >&6; }
28278 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28279 $as_echo_n "(cached) " >&6
28280 else
28281 case $ac_pt_PKG_CONFIG in
28282 [\\/]* | ?:[\\/]*)
28283 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28284 ;;
28285 *)
28286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28287 for as_dir in $PATH
28288 do
28289 IFS=$as_save_IFS
28290 test -z "$as_dir" && as_dir=.
28291 for ac_exec_ext in '' $ac_executable_extensions; do
28292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28293 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28295 break 2
28296 fi
28297 done
28298 done
28299 IFS=$as_save_IFS
28300
28301 ;;
28302 esac
28303 fi
28304 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28305 if test -n "$ac_pt_PKG_CONFIG"; then
28306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28307 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28308 else
28309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28310 $as_echo "no" >&6; }
28311 fi
28312
28313 if test "x$ac_pt_PKG_CONFIG" = x; then
28314 PKG_CONFIG=""
28315 else
28316 case $cross_compiling:$ac_tool_warned in
28317 yes:)
28318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28319 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28320 ac_tool_warned=yes ;;
28321 esac
28322 PKG_CONFIG=$ac_pt_PKG_CONFIG
28323 fi
28324 else
28325 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28326 fi
28327
28328 fi
28329 if test -n "$PKG_CONFIG"; then
28330 _pkg_min_version=0.9.0
28331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28332 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28333 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28335 $as_echo "yes" >&6; }
28336 else
28337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28338 $as_echo "no" >&6; }
28339 PKG_CONFIG=""
28340 fi
28341
28342 fi 6> /dev/null
28343
28344 pkg_failed=no
28345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28346 $as_echo_n "checking for GLU... " >&6; }
28347
28348 if test -n "$PKG_CONFIG"; then
28349 if test -n "$GLU_CFLAGS"; then
28350 pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
28351 else
28352 if test -n "$PKG_CONFIG" && \
28353 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28354 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28355 ac_status=$?
28356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28357 test $ac_status = 0; }; then
28358 pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28359 else
28360 pkg_failed=yes
28361 fi
28362 fi
28363 else
28364 pkg_failed=untried
28365 fi
28366 if test -n "$PKG_CONFIG"; then
28367 if test -n "$GLU_LIBS"; then
28368 pkg_cv_GLU_LIBS="$GLU_LIBS"
28369 else
28370 if test -n "$PKG_CONFIG" && \
28371 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28372 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28373 ac_status=$?
28374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28375 test $ac_status = 0; }; then
28376 pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28377 else
28378 pkg_failed=yes
28379 fi
28380 fi
28381 else
28382 pkg_failed=untried
28383 fi
28384
28385
28386
28387 if test $pkg_failed = yes; then
28388
28389 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28390 _pkg_short_errors_supported=yes
28391 else
28392 _pkg_short_errors_supported=no
28393 fi
28394 if test $_pkg_short_errors_supported = yes; then
28395 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28396 else
28397 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28398 fi
28399 # Put the nasty error message in config.log where it belongs
28400 echo "$GLU_PKG_ERRORS" >&5
28401
28402
28403 if test "x$ac_find_libraries" = "x"; then
28404 if test "xgluBeginCurve" != "x"; then
28405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28406 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28407 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28408 $as_echo_n "(cached) " >&6
28409 else
28410 ac_check_lib_save_LIBS=$LIBS
28411 LIBS="-lGLU $LIBS"
28412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28413 /* end confdefs.h. */
28414
28415 /* Override any GCC internal prototype to avoid an error.
28416 Use char because int might match the return type of a GCC
28417 builtin and then its argument prototype would still apply. */
28418 #ifdef __cplusplus
28419 extern "C"
28420 #endif
28421 char gluBeginCurve ();
28422 int
28423 main ()
28424 {
28425 return gluBeginCurve ();
28426 ;
28427 return 0;
28428 }
28429 _ACEOF
28430 if ac_fn_c_try_link "$LINENO"; then :
28431 ac_cv_lib_GLU_gluBeginCurve=yes
28432 else
28433 ac_cv_lib_GLU_gluBeginCurve=no
28434 fi
28435 rm -f core conftest.err conftest.$ac_objext \
28436 conftest$ac_exeext conftest.$ac_ext
28437 LIBS=$ac_check_lib_save_LIBS
28438 fi
28439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28440 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28441 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28442 ac_find_libraries="std"
28443 fi
28444
28445 fi
28446 fi
28447
28448 if test "x$ac_find_libraries" = "x"; then
28449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28450 $as_echo_n "checking elsewhere... " >&6; }
28451
28452 ac_find_libraries=
28453 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28454 do
28455 for ac_extension in a so sl dylib dll.a; do
28456 if test -f "$ac_dir/libGLU.$ac_extension"; then
28457 ac_find_libraries=$ac_dir
28458 break 2
28459 fi
28460 done
28461 done
28462
28463 if test "x$ac_find_libraries" != "x"; then
28464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28465 $as_echo "yes" >&6; }
28466 else
28467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28468 $as_echo "no" >&6; }
28469 fi
28470 fi
28471
28472 elif test $pkg_failed = untried; then
28473
28474 if test "x$ac_find_libraries" = "x"; then
28475 if test "xgluBeginCurve" != "x"; then
28476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28477 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28478 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28479 $as_echo_n "(cached) " >&6
28480 else
28481 ac_check_lib_save_LIBS=$LIBS
28482 LIBS="-lGLU $LIBS"
28483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28484 /* end confdefs.h. */
28485
28486 /* Override any GCC internal prototype to avoid an error.
28487 Use char because int might match the return type of a GCC
28488 builtin and then its argument prototype would still apply. */
28489 #ifdef __cplusplus
28490 extern "C"
28491 #endif
28492 char gluBeginCurve ();
28493 int
28494 main ()
28495 {
28496 return gluBeginCurve ();
28497 ;
28498 return 0;
28499 }
28500 _ACEOF
28501 if ac_fn_c_try_link "$LINENO"; then :
28502 ac_cv_lib_GLU_gluBeginCurve=yes
28503 else
28504 ac_cv_lib_GLU_gluBeginCurve=no
28505 fi
28506 rm -f core conftest.err conftest.$ac_objext \
28507 conftest$ac_exeext conftest.$ac_ext
28508 LIBS=$ac_check_lib_save_LIBS
28509 fi
28510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28511 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28512 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28513 ac_find_libraries="std"
28514 fi
28515
28516 fi
28517 fi
28518
28519 if test "x$ac_find_libraries" = "x"; then
28520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28521 $as_echo_n "checking elsewhere... " >&6; }
28522
28523 ac_find_libraries=
28524 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28525 do
28526 for ac_extension in a so sl dylib dll.a; do
28527 if test -f "$ac_dir/libGLU.$ac_extension"; then
28528 ac_find_libraries=$ac_dir
28529 break 2
28530 fi
28531 done
28532 done
28533
28534 if test "x$ac_find_libraries" != "x"; then
28535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28536 $as_echo "yes" >&6; }
28537 else
28538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28539 $as_echo "no" >&6; }
28540 fi
28541 fi
28542
28543 else
28544 GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
28545 GLU_LIBS=$pkg_cv_GLU_LIBS
28546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28547 $as_echo "yes" >&6; }
28548
28549 ac_find_libraries="std"
28550
28551 eval ac_find_cflags=\$GLU_CFLAGS
28552 eval fl_libs=\$GLU_LIBS
28553
28554 for fl_path in $fl_libs
28555 do
28556 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28557 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28558 fi
28559 done
28560
28561 fi
28562
28563 if test "$ac_find_libraries" != "" ; then
28564 if test "$ac_find_libraries" != "std" ; then
28565
28566 if test "$ac_find_libraries" = "default location"; then
28567 ac_path_to_link=""
28568 else
28569 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28570 result=$?
28571 if test $result = 0; then
28572 ac_path_to_link=""
28573 else
28574 ac_path_to_link=" -L$ac_find_libraries"
28575 fi
28576 fi
28577
28578 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28579 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28580 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28581 fi
28582 fi
28583
28584 found_gl=1
28585 OPENGL_LIBS="-lGL -lGLU"
28586 fi
28587 fi
28588
28589 if test "$found_gl" != 1; then
28590
28591 ac_find_libraries=
28592
28593 fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
28594
28595
28596 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28597 if test -n "$ac_tool_prefix"; then
28598 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28599 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28601 $as_echo_n "checking for $ac_word... " >&6; }
28602 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28603 $as_echo_n "(cached) " >&6
28604 else
28605 case $PKG_CONFIG in
28606 [\\/]* | ?:[\\/]*)
28607 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28608 ;;
28609 *)
28610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28611 for as_dir in $PATH
28612 do
28613 IFS=$as_save_IFS
28614 test -z "$as_dir" && as_dir=.
28615 for ac_exec_ext in '' $ac_executable_extensions; do
28616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28617 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28619 break 2
28620 fi
28621 done
28622 done
28623 IFS=$as_save_IFS
28624
28625 ;;
28626 esac
28627 fi
28628 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28629 if test -n "$PKG_CONFIG"; then
28630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28631 $as_echo "$PKG_CONFIG" >&6; }
28632 else
28633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28634 $as_echo "no" >&6; }
28635 fi
28636
28637
28638 fi
28639 if test -z "$ac_cv_path_PKG_CONFIG"; then
28640 ac_pt_PKG_CONFIG=$PKG_CONFIG
28641 # Extract the first word of "pkg-config", so it can be a program name with args.
28642 set dummy pkg-config; ac_word=$2
28643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28644 $as_echo_n "checking for $ac_word... " >&6; }
28645 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28646 $as_echo_n "(cached) " >&6
28647 else
28648 case $ac_pt_PKG_CONFIG in
28649 [\\/]* | ?:[\\/]*)
28650 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28651 ;;
28652 *)
28653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28654 for as_dir in $PATH
28655 do
28656 IFS=$as_save_IFS
28657 test -z "$as_dir" && as_dir=.
28658 for ac_exec_ext in '' $ac_executable_extensions; do
28659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28660 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28662 break 2
28663 fi
28664 done
28665 done
28666 IFS=$as_save_IFS
28667
28668 ;;
28669 esac
28670 fi
28671 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28672 if test -n "$ac_pt_PKG_CONFIG"; then
28673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28674 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28675 else
28676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28677 $as_echo "no" >&6; }
28678 fi
28679
28680 if test "x$ac_pt_PKG_CONFIG" = x; then
28681 PKG_CONFIG=""
28682 else
28683 case $cross_compiling:$ac_tool_warned in
28684 yes:)
28685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28687 ac_tool_warned=yes ;;
28688 esac
28689 PKG_CONFIG=$ac_pt_PKG_CONFIG
28690 fi
28691 else
28692 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28693 fi
28694
28695 fi
28696 if test -n "$PKG_CONFIG"; then
28697 _pkg_min_version=0.9.0
28698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28699 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28700 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28702 $as_echo "yes" >&6; }
28703 else
28704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28705 $as_echo "no" >&6; }
28706 PKG_CONFIG=""
28707 fi
28708
28709 fi 6> /dev/null
28710
28711 pkg_failed=no
28712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28713 $as_echo_n "checking for MesaGL... " >&6; }
28714
28715 if test -n "$PKG_CONFIG"; then
28716 if test -n "$MesaGL_CFLAGS"; then
28717 pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
28718 else
28719 if test -n "$PKG_CONFIG" && \
28720 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28721 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28722 ac_status=$?
28723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28724 test $ac_status = 0; }; then
28725 pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28726 else
28727 pkg_failed=yes
28728 fi
28729 fi
28730 else
28731 pkg_failed=untried
28732 fi
28733 if test -n "$PKG_CONFIG"; then
28734 if test -n "$MesaGL_LIBS"; then
28735 pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
28736 else
28737 if test -n "$PKG_CONFIG" && \
28738 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28739 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28740 ac_status=$?
28741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28742 test $ac_status = 0; }; then
28743 pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28744 else
28745 pkg_failed=yes
28746 fi
28747 fi
28748 else
28749 pkg_failed=untried
28750 fi
28751
28752
28753
28754 if test $pkg_failed = yes; then
28755
28756 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28757 _pkg_short_errors_supported=yes
28758 else
28759 _pkg_short_errors_supported=no
28760 fi
28761 if test $_pkg_short_errors_supported = yes; then
28762 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28763 else
28764 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28765 fi
28766 # Put the nasty error message in config.log where it belongs
28767 echo "$MesaGL_PKG_ERRORS" >&5
28768
28769
28770 if test "x$ac_find_libraries" = "x"; then
28771 if test "xglEnable" != "x"; then
28772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28773 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28774 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28775 $as_echo_n "(cached) " >&6
28776 else
28777 ac_check_lib_save_LIBS=$LIBS
28778 LIBS="-lMesaGL $LIBS"
28779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28780 /* end confdefs.h. */
28781
28782 /* Override any GCC internal prototype to avoid an error.
28783 Use char because int might match the return type of a GCC
28784 builtin and then its argument prototype would still apply. */
28785 #ifdef __cplusplus
28786 extern "C"
28787 #endif
28788 char glEnable ();
28789 int
28790 main ()
28791 {
28792 return glEnable ();
28793 ;
28794 return 0;
28795 }
28796 _ACEOF
28797 if ac_fn_c_try_link "$LINENO"; then :
28798 ac_cv_lib_MesaGL_glEnable=yes
28799 else
28800 ac_cv_lib_MesaGL_glEnable=no
28801 fi
28802 rm -f core conftest.err conftest.$ac_objext \
28803 conftest$ac_exeext conftest.$ac_ext
28804 LIBS=$ac_check_lib_save_LIBS
28805 fi
28806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28807 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28808 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28809 ac_find_libraries="std"
28810 fi
28811
28812 fi
28813 fi
28814
28815 if test "x$ac_find_libraries" = "x"; then
28816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28817 $as_echo_n "checking elsewhere... " >&6; }
28818
28819 ac_find_libraries=
28820 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28821 do
28822 for ac_extension in a so sl dylib dll.a; do
28823 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28824 ac_find_libraries=$ac_dir
28825 break 2
28826 fi
28827 done
28828 done
28829
28830 if test "x$ac_find_libraries" != "x"; then
28831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28832 $as_echo "yes" >&6; }
28833 else
28834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28835 $as_echo "no" >&6; }
28836 fi
28837 fi
28838
28839 elif test $pkg_failed = untried; then
28840
28841 if test "x$ac_find_libraries" = "x"; then
28842 if test "xglEnable" != "x"; then
28843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28844 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28845 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28846 $as_echo_n "(cached) " >&6
28847 else
28848 ac_check_lib_save_LIBS=$LIBS
28849 LIBS="-lMesaGL $LIBS"
28850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28851 /* end confdefs.h. */
28852
28853 /* Override any GCC internal prototype to avoid an error.
28854 Use char because int might match the return type of a GCC
28855 builtin and then its argument prototype would still apply. */
28856 #ifdef __cplusplus
28857 extern "C"
28858 #endif
28859 char glEnable ();
28860 int
28861 main ()
28862 {
28863 return glEnable ();
28864 ;
28865 return 0;
28866 }
28867 _ACEOF
28868 if ac_fn_c_try_link "$LINENO"; then :
28869 ac_cv_lib_MesaGL_glEnable=yes
28870 else
28871 ac_cv_lib_MesaGL_glEnable=no
28872 fi
28873 rm -f core conftest.err conftest.$ac_objext \
28874 conftest$ac_exeext conftest.$ac_ext
28875 LIBS=$ac_check_lib_save_LIBS
28876 fi
28877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28878 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28879 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28880 ac_find_libraries="std"
28881 fi
28882
28883 fi
28884 fi
28885
28886 if test "x$ac_find_libraries" = "x"; then
28887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28888 $as_echo_n "checking elsewhere... " >&6; }
28889
28890 ac_find_libraries=
28891 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28892 do
28893 for ac_extension in a so sl dylib dll.a; do
28894 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28895 ac_find_libraries=$ac_dir
28896 break 2
28897 fi
28898 done
28899 done
28900
28901 if test "x$ac_find_libraries" != "x"; then
28902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28903 $as_echo "yes" >&6; }
28904 else
28905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28906 $as_echo "no" >&6; }
28907 fi
28908 fi
28909
28910 else
28911 MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
28912 MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
28913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28914 $as_echo "yes" >&6; }
28915
28916 ac_find_libraries="std"
28917
28918 eval ac_find_cflags=\$MesaGL_CFLAGS
28919 eval fl_libs=\$MesaGL_LIBS
28920
28921 for fl_path in $fl_libs
28922 do
28923 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28924 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28925 fi
28926 done
28927
28928 fi
28929
28930 if test "$ac_find_libraries" != "" ; then
28931 if test "$ac_find_libraries" != "std" ; then
28932
28933 if test "$ac_find_libraries" = "default location"; then
28934 ac_path_to_link=""
28935 else
28936 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28937 result=$?
28938 if test $result = 0; then
28939 ac_path_to_link=""
28940 else
28941 ac_path_to_link=" -L$ac_find_libraries"
28942 fi
28943 fi
28944
28945 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28946 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28947 fi
28948 fi
28949 OPENGL_LIBS="-lMesaGL -lMesaGLU"
28950 fi
28951 fi
28952
28953 fi
28954
28955
28956
28957 fi
28958
28959
28960
28961 if test "x$OPENGL_LIBS" = "x"; then
28962 if test "$wxUSE_OPENGL" = "yes"; then
28963 as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
28964 else
28965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28966 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28967 wxUSE_OPENGL=no
28968 USE_OPENGL=0
28969 fi
28970 fi
28971 else
28972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28973 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28974 wxUSE_OPENGL="no"
28975 fi
28976
28977 if test "$wxUSE_OPENGL" = "auto"; then
28978 wxUSE_OPENGL=yes
28979 fi
28980
28981 if test "$wxUSE_OPENGL" = "yes"; then
28982 USE_OPENGL=1
28983 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28984
28985 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28986
28987 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28988 fi
28989 fi
28990
28991
28992 if test -n "$TOOLKIT" ; then
28993 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28994 fi
28995
28996
28997
28998 if test "$wxUSE_SHARED" = "yes"; then
28999 case "${host}" in
29000 *-pc-msdosdjgpp )
29001 wxUSE_SHARED=no
29002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
29003 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29004 ;;
29005 esac
29006 fi
29007
29008 if test "$wxUSE_SHARED" = "yes"; then
29009
29010
29011 case "${host}" in
29012 *-*-cygwin* | *-*-mingw* )
29013 wx_cv_version_script=no
29014 ;;
29015
29016 *)
29017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
29018 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
29019 if ${wx_cv_version_script+:} false; then :
29020 $as_echo_n "(cached) " >&6
29021 else
29022
29023 echo "VER_1 { *; };" >conftest.sym
29024 echo "int main() { return 0; }" >conftest.cpp
29025
29026 if { ac_try='
29027 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29028 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29029 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29030 (eval $ac_try) 2>&5
29031 ac_status=$?
29032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29033 test $ac_status = 0; }; } ; then
29034 if test -s conftest.stderr ; then
29035 wx_cv_version_script=no
29036 else
29037 wx_cv_version_script=yes
29038 fi
29039 else
29040 wx_cv_version_script=no
29041 fi
29042
29043 if test $wx_cv_version_script = yes
29044 then
29045 echo "struct B { virtual ~B() { } }; \
29046 struct D : public B { }; \
29047 void F() { D d; }" > conftest.cpp
29048
29049 if { ac_try='
29050 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29051 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29052 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29053 (eval $ac_try) 2>&5
29054 ac_status=$?
29055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29056 test $ac_status = 0; }; } &&
29057 { ac_try='
29058 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29059 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29060 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29061 (eval $ac_try) 2>&5
29062 ac_status=$?
29063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29064 test $ac_status = 0; }; }
29065 then
29066 if { ac_try='
29067 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29068 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29069 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29070 (eval $ac_try) 2>&5
29071 ac_status=$?
29072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29073 test $ac_status = 0; }; }
29074 then
29075 wx_cv_version_script=yes
29076 else
29077 wx_cv_version_script=no
29078 fi
29079 fi
29080 fi
29081
29082 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29083 rm -f conftest1.output conftest2.output conftest3.output
29084
29085 fi
29086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
29087 $as_echo "$wx_cv_version_script" >&6; }
29088
29089 if test $wx_cv_version_script = yes ; then
29090 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
29091 fi
29092 ;;
29093 esac
29094
29095
29096 if test "$wxUSE_VISIBILITY" != "no"; then
29097
29098
29099 if test -n "$GCC"; then
29100 CFLAGS_VISIBILITY="-fvisibility=hidden"
29101 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
29102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
29103 $as_echo_n "checking for symbols visibility support... " >&6; }
29104 if ${wx_cv_cc_visibility+:} false; then :
29105 $as_echo_n "(cached) " >&6
29106 else
29107
29108 wx_save_CXXFLAGS="$CXXFLAGS"
29109 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29110 ac_ext=cpp
29111 ac_cpp='$CXXCPP $CPPFLAGS'
29112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29115
29116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29117 /* end confdefs.h. */
29118
29119 /* we need gcc >= 4.0, older versions with visibility support
29120 didn't have class visibility: */
29121 #if defined(__GNUC__) && __GNUC__ < 4
29122 error this gcc is too old;
29123 #endif
29124
29125 /* visibility only makes sense for ELF shared libs: */
29126 #if !defined(__ELF__) && !defined(__APPLE__)
29127 error this platform has no visibility;
29128 #endif
29129
29130 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
29131 #if defined(__clang__)
29132 clang compiler is still broken w.r.t. visibility;
29133 #endif
29134
29135 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
29136 extern __attribute__((__visibility__("default"))) int exportedvar;
29137 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
29138 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
29139 class __attribute__((__visibility__("default"))) Foo {
29140 Foo() {}
29141 };
29142
29143 int
29144 main ()
29145 {
29146
29147 ;
29148 return 0;
29149 }
29150 _ACEOF
29151 if ac_fn_cxx_try_compile "$LINENO"; then :
29152 wx_cv_cc_visibility=yes
29153 else
29154 wx_cv_cc_visibility=no
29155 fi
29156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29157 ac_ext=c
29158 ac_cpp='$CPP $CPPFLAGS'
29159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29162
29163 CXXFLAGS="$wx_save_CXXFLAGS"
29164 fi
29165
29166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
29167 $as_echo "$wx_cv_cc_visibility" >&6; }
29168 if test $wx_cv_cc_visibility = yes; then
29169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
29170 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
29171 if ${wx_cv_cc_broken_libstdcxx_visibility+:} false; then :
29172 $as_echo_n "(cached) " >&6
29173 else
29174
29175 wx_save_CXXFLAGS="$CXXFLAGS"
29176 wx_save_LDFLAGS="$LDFLAGS"
29177 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29178 LDFLAGS="$LDFLAGS -shared -fPIC"
29179 ac_ext=cpp
29180 ac_cpp='$CXXCPP $CPPFLAGS'
29181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29184
29185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29186 /* end confdefs.h. */
29187
29188 #include <string>
29189
29190 int
29191 main ()
29192 {
29193
29194 std::string s("hello");
29195 return s.length();
29196
29197 ;
29198 return 0;
29199 }
29200 _ACEOF
29201 if ac_fn_cxx_try_link "$LINENO"; then :
29202 wx_cv_cc_broken_libstdcxx_visibility=no
29203 else
29204 wx_cv_cc_broken_libstdcxx_visibility=yes
29205 fi
29206 rm -f core conftest.err conftest.$ac_objext \
29207 conftest$ac_exeext conftest.$ac_ext
29208 ac_ext=c
29209 ac_cpp='$CPP $CPPFLAGS'
29210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29213
29214 CXXFLAGS="$wx_save_CXXFLAGS"
29215 LDFLAGS="$wx_save_LDFLAGS"
29216 fi
29217
29218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29219 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29220
29221 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29223 $as_echo_n "checking whether we can work around it... " >&6; }
29224 if ${wx_cv_cc_visibility_workaround+:} false; then :
29225 $as_echo_n "(cached) " >&6
29226 else
29227
29228 ac_ext=cpp
29229 ac_cpp='$CXXCPP $CPPFLAGS'
29230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29233
29234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29235 /* end confdefs.h. */
29236
29237 #pragma GCC visibility push(default)
29238 #include <string>
29239 #pragma GCC visibility pop
29240
29241 int
29242 main ()
29243 {
29244
29245 std::string s("hello");
29246 return s.length();
29247
29248 ;
29249 return 0;
29250 }
29251 _ACEOF
29252 if ac_fn_cxx_try_link "$LINENO"; then :
29253 wx_cv_cc_visibility_workaround=no
29254 else
29255 wx_cv_cc_visibility_workaround=yes
29256 fi
29257 rm -f core conftest.err conftest.$ac_objext \
29258 conftest$ac_exeext conftest.$ac_ext
29259 ac_ext=c
29260 ac_cpp='$CPP $CPPFLAGS'
29261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29264
29265
29266 fi
29267
29268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29269 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29270
29271 if test $wx_cv_cc_visibility_workaround = no; then
29272 wx_cv_cc_visibility=no
29273 fi
29274 fi
29275 fi
29276
29277 if test $wx_cv_cc_visibility = yes; then
29278 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29279
29280 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29281 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29282
29283 fi
29284 else
29285 CFLAGS_VISIBILITY=""
29286 CXXFLAGS_VISIBILITY=""
29287 fi
29288
29289
29290 fi
29291
29292 fi
29293
29294 if test "x$SUNCXX" = xyes; then
29295 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
29296 WXCONFIG_RPATH="-R\$libdir"
29297 else
29298 case "${host}" in
29299 *-*-linux* | *-*-gnu* )
29300 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29301 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29302 ;;
29303
29304 *-*-solaris2* )
29305
29306 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
29307
29308 saveLdflags="$LDFLAGS"
29309 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29311 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29313 /* end confdefs.h. */
29314
29315 int
29316 main ()
29317 {
29318
29319 ;
29320 return 0;
29321 }
29322 _ACEOF
29323 if ac_fn_c_try_link "$LINENO"; then :
29324
29325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29326 $as_echo "yes" >&6; }
29327 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29328 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29329
29330 else
29331
29332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29333 $as_echo "no" >&6; }
29334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29335 $as_echo_n "checking if the linker accepts -R... " >&6; }
29336 LDFLAGS="$saveLdflags -Wl,-R,/"
29337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29338 /* end confdefs.h. */
29339
29340 int
29341 main ()
29342 {
29343
29344 ;
29345 return 0;
29346 }
29347 _ACEOF
29348 if ac_fn_c_try_link "$LINENO"; then :
29349
29350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29351 $as_echo "yes" >&6; }
29352 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
29353 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29354
29355 else
29356
29357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29358 $as_echo "no" >&6; }
29359
29360 fi
29361 rm -f core conftest.err conftest.$ac_objext \
29362 conftest$ac_exeext conftest.$ac_ext
29363
29364 fi
29365 rm -f core conftest.err conftest.$ac_objext \
29366 conftest$ac_exeext conftest.$ac_ext
29367 LDFLAGS="$saveLdflags"
29368 ;;
29369
29370 *-*-darwin* )
29371 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
29372 if test "$install_name_tool" -a -x "$install_name_tool"; then
29373 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29374 cat <<EOF >change-install-names
29375 #!/bin/sh
29376 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29377 for i in \${libnames} ; do
29378 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29379 for dep in \${libnames} ; do
29380 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29381 done
29382 done
29383 EOF
29384 chmod +x change-install-names
29385 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29386 fi
29387
29388 HEADER_PAD_OPTION="-headerpad_max_install_names"
29389 ;;
29390
29391 *-*-cygwin* | *-*-mingw32* )
29392 ;;
29393
29394 *-*-hpux* )
29395 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
29396 WXCONFIG_RPATH="-Wl,+b,\$libdir"
29397 ;;
29398
29399 esac
29400 fi
29401
29402 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29403
29404 if test $wxUSE_RPATH = "no"; then
29405 SAMPLES_RPATH_FLAG=''
29406 DYLIB_PATH_POSTLINK=''
29407 WXCONFIG_RPATH=''
29408 fi
29409
29410 SHARED=1
29411
29412 else
29413
29414 config_linkage_component="-static"
29415 SHARED=0
29416
29417 fi
29418
29419
29420 UNICODE=0
29421 lib_unicode_suffix=
29422 WX_CHARTYPE="ansi"
29423 if test "$wxUSE_UNICODE" = "yes"; then
29424 lib_unicode_suffix=u
29425 WX_CHARTYPE="unicode"
29426 UNICODE=1
29427 fi
29428
29429 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29430 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29431
29432 DEBUG_INFO=0
29433 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29434 DEBUG_INFO=1
29435 fi
29436
29437 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29438
29439 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29440
29441 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29442
29443
29444 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29445 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29446 else
29447 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29448 fi
29449 if test "${TOOLKIT_DIR}" = "os2"; then
29450 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29451 else
29452 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29453 fi
29454
29455
29456
29457 if test "$wxUSE_OLD_COCOA" = 1; then
29458
29459 ac_ext=c
29460 ac_cpp='$CPP $CPPFLAGS'
29461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29464
29465 ac_ext=m
29466
29467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29468 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29470 /* end confdefs.h. */
29471 #include <AppKit/NSEvent.h>
29472 #include <CoreFoundation/CoreFoundation.h>
29473
29474 int
29475 main ()
29476 {
29477
29478 ;
29479 return 0;
29480 }
29481 _ACEOF
29482 if ac_fn_c_try_compile "$LINENO"; then :
29483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29484 $as_echo "no" >&6; }
29485 else
29486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29487 $as_echo "yes" >&6; }
29488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29489 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29491 /* end confdefs.h. */
29492 #define __Point__ 1
29493 #include <AppKit/NSEvent.h>
29494 #include <CoreFoundation/CoreFoundation.h>
29495
29496 int
29497 main ()
29498 {
29499
29500 ;
29501 return 0;
29502 }
29503 _ACEOF
29504 if ac_fn_c_try_compile "$LINENO"; then :
29505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29506 $as_echo "yes" >&6; }
29507 $as_echo "#define __Point__ 1" >>confdefs.h
29508
29509
29510 else
29511 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29513 as_fn_error $? "no
29514 See \`config.log' for more details" "$LINENO" 5; }
29515
29516 fi
29517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29518
29519 fi
29520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29521 ac_ext=c
29522 ac_cpp='$CPP $CPPFLAGS'
29523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29526
29527 fi
29528
29529
29530 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29531 if test "x$ac_cv_type_mode_t" = xyes; then :
29532
29533 else
29534
29535 cat >>confdefs.h <<_ACEOF
29536 #define mode_t int
29537 _ACEOF
29538
29539 fi
29540
29541 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29542 if test "x$ac_cv_type_off_t" = xyes; then :
29543
29544 else
29545
29546 cat >>confdefs.h <<_ACEOF
29547 #define off_t long int
29548 _ACEOF
29549
29550 fi
29551
29552 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29553 if test "x$ac_cv_type_pid_t" = xyes; then :
29554
29555 else
29556
29557 cat >>confdefs.h <<_ACEOF
29558 #define pid_t int
29559 _ACEOF
29560
29561 fi
29562
29563 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29564 if test "x$ac_cv_type_size_t" = xyes; then :
29565
29566 else
29567
29568 cat >>confdefs.h <<_ACEOF
29569 #define size_t unsigned int
29570 _ACEOF
29571
29572 fi
29573
29574
29575 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29576 if test "x$ac_cv_type_ssize_t" = xyes; then :
29577
29578 cat >>confdefs.h <<_ACEOF
29579 #define HAVE_SSIZE_T 1
29580 _ACEOF
29581
29582
29583 fi
29584
29585
29586 ac_ext=cpp
29587 ac_cpp='$CXXCPP $CPPFLAGS'
29588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29592 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29593 if ${wx_cv_size_t_is_uint+:} false; then :
29594 $as_echo_n "(cached) " >&6
29595 else
29596
29597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29598 /* end confdefs.h. */
29599 #include <stddef.h>
29600 int
29601 main ()
29602 {
29603
29604 return 0; }
29605
29606 struct Foo { void foo(size_t); void foo(unsigned int); };
29607
29608 int bar() {
29609
29610 ;
29611 return 0;
29612 }
29613 _ACEOF
29614 if ac_fn_cxx_try_compile "$LINENO"; then :
29615 wx_cv_size_t_is_uint=no
29616 else
29617 wx_cv_size_t_is_uint=yes
29618
29619 fi
29620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29621
29622
29623 fi
29624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29625 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29626
29627 if test "$wx_cv_size_t_is_uint" = "yes"; then
29628 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29629
29630 else
29631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29632 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29633 if ${wx_cv_size_t_is_ulong+:} false; then :
29634 $as_echo_n "(cached) " >&6
29635 else
29636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29637 /* end confdefs.h. */
29638 #include <stddef.h>
29639 int
29640 main ()
29641 {
29642
29643 return 0; }
29644
29645 struct Foo { void foo(size_t); void foo(unsigned long); };
29646
29647 int bar() {
29648
29649 ;
29650 return 0;
29651 }
29652 _ACEOF
29653 if ac_fn_cxx_try_compile "$LINENO"; then :
29654 wx_cv_size_t_is_ulong=no
29655 else
29656 wx_cv_size_t_is_ulong=yes
29657
29658 fi
29659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29660
29661 fi
29662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29663 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29664
29665 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29666 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29667
29668 fi
29669 fi
29670
29671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29672 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29673 if ${wx_cv_wchar_t_is_separate_type+:} false; then :
29674 $as_echo_n "(cached) " >&6
29675 else
29676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29677 /* end confdefs.h. */
29678 #include <wchar.h>
29679 int
29680 main ()
29681 {
29682
29683 return 0; }
29684
29685 struct Foo { void foo(wchar_t);
29686 void foo(unsigned short);
29687 void foo(unsigned int);
29688 void foo(unsigned long); };
29689
29690 int bar() {
29691
29692 ;
29693 return 0;
29694 }
29695 _ACEOF
29696 if ac_fn_cxx_try_compile "$LINENO"; then :
29697 wx_cv_wchar_t_is_separate_type=yes
29698 else
29699 wx_cv_wchar_t_is_separate_type=no
29700
29701 fi
29702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29703
29704 fi
29705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29706 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29707
29708 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29709 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29710
29711 else
29712 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29713
29714 fi
29715
29716 ac_ext=c
29717 ac_cpp='$CPP $CPPFLAGS'
29718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29721
29722
29723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29724 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29725 if ${wx_cv_struct_pw_gecos+:} false; then :
29726 $as_echo_n "(cached) " >&6
29727 else
29728
29729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29730 /* end confdefs.h. */
29731 #include <pwd.h>
29732 int
29733 main ()
29734 {
29735
29736 char *p;
29737 struct passwd *pw;
29738 p = pw->pw_gecos;
29739
29740 ;
29741 return 0;
29742 }
29743 _ACEOF
29744 if ac_fn_c_try_compile "$LINENO"; then :
29745
29746 wx_cv_struct_pw_gecos=yes
29747
29748 else
29749
29750 wx_cv_struct_pw_gecos=no
29751
29752
29753 fi
29754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29755
29756
29757 fi
29758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29759 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29760
29761 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29762 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29763
29764 fi
29765
29766
29767 WCSLEN_FOUND=0
29768 WCHAR_LINK=
29769 for ac_func in wcslen
29770 do :
29771 ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
29772 if test "x$ac_cv_func_wcslen" = xyes; then :
29773 cat >>confdefs.h <<_ACEOF
29774 #define HAVE_WCSLEN 1
29775 _ACEOF
29776 WCSLEN_FOUND=1
29777 fi
29778 done
29779
29780
29781 if test "$WCSLEN_FOUND" = 0; then
29782 if test "$TOOLKIT" = "MSW"; then
29783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29784 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29785 if ${ac_cv_lib_msvcrt_wcslen+:} false; then :
29786 $as_echo_n "(cached) " >&6
29787 else
29788 ac_check_lib_save_LIBS=$LIBS
29789 LIBS="-lmsvcrt $LIBS"
29790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29791 /* end confdefs.h. */
29792
29793 /* Override any GCC internal prototype to avoid an error.
29794 Use char because int might match the return type of a GCC
29795 builtin and then its argument prototype would still apply. */
29796 #ifdef __cplusplus
29797 extern "C"
29798 #endif
29799 char wcslen ();
29800 int
29801 main ()
29802 {
29803 return wcslen ();
29804 ;
29805 return 0;
29806 }
29807 _ACEOF
29808 if ac_fn_c_try_link "$LINENO"; then :
29809 ac_cv_lib_msvcrt_wcslen=yes
29810 else
29811 ac_cv_lib_msvcrt_wcslen=no
29812 fi
29813 rm -f core conftest.err conftest.$ac_objext \
29814 conftest$ac_exeext conftest.$ac_ext
29815 LIBS=$ac_check_lib_save_LIBS
29816 fi
29817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29818 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29819 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes; then :
29820 WCHAR_OK=1
29821 fi
29822
29823 else
29824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29825 $as_echo_n "checking for wcslen in -lw... " >&6; }
29826 if ${ac_cv_lib_w_wcslen+:} false; then :
29827 $as_echo_n "(cached) " >&6
29828 else
29829 ac_check_lib_save_LIBS=$LIBS
29830 LIBS="-lw $LIBS"
29831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29832 /* end confdefs.h. */
29833
29834 /* Override any GCC internal prototype to avoid an error.
29835 Use char because int might match the return type of a GCC
29836 builtin and then its argument prototype would still apply. */
29837 #ifdef __cplusplus
29838 extern "C"
29839 #endif
29840 char wcslen ();
29841 int
29842 main ()
29843 {
29844 return wcslen ();
29845 ;
29846 return 0;
29847 }
29848 _ACEOF
29849 if ac_fn_c_try_link "$LINENO"; then :
29850 ac_cv_lib_w_wcslen=yes
29851 else
29852 ac_cv_lib_w_wcslen=no
29853 fi
29854 rm -f core conftest.err conftest.$ac_objext \
29855 conftest$ac_exeext conftest.$ac_ext
29856 LIBS=$ac_check_lib_save_LIBS
29857 fi
29858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29859 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29860 if test "x$ac_cv_lib_w_wcslen" = xyes; then :
29861
29862 WCHAR_LINK=" -lw"
29863 WCSLEN_FOUND=1
29864
29865 fi
29866
29867 fi
29868 fi
29869
29870 if test "$WCSLEN_FOUND" = 1; then
29871 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29872
29873 fi
29874
29875 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29876 do :
29877 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29878 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29879 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29880 cat >>confdefs.h <<_ACEOF
29881 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29882 _ACEOF
29883
29884 fi
29885 done
29886
29887
29888 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29889 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29890 fi
29891
29892 ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29893 "
29894 if test "x$ac_cv_type_mbstate_t" = xyes; then :
29895
29896 cat >>confdefs.h <<_ACEOF
29897 #define HAVE_MBSTATE_T 1
29898 _ACEOF
29899
29900 for ac_func in wcsrtombs
29901 do :
29902 ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29903 if test "x$ac_cv_func_wcsrtombs" = xyes; then :
29904 cat >>confdefs.h <<_ACEOF
29905 #define HAVE_WCSRTOMBS 1
29906 _ACEOF
29907
29908 fi
29909 done
29910
29911 fi
29912
29913
29914 for ac_func in snprintf vsnprintf vsscanf
29915 do :
29916 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29917 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29918 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29919 cat >>confdefs.h <<_ACEOF
29920 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29921 _ACEOF
29922
29923 fi
29924 done
29925
29926
29927 ac_ext=cpp
29928 ac_cpp='$CXXCPP $CPPFLAGS'
29929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29932
29933 if test "$ac_cv_func_vsnprintf" = "yes"; then
29934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29935 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29936 if ${wx_cv_func_vsnprintf_decl+:} false; then :
29937 $as_echo_n "(cached) " >&6
29938 else
29939
29940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29941 /* end confdefs.h. */
29942
29943 #include <stdio.h>
29944 #include <stdarg.h>
29945
29946 int
29947 main ()
29948 {
29949
29950 char *buf;
29951 va_list ap;
29952 vsnprintf(buf, 10u, "%s", ap);
29953
29954 ;
29955 return 0;
29956 }
29957 _ACEOF
29958 if ac_fn_cxx_try_compile "$LINENO"; then :
29959 wx_cv_func_vsnprintf_decl=yes
29960 else
29961 wx_cv_func_vsnprintf_decl=no
29962
29963 fi
29964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29965
29966
29967 fi
29968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29969 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29970
29971 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29972 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29973
29974
29975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29976 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29977 if ${wx_cv_func_broken_vsnprintf_decl+:} false; then :
29978 $as_echo_n "(cached) " >&6
29979 else
29980
29981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29982 /* end confdefs.h. */
29983
29984 #include <stdio.h>
29985 #include <stdarg.h>
29986 #ifdef __MSL__
29987 #if __MSL__ >= 0x6000
29988 namespace std {}
29989 using namespace std;
29990 #endif
29991 #endif
29992
29993 int
29994 main ()
29995 {
29996
29997 char *buf;
29998 va_list ap;
29999 const char *fmt = "%s";
30000 vsnprintf(buf, 10u, fmt, ap);
30001
30002 ;
30003 return 0;
30004 }
30005 _ACEOF
30006 if ac_fn_cxx_try_compile "$LINENO"; then :
30007 wx_cv_func_broken_vsnprintf_decl=no
30008 else
30009 wx_cv_func_broken_vsnprintf_decl=yes
30010
30011 fi
30012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30013
30014
30015 fi
30016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
30017 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
30018
30019 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
30020 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
30021
30022 fi
30023 fi
30024 fi
30025
30026 if test "$ac_cv_func_snprintf" = "yes"; then
30027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
30028 $as_echo_n "checking for snprintf declaration... " >&6; }
30029 if ${wx_cv_func_snprintf_decl+:} false; then :
30030 $as_echo_n "(cached) " >&6
30031 else
30032
30033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30034 /* end confdefs.h. */
30035
30036 #include <stdio.h>
30037 #include <stdarg.h>
30038 #ifdef __MSL__
30039 #if __MSL__ >= 0x6000
30040 namespace std {}
30041 using namespace std;
30042 #endif
30043 #endif
30044
30045 int
30046 main ()
30047 {
30048
30049 char *buf;
30050 snprintf(buf, 10u, "%s", "wx");
30051
30052 ;
30053 return 0;
30054 }
30055 _ACEOF
30056 if ac_fn_cxx_try_compile "$LINENO"; then :
30057 wx_cv_func_snprintf_decl=yes
30058 else
30059 wx_cv_func_snprintf_decl=no
30060
30061 fi
30062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30063
30064
30065 fi
30066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
30067 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
30068
30069 if test "$wx_cv_func_snprintf_decl" = "yes"; then
30070 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
30071
30072 fi
30073
30074 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
30075
30076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
30077 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
30078 if ${wx_cv_func_snprintf_pos_params+:} false; then :
30079 $as_echo_n "(cached) " >&6
30080 else
30081
30082 if test "$cross_compiling" = yes; then :
30083
30084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
30085 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
30086 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
30087 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
30088 wx_cv_func_snprintf_pos_params=no
30089
30090
30091 else
30092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30093 /* end confdefs.h. */
30094
30095 #include <stdio.h>
30096
30097 int main (void)
30098 {
30099 char buffer[128];
30100 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
30101 if (strcmp ("2 3 1", buffer) == 0)
30102 exit (0);
30103 exit (1);
30104 }
30105
30106 _ACEOF
30107 if ac_fn_cxx_try_run "$LINENO"; then :
30108 wx_cv_func_snprintf_pos_params=no
30109 else
30110 wx_cv_func_snprintf_pos_params=yes
30111 fi
30112 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30113 conftest.$ac_objext conftest.beam conftest.$ac_ext
30114 fi
30115
30116
30117
30118 fi
30119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
30120 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
30121
30122 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
30123 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
30124
30125 fi
30126 fi
30127 fi
30128
30129 if test "$ac_cv_func_vsscanf" = "yes"; then
30130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
30131 $as_echo_n "checking for vsscanf declaration... " >&6; }
30132 if ${wx_cv_func_vsscanf_decl+:} false; then :
30133 $as_echo_n "(cached) " >&6
30134 else
30135
30136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30137 /* end confdefs.h. */
30138
30139 #include <stdio.h>
30140 #include <stdarg.h>
30141 #ifdef __MSL__
30142 #if __MSL__ >= 0x6000
30143 namespace std {}
30144 using namespace std;
30145 #endif
30146 #endif
30147
30148 int
30149 main ()
30150 {
30151
30152 char *buf;
30153 va_list args;
30154 vsscanf(buf, "%s", args);
30155
30156 ;
30157 return 0;
30158 }
30159 _ACEOF
30160 if ac_fn_cxx_try_compile "$LINENO"; then :
30161 wx_cv_func_vsscanf_decl=yes
30162 else
30163 wx_cv_func_vsscanf_decl=no
30164
30165 fi
30166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30167
30168
30169 fi
30170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
30171 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
30172
30173 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
30174 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
30175
30176 fi
30177 fi
30178 ac_ext=c
30179 ac_cpp='$CPP $CPPFLAGS'
30180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30183
30184
30185 if test "$wxUSE_UNICODE" = yes; then
30186
30187 wchar_headers="#include <stdio.h>
30188 #include <wchar.h>"
30189 case "${host}" in
30190 *-*-solaris2* )
30191 for ac_header in widec.h
30192 do :
30193 ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
30194 "
30195 if test "x$ac_cv_header_widec_h" = xyes; then :
30196 cat >>confdefs.h <<_ACEOF
30197 #define HAVE_WIDEC_H 1
30198 _ACEOF
30199
30200 fi
30201
30202 done
30203
30204 if test "$ac_cv_header_widec_h" = "yes"; then
30205 wchar_headers="$wchar_headers
30206 #include <widec.h>"
30207 fi
30208 esac
30209
30210
30211 for wx_func in putws fputws wprintf vswprintf vswscanf
30212 do
30213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30214 $as_echo_n "checking for $wx_func... " >&6; }
30215 if eval \${wx_cv_func_$wx_func+:} false; then :
30216 $as_echo_n "(cached) " >&6
30217 else
30218
30219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30220 /* end confdefs.h. */
30221
30222
30223 $wchar_headers
30224 $ac_includes_default
30225
30226 int
30227 main ()
30228 {
30229
30230 #ifndef $wx_func
30231 &$wx_func;
30232 #endif
30233
30234
30235 ;
30236 return 0;
30237 }
30238
30239 _ACEOF
30240 if ac_fn_c_try_link "$LINENO"; then :
30241 eval wx_cv_func_$wx_func=yes
30242 else
30243 eval wx_cv_func_$wx_func=no
30244 fi
30245 rm -f core conftest.err conftest.$ac_objext \
30246 conftest$ac_exeext conftest.$ac_ext
30247
30248 fi
30249 eval ac_res=\$wx_cv_func_$wx_func
30250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30251 $as_echo "$ac_res" >&6; }
30252
30253 if eval test \$wx_cv_func_$wx_func = yes
30254 then
30255 cat >>confdefs.h <<_ACEOF
30256 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30257 _ACEOF
30258
30259
30260 else
30261 :
30262
30263 fi
30264 done
30265
30266
30267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30268 $as_echo_n "checking for _vsnwprintf... " >&6; }
30269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30270 /* end confdefs.h. */
30271 #include <wchar.h>
30272 int
30273 main ()
30274 {
30275 &_vsnwprintf;
30276 ;
30277 return 0;
30278 }
30279 _ACEOF
30280 if ac_fn_c_try_compile "$LINENO"; then :
30281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30282 $as_echo "yes" >&6; }
30283 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30284
30285 else
30286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30287 $as_echo "no" >&6; }
30288 fi
30289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
30290 fi
30291
30292 if test "$wxUSE_FILE" = "yes"; then
30293
30294 for wx_func in fsync
30295 do
30296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30297 $as_echo_n "checking for $wx_func... " >&6; }
30298 if eval \${wx_cv_func_$wx_func+:} false; then :
30299 $as_echo_n "(cached) " >&6
30300 else
30301
30302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30303 /* end confdefs.h. */
30304
30305
30306
30307 $ac_includes_default
30308
30309 int
30310 main ()
30311 {
30312
30313 #ifndef $wx_func
30314 &$wx_func;
30315 #endif
30316
30317
30318 ;
30319 return 0;
30320 }
30321
30322 _ACEOF
30323 if ac_fn_c_try_link "$LINENO"; then :
30324 eval wx_cv_func_$wx_func=yes
30325 else
30326 eval wx_cv_func_$wx_func=no
30327 fi
30328 rm -f core conftest.err conftest.$ac_objext \
30329 conftest$ac_exeext conftest.$ac_ext
30330
30331 fi
30332 eval ac_res=\$wx_cv_func_$wx_func
30333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30334 $as_echo "$ac_res" >&6; }
30335
30336 if eval test \$wx_cv_func_$wx_func = yes
30337 then
30338 cat >>confdefs.h <<_ACEOF
30339 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30340 _ACEOF
30341
30342
30343 else
30344 :
30345
30346 fi
30347 done
30348
30349 fi
30350
30351 ac_ext=cpp
30352 ac_cpp='$CXXCPP $CPPFLAGS'
30353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30356
30357
30358 for wx_func in round
30359 do
30360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30361 $as_echo_n "checking for $wx_func... " >&6; }
30362 if eval \${wx_cv_func_$wx_func+:} false; then :
30363 $as_echo_n "(cached) " >&6
30364 else
30365
30366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30367 /* end confdefs.h. */
30368
30369
30370 #include <math.h>
30371 $ac_includes_default
30372
30373 int
30374 main ()
30375 {
30376
30377 #ifndef $wx_func
30378 &$wx_func;
30379 #endif
30380
30381
30382 ;
30383 return 0;
30384 }
30385
30386 _ACEOF
30387 if ac_fn_cxx_try_link "$LINENO"; then :
30388 eval wx_cv_func_$wx_func=yes
30389 else
30390 eval wx_cv_func_$wx_func=no
30391 fi
30392 rm -f core conftest.err conftest.$ac_objext \
30393 conftest$ac_exeext conftest.$ac_ext
30394
30395 fi
30396 eval ac_res=\$wx_cv_func_$wx_func
30397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30398 $as_echo "$ac_res" >&6; }
30399
30400 if eval test \$wx_cv_func_$wx_func = yes
30401 then
30402 cat >>confdefs.h <<_ACEOF
30403 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30404 _ACEOF
30405
30406
30407 else
30408 :
30409
30410 fi
30411 done
30412
30413 ac_ext=c
30414 ac_cpp='$CPP $CPPFLAGS'
30415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30418
30419
30420 if test "$TOOLKIT" != "MSW"; then
30421
30422 if test "$wxUSE_LIBICONV" != "no" ; then
30423
30424
30425
30426 # Check whether --with-libiconv-prefix was given.
30427 if test "${with_libiconv_prefix+set}" = set; then :
30428 withval=$with_libiconv_prefix;
30429 for dir in `echo "$withval" | tr : ' '`; do
30430 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30431 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30432 done
30433
30434 fi
30435
30436
30437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30438 $as_echo_n "checking for iconv... " >&6; }
30439 if ${am_cv_func_iconv+:} false; then :
30440 $as_echo_n "(cached) " >&6
30441 else
30442
30443 am_cv_func_iconv="no, consider installing GNU libiconv"
30444 am_cv_lib_iconv=no
30445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30446 /* end confdefs.h. */
30447 #include <stdlib.h>
30448 #include <iconv.h>
30449 int
30450 main ()
30451 {
30452 iconv_t cd = iconv_open("","");
30453 iconv(cd,NULL,NULL,NULL,NULL);
30454 iconv_close(cd);
30455 ;
30456 return 0;
30457 }
30458 _ACEOF
30459 if ac_fn_c_try_link "$LINENO"; then :
30460 am_cv_func_iconv=yes
30461 fi
30462 rm -f core conftest.err conftest.$ac_objext \
30463 conftest$ac_exeext conftest.$ac_ext
30464 if test "$am_cv_func_iconv" != yes; then
30465 am_save_LIBS="$LIBS"
30466 LIBS="$LIBS -liconv"
30467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30468 /* end confdefs.h. */
30469 #include <stdlib.h>
30470 #include <iconv.h>
30471 int
30472 main ()
30473 {
30474 iconv_t cd = iconv_open("","");
30475 iconv(cd,NULL,NULL,NULL,NULL);
30476 iconv_close(cd);
30477 ;
30478 return 0;
30479 }
30480 _ACEOF
30481 if ac_fn_c_try_link "$LINENO"; then :
30482 am_cv_lib_iconv=yes
30483 am_cv_func_iconv=yes
30484 fi
30485 rm -f core conftest.err conftest.$ac_objext \
30486 conftest$ac_exeext conftest.$ac_ext
30487 LIBS="$am_save_LIBS"
30488 fi
30489
30490 fi
30491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30492 $as_echo "$am_cv_func_iconv" >&6; }
30493 if test "$am_cv_func_iconv" = yes; then
30494
30495 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30496
30497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30498 $as_echo_n "checking if iconv needs const... " >&6; }
30499 if ${wx_cv_func_iconv_const+:} false; then :
30500 $as_echo_n "(cached) " >&6
30501 else
30502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30503 /* end confdefs.h. */
30504
30505 #include <stdlib.h>
30506 #include <iconv.h>
30507 extern
30508 #ifdef __cplusplus
30509 "C"
30510 #endif
30511 #if defined(__STDC__) || defined(__cplusplus)
30512 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30513 #else
30514 size_t iconv();
30515 #endif
30516
30517 int
30518 main ()
30519 {
30520
30521 ;
30522 return 0;
30523 }
30524 _ACEOF
30525 if ac_fn_c_try_compile "$LINENO"; then :
30526 wx_cv_func_iconv_const="no"
30527 else
30528 wx_cv_func_iconv_const="yes"
30529
30530 fi
30531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30532
30533 fi
30534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30535 $as_echo "$wx_cv_func_iconv_const" >&6; }
30536
30537 iconv_const=
30538 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30539 iconv_const="const"
30540 fi
30541
30542
30543 cat >>confdefs.h <<_ACEOF
30544 #define ICONV_CONST $iconv_const
30545 _ACEOF
30546
30547 fi
30548 LIBICONV=
30549 if test "$am_cv_lib_iconv" = yes; then
30550 LIBICONV="-liconv"
30551 fi
30552
30553
30554 LIBS="$LIBICONV $LIBS"
30555 fi
30556
30557 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30558 for ac_func in sigaction
30559 do :
30560 ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
30561 if test "x$ac_cv_func_sigaction" = xyes; then :
30562 cat >>confdefs.h <<_ACEOF
30563 #define HAVE_SIGACTION 1
30564 _ACEOF
30565
30566 fi
30567 done
30568
30569
30570 if test "$ac_cv_func_sigaction" = "no"; then
30571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30572 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30573 wxUSE_ON_FATAL_EXCEPTION=no
30574 fi
30575
30576 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30578 $as_echo_n "checking for sa_handler type... " >&6; }
30579 if ${wx_cv_type_sa_handler+:} false; then :
30580 $as_echo_n "(cached) " >&6
30581 else
30582
30583 ac_ext=cpp
30584 ac_cpp='$CXXCPP $CPPFLAGS'
30585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30588
30589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30590 /* end confdefs.h. */
30591 #include <signal.h>
30592 int
30593 main ()
30594 {
30595
30596 extern void testSigHandler(int);
30597
30598 struct sigaction sa;
30599 sa.sa_handler = testSigHandler;
30600
30601 ;
30602 return 0;
30603 }
30604 _ACEOF
30605 if ac_fn_cxx_try_compile "$LINENO"; then :
30606
30607 wx_cv_type_sa_handler=int
30608
30609 else
30610
30611 wx_cv_type_sa_handler=void
30612
30613 fi
30614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30615 ac_ext=c
30616 ac_cpp='$CPP $CPPFLAGS'
30617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30620
30621
30622 fi
30623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30624 $as_echo "$wx_cv_type_sa_handler" >&6; }
30625
30626 cat >>confdefs.h <<_ACEOF
30627 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30628 _ACEOF
30629
30630 fi
30631 fi
30632
30633 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30635 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30636 if ${wx_cv_func_backtrace+:} false; then :
30637 $as_echo_n "(cached) " >&6
30638 else
30639
30640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
30641 $as_echo_n "checking for library containing backtrace... " >&6; }
30642 if ${ac_cv_search_backtrace+:} false; then :
30643 $as_echo_n "(cached) " >&6
30644 else
30645 ac_func_search_save_LIBS=$LIBS
30646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30647 /* end confdefs.h. */
30648
30649 /* Override any GCC internal prototype to avoid an error.
30650 Use char because int might match the return type of a GCC
30651 builtin and then its argument prototype would still apply. */
30652 #ifdef __cplusplus
30653 extern "C"
30654 #endif
30655 char backtrace ();
30656 int
30657 main ()
30658 {
30659 return backtrace ();
30660 ;
30661 return 0;
30662 }
30663 _ACEOF
30664 for ac_lib in '' execinfo; do
30665 if test -z "$ac_lib"; then
30666 ac_res="none required"
30667 else
30668 ac_res=-l$ac_lib
30669 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
30670 fi
30671 if ac_fn_c_try_link "$LINENO"; then :
30672 ac_cv_search_backtrace=$ac_res
30673 fi
30674 rm -f core conftest.err conftest.$ac_objext \
30675 conftest$ac_exeext
30676 if ${ac_cv_search_backtrace+:} false; then :
30677 break
30678 fi
30679 done
30680 if ${ac_cv_search_backtrace+:} false; then :
30681
30682 else
30683 ac_cv_search_backtrace=no
30684 fi
30685 rm conftest.$ac_ext
30686 LIBS=$ac_func_search_save_LIBS
30687 fi
30688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
30689 $as_echo "$ac_cv_search_backtrace" >&6; }
30690 ac_res=$ac_cv_search_backtrace
30691 if test "$ac_res" != no; then :
30692 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
30693
30694 ac_ext=cpp
30695 ac_cpp='$CXXCPP $CPPFLAGS'
30696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30699
30700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30701 /* end confdefs.h. */
30702 #include <execinfo.h>
30703 int
30704 main ()
30705 {
30706
30707 void *trace[1];
30708 char **messages;
30709 backtrace(trace, 1);
30710 messages = backtrace_symbols(trace, 1);
30711
30712 ;
30713 return 0;
30714 }
30715 _ACEOF
30716 if ac_fn_cxx_try_link "$LINENO"; then :
30717 wx_cv_func_backtrace=yes
30718 else
30719 wx_cv_func_backtrace=no
30720
30721 fi
30722 rm -f core conftest.err conftest.$ac_objext \
30723 conftest$ac_exeext conftest.$ac_ext
30724 ac_ext=c
30725 ac_cpp='$CPP $CPPFLAGS'
30726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30729
30730
30731 else
30732 wx_cv_func_backtrace=no
30733
30734 fi
30735
30736
30737
30738 fi
30739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30740 $as_echo "$wx_cv_func_backtrace" >&6; }
30741
30742 if test "$wx_cv_func_backtrace" = "no"; then
30743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30744 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30745 wxUSE_STACKWALKER=no
30746 else
30747 if test "$ac_cv_header_cxxabi_h" = "yes"; then
30748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30749 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30750 if ${wx_cv_func_cxa_demangle+:} false; then :
30751 $as_echo_n "(cached) " >&6
30752 else
30753
30754 ac_ext=cpp
30755 ac_cpp='$CXXCPP $CPPFLAGS'
30756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30759
30760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30761 /* end confdefs.h. */
30762 #include <cxxabi.h>
30763 int
30764 main ()
30765 {
30766
30767 int rc;
30768 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30769
30770 ;
30771 return 0;
30772 }
30773 _ACEOF
30774 if ac_fn_cxx_try_link "$LINENO"; then :
30775 wx_cv_func_cxa_demangle=yes
30776 else
30777 wx_cv_func_cxa_demangle=no
30778
30779 fi
30780 rm -f core conftest.err conftest.$ac_objext \
30781 conftest$ac_exeext conftest.$ac_ext
30782 ac_ext=c
30783 ac_cpp='$CPP $CPPFLAGS'
30784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30787
30788
30789
30790 fi
30791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30792 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30793 else
30794 wx_cv_func_cxa_demangle=no
30795 fi
30796
30797 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30798 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30799
30800 fi
30801 fi
30802 fi
30803
30804 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30806 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30807 wxUSE_STACKWALKER=no
30808 fi
30809
30810
30811 for ac_func in mkstemp mktemp
30812 do :
30813 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30814 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30815 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30816 cat >>confdefs.h <<_ACEOF
30817 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30818 _ACEOF
30819 break
30820 fi
30821 done
30822
30823
30824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30825 $as_echo_n "checking for statfs... " >&6; }
30826 if ${wx_cv_func_statfs+:} false; then :
30827 $as_echo_n "(cached) " >&6
30828 else
30829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30830 /* end confdefs.h. */
30831
30832 #if defined(__BSD__)
30833 #include <sys/param.h>
30834 #include <sys/mount.h>
30835 #else
30836 #include <sys/vfs.h>
30837 #endif
30838
30839 int
30840 main ()
30841 {
30842
30843 long l;
30844 struct statfs fs;
30845 statfs("/", &fs);
30846 l = fs.f_bsize;
30847 l += fs.f_blocks;
30848 l += fs.f_bavail;
30849
30850 ;
30851 return 0;
30852 }
30853 _ACEOF
30854 if ac_fn_c_try_compile "$LINENO"; then :
30855 wx_cv_func_statfs=yes
30856 else
30857 wx_cv_func_statfs=no
30858
30859 fi
30860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30861
30862 fi
30863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30864 $as_echo "$wx_cv_func_statfs" >&6; }
30865
30866 if test "$wx_cv_func_statfs" = "yes"; then
30867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30868 $as_echo_n "checking for statfs declaration... " >&6; }
30869 if ${wx_cv_func_statfs_decl+:} false; then :
30870 $as_echo_n "(cached) " >&6
30871 else
30872 ac_ext=cpp
30873 ac_cpp='$CXXCPP $CPPFLAGS'
30874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30877
30878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30879 /* end confdefs.h. */
30880
30881 #if defined(__BSD__)
30882 #include <sys/param.h>
30883 #include <sys/mount.h>
30884 #else
30885 #include <sys/vfs.h>
30886 #endif
30887
30888 int
30889 main ()
30890 {
30891
30892 struct statfs fs;
30893 statfs("", &fs);
30894
30895 ;
30896 return 0;
30897 }
30898 _ACEOF
30899 if ac_fn_cxx_try_compile "$LINENO"; then :
30900 wx_cv_func_statfs_decl=yes
30901 else
30902 wx_cv_func_statfs_decl=no
30903
30904 fi
30905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30906 ac_ext=c
30907 ac_cpp='$CPP $CPPFLAGS'
30908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30911
30912
30913 fi
30914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30915 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30916
30917 if test "$wx_cv_func_statfs_decl" = "yes"; then
30918 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30919
30920 fi
30921
30922 wx_cv_type_statvfs_t="struct statfs"
30923 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30924
30925 else
30926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30927 $as_echo_n "checking for statvfs... " >&6; }
30928 if ${wx_cv_func_statvfs+:} false; then :
30929 $as_echo_n "(cached) " >&6
30930 else
30931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30932 /* end confdefs.h. */
30933
30934 #include <stddef.h>
30935 #include <sys/statvfs.h>
30936
30937 int
30938 main ()
30939 {
30940
30941 statvfs("/", NULL);
30942
30943 ;
30944 return 0;
30945 }
30946 _ACEOF
30947 if ac_fn_c_try_compile "$LINENO"; then :
30948 wx_cv_func_statvfs=yes
30949 else
30950 wx_cv_func_statvfs=no
30951
30952 fi
30953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30954
30955 fi
30956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30957 $as_echo "$wx_cv_func_statvfs" >&6; }
30958
30959 if test "$wx_cv_func_statvfs" = "yes"; then
30960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30961 $as_echo_n "checking for statvfs argument type... " >&6; }
30962 if ${wx_cv_type_statvfs_t+:} false; then :
30963 $as_echo_n "(cached) " >&6
30964 else
30965 ac_ext=cpp
30966 ac_cpp='$CXXCPP $CPPFLAGS'
30967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30970
30971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30972 /* end confdefs.h. */
30973
30974 #include <sys/statvfs.h>
30975
30976 int
30977 main ()
30978 {
30979
30980 long l;
30981 statvfs_t fs;
30982 statvfs("/", &fs);
30983 l = fs.f_bsize;
30984 l += fs.f_blocks;
30985 l += fs.f_bavail;
30986
30987 ;
30988 return 0;
30989 }
30990 _ACEOF
30991 if ac_fn_cxx_try_compile "$LINENO"; then :
30992 wx_cv_type_statvfs_t=statvfs_t
30993 else
30994
30995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30996 /* end confdefs.h. */
30997
30998 #include <sys/statvfs.h>
30999
31000 int
31001 main ()
31002 {
31003
31004 long l;
31005 struct statvfs fs;
31006 statvfs("/", &fs);
31007 l = fs.f_bsize;
31008 l += fs.f_blocks;
31009 l += fs.f_bavail;
31010
31011 ;
31012 return 0;
31013 }
31014 _ACEOF
31015 if ac_fn_cxx_try_compile "$LINENO"; then :
31016 wx_cv_type_statvfs_t="struct statvfs"
31017 else
31018 wx_cv_type_statvfs_t="unknown"
31019
31020 fi
31021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31022
31023
31024 fi
31025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31026 ac_ext=c
31027 ac_cpp='$CPP $CPPFLAGS'
31028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31031
31032
31033 fi
31034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
31035 $as_echo "$wx_cv_type_statvfs_t" >&6; }
31036
31037 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31038 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
31039
31040 fi
31041 else
31042 wx_cv_type_statvfs_t="unknown"
31043 fi
31044 fi
31045
31046 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31047 cat >>confdefs.h <<_ACEOF
31048 #define WX_STATFS_T $wx_cv_type_statvfs_t
31049 _ACEOF
31050
31051 else
31052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31053 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31054 fi
31055
31056 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31057 for ac_func in fcntl flock
31058 do :
31059 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31060 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31061 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31062 cat >>confdefs.h <<_ACEOF
31063 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31064 _ACEOF
31065 break
31066 fi
31067 done
31068
31069
31070 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
31072 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31073 wxUSE_SNGLINST_CHECKER=no
31074 fi
31075 fi
31076
31077 for ac_func in setenv putenv
31078 do :
31079 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31080 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31081 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31082 cat >>confdefs.h <<_ACEOF
31083 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31084 _ACEOF
31085 break
31086 fi
31087 done
31088
31089 if test "$ac_cv_func_setenv" = "yes"; then
31090 for ac_func in unsetenv
31091 do :
31092 ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
31093 if test "x$ac_cv_func_unsetenv" = xyes; then :
31094 cat >>confdefs.h <<_ACEOF
31095 #define HAVE_UNSETENV 1
31096 _ACEOF
31097
31098 fi
31099 done
31100
31101 fi
31102
31103 HAVE_SOME_SLEEP_FUNC=0
31104 if test "$USE_BEOS" = 1; then
31105 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
31106
31107 HAVE_SOME_SLEEP_FUNC=1
31108 fi
31109
31110 if test "$USE_DARWIN" = 1; then
31111 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
31112
31113 HAVE_SOME_SLEEP_FUNC=1
31114 fi
31115
31116 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31117 POSIX4_LINK=
31118 for ac_func in nanosleep
31119 do :
31120 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
31121 if test "x$ac_cv_func_nanosleep" = xyes; then :
31122 cat >>confdefs.h <<_ACEOF
31123 #define HAVE_NANOSLEEP 1
31124 _ACEOF
31125 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31126
31127 else
31128
31129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
31130 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
31131 if ${ac_cv_lib_posix4_nanosleep+:} false; then :
31132 $as_echo_n "(cached) " >&6
31133 else
31134 ac_check_lib_save_LIBS=$LIBS
31135 LIBS="-lposix4 $LIBS"
31136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31137 /* end confdefs.h. */
31138
31139 /* Override any GCC internal prototype to avoid an error.
31140 Use char because int might match the return type of a GCC
31141 builtin and then its argument prototype would still apply. */
31142 #ifdef __cplusplus
31143 extern "C"
31144 #endif
31145 char nanosleep ();
31146 int
31147 main ()
31148 {
31149 return nanosleep ();
31150 ;
31151 return 0;
31152 }
31153 _ACEOF
31154 if ac_fn_c_try_link "$LINENO"; then :
31155 ac_cv_lib_posix4_nanosleep=yes
31156 else
31157 ac_cv_lib_posix4_nanosleep=no
31158 fi
31159 rm -f core conftest.err conftest.$ac_objext \
31160 conftest$ac_exeext conftest.$ac_ext
31161 LIBS=$ac_check_lib_save_LIBS
31162 fi
31163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
31164 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
31165 if test "x$ac_cv_lib_posix4_nanosleep" = xyes; then :
31166
31167 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31168
31169 POSIX4_LINK=" -lposix4"
31170
31171 else
31172
31173
31174 for wx_func in usleep
31175 do
31176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31177 $as_echo_n "checking for $wx_func... " >&6; }
31178 if eval \${wx_cv_func_$wx_func+:} false; then :
31179 $as_echo_n "(cached) " >&6
31180 else
31181
31182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31183 /* end confdefs.h. */
31184
31185
31186
31187 $ac_includes_default
31188
31189 int
31190 main ()
31191 {
31192
31193 #ifndef $wx_func
31194 &$wx_func;
31195 #endif
31196
31197
31198 ;
31199 return 0;
31200 }
31201
31202 _ACEOF
31203 if ac_fn_c_try_link "$LINENO"; then :
31204 eval wx_cv_func_$wx_func=yes
31205 else
31206 eval wx_cv_func_$wx_func=no
31207 fi
31208 rm -f core conftest.err conftest.$ac_objext \
31209 conftest$ac_exeext conftest.$ac_ext
31210
31211 fi
31212 eval ac_res=\$wx_cv_func_$wx_func
31213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31214 $as_echo "$ac_res" >&6; }
31215
31216 if eval test \$wx_cv_func_$wx_func = yes
31217 then
31218 cat >>confdefs.h <<_ACEOF
31219 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31220 _ACEOF
31221
31222
31223 else
31224 :
31225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
31226 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31227
31228 fi
31229 done
31230
31231
31232
31233 fi
31234
31235
31236
31237 fi
31238 done
31239
31240 fi
31241
31242
31243 for wx_func in uname
31244 do
31245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31246 $as_echo_n "checking for $wx_func... " >&6; }
31247 if eval \${wx_cv_func_$wx_func+:} false; then :
31248 $as_echo_n "(cached) " >&6
31249 else
31250
31251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31252 /* end confdefs.h. */
31253
31254
31255 #include <sys/utsname.h>
31256 $ac_includes_default
31257
31258 int
31259 main ()
31260 {
31261
31262 #ifndef $wx_func
31263 &$wx_func;
31264 #endif
31265
31266
31267 ;
31268 return 0;
31269 }
31270
31271 _ACEOF
31272 if ac_fn_c_try_link "$LINENO"; then :
31273 eval wx_cv_func_$wx_func=yes
31274 else
31275 eval wx_cv_func_$wx_func=no
31276 fi
31277 rm -f core conftest.err conftest.$ac_objext \
31278 conftest$ac_exeext conftest.$ac_ext
31279
31280 fi
31281 eval ac_res=\$wx_cv_func_$wx_func
31282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31283 $as_echo "$ac_res" >&6; }
31284
31285 if eval test \$wx_cv_func_$wx_func = yes
31286 then
31287 cat >>confdefs.h <<_ACEOF
31288 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31289 _ACEOF
31290
31291
31292 else
31293 :
31294
31295 fi
31296 done
31297
31298 if test "$wx_cv_func_uname" != yes; then
31299
31300 for wx_func in gethostname
31301 do
31302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31303 $as_echo_n "checking for $wx_func... " >&6; }
31304 if eval \${wx_cv_func_$wx_func+:} false; then :
31305 $as_echo_n "(cached) " >&6
31306 else
31307
31308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31309 /* end confdefs.h. */
31310
31311
31312
31313 $ac_includes_default
31314
31315 int
31316 main ()
31317 {
31318
31319 #ifndef $wx_func
31320 &$wx_func;
31321 #endif
31322
31323
31324 ;
31325 return 0;
31326 }
31327
31328 _ACEOF
31329 if ac_fn_c_try_link "$LINENO"; then :
31330 eval wx_cv_func_$wx_func=yes
31331 else
31332 eval wx_cv_func_$wx_func=no
31333 fi
31334 rm -f core conftest.err conftest.$ac_objext \
31335 conftest$ac_exeext conftest.$ac_ext
31336
31337 fi
31338 eval ac_res=\$wx_cv_func_$wx_func
31339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31340 $as_echo "$ac_res" >&6; }
31341
31342 if eval test \$wx_cv_func_$wx_func = yes
31343 then
31344 cat >>confdefs.h <<_ACEOF
31345 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31346 _ACEOF
31347
31348
31349 else
31350 :
31351
31352 fi
31353 done
31354
31355 fi
31356
31357
31358 for wx_func in strtok_r
31359 do
31360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31361 $as_echo_n "checking for $wx_func... " >&6; }
31362 if eval \${wx_cv_func_$wx_func+:} false; then :
31363 $as_echo_n "(cached) " >&6
31364 else
31365
31366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31367 /* end confdefs.h. */
31368
31369
31370 #define _REENTRANT
31371 $ac_includes_default
31372
31373 int
31374 main ()
31375 {
31376
31377 #ifndef $wx_func
31378 &$wx_func;
31379 #endif
31380
31381
31382 ;
31383 return 0;
31384 }
31385
31386 _ACEOF
31387 if ac_fn_c_try_link "$LINENO"; then :
31388 eval wx_cv_func_$wx_func=yes
31389 else
31390 eval wx_cv_func_$wx_func=no
31391 fi
31392 rm -f core conftest.err conftest.$ac_objext \
31393 conftest$ac_exeext conftest.$ac_ext
31394
31395 fi
31396 eval ac_res=\$wx_cv_func_$wx_func
31397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31398 $as_echo "$ac_res" >&6; }
31399
31400 if eval test \$wx_cv_func_$wx_func = yes
31401 then
31402 cat >>confdefs.h <<_ACEOF
31403 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31404 _ACEOF
31405
31406
31407 else
31408 :
31409
31410 fi
31411 done
31412
31413
31414 INET_LINK=
31415 for ac_func in inet_addr
31416 do :
31417 ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31418 if test "x$ac_cv_func_inet_addr" = xyes; then :
31419 cat >>confdefs.h <<_ACEOF
31420 #define HAVE_INET_ADDR 1
31421 _ACEOF
31422 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31423
31424 else
31425
31426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31427 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31428 if ${ac_cv_lib_nsl_inet_addr+:} false; then :
31429 $as_echo_n "(cached) " >&6
31430 else
31431 ac_check_lib_save_LIBS=$LIBS
31432 LIBS="-lnsl $LIBS"
31433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31434 /* end confdefs.h. */
31435
31436 /* Override any GCC internal prototype to avoid an error.
31437 Use char because int might match the return type of a GCC
31438 builtin and then its argument prototype would still apply. */
31439 #ifdef __cplusplus
31440 extern "C"
31441 #endif
31442 char inet_addr ();
31443 int
31444 main ()
31445 {
31446 return inet_addr ();
31447 ;
31448 return 0;
31449 }
31450 _ACEOF
31451 if ac_fn_c_try_link "$LINENO"; then :
31452 ac_cv_lib_nsl_inet_addr=yes
31453 else
31454 ac_cv_lib_nsl_inet_addr=no
31455 fi
31456 rm -f core conftest.err conftest.$ac_objext \
31457 conftest$ac_exeext conftest.$ac_ext
31458 LIBS=$ac_check_lib_save_LIBS
31459 fi
31460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31461 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31462 if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
31463 INET_LINK="nsl"
31464 else
31465
31466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31467 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31468 if ${ac_cv_lib_resolv_inet_addr+:} false; then :
31469 $as_echo_n "(cached) " >&6
31470 else
31471 ac_check_lib_save_LIBS=$LIBS
31472 LIBS="-lresolv $LIBS"
31473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31474 /* end confdefs.h. */
31475
31476 /* Override any GCC internal prototype to avoid an error.
31477 Use char because int might match the return type of a GCC
31478 builtin and then its argument prototype would still apply. */
31479 #ifdef __cplusplus
31480 extern "C"
31481 #endif
31482 char inet_addr ();
31483 int
31484 main ()
31485 {
31486 return inet_addr ();
31487 ;
31488 return 0;
31489 }
31490 _ACEOF
31491 if ac_fn_c_try_link "$LINENO"; then :
31492 ac_cv_lib_resolv_inet_addr=yes
31493 else
31494 ac_cv_lib_resolv_inet_addr=no
31495 fi
31496 rm -f core conftest.err conftest.$ac_objext \
31497 conftest$ac_exeext conftest.$ac_ext
31498 LIBS=$ac_check_lib_save_LIBS
31499 fi
31500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31501 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31502 if test "x$ac_cv_lib_resolv_inet_addr" = xyes; then :
31503 INET_LINK="resolv"
31504 else
31505
31506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31507 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31508 if ${ac_cv_lib_socket_inet_addr+:} false; then :
31509 $as_echo_n "(cached) " >&6
31510 else
31511 ac_check_lib_save_LIBS=$LIBS
31512 LIBS="-lsocket $LIBS"
31513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31514 /* end confdefs.h. */
31515
31516 /* Override any GCC internal prototype to avoid an error.
31517 Use char because int might match the return type of a GCC
31518 builtin and then its argument prototype would still apply. */
31519 #ifdef __cplusplus
31520 extern "C"
31521 #endif
31522 char inet_addr ();
31523 int
31524 main ()
31525 {
31526 return inet_addr ();
31527 ;
31528 return 0;
31529 }
31530 _ACEOF
31531 if ac_fn_c_try_link "$LINENO"; then :
31532 ac_cv_lib_socket_inet_addr=yes
31533 else
31534 ac_cv_lib_socket_inet_addr=no
31535 fi
31536 rm -f core conftest.err conftest.$ac_objext \
31537 conftest$ac_exeext conftest.$ac_ext
31538 LIBS=$ac_check_lib_save_LIBS
31539 fi
31540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31541 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31542 if test "x$ac_cv_lib_socket_inet_addr" = xyes; then :
31543 INET_LINK="socket"
31544
31545 fi
31546
31547
31548
31549 fi
31550
31551
31552
31553 fi
31554
31555
31556
31557 fi
31558 done
31559
31560
31561 for ac_func in inet_aton
31562 do :
31563 ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31564 if test "x$ac_cv_func_inet_aton" = xyes; then :
31565 cat >>confdefs.h <<_ACEOF
31566 #define HAVE_INET_ATON 1
31567 _ACEOF
31568 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31569
31570 else
31571
31572 as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31574 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31575 if eval \${$as_ac_Lib+:} false; then :
31576 $as_echo_n "(cached) " >&6
31577 else
31578 ac_check_lib_save_LIBS=$LIBS
31579 LIBS="-l$INET_LINK $LIBS"
31580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31581 /* end confdefs.h. */
31582
31583 /* Override any GCC internal prototype to avoid an error.
31584 Use char because int might match the return type of a GCC
31585 builtin and then its argument prototype would still apply. */
31586 #ifdef __cplusplus
31587 extern "C"
31588 #endif
31589 char inet_aton ();
31590 int
31591 main ()
31592 {
31593 return inet_aton ();
31594 ;
31595 return 0;
31596 }
31597 _ACEOF
31598 if ac_fn_c_try_link "$LINENO"; then :
31599 eval "$as_ac_Lib=yes"
31600 else
31601 eval "$as_ac_Lib=no"
31602 fi
31603 rm -f core conftest.err conftest.$ac_objext \
31604 conftest$ac_exeext conftest.$ac_ext
31605 LIBS=$ac_check_lib_save_LIBS
31606 fi
31607 eval ac_res=\$$as_ac_Lib
31608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31609 $as_echo "$ac_res" >&6; }
31610 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
31611 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31612
31613 fi
31614
31615
31616 fi
31617 done
31618
31619
31620 if test "x$INET_LINK" != "x"; then
31621 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31622
31623 INET_LINK=" -l$INET_LINK"
31624 fi
31625
31626
31627 for wx_func in fdopen
31628 do
31629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31630 $as_echo_n "checking for $wx_func... " >&6; }
31631 if eval \${wx_cv_func_$wx_func+:} false; then :
31632 $as_echo_n "(cached) " >&6
31633 else
31634
31635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31636 /* end confdefs.h. */
31637
31638
31639
31640 $ac_includes_default
31641
31642 int
31643 main ()
31644 {
31645
31646 #ifndef $wx_func
31647 &$wx_func;
31648 #endif
31649
31650
31651 ;
31652 return 0;
31653 }
31654
31655 _ACEOF
31656 if ac_fn_c_try_link "$LINENO"; then :
31657 eval wx_cv_func_$wx_func=yes
31658 else
31659 eval wx_cv_func_$wx_func=no
31660 fi
31661 rm -f core conftest.err conftest.$ac_objext \
31662 conftest$ac_exeext conftest.$ac_ext
31663
31664 fi
31665 eval ac_res=\$wx_cv_func_$wx_func
31666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31667 $as_echo "$ac_res" >&6; }
31668
31669 if eval test \$wx_cv_func_$wx_func = yes
31670 then
31671 cat >>confdefs.h <<_ACEOF
31672 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31673 _ACEOF
31674
31675
31676 else
31677 :
31678
31679 fi
31680 done
31681
31682
31683 if test "$wxUSE_TARSTREAM" = "yes"; then
31684
31685 for wx_func in sysconf
31686 do
31687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31688 $as_echo_n "checking for $wx_func... " >&6; }
31689 if eval \${wx_cv_func_$wx_func+:} false; then :
31690 $as_echo_n "(cached) " >&6
31691 else
31692
31693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31694 /* end confdefs.h. */
31695
31696
31697
31698 $ac_includes_default
31699
31700 int
31701 main ()
31702 {
31703
31704 #ifndef $wx_func
31705 &$wx_func;
31706 #endif
31707
31708
31709 ;
31710 return 0;
31711 }
31712
31713 _ACEOF
31714 if ac_fn_c_try_link "$LINENO"; then :
31715 eval wx_cv_func_$wx_func=yes
31716 else
31717 eval wx_cv_func_$wx_func=no
31718 fi
31719 rm -f core conftest.err conftest.$ac_objext \
31720 conftest$ac_exeext conftest.$ac_ext
31721
31722 fi
31723 eval ac_res=\$wx_cv_func_$wx_func
31724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31725 $as_echo "$ac_res" >&6; }
31726
31727 if eval test \$wx_cv_func_$wx_func = yes
31728 then
31729 cat >>confdefs.h <<_ACEOF
31730 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31731 _ACEOF
31732
31733
31734 else
31735 :
31736
31737 fi
31738 done
31739
31740
31741
31742 for wx_func in getpwuid_r
31743 do
31744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31745 $as_echo_n "checking for $wx_func... " >&6; }
31746 if eval \${wx_cv_func_$wx_func+:} false; then :
31747 $as_echo_n "(cached) " >&6
31748 else
31749
31750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31751 /* end confdefs.h. */
31752
31753
31754
31755 #define _REENTRANT
31756 #include <pwd.h>
31757
31758 $ac_includes_default
31759
31760 int
31761 main ()
31762 {
31763
31764 #ifndef $wx_func
31765 &$wx_func;
31766 #endif
31767
31768 struct passwd pw, *ppw;
31769 char buf[1024];
31770 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31771
31772
31773 ;
31774 return 0;
31775 }
31776
31777 _ACEOF
31778 if ac_fn_c_try_link "$LINENO"; then :
31779 eval wx_cv_func_$wx_func=yes
31780 else
31781 eval wx_cv_func_$wx_func=no
31782 fi
31783 rm -f core conftest.err conftest.$ac_objext \
31784 conftest$ac_exeext conftest.$ac_ext
31785
31786 fi
31787 eval ac_res=\$wx_cv_func_$wx_func
31788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31789 $as_echo "$ac_res" >&6; }
31790
31791 if eval test \$wx_cv_func_$wx_func = yes
31792 then
31793 cat >>confdefs.h <<_ACEOF
31794 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31795 _ACEOF
31796
31797
31798 else
31799 :
31800
31801 fi
31802 done
31803
31804
31805
31806 for wx_func in getgrgid_r
31807 do
31808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31809 $as_echo_n "checking for $wx_func... " >&6; }
31810 if eval \${wx_cv_func_$wx_func+:} false; then :
31811 $as_echo_n "(cached) " >&6
31812 else
31813
31814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31815 /* end confdefs.h. */
31816
31817
31818
31819 #define _REENTRANT
31820 #include <grp.h>
31821
31822 $ac_includes_default
31823
31824 int
31825 main ()
31826 {
31827
31828 #ifndef $wx_func
31829 &$wx_func;
31830 #endif
31831
31832 struct group grp, *pgrp;
31833 char buf[1024];
31834 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31835
31836
31837 ;
31838 return 0;
31839 }
31840
31841 _ACEOF
31842 if ac_fn_c_try_link "$LINENO"; then :
31843 eval wx_cv_func_$wx_func=yes
31844 else
31845 eval wx_cv_func_$wx_func=no
31846 fi
31847 rm -f core conftest.err conftest.$ac_objext \
31848 conftest$ac_exeext conftest.$ac_ext
31849
31850 fi
31851 eval ac_res=\$wx_cv_func_$wx_func
31852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31853 $as_echo "$ac_res" >&6; }
31854
31855 if eval test \$wx_cv_func_$wx_func = yes
31856 then
31857 cat >>confdefs.h <<_ACEOF
31858 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31859 _ACEOF
31860
31861
31862 else
31863 :
31864
31865 fi
31866 done
31867
31868 fi
31869
31870 fi
31871
31872
31873
31874 cat >confcache <<\_ACEOF
31875 # This file is a shell script that caches the results of configure
31876 # tests run on this system so they can be shared between configure
31877 # scripts and configure runs, see configure's option --config-cache.
31878 # It is not useful on other systems. If it contains results you don't
31879 # want to keep, you may remove or edit it.
31880 #
31881 # config.status only pays attention to the cache file if you give it
31882 # the --recheck option to rerun configure.
31883 #
31884 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31885 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31886 # following values.
31887
31888 _ACEOF
31889
31890 # The following way of writing the cache mishandles newlines in values,
31891 # but we know of no workaround that is simple, portable, and efficient.
31892 # So, we kill variables containing newlines.
31893 # Ultrix sh set writes to stderr and can't be redirected directly,
31894 # and sets the high bit in the cache file unless we assign to the vars.
31895 (
31896 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31897 eval ac_val=\$$ac_var
31898 case $ac_val in #(
31899 *${as_nl}*)
31900 case $ac_var in #(
31901 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31902 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31903 esac
31904 case $ac_var in #(
31905 _ | IFS | as_nl) ;; #(
31906 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31907 *) { eval $ac_var=; unset $ac_var;} ;;
31908 esac ;;
31909 esac
31910 done
31911
31912 (set) 2>&1 |
31913 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31914 *${as_nl}ac_space=\ *)
31915 # `set' does not quote correctly, so add quotes: double-quote
31916 # substitution turns \\\\ into \\, and sed turns \\ into \.
31917 sed -n \
31918 "s/'/'\\\\''/g;
31919 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31920 ;; #(
31921 *)
31922 # `set' quotes correctly as required by POSIX, so do not add quotes.
31923 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31924 ;;
31925 esac |
31926 sort
31927 ) |
31928 sed '
31929 /^ac_cv_env_/b end
31930 t clear
31931 :clear
31932 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31933 t end
31934 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31935 :end' >>confcache
31936 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31937 if test -w "$cache_file"; then
31938 if test "x$cache_file" != "x/dev/null"; then
31939 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31940 $as_echo "$as_me: updating cache $cache_file" >&6;}
31941 if test ! -f "$cache_file" || test -h "$cache_file"; then
31942 cat confcache >"$cache_file"
31943 else
31944 case $cache_file in #(
31945 */* | ?:*)
31946 mv -f confcache "$cache_file"$$ &&
31947 mv -f "$cache_file"$$ "$cache_file" ;; #(
31948 *)
31949 mv -f confcache "$cache_file" ;;
31950 esac
31951 fi
31952 fi
31953 else
31954 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31955 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31956 fi
31957 fi
31958 rm -f confcache
31959
31960
31961 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31962
31963
31964 THREADS_LINK=
31965 THREADS_CFLAGS=
31966
31967 if test "$wxUSE_THREADS" = "yes" ; then
31968 if test "$USE_BEOS" = 1; then
31969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31970 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31971 wxUSE_THREADS="no"
31972 fi
31973 fi
31974
31975 if test "$wxUSE_THREADS" = "yes" ; then
31976
31977
31978 THREAD_OPTS="-pthread"
31979 if test "x$SUNCXX" = xyes; then
31980 THREAD_OPTS="-mt lthread $THREAD_OPTS"
31981 fi
31982
31983 case "${host}" in
31984 *-*-solaris2* | *-*-sunos4* )
31985 if test "x$GCC" = "xyes"; then
31986 THREAD_OPTS="-pthreads $THREAD_OPTS"
31987 fi
31988 ;;
31989 *-*-freebsd*)
31990 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31991 ;;
31992 *-*-darwin* | *-*-cygwin* )
31993 THREAD_OPTS=""
31994 ;;
31995 *-*-aix*)
31996 THREAD_OPTS="pthreads"
31997 ;;
31998 *-hp-hpux* )
31999 if test "x$GCC" = "xyes"; then
32000 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
32001 THREAD_OPTS=""
32002 else
32003 THREAD_OPTS="-mt"
32004 fi
32005 ;;
32006
32007 *-*-irix* )
32008 if test "x$GCC" = "xyes"; then
32009 THREAD_OPTS=""
32010 fi
32011 ;;
32012
32013 *-*-qnx*)
32014 THREAD_OPTS=""
32015 ;;
32016
32017 *-*-*UnixWare*)
32018 if test "x$GCC" != "xyes"; then
32019 THREAD_OPTS="-Ethread"
32020 fi
32021 ;;
32022 esac
32023
32024 case "${host}" in
32025 *-*-qnx*)
32026 THREAD_OPTS="none pthread"
32027 ;;
32028
32029 *)
32030 THREAD_OPTS="$THREAD_OPTS pthread none"
32031 ;;
32032 esac
32033
32034 THREADS_OK=no
32035 for flag in $THREAD_OPTS; do
32036 case $flag in
32037 none)
32038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
32039 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
32040 ;;
32041
32042 -*)
32043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
32044 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
32045 THREADS_CFLAGS="$flag"
32046 ;;
32047
32048 *)
32049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
32050 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
32051 THREADS_LINK="-l$flag"
32052 ;;
32053 esac
32054
32055 save_LIBS="$LIBS"
32056 save_CFLAGS="$CFLAGS"
32057 LIBS="$THREADS_LINK $LIBS"
32058 CFLAGS="$THREADS_CFLAGS $CFLAGS"
32059
32060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32061 /* end confdefs.h. */
32062 #include <pthread.h>
32063 int
32064 main ()
32065 {
32066 pthread_create(0,0,0,0);
32067 ;
32068 return 0;
32069 }
32070 _ACEOF
32071 if ac_fn_c_try_link "$LINENO"; then :
32072 THREADS_OK=yes
32073 fi
32074 rm -f core conftest.err conftest.$ac_objext \
32075 conftest$ac_exeext conftest.$ac_ext
32076
32077 LIBS="$save_LIBS"
32078 CFLAGS="$save_CFLAGS"
32079
32080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
32081 $as_echo "$THREADS_OK" >&6; }
32082 if test "x$THREADS_OK" = "xyes"; then
32083 break;
32084 fi
32085
32086 THREADS_LINK=""
32087 THREADS_CFLAGS=""
32088 done
32089
32090 if test "x$THREADS_OK" != "xyes"; then
32091 wxUSE_THREADS=no
32092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
32093 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32094 else
32095 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
32096 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
32097 LIBS="$THREADS_LINK $LIBS"
32098
32099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
32100 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
32101 flag=no
32102 case "${host}" in
32103 *-aix*)
32104 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
32105 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
32106 flag="-D_THREAD_SAFE"
32107 ;;
32108 *-freebsd*)
32109 flag="-D_THREAD_SAFE"
32110 ;;
32111 *-hp-hpux* )
32112 flag="-D_REENTRANT"
32113 if test "x$GCC" != "xyes"; then
32114 flag="$flag -D_RWSTD_MULTI_THREAD"
32115 fi
32116 ;;
32117 *solaris* | alpha*-osf*)
32118 flag="-D_REENTRANT"
32119 ;;
32120 esac
32121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
32122 $as_echo "${flag}" >&6; }
32123 if test "x$flag" != xno; then
32124 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
32125 fi
32126
32127 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
32128 fi
32129 fi
32130
32131 if test "$wxUSE_THREADS" = "yes" ; then
32132 for ac_func in pthread_setconcurrency
32133 do :
32134 ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
32135 if test "x$ac_cv_func_pthread_setconcurrency" = xyes; then :
32136 cat >>confdefs.h <<_ACEOF
32137 #define HAVE_PTHREAD_SETCONCURRENCY 1
32138 _ACEOF
32139 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
32140
32141 else
32142
32143 for ac_func in thr_setconcurrency
32144 do :
32145 ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
32146 if test "x$ac_cv_func_thr_setconcurrency" = xyes; then :
32147 cat >>confdefs.h <<_ACEOF
32148 #define HAVE_THR_SETCONCURRENCY 1
32149 _ACEOF
32150 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
32151
32152 else
32153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
32154 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
32155 fi
32156 done
32157
32158
32159 fi
32160 done
32161
32162
32163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
32164 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
32165 if ${wx_cv_func_pthread_cleanup+:} false; then :
32166 $as_echo_n "(cached) " >&6
32167 else
32168
32169 ac_ext=cpp
32170 ac_cpp='$CXXCPP $CPPFLAGS'
32171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32174
32175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32176 /* end confdefs.h. */
32177 #include <pthread.h>
32178 void ThreadCleanupFunc(void *p);
32179
32180 int
32181 main ()
32182 {
32183
32184 void *p;
32185 pthread_cleanup_push(ThreadCleanupFunc, p);
32186 pthread_cleanup_pop(0);
32187
32188 ;
32189 return 0;
32190 }
32191 _ACEOF
32192 if ac_fn_cxx_try_compile "$LINENO"; then :
32193
32194 wx_cv_func_pthread_cleanup=yes
32195
32196 else
32197
32198 wx_cv_func_pthread_cleanup=no
32199
32200
32201 fi
32202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32203 ac_ext=c
32204 ac_cpp='$CPP $CPPFLAGS'
32205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32208
32209
32210 fi
32211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
32212 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
32213 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
32214 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
32215
32216 fi
32217
32218 for ac_header in sched.h
32219 do :
32220 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
32221 "
32222 if test "x$ac_cv_header_sched_h" = xyes; then :
32223 cat >>confdefs.h <<_ACEOF
32224 #define HAVE_SCHED_H 1
32225 _ACEOF
32226
32227 fi
32228
32229 done
32230
32231 if test "$ac_cv_header_sched_h" = "yes"; then
32232 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
32233 if test "x$ac_cv_func_sched_yield" = xyes; then :
32234 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32235
32236 else
32237
32238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
32239 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
32240 if ${ac_cv_lib_posix4_sched_yield+:} false; then :
32241 $as_echo_n "(cached) " >&6
32242 else
32243 ac_check_lib_save_LIBS=$LIBS
32244 LIBS="-lposix4 $LIBS"
32245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32246 /* end confdefs.h. */
32247
32248 /* Override any GCC internal prototype to avoid an error.
32249 Use char because int might match the return type of a GCC
32250 builtin and then its argument prototype would still apply. */
32251 #ifdef __cplusplus
32252 extern "C"
32253 #endif
32254 char sched_yield ();
32255 int
32256 main ()
32257 {
32258 return sched_yield ();
32259 ;
32260 return 0;
32261 }
32262 _ACEOF
32263 if ac_fn_c_try_link "$LINENO"; then :
32264 ac_cv_lib_posix4_sched_yield=yes
32265 else
32266 ac_cv_lib_posix4_sched_yield=no
32267 fi
32268 rm -f core conftest.err conftest.$ac_objext \
32269 conftest$ac_exeext conftest.$ac_ext
32270 LIBS=$ac_check_lib_save_LIBS
32271 fi
32272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
32273 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
32274 if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then :
32275 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32276 POSIX4_LINK=" -lposix4"
32277 else
32278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
32279 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32280
32281 fi
32282
32283
32284
32285 fi
32286
32287 fi
32288
32289 HAVE_PRIOR_FUNCS=0
32290 ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32291 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes; then :
32292 ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32293 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes; then :
32294 ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32295 if test "x$ac_cv_func_sched_get_priority_max" = xyes; then :
32296 HAVE_PRIOR_FUNCS=1
32297 else
32298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32299 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32300 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false; then :
32301 $as_echo_n "(cached) " >&6
32302 else
32303 ac_check_lib_save_LIBS=$LIBS
32304 LIBS="-lposix4 $LIBS"
32305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32306 /* end confdefs.h. */
32307
32308 /* Override any GCC internal prototype to avoid an error.
32309 Use char because int might match the return type of a GCC
32310 builtin and then its argument prototype would still apply. */
32311 #ifdef __cplusplus
32312 extern "C"
32313 #endif
32314 char sched_get_priority_max ();
32315 int
32316 main ()
32317 {
32318 return sched_get_priority_max ();
32319 ;
32320 return 0;
32321 }
32322 _ACEOF
32323 if ac_fn_c_try_link "$LINENO"; then :
32324 ac_cv_lib_posix4_sched_get_priority_max=yes
32325 else
32326 ac_cv_lib_posix4_sched_get_priority_max=no
32327 fi
32328 rm -f core conftest.err conftest.$ac_objext \
32329 conftest$ac_exeext conftest.$ac_ext
32330 LIBS=$ac_check_lib_save_LIBS
32331 fi
32332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32333 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32334 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes; then :
32335
32336 HAVE_PRIOR_FUNCS=1
32337 POSIX4_LINK=" -lposix4"
32338
32339 fi
32340
32341
32342 fi
32343
32344
32345 fi
32346
32347
32348 fi
32349
32350
32351 if test "$HAVE_PRIOR_FUNCS" = 1; then
32352 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32353
32354 else
32355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32356 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32357 fi
32358
32359 ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32360 if test "x$ac_cv_func_pthread_cancel" = xyes; then :
32361 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32362
32363 else
32364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32365 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32366 fi
32367
32368
32369 ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32370 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes; then :
32371 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32372
32373 else
32374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32375 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32376 fi
32377
32378
32379 ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32380 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes; then :
32381 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32382
32383 fi
32384
32385
32386
32387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32388 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32389 if ${wx_cv_type_pthread_mutexattr_t+:} false; then :
32390 $as_echo_n "(cached) " >&6
32391 else
32392
32393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32394 /* end confdefs.h. */
32395 #include <pthread.h>
32396 int
32397 main ()
32398 {
32399
32400 pthread_mutexattr_t attr;
32401 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32402
32403 ;
32404 return 0;
32405 }
32406 _ACEOF
32407 if ac_fn_c_try_compile "$LINENO"; then :
32408 wx_cv_type_pthread_mutexattr_t=yes
32409 else
32410 wx_cv_type_pthread_mutexattr_t=no
32411
32412 fi
32413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32414
32415 fi
32416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32417 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32418
32419 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32420 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32421
32422
32423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32424 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32425 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false; then :
32426 $as_echo_n "(cached) " >&6
32427 else
32428
32429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32430 /* end confdefs.h. */
32431 #include <pthread.h>
32432 int
32433 main ()
32434 {
32435
32436 pthread_mutexattr_t attr;
32437 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32438
32439 ;
32440 return 0;
32441 }
32442 _ACEOF
32443 if ac_fn_c_try_compile "$LINENO"; then :
32444 wx_cv_func_pthread_mutexattr_settype_decl=yes
32445 else
32446 wx_cv_func_pthread_mutexattr_settype_decl=no
32447
32448 fi
32449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32450
32451 fi
32452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32453 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32454 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32455 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32456
32457 fi
32458 else
32459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32460 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32461 if ${wx_cv_type_pthread_rec_mutex_init+:} false; then :
32462 $as_echo_n "(cached) " >&6
32463 else
32464
32465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32466 /* end confdefs.h. */
32467 #include <pthread.h>
32468 int
32469 main ()
32470 {
32471
32472 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32473
32474 ;
32475 return 0;
32476 }
32477 _ACEOF
32478 if ac_fn_c_try_compile "$LINENO"; then :
32479
32480 wx_cv_type_pthread_rec_mutex_init=yes
32481
32482 else
32483
32484 wx_cv_type_pthread_rec_mutex_init=no
32485
32486
32487 fi
32488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32489
32490 fi
32491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32492 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32493 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32494 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32495
32496 else
32497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32498 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32499 fi
32500 fi
32501
32502 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32503 if test "$USE_NETBSD" = 1; then
32504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32505 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32506 wxUSE_COMPILER_TLS=no
32507 else
32508 wxUSE_COMPILER_TLS=yes
32509 fi
32510 fi
32511
32512 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32514 $as_echo_n "checking for __thread keyword... " >&6; }
32515 if ${wx_cv_cc___thread+:} false; then :
32516 $as_echo_n "(cached) " >&6
32517 else
32518
32519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32520 /* end confdefs.h. */
32521 #include <pthread.h>
32522 int
32523 main ()
32524 {
32525
32526 static __thread int n = 0;
32527 static __thread int *p = 0;
32528
32529 ;
32530 return 0;
32531 }
32532 _ACEOF
32533 if ac_fn_c_try_compile "$LINENO"; then :
32534 wx_cv_cc___thread=yes
32535 else
32536 wx_cv_cc___thread=no
32537
32538 fi
32539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32540
32541
32542 fi
32543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32544 $as_echo "$wx_cv_cc___thread" >&6; }
32545
32546 if test "$wx_cv_cc___thread" = "yes"; then
32547
32548 GXX_VERSION=""
32549
32550
32551
32552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32553 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32554
32555 if test "x$GCC" = "xyes" ; then :
32556
32557 if test -z "" ; then :
32558
32559 ax_gcc_option_test="int main()
32560 {
32561 return 0;
32562 }"
32563
32564 else
32565
32566 ax_gcc_option_test=""
32567
32568 fi
32569
32570 # Dump the test program to file
32571 cat <<EOF > conftest.c
32572 $ax_gcc_option_test
32573 EOF
32574
32575 # Dump back the file to the log, useful for debugging purposes
32576 { ac_try='cat conftest.c 1>&5'
32577 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32578 (eval $ac_try) 2>&5
32579 ac_status=$?
32580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32581 test $ac_status = 0; }; }
32582
32583 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
32584 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32585 (eval $ac_try) 2>&5
32586 ac_status=$?
32587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32588 test $ac_status = 0; }; } ; then :
32589
32590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32591 $as_echo "yes" >&6; }
32592
32593 ax_gcc_version_option=yes
32594
32595
32596 else
32597
32598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32599 $as_echo "no" >&6; }
32600
32601 ax_gcc_version_option=no
32602
32603
32604 fi
32605
32606 else
32607
32608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32609 $as_echo "no gcc available" >&6; }
32610
32611 fi
32612
32613 if test "x$GXX" = "xyes"; then :
32614
32615 if test "x$ax_gxx_version_option" != "no"; then :
32616
32617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32618 $as_echo_n "checking gxx version... " >&6; }
32619 if ${ax_cv_gxx_version+:} false; then :
32620 $as_echo_n "(cached) " >&6
32621 else
32622
32623 ax_cv_gxx_version="`$CXX -dumpversion`"
32624 if test "x$ax_cv_gxx_version" = "x"; then :
32625
32626 ax_cv_gxx_version=""
32627
32628 fi
32629
32630 fi
32631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32632 $as_echo "$ax_cv_gxx_version" >&6; }
32633 GXX_VERSION=$ax_cv_gxx_version
32634
32635 fi
32636
32637 fi
32638
32639
32640 if test -n "$ax_cv_gxx_version"; then
32641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32642 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32643 case "$ax_cv_gxx_version" in
32644 1.* | 2.* | 3.* )
32645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32646 $as_echo "no, it's broken" >&6; }
32647 wx_cv_cc___thread=no
32648 ;;
32649 *)
32650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32651 $as_echo "yes, it works" >&6; }
32652 ;;
32653 esac
32654 fi
32655 fi
32656
32657 if test "$wx_cv_cc___thread" = "yes"; then
32658 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32659
32660 fi
32661 fi
32662
32663 if test "$ac_cv_header_cxxabi_h" = "yes"; then
32664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in <cxxabi.h>" >&5
32665 $as_echo_n "checking for abi::__forced_unwind() in <cxxabi.h>... " >&6; }
32666 if ${wx_cv_type_abi_forced_unwind+:} false; then :
32667 $as_echo_n "(cached) " >&6
32668 else
32669
32670 ac_ext=cpp
32671 ac_cpp='$CXXCPP $CPPFLAGS'
32672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32675
32676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32677 /* end confdefs.h. */
32678 #include <cxxabi.h>
32679 int
32680 main ()
32681 {
32682
32683 void foo(abi::__forced_unwind&);
32684
32685 ;
32686 return 0;
32687 }
32688 _ACEOF
32689 if ac_fn_cxx_try_compile "$LINENO"; then :
32690 wx_cv_type_abi_forced_unwind=yes
32691 else
32692 wx_cv_type_abi_forced_unwind=no
32693
32694 fi
32695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32696 ac_ext=c
32697 ac_cpp='$CPP $CPPFLAGS'
32698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32701
32702
32703
32704 fi
32705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5
32706 $as_echo "$wx_cv_type_abi_forced_unwind" >&6; }
32707 else
32708 wx_cv_type_abi_forced_unwind=no
32709 fi
32710
32711 if test "$wx_cv_type_abi_forced_unwind" = "yes"; then
32712 $as_echo "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h
32713
32714 fi
32715 fi
32716
32717 else
32718 if test "$wxUSE_THREADS" = "yes" ; then
32719 case "${host}" in
32720 x86_64-*-mingw32* )
32721 ;;
32722 *-*-mingw32* )
32723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32724 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32725 if ${wx_cv_cflags_mthread+:} false; then :
32726 $as_echo_n "(cached) " >&6
32727 else
32728
32729 CFLAGS_OLD="$CFLAGS"
32730 CFLAGS="-mthreads $CFLAGS"
32731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32732 /* end confdefs.h. */
32733
32734 int
32735 main ()
32736 {
32737
32738 ;
32739 return 0;
32740 }
32741 _ACEOF
32742 if ac_fn_c_try_compile "$LINENO"; then :
32743 wx_cv_cflags_mthread=yes
32744 else
32745 wx_cv_cflags_mthread=no
32746
32747 fi
32748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32749
32750
32751 fi
32752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32753 $as_echo "$wx_cv_cflags_mthread" >&6; }
32754
32755 if test "$wx_cv_cflags_mthread" = "yes"; then
32756 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
32757 LDFLAGS="$LDFLAGS -mthreads"
32758 else
32759 CFLAGS="$CFLAGS_OLD"
32760 fi
32761 ;;
32762 *-pc-os2*emx )
32763 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32764 LDFLAGS="$LDFLAGS -Zmt"
32765 ;;
32766 esac
32767 fi
32768 fi
32769
32770 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32771 if test "x$ac_cv_func_localtime_r" = xyes; then :
32772 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32773
32774 fi
32775
32776 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32777 if test "x$ac_cv_func_gmtime_r" = xyes; then :
32778 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32779
32780 fi
32781
32782
32783
32784
32785 ac_ext=c
32786 ac_cpp='$CPP $CPPFLAGS'
32787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32790
32791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32792 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32793
32794 if ${ac_cv_func_which_gethostbyname_r+:} false; then :
32795 $as_echo_n "(cached) " >&6
32796 else
32797
32798
32799 ################################################################
32800
32801 ac_cv_func_which_gethostbyname_r=unknown
32802
32803 #
32804 # ONE ARGUMENT (sanity check)
32805 #
32806
32807 # This should fail, as there is no variant of gethostbyname_r() that takes
32808 # a single argument. If it actually compiles, then we can assume that
32809 # netdb.h is not declaring the function, and the compiler is thereby
32810 # assuming an implicit prototype. In which case, we're out of luck.
32811 #
32812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32813 /* end confdefs.h. */
32814 #include <netdb.h>
32815 int
32816 main ()
32817 {
32818
32819 char *name = "www.gnu.org";
32820 (void)gethostbyname_r(name) /* ; */
32821
32822
32823 ;
32824 return 0;
32825 }
32826 _ACEOF
32827 if ac_fn_c_try_compile "$LINENO"; then :
32828 ac_cv_func_which_gethostbyname_r=no
32829
32830 fi
32831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32832
32833 #
32834 # SIX ARGUMENTS
32835 # (e.g. Linux)
32836 #
32837
32838 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32839
32840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32841 /* end confdefs.h. */
32842 #include <netdb.h>
32843 int
32844 main ()
32845 {
32846
32847 char *name = "www.gnu.org";
32848 struct hostent ret, *retp;
32849 char buf[1024];
32850 int buflen = 1024;
32851 int my_h_errno;
32852 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32853
32854
32855 ;
32856 return 0;
32857 }
32858 _ACEOF
32859 if ac_fn_c_try_compile "$LINENO"; then :
32860 ac_cv_func_which_gethostbyname_r=six
32861
32862 fi
32863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32864
32865 fi
32866
32867 #
32868 # FIVE ARGUMENTS
32869 # (e.g. Solaris)
32870 #
32871
32872 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32873
32874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32875 /* end confdefs.h. */
32876 #include <netdb.h>
32877 int
32878 main ()
32879 {
32880
32881 char *name = "www.gnu.org";
32882 struct hostent ret;
32883 char buf[1024];
32884 int buflen = 1024;
32885 int my_h_errno;
32886 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32887
32888
32889 ;
32890 return 0;
32891 }
32892 _ACEOF
32893 if ac_fn_c_try_compile "$LINENO"; then :
32894 ac_cv_func_which_gethostbyname_r=five
32895
32896 fi
32897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32898
32899 fi
32900
32901 #
32902 # THREE ARGUMENTS
32903 # (e.g. AIX, HP-UX, Tru64)
32904 #
32905
32906 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32907
32908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32909 /* end confdefs.h. */
32910 #include <netdb.h>
32911 int
32912 main ()
32913 {
32914
32915 char *name = "www.gnu.org";
32916 struct hostent ret;
32917 struct hostent_data data;
32918 (void)gethostbyname_r(name, &ret, &data) /* ; */
32919
32920
32921 ;
32922 return 0;
32923 }
32924 _ACEOF
32925 if ac_fn_c_try_compile "$LINENO"; then :
32926 ac_cv_func_which_gethostbyname_r=three
32927
32928 fi
32929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32930
32931 fi
32932
32933 ################################################################
32934
32935
32936 fi
32937
32938 case "$ac_cv_func_which_gethostbyname_r" in
32939 three)
32940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32941 $as_echo "three" >&6; }
32942 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32943
32944 ;;
32945
32946 five)
32947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32948 $as_echo "five" >&6; }
32949 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32950
32951 ;;
32952
32953 six)
32954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32955 $as_echo "six" >&6; }
32956 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32957
32958 ;;
32959
32960 no)
32961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32962 $as_echo "cannot find function declaration in netdb.h" >&6; }
32963 ;;
32964
32965 unknown)
32966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32967 $as_echo "can't tell" >&6; }
32968 ;;
32969
32970 *)
32971 as_fn_error $? "internal error" "$LINENO" 5
32972 ;;
32973 esac
32974
32975 ac_ext=c
32976 ac_cpp='$CPP $CPPFLAGS'
32977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32980
32981
32982
32983 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32984 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32985 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32986 if test "x$ac_cv_func_gethostbyname" = xyes; then :
32987 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32988
32989 fi
32990
32991 fi
32992
32993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32994 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32995 if ${ac_cv_func_which_getservbyname_r+:} false; then :
32996 $as_echo_n "(cached) " >&6
32997 else
32998
32999 ac_ext=cpp
33000 ac_cpp='$CXXCPP $CPPFLAGS'
33001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33004
33005
33006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33007 /* end confdefs.h. */
33008 #include <netdb.h>
33009 int
33010 main ()
33011 {
33012
33013 char *name;
33014 char *proto;
33015 struct servent *se, *res;
33016 char buffer[2048];
33017 int buflen = 2048;
33018 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
33019
33020 ;
33021 return 0;
33022 }
33023 _ACEOF
33024 if ac_fn_cxx_try_compile "$LINENO"; then :
33025 ac_cv_func_which_getservbyname_r=six
33026 else
33027
33028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33029 /* end confdefs.h. */
33030 #include <netdb.h>
33031 int
33032 main ()
33033 {
33034
33035 char *name;
33036 char *proto;
33037 struct servent *se;
33038 char buffer[2048];
33039 int buflen = 2048;
33040 (void) getservbyname_r(name, proto, se, buffer, buflen)
33041
33042 ;
33043 return 0;
33044 }
33045 _ACEOF
33046 if ac_fn_cxx_try_compile "$LINENO"; then :
33047 ac_cv_func_which_getservbyname_r=five
33048 else
33049
33050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33051 /* end confdefs.h. */
33052 #include <netdb.h>
33053 int
33054 main ()
33055 {
33056
33057 char *name;
33058 char *proto;
33059 struct servent *se;
33060 struct servent_data data;
33061 (void) getservbyname_r(name, proto, se, &data);
33062
33063 ;
33064 return 0;
33065 }
33066 _ACEOF
33067 if ac_fn_cxx_try_compile "$LINENO"; then :
33068 ac_cv_func_which_getservbyname_r=four
33069 else
33070 ac_cv_func_which_getservbyname_r=no
33071
33072 fi
33073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33074
33075
33076 fi
33077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33078
33079
33080 fi
33081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33082 ac_ext=c
33083 ac_cpp='$CPP $CPPFLAGS'
33084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33087
33088
33089
33090 fi
33091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
33092 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
33093
33094 if test $ac_cv_func_which_getservbyname_r = six; then
33095 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
33096
33097 elif test $ac_cv_func_which_getservbyname_r = five; then
33098 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
33099
33100 elif test $ac_cv_func_which_getservbyname_r = four; then
33101 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
33102
33103 fi
33104
33105
33106 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
33107 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
33108 for ac_func in getservbyname
33109 do :
33110 ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
33111 if test "x$ac_cv_func_getservbyname" = xyes; then :
33112 cat >>confdefs.h <<_ACEOF
33113 #define HAVE_GETSERVBYNAME 1
33114 _ACEOF
33115 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
33116
33117 fi
33118 done
33119
33120 fi
33121
33122 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
33123
33124
33125 if test "$wxUSE_THREADS" = "yes"; then
33126 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
33127
33128
33129 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33130 else
33131 if test "$wx_cv_func_strtok_r" = "yes"; then
33132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
33133 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
33134 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33135 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
33136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33137 $as_echo "yes" >&6; }
33138 else
33139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33140 $as_echo "no" >&6; }
33141 fi
33142 fi
33143 fi
33144
33145 if test "$WXGTK3" = 1 ; then
33146 cat >>confdefs.h <<_ACEOF
33147 #define __WXGTK3__ 1
33148 _ACEOF
33149
33150 WXGTK2=1
33151 fi
33152 if test "$WXGTK2" = 1 ; then
33153 cat >>confdefs.h <<_ACEOF
33154 #define __WXGTK20__ $WXGTK2
33155 _ACEOF
33156
33157 fi
33158
33159 if test "$WXGTK127" = 1 ; then
33160 cat >>confdefs.h <<_ACEOF
33161 #define __WXGTK127__ $WXGTK127
33162 _ACEOF
33163
33164 fi
33165
33166 if test "$WXGPE" = 1 ; then
33167 cat >>confdefs.h <<_ACEOF
33168 #define __WXGPE__ $WXGPE
33169 _ACEOF
33170
33171 fi
33172
33173 DEBUG_CFLAGS=
33174 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
33175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
33176 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
33177 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
33178 DEBUG_CFLAGS="-g"
33179 fi
33180
33181 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33182 wxUSE_DEBUG_INFO=yes
33183 if test "$GCC" = yes; then
33184 DEBUG_CFLAGS="-ggdb"
33185 fi
33186 fi
33187
33188 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
33189 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
33190
33191 if test "$wxUSE_GTK" = 1 ; then
33192 if test "$WXGTK2" = 1 ; then
33193 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
33194 else
33195 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
33196 fi
33197 fi
33198 fi
33199
33200 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33201 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
33202
33203 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
33204
33205 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
33206
33207 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33208 fi
33209
33210 if test "$wxUSE_DMALLOC" = "yes" ; then
33211 DMALLOC_LIBS="-ldmallocthcxx"
33212 fi
33213
33214 PROFILE_FLAGS=
33215 if test "$wxUSE_PROFILE" = "yes" ; then
33216 PROFILE_FLAGS=" -pg"
33217 fi
33218
33219 if test "$GCC" = "yes" ; then
33220 if test "$wxUSE_NO_RTTI" = "yes" ; then
33221 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
33222 fi
33223 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33224 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
33225 fi
33226 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33227 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
33228 fi
33229
33230 case "${host}" in
33231 powerpc*-*-aix* )
33232 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
33233 ;;
33234 *-hppa* )
33235 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
33236 ;;
33237 esac
33238 fi
33239
33240 OPTIMISE_CFLAGS=
33241 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
33242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
33243 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
33244 else
33245 if test "$wxUSE_OPTIMISE" = "no" ; then
33246 if test "$GCC" = yes ; then
33247 OPTIMISE_CFLAGS="-O0"
33248 fi
33249 else
33250 if test "$GCC" = yes ; then
33251 case "${host}" in
33252 *-pc-os2_emx | *-pc-os2-emx )
33253 OPTIMISE_CFLAGS="-O2"
33254 ;;
33255 *)
33256 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
33257 ;;
33258 esac
33259 else
33260 OPTIMISE_CFLAGS="-O"
33261 fi
33262 fi
33263 fi
33264
33265
33266 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
33267 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
33268
33269
33270 WXWIN_COMPATIBILITY_2_8="yes"
33271 fi
33272
33273 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
33274 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
33275
33276 fi
33277
33278
33279 if test "$wxUSE_GUI" = "yes"; then
33280 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
33281
33282
33283 fi
33284
33285
33286 if test "$wxUSE_UNIX" = "yes"; then
33287 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
33288
33289 fi
33290
33291
33292 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33293
33294 HAVE_DL_FUNCS=0
33295 HAVE_SHL_FUNCS=0
33296 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33297 if test "$USE_DOS" = 1; then
33298 HAVE_DL_FUNCS=0
33299 else
33300 for ac_func in dlopen
33301 do :
33302 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
33303 if test "x$ac_cv_func_dlopen" = xyes; then :
33304 cat >>confdefs.h <<_ACEOF
33305 #define HAVE_DLOPEN 1
33306 _ACEOF
33307
33308 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33309
33310 HAVE_DL_FUNCS=1
33311
33312 else
33313
33314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
33315 $as_echo_n "checking for dlopen in -ldl... " >&6; }
33316 if ${ac_cv_lib_dl_dlopen+:} false; then :
33317 $as_echo_n "(cached) " >&6
33318 else
33319 ac_check_lib_save_LIBS=$LIBS
33320 LIBS="-ldl $LIBS"
33321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33322 /* end confdefs.h. */
33323
33324 /* Override any GCC internal prototype to avoid an error.
33325 Use char because int might match the return type of a GCC
33326 builtin and then its argument prototype would still apply. */
33327 #ifdef __cplusplus
33328 extern "C"
33329 #endif
33330 char dlopen ();
33331 int
33332 main ()
33333 {
33334 return dlopen ();
33335 ;
33336 return 0;
33337 }
33338 _ACEOF
33339 if ac_fn_c_try_link "$LINENO"; then :
33340 ac_cv_lib_dl_dlopen=yes
33341 else
33342 ac_cv_lib_dl_dlopen=no
33343 fi
33344 rm -f core conftest.err conftest.$ac_objext \
33345 conftest$ac_exeext conftest.$ac_ext
33346 LIBS=$ac_check_lib_save_LIBS
33347 fi
33348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33349 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33350 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
33351
33352 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33353
33354 HAVE_DL_FUNCS=1
33355 DL_LINK=" -ldl$DL_LINK"
33356
33357 else
33358
33359 for ac_func in shl_load
33360 do :
33361 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
33362 if test "x$ac_cv_func_shl_load" = xyes; then :
33363 cat >>confdefs.h <<_ACEOF
33364 #define HAVE_SHL_LOAD 1
33365 _ACEOF
33366
33367 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33368
33369 HAVE_SHL_FUNCS=1
33370
33371 else
33372
33373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33374 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33375 if ${ac_cv_lib_shl_load_dld+:} false; then :
33376 $as_echo_n "(cached) " >&6
33377 else
33378 ac_check_lib_save_LIBS=$LIBS
33379 LIBS="-lshl_load $LIBS"
33380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33381 /* end confdefs.h. */
33382
33383 /* Override any GCC internal prototype to avoid an error.
33384 Use char because int might match the return type of a GCC
33385 builtin and then its argument prototype would still apply. */
33386 #ifdef __cplusplus
33387 extern "C"
33388 #endif
33389 char dld ();
33390 int
33391 main ()
33392 {
33393 return dld ();
33394 ;
33395 return 0;
33396 }
33397 _ACEOF
33398 if ac_fn_c_try_link "$LINENO"; then :
33399 ac_cv_lib_shl_load_dld=yes
33400 else
33401 ac_cv_lib_shl_load_dld=no
33402 fi
33403 rm -f core conftest.err conftest.$ac_objext \
33404 conftest$ac_exeext conftest.$ac_ext
33405 LIBS=$ac_check_lib_save_LIBS
33406 fi
33407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33408 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33409 if test "x$ac_cv_lib_shl_load_dld" = xyes; then :
33410
33411 HAVE_SHL_FUNCS=1
33412 DL_LINK=" -ldld$DL_LINK"
33413
33414 fi
33415
33416
33417 fi
33418 done
33419
33420
33421 fi
33422
33423
33424 fi
33425 done
33426
33427
33428 if test "$HAVE_DL_FUNCS" = 1; then
33429 for ac_func in dlerror
33430 do :
33431 ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
33432 if test "x$ac_cv_func_dlerror" = xyes; then :
33433 cat >>confdefs.h <<_ACEOF
33434 #define HAVE_DLERROR 1
33435 _ACEOF
33436 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33437
33438 else
33439
33440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33441 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33442 if ${ac_cv_lib_dl_dlerror+:} false; then :
33443 $as_echo_n "(cached) " >&6
33444 else
33445 ac_check_lib_save_LIBS=$LIBS
33446 LIBS="-ldl $LIBS"
33447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33448 /* end confdefs.h. */
33449
33450 /* Override any GCC internal prototype to avoid an error.
33451 Use char because int might match the return type of a GCC
33452 builtin and then its argument prototype would still apply. */
33453 #ifdef __cplusplus
33454 extern "C"
33455 #endif
33456 char dlerror ();
33457 int
33458 main ()
33459 {
33460 return dlerror ();
33461 ;
33462 return 0;
33463 }
33464 _ACEOF
33465 if ac_fn_c_try_link "$LINENO"; then :
33466 ac_cv_lib_dl_dlerror=yes
33467 else
33468 ac_cv_lib_dl_dlerror=no
33469 fi
33470 rm -f core conftest.err conftest.$ac_objext \
33471 conftest$ac_exeext conftest.$ac_ext
33472 LIBS=$ac_check_lib_save_LIBS
33473 fi
33474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33475 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33476 if test "x$ac_cv_lib_dl_dlerror" = xyes; then :
33477 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33478
33479 fi
33480
33481
33482
33483 fi
33484 done
33485
33486 fi
33487 fi
33488
33489 if test "$USE_DARWIN" = 1; then
33490 HAVE_DL_FUNCS=1
33491 fi
33492
33493 if test "$HAVE_DL_FUNCS" = 0; then
33494 if test "$HAVE_SHL_FUNCS" = 0; then
33495 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33497 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33498 wxUSE_DYNAMIC_LOADER=no
33499 wxUSE_DYNLIB_CLASS=no
33500 else
33501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33502 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33503 fi
33504 fi
33505 fi
33506 fi
33507 fi
33508
33509 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33510 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33511
33512 fi
33513 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33514 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33515
33516 fi
33517
33518
33519
33520 if test "$wxUSE_PLUGINS" = "yes" ; then
33521 if test "$wxUSE_SHARED" = "no" ; then
33522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33523 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33524 wxUSE_PLUGINS=no
33525 fi
33526 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33528 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33529 wxUSE_PLUGINS=no
33530 fi
33531 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33533 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33534 wxUSE_PLUGINS=no
33535 fi
33536 if test "$wxUSE_PLUGINS" = "yes" ; then
33537 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33538
33539 fi
33540 fi
33541
33542
33543 if test "$wxUSE_FSWATCHER" = "yes"; then
33544 if test "$wxUSE_MSW" != "1"; then
33545 if test "$wxUSE_UNIX" = "yes"; then
33546 for ac_header in sys/inotify.h
33547 do :
33548 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33549 "
33550 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
33551 cat >>confdefs.h <<_ACEOF
33552 #define HAVE_SYS_INOTIFY_H 1
33553 _ACEOF
33554
33555 fi
33556
33557 done
33558
33559 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33560 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33561
33562 else
33563 for ac_header in sys/event.h
33564 do :
33565 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33566 "
33567 if test "x$ac_cv_header_sys_event_h" = xyes; then :
33568 cat >>confdefs.h <<_ACEOF
33569 #define HAVE_SYS_EVENT_H 1
33570 _ACEOF
33571
33572 fi
33573
33574 done
33575
33576 if test "$ac_cv_header_sys_event_h" = "yes"; then
33577 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33578
33579 else
33580 wxUSE_FSWATCHER=no
33581 fi
33582 fi
33583 else
33584 wxUSE_FSWATCHER=no
33585 fi
33586 else
33587 if test "$wxUSE_THREADS" != "yes"; then
33588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33589 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33590 wxUSE_FSWATCHER=no
33591 fi
33592 fi
33593
33594 if test "$wxUSE_FSWATCHER" = "yes"; then
33595 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33596
33597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
33598 else
33599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33600 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33601 fi
33602 fi
33603
33604
33605 if test "$wxUSE_STL" = "yes"; then
33606 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33607
33608 fi
33609
33610 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33611 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33612
33613 fi
33614
33615 if test "$wxUSE_ANY" = "yes"; then
33616 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33617
33618 fi
33619
33620 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33621 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33622
33623 fi
33624
33625 if test "$wxUSE_TIMER" = "yes"; then
33626 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33627
33628 fi
33629
33630 if test "$USE_UNIX" = 1 ; then
33631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33632 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33633 if ${ac_cv_header_sys_soundcard+:} false; then :
33634 $as_echo_n "(cached) " >&6
33635 else
33636
33637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33638 /* end confdefs.h. */
33639
33640 #include <sys/ioctl.h>
33641 #include <sys/soundcard.h>
33642
33643 int
33644 main ()
33645 {
33646
33647 ioctl(0, SNDCTL_DSP_SPEED, 0);
33648
33649 ;
33650 return 0;
33651 }
33652 _ACEOF
33653 if ac_fn_c_try_link "$LINENO"; then :
33654 ac_cv_header_sys_soundcard=yes
33655 else
33656
33657 saveLibs="$LIBS"
33658 LIBS="$saveLibs -lossaudio"
33659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33660 /* end confdefs.h. */
33661
33662 #include <sys/ioctl.h>
33663 #include <sys/soundcard.h>
33664
33665 int
33666 main ()
33667 {
33668
33669 ioctl(0, SNDCTL_DSP_SPEED, 0);
33670
33671 ;
33672 return 0;
33673 }
33674 _ACEOF
33675 if ac_fn_c_try_link "$LINENO"; then :
33676 ac_cv_header_sys_soundcard=yes
33677 else
33678
33679 LIBS="$saveLibs"
33680 ac_cv_header_sys_soundcard=no
33681
33682
33683 fi
33684 rm -f core conftest.err conftest.$ac_objext \
33685 conftest$ac_exeext conftest.$ac_ext
33686
33687
33688 fi
33689 rm -f core conftest.err conftest.$ac_objext \
33690 conftest$ac_exeext conftest.$ac_ext
33691
33692 fi
33693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33694 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33695
33696 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33697 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33698
33699 fi
33700 fi
33701
33702 WITH_PLUGIN_SDL=0
33703 if test "$wxUSE_SOUND" = "yes"; then
33704 if test "$USE_UNIX" = 1 ; then
33705 if test "$wxUSE_LIBSDL" != "no"; then
33706
33707 # Check whether --with-sdl-prefix was given.
33708 if test "${with_sdl_prefix+set}" = set; then :
33709 withval=$with_sdl_prefix; sdl_prefix="$withval"
33710 else
33711 sdl_prefix=""
33712 fi
33713
33714
33715 # Check whether --with-sdl-exec-prefix was given.
33716 if test "${with_sdl_exec_prefix+set}" = set; then :
33717 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
33718 else
33719 sdl_exec_prefix=""
33720 fi
33721
33722 # Check whether --enable-sdltest was given.
33723 if test "${enable_sdltest+set}" = set; then :
33724 enableval=$enable_sdltest;
33725 else
33726 enable_sdltest=yes
33727 fi
33728
33729
33730 if test x$sdl_exec_prefix != x ; then
33731 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33732 if test x${SDL_CONFIG+set} != xset ; then
33733 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33734 fi
33735 fi
33736 if test x$sdl_prefix != x ; then
33737 sdl_args="$sdl_args --prefix=$sdl_prefix"
33738 if test x${SDL_CONFIG+set} != xset ; then
33739 SDL_CONFIG=$sdl_prefix/bin/sdl-config
33740 fi
33741 fi
33742
33743 if test "x$prefix" != xNONE; then
33744 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33745 fi
33746 # Extract the first word of "sdl-config", so it can be a program name with args.
33747 set dummy sdl-config; ac_word=$2
33748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33749 $as_echo_n "checking for $ac_word... " >&6; }
33750 if ${ac_cv_path_SDL_CONFIG+:} false; then :
33751 $as_echo_n "(cached) " >&6
33752 else
33753 case $SDL_CONFIG in
33754 [\\/]* | ?:[\\/]*)
33755 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33756 ;;
33757 *)
33758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33759 for as_dir in $PATH
33760 do
33761 IFS=$as_save_IFS
33762 test -z "$as_dir" && as_dir=.
33763 for ac_exec_ext in '' $ac_executable_extensions; do
33764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33765 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33767 break 2
33768 fi
33769 done
33770 done
33771 IFS=$as_save_IFS
33772
33773 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33774 ;;
33775 esac
33776 fi
33777 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33778 if test -n "$SDL_CONFIG"; then
33779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33780 $as_echo "$SDL_CONFIG" >&6; }
33781 else
33782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33783 $as_echo "no" >&6; }
33784 fi
33785
33786
33787 min_sdl_version=1.2.0
33788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33789 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33790 no_sdl=""
33791 if test "$SDL_CONFIG" = "no" ; then
33792 no_sdl=yes
33793 else
33794 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33795 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33796
33797 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33798 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33799 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33800 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33801 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33802 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33803 if test "x$enable_sdltest" = "xyes" ; then
33804 ac_save_CFLAGS="$CFLAGS"
33805 ac_save_CXXFLAGS="$CXXFLAGS"
33806 ac_save_LIBS="$LIBS"
33807 CFLAGS="$CFLAGS $SDL_CFLAGS"
33808 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33809 LIBS="$LIBS $SDL_LIBS"
33810 rm -f conf.sdltest
33811 if test "$cross_compiling" = yes; then :
33812 echo $ac_n "cross compiling; assumed OK... $ac_c"
33813 else
33814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33815 /* end confdefs.h. */
33816
33817 #include <stdio.h>
33818 #include <stdlib.h>
33819 #include <string.h>
33820 #include "SDL.h"
33821
33822 char*
33823 my_strdup (char *str)
33824 {
33825 char *new_str;
33826
33827 if (str)
33828 {
33829 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33830 strcpy (new_str, str);
33831 }
33832 else
33833 new_str = NULL;
33834
33835 return new_str;
33836 }
33837
33838 int main (int argc, char *argv[])
33839 {
33840 int major, minor, micro;
33841 char *tmp_version;
33842
33843 /* This hangs on some systems (?)
33844 system ("touch conf.sdltest");
33845 */
33846 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33847
33848 /* HP/UX 9 (%@#!) writes to sscanf strings */
33849 tmp_version = my_strdup("$min_sdl_version");
33850 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33851 printf("%s, bad version string\n", "$min_sdl_version");
33852 exit(1);
33853 }
33854
33855 if (($sdl_major_version > major) ||
33856 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33857 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33858 {
33859 return 0;
33860 }
33861 else
33862 {
33863 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33864 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33865 printf("*** best to upgrade to the required version.\n");
33866 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33867 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33868 printf("*** config.cache before re-running configure\n");
33869 return 1;
33870 }
33871 }
33872
33873
33874 _ACEOF
33875 if ac_fn_c_try_run "$LINENO"; then :
33876
33877 else
33878 no_sdl=yes
33879 fi
33880 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33881 conftest.$ac_objext conftest.beam conftest.$ac_ext
33882 fi
33883
33884 CFLAGS="$ac_save_CFLAGS"
33885 CXXFLAGS="$ac_save_CXXFLAGS"
33886 LIBS="$ac_save_LIBS"
33887 fi
33888 fi
33889 if test "x$no_sdl" = x ; then
33890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33891 $as_echo "yes" >&6; }
33892
33893 EXTRALIBS_SDL="$SDL_LIBS"
33894 CFLAGS="$SDL_CFLAGS $CFLAGS"
33895 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
33896 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33897
33898
33899 else
33900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33901 $as_echo "no" >&6; }
33902 if test "$SDL_CONFIG" = "no" ; then
33903 echo "*** The sdl-config script installed by SDL could not be found"
33904 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33905 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33906 echo "*** full path to sdl-config."
33907 else
33908 if test -f conf.sdltest ; then
33909 :
33910 else
33911 echo "*** Could not run SDL test program, checking why..."
33912 CFLAGS="$CFLAGS $SDL_CFLAGS"
33913 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33914 LIBS="$LIBS $SDL_LIBS"
33915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33916 /* end confdefs.h. */
33917
33918 #include <stdio.h>
33919 #include "SDL.h"
33920
33921 int main(int argc, char *argv[])
33922 { return 0; }
33923 #undef main
33924 #define main K_and_R_C_main
33925
33926 int
33927 main ()
33928 {
33929 return 0;
33930 ;
33931 return 0;
33932 }
33933 _ACEOF
33934 if ac_fn_c_try_link "$LINENO"; then :
33935 echo "*** The test program compiled, but did not run. This usually means"
33936 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33937 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33938 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33939 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33940 echo "*** is required on your system"
33941 echo "***"
33942 echo "*** If you have an old version installed, it is best to remove it, although"
33943 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33944 else
33945 echo "*** The test program failed to compile or link. See the file config.log for the"
33946 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33947 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33948 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33949 fi
33950 rm -f core conftest.err conftest.$ac_objext \
33951 conftest$ac_exeext conftest.$ac_ext
33952 CFLAGS="$ac_save_CFLAGS"
33953 CXXFLAGS="$ac_save_CXXFLAGS"
33954 LIBS="$ac_save_LIBS"
33955 fi
33956 fi
33957 SDL_CFLAGS=""
33958 SDL_LIBS=""
33959 wxUSE_LIBSDL="no"
33960 fi
33961
33962
33963 rm -f conf.sdltest
33964
33965 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33966 WITH_PLUGIN_SDL=1
33967 fi
33968 fi
33969 fi
33970 fi
33971
33972 if test "$wxUSE_SOUND" = "yes"; then
33973 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33974
33975 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33976 fi
33977
33978 if test "$WXGTK2" = 1; then
33979
33980
33981 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33982 if test -n "$ac_tool_prefix"; then
33983 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33984 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33986 $as_echo_n "checking for $ac_word... " >&6; }
33987 if ${ac_cv_path_PKG_CONFIG+:} false; then :
33988 $as_echo_n "(cached) " >&6
33989 else
33990 case $PKG_CONFIG in
33991 [\\/]* | ?:[\\/]*)
33992 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33993 ;;
33994 *)
33995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33996 for as_dir in $PATH
33997 do
33998 IFS=$as_save_IFS
33999 test -z "$as_dir" && as_dir=.
34000 for ac_exec_ext in '' $ac_executable_extensions; do
34001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34002 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34004 break 2
34005 fi
34006 done
34007 done
34008 IFS=$as_save_IFS
34009
34010 ;;
34011 esac
34012 fi
34013 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
34014 if test -n "$PKG_CONFIG"; then
34015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
34016 $as_echo "$PKG_CONFIG" >&6; }
34017 else
34018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34019 $as_echo "no" >&6; }
34020 fi
34021
34022
34023 fi
34024 if test -z "$ac_cv_path_PKG_CONFIG"; then
34025 ac_pt_PKG_CONFIG=$PKG_CONFIG
34026 # Extract the first word of "pkg-config", so it can be a program name with args.
34027 set dummy pkg-config; ac_word=$2
34028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
34029 $as_echo_n "checking for $ac_word... " >&6; }
34030 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
34031 $as_echo_n "(cached) " >&6
34032 else
34033 case $ac_pt_PKG_CONFIG in
34034 [\\/]* | ?:[\\/]*)
34035 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34036 ;;
34037 *)
34038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34039 for as_dir in $PATH
34040 do
34041 IFS=$as_save_IFS
34042 test -z "$as_dir" && as_dir=.
34043 for ac_exec_ext in '' $ac_executable_extensions; do
34044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34045 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34047 break 2
34048 fi
34049 done
34050 done
34051 IFS=$as_save_IFS
34052
34053 ;;
34054 esac
34055 fi
34056 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
34057 if test -n "$ac_pt_PKG_CONFIG"; then
34058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
34059 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
34060 else
34061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34062 $as_echo "no" >&6; }
34063 fi
34064
34065 if test "x$ac_pt_PKG_CONFIG" = x; then
34066 PKG_CONFIG=""
34067 else
34068 case $cross_compiling:$ac_tool_warned in
34069 yes:)
34070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
34071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
34072 ac_tool_warned=yes ;;
34073 esac
34074 PKG_CONFIG=$ac_pt_PKG_CONFIG
34075 fi
34076 else
34077 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
34078 fi
34079
34080 fi
34081 if test -n "$PKG_CONFIG"; then
34082 _pkg_min_version=0.9.0
34083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
34084 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
34085 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34087 $as_echo "yes" >&6; }
34088 else
34089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34090 $as_echo "no" >&6; }
34091 PKG_CONFIG=""
34092 fi
34093
34094 fi
34095
34096 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34097
34098 if test "$wxUSE_GTKPRINT" = "yes" ; then
34099 if test "$WXGTK3" = 1; then
34100 gtk_unix_print="gtk+-unix-print-3.0"
34101 else
34102 gtk_unix_print="gtk+-unix-print-2.0 >= 2.10"
34103 fi
34104
34105 pkg_failed=no
34106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
34107 $as_echo_n "checking for GTKPRINT... " >&6; }
34108
34109 if test -n "$PKG_CONFIG"; then
34110 if test -n "$GTKPRINT_CFLAGS"; then
34111 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
34112 else
34113 if test -n "$PKG_CONFIG" && \
34114 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34115 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34116 ac_status=$?
34117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34118 test $ac_status = 0; }; then
34119 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
34120 else
34121 pkg_failed=yes
34122 fi
34123 fi
34124 else
34125 pkg_failed=untried
34126 fi
34127 if test -n "$PKG_CONFIG"; then
34128 if test -n "$GTKPRINT_LIBS"; then
34129 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
34130 else
34131 if test -n "$PKG_CONFIG" && \
34132 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34133 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34134 ac_status=$?
34135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34136 test $ac_status = 0; }; then
34137 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
34138 else
34139 pkg_failed=yes
34140 fi
34141 fi
34142 else
34143 pkg_failed=untried
34144 fi
34145
34146
34147
34148 if test $pkg_failed = yes; then
34149
34150 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34151 _pkg_short_errors_supported=yes
34152 else
34153 _pkg_short_errors_supported=no
34154 fi
34155 if test $_pkg_short_errors_supported = yes; then
34156 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
34157 else
34158 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
34159 fi
34160 # Put the nasty error message in config.log where it belongs
34161 echo "$GTKPRINT_PKG_ERRORS" >&5
34162
34163
34164 { $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
34165 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34166 wxUSE_GTKPRINT="no"
34167
34168
34169 elif test $pkg_failed = untried; then
34170
34171 { $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
34172 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34173 wxUSE_GTKPRINT="no"
34174
34175
34176 else
34177 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
34178 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
34179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34180 $as_echo "yes" >&6; }
34181
34182 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
34183 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
34184 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
34185 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
34186
34187
34188 fi
34189 fi
34190
34191 if test "$WXGTK3" = 1; then
34192 wxUSE_LIBGNOMEPRINT=no
34193 fi
34194
34195 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34196
34197
34198 pkg_failed=no
34199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
34200 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
34201
34202 if test -n "$PKG_CONFIG"; then
34203 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
34204 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
34205 else
34206 if test -n "$PKG_CONFIG" && \
34207 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34208 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34209 ac_status=$?
34210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34211 test $ac_status = 0; }; then
34212 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34213 else
34214 pkg_failed=yes
34215 fi
34216 fi
34217 else
34218 pkg_failed=untried
34219 fi
34220 if test -n "$PKG_CONFIG"; then
34221 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
34222 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
34223 else
34224 if test -n "$PKG_CONFIG" && \
34225 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34226 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34227 ac_status=$?
34228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34229 test $ac_status = 0; }; then
34230 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34231 else
34232 pkg_failed=yes
34233 fi
34234 fi
34235 else
34236 pkg_failed=untried
34237 fi
34238
34239
34240
34241 if test $pkg_failed = yes; then
34242
34243 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34244 _pkg_short_errors_supported=yes
34245 else
34246 _pkg_short_errors_supported=no
34247 fi
34248 if test $_pkg_short_errors_supported = yes; then
34249 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34250 else
34251 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34252 fi
34253 # Put the nasty error message in config.log where it belongs
34254 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
34255
34256
34257 if test "$wxUSE_GTKPRINT" = yes; then
34258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34259 $as_echo "no" >&6; }
34260 else
34261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34262 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34263 fi
34264 wxUSE_LIBGNOMEPRINT="no"
34265
34266
34267 elif test $pkg_failed = untried; then
34268
34269 if test "$wxUSE_GTKPRINT" = yes; then
34270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34271 $as_echo "no" >&6; }
34272 else
34273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34274 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34275 fi
34276 wxUSE_LIBGNOMEPRINT="no"
34277
34278
34279 else
34280 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
34281 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
34282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34283 $as_echo "yes" >&6; }
34284
34285 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
34286 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
34287 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
34288 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
34289
34290
34291 fi
34292 fi
34293 fi
34294
34295 if test "$wxUSE_MIMETYPE" = "yes" ; then
34296 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
34297
34298
34299 pkg_failed=no
34300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
34301 $as_echo_n "checking for GNOMEVFS... " >&6; }
34302
34303 if test -n "$PKG_CONFIG"; then
34304 if test -n "$GNOMEVFS_CFLAGS"; then
34305 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
34306 else
34307 if test -n "$PKG_CONFIG" && \
34308 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34309 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34310 ac_status=$?
34311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34312 test $ac_status = 0; }; then
34313 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34314 else
34315 pkg_failed=yes
34316 fi
34317 fi
34318 else
34319 pkg_failed=untried
34320 fi
34321 if test -n "$PKG_CONFIG"; then
34322 if test -n "$GNOMEVFS_LIBS"; then
34323 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
34324 else
34325 if test -n "$PKG_CONFIG" && \
34326 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34327 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34328 ac_status=$?
34329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34330 test $ac_status = 0; }; then
34331 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34332 else
34333 pkg_failed=yes
34334 fi
34335 fi
34336 else
34337 pkg_failed=untried
34338 fi
34339
34340
34341
34342 if test $pkg_failed = yes; then
34343
34344 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34345 _pkg_short_errors_supported=yes
34346 else
34347 _pkg_short_errors_supported=no
34348 fi
34349 if test $_pkg_short_errors_supported = yes; then
34350 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34351 else
34352 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34353 fi
34354 # Put the nasty error message in config.log where it belongs
34355 echo "$GNOMEVFS_PKG_ERRORS" >&5
34356
34357
34358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34359 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34360 wxUSE_LIBGNOMEVFS="no"
34361
34362
34363 elif test $pkg_failed = untried; then
34364
34365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34366 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34367 wxUSE_LIBGNOMEVFS="no"
34368
34369
34370 else
34371 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
34372 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
34373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34374 $as_echo "yes" >&6; }
34375
34376 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34377 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
34378 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
34379 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34380
34381
34382 fi
34383 fi
34384 fi
34385
34386 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34387 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34388 HAVE_LIBNOTIFY=0
34389
34390 pkg_failed=no
34391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34392 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34393
34394 if test -n "$PKG_CONFIG"; then
34395 if test -n "$LIBNOTIFY_CFLAGS"; then
34396 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34397 else
34398 if test -n "$PKG_CONFIG" && \
34399 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34400 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34401 ac_status=$?
34402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34403 test $ac_status = 0; }; then
34404 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34405 else
34406 pkg_failed=yes
34407 fi
34408 fi
34409 else
34410 pkg_failed=untried
34411 fi
34412 if test -n "$PKG_CONFIG"; then
34413 if test -n "$LIBNOTIFY_LIBS"; then
34414 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34415 else
34416 if test -n "$PKG_CONFIG" && \
34417 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34418 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34419 ac_status=$?
34420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34421 test $ac_status = 0; }; then
34422 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34423 else
34424 pkg_failed=yes
34425 fi
34426 fi
34427 else
34428 pkg_failed=untried
34429 fi
34430
34431
34432
34433 if test $pkg_failed = yes; then
34434
34435 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34436 _pkg_short_errors_supported=yes
34437 else
34438 _pkg_short_errors_supported=no
34439 fi
34440 if test $_pkg_short_errors_supported = yes; then
34441 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34442 else
34443 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34444 fi
34445 # Put the nasty error message in config.log where it belongs
34446 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34447
34448
34449
34450 pkg_failed=no
34451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34452 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34453
34454 if test -n "$PKG_CONFIG"; then
34455 if test -n "$LIBNOTIFY_CFLAGS"; then
34456 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34457 else
34458 if test -n "$PKG_CONFIG" && \
34459 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34460 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34461 ac_status=$?
34462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34463 test $ac_status = 0; }; then
34464 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34465 else
34466 pkg_failed=yes
34467 fi
34468 fi
34469 else
34470 pkg_failed=untried
34471 fi
34472 if test -n "$PKG_CONFIG"; then
34473 if test -n "$LIBNOTIFY_LIBS"; then
34474 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34475 else
34476 if test -n "$PKG_CONFIG" && \
34477 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34478 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34479 ac_status=$?
34480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34481 test $ac_status = 0; }; then
34482 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34483 else
34484 pkg_failed=yes
34485 fi
34486 fi
34487 else
34488 pkg_failed=untried
34489 fi
34490
34491
34492
34493 if test $pkg_failed = yes; then
34494
34495 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34496 _pkg_short_errors_supported=yes
34497 else
34498 _pkg_short_errors_supported=no
34499 fi
34500 if test $_pkg_short_errors_supported = yes; then
34501 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34502 else
34503 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34504 fi
34505 # Put the nasty error message in config.log where it belongs
34506 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34507
34508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34509 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34510
34511 elif test $pkg_failed = untried; then
34512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34513 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34514
34515 else
34516 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34517 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34519 $as_echo "yes" >&6; }
34520 HAVE_LIBNOTIFY=1
34521 fi
34522
34523
34524 elif test $pkg_failed = untried; then
34525
34526
34527 pkg_failed=no
34528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34529 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34530
34531 if test -n "$PKG_CONFIG"; then
34532 if test -n "$LIBNOTIFY_CFLAGS"; then
34533 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34534 else
34535 if test -n "$PKG_CONFIG" && \
34536 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34537 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34538 ac_status=$?
34539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34540 test $ac_status = 0; }; then
34541 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34542 else
34543 pkg_failed=yes
34544 fi
34545 fi
34546 else
34547 pkg_failed=untried
34548 fi
34549 if test -n "$PKG_CONFIG"; then
34550 if test -n "$LIBNOTIFY_LIBS"; then
34551 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34552 else
34553 if test -n "$PKG_CONFIG" && \
34554 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34555 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34556 ac_status=$?
34557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34558 test $ac_status = 0; }; then
34559 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34560 else
34561 pkg_failed=yes
34562 fi
34563 fi
34564 else
34565 pkg_failed=untried
34566 fi
34567
34568
34569
34570 if test $pkg_failed = yes; then
34571
34572 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34573 _pkg_short_errors_supported=yes
34574 else
34575 _pkg_short_errors_supported=no
34576 fi
34577 if test $_pkg_short_errors_supported = yes; then
34578 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34579 else
34580 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34581 fi
34582 # Put the nasty error message in config.log where it belongs
34583 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34584
34585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34586 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34587
34588 elif test $pkg_failed = untried; then
34589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34590 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34591
34592 else
34593 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34594 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34596 $as_echo "yes" >&6; }
34597 HAVE_LIBNOTIFY=1
34598 fi
34599
34600
34601 else
34602 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34603 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34605 $as_echo "yes" >&6; }
34606
34607 HAVE_LIBNOTIFY=1
34608 $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34609
34610
34611 fi
34612
34613 if test "$HAVE_LIBNOTIFY" = "1" ; then
34614 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34615 CFLAGS="$LIBNOTIFY_CFLAGS $CFLAGS"
34616 CXXFLAGS="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34617 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34618
34619 fi
34620 fi
34621 fi
34622
34623 if test "$wxUSE_LIBHILDON" = "yes" ; then
34624
34625 pkg_failed=no
34626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34627 $as_echo_n "checking for HILDON... " >&6; }
34628
34629 if test -n "$PKG_CONFIG"; then
34630 if test -n "$HILDON_CFLAGS"; then
34631 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
34632 else
34633 if test -n "$PKG_CONFIG" && \
34634 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34635 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34636 ac_status=$?
34637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34638 test $ac_status = 0; }; then
34639 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34640 else
34641 pkg_failed=yes
34642 fi
34643 fi
34644 else
34645 pkg_failed=untried
34646 fi
34647 if test -n "$PKG_CONFIG"; then
34648 if test -n "$HILDON_LIBS"; then
34649 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
34650 else
34651 if test -n "$PKG_CONFIG" && \
34652 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34653 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34654 ac_status=$?
34655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34656 test $ac_status = 0; }; then
34657 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34658 else
34659 pkg_failed=yes
34660 fi
34661 fi
34662 else
34663 pkg_failed=untried
34664 fi
34665
34666
34667
34668 if test $pkg_failed = yes; then
34669
34670 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34671 _pkg_short_errors_supported=yes
34672 else
34673 _pkg_short_errors_supported=no
34674 fi
34675 if test $_pkg_short_errors_supported = yes; then
34676 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34677 else
34678 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34679 fi
34680 # Put the nasty error message in config.log where it belongs
34681 echo "$HILDON_PKG_ERRORS" >&5
34682
34683
34684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34685 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34686 wxUSE_LIBHILDON="no"
34687 ac_hildon_lgpl=0
34688
34689
34690 elif test $pkg_failed = untried; then
34691
34692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34693 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34694 wxUSE_LIBHILDON="no"
34695 ac_hildon_lgpl=0
34696
34697
34698 else
34699 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
34700 HILDON_LIBS=$pkg_cv_HILDON_LIBS
34701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34702 $as_echo "yes" >&6; }
34703
34704 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON_LIBS"
34705 CFLAGS="$CFLAGS $HILDON_CFLAGS"
34706 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
34707 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34708
34709 ac_hildon_lgpl=1
34710
34711 fi
34712
34713 if test "$ac_hildon_lgpl" = 0 ; then
34714
34715 pkg_failed=no
34716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34717 $as_echo_n "checking for HILDON2... " >&6; }
34718
34719 if test -n "$PKG_CONFIG"; then
34720 if test -n "$HILDON2_CFLAGS"; then
34721 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
34722 else
34723 if test -n "$PKG_CONFIG" && \
34724 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34725 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34726 ac_status=$?
34727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34728 test $ac_status = 0; }; then
34729 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34730 else
34731 pkg_failed=yes
34732 fi
34733 fi
34734 else
34735 pkg_failed=untried
34736 fi
34737 if test -n "$PKG_CONFIG"; then
34738 if test -n "$HILDON2_LIBS"; then
34739 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
34740 else
34741 if test -n "$PKG_CONFIG" && \
34742 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34743 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34744 ac_status=$?
34745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34746 test $ac_status = 0; }; then
34747 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34748 else
34749 pkg_failed=yes
34750 fi
34751 fi
34752 else
34753 pkg_failed=untried
34754 fi
34755
34756
34757
34758 if test $pkg_failed = yes; then
34759
34760 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34761 _pkg_short_errors_supported=yes
34762 else
34763 _pkg_short_errors_supported=no
34764 fi
34765 if test $_pkg_short_errors_supported = yes; then
34766 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34767 else
34768 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34769 fi
34770 # Put the nasty error message in config.log where it belongs
34771 echo "$HILDON2_PKG_ERRORS" >&5
34772
34773
34774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34775 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34776 wxUSE_LIBHILDON2="no"
34777
34778
34779 elif test $pkg_failed = untried; then
34780
34781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34782 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34783 wxUSE_LIBHILDON2="no"
34784
34785
34786 else
34787 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
34788 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
34789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34790 $as_echo "yes" >&6; }
34791
34792 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON2_LIBS"
34793 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
34794 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
34795 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34796
34797
34798 fi
34799 fi
34800 fi
34801 fi
34802
34803 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34804 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34805
34806 fi
34807
34808 if test "$wxUSE_STOPWATCH" = "yes"; then
34809 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34810
34811 fi
34812
34813 if test "$wxUSE_DATETIME" = "yes"; then
34814 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34815
34816 fi
34817
34818 if test "$wxUSE_FILE" = "yes"; then
34819 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34820
34821 fi
34822
34823 if test "$wxUSE_FFILE" = "yes"; then
34824 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34825
34826 fi
34827
34828 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34829 if test "$wxUSE_STREAMS" != yes; then
34830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34831 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34832 wxUSE_ARCHIVE_STREAMS=no
34833 else
34834 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34835
34836 fi
34837 fi
34838
34839 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34840 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34842 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34843 elif test "$wxUSE_ZLIB" = "no"; then
34844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34845 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34846 else
34847 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34848
34849 fi
34850 fi
34851
34852 if test "$wxUSE_TARSTREAM" = "yes"; then
34853 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34855 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34856 else
34857 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34858
34859 fi
34860 fi
34861
34862 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34863 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34864
34865 fi
34866
34867 if test "$wxUSE_FILESYSTEM" = "yes"; then
34868 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
34869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34870 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34871 wxUSE_FILESYSTEM=no
34872 else
34873 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34874
34875 fi
34876 fi
34877
34878 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34879 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34881 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34882 else
34883 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34884
34885 fi
34886 fi
34887
34888 if test "$wxUSE_FS_ZIP" = "yes"; then
34889 if test "$wxUSE_FS_ARCHIVE" != yes; then
34890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34891 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34892 else
34893 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34894
34895 fi
34896 fi
34897
34898 if test "$wxUSE_FSVOLUME" = "yes"; then
34899 $as_echo "#define wxUSE_FSVOLUME 1" >>confdefs.h
34900
34901 fi
34902
34903 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34904 if test "$USE_UNIX" != 1; then
34905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34906 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34907 wxUSE_ON_FATAL_EXCEPTION=no
34908 else
34909 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34910
34911 fi
34912 fi
34913
34914 if test "$wxUSE_STACKWALKER" = "yes"; then
34915 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34916
34917 fi
34918
34919 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34920 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34922 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34923 wxUSE_DEBUGREPORT=no
34924 else
34925 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34926
34927 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
34929 fi
34930 fi
34931 fi
34932
34933 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34934 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34935
34936 fi
34937
34938 if test "$wxUSE_BUSYINFO" = "yes"; then
34939 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34940
34941 fi
34942
34943 if test "$wxUSE_HOTKEY" = "yes"; then
34944 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34946 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34947 wxUSE_HOTKEY=no
34948 fi
34949 elif test "$wxUSE_HOTKEY" = "auto"; then
34950 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34951 wxUSE_HOTKEY=yes
34952 fi
34953 fi
34954 if test "$wxUSE_HOTKEY" = "yes"; then
34955 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34956
34957 fi
34958
34959 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34960 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34961
34962 fi
34963
34964 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34965 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34966
34967 fi
34968
34969 if test "$wxUSE_STD_STRING" = "yes"; then
34970 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34971
34972 fi
34973
34974 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34975 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34976
34977 fi
34978
34979 if test "$wxUSE_STDPATHS" = "yes"; then
34980 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34981
34982 fi
34983
34984 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34985 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34986
34987 fi
34988
34989 if test "$wxUSE_TEXTFILE" = "yes"; then
34990 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34992 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34993 else
34994 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34995
34996 fi
34997 fi
34998
34999 if test "$wxUSE_CONFIG" = "yes" ; then
35000 if test "$wxUSE_TEXTFILE" != "yes"; then
35001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
35002 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35003 else
35004 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
35005
35006 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
35007
35008 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
35009 fi
35010 fi
35011
35012 if test "$wxUSE_INTL" = "yes" ; then
35013 if test "$wxUSE_FILE" != "yes"; then
35014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
35015 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35016 else
35017 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
35018
35019 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
35020 GUIDIST="$GUIDIST INTL_DIST"
35021 fi
35022 fi
35023
35024 if test "$wxUSE_XLOCALE" = "yes" ; then
35025 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
35026
35027 ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
35028 #include <locale.h>
35029 "
35030 if test "x$ac_cv_type_locale_t" = xyes; then :
35031
35032 cat >>confdefs.h <<_ACEOF
35033 #define HAVE_LOCALE_T 1
35034 _ACEOF
35035
35036
35037 fi
35038
35039 fi
35040
35041 if test "$wxUSE_LOG" = "yes"; then
35042 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
35043
35044
35045 if test "$wxUSE_LOGGUI" = "yes"; then
35046 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
35047
35048 fi
35049
35050 if test "$wxUSE_LOGWINDOW" = "yes"; then
35051 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
35052
35053 fi
35054
35055 if test "$wxUSE_LOGDIALOG" = "yes"; then
35056 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
35057
35058 fi
35059
35060 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
35061 fi
35062
35063 if test "$wxUSE_LONGLONG" = "yes"; then
35064 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
35065
35066 fi
35067
35068 if test "$wxUSE_GEOMETRY" = "yes"; then
35069 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
35070
35071 fi
35072
35073 if test "$wxUSE_BASE64" = "yes"; then
35074 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
35075
35076 fi
35077
35078 if test "$wxUSE_STREAMS" = "yes" ; then
35079 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
35080
35081 fi
35082
35083 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35084 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
35085
35086 fi
35087
35088 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
35089 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
35090
35091 fi
35092
35093
35094 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
35095 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
35096
35097
35098 if test "$wxUSE_UNIX" = "yes"; then
35099 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
35100 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
35101
35102 fi
35103
35104 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
35105 for ac_header in sys/epoll.h
35106 do :
35107 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
35108 "
35109 if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
35110 cat >>confdefs.h <<_ACEOF
35111 #define HAVE_SYS_EPOLL_H 1
35112 _ACEOF
35113
35114 fi
35115
35116 done
35117
35118 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
35119 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
35120
35121 else
35122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
35123 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
35124 fi
35125 fi
35126 fi
35127 fi
35128
35129
35130 for ac_func in gettimeofday ftime
35131 do :
35132 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35133 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35134 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
35135 cat >>confdefs.h <<_ACEOF
35136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35137 _ACEOF
35138 break
35139 fi
35140 done
35141
35142
35143 if test "$ac_cv_func_gettimeofday" = "yes"; then
35144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
35145 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
35146 if ${wx_cv_func_gettimeofday_has_2_args+:} false; then :
35147 $as_echo_n "(cached) " >&6
35148 else
35149
35150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35151 /* end confdefs.h. */
35152
35153 #include <sys/time.h>
35154 #include <unistd.h>
35155
35156 int
35157 main ()
35158 {
35159
35160 struct timeval tv;
35161 gettimeofday(&tv, NULL);
35162
35163 ;
35164 return 0;
35165 }
35166 _ACEOF
35167 if ac_fn_c_try_compile "$LINENO"; then :
35168 wx_cv_func_gettimeofday_has_2_args=yes
35169 else
35170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35171 /* end confdefs.h. */
35172
35173 #include <sys/time.h>
35174 #include <unistd.h>
35175
35176 int
35177 main ()
35178 {
35179
35180 struct timeval tv;
35181 gettimeofday(&tv);
35182
35183 ;
35184 return 0;
35185 }
35186 _ACEOF
35187 if ac_fn_c_try_compile "$LINENO"; then :
35188 wx_cv_func_gettimeofday_has_2_args=no
35189 else
35190
35191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
35192 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35193 wx_cv_func_gettimeofday_has_2_args=unknown
35194
35195
35196 fi
35197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35198
35199 fi
35200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35201
35202 fi
35203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35204 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
35205
35206 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35207 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
35208
35209 fi
35210 fi
35211
35212 if test "$wxUSE_DATETIME" = "yes"; then
35213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
35214 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
35215 if ${wx_cv_var_timezone+:} false; then :
35216 $as_echo_n "(cached) " >&6
35217 else
35218
35219 ac_ext=cpp
35220 ac_cpp='$CXXCPP $CPPFLAGS'
35221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35224
35225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35226 /* end confdefs.h. */
35227
35228 #include <time.h>
35229
35230 int
35231 main ()
35232 {
35233
35234 int tz;
35235 tz = timezone;
35236
35237 ;
35238 return 0;
35239 }
35240 _ACEOF
35241 if ac_fn_cxx_try_compile "$LINENO"; then :
35242
35243 wx_cv_var_timezone=timezone
35244
35245 else
35246
35247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35248 /* end confdefs.h. */
35249
35250 #include <time.h>
35251
35252 int
35253 main ()
35254 {
35255
35256 int tz;
35257 tz = _timezone;
35258
35259 ;
35260 return 0;
35261 }
35262 _ACEOF
35263 if ac_fn_cxx_try_compile "$LINENO"; then :
35264
35265 wx_cv_var_timezone=_timezone
35266
35267 else
35268
35269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35270 /* end confdefs.h. */
35271
35272 #include <time.h>
35273
35274 int
35275 main ()
35276 {
35277
35278 int tz;
35279 tz = __timezone;
35280
35281 ;
35282 return 0;
35283 }
35284 _ACEOF
35285 if ac_fn_cxx_try_compile "$LINENO"; then :
35286
35287 wx_cv_var_timezone=__timezone
35288
35289 else
35290
35291 if test "$USE_DOS" = 0 ; then
35292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
35293 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
35294 fi
35295
35296
35297 fi
35298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35299
35300
35301 fi
35302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35303
35304
35305 fi
35306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35307 ac_ext=c
35308 ac_cpp='$CPP $CPPFLAGS'
35309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35312
35313
35314
35315 fi
35316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
35317 $as_echo "$wx_cv_var_timezone" >&6; }
35318
35319 if test "x$wx_cv_var_timezone" != x ; then
35320 cat >>confdefs.h <<_ACEOF
35321 #define WX_TIMEZONE $wx_cv_var_timezone
35322 _ACEOF
35323
35324 fi
35325
35326 for ac_func in localtime
35327 do :
35328 ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
35329 if test "x$ac_cv_func_localtime" = xyes; then :
35330 cat >>confdefs.h <<_ACEOF
35331 #define HAVE_LOCALTIME 1
35332 _ACEOF
35333
35334 fi
35335 done
35336
35337
35338 if test "$ac_cv_func_localtime" = "yes"; then
35339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
35340 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
35341 if ${wx_cv_struct_tm_has_gmtoff+:} false; then :
35342 $as_echo_n "(cached) " >&6
35343 else
35344
35345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35346 /* end confdefs.h. */
35347
35348 #include <time.h>
35349
35350 int
35351 main ()
35352 {
35353
35354 struct tm tm;
35355 tm.tm_gmtoff++;
35356
35357 ;
35358 return 0;
35359 }
35360 _ACEOF
35361 if ac_fn_c_try_compile "$LINENO"; then :
35362
35363 wx_cv_struct_tm_has_gmtoff=yes
35364
35365 else
35366 wx_cv_struct_tm_has_gmtoff=no
35367
35368 fi
35369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35370
35371 fi
35372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35373 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35374 fi
35375
35376 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35377 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35378
35379 fi
35380
35381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35382 fi
35383
35384
35385 for ac_func in setpriority
35386 do :
35387 ac_fn_c_check_func "$LINENO" "setpriority" "ac_cv_func_setpriority"
35388 if test "x$ac_cv_func_setpriority" = xyes; then :
35389 cat >>confdefs.h <<_ACEOF
35390 #define HAVE_SETPRIORITY 1
35391 _ACEOF
35392
35393 fi
35394 done
35395
35396
35397
35398 if test "$wxUSE_SOCKETS" = "yes"; then
35399 if test "$TOOLKIT" != "MSW"; then
35400 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
35401 if test "x$ac_cv_func_socket" = xyes; then :
35402
35403 else
35404
35405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35406 $as_echo_n "checking for socket in -lsocket... " >&6; }
35407 if ${ac_cv_lib_socket_socket+:} false; then :
35408 $as_echo_n "(cached) " >&6
35409 else
35410 ac_check_lib_save_LIBS=$LIBS
35411 LIBS="-lsocket $LIBS"
35412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35413 /* end confdefs.h. */
35414
35415 /* Override any GCC internal prototype to avoid an error.
35416 Use char because int might match the return type of a GCC
35417 builtin and then its argument prototype would still apply. */
35418 #ifdef __cplusplus
35419 extern "C"
35420 #endif
35421 char socket ();
35422 int
35423 main ()
35424 {
35425 return socket ();
35426 ;
35427 return 0;
35428 }
35429 _ACEOF
35430 if ac_fn_c_try_link "$LINENO"; then :
35431 ac_cv_lib_socket_socket=yes
35432 else
35433 ac_cv_lib_socket_socket=no
35434 fi
35435 rm -f core conftest.err conftest.$ac_objext \
35436 conftest$ac_exeext conftest.$ac_ext
35437 LIBS=$ac_check_lib_save_LIBS
35438 fi
35439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35440 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35441 if test "x$ac_cv_lib_socket_socket" = xyes; then :
35442 if test "$INET_LINK" != " -lsocket"; then
35443 INET_LINK="$INET_LINK -lsocket"
35444 fi
35445 else
35446
35447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35448 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35449 wxUSE_SOCKETS=no
35450
35451
35452 fi
35453
35454
35455
35456 fi
35457
35458 fi
35459 fi
35460
35461 if test "$wxUSE_SOCKETS" = "yes" ; then
35462 if test "$TOOLKIT" != "MSW"; then
35463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35464 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35465 if ${wx_cv_type_getsockname3+:} false; then :
35466 $as_echo_n "(cached) " >&6
35467 else
35468
35469 ac_ext=cpp
35470 ac_cpp='$CXXCPP $CPPFLAGS'
35471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35474
35475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35476 /* end confdefs.h. */
35477
35478 #include <sys/types.h>
35479 #include <sys/socket.h>
35480
35481 int
35482 main ()
35483 {
35484
35485 socklen_t len;
35486 getsockname(0, 0, &len);
35487
35488 ;
35489 return 0;
35490 }
35491 _ACEOF
35492 if ac_fn_cxx_try_compile "$LINENO"; then :
35493 wx_cv_type_getsockname3=socklen_t
35494 else
35495
35496 CFLAGS_OLD="$CFLAGS"
35497 if test "$GCC" = yes ; then
35498 CFLAGS="-Werror $CFLAGS"
35499 fi
35500
35501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35502 /* end confdefs.h. */
35503
35504 #include <sys/types.h>
35505 #include <sys/socket.h>
35506
35507 int
35508 main ()
35509 {
35510
35511 size_t len;
35512 getsockname(0, 0, &len);
35513
35514 ;
35515 return 0;
35516 }
35517 _ACEOF
35518 if ac_fn_cxx_try_compile "$LINENO"; then :
35519 wx_cv_type_getsockname3=size_t
35520 else
35521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35522 /* end confdefs.h. */
35523
35524 #include <sys/types.h>
35525 #include <sys/socket.h>
35526
35527 int
35528 main ()
35529 {
35530
35531 int len;
35532 getsockname(0, 0, &len);
35533
35534 ;
35535 return 0;
35536 }
35537 _ACEOF
35538 if ac_fn_cxx_try_compile "$LINENO"; then :
35539 wx_cv_type_getsockname3=int
35540 else
35541 wx_cv_type_getsockname3=unknown
35542
35543 fi
35544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35545
35546 fi
35547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35548
35549 CFLAGS="$CFLAGS_OLD"
35550
35551
35552 fi
35553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35554 ac_ext=c
35555 ac_cpp='$CPP $CPPFLAGS'
35556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35559
35560
35561 fi
35562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35563 $as_echo "$wx_cv_type_getsockname3" >&6; }
35564
35565 if test "$wx_cv_type_getsockname3" = "unknown"; then
35566 wxUSE_SOCKETS=no
35567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35568 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35569 else
35570 cat >>confdefs.h <<_ACEOF
35571 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35572 _ACEOF
35573
35574 fi
35575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35576 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35577 if ${wx_cv_type_getsockopt5+:} false; then :
35578 $as_echo_n "(cached) " >&6
35579 else
35580
35581 ac_ext=cpp
35582 ac_cpp='$CXXCPP $CPPFLAGS'
35583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35586
35587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35588 /* end confdefs.h. */
35589
35590 #include <sys/types.h>
35591 #include <sys/socket.h>
35592
35593 int
35594 main ()
35595 {
35596
35597 socklen_t len;
35598 getsockopt(0, 0, 0, 0, &len);
35599
35600 ;
35601 return 0;
35602 }
35603 _ACEOF
35604 if ac_fn_cxx_try_compile "$LINENO"; then :
35605 wx_cv_type_getsockopt5=socklen_t
35606 else
35607
35608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35609 /* end confdefs.h. */
35610
35611 #include <sys/types.h>
35612 #include <sys/socket.h>
35613
35614 int
35615 main ()
35616 {
35617
35618 size_t len;
35619 getsockopt(0, 0, 0, 0, &len);
35620
35621 ;
35622 return 0;
35623 }
35624 _ACEOF
35625 if ac_fn_cxx_try_compile "$LINENO"; then :
35626 wx_cv_type_getsockopt5=size_t
35627 else
35628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35629 /* end confdefs.h. */
35630
35631 #include <sys/types.h>
35632 #include <sys/socket.h>
35633
35634 int
35635 main ()
35636 {
35637
35638 int len;
35639 getsockopt(0, 0, 0, 0, &len);
35640
35641 ;
35642 return 0;
35643 }
35644 _ACEOF
35645 if ac_fn_cxx_try_compile "$LINENO"; then :
35646 wx_cv_type_getsockopt5=int
35647 else
35648 wx_cv_type_getsockopt5=unknown
35649
35650 fi
35651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35652
35653 fi
35654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35655
35656
35657 fi
35658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35659 ac_ext=c
35660 ac_cpp='$CPP $CPPFLAGS'
35661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35664
35665
35666 fi
35667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35668 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35669
35670 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35671 wxUSE_SOCKETS=no
35672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35673 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35674 else
35675 cat >>confdefs.h <<_ACEOF
35676 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35677 _ACEOF
35678
35679 fi
35680 fi
35681 fi
35682
35683 if test "$wxUSE_SOCKETS" = "yes" ; then
35684 if test "$wxUSE_IPV6" = "yes"; then
35685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35686 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35687 if ${wx_cv_type_sockaddr_in6+:} false; then :
35688 $as_echo_n "(cached) " >&6
35689 else
35690
35691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35692 /* end confdefs.h. */
35693
35694 #include <sys/types.h>
35695 #include <sys/socket.h>
35696 #include <netinet/in.h>
35697
35698 int
35699 main ()
35700 {
35701
35702 struct sockaddr_in6 sa6;
35703
35704 ;
35705 return 0;
35706 }
35707 _ACEOF
35708 if ac_fn_c_try_compile "$LINENO"; then :
35709 wx_cv_type_sockaddr_in6=yes
35710 else
35711 wx_cv_type_sockaddr_in6=no
35712
35713 fi
35714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35715
35716
35717 fi
35718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35719 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35720
35721 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35722 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35723
35724 else
35725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35726 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35727 fi
35728 fi
35729
35730 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35731
35732 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35733 fi
35734
35735 if test "$wxUSE_PROTOCOL" = "yes"; then
35736 if test "$wxUSE_SOCKETS" != "yes"; then
35737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35738 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35739 wxUSE_PROTOCOL=no
35740 fi
35741 fi
35742
35743 if test "$wxUSE_PROTOCOL" = "yes"; then
35744 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35745
35746
35747 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35748 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35749
35750 fi
35751 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35752 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35753
35754 fi
35755 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35756 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35757
35758 fi
35759 else
35760 if test "$wxUSE_FS_INET" = "yes"; then
35761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35762 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35763 wxUSE_FS_INET="no"
35764 fi
35765 fi
35766
35767 if test "$wxUSE_URL" = "yes"; then
35768 if test "$wxUSE_PROTOCOL" != "yes"; then
35769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35770 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35771 wxUSE_URL=no
35772 fi
35773 if test "$wxUSE_URL" = "yes"; then
35774 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35775
35776 fi
35777 fi
35778
35779 if test "$wxUSE_VARIANT" = "yes"; then
35780 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35781
35782 fi
35783
35784 if test "$wxUSE_FS_INET" = "yes"; then
35785 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35786
35787 fi
35788
35789
35790 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35791 wxUSE_JOYSTICK=no
35792
35793 if test "$TOOLKIT" = "MSW"; then
35794 wxUSE_JOYSTICK=yes
35795
35796 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35797 if test "$USE_DARWIN" = 1; then
35798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35799 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35800 ac_ext=cpp
35801 ac_cpp='$CXXCPP $CPPFLAGS'
35802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35805
35806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35807 /* end confdefs.h. */
35808 #include <IOKit/hid/IOHIDLib.h>
35809 int
35810 main ()
35811 {
35812 IOHIDQueueInterface *qi = NULL;
35813 IOHIDCallbackFunction cb = NULL;
35814 qi->setEventCallout(NULL, cb, NULL, NULL);
35815 ;
35816 return 0;
35817 }
35818 _ACEOF
35819 if ac_fn_cxx_try_compile "$LINENO"; then :
35820 wxUSE_JOYSTICK=yes
35821
35822 fi
35823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35824 ac_ext=c
35825 ac_cpp='$CPP $CPPFLAGS'
35826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35829
35830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35831 $as_echo "$wxUSE_JOYSTICK" >&6; }
35832 fi
35833
35834 else
35835 for ac_header in linux/joystick.h
35836 do :
35837 ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35838 "
35839 if test "x$ac_cv_header_linux_joystick_h" = xyes; then :
35840 cat >>confdefs.h <<_ACEOF
35841 #define HAVE_LINUX_JOYSTICK_H 1
35842 _ACEOF
35843 wxUSE_JOYSTICK=yes
35844 fi
35845
35846 done
35847
35848 fi
35849
35850 if test "$wxUSE_JOYSTICK" = "yes"; then
35851 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35852
35853 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35854 else
35855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35856 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35857 fi
35858 fi
35859
35860
35861
35862 if test "$wxUSE_FONTENUM" = "yes" ; then
35863 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35864
35865 fi
35866
35867 if test "$wxUSE_FONTMAP" = "yes" ; then
35868 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35869
35870 fi
35871
35872 if test "$wxUSE_UNICODE" = "yes" ; then
35873 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35874
35875
35876 if test "$USE_WIN32" != 1; then
35877 wxUSE_UNICODE_MSLU=no
35878 fi
35879
35880 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35882 $as_echo_n "checking for main in -lunicows... " >&6; }
35883 if ${ac_cv_lib_unicows_main+:} false; then :
35884 $as_echo_n "(cached) " >&6
35885 else
35886 ac_check_lib_save_LIBS=$LIBS
35887 LIBS="-lunicows $LIBS"
35888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35889 /* end confdefs.h. */
35890
35891
35892 int
35893 main ()
35894 {
35895 return main ();
35896 ;
35897 return 0;
35898 }
35899 _ACEOF
35900 if ac_fn_c_try_link "$LINENO"; then :
35901 ac_cv_lib_unicows_main=yes
35902 else
35903 ac_cv_lib_unicows_main=no
35904 fi
35905 rm -f core conftest.err conftest.$ac_objext \
35906 conftest$ac_exeext conftest.$ac_ext
35907 LIBS=$ac_check_lib_save_LIBS
35908 fi
35909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35910 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35911 if test "x$ac_cv_lib_unicows_main" = xyes; then :
35912
35913 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35914
35915
35916 else
35917
35918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35919 Applications will only run on Windows NT/2000/XP!" >&5
35920 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35921 Applications will only run on Windows NT/2000/XP!" >&2;}
35922 wxUSE_UNICODE_MSLU=no
35923
35924 fi
35925
35926 fi
35927 fi
35928
35929 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35930 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35931
35932
35933 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35934 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35935
35936 fi
35937 fi
35938
35939
35940 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35941 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35942
35943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35944 fi
35945
35946 if test "$wxUSE_MDI" = "yes"; then
35947 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35948
35949
35950 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35951 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35952
35953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35954 fi
35955 fi
35956
35957 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35958 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35959
35960 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35961 fi
35962
35963 if test "$wxUSE_HELP" = "yes"; then
35964 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35965
35966 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35967
35968 if test "$wxUSE_MSW" = 1; then
35969 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35970 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35971
35972 fi
35973 fi
35974
35975 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35976 if test "$wxUSE_HTML" = "yes"; then
35977 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35978
35979 else
35980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35981 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35982 wxUSE_WXHTML_HELP=no
35983 fi
35984 fi
35985 fi
35986
35987 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35988 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35989
35990 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35991 fi
35992
35993 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35994 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35995
35996 fi
35997
35998 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35999
36000
36001 if test "$wxUSE_SVG" = "yes"; then
36002 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
36003
36004 fi
36005
36006
36007 if test "$wxUSE_METAFILE" = "yes"; then
36008 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
36009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
36010 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
36011 wxUSE_METAFILE=no
36012 fi
36013 elif test "$wxUSE_METAFILE" = "auto"; then
36014 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
36015 wxUSE_METAFILE=yes
36016 fi
36017 fi
36018
36019 if test "$wxUSE_METAFILE" = "yes"; then
36020 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
36021
36022 if test "$wxUSE_MSW" = 1; then
36023 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
36024
36025 fi
36026 fi
36027
36028
36029 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
36030 -o "$wxUSE_CLIPBOARD" = "yes" \
36031 -o "$wxUSE_OLE" = "yes" \
36032 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
36033 ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
36034 "
36035 if test "x$ac_cv_header_ole2_h" = xyes; then :
36036
36037 fi
36038
36039
36040
36041 if test "$ac_cv_header_ole2_h" = "yes" ; then
36042 if test "$GCC" = yes ; then
36043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
36044 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
36045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36046 /* end confdefs.h. */
36047 #include <windows.h>
36048 #include <ole2.h>
36049 int
36050 main ()
36051 {
36052
36053 ;
36054 return 0;
36055 }
36056 _ACEOF
36057 if ac_fn_c_try_compile "$LINENO"; then :
36058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36059 $as_echo "no" >&6; }
36060 else
36061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36062 $as_echo "yes" >&6; }
36063 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
36064 fi
36065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36066 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36067 if test "$wxUSE_OLE" = "yes" ; then
36068 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
36069
36070 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
36071
36072 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
36073
36074 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
36075 fi
36076 fi
36077
36078 if test "$wxUSE_DATAOBJ" = "yes" ; then
36079 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36080
36081 fi
36082 else
36083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
36084 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36085
36086 wxUSE_CLIPBOARD=no
36087 wxUSE_DRAG_AND_DROP=no
36088 wxUSE_DATAOBJ=no
36089 wxUSE_OLE=no
36090 fi
36091 fi
36092
36093 if test "$wxUSE_IPC" = "yes"; then
36094 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
36095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36096 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36097 wxUSE_IPC=no
36098 fi
36099
36100 if test "$wxUSE_IPC" = "yes"; then
36101 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
36102
36103 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
36104 fi
36105 fi
36106
36107 if test "$wxUSE_DATAOBJ" = "yes"; then
36108 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36109
36110 else
36111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
36112 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
36113 wxUSE_CLIPBOARD=no
36114 wxUSE_DRAG_AND_DROP=no
36115 fi
36116
36117 if test "$wxUSE_CLIPBOARD" = "yes"; then
36118 if test "$wxUSE_DFB" = 1; then
36119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
36120 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
36121 wxUSE_CLIPBOARD=no
36122 fi
36123
36124 if test "$wxUSE_CLIPBOARD" = "yes"; then
36125 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
36126
36127 fi
36128 fi
36129
36130 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36131 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
36132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
36133 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
36134 wxUSE_DRAG_AND_DROP=no
36135 fi
36136
36137 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36138 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
36139
36140 fi
36141
36142 fi
36143
36144 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36145 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36146 fi
36147
36148 if test "$wxUSE_CLIPBOARD" = "yes"; then
36149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
36150 fi
36151
36152 if test "$wxUSE_SPLINES" = "yes" ; then
36153 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
36154
36155 fi
36156
36157 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
36158 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
36159
36160 fi
36161
36162 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
36163 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
36164
36165 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
36166 fi
36167
36168 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
36169 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
36170
36171 fi
36172
36173
36174 USES_CONTROLS=0
36175 if test "$wxUSE_CONTROLS" = "yes"; then
36176 USES_CONTROLS=1
36177 fi
36178
36179 if test "$wxUSE_MARKUP" = "yes"; then
36180 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
36181
36182 fi
36183
36184 if test "$wxUSE_ACCEL" = "yes"; then
36185 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
36186
36187 USES_CONTROLS=1
36188 fi
36189
36190 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
36191 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
36192
36193 USES_CONTROLS=1
36194 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
36195 fi
36196
36197 if test "$wxUSE_BANNERWINDOW" = "yes"; then
36198 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
36199
36200 fi
36201
36202 if test "$wxUSE_BUTTON" = "yes"; then
36203 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
36204
36205 USES_CONTROLS=1
36206 fi
36207
36208 if test "$wxUSE_BMPBUTTON" = "yes"; then
36209 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
36210
36211 USES_CONTROLS=1
36212 fi
36213
36214 if test "$wxUSE_CALCTRL" = "yes"; then
36215 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
36216
36217 USES_CONTROLS=1
36218 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36219 fi
36220
36221 if test "$wxUSE_CARET" = "yes"; then
36222 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
36223
36224 USES_CONTROLS=1
36225 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36226 fi
36227
36228 if test "$wxUSE_COLLPANE" = "yes"; then
36229 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
36230
36231 USES_CONTROLS=1
36232 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
36233 fi
36234
36235 if test "$wxUSE_COMBOBOX" = "yes"; then
36236 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
36237
36238 USES_CONTROLS=1
36239 fi
36240
36241 if test "$wxUSE_COMBOCTRL" = "yes"; then
36242 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
36243
36244 USES_CONTROLS=1
36245 fi
36246
36247 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
36248 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
36249
36250 USES_CONTROLS=1
36251 fi
36252
36253 if test "$wxUSE_CHOICE" = "yes"; then
36254 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
36255
36256 USES_CONTROLS=1
36257 fi
36258
36259 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36260 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
36261
36262 USES_CONTROLS=1
36263 fi
36264
36265 if test "$wxUSE_CHECKBOX" = "yes"; then
36266 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
36267
36268 USES_CONTROLS=1
36269 fi
36270
36271 if test "$wxUSE_CHECKLST" = "yes"; then
36272 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
36273
36274 USES_CONTROLS=1
36275 fi
36276
36277 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
36278 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
36279
36280 USES_CONTROLS=1
36281 fi
36282
36283 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
36284 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
36285
36286 USES_CONTROLS=1
36287 fi
36288
36289 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
36290 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
36291
36292 USES_CONTROLS=1
36293 fi
36294
36295 if test "$wxUSE_FILECTRL" = "yes"; then
36296 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
36297
36298 USES_CONTROLS=1
36299 fi
36300
36301 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
36302 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
36303
36304 USES_CONTROLS=1
36305 fi
36306
36307 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
36308 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
36309
36310 USES_CONTROLS=1
36311 fi
36312
36313 if test "$wxUSE_DISPLAY" = "yes"; then
36314 if test "$wxUSE_DFB" = 1; then
36315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
36316 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
36317 wxUSE_DISPLAY=no
36318 else
36319 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
36320
36321 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36322 fi
36323 fi
36324
36325 if test "$wxUSE_DETECT_SM" = "yes"; then
36326 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
36327
36328 fi
36329
36330 if test "$wxUSE_GAUGE" = "yes"; then
36331 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
36332
36333 USES_CONTROLS=1
36334 fi
36335
36336 if test "$wxUSE_GRID" = "yes"; then
36337 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
36338
36339 USES_CONTROLS=1
36340 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36341 fi
36342
36343 if test "$wxUSE_HEADERCTRL" = "yes"; then
36344 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
36345
36346 USES_CONTROLS=1
36347 fi
36348
36349 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
36350 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
36351
36352 USES_CONTROLS=1
36353 fi
36354
36355 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
36356 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
36357
36358 USES_CONTROLS=1
36359 fi
36360
36361 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
36362 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
36363
36364 USES_CONTROLS=1
36365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
36366 fi
36367
36368 if test "$wxUSE_IMAGLIST" = "yes"; then
36369 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
36370
36371 fi
36372
36373 if test "$wxUSE_INFOBAR" = "yes"; then
36374 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36375
36376 fi
36377
36378 if test "$wxUSE_LISTBOOK" = "yes"; then
36379 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36380
36381 USES_CONTROLS=1
36382 fi
36383
36384 if test "$wxUSE_LISTBOX" = "yes"; then
36385 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36386
36387 USES_CONTROLS=1
36388 fi
36389
36390 if test "$wxUSE_LISTCTRL" = "yes"; then
36391 if test "$wxUSE_IMAGLIST" = "yes"; then
36392 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36393
36394 USES_CONTROLS=1
36395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36396 else
36397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36398 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36399 fi
36400 fi
36401
36402 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36403 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36404
36405 USES_CONTROLS=1
36406 fi
36407
36408 if test "$wxUSE_NOTEBOOK" = "yes"; then
36409 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36410
36411 USES_CONTROLS=1
36412 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36413 fi
36414
36415 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36416 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36417
36418 fi
36419
36420 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36421 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36422
36423 USES_CONTROLS=1
36424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
36425 fi
36426
36427 if test "$wxUSE_RADIOBOX" = "yes"; then
36428 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36429
36430 USES_CONTROLS=1
36431 fi
36432
36433 if test "$wxUSE_RADIOBTN" = "yes"; then
36434 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36435
36436 USES_CONTROLS=1
36437 fi
36438
36439 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36440 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36441
36442 fi
36443
36444 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36445 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36446
36447 fi
36448
36449 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36450 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36451
36452 fi
36453
36454 if test "$wxUSE_SASH" = "yes"; then
36455 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36456
36457 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36458 fi
36459
36460 if test "$wxUSE_SCROLLBAR" = "yes"; then
36461 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36462
36463 USES_CONTROLS=1
36464 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
36465 fi
36466
36467 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36468 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36469
36470 USES_CONTROLS=1
36471 fi
36472
36473 if test "$wxUSE_SLIDER" = "yes"; then
36474 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36475
36476 USES_CONTROLS=1
36477 fi
36478
36479 if test "$wxUSE_SPINBTN" = "yes"; then
36480 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36481
36482 USES_CONTROLS=1
36483 fi
36484
36485 if test "$wxUSE_SPINCTRL" = "yes"; then
36486 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36487
36488 USES_CONTROLS=1
36489 fi
36490
36491 if test "$wxUSE_SPLITTER" = "yes"; then
36492 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36493
36494 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36495 fi
36496
36497 if test "$wxUSE_STATBMP" = "yes"; then
36498 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36499
36500 USES_CONTROLS=1
36501 fi
36502
36503 if test "$wxUSE_STATBOX" = "yes"; then
36504 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36505
36506 USES_CONTROLS=1
36507 fi
36508
36509 if test "$wxUSE_STATTEXT" = "yes"; then
36510 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36511
36512 USES_CONTROLS=1
36513 fi
36514
36515 if test "$wxUSE_STATLINE" = "yes"; then
36516 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36517
36518 USES_CONTROLS=1
36519 fi
36520
36521 if test "$wxUSE_STATUSBAR" = "yes"; then
36522 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36523
36524 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36525
36526 USES_CONTROLS=1
36527
36528 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36529 fi
36530
36531 if test "$wxUSE_TEXTCTRL" = "yes"; then
36532 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36533
36534 USES_CONTROLS=1
36535 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36536
36537 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36538
36539 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36540
36541 fi
36542
36543 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36544 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36545
36546 USES_CONTROLS=1
36547 fi
36548
36549 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36550 if test "$wxUSE_OLD_COCOA" = 1 ; then
36551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36552 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36553 wxUSE_TOGGLEBTN=no
36554 fi
36555
36556 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36557 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36558
36559 USES_CONTROLS=1
36560 fi
36561 fi
36562
36563 if test "$wxUSE_TOOLBAR" = "yes"; then
36564 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36565
36566 USES_CONTROLS=1
36567
36568 if test "$wxUSE_UNIVERSAL" = "yes"; then
36569 wxUSE_TOOLBAR_NATIVE="no"
36570 else
36571 wxUSE_TOOLBAR_NATIVE="yes"
36572 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36573
36574 fi
36575
36576 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36577 fi
36578
36579 if test "$wxUSE_TOOLTIPS" = "yes"; then
36580 if test "$wxUSE_MOTIF" = 1; then
36581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36582 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36583 else
36584 if test "$wxUSE_UNIVERSAL" = "yes"; then
36585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36586 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36587 else
36588 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36589
36590 fi
36591 fi
36592 fi
36593
36594 if test "$wxUSE_TREEBOOK" = "yes"; then
36595 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36596
36597 USES_CONTROLS=1
36598 fi
36599
36600 if test "$wxUSE_TOOLBOOK" = "yes"; then
36601 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36602
36603 USES_CONTROLS=1
36604 fi
36605
36606 if test "$wxUSE_TREECTRL" = "yes"; then
36607 if test "$wxUSE_IMAGLIST" = "yes"; then
36608 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36609
36610 USES_CONTROLS=1
36611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36612 else
36613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36614 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36615 fi
36616 fi
36617
36618 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36619 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36620
36621 USES_CONTROLS=1
36622 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
36623 fi
36624
36625 if test "$wxUSE_POPUPWIN" = "yes"; then
36626 if test "$wxUSE_OLD_COCOA" = 1 ; then
36627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36628 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36629 else
36630 if test "$wxUSE_PM" = 1; then
36631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36632 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36633 else
36634 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36635
36636 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
36637
36638 USES_CONTROLS=1
36639 fi
36640 fi
36641 fi
36642
36643 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36644 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36646 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36647 else
36648 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36649
36650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
36651 fi
36652 fi
36653
36654 if test "$wxUSE_TIPWINDOW" = "yes"; then
36655 if test "$wxUSE_PM" = 1; then
36656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36657 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36658 else
36659 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36660
36661 fi
36662 fi
36663
36664 if test "$USES_CONTROLS" = 1; then
36665 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36666
36667 fi
36668
36669
36670 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36671 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36672
36673 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36674 fi
36675
36676 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36677 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36678
36679 fi
36680
36681 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36682 if test "$wxUSE_GTK" != 1; then
36683 if test "$wxUSE_LIBPNG" != no -a \
36684 "$wxUSE_IMAGE" = yes -a \
36685 "$wxUSE_STREAMS" = yes; then
36686 wxUSE_ARTPROVIDER_TANGO="yes"
36687 fi
36688 fi
36689 fi
36690
36691 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36692 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36693
36694 fi
36695
36696 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36697 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36698
36699 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36700 fi
36701
36702 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36703 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36705 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36706 else
36707 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36708
36709 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36710 fi
36711 fi
36712
36713 USE_HTML=0
36714 if test "$wxUSE_HTML" = "yes"; then
36715 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36716
36717 USE_HTML=1
36718 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36719 fi
36720 if test "$wxUSE_WEBKIT" = "yes"; then
36721 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36722 old_CPPFLAGS="$CPPFLAGS"
36723 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36724 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36725 #include <Carbon/Carbon.h>
36726 #include <WebKit/WebKit.h>
36727
36728 "
36729 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36730
36731 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36732
36733 WEBKIT_LINK="-framework WebKit"
36734
36735 else
36736
36737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36738 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36739 wxUSE_WEBKIT=no
36740
36741 fi
36742
36743
36744 CPPFLAGS="$old_CPPFLAGS"
36745 elif test "$wxUSE_OLD_COCOA" = 1; then
36746 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36747
36748 else
36749 wxUSE_WEBKIT=no
36750 fi
36751 if test "$wxUSE_WEBKIT" = "yes"; then
36752 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36753 fi
36754 fi
36755
36756 USE_XRC=0
36757 if test "$wxUSE_XRC" = "yes"; then
36758 if test "$wxUSE_XML" != "yes"; then
36759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36760 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36761 wxUSE_XRC=no
36762 else
36763 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36764
36765 USE_XRC=1
36766 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
36767 fi
36768 fi
36769
36770 USE_AUI=0
36771 if test "$wxUSE_AUI" = "yes"; then
36772 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36773
36774 USE_AUI=1
36775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
36776 fi
36777
36778 USE_PROPGRID=0
36779 if test "$wxUSE_PROPGRID" = "yes"; then
36780 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36781
36782 USE_PROPGRID=1
36783 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
36784 fi
36785
36786 USE_RIBBON=0
36787 if test "$wxUSE_RIBBON" = "yes"; then
36788 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36789
36790 USE_RIBBON=1
36791 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
36792 fi
36793
36794 USE_STC=0
36795 if test "$wxUSE_STC" = "yes"; then
36796 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36797
36798 USE_STC=1
36799 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
36800
36801 # Extract the first word of "python", so it can be a program name with args.
36802 set dummy python; ac_word=$2
36803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36804 $as_echo_n "checking for $ac_word... " >&6; }
36805 if ${ac_cv_path_PYTHON+:} false; then :
36806 $as_echo_n "(cached) " >&6
36807 else
36808 case $PYTHON in
36809 [\\/]* | ?:[\\/]*)
36810 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
36811 ;;
36812 *)
36813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36814 for as_dir in $PATH
36815 do
36816 IFS=$as_save_IFS
36817 test -z "$as_dir" && as_dir=.
36818 for ac_exec_ext in '' $ac_executable_extensions; do
36819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36820 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
36821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36822 break 2
36823 fi
36824 done
36825 done
36826 IFS=$as_save_IFS
36827
36828 ;;
36829 esac
36830 fi
36831 PYTHON=$ac_cv_path_PYTHON
36832 if test -n "$PYTHON"; then
36833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36834 $as_echo "$PYTHON" >&6; }
36835 else
36836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36837 $as_echo "no" >&6; }
36838 fi
36839
36840
36841 if test "x$PYTHON" = "x"; then
36842 COND_PYTHON="#"
36843 fi
36844
36845 fi
36846
36847 if test "$wxUSE_MENUS" = "yes"; then
36848 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36849
36850 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36851 fi
36852
36853 if test "$wxUSE_MIMETYPE" = "yes"; then
36854 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36855
36856 fi
36857
36858 if test "$wxUSE_MINIFRAME" = "yes"; then
36859 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36860
36861 fi
36862
36863 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36864 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36865
36866 fi
36867
36868 if test "$wxUSE_TASKBARICON" = "yes"; then
36869 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36870
36871 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36872
36873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36874 fi
36875
36876
36877 if test "$wxUSE_VALIDATORS" = "yes"; then
36878 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36879
36880 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36881 fi
36882
36883 if test "$wxUSE_PALETTE" = "yes" ; then
36884 if test "$wxUSE_DFB" = 1; then
36885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36886 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36887 wxUSE_PALETTE=no
36888 else
36889 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36890
36891 fi
36892 fi
36893
36894 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36895 LIBS=" -lunicows $LIBS"
36896 fi
36897
36898 USE_RICHTEXT=0
36899 if test "$wxUSE_RICHTEXT" = "yes"; then
36900 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36901
36902 USE_RICHTEXT=1
36903 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
36904 fi
36905
36906 if test "$wxUSE_WEBVIEW" = "yes"; then
36907 USE_WEBVIEW_WEBKIT=0
36908 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36909 if test "$wxUSE_GTK" = 1; then
36910 webkitgtk=webkit-1.0
36911 if test "$WXGTK3" = 1; then
36912 webkitgtk=webkitgtk-3.0
36913 fi
36914
36915 pkg_failed=no
36916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36917 $as_echo_n "checking for WEBKIT... " >&6; }
36918
36919 if test -n "$PKG_CONFIG"; then
36920 if test -n "$WEBKIT_CFLAGS"; then
36921 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
36922 else
36923 if test -n "$PKG_CONFIG" && \
36924 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36925 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36926 ac_status=$?
36927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36928 test $ac_status = 0; }; then
36929 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36930 else
36931 pkg_failed=yes
36932 fi
36933 fi
36934 else
36935 pkg_failed=untried
36936 fi
36937 if test -n "$PKG_CONFIG"; then
36938 if test -n "$WEBKIT_LIBS"; then
36939 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
36940 else
36941 if test -n "$PKG_CONFIG" && \
36942 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36943 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36944 ac_status=$?
36945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36946 test $ac_status = 0; }; then
36947 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36948 else
36949 pkg_failed=yes
36950 fi
36951 fi
36952 else
36953 pkg_failed=untried
36954 fi
36955
36956
36957
36958 if test $pkg_failed = yes; then
36959
36960 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36961 _pkg_short_errors_supported=yes
36962 else
36963 _pkg_short_errors_supported=no
36964 fi
36965 if test $_pkg_short_errors_supported = yes; then
36966 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36967 else
36968 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36969 fi
36970 # Put the nasty error message in config.log where it belongs
36971 echo "$WEBKIT_PKG_ERRORS" >&5
36972
36973
36974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36975 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36976
36977 elif test $pkg_failed = untried; then
36978
36979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36980 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36981
36982 else
36983 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
36984 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
36985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36986 $as_echo "yes" >&6; }
36987
36988 USE_WEBVIEW_WEBKIT=1
36989 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
36990 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36991
36992 fi
36993 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36994 old_CPPFLAGS="$CPPFLAGS"
36995 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36996 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36997 #include <Carbon/Carbon.h>
36998 #include <WebKit/WebKit.h>
36999
37000 "
37001 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
37002
37003 USE_WEBVIEW_WEBKIT=1
37004 WEBKIT_LINK="-framework WebKit"
37005
37006 else
37007
37008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
37009 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
37010
37011 fi
37012
37013
37014 CPPFLAGS="$old_CPPFLAGS"
37015 fi
37016 fi
37017
37018 wxUSE_WEBVIEW="no"
37019 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
37020 if test "$USE_WEBVIEW_WEBKIT" = 1; then
37021 wxUSE_WEBVIEW="yes"
37022 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
37023
37024 else
37025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
37026 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
37027 fi
37028 elif test "$wxUSE_MSW" = 1; then
37029 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
37030 wxUSE_WEBVIEW="yes"
37031 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
37032
37033 fi
37034 fi
37035 fi
37036
37037 if test "$wxUSE_WEBVIEW" = "yes"; then
37038 USE_WEBVIEW=1
37039 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
37040
37041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
37042 else
37043 USE_WEBVIEW=0
37044 fi
37045
37046
37047 if test "$wxUSE_IMAGE" = "yes" ; then
37048 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
37049
37050
37051 if test "$wxUSE_GIF" = "yes" ; then
37052 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
37053
37054 fi
37055
37056 if test "$wxUSE_PCX" = "yes" ; then
37057 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
37058
37059 fi
37060
37061 if test "$wxUSE_TGA" = "yes" ; then
37062 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
37063
37064 fi
37065
37066 if test "$wxUSE_IFF" = "yes" ; then
37067 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
37068
37069 fi
37070
37071 if test "$wxUSE_PNM" = "yes" ; then
37072 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
37073
37074 fi
37075
37076 if test "$wxUSE_XPM" = "yes" ; then
37077 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
37078
37079 fi
37080
37081 if test "$wxUSE_ICO_CUR" = "yes" ; then
37082 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
37083
37084 fi
37085 fi
37086
37087
37088 if test "$wxUSE_ABOUTDLG" = "yes"; then
37089 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
37090
37091 fi
37092
37093 if test "$wxUSE_CHOICEDLG" = "yes"; then
37094 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
37095
37096 fi
37097
37098 if test "$wxUSE_COLOURDLG" = "yes"; then
37099 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
37100
37101 fi
37102
37103 if test "$wxUSE_FILEDLG" = "yes"; then
37104 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
37105
37106 fi
37107
37108 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37109 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
37110
37111 fi
37112
37113 if test "$wxUSE_FONTDLG" = "yes"; then
37114 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
37115
37116 fi
37117
37118 if test "$wxUSE_DIRDLG" = "yes"; then
37119 if test "$wxUSE_TREECTRL" != "yes"; then
37120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37121 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37122 else
37123 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
37124
37125 fi
37126 fi
37127
37128 if test "$wxUSE_MSGDLG" = "yes"; then
37129 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
37130
37131 fi
37132
37133 if test "$wxUSE_NUMBERDLG" = "yes"; then
37134 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
37135
37136 fi
37137
37138 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37139 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
37140
37141 fi
37142
37143 if test "$wxUSE_SPLASH" = "yes"; then
37144 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
37145
37146 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
37147 fi
37148
37149 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37150 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
37151
37152 fi
37153
37154 if test "$wxUSE_TEXTDLG" = "yes"; then
37155 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
37156
37157 fi
37158
37159 if test "$wxUSE_WIZARDDLG" = "yes"; then
37160 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
37161
37162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37163 fi
37164
37165
37166 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
37167 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
37168 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
37169
37170 fi
37171 fi
37172
37173
37174 if test "$wxUSE_MSW" = 1 ; then
37175
37176 if test "$wxUSE_DC_CACHEING" = "yes"; then
37177 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
37178
37179 fi
37180
37181 if test "$wxUSE_DIB" = "yes"; then
37182 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
37183
37184 fi
37185
37186 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
37187 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
37188
37189 fi
37190
37191 if test "$wxUSE_UXTHEME" = "yes"; then
37192 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
37193
37194 fi
37195
37196 fi
37197
37198 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
37199 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
37200
37201 fi
37202
37203 if test "$USE_WIN32" = 1 ; then
37204 if test "$wxUSE_INICONF" = "yes"; then
37205 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
37206
37207 fi
37208
37209 if test "$wxUSE_REGKEY" = "yes"; then
37210 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
37211
37212 fi
37213 fi
37214
37215
37216 if test "$wxUSE_MAC" = 1; then
37217 wxUSE_GRAPHICS_CONTEXT="yes"
37218 fi
37219
37220 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
37221 wx_has_graphics=0
37222 if test "$wxUSE_MSW" = 1; then
37223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
37224 $as_echo_n "checking if GDI+ is available... " >&6; }
37225 if ${wx_cv_lib_gdiplus+:} false; then :
37226 $as_echo_n "(cached) " >&6
37227 else
37228
37229 ac_ext=cpp
37230 ac_cpp='$CXXCPP $CPPFLAGS'
37231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37234
37235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37236 /* end confdefs.h. */
37237 #include <windows.h>
37238 #include <gdiplus.h>
37239 int
37240 main ()
37241 {
37242
37243 using namespace Gdiplus;
37244
37245 ;
37246 return 0;
37247 }
37248 _ACEOF
37249 if ac_fn_cxx_try_compile "$LINENO"; then :
37250 wx_cv_lib_gdiplus=yes
37251 else
37252 wx_cv_lib_gdiplus=no
37253
37254 fi
37255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37256 ac_ext=c
37257 ac_cpp='$CPP $CPPFLAGS'
37258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37261
37262
37263
37264 fi
37265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
37266 $as_echo "$wx_cv_lib_gdiplus" >&6; }
37267 if test "$wx_cv_lib_gdiplus" = "yes"; then
37268 wx_has_graphics=1
37269 fi
37270 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
37271
37272 pkg_failed=no
37273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
37274 $as_echo_n "checking for CAIRO... " >&6; }
37275
37276 if test -n "$PKG_CONFIG"; then
37277 if test -n "$CAIRO_CFLAGS"; then
37278 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
37279 else
37280 if test -n "$PKG_CONFIG" && \
37281 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37282 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37283 ac_status=$?
37284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37285 test $ac_status = 0; }; then
37286 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
37287 else
37288 pkg_failed=yes
37289 fi
37290 fi
37291 else
37292 pkg_failed=untried
37293 fi
37294 if test -n "$PKG_CONFIG"; then
37295 if test -n "$CAIRO_LIBS"; then
37296 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
37297 else
37298 if test -n "$PKG_CONFIG" && \
37299 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37300 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37301 ac_status=$?
37302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37303 test $ac_status = 0; }; then
37304 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
37305 else
37306 pkg_failed=yes
37307 fi
37308 fi
37309 else
37310 pkg_failed=untried
37311 fi
37312
37313
37314
37315 if test $pkg_failed = yes; then
37316
37317 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37318 _pkg_short_errors_supported=yes
37319 else
37320 _pkg_short_errors_supported=no
37321 fi
37322 if test $_pkg_short_errors_supported = yes; then
37323 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
37324 else
37325 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
37326 fi
37327 # Put the nasty error message in config.log where it belongs
37328 echo "$CAIRO_PKG_ERRORS" >&5
37329
37330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37331 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37332
37333 elif test $pkg_failed = untried; then
37334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37335 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37336
37337 else
37338 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
37339 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
37340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37341 $as_echo "yes" >&6; }
37342 wx_has_graphics=1
37343 fi
37344 if test "$wx_has_graphics" = 1; then
37345 save_LIBS="$LIBS"
37346 LIBS="$LIBS $CAIRO_LIBS"
37347 for ac_func in cairo_push_group
37348 do :
37349 ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
37350 if test "x$ac_cv_func_cairo_push_group" = xyes; then :
37351 cat >>confdefs.h <<_ACEOF
37352 #define HAVE_CAIRO_PUSH_GROUP 1
37353 _ACEOF
37354
37355 fi
37356 done
37357
37358 LIBS="$save_LIBS"
37359 if test "$ac_cv_func_cairo_push_group" = "no"; then
37360 wx_has_graphics=0
37361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
37362 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
37363 else
37364 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
37365
37366
37367 if test "$wxUSE_GTK" != 1; then
37368 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
37369 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
37370 fi
37371 fi
37372 fi
37373 else
37374 wx_has_graphics=1
37375 fi
37376
37377 if test "$wx_has_graphics" = 1; then
37378 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37379
37380 else
37381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37382 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37383 fi
37384 fi
37385
37386
37387 USE_MEDIA=0
37388
37389 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37390 USE_MEDIA=1
37391
37392 if test "$wxUSE_GTK" = 1; then
37393 wxUSE_GSTREAMER="no"
37394
37395 GST_VERSION_MAJOR=0
37396 GST_VERSION_MINOR=10
37397 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37398
37399 if test "$wxUSE_GSTREAMER8" = "no"; then
37400
37401 pkg_failed=no
37402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37403 $as_echo_n "checking for GST... " >&6; }
37404
37405 if test -n "$PKG_CONFIG"; then
37406 if test -n "$GST_CFLAGS"; then
37407 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37408 else
37409 if test -n "$PKG_CONFIG" && \
37410 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37411 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37412 ac_status=$?
37413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37414 test $ac_status = 0; }; then
37415 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37416 else
37417 pkg_failed=yes
37418 fi
37419 fi
37420 else
37421 pkg_failed=untried
37422 fi
37423 if test -n "$PKG_CONFIG"; then
37424 if test -n "$GST_LIBS"; then
37425 pkg_cv_GST_LIBS="$GST_LIBS"
37426 else
37427 if test -n "$PKG_CONFIG" && \
37428 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37429 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37430 ac_status=$?
37431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37432 test $ac_status = 0; }; then
37433 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37434 else
37435 pkg_failed=yes
37436 fi
37437 fi
37438 else
37439 pkg_failed=untried
37440 fi
37441
37442
37443
37444 if test $pkg_failed = yes; then
37445
37446 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37447 _pkg_short_errors_supported=yes
37448 else
37449 _pkg_short_errors_supported=no
37450 fi
37451 if test $_pkg_short_errors_supported = yes; then
37452 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37453 else
37454 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37455 fi
37456 # Put the nasty error message in config.log where it belongs
37457 echo "$GST_PKG_ERRORS" >&5
37458
37459
37460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37461 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37462 GST_VERSION_MINOR=8
37463
37464
37465 elif test $pkg_failed = untried; then
37466
37467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37468 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37469 GST_VERSION_MINOR=8
37470
37471
37472 else
37473 GST_CFLAGS=$pkg_cv_GST_CFLAGS
37474 GST_LIBS=$pkg_cv_GST_LIBS
37475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37476 $as_echo "yes" >&6; }
37477
37478 wxUSE_GSTREAMER="yes"
37479 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37480
37481 fi
37482 else
37483 GST_VERSION_MINOR=8
37484 fi
37485
37486 if test $GST_VERSION_MINOR = "8"; then
37487 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37488
37489 pkg_failed=no
37490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37491 $as_echo_n "checking for GST... " >&6; }
37492
37493 if test -n "$PKG_CONFIG"; then
37494 if test -n "$GST_CFLAGS"; then
37495 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37496 else
37497 if test -n "$PKG_CONFIG" && \
37498 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37499 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37500 ac_status=$?
37501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37502 test $ac_status = 0; }; then
37503 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37504 else
37505 pkg_failed=yes
37506 fi
37507 fi
37508 else
37509 pkg_failed=untried
37510 fi
37511 if test -n "$PKG_CONFIG"; then
37512 if test -n "$GST_LIBS"; then
37513 pkg_cv_GST_LIBS="$GST_LIBS"
37514 else
37515 if test -n "$PKG_CONFIG" && \
37516 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37517 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37518 ac_status=$?
37519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37520 test $ac_status = 0; }; then
37521 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37522 else
37523 pkg_failed=yes
37524 fi
37525 fi
37526 else
37527 pkg_failed=untried
37528 fi
37529
37530
37531
37532 if test $pkg_failed = yes; then
37533
37534 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37535 _pkg_short_errors_supported=yes
37536 else
37537 _pkg_short_errors_supported=no
37538 fi
37539 if test $_pkg_short_errors_supported = yes; then
37540 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37541 else
37542 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37543 fi
37544 # Put the nasty error message in config.log where it belongs
37545 echo "$GST_PKG_ERRORS" >&5
37546
37547
37548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37549 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37550
37551 elif test $pkg_failed = untried; then
37552
37553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37554 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37555
37556 else
37557 GST_CFLAGS=$pkg_cv_GST_CFLAGS
37558 GST_LIBS=$pkg_cv_GST_LIBS
37559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37560 $as_echo "yes" >&6; }
37561 wxUSE_GSTREAMER="yes"
37562 fi
37563 fi
37564
37565
37566 if test "$wxUSE_GSTREAMER" = "yes"; then
37567 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
37568 EXTRALIBS_MEDIA="$GST_LIBS"
37569
37570 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37571
37572 else
37573 USE_MEDIA=0
37574 fi
37575
37576 elif test "$wxUSE_MAC" = 1; then
37577 GST_LIBS="-framework QTKit"
37578 fi
37579
37580 if test $USE_MEDIA = 1; then
37581 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
37582 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37583
37584 else
37585 if test "$wxUSE_MEDIACTRL" = "yes"; then
37586 as_fn_error $? "GStreamer not available" "$LINENO" 5
37587 else
37588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37589 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37590 fi
37591 fi
37592 fi
37593
37594
37595 if test "$cross_compiling" != "no"; then
37596 OSINFO="\"$host\""
37597 else
37598 OSINFO=`uname -s -r -m`
37599 OSINFO="\"$OSINFO\""
37600 fi
37601
37602 cat >>confdefs.h <<_ACEOF
37603 #define WXWIN_OS_DESCRIPTION $OSINFO
37604 _ACEOF
37605
37606
37607
37608 if test "x$prefix" != "xNONE"; then
37609 wxPREFIX=$prefix
37610 else
37611 wxPREFIX=$ac_default_prefix
37612 fi
37613
37614 cat >>confdefs.h <<_ACEOF
37615 #define wxINSTALL_PREFIX "$wxPREFIX"
37616 _ACEOF
37617
37618
37619
37620
37621 STD_BASE_LIBS="base"
37622 STD_GUI_LIBS=""
37623 BUILT_WX_LIBS="base"
37624 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
37625
37626 if test "$wxUSE_SOCKETS" = "yes" ; then
37627 STD_BASE_LIBS="net $STD_BASE_LIBS"
37628 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
37629 fi
37630 if test "$wxUSE_XML" = "yes" ; then
37631 STD_BASE_LIBS="xml $STD_BASE_LIBS"
37632 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
37633 fi
37634
37635 if test "$wxUSE_GUI" = "yes"; then
37636 STD_GUI_LIBS="adv core"
37637 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
37638
37639 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37640 STD_GUI_LIBS="qa $STD_GUI_LIBS"
37641 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
37642 fi
37643 if test "$wxUSE_HTML" = "yes" ; then
37644 STD_GUI_LIBS="html $STD_GUI_LIBS"
37645 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
37646 fi
37647 if test "$wxUSE_MEDIACTRL" = "yes" ; then
37648 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
37649 fi
37650 if test "$wxUSE_OPENGL" = "yes" ; then
37651 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
37652 fi
37653 if test "$wxUSE_AUI" = "yes" ; then
37654 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
37655 fi
37656 if test "$wxUSE_PROPGRID" = "yes" ; then
37657 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
37658 fi
37659 if test "$wxUSE_RIBBON" = "yes" ; then
37660 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
37661 fi
37662 if test "$wxUSE_RICHTEXT" = "yes" ; then
37663 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
37664 fi
37665 if test "$wxUSE_STC" = "yes" ; then
37666 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
37667 fi
37668 if test "$wxUSE_WEBVIEW" = "yes" ; then
37669 STD_GUI_LIBS="webview $STD_GUI_LIBS"
37670 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
37671 fi
37672 if test "$wxUSE_XRC" = "yes" ; then
37673 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
37674 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
37675 fi
37676 fi
37677
37678
37679
37680
37681
37682
37683
37684 EXTRA_FRAMEWORKS=
37685 if test "$wxUSE_MAC" = 1 ; then
37686 if test "$USE_DARWIN" = 1; then
37687 if test "$wxUSE_OSX_IPHONE" = 1; then
37688 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37689 else
37690 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37691
37692
37693 if test "$cross_compiling" != "no"; then
37694 wx_cv_target_x86_64=no
37695 else
37696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37697 $as_echo_n "checking if we target only x86_64... " >&6; }
37698 if ${wx_cv_target_x86_64+:} false; then :
37699 $as_echo_n "(cached) " >&6
37700 else
37701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37702 /* end confdefs.h. */
37703 int main() { return 0; }
37704 _ACEOF
37705 if ac_fn_c_try_link "$LINENO"; then :
37706 if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
37707 wx_cv_target_x86_64=no
37708 else
37709 wx_cv_target_x86_64=yes
37710 fi
37711
37712 fi
37713 rm -f core conftest.err conftest.$ac_objext \
37714 conftest$ac_exeext conftest.$ac_ext
37715
37716 fi
37717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37718 $as_echo "$wx_cv_target_x86_64" >&6; }
37719 fi
37720
37721 if test "$wx_cv_target_x86_64" != "yes"; then
37722 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37723 fi
37724 fi
37725 fi
37726 fi
37727 if test "$wxUSE_OLD_COCOA" = 1 ; then
37728 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
37729 if test "$wxUSE_MEDIACTRL" = "yes"; then
37730 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37731 fi
37732 fi
37733 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37734 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37735 fi
37736
37737 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
37738 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37739
37740 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37741
37742 if test "$wxUSE_GUI" = "yes"; then
37743
37744
37745 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37746 erase event exec font image minimal preferences render \
37747 shaped svg taborder vscroll widgets wrapsizer"
37748
37749 if test "$wxUSE_MONOLITHIC" != "yes"; then
37750 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37751 fi
37752 if test "$TOOLKIT" = "MSW"; then
37753 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
37754 if test "$wxUSE_UNIVERSAL" != "yes"; then
37755 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37756 fi
37757 fi
37758 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37759 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
37760 fi
37761 else
37762 SAMPLES_SUBDIRS="console"
37763 if test "$wxUSE_SOCKETS" = "yes" ; then
37764 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37765 fi
37766 if test "$wxUSE_IPC" = "yes" ; then
37767 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
37768 fi
37769 fi
37770
37771
37772 if test "x$INTELCC" = "xyes" ; then
37773 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
37774 elif test "$GCC" = yes ; then
37775 CWARNINGS="-Wall -Wundef"
37776 fi
37777
37778 if test "x$INTELCXX" = "xyes" ; then
37779 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37780 elif test "$GXX" = yes ; then
37781 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37783 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37784 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false; then :
37785 $as_echo_n "(cached) " >&6
37786 else
37787 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
37788
37789 ac_ext=cpp
37790 ac_cpp='$CXXCPP $CPPFLAGS'
37791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37794
37795 ac_save_CXXFLAGS="$CXXFLAGS"
37796 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37797 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37799 /* end confdefs.h. */
37800
37801 int
37802 main ()
37803 {
37804 return 0;
37805 ;
37806 return 0;
37807 }
37808 _ACEOF
37809 if ac_fn_cxx_try_compile "$LINENO"; then :
37810 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37811 fi
37812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37813 done
37814 CXXFLAGS="$ac_save_CXXFLAGS"
37815 ac_ext=c
37816 ac_cpp='$CPP $CPPFLAGS'
37817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37820
37821
37822 fi
37823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37824 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37825 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37826 .ok|.ok,*) ;;
37827 .|.no|.no,*) ;;
37828 *)
37829 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
37830 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37831 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37832 ac_status=$?
37833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37834 test $ac_status = 0; }
37835 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37836 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37837 ac_status=$?
37838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37839 test $ac_status = 0; }
37840 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37841 fi
37842 ;;
37843 esac
37844
37845
37846 if test "$wxUSE_MAC" = 1 ; then
37847 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
37848 fi
37849 fi
37850
37851
37852 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
37853 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37854
37855
37856 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
37857 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37858 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37859 $CPPFLAGS `
37860
37861 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37862 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37863 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37864 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37865 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37866
37867 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37868
37869
37870 if test "x$MWCC" = "xyes"; then
37871
37872 CC="$CC -cwd source -I-"
37873 CXX="$CXX -cwd source -I-"
37874 fi
37875
37876
37877 LIBS=`echo $LIBS`
37878 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37879 EXTRALIBS_XML="$EXPAT_LINK"
37880 EXTRALIBS_HTML="$MSPACK_LINK"
37881 EXTRALIBS_MEDIA="$GST_LIBS"
37882 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37883 if test "$wxUSE_GUI" = "yes"; then
37884 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37885 fi
37886 if test "$wxUSE_OPENGL" = "yes"; then
37887 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37888 fi
37889
37890 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
37891
37892 WXCONFIG_LIBS="$LIBS"
37893
37894 if test "$wxUSE_REGEX" = "builtin" ; then
37895 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37896 fi
37897 if test "$wxUSE_EXPAT" = "builtin" ; then
37898 wxconfig_3rdparty="expat $wxconfig_3rdparty"
37899 fi
37900 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37901 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
37902 fi
37903 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37904 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
37905 fi
37906 if test "$wxUSE_LIBPNG" = "builtin" ; then
37907 wxconfig_3rdparty="png $wxconfig_3rdparty"
37908 fi
37909 if test "$wxUSE_ZLIB" = "builtin" ; then
37910 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
37911 fi
37912
37913 for i in $wxconfig_3rdparty ; do
37914 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37915 done
37916
37917
37918 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37919 WXUNIV=1
37920
37921 case "$wxUNIV_THEMES" in
37922 ''|all)
37923 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37924
37925 ;;
37926
37927 *)
37928 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37929 cat >>confdefs.h <<_ACEOF
37930 #define wxUSE_THEME_$t 1
37931 _ACEOF
37932
37933 done
37934 esac
37935 else
37936 WXUNIV=0
37937 fi
37938
37939
37940
37941
37942
37943
37944
37945
37946 if test $wxUSE_MONOLITHIC = "yes" ; then
37947 MONOLITHIC=1
37948 else
37949 MONOLITHIC=0
37950 fi
37951
37952 if test $wxUSE_PLUGINS = "yes" ; then
37953 USE_PLUGINS=1
37954 else
37955 USE_PLUGINS=0
37956 fi
37957
37958 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37959 USE_QA=1
37960 else
37961 USE_QA=0
37962 fi
37963
37964 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37965 OFFICIAL_BUILD=1
37966 else
37967 OFFICIAL_BUILD=0
37968 fi
37969
37970
37971
37972
37973
37974
37975
37976
37977
37978
37979
37980
37981
37982
37983
37984
37985
37986
37987
37988
37989
37990
37991
37992 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37993
37994
37995
37996
37997
37998
37999
38000
38001
38002
38003 case "$TOOLKIT" in
38004 GTK)
38005 TOOLKIT_DESC="GTK+"
38006 if test "$WXGTK2" = 1; then
38007 if test "$WXGTK3" = 1; then
38008 TOOLKIT_DESC="$TOOLKIT_DESC 3"
38009 else
38010 TOOLKIT_DESC="$TOOLKIT_DESC 2"
38011 fi
38012 if test "$wxUSE_GTKPRINT" = "yes" ; then
38013 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
38014 fi
38015 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
38016 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
38017 fi
38018 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
38019 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
38020 fi
38021 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
38022 TOOLKIT_EXTRA="$TOOLKIT_EXTRA libnotify"
38023 fi
38024 if test "$wxUSE_LIBHILDON" = "yes"; then
38025 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
38026 fi
38027 if test "$wxUSE_LIBHILDON2" = "yes"; then
38028 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
38029 fi
38030
38031 if test "$TOOLKIT_EXTRA" != ""; then
38032 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
38033 fi
38034 fi
38035 ;;
38036
38037 ?*)
38038 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
38039 ;;
38040
38041 *)
38042 TOOLKIT_DESC="base only"
38043 ;;
38044 esac
38045
38046 if test "$wxUSE_WINE" = "yes"; then
38047 BAKEFILE_FORCE_PLATFORM=win32
38048 fi
38049
38050 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
38051 then
38052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
38053 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
38054 if ${wx_cv_gcc_pch_bug+:} false; then :
38055 $as_echo_n "(cached) " >&6
38056 else
38057
38058 echo '#include <stdio.h>
38059 const wchar_t test_var[] = L"awidetest";' > conftest.h
38060
38061 echo '#include "conftest.h"
38062 int main()
38063 {
38064 printf("%ls", test_var);
38065 return 0;
38066 }' > conftest.cpp
38067
38068 wx_cv_gcc_pch_bug="pch not supported"
38069
38070 if $CXX conftest.h >/dev/null 2>&1
38071 then
38072 wx_cv_gcc_pch_bug=
38073
38074 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
38075 then
38076 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
38077 grep awidetest >/dev/null
38078 then
38079 wx_cv_gcc_pch_bug=no
38080 else
38081 wx_cv_gcc_pch_bug=yes
38082 fi
38083 fi
38084 fi
38085
38086 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
38087
38088 fi
38089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
38090 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
38091
38092 if test "$wx_cv_gcc_pch_bug" = yes; then
38093 bk_use_pch=no
38094 fi
38095 fi
38096
38097 # Find a good install program. We prefer a C program (faster),
38098 # so one script is as good as another. But avoid the broken or
38099 # incompatible versions:
38100 # SysV /etc/install, /usr/sbin/install
38101 # SunOS /usr/etc/install
38102 # IRIX /sbin/install
38103 # AIX /bin/install
38104 # AmigaOS /C/install, which installs bootblocks on floppy discs
38105 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38106 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38107 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38108 # OS/2's system install, which has a completely different semantic
38109 # ./install, which can be erroneously created by make from ./install.sh.
38110 # Reject install programs that cannot install multiple files.
38111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
38112 $as_echo_n "checking for a BSD-compatible install... " >&6; }
38113 if test -z "$INSTALL"; then
38114 if ${ac_cv_path_install+:} false; then :
38115 $as_echo_n "(cached) " >&6
38116 else
38117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38118 for as_dir in $PATH
38119 do
38120 IFS=$as_save_IFS
38121 test -z "$as_dir" && as_dir=.
38122 # Account for people who put trailing slashes in PATH elements.
38123 case $as_dir/ in #((
38124 ./ | .// | /[cC]/* | \
38125 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
38126 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
38127 /usr/ucb/* ) ;;
38128 *)
38129 # OSF1 and SCO ODT 3.0 have their own names for install.
38130 # Don't use installbsd from OSF since it installs stuff as root
38131 # by default.
38132 for ac_prog in ginstall scoinst install; do
38133 for ac_exec_ext in '' $ac_executable_extensions; do
38134 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38135 if test $ac_prog = install &&
38136 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38137 # AIX install. It has an incompatible calling convention.
38138 :
38139 elif test $ac_prog = install &&
38140 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38141 # program-specific install script used by HP pwplus--don't use.
38142 :
38143 else
38144 rm -rf conftest.one conftest.two conftest.dir
38145 echo one > conftest.one
38146 echo two > conftest.two
38147 mkdir conftest.dir
38148 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
38149 test -s conftest.one && test -s conftest.two &&
38150 test -s conftest.dir/conftest.one &&
38151 test -s conftest.dir/conftest.two
38152 then
38153 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
38154 break 3
38155 fi
38156 fi
38157 fi
38158 done
38159 done
38160 ;;
38161 esac
38162
38163 done
38164 IFS=$as_save_IFS
38165
38166 rm -rf conftest.one conftest.two conftest.dir
38167
38168 fi
38169 if test "${ac_cv_path_install+set}" = set; then
38170 INSTALL=$ac_cv_path_install
38171 else
38172 # As a last resort, use the slow shell script. Don't cache a
38173 # value for INSTALL within a source directory, because that will
38174 # break other packages using the cache if that directory is
38175 # removed, or if the value is a relative name.
38176 INSTALL=$ac_install_sh
38177 fi
38178 fi
38179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
38180 $as_echo "$INSTALL" >&6; }
38181
38182 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38183 # It thinks the first close brace ends the variable substitution.
38184 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
38185
38186 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
38187
38188 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38189
38190
38191
38192
38193
38194
38195
38196 if test "x$BAKEFILE_HOST" = "x"; then
38197 if test "x${host}" = "x" ; then
38198 as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
38199 fi
38200
38201 BAKEFILE_HOST="${host}"
38202 fi
38203
38204 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38205
38206 if test -n "$ac_tool_prefix"; then
38207 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38208 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
38209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38210 $as_echo_n "checking for $ac_word... " >&6; }
38211 if ${ac_cv_prog_RANLIB+:} false; then :
38212 $as_echo_n "(cached) " >&6
38213 else
38214 if test -n "$RANLIB"; then
38215 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
38216 else
38217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38218 for as_dir in $PATH
38219 do
38220 IFS=$as_save_IFS
38221 test -z "$as_dir" && as_dir=.
38222 for ac_exec_ext in '' $ac_executable_extensions; do
38223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38224 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
38225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38226 break 2
38227 fi
38228 done
38229 done
38230 IFS=$as_save_IFS
38231
38232 fi
38233 fi
38234 RANLIB=$ac_cv_prog_RANLIB
38235 if test -n "$RANLIB"; then
38236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
38237 $as_echo "$RANLIB" >&6; }
38238 else
38239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38240 $as_echo "no" >&6; }
38241 fi
38242
38243
38244 fi
38245 if test -z "$ac_cv_prog_RANLIB"; then
38246 ac_ct_RANLIB=$RANLIB
38247 # Extract the first word of "ranlib", so it can be a program name with args.
38248 set dummy ranlib; ac_word=$2
38249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38250 $as_echo_n "checking for $ac_word... " >&6; }
38251 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
38252 $as_echo_n "(cached) " >&6
38253 else
38254 if test -n "$ac_ct_RANLIB"; then
38255 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
38256 else
38257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38258 for as_dir in $PATH
38259 do
38260 IFS=$as_save_IFS
38261 test -z "$as_dir" && as_dir=.
38262 for ac_exec_ext in '' $ac_executable_extensions; do
38263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38264 ac_cv_prog_ac_ct_RANLIB="ranlib"
38265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38266 break 2
38267 fi
38268 done
38269 done
38270 IFS=$as_save_IFS
38271
38272 fi
38273 fi
38274 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
38275 if test -n "$ac_ct_RANLIB"; then
38276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
38277 $as_echo "$ac_ct_RANLIB" >&6; }
38278 else
38279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38280 $as_echo "no" >&6; }
38281 fi
38282
38283 if test "x$ac_ct_RANLIB" = x; then
38284 RANLIB=":"
38285 else
38286 case $cross_compiling:$ac_tool_warned in
38287 yes:)
38288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38290 ac_tool_warned=yes ;;
38291 esac
38292 RANLIB=$ac_ct_RANLIB
38293 fi
38294 else
38295 RANLIB="$ac_cv_prog_RANLIB"
38296 fi
38297
38298
38299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
38300 $as_echo_n "checking whether ln -s works... " >&6; }
38301 LN_S=$as_ln_s
38302 if test "$LN_S" = "ln -s"; then
38303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38304 $as_echo "yes" >&6; }
38305 else
38306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
38307 $as_echo "no, using $LN_S" >&6; }
38308 fi
38309
38310
38311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38312 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
38313 set x ${MAKE-make}
38314 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
38315 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
38316 $as_echo_n "(cached) " >&6
38317 else
38318 cat >conftest.make <<\_ACEOF
38319 SHELL = /bin/sh
38320 all:
38321 @echo '@@@%%%=$(MAKE)=@@@%%%'
38322 _ACEOF
38323 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
38324 case `${MAKE-make} -f conftest.make 2>/dev/null` in
38325 *@@@%%%=?*=@@@%%%*)
38326 eval ac_cv_prog_make_${ac_make}_set=yes;;
38327 *)
38328 eval ac_cv_prog_make_${ac_make}_set=no;;
38329 esac
38330 rm -f conftest.make
38331 fi
38332 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
38333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38334 $as_echo "yes" >&6; }
38335 SET_MAKE=
38336 else
38337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38338 $as_echo "no" >&6; }
38339 SET_MAKE="MAKE=${MAKE-make}"
38340 fi
38341
38342
38343
38344 if test "x$SUNCXX" = "xyes"; then
38345 AR=$CXX
38346 AROPTIONS="-xar -o"
38347
38348 elif test "x$SGICC" = "xyes"; then
38349 AR=$CXX
38350 AROPTIONS="-ar -o"
38351
38352 else
38353 if test -n "$ac_tool_prefix"; then
38354 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38355 set dummy ${ac_tool_prefix}ar; ac_word=$2
38356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38357 $as_echo_n "checking for $ac_word... " >&6; }
38358 if ${ac_cv_prog_AR+:} false; then :
38359 $as_echo_n "(cached) " >&6
38360 else
38361 if test -n "$AR"; then
38362 ac_cv_prog_AR="$AR" # Let the user override the test.
38363 else
38364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38365 for as_dir in $PATH
38366 do
38367 IFS=$as_save_IFS
38368 test -z "$as_dir" && as_dir=.
38369 for ac_exec_ext in '' $ac_executable_extensions; do
38370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38371 ac_cv_prog_AR="${ac_tool_prefix}ar"
38372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38373 break 2
38374 fi
38375 done
38376 done
38377 IFS=$as_save_IFS
38378
38379 fi
38380 fi
38381 AR=$ac_cv_prog_AR
38382 if test -n "$AR"; then
38383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38384 $as_echo "$AR" >&6; }
38385 else
38386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38387 $as_echo "no" >&6; }
38388 fi
38389
38390
38391 fi
38392 if test -z "$ac_cv_prog_AR"; then
38393 ac_ct_AR=$AR
38394 # Extract the first word of "ar", so it can be a program name with args.
38395 set dummy ar; ac_word=$2
38396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38397 $as_echo_n "checking for $ac_word... " >&6; }
38398 if ${ac_cv_prog_ac_ct_AR+:} false; then :
38399 $as_echo_n "(cached) " >&6
38400 else
38401 if test -n "$ac_ct_AR"; then
38402 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38403 else
38404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38405 for as_dir in $PATH
38406 do
38407 IFS=$as_save_IFS
38408 test -z "$as_dir" && as_dir=.
38409 for ac_exec_ext in '' $ac_executable_extensions; do
38410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38411 ac_cv_prog_ac_ct_AR="ar"
38412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38413 break 2
38414 fi
38415 done
38416 done
38417 IFS=$as_save_IFS
38418
38419 fi
38420 fi
38421 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38422 if test -n "$ac_ct_AR"; then
38423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38424 $as_echo "$ac_ct_AR" >&6; }
38425 else
38426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38427 $as_echo "no" >&6; }
38428 fi
38429
38430 if test "x$ac_ct_AR" = x; then
38431 AR="ar"
38432 else
38433 case $cross_compiling:$ac_tool_warned in
38434 yes:)
38435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38437 ac_tool_warned=yes ;;
38438 esac
38439 AR=$ac_ct_AR
38440 fi
38441 else
38442 AR="$ac_cv_prog_AR"
38443 fi
38444
38445 AROPTIONS=rcu
38446 fi
38447
38448
38449 if test -n "$ac_tool_prefix"; then
38450 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38451 set dummy ${ac_tool_prefix}strip; ac_word=$2
38452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38453 $as_echo_n "checking for $ac_word... " >&6; }
38454 if ${ac_cv_prog_STRIP+:} false; then :
38455 $as_echo_n "(cached) " >&6
38456 else
38457 if test -n "$STRIP"; then
38458 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38459 else
38460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38461 for as_dir in $PATH
38462 do
38463 IFS=$as_save_IFS
38464 test -z "$as_dir" && as_dir=.
38465 for ac_exec_ext in '' $ac_executable_extensions; do
38466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38467 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38469 break 2
38470 fi
38471 done
38472 done
38473 IFS=$as_save_IFS
38474
38475 fi
38476 fi
38477 STRIP=$ac_cv_prog_STRIP
38478 if test -n "$STRIP"; then
38479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38480 $as_echo "$STRIP" >&6; }
38481 else
38482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38483 $as_echo "no" >&6; }
38484 fi
38485
38486
38487 fi
38488 if test -z "$ac_cv_prog_STRIP"; then
38489 ac_ct_STRIP=$STRIP
38490 # Extract the first word of "strip", so it can be a program name with args.
38491 set dummy strip; ac_word=$2
38492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38493 $as_echo_n "checking for $ac_word... " >&6; }
38494 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
38495 $as_echo_n "(cached) " >&6
38496 else
38497 if test -n "$ac_ct_STRIP"; then
38498 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38499 else
38500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38501 for as_dir in $PATH
38502 do
38503 IFS=$as_save_IFS
38504 test -z "$as_dir" && as_dir=.
38505 for ac_exec_ext in '' $ac_executable_extensions; do
38506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38507 ac_cv_prog_ac_ct_STRIP="strip"
38508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38509 break 2
38510 fi
38511 done
38512 done
38513 IFS=$as_save_IFS
38514
38515 fi
38516 fi
38517 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38518 if test -n "$ac_ct_STRIP"; then
38519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38520 $as_echo "$ac_ct_STRIP" >&6; }
38521 else
38522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38523 $as_echo "no" >&6; }
38524 fi
38525
38526 if test "x$ac_ct_STRIP" = x; then
38527 STRIP=":"
38528 else
38529 case $cross_compiling:$ac_tool_warned in
38530 yes:)
38531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38532 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38533 ac_tool_warned=yes ;;
38534 esac
38535 STRIP=$ac_ct_STRIP
38536 fi
38537 else
38538 STRIP="$ac_cv_prog_STRIP"
38539 fi
38540
38541 if test -n "$ac_tool_prefix"; then
38542 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38543 set dummy ${ac_tool_prefix}nm; ac_word=$2
38544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38545 $as_echo_n "checking for $ac_word... " >&6; }
38546 if ${ac_cv_prog_NM+:} false; then :
38547 $as_echo_n "(cached) " >&6
38548 else
38549 if test -n "$NM"; then
38550 ac_cv_prog_NM="$NM" # Let the user override the test.
38551 else
38552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38553 for as_dir in $PATH
38554 do
38555 IFS=$as_save_IFS
38556 test -z "$as_dir" && as_dir=.
38557 for ac_exec_ext in '' $ac_executable_extensions; do
38558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38559 ac_cv_prog_NM="${ac_tool_prefix}nm"
38560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38561 break 2
38562 fi
38563 done
38564 done
38565 IFS=$as_save_IFS
38566
38567 fi
38568 fi
38569 NM=$ac_cv_prog_NM
38570 if test -n "$NM"; then
38571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38572 $as_echo "$NM" >&6; }
38573 else
38574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38575 $as_echo "no" >&6; }
38576 fi
38577
38578
38579 fi
38580 if test -z "$ac_cv_prog_NM"; then
38581 ac_ct_NM=$NM
38582 # Extract the first word of "nm", so it can be a program name with args.
38583 set dummy nm; ac_word=$2
38584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38585 $as_echo_n "checking for $ac_word... " >&6; }
38586 if ${ac_cv_prog_ac_ct_NM+:} false; then :
38587 $as_echo_n "(cached) " >&6
38588 else
38589 if test -n "$ac_ct_NM"; then
38590 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38591 else
38592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38593 for as_dir in $PATH
38594 do
38595 IFS=$as_save_IFS
38596 test -z "$as_dir" && as_dir=.
38597 for ac_exec_ext in '' $ac_executable_extensions; do
38598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38599 ac_cv_prog_ac_ct_NM="nm"
38600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38601 break 2
38602 fi
38603 done
38604 done
38605 IFS=$as_save_IFS
38606
38607 fi
38608 fi
38609 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38610 if test -n "$ac_ct_NM"; then
38611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38612 $as_echo "$ac_ct_NM" >&6; }
38613 else
38614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38615 $as_echo "no" >&6; }
38616 fi
38617
38618 if test "x$ac_ct_NM" = x; then
38619 NM=":"
38620 else
38621 case $cross_compiling:$ac_tool_warned in
38622 yes:)
38623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38625 ac_tool_warned=yes ;;
38626 esac
38627 NM=$ac_ct_NM
38628 fi
38629 else
38630 NM="$ac_cv_prog_NM"
38631 fi
38632
38633
38634 INSTALL_DIR="mkdir -p"
38635
38636
38637 LDFLAGS_GUI=
38638 case ${BAKEFILE_HOST} in
38639 *-*-cygwin* | *-*-mingw32* )
38640 LDFLAGS_GUI="-mwindows"
38641 esac
38642
38643
38644 fi
38645
38646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38647 $as_echo_n "checking if make is GNU make... " >&6; }
38648 if ${bakefile_cv_prog_makeisgnu+:} false; then :
38649 $as_echo_n "(cached) " >&6
38650 else
38651
38652 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38653 egrep -s GNU > /dev/null); then
38654 bakefile_cv_prog_makeisgnu="yes"
38655 else
38656 bakefile_cv_prog_makeisgnu="no"
38657 fi
38658
38659 fi
38660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38661 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38662
38663 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38664 IF_GNU_MAKE=""
38665 else
38666 IF_GNU_MAKE="#"
38667 fi
38668
38669
38670
38671 PLATFORM_UNIX=0
38672 PLATFORM_WIN32=0
38673 PLATFORM_MSDOS=0
38674 PLATFORM_MAC=0
38675 PLATFORM_MACOS=0
38676 PLATFORM_MACOSX=0
38677 PLATFORM_OS2=0
38678 PLATFORM_BEOS=0
38679
38680 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38681 case "${BAKEFILE_HOST}" in
38682 *-*-mingw32* )
38683 PLATFORM_WIN32=1
38684 ;;
38685 *-pc-msdosdjgpp )
38686 PLATFORM_MSDOS=1
38687 ;;
38688 *-pc-os2_emx | *-pc-os2-emx )
38689 PLATFORM_OS2=1
38690 ;;
38691 *-*-darwin* )
38692 PLATFORM_MAC=1
38693 PLATFORM_MACOSX=1
38694 ;;
38695 *-*-beos* )
38696 PLATFORM_BEOS=1
38697 ;;
38698 powerpc-apple-macos* )
38699 PLATFORM_MAC=1
38700 PLATFORM_MACOS=1
38701 ;;
38702 * )
38703 PLATFORM_UNIX=1
38704 ;;
38705 esac
38706 else
38707 case "$BAKEFILE_FORCE_PLATFORM" in
38708 win32 )
38709 PLATFORM_WIN32=1
38710 ;;
38711 msdos )
38712 PLATFORM_MSDOS=1
38713 ;;
38714 os2 )
38715 PLATFORM_OS2=1
38716 ;;
38717 darwin )
38718 PLATFORM_MAC=1
38719 PLATFORM_MACOSX=1
38720 ;;
38721 unix )
38722 PLATFORM_UNIX=1
38723 ;;
38724 beos )
38725 PLATFORM_BEOS=1
38726 ;;
38727 * )
38728 as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38729 ;;
38730 esac
38731 fi
38732
38733
38734
38735
38736
38737
38738
38739
38740
38741
38742
38743 # Check whether --enable-omf was given.
38744 if test "${enable_omf+set}" = set; then :
38745 enableval=$enable_omf; bk_os2_use_omf="$enableval"
38746 fi
38747
38748
38749 case "${BAKEFILE_HOST}" in
38750 *-*-darwin* )
38751 if test "x$GCC" = "xyes"; then
38752 CFLAGS="$CFLAGS -fno-common"
38753 CXXFLAGS="$CXXFLAGS -fno-common"
38754 fi
38755 if test "x$XLCC" = "xyes"; then
38756 CFLAGS="$CFLAGS -qnocommon"
38757 CXXFLAGS="$CXXFLAGS -qnocommon"
38758 fi
38759 ;;
38760
38761 *-pc-os2_emx | *-pc-os2-emx )
38762 if test "x$bk_os2_use_omf" = "xyes" ; then
38763 AR=emxomfar
38764 RANLIB=:
38765 LDFLAGS="-Zomf $LDFLAGS"
38766 CFLAGS="-Zomf $CFLAGS"
38767 CXXFLAGS="-Zomf $CXXFLAGS"
38768 OS2_LIBEXT="lib"
38769 else
38770 OS2_LIBEXT="a"
38771 fi
38772 ;;
38773
38774 i*86-*-beos* )
38775 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
38776 ;;
38777 esac
38778
38779
38780 SO_SUFFIX="so"
38781 SO_SUFFIX_MODULE="so"
38782 EXEEXT=""
38783 LIBPREFIX="lib"
38784 LIBEXT=".a"
38785 DLLPREFIX="lib"
38786 DLLPREFIX_MODULE=""
38787 DLLIMP_SUFFIX=""
38788 dlldir="$libdir"
38789
38790 case "${BAKEFILE_HOST}" in
38791 ia64-hp-hpux* )
38792 ;;
38793 *-hp-hpux* )
38794 SO_SUFFIX="sl"
38795 SO_SUFFIX_MODULE="sl"
38796 ;;
38797 *-*-aix* )
38798 SO_SUFFIX="a"
38799 SO_SUFFIX_MODULE="a"
38800 ;;
38801 *-*-cygwin* )
38802 SO_SUFFIX="dll"
38803 SO_SUFFIX_MODULE="dll"
38804 DLLIMP_SUFFIX="dll.a"
38805 EXEEXT=".exe"
38806 DLLPREFIX="cyg"
38807 dlldir="$bindir"
38808 ;;
38809 *-*-mingw32* )
38810 SO_SUFFIX="dll"
38811 SO_SUFFIX_MODULE="dll"
38812 DLLIMP_SUFFIX="dll.a"
38813 EXEEXT=".exe"
38814 DLLPREFIX=""
38815 dlldir="$bindir"
38816 ;;
38817 *-pc-msdosdjgpp )
38818 EXEEXT=".exe"
38819 DLLPREFIX=""
38820 dlldir="$bindir"
38821 ;;
38822 *-pc-os2_emx | *-pc-os2-emx )
38823 SO_SUFFIX="dll"
38824 SO_SUFFIX_MODULE="dll"
38825 DLLIMP_SUFFIX=$OS2_LIBEXT
38826 EXEEXT=".exe"
38827 DLLPREFIX=""
38828 LIBPREFIX=""
38829 LIBEXT=".$OS2_LIBEXT"
38830 dlldir="$bindir"
38831 ;;
38832 *-*-darwin* )
38833 SO_SUFFIX="dylib"
38834 SO_SUFFIX_MODULE="bundle"
38835 ;;
38836 esac
38837
38838 if test "x$DLLIMP_SUFFIX" = "x" ; then
38839 DLLIMP_SUFFIX="$SO_SUFFIX"
38840 fi
38841
38842
38843
38844
38845
38846
38847
38848
38849
38850
38851
38852
38853 PIC_FLAG=""
38854 if test "x$GCC" = "xyes"; then
38855 PIC_FLAG="-fPIC"
38856 fi
38857
38858 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
38859 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
38860 WINDOWS_IMPLIB=0
38861
38862 case "${BAKEFILE_HOST}" in
38863 *-hp-hpux* )
38864 if test "x$GCC" != "xyes"; then
38865 LDFLAGS="$LDFLAGS -L/usr/lib"
38866
38867 SHARED_LD_CC="${CC} -b -o"
38868 SHARED_LD_CXX="${CXX} -b -o"
38869 PIC_FLAG="+Z"
38870 fi
38871 ;;
38872
38873 *-*-linux* )
38874 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38875 PIC_FLAG="-KPIC"
38876 elif test "x$SUNCXX" = "xyes"; then
38877 SHARED_LD_CC="${CC} -G -o"
38878 SHARED_LD_CXX="${CXX} -G -o"
38879 PIC_FLAG="-KPIC"
38880 fi
38881 ;;
38882
38883 *-*-solaris2* )
38884 if test "x$SUNCXX" = xyes ; then
38885 SHARED_LD_CC="${CC} -G -o"
38886 SHARED_LD_CXX="${CXX} -G -o"
38887 PIC_FLAG="-KPIC"
38888 fi
38889 ;;
38890
38891 *-*-darwin* )
38892
38893 D='$'
38894 cat <<EOF >shared-ld-sh
38895 #!/bin/sh
38896 #-----------------------------------------------------------------------------
38897 #-- Name: distrib/mac/shared-ld-sh
38898 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38899 #-- Author: Gilles Depeyrot
38900 #-- Copyright: (c) 2002 Gilles Depeyrot
38901 #-- Licence: any use permitted
38902 #-----------------------------------------------------------------------------
38903
38904 verbose=0
38905 args=""
38906 objects=""
38907 linking_flag="-dynamiclib"
38908 ldargs="-r -keep_private_externs -nostdlib"
38909
38910 if test "x${D}CXX" = "x"; then
38911 CXX="c++"
38912 fi
38913
38914 while test ${D}# -gt 0; do
38915 case ${D}1 in
38916
38917 -v)
38918 verbose=1
38919 ;;
38920
38921 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38922 # collect these options and values
38923 args="${D}{args} ${D}1 ${D}2"
38924 shift
38925 ;;
38926
38927 -arch|-isysroot)
38928 # collect these options and values
38929 ldargs="${D}{ldargs} ${D}1 ${D}2"
38930 shift
38931 ;;
38932
38933 -s|-Wl,*)
38934 # collect these load args
38935 ldargs="${D}{ldargs} ${D}1"
38936 ;;
38937
38938 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38939 # collect these options
38940 args="${D}{args} ${D}1"
38941 ;;
38942
38943 -dynamiclib|-bundle)
38944 linking_flag="${D}1"
38945 ;;
38946
38947 -*)
38948 echo "shared-ld: unhandled option '${D}1'"
38949 exit 1
38950 ;;
38951
38952 *.o | *.a | *.dylib)
38953 # collect object files
38954 objects="${D}{objects} ${D}1"
38955 ;;
38956
38957 *)
38958 echo "shared-ld: unhandled argument '${D}1'"
38959 exit 1
38960 ;;
38961
38962 esac
38963 shift
38964 done
38965
38966 status=0
38967
38968 #
38969 # Link one module containing all the others
38970 #
38971 if test ${D}{verbose} = 1; then
38972 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38973 fi
38974 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38975 status=${D}?
38976
38977 #
38978 # Link the shared library from the single module created, but only if the
38979 # previous command didn't fail:
38980 #
38981 if test ${D}{status} = 0; then
38982 if test ${D}{verbose} = 1; then
38983 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38984 fi
38985 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38986 status=${D}?
38987 fi
38988
38989 #
38990 # Remove intermediate module
38991 #
38992 rm -f master.${D}${D}.o
38993
38994 exit ${D}status
38995 EOF
38996
38997 chmod +x shared-ld-sh
38998
38999 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39000 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
39001
39002
39003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
39004 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
39005 if ${bakefile_cv_gcc31+:} false; then :
39006 $as_echo_n "(cached) " >&6
39007 else
39008
39009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39010 /* end confdefs.h. */
39011
39012 int
39013 main ()
39014 {
39015
39016 #if (__GNUC__ < 3) || \
39017 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39018 This is old gcc
39019 #endif
39020
39021 ;
39022 return 0;
39023 }
39024 _ACEOF
39025 if ac_fn_c_try_compile "$LINENO"; then :
39026
39027 bakefile_cv_gcc31=yes
39028
39029 else
39030
39031 bakefile_cv_gcc31=no
39032
39033
39034 fi
39035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39036
39037 fi
39038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
39039 $as_echo "$bakefile_cv_gcc31" >&6; }
39040 if test "$bakefile_cv_gcc31" = "no"; then
39041 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39042 SHARED_LD_CXX="$SHARED_LD_CC"
39043 else
39044 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39045 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39046 fi
39047
39048 if test "x$GCC" == "xyes"; then
39049 PIC_FLAG="-dynamic -fPIC"
39050 fi
39051 if test "x$XLCC" = "xyes"; then
39052 PIC_FLAG="-dynamic -DPIC"
39053 fi
39054 ;;
39055
39056 *-*-aix* )
39057 if test "x$GCC" = "xyes"; then
39058 PIC_FLAG=""
39059
39060 case "${BAKEFILE_HOST}" in
39061 *-*-aix5* )
39062 LD_EXPFULL="-Wl,-bexpfull"
39063 ;;
39064 esac
39065
39066 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
39067 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
39068 else
39069 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39070 set dummy makeC++SharedLib; ac_word=$2
39071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39072 $as_echo_n "checking for $ac_word... " >&6; }
39073 if ${ac_cv_prog_AIX_CXX_LD+:} false; then :
39074 $as_echo_n "(cached) " >&6
39075 else
39076 if test -n "$AIX_CXX_LD"; then
39077 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
39078 else
39079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39080 for as_dir in $PATH
39081 do
39082 IFS=$as_save_IFS
39083 test -z "$as_dir" && as_dir=.
39084 for ac_exec_ext in '' $ac_executable_extensions; do
39085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39086 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
39087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39088 break 2
39089 fi
39090 done
39091 done
39092 IFS=$as_save_IFS
39093
39094 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
39095 fi
39096 fi
39097 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
39098 if test -n "$AIX_CXX_LD"; then
39099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
39100 $as_echo "$AIX_CXX_LD" >&6; }
39101 else
39102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39103 $as_echo "no" >&6; }
39104 fi
39105
39106
39107 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
39108 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
39109 fi
39110 ;;
39111
39112 *-*-beos* )
39113 SHARED_LD_CC="${LD} -nostart -o"
39114 SHARED_LD_CXX="${LD} -nostart -o"
39115 ;;
39116
39117 *-*-irix* )
39118 if test "x$GCC" != "xyes"; then
39119 PIC_FLAG="-KPIC"
39120 fi
39121 ;;
39122
39123 *-*-cygwin* | *-*-mingw32* )
39124 PIC_FLAG=""
39125 SHARED_LD_CC="\$(CC) -shared -o"
39126 SHARED_LD_CXX="\$(CXX) -shared -o"
39127 WINDOWS_IMPLIB=1
39128 ;;
39129
39130 *-pc-os2_emx | *-pc-os2-emx )
39131 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39132 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39133 PIC_FLAG=""
39134
39135 D='$'
39136 cat <<EOF >dllar.sh
39137 #!/bin/sh
39138 #
39139 # dllar - a tool to build both a .dll and an .a file
39140 # from a set of object (.o) files for EMX/OS2.
39141 #
39142 # Written by Andrew Zabolotny, bit@freya.etu.ru
39143 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39144 #
39145 # This script will accept a set of files on the command line.
39146 # All the public symbols from the .o files will be exported into
39147 # a .DEF file, then linker will be run (through gcc) against them to
39148 # build a shared library consisting of all given .o files. All libraries
39149 # (.a) will be first decompressed into component .o files then act as
39150 # described above. You can optionally give a description (-d "description")
39151 # which will be put into .DLL. To see the list of accepted options (as well
39152 # as command-line format) simply run this program without options. The .DLL
39153 # is built to be imported by name (there is no guarantee that new versions
39154 # of the library you build will have same ordinals for same symbols).
39155 #
39156 # dllar is free software; you can redistribute it and/or modify
39157 # it under the terms of the GNU General Public License as published by
39158 # the Free Software Foundation; either version 2, or (at your option)
39159 # any later version.
39160 #
39161 # dllar is distributed in the hope that it will be useful,
39162 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39163 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39164 # GNU General Public License for more details.
39165 #
39166 # You should have received a copy of the GNU General Public License
39167 # along with dllar; see the file COPYING. If not, write to the Free
39168 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39169 # 02111-1307, USA.
39170
39171 # To successfuly run this program you will need:
39172 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39173 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39174 # - gcc
39175 # (used to build the .dll)
39176 # - emxexp
39177 # (used to create .def file from .o files)
39178 # - emximp
39179 # (used to create .a file from .def file)
39180 # - GNU text utilites (cat, sort, uniq)
39181 # used to process emxexp output
39182 # - GNU file utilities (mv, rm)
39183 # - GNU sed
39184 # - lxlite (optional, see flag below)
39185 # (used for general .dll cleanup)
39186 #
39187
39188 flag_USE_LXLITE=1;
39189
39190 #
39191 # helper functions
39192 # basnam, variant of basename, which does _not_ remove the path, _iff_
39193 # second argument (suffix to remove) is given
39194 basnam(){
39195 case ${D}# in
39196 1)
39197 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39198 ;;
39199 2)
39200 echo ${D}1 | sed 's/'${D}2'${D}//'
39201 ;;
39202 *)
39203 echo "error in basnam ${D}*"
39204 exit 8
39205 ;;
39206 esac
39207 }
39208
39209 # Cleanup temporary files and output
39210 CleanUp() {
39211 cd ${D}curDir
39212 for i in ${D}inputFiles ; do
39213 case ${D}i in
39214 *!)
39215 rm -rf \`basnam ${D}i !\`
39216 ;;
39217 *)
39218 ;;
39219 esac
39220 done
39221
39222 # Kill result in case of failure as there is just to many stupid make/nmake
39223 # things out there which doesn't do this.
39224 if [ ${D}# -eq 0 ]; then
39225 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39226 fi
39227 }
39228
39229 # Print usage and exit script with rc=1.
39230 PrintHelp() {
39231 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
39232 echo ' [-name-mangler-script script.sh]'
39233 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
39234 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
39235 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
39236 echo ' [*.o] [*.a]'
39237 echo '*> "output_file" should have no extension.'
39238 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39239 echo ' The import library name is derived from this and is set to "name".a,'
39240 echo ' unless overridden by -import'
39241 echo '*> "importlib_name" should have no extension.'
39242 echo ' If it has the .o, or .a extension, it is automatically removed.'
39243 echo ' This name is used as the import library name and may be longer and'
39244 echo ' more descriptive than the DLL name which has to follow the old '
39245 echo ' 8.3 convention of FAT.'
39246 echo '*> "script.sh may be given to override the output_file name by a'
39247 echo ' different name. It is mainly useful if the regular make process'
39248 echo ' of some package does not take into account OS/2 restriction of'
39249 echo ' DLL name lengths. It takes the importlib name as input and is'
39250 echo ' supposed to procude a shorter name as output. The script should'
39251 echo ' expect to get importlib_name without extension and should produce'
39252 echo ' a (max.) 8 letter name without extension.'
39253 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39254 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39255 echo ' These flags will be put at the start of GCC command line.'
39256 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
39257 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
39258 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39259 echo ' If the last character of a symbol is "*", all symbols beginning'
39260 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39261 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
39262 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39263 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
39264 echo ' C runtime DLLs.'
39265 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
39266 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39267 echo ' unchanged to GCC at the end of command line.'
39268 echo '*> If you create a DLL from a library and you do not specify -o,'
39269 echo ' the basename for DLL and import library will be set to library name,'
39270 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39271 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39272 echo ' library will be renamed into gcc_s.a.'
39273 echo '--------'
39274 echo 'Example:'
39275 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39276 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39277 CleanUp
39278 exit 1
39279 }
39280
39281 # Execute a command.
39282 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39283 # @Uses Whatever CleanUp() uses.
39284 doCommand() {
39285 echo "${D}*"
39286 eval ${D}*
39287 rcCmd=${D}?
39288
39289 if [ ${D}rcCmd -ne 0 ]; then
39290 echo "command failed, exit code="${D}rcCmd
39291 CleanUp
39292 exit ${D}rcCmd
39293 fi
39294 }
39295
39296 # main routine
39297 # setup globals
39298 cmdLine=${D}*
39299 outFile=""
39300 outimpFile=""
39301 inputFiles=""
39302 renameScript=""
39303 description=""
39304 CC=gcc.exe
39305 CFLAGS="-s -Zcrtdll"
39306 EXTRA_CFLAGS=""
39307 EXPORT_BY_ORDINALS=0
39308 exclude_symbols=""
39309 library_flags=""
39310 curDir=\`pwd\`
39311 curDirS=curDir
39312 case ${D}curDirS in
39313 */)
39314 ;;
39315 *)
39316 curDirS=${D}{curDirS}"/"
39317 ;;
39318 esac
39319 # Parse commandline
39320 libsToLink=0
39321 omfLinking=0
39322 while [ ${D}1 ]; do
39323 case ${D}1 in
39324 -ord*)
39325 EXPORT_BY_ORDINALS=1;
39326 ;;
39327 -o*)
39328 shift
39329 outFile=${D}1
39330 ;;
39331 -i*)
39332 shift
39333 outimpFile=${D}1
39334 ;;
39335 -name-mangler-script)
39336 shift
39337 renameScript=${D}1
39338 ;;
39339 -d*)
39340 shift
39341 description=${D}1
39342 ;;
39343 -f*)
39344 shift
39345 CFLAGS=${D}1
39346 ;;
39347 -c*)
39348 shift
39349 CC=${D}1
39350 ;;
39351 -h*)
39352 PrintHelp
39353 ;;
39354 -ex*)
39355 shift
39356 exclude_symbols=${D}{exclude_symbols}${D}1" "
39357 ;;
39358 -libf*)
39359 shift
39360 library_flags=${D}{library_flags}${D}1" "
39361 ;;
39362 -nocrt*)
39363 CFLAGS="-s"
39364 ;;
39365 -nolxl*)
39366 flag_USE_LXLITE=0
39367 ;;
39368 -* | /*)
39369 case ${D}1 in
39370 -L* | -l*)
39371 libsToLink=1
39372 ;;
39373 -Zomf)
39374 omfLinking=1
39375 ;;
39376 *)
39377 ;;
39378 esac
39379 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39380 ;;
39381 *.dll)
39382 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39383 if [ ${D}omfLinking -eq 1 ]; then
39384 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39385 else
39386 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39387 fi
39388 ;;
39389 *)
39390 found=0;
39391 if [ ${D}libsToLink -ne 0 ]; then
39392 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39393 else
39394 for file in ${D}1 ; do
39395 if [ -f ${D}file ]; then
39396 inputFiles="${D}{inputFiles} ${D}file"
39397 found=1
39398 fi
39399 done
39400 if [ ${D}found -eq 0 ]; then
39401 echo "ERROR: No file(s) found: "${D}1
39402 exit 8
39403 fi
39404 fi
39405 ;;
39406 esac
39407 shift
39408 done # iterate cmdline words
39409
39410 #
39411 if [ -z "${D}inputFiles" ]; then
39412 echo "dllar: no input files"
39413 PrintHelp
39414 fi
39415
39416 # Now extract all .o files from .a files
39417 newInputFiles=""
39418 for file in ${D}inputFiles ; do
39419 case ${D}file in
39420 *.a | *.lib)
39421 case ${D}file in
39422 *.a)
39423 suffix=".a"
39424 AR="ar"
39425 ;;
39426 *.lib)
39427 suffix=".lib"
39428 AR="emxomfar"
39429 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39430 ;;
39431 *)
39432 ;;
39433 esac
39434 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39435 mkdir ${D}dirname
39436 if [ ${D}? -ne 0 ]; then
39437 echo "Failed to create subdirectory ./${D}dirname"
39438 CleanUp
39439 exit 8;
39440 fi
39441 # Append '!' to indicate archive
39442 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39443 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39444 cd ${D}curDir
39445 found=0;
39446 for subfile in ${D}dirname/*.o* ; do
39447 if [ -f ${D}subfile ]; then
39448 found=1
39449 if [ -s ${D}subfile ]; then
39450 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39451 newInputFiles="${D}newInputFiles ${D}subfile"
39452 fi
39453 fi
39454 done
39455 if [ ${D}found -eq 0 ]; then
39456 echo "WARNING: there are no files in archive \\'${D}file\\'"
39457 fi
39458 ;;
39459 *)
39460 newInputFiles="${D}{newInputFiles} ${D}file"
39461 ;;
39462 esac
39463 done
39464 inputFiles="${D}newInputFiles"
39465
39466 # Output filename(s).
39467 do_backup=0;
39468 if [ -z ${D}outFile ]; then
39469 do_backup=1;
39470 set outFile ${D}inputFiles; outFile=${D}2
39471 fi
39472
39473 # If it is an archive, remove the '!' and the '_%' suffixes
39474 case ${D}outFile in
39475 *_%!)
39476 outFile=\`basnam ${D}outFile _%!\`
39477 ;;
39478 *)
39479 ;;
39480 esac
39481 case ${D}outFile in
39482 *.dll)
39483 outFile=\`basnam ${D}outFile .dll\`
39484 ;;
39485 *.DLL)
39486 outFile=\`basnam ${D}outFile .DLL\`
39487 ;;
39488 *.o)
39489 outFile=\`basnam ${D}outFile .o\`
39490 ;;
39491 *.obj)
39492 outFile=\`basnam ${D}outFile .obj\`
39493 ;;
39494 *.a)
39495 outFile=\`basnam ${D}outFile .a\`
39496 ;;
39497 *.lib)
39498 outFile=\`basnam ${D}outFile .lib\`
39499 ;;
39500 *)
39501 ;;
39502 esac
39503 case ${D}outimpFile in
39504 *.a)
39505 outimpFile=\`basnam ${D}outimpFile .a\`
39506 ;;
39507 *.lib)
39508 outimpFile=\`basnam ${D}outimpFile .lib\`
39509 ;;
39510 *)
39511 ;;
39512 esac
39513 if [ -z ${D}outimpFile ]; then
39514 outimpFile=${D}outFile
39515 fi
39516 defFile="${D}{outFile}.def"
39517 arcFile="${D}{outimpFile}.a"
39518 arcFile2="${D}{outimpFile}.lib"
39519
39520 #create ${D}dllFile as something matching 8.3 restrictions,
39521 if [ -z ${D}renameScript ] ; then
39522 dllFile="${D}outFile"
39523 else
39524 dllFile=\`${D}renameScript ${D}outimpFile\`
39525 fi
39526
39527 if [ ${D}do_backup -ne 0 ] ; then
39528 if [ -f ${D}arcFile ] ; then
39529 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39530 fi
39531 if [ -f ${D}arcFile2 ] ; then
39532 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39533 fi
39534 fi
39535
39536 # Extract public symbols from all the object files.
39537 tmpdefFile=${D}{defFile}_%
39538 rm -f ${D}tmpdefFile
39539 for file in ${D}inputFiles ; do
39540 case ${D}file in
39541 *!)
39542 ;;
39543 *)
39544 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39545 ;;
39546 esac
39547 done
39548
39549 # Create the def file.
39550 rm -f ${D}defFile
39551 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39552 dllFile="${D}{dllFile}.dll"
39553 if [ ! -z ${D}description ]; then
39554 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
39555 fi
39556 echo "EXPORTS" >> ${D}defFile
39557
39558 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39559 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39560
39561 # Checks if the export is ok or not.
39562 for word in ${D}exclude_symbols; do
39563 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39564 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39565 done
39566
39567
39568 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39569 sed "=" < ${D}tmpdefFile | \\
39570 sed '
39571 N
39572 : loop
39573 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39574 t loop
39575 ' > ${D}{tmpdefFile}%
39576 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39577 else
39578 rm -f ${D}{tmpdefFile}%
39579 fi
39580 cat ${D}tmpdefFile >> ${D}defFile
39581 rm -f ${D}tmpdefFile
39582
39583 # Do linking, create implib, and apply lxlite.
39584 gccCmdl="";
39585 for file in ${D}inputFiles ; do
39586 case ${D}file in
39587 *!)
39588 ;;
39589 *)
39590 gccCmdl="${D}gccCmdl ${D}file"
39591 ;;
39592 esac
39593 done
39594 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39595 touch "${D}{outFile}.dll"
39596
39597 doCommand "emximp -o ${D}arcFile ${D}defFile"
39598 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39599 add_flags="";
39600 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39601 add_flags="-ynd"
39602 fi
39603 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39604 fi
39605 doCommand "emxomf -s -l ${D}arcFile"
39606
39607 # Successful exit.
39608 CleanUp 1
39609 exit 0
39610 EOF
39611
39612 chmod +x dllar.sh
39613 ;;
39614
39615 powerpc-apple-macos* | \
39616 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
39617 *-*-mirbsd* | \
39618 *-*-sunos4* | \
39619 *-*-osf* | \
39620 *-*-dgux5* | \
39621 *-*-sysv5* | \
39622 *-pc-msdosdjgpp )
39623 ;;
39624
39625 *)
39626 as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
39627 esac
39628
39629 if test "x$PIC_FLAG" != "x" ; then
39630 PIC_FLAG="$PIC_FLAG -DPIC"
39631 fi
39632
39633 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39634 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39635 fi
39636 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39637 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39638 fi
39639
39640
39641
39642
39643
39644
39645
39646
39647
39648 USE_SOVERSION=0
39649 USE_SOVERLINUX=0
39650 USE_SOVERSOLARIS=0
39651 USE_SOVERCYGWIN=0
39652 USE_SOTWOSYMLINKS=0
39653 USE_MACVERSION=0
39654 SONAME_FLAG=
39655
39656 case "${BAKEFILE_HOST}" in
39657 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39658 *-*-k*bsd*-gnu | *-*-mirbsd* )
39659 if test "x$SUNCXX" = "xyes"; then
39660 SONAME_FLAG="-h "
39661 else
39662 SONAME_FLAG="-Wl,-soname,"
39663 fi
39664 USE_SOVERSION=1
39665 USE_SOVERLINUX=1
39666 USE_SOTWOSYMLINKS=1
39667 ;;
39668
39669 *-*-solaris2* )
39670 SONAME_FLAG="-h "
39671 USE_SOVERSION=1
39672 USE_SOVERSOLARIS=1
39673 ;;
39674
39675 *-*-darwin* )
39676 USE_MACVERSION=1
39677 USE_SOVERSION=1
39678 USE_SOTWOSYMLINKS=1
39679 ;;
39680
39681 *-*-cygwin* )
39682 USE_SOVERSION=1
39683 USE_SOVERCYGWIN=1
39684 ;;
39685 esac
39686
39687
39688
39689
39690
39691
39692
39693
39694
39695
39696 # Check whether --enable-dependency-tracking was given.
39697 if test "${enable_dependency_tracking+set}" = set; then :
39698 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
39699 fi
39700
39701
39702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39703 $as_echo_n "checking for dependency tracking method... " >&6; }
39704
39705 BK_DEPS=""
39706 if test "x$bk_use_trackdeps" = "xno" ; then
39707 DEPS_TRACKING=0
39708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39709 $as_echo "disabled" >&6; }
39710 else
39711 DEPS_TRACKING=1
39712
39713 if test "x$GCC" = "xyes"; then
39714 DEPSMODE=gcc
39715 DEPSFLAG="-MMD"
39716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39717 $as_echo "gcc" >&6; }
39718 elif test "x$MWCC" = "xyes"; then
39719 DEPSMODE=mwcc
39720 DEPSFLAG="-MM"
39721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39722 $as_echo "mwcc" >&6; }
39723 elif test "x$SUNCC" = "xyes"; then
39724 DEPSMODE=unixcc
39725 DEPSFLAG="-xM1"
39726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39727 $as_echo "Sun cc" >&6; }
39728 elif test "x$SGICC" = "xyes"; then
39729 DEPSMODE=unixcc
39730 DEPSFLAG="-M"
39731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39732 $as_echo "SGI cc" >&6; }
39733 elif test "x$HPCC" = "xyes"; then
39734 DEPSMODE=unixcc
39735 DEPSFLAG="+make"
39736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39737 $as_echo "HP cc" >&6; }
39738 elif test "x$COMPAQCC" = "xyes"; then
39739 DEPSMODE=gcc
39740 DEPSFLAG="-MD"
39741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39742 $as_echo "Compaq cc" >&6; }
39743 else
39744 DEPS_TRACKING=0
39745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39746 $as_echo "none" >&6; }
39747 fi
39748
39749 if test $DEPS_TRACKING = 1 ; then
39750
39751 D='$'
39752 cat <<EOF >bk-deps
39753 #!/bin/sh
39754
39755 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39756 # script. It is used to track C/C++ files dependencies in portable way.
39757 #
39758 # Permission is given to use this file in any way.
39759
39760 DEPSMODE=${DEPSMODE}
39761 DEPSFLAG="${DEPSFLAG}"
39762 DEPSDIRBASE=.deps
39763
39764 if test ${D}DEPSMODE = gcc ; then
39765 ${D}* ${D}{DEPSFLAG}
39766 status=${D}?
39767
39768 # determine location of created files:
39769 while test ${D}# -gt 0; do
39770 case "${D}1" in
39771 -o )
39772 shift
39773 objfile=${D}1
39774 ;;
39775 -* )
39776 ;;
39777 * )
39778 srcfile=${D}1
39779 ;;
39780 esac
39781 shift
39782 done
39783 objfilebase=\`basename ${D}objfile\`
39784 builddir=\`dirname ${D}objfile\`
39785 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39786 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39787 depsdir=${D}builddir/${D}DEPSDIRBASE
39788 mkdir -p ${D}depsdir
39789
39790 # if the compiler failed, we're done:
39791 if test ${D}{status} != 0 ; then
39792 rm -f ${D}depfile
39793 exit ${D}{status}
39794 fi
39795
39796 # move created file to the location we want it in:
39797 if test -f ${D}depfile ; then
39798 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39799 rm -f ${D}depfile
39800 else
39801 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39802 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39803 if test ! -f ${D}depfile ; then
39804 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39805 depfile="${D}objfile.d"
39806 fi
39807 if test -f ${D}depfile ; then
39808 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39809 rm -f ${D}depfile
39810 fi
39811 fi
39812 exit 0
39813
39814 elif test ${D}DEPSMODE = mwcc ; then
39815 ${D}* || exit ${D}?
39816 # Run mwcc again with -MM and redirect into the dep file we want
39817 # NOTE: We can't use shift here because we need ${D}* to be valid
39818 prevarg=
39819 for arg in ${D}* ; do
39820 if test "${D}prevarg" = "-o"; then
39821 objfile=${D}arg
39822 else
39823 case "${D}arg" in
39824 -* )
39825 ;;
39826 * )
39827 srcfile=${D}arg
39828 ;;
39829 esac
39830 fi
39831 prevarg="${D}arg"
39832 done
39833
39834 objfilebase=\`basename ${D}objfile\`
39835 builddir=\`dirname ${D}objfile\`
39836 depsdir=${D}builddir/${D}DEPSDIRBASE
39837 mkdir -p ${D}depsdir
39838
39839 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39840 exit 0
39841
39842 elif test ${D}DEPSMODE = unixcc; then
39843 ${D}* || exit ${D}?
39844 # Run compiler again with deps flag and redirect into the dep file.
39845 # It doesn't work if the '-o FILE' option is used, but without it the
39846 # dependency file will contain the wrong name for the object. So it is
39847 # removed from the command line, and the dep file is fixed with sed.
39848 cmd=""
39849 while test ${D}# -gt 0; do
39850 case "${D}1" in
39851 -o )
39852 shift
39853 objfile=${D}1
39854 ;;
39855 * )
39856 eval arg${D}#=\\${D}1
39857 cmd="${D}cmd \\${D}arg${D}#"
39858 ;;
39859 esac
39860 shift
39861 done
39862
39863 objfilebase=\`basename ${D}objfile\`
39864 builddir=\`dirname ${D}objfile\`
39865 depsdir=${D}builddir/${D}DEPSDIRBASE
39866 mkdir -p ${D}depsdir
39867
39868 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39869 exit 0
39870
39871 else
39872 ${D}*
39873 exit ${D}?
39874 fi
39875 EOF
39876
39877 chmod +x bk-deps
39878 BK_DEPS="`pwd`/bk-deps"
39879 fi
39880 fi
39881
39882
39883
39884
39885
39886 case ${BAKEFILE_HOST} in
39887 *-*-cygwin* | *-*-mingw32* )
39888 if test -n "$ac_tool_prefix"; then
39889 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39890 set dummy ${ac_tool_prefix}windres; ac_word=$2
39891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39892 $as_echo_n "checking for $ac_word... " >&6; }
39893 if ${ac_cv_prog_WINDRES+:} false; then :
39894 $as_echo_n "(cached) " >&6
39895 else
39896 if test -n "$WINDRES"; then
39897 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
39898 else
39899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39900 for as_dir in $PATH
39901 do
39902 IFS=$as_save_IFS
39903 test -z "$as_dir" && as_dir=.
39904 for ac_exec_ext in '' $ac_executable_extensions; do
39905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39906 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
39907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39908 break 2
39909 fi
39910 done
39911 done
39912 IFS=$as_save_IFS
39913
39914 fi
39915 fi
39916 WINDRES=$ac_cv_prog_WINDRES
39917 if test -n "$WINDRES"; then
39918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39919 $as_echo "$WINDRES" >&6; }
39920 else
39921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39922 $as_echo "no" >&6; }
39923 fi
39924
39925
39926 fi
39927 if test -z "$ac_cv_prog_WINDRES"; then
39928 ac_ct_WINDRES=$WINDRES
39929 # Extract the first word of "windres", so it can be a program name with args.
39930 set dummy windres; ac_word=$2
39931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39932 $as_echo_n "checking for $ac_word... " >&6; }
39933 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
39934 $as_echo_n "(cached) " >&6
39935 else
39936 if test -n "$ac_ct_WINDRES"; then
39937 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
39938 else
39939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39940 for as_dir in $PATH
39941 do
39942 IFS=$as_save_IFS
39943 test -z "$as_dir" && as_dir=.
39944 for ac_exec_ext in '' $ac_executable_extensions; do
39945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39946 ac_cv_prog_ac_ct_WINDRES="windres"
39947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39948 break 2
39949 fi
39950 done
39951 done
39952 IFS=$as_save_IFS
39953
39954 fi
39955 fi
39956 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
39957 if test -n "$ac_ct_WINDRES"; then
39958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39959 $as_echo "$ac_ct_WINDRES" >&6; }
39960 else
39961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39962 $as_echo "no" >&6; }
39963 fi
39964
39965 if test "x$ac_ct_WINDRES" = x; then
39966 WINDRES=""
39967 else
39968 case $cross_compiling:$ac_tool_warned in
39969 yes:)
39970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39972 ac_tool_warned=yes ;;
39973 esac
39974 WINDRES=$ac_ct_WINDRES
39975 fi
39976 else
39977 WINDRES="$ac_cv_prog_WINDRES"
39978 fi
39979
39980 ;;
39981
39982 *-*-darwin* | powerpc-apple-macos* )
39983 # Extract the first word of "Rez", so it can be a program name with args.
39984 set dummy Rez; ac_word=$2
39985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39986 $as_echo_n "checking for $ac_word... " >&6; }
39987 if ${ac_cv_prog_REZ+:} false; then :
39988 $as_echo_n "(cached) " >&6
39989 else
39990 if test -n "$REZ"; then
39991 ac_cv_prog_REZ="$REZ" # Let the user override the test.
39992 else
39993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39994 for as_dir in $PATH
39995 do
39996 IFS=$as_save_IFS
39997 test -z "$as_dir" && as_dir=.
39998 for ac_exec_ext in '' $ac_executable_extensions; do
39999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40000 ac_cv_prog_REZ="Rez"
40001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40002 break 2
40003 fi
40004 done
40005 done
40006 IFS=$as_save_IFS
40007
40008 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
40009 fi
40010 fi
40011 REZ=$ac_cv_prog_REZ
40012 if test -n "$REZ"; then
40013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
40014 $as_echo "$REZ" >&6; }
40015 else
40016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40017 $as_echo "no" >&6; }
40018 fi
40019
40020
40021 # Extract the first word of "SetFile", so it can be a program name with args.
40022 set dummy SetFile; ac_word=$2
40023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40024 $as_echo_n "checking for $ac_word... " >&6; }
40025 if ${ac_cv_prog_SETFILE+:} false; then :
40026 $as_echo_n "(cached) " >&6
40027 else
40028 if test -n "$SETFILE"; then
40029 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
40030 else
40031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40032 for as_dir in $PATH
40033 do
40034 IFS=$as_save_IFS
40035 test -z "$as_dir" && as_dir=.
40036 for ac_exec_ext in '' $ac_executable_extensions; do
40037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40038 ac_cv_prog_SETFILE="SetFile"
40039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40040 break 2
40041 fi
40042 done
40043 done
40044 IFS=$as_save_IFS
40045
40046 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
40047 fi
40048 fi
40049 SETFILE=$ac_cv_prog_SETFILE
40050 if test -n "$SETFILE"; then
40051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
40052 $as_echo "$SETFILE" >&6; }
40053 else
40054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40055 $as_echo "no" >&6; }
40056 fi
40057
40058
40059 ;;
40060 esac
40061
40062
40063
40064
40065
40066
40067
40068
40069
40070 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
40071
40072
40073 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
40074
40075
40076
40077 # Check whether --enable-precomp-headers was given.
40078 if test "${enable_precomp_headers+set}" = set; then :
40079 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
40080 fi
40081
40082
40083 GCC_PCH=0
40084 ICC_PCH=0
40085 USE_PCH=0
40086 BK_MAKE_PCH=""
40087
40088 case ${BAKEFILE_HOST} in
40089 *-*-cygwin* )
40090 bk_use_pch="no"
40091 ;;
40092 esac
40093
40094 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40095 if test "x$GCC" = "xyes"; then
40096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
40097 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
40098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40099 /* end confdefs.h. */
40100
40101 int
40102 main ()
40103 {
40104
40105 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40106 There is no PCH support
40107 #endif
40108 #if (__GNUC__ < 3)
40109 There is no PCH support
40110 #endif
40111 #if (__GNUC__ == 3) && \
40112 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40113 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
40114 ( defined(__INTEL_COMPILER) )
40115 There is no PCH support
40116 #endif
40117
40118 ;
40119 return 0;
40120 }
40121 _ACEOF
40122 if ac_fn_c_try_compile "$LINENO"; then :
40123
40124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40125 $as_echo "yes" >&6; }
40126 GCC_PCH=1
40127
40128 else
40129
40130 if test "$INTELCXX8" = "yes"; then
40131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40132 $as_echo "yes" >&6; }
40133 ICC_PCH=1
40134 if test "$INTELCXX10" = "yes"; then
40135 ICC_PCH_CREATE_SWITCH="-pch-create"
40136 ICC_PCH_USE_SWITCH="-pch-use"
40137 else
40138 ICC_PCH_CREATE_SWITCH="-create-pch"
40139 ICC_PCH_USE_SWITCH="-use-pch"
40140 fi
40141 else
40142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40143 $as_echo "no" >&6; }
40144 fi
40145
40146 fi
40147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40148 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
40149 USE_PCH=1
40150
40151 D='$'
40152 cat <<EOF >bk-make-pch
40153 #!/bin/sh
40154
40155 # This script is part of Bakefile (http://www.bakefile.org) autoconf
40156 # script. It is used to generated precompiled headers.
40157 #
40158 # Permission is given to use this file in any way.
40159
40160 outfile="${D}{1}"
40161 header="${D}{2}"
40162 shift
40163 shift
40164
40165 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
40166
40167 compiler=""
40168 headerfile=""
40169
40170 while test ${D}{#} -gt 0; do
40171 add_to_cmdline=1
40172 case "${D}{1}" in
40173 -I* )
40174 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40175 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40176 headerfile="${D}{incdir}/${D}{header}"
40177 fi
40178 ;;
40179 -use-pch|-use_pch|-pch-use )
40180 shift
40181 add_to_cmdline=0
40182 ;;
40183 esac
40184 if test ${D}add_to_cmdline = 1 ; then
40185 compiler="${D}{compiler} ${D}{1}"
40186 fi
40187 shift
40188 done
40189
40190 if test "x${D}{headerfile}" = "x" ; then
40191 echo "error: can't find header ${D}{header} in include paths" >&2
40192 else
40193 if test -f ${D}{outfile} ; then
40194 rm -f ${D}{outfile}
40195 else
40196 mkdir -p \`dirname ${D}{outfile}\`
40197 fi
40198 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40199 mkdir -p ${D}{builddir}/.deps
40200 if test "x${GCC_PCH}" = "x1" ; then
40201 # can do this because gcc is >= 3.4:
40202 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40203 elif test "x${ICC_PCH}" = "x1" ; then
40204 filename=pch_gen-${D}${D}
40205 file=${D}{filename}.c
40206 dfile=${D}{filename}.d
40207 cat > ${D}file <<EOT
40208 #include "${D}header"
40209 EOT
40210 # using -MF icc complains about differing command lines in creation/use
40211 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
40212 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
40213 rm -f ${D}file ${D}dfile ${D}{filename}.o
40214 fi
40215 exit ${D}{?}
40216 fi
40217 EOF
40218
40219 chmod +x bk-make-pch
40220 BK_MAKE_PCH="`pwd`/bk-make-pch"
40221 fi
40222 fi
40223 fi
40224
40225
40226
40227
40228
40229
40230
40231 COND_BUILD_debug="#"
40232 if test "x$BUILD" = "xdebug" ; then
40233 COND_BUILD_debug=""
40234 fi
40235
40236 COND_BUILD_debug_DEBUG_INFO_default="#"
40237 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40238 COND_BUILD_debug_DEBUG_INFO_default=""
40239 fi
40240
40241 COND_BUILD_release="#"
40242 if test "x$BUILD" = "xrelease" ; then
40243 COND_BUILD_release=""
40244 fi
40245
40246 COND_BUILD_release_DEBUG_INFO_default="#"
40247 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40248 COND_BUILD_release_DEBUG_INFO_default=""
40249 fi
40250
40251 COND_DEBUG_FLAG_0="#"
40252 if test "x$DEBUG_FLAG" = "x0" ; then
40253 COND_DEBUG_FLAG_0=""
40254 fi
40255
40256 COND_DEBUG_INFO_0="#"
40257 if test "x$DEBUG_INFO" = "x0" ; then
40258 COND_DEBUG_INFO_0=""
40259 fi
40260
40261 COND_DEBUG_INFO_1="#"
40262 if test "x$DEBUG_INFO" = "x1" ; then
40263 COND_DEBUG_INFO_1=""
40264 fi
40265
40266 COND_DEPS_TRACKING_0="#"
40267 if test "x$DEPS_TRACKING" = "x0" ; then
40268 COND_DEPS_TRACKING_0=""
40269 fi
40270
40271 COND_DEPS_TRACKING_1="#"
40272 if test "x$DEPS_TRACKING" = "x1" ; then
40273 COND_DEPS_TRACKING_1=""
40274 fi
40275
40276 COND_GCC_PCH_1="#"
40277 if test "x$GCC_PCH" = "x1" ; then
40278 COND_GCC_PCH_1=""
40279 fi
40280
40281 COND_ICC_PCH_1="#"
40282 if test "x$ICC_PCH" = "x1" ; then
40283 COND_ICC_PCH_1=""
40284 fi
40285
40286 COND_MONOLITHIC_0="#"
40287 if test "x$MONOLITHIC" = "x0" ; then
40288 COND_MONOLITHIC_0=""
40289 fi
40290
40291 COND_MONOLITHIC_0_SHARED_0="#"
40292 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40293 COND_MONOLITHIC_0_SHARED_0=""
40294 fi
40295
40296 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
40297 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40298 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
40299 fi
40300
40301 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40302 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40303 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40304 fi
40305
40306 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
40307 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40308 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
40309 fi
40310
40311 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
40312 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40313 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
40314 fi
40315
40316 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
40317 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40318 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
40319 fi
40320
40321 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
40322 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40323 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
40324 fi
40325
40326 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
40327 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40328 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
40329 fi
40330
40331 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
40332 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40333 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
40334 fi
40335
40336 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
40337 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40338 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
40339 fi
40340
40341 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
40342 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40343 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
40344 fi
40345
40346 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40347 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40348 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40349 fi
40350
40351 COND_MONOLITHIC_0_SHARED_1="#"
40352 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40353 COND_MONOLITHIC_0_SHARED_1=""
40354 fi
40355
40356 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
40357 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40358 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
40359 fi
40360
40361 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40362 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40363 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40364 fi
40365
40366 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
40367 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40368 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
40369 fi
40370
40371 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
40372 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40373 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
40374 fi
40375
40376 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
40377 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40378 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
40379 fi
40380
40381 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
40382 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40383 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
40384 fi
40385
40386 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
40387 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40388 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
40389 fi
40390
40391 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
40392 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40393 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
40394 fi
40395
40396 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
40397 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40398 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
40399 fi
40400
40401 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
40402 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40403 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
40404 fi
40405
40406 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40407 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40408 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40409 fi
40410
40411 COND_MONOLITHIC_0_USE_AUI_1="#"
40412 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40413 COND_MONOLITHIC_0_USE_AUI_1=""
40414 fi
40415
40416 COND_MONOLITHIC_0_USE_GUI_1="#"
40417 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40418 COND_MONOLITHIC_0_USE_GUI_1=""
40419 fi
40420
40421 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
40422 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40423 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
40424 fi
40425
40426 COND_MONOLITHIC_0_USE_HTML_1="#"
40427 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40428 COND_MONOLITHIC_0_USE_HTML_1=""
40429 fi
40430
40431 COND_MONOLITHIC_0_USE_MEDIA_1="#"
40432 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40433 COND_MONOLITHIC_0_USE_MEDIA_1=""
40434 fi
40435
40436 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
40437 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40438 COND_MONOLITHIC_0_USE_PROPGRID_1=""
40439 fi
40440
40441 COND_MONOLITHIC_0_USE_QA_1="#"
40442 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40443 COND_MONOLITHIC_0_USE_QA_1=""
40444 fi
40445
40446 COND_MONOLITHIC_0_USE_RIBBON_1="#"
40447 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40448 COND_MONOLITHIC_0_USE_RIBBON_1=""
40449 fi
40450
40451 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
40452 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40453 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
40454 fi
40455
40456 COND_MONOLITHIC_0_USE_STC_1="#"
40457 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40458 COND_MONOLITHIC_0_USE_STC_1=""
40459 fi
40460
40461 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
40462 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40463 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
40464 fi
40465
40466 COND_MONOLITHIC_0_USE_XRC_1="#"
40467 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40468 COND_MONOLITHIC_0_USE_XRC_1=""
40469 fi
40470
40471 COND_MONOLITHIC_1="#"
40472 if test "x$MONOLITHIC" = "x1" ; then
40473 COND_MONOLITHIC_1=""
40474 fi
40475
40476 COND_MONOLITHIC_1_SHARED_0="#"
40477 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40478 COND_MONOLITHIC_1_SHARED_0=""
40479 fi
40480
40481 COND_MONOLITHIC_1_SHARED_1="#"
40482 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40483 COND_MONOLITHIC_1_SHARED_1=""
40484 fi
40485
40486 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40487 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40488 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40489 fi
40490
40491 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40492 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40493 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40494 fi
40495
40496 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
40497 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40498 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
40499 fi
40500
40501 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40502 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40503 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40504 fi
40505
40506 COND_PLATFORM_MACOSX_1="#"
40507 if test "x$PLATFORM_MACOSX" = "x1" ; then
40508 COND_PLATFORM_MACOSX_1=""
40509 fi
40510
40511 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
40512 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40513 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
40514 fi
40515
40516 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
40517 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40518 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
40519 fi
40520
40521 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40522 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40523 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40524 fi
40525
40526 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40527 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40528 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40529 fi
40530
40531 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40532 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40533 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40534 fi
40535
40536 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40537 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40538 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40539 fi
40540
40541 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40542 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40543 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40544 fi
40545
40546 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
40547 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40548 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
40549 fi
40550
40551 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40552 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40553 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40554 fi
40555
40556 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
40557 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40558 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
40559 fi
40560
40561 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40562 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40563 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40564 fi
40565
40566 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40567 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40568 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40569 fi
40570
40571 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40572 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40573 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40574 fi
40575
40576 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
40577 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40578 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
40579 fi
40580
40581 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40582 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40583 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40584 fi
40585
40586 COND_PLATFORM_MAC_0="#"
40587 if test "x$PLATFORM_MAC" = "x0" ; then
40588 COND_PLATFORM_MAC_0=""
40589 fi
40590
40591 COND_PLATFORM_MAC_1="#"
40592 if test "x$PLATFORM_MAC" = "x1" ; then
40593 COND_PLATFORM_MAC_1=""
40594 fi
40595
40596 COND_PLATFORM_MSDOS_0="#"
40597 if test "x$PLATFORM_MSDOS" = "x0" ; then
40598 COND_PLATFORM_MSDOS_0=""
40599 fi
40600
40601 COND_PLATFORM_MSDOS_1="#"
40602 if test "x$PLATFORM_MSDOS" = "x1" ; then
40603 COND_PLATFORM_MSDOS_1=""
40604 fi
40605
40606 COND_PLATFORM_OS2_1="#"
40607 if test "x$PLATFORM_OS2" = "x1" ; then
40608 COND_PLATFORM_OS2_1=""
40609 fi
40610
40611 COND_PLATFORM_UNIX_0="#"
40612 if test "x$PLATFORM_UNIX" = "x0" ; then
40613 COND_PLATFORM_UNIX_0=""
40614 fi
40615
40616 COND_PLATFORM_UNIX_1="#"
40617 if test "x$PLATFORM_UNIX" = "x1" ; then
40618 COND_PLATFORM_UNIX_1=""
40619 fi
40620
40621 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40622 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40623 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40624 fi
40625
40626 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40627 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40628 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40629 fi
40630
40631 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40632 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40633 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40634 fi
40635
40636 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40637 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40638 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40639 fi
40640
40641 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40642 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40643 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40644 fi
40645
40646 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40647 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40648 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40649 fi
40650
40651 COND_PLATFORM_WIN32_0="#"
40652 if test "x$PLATFORM_WIN32" = "x0" ; then
40653 COND_PLATFORM_WIN32_0=""
40654 fi
40655
40656 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40657 if test "x$PLATFORM_WIN32" = "x0" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40658 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40659 fi
40660
40661 COND_PLATFORM_WIN32_1="#"
40662 if test "x$PLATFORM_WIN32" = "x1" ; then
40663 COND_PLATFORM_WIN32_1=""
40664 fi
40665
40666 COND_PLATFORM_WIN32_1_SHARED_0="#"
40667 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40668 COND_PLATFORM_WIN32_1_SHARED_0=""
40669 fi
40670
40671 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40672 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40673 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40674 fi
40675
40676 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40677 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40678 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40679 fi
40680
40681 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40682 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40683 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40684 fi
40685
40686 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40687 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40688 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40689 fi
40690
40691 COND_SHARED_0="#"
40692 if test "x$SHARED" = "x0" ; then
40693 COND_SHARED_0=""
40694 fi
40695
40696 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40697 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40698 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40699 fi
40700
40701 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40702 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40703 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40704 fi
40705
40706 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40707 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40708 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40709 fi
40710
40711 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40712 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40713 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40714 fi
40715
40716 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40717 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40718 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40719 fi
40720
40721 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40722 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40723 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40724 fi
40725
40726 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40727 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40728 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40729 fi
40730
40731 COND_SHARED_0_USE_STC_1="#"
40732 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40733 COND_SHARED_0_USE_STC_1=""
40734 fi
40735
40736 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
40737 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40738 COND_SHARED_0_wxUSE_EXPAT_builtin=""
40739 fi
40740
40741 COND_SHARED_0_wxUSE_REGEX_builtin="#"
40742 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40743 COND_SHARED_0_wxUSE_REGEX_builtin=""
40744 fi
40745
40746 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
40747 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40748 COND_SHARED_0_wxUSE_ZLIB_builtin=""
40749 fi
40750
40751 COND_SHARED_1="#"
40752 if test "x$SHARED" = "x1" ; then
40753 COND_SHARED_1=""
40754 fi
40755
40756 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40757 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40758 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40759 fi
40760
40761 COND_TOOLKIT_="#"
40762 if test "x$TOOLKIT" = "x" ; then
40763 COND_TOOLKIT_=""
40764 fi
40765
40766 COND_TOOLKIT_COCOA="#"
40767 if test "x$TOOLKIT" = "xCOCOA" ; then
40768 COND_TOOLKIT_COCOA=""
40769 fi
40770
40771 COND_TOOLKIT_COCOA_USE_GUI_1="#"
40772 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40773 COND_TOOLKIT_COCOA_USE_GUI_1=""
40774 fi
40775
40776 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40777 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40778 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40779 fi
40780
40781 COND_TOOLKIT_DFB="#"
40782 if test "x$TOOLKIT" = "xDFB" ; then
40783 COND_TOOLKIT_DFB=""
40784 fi
40785
40786 COND_TOOLKIT_DFB_USE_GUI_1="#"
40787 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40788 COND_TOOLKIT_DFB_USE_GUI_1=""
40789 fi
40790
40791 COND_TOOLKIT_GTK="#"
40792 if test "x$TOOLKIT" = "xGTK" ; then
40793 COND_TOOLKIT_GTK=""
40794 fi
40795
40796 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
40797 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40798 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
40799 fi
40800
40801 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40802 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40803 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40804 fi
40805
40806 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40807 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40808 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40809 fi
40810
40811 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
40812 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40813 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
40814 fi
40815
40816 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1="#"
40817 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40818 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1=""
40819 fi
40820
40821 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
40822 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40823 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
40824 fi
40825
40826 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1="#"
40827 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x1" ; then
40828 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1=""
40829 fi
40830
40831 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40832 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40833 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40834 fi
40835
40836 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40837 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40838 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40839 fi
40840
40841 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0="#"
40842 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40843 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0=""
40844 fi
40845
40846 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0="#"
40847 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40848 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0=""
40849 fi
40850
40851 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
40852 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40853 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
40854 fi
40855
40856 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
40857 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40858 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
40859 fi
40860
40861 COND_TOOLKIT_GTK_USE_GUI_1="#"
40862 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40863 COND_TOOLKIT_GTK_USE_GUI_1=""
40864 fi
40865
40866 COND_TOOLKIT_MAC="#"
40867 if test "x$TOOLKIT" = "xMAC" ; then
40868 COND_TOOLKIT_MAC=""
40869 fi
40870
40871 COND_TOOLKIT_MOTIF="#"
40872 if test "x$TOOLKIT" = "xMOTIF" ; then
40873 COND_TOOLKIT_MOTIF=""
40874 fi
40875
40876 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40877 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40878 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40879 fi
40880
40881 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40882 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40883 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40884 fi
40885
40886 COND_TOOLKIT_MSW="#"
40887 if test "x$TOOLKIT" = "xMSW" ; then
40888 COND_TOOLKIT_MSW=""
40889 fi
40890
40891 COND_TOOLKIT_MSW_USE_GUI_1="#"
40892 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40893 COND_TOOLKIT_MSW_USE_GUI_1=""
40894 fi
40895
40896 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40897 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40898 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40899 fi
40900
40901 COND_TOOLKIT_MSW_WXUNIV_0="#"
40902 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40903 COND_TOOLKIT_MSW_WXUNIV_0=""
40904 fi
40905
40906 COND_TOOLKIT_OSX_CARBON="#"
40907 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40908 COND_TOOLKIT_OSX_CARBON=""
40909 fi
40910
40911 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40912 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40913 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40914 fi
40915
40916 COND_TOOLKIT_OSX_COCOA="#"
40917 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40918 COND_TOOLKIT_OSX_COCOA=""
40919 fi
40920
40921 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40922 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40923 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40924 fi
40925
40926 COND_TOOLKIT_OSX_IPHONE="#"
40927 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40928 COND_TOOLKIT_OSX_IPHONE=""
40929 fi
40930
40931 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40932 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40933 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40934 fi
40935
40936 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40937 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40938 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40939 fi
40940
40941 COND_TOOLKIT_PM="#"
40942 if test "x$TOOLKIT" = "xPM" ; then
40943 COND_TOOLKIT_PM=""
40944 fi
40945
40946 COND_TOOLKIT_PM_USE_GUI_1="#"
40947 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40948 COND_TOOLKIT_PM_USE_GUI_1=""
40949 fi
40950
40951 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40952 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40953 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40954 fi
40955
40956 COND_TOOLKIT_WINCE="#"
40957 if test "x$TOOLKIT" = "xWINCE" ; then
40958 COND_TOOLKIT_WINCE=""
40959 fi
40960
40961 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40962 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40963 COND_TOOLKIT_WINCE_USE_GUI_1=""
40964 fi
40965
40966 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40967 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40968 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40969 fi
40970
40971 COND_TOOLKIT_WINCE_WXUNIV_0="#"
40972 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40973 COND_TOOLKIT_WINCE_WXUNIV_0=""
40974 fi
40975
40976 COND_TOOLKIT_X11="#"
40977 if test "x$TOOLKIT" = "xX11" ; then
40978 COND_TOOLKIT_X11=""
40979 fi
40980
40981 COND_TOOLKIT_X11_USE_GUI_1="#"
40982 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40983 COND_TOOLKIT_X11_USE_GUI_1=""
40984 fi
40985
40986 COND_UNICODE_1="#"
40987 if test "x$UNICODE" = "x1" ; then
40988 COND_UNICODE_1=""
40989 fi
40990
40991 COND_USE_CAIRO_1="#"
40992 if test "x$USE_CAIRO" = "x1" ; then
40993 COND_USE_CAIRO_1=""
40994 fi
40995
40996 COND_USE_EXCEPTIONS_0="#"
40997 if test "x$USE_EXCEPTIONS" = "x0" ; then
40998 COND_USE_EXCEPTIONS_0=""
40999 fi
41000
41001 COND_USE_EXCEPTIONS_1="#"
41002 if test "x$USE_EXCEPTIONS" = "x1" ; then
41003 COND_USE_EXCEPTIONS_1=""
41004 fi
41005
41006 COND_USE_GUI_0="#"
41007 if test "x$USE_GUI" = "x0" ; then
41008 COND_USE_GUI_0=""
41009 fi
41010
41011 COND_USE_GUI_1="#"
41012 if test "x$USE_GUI" = "x1" ; then
41013 COND_USE_GUI_1=""
41014 fi
41015
41016 COND_USE_GUI_1_USE_OPENGL_1="#"
41017 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41018 COND_USE_GUI_1_USE_OPENGL_1=""
41019 fi
41020
41021 COND_USE_GUI_1_WXUNIV_0="#"
41022 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41023 COND_USE_GUI_1_WXUNIV_0=""
41024 fi
41025
41026 COND_USE_GUI_1_WXUNIV_1="#"
41027 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41028 COND_USE_GUI_1_WXUNIV_1=""
41029 fi
41030
41031 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
41032 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41033 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
41034 fi
41035
41036 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
41037 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41038 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
41039 fi
41040
41041 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
41042 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41043 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
41044 fi
41045
41046 COND_USE_OPENGL_1="#"
41047 if test "x$USE_OPENGL" = "x1" ; then
41048 COND_USE_OPENGL_1=""
41049 fi
41050
41051 COND_USE_PCH_1="#"
41052 if test "x$USE_PCH" = "x1" ; then
41053 COND_USE_PCH_1=""
41054 fi
41055
41056 COND_USE_PLUGINS_0="#"
41057 if test "x$USE_PLUGINS" = "x0" ; then
41058 COND_USE_PLUGINS_0=""
41059 fi
41060
41061 COND_USE_RTTI_0="#"
41062 if test "x$USE_RTTI" = "x0" ; then
41063 COND_USE_RTTI_0=""
41064 fi
41065
41066 COND_USE_RTTI_1="#"
41067 if test "x$USE_RTTI" = "x1" ; then
41068 COND_USE_RTTI_1=""
41069 fi
41070
41071 COND_USE_SOTWOSYMLINKS_1="#"
41072 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
41073 COND_USE_SOTWOSYMLINKS_1=""
41074 fi
41075
41076 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
41077 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41078 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
41079 fi
41080
41081 COND_USE_SOVERLINUX_1="#"
41082 if test "x$USE_SOVERLINUX" = "x1" ; then
41083 COND_USE_SOVERLINUX_1=""
41084 fi
41085
41086 COND_USE_SOVERSION_0="#"
41087 if test "x$USE_SOVERSION" = "x0" ; then
41088 COND_USE_SOVERSION_0=""
41089 fi
41090
41091 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
41092 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
41093 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
41094 fi
41095
41096 COND_USE_SOVERSOLARIS_1="#"
41097 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41098 COND_USE_SOVERSOLARIS_1=""
41099 fi
41100
41101 COND_USE_STC_1="#"
41102 if test "x$USE_STC" = "x1" ; then
41103 COND_USE_STC_1=""
41104 fi
41105
41106 COND_USE_THREADS_0="#"
41107 if test "x$USE_THREADS" = "x0" ; then
41108 COND_USE_THREADS_0=""
41109 fi
41110
41111 COND_USE_THREADS_1="#"
41112 if test "x$USE_THREADS" = "x1" ; then
41113 COND_USE_THREADS_1=""
41114 fi
41115
41116 COND_USE_XRC_1="#"
41117 if test "x$USE_XRC" = "x1" ; then
41118 COND_USE_XRC_1=""
41119 fi
41120
41121 COND_WINDOWS_IMPLIB_1="#"
41122 if test "x$WINDOWS_IMPLIB" = "x1" ; then
41123 COND_WINDOWS_IMPLIB_1=""
41124 fi
41125
41126 COND_WITH_PLUGIN_SDL_1="#"
41127 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41128 COND_WITH_PLUGIN_SDL_1=""
41129 fi
41130
41131 COND_WXUNIV_0="#"
41132 if test "x$WXUNIV" = "x0" ; then
41133 COND_WXUNIV_0=""
41134 fi
41135
41136 COND_WXUNIV_1="#"
41137 if test "x$WXUNIV" = "x1" ; then
41138 COND_WXUNIV_1=""
41139 fi
41140
41141 COND_wxUSE_EXPAT_builtin="#"
41142 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41143 COND_wxUSE_EXPAT_builtin=""
41144 fi
41145
41146 COND_wxUSE_LIBJPEG_builtin="#"
41147 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41148 COND_wxUSE_LIBJPEG_builtin=""
41149 fi
41150
41151 COND_wxUSE_LIBPNG_builtin="#"
41152 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41153 COND_wxUSE_LIBPNG_builtin=""
41154 fi
41155
41156 COND_wxUSE_LIBTIFF_builtin="#"
41157 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41158 COND_wxUSE_LIBTIFF_builtin=""
41159 fi
41160
41161 COND_wxUSE_REGEX_builtin="#"
41162 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41163 COND_wxUSE_REGEX_builtin=""
41164 fi
41165
41166 COND_wxUSE_ZLIB_builtin="#"
41167 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41168 COND_wxUSE_ZLIB_builtin=""
41169 fi
41170
41171
41172
41173 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
41174 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
41175 fi
41176
41177 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41178 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
41179 fi
41180
41181
41182 case ${INSTALL} in
41183 /* ) # Absolute
41184 ;;
41185 ?:* ) # Drive letter, considered as absolute.
41186 ;;
41187 *)
41188 INSTALL=`pwd`/${INSTALL} ;;
41189 esac
41190
41191 if test "$wxUSE_GUI" = "yes"; then
41192
41193 if test "$wxUSE_MSW" = 1 ; then
41194 if test "x$WINDRES" = "x"; then
41195 as_fn_error $? "Required windres program not found" "$LINENO" 5
41196 fi
41197
41198 RESCOMP="$WINDRES"
41199 fi
41200
41201 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
41202 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
41203 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
41204
41205 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
41206
41207 # Extract the first word of "DeRez", so it can be a program name with args.
41208 set dummy DeRez; ac_word=$2
41209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41210 $as_echo_n "checking for $ac_word... " >&6; }
41211 if ${ac_cv_prog_DEREZ+:} false; then :
41212 $as_echo_n "(cached) " >&6
41213 else
41214 if test -n "$DEREZ"; then
41215 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
41216 else
41217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41218 for as_dir in $PATH
41219 do
41220 IFS=$as_save_IFS
41221 test -z "$as_dir" && as_dir=.
41222 for ac_exec_ext in '' $ac_executable_extensions; do
41223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41224 ac_cv_prog_DEREZ="DeRez"
41225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41226 break 2
41227 fi
41228 done
41229 done
41230 IFS=$as_save_IFS
41231
41232 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
41233 fi
41234 fi
41235 DEREZ=$ac_cv_prog_DEREZ
41236 if test -n "$DEREZ"; then
41237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
41238 $as_echo "$DEREZ" >&6; }
41239 else
41240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41241 $as_echo "no" >&6; }
41242 fi
41243
41244
41245
41246 MACSETFILE="\$(SETFILE)"
41247
41248 if test "$wxUSE_OSX_CARBON" = 1; then
41249 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
41250 RESCOMP="$REZ"
41251 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
41252 else
41253 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
41254 RESCOMP="cat /dev/null \| $REZ"
41255 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
41256 fi
41257
41258 else
41259 MACSETFILE="@true"
41260
41261 if test "$wxUSE_PM" = 1; then
41262 RESCOMP="emxbind"
41263 WXCONFIG_RESFLAGS="-ep"
41264
41265 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
41266 else
41267 POSTLINK_COMMAND="@true"
41268 fi
41269 fi
41270
41271 fi
41272
41273
41274 if test $GCC_PCH = 1
41275 then
41276 if test "$wx_cv_gcc_pch_bug" = yes; then
41277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
41278 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
41279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
41280 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41282 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41283 fi
41284
41285 # Our WX_PRECOMP flag does not make sense for any language except C++ because
41286 # the headers that benefit from precompilation are mostly C++ headers.
41287 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41288 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41289 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41290 fi
41291
41292
41293 if test "$wxUSE_MAC" = 1 ; then
41294 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41295 if test "x$disable_macosx_deps" = "xyes"; then
41296 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
41297 mv temp bk-deps
41298 chmod +x bk-deps
41299 fi
41300 fi
41301 fi
41302
41303 if test "$wxUSE_SHARED" = "yes"; then
41304 case "${host}" in
41305 *-pc-os2_emx | *-pc-os2-emx )
41306 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41307 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41308 cp -p ${srcdir}/src/os2/dllnames.sh .
41309 cp -p ${srcdir}/src/os2/dllar.sh .
41310 ;;
41311 esac
41312 fi
41313 if test "$wxUSE_OMF" = "yes"; then
41314 case "${host}" in
41315 *-pc-os2_emx | *-pc-os2-emx )
41316 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
41317 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41318 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41319 ;;
41320 esac
41321 fi
41322
41323 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41324
41325
41326 case "${host}" in
41327 *-*-solaris2* )
41328 if test "$GCC" = yes; then
41329 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
41330 LIBS=`echo $LIBS | sed 's/-mt//g'`
41331 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41332 fi
41333 ;;
41334
41335 *-*-linux* )
41336 if test "x$SUNCXX" = xyes; then
41337 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
41338 LIBS=`echo $LIBS | sed 's/-pthread//g'`
41339 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41340 fi
41341 ;;
41342 esac
41343
41344 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
41345 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41346 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
41347 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41348
41349 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41350
41351
41352
41353
41354
41355
41356
41357
41358
41359
41360
41361
41362
41363
41364
41365
41366
41367
41368
41369
41370
41371
41372
41373
41374
41375
41376
41377
41378
41379
41380
41381
41382
41383
41384
41385
41386
41387
41388
41389
41390
41391
41392
41393
41394
41395
41396
41397
41398
41399
41400
41401
41402
41403
41404
41405
41406
41407
41408
41409
41410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41411 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41412 set x ${MAKE-make}
41413 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41414 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
41415 $as_echo_n "(cached) " >&6
41416 else
41417 cat >conftest.make <<\_ACEOF
41418 SHELL = /bin/sh
41419 all:
41420 @echo '@@@%%%=$(MAKE)=@@@%%%'
41421 _ACEOF
41422 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41423 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41424 *@@@%%%=?*=@@@%%%*)
41425 eval ac_cv_prog_make_${ac_make}_set=yes;;
41426 *)
41427 eval ac_cv_prog_make_${ac_make}_set=no;;
41428 esac
41429 rm -f conftest.make
41430 fi
41431 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
41432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41433 $as_echo "yes" >&6; }
41434 SET_MAKE=
41435 else
41436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41437 $as_echo "no" >&6; }
41438 SET_MAKE="MAKE=${MAKE-make}"
41439 fi
41440
41441
41442
41443 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41444
41445
41446 if test "$USE_WIN32" = 1; then
41447 ac_config_commands="$ac_config_commands rcdefs.h"
41448
41449 fi
41450
41451 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41452
41453
41454 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41455
41456
41457 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
41458
41459
41460 if test "$wx_cv_version_script" = "yes"; then
41461 ac_config_files="$ac_config_files version-script"
41462
41463 fi
41464 ac_config_files="$ac_config_files Makefile"
41465
41466
41467 ac_config_commands="$ac_config_commands wx-config"
41468
41469
41470
41471 if test "$wxWITH_SUBDIRS" != "no"; then
41472 if test "$wxUSE_GUI" = "yes"; then
41473 SUBDIRS="samples demos utils"
41474 else
41475 SUBDIRS="samples utils"
41476 fi
41477
41478
41479
41480 # Check whether --with-cppunit-prefix was given.
41481 if test "${with_cppunit_prefix+set}" = set; then :
41482 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
41483 else
41484 cppunit_config_prefix=""
41485 fi
41486
41487
41488 # Check whether --with-cppunit-exec-prefix was given.
41489 if test "${with_cppunit_exec_prefix+set}" = set; then :
41490 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
41491 else
41492 cppunit_config_exec_prefix=""
41493 fi
41494
41495
41496 if test x$cppunit_config_exec_prefix != x ; then
41497 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41498 if test x${CPPUNIT_CONFIG+set} != xset ; then
41499 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41500 fi
41501 fi
41502 if test x$cppunit_config_prefix != x ; then
41503 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41504 if test x${CPPUNIT_CONFIG+set} != xset ; then
41505 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41506 fi
41507 fi
41508
41509 # Extract the first word of "cppunit-config", so it can be a program name with args.
41510 set dummy cppunit-config; ac_word=$2
41511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41512 $as_echo_n "checking for $ac_word... " >&6; }
41513 if ${ac_cv_path_CPPUNIT_CONFIG+:} false; then :
41514 $as_echo_n "(cached) " >&6
41515 else
41516 case $CPPUNIT_CONFIG in
41517 [\\/]* | ?:[\\/]*)
41518 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41519 ;;
41520 *)
41521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41522 for as_dir in $PATH
41523 do
41524 IFS=$as_save_IFS
41525 test -z "$as_dir" && as_dir=.
41526 for ac_exec_ext in '' $ac_executable_extensions; do
41527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41528 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41530 break 2
41531 fi
41532 done
41533 done
41534 IFS=$as_save_IFS
41535
41536 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41537 ;;
41538 esac
41539 fi
41540 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41541 if test -n "$CPPUNIT_CONFIG"; then
41542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41543 $as_echo "$CPPUNIT_CONFIG" >&6; }
41544 else
41545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41546 $as_echo "no" >&6; }
41547 fi
41548
41549
41550 cppunit_version_min=1.8.0
41551
41552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41553 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41554 no_cppunit=""
41555 if test "$CPPUNIT_CONFIG" = "no" ; then
41556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41557 $as_echo "no" >&6; }
41558 no_cppunit=yes
41559 else
41560 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41561 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41562 cppunit_version=`$CPPUNIT_CONFIG --version`
41563
41564 cppunit_major_version=`echo $cppunit_version | \
41565 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41566 cppunit_minor_version=`echo $cppunit_version | \
41567 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41568 cppunit_micro_version=`echo $cppunit_version | \
41569 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41570
41571 cppunit_major_min=`echo $cppunit_version_min | \
41572 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41573 cppunit_minor_min=`echo $cppunit_version_min | \
41574 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41575 cppunit_micro_min=`echo $cppunit_version_min | \
41576 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41577
41578 cppunit_version_proper=`expr \
41579 $cppunit_major_version \> $cppunit_major_min \| \
41580 $cppunit_major_version \= $cppunit_major_min \& \
41581 $cppunit_minor_version \> $cppunit_minor_min \| \
41582 $cppunit_major_version \= $cppunit_major_min \& \
41583 $cppunit_minor_version \= $cppunit_minor_min \& \
41584 $cppunit_micro_version \>= $cppunit_micro_min `
41585
41586 if test "$cppunit_version_proper" = "1" ; then
41587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41588 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41589 else
41590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41591 $as_echo "no" >&6; }
41592 no_cppunit=yes
41593 fi
41594 fi
41595
41596 if test "x$no_cppunit" = x ; then
41597 SUBDIRS="$SUBDIRS tests"
41598 else
41599 CPPUNIT_CFLAGS=""
41600 CPPUNIT_LIBS=""
41601 :
41602 fi
41603
41604
41605
41606
41607
41608 for subdir in $SUBDIRS; do
41609 if test -d ${srcdir}/${subdir} ; then
41610 if test "$wxUSE_GUI" = "yes"; then
41611 if test ${subdir} = "samples"; then
41612 makefiles="samples/Makefile.in $makefiles"
41613 for sample in $SAMPLES_SUBDIRS; do
41614 if test -d $srcdir/samples/$sample; then
41615 makefiles="samples/$sample/Makefile.in $makefiles"
41616 fi
41617 done
41618 else
41619 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
41620 eval "disabled=\$$disabled_var"
41621 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
41622 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41623 fi
41624 else
41625 if test ${subdir} = "samples"; then
41626 makefiles="samples/Makefile.in $makefiles"
41627 for sample in `echo $SAMPLES_SUBDIRS`; do
41628 if test -d $srcdir/samples/$sample; then
41629 makefiles="samples/$sample/Makefile.in $makefiles"
41630 fi
41631 done
41632 elif test ${subdir} = "utils"; then
41633 makefiles=""
41634 for util in ifacecheck ; do
41635 if test -d $srcdir/utils/$util ; then
41636 makefiles="utils/$util/src/Makefile.in \
41637 $makefiles"
41638 fi
41639 done
41640 else
41641 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41642 fi
41643 fi
41644
41645 for mkin in $makefiles ; do
41646 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41647 ac_config_files="$ac_config_files $mk"
41648
41649 done
41650 fi
41651 done
41652 fi
41653 cat >confcache <<\_ACEOF
41654 # This file is a shell script that caches the results of configure
41655 # tests run on this system so they can be shared between configure
41656 # scripts and configure runs, see configure's option --config-cache.
41657 # It is not useful on other systems. If it contains results you don't
41658 # want to keep, you may remove or edit it.
41659 #
41660 # config.status only pays attention to the cache file if you give it
41661 # the --recheck option to rerun configure.
41662 #
41663 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41664 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41665 # following values.
41666
41667 _ACEOF
41668
41669 # The following way of writing the cache mishandles newlines in values,
41670 # but we know of no workaround that is simple, portable, and efficient.
41671 # So, we kill variables containing newlines.
41672 # Ultrix sh set writes to stderr and can't be redirected directly,
41673 # and sets the high bit in the cache file unless we assign to the vars.
41674 (
41675 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41676 eval ac_val=\$$ac_var
41677 case $ac_val in #(
41678 *${as_nl}*)
41679 case $ac_var in #(
41680 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41681 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41682 esac
41683 case $ac_var in #(
41684 _ | IFS | as_nl) ;; #(
41685 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
41686 *) { eval $ac_var=; unset $ac_var;} ;;
41687 esac ;;
41688 esac
41689 done
41690
41691 (set) 2>&1 |
41692 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41693 *${as_nl}ac_space=\ *)
41694 # `set' does not quote correctly, so add quotes: double-quote
41695 # substitution turns \\\\ into \\, and sed turns \\ into \.
41696 sed -n \
41697 "s/'/'\\\\''/g;
41698 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41699 ;; #(
41700 *)
41701 # `set' quotes correctly as required by POSIX, so do not add quotes.
41702 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41703 ;;
41704 esac |
41705 sort
41706 ) |
41707 sed '
41708 /^ac_cv_env_/b end
41709 t clear
41710 :clear
41711 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41712 t end
41713 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41714 :end' >>confcache
41715 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41716 if test -w "$cache_file"; then
41717 if test "x$cache_file" != "x/dev/null"; then
41718 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41719 $as_echo "$as_me: updating cache $cache_file" >&6;}
41720 if test ! -f "$cache_file" || test -h "$cache_file"; then
41721 cat confcache >"$cache_file"
41722 else
41723 case $cache_file in #(
41724 */* | ?:*)
41725 mv -f confcache "$cache_file"$$ &&
41726 mv -f "$cache_file"$$ "$cache_file" ;; #(
41727 *)
41728 mv -f confcache "$cache_file" ;;
41729 esac
41730 fi
41731 fi
41732 else
41733 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41734 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41735 fi
41736 fi
41737 rm -f confcache
41738
41739 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41740 # Let make expand exec_prefix.
41741 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41742
41743 DEFS=-DHAVE_CONFIG_H
41744
41745 ac_libobjs=
41746 ac_ltlibobjs=
41747 U=
41748 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41749 # 1. Remove the extension, and $U if already installed.
41750 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41751 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
41752 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41753 # will be set to the directory where LIBOBJS objects are built.
41754 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41755 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
41756 done
41757 LIBOBJS=$ac_libobjs
41758
41759 LTLIBOBJS=$ac_ltlibobjs
41760
41761
41762
41763 : "${CONFIG_STATUS=./config.status}"
41764 ac_write_fail=0
41765 ac_clean_files_save=$ac_clean_files
41766 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41767 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41768 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41769 as_write_fail=0
41770 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41771 #! $SHELL
41772 # Generated by $as_me.
41773 # Run this file to recreate the current configuration.
41774 # Compiler output produced by configure, useful for debugging
41775 # configure, is in config.log if it exists.
41776
41777 debug=false
41778 ac_cs_recheck=false
41779 ac_cs_silent=false
41780
41781 SHELL=\${CONFIG_SHELL-$SHELL}
41782 export SHELL
41783 _ASEOF
41784 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
41785 ## -------------------- ##
41786 ## M4sh Initialization. ##
41787 ## -------------------- ##
41788
41789 # Be more Bourne compatible
41790 DUALCASE=1; export DUALCASE # for MKS sh
41791 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
41792 emulate sh
41793 NULLCMD=:
41794 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41795 # is contrary to our usage. Disable this feature.
41796 alias -g '${1+"$@"}'='"$@"'
41797 setopt NO_GLOB_SUBST
41798 else
41799 case `(set -o) 2>/dev/null` in #(
41800 *posix*) :
41801 set -o posix ;; #(
41802 *) :
41803 ;;
41804 esac
41805 fi
41806
41807
41808 as_nl='
41809 '
41810 export as_nl
41811 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41812 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41813 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41814 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41815 # Prefer a ksh shell builtin over an external printf program on Solaris,
41816 # but without wasting forks for bash or zsh.
41817 if test -z "$BASH_VERSION$ZSH_VERSION" \
41818 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41819 as_echo='print -r --'
41820 as_echo_n='print -rn --'
41821 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41822 as_echo='printf %s\n'
41823 as_echo_n='printf %s'
41824 else
41825 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41826 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
41827 as_echo_n='/usr/ucb/echo -n'
41828 else
41829 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41830 as_echo_n_body='eval
41831 arg=$1;
41832 case $arg in #(
41833 *"$as_nl"*)
41834 expr "X$arg" : "X\\(.*\\)$as_nl";
41835 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41836 esac;
41837 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41838 '
41839 export as_echo_n_body
41840 as_echo_n='sh -c $as_echo_n_body as_echo'
41841 fi
41842 export as_echo_body
41843 as_echo='sh -c $as_echo_body as_echo'
41844 fi
41845
41846 # The user is always right.
41847 if test "${PATH_SEPARATOR+set}" != set; then
41848 PATH_SEPARATOR=:
41849 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41850 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41851 PATH_SEPARATOR=';'
41852 }
41853 fi
41854
41855
41856 # IFS
41857 # We need space, tab and new line, in precisely that order. Quoting is
41858 # there to prevent editors from complaining about space-tab.
41859 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41860 # splitting by setting IFS to empty value.)
41861 IFS=" "" $as_nl"
41862
41863 # Find who we are. Look in the path if we contain no directory separator.
41864 as_myself=
41865 case $0 in #((
41866 *[\\/]* ) as_myself=$0 ;;
41867 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41868 for as_dir in $PATH
41869 do
41870 IFS=$as_save_IFS
41871 test -z "$as_dir" && as_dir=.
41872 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41873 done
41874 IFS=$as_save_IFS
41875
41876 ;;
41877 esac
41878 # We did not find ourselves, most probably we were run as `sh COMMAND'
41879 # in which case we are not to be found in the path.
41880 if test "x$as_myself" = x; then
41881 as_myself=$0
41882 fi
41883 if test ! -f "$as_myself"; then
41884 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41885 exit 1
41886 fi
41887
41888 # Unset variables that we do not need and which cause bugs (e.g. in
41889 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41890 # suppresses any "Segmentation fault" message there. '((' could
41891 # trigger a bug in pdksh 5.2.14.
41892 for as_var in BASH_ENV ENV MAIL MAILPATH
41893 do eval test x\${$as_var+set} = xset \
41894 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
41895 done
41896 PS1='$ '
41897 PS2='> '
41898 PS4='+ '
41899
41900 # NLS nuisances.
41901 LC_ALL=C
41902 export LC_ALL
41903 LANGUAGE=C
41904 export LANGUAGE
41905
41906 # CDPATH.
41907 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
41908
41909
41910 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41911 # ----------------------------------------
41912 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41913 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41914 # script with STATUS, using 1 if that was 0.
41915 as_fn_error ()
41916 {
41917 as_status=$1; test $as_status -eq 0 && as_status=1
41918 if test "$4"; then
41919 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41920 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41921 fi
41922 $as_echo "$as_me: error: $2" >&2
41923 as_fn_exit $as_status
41924 } # as_fn_error
41925
41926
41927 # as_fn_set_status STATUS
41928 # -----------------------
41929 # Set $? to STATUS, without forking.
41930 as_fn_set_status ()
41931 {
41932 return $1
41933 } # as_fn_set_status
41934
41935 # as_fn_exit STATUS
41936 # -----------------
41937 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41938 as_fn_exit ()
41939 {
41940 set +e
41941 as_fn_set_status $1
41942 exit $1
41943 } # as_fn_exit
41944
41945 # as_fn_unset VAR
41946 # ---------------
41947 # Portably unset VAR.
41948 as_fn_unset ()
41949 {
41950 { eval $1=; unset $1;}
41951 }
41952 as_unset=as_fn_unset
41953 # as_fn_append VAR VALUE
41954 # ----------------------
41955 # Append the text in VALUE to the end of the definition contained in VAR. Take
41956 # advantage of any shell optimizations that allow amortized linear growth over
41957 # repeated appends, instead of the typical quadratic growth present in naive
41958 # implementations.
41959 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
41960 eval 'as_fn_append ()
41961 {
41962 eval $1+=\$2
41963 }'
41964 else
41965 as_fn_append ()
41966 {
41967 eval $1=\$$1\$2
41968 }
41969 fi # as_fn_append
41970
41971 # as_fn_arith ARG...
41972 # ------------------
41973 # Perform arithmetic evaluation on the ARGs, and store the result in the
41974 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41975 # must be portable across $(()) and expr.
41976 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
41977 eval 'as_fn_arith ()
41978 {
41979 as_val=$(( $* ))
41980 }'
41981 else
41982 as_fn_arith ()
41983 {
41984 as_val=`expr "$@" || test $? -eq 1`
41985 }
41986 fi # as_fn_arith
41987
41988
41989 if expr a : '\(a\)' >/dev/null 2>&1 &&
41990 test "X`expr 00001 : '.*\(...\)'`" = X001; then
41991 as_expr=expr
41992 else
41993 as_expr=false
41994 fi
41995
41996 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41997 as_basename=basename
41998 else
41999 as_basename=false
42000 fi
42001
42002 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
42003 as_dirname=dirname
42004 else
42005 as_dirname=false
42006 fi
42007
42008 as_me=`$as_basename -- "$0" ||
42009 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42010 X"$0" : 'X\(//\)$' \| \
42011 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
42012 $as_echo X/"$0" |
42013 sed '/^.*\/\([^/][^/]*\)\/*$/{
42014 s//\1/
42015 q
42016 }
42017 /^X\/\(\/\/\)$/{
42018 s//\1/
42019 q
42020 }
42021 /^X\/\(\/\).*/{
42022 s//\1/
42023 q
42024 }
42025 s/.*/./; q'`
42026
42027 # Avoid depending upon Character Ranges.
42028 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
42029 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42030 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
42031 as_cr_digits='0123456789'
42032 as_cr_alnum=$as_cr_Letters$as_cr_digits
42033
42034 ECHO_C= ECHO_N= ECHO_T=
42035 case `echo -n x` in #(((((
42036 -n*)
42037 case `echo 'xy\c'` in
42038 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
42039 xy) ECHO_C='\c';;
42040 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
42041 ECHO_T=' ';;
42042 esac;;
42043 *)
42044 ECHO_N='-n';;
42045 esac
42046
42047 rm -f conf$$ conf$$.exe conf$$.file
42048 if test -d conf$$.dir; then
42049 rm -f conf$$.dir/conf$$.file
42050 else
42051 rm -f conf$$.dir
42052 mkdir conf$$.dir 2>/dev/null
42053 fi
42054 if (echo >conf$$.file) 2>/dev/null; then
42055 if ln -s conf$$.file conf$$ 2>/dev/null; then
42056 as_ln_s='ln -s'
42057 # ... but there are two gotchas:
42058 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
42059 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
42060 # In both cases, we have to default to `cp -pR'.
42061 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
42062 as_ln_s='cp -pR'
42063 elif ln conf$$.file conf$$ 2>/dev/null; then
42064 as_ln_s=ln
42065 else
42066 as_ln_s='cp -pR'
42067 fi
42068 else
42069 as_ln_s='cp -pR'
42070 fi
42071 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
42072 rmdir conf$$.dir 2>/dev/null
42073
42074
42075 # as_fn_mkdir_p
42076 # -------------
42077 # Create "$as_dir" as a directory, including parents if necessary.
42078 as_fn_mkdir_p ()
42079 {
42080
42081 case $as_dir in #(
42082 -*) as_dir=./$as_dir;;
42083 esac
42084 test -d "$as_dir" || eval $as_mkdir_p || {
42085 as_dirs=
42086 while :; do
42087 case $as_dir in #(
42088 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
42089 *) as_qdir=$as_dir;;
42090 esac
42091 as_dirs="'$as_qdir' $as_dirs"
42092 as_dir=`$as_dirname -- "$as_dir" ||
42093 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42094 X"$as_dir" : 'X\(//\)[^/]' \| \
42095 X"$as_dir" : 'X\(//\)$' \| \
42096 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
42097 $as_echo X"$as_dir" |
42098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42099 s//\1/
42100 q
42101 }
42102 /^X\(\/\/\)[^/].*/{
42103 s//\1/
42104 q
42105 }
42106 /^X\(\/\/\)$/{
42107 s//\1/
42108 q
42109 }
42110 /^X\(\/\).*/{
42111 s//\1/
42112 q
42113 }
42114 s/.*/./; q'`
42115 test -d "$as_dir" && break
42116 done
42117 test -z "$as_dirs" || eval "mkdir $as_dirs"
42118 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
42119
42120
42121 } # as_fn_mkdir_p
42122 if mkdir -p . 2>/dev/null; then
42123 as_mkdir_p='mkdir -p "$as_dir"'
42124 else
42125 test -d ./-p && rmdir ./-p
42126 as_mkdir_p=false
42127 fi
42128
42129
42130 # as_fn_executable_p FILE
42131 # -----------------------
42132 # Test if FILE is an executable regular file.
42133 as_fn_executable_p ()
42134 {
42135 test -f "$1" && test -x "$1"
42136 } # as_fn_executable_p
42137 as_test_x='test -x'
42138 as_executable_p=as_fn_executable_p
42139
42140 # Sed expression to map a string onto a valid CPP name.
42141 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42142
42143 # Sed expression to map a string onto a valid variable name.
42144 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42145
42146
42147 exec 6>&1
42148 ## ----------------------------------- ##
42149 ## Main body of $CONFIG_STATUS script. ##
42150 ## ----------------------------------- ##
42151 _ASEOF
42152 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
42153
42154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42155 # Save the log message, to keep $0 and so on meaningful, and to
42156 # report actual input values of CONFIG_FILES etc. instead of their
42157 # values after options handling.
42158 ac_log="
42159 This file was extended by wxWidgets $as_me 2.9.5, which was
42160 generated by GNU Autoconf 2.69. Invocation command line was
42161
42162 CONFIG_FILES = $CONFIG_FILES
42163 CONFIG_HEADERS = $CONFIG_HEADERS
42164 CONFIG_LINKS = $CONFIG_LINKS
42165 CONFIG_COMMANDS = $CONFIG_COMMANDS
42166 $ $0 $@
42167
42168 on `(hostname || uname -n) 2>/dev/null | sed 1q`
42169 "
42170
42171 _ACEOF
42172
42173 case $ac_config_files in *"
42174 "*) set x $ac_config_files; shift; ac_config_files=$*;;
42175 esac
42176
42177 case $ac_config_headers in *"
42178 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
42179 esac
42180
42181
42182 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42183 # Files that config.status was made for.
42184 config_files="$ac_config_files"
42185 config_headers="$ac_config_headers"
42186 config_commands="$ac_config_commands"
42187
42188 _ACEOF
42189
42190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42191 ac_cs_usage="\
42192 \`$as_me' instantiates files and other configuration actions
42193 from templates according to the current configuration. Unless the files
42194 and actions are specified as TAGs, all are instantiated by default.
42195
42196 Usage: $0 [OPTION]... [TAG]...
42197
42198 -h, --help print this help, then exit
42199 -V, --version print version number and configuration settings, then exit
42200 --config print configuration, then exit
42201 -q, --quiet, --silent
42202 do not print progress messages
42203 -d, --debug don't remove temporary files
42204 --recheck update $as_me by reconfiguring in the same conditions
42205 --file=FILE[:TEMPLATE]
42206 instantiate the configuration file FILE
42207 --header=FILE[:TEMPLATE]
42208 instantiate the configuration header FILE
42209
42210 Configuration files:
42211 $config_files
42212
42213 Configuration headers:
42214 $config_headers
42215
42216 Configuration commands:
42217 $config_commands
42218
42219 Report bugs to <wx-dev@lists.wxwidgets.org>."
42220
42221 _ACEOF
42222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42223 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
42224 ac_cs_version="\\
42225 wxWidgets config.status 2.9.5
42226 configured by $0, generated by GNU Autoconf 2.69,
42227 with options \\"\$ac_cs_config\\"
42228
42229 Copyright (C) 2012 Free Software Foundation, Inc.
42230 This config.status script is free software; the Free Software Foundation
42231 gives unlimited permission to copy, distribute and modify it."
42232
42233 ac_pwd='$ac_pwd'
42234 srcdir='$srcdir'
42235 INSTALL='$INSTALL'
42236 test -n "\$AWK" || AWK=awk
42237 _ACEOF
42238
42239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42240 # The default lists apply if the user does not specify any file.
42241 ac_need_defaults=:
42242 while test $# != 0
42243 do
42244 case $1 in
42245 --*=?*)
42246 ac_option=`expr "X$1" : 'X\([^=]*\)='`
42247 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
42248 ac_shift=:
42249 ;;
42250 --*=)
42251 ac_option=`expr "X$1" : 'X\([^=]*\)='`
42252 ac_optarg=
42253 ac_shift=:
42254 ;;
42255 *)
42256 ac_option=$1
42257 ac_optarg=$2
42258 ac_shift=shift
42259 ;;
42260 esac
42261
42262 case $ac_option in
42263 # Handling of the options.
42264 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42265 ac_cs_recheck=: ;;
42266 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42267 $as_echo "$ac_cs_version"; exit ;;
42268 --config | --confi | --conf | --con | --co | --c )
42269 $as_echo "$ac_cs_config"; exit ;;
42270 --debug | --debu | --deb | --de | --d | -d )
42271 debug=: ;;
42272 --file | --fil | --fi | --f )
42273 $ac_shift
42274 case $ac_optarg in
42275 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42276 '') as_fn_error $? "missing file argument" ;;
42277 esac
42278 as_fn_append CONFIG_FILES " '$ac_optarg'"
42279 ac_need_defaults=false;;
42280 --header | --heade | --head | --hea )
42281 $ac_shift
42282 case $ac_optarg in
42283 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42284 esac
42285 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
42286 ac_need_defaults=false;;
42287 --he | --h)
42288 # Conflict between --help and --header
42289 as_fn_error $? "ambiguous option: \`$1'
42290 Try \`$0 --help' for more information.";;
42291 --help | --hel | -h )
42292 $as_echo "$ac_cs_usage"; exit ;;
42293 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42294 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42295 ac_cs_silent=: ;;
42296
42297 # This is an error.
42298 -*) as_fn_error $? "unrecognized option: \`$1'
42299 Try \`$0 --help' for more information." ;;
42300
42301 *) as_fn_append ac_config_targets " $1"
42302 ac_need_defaults=false ;;
42303
42304 esac
42305 shift
42306 done
42307
42308 ac_configure_extra_args=
42309
42310 if $ac_cs_silent; then
42311 exec 6>/dev/null
42312 ac_configure_extra_args="$ac_configure_extra_args --silent"
42313 fi
42314
42315 _ACEOF
42316 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42317 if \$ac_cs_recheck; then
42318 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42319 shift
42320 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42321 CONFIG_SHELL='$SHELL'
42322 export CONFIG_SHELL
42323 exec "\$@"
42324 fi
42325
42326 _ACEOF
42327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42328 exec 5>>config.log
42329 {
42330 echo
42331 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42332 ## Running $as_me. ##
42333 _ASBOX
42334 $as_echo "$ac_log"
42335 } >&5
42336
42337 _ACEOF
42338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42339 #
42340 # INIT-COMMANDS
42341 #
42342
42343 CPP="$CPP"
42344 infile="$srcdir/include/wx/msw/genrcdefs.h"
42345 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42346
42347
42348 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42349 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42350 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42351 LN_S="${LN_S}"
42352
42353
42354 _ACEOF
42355
42356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42357
42358 # Handling of arguments.
42359 for ac_config_target in $ac_config_targets
42360 do
42361 case $ac_config_target in
42362 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42363 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
42364 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42365 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42366 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42367 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
42368 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42369 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
42370 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
42371
42372 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42373 esac
42374 done
42375
42376
42377 # If the user did not use the arguments to specify the items to instantiate,
42378 # then the envvar interface is used. Set only those that are not.
42379 # We use the long form for the default assignment because of an extremely
42380 # bizarre bug on SunOS 4.1.3.
42381 if $ac_need_defaults; then
42382 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42383 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42384 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42385 fi
42386
42387 # Have a temporary directory for convenience. Make it in the build tree
42388 # simply because there is no reason against having it here, and in addition,
42389 # creating and moving files from /tmp can sometimes cause problems.
42390 # Hook for its removal unless debugging.
42391 # Note that there is a small window in which the directory will not be cleaned:
42392 # after its creation but before its name has been assigned to `$tmp'.
42393 $debug ||
42394 {
42395 tmp= ac_tmp=
42396 trap 'exit_status=$?
42397 : "${ac_tmp:=$tmp}"
42398 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42399 ' 0
42400 trap 'as_fn_exit 1' 1 2 13 15
42401 }
42402 # Create a (secure) tmp directory for tmp files.
42403
42404 {
42405 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42406 test -d "$tmp"
42407 } ||
42408 {
42409 tmp=./conf$$-$RANDOM
42410 (umask 077 && mkdir "$tmp")
42411 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
42412 ac_tmp=$tmp
42413
42414 # Set up the scripts for CONFIG_FILES section.
42415 # No need to generate them if there are no CONFIG_FILES.
42416 # This happens for instance with `./config.status config.h'.
42417 if test -n "$CONFIG_FILES"; then
42418
42419
42420 ac_cr=`echo X | tr X '\015'`
42421 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42422 # But we know of no other shell where ac_cr would be empty at this
42423 # point, so we can use a bashism as a fallback.
42424 if test "x$ac_cr" = x; then
42425 eval ac_cr=\$\'\\r\'
42426 fi
42427 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42428 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42429 ac_cs_awk_cr='\\r'
42430 else
42431 ac_cs_awk_cr=$ac_cr
42432 fi
42433
42434 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42435 _ACEOF
42436
42437
42438 {
42439 echo "cat >conf$$subs.awk <<_ACEOF" &&
42440 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42441 echo "_ACEOF"
42442 } >conf$$subs.sh ||
42443 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42444 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42445 ac_delim='%!_!# '
42446 for ac_last_try in false false false false false :; do
42447 . ./conf$$subs.sh ||
42448 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42449
42450 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
42451 if test $ac_delim_n = $ac_delim_num; then
42452 break
42453 elif $ac_last_try; then
42454 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42455 else
42456 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42457 fi
42458 done
42459 rm -f conf$$subs.sh
42460
42461 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42462 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
42463 _ACEOF
42464 sed -n '
42465 h
42466 s/^/S["/; s/!.*/"]=/
42467 p
42468 g
42469 s/^[^!]*!//
42470 :repl
42471 t repl
42472 s/'"$ac_delim"'$//
42473 t delim
42474 :nl
42475 h
42476 s/\(.\{148\}\)..*/\1/
42477 t more1
42478 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
42479 p
42480 n
42481 b repl
42482 :more1
42483 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42484 p
42485 g
42486 s/.\{148\}//
42487 t nl
42488 :delim
42489 h
42490 s/\(.\{148\}\)..*/\1/
42491 t more2
42492 s/["\\]/\\&/g; s/^/"/; s/$/"/
42493 p
42494 b
42495 :more2
42496 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42497 p
42498 g
42499 s/.\{148\}//
42500 t delim
42501 ' <conf$$subs.awk | sed '
42502 /^[^""]/{
42503 N
42504 s/\n//
42505 }
42506 ' >>$CONFIG_STATUS || ac_write_fail=1
42507 rm -f conf$$subs.awk
42508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42509 _ACAWK
42510 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
42511 for (key in S) S_is_set[key] = 1
42512 FS = "\a"
42513
42514 }
42515 {
42516 line = $ 0
42517 nfields = split(line, field, "@")
42518 substed = 0
42519 len = length(field[1])
42520 for (i = 2; i < nfields; i++) {
42521 key = field[i]
42522 keylen = length(key)
42523 if (S_is_set[key]) {
42524 value = S[key]
42525 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42526 len += length(value) + length(field[++i])
42527 substed = 1
42528 } else
42529 len += 1 + keylen
42530 }
42531
42532 print line
42533 }
42534
42535 _ACAWK
42536 _ACEOF
42537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42538 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42539 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
42540 else
42541 cat
42542 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
42543 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
42544 _ACEOF
42545
42546 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42547 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
42548 # trailing colons and then remove the whole line if VPATH becomes empty
42549 # (actually we leave an empty line to preserve line numbers).
42550 if test "x$srcdir" = x.; then
42551 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
42552 h
42553 s///
42554 s/^/:/
42555 s/[ ]*$/:/
42556 s/:\$(srcdir):/:/g
42557 s/:\${srcdir}:/:/g
42558 s/:@srcdir@:/:/g
42559 s/^:*//
42560 s/:*$//
42561 x
42562 s/\(=[ ]*\).*/\1/
42563 G
42564 s/\n//
42565 s/^[^=]*=[ ]*$//
42566 }'
42567 fi
42568
42569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42570 fi # test -n "$CONFIG_FILES"
42571
42572 # Set up the scripts for CONFIG_HEADERS section.
42573 # No need to generate them if there are no CONFIG_HEADERS.
42574 # This happens for instance with `./config.status Makefile'.
42575 if test -n "$CONFIG_HEADERS"; then
42576 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
42577 BEGIN {
42578 _ACEOF
42579
42580 # Transform confdefs.h into an awk script `defines.awk', embedded as
42581 # here-document in config.status, that substitutes the proper values into
42582 # config.h.in to produce config.h.
42583
42584 # Create a delimiter string that does not exist in confdefs.h, to ease
42585 # handling of long lines.
42586 ac_delim='%!_!# '
42587 for ac_last_try in false false :; do
42588 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
42589 if test -z "$ac_tt"; then
42590 break
42591 elif $ac_last_try; then
42592 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
42593 else
42594 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42595 fi
42596 done
42597
42598 # For the awk script, D is an array of macro values keyed by name,
42599 # likewise P contains macro parameters if any. Preserve backslash
42600 # newline sequences.
42601
42602 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42603 sed -n '
42604 s/.\{148\}/&'"$ac_delim"'/g
42605 t rset
42606 :rset
42607 s/^[ ]*#[ ]*define[ ][ ]*/ /
42608 t def
42609 d
42610 :def
42611 s/\\$//
42612 t bsnl
42613 s/["\\]/\\&/g
42614 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42615 D["\1"]=" \3"/p
42616 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
42617 d
42618 :bsnl
42619 s/["\\]/\\&/g
42620 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42621 D["\1"]=" \3\\\\\\n"\\/p
42622 t cont
42623 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
42624 t cont
42625 d
42626 :cont
42627 n
42628 s/.\{148\}/&'"$ac_delim"'/g
42629 t clear
42630 :clear
42631 s/\\$//
42632 t bsnlc
42633 s/["\\]/\\&/g; s/^/"/; s/$/"/p
42634 d
42635 :bsnlc
42636 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
42637 b cont
42638 ' <confdefs.h | sed '
42639 s/'"$ac_delim"'/"\\\
42640 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42641
42642 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42643 for (key in D) D_is_set[key] = 1
42644 FS = "\a"
42645 }
42646 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42647 line = \$ 0
42648 split(line, arg, " ")
42649 if (arg[1] == "#") {
42650 defundef = arg[2]
42651 mac1 = arg[3]
42652 } else {
42653 defundef = substr(arg[1], 2)
42654 mac1 = arg[2]
42655 }
42656 split(mac1, mac2, "(") #)
42657 macro = mac2[1]
42658 prefix = substr(line, 1, index(line, defundef) - 1)
42659 if (D_is_set[macro]) {
42660 # Preserve the white space surrounding the "#".
42661 print prefix "define", macro P[macro] D[macro]
42662 next
42663 } else {
42664 # Replace #undef with comments. This is necessary, for example,
42665 # in the case of _POSIX_SOURCE, which is predefined and required
42666 # on some systems where configure will not decide to define it.
42667 if (defundef == "undef") {
42668 print "/*", prefix defundef, macro, "*/"
42669 next
42670 }
42671 }
42672 }
42673 { print }
42674 _ACAWK
42675 _ACEOF
42676 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42677 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
42678 fi # test -n "$CONFIG_HEADERS"
42679
42680
42681 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42682 shift
42683 for ac_tag
42684 do
42685 case $ac_tag in
42686 :[FHLC]) ac_mode=$ac_tag; continue;;
42687 esac
42688 case $ac_mode$ac_tag in
42689 :[FHL]*:*);;
42690 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
42691 :[FH]-) ac_tag=-:-;;
42692 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
42693 esac
42694 ac_save_IFS=$IFS
42695 IFS=:
42696 set x $ac_tag
42697 IFS=$ac_save_IFS
42698 shift
42699 ac_file=$1
42700 shift
42701
42702 case $ac_mode in
42703 :L) ac_source=$1;;
42704 :[FH])
42705 ac_file_inputs=
42706 for ac_f
42707 do
42708 case $ac_f in
42709 -) ac_f="$ac_tmp/stdin";;
42710 *) # Look for the file first in the build tree, then in the source tree
42711 # (if the path is not absolute). The absolute path cannot be DOS-style,
42712 # because $ac_f cannot contain `:'.
42713 test -f "$ac_f" ||
42714 case $ac_f in
42715 [\\/$]*) false;;
42716 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
42717 esac ||
42718 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42719 esac
42720 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42721 as_fn_append ac_file_inputs " '$ac_f'"
42722 done
42723
42724 # Let's still pretend it is `configure' which instantiates (i.e., don't
42725 # use $as_me), people would be surprised to read:
42726 # /* config.h. Generated by config.status. */
42727 configure_input='Generated from '`
42728 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42729 `' by configure.'
42730 if test x"$ac_file" != x-; then
42731 configure_input="$ac_file. $configure_input"
42732 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42733 $as_echo "$as_me: creating $ac_file" >&6;}
42734 fi
42735 # Neutralize special characters interpreted by sed in replacement strings.
42736 case $configure_input in #(
42737 *\&* | *\|* | *\\* )
42738 ac_sed_conf_input=`$as_echo "$configure_input" |
42739 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42740 *) ac_sed_conf_input=$configure_input;;
42741 esac
42742
42743 case $ac_tag in
42744 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42745 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
42746 esac
42747 ;;
42748 esac
42749
42750 ac_dir=`$as_dirname -- "$ac_file" ||
42751 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42752 X"$ac_file" : 'X\(//\)[^/]' \| \
42753 X"$ac_file" : 'X\(//\)$' \| \
42754 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42755 $as_echo X"$ac_file" |
42756 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42757 s//\1/
42758 q
42759 }
42760 /^X\(\/\/\)[^/].*/{
42761 s//\1/
42762 q
42763 }
42764 /^X\(\/\/\)$/{
42765 s//\1/
42766 q
42767 }
42768 /^X\(\/\).*/{
42769 s//\1/
42770 q
42771 }
42772 s/.*/./; q'`
42773 as_dir="$ac_dir"; as_fn_mkdir_p
42774 ac_builddir=.
42775
42776 case "$ac_dir" in
42777 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42778 *)
42779 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42780 # A ".." for each directory in $ac_dir_suffix.
42781 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42782 case $ac_top_builddir_sub in
42783 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42784 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42785 esac ;;
42786 esac
42787 ac_abs_top_builddir=$ac_pwd
42788 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42789 # for backward compatibility:
42790 ac_top_builddir=$ac_top_build_prefix
42791
42792 case $srcdir in
42793 .) # We are building in place.
42794 ac_srcdir=.
42795 ac_top_srcdir=$ac_top_builddir_sub
42796 ac_abs_top_srcdir=$ac_pwd ;;
42797 [\\/]* | ?:[\\/]* ) # Absolute name.
42798 ac_srcdir=$srcdir$ac_dir_suffix;
42799 ac_top_srcdir=$srcdir
42800 ac_abs_top_srcdir=$srcdir ;;
42801 *) # Relative name.
42802 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42803 ac_top_srcdir=$ac_top_build_prefix$srcdir
42804 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42805 esac
42806 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42807
42808
42809 case $ac_mode in
42810 :F)
42811 #
42812 # CONFIG_FILE
42813 #
42814
42815 case $INSTALL in
42816 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42817 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
42818 esac
42819 _ACEOF
42820
42821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42822 # If the template does not know about datarootdir, expand it.
42823 # FIXME: This hack should be removed a few years after 2.60.
42824 ac_datarootdir_hack=; ac_datarootdir_seen=
42825 ac_sed_dataroot='
42826 /datarootdir/ {
42827 p
42828 q
42829 }
42830 /@datadir@/p
42831 /@docdir@/p
42832 /@infodir@/p
42833 /@localedir@/p
42834 /@mandir@/p'
42835 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42836 *datarootdir*) ac_datarootdir_seen=yes;;
42837 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
42838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42839 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42840 _ACEOF
42841 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42842 ac_datarootdir_hack='
42843 s&@datadir@&$datadir&g
42844 s&@docdir@&$docdir&g
42845 s&@infodir@&$infodir&g
42846 s&@localedir@&$localedir&g
42847 s&@mandir@&$mandir&g
42848 s&\\\${datarootdir}&$datarootdir&g' ;;
42849 esac
42850 _ACEOF
42851
42852 # Neutralize VPATH when `$srcdir' = `.'.
42853 # Shell code in configure.ac might set extrasub.
42854 # FIXME: do we really want to maintain this feature?
42855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42856 ac_sed_extra="$ac_vpsub
42857 $extrasub
42858 _ACEOF
42859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42860 :t
42861 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42862 s|@configure_input@|$ac_sed_conf_input|;t t
42863 s&@top_builddir@&$ac_top_builddir_sub&;t t
42864 s&@top_build_prefix@&$ac_top_build_prefix&;t t
42865 s&@srcdir@&$ac_srcdir&;t t
42866 s&@abs_srcdir@&$ac_abs_srcdir&;t t
42867 s&@top_srcdir@&$ac_top_srcdir&;t t
42868 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42869 s&@builddir@&$ac_builddir&;t t
42870 s&@abs_builddir@&$ac_abs_builddir&;t t
42871 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42872 s&@INSTALL@&$ac_INSTALL&;t t
42873 $ac_datarootdir_hack
42874 "
42875 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
42876 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42877
42878 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42879 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
42880 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
42881 "$ac_tmp/out"`; test -z "$ac_out"; } &&
42882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42883 which seems to be undefined. Please make sure it is defined" >&5
42884 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42885 which seems to be undefined. Please make sure it is defined" >&2;}
42886
42887 rm -f "$ac_tmp/stdin"
42888 case $ac_file in
42889 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42890 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42891 esac \
42892 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42893 ;;
42894 :H)
42895 #
42896 # CONFIG_HEADER
42897 #
42898 if test x"$ac_file" != x-; then
42899 {
42900 $as_echo "/* $configure_input */" \
42901 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42902 } >"$ac_tmp/config.h" \
42903 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42904 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42905 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42906 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42907 else
42908 rm -f "$ac_file"
42909 mv "$ac_tmp/config.h" "$ac_file" \
42910 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42911 fi
42912 else
42913 $as_echo "/* $configure_input */" \
42914 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42915 || as_fn_error $? "could not create -" "$LINENO" 5
42916 fi
42917 ;;
42918
42919 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42920 $as_echo "$as_me: executing $ac_file commands" >&6;}
42921 ;;
42922 esac
42923
42924
42925 case $ac_file$ac_mode in
42926 "rcdefs.h":C)
42927 mkdir -p $outdir &&
42928 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42929 ;;
42930 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42931 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42932 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
42933 "wx-config":C) rm -f wx-config
42934 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42935 ;;
42936
42937 esac
42938 done # for ac_tag
42939
42940
42941 as_fn_exit 0
42942 _ACEOF
42943 ac_clean_files=$ac_clean_files_save
42944
42945 test $ac_write_fail = 0 ||
42946 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
42947
42948
42949 # configure is writing to config.log, and then calls config.status.
42950 # config.status does its own redirection, appending to config.log.
42951 # Unfortunately, on DOS this fails, as config.log is still kept open
42952 # by configure, so config.status won't be able to write to it; its
42953 # output is simply discarded. So we exec the FD to /dev/null,
42954 # effectively closing config.log, so it can be properly (re)opened and
42955 # appended to by config.status. When coming back to configure, we
42956 # need to make the FD available again.
42957 if test "$no_create" != yes; then
42958 ac_cs_success=:
42959 ac_config_status_args=
42960 test "$silent" = yes &&
42961 ac_config_status_args="$ac_config_status_args --quiet"
42962 exec 5>/dev/null
42963 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42964 exec 5>>config.log
42965 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42966 # would make configure fail if this is the last instruction.
42967 $ac_cs_success || as_fn_exit 1
42968 fi
42969
42970 #
42971 # CONFIG_SUBDIRS section.
42972 #
42973 if test "$no_recursion" != yes; then
42974
42975 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42976 # so they do not pile up.
42977 ac_sub_configure_args=
42978 ac_prev=
42979 eval "set x $ac_configure_args"
42980 shift
42981 for ac_arg
42982 do
42983 if test -n "$ac_prev"; then
42984 ac_prev=
42985 continue
42986 fi
42987 case $ac_arg in
42988 -cache-file | --cache-file | --cache-fil | --cache-fi \
42989 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42990 ac_prev=cache_file ;;
42991 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42992 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42993 | --c=*)
42994 ;;
42995 --config-cache | -C)
42996 ;;
42997 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42998 ac_prev=srcdir ;;
42999 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43000 ;;
43001 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43002 ac_prev=prefix ;;
43003 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43004 ;;
43005 --disable-option-checking)
43006 ;;
43007 *)
43008 case $ac_arg in
43009 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
43010 esac
43011 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
43012 esac
43013 done
43014
43015 # Always prepend --prefix to ensure using the same prefix
43016 # in subdir configurations.
43017 ac_arg="--prefix=$prefix"
43018 case $ac_arg in
43019 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
43020 esac
43021 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
43022
43023 # Pass --silent
43024 if test "$silent" = yes; then
43025 ac_sub_configure_args="--silent $ac_sub_configure_args"
43026 fi
43027
43028 # Always prepend --disable-option-checking to silence warnings, since
43029 # different subdirs can have different --enable and --with options.
43030 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
43031
43032 ac_popdir=`pwd`
43033 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
43034
43035 # Do not complain, so a configure script can configure whichever
43036 # parts of a large source tree are present.
43037 test -d "$srcdir/$ac_dir" || continue
43038
43039 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
43040 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
43041 $as_echo "$ac_msg" >&6
43042 as_dir="$ac_dir"; as_fn_mkdir_p
43043 ac_builddir=.
43044
43045 case "$ac_dir" in
43046 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
43047 *)
43048 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
43049 # A ".." for each directory in $ac_dir_suffix.
43050 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
43051 case $ac_top_builddir_sub in
43052 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
43053 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
43054 esac ;;
43055 esac
43056 ac_abs_top_builddir=$ac_pwd
43057 ac_abs_builddir=$ac_pwd$ac_dir_suffix
43058 # for backward compatibility:
43059 ac_top_builddir=$ac_top_build_prefix
43060
43061 case $srcdir in
43062 .) # We are building in place.
43063 ac_srcdir=.
43064 ac_top_srcdir=$ac_top_builddir_sub
43065 ac_abs_top_srcdir=$ac_pwd ;;
43066 [\\/]* | ?:[\\/]* ) # Absolute name.
43067 ac_srcdir=$srcdir$ac_dir_suffix;
43068 ac_top_srcdir=$srcdir
43069 ac_abs_top_srcdir=$srcdir ;;
43070 *) # Relative name.
43071 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
43072 ac_top_srcdir=$ac_top_build_prefix$srcdir
43073 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
43074 esac
43075 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
43076
43077
43078 cd "$ac_dir"
43079
43080 # Check for guested configure; otherwise get Cygnus style configure.
43081 if test -f "$ac_srcdir/configure.gnu"; then
43082 ac_sub_configure=$ac_srcdir/configure.gnu
43083 elif test -f "$ac_srcdir/configure"; then
43084 ac_sub_configure=$ac_srcdir/configure
43085 elif test -f "$ac_srcdir/configure.in"; then
43086 # This should be Cygnus configure.
43087 ac_sub_configure=$ac_aux_dir/configure
43088 else
43089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
43090 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43091 ac_sub_configure=
43092 fi
43093
43094 # The recursion is here.
43095 if test -n "$ac_sub_configure"; then
43096 # Make the cache file name correct relative to the subdirectory.
43097 case $cache_file in
43098 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
43099 *) # Relative name.
43100 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
43101 esac
43102
43103 { $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
43104 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43105 # The eval makes quoting arguments work.
43106 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
43107 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
43108 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
43109 fi
43110
43111 cd "$ac_popdir"
43112 done
43113 fi
43114 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
43115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
43116 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
43117 fi
43118
43119
43120 echo
43121 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43122 echo ""
43123 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
43124 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43125 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43126 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
43127 if test "$wxUSE_UNICODE" = "yes"; then
43128 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
43129 echo " (using UTF-8)"
43130 else
43131 echo " (using wchar_t)"
43132 fi
43133 else
43134 echo
43135 fi
43136
43137 echo " What level of wxWidgets compatibility should be enabled?"
43138 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
43139 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
43140
43141 echo " Which libraries should wxWidgets use?"
43142 echo " STL ${wxUSE_STL}"
43143 echo " jpeg ${wxUSE_LIBJPEG-none}"
43144 echo " png ${wxUSE_LIBPNG-none}"
43145 echo " regex ${wxUSE_REGEX}"
43146 echo " tiff ${wxUSE_LIBTIFF-none}"
43147 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43148 echo " xpm ${wxUSE_LIBXPM-none}"
43149 fi
43150 echo " zlib ${wxUSE_ZLIB}"
43151 echo " expat ${wxUSE_EXPAT}"
43152 echo " libmspack ${wxUSE_LIBMSPACK}"
43153 echo " sdl ${wxUSE_LIBSDL}"
43154
43155 echo ""
43156