]> git.saurik.com Git - wxWidgets.git/blob - configure
Remove some completely unused variables from configure.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for wxWidgets 2.9.5.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 #
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21 emulate sh
22 NULLCMD=:
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
26 setopt NO_GLOB_SUBST
27 else
28 case `(set -o) 2>/dev/null` in #(
29 *posix*) :
30 set -o posix ;; #(
31 *) :
32 ;;
33 esac
34 fi
35
36
37 as_nl='
38 '
39 export as_nl
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='print -r --'
49 as_echo_n='print -rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo='printf %s\n'
52 as_echo_n='printf %s'
53 else
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56 as_echo_n='/usr/ucb/echo -n'
57 else
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59 as_echo_n_body='eval
60 arg=$1;
61 case $arg in #(
62 *"$as_nl"*)
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 esac;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 '
68 export as_echo_n_body
69 as_echo_n='sh -c $as_echo_n_body as_echo'
70 fi
71 export as_echo_body
72 as_echo='sh -c $as_echo_body as_echo'
73 fi
74
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
77 PATH_SEPARATOR=:
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80 PATH_SEPARATOR=';'
81 }
82 fi
83
84
85 # IFS
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
90 IFS=" "" $as_nl"
91
92 # Find who we are. Look in the path if we contain no directory separator.
93 as_myself=
94 case $0 in #((
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99 IFS=$as_save_IFS
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 done
103 IFS=$as_save_IFS
104
105 ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110 as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 exit 1
115 fi
116
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 # Use a proper internal environment variable to ensure we don't fall
139 # into an infinite loop, continuously re-executing ourselves.
140 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 _as_can_reexec=no; export _as_can_reexec;
142 # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
146 BASH_ENV=/dev/null
147 ENV=/dev/null
148 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 case $- in # ((((
150 *v*x* | *x*v* ) as_opts=-vx ;;
151 *v* ) as_opts=-v ;;
152 *x* ) as_opts=-x ;;
153 * ) as_opts= ;;
154 esac
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 as_fn_exit 255
160 fi
161 # We don't want this to propagate to other subprocesses.
162 { _as_can_reexec=; unset _as_can_reexec;}
163 if test "x$CONFIG_SHELL" = x; then
164 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165 emulate sh
166 NULLCMD=:
167 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168 # is contrary to our usage. Disable this feature.
169 alias -g '\${1+\"\$@\"}'='\"\$@\"'
170 setopt NO_GLOB_SUBST
171 else
172 case \`(set -o) 2>/dev/null\` in #(
173 *posix*) :
174 set -o posix ;; #(
175 *) :
176 ;;
177 esac
178 fi
179 "
180 as_required="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
185
186 exitcode=0
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192
193 else
194 exitcode=1; echo positional parameters were not saved.
195 fi
196 test x\$exitcode = x0 || exit 1
197 test -x / || exit 1"
198 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test \$(( 1 + 1 )) = 2 || exit 1"
203 if (eval "$as_required") 2>/dev/null; then :
204 as_have_required=yes
205 else
206 as_have_required=no
207 fi
208 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209
210 else
211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 as_found=false
213 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 do
215 IFS=$as_save_IFS
216 test -z "$as_dir" && as_dir=.
217 as_found=:
218 case $as_dir in #(
219 /*)
220 for as_base in sh bash ksh sh5; do
221 # Try only shells that exist, to save several forks.
222 as_shell=$as_dir/$as_base
223 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
224 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
225 CONFIG_SHELL=$as_shell as_have_required=yes
226 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
227 break 2
228 fi
229 fi
230 done;;
231 esac
232 as_found=false
233 done
234 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
235 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
236 CONFIG_SHELL=$SHELL as_have_required=yes
237 fi; }
238 IFS=$as_save_IFS
239
240
241 if test "x$CONFIG_SHELL" != x; then :
242 export CONFIG_SHELL
243 # We cannot yet assume a decent shell, so we have to provide a
244 # neutralization value for shells without unset; and this also
245 # works around shells that cannot unset nonexistent variables.
246 # Preserve -v and -x to the replacement shell.
247 BASH_ENV=/dev/null
248 ENV=/dev/null
249 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 case $- in # ((((
251 *v*x* | *x*v* ) as_opts=-vx ;;
252 *v* ) as_opts=-v ;;
253 *x* ) as_opts=-x ;;
254 * ) as_opts= ;;
255 esac
256 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
257 # Admittedly, this is quite paranoid, since all the known shells bail
258 # out after a failed `exec'.
259 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 exit 255
261 fi
262
263 if test x$as_have_required = xno; then :
264 $as_echo "$0: This script requires a shell more modern than all"
265 $as_echo "$0: the shells that I found on your system."
266 if test x${ZSH_VERSION+set} = xset ; then
267 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 $as_echo "$0: Please tell bug-autoconf@gnu.org and
271 $0: wx-dev@lists.wxwidgets.org about your system, including
272 $0: any error possibly output before this message. Then
273 $0: install a modern shell, or manually run the script
274 $0: under such a shell if you do have one."
275 fi
276 exit 1
277 fi
278 fi
279 fi
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
285
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
293 {
294 { eval $1=; unset $1;}
295 }
296 as_unset=as_fn_unset
297
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
301 as_fn_set_status ()
302 {
303 return $1
304 } # as_fn_set_status
305
306 # as_fn_exit STATUS
307 # -----------------
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
309 as_fn_exit ()
310 {
311 set +e
312 as_fn_set_status $1
313 exit $1
314 } # as_fn_exit
315
316 # as_fn_mkdir_p
317 # -------------
318 # Create "$as_dir" as a directory, including parents if necessary.
319 as_fn_mkdir_p ()
320 {
321
322 case $as_dir in #(
323 -*) as_dir=./$as_dir;;
324 esac
325 test -d "$as_dir" || eval $as_mkdir_p || {
326 as_dirs=
327 while :; do
328 case $as_dir in #(
329 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330 *) as_qdir=$as_dir;;
331 esac
332 as_dirs="'$as_qdir' $as_dirs"
333 as_dir=`$as_dirname -- "$as_dir" ||
334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
335 X"$as_dir" : 'X\(//\)[^/]' \| \
336 X"$as_dir" : 'X\(//\)$' \| \
337 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338 $as_echo X"$as_dir" |
339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
340 s//\1/
341 q
342 }
343 /^X\(\/\/\)[^/].*/{
344 s//\1/
345 q
346 }
347 /^X\(\/\/\)$/{
348 s//\1/
349 q
350 }
351 /^X\(\/\).*/{
352 s//\1/
353 q
354 }
355 s/.*/./; q'`
356 test -d "$as_dir" && break
357 done
358 test -z "$as_dirs" || eval "mkdir $as_dirs"
359 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360
361
362 } # as_fn_mkdir_p
363
364 # as_fn_executable_p FILE
365 # -----------------------
366 # Test if FILE is an executable regular file.
367 as_fn_executable_p ()
368 {
369 test -f "$1" && test -x "$1"
370 } # as_fn_executable_p
371 # as_fn_append VAR VALUE
372 # ----------------------
373 # Append the text in VALUE to the end of the definition contained in VAR. Take
374 # advantage of any shell optimizations that allow amortized linear growth over
375 # repeated appends, instead of the typical quadratic growth present in naive
376 # implementations.
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
378 eval 'as_fn_append ()
379 {
380 eval $1+=\$2
381 }'
382 else
383 as_fn_append ()
384 {
385 eval $1=\$$1\$2
386 }
387 fi # as_fn_append
388
389 # as_fn_arith ARG...
390 # ------------------
391 # Perform arithmetic evaluation on the ARGs, and store the result in the
392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
393 # must be portable across $(()) and expr.
394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
395 eval 'as_fn_arith ()
396 {
397 as_val=$(( $* ))
398 }'
399 else
400 as_fn_arith ()
401 {
402 as_val=`expr "$@" || test $? -eq 1`
403 }
404 fi # as_fn_arith
405
406
407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
408 # ----------------------------------------
409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411 # script with STATUS, using 1 if that was 0.
412 as_fn_error ()
413 {
414 as_status=$1; test $as_status -eq 0 && as_status=1
415 if test "$4"; then
416 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 fi
419 $as_echo "$as_me: error: $2" >&2
420 as_fn_exit $as_status
421 } # as_fn_error
422
423 if expr a : '\(a\)' >/dev/null 2>&1 &&
424 test "X`expr 00001 : '.*\(...\)'`" = X001; then
425 as_expr=expr
426 else
427 as_expr=false
428 fi
429
430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431 as_basename=basename
432 else
433 as_basename=false
434 fi
435
436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
437 as_dirname=dirname
438 else
439 as_dirname=false
440 fi
441
442 as_me=`$as_basename -- "$0" ||
443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444 X"$0" : 'X\(//\)$' \| \
445 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 $as_echo X/"$0" |
447 sed '/^.*\/\([^/][^/]*\)\/*$/{
448 s//\1/
449 q
450 }
451 /^X\/\(\/\/\)$/{
452 s//\1/
453 q
454 }
455 /^X\/\(\/\).*/{
456 s//\1/
457 q
458 }
459 s/.*/./; q'`
460
461 # Avoid depending upon Character Ranges.
462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
465 as_cr_digits='0123456789'
466 as_cr_alnum=$as_cr_Letters$as_cr_digits
467
468
469 as_lineno_1=$LINENO as_lineno_1a=$LINENO
470 as_lineno_2=$LINENO as_lineno_2a=$LINENO
471 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
472 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
473 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
474 sed -n '
475 p
476 /[$]LINENO/=
477 ' <$as_myself |
478 sed '
479 s/[$]LINENO.*/&-/
480 t lineno
481 b
482 :lineno
483 N
484 :loop
485 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
486 t loop
487 s/-\n.*//
488 ' >$as_me.lineno &&
489 chmod +x "$as_me.lineno" ||
490 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491
492 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493 # already done that, so ensure we don't try to do so again and fall
494 # in an infinite loop. This has already happened in practice.
495 _as_can_reexec=no; export _as_can_reexec
496 # Don't try to exec as it changes $[0], causing all sort of problems
497 # (the dirname of $[0] is not the place where we might find the
498 # original and so on. Autoconf is especially sensitive to this).
499 . "./$as_me.lineno"
500 # Exit status is that of the last command.
501 exit
502 }
503
504 ECHO_C= ECHO_N= ECHO_T=
505 case `echo -n x` in #(((((
506 -n*)
507 case `echo 'xy\c'` in
508 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 xy) ECHO_C='\c';;
510 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
511 ECHO_T=' ';;
512 esac;;
513 *)
514 ECHO_N='-n';;
515 esac
516
517 rm -f conf$$ conf$$.exe conf$$.file
518 if test -d conf$$.dir; then
519 rm -f conf$$.dir/conf$$.file
520 else
521 rm -f conf$$.dir
522 mkdir conf$$.dir 2>/dev/null
523 fi
524 if (echo >conf$$.file) 2>/dev/null; then
525 if ln -s conf$$.file conf$$ 2>/dev/null; then
526 as_ln_s='ln -s'
527 # ... but there are two gotchas:
528 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530 # In both cases, we have to default to `cp -pR'.
531 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532 as_ln_s='cp -pR'
533 elif ln conf$$.file conf$$ 2>/dev/null; then
534 as_ln_s=ln
535 else
536 as_ln_s='cp -pR'
537 fi
538 else
539 as_ln_s='cp -pR'
540 fi
541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
542 rmdir conf$$.dir 2>/dev/null
543
544 if mkdir -p . 2>/dev/null; then
545 as_mkdir_p='mkdir -p "$as_dir"'
546 else
547 test -d ./-p && rmdir ./-p
548 as_mkdir_p=false
549 fi
550
551 as_test_x='test -x'
552 as_executable_p=as_fn_executable_p
553
554 # Sed expression to map a string onto a valid CPP name.
555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556
557 # Sed expression to map a string onto a valid variable name.
558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559
560
561 test -n "$DJDIR" || exec 7<&0 </dev/null
562 exec 6>&1
563
564 # Name of the host.
565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
566 # so uname gets run too.
567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568
569 #
570 # Initializations.
571 #
572 ac_default_prefix=/usr/local
573 ac_clean_files=
574 ac_config_libobj_dir=.
575 LIBOBJS=
576 cross_compiling=no
577 subdirs=
578 MFLAGS=
579 MAKEFLAGS=
580
581 # Identity of this package.
582 PACKAGE_NAME='wxWidgets'
583 PACKAGE_TARNAME='wxwidgets'
584 PACKAGE_VERSION='2.9.5'
585 PACKAGE_STRING='wxWidgets 2.9.5'
586 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
587 PACKAGE_URL=''
588
589 ac_unique_file="wx-config.in"
590 # Factoring default headers for most tests.
591 ac_includes_default="\
592 #include <stdio.h>
593 #ifdef HAVE_SYS_TYPES_H
594 # include <sys/types.h>
595 #endif
596 #ifdef HAVE_SYS_STAT_H
597 # include <sys/stat.h>
598 #endif
599 #ifdef STDC_HEADERS
600 # include <stdlib.h>
601 # include <stddef.h>
602 #else
603 # ifdef HAVE_STDLIB_H
604 # include <stdlib.h>
605 # endif
606 #endif
607 #ifdef HAVE_STRING_H
608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 # include <memory.h>
610 # endif
611 # include <string.h>
612 #endif
613 #ifdef HAVE_STRINGS_H
614 # include <strings.h>
615 #endif
616 #ifdef HAVE_INTTYPES_H
617 # include <inttypes.h>
618 #endif
619 #ifdef HAVE_STDINT_H
620 # include <stdint.h>
621 #endif
622 #ifdef HAVE_UNISTD_H
623 # include <unistd.h>
624 #endif"
625
626 enable_option_checking=no
627 ac_subst_vars='LTLIBOBJS
628 LIBOBJS
629 CPPUNIT_CONFIG
630 DLLTOOL
631 GCC
632 MACSETFILE
633 POSTLINK_COMMAND
634 LIBWXMACRES
635 WX_RESOURCES_MACOSX_DATA
636 WX_RESOURCES_MACOSX_ASCII
637 RESCOMP
638 WX_VERSION_TAG
639 DMALLOC_LIBS
640 OPENGL_LIBS
641 LDFLAGS_GL
642 SAMPLES_SUBDIRS
643 DISTDIR
644 GUIDIST
645 WXCONFIG_RESFLAGS
646 WXCONFIG_LDFLAGS_GUI
647 WXCONFIG_LDFLAGS
648 WXCONFIG_RPATH
649 WXCONFIG_LIBS
650 WXCONFIG_CXXFLAGS
651 WXCONFIG_CFLAGS
652 WXCONFIG_CPPFLAGS
653 WX_CHARTYPE
654 WX_SUBVERSION
655 WX_VERSION
656 WX_RELEASE
657 WIDGET_SET
658 cross_compiling
659 TOOLCHAIN_FULLNAME
660 TOOLCHAIN_NAME
661 TOOLKIT_DIR
662 TOOLKIT
663 USE_GUI
664 WX_LIBRARY_BASENAME_GUI
665 WX_LIBRARY_BASENAME_NOGUI
666 SHARED
667 DEREZ
668 COND_wxUSE_ZLIB_builtin
669 COND_wxUSE_REGEX_builtin
670 COND_wxUSE_LIBTIFF_builtin
671 COND_wxUSE_LIBPNG_builtin
672 COND_wxUSE_LIBJPEG_builtin
673 COND_wxUSE_EXPAT_builtin
674 COND_WXUNIV_1
675 COND_WXUNIV_0
676 COND_WITH_PLUGIN_SDL_1
677 COND_WINDOWS_IMPLIB_1
678 COND_USE_XRC_1
679 COND_USE_THREADS_1
680 COND_USE_THREADS_0
681 COND_USE_STC_1
682 COND_USE_SOVERSOLARIS_1
683 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
684 COND_USE_SOVERSION_0
685 COND_USE_SOVERLINUX_1
686 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
687 COND_USE_SOTWOSYMLINKS_1
688 COND_USE_RTTI_1
689 COND_USE_RTTI_0
690 COND_USE_PLUGINS_0
691 COND_USE_PCH_1
692 COND_USE_OPENGL_1
693 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
694 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
695 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
696 COND_USE_GUI_1_WXUNIV_1
697 COND_USE_GUI_1_WXUNIV_0
698 COND_USE_GUI_1_USE_OPENGL_1
699 COND_USE_GUI_1
700 COND_USE_GUI_0
701 COND_USE_EXCEPTIONS_1
702 COND_USE_EXCEPTIONS_0
703 COND_USE_CAIRO_1
704 COND_UNICODE_1
705 COND_TOOLKIT_X11_USE_GUI_1
706 COND_TOOLKIT_X11
707 COND_TOOLKIT_WINCE_WXUNIV_0
708 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
709 COND_TOOLKIT_WINCE_USE_GUI_1
710 COND_TOOLKIT_WINCE
711 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
712 COND_TOOLKIT_PM_USE_GUI_1
713 COND_TOOLKIT_PM
714 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
715 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
716 COND_TOOLKIT_OSX_IPHONE
717 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
718 COND_TOOLKIT_OSX_COCOA
719 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
720 COND_TOOLKIT_OSX_CARBON
721 COND_TOOLKIT_MSW_WXUNIV_0
722 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
723 COND_TOOLKIT_MSW_USE_GUI_1
724 COND_TOOLKIT_MSW
725 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
726 COND_TOOLKIT_MOTIF_USE_GUI_1
727 COND_TOOLKIT_MOTIF
728 COND_TOOLKIT_MAC
729 COND_TOOLKIT_GTK_USE_GUI_1
730 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
731 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
732 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
733 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
734 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
735 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
736 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
737 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
738 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
739 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
740 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
741 COND_TOOLKIT_GTK
742 COND_TOOLKIT_DFB_USE_GUI_1
743 COND_TOOLKIT_DFB
744 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
745 COND_TOOLKIT_COCOA_USE_GUI_1
746 COND_TOOLKIT_COCOA
747 COND_TOOLKIT_
748 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
749 COND_SHARED_1
750 COND_SHARED_0_wxUSE_ZLIB_builtin
751 COND_SHARED_0_wxUSE_REGEX_builtin
752 COND_SHARED_0_wxUSE_EXPAT_builtin
753 COND_SHARED_0_USE_STC_1
754 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
755 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
756 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
757 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
758 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
759 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
760 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
761 COND_SHARED_0
762 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
763 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
764 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
765 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
766 COND_PLATFORM_WIN32_1_SHARED_0
767 COND_PLATFORM_WIN32_1
768 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
769 COND_PLATFORM_WIN32_0
770 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
771 COND_PLATFORM_UNIX_1_USE_GUI_1
772 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
773 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
774 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
775 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
776 COND_PLATFORM_UNIX_1
777 COND_PLATFORM_UNIX_0
778 COND_PLATFORM_OS2_1
779 COND_PLATFORM_MSDOS_1
780 COND_PLATFORM_MSDOS_0
781 COND_PLATFORM_MAC_1
782 COND_PLATFORM_MAC_0
783 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
784 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
785 COND_PLATFORM_MACOSX_1_USE_GUI_1
786 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
787 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
788 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
789 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
790 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
791 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
792 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
793 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
794 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
795 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
796 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
797 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
798 COND_PLATFORM_MACOSX_1
799 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
800 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
801 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
802 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
803 COND_MONOLITHIC_1_USE_STC_1
804 COND_MONOLITHIC_1_SHARED_1
805 COND_MONOLITHIC_1_SHARED_0
806 COND_MONOLITHIC_1
807 COND_MONOLITHIC_0_USE_XRC_1
808 COND_MONOLITHIC_0_USE_WEBVIEW_1
809 COND_MONOLITHIC_0_USE_STC_1
810 COND_MONOLITHIC_0_USE_RICHTEXT_1
811 COND_MONOLITHIC_0_USE_RIBBON_1
812 COND_MONOLITHIC_0_USE_QA_1
813 COND_MONOLITHIC_0_USE_PROPGRID_1
814 COND_MONOLITHIC_0_USE_MEDIA_1
815 COND_MONOLITHIC_0_USE_HTML_1
816 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
817 COND_MONOLITHIC_0_USE_GUI_1
818 COND_MONOLITHIC_0_USE_AUI_1
819 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
820 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
821 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
822 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
823 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
824 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
825 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
826 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
827 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
829 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_1
831 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
832 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
833 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
834 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
835 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
836 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
837 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
838 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
839 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
840 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
841 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
842 COND_MONOLITHIC_0_SHARED_0
843 COND_MONOLITHIC_0
844 COND_ICC_PCH_1
845 COND_GCC_PCH_1
846 COND_DEPS_TRACKING_1
847 COND_DEPS_TRACKING_0
848 COND_DEBUG_INFO_1
849 COND_DEBUG_INFO_0
850 COND_DEBUG_FLAG_0
851 COND_BUILD_release_DEBUG_INFO_default
852 COND_BUILD_release
853 COND_BUILD_debug_DEBUG_INFO_default
854 COND_BUILD_debug
855 BK_MAKE_PCH
856 ICC_PCH_USE_SWITCH
857 ICC_PCH_CREATE_SWITCH
858 ICC_PCH
859 GCC_PCH
860 OBJCXXFLAGS
861 SETFILE
862 REZ
863 WINDRES
864 BK_DEPS
865 DEPS_TRACKING
866 SONAME_FLAG
867 USE_SOTWOSYMLINKS
868 USE_MACVERSION
869 USE_SOVERCYGWIN
870 USE_SOVERSOLARIS
871 USE_SOVERLINUX
872 USE_SOVERSION
873 WINDOWS_IMPLIB
874 PIC_FLAG
875 SHARED_LD_MODULE_CXX
876 SHARED_LD_MODULE_CC
877 SHARED_LD_CXX
878 SHARED_LD_CC
879 AIX_CXX_LD
880 dlldir
881 DLLPREFIX_MODULE
882 DLLPREFIX
883 LIBEXT
884 LIBPREFIX
885 DLLIMP_SUFFIX
886 SO_SUFFIX_MODULE
887 SO_SUFFIX
888 PLATFORM_BEOS
889 PLATFORM_OS2
890 PLATFORM_MACOSX
891 PLATFORM_MACOS
892 PLATFORM_MAC
893 PLATFORM_MSDOS
894 PLATFORM_WIN32
895 PLATFORM_UNIX
896 IF_GNU_MAKE
897 LDFLAGS_GUI
898 INSTALL_DIR
899 NM
900 STRIP
901 AROPTIONS
902 MAKE_SET
903 SET_MAKE
904 LN_S
905 INSTALL_DATA
906 INSTALL_SCRIPT
907 INSTALL_PROGRAM
908 RANLIB
909 CPPUNIT_LIBS
910 CPPUNIT_CFLAGS
911 HOST_SUFFIX
912 HEADER_PAD_OPTION
913 SAMPLES_RPATH_FLAG
914 DYLIB_RPATH_POSTLINK
915 DYLIB_RPATH_INSTALL
916 TOOLKIT_VERSION
917 TOOLKIT_LOWERCASE
918 DEBUG_FLAG
919 DEBUG_INFO
920 UNICODE
921 WITH_PLUGIN_SDL
922 EXTRALIBS_STC
923 EXTRALIBS_SDL
924 EXTRALIBS_OPENGL
925 EXTRALIBS_GUI
926 EXTRALIBS_MEDIA
927 EXTRALIBS_HTML
928 EXTRALIBS_XML
929 EXTRALIBS
930 CXXWARNINGS
931 USE_PLUGINS
932 MONOLITHIC
933 WXUNIV
934 WX_LIB_FLAVOUR
935 WX_FLAVOUR
936 OFFICIAL_BUILD
937 VENDOR
938 wxUSE_LIBTIFF
939 wxUSE_LIBPNG
940 wxUSE_LIBJPEG
941 wxUSE_EXPAT
942 wxUSE_REGEX
943 wxUSE_ZLIB
944 STD_GUI_LIBS
945 STD_BASE_LIBS
946 BUILT_WX_LIBS
947 ALL_WX_LIBS
948 GST_LIBS
949 GST_CFLAGS
950 CAIRO_LIBS
951 CAIRO_CFLAGS
952 WEBKIT_LIBS
953 WEBKIT_CFLAGS
954 COND_PYTHON
955 PYTHON
956 HILDON2_LIBS
957 HILDON2_CFLAGS
958 HILDON_LIBS
959 HILDON_CFLAGS
960 LIBNOTIFY_LIBS
961 LIBNOTIFY_CFLAGS
962 GNOMEVFS_LIBS
963 GNOMEVFS_CFLAGS
964 LIBGNOMEPRINTUI_LIBS
965 LIBGNOMEPRINTUI_CFLAGS
966 GTKPRINT_LIBS
967 GTKPRINT_CFLAGS
968 SDL_LIBS
969 SDL_CFLAGS
970 SDL_CONFIG
971 GXX_VERSION
972 LIBICONV
973 CXXFLAGS_VISIBILITY
974 CFLAGS_VISIBILITY
975 MesaGL_LIBS
976 MesaGL_CFLAGS
977 GLU_LIBS
978 GLU_CFLAGS
979 GL_LIBS
980 GL_CFLAGS
981 SM_LIBS
982 SM_CFLAGS
983 Xxf86vm_LIBS
984 Xxf86vm_CFLAGS
985 Xinerama_LIBS
986 Xinerama_CFLAGS
987 PANGOXFT_LIBS
988 PANGOXFT_CFLAGS
989 PANGOFT2_LIBS
990 PANGOFT2_CFLAGS
991 PANGOX_LIBS
992 PANGOX_CFLAGS
993 X_EXTRA_LIBS
994 X_LIBS
995 X_PRE_LIBS
996 X_CFLAGS
997 XMKMF
998 DIRECTFB_LIBS
999 DIRECTFB_CFLAGS
1000 GTK_CONFIG
1001 GTK_LIBS
1002 GTK_CFLAGS
1003 PKG_CONFIG
1004 subdirs
1005 CXXCPP
1006 AR
1007 ac_ct_CXX
1008 CXXFLAGS
1009 CXX
1010 EGREP
1011 GREP
1012 CPP
1013 OBJEXT
1014 EXEEXT
1015 ac_ct_CC
1016 CPPFLAGS
1017 LDFLAGS
1018 CFLAGS
1019 CC
1020 wx_top_builddir
1021 host_os
1022 host_vendor
1023 host_cpu
1024 host
1025 build_os
1026 build_vendor
1027 build_cpu
1028 build
1029 target_alias
1030 host_alias
1031 build_alias
1032 LIBS
1033 ECHO_T
1034 ECHO_N
1035 ECHO_C
1036 DEFS
1037 mandir
1038 localedir
1039 libdir
1040 psdir
1041 pdfdir
1042 dvidir
1043 htmldir
1044 infodir
1045 docdir
1046 oldincludedir
1047 includedir
1048 localstatedir
1049 sharedstatedir
1050 sysconfdir
1051 datadir
1052 datarootdir
1053 libexecdir
1054 sbindir
1055 bindir
1056 program_transform_name
1057 prefix
1058 exec_prefix
1059 PACKAGE_URL
1060 PACKAGE_BUGREPORT
1061 PACKAGE_STRING
1062 PACKAGE_VERSION
1063 PACKAGE_TARNAME
1064 PACKAGE_NAME
1065 PATH_SEPARATOR
1066 SHELL'
1067 ac_subst_files=''
1068 ac_user_opts='
1069 enable_option_checking
1070 enable_gui
1071 enable_monolithic
1072 enable_plugins
1073 with_subdirs
1074 with_flavour
1075 enable_official_build
1076 enable_vendor
1077 enable_all_features
1078 enable_universal
1079 with_themes
1080 with_gtk
1081 with_motif
1082 with_osx_carbon
1083 with_osx_cocoa
1084 with_osx_iphone
1085 with_osx
1086 with_carbon
1087 with_cocoa
1088 with_iphone
1089 with_mac
1090 with_old_cocoa
1091 with_wine
1092 with_msw
1093 with_pm
1094 with_directfb
1095 with_microwin
1096 with_x11
1097 enable_nanox
1098 enable_gpe
1099 with_libpng
1100 with_libjpeg
1101 with_libtiff
1102 with_libjbig
1103 with_liblzma
1104 with_libxpm
1105 with_libiconv
1106 with_libmspack
1107 with_gtkprint
1108 with_gnomeprint
1109 with_gnomevfs
1110 with_libnotify
1111 with_hildon
1112 with_opengl
1113 with_dmalloc
1114 with_sdl
1115 with_regex
1116 with_zlib
1117 with_expat
1118 with_macosx_sdk
1119 with_macosx_version_min
1120 enable_debug
1121 enable_debug_flag
1122 enable_debug_info
1123 enable_debug_gdb
1124 enable_debug_cntxt
1125 enable_mem_tracing
1126 enable_shared
1127 enable_stl
1128 enable_std_containers
1129 enable_std_iostreams
1130 enable_std_string
1131 enable_std_string_conv_in_wxstring
1132 enable_unicode
1133 enable_mslu
1134 enable_utf8
1135 enable_utf8only
1136 enable_extended_rtti
1137 enable_omf
1138 enable_optimise
1139 enable_profile
1140 enable_no_rtti
1141 enable_no_exceptions
1142 enable_permissive
1143 enable_no_deps
1144 enable_vararg_macros
1145 enable_universal_binary
1146 enable_macosx_arch
1147 enable_compat26
1148 enable_compat28
1149 enable_rpath
1150 enable_objc_uniquifying
1151 enable_visibility
1152 enable_tls
1153 enable_intl
1154 enable_xlocale
1155 enable_config
1156 enable_protocols
1157 enable_ftp
1158 enable_http
1159 enable_fileproto
1160 enable_sockets
1161 enable_ipv6
1162 enable_ole
1163 enable_dataobj
1164 enable_ipc
1165 enable_baseevtloop
1166 enable_epollloop
1167 enable_selectloop
1168 enable_any
1169 enable_apple_ieee
1170 enable_arcstream
1171 enable_base64
1172 enable_backtrace
1173 enable_catch_segvs
1174 enable_cmdline
1175 enable_datetime
1176 enable_debugreport
1177 enable_dialupman
1178 enable_dynlib
1179 enable_dynamicloader
1180 enable_exceptions
1181 enable_ffile
1182 enable_file
1183 enable_filehistory
1184 enable_filesystem
1185 enable_fontenum
1186 enable_fontmap
1187 enable_fs_archive
1188 enable_fs_inet
1189 enable_fs_zip
1190 enable_fsvolume
1191 enable_fswatcher
1192 enable_geometry
1193 enable_log
1194 enable_longlong
1195 enable_mimetype
1196 enable_printfposparam
1197 enable_snglinst
1198 enable_sound
1199 enable_stdpaths
1200 enable_stopwatch
1201 enable_streams
1202 enable_sysoptions
1203 enable_tarstream
1204 enable_textbuf
1205 enable_textfile
1206 enable_timer
1207 enable_variant
1208 enable_zipstream
1209 enable_url
1210 enable_protocol
1211 enable_protocol_http
1212 enable_protocol_ftp
1213 enable_protocol_file
1214 enable_threads
1215 enable_iniconf
1216 enable_regkey
1217 enable_docview
1218 enable_help
1219 enable_mshtmlhelp
1220 enable_html
1221 enable_htmlhelp
1222 enable_xrc
1223 enable_aui
1224 enable_propgrid
1225 enable_ribbon
1226 enable_stc
1227 enable_constraints
1228 enable_loggui
1229 enable_logwin
1230 enable_logdialog
1231 enable_mdi
1232 enable_mdidoc
1233 enable_mediactrl
1234 enable_gstreamer8
1235 enable_richtext
1236 enable_postscript
1237 enable_printarch
1238 enable_svg
1239 enable_webkit
1240 enable_webview
1241 enable_graphics_ctx
1242 enable_clipboard
1243 enable_dnd
1244 enable_controls
1245 enable_markup
1246 enable_accel
1247 enable_animatectrl
1248 enable_bannerwindow
1249 enable_artstd
1250 enable_arttango
1251 enable_bmpbutton
1252 enable_bmpcombobox
1253 enable_button
1254 enable_calendar
1255 enable_caret
1256 enable_checkbox
1257 enable_checklst
1258 enable_choice
1259 enable_choicebook
1260 enable_collpane
1261 enable_colourpicker
1262 enable_combobox
1263 enable_comboctrl
1264 enable_commandlinkbutton
1265 enable_dataviewctrl
1266 enable_datepick
1267 enable_detect_sm
1268 enable_dirpicker
1269 enable_display
1270 enable_editablebox
1271 enable_filectrl
1272 enable_filepicker
1273 enable_fontpicker
1274 enable_gauge
1275 enable_grid
1276 enable_headerctrl
1277 enable_hyperlink
1278 enable_imaglist
1279 enable_infobar
1280 enable_listbook
1281 enable_listbox
1282 enable_listctrl
1283 enable_notebook
1284 enable_notifmsg
1285 enable_odcombobox
1286 enable_popupwin
1287 enable_radiobox
1288 enable_radiobtn
1289 enable_richmsgdlg
1290 enable_richtooltip
1291 enable_rearrangectrl
1292 enable_sash
1293 enable_scrollbar
1294 enable_searchctrl
1295 enable_slider
1296 enable_spinbtn
1297 enable_spinctrl
1298 enable_splitter
1299 enable_statbmp
1300 enable_statbox
1301 enable_statline
1302 enable_stattext
1303 enable_statusbar
1304 enable_taskbaricon
1305 enable_tbarnative
1306 enable_textctrl
1307 enable_tipwindow
1308 enable_togglebtn
1309 enable_toolbar
1310 enable_toolbook
1311 enable_treebook
1312 enable_treectrl
1313 enable_treelist
1314 enable_commondlg
1315 enable_aboutdlg
1316 enable_choicedlg
1317 enable_coldlg
1318 enable_filedlg
1319 enable_finddlg
1320 enable_fontdlg
1321 enable_dirdlg
1322 enable_msgdlg
1323 enable_numberdlg
1324 enable_splash
1325 enable_textdlg
1326 enable_tipdlg
1327 enable_progressdlg
1328 enable_wizarddlg
1329 enable_menus
1330 enable_miniframe
1331 enable_tooltips
1332 enable_splines
1333 enable_mousewheel
1334 enable_validators
1335 enable_busyinfo
1336 enable_hotkey
1337 enable_joystick
1338 enable_metafile
1339 enable_dragimage
1340 enable_accessibility
1341 enable_uiactionsim
1342 enable_dctransform
1343 enable_webviewwebkit
1344 enable_palette
1345 enable_image
1346 enable_gif
1347 enable_pcx
1348 enable_tga
1349 enable_iff
1350 enable_pnm
1351 enable_xpm
1352 enable_ico_cur
1353 enable_dccache
1354 enable_ps_in_msw
1355 enable_ownerdrawn
1356 enable_uxtheme
1357 enable_wxdib
1358 enable_webviewie
1359 enable_autoidman
1360 enable_largefile
1361 enable_gtktest
1362 with_gtk_prefix
1363 with_gtk_exec_prefix
1364 with_x
1365 with_libiconv_prefix
1366 with_sdl_prefix
1367 with_sdl_exec_prefix
1368 enable_sdltest
1369 enable_dependency_tracking
1370 enable_precomp_headers
1371 with_cppunit_prefix
1372 with_cppunit_exec_prefix
1373 '
1374 ac_precious_vars='build_alias
1375 host_alias
1376 target_alias
1377 CC
1378 CFLAGS
1379 LDFLAGS
1380 LIBS
1381 CPPFLAGS
1382 CPP
1383 CXX
1384 CXXFLAGS
1385 CCC
1386 CXXCPP
1387 PKG_CONFIG
1388 DIRECTFB_CFLAGS
1389 DIRECTFB_LIBS
1390 XMKMF
1391 PANGOX_CFLAGS
1392 PANGOX_LIBS
1393 PANGOFT2_CFLAGS
1394 PANGOFT2_LIBS
1395 PANGOXFT_CFLAGS
1396 PANGOXFT_LIBS
1397 Xinerama_CFLAGS
1398 Xinerama_LIBS
1399 Xxf86vm_CFLAGS
1400 Xxf86vm_LIBS
1401 SM_CFLAGS
1402 SM_LIBS
1403 GL_CFLAGS
1404 GL_LIBS
1405 GLU_CFLAGS
1406 GLU_LIBS
1407 MesaGL_CFLAGS
1408 MesaGL_LIBS
1409 GTKPRINT_CFLAGS
1410 GTKPRINT_LIBS
1411 LIBGNOMEPRINTUI_CFLAGS
1412 LIBGNOMEPRINTUI_LIBS
1413 GNOMEVFS_CFLAGS
1414 GNOMEVFS_LIBS
1415 LIBNOTIFY_CFLAGS
1416 LIBNOTIFY_LIBS
1417 HILDON_CFLAGS
1418 HILDON_LIBS
1419 HILDON2_CFLAGS
1420 HILDON2_LIBS
1421 WEBKIT_CFLAGS
1422 WEBKIT_LIBS
1423 CAIRO_CFLAGS
1424 CAIRO_LIBS
1425 GST_CFLAGS
1426 GST_LIBS'
1427 ac_subdirs_all='src/tiff
1428 src/expat'
1429
1430 # Initialize some variables set by options.
1431 ac_init_help=
1432 ac_init_version=false
1433 ac_unrecognized_opts=
1434 ac_unrecognized_sep=
1435 # The variables have the same names as the options, with
1436 # dashes changed to underlines.
1437 cache_file=/dev/null
1438 exec_prefix=NONE
1439 no_create=
1440 no_recursion=
1441 prefix=NONE
1442 program_prefix=NONE
1443 program_suffix=NONE
1444 program_transform_name=s,x,x,
1445 silent=
1446 site=
1447 srcdir=
1448 verbose=
1449 x_includes=NONE
1450 x_libraries=NONE
1451
1452 # Installation directory options.
1453 # These are left unexpanded so users can "make install exec_prefix=/foo"
1454 # and all the variables that are supposed to be based on exec_prefix
1455 # by default will actually change.
1456 # Use braces instead of parens because sh, perl, etc. also accept them.
1457 # (The list follows the same order as the GNU Coding Standards.)
1458 bindir='${exec_prefix}/bin'
1459 sbindir='${exec_prefix}/sbin'
1460 libexecdir='${exec_prefix}/libexec'
1461 datarootdir='${prefix}/share'
1462 datadir='${datarootdir}'
1463 sysconfdir='${prefix}/etc'
1464 sharedstatedir='${prefix}/com'
1465 localstatedir='${prefix}/var'
1466 includedir='${prefix}/include'
1467 oldincludedir='/usr/include'
1468 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1469 infodir='${datarootdir}/info'
1470 htmldir='${docdir}'
1471 dvidir='${docdir}'
1472 pdfdir='${docdir}'
1473 psdir='${docdir}'
1474 libdir='${exec_prefix}/lib'
1475 localedir='${datarootdir}/locale'
1476 mandir='${datarootdir}/man'
1477
1478 ac_prev=
1479 ac_dashdash=
1480 for ac_option
1481 do
1482 # If the previous option needs an argument, assign it.
1483 if test -n "$ac_prev"; then
1484 eval $ac_prev=\$ac_option
1485 ac_prev=
1486 continue
1487 fi
1488
1489 case $ac_option in
1490 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1491 *=) ac_optarg= ;;
1492 *) ac_optarg=yes ;;
1493 esac
1494
1495 # Accept the important Cygnus configure options, so we can diagnose typos.
1496
1497 case $ac_dashdash$ac_option in
1498 --)
1499 ac_dashdash=yes ;;
1500
1501 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1502 ac_prev=bindir ;;
1503 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1504 bindir=$ac_optarg ;;
1505
1506 -build | --build | --buil | --bui | --bu)
1507 ac_prev=build_alias ;;
1508 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1509 build_alias=$ac_optarg ;;
1510
1511 -cache-file | --cache-file | --cache-fil | --cache-fi \
1512 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1513 ac_prev=cache_file ;;
1514 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1515 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1516 cache_file=$ac_optarg ;;
1517
1518 --config-cache | -C)
1519 cache_file=config.cache ;;
1520
1521 -datadir | --datadir | --datadi | --datad)
1522 ac_prev=datadir ;;
1523 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1524 datadir=$ac_optarg ;;
1525
1526 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1527 | --dataroo | --dataro | --datar)
1528 ac_prev=datarootdir ;;
1529 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1530 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1531 datarootdir=$ac_optarg ;;
1532
1533 -disable-* | --disable-*)
1534 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1535 # Reject names that are not valid shell variable names.
1536 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1537 as_fn_error $? "invalid feature name: $ac_useropt"
1538 ac_useropt_orig=$ac_useropt
1539 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1540 case $ac_user_opts in
1541 *"
1542 "enable_$ac_useropt"
1543 "*) ;;
1544 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1545 ac_unrecognized_sep=', ';;
1546 esac
1547 eval enable_$ac_useropt=no ;;
1548
1549 -docdir | --docdir | --docdi | --doc | --do)
1550 ac_prev=docdir ;;
1551 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1552 docdir=$ac_optarg ;;
1553
1554 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1555 ac_prev=dvidir ;;
1556 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1557 dvidir=$ac_optarg ;;
1558
1559 -enable-* | --enable-*)
1560 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1561 # Reject names that are not valid shell variable names.
1562 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1563 as_fn_error $? "invalid feature name: $ac_useropt"
1564 ac_useropt_orig=$ac_useropt
1565 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1566 case $ac_user_opts in
1567 *"
1568 "enable_$ac_useropt"
1569 "*) ;;
1570 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1571 ac_unrecognized_sep=', ';;
1572 esac
1573 eval enable_$ac_useropt=\$ac_optarg ;;
1574
1575 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1576 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1577 | --exec | --exe | --ex)
1578 ac_prev=exec_prefix ;;
1579 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1580 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1581 | --exec=* | --exe=* | --ex=*)
1582 exec_prefix=$ac_optarg ;;
1583
1584 -gas | --gas | --ga | --g)
1585 # Obsolete; use --with-gas.
1586 with_gas=yes ;;
1587
1588 -help | --help | --hel | --he | -h)
1589 ac_init_help=long ;;
1590 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1591 ac_init_help=recursive ;;
1592 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1593 ac_init_help=short ;;
1594
1595 -host | --host | --hos | --ho)
1596 ac_prev=host_alias ;;
1597 -host=* | --host=* | --hos=* | --ho=*)
1598 host_alias=$ac_optarg ;;
1599
1600 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1601 ac_prev=htmldir ;;
1602 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1603 | --ht=*)
1604 htmldir=$ac_optarg ;;
1605
1606 -includedir | --includedir | --includedi | --included | --include \
1607 | --includ | --inclu | --incl | --inc)
1608 ac_prev=includedir ;;
1609 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1610 | --includ=* | --inclu=* | --incl=* | --inc=*)
1611 includedir=$ac_optarg ;;
1612
1613 -infodir | --infodir | --infodi | --infod | --info | --inf)
1614 ac_prev=infodir ;;
1615 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1616 infodir=$ac_optarg ;;
1617
1618 -libdir | --libdir | --libdi | --libd)
1619 ac_prev=libdir ;;
1620 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1621 libdir=$ac_optarg ;;
1622
1623 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1624 | --libexe | --libex | --libe)
1625 ac_prev=libexecdir ;;
1626 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1627 | --libexe=* | --libex=* | --libe=*)
1628 libexecdir=$ac_optarg ;;
1629
1630 -localedir | --localedir | --localedi | --localed | --locale)
1631 ac_prev=localedir ;;
1632 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1633 localedir=$ac_optarg ;;
1634
1635 -localstatedir | --localstatedir | --localstatedi | --localstated \
1636 | --localstate | --localstat | --localsta | --localst | --locals)
1637 ac_prev=localstatedir ;;
1638 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1639 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1640 localstatedir=$ac_optarg ;;
1641
1642 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1643 ac_prev=mandir ;;
1644 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1645 mandir=$ac_optarg ;;
1646
1647 -nfp | --nfp | --nf)
1648 # Obsolete; use --without-fp.
1649 with_fp=no ;;
1650
1651 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1652 | --no-cr | --no-c | -n)
1653 no_create=yes ;;
1654
1655 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1656 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1657 no_recursion=yes ;;
1658
1659 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1660 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1661 | --oldin | --oldi | --old | --ol | --o)
1662 ac_prev=oldincludedir ;;
1663 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1664 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1665 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1666 oldincludedir=$ac_optarg ;;
1667
1668 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1669 ac_prev=prefix ;;
1670 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1671 prefix=$ac_optarg ;;
1672
1673 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1674 | --program-pre | --program-pr | --program-p)
1675 ac_prev=program_prefix ;;
1676 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1677 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1678 program_prefix=$ac_optarg ;;
1679
1680 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1681 | --program-suf | --program-su | --program-s)
1682 ac_prev=program_suffix ;;
1683 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1684 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1685 program_suffix=$ac_optarg ;;
1686
1687 -program-transform-name | --program-transform-name \
1688 | --program-transform-nam | --program-transform-na \
1689 | --program-transform-n | --program-transform- \
1690 | --program-transform | --program-transfor \
1691 | --program-transfo | --program-transf \
1692 | --program-trans | --program-tran \
1693 | --progr-tra | --program-tr | --program-t)
1694 ac_prev=program_transform_name ;;
1695 -program-transform-name=* | --program-transform-name=* \
1696 | --program-transform-nam=* | --program-transform-na=* \
1697 | --program-transform-n=* | --program-transform-=* \
1698 | --program-transform=* | --program-transfor=* \
1699 | --program-transfo=* | --program-transf=* \
1700 | --program-trans=* | --program-tran=* \
1701 | --progr-tra=* | --program-tr=* | --program-t=*)
1702 program_transform_name=$ac_optarg ;;
1703
1704 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1705 ac_prev=pdfdir ;;
1706 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1707 pdfdir=$ac_optarg ;;
1708
1709 -psdir | --psdir | --psdi | --psd | --ps)
1710 ac_prev=psdir ;;
1711 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1712 psdir=$ac_optarg ;;
1713
1714 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1715 | -silent | --silent | --silen | --sile | --sil)
1716 silent=yes ;;
1717
1718 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1719 ac_prev=sbindir ;;
1720 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1721 | --sbi=* | --sb=*)
1722 sbindir=$ac_optarg ;;
1723
1724 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1725 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1726 | --sharedst | --shareds | --shared | --share | --shar \
1727 | --sha | --sh)
1728 ac_prev=sharedstatedir ;;
1729 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1730 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1731 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1732 | --sha=* | --sh=*)
1733 sharedstatedir=$ac_optarg ;;
1734
1735 -site | --site | --sit)
1736 ac_prev=site ;;
1737 -site=* | --site=* | --sit=*)
1738 site=$ac_optarg ;;
1739
1740 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1741 ac_prev=srcdir ;;
1742 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1743 srcdir=$ac_optarg ;;
1744
1745 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1746 | --syscon | --sysco | --sysc | --sys | --sy)
1747 ac_prev=sysconfdir ;;
1748 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1749 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1750 sysconfdir=$ac_optarg ;;
1751
1752 -target | --target | --targe | --targ | --tar | --ta | --t)
1753 ac_prev=target_alias ;;
1754 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1755 target_alias=$ac_optarg ;;
1756
1757 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1758 verbose=yes ;;
1759
1760 -version | --version | --versio | --versi | --vers | -V)
1761 ac_init_version=: ;;
1762
1763 -with-* | --with-*)
1764 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1765 # Reject names that are not valid shell variable names.
1766 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1767 as_fn_error $? "invalid package name: $ac_useropt"
1768 ac_useropt_orig=$ac_useropt
1769 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1770 case $ac_user_opts in
1771 *"
1772 "with_$ac_useropt"
1773 "*) ;;
1774 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1775 ac_unrecognized_sep=', ';;
1776 esac
1777 eval with_$ac_useropt=\$ac_optarg ;;
1778
1779 -without-* | --without-*)
1780 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1781 # Reject names that are not valid shell variable names.
1782 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1783 as_fn_error $? "invalid package name: $ac_useropt"
1784 ac_useropt_orig=$ac_useropt
1785 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1786 case $ac_user_opts in
1787 *"
1788 "with_$ac_useropt"
1789 "*) ;;
1790 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1791 ac_unrecognized_sep=', ';;
1792 esac
1793 eval with_$ac_useropt=no ;;
1794
1795 --x)
1796 # Obsolete; use --with-x.
1797 with_x=yes ;;
1798
1799 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1800 | --x-incl | --x-inc | --x-in | --x-i)
1801 ac_prev=x_includes ;;
1802 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1803 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1804 x_includes=$ac_optarg ;;
1805
1806 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1807 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1808 ac_prev=x_libraries ;;
1809 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1810 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1811 x_libraries=$ac_optarg ;;
1812
1813 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1814 Try \`$0 --help' for more information"
1815 ;;
1816
1817 *=*)
1818 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1819 # Reject names that are not valid shell variable names.
1820 case $ac_envvar in #(
1821 '' | [0-9]* | *[!_$as_cr_alnum]* )
1822 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1823 esac
1824 eval $ac_envvar=\$ac_optarg
1825 export $ac_envvar ;;
1826
1827 *)
1828 # FIXME: should be removed in autoconf 3.0.
1829 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1830 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1831 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1832 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1833 ;;
1834
1835 esac
1836 done
1837
1838 if test -n "$ac_prev"; then
1839 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1840 as_fn_error $? "missing argument to $ac_option"
1841 fi
1842
1843 if test -n "$ac_unrecognized_opts"; then
1844 case $enable_option_checking in
1845 no) ;;
1846 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1847 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1848 esac
1849 fi
1850
1851 # Check all directory arguments for consistency.
1852 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1853 datadir sysconfdir sharedstatedir localstatedir includedir \
1854 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1855 libdir localedir mandir
1856 do
1857 eval ac_val=\$$ac_var
1858 # Remove trailing slashes.
1859 case $ac_val in
1860 */ )
1861 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1862 eval $ac_var=\$ac_val;;
1863 esac
1864 # Be sure to have absolute directory names.
1865 case $ac_val in
1866 [\\/$]* | ?:[\\/]* ) continue;;
1867 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1868 esac
1869 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1870 done
1871
1872 # There might be people who depend on the old broken behavior: `$host'
1873 # used to hold the argument of --host etc.
1874 # FIXME: To remove some day.
1875 build=$build_alias
1876 host=$host_alias
1877 target=$target_alias
1878
1879 # FIXME: To remove some day.
1880 if test "x$host_alias" != x; then
1881 if test "x$build_alias" = x; then
1882 cross_compiling=maybe
1883 elif test "x$build_alias" != "x$host_alias"; then
1884 cross_compiling=yes
1885 fi
1886 fi
1887
1888 ac_tool_prefix=
1889 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1890
1891 test "$silent" = yes && exec 6>/dev/null
1892
1893
1894 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1895 ac_ls_di=`ls -di .` &&
1896 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1897 as_fn_error $? "working directory cannot be determined"
1898 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1899 as_fn_error $? "pwd does not report name of working directory"
1900
1901
1902 # Find the source files, if location was not specified.
1903 if test -z "$srcdir"; then
1904 ac_srcdir_defaulted=yes
1905 # Try the directory containing this script, then the parent directory.
1906 ac_confdir=`$as_dirname -- "$as_myself" ||
1907 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1908 X"$as_myself" : 'X\(//\)[^/]' \| \
1909 X"$as_myself" : 'X\(//\)$' \| \
1910 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1911 $as_echo X"$as_myself" |
1912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1913 s//\1/
1914 q
1915 }
1916 /^X\(\/\/\)[^/].*/{
1917 s//\1/
1918 q
1919 }
1920 /^X\(\/\/\)$/{
1921 s//\1/
1922 q
1923 }
1924 /^X\(\/\).*/{
1925 s//\1/
1926 q
1927 }
1928 s/.*/./; q'`
1929 srcdir=$ac_confdir
1930 if test ! -r "$srcdir/$ac_unique_file"; then
1931 srcdir=..
1932 fi
1933 else
1934 ac_srcdir_defaulted=no
1935 fi
1936 if test ! -r "$srcdir/$ac_unique_file"; then
1937 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1938 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1939 fi
1940 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1941 ac_abs_confdir=`(
1942 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1943 pwd)`
1944 # When building in place, set srcdir=.
1945 if test "$ac_abs_confdir" = "$ac_pwd"; then
1946 srcdir=.
1947 fi
1948 # Remove unnecessary trailing slashes from srcdir.
1949 # Double slashes in file names in object file debugging info
1950 # mess up M-x gdb in Emacs.
1951 case $srcdir in
1952 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1953 esac
1954 for ac_var in $ac_precious_vars; do
1955 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1956 eval ac_env_${ac_var}_value=\$${ac_var}
1957 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1958 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1959 done
1960
1961 #
1962 # Report the --help message.
1963 #
1964 if test "$ac_init_help" = "long"; then
1965 # Omit some internal or obsolete options to make the list less imposing.
1966 # This message is too long to be a string in the A/UX 3.1 sh.
1967 cat <<_ACEOF
1968 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1969
1970 Usage: $0 [OPTION]... [VAR=VALUE]...
1971
1972 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1973 VAR=VALUE. See below for descriptions of some of the useful variables.
1974
1975 Defaults for the options are specified in brackets.
1976
1977 Configuration:
1978 -h, --help display this help and exit
1979 --help=short display options specific to this package
1980 --help=recursive display the short help of all the included packages
1981 -V, --version display version information and exit
1982 -q, --quiet, --silent do not print \`checking ...' messages
1983 --cache-file=FILE cache test results in FILE [disabled]
1984 -C, --config-cache alias for \`--cache-file=config.cache'
1985 -n, --no-create do not create output files
1986 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1987
1988 Installation directories:
1989 --prefix=PREFIX install architecture-independent files in PREFIX
1990 [$ac_default_prefix]
1991 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1992 [PREFIX]
1993
1994 By default, \`make install' will install all the files in
1995 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1996 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1997 for instance \`--prefix=\$HOME'.
1998
1999 For better control, use the options below.
2000
2001 Fine tuning of the installation directories:
2002 --bindir=DIR user executables [EPREFIX/bin]
2003 --sbindir=DIR system admin executables [EPREFIX/sbin]
2004 --libexecdir=DIR program executables [EPREFIX/libexec]
2005 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2006 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2007 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2008 --libdir=DIR object code libraries [EPREFIX/lib]
2009 --includedir=DIR C header files [PREFIX/include]
2010 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2011 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2012 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2013 --infodir=DIR info documentation [DATAROOTDIR/info]
2014 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2015 --mandir=DIR man documentation [DATAROOTDIR/man]
2016 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2017 --htmldir=DIR html documentation [DOCDIR]
2018 --dvidir=DIR dvi documentation [DOCDIR]
2019 --pdfdir=DIR pdf documentation [DOCDIR]
2020 --psdir=DIR ps documentation [DOCDIR]
2021 _ACEOF
2022
2023 cat <<\_ACEOF
2024
2025 X features:
2026 --x-includes=DIR X include files are in DIR
2027 --x-libraries=DIR X library files are in DIR
2028
2029 System types:
2030 --build=BUILD configure for building on BUILD [guessed]
2031 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2032 _ACEOF
2033 fi
2034
2035 if test -n "$ac_init_help"; then
2036 case $ac_init_help in
2037 short | recursive ) echo "Configuration of wxWidgets 2.9.5:";;
2038 esac
2039 cat <<\_ACEOF
2040
2041 Optional Features:
2042 --disable-option-checking ignore unrecognized --enable/--with options
2043 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2044 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2045 --disable-gui don't build GUI parts of the library
2046 --enable-monolithic build wxWidgets as single library
2047 --enable-plugins build parts of wxWidgets as loadable components
2048 --enable-official_build official build of wxWidgets (win32 DLL only)
2049 --enable-vendor=VENDOR vendor name (win32 DLL only)
2050 --disable-all-features disable all optional features to build minimal library
2051 --enable-universal use wxWidgets GUI controls instead of native ones
2052 --enable-nanox use NanoX
2053 --enable-gpe use GNOME PDA Environment features if possible
2054 --enable-debug build library for debugging
2055 --disable-debug_flag disable all debugging support
2056 --enable-debug_info generate debug information
2057 --enable-debug_gdb create code with extra GDB debugging information
2058 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
2059 --enable-mem_tracing obsolete, don't use: create code with memory tracing
2060 --disable-shared create static library instead of shared
2061 --enable-stl use standard C++ classes for everything
2062 --enable-std_containers use standard C++ container classes
2063 --enable-std_iostreams use standard C++ stream classes
2064 --enable-std_string use standard C++ string classes
2065 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2066 --disable-unicode compile without Unicode support
2067 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2068 --enable-utf8 use UTF-8 representation for strings (Unix only)
2069 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2070 --enable-extended_rtti use extended RTTI (XTI)
2071 --enable-omf use OMF object format
2072 --disable-optimise compile without optimisations
2073 --enable-profile create code with profiling information
2074 --enable-no_rtti create code without RTTI information
2075 --enable-no_exceptions create code without C++ exceptions handling
2076 --enable-permissive compile code disregarding strict ANSI
2077 --enable-no_deps create code without dependency information
2078 --disable-vararg_macros don't use vararg macros, even if they are supported
2079 --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
2080 --enable-macosx_arch=ARCH build for just the specified architecture
2081 --enable-compat26 enable wxWidgets 2.6 compatibility
2082 --disable-compat28 disable wxWidgets 2.8 compatibility
2083 --disable-rpath disable use of rpath for uninstalled builds
2084 --enable-objc_uniquifying enable Objective-C class name uniquifying
2085 --disable-visibility disable use of ELF symbols visibility even if supported
2086 --disable-tls disable use of compiler TLS support
2087 --enable-intl use internationalization system
2088 --enable-xlocale use x-locale support (requires wxLocale)
2089 --enable-config use wxConfig (and derived) classes
2090 --enable-protocols use wxProtocol and derived classes
2091 --enable-ftp use wxFTP (requires wxProtocol
2092 --enable-http use wxHTTP (requires wxProtocol
2093 --enable-fileproto use wxFileProto class (requires wxProtocol
2094 --enable-sockets use socket/network classes
2095 --enable-ipv6 enable IPv6 support in wxSocket
2096 --enable-ole use OLE classes (Win32 only)
2097 --enable-dataobj use data object classes
2098 --enable-ipc use interprocess communication (wxSocket etc.)
2099 --enable-baseevtloop use event loop in console programs too
2100 --enable-epollloop use wxEpollDispatcher class (Linux only)
2101 --enable-selectloop use wxSelectDispatcher class
2102 --enable-any use wxAny class
2103 --enable-apple_ieee use the Apple IEEE codec
2104 --enable-arcstream use wxArchive streams
2105 --enable-base64 use base64 encoding/decoding functions
2106 --enable-backtrace use wxStackWalker class for getting backtraces
2107 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
2108 --enable-cmdline use wxCmdLineParser class
2109 --enable-datetime use wxDateTime class
2110 --enable-debugreport use wxDebugReport class
2111 --enable-dialupman use dialup network classes
2112 --enable-dynlib use wxLibrary class for DLL loading
2113 --enable-dynamicloader use (new) wxDynamicLibrary class
2114 --enable-exceptions build exception-safe library
2115 --enable-ffile use wxFFile class
2116 --enable-file use wxFile class
2117 --enable-filehistory use wxFileHistory class
2118 --enable-filesystem use virtual file systems classes
2119 --enable-fontenum use wxFontEnumerator class
2120 --enable-fontmap use font encodings conversion classes
2121 --enable-fs_archive use virtual archive filesystems
2122 --enable-fs_inet use virtual HTTP/FTP filesystems
2123 --enable-fs_zip now replaced by fs_archive
2124 --enable-fsvolume use wxFSVolume class
2125 --enable-fswatcher use wxFileSystemWatcher class
2126 --enable-geometry use geometry class
2127 --enable-log use logging system
2128 --enable-longlong use wxLongLong class
2129 --enable-mimetype use wxMimeTypesManager
2130 --enable-printfposparam use wxVsnprintf() which supports positional parameters
2131 --enable-snglinst use wxSingleInstanceChecker class
2132 --enable-sound use wxSound class
2133 --enable-stdpaths use wxStandardPaths class
2134 --enable-stopwatch use wxStopWatch class
2135 --enable-streams use wxStream etc classes
2136 --enable-sysoptions use wxSystemOptions
2137 --enable-tarstream use wxTar streams
2138 --enable-textbuf use wxTextBuffer class
2139 --enable-textfile use wxTextFile class
2140 --enable-timer use wxTimer class
2141 --enable-variant use wxVariant class
2142 --enable-zipstream use wxZip streams
2143 --enable-url use wxURL class
2144 --enable-protocol use wxProtocol class
2145 --enable-protocol-http HTTP support in wxProtocol
2146 --enable-protocol-ftp FTP support in wxProtocol
2147 --enable-protocol-file FILE support in wxProtocol
2148 --enable-threads use threads
2149 --enable-iniconf use wxIniConfig (Win32 only)
2150 --enable-regkey use wxRegKey class (Win32 only)
2151 --enable-docview use document view architecture
2152 --enable-help use help subsystem
2153 --enable-mshtmlhelp use MS HTML Help (win32)
2154 --enable-html use wxHTML sub-library
2155 --enable-htmlhelp use wxHTML-based help
2156 --enable-xrc use XRC resources sub-library
2157 --enable-aui use AUI docking library
2158 --enable-propgrid use wxPropertyGrid library
2159 --enable-ribbon use wxRibbon library
2160 --enable-stc use wxStyledTextCtrl library
2161 --enable-constraints use layout-constraints system
2162 --enable-loggui use standard GUI logger
2163 --enable-logwin use wxLogWindow
2164 --enable-logdialog use wxLogDialog
2165 --enable-mdi use multiple document interface architecture
2166 --enable-mdidoc use docview architecture with MDI
2167 --enable-mediactrl use wxMediaCtrl class
2168 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
2169 --enable-richtext use wxRichTextCtrl
2170 --enable-postscript use wxPostscriptDC device context (default for gtk+)
2171 --enable-printarch use printing architecture
2172 --enable-svg use wxSVGFileDC device context
2173 --enable-webkit use wxWebKitCtrl (Mac-only, use wxWebView instead)
2174 --enable-webview use wxWebView library
2175 --enable-graphics_ctx use graphics context 2D drawing API
2176 --enable-clipboard use wxClipboard class
2177 --enable-dnd use Drag'n'Drop classes
2178 --disable-controls disable compilation of all standard controls
2179 --enable-markup support wxControl::SetLabelMarkup
2180 --enable-accel use accelerators
2181 --enable-animatectrl use wxAnimationCtrl class
2182 --enable-bannerwindow use wxBannerWindow class
2183 --enable-artstd use standard XPM icons in wxArtProvider
2184 --enable-arttango use Tango icons in wxArtProvider
2185 --enable-bmpbutton use wxBitmapButton class
2186 --enable-bmpcombobox use wxBitmapComboBox class
2187 --enable-button use wxButton class
2188 --enable-calendar use wxCalendarCtrl class
2189 --enable-caret use wxCaret class
2190 --enable-checkbox use wxCheckBox class
2191 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
2192 --enable-choice use wxChoice class
2193 --enable-choicebook use wxChoicebook class
2194 --enable-collpane use wxCollapsiblePane class
2195 --enable-colourpicker use wxColourPickerCtrl class
2196 --enable-combobox use wxComboBox class
2197 --enable-comboctrl use wxComboCtrl class
2198 --enable-commandlinkbutton use wxCommmandLinkButton class
2199 --enable-dataviewctrl use wxDataViewCtrl class
2200 --enable-datepick use wxDatePickerCtrl class
2201 --enable-detect_sm use code to detect X11 session manager
2202 --enable-dirpicker use wxDirPickerCtrl class
2203 --enable-display use wxDisplay class
2204 --enable-editablebox use wxEditableListBox class
2205 --enable-filectrl use wxFileCtrl class
2206 --enable-filepicker use wxFilePickerCtrl class
2207 --enable-fontpicker use wxFontPickerCtrl class
2208 --enable-gauge use wxGauge class
2209 --enable-grid use wxGrid class
2210 --enable-headerctrl use wxHeaderCtrl class
2211 --enable-hyperlink use wxHyperlinkCtrl class
2212 --enable-imaglist use wxImageList class
2213 --enable-infobar use wxInfoBar class
2214 --enable-listbook use wxListbook class
2215 --enable-listbox use wxListBox class
2216 --enable-listctrl use wxListCtrl class
2217 --enable-notebook use wxNotebook class
2218 --enable-notifmsg use wxNotificationMessage class
2219 --enable-odcombobox use wxOwnerDrawnComboBox class
2220 --enable-popupwin use wxPopUpWindow class
2221 --enable-radiobox use wxRadioBox class
2222 --enable-radiobtn use wxRadioButton class
2223 --enable-richmsgdlg use wxRichMessageDialog class
2224 --enable-richtooltip use wxRichToolTip class
2225 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
2226 --enable-sash use wxSashWindow class
2227 --enable-scrollbar use wxScrollBar class and scrollable windows
2228 --enable-searchctrl use wxSearchCtrl class
2229 --enable-slider use wxSlider class
2230 --enable-spinbtn use wxSpinButton class
2231 --enable-spinctrl use wxSpinCtrl class
2232 --enable-splitter use wxSplitterWindow class
2233 --enable-statbmp use wxStaticBitmap class
2234 --enable-statbox use wxStaticBox class
2235 --enable-statline use wxStaticLine class
2236 --enable-stattext use wxStaticText class
2237 --enable-statusbar use wxStatusBar class
2238 --enable-taskbaricon use wxTaskBarIcon class
2239 --enable-tbarnative use native wxToolBar class
2240 --enable-textctrl use wxTextCtrl class
2241 --enable-timepick use wxTimePickerCtrl class
2242 --enable-tipwindow use wxTipWindow class
2243 --enable-togglebtn use wxToggleButton class
2244 --enable-toolbar use wxToolBar class
2245 --enable-toolbook use wxToolbook class
2246 --enable-treebook use wxTreebook class
2247 --enable-treectrl use wxTreeCtrl class
2248 --enable-treelist use wxTreeListCtrl class
2249 --enable-commondlg use all common dialogs
2250 --enable-aboutdlg use wxAboutBox
2251 --enable-choicedlg use wxChoiceDialog
2252 --enable-coldlg use wxColourDialog
2253 --enable-filedlg use wxFileDialog
2254 --enable-finddlg use wxFindReplaceDialog
2255 --enable-fontdlg use wxFontDialog
2256 --enable-dirdlg use wxDirDialog
2257 --enable-msgdlg use wxMessageDialog
2258 --enable-numberdlg use wxNumberEntryDialog
2259 --enable-splash use wxSplashScreen
2260 --enable-textdlg use wxTextDialog
2261 --enable-tipdlg use startup tips
2262 --enable-progressdlg use wxProgressDialog
2263 --enable-wizarddlg use wxWizard
2264 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
2265 --enable-miniframe use wxMiniFrame class
2266 --enable-tooltips use wxToolTip class
2267 --enable-splines use spline drawing code
2268 --enable-mousewheel use mousewheel
2269 --enable-validators use wxValidator and derived classes
2270 --enable-busyinfo use wxBusyInfo
2271 --enable-hotkey use wxWindow::RegisterHotKey()
2272 --enable-joystick use wxJoystick
2273 --enable-metafiles use wxMetaFile
2274 --enable-dragimage use wxDragImage
2275 --enable-accessibility enable accessibility support
2276 --enable-uiactionsim use wxUIActionSimulator (experimental)
2277 --enable-dctransform use wxDC::SetTransformMatrix and related
2278 --enable-webviewwebkit use wxWebView WebKit backend
2279 --enable-palette use wxPalette class
2280 --enable-image use wxImage class
2281 --enable-gif use gif images (GIF file format)
2282 --enable-pcx use pcx images (PCX file format)
2283 --enable-tga use tga images (TGA file format)
2284 --enable-iff use iff images (IFF file format)
2285 --enable-pnm use pnm images (PNM file format)
2286 --enable-xpm use xpm images (XPM file format)
2287 --enable-ico_cur use Windows ICO and CUR formats
2288 --enable-dccache cache temporary wxDC objects (Win32 only)
2289 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
2290 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
2291 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
2292 --enable-wxdib use wxDIB class (Win32 only)
2293 --enable-webviewie use wxWebView IE backend (Win32 only)
2294 --enable-autoidman use automatic ids management
2295 --disable-largefile omit support for large files
2296 --disable-gtktest do not try to compile and run a test GTK+ program
2297 --disable-gtktest Do not try to compile and run a test GTK program
2298 --disable-sdltest Do not try to compile and run a test SDL program
2299 --enable-omf use OMF object format (OS/2)
2300 --disable-dependency-tracking
2301 don't use dependency tracking even if the compiler
2302 can
2303 --disable-precomp-headers
2304 don't use precompiled headers even if compiler can
2305
2306 Optional Packages:
2307 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2308 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2309 --without-subdirs don't generate makefiles for samples/demos/...
2310 --with-flavour=NAME specify a name to identify this build
2311 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2312 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2313 --with-motif use Motif/Lesstif
2314 --with-osx_carbon use Mac OS X (Carbon)
2315 --with-osx_cocoa use Mac OS X (Cocoa)
2316 --with-osx_iphone use iPhone OS X port
2317 --with-osx use Mac OS X (default port, currently Carbon)
2318 --with-carbon same as --with-osx_carbon
2319 --with-cocoa same as --with-osx_cocoa
2320 --with-iphone same as --with-osx_iphone
2321 --with-mac same as --with-osx
2322 --with-old_cocoa use old, deprecated, Cocoa port
2323 --with-wine use Wine
2324 --with-msw use MS-Windows
2325 --with-pm use OS/2 Presentation Manager
2326 --with-directfb use DirectFB
2327 --with-microwin use MicroWindows
2328 --with-x11 use X11
2329 --with-libpng use libpng (PNG image format)
2330 --with-libjpeg use libjpeg (JPEG file format)
2331 --with-libtiff use libtiff (TIFF file format)
2332 --without-libjbig don't use libjbig in libtiff even if available)
2333 --without-liblzma don't use liblzma in libtiff even if available)
2334 --with-libxpm use libxpm (XPM file format)
2335 --with-libiconv use libiconv (character conversion)
2336 --with-libmspack use libmspack (CHM help files loading)
2337 --without-gtkprint don't use GTK printing support
2338 --without-gnomeprint don't use GNOME printing libraries
2339 --with-gnomevfs use GNOME VFS for associating MIME types
2340 --with-libnotify use libnotify for notifications
2341 --with-hildon use Hildon framework for Nokia 770/800/810
2342 --with-opengl use OpenGL (or Mesa)
2343 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2344 --with-sdl use SDL for audio on Unix
2345 --with-regex enable support for wxRegEx class
2346 --with-zlib use zlib for LZW compression
2347 --with-expat enable XML support using expat parser
2348 --with-macosx-sdk=PATH use an OS X SDK at PATH
2349 --with-macosx-version-min=VER build binaries which require at least this OS X version
2350 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2351 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2352 --with-x use the X Window System
2353 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2354 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2355 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2356 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2357 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2358
2359 Some influential environment variables:
2360 CC C compiler command
2361 CFLAGS C compiler flags
2362 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2363 nonstandard directory <lib dir>
2364 LIBS libraries to pass to the linker, e.g. -l<library>
2365 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2366 you have headers in a nonstandard directory <include dir>
2367 CPP C preprocessor
2368 CXX C++ compiler command
2369 CXXFLAGS C++ compiler flags
2370 CXXCPP C++ preprocessor
2371 PKG_CONFIG path to pkg-config utility
2372 DIRECTFB_CFLAGS
2373 C compiler flags for DIRECTFB, overriding pkg-config
2374 DIRECTFB_LIBS
2375 linker flags for DIRECTFB, overriding pkg-config
2376 XMKMF Path to xmkmf, Makefile generator for X Window System
2377 PANGOX_CFLAGS
2378 C compiler flags for PANGOX, overriding pkg-config
2379 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2380 PANGOFT2_CFLAGS
2381 C compiler flags for PANGOFT2, overriding pkg-config
2382 PANGOFT2_LIBS
2383 linker flags for PANGOFT2, overriding pkg-config
2384 PANGOXFT_CFLAGS
2385 C compiler flags for PANGOXFT, overriding pkg-config
2386 PANGOXFT_LIBS
2387 linker flags for PANGOXFT, overriding pkg-config
2388 Xinerama_CFLAGS
2389 C compiler flags for Xinerama, overriding pkg-config
2390 Xinerama_LIBS
2391 linker flags for Xinerama, overriding pkg-config
2392 Xxf86vm_CFLAGS
2393 C compiler flags for Xxf86vm, overriding pkg-config
2394 Xxf86vm_LIBS
2395 linker flags for Xxf86vm, overriding pkg-config
2396 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2397 SM_LIBS linker flags for SM, overriding pkg-config
2398 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2399 GL_LIBS linker flags for GL, overriding pkg-config
2400 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2401 GLU_LIBS linker flags for GLU, overriding pkg-config
2402 MesaGL_CFLAGS
2403 C compiler flags for MesaGL, overriding pkg-config
2404 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2405 GTKPRINT_CFLAGS
2406 C compiler flags for GTKPRINT, overriding pkg-config
2407 GTKPRINT_LIBS
2408 linker flags for GTKPRINT, overriding pkg-config
2409 LIBGNOMEPRINTUI_CFLAGS
2410 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2411 LIBGNOMEPRINTUI_LIBS
2412 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2413 GNOMEVFS_CFLAGS
2414 C compiler flags for GNOMEVFS, overriding pkg-config
2415 GNOMEVFS_LIBS
2416 linker flags for GNOMEVFS, overriding pkg-config
2417 LIBNOTIFY_CFLAGS
2418 C compiler flags for LIBNOTIFY, overriding pkg-config
2419 LIBNOTIFY_LIBS
2420 linker flags for LIBNOTIFY, overriding pkg-config
2421 HILDON_CFLAGS
2422 C compiler flags for HILDON, overriding pkg-config
2423 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2424 HILDON2_CFLAGS
2425 C compiler flags for HILDON2, overriding pkg-config
2426 HILDON2_LIBS
2427 linker flags for HILDON2, overriding pkg-config
2428 WEBKIT_CFLAGS
2429 C compiler flags for WEBKIT, overriding pkg-config
2430 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2431 CAIRO_CFLAGS
2432 C compiler flags for CAIRO, overriding pkg-config
2433 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2434 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2435 GST_LIBS linker flags for GST, overriding pkg-config
2436
2437 Use these variables to override the choices made by `configure' or to help
2438 it to find libraries and programs with nonstandard names/locations.
2439
2440 Report bugs to <wx-dev@lists.wxwidgets.org>.
2441 _ACEOF
2442 ac_status=$?
2443 fi
2444
2445 if test "$ac_init_help" = "recursive"; then
2446 # If there are subdirs, report their specific --help.
2447 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2448 test -d "$ac_dir" ||
2449 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2450 continue
2451 ac_builddir=.
2452
2453 case "$ac_dir" in
2454 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2455 *)
2456 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2457 # A ".." for each directory in $ac_dir_suffix.
2458 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2459 case $ac_top_builddir_sub in
2460 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2461 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2462 esac ;;
2463 esac
2464 ac_abs_top_builddir=$ac_pwd
2465 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2466 # for backward compatibility:
2467 ac_top_builddir=$ac_top_build_prefix
2468
2469 case $srcdir in
2470 .) # We are building in place.
2471 ac_srcdir=.
2472 ac_top_srcdir=$ac_top_builddir_sub
2473 ac_abs_top_srcdir=$ac_pwd ;;
2474 [\\/]* | ?:[\\/]* ) # Absolute name.
2475 ac_srcdir=$srcdir$ac_dir_suffix;
2476 ac_top_srcdir=$srcdir
2477 ac_abs_top_srcdir=$srcdir ;;
2478 *) # Relative name.
2479 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2480 ac_top_srcdir=$ac_top_build_prefix$srcdir
2481 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2482 esac
2483 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2484
2485 cd "$ac_dir" || { ac_status=$?; continue; }
2486 # Check for guested configure.
2487 if test -f "$ac_srcdir/configure.gnu"; then
2488 echo &&
2489 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2490 elif test -f "$ac_srcdir/configure"; then
2491 echo &&
2492 $SHELL "$ac_srcdir/configure" --help=recursive
2493 else
2494 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2495 fi || ac_status=$?
2496 cd "$ac_pwd" || { ac_status=$?; break; }
2497 done
2498 fi
2499
2500 test -n "$ac_init_help" && exit $ac_status
2501 if $ac_init_version; then
2502 cat <<\_ACEOF
2503 wxWidgets configure 2.9.5
2504 generated by GNU Autoconf 2.69
2505
2506 Copyright (C) 2012 Free Software Foundation, Inc.
2507 This configure script is free software; the Free Software Foundation
2508 gives unlimited permission to copy, distribute and modify it.
2509 _ACEOF
2510 exit
2511 fi
2512
2513 ## ------------------------ ##
2514 ## Autoconf initialization. ##
2515 ## ------------------------ ##
2516
2517 # ac_fn_c_try_compile LINENO
2518 # --------------------------
2519 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2520 ac_fn_c_try_compile ()
2521 {
2522 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2523 rm -f conftest.$ac_objext
2524 if { { ac_try="$ac_compile"
2525 case "(($ac_try" in
2526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2527 *) ac_try_echo=$ac_try;;
2528 esac
2529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2530 $as_echo "$ac_try_echo"; } >&5
2531 (eval "$ac_compile") 2>conftest.err
2532 ac_status=$?
2533 if test -s conftest.err; then
2534 grep -v '^ *+' conftest.err >conftest.er1
2535 cat conftest.er1 >&5
2536 mv -f conftest.er1 conftest.err
2537 fi
2538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2539 test $ac_status = 0; } && {
2540 test -z "$ac_c_werror_flag" ||
2541 test ! -s conftest.err
2542 } && test -s conftest.$ac_objext; then :
2543 ac_retval=0
2544 else
2545 $as_echo "$as_me: failed program was:" >&5
2546 sed 's/^/| /' conftest.$ac_ext >&5
2547
2548 ac_retval=1
2549 fi
2550 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2551 as_fn_set_status $ac_retval
2552
2553 } # ac_fn_c_try_compile
2554
2555 # ac_fn_c_try_cpp LINENO
2556 # ----------------------
2557 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2558 ac_fn_c_try_cpp ()
2559 {
2560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2561 if { { ac_try="$ac_cpp conftest.$ac_ext"
2562 case "(($ac_try" in
2563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2564 *) ac_try_echo=$ac_try;;
2565 esac
2566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2567 $as_echo "$ac_try_echo"; } >&5
2568 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2569 ac_status=$?
2570 if test -s conftest.err; then
2571 grep -v '^ *+' conftest.err >conftest.er1
2572 cat conftest.er1 >&5
2573 mv -f conftest.er1 conftest.err
2574 fi
2575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2576 test $ac_status = 0; } > conftest.i && {
2577 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2578 test ! -s conftest.err
2579 }; then :
2580 ac_retval=0
2581 else
2582 $as_echo "$as_me: failed program was:" >&5
2583 sed 's/^/| /' conftest.$ac_ext >&5
2584
2585 ac_retval=1
2586 fi
2587 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2588 as_fn_set_status $ac_retval
2589
2590 } # ac_fn_c_try_cpp
2591
2592 # ac_fn_cxx_try_compile LINENO
2593 # ----------------------------
2594 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2595 ac_fn_cxx_try_compile ()
2596 {
2597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2598 rm -f conftest.$ac_objext
2599 if { { ac_try="$ac_compile"
2600 case "(($ac_try" in
2601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2602 *) ac_try_echo=$ac_try;;
2603 esac
2604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2605 $as_echo "$ac_try_echo"; } >&5
2606 (eval "$ac_compile") 2>conftest.err
2607 ac_status=$?
2608 if test -s conftest.err; then
2609 grep -v '^ *+' conftest.err >conftest.er1
2610 cat conftest.er1 >&5
2611 mv -f conftest.er1 conftest.err
2612 fi
2613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2614 test $ac_status = 0; } && {
2615 test -z "$ac_cxx_werror_flag" ||
2616 test ! -s conftest.err
2617 } && test -s conftest.$ac_objext; then :
2618 ac_retval=0
2619 else
2620 $as_echo "$as_me: failed program was:" >&5
2621 sed 's/^/| /' conftest.$ac_ext >&5
2622
2623 ac_retval=1
2624 fi
2625 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2626 as_fn_set_status $ac_retval
2627
2628 } # ac_fn_cxx_try_compile
2629
2630 # ac_fn_c_try_link LINENO
2631 # -----------------------
2632 # Try to link conftest.$ac_ext, and return whether this succeeded.
2633 ac_fn_c_try_link ()
2634 {
2635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2636 rm -f conftest.$ac_objext conftest$ac_exeext
2637 if { { ac_try="$ac_link"
2638 case "(($ac_try" in
2639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2640 *) ac_try_echo=$ac_try;;
2641 esac
2642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2643 $as_echo "$ac_try_echo"; } >&5
2644 (eval "$ac_link") 2>conftest.err
2645 ac_status=$?
2646 if test -s conftest.err; then
2647 grep -v '^ *+' conftest.err >conftest.er1
2648 cat conftest.er1 >&5
2649 mv -f conftest.er1 conftest.err
2650 fi
2651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2652 test $ac_status = 0; } && {
2653 test -z "$ac_c_werror_flag" ||
2654 test ! -s conftest.err
2655 } && test -s conftest$ac_exeext && {
2656 test "$cross_compiling" = yes ||
2657 test -x conftest$ac_exeext
2658 }; then :
2659 ac_retval=0
2660 else
2661 $as_echo "$as_me: failed program was:" >&5
2662 sed 's/^/| /' conftest.$ac_ext >&5
2663
2664 ac_retval=1
2665 fi
2666 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2667 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2668 # interfere with the next link command; also delete a directory that is
2669 # left behind by Apple's compiler. We do this before executing the actions.
2670 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2672 as_fn_set_status $ac_retval
2673
2674 } # ac_fn_c_try_link
2675
2676 # ac_fn_cxx_try_link LINENO
2677 # -------------------------
2678 # Try to link conftest.$ac_ext, and return whether this succeeded.
2679 ac_fn_cxx_try_link ()
2680 {
2681 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2682 rm -f conftest.$ac_objext conftest$ac_exeext
2683 if { { ac_try="$ac_link"
2684 case "(($ac_try" in
2685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2686 *) ac_try_echo=$ac_try;;
2687 esac
2688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2689 $as_echo "$ac_try_echo"; } >&5
2690 (eval "$ac_link") 2>conftest.err
2691 ac_status=$?
2692 if test -s conftest.err; then
2693 grep -v '^ *+' conftest.err >conftest.er1
2694 cat conftest.er1 >&5
2695 mv -f conftest.er1 conftest.err
2696 fi
2697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2698 test $ac_status = 0; } && {
2699 test -z "$ac_cxx_werror_flag" ||
2700 test ! -s conftest.err
2701 } && test -s conftest$ac_exeext && {
2702 test "$cross_compiling" = yes ||
2703 test -x conftest$ac_exeext
2704 }; then :
2705 ac_retval=0
2706 else
2707 $as_echo "$as_me: failed program was:" >&5
2708 sed 's/^/| /' conftest.$ac_ext >&5
2709
2710 ac_retval=1
2711 fi
2712 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2713 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2714 # interfere with the next link command; also delete a directory that is
2715 # left behind by Apple's compiler. We do this before executing the actions.
2716 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2718 as_fn_set_status $ac_retval
2719
2720 } # ac_fn_cxx_try_link
2721
2722 # ac_fn_c_try_run LINENO
2723 # ----------------------
2724 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2725 # that executables *can* be run.
2726 ac_fn_c_try_run ()
2727 {
2728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2729 if { { ac_try="$ac_link"
2730 case "(($ac_try" in
2731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2733 esac
2734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2735 $as_echo "$ac_try_echo"; } >&5
2736 (eval "$ac_link") 2>&5
2737 ac_status=$?
2738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2739 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2740 { { case "(($ac_try" in
2741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2742 *) ac_try_echo=$ac_try;;
2743 esac
2744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2745 $as_echo "$ac_try_echo"; } >&5
2746 (eval "$ac_try") 2>&5
2747 ac_status=$?
2748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2749 test $ac_status = 0; }; }; then :
2750 ac_retval=0
2751 else
2752 $as_echo "$as_me: program exited with status $ac_status" >&5
2753 $as_echo "$as_me: failed program was:" >&5
2754 sed 's/^/| /' conftest.$ac_ext >&5
2755
2756 ac_retval=$ac_status
2757 fi
2758 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2760 as_fn_set_status $ac_retval
2761
2762 } # ac_fn_c_try_run
2763
2764 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2765 # -------------------------------------------------------
2766 # Tests whether HEADER exists and can be compiled using the include files in
2767 # INCLUDES, setting the cache variable VAR accordingly.
2768 ac_fn_c_check_header_compile ()
2769 {
2770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2772 $as_echo_n "checking for $2... " >&6; }
2773 if eval \${$3+:} false; then :
2774 $as_echo_n "(cached) " >&6
2775 else
2776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2777 /* end confdefs.h. */
2778 $4
2779 #include <$2>
2780 _ACEOF
2781 if ac_fn_c_try_compile "$LINENO"; then :
2782 eval "$3=yes"
2783 else
2784 eval "$3=no"
2785 fi
2786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2787 fi
2788 eval ac_res=\$$3
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2790 $as_echo "$ac_res" >&6; }
2791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2792
2793 } # ac_fn_c_check_header_compile
2794
2795 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2796 # ---------------------------------------------------------
2797 # Tests whether HEADER exists and can be compiled using the include files in
2798 # INCLUDES, setting the cache variable VAR accordingly.
2799 ac_fn_cxx_check_header_compile ()
2800 {
2801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2803 $as_echo_n "checking for $2... " >&6; }
2804 if eval \${$3+:} false; then :
2805 $as_echo_n "(cached) " >&6
2806 else
2807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2808 /* end confdefs.h. */
2809 $4
2810 #include <$2>
2811 _ACEOF
2812 if ac_fn_cxx_try_compile "$LINENO"; then :
2813 eval "$3=yes"
2814 else
2815 eval "$3=no"
2816 fi
2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2818 fi
2819 eval ac_res=\$$3
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2821 $as_echo "$ac_res" >&6; }
2822 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2823
2824 } # ac_fn_cxx_check_header_compile
2825
2826 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2827 # --------------------------------------------
2828 # Tries to find the compile-time value of EXPR in a program that includes
2829 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2830 # computed
2831 ac_fn_c_compute_int ()
2832 {
2833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2834 if test "$cross_compiling" = yes; then
2835 # Depending upon the size, compute the lo and hi bounds.
2836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2837 /* end confdefs.h. */
2838 $4
2839 int
2840 main ()
2841 {
2842 static int test_array [1 - 2 * !(($2) >= 0)];
2843 test_array [0] = 0;
2844 return test_array [0];
2845
2846 ;
2847 return 0;
2848 }
2849 _ACEOF
2850 if ac_fn_c_try_compile "$LINENO"; then :
2851 ac_lo=0 ac_mid=0
2852 while :; do
2853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2854 /* end confdefs.h. */
2855 $4
2856 int
2857 main ()
2858 {
2859 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2860 test_array [0] = 0;
2861 return test_array [0];
2862
2863 ;
2864 return 0;
2865 }
2866 _ACEOF
2867 if ac_fn_c_try_compile "$LINENO"; then :
2868 ac_hi=$ac_mid; break
2869 else
2870 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2871 if test $ac_lo -le $ac_mid; then
2872 ac_lo= ac_hi=
2873 break
2874 fi
2875 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2876 fi
2877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2878 done
2879 else
2880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2881 /* end confdefs.h. */
2882 $4
2883 int
2884 main ()
2885 {
2886 static int test_array [1 - 2 * !(($2) < 0)];
2887 test_array [0] = 0;
2888 return test_array [0];
2889
2890 ;
2891 return 0;
2892 }
2893 _ACEOF
2894 if ac_fn_c_try_compile "$LINENO"; then :
2895 ac_hi=-1 ac_mid=-1
2896 while :; do
2897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2898 /* end confdefs.h. */
2899 $4
2900 int
2901 main ()
2902 {
2903 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2904 test_array [0] = 0;
2905 return test_array [0];
2906
2907 ;
2908 return 0;
2909 }
2910 _ACEOF
2911 if ac_fn_c_try_compile "$LINENO"; then :
2912 ac_lo=$ac_mid; break
2913 else
2914 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2915 if test $ac_mid -le $ac_hi; then
2916 ac_lo= ac_hi=
2917 break
2918 fi
2919 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2920 fi
2921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2922 done
2923 else
2924 ac_lo= ac_hi=
2925 fi
2926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2927 fi
2928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2929 # Binary search between lo and hi bounds.
2930 while test "x$ac_lo" != "x$ac_hi"; do
2931 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2933 /* end confdefs.h. */
2934 $4
2935 int
2936 main ()
2937 {
2938 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2939 test_array [0] = 0;
2940 return test_array [0];
2941
2942 ;
2943 return 0;
2944 }
2945 _ACEOF
2946 if ac_fn_c_try_compile "$LINENO"; then :
2947 ac_hi=$ac_mid
2948 else
2949 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2950 fi
2951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2952 done
2953 case $ac_lo in #((
2954 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2955 '') ac_retval=1 ;;
2956 esac
2957 else
2958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2959 /* end confdefs.h. */
2960 $4
2961 static long int longval () { return $2; }
2962 static unsigned long int ulongval () { return $2; }
2963 #include <stdio.h>
2964 #include <stdlib.h>
2965 int
2966 main ()
2967 {
2968
2969 FILE *f = fopen ("conftest.val", "w");
2970 if (! f)
2971 return 1;
2972 if (($2) < 0)
2973 {
2974 long int i = longval ();
2975 if (i != ($2))
2976 return 1;
2977 fprintf (f, "%ld", i);
2978 }
2979 else
2980 {
2981 unsigned long int i = ulongval ();
2982 if (i != ($2))
2983 return 1;
2984 fprintf (f, "%lu", i);
2985 }
2986 /* Do not output a trailing newline, as this causes \r\n confusion
2987 on some platforms. */
2988 return ferror (f) || fclose (f) != 0;
2989
2990 ;
2991 return 0;
2992 }
2993 _ACEOF
2994 if ac_fn_c_try_run "$LINENO"; then :
2995 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2996 else
2997 ac_retval=1
2998 fi
2999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3000 conftest.$ac_objext conftest.beam conftest.$ac_ext
3001 rm -f conftest.val
3002
3003 fi
3004 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3005 as_fn_set_status $ac_retval
3006
3007 } # ac_fn_c_compute_int
3008
3009 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3010 # ---------------------------------------------
3011 # Tests whether TYPE exists after having included INCLUDES, setting cache
3012 # variable VAR accordingly.
3013 ac_fn_cxx_check_type ()
3014 {
3015 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3017 $as_echo_n "checking for $2... " >&6; }
3018 if eval \${$3+:} false; then :
3019 $as_echo_n "(cached) " >&6
3020 else
3021 eval "$3=no"
3022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3023 /* end confdefs.h. */
3024 $4
3025 int
3026 main ()
3027 {
3028 if (sizeof ($2))
3029 return 0;
3030 ;
3031 return 0;
3032 }
3033 _ACEOF
3034 if ac_fn_cxx_try_compile "$LINENO"; then :
3035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3036 /* end confdefs.h. */
3037 $4
3038 int
3039 main ()
3040 {
3041 if (sizeof (($2)))
3042 return 0;
3043 ;
3044 return 0;
3045 }
3046 _ACEOF
3047 if ac_fn_cxx_try_compile "$LINENO"; then :
3048
3049 else
3050 eval "$3=yes"
3051 fi
3052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3053 fi
3054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3055 fi
3056 eval ac_res=\$$3
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3058 $as_echo "$ac_res" >&6; }
3059 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3060
3061 } # ac_fn_cxx_check_type
3062
3063 # ac_fn_cxx_try_cpp LINENO
3064 # ------------------------
3065 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3066 ac_fn_cxx_try_cpp ()
3067 {
3068 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3069 if { { ac_try="$ac_cpp conftest.$ac_ext"
3070 case "(($ac_try" in
3071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072 *) ac_try_echo=$ac_try;;
3073 esac
3074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3075 $as_echo "$ac_try_echo"; } >&5
3076 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3077 ac_status=$?
3078 if test -s conftest.err; then
3079 grep -v '^ *+' conftest.err >conftest.er1
3080 cat conftest.er1 >&5
3081 mv -f conftest.er1 conftest.err
3082 fi
3083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3084 test $ac_status = 0; } > conftest.i && {
3085 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3086 test ! -s conftest.err
3087 }; then :
3088 ac_retval=0
3089 else
3090 $as_echo "$as_me: failed program was:" >&5
3091 sed 's/^/| /' conftest.$ac_ext >&5
3092
3093 ac_retval=1
3094 fi
3095 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3096 as_fn_set_status $ac_retval
3097
3098 } # ac_fn_cxx_try_cpp
3099
3100 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3101 # ---------------------------------------------------------
3102 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3103 # the include files in INCLUDES and setting the cache variable VAR
3104 # accordingly.
3105 ac_fn_cxx_check_header_mongrel ()
3106 {
3107 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3108 if eval \${$3+:} false; then :
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3110 $as_echo_n "checking for $2... " >&6; }
3111 if eval \${$3+:} false; then :
3112 $as_echo_n "(cached) " >&6
3113 fi
3114 eval ac_res=\$$3
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3116 $as_echo "$ac_res" >&6; }
3117 else
3118 # Is the header compilable?
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3120 $as_echo_n "checking $2 usability... " >&6; }
3121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3122 /* end confdefs.h. */
3123 $4
3124 #include <$2>
3125 _ACEOF
3126 if ac_fn_cxx_try_compile "$LINENO"; then :
3127 ac_header_compiler=yes
3128 else
3129 ac_header_compiler=no
3130 fi
3131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3133 $as_echo "$ac_header_compiler" >&6; }
3134
3135 # Is the header present?
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3137 $as_echo_n "checking $2 presence... " >&6; }
3138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3139 /* end confdefs.h. */
3140 #include <$2>
3141 _ACEOF
3142 if ac_fn_cxx_try_cpp "$LINENO"; then :
3143 ac_header_preproc=yes
3144 else
3145 ac_header_preproc=no
3146 fi
3147 rm -f conftest.err conftest.i conftest.$ac_ext
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3149 $as_echo "$ac_header_preproc" >&6; }
3150
3151 # So? What about this header?
3152 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3153 yes:no: )
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3155 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3157 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3158 ;;
3159 no:yes:* )
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3161 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3163 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3165 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3167 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3169 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3170 ( $as_echo "## ----------------------------------------- ##
3171 ## Report this to wx-dev@lists.wxwidgets.org ##
3172 ## ----------------------------------------- ##"
3173 ) | sed "s/^/$as_me: WARNING: /" >&2
3174 ;;
3175 esac
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3177 $as_echo_n "checking for $2... " >&6; }
3178 if eval \${$3+:} false; then :
3179 $as_echo_n "(cached) " >&6
3180 else
3181 eval "$3=\$ac_header_compiler"
3182 fi
3183 eval ac_res=\$$3
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3185 $as_echo "$ac_res" >&6; }
3186 fi
3187 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3188
3189 } # ac_fn_cxx_check_header_mongrel
3190
3191 # ac_fn_c_check_func LINENO FUNC VAR
3192 # ----------------------------------
3193 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3194 ac_fn_c_check_func ()
3195 {
3196 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3198 $as_echo_n "checking for $2... " >&6; }
3199 if eval \${$3+:} false; then :
3200 $as_echo_n "(cached) " >&6
3201 else
3202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3203 /* end confdefs.h. */
3204 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3206 #define $2 innocuous_$2
3207
3208 /* System header to define __stub macros and hopefully few prototypes,
3209 which can conflict with char $2 (); below.
3210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3211 <limits.h> exists even on freestanding compilers. */
3212
3213 #ifdef __STDC__
3214 # include <limits.h>
3215 #else
3216 # include <assert.h>
3217 #endif
3218
3219 #undef $2
3220
3221 /* Override any GCC internal prototype to avoid an error.
3222 Use char because int might match the return type of a GCC
3223 builtin and then its argument prototype would still apply. */
3224 #ifdef __cplusplus
3225 extern "C"
3226 #endif
3227 char $2 ();
3228 /* The GNU C library defines this for functions which it implements
3229 to always fail with ENOSYS. Some functions are actually named
3230 something starting with __ and the normal name is an alias. */
3231 #if defined __stub_$2 || defined __stub___$2
3232 choke me
3233 #endif
3234
3235 int
3236 main ()
3237 {
3238 return $2 ();
3239 ;
3240 return 0;
3241 }
3242 _ACEOF
3243 if ac_fn_c_try_link "$LINENO"; then :
3244 eval "$3=yes"
3245 else
3246 eval "$3=no"
3247 fi
3248 rm -f core conftest.err conftest.$ac_objext \
3249 conftest$ac_exeext conftest.$ac_ext
3250 fi
3251 eval ac_res=\$$3
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3253 $as_echo "$ac_res" >&6; }
3254 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3255
3256 } # ac_fn_c_check_func
3257
3258 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3259 # -------------------------------------------
3260 # Tests whether TYPE exists after having included INCLUDES, setting cache
3261 # variable VAR accordingly.
3262 ac_fn_c_check_type ()
3263 {
3264 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3266 $as_echo_n "checking for $2... " >&6; }
3267 if eval \${$3+:} false; then :
3268 $as_echo_n "(cached) " >&6
3269 else
3270 eval "$3=no"
3271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3272 /* end confdefs.h. */
3273 $4
3274 int
3275 main ()
3276 {
3277 if (sizeof ($2))
3278 return 0;
3279 ;
3280 return 0;
3281 }
3282 _ACEOF
3283 if ac_fn_c_try_compile "$LINENO"; then :
3284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3285 /* end confdefs.h. */
3286 $4
3287 int
3288 main ()
3289 {
3290 if (sizeof (($2)))
3291 return 0;
3292 ;
3293 return 0;
3294 }
3295 _ACEOF
3296 if ac_fn_c_try_compile "$LINENO"; then :
3297
3298 else
3299 eval "$3=yes"
3300 fi
3301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3302 fi
3303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3304 fi
3305 eval ac_res=\$$3
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3307 $as_echo "$ac_res" >&6; }
3308 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3309
3310 } # ac_fn_c_check_type
3311
3312 # ac_fn_cxx_try_run LINENO
3313 # ------------------------
3314 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3315 # that executables *can* be run.
3316 ac_fn_cxx_try_run ()
3317 {
3318 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3319 if { { ac_try="$ac_link"
3320 case "(($ac_try" in
3321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3322 *) ac_try_echo=$ac_try;;
3323 esac
3324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3325 $as_echo "$ac_try_echo"; } >&5
3326 (eval "$ac_link") 2>&5
3327 ac_status=$?
3328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3329 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3330 { { case "(($ac_try" in
3331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3332 *) ac_try_echo=$ac_try;;
3333 esac
3334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3335 $as_echo "$ac_try_echo"; } >&5
3336 (eval "$ac_try") 2>&5
3337 ac_status=$?
3338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3339 test $ac_status = 0; }; }; then :
3340 ac_retval=0
3341 else
3342 $as_echo "$as_me: program exited with status $ac_status" >&5
3343 $as_echo "$as_me: failed program was:" >&5
3344 sed 's/^/| /' conftest.$ac_ext >&5
3345
3346 ac_retval=$ac_status
3347 fi
3348 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3349 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3350 as_fn_set_status $ac_retval
3351
3352 } # ac_fn_cxx_try_run
3353 cat >config.log <<_ACEOF
3354 This file contains any messages produced by compilers while
3355 running configure, to aid debugging if configure makes a mistake.
3356
3357 It was created by wxWidgets $as_me 2.9.5, which was
3358 generated by GNU Autoconf 2.69. Invocation command line was
3359
3360 $ $0 $@
3361
3362 _ACEOF
3363 exec 5>>config.log
3364 {
3365 cat <<_ASUNAME
3366 ## --------- ##
3367 ## Platform. ##
3368 ## --------- ##
3369
3370 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3371 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3372 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3373 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3374 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3375
3376 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3377 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3378
3379 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3380 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3381 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3382 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3383 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3384 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3385 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3386
3387 _ASUNAME
3388
3389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3390 for as_dir in $PATH
3391 do
3392 IFS=$as_save_IFS
3393 test -z "$as_dir" && as_dir=.
3394 $as_echo "PATH: $as_dir"
3395 done
3396 IFS=$as_save_IFS
3397
3398 } >&5
3399
3400 cat >&5 <<_ACEOF
3401
3402
3403 ## ----------- ##
3404 ## Core tests. ##
3405 ## ----------- ##
3406
3407 _ACEOF
3408
3409
3410 # Keep a trace of the command line.
3411 # Strip out --no-create and --no-recursion so they do not pile up.
3412 # Strip out --silent because we don't want to record it for future runs.
3413 # Also quote any args containing shell meta-characters.
3414 # Make two passes to allow for proper duplicate-argument suppression.
3415 ac_configure_args=
3416 ac_configure_args0=
3417 ac_configure_args1=
3418 ac_must_keep_next=false
3419 for ac_pass in 1 2
3420 do
3421 for ac_arg
3422 do
3423 case $ac_arg in
3424 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3425 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3426 | -silent | --silent | --silen | --sile | --sil)
3427 continue ;;
3428 *\'*)
3429 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3430 esac
3431 case $ac_pass in
3432 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3433 2)
3434 as_fn_append ac_configure_args1 " '$ac_arg'"
3435 if test $ac_must_keep_next = true; then
3436 ac_must_keep_next=false # Got value, back to normal.
3437 else
3438 case $ac_arg in
3439 *=* | --config-cache | -C | -disable-* | --disable-* \
3440 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3441 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3442 | -with-* | --with-* | -without-* | --without-* | --x)
3443 case "$ac_configure_args0 " in
3444 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3445 esac
3446 ;;
3447 -* ) ac_must_keep_next=true ;;
3448 esac
3449 fi
3450 as_fn_append ac_configure_args " '$ac_arg'"
3451 ;;
3452 esac
3453 done
3454 done
3455 { ac_configure_args0=; unset ac_configure_args0;}
3456 { ac_configure_args1=; unset ac_configure_args1;}
3457
3458 # When interrupted or exit'd, cleanup temporary files, and complete
3459 # config.log. We remove comments because anyway the quotes in there
3460 # would cause problems or look ugly.
3461 # WARNING: Use '\'' to represent an apostrophe within the trap.
3462 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3463 trap 'exit_status=$?
3464 # Save into config.log some information that might help in debugging.
3465 {
3466 echo
3467
3468 $as_echo "## ---------------- ##
3469 ## Cache variables. ##
3470 ## ---------------- ##"
3471 echo
3472 # The following way of writing the cache mishandles newlines in values,
3473 (
3474 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3475 eval ac_val=\$$ac_var
3476 case $ac_val in #(
3477 *${as_nl}*)
3478 case $ac_var in #(
3479 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3480 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3481 esac
3482 case $ac_var in #(
3483 _ | IFS | as_nl) ;; #(
3484 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3485 *) { eval $ac_var=; unset $ac_var;} ;;
3486 esac ;;
3487 esac
3488 done
3489 (set) 2>&1 |
3490 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3491 *${as_nl}ac_space=\ *)
3492 sed -n \
3493 "s/'\''/'\''\\\\'\'''\''/g;
3494 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3495 ;; #(
3496 *)
3497 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3498 ;;
3499 esac |
3500 sort
3501 )
3502 echo
3503
3504 $as_echo "## ----------------- ##
3505 ## Output variables. ##
3506 ## ----------------- ##"
3507 echo
3508 for ac_var in $ac_subst_vars
3509 do
3510 eval ac_val=\$$ac_var
3511 case $ac_val in
3512 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3513 esac
3514 $as_echo "$ac_var='\''$ac_val'\''"
3515 done | sort
3516 echo
3517
3518 if test -n "$ac_subst_files"; then
3519 $as_echo "## ------------------- ##
3520 ## File substitutions. ##
3521 ## ------------------- ##"
3522 echo
3523 for ac_var in $ac_subst_files
3524 do
3525 eval ac_val=\$$ac_var
3526 case $ac_val in
3527 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3528 esac
3529 $as_echo "$ac_var='\''$ac_val'\''"
3530 done | sort
3531 echo
3532 fi
3533
3534 if test -s confdefs.h; then
3535 $as_echo "## ----------- ##
3536 ## confdefs.h. ##
3537 ## ----------- ##"
3538 echo
3539 cat confdefs.h
3540 echo
3541 fi
3542 test "$ac_signal" != 0 &&
3543 $as_echo "$as_me: caught signal $ac_signal"
3544 $as_echo "$as_me: exit $exit_status"
3545 } >&5
3546 rm -f core *.core core.conftest.* &&
3547 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3548 exit $exit_status
3549 ' 0
3550 for ac_signal in 1 2 13 15; do
3551 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3552 done
3553 ac_signal=0
3554
3555 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3556 rm -f -r conftest* confdefs.h
3557
3558 $as_echo "/* confdefs.h */" > confdefs.h
3559
3560 # Predefined preprocessor variables.
3561
3562 cat >>confdefs.h <<_ACEOF
3563 #define PACKAGE_NAME "$PACKAGE_NAME"
3564 _ACEOF
3565
3566 cat >>confdefs.h <<_ACEOF
3567 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3568 _ACEOF
3569
3570 cat >>confdefs.h <<_ACEOF
3571 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3572 _ACEOF
3573
3574 cat >>confdefs.h <<_ACEOF
3575 #define PACKAGE_STRING "$PACKAGE_STRING"
3576 _ACEOF
3577
3578 cat >>confdefs.h <<_ACEOF
3579 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3580 _ACEOF
3581
3582 cat >>confdefs.h <<_ACEOF
3583 #define PACKAGE_URL "$PACKAGE_URL"
3584 _ACEOF
3585
3586
3587 # Let the site file select an alternate cache file if it wants to.
3588 # Prefer an explicitly selected file to automatically selected ones.
3589 ac_site_file1=NONE
3590 ac_site_file2=NONE
3591 if test -n "$CONFIG_SITE"; then
3592 # We do not want a PATH search for config.site.
3593 case $CONFIG_SITE in #((
3594 -*) ac_site_file1=./$CONFIG_SITE;;
3595 */*) ac_site_file1=$CONFIG_SITE;;
3596 *) ac_site_file1=./$CONFIG_SITE;;
3597 esac
3598 elif test "x$prefix" != xNONE; then
3599 ac_site_file1=$prefix/share/config.site
3600 ac_site_file2=$prefix/etc/config.site
3601 else
3602 ac_site_file1=$ac_default_prefix/share/config.site
3603 ac_site_file2=$ac_default_prefix/etc/config.site
3604 fi
3605 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3606 do
3607 test "x$ac_site_file" = xNONE && continue
3608 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3610 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3611 sed 's/^/| /' "$ac_site_file" >&5
3612 . "$ac_site_file" \
3613 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3614 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3615 as_fn_error $? "failed to load site script $ac_site_file
3616 See \`config.log' for more details" "$LINENO" 5; }
3617 fi
3618 done
3619
3620 if test -r "$cache_file"; then
3621 # Some versions of bash will fail to source /dev/null (special files
3622 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3623 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3625 $as_echo "$as_me: loading cache $cache_file" >&6;}
3626 case $cache_file in
3627 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3628 *) . "./$cache_file";;
3629 esac
3630 fi
3631 else
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3633 $as_echo "$as_me: creating cache $cache_file" >&6;}
3634 >$cache_file
3635 fi
3636
3637 # Check that the precious variables saved in the cache have kept the same
3638 # value.
3639 ac_cache_corrupted=false
3640 for ac_var in $ac_precious_vars; do
3641 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3642 eval ac_new_set=\$ac_env_${ac_var}_set
3643 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3644 eval ac_new_val=\$ac_env_${ac_var}_value
3645 case $ac_old_set,$ac_new_set in
3646 set,)
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3648 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3649 ac_cache_corrupted=: ;;
3650 ,set)
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3652 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3653 ac_cache_corrupted=: ;;
3654 ,);;
3655 *)
3656 if test "x$ac_old_val" != "x$ac_new_val"; then
3657 # differences in whitespace do not lead to failure.
3658 ac_old_val_w=`echo x $ac_old_val`
3659 ac_new_val_w=`echo x $ac_new_val`
3660 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3662 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3663 ac_cache_corrupted=:
3664 else
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3666 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3667 eval $ac_var=\$ac_old_val
3668 fi
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3670 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3672 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3673 fi;;
3674 esac
3675 # Pass precious variables to config.status.
3676 if test "$ac_new_set" = set; then
3677 case $ac_new_val in
3678 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3679 *) ac_arg=$ac_var=$ac_new_val ;;
3680 esac
3681 case " $ac_configure_args " in
3682 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3683 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3684 esac
3685 fi
3686 done
3687 if $ac_cache_corrupted; then
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3691 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3692 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3693 fi
3694 ## -------------------- ##
3695 ## Main body of script. ##
3696 ## -------------------- ##
3697
3698 ac_ext=c
3699 ac_cpp='$CPP $CPPFLAGS'
3700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3703
3704
3705
3706
3707
3708 ac_aux_dir=
3709 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3710 if test -f "$ac_dir/install-sh"; then
3711 ac_aux_dir=$ac_dir
3712 ac_install_sh="$ac_aux_dir/install-sh -c"
3713 break
3714 elif test -f "$ac_dir/install.sh"; then
3715 ac_aux_dir=$ac_dir
3716 ac_install_sh="$ac_aux_dir/install.sh -c"
3717 break
3718 elif test -f "$ac_dir/shtool"; then
3719 ac_aux_dir=$ac_dir
3720 ac_install_sh="$ac_aux_dir/shtool install -c"
3721 break
3722 fi
3723 done
3724 if test -z "$ac_aux_dir"; then
3725 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3726 fi
3727
3728 # These three variables are undocumented and unsupported,
3729 # and are intended to be withdrawn in a future Autoconf release.
3730 # They can cause serious problems if a builder's source tree is in a directory
3731 # whose full name contains unusual characters.
3732 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3733 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3734 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3735
3736
3737 # Make sure we can run config.sub.
3738 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3739 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3740
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3742 $as_echo_n "checking build system type... " >&6; }
3743 if ${ac_cv_build+:} false; then :
3744 $as_echo_n "(cached) " >&6
3745 else
3746 ac_build_alias=$build_alias
3747 test "x$ac_build_alias" = x &&
3748 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3749 test "x$ac_build_alias" = x &&
3750 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3751 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3752 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3753
3754 fi
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3756 $as_echo "$ac_cv_build" >&6; }
3757 case $ac_cv_build in
3758 *-*-*) ;;
3759 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3760 esac
3761 build=$ac_cv_build
3762 ac_save_IFS=$IFS; IFS='-'
3763 set x $ac_cv_build
3764 shift
3765 build_cpu=$1
3766 build_vendor=$2
3767 shift; shift
3768 # Remember, the first character of IFS is used to create $*,
3769 # except with old shells:
3770 build_os=$*
3771 IFS=$ac_save_IFS
3772 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3773
3774
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3776 $as_echo_n "checking host system type... " >&6; }
3777 if ${ac_cv_host+:} false; then :
3778 $as_echo_n "(cached) " >&6
3779 else
3780 if test "x$host_alias" = x; then
3781 ac_cv_host=$ac_cv_build
3782 else
3783 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3784 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3785 fi
3786
3787 fi
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3789 $as_echo "$ac_cv_host" >&6; }
3790 case $ac_cv_host in
3791 *-*-*) ;;
3792 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3793 esac
3794 host=$ac_cv_host
3795 ac_save_IFS=$IFS; IFS='-'
3796 set x $ac_cv_host
3797 shift
3798 host_cpu=$1
3799 host_vendor=$2
3800 shift; shift
3801 # Remember, the first character of IFS is used to create $*,
3802 # except with old shells:
3803 host_os=$*
3804 IFS=$ac_save_IFS
3805 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3806
3807
3808
3809 if test "$cross_compiling" != "no"; then
3810 HOST_PREFIX="${host_alias}-"
3811 HOST_SUFFIX="-$host_alias"
3812 else
3813 HOST_PREFIX=
3814 HOST_SUFFIX=
3815 fi
3816
3817
3818 wx_major_version_number=2
3819 wx_minor_version_number=9
3820 wx_release_number=5
3821 wx_subrelease_number=0
3822
3823 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
3824 WX_VERSION=$WX_RELEASE.$wx_release_number
3825 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
3826
3827 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
3828
3829
3830 wx_top_builddir="`pwd`"
3831
3832
3833
3834
3835 USE_UNIX=1
3836 USE_OS2=0
3837 USE_WIN32=0
3838 USE_DOS=0
3839 USE_BEOS=0
3840 USE_MAC=0
3841
3842 USE_AIX=
3843 USE_BSD= USE_DARWIN= USE_FREEBSD=
3844 USE_GNU= USE_HPUX=
3845 USE_LINUX=
3846 USE_NETBSD=
3847 USE_OPENBSD=
3848 USE_OSF= USE_SGI=
3849 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
3850 USE_ULTRIX=
3851 USE_UNIXWARE=
3852
3853 USE_ALPHA=
3854
3855 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
3856
3857 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3858
3859 DEFAULT_wxUSE_OLD_COCOA=0
3860 DEFAULT_wxUSE_GTK=0
3861 DEFAULT_wxUSE_OSX_CARBON=0
3862 DEFAULT_wxUSE_OSX_COCOA=0
3863 DEFAULT_wxUSE_OSX_IPHONE=0
3864 DEFAULT_wxUSE_MICROWIN=0
3865 DEFAULT_wxUSE_MOTIF=0
3866 DEFAULT_wxUSE_MSW=0
3867 DEFAULT_wxUSE_PM=0
3868 DEFAULT_wxUSE_X11=0
3869 DEFAULT_wxUSE_DFB=0
3870
3871 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
3872 DEFAULT_DEFAULT_wxUSE_GTK=0
3873 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
3874 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
3875 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
3876 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
3877 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3878 DEFAULT_DEFAULT_wxUSE_MSW=0
3879 DEFAULT_DEFAULT_wxUSE_PM=0
3880 DEFAULT_DEFAULT_wxUSE_X11=0
3881 DEFAULT_DEFAULT_wxUSE_DFB=0
3882
3883 PROGRAM_EXT=
3884 SAMPLES_RPATH_FLAG=
3885 DYLIB_RPATH_INSTALL=
3886 DYLIB_RPATH_POSTLINK=
3887
3888 DEFAULT_STD_FLAG=yes
3889
3890 case "${host}" in
3891 *-hp-hpux* )
3892 USE_HPUX=1
3893 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3894 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3895 $as_echo "#define __HPUX__ 1" >>confdefs.h
3896
3897
3898 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
3899 ;;
3900 *-*-linux* )
3901 USE_LINUX=1
3902 $as_echo "#define __LINUX__ 1" >>confdefs.h
3903
3904 TMP=`uname -m`
3905 if test "x$TMP" = "xalpha"; then
3906 USE_ALPHA=1
3907 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3908
3909 fi
3910 DEFAULT_DEFAULT_wxUSE_GTK=1
3911 ;;
3912 *-*-gnu* | *-*-k*bsd*-gnu )
3913 USE_GNU=1
3914 TMP=`uname -m`
3915 if test "x$TMP" = "xalpha"; then
3916 USE_ALPHA=1
3917 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3918
3919 fi
3920 DEFAULT_DEFAULT_wxUSE_GTK=1
3921 ;;
3922 *-*-irix5* | *-*-irix6* )
3923 USE_SGI=1
3924 USE_SVR4=1
3925 $as_echo "#define __SGI__ 1" >>confdefs.h
3926
3927 $as_echo "#define __SVR4__ 1" >>confdefs.h
3928
3929 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3930 ;;
3931 *-*-qnx*)
3932 USE_QNX=1
3933 $as_echo "#define __QNX__ 1" >>confdefs.h
3934
3935 DEFAULT_DEFAULT_wxUSE_X11=1
3936 ;;
3937 *-*-solaris2* )
3938 USE_SUN=1
3939 USE_SOLARIS=1
3940 USE_SVR4=1
3941 $as_echo "#define __SUN__ 1" >>confdefs.h
3942
3943 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3944
3945 $as_echo "#define __SVR4__ 1" >>confdefs.h
3946
3947 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3948 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3949 ;;
3950 *-*-sunos4* )
3951 USE_SUN=1
3952 USE_SUNOS=1
3953 USE_BSD=1
3954 $as_echo "#define __SUN__ 1" >>confdefs.h
3955
3956 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3957
3958 $as_echo "#define __BSD__ 1" >>confdefs.h
3959
3960 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3961 ;;
3962 *-*-freebsd*)
3963 USE_BSD=1
3964 USE_FREEBSD=1
3965 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3966
3967 $as_echo "#define __BSD__ 1" >>confdefs.h
3968
3969 DEFAULT_DEFAULT_wxUSE_GTK=1
3970 ;;
3971 *-*-openbsd*|*-*-mirbsd*)
3972 USE_BSD=1
3973 USE_OPENBSD=1
3974 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3975
3976 $as_echo "#define __BSD__ 1" >>confdefs.h
3977
3978 DEFAULT_DEFAULT_wxUSE_GTK=1
3979 ;;
3980 *-*-netbsd*)
3981 USE_BSD=1
3982 USE_NETBSD=1
3983 $as_echo "#define __NETBSD__ 1" >>confdefs.h
3984
3985 $as_echo "#define __BSD__ 1" >>confdefs.h
3986
3987 DEFAULT_DEFAULT_wxUSE_GTK=1
3988 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3989
3990 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
3991 ;;
3992 *-*-osf* )
3993 USE_ALPHA=1
3994 USE_OSF=1
3995 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3996
3997 $as_echo "#define __OSF__ 1" >>confdefs.h
3998
3999 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4000 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
4001 ;;
4002 *-*-dgux5* )
4003 USE_ALPHA=1
4004 USE_SVR4=1
4005 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4006
4007 $as_echo "#define __SVR4__ 1" >>confdefs.h
4008
4009 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4010 ;;
4011 *-*-sysv5* )
4012 USE_SYSV=1
4013 USE_SVR4=1
4014 $as_echo "#define __SYSV__ 1" >>confdefs.h
4015
4016 $as_echo "#define __SVR4__ 1" >>confdefs.h
4017
4018 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4019 ;;
4020 *-*-aix* )
4021 USE_AIX=1
4022 USE_SYSV=1
4023 USE_SVR4=1
4024 $as_echo "#define __AIX__ 1" >>confdefs.h
4025
4026 $as_echo "#define __SYSV__ 1" >>confdefs.h
4027
4028 $as_echo "#define __SVR4__ 1" >>confdefs.h
4029
4030 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4031 ;;
4032
4033 *-*-*UnixWare*)
4034 USE_SYSV=1
4035 USE_SVR4=1
4036 USE_UNIXWARE=1
4037 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4038
4039 ;;
4040
4041 *-*-cygwin* | *-*-mingw32* )
4042 PROGRAM_EXT=".exe"
4043 DEFAULT_DEFAULT_wxUSE_MSW=1
4044 ;;
4045
4046 *-pc-msdosdjgpp )
4047 USE_UNIX=0
4048 USE_DOS=1
4049 $as_echo "#define __DOS__ 1" >>confdefs.h
4050
4051 PROGRAM_EXT=".exe"
4052 ;;
4053
4054 *-pc-os2_emx | *-pc-os2-emx )
4055 $as_echo "#define __EMX__ 1" >>confdefs.h
4056
4057 USE_OS2=1
4058 $as_echo "#define __OS2__ 1" >>confdefs.h
4059
4060 PROGRAM_EXT=".exe"
4061 DEFAULT_DEFAULT_wxUSE_PM=1
4062 CXX=gcc
4063 LDFLAGS="$LDFLAGS -Zcrtdll"
4064 ac_executable_extensions=".exe"
4065 export ac_executable_extensions
4066 ac_save_IFS="$IFS"
4067 IFS='\\'
4068 ac_TEMP_PATH=
4069 for ac_dir in $PATH; do
4070 IFS=$ac_save_IFS
4071 if test -z "$ac_TEMP_PATH"; then
4072 ac_TEMP_PATH="$ac_dir"
4073 else
4074 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
4075 fi
4076 done
4077 export PATH="$ac_TEMP_PATH"
4078 unset ac_TEMP_PATH
4079 DEFAULT_STD_FLAG=no
4080 ;;
4081
4082 arm-apple-darwin*)
4083 USE_BSD=1
4084 USE_DARWIN=1
4085 $as_echo "#define __BSD__ 1" >>confdefs.h
4086
4087 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4088
4089 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
4090 ;;
4091
4092 *-*-darwin* )
4093 USE_BSD=1
4094 USE_DARWIN=1
4095 $as_echo "#define __BSD__ 1" >>confdefs.h
4096
4097 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4098
4099 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4100
4101 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=1
4102 ;;
4103
4104 *-*-beos* )
4105 USE_BEOS=1
4106 $as_echo "#define __BEOS__ 1" >>confdefs.h
4107
4108 ;;
4109
4110 *)
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4112 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4114 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4115
4116 DEFAULT_DEFAULT_wxUSE_X11=1
4117 DEFAULT_wxUSE_SHARED=no
4118 esac
4119
4120
4121
4122 DEFAULT_wxUSE_ALL_FEATURES=yes
4123
4124 DEFAULT_wxUSE_STD_CONTAINERS=no
4125 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
4126 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
4127
4128 DEFAULT_wxUSE_DMALLOC=no
4129 DEFAULT_wxUSE_LIBGNOMEVFS=no
4130 DEFAULT_wxUSE_LIBHILDON=no
4131 DEFAULT_wxUSE_LIBHILDON2=no
4132 DEFAULT_wxUSE_LIBMSPACK=no
4133 DEFAULT_wxUSE_LIBSDL=no
4134
4135 DEFAULT_wxUSE_ACCESSIBILITY=no
4136 DEFAULT_wxUSE_IPV6=no
4137 DEFAULT_wxUSE_GSTREAMER8=no
4138 DEFAULT_wxUSE_UNICODE_UTF8=no
4139 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
4140
4141 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
4142 DEFAULT_wxUSE_OPENGL=auto
4143 DEFAULT_wxUSE_MEDIACTRL=auto
4144 DEFAULT_wxUSE_COMPILER_TLS=auto
4145 DEFAULT_wxUSE_HOTKEY=auto
4146 DEFAULT_wxUSE_METAFILE=auto
4147
4148 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
4149 DEFAULT_wxUSE_MAC_ARCH=no
4150
4151 DEFAULT_wxUSE_OFFICIAL_BUILD=no
4152
4153 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
4154
4155
4156
4157
4158
4159 enablestring=disable
4160 defaultval=
4161 if test -z "$defaultval"; then
4162 if test x"$enablestring" = xdisable; then
4163 defaultval=yes
4164 else
4165 defaultval=no
4166 fi
4167 fi
4168
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4170 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4171 # Check whether --enable-gui was given.
4172 if test "${enable_gui+set}" = set; then :
4173 enableval=$enable_gui;
4174 if test "$enableval" = yes; then
4175 wx_cv_use_gui='wxUSE_GUI=yes'
4176 else
4177 wx_cv_use_gui='wxUSE_GUI=no'
4178 fi
4179
4180 else
4181
4182 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4183
4184 fi
4185
4186
4187 eval "$wx_cv_use_gui"
4188
4189 if test x"$enablestring" = xdisable; then
4190 if test $wxUSE_GUI = no; then
4191 result=yes
4192 else
4193 result=no
4194 fi
4195 else
4196 result=$wxUSE_GUI
4197 fi
4198
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4200 $as_echo "$result" >&6; }
4201
4202
4203 enablestring=
4204 defaultval=
4205 if test -z "$defaultval"; then
4206 if test x"$enablestring" = xdisable; then
4207 defaultval=yes
4208 else
4209 defaultval=no
4210 fi
4211 fi
4212
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4214 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4215 # Check whether --enable-monolithic was given.
4216 if test "${enable_monolithic+set}" = set; then :
4217 enableval=$enable_monolithic;
4218 if test "$enableval" = yes; then
4219 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
4220 else
4221 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
4222 fi
4223
4224 else
4225
4226 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4227
4228 fi
4229
4230
4231 eval "$wx_cv_use_monolithic"
4232
4233 if test x"$enablestring" = xdisable; then
4234 if test $wxUSE_MONOLITHIC = no; then
4235 result=yes
4236 else
4237 result=no
4238 fi
4239 else
4240 result=$wxUSE_MONOLITHIC
4241 fi
4242
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4244 $as_echo "$result" >&6; }
4245
4246
4247 enablestring=
4248 defaultval=
4249 if test -z "$defaultval"; then
4250 if test x"$enablestring" = xdisable; then
4251 defaultval=yes
4252 else
4253 defaultval=no
4254 fi
4255 fi
4256
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-plugins" >&5
4258 $as_echo_n "checking for --${enablestring:-enable}-plugins... " >&6; }
4259 # Check whether --enable-plugins was given.
4260 if test "${enable_plugins+set}" = set; then :
4261 enableval=$enable_plugins;
4262 if test "$enableval" = yes; then
4263 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4264 else
4265 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4266 fi
4267
4268 else
4269
4270 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4271
4272 fi
4273
4274
4275 eval "$wx_cv_use_plugins"
4276
4277 if test x"$enablestring" = xdisable; then
4278 if test $wxUSE_PLUGINS = no; then
4279 result=yes
4280 else
4281 result=no
4282 fi
4283 else
4284 result=$wxUSE_PLUGINS
4285 fi
4286
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4288 $as_echo "$result" >&6; }
4289
4290
4291 withstring=without
4292 defaultval=$wxUSE_ALL_FEATURES
4293 if test -z "$defaultval"; then
4294 if test x"$withstring" = xwithout; then
4295 defaultval=yes
4296 else
4297 defaultval=no
4298 fi
4299 fi
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4301 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4302
4303 # Check whether --with-subdirs was given.
4304 if test "${with_subdirs+set}" = set; then :
4305 withval=$with_subdirs;
4306 if test "$withval" = yes; then
4307 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
4308 else
4309 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
4310 fi
4311
4312 else
4313
4314 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4315
4316 fi
4317
4318
4319 eval "$wx_cv_use_subdirs"
4320
4321 if test x"$withstring" = xwithout; then
4322 if test $wxWITH_SUBDIRS = yes; then
4323 result=no
4324 else
4325 result=yes
4326 fi
4327 else
4328 result=$wxWITH_SUBDIRS
4329 fi
4330
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4332 $as_echo "$result" >&6; }
4333
4334
4335 # Check whether --with-flavour was given.
4336 if test "${with_flavour+set}" = set; then :
4337 withval=$with_flavour; WX_FLAVOUR="$withval"
4338 fi
4339
4340
4341 enablestring=
4342 defaultval=
4343 if test -z "$defaultval"; then
4344 if test x"$enablestring" = xdisable; then
4345 defaultval=yes
4346 else
4347 defaultval=no
4348 fi
4349 fi
4350
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4352 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4353 # Check whether --enable-official_build was given.
4354 if test "${enable_official_build+set}" = set; then :
4355 enableval=$enable_official_build;
4356 if test "$enableval" = yes; then
4357 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
4358 else
4359 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
4360 fi
4361
4362 else
4363
4364 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4365
4366 fi
4367
4368
4369 eval "$wx_cv_use_official_build"
4370
4371 if test x"$enablestring" = xdisable; then
4372 if test $wxUSE_OFFICIAL_BUILD = no; then
4373 result=yes
4374 else
4375 result=no
4376 fi
4377 else
4378 result=$wxUSE_OFFICIAL_BUILD
4379 fi
4380
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4382 $as_echo "$result" >&6; }
4383
4384 # Check whether --enable-vendor was given.
4385 if test "${enable_vendor+set}" = set; then :
4386 enableval=$enable_vendor; VENDOR="$enableval"
4387 fi
4388
4389 if test "x$VENDOR" = "x"; then
4390 VENDOR="custom"
4391 fi
4392
4393
4394 enablestring=disable
4395 defaultval=
4396 if test -z "$defaultval"; then
4397 if test x"$enablestring" = xdisable; then
4398 defaultval=yes
4399 else
4400 defaultval=no
4401 fi
4402 fi
4403
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-all-features" >&5
4405 $as_echo_n "checking for --${enablestring:-enable}-all-features... " >&6; }
4406 # Check whether --enable-all-features was given.
4407 if test "${enable_all_features+set}" = set; then :
4408 enableval=$enable_all_features;
4409 if test "$enableval" = yes; then
4410 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4411 else
4412 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4413 fi
4414
4415 else
4416
4417 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4418
4419 fi
4420
4421
4422 eval "$wx_cv_use_all_features"
4423
4424 if test x"$enablestring" = xdisable; then
4425 if test $wxUSE_ALL_FEATURES = no; then
4426 result=yes
4427 else
4428 result=no
4429 fi
4430 else
4431 result=$wxUSE_ALL_FEATURES
4432 fi
4433
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4435 $as_echo "$result" >&6; }
4436
4437
4438 if test "$wxUSE_ALL_FEATURES" = "no"; then
4439 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
4440 DEFAULT_wxUSE_MEDIACTRL=no
4441 fi
4442
4443
4444 if test "$wxUSE_GUI" = "yes"; then
4445
4446
4447 enablestring=
4448 defaultval=
4449 if test -z "$defaultval"; then
4450 if test x"$enablestring" = xdisable; then
4451 defaultval=yes
4452 else
4453 defaultval=no
4454 fi
4455 fi
4456
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4458 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4459 # Check whether --enable-universal was given.
4460 if test "${enable_universal+set}" = set; then :
4461 enableval=$enable_universal;
4462 if test "$enableval" = yes; then
4463 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
4464 else
4465 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
4466 fi
4467
4468 else
4469
4470 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4471
4472 fi
4473
4474
4475 eval "$wx_cv_use_universal"
4476
4477 if test x"$enablestring" = xdisable; then
4478 if test $wxUSE_UNIVERSAL = no; then
4479 result=yes
4480 else
4481 result=no
4482 fi
4483 else
4484 result=$wxUSE_UNIVERSAL
4485 fi
4486
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4488 $as_echo "$result" >&6; }
4489
4490 if test "$wxUSE_UNIVERSAL" = "yes"; then
4491
4492 # Check whether --with-themes was given.
4493 if test "${with_themes+set}" = set; then :
4494 withval=$with_themes; wxUNIV_THEMES="$withval"
4495 fi
4496
4497 fi
4498
4499
4500 # Check whether --with-gtk was given.
4501 if test "${with_gtk+set}" = set; then :
4502 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4503 fi
4504
4505
4506 # Check whether --with-motif was given.
4507 if test "${with_motif+set}" = set; then :
4508 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4509 fi
4510
4511
4512 # Check whether --with-osx_carbon was given.
4513 if test "${with_osx_carbon+set}" = set; then :
4514 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4515 fi
4516
4517
4518 # Check whether --with-osx_cocoa was given.
4519 if test "${with_osx_cocoa+set}" = set; then :
4520 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4521 fi
4522
4523
4524 # Check whether --with-osx_iphone was given.
4525 if test "${with_osx_iphone+set}" = set; then :
4526 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4527 fi
4528
4529
4530 # Check whether --with-osx was given.
4531 if test "${with_osx+set}" = set; then :
4532 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4533 fi
4534
4535
4536 # Check whether --with-carbon was given.
4537 if test "${with_carbon+set}" = set; then :
4538 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4539 fi
4540
4541
4542 # Check whether --with-cocoa was given.
4543 if test "${with_cocoa+set}" = set; then :
4544 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4545 fi
4546
4547
4548 # Check whether --with-iphone was given.
4549 if test "${with_iphone+set}" = set; then :
4550 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4551 fi
4552
4553
4554 # Check whether --with-mac was given.
4555 if test "${with_mac+set}" = set; then :
4556 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4557 fi
4558
4559
4560 # Check whether --with-old_cocoa was given.
4561 if test "${with_old_cocoa+set}" = set; then :
4562 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4563 fi
4564
4565
4566 # Check whether --with-wine was given.
4567 if test "${with_wine+set}" = set; then :
4568 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4569 fi
4570
4571
4572 # Check whether --with-msw was given.
4573 if test "${with_msw+set}" = set; then :
4574 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4575 fi
4576
4577
4578 # Check whether --with-pm was given.
4579 if test "${with_pm+set}" = set; then :
4580 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4581 fi
4582
4583
4584 # Check whether --with-directfb was given.
4585 if test "${with_directfb+set}" = set; then :
4586 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4587 fi
4588
4589
4590 # Check whether --with-microwin was given.
4591 if test "${with_microwin+set}" = set; then :
4592 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4593 fi
4594
4595
4596 # Check whether --with-x11 was given.
4597 if test "${with_x11+set}" = set; then :
4598 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4599 fi
4600
4601
4602 enablestring=
4603 defaultval=
4604 if test -z "$defaultval"; then
4605 if test x"$enablestring" = xdisable; then
4606 defaultval=yes
4607 else
4608 defaultval=no
4609 fi
4610 fi
4611
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4613 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4614 # Check whether --enable-nanox was given.
4615 if test "${enable_nanox+set}" = set; then :
4616 enableval=$enable_nanox;
4617 if test "$enableval" = yes; then
4618 wx_cv_use_nanox='wxUSE_NANOX=yes'
4619 else
4620 wx_cv_use_nanox='wxUSE_NANOX=no'
4621 fi
4622
4623 else
4624
4625 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4626
4627 fi
4628
4629
4630 eval "$wx_cv_use_nanox"
4631
4632 if test x"$enablestring" = xdisable; then
4633 if test $wxUSE_NANOX = no; then
4634 result=yes
4635 else
4636 result=no
4637 fi
4638 else
4639 result=$wxUSE_NANOX
4640 fi
4641
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4643 $as_echo "$result" >&6; }
4644
4645
4646 enablestring=
4647 defaultval=
4648 if test -z "$defaultval"; then
4649 if test x"$enablestring" = xdisable; then
4650 defaultval=yes
4651 else
4652 defaultval=no
4653 fi
4654 fi
4655
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gpe" >&5
4657 $as_echo_n "checking for --${enablestring:-enable}-gpe... " >&6; }
4658 # Check whether --enable-gpe was given.
4659 if test "${enable_gpe+set}" = set; then :
4660 enableval=$enable_gpe;
4661 if test "$enableval" = yes; then
4662 wx_cv_use_gpe='wxUSE_GPE=yes'
4663 else
4664 wx_cv_use_gpe='wxUSE_GPE=no'
4665 fi
4666
4667 else
4668
4669 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4670
4671 fi
4672
4673
4674 eval "$wx_cv_use_gpe"
4675
4676 if test x"$enablestring" = xdisable; then
4677 if test $wxUSE_GPE = no; then
4678 result=yes
4679 else
4680 result=no
4681 fi
4682 else
4683 result=$wxUSE_GPE
4684 fi
4685
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4687 $as_echo "$result" >&6; }
4688
4689
4690
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4692 $as_echo_n "checking for toolkit... " >&6; }
4693
4694
4695
4696 # In Wine, we need to default to MSW, not GTK or MOTIF
4697 if test "$wxUSE_WINE" = "yes"; then
4698 DEFAULT_DEFAULT_wxUSE_GTK=0
4699 DEFAULT_DEFAULT_wxUSE_MOTIF=0
4700 DEFAULT_DEFAULT_wxUSE_MSW=1
4701 wxUSE_SHARED=no
4702 CC=${CC:-winegcc}
4703 CXX=${CXX:-wineg++}
4704 fi
4705
4706
4707 if test "$wxUSE_GUI" = "yes"; then
4708
4709 if test "$USE_BEOS" = 1; then
4710 as_fn_error $? "BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4711 fi
4712
4713 if test "$TOOLKIT_GIVEN" = 1; then
4714 for toolkit in $ALL_TOOLKITS; do
4715 var=wxUSE_$toolkit
4716 eval "value=\$${var}"
4717 if test "x$value" = "xno"; then
4718 eval "$var=0"
4719 elif test "x$value" != "x"; then
4720 eval "$var=1"
4721 fi
4722
4723 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4724 eval "wx${toolkit}_VERSION=$value"
4725 fi
4726 done
4727 else
4728 for toolkit in $ALL_TOOLKITS; do
4729 var=DEFAULT_DEFAULT_wxUSE_$toolkit
4730 eval "wxUSE_$toolkit=\$${var}"
4731 done
4732 fi
4733
4734 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4735 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4736 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4737
4738 case "${host}" in
4739 *-pc-os2_emx | *-pc-os2-emx )
4740 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4741 esac
4742
4743 case "$NUM_TOOLKITS" in
4744 1)
4745 ;;
4746 0)
4747 as_fn_error $? "Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4748 ;;
4749 *)
4750 as_fn_error $? "Please specify at most one toolkit" "$LINENO" 5
4751 esac
4752
4753 for toolkit in $ALL_TOOLKITS; do
4754 var=wxUSE_$toolkit
4755 eval "value=\$${var}"
4756 if test "$value" = 1; then
4757 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4759 $as_echo "$toolkit_echo" >&6; }
4760 fi
4761 done
4762 else
4763 if test "x$host_alias" != "x"; then
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4765 $as_echo "base ($host_alias hosted) only" >&6; }
4766 else
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4768 $as_echo "base only" >&6; }
4769 fi
4770 fi
4771
4772 wxUSE_MAC=0
4773 if test "$wxUSE_OSX_CARBON" = 1 \
4774 -o "$wxUSE_OSX_COCOA" = 1 \
4775 -o "$wxUSE_OSX_IPHONE" = 1; then
4776 wxUSE_MAC=1
4777 fi
4778
4779
4780
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4782 $as_echo_n "checking for --with-libpng... " >&6; }
4783
4784 # Check whether --with-libpng was given.
4785 if test "${with_libpng+set}" = set; then :
4786 withval=$with_libpng;
4787 if test "$withval" = yes; then
4788 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
4789 elif test "$withval" = no; then
4790 wx_cv_use_libpng='wxUSE_LIBPNG=no'
4791 elif test "$withval" = sys; then
4792 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
4793 elif test "$withval" = builtin; then
4794 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
4795 else
4796 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4797 fi
4798
4799 else
4800
4801 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4802
4803 fi
4804
4805
4806 eval "$wx_cv_use_libpng"
4807
4808 if test "$wxUSE_LIBPNG" = yes; then
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4810 $as_echo "yes" >&6; }
4811 elif test "$wxUSE_LIBPNG" = no; then
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4813 $as_echo "no" >&6; }
4814 elif test "$wxUSE_LIBPNG" = sys; then
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4816 $as_echo "system version" >&6; }
4817 elif test "$wxUSE_LIBPNG" = builtin; then
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4819 $as_echo "builtin version" >&6; }
4820 else
4821 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4822 fi
4823
4824
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4826 $as_echo_n "checking for --with-libjpeg... " >&6; }
4827
4828 # Check whether --with-libjpeg was given.
4829 if test "${with_libjpeg+set}" = set; then :
4830 withval=$with_libjpeg;
4831 if test "$withval" = yes; then
4832 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
4833 elif test "$withval" = no; then
4834 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
4835 elif test "$withval" = sys; then
4836 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
4837 elif test "$withval" = builtin; then
4838 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
4839 else
4840 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4841 fi
4842
4843 else
4844
4845 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4846
4847 fi
4848
4849
4850 eval "$wx_cv_use_libjpeg"
4851
4852 if test "$wxUSE_LIBJPEG" = yes; then
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4854 $as_echo "yes" >&6; }
4855 elif test "$wxUSE_LIBJPEG" = no; then
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4857 $as_echo "no" >&6; }
4858 elif test "$wxUSE_LIBJPEG" = sys; then
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4860 $as_echo "system version" >&6; }
4861 elif test "$wxUSE_LIBJPEG" = builtin; then
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4863 $as_echo "builtin version" >&6; }
4864 else
4865 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4866 fi
4867
4868
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libtiff" >&5
4870 $as_echo_n "checking for --with-libtiff... " >&6; }
4871
4872 # Check whether --with-libtiff was given.
4873 if test "${with_libtiff+set}" = set; then :
4874 withval=$with_libtiff;
4875 if test "$withval" = yes; then
4876 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4877 elif test "$withval" = no; then
4878 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4879 elif test "$withval" = sys; then
4880 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4881 elif test "$withval" = builtin; then
4882 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4883 else
4884 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4885 fi
4886
4887 else
4888
4889 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4890
4891 fi
4892
4893
4894 eval "$wx_cv_use_libtiff"
4895
4896 if test "$wxUSE_LIBTIFF" = yes; then
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4898 $as_echo "yes" >&6; }
4899 elif test "$wxUSE_LIBTIFF" = no; then
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4901 $as_echo "no" >&6; }
4902 elif test "$wxUSE_LIBTIFF" = sys; then
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4904 $as_echo "system version" >&6; }
4905 elif test "$wxUSE_LIBTIFF" = builtin; then
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4907 $as_echo "builtin version" >&6; }
4908 else
4909 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4910 fi
4911
4912
4913 withstring=without
4914 defaultval=$wxUSE_ALL_FEATURES
4915 if test -z "$defaultval"; then
4916 if test x"$withstring" = xwithout; then
4917 defaultval=yes
4918 else
4919 defaultval=no
4920 fi
4921 fi
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libjbig" >&5
4923 $as_echo_n "checking for --${withstring:-with}-libjbig... " >&6; }
4924
4925 # Check whether --with-libjbig was given.
4926 if test "${with_libjbig+set}" = set; then :
4927 withval=$with_libjbig;
4928 if test "$withval" = yes; then
4929 wx_cv_use_libjbig='wxUSE_LIBJBIG=yes'
4930 else
4931 wx_cv_use_libjbig='wxUSE_LIBJBIG=no'
4932 fi
4933
4934 else
4935
4936 wx_cv_use_libjbig='wxUSE_LIBJBIG=${'DEFAULT_wxUSE_LIBJBIG":-$defaultval}"
4937
4938 fi
4939
4940
4941 eval "$wx_cv_use_libjbig"
4942
4943 if test x"$withstring" = xwithout; then
4944 if test $wxUSE_LIBJBIG = yes; then
4945 result=no
4946 else
4947 result=yes
4948 fi
4949 else
4950 result=$wxUSE_LIBJBIG
4951 fi
4952
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4954 $as_echo "$result" >&6; }
4955
4956
4957 withstring=without
4958 defaultval=$wxUSE_ALL_FEATURES
4959 if test -z "$defaultval"; then
4960 if test x"$withstring" = xwithout; then
4961 defaultval=yes
4962 else
4963 defaultval=no
4964 fi
4965 fi
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-liblzma" >&5
4967 $as_echo_n "checking for --${withstring:-with}-liblzma... " >&6; }
4968
4969 # Check whether --with-liblzma was given.
4970 if test "${with_liblzma+set}" = set; then :
4971 withval=$with_liblzma;
4972 if test "$withval" = yes; then
4973 wx_cv_use_liblzma='wxUSE_LIBLZMA=yes'
4974 else
4975 wx_cv_use_liblzma='wxUSE_LIBLZMA=no'
4976 fi
4977
4978 else
4979
4980 wx_cv_use_liblzma='wxUSE_LIBLZMA=${'DEFAULT_wxUSE_LIBLZMA":-$defaultval}"
4981
4982 fi
4983
4984
4985 eval "$wx_cv_use_liblzma"
4986
4987 if test x"$withstring" = xwithout; then
4988 if test $wxUSE_LIBLZMA = yes; then
4989 result=no
4990 else
4991 result=yes
4992 fi
4993 else
4994 result=$wxUSE_LIBLZMA
4995 fi
4996
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4998 $as_echo "$result" >&6; }
4999
5000
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
5002 $as_echo_n "checking for --with-libxpm... " >&6; }
5003
5004 # Check whether --with-libxpm was given.
5005 if test "${with_libxpm+set}" = set; then :
5006 withval=$with_libxpm;
5007 if test "$withval" = yes; then
5008 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
5009 elif test "$withval" = no; then
5010 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
5011 elif test "$withval" = sys; then
5012 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
5013 elif test "$withval" = builtin; then
5014 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
5015 else
5016 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
5017 fi
5018
5019 else
5020
5021 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
5022
5023 fi
5024
5025
5026 eval "$wx_cv_use_libxpm"
5027
5028 if test "$wxUSE_LIBXPM" = yes; then
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5030 $as_echo "yes" >&6; }
5031 elif test "$wxUSE_LIBXPM" = no; then
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5033 $as_echo "no" >&6; }
5034 elif test "$wxUSE_LIBXPM" = sys; then
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5036 $as_echo "system version" >&6; }
5037 elif test "$wxUSE_LIBXPM" = builtin; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5039 $as_echo "builtin version" >&6; }
5040 else
5041 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
5042 fi
5043
5044
5045 withstring=
5046 defaultval=$wxUSE_ALL_FEATURES
5047 if test -z "$defaultval"; then
5048 if test x"$withstring" = xwithout; then
5049 defaultval=yes
5050 else
5051 defaultval=no
5052 fi
5053 fi
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
5055 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
5056
5057 # Check whether --with-libiconv was given.
5058 if test "${with_libiconv+set}" = set; then :
5059 withval=$with_libiconv;
5060 if test "$withval" = yes; then
5061 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
5062 else
5063 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
5064 fi
5065
5066 else
5067
5068 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
5069
5070 fi
5071
5072
5073 eval "$wx_cv_use_libiconv"
5074
5075 if test x"$withstring" = xwithout; then
5076 if test $wxUSE_LIBICONV = yes; then
5077 result=no
5078 else
5079 result=yes
5080 fi
5081 else
5082 result=$wxUSE_LIBICONV
5083 fi
5084
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5086 $as_echo "$result" >&6; }
5087
5088
5089 withstring=
5090 defaultval=$wxUSE_ALL_FEATURES
5091 if test -z "$defaultval"; then
5092 if test x"$withstring" = xwithout; then
5093 defaultval=yes
5094 else
5095 defaultval=no
5096 fi
5097 fi
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
5099 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
5100
5101 # Check whether --with-libmspack was given.
5102 if test "${with_libmspack+set}" = set; then :
5103 withval=$with_libmspack;
5104 if test "$withval" = yes; then
5105 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5106 else
5107 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5108 fi
5109
5110 else
5111
5112 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5113
5114 fi
5115
5116
5117 eval "$wx_cv_use_libmspack"
5118
5119 if test x"$withstring" = xwithout; then
5120 if test $wxUSE_LIBMSPACK = yes; then
5121 result=no
5122 else
5123 result=yes
5124 fi
5125 else
5126 result=$wxUSE_LIBMSPACK
5127 fi
5128
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5130 $as_echo "$result" >&6; }
5131
5132
5133 withstring=without
5134 defaultval=$wxUSE_ALL_FEATURES
5135 if test -z "$defaultval"; then
5136 if test x"$withstring" = xwithout; then
5137 defaultval=yes
5138 else
5139 defaultval=no
5140 fi
5141 fi
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5143 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5144
5145 # Check whether --with-gtkprint was given.
5146 if test "${with_gtkprint+set}" = set; then :
5147 withval=$with_gtkprint;
5148 if test "$withval" = yes; then
5149 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5150 else
5151 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5152 fi
5153
5154 else
5155
5156 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5157
5158 fi
5159
5160
5161 eval "$wx_cv_use_gtkprint"
5162
5163 if test x"$withstring" = xwithout; then
5164 if test $wxUSE_GTKPRINT = yes; then
5165 result=no
5166 else
5167 result=yes
5168 fi
5169 else
5170 result=$wxUSE_GTKPRINT
5171 fi
5172
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5174 $as_echo "$result" >&6; }
5175
5176
5177 withstring=without
5178 defaultval=$wxUSE_ALL_FEATURES
5179 if test -z "$defaultval"; then
5180 if test x"$withstring" = xwithout; then
5181 defaultval=yes
5182 else
5183 defaultval=no
5184 fi
5185 fi
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5187 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5188
5189 # Check whether --with-gnomeprint was given.
5190 if test "${with_gnomeprint+set}" = set; then :
5191 withval=$with_gnomeprint;
5192 if test "$withval" = yes; then
5193 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
5194 else
5195 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
5196 fi
5197
5198 else
5199
5200 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5201
5202 fi
5203
5204
5205 eval "$wx_cv_use_gnomeprint"
5206
5207 if test x"$withstring" = xwithout; then
5208 if test $wxUSE_LIBGNOMEPRINT = yes; then
5209 result=no
5210 else
5211 result=yes
5212 fi
5213 else
5214 result=$wxUSE_LIBGNOMEPRINT
5215 fi
5216
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5218 $as_echo "$result" >&6; }
5219
5220
5221 withstring=
5222 defaultval=$wxUSE_ALL_FEATURES
5223 if test -z "$defaultval"; then
5224 if test x"$withstring" = xwithout; then
5225 defaultval=yes
5226 else
5227 defaultval=no
5228 fi
5229 fi
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5231 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5232
5233 # Check whether --with-gnomevfs was given.
5234 if test "${with_gnomevfs+set}" = set; then :
5235 withval=$with_gnomevfs;
5236 if test "$withval" = yes; then
5237 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5238 else
5239 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5240 fi
5241
5242 else
5243
5244 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5245
5246 fi
5247
5248
5249 eval "$wx_cv_use_gnomevfs"
5250
5251 if test x"$withstring" = xwithout; then
5252 if test $wxUSE_LIBGNOMEVFS = yes; then
5253 result=no
5254 else
5255 result=yes
5256 fi
5257 else
5258 result=$wxUSE_LIBGNOMEVFS
5259 fi
5260
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5262 $as_echo "$result" >&6; }
5263
5264
5265 withstring=
5266 defaultval=$wxUSE_ALL_FEATURES
5267 if test -z "$defaultval"; then
5268 if test x"$withstring" = xwithout; then
5269 defaultval=yes
5270 else
5271 defaultval=no
5272 fi
5273 fi
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libnotify" >&5
5275 $as_echo_n "checking for --${withstring:-with}-libnotify... " >&6; }
5276
5277 # Check whether --with-libnotify was given.
5278 if test "${with_libnotify+set}" = set; then :
5279 withval=$with_libnotify;
5280 if test "$withval" = yes; then
5281 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=yes'
5282 else
5283 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=no'
5284 fi
5285
5286 else
5287
5288 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}"
5289
5290 fi
5291
5292
5293 eval "$wx_cv_use_libnotify"
5294
5295 if test x"$withstring" = xwithout; then
5296 if test $wxUSE_LIBNOTIFY = yes; then
5297 result=no
5298 else
5299 result=yes
5300 fi
5301 else
5302 result=$wxUSE_LIBNOTIFY
5303 fi
5304
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5306 $as_echo "$result" >&6; }
5307
5308
5309 withstring=
5310 defaultval=$wxUSE_ALL_FEATURES
5311 if test -z "$defaultval"; then
5312 if test x"$withstring" = xwithout; then
5313 defaultval=yes
5314 else
5315 defaultval=no
5316 fi
5317 fi
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5319 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5320
5321 # Check whether --with-hildon was given.
5322 if test "${with_hildon+set}" = set; then :
5323 withval=$with_hildon;
5324 if test "$withval" = yes; then
5325 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
5326 else
5327 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
5328 fi
5329
5330 else
5331
5332 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5333
5334 fi
5335
5336
5337 eval "$wx_cv_use_hildon"
5338
5339 if test x"$withstring" = xwithout; then
5340 if test $wxUSE_LIBHILDON = yes; then
5341 result=no
5342 else
5343 result=yes
5344 fi
5345 else
5346 result=$wxUSE_LIBHILDON
5347 fi
5348
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5350 $as_echo "$result" >&6; }
5351
5352
5353 withstring=
5354 defaultval=$wxUSE_ALL_FEATURES
5355 if test -z "$defaultval"; then
5356 if test x"$withstring" = xwithout; then
5357 defaultval=yes
5358 else
5359 defaultval=no
5360 fi
5361 fi
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5363 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5364
5365 # Check whether --with-opengl was given.
5366 if test "${with_opengl+set}" = set; then :
5367 withval=$with_opengl;
5368 if test "$withval" = yes; then
5369 wx_cv_use_opengl='wxUSE_OPENGL=yes'
5370 else
5371 wx_cv_use_opengl='wxUSE_OPENGL=no'
5372 fi
5373
5374 else
5375
5376 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5377
5378 fi
5379
5380
5381 eval "$wx_cv_use_opengl"
5382
5383 if test x"$withstring" = xwithout; then
5384 if test $wxUSE_OPENGL = yes; then
5385 result=no
5386 else
5387 result=yes
5388 fi
5389 else
5390 result=$wxUSE_OPENGL
5391 fi
5392
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5394 $as_echo "$result" >&6; }
5395
5396
5397 fi
5398
5399
5400 withstring=
5401 defaultval=$wxUSE_ALL_FEATURES
5402 if test -z "$defaultval"; then
5403 if test x"$withstring" = xwithout; then
5404 defaultval=yes
5405 else
5406 defaultval=no
5407 fi
5408 fi
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5410 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5411
5412 # Check whether --with-dmalloc was given.
5413 if test "${with_dmalloc+set}" = set; then :
5414 withval=$with_dmalloc;
5415 if test "$withval" = yes; then
5416 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5417 else
5418 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5419 fi
5420
5421 else
5422
5423 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5424
5425 fi
5426
5427
5428 eval "$wx_cv_use_dmalloc"
5429
5430 if test x"$withstring" = xwithout; then
5431 if test $wxUSE_DMALLOC = yes; then
5432 result=no
5433 else
5434 result=yes
5435 fi
5436 else
5437 result=$wxUSE_DMALLOC
5438 fi
5439
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5441 $as_echo "$result" >&6; }
5442
5443
5444 withstring=
5445 defaultval=$wxUSE_ALL_FEATURES
5446 if test -z "$defaultval"; then
5447 if test x"$withstring" = xwithout; then
5448 defaultval=yes
5449 else
5450 defaultval=no
5451 fi
5452 fi
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5454 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5455
5456 # Check whether --with-sdl was given.
5457 if test "${with_sdl+set}" = set; then :
5458 withval=$with_sdl;
5459 if test "$withval" = yes; then
5460 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
5461 else
5462 wx_cv_use_sdl='wxUSE_LIBSDL=no'
5463 fi
5464
5465 else
5466
5467 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5468
5469 fi
5470
5471
5472 eval "$wx_cv_use_sdl"
5473
5474 if test x"$withstring" = xwithout; then
5475 if test $wxUSE_LIBSDL = yes; then
5476 result=no
5477 else
5478 result=yes
5479 fi
5480 else
5481 result=$wxUSE_LIBSDL
5482 fi
5483
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5485 $as_echo "$result" >&6; }
5486
5487
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5489 $as_echo_n "checking for --with-regex... " >&6; }
5490
5491 # Check whether --with-regex was given.
5492 if test "${with_regex+set}" = set; then :
5493 withval=$with_regex;
5494 if test "$withval" = yes; then
5495 wx_cv_use_regex='wxUSE_REGEX=yes'
5496 elif test "$withval" = no; then
5497 wx_cv_use_regex='wxUSE_REGEX=no'
5498 elif test "$withval" = sys; then
5499 wx_cv_use_regex='wxUSE_REGEX=sys'
5500 elif test "$withval" = builtin; then
5501 wx_cv_use_regex='wxUSE_REGEX=builtin'
5502 else
5503 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5504 fi
5505
5506 else
5507
5508 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5509
5510 fi
5511
5512
5513 eval "$wx_cv_use_regex"
5514
5515 if test "$wxUSE_REGEX" = yes; then
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5517 $as_echo "yes" >&6; }
5518 elif test "$wxUSE_REGEX" = no; then
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5520 $as_echo "no" >&6; }
5521 elif test "$wxUSE_REGEX" = sys; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5523 $as_echo "system version" >&6; }
5524 elif test "$wxUSE_REGEX" = builtin; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5526 $as_echo "builtin version" >&6; }
5527 else
5528 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5529 fi
5530
5531
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5533 $as_echo_n "checking for --with-zlib... " >&6; }
5534
5535 # Check whether --with-zlib was given.
5536 if test "${with_zlib+set}" = set; then :
5537 withval=$with_zlib;
5538 if test "$withval" = yes; then
5539 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5540 elif test "$withval" = no; then
5541 wx_cv_use_zlib='wxUSE_ZLIB=no'
5542 elif test "$withval" = sys; then
5543 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5544 elif test "$withval" = builtin; then
5545 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5546 else
5547 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5548 fi
5549
5550 else
5551
5552 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5553
5554 fi
5555
5556
5557 eval "$wx_cv_use_zlib"
5558
5559 if test "$wxUSE_ZLIB" = yes; then
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5561 $as_echo "yes" >&6; }
5562 elif test "$wxUSE_ZLIB" = no; then
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5564 $as_echo "no" >&6; }
5565 elif test "$wxUSE_ZLIB" = sys; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5567 $as_echo "system version" >&6; }
5568 elif test "$wxUSE_ZLIB" = builtin; then
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5570 $as_echo "builtin version" >&6; }
5571 else
5572 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5573 fi
5574
5575
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5577 $as_echo_n "checking for --with-expat... " >&6; }
5578
5579 # Check whether --with-expat was given.
5580 if test "${with_expat+set}" = set; then :
5581 withval=$with_expat;
5582 if test "$withval" = yes; then
5583 wx_cv_use_expat='wxUSE_EXPAT=yes'
5584 elif test "$withval" = no; then
5585 wx_cv_use_expat='wxUSE_EXPAT=no'
5586 elif test "$withval" = sys; then
5587 wx_cv_use_expat='wxUSE_EXPAT=sys'
5588 elif test "$withval" = builtin; then
5589 wx_cv_use_expat='wxUSE_EXPAT=builtin'
5590 else
5591 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5592 fi
5593
5594 else
5595
5596 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5597
5598 fi
5599
5600
5601 eval "$wx_cv_use_expat"
5602
5603 if test "$wxUSE_EXPAT" = yes; then
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5605 $as_echo "yes" >&6; }
5606 elif test "$wxUSE_EXPAT" = no; then
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5608 $as_echo "no" >&6; }
5609 elif test "$wxUSE_EXPAT" = sys; then
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5611 $as_echo "system version" >&6; }
5612 elif test "$wxUSE_EXPAT" = builtin; then
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5614 $as_echo "builtin version" >&6; }
5615 else
5616 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5617 fi
5618
5619
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5621 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5622
5623 # Check whether --with-macosx-sdk was given.
5624 if test "${with_macosx_sdk+set}" = set; then :
5625 withval=$with_macosx_sdk;
5626 wxUSE_MACOSX_SDK=$withval
5627 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5628
5629 fi
5630
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5632 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5633
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5635 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5636
5637 # Check whether --with-macosx-version-min was given.
5638 if test "${with_macosx_version_min+set}" = set; then :
5639 withval=$with_macosx_version_min;
5640 wxUSE_MACOSX_VERSION_MIN=$withval
5641 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5642
5643 fi
5644
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5646 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5647
5648
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5650 $as_echo_n "checking for --enable-debug... " >&6; }
5651 # Check whether --enable-debug was given.
5652 if test "${enable_debug+set}" = set; then :
5653 enableval=$enable_debug;
5654 if test "$enableval" = yes; then
5655 wxUSE_DEBUG=yes
5656 elif test "$enableval" = no; then
5657 wxUSE_DEBUG=no
5658 elif test "$enableval" = max; then
5659 wxUSE_DEBUG=yes
5660 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5661 else
5662 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5663 fi
5664
5665 else
5666 wxUSE_DEBUG=default
5667
5668 fi
5669
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5671 $as_echo "${enable_debug-default}" >&6; }
5672
5673 case "$wxUSE_DEBUG" in
5674 yes)
5675 DEFAULT_wxUSE_DEBUG_FLAG=yes
5676 DEFAULT_wxUSE_DEBUG_INFO=yes
5677
5678 DEFAULT_wxUSE_OPTIMISE=no
5679 ;;
5680
5681 no)
5682 DEFAULT_wxUSE_DEBUG_FLAG=no
5683 DEFAULT_wxUSE_DEBUG_INFO=no
5684 ;;
5685
5686 default)
5687 DEFAULT_wxUSE_DEBUG_FLAG=yes
5688 DEFAULT_wxUSE_DEBUG_INFO=no
5689 ;;
5690 esac
5691
5692
5693 enablestring=disable
5694 defaultval=
5695 if test -z "$defaultval"; then
5696 if test x"$enablestring" = xdisable; then
5697 defaultval=yes
5698 else
5699 defaultval=no
5700 fi
5701 fi
5702
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5704 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5705 # Check whether --enable-debug_flag was given.
5706 if test "${enable_debug_flag+set}" = set; then :
5707 enableval=$enable_debug_flag;
5708 if test "$enableval" = yes; then
5709 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5710 else
5711 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5712 fi
5713
5714 else
5715
5716 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5717
5718 fi
5719
5720
5721 eval "$wx_cv_use_debug_flag"
5722
5723 if test x"$enablestring" = xdisable; then
5724 if test $wxUSE_DEBUG_FLAG = no; then
5725 result=yes
5726 else
5727 result=no
5728 fi
5729 else
5730 result=$wxUSE_DEBUG_FLAG
5731 fi
5732
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5734 $as_echo "$result" >&6; }
5735
5736
5737 enablestring=
5738 defaultval=
5739 if test -z "$defaultval"; then
5740 if test x"$enablestring" = xdisable; then
5741 defaultval=yes
5742 else
5743 defaultval=no
5744 fi
5745 fi
5746
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5748 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5749 # Check whether --enable-debug_info was given.
5750 if test "${enable_debug_info+set}" = set; then :
5751 enableval=$enable_debug_info;
5752 if test "$enableval" = yes; then
5753 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5754 else
5755 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5756 fi
5757
5758 else
5759
5760 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5761
5762 fi
5763
5764
5765 eval "$wx_cv_use_debug_info"
5766
5767 if test x"$enablestring" = xdisable; then
5768 if test $wxUSE_DEBUG_INFO = no; then
5769 result=yes
5770 else
5771 result=no
5772 fi
5773 else
5774 result=$wxUSE_DEBUG_INFO
5775 fi
5776
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5778 $as_echo "$result" >&6; }
5779
5780
5781
5782
5783 enablestring=
5784 defaultval=
5785 if test -z "$defaultval"; then
5786 if test x"$enablestring" = xdisable; then
5787 defaultval=yes
5788 else
5789 defaultval=no
5790 fi
5791 fi
5792
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5794 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5795 # Check whether --enable-debug_gdb was given.
5796 if test "${enable_debug_gdb+set}" = set; then :
5797 enableval=$enable_debug_gdb;
5798 if test "$enableval" = yes; then
5799 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5800 else
5801 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5802 fi
5803
5804 else
5805
5806 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5807
5808 fi
5809
5810
5811 eval "$wx_cv_use_debug_gdb"
5812
5813 if test x"$enablestring" = xdisable; then
5814 if test $wxUSE_DEBUG_GDB = no; then
5815 result=yes
5816 else
5817 result=no
5818 fi
5819 else
5820 result=$wxUSE_DEBUG_GDB
5821 fi
5822
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5824 $as_echo "$result" >&6; }
5825
5826
5827 enablestring=
5828 defaultval=
5829 if test -z "$defaultval"; then
5830 if test x"$enablestring" = xdisable; then
5831 defaultval=yes
5832 else
5833 defaultval=no
5834 fi
5835 fi
5836
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5838 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5839 # Check whether --enable-debug_cntxt was given.
5840 if test "${enable_debug_cntxt+set}" = set; then :
5841 enableval=$enable_debug_cntxt;
5842 if test "$enableval" = yes; then
5843 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5844 else
5845 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5846 fi
5847
5848 else
5849
5850 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5851
5852 fi
5853
5854
5855 eval "$wx_cv_use_debug_cntxt"
5856
5857 if test x"$enablestring" = xdisable; then
5858 if test $wxUSE_DEBUG_CONTEXT = no; then
5859 result=yes
5860 else
5861 result=no
5862 fi
5863 else
5864 result=$wxUSE_DEBUG_CONTEXT
5865 fi
5866
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5868 $as_echo "$result" >&6; }
5869
5870
5871 enablestring=
5872 defaultval=
5873 if test -z "$defaultval"; then
5874 if test x"$enablestring" = xdisable; then
5875 defaultval=yes
5876 else
5877 defaultval=no
5878 fi
5879 fi
5880
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5882 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5883 # Check whether --enable-mem_tracing was given.
5884 if test "${enable_mem_tracing+set}" = set; then :
5885 enableval=$enable_mem_tracing;
5886 if test "$enableval" = yes; then
5887 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5888 else
5889 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5890 fi
5891
5892 else
5893
5894 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5895
5896 fi
5897
5898
5899 eval "$wx_cv_use_mem_tracing"
5900
5901 if test x"$enablestring" = xdisable; then
5902 if test $wxUSE_MEM_TRACING = no; then
5903 result=yes
5904 else
5905 result=no
5906 fi
5907 else
5908 result=$wxUSE_MEM_TRACING
5909 fi
5910
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5912 $as_echo "$result" >&6; }
5913
5914
5915
5916
5917 enablestring=disable
5918 defaultval=
5919 if test -z "$defaultval"; then
5920 if test x"$enablestring" = xdisable; then
5921 defaultval=yes
5922 else
5923 defaultval=no
5924 fi
5925 fi
5926
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5928 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5929 # Check whether --enable-shared was given.
5930 if test "${enable_shared+set}" = set; then :
5931 enableval=$enable_shared;
5932 if test "$enableval" = yes; then
5933 wx_cv_use_shared='wxUSE_SHARED=yes'
5934 else
5935 wx_cv_use_shared='wxUSE_SHARED=no'
5936 fi
5937
5938 else
5939
5940 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5941
5942 fi
5943
5944
5945 eval "$wx_cv_use_shared"
5946
5947 if test x"$enablestring" = xdisable; then
5948 if test $wxUSE_SHARED = no; then
5949 result=yes
5950 else
5951 result=no
5952 fi
5953 else
5954 result=$wxUSE_SHARED
5955 fi
5956
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5958 $as_echo "$result" >&6; }
5959
5960
5961 enablestring=
5962 defaultval=
5963 if test -z "$defaultval"; then
5964 if test x"$enablestring" = xdisable; then
5965 defaultval=yes
5966 else
5967 defaultval=no
5968 fi
5969 fi
5970
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5972 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5973 # Check whether --enable-stl was given.
5974 if test "${enable_stl+set}" = set; then :
5975 enableval=$enable_stl;
5976 if test "$enableval" = yes; then
5977 wx_cv_use_stl='wxUSE_STL=yes'
5978 else
5979 wx_cv_use_stl='wxUSE_STL=no'
5980 fi
5981
5982 else
5983
5984 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5985
5986 fi
5987
5988
5989 eval "$wx_cv_use_stl"
5990
5991 if test x"$enablestring" = xdisable; then
5992 if test $wxUSE_STL = no; then
5993 result=yes
5994 else
5995 result=no
5996 fi
5997 else
5998 result=$wxUSE_STL
5999 fi
6000
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6002 $as_echo "$result" >&6; }
6003
6004 if test "$wxUSE_STL" = "yes"; then
6005 DEFAULT_wxUSE_STD_CONTAINERS=yes
6006 DEFAULT_wxUSE_STD_IOSTREAM=yes
6007 DEFAULT_wxUSE_STD_STRING=yes
6008 fi
6009
6010 enablestring=
6011 defaultval=
6012 if test -z "$defaultval"; then
6013 if test x"$enablestring" = xdisable; then
6014 defaultval=yes
6015 else
6016 defaultval=no
6017 fi
6018 fi
6019
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
6021 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
6022 # Check whether --enable-std_containers was given.
6023 if test "${enable_std_containers+set}" = set; then :
6024 enableval=$enable_std_containers;
6025 if test "$enableval" = yes; then
6026 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
6027 else
6028 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
6029 fi
6030
6031 else
6032
6033 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
6034
6035 fi
6036
6037
6038 eval "$wx_cv_use_std_containers"
6039
6040 if test x"$enablestring" = xdisable; then
6041 if test $wxUSE_STD_CONTAINERS = no; then
6042 result=yes
6043 else
6044 result=no
6045 fi
6046 else
6047 result=$wxUSE_STD_CONTAINERS
6048 fi
6049
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6051 $as_echo "$result" >&6; }
6052
6053
6054 enablestring=
6055 defaultval=
6056 if test -z "$defaultval"; then
6057 if test x"$enablestring" = xdisable; then
6058 defaultval=yes
6059 else
6060 defaultval=no
6061 fi
6062 fi
6063
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
6065 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
6066 # Check whether --enable-std_iostreams was given.
6067 if test "${enable_std_iostreams+set}" = set; then :
6068 enableval=$enable_std_iostreams;
6069 if test "$enableval" = yes; then
6070 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6071 else
6072 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6073 fi
6074
6075 else
6076
6077 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
6078
6079 fi
6080
6081
6082 eval "$wx_cv_use_std_iostreams"
6083
6084 if test x"$enablestring" = xdisable; then
6085 if test $wxUSE_STD_IOSTREAM = no; then
6086 result=yes
6087 else
6088 result=no
6089 fi
6090 else
6091 result=$wxUSE_STD_IOSTREAM
6092 fi
6093
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6095 $as_echo "$result" >&6; }
6096
6097
6098 enablestring=
6099 defaultval=
6100 if test -z "$defaultval"; then
6101 if test x"$enablestring" = xdisable; then
6102 defaultval=yes
6103 else
6104 defaultval=no
6105 fi
6106 fi
6107
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
6109 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
6110 # Check whether --enable-std_string was given.
6111 if test "${enable_std_string+set}" = set; then :
6112 enableval=$enable_std_string;
6113 if test "$enableval" = yes; then
6114 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
6115 else
6116 wx_cv_use_std_string='wxUSE_STD_STRING=no'
6117 fi
6118
6119 else
6120
6121 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6122
6123 fi
6124
6125
6126 eval "$wx_cv_use_std_string"
6127
6128 if test x"$enablestring" = xdisable; then
6129 if test $wxUSE_STD_STRING = no; then
6130 result=yes
6131 else
6132 result=no
6133 fi
6134 else
6135 result=$wxUSE_STD_STRING
6136 fi
6137
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6139 $as_echo "$result" >&6; }
6140
6141
6142 enablestring=
6143 defaultval=
6144 if test -z "$defaultval"; then
6145 if test x"$enablestring" = xdisable; then
6146 defaultval=yes
6147 else
6148 defaultval=no
6149 fi
6150 fi
6151
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6153 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
6154 # Check whether --enable-std_string_conv_in_wxstring was given.
6155 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6156 enableval=$enable_std_string_conv_in_wxstring;
6157 if test "$enableval" = yes; then
6158 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6159 else
6160 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6161 fi
6162
6163 else
6164
6165 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6166
6167 fi
6168
6169
6170 eval "$wx_cv_use_std_string_conv_in_wxstring"
6171
6172 if test x"$enablestring" = xdisable; then
6173 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6174 result=yes
6175 else
6176 result=no
6177 fi
6178 else
6179 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6180 fi
6181
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6183 $as_echo "$result" >&6; }
6184
6185
6186 enablestring=disable
6187 defaultval=
6188 if test -z "$defaultval"; then
6189 if test x"$enablestring" = xdisable; then
6190 defaultval=yes
6191 else
6192 defaultval=no
6193 fi
6194 fi
6195
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6197 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6198 # Check whether --enable-unicode was given.
6199 if test "${enable_unicode+set}" = set; then :
6200 enableval=$enable_unicode;
6201 if test "$enableval" = yes; then
6202 wx_cv_use_unicode='wxUSE_UNICODE=yes'
6203 else
6204 wx_cv_use_unicode='wxUSE_UNICODE=no'
6205 fi
6206
6207 else
6208
6209 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6210
6211 fi
6212
6213
6214 eval "$wx_cv_use_unicode"
6215
6216 if test x"$enablestring" = xdisable; then
6217 if test $wxUSE_UNICODE = no; then
6218 result=yes
6219 else
6220 result=no
6221 fi
6222 else
6223 result=$wxUSE_UNICODE
6224 fi
6225
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6227 $as_echo "$result" >&6; }
6228
6229
6230 enablestring=
6231 defaultval=
6232 if test -z "$defaultval"; then
6233 if test x"$enablestring" = xdisable; then
6234 defaultval=yes
6235 else
6236 defaultval=no
6237 fi
6238 fi
6239
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6241 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6242 # Check whether --enable-mslu was given.
6243 if test "${enable_mslu+set}" = set; then :
6244 enableval=$enable_mslu;
6245 if test "$enableval" = yes; then
6246 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6247 else
6248 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6249 fi
6250
6251 else
6252
6253 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6254
6255 fi
6256
6257
6258 eval "$wx_cv_use_mslu"
6259
6260 if test x"$enablestring" = xdisable; then
6261 if test $wxUSE_UNICODE_MSLU = no; then
6262 result=yes
6263 else
6264 result=no
6265 fi
6266 else
6267 result=$wxUSE_UNICODE_MSLU
6268 fi
6269
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6271 $as_echo "$result" >&6; }
6272
6273
6274 enablestring=
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6276 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6277 # Check whether --enable-utf8 was given.
6278 if test "${enable_utf8+set}" = set; then :
6279 enableval=$enable_utf8;
6280 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6281
6282 else
6283
6284 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6285
6286 fi
6287
6288
6289 eval "$wx_cv_use_utf8"
6290
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6292 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6293
6294
6295 enablestring=
6296 defaultval=
6297 if test -z "$defaultval"; then
6298 if test x"$enablestring" = xdisable; then
6299 defaultval=yes
6300 else
6301 defaultval=no
6302 fi
6303 fi
6304
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6306 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6307 # Check whether --enable-utf8only was given.
6308 if test "${enable_utf8only+set}" = set; then :
6309 enableval=$enable_utf8only;
6310 if test "$enableval" = yes; then
6311 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6312 else
6313 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6314 fi
6315
6316 else
6317
6318 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6319
6320 fi
6321
6322
6323 eval "$wx_cv_use_utf8only"
6324
6325 if test x"$enablestring" = xdisable; then
6326 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6327 result=yes
6328 else
6329 result=no
6330 fi
6331 else
6332 result=$wxUSE_UNICODE_UTF8_LOCALE
6333 fi
6334
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6336 $as_echo "$result" >&6; }
6337
6338
6339 enablestring=
6340 defaultval=
6341 if test -z "$defaultval"; then
6342 if test x"$enablestring" = xdisable; then
6343 defaultval=yes
6344 else
6345 defaultval=no
6346 fi
6347 fi
6348
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6350 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6351 # Check whether --enable-extended_rtti was given.
6352 if test "${enable_extended_rtti+set}" = set; then :
6353 enableval=$enable_extended_rtti;
6354 if test "$enableval" = yes; then
6355 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
6356 else
6357 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
6358 fi
6359
6360 else
6361
6362 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6363
6364 fi
6365
6366
6367 eval "$wx_cv_use_extended_rtti"
6368
6369 if test x"$enablestring" = xdisable; then
6370 if test $wxUSE_EXTENDED_RTTI = no; then
6371 result=yes
6372 else
6373 result=no
6374 fi
6375 else
6376 result=$wxUSE_EXTENDED_RTTI
6377 fi
6378
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6380 $as_echo "$result" >&6; }
6381
6382 if test "$USE_OS2" = 1; then
6383 DEFAULT_wxUSE_OMF=no
6384
6385 enablestring=
6386 defaultval=
6387 if test -z "$defaultval"; then
6388 if test x"$enablestring" = xdisable; then
6389 defaultval=yes
6390 else
6391 defaultval=no
6392 fi
6393 fi
6394
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6396 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6397 # Check whether --enable-omf was given.
6398 if test "${enable_omf+set}" = set; then :
6399 enableval=$enable_omf;
6400 if test "$enableval" = yes; then
6401 wx_cv_use_omf='wxUSE_OMF=yes'
6402 else
6403 wx_cv_use_omf='wxUSE_OMF=no'
6404 fi
6405
6406 else
6407
6408 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6409
6410 fi
6411
6412
6413 eval "$wx_cv_use_omf"
6414
6415 if test x"$enablestring" = xdisable; then
6416 if test $wxUSE_OMF = no; then
6417 result=yes
6418 else
6419 result=no
6420 fi
6421 else
6422 result=$wxUSE_OMF
6423 fi
6424
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6426 $as_echo "$result" >&6; }
6427
6428 fi
6429
6430
6431 enablestring=disable
6432 defaultval=
6433 if test -z "$defaultval"; then
6434 if test x"$enablestring" = xdisable; then
6435 defaultval=yes
6436 else
6437 defaultval=no
6438 fi
6439 fi
6440
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6442 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6443 # Check whether --enable-optimise was given.
6444 if test "${enable_optimise+set}" = set; then :
6445 enableval=$enable_optimise;
6446 if test "$enableval" = yes; then
6447 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6448 else
6449 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6450 fi
6451
6452 else
6453
6454 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6455
6456 fi
6457
6458
6459 eval "$wx_cv_use_optimise"
6460
6461 if test x"$enablestring" = xdisable; then
6462 if test $wxUSE_OPTIMISE = no; then
6463 result=yes
6464 else
6465 result=no
6466 fi
6467 else
6468 result=$wxUSE_OPTIMISE
6469 fi
6470
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6472 $as_echo "$result" >&6; }
6473
6474
6475
6476 enablestring=
6477 defaultval=
6478 if test -z "$defaultval"; then
6479 if test x"$enablestring" = xdisable; then
6480 defaultval=yes
6481 else
6482 defaultval=no
6483 fi
6484 fi
6485
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6487 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6488 # Check whether --enable-profile was given.
6489 if test "${enable_profile+set}" = set; then :
6490 enableval=$enable_profile;
6491 if test "$enableval" = yes; then
6492 wx_cv_use_profile='wxUSE_PROFILE=yes'
6493 else
6494 wx_cv_use_profile='wxUSE_PROFILE=no'
6495 fi
6496
6497 else
6498
6499 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6500
6501 fi
6502
6503
6504 eval "$wx_cv_use_profile"
6505
6506 if test x"$enablestring" = xdisable; then
6507 if test $wxUSE_PROFILE = no; then
6508 result=yes
6509 else
6510 result=no
6511 fi
6512 else
6513 result=$wxUSE_PROFILE
6514 fi
6515
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6517 $as_echo "$result" >&6; }
6518
6519
6520 enablestring=
6521 defaultval=
6522 if test -z "$defaultval"; then
6523 if test x"$enablestring" = xdisable; then
6524 defaultval=yes
6525 else
6526 defaultval=no
6527 fi
6528 fi
6529
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6531 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6532 # Check whether --enable-no_rtti was given.
6533 if test "${enable_no_rtti+set}" = set; then :
6534 enableval=$enable_no_rtti;
6535 if test "$enableval" = yes; then
6536 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6537 else
6538 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6539 fi
6540
6541 else
6542
6543 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6544
6545 fi
6546
6547
6548 eval "$wx_cv_use_no_rtti"
6549
6550 if test x"$enablestring" = xdisable; then
6551 if test $wxUSE_NO_RTTI = no; then
6552 result=yes
6553 else
6554 result=no
6555 fi
6556 else
6557 result=$wxUSE_NO_RTTI
6558 fi
6559
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6561 $as_echo "$result" >&6; }
6562
6563
6564 enablestring=
6565 defaultval=
6566 if test -z "$defaultval"; then
6567 if test x"$enablestring" = xdisable; then
6568 defaultval=yes
6569 else
6570 defaultval=no
6571 fi
6572 fi
6573
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6575 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6576 # Check whether --enable-no_exceptions was given.
6577 if test "${enable_no_exceptions+set}" = set; then :
6578 enableval=$enable_no_exceptions;
6579 if test "$enableval" = yes; then
6580 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6581 else
6582 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6583 fi
6584
6585 else
6586
6587 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6588
6589 fi
6590
6591
6592 eval "$wx_cv_use_no_exceptions"
6593
6594 if test x"$enablestring" = xdisable; then
6595 if test $wxUSE_NO_EXCEPTIONS = no; then
6596 result=yes
6597 else
6598 result=no
6599 fi
6600 else
6601 result=$wxUSE_NO_EXCEPTIONS
6602 fi
6603
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6605 $as_echo "$result" >&6; }
6606
6607
6608 enablestring=
6609 defaultval=
6610 if test -z "$defaultval"; then
6611 if test x"$enablestring" = xdisable; then
6612 defaultval=yes
6613 else
6614 defaultval=no
6615 fi
6616 fi
6617
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6619 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6620 # Check whether --enable-permissive was given.
6621 if test "${enable_permissive+set}" = set; then :
6622 enableval=$enable_permissive;
6623 if test "$enableval" = yes; then
6624 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
6625 else
6626 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
6627 fi
6628
6629 else
6630
6631 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6632
6633 fi
6634
6635
6636 eval "$wx_cv_use_permissive"
6637
6638 if test x"$enablestring" = xdisable; then
6639 if test $wxUSE_PERMISSIVE = no; then
6640 result=yes
6641 else
6642 result=no
6643 fi
6644 else
6645 result=$wxUSE_PERMISSIVE
6646 fi
6647
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6649 $as_echo "$result" >&6; }
6650
6651
6652 enablestring=
6653 defaultval=
6654 if test -z "$defaultval"; then
6655 if test x"$enablestring" = xdisable; then
6656 defaultval=yes
6657 else
6658 defaultval=no
6659 fi
6660 fi
6661
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6663 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6664 # Check whether --enable-no_deps was given.
6665 if test "${enable_no_deps+set}" = set; then :
6666 enableval=$enable_no_deps;
6667 if test "$enableval" = yes; then
6668 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6669 else
6670 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6671 fi
6672
6673 else
6674
6675 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6676
6677 fi
6678
6679
6680 eval "$wx_cv_use_no_deps"
6681
6682 if test x"$enablestring" = xdisable; then
6683 if test $wxUSE_NO_DEPS = no; then
6684 result=yes
6685 else
6686 result=no
6687 fi
6688 else
6689 result=$wxUSE_NO_DEPS
6690 fi
6691
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6693 $as_echo "$result" >&6; }
6694
6695
6696 enablestring=disable
6697 defaultval=
6698 if test -z "$defaultval"; then
6699 if test x"$enablestring" = xdisable; then
6700 defaultval=yes
6701 else
6702 defaultval=no
6703 fi
6704 fi
6705
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6707 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6708 # Check whether --enable-vararg_macros was given.
6709 if test "${enable_vararg_macros+set}" = set; then :
6710 enableval=$enable_vararg_macros;
6711 if test "$enableval" = yes; then
6712 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6713 else
6714 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6715 fi
6716
6717 else
6718
6719 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6720
6721 fi
6722
6723
6724 eval "$wx_cv_use_vararg_macros"
6725
6726 if test x"$enablestring" = xdisable; then
6727 if test $wxUSE_VARARG_MACROS = no; then
6728 result=yes
6729 else
6730 result=no
6731 fi
6732 else
6733 result=$wxUSE_VARARG_MACROS
6734 fi
6735
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6737 $as_echo "$result" >&6; }
6738
6739
6740
6741 enablestring=
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6743 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6744 # Check whether --enable-universal_binary was given.
6745 if test "${enable_universal_binary+set}" = set; then :
6746 enableval=$enable_universal_binary;
6747 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6748
6749 else
6750
6751 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6752
6753 fi
6754
6755
6756 eval "$wx_cv_use_universal_binary"
6757
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6759 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6760
6761
6762 enablestring=
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6764 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6765 # Check whether --enable-macosx_arch was given.
6766 if test "${enable_macosx_arch+set}" = set; then :
6767 enableval=$enable_macosx_arch;
6768 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6769
6770 else
6771
6772 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6773
6774 fi
6775
6776
6777 eval "$wx_cv_use_macosx_arch"
6778
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6780 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6781
6782
6783
6784 enablestring=
6785 defaultval=
6786 if test -z "$defaultval"; then
6787 if test x"$enablestring" = xdisable; then
6788 defaultval=yes
6789 else
6790 defaultval=no
6791 fi
6792 fi
6793
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6795 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6796 # Check whether --enable-compat26 was given.
6797 if test "${enable_compat26+set}" = set; then :
6798 enableval=$enable_compat26;
6799 if test "$enableval" = yes; then
6800 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
6801 else
6802 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
6803 fi
6804
6805 else
6806
6807 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6808
6809 fi
6810
6811
6812 eval "$wx_cv_use_compat26"
6813
6814 if test x"$enablestring" = xdisable; then
6815 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6816 result=yes
6817 else
6818 result=no
6819 fi
6820 else
6821 result=$WXWIN_COMPATIBILITY_2_6
6822 fi
6823
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6825 $as_echo "$result" >&6; }
6826
6827
6828 enablestring=disable
6829 defaultval=
6830 if test -z "$defaultval"; then
6831 if test x"$enablestring" = xdisable; then
6832 defaultval=yes
6833 else
6834 defaultval=no
6835 fi
6836 fi
6837
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6839 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6840 # Check whether --enable-compat28 was given.
6841 if test "${enable_compat28+set}" = set; then :
6842 enableval=$enable_compat28;
6843 if test "$enableval" = yes; then
6844 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6845 else
6846 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6847 fi
6848
6849 else
6850
6851 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6852
6853 fi
6854
6855
6856 eval "$wx_cv_use_compat28"
6857
6858 if test x"$enablestring" = xdisable; then
6859 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6860 result=yes
6861 else
6862 result=no
6863 fi
6864 else
6865 result=$WXWIN_COMPATIBILITY_2_8
6866 fi
6867
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6869 $as_echo "$result" >&6; }
6870
6871
6872
6873 enablestring=disable
6874 defaultval=
6875 if test -z "$defaultval"; then
6876 if test x"$enablestring" = xdisable; then
6877 defaultval=yes
6878 else
6879 defaultval=no
6880 fi
6881 fi
6882
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6884 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6885 # Check whether --enable-rpath was given.
6886 if test "${enable_rpath+set}" = set; then :
6887 enableval=$enable_rpath;
6888 if test "$enableval" = yes; then
6889 wx_cv_use_rpath='wxUSE_RPATH=yes'
6890 else
6891 wx_cv_use_rpath='wxUSE_RPATH=no'
6892 fi
6893
6894 else
6895
6896 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6897
6898 fi
6899
6900
6901 eval "$wx_cv_use_rpath"
6902
6903 if test x"$enablestring" = xdisable; then
6904 if test $wxUSE_RPATH = no; then
6905 result=yes
6906 else
6907 result=no
6908 fi
6909 else
6910 result=$wxUSE_RPATH
6911 fi
6912
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6914 $as_echo "$result" >&6; }
6915
6916
6917
6918 enablestring=
6919 defaultval=
6920 if test -z "$defaultval"; then
6921 if test x"$enablestring" = xdisable; then
6922 defaultval=yes
6923 else
6924 defaultval=no
6925 fi
6926 fi
6927
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6929 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6930 # Check whether --enable-objc_uniquifying was given.
6931 if test "${enable_objc_uniquifying+set}" = set; then :
6932 enableval=$enable_objc_uniquifying;
6933 if test "$enableval" = yes; then
6934 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6935 else
6936 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6937 fi
6938
6939 else
6940
6941 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6942
6943 fi
6944
6945
6946 eval "$wx_cv_use_objc_uniquifying"
6947
6948 if test x"$enablestring" = xdisable; then
6949 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6950 result=yes
6951 else
6952 result=no
6953 fi
6954 else
6955 result=$wxUSE_OBJC_UNIQUIFYING
6956 fi
6957
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6959 $as_echo "$result" >&6; }
6960
6961
6962
6963 enablestring=disable
6964 defaultval=
6965 if test -z "$defaultval"; then
6966 if test x"$enablestring" = xdisable; then
6967 defaultval=yes
6968 else
6969 defaultval=no
6970 fi
6971 fi
6972
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6974 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6975 # Check whether --enable-visibility was given.
6976 if test "${enable_visibility+set}" = set; then :
6977 enableval=$enable_visibility;
6978 if test "$enableval" = yes; then
6979 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6980 else
6981 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6982 fi
6983
6984 else
6985
6986 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6987
6988 fi
6989
6990
6991 eval "$wx_cv_use_visibility"
6992
6993 if test x"$enablestring" = xdisable; then
6994 if test $wxUSE_VISIBILITY = no; then
6995 result=yes
6996 else
6997 result=no
6998 fi
6999 else
7000 result=$wxUSE_VISIBILITY
7001 fi
7002
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7004 $as_echo "$result" >&6; }
7005
7006
7007 enablestring=disable
7008 defaultval=
7009 if test -z "$defaultval"; then
7010 if test x"$enablestring" = xdisable; then
7011 defaultval=yes
7012 else
7013 defaultval=no
7014 fi
7015 fi
7016
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
7018 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
7019 # Check whether --enable-tls was given.
7020 if test "${enable_tls+set}" = set; then :
7021 enableval=$enable_tls;
7022 if test "$enableval" = yes; then
7023 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
7024 else
7025 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
7026 fi
7027
7028 else
7029
7030 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
7031
7032 fi
7033
7034
7035 eval "$wx_cv_use_tls"
7036
7037 if test x"$enablestring" = xdisable; then
7038 if test $wxUSE_COMPILER_TLS = no; then
7039 result=yes
7040 else
7041 result=no
7042 fi
7043 else
7044 result=$wxUSE_COMPILER_TLS
7045 fi
7046
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7048 $as_echo "$result" >&6; }
7049
7050
7051
7052
7053 enablestring=
7054 defaultval=$wxUSE_ALL_FEATURES
7055 if test -z "$defaultval"; then
7056 if test x"$enablestring" = xdisable; then
7057 defaultval=yes
7058 else
7059 defaultval=no
7060 fi
7061 fi
7062
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
7064 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
7065 # Check whether --enable-intl was given.
7066 if test "${enable_intl+set}" = set; then :
7067 enableval=$enable_intl;
7068 if test "$enableval" = yes; then
7069 wx_cv_use_intl='wxUSE_INTL=yes'
7070 else
7071 wx_cv_use_intl='wxUSE_INTL=no'
7072 fi
7073
7074 else
7075
7076 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
7077
7078 fi
7079
7080
7081 eval "$wx_cv_use_intl"
7082
7083 if test x"$enablestring" = xdisable; then
7084 if test $wxUSE_INTL = no; then
7085 result=yes
7086 else
7087 result=no
7088 fi
7089 else
7090 result=$wxUSE_INTL
7091 fi
7092
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7094 $as_echo "$result" >&6; }
7095
7096
7097 enablestring=
7098 defaultval=$wxUSE_ALL_FEATURES
7099 if test -z "$defaultval"; then
7100 if test x"$enablestring" = xdisable; then
7101 defaultval=yes
7102 else
7103 defaultval=no
7104 fi
7105 fi
7106
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
7108 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
7109 # Check whether --enable-xlocale was given.
7110 if test "${enable_xlocale+set}" = set; then :
7111 enableval=$enable_xlocale;
7112 if test "$enableval" = yes; then
7113 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
7114 else
7115 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
7116 fi
7117
7118 else
7119
7120 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7121
7122 fi
7123
7124
7125 eval "$wx_cv_use_xlocale"
7126
7127 if test x"$enablestring" = xdisable; then
7128 if test $wxUSE_XLOCALE = no; then
7129 result=yes
7130 else
7131 result=no
7132 fi
7133 else
7134 result=$wxUSE_XLOCALE
7135 fi
7136
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7138 $as_echo "$result" >&6; }
7139
7140
7141 enablestring=
7142 defaultval=$wxUSE_ALL_FEATURES
7143 if test -z "$defaultval"; then
7144 if test x"$enablestring" = xdisable; then
7145 defaultval=yes
7146 else
7147 defaultval=no
7148 fi
7149 fi
7150
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
7152 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
7153 # Check whether --enable-config was given.
7154 if test "${enable_config+set}" = set; then :
7155 enableval=$enable_config;
7156 if test "$enableval" = yes; then
7157 wx_cv_use_config='wxUSE_CONFIG=yes'
7158 else
7159 wx_cv_use_config='wxUSE_CONFIG=no'
7160 fi
7161
7162 else
7163
7164 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7165
7166 fi
7167
7168
7169 eval "$wx_cv_use_config"
7170
7171 if test x"$enablestring" = xdisable; then
7172 if test $wxUSE_CONFIG = no; then
7173 result=yes
7174 else
7175 result=no
7176 fi
7177 else
7178 result=$wxUSE_CONFIG
7179 fi
7180
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7182 $as_echo "$result" >&6; }
7183
7184
7185
7186 enablestring=
7187 defaultval=$wxUSE_ALL_FEATURES
7188 if test -z "$defaultval"; then
7189 if test x"$enablestring" = xdisable; then
7190 defaultval=yes
7191 else
7192 defaultval=no
7193 fi
7194 fi
7195
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7197 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7198 # Check whether --enable-protocols was given.
7199 if test "${enable_protocols+set}" = set; then :
7200 enableval=$enable_protocols;
7201 if test "$enableval" = yes; then
7202 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
7203 else
7204 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
7205 fi
7206
7207 else
7208
7209 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7210
7211 fi
7212
7213
7214 eval "$wx_cv_use_protocols"
7215
7216 if test x"$enablestring" = xdisable; then
7217 if test $wxUSE_PROTOCOL = no; then
7218 result=yes
7219 else
7220 result=no
7221 fi
7222 else
7223 result=$wxUSE_PROTOCOL
7224 fi
7225
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7227 $as_echo "$result" >&6; }
7228
7229
7230 enablestring=
7231 defaultval=$wxUSE_ALL_FEATURES
7232 if test -z "$defaultval"; then
7233 if test x"$enablestring" = xdisable; then
7234 defaultval=yes
7235 else
7236 defaultval=no
7237 fi
7238 fi
7239
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7241 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7242 # Check whether --enable-ftp was given.
7243 if test "${enable_ftp+set}" = set; then :
7244 enableval=$enable_ftp;
7245 if test "$enableval" = yes; then
7246 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7247 else
7248 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7249 fi
7250
7251 else
7252
7253 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7254
7255 fi
7256
7257
7258 eval "$wx_cv_use_ftp"
7259
7260 if test x"$enablestring" = xdisable; then
7261 if test $wxUSE_PROTOCOL_FTP = no; then
7262 result=yes
7263 else
7264 result=no
7265 fi
7266 else
7267 result=$wxUSE_PROTOCOL_FTP
7268 fi
7269
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7271 $as_echo "$result" >&6; }
7272
7273
7274 enablestring=
7275 defaultval=$wxUSE_ALL_FEATURES
7276 if test -z "$defaultval"; then
7277 if test x"$enablestring" = xdisable; then
7278 defaultval=yes
7279 else
7280 defaultval=no
7281 fi
7282 fi
7283
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7285 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7286 # Check whether --enable-http was given.
7287 if test "${enable_http+set}" = set; then :
7288 enableval=$enable_http;
7289 if test "$enableval" = yes; then
7290 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7291 else
7292 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7293 fi
7294
7295 else
7296
7297 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7298
7299 fi
7300
7301
7302 eval "$wx_cv_use_http"
7303
7304 if test x"$enablestring" = xdisable; then
7305 if test $wxUSE_PROTOCOL_HTTP = no; then
7306 result=yes
7307 else
7308 result=no
7309 fi
7310 else
7311 result=$wxUSE_PROTOCOL_HTTP
7312 fi
7313
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7315 $as_echo "$result" >&6; }
7316
7317
7318 enablestring=
7319 defaultval=$wxUSE_ALL_FEATURES
7320 if test -z "$defaultval"; then
7321 if test x"$enablestring" = xdisable; then
7322 defaultval=yes
7323 else
7324 defaultval=no
7325 fi
7326 fi
7327
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7329 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7330 # Check whether --enable-fileproto was given.
7331 if test "${enable_fileproto+set}" = set; then :
7332 enableval=$enable_fileproto;
7333 if test "$enableval" = yes; then
7334 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
7335 else
7336 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
7337 fi
7338
7339 else
7340
7341 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7342
7343 fi
7344
7345
7346 eval "$wx_cv_use_fileproto"
7347
7348 if test x"$enablestring" = xdisable; then
7349 if test $wxUSE_PROTOCOL_FILE = no; then
7350 result=yes
7351 else
7352 result=no
7353 fi
7354 else
7355 result=$wxUSE_PROTOCOL_FILE
7356 fi
7357
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7359 $as_echo "$result" >&6; }
7360
7361
7362 enablestring=
7363 defaultval=$wxUSE_ALL_FEATURES
7364 if test -z "$defaultval"; then
7365 if test x"$enablestring" = xdisable; then
7366 defaultval=yes
7367 else
7368 defaultval=no
7369 fi
7370 fi
7371
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7373 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7374 # Check whether --enable-sockets was given.
7375 if test "${enable_sockets+set}" = set; then :
7376 enableval=$enable_sockets;
7377 if test "$enableval" = yes; then
7378 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7379 else
7380 wx_cv_use_sockets='wxUSE_SOCKETS=no'
7381 fi
7382
7383 else
7384
7385 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7386
7387 fi
7388
7389
7390 eval "$wx_cv_use_sockets"
7391
7392 if test x"$enablestring" = xdisable; then
7393 if test $wxUSE_SOCKETS = no; then
7394 result=yes
7395 else
7396 result=no
7397 fi
7398 else
7399 result=$wxUSE_SOCKETS
7400 fi
7401
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7403 $as_echo "$result" >&6; }
7404
7405
7406 enablestring=
7407 defaultval=$wxUSE_ALL_FEATURES
7408 if test -z "$defaultval"; then
7409 if test x"$enablestring" = xdisable; then
7410 defaultval=yes
7411 else
7412 defaultval=no
7413 fi
7414 fi
7415
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7417 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7418 # Check whether --enable-ipv6 was given.
7419 if test "${enable_ipv6+set}" = set; then :
7420 enableval=$enable_ipv6;
7421 if test "$enableval" = yes; then
7422 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7423 else
7424 wx_cv_use_ipv6='wxUSE_IPV6=no'
7425 fi
7426
7427 else
7428
7429 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7430
7431 fi
7432
7433
7434 eval "$wx_cv_use_ipv6"
7435
7436 if test x"$enablestring" = xdisable; then
7437 if test $wxUSE_IPV6 = no; then
7438 result=yes
7439 else
7440 result=no
7441 fi
7442 else
7443 result=$wxUSE_IPV6
7444 fi
7445
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7447 $as_echo "$result" >&6; }
7448
7449
7450 enablestring=
7451 defaultval=$wxUSE_ALL_FEATURES
7452 if test -z "$defaultval"; then
7453 if test x"$enablestring" = xdisable; then
7454 defaultval=yes
7455 else
7456 defaultval=no
7457 fi
7458 fi
7459
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7461 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7462 # Check whether --enable-ole was given.
7463 if test "${enable_ole+set}" = set; then :
7464 enableval=$enable_ole;
7465 if test "$enableval" = yes; then
7466 wx_cv_use_ole='wxUSE_OLE=yes'
7467 else
7468 wx_cv_use_ole='wxUSE_OLE=no'
7469 fi
7470
7471 else
7472
7473 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7474
7475 fi
7476
7477
7478 eval "$wx_cv_use_ole"
7479
7480 if test x"$enablestring" = xdisable; then
7481 if test $wxUSE_OLE = no; then
7482 result=yes
7483 else
7484 result=no
7485 fi
7486 else
7487 result=$wxUSE_OLE
7488 fi
7489
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7491 $as_echo "$result" >&6; }
7492
7493
7494 enablestring=
7495 defaultval=$wxUSE_ALL_FEATURES
7496 if test -z "$defaultval"; then
7497 if test x"$enablestring" = xdisable; then
7498 defaultval=yes
7499 else
7500 defaultval=no
7501 fi
7502 fi
7503
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7505 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7506 # Check whether --enable-dataobj was given.
7507 if test "${enable_dataobj+set}" = set; then :
7508 enableval=$enable_dataobj;
7509 if test "$enableval" = yes; then
7510 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7511 else
7512 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7513 fi
7514
7515 else
7516
7517 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7518
7519 fi
7520
7521
7522 eval "$wx_cv_use_dataobj"
7523
7524 if test x"$enablestring" = xdisable; then
7525 if test $wxUSE_DATAOBJ = no; then
7526 result=yes
7527 else
7528 result=no
7529 fi
7530 else
7531 result=$wxUSE_DATAOBJ
7532 fi
7533
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7535 $as_echo "$result" >&6; }
7536
7537
7538
7539 enablestring=
7540 defaultval=$wxUSE_ALL_FEATURES
7541 if test -z "$defaultval"; then
7542 if test x"$enablestring" = xdisable; then
7543 defaultval=yes
7544 else
7545 defaultval=no
7546 fi
7547 fi
7548
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7550 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7551 # Check whether --enable-ipc was given.
7552 if test "${enable_ipc+set}" = set; then :
7553 enableval=$enable_ipc;
7554 if test "$enableval" = yes; then
7555 wx_cv_use_ipc='wxUSE_IPC=yes'
7556 else
7557 wx_cv_use_ipc='wxUSE_IPC=no'
7558 fi
7559
7560 else
7561
7562 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7563
7564 fi
7565
7566
7567 eval "$wx_cv_use_ipc"
7568
7569 if test x"$enablestring" = xdisable; then
7570 if test $wxUSE_IPC = no; then
7571 result=yes
7572 else
7573 result=no
7574 fi
7575 else
7576 result=$wxUSE_IPC
7577 fi
7578
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7580 $as_echo "$result" >&6; }
7581
7582
7583
7584 enablestring=
7585 defaultval=$wxUSE_ALL_FEATURES
7586 if test -z "$defaultval"; then
7587 if test x"$enablestring" = xdisable; then
7588 defaultval=yes
7589 else
7590 defaultval=no
7591 fi
7592 fi
7593
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7595 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7596 # Check whether --enable-baseevtloop was given.
7597 if test "${enable_baseevtloop+set}" = set; then :
7598 enableval=$enable_baseevtloop;
7599 if test "$enableval" = yes; then
7600 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
7601 else
7602 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
7603 fi
7604
7605 else
7606
7607 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7608
7609 fi
7610
7611
7612 eval "$wx_cv_use_baseevtloop"
7613
7614 if test x"$enablestring" = xdisable; then
7615 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7616 result=yes
7617 else
7618 result=no
7619 fi
7620 else
7621 result=$wxUSE_CONSOLE_EVENTLOOP
7622 fi
7623
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7625 $as_echo "$result" >&6; }
7626
7627
7628 enablestring=
7629 defaultval=$wxUSE_ALL_FEATURES
7630 if test -z "$defaultval"; then
7631 if test x"$enablestring" = xdisable; then
7632 defaultval=yes
7633 else
7634 defaultval=no
7635 fi
7636 fi
7637
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7639 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7640 # Check whether --enable-epollloop was given.
7641 if test "${enable_epollloop+set}" = set; then :
7642 enableval=$enable_epollloop;
7643 if test "$enableval" = yes; then
7644 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7645 else
7646 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7647 fi
7648
7649 else
7650
7651 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7652
7653 fi
7654
7655
7656 eval "$wx_cv_use_epollloop"
7657
7658 if test x"$enablestring" = xdisable; then
7659 if test $wxUSE_EPOLL_DISPATCHER = no; then
7660 result=yes
7661 else
7662 result=no
7663 fi
7664 else
7665 result=$wxUSE_EPOLL_DISPATCHER
7666 fi
7667
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7669 $as_echo "$result" >&6; }
7670
7671
7672 enablestring=
7673 defaultval=$wxUSE_ALL_FEATURES
7674 if test -z "$defaultval"; then
7675 if test x"$enablestring" = xdisable; then
7676 defaultval=yes
7677 else
7678 defaultval=no
7679 fi
7680 fi
7681
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7683 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7684 # Check whether --enable-selectloop was given.
7685 if test "${enable_selectloop+set}" = set; then :
7686 enableval=$enable_selectloop;
7687 if test "$enableval" = yes; then
7688 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7689 else
7690 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7691 fi
7692
7693 else
7694
7695 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7696
7697 fi
7698
7699
7700 eval "$wx_cv_use_selectloop"
7701
7702 if test x"$enablestring" = xdisable; then
7703 if test $wxUSE_SELECT_DISPATCHER = no; then
7704 result=yes
7705 else
7706 result=no
7707 fi
7708 else
7709 result=$wxUSE_SELECT_DISPATCHER
7710 fi
7711
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7713 $as_echo "$result" >&6; }
7714
7715
7716
7717 enablestring=
7718 defaultval=$wxUSE_ALL_FEATURES
7719 if test -z "$defaultval"; then
7720 if test x"$enablestring" = xdisable; then
7721 defaultval=yes
7722 else
7723 defaultval=no
7724 fi
7725 fi
7726
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7728 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7729 # Check whether --enable-any was given.
7730 if test "${enable_any+set}" = set; then :
7731 enableval=$enable_any;
7732 if test "$enableval" = yes; then
7733 wx_cv_use_any='wxUSE_ANY=yes'
7734 else
7735 wx_cv_use_any='wxUSE_ANY=no'
7736 fi
7737
7738 else
7739
7740 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7741
7742 fi
7743
7744
7745 eval "$wx_cv_use_any"
7746
7747 if test x"$enablestring" = xdisable; then
7748 if test $wxUSE_ANY = no; then
7749 result=yes
7750 else
7751 result=no
7752 fi
7753 else
7754 result=$wxUSE_ANY
7755 fi
7756
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7758 $as_echo "$result" >&6; }
7759
7760
7761 enablestring=
7762 defaultval=$wxUSE_ALL_FEATURES
7763 if test -z "$defaultval"; then
7764 if test x"$enablestring" = xdisable; then
7765 defaultval=yes
7766 else
7767 defaultval=no
7768 fi
7769 fi
7770
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7772 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7773 # Check whether --enable-apple_ieee was given.
7774 if test "${enable_apple_ieee+set}" = set; then :
7775 enableval=$enable_apple_ieee;
7776 if test "$enableval" = yes; then
7777 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7778 else
7779 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7780 fi
7781
7782 else
7783
7784 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7785
7786 fi
7787
7788
7789 eval "$wx_cv_use_apple_ieee"
7790
7791 if test x"$enablestring" = xdisable; then
7792 if test $wxUSE_APPLE_IEEE = no; then
7793 result=yes
7794 else
7795 result=no
7796 fi
7797 else
7798 result=$wxUSE_APPLE_IEEE
7799 fi
7800
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7802 $as_echo "$result" >&6; }
7803
7804
7805 enablestring=
7806 defaultval=$wxUSE_ALL_FEATURES
7807 if test -z "$defaultval"; then
7808 if test x"$enablestring" = xdisable; then
7809 defaultval=yes
7810 else
7811 defaultval=no
7812 fi
7813 fi
7814
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7816 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7817 # Check whether --enable-arcstream was given.
7818 if test "${enable_arcstream+set}" = set; then :
7819 enableval=$enable_arcstream;
7820 if test "$enableval" = yes; then
7821 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7822 else
7823 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7824 fi
7825
7826 else
7827
7828 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7829
7830 fi
7831
7832
7833 eval "$wx_cv_use_arcstream"
7834
7835 if test x"$enablestring" = xdisable; then
7836 if test $wxUSE_ARCHIVE_STREAMS = no; then
7837 result=yes
7838 else
7839 result=no
7840 fi
7841 else
7842 result=$wxUSE_ARCHIVE_STREAMS
7843 fi
7844
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7846 $as_echo "$result" >&6; }
7847
7848
7849 enablestring=
7850 defaultval=$wxUSE_ALL_FEATURES
7851 if test -z "$defaultval"; then
7852 if test x"$enablestring" = xdisable; then
7853 defaultval=yes
7854 else
7855 defaultval=no
7856 fi
7857 fi
7858
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7860 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7861 # Check whether --enable-base64 was given.
7862 if test "${enable_base64+set}" = set; then :
7863 enableval=$enable_base64;
7864 if test "$enableval" = yes; then
7865 wx_cv_use_base64='wxUSE_BASE64=yes'
7866 else
7867 wx_cv_use_base64='wxUSE_BASE64=no'
7868 fi
7869
7870 else
7871
7872 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7873
7874 fi
7875
7876
7877 eval "$wx_cv_use_base64"
7878
7879 if test x"$enablestring" = xdisable; then
7880 if test $wxUSE_BASE64 = no; then
7881 result=yes
7882 else
7883 result=no
7884 fi
7885 else
7886 result=$wxUSE_BASE64
7887 fi
7888
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7890 $as_echo "$result" >&6; }
7891
7892
7893 enablestring=
7894 defaultval=$wxUSE_ALL_FEATURES
7895 if test -z "$defaultval"; then
7896 if test x"$enablestring" = xdisable; then
7897 defaultval=yes
7898 else
7899 defaultval=no
7900 fi
7901 fi
7902
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7904 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7905 # Check whether --enable-backtrace was given.
7906 if test "${enable_backtrace+set}" = set; then :
7907 enableval=$enable_backtrace;
7908 if test "$enableval" = yes; then
7909 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7910 else
7911 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7912 fi
7913
7914 else
7915
7916 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7917
7918 fi
7919
7920
7921 eval "$wx_cv_use_backtrace"
7922
7923 if test x"$enablestring" = xdisable; then
7924 if test $wxUSE_STACKWALKER = no; then
7925 result=yes
7926 else
7927 result=no
7928 fi
7929 else
7930 result=$wxUSE_STACKWALKER
7931 fi
7932
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7934 $as_echo "$result" >&6; }
7935
7936
7937 enablestring=
7938 defaultval=$wxUSE_ALL_FEATURES
7939 if test -z "$defaultval"; then
7940 if test x"$enablestring" = xdisable; then
7941 defaultval=yes
7942 else
7943 defaultval=no
7944 fi
7945 fi
7946
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7948 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7949 # Check whether --enable-catch_segvs was given.
7950 if test "${enable_catch_segvs+set}" = set; then :
7951 enableval=$enable_catch_segvs;
7952 if test "$enableval" = yes; then
7953 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7954 else
7955 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7956 fi
7957
7958 else
7959
7960 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7961
7962 fi
7963
7964
7965 eval "$wx_cv_use_catch_segvs"
7966
7967 if test x"$enablestring" = xdisable; then
7968 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7969 result=yes
7970 else
7971 result=no
7972 fi
7973 else
7974 result=$wxUSE_ON_FATAL_EXCEPTION
7975 fi
7976
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7978 $as_echo "$result" >&6; }
7979
7980
7981 enablestring=
7982 defaultval=$wxUSE_ALL_FEATURES
7983 if test -z "$defaultval"; then
7984 if test x"$enablestring" = xdisable; then
7985 defaultval=yes
7986 else
7987 defaultval=no
7988 fi
7989 fi
7990
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7992 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7993 # Check whether --enable-cmdline was given.
7994 if test "${enable_cmdline+set}" = set; then :
7995 enableval=$enable_cmdline;
7996 if test "$enableval" = yes; then
7997 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7998 else
7999 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
8000 fi
8001
8002 else
8003
8004 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
8005
8006 fi
8007
8008
8009 eval "$wx_cv_use_cmdline"
8010
8011 if test x"$enablestring" = xdisable; then
8012 if test $wxUSE_CMDLINE_PARSER = no; then
8013 result=yes
8014 else
8015 result=no
8016 fi
8017 else
8018 result=$wxUSE_CMDLINE_PARSER
8019 fi
8020
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8022 $as_echo "$result" >&6; }
8023
8024
8025 enablestring=
8026 defaultval=$wxUSE_ALL_FEATURES
8027 if test -z "$defaultval"; then
8028 if test x"$enablestring" = xdisable; then
8029 defaultval=yes
8030 else
8031 defaultval=no
8032 fi
8033 fi
8034
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
8036 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
8037 # Check whether --enable-datetime was given.
8038 if test "${enable_datetime+set}" = set; then :
8039 enableval=$enable_datetime;
8040 if test "$enableval" = yes; then
8041 wx_cv_use_datetime='wxUSE_DATETIME=yes'
8042 else
8043 wx_cv_use_datetime='wxUSE_DATETIME=no'
8044 fi
8045
8046 else
8047
8048 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
8049
8050 fi
8051
8052
8053 eval "$wx_cv_use_datetime"
8054
8055 if test x"$enablestring" = xdisable; then
8056 if test $wxUSE_DATETIME = no; then
8057 result=yes
8058 else
8059 result=no
8060 fi
8061 else
8062 result=$wxUSE_DATETIME
8063 fi
8064
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8066 $as_echo "$result" >&6; }
8067
8068
8069 enablestring=
8070 defaultval=$wxUSE_ALL_FEATURES
8071 if test -z "$defaultval"; then
8072 if test x"$enablestring" = xdisable; then
8073 defaultval=yes
8074 else
8075 defaultval=no
8076 fi
8077 fi
8078
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
8080 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
8081 # Check whether --enable-debugreport was given.
8082 if test "${enable_debugreport+set}" = set; then :
8083 enableval=$enable_debugreport;
8084 if test "$enableval" = yes; then
8085 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
8086 else
8087 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
8088 fi
8089
8090 else
8091
8092 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
8093
8094 fi
8095
8096
8097 eval "$wx_cv_use_debugreport"
8098
8099 if test x"$enablestring" = xdisable; then
8100 if test $wxUSE_DEBUGREPORT = no; then
8101 result=yes
8102 else
8103 result=no
8104 fi
8105 else
8106 result=$wxUSE_DEBUGREPORT
8107 fi
8108
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8110 $as_echo "$result" >&6; }
8111
8112
8113 enablestring=
8114 defaultval=$wxUSE_ALL_FEATURES
8115 if test -z "$defaultval"; then
8116 if test x"$enablestring" = xdisable; then
8117 defaultval=yes
8118 else
8119 defaultval=no
8120 fi
8121 fi
8122
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8124 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8125 # Check whether --enable-dialupman was given.
8126 if test "${enable_dialupman+set}" = set; then :
8127 enableval=$enable_dialupman;
8128 if test "$enableval" = yes; then
8129 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
8130 else
8131 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
8132 fi
8133
8134 else
8135
8136 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8137
8138 fi
8139
8140
8141 eval "$wx_cv_use_dialupman"
8142
8143 if test x"$enablestring" = xdisable; then
8144 if test $wxUSE_DIALUP_MANAGER = no; then
8145 result=yes
8146 else
8147 result=no
8148 fi
8149 else
8150 result=$wxUSE_DIALUP_MANAGER
8151 fi
8152
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8154 $as_echo "$result" >&6; }
8155
8156
8157 enablestring=
8158 defaultval=$wxUSE_ALL_FEATURES
8159 if test -z "$defaultval"; then
8160 if test x"$enablestring" = xdisable; then
8161 defaultval=yes
8162 else
8163 defaultval=no
8164 fi
8165 fi
8166
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8168 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8169 # Check whether --enable-dynlib was given.
8170 if test "${enable_dynlib+set}" = set; then :
8171 enableval=$enable_dynlib;
8172 if test "$enableval" = yes; then
8173 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8174 else
8175 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8176 fi
8177
8178 else
8179
8180 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8181
8182 fi
8183
8184
8185 eval "$wx_cv_use_dynlib"
8186
8187 if test x"$enablestring" = xdisable; then
8188 if test $wxUSE_DYNLIB_CLASS = no; then
8189 result=yes
8190 else
8191 result=no
8192 fi
8193 else
8194 result=$wxUSE_DYNLIB_CLASS
8195 fi
8196
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8198 $as_echo "$result" >&6; }
8199
8200
8201 enablestring=
8202 defaultval=$wxUSE_ALL_FEATURES
8203 if test -z "$defaultval"; then
8204 if test x"$enablestring" = xdisable; then
8205 defaultval=yes
8206 else
8207 defaultval=no
8208 fi
8209 fi
8210
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8212 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8213 # Check whether --enable-dynamicloader was given.
8214 if test "${enable_dynamicloader+set}" = set; then :
8215 enableval=$enable_dynamicloader;
8216 if test "$enableval" = yes; then
8217 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8218 else
8219 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8220 fi
8221
8222 else
8223
8224 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8225
8226 fi
8227
8228
8229 eval "$wx_cv_use_dynamicloader"
8230
8231 if test x"$enablestring" = xdisable; then
8232 if test $wxUSE_DYNAMIC_LOADER = no; then
8233 result=yes
8234 else
8235 result=no
8236 fi
8237 else
8238 result=$wxUSE_DYNAMIC_LOADER
8239 fi
8240
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8242 $as_echo "$result" >&6; }
8243
8244
8245 enablestring=
8246 defaultval=$wxUSE_ALL_FEATURES
8247 if test -z "$defaultval"; then
8248 if test x"$enablestring" = xdisable; then
8249 defaultval=yes
8250 else
8251 defaultval=no
8252 fi
8253 fi
8254
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8256 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8257 # Check whether --enable-exceptions was given.
8258 if test "${enable_exceptions+set}" = set; then :
8259 enableval=$enable_exceptions;
8260 if test "$enableval" = yes; then
8261 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
8262 else
8263 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
8264 fi
8265
8266 else
8267
8268 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8269
8270 fi
8271
8272
8273 eval "$wx_cv_use_exceptions"
8274
8275 if test x"$enablestring" = xdisable; then
8276 if test $wxUSE_EXCEPTIONS = no; then
8277 result=yes
8278 else
8279 result=no
8280 fi
8281 else
8282 result=$wxUSE_EXCEPTIONS
8283 fi
8284
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8286 $as_echo "$result" >&6; }
8287
8288
8289 enablestring=
8290 defaultval=$wxUSE_ALL_FEATURES
8291 if test -z "$defaultval"; then
8292 if test x"$enablestring" = xdisable; then
8293 defaultval=yes
8294 else
8295 defaultval=no
8296 fi
8297 fi
8298
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8300 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8301 # Check whether --enable-ffile was given.
8302 if test "${enable_ffile+set}" = set; then :
8303 enableval=$enable_ffile;
8304 if test "$enableval" = yes; then
8305 wx_cv_use_ffile='wxUSE_FFILE=yes'
8306 else
8307 wx_cv_use_ffile='wxUSE_FFILE=no'
8308 fi
8309
8310 else
8311
8312 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8313
8314 fi
8315
8316
8317 eval "$wx_cv_use_ffile"
8318
8319 if test x"$enablestring" = xdisable; then
8320 if test $wxUSE_FFILE = no; then
8321 result=yes
8322 else
8323 result=no
8324 fi
8325 else
8326 result=$wxUSE_FFILE
8327 fi
8328
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8330 $as_echo "$result" >&6; }
8331
8332
8333 enablestring=
8334 defaultval=$wxUSE_ALL_FEATURES
8335 if test -z "$defaultval"; then
8336 if test x"$enablestring" = xdisable; then
8337 defaultval=yes
8338 else
8339 defaultval=no
8340 fi
8341 fi
8342
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8344 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8345 # Check whether --enable-file was given.
8346 if test "${enable_file+set}" = set; then :
8347 enableval=$enable_file;
8348 if test "$enableval" = yes; then
8349 wx_cv_use_file='wxUSE_FILE=yes'
8350 else
8351 wx_cv_use_file='wxUSE_FILE=no'
8352 fi
8353
8354 else
8355
8356 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8357
8358 fi
8359
8360
8361 eval "$wx_cv_use_file"
8362
8363 if test x"$enablestring" = xdisable; then
8364 if test $wxUSE_FILE = no; then
8365 result=yes
8366 else
8367 result=no
8368 fi
8369 else
8370 result=$wxUSE_FILE
8371 fi
8372
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8374 $as_echo "$result" >&6; }
8375
8376
8377 enablestring=
8378 defaultval=$wxUSE_ALL_FEATURES
8379 if test -z "$defaultval"; then
8380 if test x"$enablestring" = xdisable; then
8381 defaultval=yes
8382 else
8383 defaultval=no
8384 fi
8385 fi
8386
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8388 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8389 # Check whether --enable-filehistory was given.
8390 if test "${enable_filehistory+set}" = set; then :
8391 enableval=$enable_filehistory;
8392 if test "$enableval" = yes; then
8393 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
8394 else
8395 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
8396 fi
8397
8398 else
8399
8400 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8401
8402 fi
8403
8404
8405 eval "$wx_cv_use_filehistory"
8406
8407 if test x"$enablestring" = xdisable; then
8408 if test $wxUSE_FILE_HISTORY = no; then
8409 result=yes
8410 else
8411 result=no
8412 fi
8413 else
8414 result=$wxUSE_FILE_HISTORY
8415 fi
8416
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8418 $as_echo "$result" >&6; }
8419
8420
8421 enablestring=
8422 defaultval=$wxUSE_ALL_FEATURES
8423 if test -z "$defaultval"; then
8424 if test x"$enablestring" = xdisable; then
8425 defaultval=yes
8426 else
8427 defaultval=no
8428 fi
8429 fi
8430
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8432 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8433 # Check whether --enable-filesystem was given.
8434 if test "${enable_filesystem+set}" = set; then :
8435 enableval=$enable_filesystem;
8436 if test "$enableval" = yes; then
8437 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8438 else
8439 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8440 fi
8441
8442 else
8443
8444 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8445
8446 fi
8447
8448
8449 eval "$wx_cv_use_filesystem"
8450
8451 if test x"$enablestring" = xdisable; then
8452 if test $wxUSE_FILESYSTEM = no; then
8453 result=yes
8454 else
8455 result=no
8456 fi
8457 else
8458 result=$wxUSE_FILESYSTEM
8459 fi
8460
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8462 $as_echo "$result" >&6; }
8463
8464
8465 enablestring=
8466 defaultval=$wxUSE_ALL_FEATURES
8467 if test -z "$defaultval"; then
8468 if test x"$enablestring" = xdisable; then
8469 defaultval=yes
8470 else
8471 defaultval=no
8472 fi
8473 fi
8474
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8476 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8477 # Check whether --enable-fontenum was given.
8478 if test "${enable_fontenum+set}" = set; then :
8479 enableval=$enable_fontenum;
8480 if test "$enableval" = yes; then
8481 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8482 else
8483 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8484 fi
8485
8486 else
8487
8488 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8489
8490 fi
8491
8492
8493 eval "$wx_cv_use_fontenum"
8494
8495 if test x"$enablestring" = xdisable; then
8496 if test $wxUSE_FONTENUM = no; then
8497 result=yes
8498 else
8499 result=no
8500 fi
8501 else
8502 result=$wxUSE_FONTENUM
8503 fi
8504
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8506 $as_echo "$result" >&6; }
8507
8508
8509 enablestring=
8510 defaultval=$wxUSE_ALL_FEATURES
8511 if test -z "$defaultval"; then
8512 if test x"$enablestring" = xdisable; then
8513 defaultval=yes
8514 else
8515 defaultval=no
8516 fi
8517 fi
8518
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8520 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8521 # Check whether --enable-fontmap was given.
8522 if test "${enable_fontmap+set}" = set; then :
8523 enableval=$enable_fontmap;
8524 if test "$enableval" = yes; then
8525 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
8526 else
8527 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
8528 fi
8529
8530 else
8531
8532 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8533
8534 fi
8535
8536
8537 eval "$wx_cv_use_fontmap"
8538
8539 if test x"$enablestring" = xdisable; then
8540 if test $wxUSE_FONTMAP = no; then
8541 result=yes
8542 else
8543 result=no
8544 fi
8545 else
8546 result=$wxUSE_FONTMAP
8547 fi
8548
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8550 $as_echo "$result" >&6; }
8551
8552
8553 enablestring=
8554 defaultval=$wxUSE_ALL_FEATURES
8555 if test -z "$defaultval"; then
8556 if test x"$enablestring" = xdisable; then
8557 defaultval=yes
8558 else
8559 defaultval=no
8560 fi
8561 fi
8562
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8564 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8565 # Check whether --enable-fs_archive was given.
8566 if test "${enable_fs_archive+set}" = set; then :
8567 enableval=$enable_fs_archive;
8568 if test "$enableval" = yes; then
8569 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8570 else
8571 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8572 fi
8573
8574 else
8575
8576 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8577
8578 fi
8579
8580
8581 eval "$wx_cv_use_fs_archive"
8582
8583 if test x"$enablestring" = xdisable; then
8584 if test $wxUSE_FS_ARCHIVE = no; then
8585 result=yes
8586 else
8587 result=no
8588 fi
8589 else
8590 result=$wxUSE_FS_ARCHIVE
8591 fi
8592
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8594 $as_echo "$result" >&6; }
8595
8596
8597 enablestring=
8598 defaultval=$wxUSE_ALL_FEATURES
8599 if test -z "$defaultval"; then
8600 if test x"$enablestring" = xdisable; then
8601 defaultval=yes
8602 else
8603 defaultval=no
8604 fi
8605 fi
8606
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8608 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8609 # Check whether --enable-fs_inet was given.
8610 if test "${enable_fs_inet+set}" = set; then :
8611 enableval=$enable_fs_inet;
8612 if test "$enableval" = yes; then
8613 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8614 else
8615 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8616 fi
8617
8618 else
8619
8620 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8621
8622 fi
8623
8624
8625 eval "$wx_cv_use_fs_inet"
8626
8627 if test x"$enablestring" = xdisable; then
8628 if test $wxUSE_FS_INET = no; then
8629 result=yes
8630 else
8631 result=no
8632 fi
8633 else
8634 result=$wxUSE_FS_INET
8635 fi
8636
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8638 $as_echo "$result" >&6; }
8639
8640
8641 enablestring=
8642 defaultval=$wxUSE_ALL_FEATURES
8643 if test -z "$defaultval"; then
8644 if test x"$enablestring" = xdisable; then
8645 defaultval=yes
8646 else
8647 defaultval=no
8648 fi
8649 fi
8650
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8652 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8653 # Check whether --enable-fs_zip was given.
8654 if test "${enable_fs_zip+set}" = set; then :
8655 enableval=$enable_fs_zip;
8656 if test "$enableval" = yes; then
8657 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
8658 else
8659 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
8660 fi
8661
8662 else
8663
8664 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8665
8666 fi
8667
8668
8669 eval "$wx_cv_use_fs_zip"
8670
8671 if test x"$enablestring" = xdisable; then
8672 if test $wxUSE_FS_ZIP = no; then
8673 result=yes
8674 else
8675 result=no
8676 fi
8677 else
8678 result=$wxUSE_FS_ZIP
8679 fi
8680
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8682 $as_echo "$result" >&6; }
8683
8684
8685 enablestring=
8686 defaultval=$wxUSE_ALL_FEATURES
8687 if test -z "$defaultval"; then
8688 if test x"$enablestring" = xdisable; then
8689 defaultval=yes
8690 else
8691 defaultval=no
8692 fi
8693 fi
8694
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fsvolume" >&5
8696 $as_echo_n "checking for --${enablestring:-enable}-fsvolume... " >&6; }
8697 # Check whether --enable-fsvolume was given.
8698 if test "${enable_fsvolume+set}" = set; then :
8699 enableval=$enable_fsvolume;
8700 if test "$enableval" = yes; then
8701 wx_cv_use_fsvolume='wxUSE_FSVOLUME=yes'
8702 else
8703 wx_cv_use_fsvolume='wxUSE_FSVOLUME=no'
8704 fi
8705
8706 else
8707
8708 wx_cv_use_fsvolume='wxUSE_FSVOLUME=${'DEFAULT_wxUSE_FSVOLUME":-$defaultval}"
8709
8710 fi
8711
8712
8713 eval "$wx_cv_use_fsvolume"
8714
8715 if test x"$enablestring" = xdisable; then
8716 if test $wxUSE_FSVOLUME = no; then
8717 result=yes
8718 else
8719 result=no
8720 fi
8721 else
8722 result=$wxUSE_FSVOLUME
8723 fi
8724
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8726 $as_echo "$result" >&6; }
8727
8728
8729 enablestring=
8730 defaultval=$wxUSE_ALL_FEATURES
8731 if test -z "$defaultval"; then
8732 if test x"$enablestring" = xdisable; then
8733 defaultval=yes
8734 else
8735 defaultval=no
8736 fi
8737 fi
8738
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8740 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8741 # Check whether --enable-fswatcher was given.
8742 if test "${enable_fswatcher+set}" = set; then :
8743 enableval=$enable_fswatcher;
8744 if test "$enableval" = yes; then
8745 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8746 else
8747 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8748 fi
8749
8750 else
8751
8752 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8753
8754 fi
8755
8756
8757 eval "$wx_cv_use_fswatcher"
8758
8759 if test x"$enablestring" = xdisable; then
8760 if test $wxUSE_FSWATCHER = no; then
8761 result=yes
8762 else
8763 result=no
8764 fi
8765 else
8766 result=$wxUSE_FSWATCHER
8767 fi
8768
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8770 $as_echo "$result" >&6; }
8771
8772
8773 enablestring=
8774 defaultval=$wxUSE_ALL_FEATURES
8775 if test -z "$defaultval"; then
8776 if test x"$enablestring" = xdisable; then
8777 defaultval=yes
8778 else
8779 defaultval=no
8780 fi
8781 fi
8782
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8784 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8785 # Check whether --enable-geometry was given.
8786 if test "${enable_geometry+set}" = set; then :
8787 enableval=$enable_geometry;
8788 if test "$enableval" = yes; then
8789 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8790 else
8791 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8792 fi
8793
8794 else
8795
8796 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8797
8798 fi
8799
8800
8801 eval "$wx_cv_use_geometry"
8802
8803 if test x"$enablestring" = xdisable; then
8804 if test $wxUSE_GEOMETRY = no; then
8805 result=yes
8806 else
8807 result=no
8808 fi
8809 else
8810 result=$wxUSE_GEOMETRY
8811 fi
8812
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8814 $as_echo "$result" >&6; }
8815
8816
8817 enablestring=
8818 defaultval=$wxUSE_ALL_FEATURES
8819 if test -z "$defaultval"; then
8820 if test x"$enablestring" = xdisable; then
8821 defaultval=yes
8822 else
8823 defaultval=no
8824 fi
8825 fi
8826
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8828 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8829 # Check whether --enable-log was given.
8830 if test "${enable_log+set}" = set; then :
8831 enableval=$enable_log;
8832 if test "$enableval" = yes; then
8833 wx_cv_use_log='wxUSE_LOG=yes'
8834 else
8835 wx_cv_use_log='wxUSE_LOG=no'
8836 fi
8837
8838 else
8839
8840 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8841
8842 fi
8843
8844
8845 eval "$wx_cv_use_log"
8846
8847 if test x"$enablestring" = xdisable; then
8848 if test $wxUSE_LOG = no; then
8849 result=yes
8850 else
8851 result=no
8852 fi
8853 else
8854 result=$wxUSE_LOG
8855 fi
8856
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8858 $as_echo "$result" >&6; }
8859
8860
8861 enablestring=
8862 defaultval=$wxUSE_ALL_FEATURES
8863 if test -z "$defaultval"; then
8864 if test x"$enablestring" = xdisable; then
8865 defaultval=yes
8866 else
8867 defaultval=no
8868 fi
8869 fi
8870
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8872 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8873 # Check whether --enable-longlong was given.
8874 if test "${enable_longlong+set}" = set; then :
8875 enableval=$enable_longlong;
8876 if test "$enableval" = yes; then
8877 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8878 else
8879 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8880 fi
8881
8882 else
8883
8884 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8885
8886 fi
8887
8888
8889 eval "$wx_cv_use_longlong"
8890
8891 if test x"$enablestring" = xdisable; then
8892 if test $wxUSE_LONGLONG = no; then
8893 result=yes
8894 else
8895 result=no
8896 fi
8897 else
8898 result=$wxUSE_LONGLONG
8899 fi
8900
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8902 $as_echo "$result" >&6; }
8903
8904
8905 enablestring=
8906 defaultval=$wxUSE_ALL_FEATURES
8907 if test -z "$defaultval"; then
8908 if test x"$enablestring" = xdisable; then
8909 defaultval=yes
8910 else
8911 defaultval=no
8912 fi
8913 fi
8914
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8916 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8917 # Check whether --enable-mimetype was given.
8918 if test "${enable_mimetype+set}" = set; then :
8919 enableval=$enable_mimetype;
8920 if test "$enableval" = yes; then
8921 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8922 else
8923 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8924 fi
8925
8926 else
8927
8928 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8929
8930 fi
8931
8932
8933 eval "$wx_cv_use_mimetype"
8934
8935 if test x"$enablestring" = xdisable; then
8936 if test $wxUSE_MIMETYPE = no; then
8937 result=yes
8938 else
8939 result=no
8940 fi
8941 else
8942 result=$wxUSE_MIMETYPE
8943 fi
8944
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8946 $as_echo "$result" >&6; }
8947
8948
8949 enablestring=
8950 defaultval=$wxUSE_ALL_FEATURES
8951 if test -z "$defaultval"; then
8952 if test x"$enablestring" = xdisable; then
8953 defaultval=yes
8954 else
8955 defaultval=no
8956 fi
8957 fi
8958
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8960 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8961 # Check whether --enable-printfposparam was given.
8962 if test "${enable_printfposparam+set}" = set; then :
8963 enableval=$enable_printfposparam;
8964 if test "$enableval" = yes; then
8965 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8966 else
8967 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8968 fi
8969
8970 else
8971
8972 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8973
8974 fi
8975
8976
8977 eval "$wx_cv_use_printfposparam"
8978
8979 if test x"$enablestring" = xdisable; then
8980 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8981 result=yes
8982 else
8983 result=no
8984 fi
8985 else
8986 result=$wxUSE_PRINTF_POS_PARAMS
8987 fi
8988
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8990 $as_echo "$result" >&6; }
8991
8992
8993 enablestring=
8994 defaultval=$wxUSE_ALL_FEATURES
8995 if test -z "$defaultval"; then
8996 if test x"$enablestring" = xdisable; then
8997 defaultval=yes
8998 else
8999 defaultval=no
9000 fi
9001 fi
9002
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
9004 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
9005 # Check whether --enable-snglinst was given.
9006 if test "${enable_snglinst+set}" = set; then :
9007 enableval=$enable_snglinst;
9008 if test "$enableval" = yes; then
9009 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
9010 else
9011 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
9012 fi
9013
9014 else
9015
9016 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
9017
9018 fi
9019
9020
9021 eval "$wx_cv_use_snglinst"
9022
9023 if test x"$enablestring" = xdisable; then
9024 if test $wxUSE_SNGLINST_CHECKER = no; then
9025 result=yes
9026 else
9027 result=no
9028 fi
9029 else
9030 result=$wxUSE_SNGLINST_CHECKER
9031 fi
9032
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9034 $as_echo "$result" >&6; }
9035
9036
9037 enablestring=
9038 defaultval=$wxUSE_ALL_FEATURES
9039 if test -z "$defaultval"; then
9040 if test x"$enablestring" = xdisable; then
9041 defaultval=yes
9042 else
9043 defaultval=no
9044 fi
9045 fi
9046
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
9048 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
9049 # Check whether --enable-sound was given.
9050 if test "${enable_sound+set}" = set; then :
9051 enableval=$enable_sound;
9052 if test "$enableval" = yes; then
9053 wx_cv_use_sound='wxUSE_SOUND=yes'
9054 else
9055 wx_cv_use_sound='wxUSE_SOUND=no'
9056 fi
9057
9058 else
9059
9060 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
9061
9062 fi
9063
9064
9065 eval "$wx_cv_use_sound"
9066
9067 if test x"$enablestring" = xdisable; then
9068 if test $wxUSE_SOUND = no; then
9069 result=yes
9070 else
9071 result=no
9072 fi
9073 else
9074 result=$wxUSE_SOUND
9075 fi
9076
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9078 $as_echo "$result" >&6; }
9079
9080
9081 enablestring=
9082 defaultval=$wxUSE_ALL_FEATURES
9083 if test -z "$defaultval"; then
9084 if test x"$enablestring" = xdisable; then
9085 defaultval=yes
9086 else
9087 defaultval=no
9088 fi
9089 fi
9090
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
9092 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
9093 # Check whether --enable-stdpaths was given.
9094 if test "${enable_stdpaths+set}" = set; then :
9095 enableval=$enable_stdpaths;
9096 if test "$enableval" = yes; then
9097 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
9098 else
9099 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
9100 fi
9101
9102 else
9103
9104 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
9105
9106 fi
9107
9108
9109 eval "$wx_cv_use_stdpaths"
9110
9111 if test x"$enablestring" = xdisable; then
9112 if test $wxUSE_STDPATHS = no; then
9113 result=yes
9114 else
9115 result=no
9116 fi
9117 else
9118 result=$wxUSE_STDPATHS
9119 fi
9120
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9122 $as_echo "$result" >&6; }
9123
9124
9125 enablestring=
9126 defaultval=$wxUSE_ALL_FEATURES
9127 if test -z "$defaultval"; then
9128 if test x"$enablestring" = xdisable; then
9129 defaultval=yes
9130 else
9131 defaultval=no
9132 fi
9133 fi
9134
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
9136 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
9137 # Check whether --enable-stopwatch was given.
9138 if test "${enable_stopwatch+set}" = set; then :
9139 enableval=$enable_stopwatch;
9140 if test "$enableval" = yes; then
9141 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
9142 else
9143 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
9144 fi
9145
9146 else
9147
9148 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
9149
9150 fi
9151
9152
9153 eval "$wx_cv_use_stopwatch"
9154
9155 if test x"$enablestring" = xdisable; then
9156 if test $wxUSE_STOPWATCH = no; then
9157 result=yes
9158 else
9159 result=no
9160 fi
9161 else
9162 result=$wxUSE_STOPWATCH
9163 fi
9164
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9166 $as_echo "$result" >&6; }
9167
9168
9169 enablestring=
9170 defaultval=$wxUSE_ALL_FEATURES
9171 if test -z "$defaultval"; then
9172 if test x"$enablestring" = xdisable; then
9173 defaultval=yes
9174 else
9175 defaultval=no
9176 fi
9177 fi
9178
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9180 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9181 # Check whether --enable-streams was given.
9182 if test "${enable_streams+set}" = set; then :
9183 enableval=$enable_streams;
9184 if test "$enableval" = yes; then
9185 wx_cv_use_streams='wxUSE_STREAMS=yes'
9186 else
9187 wx_cv_use_streams='wxUSE_STREAMS=no'
9188 fi
9189
9190 else
9191
9192 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9193
9194 fi
9195
9196
9197 eval "$wx_cv_use_streams"
9198
9199 if test x"$enablestring" = xdisable; then
9200 if test $wxUSE_STREAMS = no; then
9201 result=yes
9202 else
9203 result=no
9204 fi
9205 else
9206 result=$wxUSE_STREAMS
9207 fi
9208
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9210 $as_echo "$result" >&6; }
9211
9212
9213 enablestring=
9214 defaultval=$wxUSE_ALL_FEATURES
9215 if test -z "$defaultval"; then
9216 if test x"$enablestring" = xdisable; then
9217 defaultval=yes
9218 else
9219 defaultval=no
9220 fi
9221 fi
9222
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9224 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9225 # Check whether --enable-sysoptions was given.
9226 if test "${enable_sysoptions+set}" = set; then :
9227 enableval=$enable_sysoptions;
9228 if test "$enableval" = yes; then
9229 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9230 else
9231 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9232 fi
9233
9234 else
9235
9236 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9237
9238 fi
9239
9240
9241 eval "$wx_cv_use_sysoptions"
9242
9243 if test x"$enablestring" = xdisable; then
9244 if test $wxUSE_SYSTEM_OPTIONS = no; then
9245 result=yes
9246 else
9247 result=no
9248 fi
9249 else
9250 result=$wxUSE_SYSTEM_OPTIONS
9251 fi
9252
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9254 $as_echo "$result" >&6; }
9255
9256
9257 enablestring=
9258 defaultval=$wxUSE_ALL_FEATURES
9259 if test -z "$defaultval"; then
9260 if test x"$enablestring" = xdisable; then
9261 defaultval=yes
9262 else
9263 defaultval=no
9264 fi
9265 fi
9266
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9268 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9269 # Check whether --enable-tarstream was given.
9270 if test "${enable_tarstream+set}" = set; then :
9271 enableval=$enable_tarstream;
9272 if test "$enableval" = yes; then
9273 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9274 else
9275 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9276 fi
9277
9278 else
9279
9280 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9281
9282 fi
9283
9284
9285 eval "$wx_cv_use_tarstream"
9286
9287 if test x"$enablestring" = xdisable; then
9288 if test $wxUSE_TARSTREAM = no; then
9289 result=yes
9290 else
9291 result=no
9292 fi
9293 else
9294 result=$wxUSE_TARSTREAM
9295 fi
9296
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9298 $as_echo "$result" >&6; }
9299
9300
9301 enablestring=
9302 defaultval=$wxUSE_ALL_FEATURES
9303 if test -z "$defaultval"; then
9304 if test x"$enablestring" = xdisable; then
9305 defaultval=yes
9306 else
9307 defaultval=no
9308 fi
9309 fi
9310
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9312 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9313 # Check whether --enable-textbuf was given.
9314 if test "${enable_textbuf+set}" = set; then :
9315 enableval=$enable_textbuf;
9316 if test "$enableval" = yes; then
9317 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9318 else
9319 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9320 fi
9321
9322 else
9323
9324 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9325
9326 fi
9327
9328
9329 eval "$wx_cv_use_textbuf"
9330
9331 if test x"$enablestring" = xdisable; then
9332 if test $wxUSE_TEXTBUFFER = no; then
9333 result=yes
9334 else
9335 result=no
9336 fi
9337 else
9338 result=$wxUSE_TEXTBUFFER
9339 fi
9340
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9342 $as_echo "$result" >&6; }
9343
9344
9345 enablestring=
9346 defaultval=$wxUSE_ALL_FEATURES
9347 if test -z "$defaultval"; then
9348 if test x"$enablestring" = xdisable; then
9349 defaultval=yes
9350 else
9351 defaultval=no
9352 fi
9353 fi
9354
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9356 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9357 # Check whether --enable-textfile was given.
9358 if test "${enable_textfile+set}" = set; then :
9359 enableval=$enable_textfile;
9360 if test "$enableval" = yes; then
9361 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9362 else
9363 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9364 fi
9365
9366 else
9367
9368 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9369
9370 fi
9371
9372
9373 eval "$wx_cv_use_textfile"
9374
9375 if test x"$enablestring" = xdisable; then
9376 if test $wxUSE_TEXTFILE = no; then
9377 result=yes
9378 else
9379 result=no
9380 fi
9381 else
9382 result=$wxUSE_TEXTFILE
9383 fi
9384
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9386 $as_echo "$result" >&6; }
9387
9388
9389 enablestring=
9390 defaultval=$wxUSE_ALL_FEATURES
9391 if test -z "$defaultval"; then
9392 if test x"$enablestring" = xdisable; then
9393 defaultval=yes
9394 else
9395 defaultval=no
9396 fi
9397 fi
9398
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9400 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9401 # Check whether --enable-timer was given.
9402 if test "${enable_timer+set}" = set; then :
9403 enableval=$enable_timer;
9404 if test "$enableval" = yes; then
9405 wx_cv_use_timer='wxUSE_TIMER=yes'
9406 else
9407 wx_cv_use_timer='wxUSE_TIMER=no'
9408 fi
9409
9410 else
9411
9412 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9413
9414 fi
9415
9416
9417 eval "$wx_cv_use_timer"
9418
9419 if test x"$enablestring" = xdisable; then
9420 if test $wxUSE_TIMER = no; then
9421 result=yes
9422 else
9423 result=no
9424 fi
9425 else
9426 result=$wxUSE_TIMER
9427 fi
9428
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9430 $as_echo "$result" >&6; }
9431
9432
9433 enablestring=
9434 defaultval=$wxUSE_ALL_FEATURES
9435 if test -z "$defaultval"; then
9436 if test x"$enablestring" = xdisable; then
9437 defaultval=yes
9438 else
9439 defaultval=no
9440 fi
9441 fi
9442
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9444 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9445 # Check whether --enable-variant was given.
9446 if test "${enable_variant+set}" = set; then :
9447 enableval=$enable_variant;
9448 if test "$enableval" = yes; then
9449 wx_cv_use_variant='wxUSE_VARIANT=yes'
9450 else
9451 wx_cv_use_variant='wxUSE_VARIANT=no'
9452 fi
9453
9454 else
9455
9456 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9457
9458 fi
9459
9460
9461 eval "$wx_cv_use_variant"
9462
9463 if test x"$enablestring" = xdisable; then
9464 if test $wxUSE_VARIANT = no; then
9465 result=yes
9466 else
9467 result=no
9468 fi
9469 else
9470 result=$wxUSE_VARIANT
9471 fi
9472
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9474 $as_echo "$result" >&6; }
9475
9476
9477 enablestring=
9478 defaultval=$wxUSE_ALL_FEATURES
9479 if test -z "$defaultval"; then
9480 if test x"$enablestring" = xdisable; then
9481 defaultval=yes
9482 else
9483 defaultval=no
9484 fi
9485 fi
9486
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9488 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9489 # Check whether --enable-zipstream was given.
9490 if test "${enable_zipstream+set}" = set; then :
9491 enableval=$enable_zipstream;
9492 if test "$enableval" = yes; then
9493 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9494 else
9495 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9496 fi
9497
9498 else
9499
9500 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9501
9502 fi
9503
9504
9505 eval "$wx_cv_use_zipstream"
9506
9507 if test x"$enablestring" = xdisable; then
9508 if test $wxUSE_ZIPSTREAM = no; then
9509 result=yes
9510 else
9511 result=no
9512 fi
9513 else
9514 result=$wxUSE_ZIPSTREAM
9515 fi
9516
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9518 $as_echo "$result" >&6; }
9519
9520
9521
9522 enablestring=
9523 defaultval=$wxUSE_ALL_FEATURES
9524 if test -z "$defaultval"; then
9525 if test x"$enablestring" = xdisable; then
9526 defaultval=yes
9527 else
9528 defaultval=no
9529 fi
9530 fi
9531
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9533 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9534 # Check whether --enable-url was given.
9535 if test "${enable_url+set}" = set; then :
9536 enableval=$enable_url;
9537 if test "$enableval" = yes; then
9538 wx_cv_use_url='wxUSE_URL=yes'
9539 else
9540 wx_cv_use_url='wxUSE_URL=no'
9541 fi
9542
9543 else
9544
9545 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9546
9547 fi
9548
9549
9550 eval "$wx_cv_use_url"
9551
9552 if test x"$enablestring" = xdisable; then
9553 if test $wxUSE_URL = no; then
9554 result=yes
9555 else
9556 result=no
9557 fi
9558 else
9559 result=$wxUSE_URL
9560 fi
9561
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9563 $as_echo "$result" >&6; }
9564
9565
9566 enablestring=
9567 defaultval=$wxUSE_ALL_FEATURES
9568 if test -z "$defaultval"; then
9569 if test x"$enablestring" = xdisable; then
9570 defaultval=yes
9571 else
9572 defaultval=no
9573 fi
9574 fi
9575
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9577 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9578 # Check whether --enable-protocol was given.
9579 if test "${enable_protocol+set}" = set; then :
9580 enableval=$enable_protocol;
9581 if test "$enableval" = yes; then
9582 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9583 else
9584 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9585 fi
9586
9587 else
9588
9589 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9590
9591 fi
9592
9593
9594 eval "$wx_cv_use_protocol"
9595
9596 if test x"$enablestring" = xdisable; then
9597 if test $wxUSE_PROTOCOL = no; then
9598 result=yes
9599 else
9600 result=no
9601 fi
9602 else
9603 result=$wxUSE_PROTOCOL
9604 fi
9605
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9607 $as_echo "$result" >&6; }
9608
9609
9610 enablestring=
9611 defaultval=$wxUSE_ALL_FEATURES
9612 if test -z "$defaultval"; then
9613 if test x"$enablestring" = xdisable; then
9614 defaultval=yes
9615 else
9616 defaultval=no
9617 fi
9618 fi
9619
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9621 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9622 # Check whether --enable-protocol_http was given.
9623 if test "${enable_protocol_http+set}" = set; then :
9624 enableval=$enable_protocol_http;
9625 if test "$enableval" = yes; then
9626 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9627 else
9628 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9629 fi
9630
9631 else
9632
9633 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9634
9635 fi
9636
9637
9638 eval "$wx_cv_use_protocol_http"
9639
9640 if test x"$enablestring" = xdisable; then
9641 if test $wxUSE_PROTOCOL_HTTP = no; then
9642 result=yes
9643 else
9644 result=no
9645 fi
9646 else
9647 result=$wxUSE_PROTOCOL_HTTP
9648 fi
9649
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9651 $as_echo "$result" >&6; }
9652
9653
9654 enablestring=
9655 defaultval=$wxUSE_ALL_FEATURES
9656 if test -z "$defaultval"; then
9657 if test x"$enablestring" = xdisable; then
9658 defaultval=yes
9659 else
9660 defaultval=no
9661 fi
9662 fi
9663
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9665 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9666 # Check whether --enable-protocol_ftp was given.
9667 if test "${enable_protocol_ftp+set}" = set; then :
9668 enableval=$enable_protocol_ftp;
9669 if test "$enableval" = yes; then
9670 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9671 else
9672 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9673 fi
9674
9675 else
9676
9677 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9678
9679 fi
9680
9681
9682 eval "$wx_cv_use_protocol_ftp"
9683
9684 if test x"$enablestring" = xdisable; then
9685 if test $wxUSE_PROTOCOL_FTP = no; then
9686 result=yes
9687 else
9688 result=no
9689 fi
9690 else
9691 result=$wxUSE_PROTOCOL_FTP
9692 fi
9693
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9695 $as_echo "$result" >&6; }
9696
9697
9698 enablestring=
9699 defaultval=$wxUSE_ALL_FEATURES
9700 if test -z "$defaultval"; then
9701 if test x"$enablestring" = xdisable; then
9702 defaultval=yes
9703 else
9704 defaultval=no
9705 fi
9706 fi
9707
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9709 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9710 # Check whether --enable-protocol_file was given.
9711 if test "${enable_protocol_file+set}" = set; then :
9712 enableval=$enable_protocol_file;
9713 if test "$enableval" = yes; then
9714 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9715 else
9716 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9717 fi
9718
9719 else
9720
9721 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9722
9723 fi
9724
9725
9726 eval "$wx_cv_use_protocol_file"
9727
9728 if test x"$enablestring" = xdisable; then
9729 if test $wxUSE_PROTOCOL_FILE = no; then
9730 result=yes
9731 else
9732 result=no
9733 fi
9734 else
9735 result=$wxUSE_PROTOCOL_FILE
9736 fi
9737
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9739 $as_echo "$result" >&6; }
9740
9741
9742
9743 enablestring=
9744 defaultval=$wxUSE_ALL_FEATURES
9745 if test -z "$defaultval"; then
9746 if test x"$enablestring" = xdisable; then
9747 defaultval=yes
9748 else
9749 defaultval=no
9750 fi
9751 fi
9752
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9754 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9755 # Check whether --enable-threads was given.
9756 if test "${enable_threads+set}" = set; then :
9757 enableval=$enable_threads;
9758 if test "$enableval" = yes; then
9759 wx_cv_use_threads='wxUSE_THREADS=yes'
9760 else
9761 wx_cv_use_threads='wxUSE_THREADS=no'
9762 fi
9763
9764 else
9765
9766 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9767
9768 fi
9769
9770
9771 eval "$wx_cv_use_threads"
9772
9773 if test x"$enablestring" = xdisable; then
9774 if test $wxUSE_THREADS = no; then
9775 result=yes
9776 else
9777 result=no
9778 fi
9779 else
9780 result=$wxUSE_THREADS
9781 fi
9782
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9784 $as_echo "$result" >&6; }
9785
9786
9787
9788 enablestring=
9789 defaultval=
9790 if test -z "$defaultval"; then
9791 if test x"$enablestring" = xdisable; then
9792 defaultval=yes
9793 else
9794 defaultval=no
9795 fi
9796 fi
9797
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9799 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9800 # Check whether --enable-iniconf was given.
9801 if test "${enable_iniconf+set}" = set; then :
9802 enableval=$enable_iniconf;
9803 if test "$enableval" = yes; then
9804 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9805 else
9806 wx_cv_use_iniconf='wxUSE_INICONF=no'
9807 fi
9808
9809 else
9810
9811 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9812
9813 fi
9814
9815
9816 eval "$wx_cv_use_iniconf"
9817
9818 if test x"$enablestring" = xdisable; then
9819 if test $wxUSE_INICONF = no; then
9820 result=yes
9821 else
9822 result=no
9823 fi
9824 else
9825 result=$wxUSE_INICONF
9826 fi
9827
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9829 $as_echo "$result" >&6; }
9830
9831
9832 enablestring=
9833 defaultval=$wxUSE_ALL_FEATURES
9834 if test -z "$defaultval"; then
9835 if test x"$enablestring" = xdisable; then
9836 defaultval=yes
9837 else
9838 defaultval=no
9839 fi
9840 fi
9841
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9843 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9844 # Check whether --enable-regkey was given.
9845 if test "${enable_regkey+set}" = set; then :
9846 enableval=$enable_regkey;
9847 if test "$enableval" = yes; then
9848 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9849 else
9850 wx_cv_use_regkey='wxUSE_REGKEY=no'
9851 fi
9852
9853 else
9854
9855 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9856
9857 fi
9858
9859
9860 eval "$wx_cv_use_regkey"
9861
9862 if test x"$enablestring" = xdisable; then
9863 if test $wxUSE_REGKEY = no; then
9864 result=yes
9865 else
9866 result=no
9867 fi
9868 else
9869 result=$wxUSE_REGKEY
9870 fi
9871
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9873 $as_echo "$result" >&6; }
9874
9875
9876 if test "$wxUSE_GUI" = "yes"; then
9877
9878
9879
9880 enablestring=
9881 defaultval=$wxUSE_ALL_FEATURES
9882 if test -z "$defaultval"; then
9883 if test x"$enablestring" = xdisable; then
9884 defaultval=yes
9885 else
9886 defaultval=no
9887 fi
9888 fi
9889
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9891 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9892 # Check whether --enable-docview was given.
9893 if test "${enable_docview+set}" = set; then :
9894 enableval=$enable_docview;
9895 if test "$enableval" = yes; then
9896 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9897 else
9898 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9899 fi
9900
9901 else
9902
9903 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9904
9905 fi
9906
9907
9908 eval "$wx_cv_use_docview"
9909
9910 if test x"$enablestring" = xdisable; then
9911 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9912 result=yes
9913 else
9914 result=no
9915 fi
9916 else
9917 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9918 fi
9919
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9921 $as_echo "$result" >&6; }
9922
9923
9924 enablestring=
9925 defaultval=$wxUSE_ALL_FEATURES
9926 if test -z "$defaultval"; then
9927 if test x"$enablestring" = xdisable; then
9928 defaultval=yes
9929 else
9930 defaultval=no
9931 fi
9932 fi
9933
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9935 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9936 # Check whether --enable-help was given.
9937 if test "${enable_help+set}" = set; then :
9938 enableval=$enable_help;
9939 if test "$enableval" = yes; then
9940 wx_cv_use_help='wxUSE_HELP=yes'
9941 else
9942 wx_cv_use_help='wxUSE_HELP=no'
9943 fi
9944
9945 else
9946
9947 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9948
9949 fi
9950
9951
9952 eval "$wx_cv_use_help"
9953
9954 if test x"$enablestring" = xdisable; then
9955 if test $wxUSE_HELP = no; then
9956 result=yes
9957 else
9958 result=no
9959 fi
9960 else
9961 result=$wxUSE_HELP
9962 fi
9963
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9965 $as_echo "$result" >&6; }
9966
9967
9968 enablestring=
9969 defaultval=$wxUSE_ALL_FEATURES
9970 if test -z "$defaultval"; then
9971 if test x"$enablestring" = xdisable; then
9972 defaultval=yes
9973 else
9974 defaultval=no
9975 fi
9976 fi
9977
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9979 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9980 # Check whether --enable-mshtmlhelp was given.
9981 if test "${enable_mshtmlhelp+set}" = set; then :
9982 enableval=$enable_mshtmlhelp;
9983 if test "$enableval" = yes; then
9984 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9985 else
9986 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9987 fi
9988
9989 else
9990
9991 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9992
9993 fi
9994
9995
9996 eval "$wx_cv_use_mshtmlhelp"
9997
9998 if test x"$enablestring" = xdisable; then
9999 if test $wxUSE_MS_HTML_HELP = no; then
10000 result=yes
10001 else
10002 result=no
10003 fi
10004 else
10005 result=$wxUSE_MS_HTML_HELP
10006 fi
10007
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10009 $as_echo "$result" >&6; }
10010
10011
10012 enablestring=
10013 defaultval=$wxUSE_ALL_FEATURES
10014 if test -z "$defaultval"; then
10015 if test x"$enablestring" = xdisable; then
10016 defaultval=yes
10017 else
10018 defaultval=no
10019 fi
10020 fi
10021
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
10023 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
10024 # Check whether --enable-html was given.
10025 if test "${enable_html+set}" = set; then :
10026 enableval=$enable_html;
10027 if test "$enableval" = yes; then
10028 wx_cv_use_html='wxUSE_HTML=yes'
10029 else
10030 wx_cv_use_html='wxUSE_HTML=no'
10031 fi
10032
10033 else
10034
10035 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
10036
10037 fi
10038
10039
10040 eval "$wx_cv_use_html"
10041
10042 if test x"$enablestring" = xdisable; then
10043 if test $wxUSE_HTML = no; then
10044 result=yes
10045 else
10046 result=no
10047 fi
10048 else
10049 result=$wxUSE_HTML
10050 fi
10051
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10053 $as_echo "$result" >&6; }
10054
10055
10056 enablestring=
10057 defaultval=$wxUSE_ALL_FEATURES
10058 if test -z "$defaultval"; then
10059 if test x"$enablestring" = xdisable; then
10060 defaultval=yes
10061 else
10062 defaultval=no
10063 fi
10064 fi
10065
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
10067 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
10068 # Check whether --enable-htmlhelp was given.
10069 if test "${enable_htmlhelp+set}" = set; then :
10070 enableval=$enable_htmlhelp;
10071 if test "$enableval" = yes; then
10072 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
10073 else
10074 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
10075 fi
10076
10077 else
10078
10079 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
10080
10081 fi
10082
10083
10084 eval "$wx_cv_use_htmlhelp"
10085
10086 if test x"$enablestring" = xdisable; then
10087 if test $wxUSE_WXHTML_HELP = no; then
10088 result=yes
10089 else
10090 result=no
10091 fi
10092 else
10093 result=$wxUSE_WXHTML_HELP
10094 fi
10095
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10097 $as_echo "$result" >&6; }
10098
10099
10100 enablestring=
10101 defaultval=$wxUSE_ALL_FEATURES
10102 if test -z "$defaultval"; then
10103 if test x"$enablestring" = xdisable; then
10104 defaultval=yes
10105 else
10106 defaultval=no
10107 fi
10108 fi
10109
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
10111 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
10112 # Check whether --enable-xrc was given.
10113 if test "${enable_xrc+set}" = set; then :
10114 enableval=$enable_xrc;
10115 if test "$enableval" = yes; then
10116 wx_cv_use_xrc='wxUSE_XRC=yes'
10117 else
10118 wx_cv_use_xrc='wxUSE_XRC=no'
10119 fi
10120
10121 else
10122
10123 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
10124
10125 fi
10126
10127
10128 eval "$wx_cv_use_xrc"
10129
10130 if test x"$enablestring" = xdisable; then
10131 if test $wxUSE_XRC = no; then
10132 result=yes
10133 else
10134 result=no
10135 fi
10136 else
10137 result=$wxUSE_XRC
10138 fi
10139
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10141 $as_echo "$result" >&6; }
10142
10143
10144 enablestring=
10145 defaultval=$wxUSE_ALL_FEATURES
10146 if test -z "$defaultval"; then
10147 if test x"$enablestring" = xdisable; then
10148 defaultval=yes
10149 else
10150 defaultval=no
10151 fi
10152 fi
10153
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
10155 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
10156 # Check whether --enable-aui was given.
10157 if test "${enable_aui+set}" = set; then :
10158 enableval=$enable_aui;
10159 if test "$enableval" = yes; then
10160 wx_cv_use_aui='wxUSE_AUI=yes'
10161 else
10162 wx_cv_use_aui='wxUSE_AUI=no'
10163 fi
10164
10165 else
10166
10167 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10168
10169 fi
10170
10171
10172 eval "$wx_cv_use_aui"
10173
10174 if test x"$enablestring" = xdisable; then
10175 if test $wxUSE_AUI = no; then
10176 result=yes
10177 else
10178 result=no
10179 fi
10180 else
10181 result=$wxUSE_AUI
10182 fi
10183
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10185 $as_echo "$result" >&6; }
10186
10187
10188 enablestring=
10189 defaultval=$wxUSE_ALL_FEATURES
10190 if test -z "$defaultval"; then
10191 if test x"$enablestring" = xdisable; then
10192 defaultval=yes
10193 else
10194 defaultval=no
10195 fi
10196 fi
10197
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10199 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10200 # Check whether --enable-propgrid was given.
10201 if test "${enable_propgrid+set}" = set; then :
10202 enableval=$enable_propgrid;
10203 if test "$enableval" = yes; then
10204 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10205 else
10206 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10207 fi
10208
10209 else
10210
10211 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10212
10213 fi
10214
10215
10216 eval "$wx_cv_use_propgrid"
10217
10218 if test x"$enablestring" = xdisable; then
10219 if test $wxUSE_PROPGRID = no; then
10220 result=yes
10221 else
10222 result=no
10223 fi
10224 else
10225 result=$wxUSE_PROPGRID
10226 fi
10227
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10229 $as_echo "$result" >&6; }
10230
10231
10232 enablestring=
10233 defaultval=$wxUSE_ALL_FEATURES
10234 if test -z "$defaultval"; then
10235 if test x"$enablestring" = xdisable; then
10236 defaultval=yes
10237 else
10238 defaultval=no
10239 fi
10240 fi
10241
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10243 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10244 # Check whether --enable-ribbon was given.
10245 if test "${enable_ribbon+set}" = set; then :
10246 enableval=$enable_ribbon;
10247 if test "$enableval" = yes; then
10248 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10249 else
10250 wx_cv_use_ribbon='wxUSE_RIBBON=no'
10251 fi
10252
10253 else
10254
10255 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10256
10257 fi
10258
10259
10260 eval "$wx_cv_use_ribbon"
10261
10262 if test x"$enablestring" = xdisable; then
10263 if test $wxUSE_RIBBON = no; then
10264 result=yes
10265 else
10266 result=no
10267 fi
10268 else
10269 result=$wxUSE_RIBBON
10270 fi
10271
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10273 $as_echo "$result" >&6; }
10274
10275
10276 enablestring=
10277 defaultval=$wxUSE_ALL_FEATURES
10278 if test -z "$defaultval"; then
10279 if test x"$enablestring" = xdisable; then
10280 defaultval=yes
10281 else
10282 defaultval=no
10283 fi
10284 fi
10285
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10287 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10288 # Check whether --enable-stc was given.
10289 if test "${enable_stc+set}" = set; then :
10290 enableval=$enable_stc;
10291 if test "$enableval" = yes; then
10292 wx_cv_use_stc='wxUSE_STC=yes'
10293 else
10294 wx_cv_use_stc='wxUSE_STC=no'
10295 fi
10296
10297 else
10298
10299 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10300
10301 fi
10302
10303
10304 eval "$wx_cv_use_stc"
10305
10306 if test x"$enablestring" = xdisable; then
10307 if test $wxUSE_STC = no; then
10308 result=yes
10309 else
10310 result=no
10311 fi
10312 else
10313 result=$wxUSE_STC
10314 fi
10315
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10317 $as_echo "$result" >&6; }
10318
10319
10320 enablestring=
10321 defaultval=$wxUSE_ALL_FEATURES
10322 if test -z "$defaultval"; then
10323 if test x"$enablestring" = xdisable; then
10324 defaultval=yes
10325 else
10326 defaultval=no
10327 fi
10328 fi
10329
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10331 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10332 # Check whether --enable-constraints was given.
10333 if test "${enable_constraints+set}" = set; then :
10334 enableval=$enable_constraints;
10335 if test "$enableval" = yes; then
10336 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10337 else
10338 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10339 fi
10340
10341 else
10342
10343 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10344
10345 fi
10346
10347
10348 eval "$wx_cv_use_constraints"
10349
10350 if test x"$enablestring" = xdisable; then
10351 if test $wxUSE_CONSTRAINTS = no; then
10352 result=yes
10353 else
10354 result=no
10355 fi
10356 else
10357 result=$wxUSE_CONSTRAINTS
10358 fi
10359
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10361 $as_echo "$result" >&6; }
10362
10363
10364 enablestring=
10365 defaultval=$wxUSE_ALL_FEATURES
10366 if test -z "$defaultval"; then
10367 if test x"$enablestring" = xdisable; then
10368 defaultval=yes
10369 else
10370 defaultval=no
10371 fi
10372 fi
10373
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10375 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10376 # Check whether --enable-loggui was given.
10377 if test "${enable_loggui+set}" = set; then :
10378 enableval=$enable_loggui;
10379 if test "$enableval" = yes; then
10380 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10381 else
10382 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10383 fi
10384
10385 else
10386
10387 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10388
10389 fi
10390
10391
10392 eval "$wx_cv_use_loggui"
10393
10394 if test x"$enablestring" = xdisable; then
10395 if test $wxUSE_LOGGUI = no; then
10396 result=yes
10397 else
10398 result=no
10399 fi
10400 else
10401 result=$wxUSE_LOGGUI
10402 fi
10403
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10405 $as_echo "$result" >&6; }
10406
10407
10408 enablestring=
10409 defaultval=$wxUSE_ALL_FEATURES
10410 if test -z "$defaultval"; then
10411 if test x"$enablestring" = xdisable; then
10412 defaultval=yes
10413 else
10414 defaultval=no
10415 fi
10416 fi
10417
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10419 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10420 # Check whether --enable-logwin was given.
10421 if test "${enable_logwin+set}" = set; then :
10422 enableval=$enable_logwin;
10423 if test "$enableval" = yes; then
10424 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10425 else
10426 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10427 fi
10428
10429 else
10430
10431 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10432
10433 fi
10434
10435
10436 eval "$wx_cv_use_logwin"
10437
10438 if test x"$enablestring" = xdisable; then
10439 if test $wxUSE_LOGWINDOW = no; then
10440 result=yes
10441 else
10442 result=no
10443 fi
10444 else
10445 result=$wxUSE_LOGWINDOW
10446 fi
10447
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10449 $as_echo "$result" >&6; }
10450
10451
10452 enablestring=
10453 defaultval=$wxUSE_ALL_FEATURES
10454 if test -z "$defaultval"; then
10455 if test x"$enablestring" = xdisable; then
10456 defaultval=yes
10457 else
10458 defaultval=no
10459 fi
10460 fi
10461
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10463 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10464 # Check whether --enable-logdialog was given.
10465 if test "${enable_logdialog+set}" = set; then :
10466 enableval=$enable_logdialog;
10467 if test "$enableval" = yes; then
10468 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10469 else
10470 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10471 fi
10472
10473 else
10474
10475 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10476
10477 fi
10478
10479
10480 eval "$wx_cv_use_logdialog"
10481
10482 if test x"$enablestring" = xdisable; then
10483 if test $wxUSE_LOGDIALOG = no; then
10484 result=yes
10485 else
10486 result=no
10487 fi
10488 else
10489 result=$wxUSE_LOGDIALOG
10490 fi
10491
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10493 $as_echo "$result" >&6; }
10494
10495
10496 enablestring=
10497 defaultval=$wxUSE_ALL_FEATURES
10498 if test -z "$defaultval"; then
10499 if test x"$enablestring" = xdisable; then
10500 defaultval=yes
10501 else
10502 defaultval=no
10503 fi
10504 fi
10505
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10507 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10508 # Check whether --enable-mdi was given.
10509 if test "${enable_mdi+set}" = set; then :
10510 enableval=$enable_mdi;
10511 if test "$enableval" = yes; then
10512 wx_cv_use_mdi='wxUSE_MDI=yes'
10513 else
10514 wx_cv_use_mdi='wxUSE_MDI=no'
10515 fi
10516
10517 else
10518
10519 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10520
10521 fi
10522
10523
10524 eval "$wx_cv_use_mdi"
10525
10526 if test x"$enablestring" = xdisable; then
10527 if test $wxUSE_MDI = no; then
10528 result=yes
10529 else
10530 result=no
10531 fi
10532 else
10533 result=$wxUSE_MDI
10534 fi
10535
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10537 $as_echo "$result" >&6; }
10538
10539
10540 enablestring=
10541 defaultval=$wxUSE_ALL_FEATURES
10542 if test -z "$defaultval"; then
10543 if test x"$enablestring" = xdisable; then
10544 defaultval=yes
10545 else
10546 defaultval=no
10547 fi
10548 fi
10549
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10551 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10552 # Check whether --enable-mdidoc was given.
10553 if test "${enable_mdidoc+set}" = set; then :
10554 enableval=$enable_mdidoc;
10555 if test "$enableval" = yes; then
10556 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10557 else
10558 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10559 fi
10560
10561 else
10562
10563 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10564
10565 fi
10566
10567
10568 eval "$wx_cv_use_mdidoc"
10569
10570 if test x"$enablestring" = xdisable; then
10571 if test $wxUSE_MDI_ARCHITECTURE = no; then
10572 result=yes
10573 else
10574 result=no
10575 fi
10576 else
10577 result=$wxUSE_MDI_ARCHITECTURE
10578 fi
10579
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10581 $as_echo "$result" >&6; }
10582
10583
10584 enablestring=
10585 defaultval=$wxUSE_ALL_FEATURES
10586 if test -z "$defaultval"; then
10587 if test x"$enablestring" = xdisable; then
10588 defaultval=yes
10589 else
10590 defaultval=no
10591 fi
10592 fi
10593
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10595 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10596 # Check whether --enable-mediactrl was given.
10597 if test "${enable_mediactrl+set}" = set; then :
10598 enableval=$enable_mediactrl;
10599 if test "$enableval" = yes; then
10600 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10601 else
10602 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10603 fi
10604
10605 else
10606
10607 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10608
10609 fi
10610
10611
10612 eval "$wx_cv_use_mediactrl"
10613
10614 if test x"$enablestring" = xdisable; then
10615 if test $wxUSE_MEDIACTRL = no; then
10616 result=yes
10617 else
10618 result=no
10619 fi
10620 else
10621 result=$wxUSE_MEDIACTRL
10622 fi
10623
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10625 $as_echo "$result" >&6; }
10626
10627
10628 enablestring=
10629 defaultval=$wxUSE_ALL_FEATURES
10630 if test -z "$defaultval"; then
10631 if test x"$enablestring" = xdisable; then
10632 defaultval=yes
10633 else
10634 defaultval=no
10635 fi
10636 fi
10637
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10639 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10640 # Check whether --enable-gstreamer8 was given.
10641 if test "${enable_gstreamer8+set}" = set; then :
10642 enableval=$enable_gstreamer8;
10643 if test "$enableval" = yes; then
10644 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10645 else
10646 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10647 fi
10648
10649 else
10650
10651 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10652
10653 fi
10654
10655
10656 eval "$wx_cv_use_gstreamer8"
10657
10658 if test x"$enablestring" = xdisable; then
10659 if test $wxUSE_GSTREAMER8 = no; then
10660 result=yes
10661 else
10662 result=no
10663 fi
10664 else
10665 result=$wxUSE_GSTREAMER8
10666 fi
10667
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10669 $as_echo "$result" >&6; }
10670
10671
10672 enablestring=
10673 defaultval=$wxUSE_ALL_FEATURES
10674 if test -z "$defaultval"; then
10675 if test x"$enablestring" = xdisable; then
10676 defaultval=yes
10677 else
10678 defaultval=no
10679 fi
10680 fi
10681
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10683 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10684 # Check whether --enable-richtext was given.
10685 if test "${enable_richtext+set}" = set; then :
10686 enableval=$enable_richtext;
10687 if test "$enableval" = yes; then
10688 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10689 else
10690 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10691 fi
10692
10693 else
10694
10695 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10696
10697 fi
10698
10699
10700 eval "$wx_cv_use_richtext"
10701
10702 if test x"$enablestring" = xdisable; then
10703 if test $wxUSE_RICHTEXT = no; then
10704 result=yes
10705 else
10706 result=no
10707 fi
10708 else
10709 result=$wxUSE_RICHTEXT
10710 fi
10711
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10713 $as_echo "$result" >&6; }
10714
10715
10716 enablestring=
10717 defaultval=$wxUSE_ALL_FEATURES
10718 if test -z "$defaultval"; then
10719 if test x"$enablestring" = xdisable; then
10720 defaultval=yes
10721 else
10722 defaultval=no
10723 fi
10724 fi
10725
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10727 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10728 # Check whether --enable-postscript was given.
10729 if test "${enable_postscript+set}" = set; then :
10730 enableval=$enable_postscript;
10731 if test "$enableval" = yes; then
10732 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10733 else
10734 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10735 fi
10736
10737 else
10738
10739 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10740
10741 fi
10742
10743
10744 eval "$wx_cv_use_postscript"
10745
10746 if test x"$enablestring" = xdisable; then
10747 if test $wxUSE_POSTSCRIPT = no; then
10748 result=yes
10749 else
10750 result=no
10751 fi
10752 else
10753 result=$wxUSE_POSTSCRIPT
10754 fi
10755
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10757 $as_echo "$result" >&6; }
10758
10759
10760 enablestring=
10761 defaultval=$wxUSE_ALL_FEATURES
10762 if test -z "$defaultval"; then
10763 if test x"$enablestring" = xdisable; then
10764 defaultval=yes
10765 else
10766 defaultval=no
10767 fi
10768 fi
10769
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10771 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10772 # Check whether --enable-printarch was given.
10773 if test "${enable_printarch+set}" = set; then :
10774 enableval=$enable_printarch;
10775 if test "$enableval" = yes; then
10776 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10777 else
10778 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10779 fi
10780
10781 else
10782
10783 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10784
10785 fi
10786
10787
10788 eval "$wx_cv_use_printarch"
10789
10790 if test x"$enablestring" = xdisable; then
10791 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10792 result=yes
10793 else
10794 result=no
10795 fi
10796 else
10797 result=$wxUSE_PRINTING_ARCHITECTURE
10798 fi
10799
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10801 $as_echo "$result" >&6; }
10802
10803
10804 enablestring=
10805 defaultval=$wxUSE_ALL_FEATURES
10806 if test -z "$defaultval"; then
10807 if test x"$enablestring" = xdisable; then
10808 defaultval=yes
10809 else
10810 defaultval=no
10811 fi
10812 fi
10813
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10815 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10816 # Check whether --enable-svg was given.
10817 if test "${enable_svg+set}" = set; then :
10818 enableval=$enable_svg;
10819 if test "$enableval" = yes; then
10820 wx_cv_use_svg='wxUSE_SVG=yes'
10821 else
10822 wx_cv_use_svg='wxUSE_SVG=no'
10823 fi
10824
10825 else
10826
10827 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10828
10829 fi
10830
10831
10832 eval "$wx_cv_use_svg"
10833
10834 if test x"$enablestring" = xdisable; then
10835 if test $wxUSE_SVG = no; then
10836 result=yes
10837 else
10838 result=no
10839 fi
10840 else
10841 result=$wxUSE_SVG
10842 fi
10843
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10845 $as_echo "$result" >&6; }
10846
10847
10848 enablestring=
10849 defaultval=$wxUSE_ALL_FEATURES
10850 if test -z "$defaultval"; then
10851 if test x"$enablestring" = xdisable; then
10852 defaultval=yes
10853 else
10854 defaultval=no
10855 fi
10856 fi
10857
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10859 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10860 # Check whether --enable-webkit was given.
10861 if test "${enable_webkit+set}" = set; then :
10862 enableval=$enable_webkit;
10863 if test "$enableval" = yes; then
10864 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10865 else
10866 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10867 fi
10868
10869 else
10870
10871 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10872
10873 fi
10874
10875
10876 eval "$wx_cv_use_webkit"
10877
10878 if test x"$enablestring" = xdisable; then
10879 if test $wxUSE_WEBKIT = no; then
10880 result=yes
10881 else
10882 result=no
10883 fi
10884 else
10885 result=$wxUSE_WEBKIT
10886 fi
10887
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10889 $as_echo "$result" >&6; }
10890
10891
10892 enablestring=
10893 defaultval=$wxUSE_ALL_FEATURES
10894 if test -z "$defaultval"; then
10895 if test x"$enablestring" = xdisable; then
10896 defaultval=yes
10897 else
10898 defaultval=no
10899 fi
10900 fi
10901
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10903 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10904 # Check whether --enable-webview was given.
10905 if test "${enable_webview+set}" = set; then :
10906 enableval=$enable_webview;
10907 if test "$enableval" = yes; then
10908 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10909 else
10910 wx_cv_use_webview='wxUSE_WEBVIEW=no'
10911 fi
10912
10913 else
10914
10915 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10916
10917 fi
10918
10919
10920 eval "$wx_cv_use_webview"
10921
10922 if test x"$enablestring" = xdisable; then
10923 if test $wxUSE_WEBVIEW = no; then
10924 result=yes
10925 else
10926 result=no
10927 fi
10928 else
10929 result=$wxUSE_WEBVIEW
10930 fi
10931
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10933 $as_echo "$result" >&6; }
10934
10935
10936 if test "$wxUSE_MAC" != 1; then
10937
10938 enablestring=
10939 defaultval=$wxUSE_ALL_FEATURES
10940 if test -z "$defaultval"; then
10941 if test x"$enablestring" = xdisable; then
10942 defaultval=yes
10943 else
10944 defaultval=no
10945 fi
10946 fi
10947
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10949 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10950 # Check whether --enable-graphics_ctx was given.
10951 if test "${enable_graphics_ctx+set}" = set; then :
10952 enableval=$enable_graphics_ctx;
10953 if test "$enableval" = yes; then
10954 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10955 else
10956 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10957 fi
10958
10959 else
10960
10961 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10962
10963 fi
10964
10965
10966 eval "$wx_cv_use_graphics_ctx"
10967
10968 if test x"$enablestring" = xdisable; then
10969 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10970 result=yes
10971 else
10972 result=no
10973 fi
10974 else
10975 result=$wxUSE_GRAPHICS_CONTEXT
10976 fi
10977
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10979 $as_echo "$result" >&6; }
10980
10981 fi
10982
10983
10984
10985 enablestring=
10986 defaultval=$wxUSE_ALL_FEATURES
10987 if test -z "$defaultval"; then
10988 if test x"$enablestring" = xdisable; then
10989 defaultval=yes
10990 else
10991 defaultval=no
10992 fi
10993 fi
10994
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10996 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10997 # Check whether --enable-clipboard was given.
10998 if test "${enable_clipboard+set}" = set; then :
10999 enableval=$enable_clipboard;
11000 if test "$enableval" = yes; then
11001 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
11002 else
11003 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
11004 fi
11005
11006 else
11007
11008 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
11009
11010 fi
11011
11012
11013 eval "$wx_cv_use_clipboard"
11014
11015 if test x"$enablestring" = xdisable; then
11016 if test $wxUSE_CLIPBOARD = no; then
11017 result=yes
11018 else
11019 result=no
11020 fi
11021 else
11022 result=$wxUSE_CLIPBOARD
11023 fi
11024
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11026 $as_echo "$result" >&6; }
11027
11028
11029 enablestring=
11030 defaultval=$wxUSE_ALL_FEATURES
11031 if test -z "$defaultval"; then
11032 if test x"$enablestring" = xdisable; then
11033 defaultval=yes
11034 else
11035 defaultval=no
11036 fi
11037 fi
11038
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
11040 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
11041 # Check whether --enable-dnd was given.
11042 if test "${enable_dnd+set}" = set; then :
11043 enableval=$enable_dnd;
11044 if test "$enableval" = yes; then
11045 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
11046 else
11047 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
11048 fi
11049
11050 else
11051
11052 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
11053
11054 fi
11055
11056
11057 eval "$wx_cv_use_dnd"
11058
11059 if test x"$enablestring" = xdisable; then
11060 if test $wxUSE_DRAG_AND_DROP = no; then
11061 result=yes
11062 else
11063 result=no
11064 fi
11065 else
11066 result=$wxUSE_DRAG_AND_DROP
11067 fi
11068
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11070 $as_echo "$result" >&6; }
11071
11072
11073
11074 DEFAULT_wxUSE_CONTROLS=none
11075
11076 enablestring=disable
11077 defaultval=
11078 if test -z "$defaultval"; then
11079 if test x"$enablestring" = xdisable; then
11080 defaultval=yes
11081 else
11082 defaultval=no
11083 fi
11084 fi
11085
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
11087 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
11088 # Check whether --enable-controls was given.
11089 if test "${enable_controls+set}" = set; then :
11090 enableval=$enable_controls;
11091 if test "$enableval" = yes; then
11092 wx_cv_use_controls='wxUSE_CONTROLS=yes'
11093 else
11094 wx_cv_use_controls='wxUSE_CONTROLS=no'
11095 fi
11096
11097 else
11098
11099 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
11100
11101 fi
11102
11103
11104 eval "$wx_cv_use_controls"
11105
11106 if test x"$enablestring" = xdisable; then
11107 if test $wxUSE_CONTROLS = no; then
11108 result=yes
11109 else
11110 result=no
11111 fi
11112 else
11113 result=$wxUSE_CONTROLS
11114 fi
11115
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11117 $as_echo "$result" >&6; }
11118
11119
11120 if test "$wxUSE_CONTROLS" = "no"; then
11121 DEFAULT_wxUSE_ACCEL=no
11122 DEFAULT_wxUSE_ANIMATIONCTRL=no
11123 DEFAULT_wxUSE_BANNERWINDOW=no
11124 DEFAULT_wxUSE_BMPBUTTON=no
11125 DEFAULT_wxUSE_BUTTON=no
11126 DEFAULT_wxUSE_CALCTRL=no
11127 DEFAULT_wxUSE_CARET=no
11128 DEFAULT_wxUSE_CHECKBOX=no
11129 DEFAULT_wxUSE_CHECKLISTBOX=no
11130 DEFAULT_wxUSE_CHOICE=no
11131 DEFAULT_wxUSE_CHOICEBOOK=no
11132 DEFAULT_wxUSE_COLLPANE=no
11133 DEFAULT_wxUSE_COLOURPICKERCTRL=no
11134 DEFAULT_wxUSE_COMBOBOX=no
11135 DEFAULT_wxUSE_COMBOBOX=no
11136 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
11137 DEFAULT_wxUSE_DATAVIEWCTRL=no
11138 DEFAULT_wxUSE_DATEPICKCTRL=no
11139 DEFAULT_wxUSE_DETECT_SM=no
11140 DEFAULT_wxUSE_DIRPICKERCTRL=no
11141 DEFAULT_wxUSE_DISPLAY=no
11142 DEFAULT_wxUSE_FILECTRL=no
11143 DEFAULT_wxUSE_FILEPICKERCTRL=no
11144 DEFAULT_wxUSE_FONTPICKERCTRL=no
11145 DEFAULT_wxUSE_GAUGE=no
11146 DEFAULT_wxUSE_GRID=no
11147 DEFAULT_wxUSE_HEADERCTRL=no
11148 DEFAULT_wxUSE_HYPERLINKCTRL=no
11149 DEFAULT_wxUSE_IMAGLIST=no
11150 DEFAULT_wxUSE_LISTBOOK=no
11151 DEFAULT_wxUSE_LISTBOX=no
11152 DEFAULT_wxUSE_LISTCTRL=no
11153 DEFAULT_wxUSE_MARKUP=no
11154 DEFAULT_wxUSE_NOTEBOOK=no
11155 DEFAULT_wxUSE_POPUPWIN=no
11156 DEFAULT_wxUSE_RADIOBOX=no
11157 DEFAULT_wxUSE_RADIOBTN=no
11158 DEFAULT_wxUSE_RICHMSGDLG=no
11159 DEFAULT_wxUSE_RICHTOOLTIP=no
11160 DEFAULT_wxUSE_REARRANGECTRL=no
11161 DEFAULT_wxUSE_SASH=no
11162 DEFAULT_wxUSE_SCROLLBAR=no
11163 DEFAULT_wxUSE_SEARCHCTRL=no
11164 DEFAULT_wxUSE_SLIDER=no
11165 DEFAULT_wxUSE_SPINBTN=no
11166 DEFAULT_wxUSE_SPINCTRL=no
11167 DEFAULT_wxUSE_SPLITTER=no
11168 DEFAULT_wxUSE_STATBMP=no
11169 DEFAULT_wxUSE_STATBOX=no
11170 DEFAULT_wxUSE_STATLINE=no
11171 DEFAULT_wxUSE_STATUSBAR=no
11172 DEFAULT_wxUSE_TIMEPICKCTRL=no
11173 DEFAULT_wxUSE_TIPWINDOW=no
11174 DEFAULT_wxUSE_TOGGLEBTN=no
11175 DEFAULT_wxUSE_TOOLBAR=no
11176 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11177 DEFAULT_wxUSE_TOOLBOOK=no
11178 DEFAULT_wxUSE_TOOLTIPS=no
11179 DEFAULT_wxUSE_TREEBOOK=no
11180 DEFAULT_wxUSE_TREECTRL=no
11181 DEFAULT_wxUSE_TREELISTCTRL=no
11182 fi
11183
11184
11185 enablestring=
11186 defaultval=$wxUSE_ALL_FEATURES
11187 if test -z "$defaultval"; then
11188 if test x"$enablestring" = xdisable; then
11189 defaultval=yes
11190 else
11191 defaultval=no
11192 fi
11193 fi
11194
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11196 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11197 # Check whether --enable-markup was given.
11198 if test "${enable_markup+set}" = set; then :
11199 enableval=$enable_markup;
11200 if test "$enableval" = yes; then
11201 wx_cv_use_markup='wxUSE_MARKUP=yes'
11202 else
11203 wx_cv_use_markup='wxUSE_MARKUP=no'
11204 fi
11205
11206 else
11207
11208 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11209
11210 fi
11211
11212
11213 eval "$wx_cv_use_markup"
11214
11215 if test x"$enablestring" = xdisable; then
11216 if test $wxUSE_MARKUP = no; then
11217 result=yes
11218 else
11219 result=no
11220 fi
11221 else
11222 result=$wxUSE_MARKUP
11223 fi
11224
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11226 $as_echo "$result" >&6; }
11227
11228
11229
11230 enablestring=
11231 defaultval=$wxUSE_ALL_FEATURES
11232 if test -z "$defaultval"; then
11233 if test x"$enablestring" = xdisable; then
11234 defaultval=yes
11235 else
11236 defaultval=no
11237 fi
11238 fi
11239
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11241 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11242 # Check whether --enable-accel was given.
11243 if test "${enable_accel+set}" = set; then :
11244 enableval=$enable_accel;
11245 if test "$enableval" = yes; then
11246 wx_cv_use_accel='wxUSE_ACCEL=yes'
11247 else
11248 wx_cv_use_accel='wxUSE_ACCEL=no'
11249 fi
11250
11251 else
11252
11253 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11254
11255 fi
11256
11257
11258 eval "$wx_cv_use_accel"
11259
11260 if test x"$enablestring" = xdisable; then
11261 if test $wxUSE_ACCEL = no; then
11262 result=yes
11263 else
11264 result=no
11265 fi
11266 else
11267 result=$wxUSE_ACCEL
11268 fi
11269
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11271 $as_echo "$result" >&6; }
11272
11273
11274 enablestring=
11275 defaultval=$wxUSE_ALL_FEATURES
11276 if test -z "$defaultval"; then
11277 if test x"$enablestring" = xdisable; then
11278 defaultval=yes
11279 else
11280 defaultval=no
11281 fi
11282 fi
11283
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11285 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11286 # Check whether --enable-animatectrl was given.
11287 if test "${enable_animatectrl+set}" = set; then :
11288 enableval=$enable_animatectrl;
11289 if test "$enableval" = yes; then
11290 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11291 else
11292 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11293 fi
11294
11295 else
11296
11297 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11298
11299 fi
11300
11301
11302 eval "$wx_cv_use_animatectrl"
11303
11304 if test x"$enablestring" = xdisable; then
11305 if test $wxUSE_ANIMATIONCTRL = no; then
11306 result=yes
11307 else
11308 result=no
11309 fi
11310 else
11311 result=$wxUSE_ANIMATIONCTRL
11312 fi
11313
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11315 $as_echo "$result" >&6; }
11316
11317
11318 enablestring=
11319 defaultval=$wxUSE_ALL_FEATURES
11320 if test -z "$defaultval"; then
11321 if test x"$enablestring" = xdisable; then
11322 defaultval=yes
11323 else
11324 defaultval=no
11325 fi
11326 fi
11327
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11329 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11330 # Check whether --enable-bannerwindow was given.
11331 if test "${enable_bannerwindow+set}" = set; then :
11332 enableval=$enable_bannerwindow;
11333 if test "$enableval" = yes; then
11334 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11335 else
11336 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11337 fi
11338
11339 else
11340
11341 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11342
11343 fi
11344
11345
11346 eval "$wx_cv_use_bannerwindow"
11347
11348 if test x"$enablestring" = xdisable; then
11349 if test $wxUSE_BANNERWINDOW = no; then
11350 result=yes
11351 else
11352 result=no
11353 fi
11354 else
11355 result=$wxUSE_BANNERWINDOW
11356 fi
11357
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11359 $as_echo "$result" >&6; }
11360
11361
11362 enablestring=
11363 defaultval=$wxUSE_ALL_FEATURES
11364 if test -z "$defaultval"; then
11365 if test x"$enablestring" = xdisable; then
11366 defaultval=yes
11367 else
11368 defaultval=no
11369 fi
11370 fi
11371
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11373 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11374 # Check whether --enable-artstd was given.
11375 if test "${enable_artstd+set}" = set; then :
11376 enableval=$enable_artstd;
11377 if test "$enableval" = yes; then
11378 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11379 else
11380 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11381 fi
11382
11383 else
11384
11385 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11386
11387 fi
11388
11389
11390 eval "$wx_cv_use_artstd"
11391
11392 if test x"$enablestring" = xdisable; then
11393 if test $wxUSE_ARTPROVIDER_STD = no; then
11394 result=yes
11395 else
11396 result=no
11397 fi
11398 else
11399 result=$wxUSE_ARTPROVIDER_STD
11400 fi
11401
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11403 $as_echo "$result" >&6; }
11404
11405
11406 enablestring=
11407 defaultval=$wxUSE_ALL_FEATURES
11408 if test -z "$defaultval"; then
11409 if test x"$enablestring" = xdisable; then
11410 defaultval=yes
11411 else
11412 defaultval=no
11413 fi
11414 fi
11415
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11417 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11418 # Check whether --enable-arttango was given.
11419 if test "${enable_arttango+set}" = set; then :
11420 enableval=$enable_arttango;
11421 if test "$enableval" = yes; then
11422 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11423 else
11424 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11425 fi
11426
11427 else
11428
11429 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11430
11431 fi
11432
11433
11434 eval "$wx_cv_use_arttango"
11435
11436 if test x"$enablestring" = xdisable; then
11437 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11438 result=yes
11439 else
11440 result=no
11441 fi
11442 else
11443 result=$wxUSE_ARTPROVIDER_TANGO
11444 fi
11445
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11447 $as_echo "$result" >&6; }
11448
11449
11450 enablestring=
11451 defaultval=$wxUSE_ALL_FEATURES
11452 if test -z "$defaultval"; then
11453 if test x"$enablestring" = xdisable; then
11454 defaultval=yes
11455 else
11456 defaultval=no
11457 fi
11458 fi
11459
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11461 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11462 # Check whether --enable-bmpbutton was given.
11463 if test "${enable_bmpbutton+set}" = set; then :
11464 enableval=$enable_bmpbutton;
11465 if test "$enableval" = yes; then
11466 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11467 else
11468 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11469 fi
11470
11471 else
11472
11473 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11474
11475 fi
11476
11477
11478 eval "$wx_cv_use_bmpbutton"
11479
11480 if test x"$enablestring" = xdisable; then
11481 if test $wxUSE_BMPBUTTON = no; then
11482 result=yes
11483 else
11484 result=no
11485 fi
11486 else
11487 result=$wxUSE_BMPBUTTON
11488 fi
11489
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11491 $as_echo "$result" >&6; }
11492
11493
11494 enablestring=
11495 defaultval=$wxUSE_ALL_FEATURES
11496 if test -z "$defaultval"; then
11497 if test x"$enablestring" = xdisable; then
11498 defaultval=yes
11499 else
11500 defaultval=no
11501 fi
11502 fi
11503
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11505 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11506 # Check whether --enable-bmpcombobox was given.
11507 if test "${enable_bmpcombobox+set}" = set; then :
11508 enableval=$enable_bmpcombobox;
11509 if test "$enableval" = yes; then
11510 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11511 else
11512 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11513 fi
11514
11515 else
11516
11517 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11518
11519 fi
11520
11521
11522 eval "$wx_cv_use_bmpcombobox"
11523
11524 if test x"$enablestring" = xdisable; then
11525 if test $wxUSE_BITMAPCOMBOBOX = no; then
11526 result=yes
11527 else
11528 result=no
11529 fi
11530 else
11531 result=$wxUSE_BITMAPCOMBOBOX
11532 fi
11533
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11535 $as_echo "$result" >&6; }
11536
11537
11538 enablestring=
11539 defaultval=$wxUSE_ALL_FEATURES
11540 if test -z "$defaultval"; then
11541 if test x"$enablestring" = xdisable; then
11542 defaultval=yes
11543 else
11544 defaultval=no
11545 fi
11546 fi
11547
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11549 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11550 # Check whether --enable-button was given.
11551 if test "${enable_button+set}" = set; then :
11552 enableval=$enable_button;
11553 if test "$enableval" = yes; then
11554 wx_cv_use_button='wxUSE_BUTTON=yes'
11555 else
11556 wx_cv_use_button='wxUSE_BUTTON=no'
11557 fi
11558
11559 else
11560
11561 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11562
11563 fi
11564
11565
11566 eval "$wx_cv_use_button"
11567
11568 if test x"$enablestring" = xdisable; then
11569 if test $wxUSE_BUTTON = no; then
11570 result=yes
11571 else
11572 result=no
11573 fi
11574 else
11575 result=$wxUSE_BUTTON
11576 fi
11577
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11579 $as_echo "$result" >&6; }
11580
11581
11582 enablestring=
11583 defaultval=$wxUSE_ALL_FEATURES
11584 if test -z "$defaultval"; then
11585 if test x"$enablestring" = xdisable; then
11586 defaultval=yes
11587 else
11588 defaultval=no
11589 fi
11590 fi
11591
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11593 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11594 # Check whether --enable-calendar was given.
11595 if test "${enable_calendar+set}" = set; then :
11596 enableval=$enable_calendar;
11597 if test "$enableval" = yes; then
11598 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11599 else
11600 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11601 fi
11602
11603 else
11604
11605 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11606
11607 fi
11608
11609
11610 eval "$wx_cv_use_calendar"
11611
11612 if test x"$enablestring" = xdisable; then
11613 if test $wxUSE_CALCTRL = no; then
11614 result=yes
11615 else
11616 result=no
11617 fi
11618 else
11619 result=$wxUSE_CALCTRL
11620 fi
11621
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11623 $as_echo "$result" >&6; }
11624
11625
11626 enablestring=
11627 defaultval=$wxUSE_ALL_FEATURES
11628 if test -z "$defaultval"; then
11629 if test x"$enablestring" = xdisable; then
11630 defaultval=yes
11631 else
11632 defaultval=no
11633 fi
11634 fi
11635
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11637 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11638 # Check whether --enable-caret was given.
11639 if test "${enable_caret+set}" = set; then :
11640 enableval=$enable_caret;
11641 if test "$enableval" = yes; then
11642 wx_cv_use_caret='wxUSE_CARET=yes'
11643 else
11644 wx_cv_use_caret='wxUSE_CARET=no'
11645 fi
11646
11647 else
11648
11649 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11650
11651 fi
11652
11653
11654 eval "$wx_cv_use_caret"
11655
11656 if test x"$enablestring" = xdisable; then
11657 if test $wxUSE_CARET = no; then
11658 result=yes
11659 else
11660 result=no
11661 fi
11662 else
11663 result=$wxUSE_CARET
11664 fi
11665
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11667 $as_echo "$result" >&6; }
11668
11669
11670 enablestring=
11671 defaultval=$wxUSE_ALL_FEATURES
11672 if test -z "$defaultval"; then
11673 if test x"$enablestring" = xdisable; then
11674 defaultval=yes
11675 else
11676 defaultval=no
11677 fi
11678 fi
11679
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11681 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11682 # Check whether --enable-checkbox was given.
11683 if test "${enable_checkbox+set}" = set; then :
11684 enableval=$enable_checkbox;
11685 if test "$enableval" = yes; then
11686 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11687 else
11688 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11689 fi
11690
11691 else
11692
11693 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11694
11695 fi
11696
11697
11698 eval "$wx_cv_use_checkbox"
11699
11700 if test x"$enablestring" = xdisable; then
11701 if test $wxUSE_CHECKBOX = no; then
11702 result=yes
11703 else
11704 result=no
11705 fi
11706 else
11707 result=$wxUSE_CHECKBOX
11708 fi
11709
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11711 $as_echo "$result" >&6; }
11712
11713
11714 enablestring=
11715 defaultval=$wxUSE_ALL_FEATURES
11716 if test -z "$defaultval"; then
11717 if test x"$enablestring" = xdisable; then
11718 defaultval=yes
11719 else
11720 defaultval=no
11721 fi
11722 fi
11723
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11725 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11726 # Check whether --enable-checklst was given.
11727 if test "${enable_checklst+set}" = set; then :
11728 enableval=$enable_checklst;
11729 if test "$enableval" = yes; then
11730 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11731 else
11732 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11733 fi
11734
11735 else
11736
11737 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11738
11739 fi
11740
11741
11742 eval "$wx_cv_use_checklst"
11743
11744 if test x"$enablestring" = xdisable; then
11745 if test $wxUSE_CHECKLST = no; then
11746 result=yes
11747 else
11748 result=no
11749 fi
11750 else
11751 result=$wxUSE_CHECKLST
11752 fi
11753
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11755 $as_echo "$result" >&6; }
11756
11757
11758 enablestring=
11759 defaultval=$wxUSE_ALL_FEATURES
11760 if test -z "$defaultval"; then
11761 if test x"$enablestring" = xdisable; then
11762 defaultval=yes
11763 else
11764 defaultval=no
11765 fi
11766 fi
11767
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11769 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11770 # Check whether --enable-choice was given.
11771 if test "${enable_choice+set}" = set; then :
11772 enableval=$enable_choice;
11773 if test "$enableval" = yes; then
11774 wx_cv_use_choice='wxUSE_CHOICE=yes'
11775 else
11776 wx_cv_use_choice='wxUSE_CHOICE=no'
11777 fi
11778
11779 else
11780
11781 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11782
11783 fi
11784
11785
11786 eval "$wx_cv_use_choice"
11787
11788 if test x"$enablestring" = xdisable; then
11789 if test $wxUSE_CHOICE = no; then
11790 result=yes
11791 else
11792 result=no
11793 fi
11794 else
11795 result=$wxUSE_CHOICE
11796 fi
11797
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11799 $as_echo "$result" >&6; }
11800
11801
11802 enablestring=
11803 defaultval=$wxUSE_ALL_FEATURES
11804 if test -z "$defaultval"; then
11805 if test x"$enablestring" = xdisable; then
11806 defaultval=yes
11807 else
11808 defaultval=no
11809 fi
11810 fi
11811
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11813 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11814 # Check whether --enable-choicebook was given.
11815 if test "${enable_choicebook+set}" = set; then :
11816 enableval=$enable_choicebook;
11817 if test "$enableval" = yes; then
11818 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11819 else
11820 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11821 fi
11822
11823 else
11824
11825 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11826
11827 fi
11828
11829
11830 eval "$wx_cv_use_choicebook"
11831
11832 if test x"$enablestring" = xdisable; then
11833 if test $wxUSE_CHOICEBOOK = no; then
11834 result=yes
11835 else
11836 result=no
11837 fi
11838 else
11839 result=$wxUSE_CHOICEBOOK
11840 fi
11841
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11843 $as_echo "$result" >&6; }
11844
11845
11846 enablestring=
11847 defaultval=$wxUSE_ALL_FEATURES
11848 if test -z "$defaultval"; then
11849 if test x"$enablestring" = xdisable; then
11850 defaultval=yes
11851 else
11852 defaultval=no
11853 fi
11854 fi
11855
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11857 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11858 # Check whether --enable-collpane was given.
11859 if test "${enable_collpane+set}" = set; then :
11860 enableval=$enable_collpane;
11861 if test "$enableval" = yes; then
11862 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11863 else
11864 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11865 fi
11866
11867 else
11868
11869 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11870
11871 fi
11872
11873
11874 eval "$wx_cv_use_collpane"
11875
11876 if test x"$enablestring" = xdisable; then
11877 if test $wxUSE_COLLPANE = no; then
11878 result=yes
11879 else
11880 result=no
11881 fi
11882 else
11883 result=$wxUSE_COLLPANE
11884 fi
11885
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11887 $as_echo "$result" >&6; }
11888
11889
11890 enablestring=
11891 defaultval=$wxUSE_ALL_FEATURES
11892 if test -z "$defaultval"; then
11893 if test x"$enablestring" = xdisable; then
11894 defaultval=yes
11895 else
11896 defaultval=no
11897 fi
11898 fi
11899
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11901 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11902 # Check whether --enable-colourpicker was given.
11903 if test "${enable_colourpicker+set}" = set; then :
11904 enableval=$enable_colourpicker;
11905 if test "$enableval" = yes; then
11906 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11907 else
11908 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11909 fi
11910
11911 else
11912
11913 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11914
11915 fi
11916
11917
11918 eval "$wx_cv_use_colourpicker"
11919
11920 if test x"$enablestring" = xdisable; then
11921 if test $wxUSE_COLOURPICKERCTRL = no; then
11922 result=yes
11923 else
11924 result=no
11925 fi
11926 else
11927 result=$wxUSE_COLOURPICKERCTRL
11928 fi
11929
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11931 $as_echo "$result" >&6; }
11932
11933
11934 enablestring=
11935 defaultval=$wxUSE_ALL_FEATURES
11936 if test -z "$defaultval"; then
11937 if test x"$enablestring" = xdisable; then
11938 defaultval=yes
11939 else
11940 defaultval=no
11941 fi
11942 fi
11943
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11945 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11946 # Check whether --enable-combobox was given.
11947 if test "${enable_combobox+set}" = set; then :
11948 enableval=$enable_combobox;
11949 if test "$enableval" = yes; then
11950 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11951 else
11952 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11953 fi
11954
11955 else
11956
11957 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11958
11959 fi
11960
11961
11962 eval "$wx_cv_use_combobox"
11963
11964 if test x"$enablestring" = xdisable; then
11965 if test $wxUSE_COMBOBOX = no; then
11966 result=yes
11967 else
11968 result=no
11969 fi
11970 else
11971 result=$wxUSE_COMBOBOX
11972 fi
11973
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11975 $as_echo "$result" >&6; }
11976
11977
11978 enablestring=
11979 defaultval=$wxUSE_ALL_FEATURES
11980 if test -z "$defaultval"; then
11981 if test x"$enablestring" = xdisable; then
11982 defaultval=yes
11983 else
11984 defaultval=no
11985 fi
11986 fi
11987
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11989 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11990 # Check whether --enable-comboctrl was given.
11991 if test "${enable_comboctrl+set}" = set; then :
11992 enableval=$enable_comboctrl;
11993 if test "$enableval" = yes; then
11994 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11995 else
11996 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11997 fi
11998
11999 else
12000
12001 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
12002
12003 fi
12004
12005
12006 eval "$wx_cv_use_comboctrl"
12007
12008 if test x"$enablestring" = xdisable; then
12009 if test $wxUSE_COMBOCTRL = no; then
12010 result=yes
12011 else
12012 result=no
12013 fi
12014 else
12015 result=$wxUSE_COMBOCTRL
12016 fi
12017
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12019 $as_echo "$result" >&6; }
12020
12021
12022 enablestring=
12023 defaultval=$wxUSE_ALL_FEATURES
12024 if test -z "$defaultval"; then
12025 if test x"$enablestring" = xdisable; then
12026 defaultval=yes
12027 else
12028 defaultval=no
12029 fi
12030 fi
12031
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
12033 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
12034 # Check whether --enable-commandlinkbutton was given.
12035 if test "${enable_commandlinkbutton+set}" = set; then :
12036 enableval=$enable_commandlinkbutton;
12037 if test "$enableval" = yes; then
12038 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
12039 else
12040 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
12041 fi
12042
12043 else
12044
12045 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
12046
12047 fi
12048
12049
12050 eval "$wx_cv_use_commandlinkbutton"
12051
12052 if test x"$enablestring" = xdisable; then
12053 if test $wxUSE_COMMANDLINKBUTTON = no; then
12054 result=yes
12055 else
12056 result=no
12057 fi
12058 else
12059 result=$wxUSE_COMMANDLINKBUTTON
12060 fi
12061
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12063 $as_echo "$result" >&6; }
12064
12065
12066 enablestring=
12067 defaultval=$wxUSE_ALL_FEATURES
12068 if test -z "$defaultval"; then
12069 if test x"$enablestring" = xdisable; then
12070 defaultval=yes
12071 else
12072 defaultval=no
12073 fi
12074 fi
12075
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
12077 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
12078 # Check whether --enable-dataviewctrl was given.
12079 if test "${enable_dataviewctrl+set}" = set; then :
12080 enableval=$enable_dataviewctrl;
12081 if test "$enableval" = yes; then
12082 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12083 else
12084 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12085 fi
12086
12087 else
12088
12089 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12090
12091 fi
12092
12093
12094 eval "$wx_cv_use_dataviewctrl"
12095
12096 if test x"$enablestring" = xdisable; then
12097 if test $wxUSE_DATAVIEWCTRL = no; then
12098 result=yes
12099 else
12100 result=no
12101 fi
12102 else
12103 result=$wxUSE_DATAVIEWCTRL
12104 fi
12105
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12107 $as_echo "$result" >&6; }
12108
12109
12110 enablestring=
12111 defaultval=$wxUSE_ALL_FEATURES
12112 if test -z "$defaultval"; then
12113 if test x"$enablestring" = xdisable; then
12114 defaultval=yes
12115 else
12116 defaultval=no
12117 fi
12118 fi
12119
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
12121 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
12122 # Check whether --enable-datepick was given.
12123 if test "${enable_datepick+set}" = set; then :
12124 enableval=$enable_datepick;
12125 if test "$enableval" = yes; then
12126 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
12127 else
12128 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
12129 fi
12130
12131 else
12132
12133 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
12134
12135 fi
12136
12137
12138 eval "$wx_cv_use_datepick"
12139
12140 if test x"$enablestring" = xdisable; then
12141 if test $wxUSE_DATEPICKCTRL = no; then
12142 result=yes
12143 else
12144 result=no
12145 fi
12146 else
12147 result=$wxUSE_DATEPICKCTRL
12148 fi
12149
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12151 $as_echo "$result" >&6; }
12152
12153
12154 enablestring=
12155 defaultval=$wxUSE_ALL_FEATURES
12156 if test -z "$defaultval"; then
12157 if test x"$enablestring" = xdisable; then
12158 defaultval=yes
12159 else
12160 defaultval=no
12161 fi
12162 fi
12163
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
12165 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
12166 # Check whether --enable-detect_sm was given.
12167 if test "${enable_detect_sm+set}" = set; then :
12168 enableval=$enable_detect_sm;
12169 if test "$enableval" = yes; then
12170 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12171 else
12172 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12173 fi
12174
12175 else
12176
12177 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12178
12179 fi
12180
12181
12182 eval "$wx_cv_use_detect_sm"
12183
12184 if test x"$enablestring" = xdisable; then
12185 if test $wxUSE_DETECT_SM = no; then
12186 result=yes
12187 else
12188 result=no
12189 fi
12190 else
12191 result=$wxUSE_DETECT_SM
12192 fi
12193
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12195 $as_echo "$result" >&6; }
12196
12197
12198 enablestring=
12199 defaultval=$wxUSE_ALL_FEATURES
12200 if test -z "$defaultval"; then
12201 if test x"$enablestring" = xdisable; then
12202 defaultval=yes
12203 else
12204 defaultval=no
12205 fi
12206 fi
12207
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12209 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12210 # Check whether --enable-dirpicker was given.
12211 if test "${enable_dirpicker+set}" = set; then :
12212 enableval=$enable_dirpicker;
12213 if test "$enableval" = yes; then
12214 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12215 else
12216 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12217 fi
12218
12219 else
12220
12221 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12222
12223 fi
12224
12225
12226 eval "$wx_cv_use_dirpicker"
12227
12228 if test x"$enablestring" = xdisable; then
12229 if test $wxUSE_DIRPICKERCTRL = no; then
12230 result=yes
12231 else
12232 result=no
12233 fi
12234 else
12235 result=$wxUSE_DIRPICKERCTRL
12236 fi
12237
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12239 $as_echo "$result" >&6; }
12240
12241
12242 enablestring=
12243 defaultval=$wxUSE_ALL_FEATURES
12244 if test -z "$defaultval"; then
12245 if test x"$enablestring" = xdisable; then
12246 defaultval=yes
12247 else
12248 defaultval=no
12249 fi
12250 fi
12251
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12253 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12254 # Check whether --enable-display was given.
12255 if test "${enable_display+set}" = set; then :
12256 enableval=$enable_display;
12257 if test "$enableval" = yes; then
12258 wx_cv_use_display='wxUSE_DISPLAY=yes'
12259 else
12260 wx_cv_use_display='wxUSE_DISPLAY=no'
12261 fi
12262
12263 else
12264
12265 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12266
12267 fi
12268
12269
12270 eval "$wx_cv_use_display"
12271
12272 if test x"$enablestring" = xdisable; then
12273 if test $wxUSE_DISPLAY = no; then
12274 result=yes
12275 else
12276 result=no
12277 fi
12278 else
12279 result=$wxUSE_DISPLAY
12280 fi
12281
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12283 $as_echo "$result" >&6; }
12284
12285
12286 enablestring=
12287 defaultval=$wxUSE_ALL_FEATURES
12288 if test -z "$defaultval"; then
12289 if test x"$enablestring" = xdisable; then
12290 defaultval=yes
12291 else
12292 defaultval=no
12293 fi
12294 fi
12295
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12297 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12298 # Check whether --enable-editablebox was given.
12299 if test "${enable_editablebox+set}" = set; then :
12300 enableval=$enable_editablebox;
12301 if test "$enableval" = yes; then
12302 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12303 else
12304 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12305 fi
12306
12307 else
12308
12309 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12310
12311 fi
12312
12313
12314 eval "$wx_cv_use_editablebox"
12315
12316 if test x"$enablestring" = xdisable; then
12317 if test $wxUSE_EDITABLELISTBOX = no; then
12318 result=yes
12319 else
12320 result=no
12321 fi
12322 else
12323 result=$wxUSE_EDITABLELISTBOX
12324 fi
12325
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12327 $as_echo "$result" >&6; }
12328
12329
12330 enablestring=
12331 defaultval=$wxUSE_ALL_FEATURES
12332 if test -z "$defaultval"; then
12333 if test x"$enablestring" = xdisable; then
12334 defaultval=yes
12335 else
12336 defaultval=no
12337 fi
12338 fi
12339
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12341 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12342 # Check whether --enable-filectrl was given.
12343 if test "${enable_filectrl+set}" = set; then :
12344 enableval=$enable_filectrl;
12345 if test "$enableval" = yes; then
12346 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12347 else
12348 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12349 fi
12350
12351 else
12352
12353 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12354
12355 fi
12356
12357
12358 eval "$wx_cv_use_filectrl"
12359
12360 if test x"$enablestring" = xdisable; then
12361 if test $wxUSE_FILECTRL = no; then
12362 result=yes
12363 else
12364 result=no
12365 fi
12366 else
12367 result=$wxUSE_FILECTRL
12368 fi
12369
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12371 $as_echo "$result" >&6; }
12372
12373
12374 enablestring=
12375 defaultval=$wxUSE_ALL_FEATURES
12376 if test -z "$defaultval"; then
12377 if test x"$enablestring" = xdisable; then
12378 defaultval=yes
12379 else
12380 defaultval=no
12381 fi
12382 fi
12383
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12385 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12386 # Check whether --enable-filepicker was given.
12387 if test "${enable_filepicker+set}" = set; then :
12388 enableval=$enable_filepicker;
12389 if test "$enableval" = yes; then
12390 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12391 else
12392 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12393 fi
12394
12395 else
12396
12397 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12398
12399 fi
12400
12401
12402 eval "$wx_cv_use_filepicker"
12403
12404 if test x"$enablestring" = xdisable; then
12405 if test $wxUSE_FILEPICKERCTRL = no; then
12406 result=yes
12407 else
12408 result=no
12409 fi
12410 else
12411 result=$wxUSE_FILEPICKERCTRL
12412 fi
12413
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12415 $as_echo "$result" >&6; }
12416
12417
12418 enablestring=
12419 defaultval=$wxUSE_ALL_FEATURES
12420 if test -z "$defaultval"; then
12421 if test x"$enablestring" = xdisable; then
12422 defaultval=yes
12423 else
12424 defaultval=no
12425 fi
12426 fi
12427
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12429 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12430 # Check whether --enable-fontpicker was given.
12431 if test "${enable_fontpicker+set}" = set; then :
12432 enableval=$enable_fontpicker;
12433 if test "$enableval" = yes; then
12434 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12435 else
12436 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12437 fi
12438
12439 else
12440
12441 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12442
12443 fi
12444
12445
12446 eval "$wx_cv_use_fontpicker"
12447
12448 if test x"$enablestring" = xdisable; then
12449 if test $wxUSE_FONTPICKERCTRL = no; then
12450 result=yes
12451 else
12452 result=no
12453 fi
12454 else
12455 result=$wxUSE_FONTPICKERCTRL
12456 fi
12457
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12459 $as_echo "$result" >&6; }
12460
12461
12462 enablestring=
12463 defaultval=$wxUSE_ALL_FEATURES
12464 if test -z "$defaultval"; then
12465 if test x"$enablestring" = xdisable; then
12466 defaultval=yes
12467 else
12468 defaultval=no
12469 fi
12470 fi
12471
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12473 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12474 # Check whether --enable-gauge was given.
12475 if test "${enable_gauge+set}" = set; then :
12476 enableval=$enable_gauge;
12477 if test "$enableval" = yes; then
12478 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12479 else
12480 wx_cv_use_gauge='wxUSE_GAUGE=no'
12481 fi
12482
12483 else
12484
12485 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12486
12487 fi
12488
12489
12490 eval "$wx_cv_use_gauge"
12491
12492 if test x"$enablestring" = xdisable; then
12493 if test $wxUSE_GAUGE = no; then
12494 result=yes
12495 else
12496 result=no
12497 fi
12498 else
12499 result=$wxUSE_GAUGE
12500 fi
12501
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12503 $as_echo "$result" >&6; }
12504
12505
12506 enablestring=
12507 defaultval=$wxUSE_ALL_FEATURES
12508 if test -z "$defaultval"; then
12509 if test x"$enablestring" = xdisable; then
12510 defaultval=yes
12511 else
12512 defaultval=no
12513 fi
12514 fi
12515
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12517 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12518 # Check whether --enable-grid was given.
12519 if test "${enable_grid+set}" = set; then :
12520 enableval=$enable_grid;
12521 if test "$enableval" = yes; then
12522 wx_cv_use_grid='wxUSE_GRID=yes'
12523 else
12524 wx_cv_use_grid='wxUSE_GRID=no'
12525 fi
12526
12527 else
12528
12529 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12530
12531 fi
12532
12533
12534 eval "$wx_cv_use_grid"
12535
12536 if test x"$enablestring" = xdisable; then
12537 if test $wxUSE_GRID = no; then
12538 result=yes
12539 else
12540 result=no
12541 fi
12542 else
12543 result=$wxUSE_GRID
12544 fi
12545
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12547 $as_echo "$result" >&6; }
12548
12549
12550 enablestring=
12551 defaultval=$wxUSE_ALL_FEATURES
12552 if test -z "$defaultval"; then
12553 if test x"$enablestring" = xdisable; then
12554 defaultval=yes
12555 else
12556 defaultval=no
12557 fi
12558 fi
12559
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12561 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12562 # Check whether --enable-headerctrl was given.
12563 if test "${enable_headerctrl+set}" = set; then :
12564 enableval=$enable_headerctrl;
12565 if test "$enableval" = yes; then
12566 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12567 else
12568 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12569 fi
12570
12571 else
12572
12573 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12574
12575 fi
12576
12577
12578 eval "$wx_cv_use_headerctrl"
12579
12580 if test x"$enablestring" = xdisable; then
12581 if test $wxUSE_HEADERCTRL = no; then
12582 result=yes
12583 else
12584 result=no
12585 fi
12586 else
12587 result=$wxUSE_HEADERCTRL
12588 fi
12589
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12591 $as_echo "$result" >&6; }
12592
12593
12594 enablestring=
12595 defaultval=$wxUSE_ALL_FEATURES
12596 if test -z "$defaultval"; then
12597 if test x"$enablestring" = xdisable; then
12598 defaultval=yes
12599 else
12600 defaultval=no
12601 fi
12602 fi
12603
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12605 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12606 # Check whether --enable-hyperlink was given.
12607 if test "${enable_hyperlink+set}" = set; then :
12608 enableval=$enable_hyperlink;
12609 if test "$enableval" = yes; then
12610 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12611 else
12612 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12613 fi
12614
12615 else
12616
12617 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12618
12619 fi
12620
12621
12622 eval "$wx_cv_use_hyperlink"
12623
12624 if test x"$enablestring" = xdisable; then
12625 if test $wxUSE_HYPERLINKCTRL = no; then
12626 result=yes
12627 else
12628 result=no
12629 fi
12630 else
12631 result=$wxUSE_HYPERLINKCTRL
12632 fi
12633
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12635 $as_echo "$result" >&6; }
12636
12637
12638 enablestring=
12639 defaultval=$wxUSE_ALL_FEATURES
12640 if test -z "$defaultval"; then
12641 if test x"$enablestring" = xdisable; then
12642 defaultval=yes
12643 else
12644 defaultval=no
12645 fi
12646 fi
12647
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12649 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12650 # Check whether --enable-imaglist was given.
12651 if test "${enable_imaglist+set}" = set; then :
12652 enableval=$enable_imaglist;
12653 if test "$enableval" = yes; then
12654 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12655 else
12656 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12657 fi
12658
12659 else
12660
12661 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12662
12663 fi
12664
12665
12666 eval "$wx_cv_use_imaglist"
12667
12668 if test x"$enablestring" = xdisable; then
12669 if test $wxUSE_IMAGLIST = no; then
12670 result=yes
12671 else
12672 result=no
12673 fi
12674 else
12675 result=$wxUSE_IMAGLIST
12676 fi
12677
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12679 $as_echo "$result" >&6; }
12680
12681
12682 enablestring=
12683 defaultval=$wxUSE_ALL_FEATURES
12684 if test -z "$defaultval"; then
12685 if test x"$enablestring" = xdisable; then
12686 defaultval=yes
12687 else
12688 defaultval=no
12689 fi
12690 fi
12691
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12693 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12694 # Check whether --enable-infobar was given.
12695 if test "${enable_infobar+set}" = set; then :
12696 enableval=$enable_infobar;
12697 if test "$enableval" = yes; then
12698 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12699 else
12700 wx_cv_use_infobar='wxUSE_INFOBAR=no'
12701 fi
12702
12703 else
12704
12705 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12706
12707 fi
12708
12709
12710 eval "$wx_cv_use_infobar"
12711
12712 if test x"$enablestring" = xdisable; then
12713 if test $wxUSE_INFOBAR = no; then
12714 result=yes
12715 else
12716 result=no
12717 fi
12718 else
12719 result=$wxUSE_INFOBAR
12720 fi
12721
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12723 $as_echo "$result" >&6; }
12724
12725
12726 enablestring=
12727 defaultval=$wxUSE_ALL_FEATURES
12728 if test -z "$defaultval"; then
12729 if test x"$enablestring" = xdisable; then
12730 defaultval=yes
12731 else
12732 defaultval=no
12733 fi
12734 fi
12735
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12737 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12738 # Check whether --enable-listbook was given.
12739 if test "${enable_listbook+set}" = set; then :
12740 enableval=$enable_listbook;
12741 if test "$enableval" = yes; then
12742 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12743 else
12744 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12745 fi
12746
12747 else
12748
12749 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12750
12751 fi
12752
12753
12754 eval "$wx_cv_use_listbook"
12755
12756 if test x"$enablestring" = xdisable; then
12757 if test $wxUSE_LISTBOOK = no; then
12758 result=yes
12759 else
12760 result=no
12761 fi
12762 else
12763 result=$wxUSE_LISTBOOK
12764 fi
12765
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12767 $as_echo "$result" >&6; }
12768
12769
12770 enablestring=
12771 defaultval=$wxUSE_ALL_FEATURES
12772 if test -z "$defaultval"; then
12773 if test x"$enablestring" = xdisable; then
12774 defaultval=yes
12775 else
12776 defaultval=no
12777 fi
12778 fi
12779
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12781 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12782 # Check whether --enable-listbox was given.
12783 if test "${enable_listbox+set}" = set; then :
12784 enableval=$enable_listbox;
12785 if test "$enableval" = yes; then
12786 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12787 else
12788 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12789 fi
12790
12791 else
12792
12793 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12794
12795 fi
12796
12797
12798 eval "$wx_cv_use_listbox"
12799
12800 if test x"$enablestring" = xdisable; then
12801 if test $wxUSE_LISTBOX = no; then
12802 result=yes
12803 else
12804 result=no
12805 fi
12806 else
12807 result=$wxUSE_LISTBOX
12808 fi
12809
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12811 $as_echo "$result" >&6; }
12812
12813
12814 enablestring=
12815 defaultval=$wxUSE_ALL_FEATURES
12816 if test -z "$defaultval"; then
12817 if test x"$enablestring" = xdisable; then
12818 defaultval=yes
12819 else
12820 defaultval=no
12821 fi
12822 fi
12823
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12825 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12826 # Check whether --enable-listctrl was given.
12827 if test "${enable_listctrl+set}" = set; then :
12828 enableval=$enable_listctrl;
12829 if test "$enableval" = yes; then
12830 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12831 else
12832 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12833 fi
12834
12835 else
12836
12837 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12838
12839 fi
12840
12841
12842 eval "$wx_cv_use_listctrl"
12843
12844 if test x"$enablestring" = xdisable; then
12845 if test $wxUSE_LISTCTRL = no; then
12846 result=yes
12847 else
12848 result=no
12849 fi
12850 else
12851 result=$wxUSE_LISTCTRL
12852 fi
12853
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12855 $as_echo "$result" >&6; }
12856
12857
12858 enablestring=
12859 defaultval=$wxUSE_ALL_FEATURES
12860 if test -z "$defaultval"; then
12861 if test x"$enablestring" = xdisable; then
12862 defaultval=yes
12863 else
12864 defaultval=no
12865 fi
12866 fi
12867
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12869 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12870 # Check whether --enable-notebook was given.
12871 if test "${enable_notebook+set}" = set; then :
12872 enableval=$enable_notebook;
12873 if test "$enableval" = yes; then
12874 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12875 else
12876 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12877 fi
12878
12879 else
12880
12881 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12882
12883 fi
12884
12885
12886 eval "$wx_cv_use_notebook"
12887
12888 if test x"$enablestring" = xdisable; then
12889 if test $wxUSE_NOTEBOOK = no; then
12890 result=yes
12891 else
12892 result=no
12893 fi
12894 else
12895 result=$wxUSE_NOTEBOOK
12896 fi
12897
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12899 $as_echo "$result" >&6; }
12900
12901
12902 enablestring=
12903 defaultval=$wxUSE_ALL_FEATURES
12904 if test -z "$defaultval"; then
12905 if test x"$enablestring" = xdisable; then
12906 defaultval=yes
12907 else
12908 defaultval=no
12909 fi
12910 fi
12911
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12913 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12914 # Check whether --enable-notifmsg was given.
12915 if test "${enable_notifmsg+set}" = set; then :
12916 enableval=$enable_notifmsg;
12917 if test "$enableval" = yes; then
12918 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12919 else
12920 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12921 fi
12922
12923 else
12924
12925 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12926
12927 fi
12928
12929
12930 eval "$wx_cv_use_notifmsg"
12931
12932 if test x"$enablestring" = xdisable; then
12933 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12934 result=yes
12935 else
12936 result=no
12937 fi
12938 else
12939 result=$wxUSE_NOTIFICATION_MESSAGE
12940 fi
12941
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12943 $as_echo "$result" >&6; }
12944
12945
12946 enablestring=
12947 defaultval=$wxUSE_ALL_FEATURES
12948 if test -z "$defaultval"; then
12949 if test x"$enablestring" = xdisable; then
12950 defaultval=yes
12951 else
12952 defaultval=no
12953 fi
12954 fi
12955
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12957 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12958 # Check whether --enable-odcombobox was given.
12959 if test "${enable_odcombobox+set}" = set; then :
12960 enableval=$enable_odcombobox;
12961 if test "$enableval" = yes; then
12962 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12963 else
12964 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12965 fi
12966
12967 else
12968
12969 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12970
12971 fi
12972
12973
12974 eval "$wx_cv_use_odcombobox"
12975
12976 if test x"$enablestring" = xdisable; then
12977 if test $wxUSE_ODCOMBOBOX = no; then
12978 result=yes
12979 else
12980 result=no
12981 fi
12982 else
12983 result=$wxUSE_ODCOMBOBOX
12984 fi
12985
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12987 $as_echo "$result" >&6; }
12988
12989
12990 enablestring=
12991 defaultval=$wxUSE_ALL_FEATURES
12992 if test -z "$defaultval"; then
12993 if test x"$enablestring" = xdisable; then
12994 defaultval=yes
12995 else
12996 defaultval=no
12997 fi
12998 fi
12999
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
13001 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
13002 # Check whether --enable-popupwin was given.
13003 if test "${enable_popupwin+set}" = set; then :
13004 enableval=$enable_popupwin;
13005 if test "$enableval" = yes; then
13006 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13007 else
13008 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13009 fi
13010
13011 else
13012
13013 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13014
13015 fi
13016
13017
13018 eval "$wx_cv_use_popupwin"
13019
13020 if test x"$enablestring" = xdisable; then
13021 if test $wxUSE_POPUPWIN = no; then
13022 result=yes
13023 else
13024 result=no
13025 fi
13026 else
13027 result=$wxUSE_POPUPWIN
13028 fi
13029
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13031 $as_echo "$result" >&6; }
13032
13033
13034 enablestring=
13035 defaultval=$wxUSE_ALL_FEATURES
13036 if test -z "$defaultval"; then
13037 if test x"$enablestring" = xdisable; then
13038 defaultval=yes
13039 else
13040 defaultval=no
13041 fi
13042 fi
13043
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
13045 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
13046 # Check whether --enable-radiobox was given.
13047 if test "${enable_radiobox+set}" = set; then :
13048 enableval=$enable_radiobox;
13049 if test "$enableval" = yes; then
13050 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
13051 else
13052 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
13053 fi
13054
13055 else
13056
13057 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
13058
13059 fi
13060
13061
13062 eval "$wx_cv_use_radiobox"
13063
13064 if test x"$enablestring" = xdisable; then
13065 if test $wxUSE_RADIOBOX = no; then
13066 result=yes
13067 else
13068 result=no
13069 fi
13070 else
13071 result=$wxUSE_RADIOBOX
13072 fi
13073
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13075 $as_echo "$result" >&6; }
13076
13077
13078 enablestring=
13079 defaultval=$wxUSE_ALL_FEATURES
13080 if test -z "$defaultval"; then
13081 if test x"$enablestring" = xdisable; then
13082 defaultval=yes
13083 else
13084 defaultval=no
13085 fi
13086 fi
13087
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
13089 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
13090 # Check whether --enable-radiobtn was given.
13091 if test "${enable_radiobtn+set}" = set; then :
13092 enableval=$enable_radiobtn;
13093 if test "$enableval" = yes; then
13094 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
13095 else
13096 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
13097 fi
13098
13099 else
13100
13101 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
13102
13103 fi
13104
13105
13106 eval "$wx_cv_use_radiobtn"
13107
13108 if test x"$enablestring" = xdisable; then
13109 if test $wxUSE_RADIOBTN = no; then
13110 result=yes
13111 else
13112 result=no
13113 fi
13114 else
13115 result=$wxUSE_RADIOBTN
13116 fi
13117
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13119 $as_echo "$result" >&6; }
13120
13121
13122 enablestring=
13123 defaultval=$wxUSE_ALL_FEATURES
13124 if test -z "$defaultval"; then
13125 if test x"$enablestring" = xdisable; then
13126 defaultval=yes
13127 else
13128 defaultval=no
13129 fi
13130 fi
13131
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
13133 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
13134 # Check whether --enable-richmsgdlg was given.
13135 if test "${enable_richmsgdlg+set}" = set; then :
13136 enableval=$enable_richmsgdlg;
13137 if test "$enableval" = yes; then
13138 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
13139 else
13140 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
13141 fi
13142
13143 else
13144
13145 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
13146
13147 fi
13148
13149
13150 eval "$wx_cv_use_richmsgdlg"
13151
13152 if test x"$enablestring" = xdisable; then
13153 if test $wxUSE_RICHMSGDLG = no; then
13154 result=yes
13155 else
13156 result=no
13157 fi
13158 else
13159 result=$wxUSE_RICHMSGDLG
13160 fi
13161
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13163 $as_echo "$result" >&6; }
13164
13165
13166 enablestring=
13167 defaultval=$wxUSE_ALL_FEATURES
13168 if test -z "$defaultval"; then
13169 if test x"$enablestring" = xdisable; then
13170 defaultval=yes
13171 else
13172 defaultval=no
13173 fi
13174 fi
13175
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
13177 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
13178 # Check whether --enable-richtooltip was given.
13179 if test "${enable_richtooltip+set}" = set; then :
13180 enableval=$enable_richtooltip;
13181 if test "$enableval" = yes; then
13182 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
13183 else
13184 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
13185 fi
13186
13187 else
13188
13189 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13190
13191 fi
13192
13193
13194 eval "$wx_cv_use_richtooltip"
13195
13196 if test x"$enablestring" = xdisable; then
13197 if test $wxUSE_RICHTOOLTIP = no; then
13198 result=yes
13199 else
13200 result=no
13201 fi
13202 else
13203 result=$wxUSE_RICHTOOLTIP
13204 fi
13205
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13207 $as_echo "$result" >&6; }
13208
13209
13210 enablestring=
13211 defaultval=$wxUSE_ALL_FEATURES
13212 if test -z "$defaultval"; then
13213 if test x"$enablestring" = xdisable; then
13214 defaultval=yes
13215 else
13216 defaultval=no
13217 fi
13218 fi
13219
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13221 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13222 # Check whether --enable-rearrangectrl was given.
13223 if test "${enable_rearrangectrl+set}" = set; then :
13224 enableval=$enable_rearrangectrl;
13225 if test "$enableval" = yes; then
13226 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13227 else
13228 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13229 fi
13230
13231 else
13232
13233 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13234
13235 fi
13236
13237
13238 eval "$wx_cv_use_rearrangectrl"
13239
13240 if test x"$enablestring" = xdisable; then
13241 if test $wxUSE_REARRANGECTRL = no; then
13242 result=yes
13243 else
13244 result=no
13245 fi
13246 else
13247 result=$wxUSE_REARRANGECTRL
13248 fi
13249
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13251 $as_echo "$result" >&6; }
13252
13253
13254 enablestring=
13255 defaultval=$wxUSE_ALL_FEATURES
13256 if test -z "$defaultval"; then
13257 if test x"$enablestring" = xdisable; then
13258 defaultval=yes
13259 else
13260 defaultval=no
13261 fi
13262 fi
13263
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13265 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13266 # Check whether --enable-sash was given.
13267 if test "${enable_sash+set}" = set; then :
13268 enableval=$enable_sash;
13269 if test "$enableval" = yes; then
13270 wx_cv_use_sash='wxUSE_SASH=yes'
13271 else
13272 wx_cv_use_sash='wxUSE_SASH=no'
13273 fi
13274
13275 else
13276
13277 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13278
13279 fi
13280
13281
13282 eval "$wx_cv_use_sash"
13283
13284 if test x"$enablestring" = xdisable; then
13285 if test $wxUSE_SASH = no; then
13286 result=yes
13287 else
13288 result=no
13289 fi
13290 else
13291 result=$wxUSE_SASH
13292 fi
13293
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13295 $as_echo "$result" >&6; }
13296
13297
13298 enablestring=
13299 defaultval=$wxUSE_ALL_FEATURES
13300 if test -z "$defaultval"; then
13301 if test x"$enablestring" = xdisable; then
13302 defaultval=yes
13303 else
13304 defaultval=no
13305 fi
13306 fi
13307
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13309 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13310 # Check whether --enable-scrollbar was given.
13311 if test "${enable_scrollbar+set}" = set; then :
13312 enableval=$enable_scrollbar;
13313 if test "$enableval" = yes; then
13314 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13315 else
13316 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13317 fi
13318
13319 else
13320
13321 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13322
13323 fi
13324
13325
13326 eval "$wx_cv_use_scrollbar"
13327
13328 if test x"$enablestring" = xdisable; then
13329 if test $wxUSE_SCROLLBAR = no; then
13330 result=yes
13331 else
13332 result=no
13333 fi
13334 else
13335 result=$wxUSE_SCROLLBAR
13336 fi
13337
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13339 $as_echo "$result" >&6; }
13340
13341
13342 enablestring=
13343 defaultval=$wxUSE_ALL_FEATURES
13344 if test -z "$defaultval"; then
13345 if test x"$enablestring" = xdisable; then
13346 defaultval=yes
13347 else
13348 defaultval=no
13349 fi
13350 fi
13351
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13353 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13354 # Check whether --enable-searchctrl was given.
13355 if test "${enable_searchctrl+set}" = set; then :
13356 enableval=$enable_searchctrl;
13357 if test "$enableval" = yes; then
13358 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13359 else
13360 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13361 fi
13362
13363 else
13364
13365 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13366
13367 fi
13368
13369
13370 eval "$wx_cv_use_searchctrl"
13371
13372 if test x"$enablestring" = xdisable; then
13373 if test $wxUSE_SEARCHCTRL = no; then
13374 result=yes
13375 else
13376 result=no
13377 fi
13378 else
13379 result=$wxUSE_SEARCHCTRL
13380 fi
13381
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13383 $as_echo "$result" >&6; }
13384
13385
13386 enablestring=
13387 defaultval=$wxUSE_ALL_FEATURES
13388 if test -z "$defaultval"; then
13389 if test x"$enablestring" = xdisable; then
13390 defaultval=yes
13391 else
13392 defaultval=no
13393 fi
13394 fi
13395
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13397 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13398 # Check whether --enable-slider was given.
13399 if test "${enable_slider+set}" = set; then :
13400 enableval=$enable_slider;
13401 if test "$enableval" = yes; then
13402 wx_cv_use_slider='wxUSE_SLIDER=yes'
13403 else
13404 wx_cv_use_slider='wxUSE_SLIDER=no'
13405 fi
13406
13407 else
13408
13409 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13410
13411 fi
13412
13413
13414 eval "$wx_cv_use_slider"
13415
13416 if test x"$enablestring" = xdisable; then
13417 if test $wxUSE_SLIDER = no; then
13418 result=yes
13419 else
13420 result=no
13421 fi
13422 else
13423 result=$wxUSE_SLIDER
13424 fi
13425
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13427 $as_echo "$result" >&6; }
13428
13429
13430 enablestring=
13431 defaultval=$wxUSE_ALL_FEATURES
13432 if test -z "$defaultval"; then
13433 if test x"$enablestring" = xdisable; then
13434 defaultval=yes
13435 else
13436 defaultval=no
13437 fi
13438 fi
13439
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13441 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13442 # Check whether --enable-spinbtn was given.
13443 if test "${enable_spinbtn+set}" = set; then :
13444 enableval=$enable_spinbtn;
13445 if test "$enableval" = yes; then
13446 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13447 else
13448 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13449 fi
13450
13451 else
13452
13453 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13454
13455 fi
13456
13457
13458 eval "$wx_cv_use_spinbtn"
13459
13460 if test x"$enablestring" = xdisable; then
13461 if test $wxUSE_SPINBTN = no; then
13462 result=yes
13463 else
13464 result=no
13465 fi
13466 else
13467 result=$wxUSE_SPINBTN
13468 fi
13469
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13471 $as_echo "$result" >&6; }
13472
13473
13474 enablestring=
13475 defaultval=$wxUSE_ALL_FEATURES
13476 if test -z "$defaultval"; then
13477 if test x"$enablestring" = xdisable; then
13478 defaultval=yes
13479 else
13480 defaultval=no
13481 fi
13482 fi
13483
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13485 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13486 # Check whether --enable-spinctrl was given.
13487 if test "${enable_spinctrl+set}" = set; then :
13488 enableval=$enable_spinctrl;
13489 if test "$enableval" = yes; then
13490 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13491 else
13492 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13493 fi
13494
13495 else
13496
13497 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13498
13499 fi
13500
13501
13502 eval "$wx_cv_use_spinctrl"
13503
13504 if test x"$enablestring" = xdisable; then
13505 if test $wxUSE_SPINCTRL = no; then
13506 result=yes
13507 else
13508 result=no
13509 fi
13510 else
13511 result=$wxUSE_SPINCTRL
13512 fi
13513
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13515 $as_echo "$result" >&6; }
13516
13517
13518 enablestring=
13519 defaultval=$wxUSE_ALL_FEATURES
13520 if test -z "$defaultval"; then
13521 if test x"$enablestring" = xdisable; then
13522 defaultval=yes
13523 else
13524 defaultval=no
13525 fi
13526 fi
13527
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13529 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13530 # Check whether --enable-splitter was given.
13531 if test "${enable_splitter+set}" = set; then :
13532 enableval=$enable_splitter;
13533 if test "$enableval" = yes; then
13534 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13535 else
13536 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13537 fi
13538
13539 else
13540
13541 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13542
13543 fi
13544
13545
13546 eval "$wx_cv_use_splitter"
13547
13548 if test x"$enablestring" = xdisable; then
13549 if test $wxUSE_SPLITTER = no; then
13550 result=yes
13551 else
13552 result=no
13553 fi
13554 else
13555 result=$wxUSE_SPLITTER
13556 fi
13557
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13559 $as_echo "$result" >&6; }
13560
13561
13562 enablestring=
13563 defaultval=$wxUSE_ALL_FEATURES
13564 if test -z "$defaultval"; then
13565 if test x"$enablestring" = xdisable; then
13566 defaultval=yes
13567 else
13568 defaultval=no
13569 fi
13570 fi
13571
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13573 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13574 # Check whether --enable-statbmp was given.
13575 if test "${enable_statbmp+set}" = set; then :
13576 enableval=$enable_statbmp;
13577 if test "$enableval" = yes; then
13578 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13579 else
13580 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13581 fi
13582
13583 else
13584
13585 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13586
13587 fi
13588
13589
13590 eval "$wx_cv_use_statbmp"
13591
13592 if test x"$enablestring" = xdisable; then
13593 if test $wxUSE_STATBMP = no; then
13594 result=yes
13595 else
13596 result=no
13597 fi
13598 else
13599 result=$wxUSE_STATBMP
13600 fi
13601
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13603 $as_echo "$result" >&6; }
13604
13605
13606 enablestring=
13607 defaultval=$wxUSE_ALL_FEATURES
13608 if test -z "$defaultval"; then
13609 if test x"$enablestring" = xdisable; then
13610 defaultval=yes
13611 else
13612 defaultval=no
13613 fi
13614 fi
13615
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13617 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13618 # Check whether --enable-statbox was given.
13619 if test "${enable_statbox+set}" = set; then :
13620 enableval=$enable_statbox;
13621 if test "$enableval" = yes; then
13622 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13623 else
13624 wx_cv_use_statbox='wxUSE_STATBOX=no'
13625 fi
13626
13627 else
13628
13629 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13630
13631 fi
13632
13633
13634 eval "$wx_cv_use_statbox"
13635
13636 if test x"$enablestring" = xdisable; then
13637 if test $wxUSE_STATBOX = no; then
13638 result=yes
13639 else
13640 result=no
13641 fi
13642 else
13643 result=$wxUSE_STATBOX
13644 fi
13645
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13647 $as_echo "$result" >&6; }
13648
13649
13650 enablestring=
13651 defaultval=$wxUSE_ALL_FEATURES
13652 if test -z "$defaultval"; then
13653 if test x"$enablestring" = xdisable; then
13654 defaultval=yes
13655 else
13656 defaultval=no
13657 fi
13658 fi
13659
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13661 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13662 # Check whether --enable-statline was given.
13663 if test "${enable_statline+set}" = set; then :
13664 enableval=$enable_statline;
13665 if test "$enableval" = yes; then
13666 wx_cv_use_statline='wxUSE_STATLINE=yes'
13667 else
13668 wx_cv_use_statline='wxUSE_STATLINE=no'
13669 fi
13670
13671 else
13672
13673 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13674
13675 fi
13676
13677
13678 eval "$wx_cv_use_statline"
13679
13680 if test x"$enablestring" = xdisable; then
13681 if test $wxUSE_STATLINE = no; then
13682 result=yes
13683 else
13684 result=no
13685 fi
13686 else
13687 result=$wxUSE_STATLINE
13688 fi
13689
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13691 $as_echo "$result" >&6; }
13692
13693
13694 enablestring=
13695 defaultval=$wxUSE_ALL_FEATURES
13696 if test -z "$defaultval"; then
13697 if test x"$enablestring" = xdisable; then
13698 defaultval=yes
13699 else
13700 defaultval=no
13701 fi
13702 fi
13703
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13705 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13706 # Check whether --enable-stattext was given.
13707 if test "${enable_stattext+set}" = set; then :
13708 enableval=$enable_stattext;
13709 if test "$enableval" = yes; then
13710 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13711 else
13712 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13713 fi
13714
13715 else
13716
13717 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13718
13719 fi
13720
13721
13722 eval "$wx_cv_use_stattext"
13723
13724 if test x"$enablestring" = xdisable; then
13725 if test $wxUSE_STATTEXT = no; then
13726 result=yes
13727 else
13728 result=no
13729 fi
13730 else
13731 result=$wxUSE_STATTEXT
13732 fi
13733
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13735 $as_echo "$result" >&6; }
13736
13737
13738 enablestring=
13739 defaultval=$wxUSE_ALL_FEATURES
13740 if test -z "$defaultval"; then
13741 if test x"$enablestring" = xdisable; then
13742 defaultval=yes
13743 else
13744 defaultval=no
13745 fi
13746 fi
13747
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13749 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13750 # Check whether --enable-statusbar was given.
13751 if test "${enable_statusbar+set}" = set; then :
13752 enableval=$enable_statusbar;
13753 if test "$enableval" = yes; then
13754 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13755 else
13756 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13757 fi
13758
13759 else
13760
13761 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13762
13763 fi
13764
13765
13766 eval "$wx_cv_use_statusbar"
13767
13768 if test x"$enablestring" = xdisable; then
13769 if test $wxUSE_STATUSBAR = no; then
13770 result=yes
13771 else
13772 result=no
13773 fi
13774 else
13775 result=$wxUSE_STATUSBAR
13776 fi
13777
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13779 $as_echo "$result" >&6; }
13780
13781
13782 enablestring=
13783 defaultval=$wxUSE_ALL_FEATURES
13784 if test -z "$defaultval"; then
13785 if test x"$enablestring" = xdisable; then
13786 defaultval=yes
13787 else
13788 defaultval=no
13789 fi
13790 fi
13791
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13793 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13794 # Check whether --enable-taskbaricon was given.
13795 if test "${enable_taskbaricon+set}" = set; then :
13796 enableval=$enable_taskbaricon;
13797 if test "$enableval" = yes; then
13798 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13799 else
13800 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13801 fi
13802
13803 else
13804
13805 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13806
13807 fi
13808
13809
13810 eval "$wx_cv_use_taskbaricon"
13811
13812 if test x"$enablestring" = xdisable; then
13813 if test $wxUSE_TASKBARICON = no; then
13814 result=yes
13815 else
13816 result=no
13817 fi
13818 else
13819 result=$wxUSE_TASKBARICON
13820 fi
13821
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13823 $as_echo "$result" >&6; }
13824
13825
13826 enablestring=
13827 defaultval=$wxUSE_ALL_FEATURES
13828 if test -z "$defaultval"; then
13829 if test x"$enablestring" = xdisable; then
13830 defaultval=yes
13831 else
13832 defaultval=no
13833 fi
13834 fi
13835
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13837 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13838 # Check whether --enable-tbarnative was given.
13839 if test "${enable_tbarnative+set}" = set; then :
13840 enableval=$enable_tbarnative;
13841 if test "$enableval" = yes; then
13842 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13843 else
13844 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13845 fi
13846
13847 else
13848
13849 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13850
13851 fi
13852
13853
13854 eval "$wx_cv_use_tbarnative"
13855
13856 if test x"$enablestring" = xdisable; then
13857 if test $wxUSE_TOOLBAR_NATIVE = no; then
13858 result=yes
13859 else
13860 result=no
13861 fi
13862 else
13863 result=$wxUSE_TOOLBAR_NATIVE
13864 fi
13865
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13867 $as_echo "$result" >&6; }
13868
13869
13870 enablestring=
13871 defaultval=$wxUSE_ALL_FEATURES
13872 if test -z "$defaultval"; then
13873 if test x"$enablestring" = xdisable; then
13874 defaultval=yes
13875 else
13876 defaultval=no
13877 fi
13878 fi
13879
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13881 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13882 # Check whether --enable-textctrl was given.
13883 if test "${enable_textctrl+set}" = set; then :
13884 enableval=$enable_textctrl;
13885 if test "$enableval" = yes; then
13886 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13887 else
13888 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13889 fi
13890
13891 else
13892
13893 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13894
13895 fi
13896
13897
13898 eval "$wx_cv_use_textctrl"
13899
13900 if test x"$enablestring" = xdisable; then
13901 if test $wxUSE_TEXTCTRL = no; then
13902 result=yes
13903 else
13904 result=no
13905 fi
13906 else
13907 result=$wxUSE_TEXTCTRL
13908 fi
13909
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13911 $as_echo "$result" >&6; }
13912
13913
13914 enablestring=
13915 defaultval=$wxUSE_ALL_FEATURES
13916 if test -z "$defaultval"; then
13917 if test x"$enablestring" = xdisable; then
13918 defaultval=yes
13919 else
13920 defaultval=no
13921 fi
13922 fi
13923
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13925 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13926 # Check whether --enable-datepick was given.
13927 if test "${enable_datepick+set}" = set; then :
13928 enableval=$enable_datepick;
13929 if test "$enableval" = yes; then
13930 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13931 else
13932 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13933 fi
13934
13935 else
13936
13937 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13938
13939 fi
13940
13941
13942 eval "$wx_cv_use_datepick"
13943
13944 if test x"$enablestring" = xdisable; then
13945 if test $wxUSE_TIMEPICKCTRL = no; then
13946 result=yes
13947 else
13948 result=no
13949 fi
13950 else
13951 result=$wxUSE_TIMEPICKCTRL
13952 fi
13953
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13955 $as_echo "$result" >&6; }
13956
13957
13958 enablestring=
13959 defaultval=$wxUSE_ALL_FEATURES
13960 if test -z "$defaultval"; then
13961 if test x"$enablestring" = xdisable; then
13962 defaultval=yes
13963 else
13964 defaultval=no
13965 fi
13966 fi
13967
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13969 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13970 # Check whether --enable-tipwindow was given.
13971 if test "${enable_tipwindow+set}" = set; then :
13972 enableval=$enable_tipwindow;
13973 if test "$enableval" = yes; then
13974 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13975 else
13976 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13977 fi
13978
13979 else
13980
13981 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13982
13983 fi
13984
13985
13986 eval "$wx_cv_use_tipwindow"
13987
13988 if test x"$enablestring" = xdisable; then
13989 if test $wxUSE_TIPWINDOW = no; then
13990 result=yes
13991 else
13992 result=no
13993 fi
13994 else
13995 result=$wxUSE_TIPWINDOW
13996 fi
13997
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13999 $as_echo "$result" >&6; }
14000
14001
14002 enablestring=
14003 defaultval=$wxUSE_ALL_FEATURES
14004 if test -z "$defaultval"; then
14005 if test x"$enablestring" = xdisable; then
14006 defaultval=yes
14007 else
14008 defaultval=no
14009 fi
14010 fi
14011
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
14013 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
14014 # Check whether --enable-togglebtn was given.
14015 if test "${enable_togglebtn+set}" = set; then :
14016 enableval=$enable_togglebtn;
14017 if test "$enableval" = yes; then
14018 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
14019 else
14020 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
14021 fi
14022
14023 else
14024
14025 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
14026
14027 fi
14028
14029
14030 eval "$wx_cv_use_togglebtn"
14031
14032 if test x"$enablestring" = xdisable; then
14033 if test $wxUSE_TOGGLEBTN = no; then
14034 result=yes
14035 else
14036 result=no
14037 fi
14038 else
14039 result=$wxUSE_TOGGLEBTN
14040 fi
14041
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14043 $as_echo "$result" >&6; }
14044
14045
14046 enablestring=
14047 defaultval=$wxUSE_ALL_FEATURES
14048 if test -z "$defaultval"; then
14049 if test x"$enablestring" = xdisable; then
14050 defaultval=yes
14051 else
14052 defaultval=no
14053 fi
14054 fi
14055
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
14057 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
14058 # Check whether --enable-toolbar was given.
14059 if test "${enable_toolbar+set}" = set; then :
14060 enableval=$enable_toolbar;
14061 if test "$enableval" = yes; then
14062 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
14063 else
14064 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
14065 fi
14066
14067 else
14068
14069 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
14070
14071 fi
14072
14073
14074 eval "$wx_cv_use_toolbar"
14075
14076 if test x"$enablestring" = xdisable; then
14077 if test $wxUSE_TOOLBAR = no; then
14078 result=yes
14079 else
14080 result=no
14081 fi
14082 else
14083 result=$wxUSE_TOOLBAR
14084 fi
14085
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14087 $as_echo "$result" >&6; }
14088
14089
14090 enablestring=
14091 defaultval=$wxUSE_ALL_FEATURES
14092 if test -z "$defaultval"; then
14093 if test x"$enablestring" = xdisable; then
14094 defaultval=yes
14095 else
14096 defaultval=no
14097 fi
14098 fi
14099
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
14101 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
14102 # Check whether --enable-toolbook was given.
14103 if test "${enable_toolbook+set}" = set; then :
14104 enableval=$enable_toolbook;
14105 if test "$enableval" = yes; then
14106 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
14107 else
14108 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
14109 fi
14110
14111 else
14112
14113 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14114
14115 fi
14116
14117
14118 eval "$wx_cv_use_toolbook"
14119
14120 if test x"$enablestring" = xdisable; then
14121 if test $wxUSE_TOOLBOOK = no; then
14122 result=yes
14123 else
14124 result=no
14125 fi
14126 else
14127 result=$wxUSE_TOOLBOOK
14128 fi
14129
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14131 $as_echo "$result" >&6; }
14132
14133
14134 enablestring=
14135 defaultval=$wxUSE_ALL_FEATURES
14136 if test -z "$defaultval"; then
14137 if test x"$enablestring" = xdisable; then
14138 defaultval=yes
14139 else
14140 defaultval=no
14141 fi
14142 fi
14143
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
14145 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
14146 # Check whether --enable-treebook was given.
14147 if test "${enable_treebook+set}" = set; then :
14148 enableval=$enable_treebook;
14149 if test "$enableval" = yes; then
14150 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
14151 else
14152 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
14153 fi
14154
14155 else
14156
14157 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14158
14159 fi
14160
14161
14162 eval "$wx_cv_use_treebook"
14163
14164 if test x"$enablestring" = xdisable; then
14165 if test $wxUSE_TREEBOOK = no; then
14166 result=yes
14167 else
14168 result=no
14169 fi
14170 else
14171 result=$wxUSE_TREEBOOK
14172 fi
14173
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14175 $as_echo "$result" >&6; }
14176
14177
14178 enablestring=
14179 defaultval=$wxUSE_ALL_FEATURES
14180 if test -z "$defaultval"; then
14181 if test x"$enablestring" = xdisable; then
14182 defaultval=yes
14183 else
14184 defaultval=no
14185 fi
14186 fi
14187
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14189 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14190 # Check whether --enable-treectrl was given.
14191 if test "${enable_treectrl+set}" = set; then :
14192 enableval=$enable_treectrl;
14193 if test "$enableval" = yes; then
14194 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14195 else
14196 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14197 fi
14198
14199 else
14200
14201 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14202
14203 fi
14204
14205
14206 eval "$wx_cv_use_treectrl"
14207
14208 if test x"$enablestring" = xdisable; then
14209 if test $wxUSE_TREECTRL = no; then
14210 result=yes
14211 else
14212 result=no
14213 fi
14214 else
14215 result=$wxUSE_TREECTRL
14216 fi
14217
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14219 $as_echo "$result" >&6; }
14220
14221
14222 enablestring=
14223 defaultval=$wxUSE_ALL_FEATURES
14224 if test -z "$defaultval"; then
14225 if test x"$enablestring" = xdisable; then
14226 defaultval=yes
14227 else
14228 defaultval=no
14229 fi
14230 fi
14231
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14233 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14234 # Check whether --enable-treelist was given.
14235 if test "${enable_treelist+set}" = set; then :
14236 enableval=$enable_treelist;
14237 if test "$enableval" = yes; then
14238 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14239 else
14240 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14241 fi
14242
14243 else
14244
14245 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14246
14247 fi
14248
14249
14250 eval "$wx_cv_use_treelist"
14251
14252 if test x"$enablestring" = xdisable; then
14253 if test $wxUSE_TREELISTCTRL = no; then
14254 result=yes
14255 else
14256 result=no
14257 fi
14258 else
14259 result=$wxUSE_TREELISTCTRL
14260 fi
14261
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14263 $as_echo "$result" >&6; }
14264
14265
14266
14267
14268 enablestring=
14269 defaultval=$wxUSE_ALL_FEATURES
14270 if test -z "$defaultval"; then
14271 if test x"$enablestring" = xdisable; then
14272 defaultval=yes
14273 else
14274 defaultval=no
14275 fi
14276 fi
14277
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14279 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14280 # Check whether --enable-commondlg was given.
14281 if test "${enable_commondlg+set}" = set; then :
14282 enableval=$enable_commondlg;
14283 if test "$enableval" = yes; then
14284 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14285 else
14286 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14287 fi
14288
14289 else
14290
14291 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14292
14293 fi
14294
14295
14296 eval "$wx_cv_use_commondlg"
14297
14298 if test x"$enablestring" = xdisable; then
14299 if test $wxUSE_COMMONDLGS = no; then
14300 result=yes
14301 else
14302 result=no
14303 fi
14304 else
14305 result=$wxUSE_COMMONDLGS
14306 fi
14307
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14309 $as_echo "$result" >&6; }
14310
14311
14312 enablestring=
14313 defaultval=$wxUSE_ALL_FEATURES
14314 if test -z "$defaultval"; then
14315 if test x"$enablestring" = xdisable; then
14316 defaultval=yes
14317 else
14318 defaultval=no
14319 fi
14320 fi
14321
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14323 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14324 # Check whether --enable-aboutdlg was given.
14325 if test "${enable_aboutdlg+set}" = set; then :
14326 enableval=$enable_aboutdlg;
14327 if test "$enableval" = yes; then
14328 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14329 else
14330 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14331 fi
14332
14333 else
14334
14335 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14336
14337 fi
14338
14339
14340 eval "$wx_cv_use_aboutdlg"
14341
14342 if test x"$enablestring" = xdisable; then
14343 if test $wxUSE_ABOUTDLG = no; then
14344 result=yes
14345 else
14346 result=no
14347 fi
14348 else
14349 result=$wxUSE_ABOUTDLG
14350 fi
14351
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14353 $as_echo "$result" >&6; }
14354
14355
14356 enablestring=
14357 defaultval=$wxUSE_ALL_FEATURES
14358 if test -z "$defaultval"; then
14359 if test x"$enablestring" = xdisable; then
14360 defaultval=yes
14361 else
14362 defaultval=no
14363 fi
14364 fi
14365
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14367 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14368 # Check whether --enable-choicedlg was given.
14369 if test "${enable_choicedlg+set}" = set; then :
14370 enableval=$enable_choicedlg;
14371 if test "$enableval" = yes; then
14372 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14373 else
14374 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14375 fi
14376
14377 else
14378
14379 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14380
14381 fi
14382
14383
14384 eval "$wx_cv_use_choicedlg"
14385
14386 if test x"$enablestring" = xdisable; then
14387 if test $wxUSE_CHOICEDLG = no; then
14388 result=yes
14389 else
14390 result=no
14391 fi
14392 else
14393 result=$wxUSE_CHOICEDLG
14394 fi
14395
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14397 $as_echo "$result" >&6; }
14398
14399
14400 enablestring=
14401 defaultval=$wxUSE_ALL_FEATURES
14402 if test -z "$defaultval"; then
14403 if test x"$enablestring" = xdisable; then
14404 defaultval=yes
14405 else
14406 defaultval=no
14407 fi
14408 fi
14409
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14411 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14412 # Check whether --enable-coldlg was given.
14413 if test "${enable_coldlg+set}" = set; then :
14414 enableval=$enable_coldlg;
14415 if test "$enableval" = yes; then
14416 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14417 else
14418 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14419 fi
14420
14421 else
14422
14423 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14424
14425 fi
14426
14427
14428 eval "$wx_cv_use_coldlg"
14429
14430 if test x"$enablestring" = xdisable; then
14431 if test $wxUSE_COLOURDLG = no; then
14432 result=yes
14433 else
14434 result=no
14435 fi
14436 else
14437 result=$wxUSE_COLOURDLG
14438 fi
14439
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14441 $as_echo "$result" >&6; }
14442
14443
14444 enablestring=
14445 defaultval=$wxUSE_ALL_FEATURES
14446 if test -z "$defaultval"; then
14447 if test x"$enablestring" = xdisable; then
14448 defaultval=yes
14449 else
14450 defaultval=no
14451 fi
14452 fi
14453
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14455 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14456 # Check whether --enable-filedlg was given.
14457 if test "${enable_filedlg+set}" = set; then :
14458 enableval=$enable_filedlg;
14459 if test "$enableval" = yes; then
14460 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14461 else
14462 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14463 fi
14464
14465 else
14466
14467 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14468
14469 fi
14470
14471
14472 eval "$wx_cv_use_filedlg"
14473
14474 if test x"$enablestring" = xdisable; then
14475 if test $wxUSE_FILEDLG = no; then
14476 result=yes
14477 else
14478 result=no
14479 fi
14480 else
14481 result=$wxUSE_FILEDLG
14482 fi
14483
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14485 $as_echo "$result" >&6; }
14486
14487
14488 enablestring=
14489 defaultval=$wxUSE_ALL_FEATURES
14490 if test -z "$defaultval"; then
14491 if test x"$enablestring" = xdisable; then
14492 defaultval=yes
14493 else
14494 defaultval=no
14495 fi
14496 fi
14497
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14499 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14500 # Check whether --enable-finddlg was given.
14501 if test "${enable_finddlg+set}" = set; then :
14502 enableval=$enable_finddlg;
14503 if test "$enableval" = yes; then
14504 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14505 else
14506 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14507 fi
14508
14509 else
14510
14511 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14512
14513 fi
14514
14515
14516 eval "$wx_cv_use_finddlg"
14517
14518 if test x"$enablestring" = xdisable; then
14519 if test $wxUSE_FINDREPLDLG = no; then
14520 result=yes
14521 else
14522 result=no
14523 fi
14524 else
14525 result=$wxUSE_FINDREPLDLG
14526 fi
14527
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14529 $as_echo "$result" >&6; }
14530
14531
14532 enablestring=
14533 defaultval=$wxUSE_ALL_FEATURES
14534 if test -z "$defaultval"; then
14535 if test x"$enablestring" = xdisable; then
14536 defaultval=yes
14537 else
14538 defaultval=no
14539 fi
14540 fi
14541
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14543 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14544 # Check whether --enable-fontdlg was given.
14545 if test "${enable_fontdlg+set}" = set; then :
14546 enableval=$enable_fontdlg;
14547 if test "$enableval" = yes; then
14548 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14549 else
14550 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14551 fi
14552
14553 else
14554
14555 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14556
14557 fi
14558
14559
14560 eval "$wx_cv_use_fontdlg"
14561
14562 if test x"$enablestring" = xdisable; then
14563 if test $wxUSE_FONTDLG = no; then
14564 result=yes
14565 else
14566 result=no
14567 fi
14568 else
14569 result=$wxUSE_FONTDLG
14570 fi
14571
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14573 $as_echo "$result" >&6; }
14574
14575
14576 enablestring=
14577 defaultval=$wxUSE_ALL_FEATURES
14578 if test -z "$defaultval"; then
14579 if test x"$enablestring" = xdisable; then
14580 defaultval=yes
14581 else
14582 defaultval=no
14583 fi
14584 fi
14585
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14587 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14588 # Check whether --enable-dirdlg was given.
14589 if test "${enable_dirdlg+set}" = set; then :
14590 enableval=$enable_dirdlg;
14591 if test "$enableval" = yes; then
14592 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14593 else
14594 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14595 fi
14596
14597 else
14598
14599 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14600
14601 fi
14602
14603
14604 eval "$wx_cv_use_dirdlg"
14605
14606 if test x"$enablestring" = xdisable; then
14607 if test $wxUSE_DIRDLG = no; then
14608 result=yes
14609 else
14610 result=no
14611 fi
14612 else
14613 result=$wxUSE_DIRDLG
14614 fi
14615
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14617 $as_echo "$result" >&6; }
14618
14619
14620 enablestring=
14621 defaultval=$wxUSE_ALL_FEATURES
14622 if test -z "$defaultval"; then
14623 if test x"$enablestring" = xdisable; then
14624 defaultval=yes
14625 else
14626 defaultval=no
14627 fi
14628 fi
14629
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14631 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14632 # Check whether --enable-msgdlg was given.
14633 if test "${enable_msgdlg+set}" = set; then :
14634 enableval=$enable_msgdlg;
14635 if test "$enableval" = yes; then
14636 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14637 else
14638 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14639 fi
14640
14641 else
14642
14643 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14644
14645 fi
14646
14647
14648 eval "$wx_cv_use_msgdlg"
14649
14650 if test x"$enablestring" = xdisable; then
14651 if test $wxUSE_MSGDLG = no; then
14652 result=yes
14653 else
14654 result=no
14655 fi
14656 else
14657 result=$wxUSE_MSGDLG
14658 fi
14659
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14661 $as_echo "$result" >&6; }
14662
14663
14664 enablestring=
14665 defaultval=$wxUSE_ALL_FEATURES
14666 if test -z "$defaultval"; then
14667 if test x"$enablestring" = xdisable; then
14668 defaultval=yes
14669 else
14670 defaultval=no
14671 fi
14672 fi
14673
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14675 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14676 # Check whether --enable-numberdlg was given.
14677 if test "${enable_numberdlg+set}" = set; then :
14678 enableval=$enable_numberdlg;
14679 if test "$enableval" = yes; then
14680 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14681 else
14682 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14683 fi
14684
14685 else
14686
14687 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14688
14689 fi
14690
14691
14692 eval "$wx_cv_use_numberdlg"
14693
14694 if test x"$enablestring" = xdisable; then
14695 if test $wxUSE_NUMBERDLG = no; then
14696 result=yes
14697 else
14698 result=no
14699 fi
14700 else
14701 result=$wxUSE_NUMBERDLG
14702 fi
14703
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14705 $as_echo "$result" >&6; }
14706
14707
14708 enablestring=
14709 defaultval=$wxUSE_ALL_FEATURES
14710 if test -z "$defaultval"; then
14711 if test x"$enablestring" = xdisable; then
14712 defaultval=yes
14713 else
14714 defaultval=no
14715 fi
14716 fi
14717
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14719 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14720 # Check whether --enable-splash was given.
14721 if test "${enable_splash+set}" = set; then :
14722 enableval=$enable_splash;
14723 if test "$enableval" = yes; then
14724 wx_cv_use_splash='wxUSE_SPLASH=yes'
14725 else
14726 wx_cv_use_splash='wxUSE_SPLASH=no'
14727 fi
14728
14729 else
14730
14731 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14732
14733 fi
14734
14735
14736 eval "$wx_cv_use_splash"
14737
14738 if test x"$enablestring" = xdisable; then
14739 if test $wxUSE_SPLASH = no; then
14740 result=yes
14741 else
14742 result=no
14743 fi
14744 else
14745 result=$wxUSE_SPLASH
14746 fi
14747
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14749 $as_echo "$result" >&6; }
14750
14751
14752 enablestring=
14753 defaultval=$wxUSE_ALL_FEATURES
14754 if test -z "$defaultval"; then
14755 if test x"$enablestring" = xdisable; then
14756 defaultval=yes
14757 else
14758 defaultval=no
14759 fi
14760 fi
14761
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14763 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14764 # Check whether --enable-textdlg was given.
14765 if test "${enable_textdlg+set}" = set; then :
14766 enableval=$enable_textdlg;
14767 if test "$enableval" = yes; then
14768 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14769 else
14770 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14771 fi
14772
14773 else
14774
14775 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14776
14777 fi
14778
14779
14780 eval "$wx_cv_use_textdlg"
14781
14782 if test x"$enablestring" = xdisable; then
14783 if test $wxUSE_TEXTDLG = no; then
14784 result=yes
14785 else
14786 result=no
14787 fi
14788 else
14789 result=$wxUSE_TEXTDLG
14790 fi
14791
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14793 $as_echo "$result" >&6; }
14794
14795
14796 enablestring=
14797 defaultval=$wxUSE_ALL_FEATURES
14798 if test -z "$defaultval"; then
14799 if test x"$enablestring" = xdisable; then
14800 defaultval=yes
14801 else
14802 defaultval=no
14803 fi
14804 fi
14805
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14807 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14808 # Check whether --enable-tipdlg was given.
14809 if test "${enable_tipdlg+set}" = set; then :
14810 enableval=$enable_tipdlg;
14811 if test "$enableval" = yes; then
14812 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14813 else
14814 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14815 fi
14816
14817 else
14818
14819 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14820
14821 fi
14822
14823
14824 eval "$wx_cv_use_tipdlg"
14825
14826 if test x"$enablestring" = xdisable; then
14827 if test $wxUSE_STARTUP_TIPS = no; then
14828 result=yes
14829 else
14830 result=no
14831 fi
14832 else
14833 result=$wxUSE_STARTUP_TIPS
14834 fi
14835
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14837 $as_echo "$result" >&6; }
14838
14839
14840 enablestring=
14841 defaultval=$wxUSE_ALL_FEATURES
14842 if test -z "$defaultval"; then
14843 if test x"$enablestring" = xdisable; then
14844 defaultval=yes
14845 else
14846 defaultval=no
14847 fi
14848 fi
14849
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14851 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14852 # Check whether --enable-progressdlg was given.
14853 if test "${enable_progressdlg+set}" = set; then :
14854 enableval=$enable_progressdlg;
14855 if test "$enableval" = yes; then
14856 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14857 else
14858 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14859 fi
14860
14861 else
14862
14863 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14864
14865 fi
14866
14867
14868 eval "$wx_cv_use_progressdlg"
14869
14870 if test x"$enablestring" = xdisable; then
14871 if test $wxUSE_PROGRESSDLG = no; then
14872 result=yes
14873 else
14874 result=no
14875 fi
14876 else
14877 result=$wxUSE_PROGRESSDLG
14878 fi
14879
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14881 $as_echo "$result" >&6; }
14882
14883
14884 enablestring=
14885 defaultval=$wxUSE_ALL_FEATURES
14886 if test -z "$defaultval"; then
14887 if test x"$enablestring" = xdisable; then
14888 defaultval=yes
14889 else
14890 defaultval=no
14891 fi
14892 fi
14893
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14895 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14896 # Check whether --enable-wizarddlg was given.
14897 if test "${enable_wizarddlg+set}" = set; then :
14898 enableval=$enable_wizarddlg;
14899 if test "$enableval" = yes; then
14900 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14901 else
14902 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14903 fi
14904
14905 else
14906
14907 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14908
14909 fi
14910
14911
14912 eval "$wx_cv_use_wizarddlg"
14913
14914 if test x"$enablestring" = xdisable; then
14915 if test $wxUSE_WIZARDDLG = no; then
14916 result=yes
14917 else
14918 result=no
14919 fi
14920 else
14921 result=$wxUSE_WIZARDDLG
14922 fi
14923
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14925 $as_echo "$result" >&6; }
14926
14927
14928
14929
14930 enablestring=
14931 defaultval=$wxUSE_ALL_FEATURES
14932 if test -z "$defaultval"; then
14933 if test x"$enablestring" = xdisable; then
14934 defaultval=yes
14935 else
14936 defaultval=no
14937 fi
14938 fi
14939
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14941 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14942 # Check whether --enable-menus was given.
14943 if test "${enable_menus+set}" = set; then :
14944 enableval=$enable_menus;
14945 if test "$enableval" = yes; then
14946 wx_cv_use_menus='wxUSE_MENUS=yes'
14947 else
14948 wx_cv_use_menus='wxUSE_MENUS=no'
14949 fi
14950
14951 else
14952
14953 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14954
14955 fi
14956
14957
14958 eval "$wx_cv_use_menus"
14959
14960 if test x"$enablestring" = xdisable; then
14961 if test $wxUSE_MENUS = no; then
14962 result=yes
14963 else
14964 result=no
14965 fi
14966 else
14967 result=$wxUSE_MENUS
14968 fi
14969
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14971 $as_echo "$result" >&6; }
14972
14973
14974 enablestring=
14975 defaultval=$wxUSE_ALL_FEATURES
14976 if test -z "$defaultval"; then
14977 if test x"$enablestring" = xdisable; then
14978 defaultval=yes
14979 else
14980 defaultval=no
14981 fi
14982 fi
14983
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14985 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14986 # Check whether --enable-miniframe was given.
14987 if test "${enable_miniframe+set}" = set; then :
14988 enableval=$enable_miniframe;
14989 if test "$enableval" = yes; then
14990 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14991 else
14992 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14993 fi
14994
14995 else
14996
14997 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14998
14999 fi
15000
15001
15002 eval "$wx_cv_use_miniframe"
15003
15004 if test x"$enablestring" = xdisable; then
15005 if test $wxUSE_MINIFRAME = no; then
15006 result=yes
15007 else
15008 result=no
15009 fi
15010 else
15011 result=$wxUSE_MINIFRAME
15012 fi
15013
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15015 $as_echo "$result" >&6; }
15016
15017
15018 enablestring=
15019 defaultval=$wxUSE_ALL_FEATURES
15020 if test -z "$defaultval"; then
15021 if test x"$enablestring" = xdisable; then
15022 defaultval=yes
15023 else
15024 defaultval=no
15025 fi
15026 fi
15027
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
15029 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
15030 # Check whether --enable-tooltips was given.
15031 if test "${enable_tooltips+set}" = set; then :
15032 enableval=$enable_tooltips;
15033 if test "$enableval" = yes; then
15034 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15035 else
15036 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15037 fi
15038
15039 else
15040
15041 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15042
15043 fi
15044
15045
15046 eval "$wx_cv_use_tooltips"
15047
15048 if test x"$enablestring" = xdisable; then
15049 if test $wxUSE_TOOLTIPS = no; then
15050 result=yes
15051 else
15052 result=no
15053 fi
15054 else
15055 result=$wxUSE_TOOLTIPS
15056 fi
15057
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15059 $as_echo "$result" >&6; }
15060
15061
15062 enablestring=
15063 defaultval=$wxUSE_ALL_FEATURES
15064 if test -z "$defaultval"; then
15065 if test x"$enablestring" = xdisable; then
15066 defaultval=yes
15067 else
15068 defaultval=no
15069 fi
15070 fi
15071
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
15073 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
15074 # Check whether --enable-splines was given.
15075 if test "${enable_splines+set}" = set; then :
15076 enableval=$enable_splines;
15077 if test "$enableval" = yes; then
15078 wx_cv_use_splines='wxUSE_SPLINES=yes'
15079 else
15080 wx_cv_use_splines='wxUSE_SPLINES=no'
15081 fi
15082
15083 else
15084
15085 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15086
15087 fi
15088
15089
15090 eval "$wx_cv_use_splines"
15091
15092 if test x"$enablestring" = xdisable; then
15093 if test $wxUSE_SPLINES = no; then
15094 result=yes
15095 else
15096 result=no
15097 fi
15098 else
15099 result=$wxUSE_SPLINES
15100 fi
15101
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15103 $as_echo "$result" >&6; }
15104
15105
15106 enablestring=
15107 defaultval=$wxUSE_ALL_FEATURES
15108 if test -z "$defaultval"; then
15109 if test x"$enablestring" = xdisable; then
15110 defaultval=yes
15111 else
15112 defaultval=no
15113 fi
15114 fi
15115
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
15117 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
15118 # Check whether --enable-mousewheel was given.
15119 if test "${enable_mousewheel+set}" = set; then :
15120 enableval=$enable_mousewheel;
15121 if test "$enableval" = yes; then
15122 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15123 else
15124 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15125 fi
15126
15127 else
15128
15129 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15130
15131 fi
15132
15133
15134 eval "$wx_cv_use_mousewheel"
15135
15136 if test x"$enablestring" = xdisable; then
15137 if test $wxUSE_MOUSEWHEEL = no; then
15138 result=yes
15139 else
15140 result=no
15141 fi
15142 else
15143 result=$wxUSE_MOUSEWHEEL
15144 fi
15145
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15147 $as_echo "$result" >&6; }
15148
15149
15150 enablestring=
15151 defaultval=$wxUSE_ALL_FEATURES
15152 if test -z "$defaultval"; then
15153 if test x"$enablestring" = xdisable; then
15154 defaultval=yes
15155 else
15156 defaultval=no
15157 fi
15158 fi
15159
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
15161 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
15162 # Check whether --enable-validators was given.
15163 if test "${enable_validators+set}" = set; then :
15164 enableval=$enable_validators;
15165 if test "$enableval" = yes; then
15166 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15167 else
15168 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15169 fi
15170
15171 else
15172
15173 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15174
15175 fi
15176
15177
15178 eval "$wx_cv_use_validators"
15179
15180 if test x"$enablestring" = xdisable; then
15181 if test $wxUSE_VALIDATORS = no; then
15182 result=yes
15183 else
15184 result=no
15185 fi
15186 else
15187 result=$wxUSE_VALIDATORS
15188 fi
15189
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15191 $as_echo "$result" >&6; }
15192
15193
15194 enablestring=
15195 defaultval=$wxUSE_ALL_FEATURES
15196 if test -z "$defaultval"; then
15197 if test x"$enablestring" = xdisable; then
15198 defaultval=yes
15199 else
15200 defaultval=no
15201 fi
15202 fi
15203
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15205 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15206 # Check whether --enable-busyinfo was given.
15207 if test "${enable_busyinfo+set}" = set; then :
15208 enableval=$enable_busyinfo;
15209 if test "$enableval" = yes; then
15210 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15211 else
15212 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15213 fi
15214
15215 else
15216
15217 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15218
15219 fi
15220
15221
15222 eval "$wx_cv_use_busyinfo"
15223
15224 if test x"$enablestring" = xdisable; then
15225 if test $wxUSE_BUSYINFO = no; then
15226 result=yes
15227 else
15228 result=no
15229 fi
15230 else
15231 result=$wxUSE_BUSYINFO
15232 fi
15233
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15235 $as_echo "$result" >&6; }
15236
15237
15238 enablestring=
15239 defaultval=$wxUSE_ALL_FEATURES
15240 if test -z "$defaultval"; then
15241 if test x"$enablestring" = xdisable; then
15242 defaultval=yes
15243 else
15244 defaultval=no
15245 fi
15246 fi
15247
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15249 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15250 # Check whether --enable-hotkey was given.
15251 if test "${enable_hotkey+set}" = set; then :
15252 enableval=$enable_hotkey;
15253 if test "$enableval" = yes; then
15254 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15255 else
15256 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15257 fi
15258
15259 else
15260
15261 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15262
15263 fi
15264
15265
15266 eval "$wx_cv_use_hotkey"
15267
15268 if test x"$enablestring" = xdisable; then
15269 if test $wxUSE_HOTKEY = no; then
15270 result=yes
15271 else
15272 result=no
15273 fi
15274 else
15275 result=$wxUSE_HOTKEY
15276 fi
15277
15278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15279 $as_echo "$result" >&6; }
15280
15281
15282 enablestring=
15283 defaultval=$wxUSE_ALL_FEATURES
15284 if test -z "$defaultval"; then
15285 if test x"$enablestring" = xdisable; then
15286 defaultval=yes
15287 else
15288 defaultval=no
15289 fi
15290 fi
15291
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15293 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15294 # Check whether --enable-joystick was given.
15295 if test "${enable_joystick+set}" = set; then :
15296 enableval=$enable_joystick;
15297 if test "$enableval" = yes; then
15298 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15299 else
15300 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15301 fi
15302
15303 else
15304
15305 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15306
15307 fi
15308
15309
15310 eval "$wx_cv_use_joystick"
15311
15312 if test x"$enablestring" = xdisable; then
15313 if test $wxUSE_JOYSTICK = no; then
15314 result=yes
15315 else
15316 result=no
15317 fi
15318 else
15319 result=$wxUSE_JOYSTICK
15320 fi
15321
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15323 $as_echo "$result" >&6; }
15324
15325
15326 enablestring=
15327 defaultval=$wxUSE_ALL_FEATURES
15328 if test -z "$defaultval"; then
15329 if test x"$enablestring" = xdisable; then
15330 defaultval=yes
15331 else
15332 defaultval=no
15333 fi
15334 fi
15335
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15337 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15338 # Check whether --enable-metafile was given.
15339 if test "${enable_metafile+set}" = set; then :
15340 enableval=$enable_metafile;
15341 if test "$enableval" = yes; then
15342 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15343 else
15344 wx_cv_use_metafile='wxUSE_METAFILE=no'
15345 fi
15346
15347 else
15348
15349 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15350
15351 fi
15352
15353
15354 eval "$wx_cv_use_metafile"
15355
15356 if test x"$enablestring" = xdisable; then
15357 if test $wxUSE_METAFILE = no; then
15358 result=yes
15359 else
15360 result=no
15361 fi
15362 else
15363 result=$wxUSE_METAFILE
15364 fi
15365
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15367 $as_echo "$result" >&6; }
15368
15369
15370 enablestring=
15371 defaultval=$wxUSE_ALL_FEATURES
15372 if test -z "$defaultval"; then
15373 if test x"$enablestring" = xdisable; then
15374 defaultval=yes
15375 else
15376 defaultval=no
15377 fi
15378 fi
15379
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15381 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15382 # Check whether --enable-dragimage was given.
15383 if test "${enable_dragimage+set}" = set; then :
15384 enableval=$enable_dragimage;
15385 if test "$enableval" = yes; then
15386 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15387 else
15388 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15389 fi
15390
15391 else
15392
15393 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15394
15395 fi
15396
15397
15398 eval "$wx_cv_use_dragimage"
15399
15400 if test x"$enablestring" = xdisable; then
15401 if test $wxUSE_DRAGIMAGE = no; then
15402 result=yes
15403 else
15404 result=no
15405 fi
15406 else
15407 result=$wxUSE_DRAGIMAGE
15408 fi
15409
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15411 $as_echo "$result" >&6; }
15412
15413
15414 enablestring=
15415 defaultval=$wxUSE_ALL_FEATURES
15416 if test -z "$defaultval"; then
15417 if test x"$enablestring" = xdisable; then
15418 defaultval=yes
15419 else
15420 defaultval=no
15421 fi
15422 fi
15423
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15425 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15426 # Check whether --enable-accessibility was given.
15427 if test "${enable_accessibility+set}" = set; then :
15428 enableval=$enable_accessibility;
15429 if test "$enableval" = yes; then
15430 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15431 else
15432 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15433 fi
15434
15435 else
15436
15437 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15438
15439 fi
15440
15441
15442 eval "$wx_cv_use_accessibility"
15443
15444 if test x"$enablestring" = xdisable; then
15445 if test $wxUSE_ACCESSIBILITY = no; then
15446 result=yes
15447 else
15448 result=no
15449 fi
15450 else
15451 result=$wxUSE_ACCESSIBILITY
15452 fi
15453
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15455 $as_echo "$result" >&6; }
15456
15457
15458 enablestring=
15459 defaultval=$wxUSE_ALL_FEATURES
15460 if test -z "$defaultval"; then
15461 if test x"$enablestring" = xdisable; then
15462 defaultval=yes
15463 else
15464 defaultval=no
15465 fi
15466 fi
15467
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15469 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15470 # Check whether --enable-uiactionsim was given.
15471 if test "${enable_uiactionsim+set}" = set; then :
15472 enableval=$enable_uiactionsim;
15473 if test "$enableval" = yes; then
15474 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15475 else
15476 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15477 fi
15478
15479 else
15480
15481 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15482
15483 fi
15484
15485
15486 eval "$wx_cv_use_uiactionsim"
15487
15488 if test x"$enablestring" = xdisable; then
15489 if test $wxUSE_UIACTIONSIMULATOR = no; then
15490 result=yes
15491 else
15492 result=no
15493 fi
15494 else
15495 result=$wxUSE_UIACTIONSIMULATOR
15496 fi
15497
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15499 $as_echo "$result" >&6; }
15500
15501
15502 enablestring=
15503 defaultval=$wxUSE_ALL_FEATURES
15504 if test -z "$defaultval"; then
15505 if test x"$enablestring" = xdisable; then
15506 defaultval=yes
15507 else
15508 defaultval=no
15509 fi
15510 fi
15511
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15513 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15514 # Check whether --enable-dctransform was given.
15515 if test "${enable_dctransform+set}" = set; then :
15516 enableval=$enable_dctransform;
15517 if test "$enableval" = yes; then
15518 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15519 else
15520 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15521 fi
15522
15523 else
15524
15525 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15526
15527 fi
15528
15529
15530 eval "$wx_cv_use_dctransform"
15531
15532 if test x"$enablestring" = xdisable; then
15533 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15534 result=yes
15535 else
15536 result=no
15537 fi
15538 else
15539 result=$wxUSE_DC_TRANSFORM_MATRIX
15540 fi
15541
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15543 $as_echo "$result" >&6; }
15544
15545
15546 enablestring=
15547 defaultval=$wxUSE_ALL_FEATURES
15548 if test -z "$defaultval"; then
15549 if test x"$enablestring" = xdisable; then
15550 defaultval=yes
15551 else
15552 defaultval=no
15553 fi
15554 fi
15555
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15557 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15558 # Check whether --enable-webviewwebkit was given.
15559 if test "${enable_webviewwebkit+set}" = set; then :
15560 enableval=$enable_webviewwebkit;
15561 if test "$enableval" = yes; then
15562 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15563 else
15564 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15565 fi
15566
15567 else
15568
15569 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15570
15571 fi
15572
15573
15574 eval "$wx_cv_use_webviewwebkit"
15575
15576 if test x"$enablestring" = xdisable; then
15577 if test $wxUSE_WEBVIEW_WEBKIT = no; then
15578 result=yes
15579 else
15580 result=no
15581 fi
15582 else
15583 result=$wxUSE_WEBVIEW_WEBKIT
15584 fi
15585
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15587 $as_echo "$result" >&6; }
15588
15589
15590
15591
15592 enablestring=
15593 defaultval=$wxUSE_ALL_FEATURES
15594 if test -z "$defaultval"; then
15595 if test x"$enablestring" = xdisable; then
15596 defaultval=yes
15597 else
15598 defaultval=no
15599 fi
15600 fi
15601
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15603 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15604 # Check whether --enable-palette was given.
15605 if test "${enable_palette+set}" = set; then :
15606 enableval=$enable_palette;
15607 if test "$enableval" = yes; then
15608 wx_cv_use_palette='wxUSE_PALETTE=yes'
15609 else
15610 wx_cv_use_palette='wxUSE_PALETTE=no'
15611 fi
15612
15613 else
15614
15615 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15616
15617 fi
15618
15619
15620 eval "$wx_cv_use_palette"
15621
15622 if test x"$enablestring" = xdisable; then
15623 if test $wxUSE_PALETTE = no; then
15624 result=yes
15625 else
15626 result=no
15627 fi
15628 else
15629 result=$wxUSE_PALETTE
15630 fi
15631
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15633 $as_echo "$result" >&6; }
15634
15635
15636 enablestring=
15637 defaultval=$wxUSE_ALL_FEATURES
15638 if test -z "$defaultval"; then
15639 if test x"$enablestring" = xdisable; then
15640 defaultval=yes
15641 else
15642 defaultval=no
15643 fi
15644 fi
15645
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15647 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15648 # Check whether --enable-image was given.
15649 if test "${enable_image+set}" = set; then :
15650 enableval=$enable_image;
15651 if test "$enableval" = yes; then
15652 wx_cv_use_image='wxUSE_IMAGE=yes'
15653 else
15654 wx_cv_use_image='wxUSE_IMAGE=no'
15655 fi
15656
15657 else
15658
15659 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15660
15661 fi
15662
15663
15664 eval "$wx_cv_use_image"
15665
15666 if test x"$enablestring" = xdisable; then
15667 if test $wxUSE_IMAGE = no; then
15668 result=yes
15669 else
15670 result=no
15671 fi
15672 else
15673 result=$wxUSE_IMAGE
15674 fi
15675
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15677 $as_echo "$result" >&6; }
15678
15679
15680 enablestring=
15681 defaultval=$wxUSE_ALL_FEATURES
15682 if test -z "$defaultval"; then
15683 if test x"$enablestring" = xdisable; then
15684 defaultval=yes
15685 else
15686 defaultval=no
15687 fi
15688 fi
15689
15690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15691 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15692 # Check whether --enable-gif was given.
15693 if test "${enable_gif+set}" = set; then :
15694 enableval=$enable_gif;
15695 if test "$enableval" = yes; then
15696 wx_cv_use_gif='wxUSE_GIF=yes'
15697 else
15698 wx_cv_use_gif='wxUSE_GIF=no'
15699 fi
15700
15701 else
15702
15703 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15704
15705 fi
15706
15707
15708 eval "$wx_cv_use_gif"
15709
15710 if test x"$enablestring" = xdisable; then
15711 if test $wxUSE_GIF = no; then
15712 result=yes
15713 else
15714 result=no
15715 fi
15716 else
15717 result=$wxUSE_GIF
15718 fi
15719
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15721 $as_echo "$result" >&6; }
15722
15723
15724 enablestring=
15725 defaultval=$wxUSE_ALL_FEATURES
15726 if test -z "$defaultval"; then
15727 if test x"$enablestring" = xdisable; then
15728 defaultval=yes
15729 else
15730 defaultval=no
15731 fi
15732 fi
15733
15734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15735 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15736 # Check whether --enable-pcx was given.
15737 if test "${enable_pcx+set}" = set; then :
15738 enableval=$enable_pcx;
15739 if test "$enableval" = yes; then
15740 wx_cv_use_pcx='wxUSE_PCX=yes'
15741 else
15742 wx_cv_use_pcx='wxUSE_PCX=no'
15743 fi
15744
15745 else
15746
15747 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15748
15749 fi
15750
15751
15752 eval "$wx_cv_use_pcx"
15753
15754 if test x"$enablestring" = xdisable; then
15755 if test $wxUSE_PCX = no; then
15756 result=yes
15757 else
15758 result=no
15759 fi
15760 else
15761 result=$wxUSE_PCX
15762 fi
15763
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15765 $as_echo "$result" >&6; }
15766
15767
15768 enablestring=
15769 defaultval=$wxUSE_ALL_FEATURES
15770 if test -z "$defaultval"; then
15771 if test x"$enablestring" = xdisable; then
15772 defaultval=yes
15773 else
15774 defaultval=no
15775 fi
15776 fi
15777
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15779 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15780 # Check whether --enable-tga was given.
15781 if test "${enable_tga+set}" = set; then :
15782 enableval=$enable_tga;
15783 if test "$enableval" = yes; then
15784 wx_cv_use_tga='wxUSE_TGA=yes'
15785 else
15786 wx_cv_use_tga='wxUSE_TGA=no'
15787 fi
15788
15789 else
15790
15791 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15792
15793 fi
15794
15795
15796 eval "$wx_cv_use_tga"
15797
15798 if test x"$enablestring" = xdisable; then
15799 if test $wxUSE_TGA = no; then
15800 result=yes
15801 else
15802 result=no
15803 fi
15804 else
15805 result=$wxUSE_TGA
15806 fi
15807
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15809 $as_echo "$result" >&6; }
15810
15811
15812 enablestring=
15813 defaultval=$wxUSE_ALL_FEATURES
15814 if test -z "$defaultval"; then
15815 if test x"$enablestring" = xdisable; then
15816 defaultval=yes
15817 else
15818 defaultval=no
15819 fi
15820 fi
15821
15822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15823 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15824 # Check whether --enable-iff was given.
15825 if test "${enable_iff+set}" = set; then :
15826 enableval=$enable_iff;
15827 if test "$enableval" = yes; then
15828 wx_cv_use_iff='wxUSE_IFF=yes'
15829 else
15830 wx_cv_use_iff='wxUSE_IFF=no'
15831 fi
15832
15833 else
15834
15835 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15836
15837 fi
15838
15839
15840 eval "$wx_cv_use_iff"
15841
15842 if test x"$enablestring" = xdisable; then
15843 if test $wxUSE_IFF = no; then
15844 result=yes
15845 else
15846 result=no
15847 fi
15848 else
15849 result=$wxUSE_IFF
15850 fi
15851
15852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15853 $as_echo "$result" >&6; }
15854
15855
15856 enablestring=
15857 defaultval=$wxUSE_ALL_FEATURES
15858 if test -z "$defaultval"; then
15859 if test x"$enablestring" = xdisable; then
15860 defaultval=yes
15861 else
15862 defaultval=no
15863 fi
15864 fi
15865
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15867 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15868 # Check whether --enable-pnm was given.
15869 if test "${enable_pnm+set}" = set; then :
15870 enableval=$enable_pnm;
15871 if test "$enableval" = yes; then
15872 wx_cv_use_pnm='wxUSE_PNM=yes'
15873 else
15874 wx_cv_use_pnm='wxUSE_PNM=no'
15875 fi
15876
15877 else
15878
15879 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15880
15881 fi
15882
15883
15884 eval "$wx_cv_use_pnm"
15885
15886 if test x"$enablestring" = xdisable; then
15887 if test $wxUSE_PNM = no; then
15888 result=yes
15889 else
15890 result=no
15891 fi
15892 else
15893 result=$wxUSE_PNM
15894 fi
15895
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15897 $as_echo "$result" >&6; }
15898
15899
15900 enablestring=
15901 defaultval=$wxUSE_ALL_FEATURES
15902 if test -z "$defaultval"; then
15903 if test x"$enablestring" = xdisable; then
15904 defaultval=yes
15905 else
15906 defaultval=no
15907 fi
15908 fi
15909
15910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15911 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15912 # Check whether --enable-xpm was given.
15913 if test "${enable_xpm+set}" = set; then :
15914 enableval=$enable_xpm;
15915 if test "$enableval" = yes; then
15916 wx_cv_use_xpm='wxUSE_XPM=yes'
15917 else
15918 wx_cv_use_xpm='wxUSE_XPM=no'
15919 fi
15920
15921 else
15922
15923 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15924
15925 fi
15926
15927
15928 eval "$wx_cv_use_xpm"
15929
15930 if test x"$enablestring" = xdisable; then
15931 if test $wxUSE_XPM = no; then
15932 result=yes
15933 else
15934 result=no
15935 fi
15936 else
15937 result=$wxUSE_XPM
15938 fi
15939
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15941 $as_echo "$result" >&6; }
15942
15943
15944 enablestring=
15945 defaultval=$wxUSE_ALL_FEATURES
15946 if test -z "$defaultval"; then
15947 if test x"$enablestring" = xdisable; then
15948 defaultval=yes
15949 else
15950 defaultval=no
15951 fi
15952 fi
15953
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15955 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15956 # Check whether --enable-ico_cur was given.
15957 if test "${enable_ico_cur+set}" = set; then :
15958 enableval=$enable_ico_cur;
15959 if test "$enableval" = yes; then
15960 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15961 else
15962 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15963 fi
15964
15965 else
15966
15967 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15968
15969 fi
15970
15971
15972 eval "$wx_cv_use_ico_cur"
15973
15974 if test x"$enablestring" = xdisable; then
15975 if test $wxUSE_ICO_CUR = no; then
15976 result=yes
15977 else
15978 result=no
15979 fi
15980 else
15981 result=$wxUSE_ICO_CUR
15982 fi
15983
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15985 $as_echo "$result" >&6; }
15986
15987
15988
15989
15990 enablestring=
15991 defaultval=$wxUSE_ALL_FEATURES
15992 if test -z "$defaultval"; then
15993 if test x"$enablestring" = xdisable; then
15994 defaultval=yes
15995 else
15996 defaultval=no
15997 fi
15998 fi
15999
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
16001 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
16002 # Check whether --enable-dccache was given.
16003 if test "${enable_dccache+set}" = set; then :
16004 enableval=$enable_dccache;
16005 if test "$enableval" = yes; then
16006 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16007 else
16008 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16009 fi
16010
16011 else
16012
16013 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16014
16015 fi
16016
16017
16018 eval "$wx_cv_use_dccache"
16019
16020 if test x"$enablestring" = xdisable; then
16021 if test $wxUSE_DC_CACHEING = no; then
16022 result=yes
16023 else
16024 result=no
16025 fi
16026 else
16027 result=$wxUSE_DC_CACHEING
16028 fi
16029
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16031 $as_echo "$result" >&6; }
16032
16033
16034 enablestring=
16035 defaultval=$wxUSE_ALL_FEATURES
16036 if test -z "$defaultval"; then
16037 if test x"$enablestring" = xdisable; then
16038 defaultval=yes
16039 else
16040 defaultval=no
16041 fi
16042 fi
16043
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
16045 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
16046 # Check whether --enable-ps-in-msw was given.
16047 if test "${enable_ps_in_msw+set}" = set; then :
16048 enableval=$enable_ps_in_msw;
16049 if test "$enableval" = yes; then
16050 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16051 else
16052 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16053 fi
16054
16055 else
16056
16057 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16058
16059 fi
16060
16061
16062 eval "$wx_cv_use_ps_in_msw"
16063
16064 if test x"$enablestring" = xdisable; then
16065 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
16066 result=yes
16067 else
16068 result=no
16069 fi
16070 else
16071 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16072 fi
16073
16074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16075 $as_echo "$result" >&6; }
16076
16077
16078 enablestring=
16079 defaultval=$wxUSE_ALL_FEATURES
16080 if test -z "$defaultval"; then
16081 if test x"$enablestring" = xdisable; then
16082 defaultval=yes
16083 else
16084 defaultval=no
16085 fi
16086 fi
16087
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
16089 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
16090 # Check whether --enable-ownerdrawn was given.
16091 if test "${enable_ownerdrawn+set}" = set; then :
16092 enableval=$enable_ownerdrawn;
16093 if test "$enableval" = yes; then
16094 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16095 else
16096 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16097 fi
16098
16099 else
16100
16101 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16102
16103 fi
16104
16105
16106 eval "$wx_cv_use_ownerdrawn"
16107
16108 if test x"$enablestring" = xdisable; then
16109 if test $wxUSE_OWNER_DRAWN = no; then
16110 result=yes
16111 else
16112 result=no
16113 fi
16114 else
16115 result=$wxUSE_OWNER_DRAWN
16116 fi
16117
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16119 $as_echo "$result" >&6; }
16120
16121
16122 enablestring=
16123 defaultval=$wxUSE_ALL_FEATURES
16124 if test -z "$defaultval"; then
16125 if test x"$enablestring" = xdisable; then
16126 defaultval=yes
16127 else
16128 defaultval=no
16129 fi
16130 fi
16131
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
16133 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
16134 # Check whether --enable-uxtheme was given.
16135 if test "${enable_uxtheme+set}" = set; then :
16136 enableval=$enable_uxtheme;
16137 if test "$enableval" = yes; then
16138 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16139 else
16140 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16141 fi
16142
16143 else
16144
16145 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16146
16147 fi
16148
16149
16150 eval "$wx_cv_use_uxtheme"
16151
16152 if test x"$enablestring" = xdisable; then
16153 if test $wxUSE_UXTHEME = no; then
16154 result=yes
16155 else
16156 result=no
16157 fi
16158 else
16159 result=$wxUSE_UXTHEME
16160 fi
16161
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16163 $as_echo "$result" >&6; }
16164
16165
16166 enablestring=
16167 defaultval=$wxUSE_ALL_FEATURES
16168 if test -z "$defaultval"; then
16169 if test x"$enablestring" = xdisable; then
16170 defaultval=yes
16171 else
16172 defaultval=no
16173 fi
16174 fi
16175
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
16177 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
16178 # Check whether --enable-wxdib was given.
16179 if test "${enable_wxdib+set}" = set; then :
16180 enableval=$enable_wxdib;
16181 if test "$enableval" = yes; then
16182 wx_cv_use_wxdib='wxUSE_DIB=yes'
16183 else
16184 wx_cv_use_wxdib='wxUSE_DIB=no'
16185 fi
16186
16187 else
16188
16189 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16190
16191 fi
16192
16193
16194 eval "$wx_cv_use_wxdib"
16195
16196 if test x"$enablestring" = xdisable; then
16197 if test $wxUSE_DIB = no; then
16198 result=yes
16199 else
16200 result=no
16201 fi
16202 else
16203 result=$wxUSE_DIB
16204 fi
16205
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16207 $as_echo "$result" >&6; }
16208
16209
16210 enablestring=
16211 defaultval=$wxUSE_ALL_FEATURES
16212 if test -z "$defaultval"; then
16213 if test x"$enablestring" = xdisable; then
16214 defaultval=yes
16215 else
16216 defaultval=no
16217 fi
16218 fi
16219
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16221 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16222 # Check whether --enable-webviewie was given.
16223 if test "${enable_webviewie+set}" = set; then :
16224 enableval=$enable_webviewie;
16225 if test "$enableval" = yes; then
16226 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16227 else
16228 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16229 fi
16230
16231 else
16232
16233 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16234
16235 fi
16236
16237
16238 eval "$wx_cv_use_webviewie"
16239
16240 if test x"$enablestring" = xdisable; then
16241 if test $wxUSE_WEBVIEW_IE = no; then
16242 result=yes
16243 else
16244 result=no
16245 fi
16246 else
16247 result=$wxUSE_WEBVIEW_IE
16248 fi
16249
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16251 $as_echo "$result" >&6; }
16252
16253
16254 if test "$wxUSE_MSW" != 1; then
16255 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16256 fi
16257
16258
16259 enablestring=
16260 defaultval=$wxUSE_ALL_FEATURES
16261 if test -z "$defaultval"; then
16262 if test x"$enablestring" = xdisable; then
16263 defaultval=yes
16264 else
16265 defaultval=no
16266 fi
16267 fi
16268
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16270 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16271 # Check whether --enable-autoidman was given.
16272 if test "${enable_autoidman+set}" = set; then :
16273 enableval=$enable_autoidman;
16274 if test "$enableval" = yes; then
16275 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16276 else
16277 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16278 fi
16279
16280 else
16281
16282 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16283
16284 fi
16285
16286
16287 eval "$wx_cv_use_autoidman"
16288
16289 if test x"$enablestring" = xdisable; then
16290 if test $wxUSE_AUTOID_MANAGEMENT = no; then
16291 result=yes
16292 else
16293 result=no
16294 fi
16295 else
16296 result=$wxUSE_AUTOID_MANAGEMENT
16297 fi
16298
16299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16300 $as_echo "$result" >&6; }
16301
16302
16303 fi
16304
16305
16306 cat >confcache <<\_ACEOF
16307 # This file is a shell script that caches the results of configure
16308 # tests run on this system so they can be shared between configure
16309 # scripts and configure runs, see configure's option --config-cache.
16310 # It is not useful on other systems. If it contains results you don't
16311 # want to keep, you may remove or edit it.
16312 #
16313 # config.status only pays attention to the cache file if you give it
16314 # the --recheck option to rerun configure.
16315 #
16316 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16317 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16318 # following values.
16319
16320 _ACEOF
16321
16322 # The following way of writing the cache mishandles newlines in values,
16323 # but we know of no workaround that is simple, portable, and efficient.
16324 # So, we kill variables containing newlines.
16325 # Ultrix sh set writes to stderr and can't be redirected directly,
16326 # and sets the high bit in the cache file unless we assign to the vars.
16327 (
16328 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16329 eval ac_val=\$$ac_var
16330 case $ac_val in #(
16331 *${as_nl}*)
16332 case $ac_var in #(
16333 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16334 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16335 esac
16336 case $ac_var in #(
16337 _ | IFS | as_nl) ;; #(
16338 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16339 *) { eval $ac_var=; unset $ac_var;} ;;
16340 esac ;;
16341 esac
16342 done
16343
16344 (set) 2>&1 |
16345 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16346 *${as_nl}ac_space=\ *)
16347 # `set' does not quote correctly, so add quotes: double-quote
16348 # substitution turns \\\\ into \\, and sed turns \\ into \.
16349 sed -n \
16350 "s/'/'\\\\''/g;
16351 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16352 ;; #(
16353 *)
16354 # `set' quotes correctly as required by POSIX, so do not add quotes.
16355 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16356 ;;
16357 esac |
16358 sort
16359 ) |
16360 sed '
16361 /^ac_cv_env_/b end
16362 t clear
16363 :clear
16364 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16365 t end
16366 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16367 :end' >>confcache
16368 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16369 if test -w "$cache_file"; then
16370 if test "x$cache_file" != "x/dev/null"; then
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16372 $as_echo "$as_me: updating cache $cache_file" >&6;}
16373 if test ! -f "$cache_file" || test -h "$cache_file"; then
16374 cat confcache >"$cache_file"
16375 else
16376 case $cache_file in #(
16377 */* | ?:*)
16378 mv -f confcache "$cache_file"$$ &&
16379 mv -f "$cache_file"$$ "$cache_file" ;; #(
16380 *)
16381 mv -f confcache "$cache_file" ;;
16382 esac
16383 fi
16384 fi
16385 else
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16387 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16388 fi
16389 fi
16390 rm -f confcache
16391
16392 CFLAGS=${CFLAGS:=}
16393 ac_ext=c
16394 ac_cpp='$CPP $CPPFLAGS'
16395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16398 if test -n "$ac_tool_prefix"; then
16399 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16400 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16402 $as_echo_n "checking for $ac_word... " >&6; }
16403 if ${ac_cv_prog_CC+:} false; then :
16404 $as_echo_n "(cached) " >&6
16405 else
16406 if test -n "$CC"; then
16407 ac_cv_prog_CC="$CC" # Let the user override the test.
16408 else
16409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16410 for as_dir in $PATH
16411 do
16412 IFS=$as_save_IFS
16413 test -z "$as_dir" && as_dir=.
16414 for ac_exec_ext in '' $ac_executable_extensions; do
16415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16416 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16418 break 2
16419 fi
16420 done
16421 done
16422 IFS=$as_save_IFS
16423
16424 fi
16425 fi
16426 CC=$ac_cv_prog_CC
16427 if test -n "$CC"; then
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16429 $as_echo "$CC" >&6; }
16430 else
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16432 $as_echo "no" >&6; }
16433 fi
16434
16435
16436 fi
16437 if test -z "$ac_cv_prog_CC"; then
16438 ac_ct_CC=$CC
16439 # Extract the first word of "gcc", so it can be a program name with args.
16440 set dummy gcc; ac_word=$2
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16442 $as_echo_n "checking for $ac_word... " >&6; }
16443 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16444 $as_echo_n "(cached) " >&6
16445 else
16446 if test -n "$ac_ct_CC"; then
16447 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16448 else
16449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16450 for as_dir in $PATH
16451 do
16452 IFS=$as_save_IFS
16453 test -z "$as_dir" && as_dir=.
16454 for ac_exec_ext in '' $ac_executable_extensions; do
16455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16456 ac_cv_prog_ac_ct_CC="gcc"
16457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16458 break 2
16459 fi
16460 done
16461 done
16462 IFS=$as_save_IFS
16463
16464 fi
16465 fi
16466 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16467 if test -n "$ac_ct_CC"; then
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16469 $as_echo "$ac_ct_CC" >&6; }
16470 else
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16472 $as_echo "no" >&6; }
16473 fi
16474
16475 if test "x$ac_ct_CC" = x; then
16476 CC=""
16477 else
16478 case $cross_compiling:$ac_tool_warned in
16479 yes:)
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16482 ac_tool_warned=yes ;;
16483 esac
16484 CC=$ac_ct_CC
16485 fi
16486 else
16487 CC="$ac_cv_prog_CC"
16488 fi
16489
16490 if test -z "$CC"; then
16491 if test -n "$ac_tool_prefix"; then
16492 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16493 set dummy ${ac_tool_prefix}cc; ac_word=$2
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16495 $as_echo_n "checking for $ac_word... " >&6; }
16496 if ${ac_cv_prog_CC+:} false; then :
16497 $as_echo_n "(cached) " >&6
16498 else
16499 if test -n "$CC"; then
16500 ac_cv_prog_CC="$CC" # Let the user override the test.
16501 else
16502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16503 for as_dir in $PATH
16504 do
16505 IFS=$as_save_IFS
16506 test -z "$as_dir" && as_dir=.
16507 for ac_exec_ext in '' $ac_executable_extensions; do
16508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16509 ac_cv_prog_CC="${ac_tool_prefix}cc"
16510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16511 break 2
16512 fi
16513 done
16514 done
16515 IFS=$as_save_IFS
16516
16517 fi
16518 fi
16519 CC=$ac_cv_prog_CC
16520 if test -n "$CC"; then
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16522 $as_echo "$CC" >&6; }
16523 else
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16525 $as_echo "no" >&6; }
16526 fi
16527
16528
16529 fi
16530 fi
16531 if test -z "$CC"; then
16532 # Extract the first word of "cc", so it can be a program name with args.
16533 set dummy cc; ac_word=$2
16534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16535 $as_echo_n "checking for $ac_word... " >&6; }
16536 if ${ac_cv_prog_CC+:} false; then :
16537 $as_echo_n "(cached) " >&6
16538 else
16539 if test -n "$CC"; then
16540 ac_cv_prog_CC="$CC" # Let the user override the test.
16541 else
16542 ac_prog_rejected=no
16543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16544 for as_dir in $PATH
16545 do
16546 IFS=$as_save_IFS
16547 test -z "$as_dir" && as_dir=.
16548 for ac_exec_ext in '' $ac_executable_extensions; do
16549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16550 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16551 ac_prog_rejected=yes
16552 continue
16553 fi
16554 ac_cv_prog_CC="cc"
16555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16556 break 2
16557 fi
16558 done
16559 done
16560 IFS=$as_save_IFS
16561
16562 if test $ac_prog_rejected = yes; then
16563 # We found a bogon in the path, so make sure we never use it.
16564 set dummy $ac_cv_prog_CC
16565 shift
16566 if test $# != 0; then
16567 # We chose a different compiler from the bogus one.
16568 # However, it has the same basename, so the bogon will be chosen
16569 # first if we set CC to just the basename; use the full file name.
16570 shift
16571 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16572 fi
16573 fi
16574 fi
16575 fi
16576 CC=$ac_cv_prog_CC
16577 if test -n "$CC"; then
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16579 $as_echo "$CC" >&6; }
16580 else
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16582 $as_echo "no" >&6; }
16583 fi
16584
16585
16586 fi
16587 if test -z "$CC"; then
16588 if test -n "$ac_tool_prefix"; then
16589 for ac_prog in cl.exe
16590 do
16591 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16592 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16594 $as_echo_n "checking for $ac_word... " >&6; }
16595 if ${ac_cv_prog_CC+:} false; then :
16596 $as_echo_n "(cached) " >&6
16597 else
16598 if test -n "$CC"; then
16599 ac_cv_prog_CC="$CC" # Let the user override the test.
16600 else
16601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16602 for as_dir in $PATH
16603 do
16604 IFS=$as_save_IFS
16605 test -z "$as_dir" && as_dir=.
16606 for ac_exec_ext in '' $ac_executable_extensions; do
16607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16608 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16610 break 2
16611 fi
16612 done
16613 done
16614 IFS=$as_save_IFS
16615
16616 fi
16617 fi
16618 CC=$ac_cv_prog_CC
16619 if test -n "$CC"; then
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16621 $as_echo "$CC" >&6; }
16622 else
16623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16624 $as_echo "no" >&6; }
16625 fi
16626
16627
16628 test -n "$CC" && break
16629 done
16630 fi
16631 if test -z "$CC"; then
16632 ac_ct_CC=$CC
16633 for ac_prog in cl.exe
16634 do
16635 # Extract the first word of "$ac_prog", so it can be a program name with args.
16636 set dummy $ac_prog; ac_word=$2
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16638 $as_echo_n "checking for $ac_word... " >&6; }
16639 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16640 $as_echo_n "(cached) " >&6
16641 else
16642 if test -n "$ac_ct_CC"; then
16643 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16644 else
16645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16646 for as_dir in $PATH
16647 do
16648 IFS=$as_save_IFS
16649 test -z "$as_dir" && as_dir=.
16650 for ac_exec_ext in '' $ac_executable_extensions; do
16651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16652 ac_cv_prog_ac_ct_CC="$ac_prog"
16653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16654 break 2
16655 fi
16656 done
16657 done
16658 IFS=$as_save_IFS
16659
16660 fi
16661 fi
16662 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16663 if test -n "$ac_ct_CC"; then
16664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16665 $as_echo "$ac_ct_CC" >&6; }
16666 else
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16668 $as_echo "no" >&6; }
16669 fi
16670
16671
16672 test -n "$ac_ct_CC" && break
16673 done
16674
16675 if test "x$ac_ct_CC" = x; then
16676 CC=""
16677 else
16678 case $cross_compiling:$ac_tool_warned in
16679 yes:)
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16682 ac_tool_warned=yes ;;
16683 esac
16684 CC=$ac_ct_CC
16685 fi
16686 fi
16687
16688 fi
16689
16690
16691 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16693 as_fn_error $? "no acceptable C compiler found in \$PATH
16694 See \`config.log' for more details" "$LINENO" 5; }
16695
16696 # Provide some information about the compiler.
16697 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16698 set X $ac_compile
16699 ac_compiler=$2
16700 for ac_option in --version -v -V -qversion; do
16701 { { ac_try="$ac_compiler $ac_option >&5"
16702 case "(($ac_try" in
16703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16704 *) ac_try_echo=$ac_try;;
16705 esac
16706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16707 $as_echo "$ac_try_echo"; } >&5
16708 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16709 ac_status=$?
16710 if test -s conftest.err; then
16711 sed '10a\
16712 ... rest of stderr output deleted ...
16713 10q' conftest.err >conftest.er1
16714 cat conftest.er1 >&5
16715 fi
16716 rm -f conftest.er1 conftest.err
16717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16718 test $ac_status = 0; }
16719 done
16720
16721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16722 /* end confdefs.h. */
16723
16724 int
16725 main ()
16726 {
16727
16728 ;
16729 return 0;
16730 }
16731 _ACEOF
16732 ac_clean_files_save=$ac_clean_files
16733 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16734 # Try to create an executable without -o first, disregard a.out.
16735 # It will help us diagnose broken compilers, and finding out an intuition
16736 # of exeext.
16737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16738 $as_echo_n "checking whether the C compiler works... " >&6; }
16739 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16740
16741 # The possible output files:
16742 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16743
16744 ac_rmfiles=
16745 for ac_file in $ac_files
16746 do
16747 case $ac_file in
16748 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16749 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16750 esac
16751 done
16752 rm -f $ac_rmfiles
16753
16754 if { { ac_try="$ac_link_default"
16755 case "(($ac_try" in
16756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16757 *) ac_try_echo=$ac_try;;
16758 esac
16759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16760 $as_echo "$ac_try_echo"; } >&5
16761 (eval "$ac_link_default") 2>&5
16762 ac_status=$?
16763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16764 test $ac_status = 0; }; then :
16765 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16766 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16767 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16768 # so that the user can short-circuit this test for compilers unknown to
16769 # Autoconf.
16770 for ac_file in $ac_files ''
16771 do
16772 test -f "$ac_file" || continue
16773 case $ac_file in
16774 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16775 ;;
16776 [ab].out )
16777 # We found the default executable, but exeext='' is most
16778 # certainly right.
16779 break;;
16780 *.* )
16781 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16782 then :; else
16783 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16784 fi
16785 # We set ac_cv_exeext here because the later test for it is not
16786 # safe: cross compilers may not add the suffix if given an `-o'
16787 # argument, so we may need to know it at that point already.
16788 # Even if this section looks crufty: it has the advantage of
16789 # actually working.
16790 break;;
16791 * )
16792 break;;
16793 esac
16794 done
16795 test "$ac_cv_exeext" = no && ac_cv_exeext=
16796
16797 else
16798 ac_file=''
16799 fi
16800 if test -z "$ac_file"; then :
16801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16802 $as_echo "no" >&6; }
16803 $as_echo "$as_me: failed program was:" >&5
16804 sed 's/^/| /' conftest.$ac_ext >&5
16805
16806 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16808 as_fn_error 77 "C compiler cannot create executables
16809 See \`config.log' for more details" "$LINENO" 5; }
16810 else
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16812 $as_echo "yes" >&6; }
16813 fi
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16815 $as_echo_n "checking for C compiler default output file name... " >&6; }
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16817 $as_echo "$ac_file" >&6; }
16818 ac_exeext=$ac_cv_exeext
16819
16820 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16821 ac_clean_files=$ac_clean_files_save
16822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16823 $as_echo_n "checking for suffix of executables... " >&6; }
16824 if { { ac_try="$ac_link"
16825 case "(($ac_try" in
16826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16827 *) ac_try_echo=$ac_try;;
16828 esac
16829 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16830 $as_echo "$ac_try_echo"; } >&5
16831 (eval "$ac_link") 2>&5
16832 ac_status=$?
16833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16834 test $ac_status = 0; }; then :
16835 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16836 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16837 # work properly (i.e., refer to `conftest.exe'), while it won't with
16838 # `rm'.
16839 for ac_file in conftest.exe conftest conftest.*; do
16840 test -f "$ac_file" || continue
16841 case $ac_file in
16842 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16843 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16844 break;;
16845 * ) break;;
16846 esac
16847 done
16848 else
16849 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16851 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16852 See \`config.log' for more details" "$LINENO" 5; }
16853 fi
16854 rm -f conftest conftest$ac_cv_exeext
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16856 $as_echo "$ac_cv_exeext" >&6; }
16857
16858 rm -f conftest.$ac_ext
16859 EXEEXT=$ac_cv_exeext
16860 ac_exeext=$EXEEXT
16861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16862 /* end confdefs.h. */
16863 #include <stdio.h>
16864 int
16865 main ()
16866 {
16867 FILE *f = fopen ("conftest.out", "w");
16868 return ferror (f) || fclose (f) != 0;
16869
16870 ;
16871 return 0;
16872 }
16873 _ACEOF
16874 ac_clean_files="$ac_clean_files conftest.out"
16875 # Check that the compiler produces executables we can run. If not, either
16876 # the compiler is broken, or we cross compile.
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16878 $as_echo_n "checking whether we are cross compiling... " >&6; }
16879 if test "$cross_compiling" != yes; then
16880 { { ac_try="$ac_link"
16881 case "(($ac_try" in
16882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16883 *) ac_try_echo=$ac_try;;
16884 esac
16885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16886 $as_echo "$ac_try_echo"; } >&5
16887 (eval "$ac_link") 2>&5
16888 ac_status=$?
16889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16890 test $ac_status = 0; }
16891 if { ac_try='./conftest$ac_cv_exeext'
16892 { { case "(($ac_try" in
16893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16894 *) ac_try_echo=$ac_try;;
16895 esac
16896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16897 $as_echo "$ac_try_echo"; } >&5
16898 (eval "$ac_try") 2>&5
16899 ac_status=$?
16900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16901 test $ac_status = 0; }; }; then
16902 cross_compiling=no
16903 else
16904 if test "$cross_compiling" = maybe; then
16905 cross_compiling=yes
16906 else
16907 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16908 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16909 as_fn_error $? "cannot run C compiled programs.
16910 If you meant to cross compile, use \`--host'.
16911 See \`config.log' for more details" "$LINENO" 5; }
16912 fi
16913 fi
16914 fi
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16916 $as_echo "$cross_compiling" >&6; }
16917
16918 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16919 ac_clean_files=$ac_clean_files_save
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16921 $as_echo_n "checking for suffix of object files... " >&6; }
16922 if ${ac_cv_objext+:} false; then :
16923 $as_echo_n "(cached) " >&6
16924 else
16925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16926 /* end confdefs.h. */
16927
16928 int
16929 main ()
16930 {
16931
16932 ;
16933 return 0;
16934 }
16935 _ACEOF
16936 rm -f conftest.o conftest.obj
16937 if { { ac_try="$ac_compile"
16938 case "(($ac_try" in
16939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16940 *) ac_try_echo=$ac_try;;
16941 esac
16942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16943 $as_echo "$ac_try_echo"; } >&5
16944 (eval "$ac_compile") 2>&5
16945 ac_status=$?
16946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16947 test $ac_status = 0; }; then :
16948 for ac_file in conftest.o conftest.obj conftest.*; do
16949 test -f "$ac_file" || continue;
16950 case $ac_file in
16951 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16952 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16953 break;;
16954 esac
16955 done
16956 else
16957 $as_echo "$as_me: failed program was:" >&5
16958 sed 's/^/| /' conftest.$ac_ext >&5
16959
16960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16962 as_fn_error $? "cannot compute suffix of object files: cannot compile
16963 See \`config.log' for more details" "$LINENO" 5; }
16964 fi
16965 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16966 fi
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16968 $as_echo "$ac_cv_objext" >&6; }
16969 OBJEXT=$ac_cv_objext
16970 ac_objext=$OBJEXT
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16972 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16973 if ${ac_cv_c_compiler_gnu+:} false; then :
16974 $as_echo_n "(cached) " >&6
16975 else
16976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16977 /* end confdefs.h. */
16978
16979 int
16980 main ()
16981 {
16982 #ifndef __GNUC__
16983 choke me
16984 #endif
16985
16986 ;
16987 return 0;
16988 }
16989 _ACEOF
16990 if ac_fn_c_try_compile "$LINENO"; then :
16991 ac_compiler_gnu=yes
16992 else
16993 ac_compiler_gnu=no
16994 fi
16995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16996 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16997
16998 fi
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
17000 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
17001 if test $ac_compiler_gnu = yes; then
17002 GCC=yes
17003 else
17004 GCC=
17005 fi
17006 ac_test_CFLAGS=${CFLAGS+set}
17007 ac_save_CFLAGS=$CFLAGS
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17009 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17010 if ${ac_cv_prog_cc_g+:} false; then :
17011 $as_echo_n "(cached) " >&6
17012 else
17013 ac_save_c_werror_flag=$ac_c_werror_flag
17014 ac_c_werror_flag=yes
17015 ac_cv_prog_cc_g=no
17016 CFLAGS="-g"
17017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17018 /* end confdefs.h. */
17019
17020 int
17021 main ()
17022 {
17023
17024 ;
17025 return 0;
17026 }
17027 _ACEOF
17028 if ac_fn_c_try_compile "$LINENO"; then :
17029 ac_cv_prog_cc_g=yes
17030 else
17031 CFLAGS=""
17032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17033 /* end confdefs.h. */
17034
17035 int
17036 main ()
17037 {
17038
17039 ;
17040 return 0;
17041 }
17042 _ACEOF
17043 if ac_fn_c_try_compile "$LINENO"; then :
17044
17045 else
17046 ac_c_werror_flag=$ac_save_c_werror_flag
17047 CFLAGS="-g"
17048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17049 /* end confdefs.h. */
17050
17051 int
17052 main ()
17053 {
17054
17055 ;
17056 return 0;
17057 }
17058 _ACEOF
17059 if ac_fn_c_try_compile "$LINENO"; then :
17060 ac_cv_prog_cc_g=yes
17061 fi
17062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17063 fi
17064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17065 fi
17066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17067 ac_c_werror_flag=$ac_save_c_werror_flag
17068 fi
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17070 $as_echo "$ac_cv_prog_cc_g" >&6; }
17071 if test "$ac_test_CFLAGS" = set; then
17072 CFLAGS=$ac_save_CFLAGS
17073 elif test $ac_cv_prog_cc_g = yes; then
17074 if test "$GCC" = yes; then
17075 CFLAGS="-g -O2"
17076 else
17077 CFLAGS="-g"
17078 fi
17079 else
17080 if test "$GCC" = yes; then
17081 CFLAGS="-O2"
17082 else
17083 CFLAGS=
17084 fi
17085 fi
17086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17087 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17088 if ${ac_cv_prog_cc_c89+:} false; then :
17089 $as_echo_n "(cached) " >&6
17090 else
17091 ac_cv_prog_cc_c89=no
17092 ac_save_CC=$CC
17093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17094 /* end confdefs.h. */
17095 #include <stdarg.h>
17096 #include <stdio.h>
17097 struct stat;
17098 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17099 struct buf { int x; };
17100 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17101 static char *e (p, i)
17102 char **p;
17103 int i;
17104 {
17105 return p[i];
17106 }
17107 static char *f (char * (*g) (char **, int), char **p, ...)
17108 {
17109 char *s;
17110 va_list v;
17111 va_start (v,p);
17112 s = g (p, va_arg (v,int));
17113 va_end (v);
17114 return s;
17115 }
17116
17117 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17118 function prototypes and stuff, but not '\xHH' hex character constants.
17119 These don't provoke an error unfortunately, instead are silently treated
17120 as 'x'. The following induces an error, until -std is added to get
17121 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17122 array size at least. It's necessary to write '\x00'==0 to get something
17123 that's true only with -std. */
17124 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17125
17126 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17127 inside strings and character constants. */
17128 #define FOO(x) 'x'
17129 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17130
17131 int test (int i, double x);
17132 struct s1 {int (*f) (int a);};
17133 struct s2 {int (*f) (double a);};
17134 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17135 int argc;
17136 char **argv;
17137 int
17138 main ()
17139 {
17140 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17141 ;
17142 return 0;
17143 }
17144 _ACEOF
17145 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17146 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17147 do
17148 CC="$ac_save_CC $ac_arg"
17149 if ac_fn_c_try_compile "$LINENO"; then :
17150 ac_cv_prog_cc_c89=$ac_arg
17151 fi
17152 rm -f core conftest.err conftest.$ac_objext
17153 test "x$ac_cv_prog_cc_c89" != "xno" && break
17154 done
17155 rm -f conftest.$ac_ext
17156 CC=$ac_save_CC
17157
17158 fi
17159 # AC_CACHE_VAL
17160 case "x$ac_cv_prog_cc_c89" in
17161 x)
17162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17163 $as_echo "none needed" >&6; } ;;
17164 xno)
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17166 $as_echo "unsupported" >&6; } ;;
17167 *)
17168 CC="$CC $ac_cv_prog_cc_c89"
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17170 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17171 esac
17172 if test "x$ac_cv_prog_cc_c89" != xno; then :
17173
17174 fi
17175
17176 ac_ext=c
17177 ac_cpp='$CPP $CPPFLAGS'
17178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17181
17182
17183
17184
17185
17186
17187
17188
17189 ac_ext=c
17190 ac_cpp='$CPP $CPPFLAGS'
17191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17194
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17196 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17197 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17198 $as_echo_n "(cached) " >&6
17199 else
17200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17201 /* end confdefs.h. */
17202
17203 int
17204 main ()
17205 {
17206
17207 #ifndef __INTEL_COMPILER
17208 choke me
17209 #endif
17210
17211 ;
17212 return 0;
17213 }
17214 _ACEOF
17215 if ac_fn_c_try_compile "$LINENO"; then :
17216 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17217 else
17218 bakefile_cv_c_compiler___INTEL_COMPILER=no
17219
17220 fi
17221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17222
17223
17224 fi
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17226 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17227 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17228 :; INTELCC=yes
17229 else
17230 :;
17231 fi
17232 ac_ext=c
17233 ac_cpp='$CPP $CPPFLAGS'
17234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17237
17238
17239
17240
17241 if test "$INTELCC" = "yes"; then
17242
17243
17244 ac_ext=c
17245 ac_cpp='$CPP $CPPFLAGS'
17246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17249
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17251 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17252 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17253 $as_echo_n "(cached) " >&6
17254 else
17255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17256 /* end confdefs.h. */
17257
17258 int
17259 main ()
17260 {
17261
17262 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17263 choke me
17264 #endif
17265
17266 ;
17267 return 0;
17268 }
17269 _ACEOF
17270 if ac_fn_c_try_compile "$LINENO"; then :
17271 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17272 else
17273 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17274
17275 fi
17276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17277
17278
17279 fi
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17281 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17282 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17283 :; INTELCC8=yes
17284 else
17285 :;
17286 fi
17287 ac_ext=c
17288 ac_cpp='$CPP $CPPFLAGS'
17289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17292
17293
17294
17295
17296
17297 ac_ext=c
17298 ac_cpp='$CPP $CPPFLAGS'
17299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17302
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17304 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17305 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17306 $as_echo_n "(cached) " >&6
17307 else
17308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17309 /* end confdefs.h. */
17310
17311 int
17312 main ()
17313 {
17314
17315 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17316 choke me
17317 #endif
17318
17319 ;
17320 return 0;
17321 }
17322 _ACEOF
17323 if ac_fn_c_try_compile "$LINENO"; then :
17324 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17325 else
17326 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17327
17328 fi
17329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17330
17331
17332 fi
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17334 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17335 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17336 :; INTELCC10=yes
17337 else
17338 :;
17339 fi
17340 ac_ext=c
17341 ac_cpp='$CPP $CPPFLAGS'
17342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17345
17346
17347
17348 fi
17349
17350 if test "x$GCC" != "xyes"; then
17351 if test "xCC" = "xC"; then
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17353 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17354 if ${bakefile_cv_c_exto+:} false; then :
17355 $as_echo_n "(cached) " >&6
17356 else
17357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17358 /* end confdefs.h. */
17359
17360 int
17361 main ()
17362 {
17363
17364 ;
17365 return 0;
17366 }
17367 _ACEOF
17368 rm -f conftest.$ac_objext conftest.$ac_ext.o
17369 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17370 (eval $ac_compile) 2>&5
17371 ac_status=$?
17372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17373 test $ac_status = 0; }; then :
17374 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17375 case $ac_file in
17376 conftest.$ac_ext.o)
17377 bakefile_cv_c_exto="-ext o"
17378 ;;
17379 *)
17380 ;;
17381 esac
17382 done
17383 else
17384 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17386 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
17387 See \`config.log' for more details" "$LINENO" 5; }
17388
17389 fi
17390 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17391
17392 fi
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17394 $as_echo "$bakefile_cv_c_exto" >&6; }
17395 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17396 if test "c" = "c"; then
17397 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17398 fi
17399 if test "c" = "cxx"; then
17400 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17401 fi
17402 fi
17403
17404 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17405 unset ac_cv_prog_cc_g
17406 ac_test_CFLAGS=${CFLAGS+set}
17407 ac_save_CFLAGS=$CFLAGS
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17409 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17410 if ${ac_cv_prog_cc_g+:} false; then :
17411 $as_echo_n "(cached) " >&6
17412 else
17413 ac_save_c_werror_flag=$ac_c_werror_flag
17414 ac_c_werror_flag=yes
17415 ac_cv_prog_cc_g=no
17416 CFLAGS="-g"
17417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17418 /* end confdefs.h. */
17419
17420 int
17421 main ()
17422 {
17423
17424 ;
17425 return 0;
17426 }
17427 _ACEOF
17428 if ac_fn_c_try_compile "$LINENO"; then :
17429 ac_cv_prog_cc_g=yes
17430 else
17431 CFLAGS=""
17432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17433 /* end confdefs.h. */
17434
17435 int
17436 main ()
17437 {
17438
17439 ;
17440 return 0;
17441 }
17442 _ACEOF
17443 if ac_fn_c_try_compile "$LINENO"; then :
17444
17445 else
17446 ac_c_werror_flag=$ac_save_c_werror_flag
17447 CFLAGS="-g"
17448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17449 /* end confdefs.h. */
17450
17451 int
17452 main ()
17453 {
17454
17455 ;
17456 return 0;
17457 }
17458 _ACEOF
17459 if ac_fn_c_try_compile "$LINENO"; then :
17460 ac_cv_prog_cc_g=yes
17461 fi
17462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17463 fi
17464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17465 fi
17466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17467 ac_c_werror_flag=$ac_save_c_werror_flag
17468 fi
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17470 $as_echo "$ac_cv_prog_cc_g" >&6; }
17471 if test "$ac_test_CFLAGS" = set; then
17472 CFLAGS=$ac_save_CFLAGS
17473 elif test $ac_cv_prog_cc_g = yes; then
17474 if test "$GCC" = yes; then
17475 CFLAGS="-g -O2"
17476 else
17477 CFLAGS="-g"
17478 fi
17479 else
17480 if test "$GCC" = yes; then
17481 CFLAGS="-O2"
17482 else
17483 CFLAGS=
17484 fi
17485 fi
17486 fi
17487 fi
17488
17489 case `uname -s` in
17490 AIX*)
17491
17492
17493 ac_ext=c
17494 ac_cpp='$CPP $CPPFLAGS'
17495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17498
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17500 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17501 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17502 $as_echo_n "(cached) " >&6
17503 else
17504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17505 /* end confdefs.h. */
17506
17507 int
17508 main ()
17509 {
17510
17511 #ifndef __xlC__
17512 choke me
17513 #endif
17514
17515 ;
17516 return 0;
17517 }
17518 _ACEOF
17519 if ac_fn_c_try_compile "$LINENO"; then :
17520 bakefile_cv_c_compiler___xlC__=yes
17521 else
17522 bakefile_cv_c_compiler___xlC__=no
17523
17524 fi
17525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17526
17527
17528 fi
17529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17530 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17531 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17532 :; XLCC=yes
17533 else
17534 :;
17535 fi
17536 ac_ext=c
17537 ac_cpp='$CPP $CPPFLAGS'
17538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17541
17542
17543
17544 ;;
17545
17546 Darwin)
17547
17548
17549 ac_ext=c
17550 ac_cpp='$CPP $CPPFLAGS'
17551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17554
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17556 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17557 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17558 $as_echo_n "(cached) " >&6
17559 else
17560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17561 /* end confdefs.h. */
17562
17563 int
17564 main ()
17565 {
17566
17567 #ifndef __MWERKS__
17568 choke me
17569 #endif
17570
17571 ;
17572 return 0;
17573 }
17574 _ACEOF
17575 if ac_fn_c_try_compile "$LINENO"; then :
17576 bakefile_cv_c_compiler___MWERKS__=yes
17577 else
17578 bakefile_cv_c_compiler___MWERKS__=no
17579
17580 fi
17581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17582
17583
17584 fi
17585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17586 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17587 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17588 :; MWCC=yes
17589 else
17590 :;
17591 fi
17592 ac_ext=c
17593 ac_cpp='$CPP $CPPFLAGS'
17594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17597
17598
17599
17600 if test "$MWCC" != "yes"; then
17601
17602
17603 ac_ext=c
17604 ac_cpp='$CPP $CPPFLAGS'
17605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17608
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17610 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17611 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17612 $as_echo_n "(cached) " >&6
17613 else
17614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17615 /* end confdefs.h. */
17616
17617 int
17618 main ()
17619 {
17620
17621 #ifndef __xlC__
17622 choke me
17623 #endif
17624
17625 ;
17626 return 0;
17627 }
17628 _ACEOF
17629 if ac_fn_c_try_compile "$LINENO"; then :
17630 bakefile_cv_c_compiler___xlC__=yes
17631 else
17632 bakefile_cv_c_compiler___xlC__=no
17633
17634 fi
17635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17636
17637
17638 fi
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17640 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17641 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17642 :; XLCC=yes
17643 else
17644 :;
17645 fi
17646 ac_ext=c
17647 ac_cpp='$CPP $CPPFLAGS'
17648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17651
17652
17653
17654 fi
17655 ;;
17656
17657 IRIX*)
17658
17659
17660 ac_ext=c
17661 ac_cpp='$CPP $CPPFLAGS'
17662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17665
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17667 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17668 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17669 $as_echo_n "(cached) " >&6
17670 else
17671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17672 /* end confdefs.h. */
17673
17674 int
17675 main ()
17676 {
17677
17678 #ifndef _SGI_COMPILER_VERSION
17679 choke me
17680 #endif
17681
17682 ;
17683 return 0;
17684 }
17685 _ACEOF
17686 if ac_fn_c_try_compile "$LINENO"; then :
17687 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17688 else
17689 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17690
17691 fi
17692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17693
17694
17695 fi
17696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17697 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17698 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17699 :; SGICC=yes
17700 else
17701 :;
17702 fi
17703 ac_ext=c
17704 ac_cpp='$CPP $CPPFLAGS'
17705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17708
17709
17710
17711 ;;
17712
17713 Linux*)
17714 if test "$INTELCC" != "yes"; then
17715
17716
17717 ac_ext=c
17718 ac_cpp='$CPP $CPPFLAGS'
17719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17722
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17724 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17725 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17726 $as_echo_n "(cached) " >&6
17727 else
17728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17729 /* end confdefs.h. */
17730
17731 int
17732 main ()
17733 {
17734
17735 #ifndef __SUNPRO_C
17736 choke me
17737 #endif
17738
17739 ;
17740 return 0;
17741 }
17742 _ACEOF
17743 if ac_fn_c_try_compile "$LINENO"; then :
17744 bakefile_cv_c_compiler___SUNPRO_C=yes
17745 else
17746 bakefile_cv_c_compiler___SUNPRO_C=no
17747
17748 fi
17749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17750
17751
17752 fi
17753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17754 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17755 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17756 :; SUNCC=yes
17757 else
17758 :;
17759 fi
17760 ac_ext=c
17761 ac_cpp='$CPP $CPPFLAGS'
17762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17765
17766
17767
17768 fi
17769 ;;
17770
17771 HP-UX*)
17772
17773
17774 ac_ext=c
17775 ac_cpp='$CPP $CPPFLAGS'
17776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17779
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17781 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17782 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17783 $as_echo_n "(cached) " >&6
17784 else
17785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17786 /* end confdefs.h. */
17787
17788 int
17789 main ()
17790 {
17791
17792 #ifndef __HP_cc
17793 choke me
17794 #endif
17795
17796 ;
17797 return 0;
17798 }
17799 _ACEOF
17800 if ac_fn_c_try_compile "$LINENO"; then :
17801 bakefile_cv_c_compiler___HP_cc=yes
17802 else
17803 bakefile_cv_c_compiler___HP_cc=no
17804
17805 fi
17806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17807
17808
17809 fi
17810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17811 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17812 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17813 :; HPCC=yes
17814 else
17815 :;
17816 fi
17817 ac_ext=c
17818 ac_cpp='$CPP $CPPFLAGS'
17819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17822
17823
17824
17825 ;;
17826
17827 OSF1)
17828
17829
17830 ac_ext=c
17831 ac_cpp='$CPP $CPPFLAGS'
17832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17835
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17837 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17838 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17839 $as_echo_n "(cached) " >&6
17840 else
17841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17842 /* end confdefs.h. */
17843
17844 int
17845 main ()
17846 {
17847
17848 #ifndef __DECC
17849 choke me
17850 #endif
17851
17852 ;
17853 return 0;
17854 }
17855 _ACEOF
17856 if ac_fn_c_try_compile "$LINENO"; then :
17857 bakefile_cv_c_compiler___DECC=yes
17858 else
17859 bakefile_cv_c_compiler___DECC=no
17860
17861 fi
17862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17863
17864
17865 fi
17866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17867 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17868 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17869 :; COMPAQCC=yes
17870 else
17871 :;
17872 fi
17873 ac_ext=c
17874 ac_cpp='$CPP $CPPFLAGS'
17875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17878
17879
17880
17881 ;;
17882
17883 SunOS)
17884
17885
17886 ac_ext=c
17887 ac_cpp='$CPP $CPPFLAGS'
17888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17891
17892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17893 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17894 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17895 $as_echo_n "(cached) " >&6
17896 else
17897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17898 /* end confdefs.h. */
17899
17900 int
17901 main ()
17902 {
17903
17904 #ifndef __SUNPRO_C
17905 choke me
17906 #endif
17907
17908 ;
17909 return 0;
17910 }
17911 _ACEOF
17912 if ac_fn_c_try_compile "$LINENO"; then :
17913 bakefile_cv_c_compiler___SUNPRO_C=yes
17914 else
17915 bakefile_cv_c_compiler___SUNPRO_C=no
17916
17917 fi
17918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17919
17920
17921 fi
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17923 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17924 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17925 :; SUNCC=yes
17926 else
17927 :;
17928 fi
17929 ac_ext=c
17930 ac_cpp='$CPP $CPPFLAGS'
17931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17934
17935
17936
17937 ;;
17938 esac
17939 fi
17940
17941
17942
17943 ac_ext=c
17944 ac_cpp='$CPP $CPPFLAGS'
17945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17949 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17950 # On Suns, sometimes $CPP names a directory.
17951 if test -n "$CPP" && test -d "$CPP"; then
17952 CPP=
17953 fi
17954 if test -z "$CPP"; then
17955 if ${ac_cv_prog_CPP+:} false; then :
17956 $as_echo_n "(cached) " >&6
17957 else
17958 # Double quotes because CPP needs to be expanded
17959 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17960 do
17961 ac_preproc_ok=false
17962 for ac_c_preproc_warn_flag in '' yes
17963 do
17964 # Use a header file that comes with gcc, so configuring glibc
17965 # with a fresh cross-compiler works.
17966 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17967 # <limits.h> exists even on freestanding compilers.
17968 # On the NeXT, cc -E runs the code through the compiler's parser,
17969 # not just through cpp. "Syntax error" is here to catch this case.
17970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17971 /* end confdefs.h. */
17972 #ifdef __STDC__
17973 # include <limits.h>
17974 #else
17975 # include <assert.h>
17976 #endif
17977 Syntax error
17978 _ACEOF
17979 if ac_fn_c_try_cpp "$LINENO"; then :
17980
17981 else
17982 # Broken: fails on valid input.
17983 continue
17984 fi
17985 rm -f conftest.err conftest.i conftest.$ac_ext
17986
17987 # OK, works on sane cases. Now check whether nonexistent headers
17988 # can be detected and how.
17989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17990 /* end confdefs.h. */
17991 #include <ac_nonexistent.h>
17992 _ACEOF
17993 if ac_fn_c_try_cpp "$LINENO"; then :
17994 # Broken: success on invalid input.
17995 continue
17996 else
17997 # Passes both tests.
17998 ac_preproc_ok=:
17999 break
18000 fi
18001 rm -f conftest.err conftest.i conftest.$ac_ext
18002
18003 done
18004 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18005 rm -f conftest.i conftest.err conftest.$ac_ext
18006 if $ac_preproc_ok; then :
18007 break
18008 fi
18009
18010 done
18011 ac_cv_prog_CPP=$CPP
18012
18013 fi
18014 CPP=$ac_cv_prog_CPP
18015 else
18016 ac_cv_prog_CPP=$CPP
18017 fi
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
18019 $as_echo "$CPP" >&6; }
18020 ac_preproc_ok=false
18021 for ac_c_preproc_warn_flag in '' yes
18022 do
18023 # Use a header file that comes with gcc, so configuring glibc
18024 # with a fresh cross-compiler works.
18025 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18026 # <limits.h> exists even on freestanding compilers.
18027 # On the NeXT, cc -E runs the code through the compiler's parser,
18028 # not just through cpp. "Syntax error" is here to catch this case.
18029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18030 /* end confdefs.h. */
18031 #ifdef __STDC__
18032 # include <limits.h>
18033 #else
18034 # include <assert.h>
18035 #endif
18036 Syntax error
18037 _ACEOF
18038 if ac_fn_c_try_cpp "$LINENO"; then :
18039
18040 else
18041 # Broken: fails on valid input.
18042 continue
18043 fi
18044 rm -f conftest.err conftest.i conftest.$ac_ext
18045
18046 # OK, works on sane cases. Now check whether nonexistent headers
18047 # can be detected and how.
18048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18049 /* end confdefs.h. */
18050 #include <ac_nonexistent.h>
18051 _ACEOF
18052 if ac_fn_c_try_cpp "$LINENO"; then :
18053 # Broken: success on invalid input.
18054 continue
18055 else
18056 # Passes both tests.
18057 ac_preproc_ok=:
18058 break
18059 fi
18060 rm -f conftest.err conftest.i conftest.$ac_ext
18061
18062 done
18063 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18064 rm -f conftest.i conftest.err conftest.$ac_ext
18065 if $ac_preproc_ok; then :
18066
18067 else
18068 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18069 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18070 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
18071 See \`config.log' for more details" "$LINENO" 5; }
18072 fi
18073
18074 ac_ext=c
18075 ac_cpp='$CPP $CPPFLAGS'
18076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18079
18080
18081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
18082 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
18083 if ${ac_cv_path_GREP+:} false; then :
18084 $as_echo_n "(cached) " >&6
18085 else
18086 if test -z "$GREP"; then
18087 ac_path_GREP_found=false
18088 # Loop through the user's path and test for each of PROGNAME-LIST
18089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18090 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18091 do
18092 IFS=$as_save_IFS
18093 test -z "$as_dir" && as_dir=.
18094 for ac_prog in grep ggrep; do
18095 for ac_exec_ext in '' $ac_executable_extensions; do
18096 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18097 as_fn_executable_p "$ac_path_GREP" || continue
18098 # Check for GNU ac_path_GREP and select it if it is found.
18099 # Check for GNU $ac_path_GREP
18100 case `"$ac_path_GREP" --version 2>&1` in
18101 *GNU*)
18102 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18103 *)
18104 ac_count=0
18105 $as_echo_n 0123456789 >"conftest.in"
18106 while :
18107 do
18108 cat "conftest.in" "conftest.in" >"conftest.tmp"
18109 mv "conftest.tmp" "conftest.in"
18110 cp "conftest.in" "conftest.nl"
18111 $as_echo 'GREP' >> "conftest.nl"
18112 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18113 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18114 as_fn_arith $ac_count + 1 && ac_count=$as_val
18115 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18116 # Best one so far, save it but keep looking for a better one
18117 ac_cv_path_GREP="$ac_path_GREP"
18118 ac_path_GREP_max=$ac_count
18119 fi
18120 # 10*(2^10) chars as input seems more than enough
18121 test $ac_count -gt 10 && break
18122 done
18123 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18124 esac
18125
18126 $ac_path_GREP_found && break 3
18127 done
18128 done
18129 done
18130 IFS=$as_save_IFS
18131 if test -z "$ac_cv_path_GREP"; then
18132 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18133 fi
18134 else
18135 ac_cv_path_GREP=$GREP
18136 fi
18137
18138 fi
18139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
18140 $as_echo "$ac_cv_path_GREP" >&6; }
18141 GREP="$ac_cv_path_GREP"
18142
18143
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18145 $as_echo_n "checking for egrep... " >&6; }
18146 if ${ac_cv_path_EGREP+:} false; then :
18147 $as_echo_n "(cached) " >&6
18148 else
18149 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18150 then ac_cv_path_EGREP="$GREP -E"
18151 else
18152 if test -z "$EGREP"; then
18153 ac_path_EGREP_found=false
18154 # Loop through the user's path and test for each of PROGNAME-LIST
18155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18156 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18157 do
18158 IFS=$as_save_IFS
18159 test -z "$as_dir" && as_dir=.
18160 for ac_prog in egrep; do
18161 for ac_exec_ext in '' $ac_executable_extensions; do
18162 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18163 as_fn_executable_p "$ac_path_EGREP" || continue
18164 # Check for GNU ac_path_EGREP and select it if it is found.
18165 # Check for GNU $ac_path_EGREP
18166 case `"$ac_path_EGREP" --version 2>&1` in
18167 *GNU*)
18168 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18169 *)
18170 ac_count=0
18171 $as_echo_n 0123456789 >"conftest.in"
18172 while :
18173 do
18174 cat "conftest.in" "conftest.in" >"conftest.tmp"
18175 mv "conftest.tmp" "conftest.in"
18176 cp "conftest.in" "conftest.nl"
18177 $as_echo 'EGREP' >> "conftest.nl"
18178 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18179 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18180 as_fn_arith $ac_count + 1 && ac_count=$as_val
18181 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18182 # Best one so far, save it but keep looking for a better one
18183 ac_cv_path_EGREP="$ac_path_EGREP"
18184 ac_path_EGREP_max=$ac_count
18185 fi
18186 # 10*(2^10) chars as input seems more than enough
18187 test $ac_count -gt 10 && break
18188 done
18189 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18190 esac
18191
18192 $ac_path_EGREP_found && break 3
18193 done
18194 done
18195 done
18196 IFS=$as_save_IFS
18197 if test -z "$ac_cv_path_EGREP"; then
18198 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18199 fi
18200 else
18201 ac_cv_path_EGREP=$EGREP
18202 fi
18203
18204 fi
18205 fi
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18207 $as_echo "$ac_cv_path_EGREP" >&6; }
18208 EGREP="$ac_cv_path_EGREP"
18209
18210
18211 if test $ac_cv_c_compiler_gnu = yes; then
18212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18213 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18214 if ${ac_cv_prog_gcc_traditional+:} false; then :
18215 $as_echo_n "(cached) " >&6
18216 else
18217 ac_pattern="Autoconf.*'x'"
18218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18219 /* end confdefs.h. */
18220 #include <sgtty.h>
18221 Autoconf TIOCGETP
18222 _ACEOF
18223 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18224 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18225 ac_cv_prog_gcc_traditional=yes
18226 else
18227 ac_cv_prog_gcc_traditional=no
18228 fi
18229 rm -f conftest*
18230
18231
18232 if test $ac_cv_prog_gcc_traditional = no; then
18233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18234 /* end confdefs.h. */
18235 #include <termio.h>
18236 Autoconf TCGETA
18237 _ACEOF
18238 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18239 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18240 ac_cv_prog_gcc_traditional=yes
18241 fi
18242 rm -f conftest*
18243
18244 fi
18245 fi
18246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18247 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18248 if test $ac_cv_prog_gcc_traditional = yes; then
18249 CC="$CC -traditional"
18250 fi
18251 fi
18252
18253
18254 CXXFLAGS=${CXXFLAGS:=}
18255 ac_ext=cpp
18256 ac_cpp='$CXXCPP $CPPFLAGS'
18257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18260 if test -z "$CXX"; then
18261 if test -n "$CCC"; then
18262 CXX=$CCC
18263 else
18264 if test -n "$ac_tool_prefix"; then
18265 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18266 do
18267 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18268 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18270 $as_echo_n "checking for $ac_word... " >&6; }
18271 if ${ac_cv_prog_CXX+:} false; then :
18272 $as_echo_n "(cached) " >&6
18273 else
18274 if test -n "$CXX"; then
18275 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18276 else
18277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18278 for as_dir in $PATH
18279 do
18280 IFS=$as_save_IFS
18281 test -z "$as_dir" && as_dir=.
18282 for ac_exec_ext in '' $ac_executable_extensions; do
18283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18284 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18286 break 2
18287 fi
18288 done
18289 done
18290 IFS=$as_save_IFS
18291
18292 fi
18293 fi
18294 CXX=$ac_cv_prog_CXX
18295 if test -n "$CXX"; then
18296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18297 $as_echo "$CXX" >&6; }
18298 else
18299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18300 $as_echo "no" >&6; }
18301 fi
18302
18303
18304 test -n "$CXX" && break
18305 done
18306 fi
18307 if test -z "$CXX"; then
18308 ac_ct_CXX=$CXX
18309 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18310 do
18311 # Extract the first word of "$ac_prog", so it can be a program name with args.
18312 set dummy $ac_prog; ac_word=$2
18313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18314 $as_echo_n "checking for $ac_word... " >&6; }
18315 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
18316 $as_echo_n "(cached) " >&6
18317 else
18318 if test -n "$ac_ct_CXX"; then
18319 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18320 else
18321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18322 for as_dir in $PATH
18323 do
18324 IFS=$as_save_IFS
18325 test -z "$as_dir" && as_dir=.
18326 for ac_exec_ext in '' $ac_executable_extensions; do
18327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18328 ac_cv_prog_ac_ct_CXX="$ac_prog"
18329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18330 break 2
18331 fi
18332 done
18333 done
18334 IFS=$as_save_IFS
18335
18336 fi
18337 fi
18338 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18339 if test -n "$ac_ct_CXX"; then
18340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18341 $as_echo "$ac_ct_CXX" >&6; }
18342 else
18343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18344 $as_echo "no" >&6; }
18345 fi
18346
18347
18348 test -n "$ac_ct_CXX" && break
18349 done
18350
18351 if test "x$ac_ct_CXX" = x; then
18352 CXX="g++"
18353 else
18354 case $cross_compiling:$ac_tool_warned in
18355 yes:)
18356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18358 ac_tool_warned=yes ;;
18359 esac
18360 CXX=$ac_ct_CXX
18361 fi
18362 fi
18363
18364 fi
18365 fi
18366 # Provide some information about the compiler.
18367 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18368 set X $ac_compile
18369 ac_compiler=$2
18370 for ac_option in --version -v -V -qversion; do
18371 { { ac_try="$ac_compiler $ac_option >&5"
18372 case "(($ac_try" in
18373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18374 *) ac_try_echo=$ac_try;;
18375 esac
18376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18377 $as_echo "$ac_try_echo"; } >&5
18378 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18379 ac_status=$?
18380 if test -s conftest.err; then
18381 sed '10a\
18382 ... rest of stderr output deleted ...
18383 10q' conftest.err >conftest.er1
18384 cat conftest.er1 >&5
18385 fi
18386 rm -f conftest.er1 conftest.err
18387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18388 test $ac_status = 0; }
18389 done
18390
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18392 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18393 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18394 $as_echo_n "(cached) " >&6
18395 else
18396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18397 /* end confdefs.h. */
18398
18399 int
18400 main ()
18401 {
18402 #ifndef __GNUC__
18403 choke me
18404 #endif
18405
18406 ;
18407 return 0;
18408 }
18409 _ACEOF
18410 if ac_fn_cxx_try_compile "$LINENO"; then :
18411 ac_compiler_gnu=yes
18412 else
18413 ac_compiler_gnu=no
18414 fi
18415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18416 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18417
18418 fi
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18420 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18421 if test $ac_compiler_gnu = yes; then
18422 GXX=yes
18423 else
18424 GXX=
18425 fi
18426 ac_test_CXXFLAGS=${CXXFLAGS+set}
18427 ac_save_CXXFLAGS=$CXXFLAGS
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18429 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18430 if ${ac_cv_prog_cxx_g+:} false; then :
18431 $as_echo_n "(cached) " >&6
18432 else
18433 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18434 ac_cxx_werror_flag=yes
18435 ac_cv_prog_cxx_g=no
18436 CXXFLAGS="-g"
18437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18438 /* end confdefs.h. */
18439
18440 int
18441 main ()
18442 {
18443
18444 ;
18445 return 0;
18446 }
18447 _ACEOF
18448 if ac_fn_cxx_try_compile "$LINENO"; then :
18449 ac_cv_prog_cxx_g=yes
18450 else
18451 CXXFLAGS=""
18452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18453 /* end confdefs.h. */
18454
18455 int
18456 main ()
18457 {
18458
18459 ;
18460 return 0;
18461 }
18462 _ACEOF
18463 if ac_fn_cxx_try_compile "$LINENO"; then :
18464
18465 else
18466 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18467 CXXFLAGS="-g"
18468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18469 /* end confdefs.h. */
18470
18471 int
18472 main ()
18473 {
18474
18475 ;
18476 return 0;
18477 }
18478 _ACEOF
18479 if ac_fn_cxx_try_compile "$LINENO"; then :
18480 ac_cv_prog_cxx_g=yes
18481 fi
18482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18483 fi
18484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18485 fi
18486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18487 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18488 fi
18489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18490 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18491 if test "$ac_test_CXXFLAGS" = set; then
18492 CXXFLAGS=$ac_save_CXXFLAGS
18493 elif test $ac_cv_prog_cxx_g = yes; then
18494 if test "$GXX" = yes; then
18495 CXXFLAGS="-g -O2"
18496 else
18497 CXXFLAGS="-g"
18498 fi
18499 else
18500 if test "$GXX" = yes; then
18501 CXXFLAGS="-O2"
18502 else
18503 CXXFLAGS=
18504 fi
18505 fi
18506 ac_ext=c
18507 ac_cpp='$CPP $CPPFLAGS'
18508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18511
18512
18513
18514
18515
18516
18517
18518
18519 ac_ext=cpp
18520 ac_cpp='$CXXCPP $CPPFLAGS'
18521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18524
18525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18526 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18527 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18528 $as_echo_n "(cached) " >&6
18529 else
18530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18531 /* end confdefs.h. */
18532
18533 int
18534 main ()
18535 {
18536
18537 #ifndef __INTEL_COMPILER
18538 choke me
18539 #endif
18540
18541 ;
18542 return 0;
18543 }
18544 _ACEOF
18545 if ac_fn_cxx_try_compile "$LINENO"; then :
18546 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18547 else
18548 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18549
18550 fi
18551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18552
18553
18554 fi
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18556 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18557 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18558 :; INTELCXX=yes
18559 else
18560 :;
18561 fi
18562 ac_ext=c
18563 ac_cpp='$CPP $CPPFLAGS'
18564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18567
18568
18569
18570
18571 if test "$INTELCXX" = "yes"; then
18572
18573
18574 ac_ext=cpp
18575 ac_cpp='$CXXCPP $CPPFLAGS'
18576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18579
18580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18581 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18582 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18583 $as_echo_n "(cached) " >&6
18584 else
18585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18586 /* end confdefs.h. */
18587
18588 int
18589 main ()
18590 {
18591
18592 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18593 choke me
18594 #endif
18595
18596 ;
18597 return 0;
18598 }
18599 _ACEOF
18600 if ac_fn_cxx_try_compile "$LINENO"; then :
18601 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18602 else
18603 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18604
18605 fi
18606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18607
18608
18609 fi
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18611 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18612 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18613 :; INTELCXX8=yes
18614 else
18615 :;
18616 fi
18617 ac_ext=c
18618 ac_cpp='$CPP $CPPFLAGS'
18619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18622
18623
18624
18625
18626
18627 ac_ext=cpp
18628 ac_cpp='$CXXCPP $CPPFLAGS'
18629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18632
18633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18634 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18635 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18636 $as_echo_n "(cached) " >&6
18637 else
18638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18639 /* end confdefs.h. */
18640
18641 int
18642 main ()
18643 {
18644
18645 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18646 choke me
18647 #endif
18648
18649 ;
18650 return 0;
18651 }
18652 _ACEOF
18653 if ac_fn_cxx_try_compile "$LINENO"; then :
18654 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18655 else
18656 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18657
18658 fi
18659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18660
18661
18662 fi
18663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18664 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18665 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18666 :; INTELCXX10=yes
18667 else
18668 :;
18669 fi
18670 ac_ext=c
18671 ac_cpp='$CPP $CPPFLAGS'
18672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18675
18676
18677
18678 fi
18679
18680 if test "x$GCXX" != "xyes"; then
18681 if test "xCXX" = "xC"; then
18682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18683 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18684 if ${bakefile_cv_c_exto+:} false; then :
18685 $as_echo_n "(cached) " >&6
18686 else
18687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18688 /* end confdefs.h. */
18689
18690 int
18691 main ()
18692 {
18693
18694 ;
18695 return 0;
18696 }
18697 _ACEOF
18698 rm -f conftest.$ac_objext conftest.$ac_ext.o
18699 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18700 (eval $ac_compile) 2>&5
18701 ac_status=$?
18702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18703 test $ac_status = 0; }; then :
18704 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18705 case $ac_file in
18706 conftest.$ac_ext.o)
18707 bakefile_cv_c_exto="-ext o"
18708 ;;
18709 *)
18710 ;;
18711 esac
18712 done
18713 else
18714 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18716 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
18717 See \`config.log' for more details" "$LINENO" 5; }
18718
18719 fi
18720 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18721
18722 fi
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18724 $as_echo "$bakefile_cv_c_exto" >&6; }
18725 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18726 if test "c" = "c"; then
18727 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18728 fi
18729 if test "c" = "cxx"; then
18730 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18731 fi
18732 fi
18733
18734 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18735 unset ac_cv_prog_cc_g
18736 ac_test_CFLAGS=${CFLAGS+set}
18737 ac_save_CFLAGS=$CFLAGS
18738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18739 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18740 if ${ac_cv_prog_cc_g+:} false; then :
18741 $as_echo_n "(cached) " >&6
18742 else
18743 ac_save_c_werror_flag=$ac_c_werror_flag
18744 ac_c_werror_flag=yes
18745 ac_cv_prog_cc_g=no
18746 CFLAGS="-g"
18747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18748 /* end confdefs.h. */
18749
18750 int
18751 main ()
18752 {
18753
18754 ;
18755 return 0;
18756 }
18757 _ACEOF
18758 if ac_fn_c_try_compile "$LINENO"; then :
18759 ac_cv_prog_cc_g=yes
18760 else
18761 CFLAGS=""
18762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18763 /* end confdefs.h. */
18764
18765 int
18766 main ()
18767 {
18768
18769 ;
18770 return 0;
18771 }
18772 _ACEOF
18773 if ac_fn_c_try_compile "$LINENO"; then :
18774
18775 else
18776 ac_c_werror_flag=$ac_save_c_werror_flag
18777 CFLAGS="-g"
18778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18779 /* end confdefs.h. */
18780
18781 int
18782 main ()
18783 {
18784
18785 ;
18786 return 0;
18787 }
18788 _ACEOF
18789 if ac_fn_c_try_compile "$LINENO"; then :
18790 ac_cv_prog_cc_g=yes
18791 fi
18792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18793 fi
18794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18795 fi
18796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18797 ac_c_werror_flag=$ac_save_c_werror_flag
18798 fi
18799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18800 $as_echo "$ac_cv_prog_cc_g" >&6; }
18801 if test "$ac_test_CFLAGS" = set; then
18802 CFLAGS=$ac_save_CFLAGS
18803 elif test $ac_cv_prog_cc_g = yes; then
18804 if test "$GCC" = yes; then
18805 CFLAGS="-g -O2"
18806 else
18807 CFLAGS="-g"
18808 fi
18809 else
18810 if test "$GCC" = yes; then
18811 CFLAGS="-O2"
18812 else
18813 CFLAGS=
18814 fi
18815 fi
18816 fi
18817 fi
18818
18819 case `uname -s` in
18820 AIX*)
18821
18822
18823 ac_ext=cpp
18824 ac_cpp='$CXXCPP $CPPFLAGS'
18825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18828
18829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18830 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18831 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18832 $as_echo_n "(cached) " >&6
18833 else
18834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18835 /* end confdefs.h. */
18836
18837 int
18838 main ()
18839 {
18840
18841 #ifndef __xlC__
18842 choke me
18843 #endif
18844
18845 ;
18846 return 0;
18847 }
18848 _ACEOF
18849 if ac_fn_cxx_try_compile "$LINENO"; then :
18850 bakefile_cv_cxx_compiler___xlC__=yes
18851 else
18852 bakefile_cv_cxx_compiler___xlC__=no
18853
18854 fi
18855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18856
18857
18858 fi
18859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18860 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18861 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18862 :; XLCXX=yes
18863 else
18864 :;
18865 fi
18866 ac_ext=c
18867 ac_cpp='$CPP $CPPFLAGS'
18868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18871
18872
18873
18874 ;;
18875
18876 Darwin)
18877
18878
18879 ac_ext=cpp
18880 ac_cpp='$CXXCPP $CPPFLAGS'
18881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18884
18885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18886 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18887 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18888 $as_echo_n "(cached) " >&6
18889 else
18890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18891 /* end confdefs.h. */
18892
18893 int
18894 main ()
18895 {
18896
18897 #ifndef __MWERKS__
18898 choke me
18899 #endif
18900
18901 ;
18902 return 0;
18903 }
18904 _ACEOF
18905 if ac_fn_cxx_try_compile "$LINENO"; then :
18906 bakefile_cv_cxx_compiler___MWERKS__=yes
18907 else
18908 bakefile_cv_cxx_compiler___MWERKS__=no
18909
18910 fi
18911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18912
18913
18914 fi
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18916 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18917 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18918 :; MWCXX=yes
18919 else
18920 :;
18921 fi
18922 ac_ext=c
18923 ac_cpp='$CPP $CPPFLAGS'
18924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18927
18928
18929
18930 if test "$MWCXX" != "yes"; then
18931
18932
18933 ac_ext=cpp
18934 ac_cpp='$CXXCPP $CPPFLAGS'
18935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18938
18939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18940 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18941 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18942 $as_echo_n "(cached) " >&6
18943 else
18944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18945 /* end confdefs.h. */
18946
18947 int
18948 main ()
18949 {
18950
18951 #ifndef __xlC__
18952 choke me
18953 #endif
18954
18955 ;
18956 return 0;
18957 }
18958 _ACEOF
18959 if ac_fn_cxx_try_compile "$LINENO"; then :
18960 bakefile_cv_cxx_compiler___xlC__=yes
18961 else
18962 bakefile_cv_cxx_compiler___xlC__=no
18963
18964 fi
18965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18966
18967
18968 fi
18969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18970 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18971 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18972 :; XLCXX=yes
18973 else
18974 :;
18975 fi
18976 ac_ext=c
18977 ac_cpp='$CPP $CPPFLAGS'
18978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18981
18982
18983
18984 fi
18985 ;;
18986
18987 IRIX*)
18988
18989
18990 ac_ext=cpp
18991 ac_cpp='$CXXCPP $CPPFLAGS'
18992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18995
18996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18997 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18998 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
18999 $as_echo_n "(cached) " >&6
19000 else
19001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19002 /* end confdefs.h. */
19003
19004 int
19005 main ()
19006 {
19007
19008 #ifndef _SGI_COMPILER_VERSION
19009 choke me
19010 #endif
19011
19012 ;
19013 return 0;
19014 }
19015 _ACEOF
19016 if ac_fn_cxx_try_compile "$LINENO"; then :
19017 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19018 else
19019 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19020
19021 fi
19022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19023
19024
19025 fi
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19027 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19028 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19029 :; SGICXX=yes
19030 else
19031 :;
19032 fi
19033 ac_ext=c
19034 ac_cpp='$CPP $CPPFLAGS'
19035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19038
19039
19040
19041 ;;
19042
19043 Linux*)
19044 if test "$INTELCXX" != "yes"; then
19045
19046
19047 ac_ext=cpp
19048 ac_cpp='$CXXCPP $CPPFLAGS'
19049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19052
19053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19054 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19055 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19056 $as_echo_n "(cached) " >&6
19057 else
19058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19059 /* end confdefs.h. */
19060
19061 int
19062 main ()
19063 {
19064
19065 #ifndef __SUNPRO_CC
19066 choke me
19067 #endif
19068
19069 ;
19070 return 0;
19071 }
19072 _ACEOF
19073 if ac_fn_cxx_try_compile "$LINENO"; then :
19074 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19075 else
19076 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19077
19078 fi
19079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19080
19081
19082 fi
19083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19084 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19085 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19086 :; SUNCXX=yes
19087 else
19088 :;
19089 fi
19090 ac_ext=c
19091 ac_cpp='$CPP $CPPFLAGS'
19092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19095
19096
19097
19098 fi
19099 ;;
19100
19101 HP-UX*)
19102
19103
19104 ac_ext=cpp
19105 ac_cpp='$CXXCPP $CPPFLAGS'
19106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19109
19110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
19111 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
19112 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
19113 $as_echo_n "(cached) " >&6
19114 else
19115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19116 /* end confdefs.h. */
19117
19118 int
19119 main ()
19120 {
19121
19122 #ifndef __HP_aCC
19123 choke me
19124 #endif
19125
19126 ;
19127 return 0;
19128 }
19129 _ACEOF
19130 if ac_fn_cxx_try_compile "$LINENO"; then :
19131 bakefile_cv_cxx_compiler___HP_aCC=yes
19132 else
19133 bakefile_cv_cxx_compiler___HP_aCC=no
19134
19135 fi
19136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19137
19138
19139 fi
19140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19141 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19142 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19143 :; HPCXX=yes
19144 else
19145 :;
19146 fi
19147 ac_ext=c
19148 ac_cpp='$CPP $CPPFLAGS'
19149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19152
19153
19154
19155 ;;
19156
19157 OSF1)
19158
19159
19160 ac_ext=cpp
19161 ac_cpp='$CXXCPP $CPPFLAGS'
19162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19165
19166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19167 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19168 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19169 $as_echo_n "(cached) " >&6
19170 else
19171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19172 /* end confdefs.h. */
19173
19174 int
19175 main ()
19176 {
19177
19178 #ifndef __DECCXX
19179 choke me
19180 #endif
19181
19182 ;
19183 return 0;
19184 }
19185 _ACEOF
19186 if ac_fn_cxx_try_compile "$LINENO"; then :
19187 bakefile_cv_cxx_compiler___DECCXX=yes
19188 else
19189 bakefile_cv_cxx_compiler___DECCXX=no
19190
19191 fi
19192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19193
19194
19195 fi
19196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19197 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19198 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19199 :; COMPAQCXX=yes
19200 else
19201 :;
19202 fi
19203 ac_ext=c
19204 ac_cpp='$CPP $CPPFLAGS'
19205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19208
19209
19210
19211 ;;
19212
19213 SunOS)
19214
19215
19216 ac_ext=cpp
19217 ac_cpp='$CXXCPP $CPPFLAGS'
19218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19221
19222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19223 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19224 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19225 $as_echo_n "(cached) " >&6
19226 else
19227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19228 /* end confdefs.h. */
19229
19230 int
19231 main ()
19232 {
19233
19234 #ifndef __SUNPRO_CC
19235 choke me
19236 #endif
19237
19238 ;
19239 return 0;
19240 }
19241 _ACEOF
19242 if ac_fn_cxx_try_compile "$LINENO"; then :
19243 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19244 else
19245 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19246
19247 fi
19248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19249
19250
19251 fi
19252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19253 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19254 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19255 :; SUNCXX=yes
19256 else
19257 :;
19258 fi
19259 ac_ext=c
19260 ac_cpp='$CPP $CPPFLAGS'
19261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19264
19265
19266
19267 ;;
19268 esac
19269 fi
19270
19271
19272
19273 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19274 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19275 fi
19276
19277 if test "x$SUNCXX" != xyes; then
19278 if test -n "$ac_tool_prefix"; then
19279 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19280 set dummy ${ac_tool_prefix}ar; ac_word=$2
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19282 $as_echo_n "checking for $ac_word... " >&6; }
19283 if ${ac_cv_prog_AR+:} false; then :
19284 $as_echo_n "(cached) " >&6
19285 else
19286 if test -n "$AR"; then
19287 ac_cv_prog_AR="$AR" # Let the user override the test.
19288 else
19289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19290 for as_dir in $PATH
19291 do
19292 IFS=$as_save_IFS
19293 test -z "$as_dir" && as_dir=.
19294 for ac_exec_ext in '' $ac_executable_extensions; do
19295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19296 ac_cv_prog_AR="${ac_tool_prefix}ar"
19297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19298 break 2
19299 fi
19300 done
19301 done
19302 IFS=$as_save_IFS
19303
19304 fi
19305 fi
19306 AR=$ac_cv_prog_AR
19307 if test -n "$AR"; then
19308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19309 $as_echo "$AR" >&6; }
19310 else
19311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19312 $as_echo "no" >&6; }
19313 fi
19314
19315
19316 fi
19317 if test -z "$ac_cv_prog_AR"; then
19318 ac_ct_AR=$AR
19319 # Extract the first word of "ar", so it can be a program name with args.
19320 set dummy ar; ac_word=$2
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19322 $as_echo_n "checking for $ac_word... " >&6; }
19323 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19324 $as_echo_n "(cached) " >&6
19325 else
19326 if test -n "$ac_ct_AR"; then
19327 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19328 else
19329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19330 for as_dir in $PATH
19331 do
19332 IFS=$as_save_IFS
19333 test -z "$as_dir" && as_dir=.
19334 for ac_exec_ext in '' $ac_executable_extensions; do
19335 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19336 ac_cv_prog_ac_ct_AR="ar"
19337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19338 break 2
19339 fi
19340 done
19341 done
19342 IFS=$as_save_IFS
19343
19344 fi
19345 fi
19346 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19347 if test -n "$ac_ct_AR"; then
19348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19349 $as_echo "$ac_ct_AR" >&6; }
19350 else
19351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19352 $as_echo "no" >&6; }
19353 fi
19354
19355 if test "x$ac_ct_AR" = x; then
19356 AR=""
19357 else
19358 case $cross_compiling:$ac_tool_warned in
19359 yes:)
19360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19361 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19362 ac_tool_warned=yes ;;
19363 esac
19364 AR=$ac_ct_AR
19365 fi
19366 else
19367 AR="$ac_cv_prog_AR"
19368 fi
19369
19370 if test "x$AR" = "x" ; then
19371 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19372 fi
19373 fi
19374
19375
19376 if test "$wxUSE_MAC" = 1; then
19377
19378 retest_macosx_linking=no
19379
19380 OSX_ARCH_OPTS=""
19381
19382 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19383 if test "x$wxUSE_MAC_ARCH" != xno; then
19384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19385 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19386 fi
19387
19388 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19389 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19390 else OSX_ARCH_OPTS="ppc,i386"
19391 if test "$wxUSE_OSX_COCOA" = 1; then
19392 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19393 fi
19394 fi
19395
19396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19397 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19399 $as_echo "$OSX_ARCH_OPTS" >&6; }
19400
19401 retest_macosx_linking=yes
19402 else
19403 if test "x$wxUSE_MAC_ARCH" != xno; then
19404 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19405 fi
19406 fi
19407
19408 if test "x$OSX_ARCH_OPTS" != "x"; then
19409 if echo $OSX_ARCH_OPTS | grep -q ","; then
19410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19411 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19412 disable_macosx_deps=yes
19413
19414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19415 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19416 bk_use_pch=no
19417 fi
19418
19419 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19420
19421 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19422 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19423 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19424 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19425 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19426 fi
19427
19428 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19429 wxUSE_MACOSX_SDK=
19430 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19431 # TODO: Search for most recent SDK and use it.
19432 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19433 fi
19434
19435
19436 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19438 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19439 if ! test -d "$wxUSE_MACOSX_SDK"; then
19440 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19442 as_fn_error $? "not found
19443 See \`config.log' for more details" "$LINENO" 5; }
19444 else
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19446 $as_echo "exists" >&6; }
19447 fi
19448 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19449 retest_macosx_linking=yes
19450 fi
19451
19452 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19453 wxUSE_MACOSX_VERSION_MIN=
19454 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19455 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19457 $as_echo_n "checking SDK deployment version... " >&6; }
19458
19459 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/'`
19460
19461 # If that failed, try again with the new key
19462 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19463
19464 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/'`
19465
19466 fi
19467
19468 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19469 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19471 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19472 else
19473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19474 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19475 wxUSE_MACOSX_VERSION_MIN=
19476 fi
19477 else
19478 wxUSE_MACOSX_VERSION_MIN=
19479 fi
19480 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19481 wxUSE_MACOSX_VERSION_MIN=10.5
19482 fi
19483
19484 if test "x$MACOSX_SDK_OPTS" != "x"; then
19485 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19486 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19487 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19488 retest_macosx_linking=yes
19489 fi
19490
19491 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19492 if test "$wxUSE_OSX_IPHONE" = 1; then
19493 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19494 else
19495 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19496 fi
19497 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19498 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19499 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19500 retest_macosx_linking=yes
19501 fi
19502
19503 if test "x$retest_macosx_linking" = "xyes"; then
19504 ac_ext=c
19505 ac_cpp='$CPP $CPPFLAGS'
19506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19509
19510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19511 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19513 /* end confdefs.h. */
19514
19515 int
19516 main ()
19517 {
19518
19519 ;
19520 return 0;
19521 }
19522 _ACEOF
19523 if ac_fn_c_try_link "$LINENO"; then :
19524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19525 $as_echo "yes" >&6; }
19526 else
19527 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19529 as_fn_error $? "no. Try a different SDK
19530 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19531 fi
19532 rm -f core conftest.err conftest.$ac_objext \
19533 conftest$ac_exeext conftest.$ac_ext
19534 ac_ext=c
19535 ac_cpp='$CPP $CPPFLAGS'
19536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19539
19540
19541 ac_ext=cpp
19542 ac_cpp='$CXXCPP $CPPFLAGS'
19543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19546
19547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19548 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19550 /* end confdefs.h. */
19551
19552 int
19553 main ()
19554 {
19555
19556 ;
19557 return 0;
19558 }
19559 _ACEOF
19560 if ac_fn_cxx_try_link "$LINENO"; then :
19561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19562 $as_echo "yes" >&6; }
19563 else
19564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19566 as_fn_error $? "no. Try a different SDK
19567 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19568 fi
19569 rm -f core conftest.err conftest.$ac_objext \
19570 conftest$ac_exeext conftest.$ac_ext
19571 ac_ext=c
19572 ac_cpp='$CPP $CPPFLAGS'
19573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19576
19577 fi
19578
19579 fi
19580 case "${host}" in
19581
19582 *-*-darwin* )
19583 INSTALL_PROGRAM="cp -fp"
19584 INSTALL_DATA="cp -fp"
19585 ;;
19586 *)
19587 ;;
19588 esac
19589
19590
19591 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19592 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19593
19594
19595 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19596 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19597 fi
19598
19599 if test "x$USE_AIX" = "x1"; then
19600 if test "x$XLCXX" = "xyes"; then
19601 CXXFLAGS="-qunique $CXXFLAGS"
19602 fi
19603
19604 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19605 fi
19606
19607 case "${host}" in
19608 powerpc-*-darwin* )
19609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19610 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19612 /* end confdefs.h. */
19613
19614 int
19615 main ()
19616 {
19617 #ifndef __POWERPC__
19618 choke me for lack of PowerPC
19619 #endif
19620
19621 ;
19622 return 0;
19623 }
19624 _ACEOF
19625 if ac_fn_c_try_compile "$LINENO"; then :
19626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19627 $as_echo "yes" >&6; }
19628 else
19629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19630 $as_echo "no" >&6; }
19631 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19632
19633
19634 fi
19635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19636 ;;
19637 esac
19638
19639 case "${host}" in
19640 *-*-darwin* )
19641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19642 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19644 /* end confdefs.h. */
19645 #include <CoreFoundation/CFBase.h>
19646
19647 int
19648 main ()
19649 {
19650
19651 ;
19652 return 0;
19653 }
19654 _ACEOF
19655 if ac_fn_c_try_compile "$LINENO"; then :
19656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19657 $as_echo "yes" >&6; }
19658 else
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19660 $as_echo "no" >&6; }
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19662 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19664 /* end confdefs.h. */
19665 #define __CF_USE_FRAMEWORK_INCLUDES__
19666 #include <CoreFoundation/CFBase.h>
19667
19668 int
19669 main ()
19670 {
19671
19672 ;
19673 return 0;
19674 }
19675 _ACEOF
19676 if ac_fn_c_try_compile "$LINENO"; then :
19677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19678 $as_echo "yes" >&6; }
19679 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19680 else
19681 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19683 as_fn_error $? "no. CoreFoundation not available.
19684 See \`config.log' for more details" "$LINENO" 5; }
19685
19686 fi
19687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19688
19689
19690 fi
19691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19692 ;;
19693 esac
19694
19695 wants_win32=0
19696 doesnt_want_win32=0
19697 case "${host}" in
19698 *-*-cygwin*)
19699 if test "$wxUSE_MSW" = 1 ; then
19700 wants_win32=1
19701 else
19702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19703 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19704 if ${wx_cv_nocygwin+:} false; then :
19705 $as_echo_n "(cached) " >&6
19706 else
19707
19708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19709 /* end confdefs.h. */
19710
19711 int
19712 main ()
19713 {
19714
19715 #ifdef __MINGW32__
19716 choke me
19717 #endif
19718
19719 ;
19720 return 0;
19721 }
19722 _ACEOF
19723 if ac_fn_c_try_compile "$LINENO"; then :
19724 wx_cv_nocygwin=no
19725 else
19726 wx_cv_nocygwin=yes
19727
19728 fi
19729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19730
19731
19732 fi
19733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19734 $as_echo "$wx_cv_nocygwin" >&6; }
19735
19736 if test "$wx_cv_nocygwin" = "yes"; then
19737 wants_win32=1
19738 else
19739 doesnt_want_win32=1
19740 fi
19741 fi
19742 if test "$wants_win32" = 1 ; then
19743 BAKEFILE_FORCE_PLATFORM=win32
19744 fi
19745 ;;
19746 *-*-mingw*)
19747 wants_win32=1
19748 ;;
19749 esac
19750
19751 if test "$wxUSE_WINE" = "yes"; then
19752 wants_win32=1
19753 LDFLAGS_GUI="-mwindows"
19754 fi
19755
19756 if test "$wants_win32" = 1 ; then
19757 USE_UNIX=0
19758 USE_WIN32=1
19759 $as_echo "#define __WIN32__ 1" >>confdefs.h
19760
19761 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19762
19763 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19764
19765 $as_echo "#define STRICT 1" >>confdefs.h
19766
19767 fi
19768 if test "$doesnt_want_win32" = 1 ; then
19769 USE_UNIX=1
19770 USE_WIN32=0
19771 fi
19772
19773 if test "$USE_UNIX" = 1 ; then
19774 wxUSE_UNIX=yes
19775 $as_echo "#define __UNIX__ 1" >>confdefs.h
19776
19777 fi
19778
19779 case "${host}" in
19780 *-pc-os2_emx | *-pc-os2-emx )
19781 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19783 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19784 if ${ac_cv_lib_cExt_drand48+:} false; then :
19785 $as_echo_n "(cached) " >&6
19786 else
19787 ac_check_lib_save_LIBS=$LIBS
19788 LIBS="-lcExt $LIBS"
19789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19790 /* end confdefs.h. */
19791
19792 /* Override any GCC internal prototype to avoid an error.
19793 Use char because int might match the return type of a GCC
19794 builtin and then its argument prototype would still apply. */
19795 #ifdef __cplusplus
19796 extern "C"
19797 #endif
19798 char drand48 ();
19799 int
19800 main ()
19801 {
19802 return drand48 ();
19803 ;
19804 return 0;
19805 }
19806 _ACEOF
19807 if ac_fn_c_try_link "$LINENO"; then :
19808 ac_cv_lib_cExt_drand48=yes
19809 else
19810 ac_cv_lib_cExt_drand48=no
19811 fi
19812 rm -f core conftest.err conftest.$ac_objext \
19813 conftest$ac_exeext conftest.$ac_ext
19814 LIBS=$ac_check_lib_save_LIBS
19815 fi
19816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19817 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19818 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19819 LIBS="$LIBS -lcExt"
19820 fi
19821
19822 fi
19823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19824 $as_echo_n "checking for gcc/libc version... " >&6; }
19825 if ${wx_cv_gccversion+:} false; then :
19826 $as_echo_n "(cached) " >&6
19827 else
19828
19829 if test "$cross_compiling" = yes; then :
19830 wx_cv_gccversion="EMX2"
19831
19832 else
19833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19834 /* end confdefs.h. */
19835
19836 #include <stdio.h>
19837
19838 int main()
19839 {
19840 FILE *f=fopen("conftestval", "w");
19841 if (!f) exit(1);
19842 fprintf(f,
19843 #if (__GNUC__ < 3)
19844 "EMX2"
19845 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19846 "EMX3"
19847 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19848 "Innotek5"
19849 #else
19850 "Innotek6"
19851 #endif
19852 );
19853 exit(0);
19854 }
19855
19856 _ACEOF
19857 if ac_fn_c_try_run "$LINENO"; then :
19858 wx_cv_gccversion=`cat conftestval`
19859 else
19860 wx_cv_gccversion="EMX2"
19861 fi
19862 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19863 conftest.$ac_objext conftest.beam conftest.$ac_ext
19864 fi
19865
19866
19867 fi
19868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19869 $as_echo "$wx_cv_gccversion" >&6; }
19870 if test "$wx_cv_gccversion" = "EMX2"; then
19871 LIBS="$LIBS -lstdcpp"
19872 LDFLAGS="$LDFLAGS -Zsysv-signals"
19873 else
19874 if test "$wx_cv_gccversion" = "EMX3"; then
19875 LIBS="$LIBS -lstdcxx -lgcc"
19876 LDFLAGS="$LDFLAGS -Zsysv-signals"
19877 else
19878 LIBS="$LIBS -lstdc++"
19879 fi
19880 fi
19881 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19883 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19884 wxUSE_OMF=yes
19885 enable_omf=yes
19886 fi
19887 ;;
19888 *)
19889
19890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19891 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19892 if ${ac_cv_string_strcasecmp+:} false; then :
19893 $as_echo_n "(cached) " >&6
19894 else
19895
19896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19897 /* end confdefs.h. */
19898
19899 #include <string.h>
19900
19901 int
19902 main ()
19903 {
19904
19905 strcasecmp("foo", "bar");
19906
19907 ;
19908 return 0;
19909 }
19910 _ACEOF
19911 if ac_fn_c_try_link "$LINENO"; then :
19912 ac_cv_string_strcasecmp=yes
19913 else
19914 ac_cv_string_strcasecmp=no
19915
19916 fi
19917 rm -f core conftest.err conftest.$ac_objext \
19918 conftest$ac_exeext conftest.$ac_ext
19919
19920 fi
19921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19922 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19923
19924 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19925 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19926
19927 else
19928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19929 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19930 if ${ac_cv_strings_strcasecmp+:} false; then :
19931 $as_echo_n "(cached) " >&6
19932 else
19933
19934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19935 /* end confdefs.h. */
19936
19937 #include <strings.h>
19938
19939 int
19940 main ()
19941 {
19942
19943 strcasecmp("foo", "bar");
19944
19945 ;
19946 return 0;
19947 }
19948 _ACEOF
19949 if ac_fn_c_try_link "$LINENO"; then :
19950 ac_cv_strings_strcasecmp=yes
19951 else
19952 ac_cv_strings_strcasecmp=no
19953
19954 fi
19955 rm -f core conftest.err conftest.$ac_objext \
19956 conftest$ac_exeext conftest.$ac_ext
19957
19958 fi
19959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19960 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19961
19962 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19963 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19964
19965 else
19966 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19967 fi
19968 fi
19969
19970 ;;
19971 esac
19972
19973
19974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19975 $as_echo_n "checking for ANSI C header files... " >&6; }
19976 if ${ac_cv_header_stdc+:} false; then :
19977 $as_echo_n "(cached) " >&6
19978 else
19979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19980 /* end confdefs.h. */
19981 #include <stdlib.h>
19982 #include <stdarg.h>
19983 #include <string.h>
19984 #include <float.h>
19985
19986 int
19987 main ()
19988 {
19989
19990 ;
19991 return 0;
19992 }
19993 _ACEOF
19994 if ac_fn_c_try_compile "$LINENO"; then :
19995 ac_cv_header_stdc=yes
19996 else
19997 ac_cv_header_stdc=no
19998 fi
19999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20000
20001 if test $ac_cv_header_stdc = yes; then
20002 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20004 /* end confdefs.h. */
20005 #include <string.h>
20006
20007 _ACEOF
20008 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20009 $EGREP "memchr" >/dev/null 2>&1; then :
20010
20011 else
20012 ac_cv_header_stdc=no
20013 fi
20014 rm -f conftest*
20015
20016 fi
20017
20018 if test $ac_cv_header_stdc = yes; then
20019 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20021 /* end confdefs.h. */
20022 #include <stdlib.h>
20023
20024 _ACEOF
20025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20026 $EGREP "free" >/dev/null 2>&1; then :
20027
20028 else
20029 ac_cv_header_stdc=no
20030 fi
20031 rm -f conftest*
20032
20033 fi
20034
20035 if test $ac_cv_header_stdc = yes; then
20036 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20037 if test "$cross_compiling" = yes; then :
20038 :
20039 else
20040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20041 /* end confdefs.h. */
20042 #include <ctype.h>
20043 #include <stdlib.h>
20044 #if ((' ' & 0x0FF) == 0x020)
20045 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20046 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20047 #else
20048 # define ISLOWER(c) \
20049 (('a' <= (c) && (c) <= 'i') \
20050 || ('j' <= (c) && (c) <= 'r') \
20051 || ('s' <= (c) && (c) <= 'z'))
20052 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20053 #endif
20054
20055 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20056 int
20057 main ()
20058 {
20059 int i;
20060 for (i = 0; i < 256; i++)
20061 if (XOR (islower (i), ISLOWER (i))
20062 || toupper (i) != TOUPPER (i))
20063 return 2;
20064 return 0;
20065 }
20066 _ACEOF
20067 if ac_fn_c_try_run "$LINENO"; then :
20068
20069 else
20070 ac_cv_header_stdc=no
20071 fi
20072 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20073 conftest.$ac_objext conftest.beam conftest.$ac_ext
20074 fi
20075
20076 fi
20077 fi
20078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20079 $as_echo "$ac_cv_header_stdc" >&6; }
20080 if test $ac_cv_header_stdc = yes; then
20081
20082 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20083
20084 fi
20085
20086 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20087 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20088 inttypes.h stdint.h unistd.h
20089 do :
20090 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20091 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20092 "
20093 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20094 cat >>confdefs.h <<_ACEOF
20095 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20096 _ACEOF
20097
20098 fi
20099
20100 done
20101
20102
20103 for ac_header in langinfo.h wchar.h
20104 do :
20105 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20106 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20107 "
20108 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20109 cat >>confdefs.h <<_ACEOF
20110 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20111 _ACEOF
20112
20113 fi
20114
20115 done
20116
20117
20118 if test "$ac_cv_header_wchar_h" != "yes"; then
20119 for ac_header in wcstr.h
20120 do :
20121 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20122 "
20123 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20124 cat >>confdefs.h <<_ACEOF
20125 #define HAVE_WCSTR_H 1
20126 _ACEOF
20127
20128 fi
20129
20130 done
20131
20132 fi
20133
20134 case "${host}" in
20135 *-pc-os2_emx | *-pc-os2-emx )
20136 if test $ac_cv_header_langinfo_h = "yes" \
20137 -a \( "$wx_cv_gccversion" = "EMX2" \
20138 -o "$wx_cv_gccversion" = "EMX3" \
20139 -o "$wx_cv_gccversion" = "Innotek5" \); then
20140 LIBS="$LIBS -lintl"
20141 fi
20142 ;;
20143 esac
20144
20145 if test "$USE_UNIX" = 1 ; then
20146 for ac_header in sys/select.h
20147 do :
20148 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20149 "
20150 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20151 cat >>confdefs.h <<_ACEOF
20152 #define HAVE_SYS_SELECT_H 1
20153 _ACEOF
20154
20155 fi
20156
20157 done
20158
20159
20160 ac_ext=cpp
20161 ac_cpp='$CXXCPP $CPPFLAGS'
20162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20165
20166 for ac_header in cxxabi.h
20167 do :
20168 ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default
20169 "
20170 if test "x$ac_cv_header_cxxabi_h" = xyes; then :
20171 cat >>confdefs.h <<_ACEOF
20172 #define HAVE_CXXABI_H 1
20173 _ACEOF
20174
20175 fi
20176
20177 done
20178
20179 ac_ext=c
20180 ac_cpp='$CPP $CPPFLAGS'
20181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20184
20185 fi
20186
20187
20188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20189 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20190 if ${ac_cv_c_const+:} false; then :
20191 $as_echo_n "(cached) " >&6
20192 else
20193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20194 /* end confdefs.h. */
20195
20196 int
20197 main ()
20198 {
20199
20200 #ifndef __cplusplus
20201 /* Ultrix mips cc rejects this sort of thing. */
20202 typedef int charset[2];
20203 const charset cs = { 0, 0 };
20204 /* SunOS 4.1.1 cc rejects this. */
20205 char const *const *pcpcc;
20206 char **ppc;
20207 /* NEC SVR4.0.2 mips cc rejects this. */
20208 struct point {int x, y;};
20209 static struct point const zero = {0,0};
20210 /* AIX XL C 1.02.0.0 rejects this.
20211 It does not let you subtract one const X* pointer from another in
20212 an arm of an if-expression whose if-part is not a constant
20213 expression */
20214 const char *g = "string";
20215 pcpcc = &g + (g ? g-g : 0);
20216 /* HPUX 7.0 cc rejects these. */
20217 ++pcpcc;
20218 ppc = (char**) pcpcc;
20219 pcpcc = (char const *const *) ppc;
20220 { /* SCO 3.2v4 cc rejects this sort of thing. */
20221 char tx;
20222 char *t = &tx;
20223 char const *s = 0 ? (char *) 0 : (char const *) 0;
20224
20225 *t++ = 0;
20226 if (s) return 0;
20227 }
20228 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20229 int x[] = {25, 17};
20230 const int *foo = &x[0];
20231 ++foo;
20232 }
20233 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20234 typedef const int *iptr;
20235 iptr p = 0;
20236 ++p;
20237 }
20238 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20239 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20240 struct s { int j; const int *ap[3]; } bx;
20241 struct s *b = &bx; b->j = 5;
20242 }
20243 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20244 const int foo = 10;
20245 if (!foo) return 0;
20246 }
20247 return !cs[0] && !zero.x;
20248 #endif
20249
20250 ;
20251 return 0;
20252 }
20253 _ACEOF
20254 if ac_fn_c_try_compile "$LINENO"; then :
20255 ac_cv_c_const=yes
20256 else
20257 ac_cv_c_const=no
20258 fi
20259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20260 fi
20261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20262 $as_echo "$ac_cv_c_const" >&6; }
20263 if test $ac_cv_c_const = no; then
20264
20265 $as_echo "#define const /**/" >>confdefs.h
20266
20267 fi
20268
20269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20270 $as_echo_n "checking for inline... " >&6; }
20271 if ${ac_cv_c_inline+:} false; then :
20272 $as_echo_n "(cached) " >&6
20273 else
20274 ac_cv_c_inline=no
20275 for ac_kw in inline __inline__ __inline; do
20276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20277 /* end confdefs.h. */
20278 #ifndef __cplusplus
20279 typedef int foo_t;
20280 static $ac_kw foo_t static_foo () {return 0; }
20281 $ac_kw foo_t foo () {return 0; }
20282 #endif
20283
20284 _ACEOF
20285 if ac_fn_c_try_compile "$LINENO"; then :
20286 ac_cv_c_inline=$ac_kw
20287 fi
20288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20289 test "$ac_cv_c_inline" != no && break
20290 done
20291
20292 fi
20293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20294 $as_echo "$ac_cv_c_inline" >&6; }
20295
20296 case $ac_cv_c_inline in
20297 inline | yes) ;;
20298 *)
20299 case $ac_cv_c_inline in
20300 no) ac_val=;;
20301 *) ac_val=$ac_cv_c_inline;;
20302 esac
20303 cat >>confdefs.h <<_ACEOF
20304 #ifndef __cplusplus
20305 #define inline $ac_val
20306 #endif
20307 _ACEOF
20308 ;;
20309 esac
20310
20311
20312 # The cast to long int works around a bug in the HP C Compiler
20313 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20314 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20315 # This bug is HP SR number 8606223364.
20316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20317 $as_echo_n "checking size of short... " >&6; }
20318 if ${ac_cv_sizeof_short+:} false; then :
20319 $as_echo_n "(cached) " >&6
20320 else
20321 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20322
20323 else
20324 if test "$ac_cv_type_short" = yes; then
20325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20327 as_fn_error 77 "cannot compute sizeof (short)
20328 See \`config.log' for more details" "$LINENO" 5; }
20329 else
20330 ac_cv_sizeof_short=0
20331 fi
20332 fi
20333
20334 fi
20335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20336 $as_echo "$ac_cv_sizeof_short" >&6; }
20337
20338
20339
20340 cat >>confdefs.h <<_ACEOF
20341 #define SIZEOF_SHORT $ac_cv_sizeof_short
20342 _ACEOF
20343
20344
20345 # The cast to long int works around a bug in the HP C Compiler
20346 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20347 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20348 # This bug is HP SR number 8606223364.
20349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20350 $as_echo_n "checking size of void *... " >&6; }
20351 if ${ac_cv_sizeof_void_p+:} false; then :
20352 $as_echo_n "(cached) " >&6
20353 else
20354 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20355
20356 else
20357 if test "$ac_cv_type_void_p" = yes; then
20358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20360 as_fn_error 77 "cannot compute sizeof (void *)
20361 See \`config.log' for more details" "$LINENO" 5; }
20362 else
20363 ac_cv_sizeof_void_p=0
20364 fi
20365 fi
20366
20367 fi
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20369 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20370
20371
20372
20373 cat >>confdefs.h <<_ACEOF
20374 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20375 _ACEOF
20376
20377
20378 # The cast to long int works around a bug in the HP C Compiler
20379 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20380 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20381 # This bug is HP SR number 8606223364.
20382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20383 $as_echo_n "checking size of int... " >&6; }
20384 if ${ac_cv_sizeof_int+:} false; then :
20385 $as_echo_n "(cached) " >&6
20386 else
20387 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20388
20389 else
20390 if test "$ac_cv_type_int" = yes; then
20391 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20393 as_fn_error 77 "cannot compute sizeof (int)
20394 See \`config.log' for more details" "$LINENO" 5; }
20395 else
20396 ac_cv_sizeof_int=0
20397 fi
20398 fi
20399
20400 fi
20401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20402 $as_echo "$ac_cv_sizeof_int" >&6; }
20403
20404
20405
20406 cat >>confdefs.h <<_ACEOF
20407 #define SIZEOF_INT $ac_cv_sizeof_int
20408 _ACEOF
20409
20410
20411 # The cast to long int works around a bug in the HP C Compiler
20412 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20413 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20414 # This bug is HP SR number 8606223364.
20415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20416 $as_echo_n "checking size of long... " >&6; }
20417 if ${ac_cv_sizeof_long+:} false; then :
20418 $as_echo_n "(cached) " >&6
20419 else
20420 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20421
20422 else
20423 if test "$ac_cv_type_long" = yes; then
20424 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20426 as_fn_error 77 "cannot compute sizeof (long)
20427 See \`config.log' for more details" "$LINENO" 5; }
20428 else
20429 ac_cv_sizeof_long=0
20430 fi
20431 fi
20432
20433 fi
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20435 $as_echo "$ac_cv_sizeof_long" >&6; }
20436
20437
20438
20439 cat >>confdefs.h <<_ACEOF
20440 #define SIZEOF_LONG $ac_cv_sizeof_long
20441 _ACEOF
20442
20443
20444 # The cast to long int works around a bug in the HP C Compiler
20445 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20446 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20447 # This bug is HP SR number 8606223364.
20448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20449 $as_echo_n "checking size of size_t... " >&6; }
20450 if ${ac_cv_sizeof_size_t+:} false; then :
20451 $as_echo_n "(cached) " >&6
20452 else
20453 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20454
20455 else
20456 if test "$ac_cv_type_size_t" = yes; then
20457 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20459 as_fn_error 77 "cannot compute sizeof (size_t)
20460 See \`config.log' for more details" "$LINENO" 5; }
20461 else
20462 ac_cv_sizeof_size_t=0
20463 fi
20464 fi
20465
20466 fi
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20468 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20469
20470
20471
20472 cat >>confdefs.h <<_ACEOF
20473 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20474 _ACEOF
20475
20476
20477
20478 case "${host}" in
20479 arm-*-linux* )
20480 # The cast to long int works around a bug in the HP C Compiler
20481 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20482 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20483 # This bug is HP SR number 8606223364.
20484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20485 $as_echo_n "checking size of long long... " >&6; }
20486 if ${ac_cv_sizeof_long_long+:} false; then :
20487 $as_echo_n "(cached) " >&6
20488 else
20489 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20490
20491 else
20492 if test "$ac_cv_type_long_long" = yes; then
20493 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20495 as_fn_error 77 "cannot compute sizeof (long long)
20496 See \`config.log' for more details" "$LINENO" 5; }
20497 else
20498 ac_cv_sizeof_long_long=0
20499 fi
20500 fi
20501
20502 fi
20503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20504 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20505
20506
20507
20508 cat >>confdefs.h <<_ACEOF
20509 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20510 _ACEOF
20511
20512
20513 ;;
20514 *-hp-hpux* )
20515 # The cast to long int works around a bug in the HP C Compiler
20516 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20517 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20518 # This bug is HP SR number 8606223364.
20519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20520 $as_echo_n "checking size of long long... " >&6; }
20521 if ${ac_cv_sizeof_long_long+:} false; then :
20522 $as_echo_n "(cached) " >&6
20523 else
20524 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20525
20526 else
20527 if test "$ac_cv_type_long_long" = yes; then
20528 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20530 as_fn_error 77 "cannot compute sizeof (long long)
20531 See \`config.log' for more details" "$LINENO" 5; }
20532 else
20533 ac_cv_sizeof_long_long=0
20534 fi
20535 fi
20536
20537 fi
20538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20539 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20540
20541
20542
20543 cat >>confdefs.h <<_ACEOF
20544 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20545 _ACEOF
20546
20547
20548 if test "$ac_cv_sizeof_long_long" != 0; then
20549 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20550 fi
20551 ;;
20552 * )
20553 # The cast to long int works around a bug in the HP C Compiler
20554 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20555 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20556 # This bug is HP SR number 8606223364.
20557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20558 $as_echo_n "checking size of long long... " >&6; }
20559 if ${ac_cv_sizeof_long_long+:} false; then :
20560 $as_echo_n "(cached) " >&6
20561 else
20562 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20563
20564 else
20565 if test "$ac_cv_type_long_long" = yes; then
20566 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20567 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20568 as_fn_error 77 "cannot compute sizeof (long long)
20569 See \`config.log' for more details" "$LINENO" 5; }
20570 else
20571 ac_cv_sizeof_long_long=0
20572 fi
20573 fi
20574
20575 fi
20576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20577 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20578
20579
20580
20581 cat >>confdefs.h <<_ACEOF
20582 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20583 _ACEOF
20584
20585
20586 esac
20587
20588 # The cast to long int works around a bug in the HP C Compiler
20589 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20590 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20591 # This bug is HP SR number 8606223364.
20592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20593 $as_echo_n "checking size of wchar_t... " >&6; }
20594 if ${ac_cv_sizeof_wchar_t+:} false; then :
20595 $as_echo_n "(cached) " >&6
20596 else
20597 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20598 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20599 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20600 # error \"fake wchar_t\"
20601 #endif
20602 #ifdef HAVE_WCHAR_H
20603 # ifdef __CYGWIN__
20604 # include <stddef.h>
20605 # endif
20606 # include <wchar.h>
20607 #endif
20608 #ifdef HAVE_STDLIB_H
20609 # include <stdlib.h>
20610 #endif
20611 #include <stdio.h>
20612
20613
20614 "; then :
20615
20616 else
20617 if test "$ac_cv_type_wchar_t" = yes; then
20618 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20620 as_fn_error 77 "cannot compute sizeof (wchar_t)
20621 See \`config.log' for more details" "$LINENO" 5; }
20622 else
20623 ac_cv_sizeof_wchar_t=0
20624 fi
20625 fi
20626
20627 fi
20628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20629 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20630
20631
20632
20633 cat >>confdefs.h <<_ACEOF
20634 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20635 _ACEOF
20636
20637
20638 if test "$ac_cv_sizeof_wchar_t" = 0; then
20639 as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
20640 fi
20641 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20642
20643
20644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20645 $as_echo_n "checking for va_copy... " >&6; }
20646 if ${wx_cv_func_va_copy+:} false; then :
20647 $as_echo_n "(cached) " >&6
20648 else
20649
20650 ac_ext=cpp
20651 ac_cpp='$CXXCPP $CPPFLAGS'
20652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20655
20656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20657 /* end confdefs.h. */
20658
20659
20660 #include <stdarg.h>
20661 void foo(char *f, ...)
20662 {
20663 va_list ap1, ap2;
20664 va_start(ap1, f);
20665 va_copy(ap2, ap1);
20666 va_end(ap2);
20667 va_end(ap1);
20668 }
20669 int main()
20670 {
20671 foo("hi", 17);
20672 return 0;
20673 }
20674
20675 _ACEOF
20676 if ac_fn_cxx_try_link "$LINENO"; then :
20677 wx_cv_func_va_copy=yes
20678 else
20679 wx_cv_func_va_copy=no
20680
20681 fi
20682 rm -f core conftest.err conftest.$ac_objext \
20683 conftest$ac_exeext conftest.$ac_ext
20684 ac_ext=c
20685 ac_cpp='$CPP $CPPFLAGS'
20686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20689
20690
20691
20692 fi
20693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20694 $as_echo "$wx_cv_func_va_copy" >&6; }
20695
20696 if test $wx_cv_func_va_copy = "yes"; then
20697 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20698
20699 else
20700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20701 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20702 if ${wx_cv_type_va_list_lvalue+:} false; then :
20703 $as_echo_n "(cached) " >&6
20704 else
20705
20706 if test "$cross_compiling" = yes; then :
20707 wx_cv_type_va_list_lvalue=yes
20708
20709 else
20710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20711 /* end confdefs.h. */
20712
20713
20714 #include <stdarg.h>
20715 int foo(char *f, ...)
20716 {
20717 va_list ap1, ap2;
20718 va_start(ap1, f);
20719 ap2 = ap1;
20720 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20721 return 1;
20722 va_end(ap2);
20723 va_end(ap1);
20724 return 0;
20725 }
20726 int main()
20727 {
20728 return foo("hi", 17);
20729 }
20730
20731 _ACEOF
20732 if ac_fn_c_try_run "$LINENO"; then :
20733 wx_cv_type_va_list_lvalue=yes
20734 else
20735 wx_cv_type_va_list_lvalue=no
20736 fi
20737 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20738 conftest.$ac_objext conftest.beam conftest.$ac_ext
20739 fi
20740
20741
20742
20743 fi
20744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20745 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20746
20747 if test $wx_cv_type_va_list_lvalue != "yes"; then
20748 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20749
20750 fi
20751 fi
20752
20753 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20754
20755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20756 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20757 if ${wx_cv_have_variadic_macros+:} false; then :
20758 $as_echo_n "(cached) " >&6
20759 else
20760
20761 ac_ext=cpp
20762 ac_cpp='$CXXCPP $CPPFLAGS'
20763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20766
20767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20768 /* end confdefs.h. */
20769
20770
20771 #include <stdio.h>
20772 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20773
20774 int
20775 main ()
20776 {
20777
20778 test("%s %d %p", "test", 1, 0);
20779
20780
20781 ;
20782 return 0;
20783 }
20784 _ACEOF
20785 if ac_fn_cxx_try_compile "$LINENO"; then :
20786 wx_cv_have_variadic_macros=yes
20787 else
20788 wx_cv_have_variadic_macros=no
20789
20790 fi
20791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20792 ac_ext=c
20793 ac_cpp='$CPP $CPPFLAGS'
20794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20797
20798
20799
20800 fi
20801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20802 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20803
20804 if test $wx_cv_have_variadic_macros = "yes"; then
20805 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20806
20807 fi
20808
20809 else
20810 $as_echo "#define wxNO_VARIADIC_MACROS 1" >>confdefs.h
20811
20812 fi
20813
20814 LARGEFILE_CPPFLAGS=
20815 # Check whether --enable-largefile was given.
20816 if test "${enable_largefile+set}" = set; then :
20817 enableval=$enable_largefile;
20818 fi
20819
20820 if test "$enable_largefile" != no; then
20821 wx_largefile=no
20822
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20824 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20825 if ${ac_cv_sys_file_offset_bits+:} false; then :
20826 $as_echo_n "(cached) " >&6
20827 else
20828
20829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20830 /* end confdefs.h. */
20831 #define _FILE_OFFSET_BITS 64
20832 #include <sys/types.h>
20833 int
20834 main ()
20835 {
20836 typedef struct {
20837 unsigned int field: sizeof(off_t) == 8;
20838 } wxlf;
20839
20840 ;
20841 return 0;
20842 }
20843 _ACEOF
20844 if ac_fn_c_try_compile "$LINENO"; then :
20845 ac_cv_sys_file_offset_bits=64
20846 else
20847 ac_cv_sys_file_offset_bits=no
20848 fi
20849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20850
20851
20852 fi
20853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20854 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20855
20856 if test "$ac_cv_sys_file_offset_bits" != no; then
20857 wx_largefile=yes
20858 cat >>confdefs.h <<_ACEOF
20859 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20860 _ACEOF
20861
20862 fi
20863
20864 if test "x$wx_largefile" != "xyes"; then
20865
20866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20867 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20868 if ${ac_cv_sys_large_files+:} false; then :
20869 $as_echo_n "(cached) " >&6
20870 else
20871
20872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20873 /* end confdefs.h. */
20874 #define _LARGE_FILES 1
20875 #include <sys/types.h>
20876 int
20877 main ()
20878 {
20879 typedef struct {
20880 unsigned int field: sizeof(off_t) == 8;
20881 } wxlf;
20882
20883 ;
20884 return 0;
20885 }
20886 _ACEOF
20887 if ac_fn_c_try_compile "$LINENO"; then :
20888 ac_cv_sys_large_files=1
20889 else
20890 ac_cv_sys_large_files=no
20891 fi
20892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20893
20894
20895 fi
20896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20897 $as_echo "$ac_cv_sys_large_files" >&6; }
20898
20899 if test "$ac_cv_sys_large_files" != no; then
20900 wx_largefile=yes
20901 cat >>confdefs.h <<_ACEOF
20902 #define _LARGE_FILES $ac_cv_sys_large_files
20903 _ACEOF
20904
20905 fi
20906
20907 fi
20908
20909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20910 $as_echo_n "checking if large file support is available... " >&6; }
20911 if test "x$wx_largefile" = "xyes"; then
20912 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20913
20914 fi
20915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20916 $as_echo "$wx_largefile" >&6; }
20917 fi
20918
20919 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20920 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
20921 elif test "$ac_cv_sys_large_files" = 1; then
20922 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
20923 fi
20924
20925 if test -n "$LARGEFILE_CPPFLAGS"; then
20926 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20927
20928 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20930 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20931 if ${wx_cv_STDC_EXT_required+:} false; then :
20932 $as_echo_n "(cached) " >&6
20933 else
20934
20935 ac_ext=cpp
20936 ac_cpp='$CXXCPP $CPPFLAGS'
20937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20940
20941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20942 /* end confdefs.h. */
20943
20944 int
20945 main ()
20946 {
20947
20948 #ifndef __STDC_EXT__
20949 choke me
20950 #endif
20951
20952 ;
20953 return 0;
20954 }
20955 _ACEOF
20956 if ac_fn_cxx_try_compile "$LINENO"; then :
20957 wx_cv_STDC_EXT_required=no
20958 else
20959 wx_cv_STDC_EXT_required=yes
20960
20961 fi
20962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20963 ac_ext=c
20964 ac_cpp='$CPP $CPPFLAGS'
20965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20968
20969
20970
20971 fi
20972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20973 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20974 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20975 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20976 fi
20977 fi
20978 fi
20979
20980 ac_ext=cpp
20981 ac_cpp='$CXXCPP $CPPFLAGS'
20982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20985
20986 old_CPPFLAGS="$CPPFLAGS"
20987 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20989 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20990 if ${ac_cv_sys_largefile_source+:} false; then :
20991 $as_echo_n "(cached) " >&6
20992 else
20993 while :; do
20994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20995 /* end confdefs.h. */
20996 #include <sys/types.h> /* for off_t */
20997 #include <stdio.h>
20998 int
20999 main ()
21000 {
21001 int (*fp) (FILE *, off_t, int) = fseeko;
21002 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
21003 ;
21004 return 0;
21005 }
21006 _ACEOF
21007 if ac_fn_cxx_try_link "$LINENO"; then :
21008 ac_cv_sys_largefile_source=no; break
21009 fi
21010 rm -f core conftest.err conftest.$ac_objext \
21011 conftest$ac_exeext conftest.$ac_ext
21012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21013 /* end confdefs.h. */
21014 #define _LARGEFILE_SOURCE 1
21015 #include <sys/types.h> /* for off_t */
21016 #include <stdio.h>
21017 int
21018 main ()
21019 {
21020 int (*fp) (FILE *, off_t, int) = fseeko;
21021 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
21022 ;
21023 return 0;
21024 }
21025 _ACEOF
21026 if ac_fn_cxx_try_link "$LINENO"; then :
21027 ac_cv_sys_largefile_source=1; break
21028 fi
21029 rm -f core conftest.err conftest.$ac_objext \
21030 conftest$ac_exeext conftest.$ac_ext
21031 ac_cv_sys_largefile_source=unknown
21032 break
21033 done
21034 fi
21035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
21036 $as_echo "$ac_cv_sys_largefile_source" >&6; }
21037 case $ac_cv_sys_largefile_source in #(
21038 no | unknown) ;;
21039 *)
21040 cat >>confdefs.h <<_ACEOF
21041 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21042 _ACEOF
21043 ;;
21044 esac
21045 rm -rf conftest*
21046
21047 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21048 # in glibc 2.1.3, but that breaks too many other things.
21049 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21050 if test $ac_cv_sys_largefile_source != unknown; then
21051
21052 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
21053
21054 fi
21055
21056 CPPFLAGS="$old_CPPFLAGS"
21057 ac_ext=c
21058 ac_cpp='$CPP $CPPFLAGS'
21059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21062
21063 if test "$ac_cv_sys_largefile_source" != no; then
21064 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21065 fi
21066
21067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
21068 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
21069 if ${ac_cv_c_bigendian+:} false; then :
21070 $as_echo_n "(cached) " >&6
21071 else
21072 ac_cv_c_bigendian=unknown
21073 # See if sys/param.h defines the BYTE_ORDER macro.
21074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21075 /* end confdefs.h. */
21076 #include <sys/types.h>
21077 #include <sys/param.h>
21078 int
21079 main ()
21080 {
21081
21082 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21083 bogus endian macros
21084 #endif
21085 ;
21086 return 0;
21087 }
21088 _ACEOF
21089 if ac_fn_c_try_compile "$LINENO"; then :
21090 # It does; now see whether it defined to BIG_ENDIAN or not.
21091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21092 /* end confdefs.h. */
21093 #include <sys/types.h>
21094 #include <sys/param.h>
21095 int
21096 main ()
21097 {
21098
21099 #if BYTE_ORDER != BIG_ENDIAN
21100 not big endian
21101 #endif
21102 ;
21103 return 0;
21104 }
21105 _ACEOF
21106 if ac_fn_c_try_compile "$LINENO"; then :
21107 ac_cv_c_bigendian=yes
21108 else
21109 ac_cv_c_bigendian=no
21110 fi
21111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21112 fi
21113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21114 if test $ac_cv_c_bigendian = unknown; then
21115 if test "$cross_compiling" = yes; then :
21116 ac_cv_c_bigendian=unknown
21117 else
21118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21119 /* end confdefs.h. */
21120 main () {
21121 /* Are we little or big endian? From Harbison&Steele. */
21122 union
21123 {
21124 long l;
21125 char c[sizeof (long)];
21126 } u;
21127 u.l = 1;
21128 exit (u.c[sizeof (long) - 1] == 1);
21129 }
21130 _ACEOF
21131 if ac_fn_c_try_run "$LINENO"; then :
21132 ac_cv_c_bigendian=no
21133 else
21134 ac_cv_c_bigendian=yes
21135 fi
21136 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21137 conftest.$ac_objext conftest.beam conftest.$ac_ext
21138 fi
21139
21140 fi
21141 fi
21142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21143 $as_echo "$ac_cv_c_bigendian" >&6; }
21144 if test $ac_cv_c_bigendian = unknown; then
21145 { $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
21146 $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;}
21147 fi
21148 if test $ac_cv_c_bigendian = yes; then
21149 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21150
21151 fi
21152
21153
21154
21155
21156 ac_ext=cpp
21157 ac_cpp='$CXXCPP $CPPFLAGS'
21158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21161
21162
21163 for ac_header in iostream
21164 do :
21165 ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
21166 "
21167 if test "x$ac_cv_header_iostream" = xyes; then :
21168 cat >>confdefs.h <<_ACEOF
21169 #define HAVE_IOSTREAM 1
21170 _ACEOF
21171
21172 fi
21173
21174 done
21175
21176
21177 if test "$ac_cv_header_iostream" = "yes" ; then
21178 :
21179 else
21180 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21181
21182 fi
21183
21184 ac_ext=c
21185 ac_cpp='$CPP $CPPFLAGS'
21186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21189
21190
21191
21192
21193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21194 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21195 if ${wx_cv_explicit+:} false; then :
21196 $as_echo_n "(cached) " >&6
21197 else
21198
21199
21200 ac_ext=cpp
21201 ac_cpp='$CXXCPP $CPPFLAGS'
21202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21205
21206
21207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21208 /* end confdefs.h. */
21209
21210 class Foo { public: explicit Foo(int) {} };
21211
21212 int
21213 main ()
21214 {
21215
21216 return 0;
21217
21218 ;
21219 return 0;
21220 }
21221 _ACEOF
21222 if ac_fn_cxx_try_compile "$LINENO"; then :
21223
21224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21225 /* end confdefs.h. */
21226
21227 class Foo { public: explicit Foo(int) {} };
21228 static void TakeFoo(const Foo& foo) { }
21229
21230 int
21231 main ()
21232 {
21233
21234 TakeFoo(17);
21235 return 0;
21236
21237 ;
21238 return 0;
21239 }
21240 _ACEOF
21241 if ac_fn_cxx_try_compile "$LINENO"; then :
21242 wx_cv_explicit=no
21243 else
21244 wx_cv_explicit=yes
21245
21246 fi
21247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21248
21249 else
21250 wx_cv_explicit=no
21251
21252 fi
21253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21254
21255 ac_ext=c
21256 ac_cpp='$CPP $CPPFLAGS'
21257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21260
21261
21262 fi
21263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21264 $as_echo "$wx_cv_explicit" >&6; }
21265
21266 if test "$wx_cv_explicit" = "yes"; then
21267 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21268
21269 fi
21270
21271
21272 if test "x$SUNCXX" = xyes; then
21273 CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21274 fi
21275
21276 if test "x$SUNCC" = xyes; then
21277 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21278 fi
21279
21280 if test "x$SGICC" = "xyes"; then
21281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21282 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21283 if ${wx_cv_prog_sgicc744+:} false; then :
21284 $as_echo_n "(cached) " >&6
21285 else
21286
21287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21288 /* end confdefs.h. */
21289
21290 int
21291 main ()
21292 {
21293
21294 #if _SGI_COMPILER_VERSION >= 744
21295 chock me: mipsPro is 7.4.4 or later
21296 #endif
21297
21298 ;
21299 return 0;
21300 }
21301 _ACEOF
21302 if ac_fn_c_try_compile "$LINENO"; then :
21303 wx_cv_prog_sgicc744=no
21304 else
21305 wx_cv_prog_sgicc744=yes
21306
21307 fi
21308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21309
21310
21311 fi
21312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21313 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21314
21315 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21316 CFLAGS="-woff 3970 $CFLAGS"
21317 fi
21318 fi
21319 if test "x$SGICXX" = "xyes"; then
21320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21321 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21322 if ${wx_cv_prog_sgicxx744+:} false; then :
21323 $as_echo_n "(cached) " >&6
21324 else
21325
21326 ac_ext=cpp
21327 ac_cpp='$CXXCPP $CPPFLAGS'
21328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21331
21332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21333 /* end confdefs.h. */
21334
21335 int
21336 main ()
21337 {
21338
21339 #if _SGI_COMPILER_VERSION >= 744
21340 chock me: mipsPro is 7.4.4 or later
21341 #endif
21342
21343 ;
21344 return 0;
21345 }
21346 _ACEOF
21347 if ac_fn_cxx_try_compile "$LINENO"; then :
21348 wx_cv_prog_sgicxx744=no
21349 else
21350 wx_cv_prog_sgicxx744=yes
21351
21352 fi
21353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21354 ac_ext=c
21355 ac_cpp='$CPP $CPPFLAGS'
21356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21359
21360
21361
21362 fi
21363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21364 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21365
21366 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21367 CXXFLAGS="-woff 3970 $CXXFLAGS"
21368 fi
21369 fi
21370
21371 if test "x$HPCC" = "xyes"; then
21372 CFLAGS="+W 2011,2450 $CFLAGS"
21373 fi
21374 if test "x$HPCXX" = "xyes"; then
21375 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
21376 fi
21377
21378 if test "x$COMPAQCXX" = "xyes"; then
21379 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21380 fi
21381
21382 ac_ext=cpp
21383 ac_cpp='$CXXCPP $CPPFLAGS'
21384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21387
21388
21389 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21390 if test "$wxUSE_UNICODE" = "yes"; then
21391 std_string="std::wstring"
21392 char_type="wchar_t"
21393 else
21394 std_string="std::string"
21395 char_type="char"
21396 fi
21397
21398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21399 $as_echo_n "checking for $std_string in <string>... " >&6; }
21400 if ${wx_cv_class_stdstring+:} false; then :
21401 $as_echo_n "(cached) " >&6
21402 else
21403
21404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21405 /* end confdefs.h. */
21406 #include <string>
21407 int
21408 main ()
21409 {
21410 $std_string foo;
21411 ;
21412 return 0;
21413 }
21414 _ACEOF
21415 if ac_fn_cxx_try_compile "$LINENO"; then :
21416 wx_cv_class_stdstring=yes
21417 else
21418 wx_cv_class_stdstring=no
21419
21420 fi
21421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21422
21423
21424 fi
21425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21426 $as_echo "$wx_cv_class_stdstring" >&6; }
21427
21428 if test "$wx_cv_class_stdstring" = yes; then
21429 if test "$wxUSE_UNICODE" = "yes"; then
21430 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21431
21432 fi
21433 else
21434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21435 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21436 if ${wx_cv_class_stdbasicstring+:} false; then :
21437 $as_echo_n "(cached) " >&6
21438 else
21439
21440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21441 /* end confdefs.h. */
21442
21443 #ifdef HAVE_WCHAR_H
21444 # ifdef __CYGWIN__
21445 # include <stddef.h>
21446 # endif
21447 # include <wchar.h>
21448 #endif
21449 #ifdef HAVE_STDLIB_H
21450 # include <stdlib.h>
21451 #endif
21452 #include <stdio.h>
21453 #include <string>
21454
21455 int
21456 main ()
21457 {
21458 std::basic_string<$char_type> foo;
21459 const $char_type* dummy = foo.c_str();
21460 ;
21461 return 0;
21462 }
21463 _ACEOF
21464 if ac_fn_cxx_try_compile "$LINENO"; then :
21465 wx_cv_class_stdbasicstring=yes
21466 else
21467 wx_cv_class_stdbasicstring=no
21468
21469 fi
21470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21471
21472
21473 fi
21474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21475 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21476
21477 if test "$wx_cv_class_stdbasicstring" != yes; then
21478 if test "$wxUSE_STL" = "yes"; then
21479 as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21480 elif test "$wxUSE_STD_STRING" = "yes"; then
21481 as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21482 else
21483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21484 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21485 wxUSE_STD_STRING=no
21486 fi
21487 fi
21488 fi
21489 fi
21490
21491 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21492 ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21493 "
21494 if test "x$ac_cv_type_std__istream" = xyes; then :
21495
21496 cat >>confdefs.h <<_ACEOF
21497 #define HAVE_STD__ISTREAM 1
21498 _ACEOF
21499
21500
21501 else
21502 wxUSE_STD_IOSTREAM=no
21503 fi
21504 ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21505 "
21506 if test "x$ac_cv_type_std__ostream" = xyes; then :
21507
21508 cat >>confdefs.h <<_ACEOF
21509 #define HAVE_STD__OSTREAM 1
21510 _ACEOF
21511
21512
21513 else
21514 wxUSE_STD_IOSTREAM=no
21515 fi
21516
21517
21518 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21519 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21520 as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21521 else
21522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21523 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21524 fi
21525 fi
21526 fi
21527
21528 if test "$wxUSE_STL" = "yes"; then
21529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21530 $as_echo_n "checking for basic STL functionality... " >&6; }
21531 if ${wx_cv_lib_stl+:} false; then :
21532 $as_echo_n "(cached) " >&6
21533 else
21534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21535 /* end confdefs.h. */
21536 #include <string>
21537 #include <functional>
21538 #include <algorithm>
21539 #include <vector>
21540 #include <list>
21541 int
21542 main ()
21543 {
21544 std::vector<int> moo;
21545 std::list<int> foo;
21546 std::vector<int>::iterator it =
21547 std::find_if(moo.begin(), moo.end(),
21548 std::bind2nd(std::less<int>(), 3));
21549 ;
21550 return 0;
21551 }
21552 _ACEOF
21553 if ac_fn_cxx_try_compile "$LINENO"; then :
21554 wx_cv_lib_stl=yes
21555 else
21556 wx_cv_lib_stl=no
21557
21558 fi
21559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21560
21561 fi
21562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21563 $as_echo "$wx_cv_lib_stl" >&6; }
21564
21565 if test "$wx_cv_lib_stl" != yes; then
21566 as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21567 fi
21568
21569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21570 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21571 if ${wx_cv_func_stdstring_compare+:} false; then :
21572 $as_echo_n "(cached) " >&6
21573 else
21574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21575 /* end confdefs.h. */
21576 #include <string>
21577 int
21578 main ()
21579 {
21580 std::string foo, bar;
21581 foo.compare(bar);
21582 foo.compare(1, 1, bar);
21583 foo.compare(1, 1, bar, 1, 1);
21584 foo.compare("");
21585 foo.compare(1, 1, "");
21586 foo.compare(1, 1, "", 2);
21587 ;
21588 return 0;
21589 }
21590 _ACEOF
21591 if ac_fn_cxx_try_compile "$LINENO"; then :
21592 wx_cv_func_stdstring_compare=yes
21593 else
21594 wx_cv_func_stdstring_compare=no
21595
21596 fi
21597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21598
21599 fi
21600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21601 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21602
21603 if test "$wx_cv_func_stdstring_compare" = yes; then
21604 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21605
21606 fi
21607
21608 if test "$wx_cv_class_gnuhashmapset" = yes; then
21609 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21610
21611 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21612
21613 fi
21614
21615 ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21616
21617 "
21618 if test "x$ac_cv_header_unordered_map" = xyes; then :
21619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21620 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21621 if ${wx_cv_class_stdunorderedmapset+:} false; then :
21622 $as_echo_n "(cached) " >&6
21623 else
21624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21625 /* end confdefs.h. */
21626 #include <unordered_map>
21627 #include <unordered_set>
21628 int
21629 main ()
21630 {
21631 std::unordered_map<double*, char*> test1;
21632 std::unordered_set<char*> test2;
21633 ;
21634 return 0;
21635 }
21636 _ACEOF
21637 if ac_fn_cxx_try_compile "$LINENO"; then :
21638 wx_cv_class_stdunorderedmapset=yes
21639 else
21640 wx_cv_class_stdunorderedmapset=no
21641 fi
21642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21643
21644
21645 fi
21646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21647 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21648 fi
21649
21650
21651
21652 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21653 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21654
21655 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21656
21657 else
21658 ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21659
21660 "
21661 if test "x$ac_cv_header_tr1_unordered_map" = xyes; then :
21662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21663 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21664 if ${wx_cv_class_tr1unorderedmapset+:} false; then :
21665 $as_echo_n "(cached) " >&6
21666 else
21667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21668 /* end confdefs.h. */
21669 #include <tr1/unordered_map>
21670 #include <tr1/unordered_set>
21671 int
21672 main ()
21673 {
21674 std::tr1::unordered_map<double*, char*> test1;
21675 std::tr1::unordered_set<char*> test2;
21676 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21677 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21678 #endif
21679 ;
21680 return 0;
21681 }
21682 _ACEOF
21683 if ac_fn_cxx_try_compile "$LINENO"; then :
21684 wx_cv_class_tr1unorderedmapset=yes
21685 else
21686 wx_cv_class_tr1unorderedmapset=no
21687 fi
21688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21689
21690
21691 fi
21692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21693 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21694 fi
21695
21696
21697
21698 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21699 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21700
21701 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21702
21703 else
21704 ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
21705
21706 "
21707 if test "x$ac_cv_header_hash_map" = xyes; then :
21708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21709 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21710 if ${wx_cv_class_stdhashmapset+:} false; then :
21711 $as_echo_n "(cached) " >&6
21712 else
21713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21714 /* end confdefs.h. */
21715 #include <hash_map>
21716 #include <hash_set>
21717 int
21718 main ()
21719 {
21720 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21721 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21722 ;
21723 return 0;
21724 }
21725 _ACEOF
21726 if ac_fn_cxx_try_compile "$LINENO"; then :
21727 wx_cv_class_stdhashmapset=yes
21728 else
21729 wx_cv_class_stdhashmapset=no
21730 fi
21731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21732
21733
21734 fi
21735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21736 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21737 fi
21738
21739
21740
21741 if test "$wx_cv_class_stdhashmapset" = yes; then
21742 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21743
21744 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21745
21746 fi
21747
21748 ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21749
21750 "
21751 if test "x$ac_cv_header_ext_hash_map" = xyes; then :
21752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21753 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21754 if ${wx_cv_class_gnuhashmapset+:} false; then :
21755 $as_echo_n "(cached) " >&6
21756 else
21757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21758 /* end confdefs.h. */
21759 #include <ext/hash_map>
21760 #include <ext/hash_set>
21761 int
21762 main ()
21763 {
21764 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21765 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21766 ;
21767 return 0;
21768 }
21769 _ACEOF
21770 if ac_fn_cxx_try_compile "$LINENO"; then :
21771 wx_cv_class_gnuhashmapset=yes
21772 else
21773 wx_cv_class_gnuhashmapset=no
21774 fi
21775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21776
21777
21778 fi
21779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21780 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21781 fi
21782
21783
21784
21785 fi
21786 fi
21787 fi
21788
21789 ac_ext=cpp
21790 ac_cpp='$CXXCPP $CPPFLAGS'
21791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21795 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21796 if test -z "$CXXCPP"; then
21797 if ${ac_cv_prog_CXXCPP+:} false; then :
21798 $as_echo_n "(cached) " >&6
21799 else
21800 # Double quotes because CXXCPP needs to be expanded
21801 for CXXCPP in "$CXX -E" "/lib/cpp"
21802 do
21803 ac_preproc_ok=false
21804 for ac_cxx_preproc_warn_flag in '' yes
21805 do
21806 # Use a header file that comes with gcc, so configuring glibc
21807 # with a fresh cross-compiler works.
21808 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21809 # <limits.h> exists even on freestanding compilers.
21810 # On the NeXT, cc -E runs the code through the compiler's parser,
21811 # not just through cpp. "Syntax error" is here to catch this case.
21812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21813 /* end confdefs.h. */
21814 #ifdef __STDC__
21815 # include <limits.h>
21816 #else
21817 # include <assert.h>
21818 #endif
21819 Syntax error
21820 _ACEOF
21821 if ac_fn_cxx_try_cpp "$LINENO"; then :
21822
21823 else
21824 # Broken: fails on valid input.
21825 continue
21826 fi
21827 rm -f conftest.err conftest.i conftest.$ac_ext
21828
21829 # OK, works on sane cases. Now check whether nonexistent headers
21830 # can be detected and how.
21831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21832 /* end confdefs.h. */
21833 #include <ac_nonexistent.h>
21834 _ACEOF
21835 if ac_fn_cxx_try_cpp "$LINENO"; then :
21836 # Broken: success on invalid input.
21837 continue
21838 else
21839 # Passes both tests.
21840 ac_preproc_ok=:
21841 break
21842 fi
21843 rm -f conftest.err conftest.i conftest.$ac_ext
21844
21845 done
21846 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21847 rm -f conftest.i conftest.err conftest.$ac_ext
21848 if $ac_preproc_ok; then :
21849 break
21850 fi
21851
21852 done
21853 ac_cv_prog_CXXCPP=$CXXCPP
21854
21855 fi
21856 CXXCPP=$ac_cv_prog_CXXCPP
21857 else
21858 ac_cv_prog_CXXCPP=$CXXCPP
21859 fi
21860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21861 $as_echo "$CXXCPP" >&6; }
21862 ac_preproc_ok=false
21863 for ac_cxx_preproc_warn_flag in '' yes
21864 do
21865 # Use a header file that comes with gcc, so configuring glibc
21866 # with a fresh cross-compiler works.
21867 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21868 # <limits.h> exists even on freestanding compilers.
21869 # On the NeXT, cc -E runs the code through the compiler's parser,
21870 # not just through cpp. "Syntax error" is here to catch this case.
21871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21872 /* end confdefs.h. */
21873 #ifdef __STDC__
21874 # include <limits.h>
21875 #else
21876 # include <assert.h>
21877 #endif
21878 Syntax error
21879 _ACEOF
21880 if ac_fn_cxx_try_cpp "$LINENO"; then :
21881
21882 else
21883 # Broken: fails on valid input.
21884 continue
21885 fi
21886 rm -f conftest.err conftest.i conftest.$ac_ext
21887
21888 # OK, works on sane cases. Now check whether nonexistent headers
21889 # can be detected and how.
21890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21891 /* end confdefs.h. */
21892 #include <ac_nonexistent.h>
21893 _ACEOF
21894 if ac_fn_cxx_try_cpp "$LINENO"; then :
21895 # Broken: success on invalid input.
21896 continue
21897 else
21898 # Passes both tests.
21899 ac_preproc_ok=:
21900 break
21901 fi
21902 rm -f conftest.err conftest.i conftest.$ac_ext
21903
21904 done
21905 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21906 rm -f conftest.i conftest.err conftest.$ac_ext
21907 if $ac_preproc_ok; then :
21908
21909 else
21910 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21912 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21913 See \`config.log' for more details" "$LINENO" 5; }
21914 fi
21915
21916 ac_ext=cpp
21917 ac_cpp='$CXXCPP $CPPFLAGS'
21918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21921
21922
21923 for ac_header in type_traits tr1/type_traits
21924 do :
21925 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21926 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21927 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21928 cat >>confdefs.h <<_ACEOF
21929 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21930 _ACEOF
21931
21932 fi
21933
21934 done
21935
21936
21937
21938
21939 if test -n "$GCC"; then
21940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21941 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21942 if ${wx_cv_cc_gcc_atomic_builtins+:} false; then :
21943 $as_echo_n "(cached) " >&6
21944 else
21945
21946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21947 /* end confdefs.h. */
21948
21949 int
21950 main ()
21951 {
21952
21953 unsigned int value=0;
21954 /* wxAtomicInc doesn't use return value here */
21955 __sync_fetch_and_add(&value, 2);
21956 __sync_sub_and_fetch(&value, 1);
21957 /* but wxAtomicDec does, so mimic that: */
21958 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21959
21960 ;
21961 return 0;
21962 }
21963 _ACEOF
21964 if ac_fn_cxx_try_link "$LINENO"; then :
21965 wx_cv_cc_gcc_atomic_builtins=yes
21966 else
21967 wx_cv_cc_gcc_atomic_builtins=no
21968 fi
21969 rm -f core conftest.err conftest.$ac_objext \
21970 conftest$ac_exeext conftest.$ac_ext
21971
21972 fi
21973
21974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21975 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21976 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21977 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21978
21979 fi
21980 fi
21981
21982
21983 ac_ext=c
21984 ac_cpp='$CPP $CPPFLAGS'
21985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21988
21989
21990
21991 SEARCH_INCLUDE="\
21992 /usr/local/include \
21993 /usr/local/X11/include \
21994 /usr/local/include/X11 \
21995 /usr/local/X11R7/include \
21996 /usr/local/X11R6/include \
21997 /usr/local/include/X11R7 \
21998 /usr/local/include/X11R6 \
21999 \
22000 /usr/Motif-2.1/include \
22001 /usr/Motif-1.2/include \
22002 /usr/include/Motif1.2 \
22003 \
22004 /usr/dt/include \
22005 /usr/openwin/include \
22006 \
22007 /usr/include/Xm \
22008 \
22009 /usr/X11R7/include \
22010 /usr/X11R6/include \
22011 /usr/X11R6.4/include \
22012 \
22013 /usr/include/X11R7 \
22014 /usr/include/X11R6 \
22015 \
22016 /usr/X11/include \
22017 /usr/include/X11 \
22018 \
22019 /usr/XFree86/include/X11 \
22020 /usr/pkg/include \
22021 \
22022 /usr/local/X1R5/include \
22023 /usr/local/include/X11R5 \
22024 /usr/X11R5/include \
22025 /usr/include/X11R5 \
22026 \
22027 /usr/local/X11R4/include \
22028 /usr/local/include/X11R4 \
22029 /usr/X11R4/include \
22030 /usr/include/X11R4 \
22031 \
22032 /usr/openwin/share/include"
22033
22034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
22035 $as_echo_n "checking for libraries directories... " >&6; }
22036
22037 case "${host}" in
22038 *-*-irix6* )
22039 if ${wx_cv_std_libpath+:} false; then :
22040 $as_echo_n "(cached) " >&6
22041 else
22042
22043 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
22044 for e in a so sl dylib dll.a; do
22045 libc="$d/libc.$e"
22046 if test -f $libc; then
22047 save_LIBS="$LIBS"
22048 LIBS="$libc"
22049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22050 /* end confdefs.h. */
22051
22052 int main() { return 0; }
22053
22054 _ACEOF
22055 if ac_fn_c_try_link "$LINENO"; then :
22056 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
22057 fi
22058 rm -f core conftest.err conftest.$ac_objext \
22059 conftest$ac_exeext conftest.$ac_ext
22060 LIBS="$save_LIBS"
22061 if test "x$wx_cv_std_libpath" != "x"; then
22062 break 2
22063 fi
22064 fi
22065 done
22066 done
22067
22068
22069 fi
22070
22071 ;;
22072
22073 *-*-solaris2* )
22074 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
22075 wx_cv_std_libpath="lib/64"
22076 fi
22077 ;;
22078
22079 *-*-linux* )
22080 if test "$ac_cv_sizeof_void_p" = 8; then
22081 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
22082 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
22083 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
22084 wx_cv_std_libpath="lib64"
22085 fi
22086 else
22087 case "${host}" in
22088 i*86-*-linux* )
22089 if test -d '/usr/lib/i386-linux-gnu'; then
22090 wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
22091 fi
22092 esac
22093 fi
22094
22095 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
22096 wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
22097 fi
22098 ;;
22099 esac
22100
22101 if test -z "$wx_cv_std_libpath"; then
22102 wx_cv_std_libpath="lib"
22103 fi
22104
22105 if test -z "$wx_cv_std_libfullpath"; then
22106 wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
22107 fi
22108
22109
22110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
22111 $as_echo "$wx_cv_std_libfullpath" >&6; }
22112
22113 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
22114
22115 if test "$build" != "$host" -a "$GCC" = yes; then
22116 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
22117 cross_root=`dirname $cross_root`
22118 cross_root=`dirname $cross_root`
22119
22120 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22121 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22122 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
22123
22124 if test -z "$PKG_CONFIG_PATH"; then
22125 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22126 export PKG_CONFIG_PATH
22127 fi
22128
22129 if test -z "$x_includes" -o "$x_includes" = NONE; then
22130
22131 ac_find_includes=
22132 for ac_dir in $SEARCH_INCLUDE /usr/include
22133 do
22134 if test -f "$ac_dir/X11/Intrinsic.h"; then
22135 ac_find_includes=$ac_dir
22136 break
22137 fi
22138 done
22139
22140 x_includes=$ac_find_includes
22141 fi
22142 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
22143
22144 ac_find_libraries=
22145 for ac_dir in $SEARCH_LIB
22146 do
22147 for ac_extension in a so sl dylib dll.a; do
22148 if test -f "$ac_dir/libXt.$ac_extension"; then
22149 ac_find_libraries=$ac_dir
22150 break 2
22151 fi
22152 done
22153 done
22154
22155 x_libraries=$ac_find_libraries
22156 fi
22157 fi
22158 fi
22159
22160
22161 cat >confcache <<\_ACEOF
22162 # This file is a shell script that caches the results of configure
22163 # tests run on this system so they can be shared between configure
22164 # scripts and configure runs, see configure's option --config-cache.
22165 # It is not useful on other systems. If it contains results you don't
22166 # want to keep, you may remove or edit it.
22167 #
22168 # config.status only pays attention to the cache file if you give it
22169 # the --recheck option to rerun configure.
22170 #
22171 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22172 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22173 # following values.
22174
22175 _ACEOF
22176
22177 # The following way of writing the cache mishandles newlines in values,
22178 # but we know of no workaround that is simple, portable, and efficient.
22179 # So, we kill variables containing newlines.
22180 # Ultrix sh set writes to stderr and can't be redirected directly,
22181 # and sets the high bit in the cache file unless we assign to the vars.
22182 (
22183 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22184 eval ac_val=\$$ac_var
22185 case $ac_val in #(
22186 *${as_nl}*)
22187 case $ac_var in #(
22188 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22189 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22190 esac
22191 case $ac_var in #(
22192 _ | IFS | as_nl) ;; #(
22193 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22194 *) { eval $ac_var=; unset $ac_var;} ;;
22195 esac ;;
22196 esac
22197 done
22198
22199 (set) 2>&1 |
22200 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22201 *${as_nl}ac_space=\ *)
22202 # `set' does not quote correctly, so add quotes: double-quote
22203 # substitution turns \\\\ into \\, and sed turns \\ into \.
22204 sed -n \
22205 "s/'/'\\\\''/g;
22206 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22207 ;; #(
22208 *)
22209 # `set' quotes correctly as required by POSIX, so do not add quotes.
22210 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22211 ;;
22212 esac |
22213 sort
22214 ) |
22215 sed '
22216 /^ac_cv_env_/b end
22217 t clear
22218 :clear
22219 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22220 t end
22221 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22222 :end' >>confcache
22223 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22224 if test -w "$cache_file"; then
22225 if test "x$cache_file" != "x/dev/null"; then
22226 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22227 $as_echo "$as_me: updating cache $cache_file" >&6;}
22228 if test ! -f "$cache_file" || test -h "$cache_file"; then
22229 cat confcache >"$cache_file"
22230 else
22231 case $cache_file in #(
22232 */* | ?:*)
22233 mv -f confcache "$cache_file"$$ &&
22234 mv -f "$cache_file"$$ "$cache_file" ;; #(
22235 *)
22236 mv -f confcache "$cache_file" ;;
22237 esac
22238 fi
22239 fi
22240 else
22241 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22242 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22243 fi
22244 fi
22245 rm -f confcache
22246
22247 have_cos=0
22248 have_floor=0
22249 for ac_func in cos
22250 do :
22251 ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
22252 if test "x$ac_cv_func_cos" = xyes; then :
22253 cat >>confdefs.h <<_ACEOF
22254 #define HAVE_COS 1
22255 _ACEOF
22256 have_cos=1
22257 fi
22258 done
22259
22260 for ac_func in floor
22261 do :
22262 ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22263 if test "x$ac_cv_func_floor" = xyes; then :
22264 cat >>confdefs.h <<_ACEOF
22265 #define HAVE_FLOOR 1
22266 _ACEOF
22267 have_floor=1
22268 fi
22269 done
22270
22271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22272 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22273 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22275 $as_echo "yes" >&6; }
22276 else
22277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22278 $as_echo "no" >&6; }
22279 LIBS="$LIBS -lm"
22280 # use different functions to avoid configure caching
22281 have_sin=0
22282 have_ceil=0
22283 for ac_func in sin
22284 do :
22285 ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
22286 if test "x$ac_cv_func_sin" = xyes; then :
22287 cat >>confdefs.h <<_ACEOF
22288 #define HAVE_SIN 1
22289 _ACEOF
22290 have_sin=1
22291 fi
22292 done
22293
22294 for ac_func in ceil
22295 do :
22296 ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22297 if test "x$ac_cv_func_ceil" = xyes; then :
22298 cat >>confdefs.h <<_ACEOF
22299 #define HAVE_CEIL 1
22300 _ACEOF
22301 have_ceil=1
22302 fi
22303 done
22304
22305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22306 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22307 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22309 $as_echo "yes" >&6; }
22310 else
22311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22312 $as_echo "no" >&6; }
22313 # not sure we should warn the user, crash, etc.
22314 fi
22315 fi
22316
22317 ac_ext=cpp
22318 ac_cpp='$CXXCPP $CPPFLAGS'
22319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22322
22323 if test "wxUSE_UNICODE" = "yes"; then
22324
22325 for wx_func in wcstoull
22326 do
22327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22328 $as_echo_n "checking for $wx_func... " >&6; }
22329 if eval \${wx_cv_func_$wx_func+:} false; then :
22330 $as_echo_n "(cached) " >&6
22331 else
22332
22333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22334 /* end confdefs.h. */
22335
22336
22337
22338 $ac_includes_default
22339
22340 int
22341 main ()
22342 {
22343
22344 #ifndef $wx_func
22345 &$wx_func;
22346 #endif
22347
22348
22349 ;
22350 return 0;
22351 }
22352
22353 _ACEOF
22354 if ac_fn_cxx_try_link "$LINENO"; then :
22355 eval wx_cv_func_$wx_func=yes
22356 else
22357 eval wx_cv_func_$wx_func=no
22358 fi
22359 rm -f core conftest.err conftest.$ac_objext \
22360 conftest$ac_exeext conftest.$ac_ext
22361
22362 fi
22363 eval ac_res=\$wx_cv_func_$wx_func
22364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22365 $as_echo "$ac_res" >&6; }
22366
22367 if eval test \$wx_cv_func_$wx_func = yes
22368 then
22369 cat >>confdefs.h <<_ACEOF
22370 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22371 _ACEOF
22372
22373
22374 else
22375 :
22376
22377 fi
22378 done
22379
22380 else
22381
22382 for wx_func in strtoull
22383 do
22384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22385 $as_echo_n "checking for $wx_func... " >&6; }
22386 if eval \${wx_cv_func_$wx_func+:} false; then :
22387 $as_echo_n "(cached) " >&6
22388 else
22389
22390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22391 /* end confdefs.h. */
22392
22393
22394
22395 $ac_includes_default
22396
22397 int
22398 main ()
22399 {
22400
22401 #ifndef $wx_func
22402 &$wx_func;
22403 #endif
22404
22405
22406 ;
22407 return 0;
22408 }
22409
22410 _ACEOF
22411 if ac_fn_cxx_try_link "$LINENO"; then :
22412 eval wx_cv_func_$wx_func=yes
22413 else
22414 eval wx_cv_func_$wx_func=no
22415 fi
22416 rm -f core conftest.err conftest.$ac_objext \
22417 conftest$ac_exeext conftest.$ac_ext
22418
22419 fi
22420 eval ac_res=\$wx_cv_func_$wx_func
22421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22422 $as_echo "$ac_res" >&6; }
22423
22424 if eval test \$wx_cv_func_$wx_func = yes
22425 then
22426 cat >>confdefs.h <<_ACEOF
22427 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22428 _ACEOF
22429
22430
22431 else
22432 :
22433
22434 fi
22435 done
22436
22437 fi
22438 ac_ext=c
22439 ac_cpp='$CPP $CPPFLAGS'
22440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22443
22444
22445
22446
22447 if test "$wxUSE_REGEX" != "no"; then
22448 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22449
22450
22451 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22453 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22454 wxUSE_REGEX=builtin
22455 fi
22456
22457 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22458 ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
22459 "
22460 if test "x$ac_cv_header_regex_h" = xyes; then :
22461 for ac_func in regcomp re_search
22462 do :
22463 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22464 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22465 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22466 cat >>confdefs.h <<_ACEOF
22467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22468 _ACEOF
22469
22470 fi
22471 done
22472
22473 fi
22474
22475
22476
22477 if test "x$ac_cv_func_regcomp" != "xyes"; then
22478 if test "$wxUSE_REGEX" = "sys" ; then
22479 as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22480 else
22481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22482 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22483 wxUSE_REGEX=builtin
22484 fi
22485 else
22486 wxUSE_REGEX=sys
22487 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22488
22489 fi
22490 fi
22491 fi
22492
22493
22494 ZLIB_LINK=
22495 if test "$wxUSE_ZLIB" != "no" ; then
22496 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22497
22498
22499 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22500 if test "$USE_DARWIN" = 1; then
22501 system_zlib_h_ok="yes"
22502 else
22503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22504 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22505 if ${ac_cv_header_zlib_h+:} false; then :
22506 $as_echo_n "(cached) " >&6
22507 else
22508 if test "$cross_compiling" = yes; then :
22509 unset ac_cv_header_zlib_h
22510
22511 else
22512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22513 /* end confdefs.h. */
22514
22515 #include <zlib.h>
22516 #include <stdio.h>
22517
22518 int main()
22519 {
22520 FILE *f=fopen("conftestval", "w");
22521 if (!f) exit(1);
22522 fprintf(f, "%s",
22523 ZLIB_VERSION[0] == '1' &&
22524 (ZLIB_VERSION[2] > '1' ||
22525 (ZLIB_VERSION[2] == '1' &&
22526 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22527 exit(0);
22528 }
22529
22530 _ACEOF
22531 if ac_fn_c_try_run "$LINENO"; then :
22532 ac_cv_header_zlib_h=`cat conftestval`
22533 else
22534 ac_cv_header_zlib_h=no
22535 fi
22536 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22537 conftest.$ac_objext conftest.beam conftest.$ac_ext
22538 fi
22539
22540
22541 fi
22542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22543 $as_echo "$ac_cv_header_zlib_h" >&6; }
22544 ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22545 "
22546 if test "x$ac_cv_header_zlib_h" = xyes; then :
22547
22548 fi
22549
22550
22551
22552 system_zlib_h_ok=$ac_cv_header_zlib_h
22553 fi
22554
22555 if test "$system_zlib_h_ok" = "yes"; then
22556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22557 $as_echo_n "checking for deflate in -lz... " >&6; }
22558 if ${ac_cv_lib_z_deflate+:} false; then :
22559 $as_echo_n "(cached) " >&6
22560 else
22561 ac_check_lib_save_LIBS=$LIBS
22562 LIBS="-lz $LIBS"
22563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22564 /* end confdefs.h. */
22565
22566 /* Override any GCC internal prototype to avoid an error.
22567 Use char because int might match the return type of a GCC
22568 builtin and then its argument prototype would still apply. */
22569 #ifdef __cplusplus
22570 extern "C"
22571 #endif
22572 char deflate ();
22573 int
22574 main ()
22575 {
22576 return deflate ();
22577 ;
22578 return 0;
22579 }
22580 _ACEOF
22581 if ac_fn_c_try_link "$LINENO"; then :
22582 ac_cv_lib_z_deflate=yes
22583 else
22584 ac_cv_lib_z_deflate=no
22585 fi
22586 rm -f core conftest.err conftest.$ac_objext \
22587 conftest$ac_exeext conftest.$ac_ext
22588 LIBS=$ac_check_lib_save_LIBS
22589 fi
22590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22591 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22592 if test "x$ac_cv_lib_z_deflate" = xyes; then :
22593 ZLIB_LINK=" -lz"
22594 fi
22595
22596 fi
22597
22598 if test "x$ZLIB_LINK" = "x" ; then
22599 if test "$wxUSE_ZLIB" = "sys" ; then
22600 as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22601 else
22602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22603 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22604 wxUSE_ZLIB=builtin
22605 fi
22606 else
22607 wxUSE_ZLIB=sys
22608 fi
22609 fi
22610 fi
22611
22612
22613 PNG_LINK=
22614 if test "$wxUSE_LIBPNG" != "no" ; then
22615 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22616
22617
22618 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22620 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22621 wxUSE_LIBPNG=builtin
22622 fi
22623
22624 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22626 $as_echo_n "checking for png.h > 0.90... " >&6; }
22627 if ${ac_cv_header_png_h+:} false; then :
22628 $as_echo_n "(cached) " >&6
22629 else
22630 if test "$cross_compiling" = yes; then :
22631 unset ac_cv_header_png_h
22632
22633 else
22634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22635 /* end confdefs.h. */
22636
22637 #include <png.h>
22638 #include <stdio.h>
22639
22640 int main()
22641 {
22642 FILE *f=fopen("conftestval", "w");
22643 if (!f) exit(1);
22644 fprintf(f, "%s",
22645 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22646 exit(0);
22647 }
22648
22649 _ACEOF
22650 if ac_fn_c_try_run "$LINENO"; then :
22651 ac_cv_header_png_h=`cat conftestval`
22652 else
22653 ac_cv_header_png_h=no
22654 fi
22655 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22656 conftest.$ac_objext conftest.beam conftest.$ac_ext
22657 fi
22658
22659
22660 fi
22661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22662 $as_echo "$ac_cv_header_png_h" >&6; }
22663 ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
22664 "
22665 if test "x$ac_cv_header_png_h" = xyes; then :
22666
22667 fi
22668
22669
22670
22671 if test "$ac_cv_header_png_h" = "yes"; then
22672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22673 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22674 if ${ac_cv_lib_png_png_sig_cmp+:} false; then :
22675 $as_echo_n "(cached) " >&6
22676 else
22677 ac_check_lib_save_LIBS=$LIBS
22678 LIBS="-lpng -lz -lm $LIBS"
22679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22680 /* end confdefs.h. */
22681
22682 /* Override any GCC internal prototype to avoid an error.
22683 Use char because int might match the return type of a GCC
22684 builtin and then its argument prototype would still apply. */
22685 #ifdef __cplusplus
22686 extern "C"
22687 #endif
22688 char png_sig_cmp ();
22689 int
22690 main ()
22691 {
22692 return png_sig_cmp ();
22693 ;
22694 return 0;
22695 }
22696 _ACEOF
22697 if ac_fn_c_try_link "$LINENO"; then :
22698 ac_cv_lib_png_png_sig_cmp=yes
22699 else
22700 ac_cv_lib_png_png_sig_cmp=no
22701 fi
22702 rm -f core conftest.err conftest.$ac_objext \
22703 conftest$ac_exeext conftest.$ac_ext
22704 LIBS=$ac_check_lib_save_LIBS
22705 fi
22706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22707 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22708 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes; then :
22709 PNG_LINK=" -lpng -lz"
22710 fi
22711
22712 fi
22713
22714 if test "x$PNG_LINK" = "x" ; then
22715 if test "$wxUSE_LIBPNG" = "sys" ; then
22716 as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22717 else
22718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22719 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22720 wxUSE_LIBPNG=builtin
22721 fi
22722 else
22723 wxUSE_LIBPNG=sys
22724 fi
22725 fi
22726 fi
22727
22728
22729 JPEG_LINK=
22730 if test "$wxUSE_LIBJPEG" != "no" ; then
22731 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22732
22733
22734 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22736 $as_echo_n "checking for jpeglib.h... " >&6; }
22737 if ${ac_cv_header_jpeglib_h+:} false; then :
22738 $as_echo_n "(cached) " >&6
22739 else
22740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22741 /* end confdefs.h. */
22742
22743 #undef HAVE_STDLIB_H
22744 #include <stdio.h>
22745 #include <jpeglib.h>
22746
22747 int
22748 main ()
22749 {
22750
22751
22752 ;
22753 return 0;
22754 }
22755 _ACEOF
22756 if ac_fn_c_try_compile "$LINENO"; then :
22757 ac_cv_header_jpeglib_h=yes
22758 else
22759 ac_cv_header_jpeglib_h=no
22760
22761 fi
22762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22763
22764 fi
22765
22766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22767 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22768
22769 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22771 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22772 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false; then :
22773 $as_echo_n "(cached) " >&6
22774 else
22775 ac_check_lib_save_LIBS=$LIBS
22776 LIBS="-ljpeg $LIBS"
22777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22778 /* end confdefs.h. */
22779
22780 /* Override any GCC internal prototype to avoid an error.
22781 Use char because int might match the return type of a GCC
22782 builtin and then its argument prototype would still apply. */
22783 #ifdef __cplusplus
22784 extern "C"
22785 #endif
22786 char jpeg_read_header ();
22787 int
22788 main ()
22789 {
22790 return jpeg_read_header ();
22791 ;
22792 return 0;
22793 }
22794 _ACEOF
22795 if ac_fn_c_try_link "$LINENO"; then :
22796 ac_cv_lib_jpeg_jpeg_read_header=yes
22797 else
22798 ac_cv_lib_jpeg_jpeg_read_header=no
22799 fi
22800 rm -f core conftest.err conftest.$ac_objext \
22801 conftest$ac_exeext conftest.$ac_ext
22802 LIBS=$ac_check_lib_save_LIBS
22803 fi
22804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22805 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22806 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes; then :
22807 JPEG_LINK=" -ljpeg"
22808 fi
22809
22810 fi
22811
22812 if test "x$JPEG_LINK" = "x" ; then
22813 if test "$wxUSE_LIBJPEG" = "sys" ; then
22814 as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22815 else
22816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22817 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22818 wxUSE_LIBJPEG=builtin
22819 fi
22820 else
22821 wxUSE_LIBJPEG=sys
22822
22823 if test "$wxUSE_MSW" = 1; then
22824 ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22825 "
22826 if test "x$ac_cv_type_boolean" = xyes; then :
22827
22828 cat >>confdefs.h <<_ACEOF
22829 #define HAVE_BOOLEAN 1
22830 _ACEOF
22831
22832
22833 # The cast to long int works around a bug in the HP C Compiler
22834 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22835 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22836 # This bug is HP SR number 8606223364.
22837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22838 $as_echo_n "checking size of boolean... " >&6; }
22839 if ${ac_cv_sizeof_boolean+:} false; then :
22840 $as_echo_n "(cached) " >&6
22841 else
22842 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22843 #undef HAVE_BOOLEAN
22844 #include <stdio.h>
22845 #include <jpeglib.h>
22846
22847 "; then :
22848
22849 else
22850 if test "$ac_cv_type_boolean" = yes; then
22851 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22853 as_fn_error 77 "cannot compute sizeof (boolean)
22854 See \`config.log' for more details" "$LINENO" 5; }
22855 else
22856 ac_cv_sizeof_boolean=0
22857 fi
22858 fi
22859
22860 fi
22861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22862 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22863
22864
22865
22866 cat >>confdefs.h <<_ACEOF
22867 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22868 _ACEOF
22869
22870
22871 cat >>confdefs.h <<_ACEOF
22872 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22873 _ACEOF
22874
22875
22876 fi
22877
22878 fi
22879 fi
22880 fi
22881 fi
22882
22883
22884 TIFF_LINK=
22885 TIFF_PREREQ_LINKS=-lm
22886 if test "$wxUSE_LIBTIFF" != "no" ; then
22887 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22888
22889
22890 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22891 if test "$wxUSE_LIBJPEG" = "sys"; then
22892 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22893 fi
22894 if test "$wxUSE_ZLIB" = "sys"; then
22895 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22896 fi
22897 ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22898
22899 "
22900 if test "x$ac_cv_header_tiffio_h" = xyes; then :
22901
22902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22903 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22904 if ${ac_cv_lib_tiff_TIFFError+:} false; then :
22905 $as_echo_n "(cached) " >&6
22906 else
22907 ac_check_lib_save_LIBS=$LIBS
22908 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22910 /* end confdefs.h. */
22911
22912 /* Override any GCC internal prototype to avoid an error.
22913 Use char because int might match the return type of a GCC
22914 builtin and then its argument prototype would still apply. */
22915 #ifdef __cplusplus
22916 extern "C"
22917 #endif
22918 char TIFFError ();
22919 int
22920 main ()
22921 {
22922 return TIFFError ();
22923 ;
22924 return 0;
22925 }
22926 _ACEOF
22927 if ac_fn_c_try_link "$LINENO"; then :
22928 ac_cv_lib_tiff_TIFFError=yes
22929 else
22930 ac_cv_lib_tiff_TIFFError=no
22931 fi
22932 rm -f core conftest.err conftest.$ac_objext \
22933 conftest$ac_exeext conftest.$ac_ext
22934 LIBS=$ac_check_lib_save_LIBS
22935 fi
22936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22937 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22938 if test "x$ac_cv_lib_tiff_TIFFError" = xyes; then :
22939 TIFF_LINK=" -ltiff"
22940 fi
22941
22942
22943 fi
22944
22945
22946
22947 if test "x$TIFF_LINK" = "x" ; then
22948 if test "$wxUSE_LIBTIFF" = "sys" ; then
22949 as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22950 else
22951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22952 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22953 wxUSE_LIBTIFF=builtin
22954 fi
22955 else
22956 wxUSE_LIBTIFF=sys
22957 fi
22958 fi
22959 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22960 if test "$wxUSE_LIBJPEG" = "no"; then
22961 ac_configure_args="$ac_configure_args --disable-jpeg"
22962 fi
22963
22964 if test "$wxUSE_LIBLZMA" = "yes"; then
22965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
22966 $as_echo_n "checking for lzma_code in -llzma... " >&6; }
22967 if ${ac_cv_lib_lzma_lzma_code+:} false; then :
22968 $as_echo_n "(cached) " >&6
22969 else
22970 ac_check_lib_save_LIBS=$LIBS
22971 LIBS="-llzma $LIBS"
22972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22973 /* end confdefs.h. */
22974
22975 /* Override any GCC internal prototype to avoid an error.
22976 Use char because int might match the return type of a GCC
22977 builtin and then its argument prototype would still apply. */
22978 #ifdef __cplusplus
22979 extern "C"
22980 #endif
22981 char lzma_code ();
22982 int
22983 main ()
22984 {
22985 return lzma_code ();
22986 ;
22987 return 0;
22988 }
22989 _ACEOF
22990 if ac_fn_c_try_link "$LINENO"; then :
22991 ac_cv_lib_lzma_lzma_code=yes
22992 else
22993 ac_cv_lib_lzma_lzma_code=no
22994 fi
22995 rm -f core conftest.err conftest.$ac_objext \
22996 conftest$ac_exeext conftest.$ac_ext
22997 LIBS=$ac_check_lib_save_LIBS
22998 fi
22999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
23000 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
23001 if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then :
23002 LIBS="$LIBS -llzma"
23003 fi
23004
23005 else
23006 ac_configure_args="$ac_configure_args --disable-lzma"
23007 fi
23008
23009 if test "$wxUSE_LIBJBIG" = "yes"; then
23010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jbg_dec_init in -ljbig" >&5
23011 $as_echo_n "checking for jbg_dec_init in -ljbig... " >&6; }
23012 if ${ac_cv_lib_jbig_jbg_dec_init+:} false; then :
23013 $as_echo_n "(cached) " >&6
23014 else
23015 ac_check_lib_save_LIBS=$LIBS
23016 LIBS="-ljbig $LIBS"
23017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23018 /* end confdefs.h. */
23019
23020 /* Override any GCC internal prototype to avoid an error.
23021 Use char because int might match the return type of a GCC
23022 builtin and then its argument prototype would still apply. */
23023 #ifdef __cplusplus
23024 extern "C"
23025 #endif
23026 char jbg_dec_init ();
23027 int
23028 main ()
23029 {
23030 return jbg_dec_init ();
23031 ;
23032 return 0;
23033 }
23034 _ACEOF
23035 if ac_fn_c_try_link "$LINENO"; then :
23036 ac_cv_lib_jbig_jbg_dec_init=yes
23037 else
23038 ac_cv_lib_jbig_jbg_dec_init=no
23039 fi
23040 rm -f core conftest.err conftest.$ac_objext \
23041 conftest$ac_exeext conftest.$ac_ext
23042 LIBS=$ac_check_lib_save_LIBS
23043 fi
23044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jbig_jbg_dec_init" >&5
23045 $as_echo "$ac_cv_lib_jbig_jbg_dec_init" >&6; }
23046 if test "x$ac_cv_lib_jbig_jbg_dec_init" = xyes; then :
23047 LIBS="$LIBS -ljbig"
23048 fi
23049
23050 else
23051 ac_configure_args="$ac_configure_args --disable-jbig"
23052 fi
23053
23054
23055
23056 subdirs="$subdirs src/tiff"
23057
23058 fi
23059 fi
23060
23061
23062 if test "$wxUSE_EXPAT" != "no"; then
23063 wxUSE_XML=yes
23064 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
23065
23066 $as_echo "#define wxUSE_XML 1" >>confdefs.h
23067
23068
23069 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23070 ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
23071 "
23072 if test "x$ac_cv_header_expat_h" = xyes; then :
23073 found_expat_h=1
23074 fi
23075
23076
23077 if test "x$found_expat_h" = "x1"; then
23078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
23079 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
23080 if ${wx_cv_expat_is_not_broken+:} false; then :
23081 $as_echo_n "(cached) " >&6
23082 else
23083
23084 ac_ext=cpp
23085 ac_cpp='$CXXCPP $CPPFLAGS'
23086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23089
23090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23091 /* end confdefs.h. */
23092 #include <expat.h>
23093 int
23094 main ()
23095 {
23096
23097 ;
23098 return 0;
23099 }
23100 _ACEOF
23101 if ac_fn_cxx_try_compile "$LINENO"; then :
23102 wx_cv_expat_is_not_broken=yes
23103 else
23104 wx_cv_expat_is_not_broken=no
23105
23106 fi
23107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23108 ac_ext=c
23109 ac_cpp='$CPP $CPPFLAGS'
23110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23113
23114
23115
23116 fi
23117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
23118 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
23119 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
23121 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
23122 if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then :
23123 $as_echo_n "(cached) " >&6
23124 else
23125 ac_check_lib_save_LIBS=$LIBS
23126 LIBS="-lexpat $LIBS"
23127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23128 /* end confdefs.h. */
23129
23130 /* Override any GCC internal prototype to avoid an error.
23131 Use char because int might match the return type of a GCC
23132 builtin and then its argument prototype would still apply. */
23133 #ifdef __cplusplus
23134 extern "C"
23135 #endif
23136 char XML_ParserCreate ();
23137 int
23138 main ()
23139 {
23140 return XML_ParserCreate ();
23141 ;
23142 return 0;
23143 }
23144 _ACEOF
23145 if ac_fn_c_try_link "$LINENO"; then :
23146 ac_cv_lib_expat_XML_ParserCreate=yes
23147 else
23148 ac_cv_lib_expat_XML_ParserCreate=no
23149 fi
23150 rm -f core conftest.err conftest.$ac_objext \
23151 conftest$ac_exeext conftest.$ac_ext
23152 LIBS=$ac_check_lib_save_LIBS
23153 fi
23154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23155 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
23156 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then :
23157 EXPAT_LINK=" -lexpat"
23158 fi
23159
23160 fi
23161 fi
23162 if test "x$EXPAT_LINK" = "x" ; then
23163 if test "$wxUSE_EXPAT" = "sys" ; then
23164 as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
23165 else
23166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
23167 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23168 wxUSE_EXPAT=builtin
23169 fi
23170 else
23171 wxUSE_EXPAT=sys
23172 fi
23173 fi
23174 if test "$wxUSE_EXPAT" = "builtin" ; then
23175 subdirs="$subdirs src/expat"
23176
23177 fi
23178 fi
23179
23180
23181
23182 if test "$wxUSE_LIBMSPACK" != "no"; then
23183 ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
23184 "
23185 if test "x$ac_cv_header_mspack_h" = xyes; then :
23186 found_mspack_h=1
23187 fi
23188
23189
23190 if test "x$found_mspack_h" = "x1"; then
23191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
23192 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
23193 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false; then :
23194 $as_echo_n "(cached) " >&6
23195 else
23196 ac_check_lib_save_LIBS=$LIBS
23197 LIBS="-lmspack $LIBS"
23198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23199 /* end confdefs.h. */
23200
23201 /* Override any GCC internal prototype to avoid an error.
23202 Use char because int might match the return type of a GCC
23203 builtin and then its argument prototype would still apply. */
23204 #ifdef __cplusplus
23205 extern "C"
23206 #endif
23207 char mspack_create_chm_decompressor ();
23208 int
23209 main ()
23210 {
23211 return mspack_create_chm_decompressor ();
23212 ;
23213 return 0;
23214 }
23215 _ACEOF
23216 if ac_fn_c_try_link "$LINENO"; then :
23217 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
23218 else
23219 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
23220 fi
23221 rm -f core conftest.err conftest.$ac_objext \
23222 conftest$ac_exeext conftest.$ac_ext
23223 LIBS=$ac_check_lib_save_LIBS
23224 fi
23225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23226 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
23227 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes; then :
23228 MSPACK_LINK=" -lmspack"
23229 fi
23230
23231 fi
23232 if test "x$MSPACK_LINK" = "x" ; then
23233 wxUSE_LIBMSPACK=no
23234 fi
23235 fi
23236
23237 if test "$wxUSE_LIBMSPACK" != "no"; then
23238 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23239
23240 fi
23241
23242
23243
23244 TOOLKIT=
23245 TOOLKIT_INCLUDE=
23246 WIDGET_SET=
23247
23248 if test "$USE_WIN32" = 1 ; then
23249 for ac_header in w32api.h
23250 do :
23251 ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23252 "
23253 if test "x$ac_cv_header_w32api_h" = xyes; then :
23254 cat >>confdefs.h <<_ACEOF
23255 #define HAVE_W32API_H 1
23256 _ACEOF
23257
23258 fi
23259
23260 done
23261
23262 ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
23263 "
23264 if test "x$ac_cv_header_windows_h" = xyes; then :
23265
23266 else
23267
23268 as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23269
23270 fi
23271
23272
23273
23274 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23275 case "${host}" in
23276 x86_64-*-mingw32* )
23277 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
23278 ;;
23279 esac
23280 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23281 LIBS="$LIBS -loleacc"
23282 fi
23283
23284 case "${host}" in
23285 *-*-cygwin* )
23286 LIBS="$LIBS -lkernel32 -luser32"
23287 esac
23288
23289 WXCONFIG_RESFLAGS="--define __WIN32__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23290 fi
23291
23292 if test "$wxUSE_GUI" = "yes"; then
23293 USE_GUI=1
23294
23295 GUI_TK_LIBRARY=
23296
23297 WXGTK1=
23298 WXGTK127=
23299 WXGTK2=
23300 WXGTK3=
23301 WXGPE=
23302
23303 if test "$wxUSE_OLD_COCOA" = 1 ; then
23304 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23306 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23307 wxUSE_PRINTING_ARCHITECTURE=no
23308 fi
23309 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23311 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23312 wxUSE_DRAG_AND_DROP=no
23313 fi
23314 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23316 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23317 wxUSE_DRAGIMAGE=no
23318 fi
23319 fi
23320
23321 if test "$wxUSE_MSW" = 1 ; then
23322 TOOLKIT=MSW
23323 GUIDIST=MSW_DIST
23324
23325 case "${host}" in
23326 *-*-mingw32* )
23327 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23328 esac
23329 fi
23330
23331 if test "$wxUSE_GTK" = 1; then
23332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23333 $as_echo_n "checking for GTK+ version... " >&6; }
23334
23335 gtk_version_cached=1
23336 if ${wx_cv_lib_gtk+:} false; then :
23337 $as_echo_n "(cached) " >&6
23338 else
23339
23340 gtk_version_cached=0
23341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23342 $as_echo "" >&6; }
23343
23344 GTK_MODULES=
23345 if test "$wxUSE_THREADS" = "yes"; then
23346 GTK_MODULES=gthread
23347 fi
23348
23349 if test -z "$wxGTK_VERSION"; then
23350 wxGTK_VERSION=any
23351 fi
23352
23353 wx_cv_lib_gtk=
23354 if test "x$wxGTK_VERSION" != "x1"
23355 then
23356 case "${host}" in
23357 *-*-solaris2* )
23358 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23359 enable_gtktest=no
23360 fi
23361 esac
23362
23363 if test "$wxGTK_VERSION" != 3; then
23364 # Check whether --enable-gtktest was given.
23365 if test "${enable_gtktest+set}" = set; then :
23366 enableval=$enable_gtktest;
23367 else
23368 enable_gtktest=yes
23369 fi
23370
23371
23372 pkg_config_args=gtk+-2.0
23373 for module in . $GTK_MODULES
23374 do
23375 case "$module" in
23376 gthread)
23377 pkg_config_args="$pkg_config_args gthread-2.0"
23378 ;;
23379 esac
23380 done
23381
23382 no_gtk=""
23383
23384 # Extract the first word of "pkg-config", so it can be a program name with args.
23385 set dummy pkg-config; ac_word=$2
23386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23387 $as_echo_n "checking for $ac_word... " >&6; }
23388 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23389 $as_echo_n "(cached) " >&6
23390 else
23391 case $PKG_CONFIG in
23392 [\\/]* | ?:[\\/]*)
23393 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23394 ;;
23395 *)
23396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23397 for as_dir in $PATH
23398 do
23399 IFS=$as_save_IFS
23400 test -z "$as_dir" && as_dir=.
23401 for ac_exec_ext in '' $ac_executable_extensions; do
23402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23403 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23405 break 2
23406 fi
23407 done
23408 done
23409 IFS=$as_save_IFS
23410
23411 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23412 ;;
23413 esac
23414 fi
23415 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23416 if test -n "$PKG_CONFIG"; then
23417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23418 $as_echo "$PKG_CONFIG" >&6; }
23419 else
23420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23421 $as_echo "no" >&6; }
23422 fi
23423
23424
23425
23426 if test x$PKG_CONFIG != xno ; then
23427 if pkg-config --atleast-pkgconfig-version 0.7 ; then
23428 :
23429 else
23430 echo "*** pkg-config too old; version 0.7 or better required."
23431 no_gtk=yes
23432 PKG_CONFIG=no
23433 fi
23434 else
23435 no_gtk=yes
23436 fi
23437
23438 min_gtk_version=2.6.0
23439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23440 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23441
23442 if test x$PKG_CONFIG != xno ; then
23443 ## don't try to run the test against uninstalled libtool libs
23444 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23445 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23446 enable_gtktest=no
23447 fi
23448
23449 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23450 :
23451 else
23452 no_gtk=yes
23453 fi
23454 fi
23455
23456 if test x"$no_gtk" = x ; then
23457 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23458 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23459 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23460 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23461 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23462 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23463 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23464 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23465 if test "x$enable_gtktest" = "xyes" ; then
23466 ac_save_CFLAGS="$CFLAGS"
23467 ac_save_LIBS="$LIBS"
23468 CFLAGS="$CFLAGS $GTK_CFLAGS"
23469 LIBS="$GTK_LIBS $LIBS"
23470 rm -f conf.gtktest
23471 if test "$cross_compiling" = yes; then :
23472 echo $ac_n "cross compiling; assumed OK... $ac_c"
23473 else
23474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23475 /* end confdefs.h. */
23476
23477 #include <gtk/gtk.h>
23478 #include <stdio.h>
23479 #include <stdlib.h>
23480
23481 int
23482 main ()
23483 {
23484 int major, minor, micro;
23485 char *tmp_version;
23486
23487 system ("touch conf.gtktest");
23488
23489 /* HP/UX 9 (%@#!) writes to sscanf strings */
23490 tmp_version = g_strdup("$min_gtk_version");
23491 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23492 printf("%s, bad version string\n", "$min_gtk_version");
23493 exit(1);
23494 }
23495
23496 if ((gtk_major_version != $gtk_config_major_version) ||
23497 (gtk_minor_version != $gtk_config_minor_version) ||
23498 (gtk_micro_version != $gtk_config_micro_version))
23499 {
23500 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23501 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23502 gtk_major_version, gtk_minor_version, gtk_micro_version);
23503 printf ("*** was found! If pkg-config was correct, then it is best\n");
23504 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23505 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23506 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23507 printf("*** required on your system.\n");
23508 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23509 printf("*** to point to the correct configuration files\n");
23510 }
23511 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23512 (gtk_minor_version != GTK_MINOR_VERSION) ||
23513 (gtk_micro_version != GTK_MICRO_VERSION))
23514 {
23515 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23516 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23517 printf("*** library (version %d.%d.%d)\n",
23518 gtk_major_version, gtk_minor_version, gtk_micro_version);
23519 }
23520 else
23521 {
23522 if ((gtk_major_version > major) ||
23523 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23524 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23525 {
23526 return 0;
23527 }
23528 else
23529 {
23530 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23531 gtk_major_version, gtk_minor_version, gtk_micro_version);
23532 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23533 major, minor, micro);
23534 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23535 printf("***\n");
23536 printf("*** If you have already installed a sufficiently new version, this error\n");
23537 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23538 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23539 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23540 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23541 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23542 printf("*** so that the correct libraries are found at run-time))\n");
23543 }
23544 }
23545 return 1;
23546 }
23547
23548 _ACEOF
23549 if ac_fn_c_try_run "$LINENO"; then :
23550
23551 else
23552 no_gtk=yes
23553 fi
23554 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23555 conftest.$ac_objext conftest.beam conftest.$ac_ext
23556 fi
23557
23558 CFLAGS="$ac_save_CFLAGS"
23559 LIBS="$ac_save_LIBS"
23560 fi
23561 fi
23562 if test "x$no_gtk" = x ; then
23563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23564 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23565 wx_cv_lib_gtk=2.0
23566 else
23567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23568 $as_echo "no" >&6; }
23569 if test "$PKG_CONFIG" = "no" ; then
23570 echo "*** A new enough version of pkg-config was not found."
23571 echo "*** See http://pkgconfig.sourceforge.net"
23572 else
23573 if test -f conf.gtktest ; then
23574 :
23575 else
23576 echo "*** Could not run GTK+ test program, checking why..."
23577 ac_save_CFLAGS="$CFLAGS"
23578 ac_save_LIBS="$LIBS"
23579 CFLAGS="$CFLAGS $GTK_CFLAGS"
23580 LIBS="$LIBS $GTK_LIBS"
23581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23582 /* end confdefs.h. */
23583
23584 #include <gtk/gtk.h>
23585 #include <stdio.h>
23586
23587 int
23588 main ()
23589 {
23590 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23591 ;
23592 return 0;
23593 }
23594 _ACEOF
23595 if ac_fn_c_try_link "$LINENO"; then :
23596 echo "*** The test program compiled, but did not run. This usually means"
23597 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23598 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23599 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23600 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23601 echo "*** is required on your system"
23602 echo "***"
23603 echo "*** If you have an old version installed, it is best to remove it, although"
23604 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23605 else
23606 echo "*** The test program failed to compile or link. See the file config.log for the"
23607 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23608 fi
23609 rm -f core conftest.err conftest.$ac_objext \
23610 conftest$ac_exeext conftest.$ac_ext
23611 CFLAGS="$ac_save_CFLAGS"
23612 LIBS="$ac_save_LIBS"
23613 fi
23614 fi
23615 GTK_CFLAGS=""
23616 GTK_LIBS=""
23617 :
23618 fi
23619
23620
23621 rm -f conf.gtktest
23622
23623 fi
23624 if test -z "$wx_cv_lib_gtk"; then
23625 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then
23626 # Check whether --enable-gtktest was given.
23627 if test "${enable_gtktest+set}" = set; then :
23628 enableval=$enable_gtktest;
23629 else
23630 enable_gtktest=yes
23631 fi
23632
23633
23634 pkg_gtk_version=gtk+-3.0
23635 pkg_config_args=$pkg_gtk_version
23636 for module in . $GTK_MODULES
23637 do
23638 case "$module" in
23639 gthread)
23640 pkg_gthread_version=gthread-2.0
23641 pkg_config_args="$pkg_config_args $pkg_gthread_version"
23642 ;;
23643 esac
23644 done
23645
23646 no_gtk=""
23647
23648 # Extract the first word of "pkg-config", so it can be a program name with args.
23649 set dummy pkg-config; ac_word=$2
23650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23651 $as_echo_n "checking for $ac_word... " >&6; }
23652 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23653 $as_echo_n "(cached) " >&6
23654 else
23655 case $PKG_CONFIG in
23656 [\\/]* | ?:[\\/]*)
23657 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23658 ;;
23659 *)
23660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23661 for as_dir in $PATH
23662 do
23663 IFS=$as_save_IFS
23664 test -z "$as_dir" && as_dir=.
23665 for ac_exec_ext in '' $ac_executable_extensions; do
23666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23667 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23669 break 2
23670 fi
23671 done
23672 done
23673 IFS=$as_save_IFS
23674
23675 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23676 ;;
23677 esac
23678 fi
23679 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23680 if test -n "$PKG_CONFIG"; then
23681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23682 $as_echo "$PKG_CONFIG" >&6; }
23683 else
23684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23685 $as_echo "no" >&6; }
23686 fi
23687
23688
23689
23690 if test x$PKG_CONFIG != xno ; then
23691 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23692 :
23693 else
23694 echo "*** pkg-config too old; version 0.7 or better required."
23695 no_gtk=yes
23696 PKG_CONFIG=no
23697 fi
23698 else
23699 no_gtk=yes
23700 fi
23701
23702 min_gtk_version=3.0.0
23703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23704 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23705
23706 if test x$PKG_CONFIG != xno ; then
23707 ## don't try to run the test against uninstalled libtool libs
23708 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23709 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23710 enable_gtktest=no
23711 fi
23712 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_gtk_version ; then
23713 :
23714 else
23715 no_gtk=yes
23716 fi
23717 fi
23718
23719 if test x"$no_gtk" = x ; then
23720 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23721 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23722 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23723 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23724 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23725 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23726 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23727 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23728 if test "x$enable_gtktest" = "xyes" ; then
23729 ac_save_CFLAGS="$CFLAGS"
23730 ac_save_LIBS="$LIBS"
23731 CFLAGS="$CFLAGS $GTK_CFLAGS"
23732 LIBS="$GTK_LIBS $LIBS"
23733 rm -f conf.gtktest
23734 if test "$cross_compiling" = yes; then :
23735 echo $ac_n "cross compiling; assumed OK... $ac_c"
23736 else
23737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23738 /* end confdefs.h. */
23739
23740 #include <gtk/gtk.h>
23741 #include <stdio.h>
23742 #include <stdlib.h>
23743
23744 int
23745 main ()
23746 {
23747 int major, minor, micro;
23748 char *tmp_version;
23749
23750 fclose (fopen ("conf.gtktest", "w"));
23751
23752 /* HP/UX 9 (%@#!) writes to sscanf strings */
23753 tmp_version = g_strdup("$min_gtk_version");
23754 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23755 printf("%s, bad version string\n", "$min_gtk_version");
23756 exit(1);
23757 }
23758
23759 if ((gtk_major_version != $gtk_config_major_version) ||
23760 (gtk_minor_version != $gtk_config_minor_version) ||
23761 (gtk_micro_version != $gtk_config_micro_version))
23762 {
23763 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23764 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23765 gtk_major_version, gtk_minor_version, gtk_micro_version);
23766 printf ("*** was found! If pkg-config was correct, then it is best\n");
23767 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23768 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23769 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23770 printf("*** required on your system.\n");
23771 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23772 printf("*** to point to the correct configuration files\n");
23773 }
23774 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23775 (gtk_minor_version != GTK_MINOR_VERSION) ||
23776 (gtk_micro_version != GTK_MICRO_VERSION))
23777 {
23778 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23779 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23780 printf("*** library (version %d.%d.%d)\n",
23781 gtk_major_version, gtk_minor_version, gtk_micro_version);
23782 }
23783 else
23784 {
23785 if ((gtk_major_version > major) ||
23786 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23787 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23788 {
23789 return 0;
23790 }
23791 else
23792 {
23793 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23794 gtk_major_version, gtk_minor_version, gtk_micro_version);
23795 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23796 major, minor, micro);
23797 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23798 printf("***\n");
23799 printf("*** If you have already installed a sufficiently new version, this error\n");
23800 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23801 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23802 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23803 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23804 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23805 printf("*** so that the correct libraries are found at run-time))\n");
23806 }
23807 }
23808 return 1;
23809 }
23810
23811 _ACEOF
23812 if ac_fn_c_try_run "$LINENO"; then :
23813
23814 else
23815 no_gtk=yes
23816 fi
23817 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23818 conftest.$ac_objext conftest.beam conftest.$ac_ext
23819 fi
23820
23821 CFLAGS="$ac_save_CFLAGS"
23822 LIBS="$ac_save_LIBS"
23823 fi
23824 fi
23825 if test "x$no_gtk" = x ; then
23826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23827 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23828 wx_cv_lib_gtk=3
23829 else
23830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23831 $as_echo "no" >&6; }
23832 if test "$PKG_CONFIG" = "no" ; then
23833 echo "*** A new enough version of pkg-config was not found."
23834 echo "*** See http://pkgconfig.sourceforge.net"
23835 else
23836 if test -f conf.gtktest ; then
23837 :
23838 else
23839 echo "*** Could not run GTK+ test program, checking why..."
23840 ac_save_CFLAGS="$CFLAGS"
23841 ac_save_LIBS="$LIBS"
23842 CFLAGS="$CFLAGS $GTK_CFLAGS"
23843 LIBS="$LIBS $GTK_LIBS"
23844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23845 /* end confdefs.h. */
23846
23847 #include <gtk/gtk.h>
23848 #include <stdio.h>
23849
23850 int
23851 main ()
23852 {
23853 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23854 ;
23855 return 0;
23856 }
23857 _ACEOF
23858 if ac_fn_c_try_link "$LINENO"; then :
23859 echo "*** The test program compiled, but did not run. This usually means"
23860 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23861 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23862 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23863 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23864 echo "*** is required on your system"
23865 echo "***"
23866 echo "*** If you have an old version installed, it is best to remove it, although"
23867 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23868 else
23869 echo "*** The test program failed to compile or link. See the file config.log for the"
23870 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23871 fi
23872 rm -f core conftest.err conftest.$ac_objext \
23873 conftest$ac_exeext conftest.$ac_ext
23874 CFLAGS="$ac_save_CFLAGS"
23875 LIBS="$ac_save_LIBS"
23876 fi
23877 fi
23878 GTK_CFLAGS=""
23879 GTK_LIBS=""
23880 :
23881 fi
23882
23883
23884 rm -f conf.gtktest
23885
23886 fi
23887 fi
23888 fi
23889
23890 if test -z "$wx_cv_lib_gtk"; then
23891 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23892
23893 # Check whether --with-gtk-prefix was given.
23894 if test "${with_gtk_prefix+set}" = set; then :
23895 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23896 else
23897 gtk_config_prefix=""
23898 fi
23899
23900
23901 # Check whether --with-gtk-exec-prefix was given.
23902 if test "${with_gtk_exec_prefix+set}" = set; then :
23903 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23904 else
23905 gtk_config_exec_prefix=""
23906 fi
23907
23908 # Check whether --enable-gtktest was given.
23909 if test "${enable_gtktest+set}" = set; then :
23910 enableval=$enable_gtktest;
23911 else
23912 enable_gtktest=yes
23913 fi
23914
23915
23916 for module in . $GTK_MODULES
23917 do
23918 case "$module" in
23919 gthread)
23920 gtk_config_args="$gtk_config_args gthread"
23921 ;;
23922 esac
23923 done
23924
23925 if test x$gtk_config_exec_prefix != x ; then
23926 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23927 if test x${GTK_CONFIG+set} != xset ; then
23928 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23929 fi
23930 fi
23931 if test x$gtk_config_prefix != x ; then
23932 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23933 if test x${GTK_CONFIG+set} != xset ; then
23934 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23935 fi
23936 fi
23937
23938 # Extract the first word of "gtk-config", so it can be a program name with args.
23939 set dummy gtk-config; ac_word=$2
23940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23941 $as_echo_n "checking for $ac_word... " >&6; }
23942 if ${ac_cv_path_GTK_CONFIG+:} false; then :
23943 $as_echo_n "(cached) " >&6
23944 else
23945 case $GTK_CONFIG in
23946 [\\/]* | ?:[\\/]*)
23947 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23948 ;;
23949 *)
23950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23951 for as_dir in $PATH
23952 do
23953 IFS=$as_save_IFS
23954 test -z "$as_dir" && as_dir=.
23955 for ac_exec_ext in '' $ac_executable_extensions; do
23956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23957 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23959 break 2
23960 fi
23961 done
23962 done
23963 IFS=$as_save_IFS
23964
23965 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23966 ;;
23967 esac
23968 fi
23969 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23970 if test -n "$GTK_CONFIG"; then
23971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23972 $as_echo "$GTK_CONFIG" >&6; }
23973 else
23974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23975 $as_echo "no" >&6; }
23976 fi
23977
23978
23979 min_gtk_version=1.2.7
23980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23981 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23982 no_gtk=""
23983 if test "$GTK_CONFIG" = "no" ; then
23984 no_gtk=yes
23985 else
23986 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23987 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23988 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23989 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23990 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23991 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23992 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23993 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23994 if test "x$enable_gtktest" = "xyes" ; then
23995 ac_save_CFLAGS="$CFLAGS"
23996 ac_save_LIBS="$LIBS"
23997 CFLAGS="$CFLAGS $GTK_CFLAGS"
23998 LIBS="$GTK_LIBS $LIBS"
23999 rm -f conf.gtktest
24000 if test "$cross_compiling" = yes; then :
24001 echo $ac_n "cross compiling; assumed OK... $ac_c"
24002 else
24003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24004 /* end confdefs.h. */
24005
24006 #include <gtk/gtk.h>
24007 #include <stdio.h>
24008 #include <stdlib.h>
24009
24010 int
24011 main ()
24012 {
24013 int major, minor, micro;
24014 char *tmp_version;
24015
24016 system ("touch conf.gtktest");
24017
24018 /* HP/UX 9 (%@#!) writes to sscanf strings */
24019 tmp_version = g_strdup("$min_gtk_version");
24020 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24021 printf("%s, bad version string\n", "$min_gtk_version");
24022 exit(1);
24023 }
24024
24025 if ((gtk_major_version != $gtk_config_major_version) ||
24026 (gtk_minor_version != $gtk_config_minor_version) ||
24027 (gtk_micro_version != $gtk_config_micro_version))
24028 {
24029 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24030 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24031 gtk_major_version, gtk_minor_version, gtk_micro_version);
24032 printf ("*** was found! If gtk-config was correct, then it is best\n");
24033 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24034 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24035 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24036 printf("*** required on your system.\n");
24037 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24038 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24039 printf("*** before re-running configure\n");
24040 }
24041 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24042 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24043 (gtk_minor_version != GTK_MINOR_VERSION) ||
24044 (gtk_micro_version != GTK_MICRO_VERSION))
24045 {
24046 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24047 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24048 printf("*** library (version %d.%d.%d)\n",
24049 gtk_major_version, gtk_minor_version, gtk_micro_version);
24050 }
24051 #endif /* defined (GTK_MAJOR_VERSION) ... */
24052 else
24053 {
24054 if ((gtk_major_version > major) ||
24055 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24056 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24057 {
24058 return 0;
24059 }
24060 else
24061 {
24062 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24063 gtk_major_version, gtk_minor_version, gtk_micro_version);
24064 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24065 major, minor, micro);
24066 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24067 printf("***\n");
24068 printf("*** If you have already installed a sufficiently new version, this error\n");
24069 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24070 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24071 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24072 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24073 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24074 printf("*** so that the correct libraries are found at run-time))\n");
24075 }
24076 }
24077 return 1;
24078 }
24079
24080 _ACEOF
24081 if ac_fn_c_try_run "$LINENO"; then :
24082
24083 else
24084 no_gtk=yes
24085 fi
24086 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24087 conftest.$ac_objext conftest.beam conftest.$ac_ext
24088 fi
24089
24090 CFLAGS="$ac_save_CFLAGS"
24091 LIBS="$ac_save_LIBS"
24092 fi
24093 fi
24094 if test "x$no_gtk" = x ; then
24095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24096 $as_echo "yes" >&6; }
24097 wx_cv_lib_gtk=1.2.7
24098 else
24099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24100 $as_echo "no" >&6; }
24101 if test "$GTK_CONFIG" = "no" ; then
24102 echo "*** The gtk-config script installed by GTK could not be found"
24103 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24104 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24105 echo "*** full path to gtk-config."
24106 else
24107 if test -f conf.gtktest ; then
24108 :
24109 else
24110 echo "*** Could not run GTK test program, checking why..."
24111 CFLAGS="$CFLAGS $GTK_CFLAGS"
24112 LIBS="$LIBS $GTK_LIBS"
24113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24114 /* end confdefs.h. */
24115
24116 #include <gtk/gtk.h>
24117 #include <stdio.h>
24118
24119 int
24120 main ()
24121 {
24122 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24123 ;
24124 return 0;
24125 }
24126 _ACEOF
24127 if ac_fn_c_try_link "$LINENO"; then :
24128 echo "*** The test program compiled, but did not run. This usually means"
24129 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24130 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24131 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24132 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24133 echo "*** is required on your system"
24134 echo "***"
24135 echo "*** If you have an old version installed, it is best to remove it, although"
24136 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24137 echo "***"
24138 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24139 echo "*** came with the system with the command"
24140 echo "***"
24141 echo "*** rpm --erase --nodeps gtk gtk-devel"
24142 else
24143 echo "*** The test program failed to compile or link. See the file config.log for the"
24144 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24145 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24146 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24147 fi
24148 rm -f core conftest.err conftest.$ac_objext \
24149 conftest$ac_exeext conftest.$ac_ext
24150 CFLAGS="$ac_save_CFLAGS"
24151 LIBS="$ac_save_LIBS"
24152 fi
24153 fi
24154 GTK_CFLAGS=""
24155 GTK_LIBS=""
24156 :
24157 fi
24158
24159
24160 rm -f conf.gtktest
24161
24162
24163 if test -z "$wx_cv_lib_gtk"; then
24164
24165 # Check whether --with-gtk-prefix was given.
24166 if test "${with_gtk_prefix+set}" = set; then :
24167 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
24168 else
24169 gtk_config_prefix=""
24170 fi
24171
24172
24173 # Check whether --with-gtk-exec-prefix was given.
24174 if test "${with_gtk_exec_prefix+set}" = set; then :
24175 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
24176 else
24177 gtk_config_exec_prefix=""
24178 fi
24179
24180 # Check whether --enable-gtktest was given.
24181 if test "${enable_gtktest+set}" = set; then :
24182 enableval=$enable_gtktest;
24183 else
24184 enable_gtktest=yes
24185 fi
24186
24187
24188 for module in . $GTK_MODULES
24189 do
24190 case "$module" in
24191 gthread)
24192 gtk_config_args="$gtk_config_args gthread"
24193 ;;
24194 esac
24195 done
24196
24197 if test x$gtk_config_exec_prefix != x ; then
24198 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24199 if test x${GTK_CONFIG+set} != xset ; then
24200 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24201 fi
24202 fi
24203 if test x$gtk_config_prefix != x ; then
24204 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24205 if test x${GTK_CONFIG+set} != xset ; then
24206 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24207 fi
24208 fi
24209
24210 # Extract the first word of "gtk-config", so it can be a program name with args.
24211 set dummy gtk-config; ac_word=$2
24212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24213 $as_echo_n "checking for $ac_word... " >&6; }
24214 if ${ac_cv_path_GTK_CONFIG+:} false; then :
24215 $as_echo_n "(cached) " >&6
24216 else
24217 case $GTK_CONFIG in
24218 [\\/]* | ?:[\\/]*)
24219 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24220 ;;
24221 *)
24222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24223 for as_dir in $PATH
24224 do
24225 IFS=$as_save_IFS
24226 test -z "$as_dir" && as_dir=.
24227 for ac_exec_ext in '' $ac_executable_extensions; do
24228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24229 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24231 break 2
24232 fi
24233 done
24234 done
24235 IFS=$as_save_IFS
24236
24237 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24238 ;;
24239 esac
24240 fi
24241 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24242 if test -n "$GTK_CONFIG"; then
24243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24244 $as_echo "$GTK_CONFIG" >&6; }
24245 else
24246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24247 $as_echo "no" >&6; }
24248 fi
24249
24250
24251 min_gtk_version=1.2.3
24252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24253 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24254 no_gtk=""
24255 if test "$GTK_CONFIG" = "no" ; then
24256 no_gtk=yes
24257 else
24258 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24259 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24260 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24261 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24262 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24263 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24264 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24265 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24266 if test "x$enable_gtktest" = "xyes" ; then
24267 ac_save_CFLAGS="$CFLAGS"
24268 ac_save_LIBS="$LIBS"
24269 CFLAGS="$CFLAGS $GTK_CFLAGS"
24270 LIBS="$GTK_LIBS $LIBS"
24271 rm -f conf.gtktest
24272 if test "$cross_compiling" = yes; then :
24273 echo $ac_n "cross compiling; assumed OK... $ac_c"
24274 else
24275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24276 /* end confdefs.h. */
24277
24278 #include <gtk/gtk.h>
24279 #include <stdio.h>
24280 #include <stdlib.h>
24281
24282 int
24283 main ()
24284 {
24285 int major, minor, micro;
24286 char *tmp_version;
24287
24288 system ("touch conf.gtktest");
24289
24290 /* HP/UX 9 (%@#!) writes to sscanf strings */
24291 tmp_version = g_strdup("$min_gtk_version");
24292 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24293 printf("%s, bad version string\n", "$min_gtk_version");
24294 exit(1);
24295 }
24296
24297 if ((gtk_major_version != $gtk_config_major_version) ||
24298 (gtk_minor_version != $gtk_config_minor_version) ||
24299 (gtk_micro_version != $gtk_config_micro_version))
24300 {
24301 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24302 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24303 gtk_major_version, gtk_minor_version, gtk_micro_version);
24304 printf ("*** was found! If gtk-config was correct, then it is best\n");
24305 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24306 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24307 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24308 printf("*** required on your system.\n");
24309 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24310 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24311 printf("*** before re-running configure\n");
24312 }
24313 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24314 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24315 (gtk_minor_version != GTK_MINOR_VERSION) ||
24316 (gtk_micro_version != GTK_MICRO_VERSION))
24317 {
24318 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24319 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24320 printf("*** library (version %d.%d.%d)\n",
24321 gtk_major_version, gtk_minor_version, gtk_micro_version);
24322 }
24323 #endif /* defined (GTK_MAJOR_VERSION) ... */
24324 else
24325 {
24326 if ((gtk_major_version > major) ||
24327 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24328 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24329 {
24330 return 0;
24331 }
24332 else
24333 {
24334 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24335 gtk_major_version, gtk_minor_version, gtk_micro_version);
24336 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24337 major, minor, micro);
24338 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24339 printf("***\n");
24340 printf("*** If you have already installed a sufficiently new version, this error\n");
24341 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24342 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24343 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24344 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24345 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24346 printf("*** so that the correct libraries are found at run-time))\n");
24347 }
24348 }
24349 return 1;
24350 }
24351
24352 _ACEOF
24353 if ac_fn_c_try_run "$LINENO"; then :
24354
24355 else
24356 no_gtk=yes
24357 fi
24358 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24359 conftest.$ac_objext conftest.beam conftest.$ac_ext
24360 fi
24361
24362 CFLAGS="$ac_save_CFLAGS"
24363 LIBS="$ac_save_LIBS"
24364 fi
24365 fi
24366 if test "x$no_gtk" = x ; then
24367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24368 $as_echo "yes" >&6; }
24369 wx_cv_lib_gtk=1.2.3
24370 else
24371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24372 $as_echo "no" >&6; }
24373 if test "$GTK_CONFIG" = "no" ; then
24374 echo "*** The gtk-config script installed by GTK could not be found"
24375 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24376 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24377 echo "*** full path to gtk-config."
24378 else
24379 if test -f conf.gtktest ; then
24380 :
24381 else
24382 echo "*** Could not run GTK test program, checking why..."
24383 CFLAGS="$CFLAGS $GTK_CFLAGS"
24384 LIBS="$LIBS $GTK_LIBS"
24385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24386 /* end confdefs.h. */
24387
24388 #include <gtk/gtk.h>
24389 #include <stdio.h>
24390
24391 int
24392 main ()
24393 {
24394 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24395 ;
24396 return 0;
24397 }
24398 _ACEOF
24399 if ac_fn_c_try_link "$LINENO"; then :
24400 echo "*** The test program compiled, but did not run. This usually means"
24401 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24402 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24403 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24404 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24405 echo "*** is required on your system"
24406 echo "***"
24407 echo "*** If you have an old version installed, it is best to remove it, although"
24408 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24409 echo "***"
24410 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24411 echo "*** came with the system with the command"
24412 echo "***"
24413 echo "*** rpm --erase --nodeps gtk gtk-devel"
24414 else
24415 echo "*** The test program failed to compile or link. See the file config.log for the"
24416 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24417 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24418 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24419 fi
24420 rm -f core conftest.err conftest.$ac_objext \
24421 conftest$ac_exeext conftest.$ac_ext
24422 CFLAGS="$ac_save_CFLAGS"
24423 LIBS="$ac_save_LIBS"
24424 fi
24425 fi
24426 GTK_CFLAGS=""
24427 GTK_LIBS=""
24428 :
24429 fi
24430
24431
24432 rm -f conf.gtktest
24433
24434 fi
24435 fi
24436 fi
24437
24438 if test -z "$wx_cv_lib_gtk"; then
24439 wx_cv_lib_gtk=none
24440 else
24441 GTK_LIBS="$GTK_LIBS -lX11"
24442
24443 wx_cv_cflags_gtk=$GTK_CFLAGS
24444 wx_cv_libs_gtk=$GTK_LIBS
24445 fi
24446
24447
24448 fi
24449
24450
24451 if test "$gtk_version_cached" = 1; then
24452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24453 $as_echo "$wx_cv_lib_gtk" >&6; }
24454 fi
24455
24456 case "$wx_cv_lib_gtk" in
24457 3) WXGTK3=1
24458 TOOLKIT_VERSION=3
24459 ;;
24460 2.0) WXGTK2=1
24461 TOOLKIT_VERSION=2
24462 ;;
24463 1.2.7) WXGTK127=1
24464 WXGTK1=1
24465 ;;
24466 1.2*) WXGTK1=1 ;;
24467 *) as_fn_error $? "
24468 The development files for GTK+ were not found. For GTK+ 2, please
24469 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24470 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24471 and that the version is 1.2.3 or above. Also check that the
24472 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24473 --libs' are in the LD_LIBRARY_PATH or equivalent.
24474 " "$LINENO" 5
24475 ;;
24476 esac
24477
24478 if test "$WXGTK3" = 1; then
24479 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24480
24481 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24482
24483 elif test "$WXGTK2" = 1; then
24484 save_CFLAGS="$CFLAGS"
24485 save_LIBS="$LIBS"
24486 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
24487 LIBS="$LIBS $wx_cv_libs_gtk"
24488
24489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24490 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24492 /* end confdefs.h. */
24493
24494 #include <gtk/gtk.h>
24495
24496 int
24497 main ()
24498 {
24499
24500 #if !GTK_CHECK_VERSION(2,18,0)
24501 Not GTK+ 2.18
24502 #endif
24503
24504 ;
24505 return 0;
24506 }
24507 _ACEOF
24508 if ac_fn_c_try_compile "$LINENO"; then :
24509
24510 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24511
24512 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24513
24514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24515 $as_echo "yes" >&6; }
24516 ac_wxgtk218=1
24517
24518 else
24519
24520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24521 $as_echo "no" >&6; }
24522 ac_wxgtk218=0
24523
24524 fi
24525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24526
24527 if test "$ac_wxgtk218" = 0; then
24528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24529 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24531 /* end confdefs.h. */
24532
24533 #include <gtk/gtk.h>
24534
24535 int
24536 main ()
24537 {
24538
24539 #if !GTK_CHECK_VERSION(2,10,0)
24540 Not GTK+ 2.10
24541 #endif
24542
24543 ;
24544 return 0;
24545 }
24546 _ACEOF
24547 if ac_fn_c_try_compile "$LINENO"; then :
24548
24549 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24550
24551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24552 $as_echo "yes" >&6; }
24553 ac_wxgtk210=1
24554
24555 else
24556
24557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24558 $as_echo "no" >&6; }
24559 ac_wxgtk210=0
24560
24561 fi
24562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24563 fi
24564
24565 CFLAGS="$save_CFLAGS"
24566 LIBS="$save_LIBS"
24567 else
24568 if test "$wxUSE_UNICODE" = "yes"; then
24569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24570 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24571 wxUSE_UNICODE=no
24572 fi
24573
24574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24575 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24576 if ${ac_cv_lib_gdk_gdk_im_open+:} false; then :
24577 $as_echo_n "(cached) " >&6
24578 else
24579 ac_check_lib_save_LIBS=$LIBS
24580 LIBS="-lgdk $LIBS"
24581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24582 /* end confdefs.h. */
24583
24584 /* Override any GCC internal prototype to avoid an error.
24585 Use char because int might match the return type of a GCC
24586 builtin and then its argument prototype would still apply. */
24587 #ifdef __cplusplus
24588 extern "C"
24589 #endif
24590 char gdk_im_open ();
24591 int
24592 main ()
24593 {
24594 return gdk_im_open ();
24595 ;
24596 return 0;
24597 }
24598 _ACEOF
24599 if ac_fn_c_try_link "$LINENO"; then :
24600 ac_cv_lib_gdk_gdk_im_open=yes
24601 else
24602 ac_cv_lib_gdk_gdk_im_open=no
24603 fi
24604 rm -f core conftest.err conftest.$ac_objext \
24605 conftest$ac_exeext conftest.$ac_ext
24606 LIBS=$ac_check_lib_save_LIBS
24607 fi
24608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24609 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24610 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes; then :
24611 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24612
24613 fi
24614
24615
24616 if test "$USE_DARWIN" != 1; then
24617 for ac_func in poll
24618 do :
24619 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
24620 if test "x$ac_cv_func_poll" = xyes; then :
24621 cat >>confdefs.h <<_ACEOF
24622 #define HAVE_POLL 1
24623 _ACEOF
24624
24625 fi
24626 done
24627
24628 fi
24629 fi
24630
24631 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24632 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24633 TOOLKIT=GTK
24634 GUIDIST=GTK_DIST
24635
24636 if test "$wxUSE_GPE" = "yes"; then
24637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24638 $as_echo_n "checking for gpewidget library... " >&6; }
24639
24640 ac_find_libraries=
24641 for ac_dir in $SEARCH_LIB
24642 do
24643 for ac_extension in a so sl dylib dll.a; do
24644 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24645 ac_find_libraries=$ac_dir
24646 break 2
24647 fi
24648 done
24649 done
24650
24651 if test "$ac_find_libraries" != "" ; then
24652
24653 if test "$ac_find_libraries" = "default location"; then
24654 ac_path_to_link=""
24655 else
24656 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24657 result=$?
24658 if test $result = 0; then
24659 ac_path_to_link=""
24660 else
24661 ac_path_to_link=" -L$ac_find_libraries"
24662 fi
24663 fi
24664
24665 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24666 WXGPE=1
24667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24668 $as_echo "found in $ac_find_libraries" >&6; }
24669 else
24670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24671 $as_echo "not found" >&6; }
24672 fi
24673
24674 fi
24675 fi
24676
24677 if test "$wxUSE_DFB" = 1; then
24678
24679
24680 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24681 if test -n "$ac_tool_prefix"; then
24682 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24683 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24685 $as_echo_n "checking for $ac_word... " >&6; }
24686 if ${ac_cv_path_PKG_CONFIG+:} false; then :
24687 $as_echo_n "(cached) " >&6
24688 else
24689 case $PKG_CONFIG in
24690 [\\/]* | ?:[\\/]*)
24691 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24692 ;;
24693 *)
24694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24695 for as_dir in $PATH
24696 do
24697 IFS=$as_save_IFS
24698 test -z "$as_dir" && as_dir=.
24699 for ac_exec_ext in '' $ac_executable_extensions; do
24700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24701 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24703 break 2
24704 fi
24705 done
24706 done
24707 IFS=$as_save_IFS
24708
24709 ;;
24710 esac
24711 fi
24712 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24713 if test -n "$PKG_CONFIG"; then
24714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24715 $as_echo "$PKG_CONFIG" >&6; }
24716 else
24717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24718 $as_echo "no" >&6; }
24719 fi
24720
24721
24722 fi
24723 if test -z "$ac_cv_path_PKG_CONFIG"; then
24724 ac_pt_PKG_CONFIG=$PKG_CONFIG
24725 # Extract the first word of "pkg-config", so it can be a program name with args.
24726 set dummy pkg-config; ac_word=$2
24727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24728 $as_echo_n "checking for $ac_word... " >&6; }
24729 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
24730 $as_echo_n "(cached) " >&6
24731 else
24732 case $ac_pt_PKG_CONFIG in
24733 [\\/]* | ?:[\\/]*)
24734 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24735 ;;
24736 *)
24737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24738 for as_dir in $PATH
24739 do
24740 IFS=$as_save_IFS
24741 test -z "$as_dir" && as_dir=.
24742 for ac_exec_ext in '' $ac_executable_extensions; do
24743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24744 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24746 break 2
24747 fi
24748 done
24749 done
24750 IFS=$as_save_IFS
24751
24752 ;;
24753 esac
24754 fi
24755 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24756 if test -n "$ac_pt_PKG_CONFIG"; then
24757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24758 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24759 else
24760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24761 $as_echo "no" >&6; }
24762 fi
24763
24764 if test "x$ac_pt_PKG_CONFIG" = x; then
24765 PKG_CONFIG=""
24766 else
24767 case $cross_compiling:$ac_tool_warned in
24768 yes:)
24769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24771 ac_tool_warned=yes ;;
24772 esac
24773 PKG_CONFIG=$ac_pt_PKG_CONFIG
24774 fi
24775 else
24776 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24777 fi
24778
24779 fi
24780 if test -n "$PKG_CONFIG"; then
24781 _pkg_min_version=0.9.0
24782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24783 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24784 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24786 $as_echo "yes" >&6; }
24787 else
24788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24789 $as_echo "no" >&6; }
24790 PKG_CONFIG=""
24791 fi
24792
24793 fi
24794
24795
24796 pkg_failed=no
24797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24798 $as_echo_n "checking for DIRECTFB... " >&6; }
24799
24800 if test -n "$PKG_CONFIG"; then
24801 if test -n "$DIRECTFB_CFLAGS"; then
24802 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24803 else
24804 if test -n "$PKG_CONFIG" && \
24805 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24806 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24807 ac_status=$?
24808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24809 test $ac_status = 0; }; then
24810 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24811 else
24812 pkg_failed=yes
24813 fi
24814 fi
24815 else
24816 pkg_failed=untried
24817 fi
24818 if test -n "$PKG_CONFIG"; then
24819 if test -n "$DIRECTFB_LIBS"; then
24820 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24821 else
24822 if test -n "$PKG_CONFIG" && \
24823 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24824 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24825 ac_status=$?
24826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24827 test $ac_status = 0; }; then
24828 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24829 else
24830 pkg_failed=yes
24831 fi
24832 fi
24833 else
24834 pkg_failed=untried
24835 fi
24836
24837
24838
24839 if test $pkg_failed = yes; then
24840
24841 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24842 _pkg_short_errors_supported=yes
24843 else
24844 _pkg_short_errors_supported=no
24845 fi
24846 if test $_pkg_short_errors_supported = yes; then
24847 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24848 else
24849 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24850 fi
24851 # Put the nasty error message in config.log where it belongs
24852 echo "$DIRECTFB_PKG_ERRORS" >&5
24853
24854
24855 as_fn_error $? "DirectFB not found." "$LINENO" 5
24856
24857
24858 elif test $pkg_failed = untried; then
24859
24860 as_fn_error $? "DirectFB not found." "$LINENO" 5
24861
24862
24863 else
24864 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24865 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24867 $as_echo "yes" >&6; }
24868
24869 wxUSE_UNIVERSAL="yes"
24870 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
24871 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
24872 TOOLKIT=DFB
24873 GUIDIST=DFB_DIST
24874
24875 fi
24876 fi
24877
24878 if test "$wxUSE_MICROWIN" = 1; then
24879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24880 $as_echo_n "checking for MicroWindows... " >&6; }
24881 if test "x$MICROWINDOWS" = x ; then
24882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24883 $as_echo "not found" >&6; }
24884 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24885 else
24886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24887 $as_echo "$MICROWINDOWS" >&6; }
24888 fi
24889
24890 if test -f $MICROWINDOWS/lib/libmwin.a; then
24891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24892 $as_echo "MicroWindows' libraries found." >&6; }
24893 else
24894 as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24895 fi
24896
24897 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24898 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24899
24900 wxUSE_UNIVERSAL="yes"
24901
24902 TOOLKIT=MICROWIN
24903 GUIDIST=MICROWIN_DIST
24904
24905 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24906 fi
24907
24908 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24910 $as_echo_n "checking for X... " >&6; }
24911
24912
24913 # Check whether --with-x was given.
24914 if test "${with_x+set}" = set; then :
24915 withval=$with_x;
24916 fi
24917
24918 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24919 if test "x$with_x" = xno; then
24920 # The user explicitly disabled X.
24921 have_x=disabled
24922 else
24923 case $x_includes,$x_libraries in #(
24924 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24925 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
24926 $as_echo_n "(cached) " >&6
24927 else
24928 # One or both of the vars are not set, and there is no cached value.
24929 ac_x_includes=no ac_x_libraries=no
24930 rm -f -r conftest.dir
24931 if mkdir conftest.dir; then
24932 cd conftest.dir
24933 cat >Imakefile <<'_ACEOF'
24934 incroot:
24935 @echo incroot='${INCROOT}'
24936 usrlibdir:
24937 @echo usrlibdir='${USRLIBDIR}'
24938 libdir:
24939 @echo libdir='${LIBDIR}'
24940 _ACEOF
24941 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24942 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24943 for ac_var in incroot usrlibdir libdir; do
24944 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24945 done
24946 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24947 for ac_extension in a so sl dylib la dll; do
24948 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24949 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24950 ac_im_usrlibdir=$ac_im_libdir; break
24951 fi
24952 done
24953 # Screen out bogus values from the imake configuration. They are
24954 # bogus both because they are the default anyway, and because
24955 # using them would break gcc on systems where it needs fixed includes.
24956 case $ac_im_incroot in
24957 /usr/include) ac_x_includes= ;;
24958 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24959 esac
24960 case $ac_im_usrlibdir in
24961 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24962 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24963 esac
24964 fi
24965 cd ..
24966 rm -f -r conftest.dir
24967 fi
24968
24969 # Standard set of common directories for X headers.
24970 # Check X11 before X11Rn because it is often a symlink to the current release.
24971 ac_x_header_dirs='
24972 /usr/X11/include
24973 /usr/X11R7/include
24974 /usr/X11R6/include
24975 /usr/X11R5/include
24976 /usr/X11R4/include
24977
24978 /usr/include/X11
24979 /usr/include/X11R7
24980 /usr/include/X11R6
24981 /usr/include/X11R5
24982 /usr/include/X11R4
24983
24984 /usr/local/X11/include
24985 /usr/local/X11R7/include
24986 /usr/local/X11R6/include
24987 /usr/local/X11R5/include
24988 /usr/local/X11R4/include
24989
24990 /usr/local/include/X11
24991 /usr/local/include/X11R7
24992 /usr/local/include/X11R6
24993 /usr/local/include/X11R5
24994 /usr/local/include/X11R4
24995
24996 /usr/X386/include
24997 /usr/x386/include
24998 /usr/XFree86/include/X11
24999
25000 /usr/include
25001 /usr/local/include
25002 /usr/unsupported/include
25003 /usr/athena/include
25004 /usr/local/x11r5/include
25005 /usr/lpp/Xamples/include
25006
25007 /usr/openwin/include
25008 /usr/openwin/share/include'
25009
25010 if test "$ac_x_includes" = no; then
25011 # Guess where to find include files, by looking for Xlib.h.
25012 # First, try using that file with no special directory specified.
25013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25014 /* end confdefs.h. */
25015 #include <X11/Xlib.h>
25016 _ACEOF
25017 if ac_fn_c_try_cpp "$LINENO"; then :
25018 # We can compile using X headers with no special include directory.
25019 ac_x_includes=
25020 else
25021 for ac_dir in $ac_x_header_dirs; do
25022 if test -r "$ac_dir/X11/Xlib.h"; then
25023 ac_x_includes=$ac_dir
25024 break
25025 fi
25026 done
25027 fi
25028 rm -f conftest.err conftest.i conftest.$ac_ext
25029 fi # $ac_x_includes = no
25030
25031 if test "$ac_x_libraries" = no; then
25032 # Check for the libraries.
25033 # See if we find them without any special options.
25034 # Don't add to $LIBS permanently.
25035 ac_save_LIBS=$LIBS
25036 LIBS="-lX11 $LIBS"
25037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25038 /* end confdefs.h. */
25039 #include <X11/Xlib.h>
25040 int
25041 main ()
25042 {
25043 XrmInitialize ()
25044 ;
25045 return 0;
25046 }
25047 _ACEOF
25048 if ac_fn_c_try_link "$LINENO"; then :
25049 LIBS=$ac_save_LIBS
25050 # We can link X programs with no special library path.
25051 ac_x_libraries=
25052 else
25053 LIBS=$ac_save_LIBS
25054 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25055 do
25056 # Don't even attempt the hair of trying to link an X program!
25057 for ac_extension in a so sl dylib la dll; do
25058 if test -r "$ac_dir/libX11.$ac_extension"; then
25059 ac_x_libraries=$ac_dir
25060 break 2
25061 fi
25062 done
25063 done
25064 fi
25065 rm -f core conftest.err conftest.$ac_objext \
25066 conftest$ac_exeext conftest.$ac_ext
25067 fi # $ac_x_libraries = no
25068
25069 case $ac_x_includes,$ac_x_libraries in #(
25070 no,* | *,no | *\'*)
25071 # Didn't find X, or a directory has "'" in its name.
25072 ac_cv_have_x="have_x=no";; #(
25073 *)
25074 # Record where we found X for the cache.
25075 ac_cv_have_x="have_x=yes\
25076 ac_x_includes='$ac_x_includes'\
25077 ac_x_libraries='$ac_x_libraries'"
25078 esac
25079 fi
25080 ;; #(
25081 *) have_x=yes;;
25082 esac
25083 eval "$ac_cv_have_x"
25084 fi # $with_x != no
25085
25086 if test "$have_x" != yes; then
25087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25088 $as_echo "$have_x" >&6; }
25089 no_x=yes
25090 else
25091 # If each of the values was on the command line, it overrides each guess.
25092 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25093 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25094 # Update the cache value to reflect the command line values.
25095 ac_cv_have_x="have_x=yes\
25096 ac_x_includes='$x_includes'\
25097 ac_x_libraries='$x_libraries'"
25098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25099 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25100 fi
25101
25102 if test "$no_x" = yes; then
25103 # Not all programs may use this symbol, but it does not hurt to define it.
25104
25105 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25106
25107 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25108 else
25109 if test -n "$x_includes"; then
25110 X_CFLAGS="$X_CFLAGS -I$x_includes"
25111 fi
25112
25113 # It would also be nice to do this for all -L options, not just this one.
25114 if test -n "$x_libraries"; then
25115 X_LIBS="$X_LIBS -L$x_libraries"
25116 # For Solaris; some versions of Sun CC require a space after -R and
25117 # others require no space. Words are not sufficient . . . .
25118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25119 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
25120 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25121 ac_xsave_c_werror_flag=$ac_c_werror_flag
25122 ac_c_werror_flag=yes
25123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25124 /* end confdefs.h. */
25125
25126 int
25127 main ()
25128 {
25129
25130 ;
25131 return 0;
25132 }
25133 _ACEOF
25134 if ac_fn_c_try_link "$LINENO"; then :
25135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25136 $as_echo "no" >&6; }
25137 X_LIBS="$X_LIBS -R$x_libraries"
25138 else
25139 LIBS="$ac_xsave_LIBS -R $x_libraries"
25140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25141 /* end confdefs.h. */
25142
25143 int
25144 main ()
25145 {
25146
25147 ;
25148 return 0;
25149 }
25150 _ACEOF
25151 if ac_fn_c_try_link "$LINENO"; then :
25152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25153 $as_echo "yes" >&6; }
25154 X_LIBS="$X_LIBS -R $x_libraries"
25155 else
25156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25157 $as_echo "neither works" >&6; }
25158 fi
25159 rm -f core conftest.err conftest.$ac_objext \
25160 conftest$ac_exeext conftest.$ac_ext
25161 fi
25162 rm -f core conftest.err conftest.$ac_objext \
25163 conftest$ac_exeext conftest.$ac_ext
25164 ac_c_werror_flag=$ac_xsave_c_werror_flag
25165 LIBS=$ac_xsave_LIBS
25166 fi
25167
25168 # Check for system-dependent libraries X programs must link with.
25169 # Do this before checking for the system-independent R6 libraries
25170 # (-lICE), since we may need -lsocket or whatever for X linking.
25171
25172 if test "$ISC" = yes; then
25173 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25174 else
25175 # Martyn Johnson says this is needed for Ultrix, if the X
25176 # libraries were built with DECnet support. And Karl Berry says
25177 # the Alpha needs dnet_stub (dnet does not exist).
25178 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25180 /* end confdefs.h. */
25181
25182 /* Override any GCC internal prototype to avoid an error.
25183 Use char because int might match the return type of a GCC
25184 builtin and then its argument prototype would still apply. */
25185 #ifdef __cplusplus
25186 extern "C"
25187 #endif
25188 char XOpenDisplay ();
25189 int
25190 main ()
25191 {
25192 return XOpenDisplay ();
25193 ;
25194 return 0;
25195 }
25196 _ACEOF
25197 if ac_fn_c_try_link "$LINENO"; then :
25198
25199 else
25200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25201 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25202 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
25203 $as_echo_n "(cached) " >&6
25204 else
25205 ac_check_lib_save_LIBS=$LIBS
25206 LIBS="-ldnet $LIBS"
25207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25208 /* end confdefs.h. */
25209
25210 /* Override any GCC internal prototype to avoid an error.
25211 Use char because int might match the return type of a GCC
25212 builtin and then its argument prototype would still apply. */
25213 #ifdef __cplusplus
25214 extern "C"
25215 #endif
25216 char dnet_ntoa ();
25217 int
25218 main ()
25219 {
25220 return dnet_ntoa ();
25221 ;
25222 return 0;
25223 }
25224 _ACEOF
25225 if ac_fn_c_try_link "$LINENO"; then :
25226 ac_cv_lib_dnet_dnet_ntoa=yes
25227 else
25228 ac_cv_lib_dnet_dnet_ntoa=no
25229 fi
25230 rm -f core conftest.err conftest.$ac_objext \
25231 conftest$ac_exeext conftest.$ac_ext
25232 LIBS=$ac_check_lib_save_LIBS
25233 fi
25234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25235 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25236 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
25237 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25238 fi
25239
25240 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25242 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25243 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
25244 $as_echo_n "(cached) " >&6
25245 else
25246 ac_check_lib_save_LIBS=$LIBS
25247 LIBS="-ldnet_stub $LIBS"
25248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25249 /* end confdefs.h. */
25250
25251 /* Override any GCC internal prototype to avoid an error.
25252 Use char because int might match the return type of a GCC
25253 builtin and then its argument prototype would still apply. */
25254 #ifdef __cplusplus
25255 extern "C"
25256 #endif
25257 char dnet_ntoa ();
25258 int
25259 main ()
25260 {
25261 return dnet_ntoa ();
25262 ;
25263 return 0;
25264 }
25265 _ACEOF
25266 if ac_fn_c_try_link "$LINENO"; then :
25267 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25268 else
25269 ac_cv_lib_dnet_stub_dnet_ntoa=no
25270 fi
25271 rm -f core conftest.err conftest.$ac_objext \
25272 conftest$ac_exeext conftest.$ac_ext
25273 LIBS=$ac_check_lib_save_LIBS
25274 fi
25275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25276 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25277 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
25278 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25279 fi
25280
25281 fi
25282 fi
25283 rm -f core conftest.err conftest.$ac_objext \
25284 conftest$ac_exeext conftest.$ac_ext
25285 LIBS="$ac_xsave_LIBS"
25286
25287 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25288 # to get the SysV transport functions.
25289 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25290 # needs -lnsl.
25291 # The nsl library prevents programs from opening the X display
25292 # on Irix 5.2, according to T.E. Dickey.
25293 # The functions gethostbyname, getservbyname, and inet_addr are
25294 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25295 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25296 if test "x$ac_cv_func_gethostbyname" = xyes; then :
25297
25298 fi
25299
25300 if test $ac_cv_func_gethostbyname = no; then
25301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25302 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25303 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
25304 $as_echo_n "(cached) " >&6
25305 else
25306 ac_check_lib_save_LIBS=$LIBS
25307 LIBS="-lnsl $LIBS"
25308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25309 /* end confdefs.h. */
25310
25311 /* Override any GCC internal prototype to avoid an error.
25312 Use char because int might match the return type of a GCC
25313 builtin and then its argument prototype would still apply. */
25314 #ifdef __cplusplus
25315 extern "C"
25316 #endif
25317 char gethostbyname ();
25318 int
25319 main ()
25320 {
25321 return gethostbyname ();
25322 ;
25323 return 0;
25324 }
25325 _ACEOF
25326 if ac_fn_c_try_link "$LINENO"; then :
25327 ac_cv_lib_nsl_gethostbyname=yes
25328 else
25329 ac_cv_lib_nsl_gethostbyname=no
25330 fi
25331 rm -f core conftest.err conftest.$ac_objext \
25332 conftest$ac_exeext conftest.$ac_ext
25333 LIBS=$ac_check_lib_save_LIBS
25334 fi
25335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25336 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25337 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
25338 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25339 fi
25340
25341 if test $ac_cv_lib_nsl_gethostbyname = no; then
25342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25343 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25344 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
25345 $as_echo_n "(cached) " >&6
25346 else
25347 ac_check_lib_save_LIBS=$LIBS
25348 LIBS="-lbsd $LIBS"
25349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25350 /* end confdefs.h. */
25351
25352 /* Override any GCC internal prototype to avoid an error.
25353 Use char because int might match the return type of a GCC
25354 builtin and then its argument prototype would still apply. */
25355 #ifdef __cplusplus
25356 extern "C"
25357 #endif
25358 char gethostbyname ();
25359 int
25360 main ()
25361 {
25362 return gethostbyname ();
25363 ;
25364 return 0;
25365 }
25366 _ACEOF
25367 if ac_fn_c_try_link "$LINENO"; then :
25368 ac_cv_lib_bsd_gethostbyname=yes
25369 else
25370 ac_cv_lib_bsd_gethostbyname=no
25371 fi
25372 rm -f core conftest.err conftest.$ac_objext \
25373 conftest$ac_exeext conftest.$ac_ext
25374 LIBS=$ac_check_lib_save_LIBS
25375 fi
25376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25377 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25378 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
25379 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25380 fi
25381
25382 fi
25383 fi
25384
25385 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25386 # socket/setsockopt and other routines are undefined under SCO ODT
25387 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25388 # on later versions), says Simon Leinen: it contains gethostby*
25389 # variants that don't use the name server (or something). -lsocket
25390 # must be given before -lnsl if both are needed. We assume that
25391 # if connect needs -lnsl, so does gethostbyname.
25392 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25393 if test "x$ac_cv_func_connect" = xyes; then :
25394
25395 fi
25396
25397 if test $ac_cv_func_connect = no; then
25398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25399 $as_echo_n "checking for connect in -lsocket... " >&6; }
25400 if ${ac_cv_lib_socket_connect+:} false; then :
25401 $as_echo_n "(cached) " >&6
25402 else
25403 ac_check_lib_save_LIBS=$LIBS
25404 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25406 /* end confdefs.h. */
25407
25408 /* Override any GCC internal prototype to avoid an error.
25409 Use char because int might match the return type of a GCC
25410 builtin and then its argument prototype would still apply. */
25411 #ifdef __cplusplus
25412 extern "C"
25413 #endif
25414 char connect ();
25415 int
25416 main ()
25417 {
25418 return connect ();
25419 ;
25420 return 0;
25421 }
25422 _ACEOF
25423 if ac_fn_c_try_link "$LINENO"; then :
25424 ac_cv_lib_socket_connect=yes
25425 else
25426 ac_cv_lib_socket_connect=no
25427 fi
25428 rm -f core conftest.err conftest.$ac_objext \
25429 conftest$ac_exeext conftest.$ac_ext
25430 LIBS=$ac_check_lib_save_LIBS
25431 fi
25432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25433 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25434 if test "x$ac_cv_lib_socket_connect" = xyes; then :
25435 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25436 fi
25437
25438 fi
25439
25440 # Guillermo Gomez says -lposix is necessary on A/UX.
25441 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25442 if test "x$ac_cv_func_remove" = xyes; then :
25443
25444 fi
25445
25446 if test $ac_cv_func_remove = no; then
25447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25448 $as_echo_n "checking for remove in -lposix... " >&6; }
25449 if ${ac_cv_lib_posix_remove+:} false; then :
25450 $as_echo_n "(cached) " >&6
25451 else
25452 ac_check_lib_save_LIBS=$LIBS
25453 LIBS="-lposix $LIBS"
25454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25455 /* end confdefs.h. */
25456
25457 /* Override any GCC internal prototype to avoid an error.
25458 Use char because int might match the return type of a GCC
25459 builtin and then its argument prototype would still apply. */
25460 #ifdef __cplusplus
25461 extern "C"
25462 #endif
25463 char remove ();
25464 int
25465 main ()
25466 {
25467 return remove ();
25468 ;
25469 return 0;
25470 }
25471 _ACEOF
25472 if ac_fn_c_try_link "$LINENO"; then :
25473 ac_cv_lib_posix_remove=yes
25474 else
25475 ac_cv_lib_posix_remove=no
25476 fi
25477 rm -f core conftest.err conftest.$ac_objext \
25478 conftest$ac_exeext conftest.$ac_ext
25479 LIBS=$ac_check_lib_save_LIBS
25480 fi
25481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25482 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25483 if test "x$ac_cv_lib_posix_remove" = xyes; then :
25484 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25485 fi
25486
25487 fi
25488
25489 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25490 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25491 if test "x$ac_cv_func_shmat" = xyes; then :
25492
25493 fi
25494
25495 if test $ac_cv_func_shmat = no; then
25496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25497 $as_echo_n "checking for shmat in -lipc... " >&6; }
25498 if ${ac_cv_lib_ipc_shmat+:} false; then :
25499 $as_echo_n "(cached) " >&6
25500 else
25501 ac_check_lib_save_LIBS=$LIBS
25502 LIBS="-lipc $LIBS"
25503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25504 /* end confdefs.h. */
25505
25506 /* Override any GCC internal prototype to avoid an error.
25507 Use char because int might match the return type of a GCC
25508 builtin and then its argument prototype would still apply. */
25509 #ifdef __cplusplus
25510 extern "C"
25511 #endif
25512 char shmat ();
25513 int
25514 main ()
25515 {
25516 return shmat ();
25517 ;
25518 return 0;
25519 }
25520 _ACEOF
25521 if ac_fn_c_try_link "$LINENO"; then :
25522 ac_cv_lib_ipc_shmat=yes
25523 else
25524 ac_cv_lib_ipc_shmat=no
25525 fi
25526 rm -f core conftest.err conftest.$ac_objext \
25527 conftest$ac_exeext conftest.$ac_ext
25528 LIBS=$ac_check_lib_save_LIBS
25529 fi
25530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25531 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25532 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
25533 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25534 fi
25535
25536 fi
25537 fi
25538
25539 # Check for libraries that X11R6 Xt/Xaw programs need.
25540 ac_save_LDFLAGS=$LDFLAGS
25541 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25542 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25543 # check for ICE first), but we must link in the order -lSM -lICE or
25544 # we get undefined symbols. So assume we have SM if we have ICE.
25545 # These have to be linked with before -lX11, unlike the other
25546 # libraries we check for below, so use a different variable.
25547 # John Interrante, Karl Berry
25548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25549 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25550 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
25551 $as_echo_n "(cached) " >&6
25552 else
25553 ac_check_lib_save_LIBS=$LIBS
25554 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25556 /* end confdefs.h. */
25557
25558 /* Override any GCC internal prototype to avoid an error.
25559 Use char because int might match the return type of a GCC
25560 builtin and then its argument prototype would still apply. */
25561 #ifdef __cplusplus
25562 extern "C"
25563 #endif
25564 char IceConnectionNumber ();
25565 int
25566 main ()
25567 {
25568 return IceConnectionNumber ();
25569 ;
25570 return 0;
25571 }
25572 _ACEOF
25573 if ac_fn_c_try_link "$LINENO"; then :
25574 ac_cv_lib_ICE_IceConnectionNumber=yes
25575 else
25576 ac_cv_lib_ICE_IceConnectionNumber=no
25577 fi
25578 rm -f core conftest.err conftest.$ac_objext \
25579 conftest$ac_exeext conftest.$ac_ext
25580 LIBS=$ac_check_lib_save_LIBS
25581 fi
25582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25583 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25584 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
25585 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25586 fi
25587
25588 LDFLAGS=$ac_save_LDFLAGS
25589
25590 fi
25591
25592
25593 if test "$no_x" = "yes"; then
25594 as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25595 fi
25596
25597 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25598 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25599 COMPILED_X_PROGRAM=0
25600
25601 fi
25602
25603 if test "$wxUSE_X11" = 1; then
25604 if test "$wxUSE_NANOX" = "yes"; then
25605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25606 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25607 if test "x$MICROWIN" = x ; then
25608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25609 $as_echo "not found" >&6; }
25610 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25611 else
25612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25613 $as_echo "$MICROWIN" >&6; }
25614 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25615
25616 fi
25617 fi
25618
25619 if test "$wxUSE_UNICODE" = "yes"; then
25620
25621
25622 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25623 if test -n "$ac_tool_prefix"; then
25624 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25625 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25627 $as_echo_n "checking for $ac_word... " >&6; }
25628 if ${ac_cv_path_PKG_CONFIG+:} false; then :
25629 $as_echo_n "(cached) " >&6
25630 else
25631 case $PKG_CONFIG in
25632 [\\/]* | ?:[\\/]*)
25633 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25634 ;;
25635 *)
25636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25637 for as_dir in $PATH
25638 do
25639 IFS=$as_save_IFS
25640 test -z "$as_dir" && as_dir=.
25641 for ac_exec_ext in '' $ac_executable_extensions; do
25642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25643 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25645 break 2
25646 fi
25647 done
25648 done
25649 IFS=$as_save_IFS
25650
25651 ;;
25652 esac
25653 fi
25654 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25655 if test -n "$PKG_CONFIG"; then
25656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25657 $as_echo "$PKG_CONFIG" >&6; }
25658 else
25659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25660 $as_echo "no" >&6; }
25661 fi
25662
25663
25664 fi
25665 if test -z "$ac_cv_path_PKG_CONFIG"; then
25666 ac_pt_PKG_CONFIG=$PKG_CONFIG
25667 # Extract the first word of "pkg-config", so it can be a program name with args.
25668 set dummy pkg-config; ac_word=$2
25669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25670 $as_echo_n "checking for $ac_word... " >&6; }
25671 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
25672 $as_echo_n "(cached) " >&6
25673 else
25674 case $ac_pt_PKG_CONFIG in
25675 [\\/]* | ?:[\\/]*)
25676 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25677 ;;
25678 *)
25679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25680 for as_dir in $PATH
25681 do
25682 IFS=$as_save_IFS
25683 test -z "$as_dir" && as_dir=.
25684 for ac_exec_ext in '' $ac_executable_extensions; do
25685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25686 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25688 break 2
25689 fi
25690 done
25691 done
25692 IFS=$as_save_IFS
25693
25694 ;;
25695 esac
25696 fi
25697 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25698 if test -n "$ac_pt_PKG_CONFIG"; then
25699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25700 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25701 else
25702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25703 $as_echo "no" >&6; }
25704 fi
25705
25706 if test "x$ac_pt_PKG_CONFIG" = x; then
25707 PKG_CONFIG=""
25708 else
25709 case $cross_compiling:$ac_tool_warned in
25710 yes:)
25711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25713 ac_tool_warned=yes ;;
25714 esac
25715 PKG_CONFIG=$ac_pt_PKG_CONFIG
25716 fi
25717 else
25718 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25719 fi
25720
25721 fi
25722 if test -n "$PKG_CONFIG"; then
25723 _pkg_min_version=0.9.0
25724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25725 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25726 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25728 $as_echo "yes" >&6; }
25729 else
25730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25731 $as_echo "no" >&6; }
25732 PKG_CONFIG=""
25733 fi
25734
25735 fi
25736
25737
25738 pkg_failed=no
25739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25740 $as_echo_n "checking for PANGOX... " >&6; }
25741
25742 if test -n "$PKG_CONFIG"; then
25743 if test -n "$PANGOX_CFLAGS"; then
25744 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
25745 else
25746 if test -n "$PKG_CONFIG" && \
25747 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25748 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25749 ac_status=$?
25750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25751 test $ac_status = 0; }; then
25752 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25753 else
25754 pkg_failed=yes
25755 fi
25756 fi
25757 else
25758 pkg_failed=untried
25759 fi
25760 if test -n "$PKG_CONFIG"; then
25761 if test -n "$PANGOX_LIBS"; then
25762 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
25763 else
25764 if test -n "$PKG_CONFIG" && \
25765 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25766 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25767 ac_status=$?
25768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25769 test $ac_status = 0; }; then
25770 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25771 else
25772 pkg_failed=yes
25773 fi
25774 fi
25775 else
25776 pkg_failed=untried
25777 fi
25778
25779
25780
25781 if test $pkg_failed = yes; then
25782
25783 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25784 _pkg_short_errors_supported=yes
25785 else
25786 _pkg_short_errors_supported=no
25787 fi
25788 if test $_pkg_short_errors_supported = yes; then
25789 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25790 else
25791 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25792 fi
25793 # Put the nasty error message in config.log where it belongs
25794 echo "$PANGOX_PKG_ERRORS" >&5
25795
25796
25797 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25798
25799
25800 elif test $pkg_failed = untried; then
25801
25802 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25803
25804
25805 else
25806 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
25807 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
25808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25809 $as_echo "yes" >&6; }
25810
25811 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
25812 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
25813 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25814
25815 fi
25816
25817 pkg_failed=no
25818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25819 $as_echo_n "checking for PANGOFT2... " >&6; }
25820
25821 if test -n "$PKG_CONFIG"; then
25822 if test -n "$PANGOFT2_CFLAGS"; then
25823 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
25824 else
25825 if test -n "$PKG_CONFIG" && \
25826 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25827 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25828 ac_status=$?
25829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25830 test $ac_status = 0; }; then
25831 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25832 else
25833 pkg_failed=yes
25834 fi
25835 fi
25836 else
25837 pkg_failed=untried
25838 fi
25839 if test -n "$PKG_CONFIG"; then
25840 if test -n "$PANGOFT2_LIBS"; then
25841 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
25842 else
25843 if test -n "$PKG_CONFIG" && \
25844 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25845 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25846 ac_status=$?
25847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25848 test $ac_status = 0; }; then
25849 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25850 else
25851 pkg_failed=yes
25852 fi
25853 fi
25854 else
25855 pkg_failed=untried
25856 fi
25857
25858
25859
25860 if test $pkg_failed = yes; then
25861
25862 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25863 _pkg_short_errors_supported=yes
25864 else
25865 _pkg_short_errors_supported=no
25866 fi
25867 if test $_pkg_short_errors_supported = yes; then
25868 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25869 else
25870 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25871 fi
25872 # Put the nasty error message in config.log where it belongs
25873 echo "$PANGOFT2_PKG_ERRORS" >&5
25874
25875
25876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25877 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25878 wxUSE_PRINTING_ARCHITECTURE="no"
25879
25880
25881 elif test $pkg_failed = untried; then
25882
25883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25884 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25885 wxUSE_PRINTING_ARCHITECTURE="no"
25886
25887
25888 else
25889 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
25890 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
25891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25892 $as_echo "yes" >&6; }
25893
25894 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
25895 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
25896 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25897
25898 fi
25899
25900 pkg_failed=no
25901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25902 $as_echo_n "checking for PANGOXFT... " >&6; }
25903
25904 if test -n "$PKG_CONFIG"; then
25905 if test -n "$PANGOXFT_CFLAGS"; then
25906 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
25907 else
25908 if test -n "$PKG_CONFIG" && \
25909 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25910 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25911 ac_status=$?
25912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25913 test $ac_status = 0; }; then
25914 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25915 else
25916 pkg_failed=yes
25917 fi
25918 fi
25919 else
25920 pkg_failed=untried
25921 fi
25922 if test -n "$PKG_CONFIG"; then
25923 if test -n "$PANGOXFT_LIBS"; then
25924 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
25925 else
25926 if test -n "$PKG_CONFIG" && \
25927 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25928 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25929 ac_status=$?
25930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25931 test $ac_status = 0; }; then
25932 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25933 else
25934 pkg_failed=yes
25935 fi
25936 fi
25937 else
25938 pkg_failed=untried
25939 fi
25940
25941
25942
25943 if test $pkg_failed = yes; then
25944
25945 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25946 _pkg_short_errors_supported=yes
25947 else
25948 _pkg_short_errors_supported=no
25949 fi
25950 if test $_pkg_short_errors_supported = yes; then
25951 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25952 else
25953 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25954 fi
25955 # Put the nasty error message in config.log where it belongs
25956 echo "$PANGOXFT_PKG_ERRORS" >&5
25957
25958
25959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25960 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25961
25962
25963 elif test $pkg_failed = untried; then
25964
25965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25966 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25967
25968
25969 else
25970 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
25971 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
25972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25973 $as_echo "yes" >&6; }
25974
25975 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25976
25977 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
25978 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
25979 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25980
25981 fi
25982 save_LIBS="$LIBS"
25983 LIBS="$LIBS $PANGOX_LIBS"
25984 for ac_func in pango_font_family_is_monospace
25985 do :
25986 ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25987 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes; then :
25988 cat >>confdefs.h <<_ACEOF
25989 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25990 _ACEOF
25991
25992 fi
25993 done
25994
25995 LIBS="$save_LIBS"
25996 fi
25997
25998 wxUSE_UNIVERSAL="yes"
25999
26000 if test "$wxUSE_NANOX" = "yes"; then
26001 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26002 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"
26003 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26004 else
26005 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
26006 fi
26007
26008 TOOLKIT=X11
26009 GUIDIST=X11_DIST
26010 fi
26011
26012 if test "$wxUSE_MOTIF" = 1; then
26013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
26014 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
26015
26016 ac_find_includes=
26017 for ac_dir in $SEARCH_INCLUDE /usr/include
26018 do
26019 if test -f "$ac_dir/Xm/Xm.h"; then
26020 ac_find_includes=$ac_dir
26021 break
26022 fi
26023 done
26024
26025 if test "$ac_find_includes" != "" ; then
26026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
26027 $as_echo "found in $ac_find_includes" >&6; }
26028
26029 if test "x$ac_find_includes" = "x/usr/include"; then
26030 ac_path_to_include=""
26031 else
26032 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
26033 result=$?
26034 if test $result = 0; then
26035 ac_path_to_include=""
26036 else
26037 ac_path_to_include=" -I$ac_find_includes"
26038 fi
26039 fi
26040
26041 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
26042 else
26043 save_CFLAGS=$CFLAGS
26044 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26045
26046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26047 /* end confdefs.h. */
26048
26049 #include <Xm/Xm.h>
26050
26051 int
26052 main ()
26053 {
26054
26055 int version;
26056 version = xmUseVersion;
26057
26058 ;
26059 return 0;
26060 }
26061 _ACEOF
26062 if ac_fn_c_try_compile "$LINENO"; then :
26063
26064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26065 $as_echo "found in default search path" >&6; }
26066 COMPILED_X_PROGRAM=1
26067
26068 else
26069
26070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26071 $as_echo "no" >&6; }
26072 as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
26073
26074
26075 fi
26076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26077
26078 CFLAGS=$save_CFLAGS
26079 fi
26080
26081
26082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
26083 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
26084
26085 ac_find_libraries=
26086 for ac_dir in $SEARCH_LIB
26087 do
26088 for ac_extension in a so sl dylib dll.a; do
26089 if test -f "$ac_dir/libXm.$ac_extension"; then
26090 ac_find_libraries=$ac_dir
26091 break 2
26092 fi
26093 done
26094 done
26095
26096
26097 if test "x$ac_find_libraries" != "x" ; then
26098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26099 $as_echo "found in $ac_find_libraries" >&6; }
26100
26101
26102 if test "$ac_find_libraries" = "default location"; then
26103 ac_path_to_link=""
26104 else
26105 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26106 result=$?
26107 if test $result = 0; then
26108 ac_path_to_link=""
26109 else
26110 ac_path_to_link=" -L$ac_find_libraries"
26111 fi
26112 fi
26113
26114 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26115 else
26116 save_CFLAGS=$CFLAGS
26117 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26118 save_LIBS="$LIBS"
26119 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
26120
26121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26122 /* end confdefs.h. */
26123
26124 #include <Xm/Xm.h>
26125
26126 int
26127 main ()
26128 {
26129
26130 int version;
26131 version = xmUseVersion;
26132
26133 ;
26134 return 0;
26135 }
26136 _ACEOF
26137 if ac_fn_c_try_link "$LINENO"; then :
26138
26139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26140 $as_echo "found in default search path" >&6; }
26141 COMPILED_X_PROGRAM=1
26142
26143 else
26144
26145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26146 $as_echo "no" >&6; }
26147 as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
26148
26149
26150 fi
26151 rm -f core conftest.err conftest.$ac_objext \
26152 conftest$ac_exeext conftest.$ac_ext
26153
26154 CFLAGS=$save_CFLAGS
26155 LIBS="$save_LIBS"
26156 fi
26157
26158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
26159 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
26160 libp_link=""
26161 libsm_ice_link=""
26162 libs_found=0
26163 for libp in "" " -lXp"; do
26164 if test "$libs_found" = 0; then
26165 for libsm_ice in "" " -lSM -lICE"; do
26166 if test "$libs_found" = 0; then
26167 save_LIBS="$LIBS"
26168 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26169 save_CFLAGS=$CFLAGS
26170 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26171
26172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26173 /* end confdefs.h. */
26174
26175 #include <Xm/Xm.h>
26176 #include <Xm/List.h>
26177
26178 int
26179 main ()
26180 {
26181
26182 XmString string = NULL;
26183 Widget w = NULL;
26184 int position = 0;
26185 XmListAddItem(w, string, position);
26186
26187 ;
26188 return 0;
26189 }
26190 _ACEOF
26191 if ac_fn_c_try_link "$LINENO"; then :
26192
26193 libp_link="$libp"
26194 libsm_ice_link="$libsm_ice"
26195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
26196 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26197 libs_found=1
26198
26199 fi
26200 rm -f core conftest.err conftest.$ac_objext \
26201 conftest$ac_exeext conftest.$ac_ext
26202
26203 LIBS="$save_LIBS"
26204 CFLAGS=$save_CFLAGS
26205 fi
26206 done
26207 fi
26208 done
26209
26210 if test "$libs_found" = 0; then
26211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26212 $as_echo "can't find the right libraries" >&6; }
26213 as_fn_error $? "can't link a simple motif program" "$LINENO" 5
26214 fi
26215
26216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26217 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26218 if ${ac_cv_lib_Sgm_SgCreateList+:} false; then :
26219 $as_echo_n "(cached) " >&6
26220 else
26221 ac_check_lib_save_LIBS=$LIBS
26222 LIBS="-lSgm $LIBS"
26223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26224 /* end confdefs.h. */
26225
26226 /* Override any GCC internal prototype to avoid an error.
26227 Use char because int might match the return type of a GCC
26228 builtin and then its argument prototype would still apply. */
26229 #ifdef __cplusplus
26230 extern "C"
26231 #endif
26232 char SgCreateList ();
26233 int
26234 main ()
26235 {
26236 return SgCreateList ();
26237 ;
26238 return 0;
26239 }
26240 _ACEOF
26241 if ac_fn_c_try_link "$LINENO"; then :
26242 ac_cv_lib_Sgm_SgCreateList=yes
26243 else
26244 ac_cv_lib_Sgm_SgCreateList=no
26245 fi
26246 rm -f core conftest.err conftest.$ac_objext \
26247 conftest$ac_exeext conftest.$ac_ext
26248 LIBS=$ac_check_lib_save_LIBS
26249 fi
26250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26251 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26252 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes; then :
26253 libsgm_link=" -lSgm"
26254 fi
26255
26256
26257 save_CFLAGS=$CFLAGS
26258 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26259
26260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26261 $as_echo_n "checking for Motif 2... " >&6; }
26262 if ${wx_cv_lib_motif2+:} false; then :
26263 $as_echo_n "(cached) " >&6
26264 else
26265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26266 /* end confdefs.h. */
26267
26268 #include <Xm/Xm.h>
26269
26270 int
26271 main ()
26272 {
26273
26274 #if XmVersion < 2000
26275 Not Motif 2
26276 #endif
26277
26278 ;
26279 return 0;
26280 }
26281 _ACEOF
26282 if ac_fn_c_try_compile "$LINENO"; then :
26283 wx_cv_lib_motif2="yes"
26284 else
26285 wx_cv_lib_motif2="no"
26286 fi
26287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26288 fi
26289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26290 $as_echo "$wx_cv_lib_motif2" >&6; }
26291 if test "$wx_cv_lib_motif2" = "yes"; then
26292 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26293
26294 else
26295 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26296
26297 fi
26298
26299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26300 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26301 if ${wx_cv_lib_lesstif+:} false; then :
26302 $as_echo_n "(cached) " >&6
26303 else
26304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26305 /* end confdefs.h. */
26306
26307 #include <Xm/Xm.h>
26308
26309 int
26310 main ()
26311 {
26312
26313 #if !defined(LesstifVersion) || LesstifVersion <= 0
26314 Not Lesstif
26315 #endif
26316
26317 ;
26318 return 0;
26319 }
26320 _ACEOF
26321 if ac_fn_c_try_compile "$LINENO"; then :
26322 wx_cv_lib_lesstif="yes"
26323 else
26324 wx_cv_lib_lesstif="no"
26325 fi
26326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26327
26328 fi
26329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26330 $as_echo "$wx_cv_lib_lesstif" >&6; }
26331 if test "$wx_cv_lib_lesstif" = "yes"; then
26332 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26333
26334 else
26335 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26336
26337 fi
26338
26339 CFLAGS=$save_CFLAGS
26340
26341 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26342 TOOLKIT=MOTIF
26343 GUIDIST=MOTIF_DIST
26344 fi
26345
26346 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26347 if test "$wxUSE_LIBXPM" = "sys"; then
26348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26349 $as_echo_n "checking for Xpm library... " >&6; }
26350
26351 ac_find_libraries=
26352 for ac_dir in $SEARCH_LIB
26353 do
26354 for ac_extension in a so sl dylib dll.a; do
26355 if test -f "$ac_dir/libXpm.$ac_extension"; then
26356 ac_find_libraries=$ac_dir
26357 break 2
26358 fi
26359 done
26360 done
26361
26362 if test "$ac_find_libraries" != "" ; then
26363
26364 if test "$ac_find_libraries" = "default location"; then
26365 ac_path_to_link=""
26366 else
26367 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26368 result=$?
26369 if test $result = 0; then
26370 ac_path_to_link=""
26371 else
26372 ac_path_to_link=" -L$ac_find_libraries"
26373 fi
26374 fi
26375
26376 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26378 $as_echo "found in $ac_find_libraries" >&6; }
26379
26380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26381 $as_echo_n "checking for X11/xpm.h... " >&6; }
26382 if ${wx_cv_x11_xpm_h+:} false; then :
26383 $as_echo_n "(cached) " >&6
26384 else
26385
26386 save_CFLAGS=$CFLAGS
26387 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26388
26389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26390 /* end confdefs.h. */
26391
26392 #include <X11/xpm.h>
26393
26394 int
26395 main ()
26396 {
26397
26398 int version;
26399 version = XpmLibraryVersion();
26400
26401 ;
26402 return 0;
26403 }
26404 _ACEOF
26405 if ac_fn_c_try_compile "$LINENO"; then :
26406 wx_cv_x11_xpm_h=yes
26407 else
26408 wx_cv_x11_xpm_h=no
26409
26410 fi
26411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26412
26413 CFLAGS=$save_CFLAGS
26414
26415
26416 fi
26417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26418 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26419
26420 if test $wx_cv_x11_xpm_h = "yes"; then
26421 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26422 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26423
26424 else
26425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26426 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26427 fi
26428 fi
26429
26430 fi
26431
26432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26433 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26434 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
26435 $as_echo_n "(cached) " >&6
26436 else
26437 ac_check_lib_save_LIBS=$LIBS
26438 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26440 /* end confdefs.h. */
26441
26442 /* Override any GCC internal prototype to avoid an error.
26443 Use char because int might match the return type of a GCC
26444 builtin and then its argument prototype would still apply. */
26445 #ifdef __cplusplus
26446 extern "C"
26447 #endif
26448 char XShapeQueryExtension ();
26449 int
26450 main ()
26451 {
26452 return XShapeQueryExtension ();
26453 ;
26454 return 0;
26455 }
26456 _ACEOF
26457 if ac_fn_c_try_link "$LINENO"; then :
26458 ac_cv_lib_Xext_XShapeQueryExtension=yes
26459 else
26460 ac_cv_lib_Xext_XShapeQueryExtension=no
26461 fi
26462 rm -f core conftest.err conftest.$ac_objext \
26463 conftest$ac_exeext conftest.$ac_ext
26464 LIBS=$ac_check_lib_save_LIBS
26465 fi
26466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26467 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26468 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
26469
26470 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26471 wxHAVE_XEXT_LIB=1
26472
26473 fi
26474
26475
26476 if test "$wxHAVE_XEXT_LIB" = 1; then
26477 save_CFLAGS="$CFLAGS"
26478 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26479
26480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26481 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26483 /* end confdefs.h. */
26484
26485 #include <X11/Xlib.h>
26486 #include <X11/extensions/shape.h>
26487
26488 int
26489 main ()
26490 {
26491
26492 int dummy1, dummy2;
26493 XShapeQueryExtension((Display*)NULL,
26494 (int*)NULL, (int*)NULL);
26495
26496 ;
26497 return 0;
26498 }
26499 _ACEOF
26500 if ac_fn_c_try_compile "$LINENO"; then :
26501
26502 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26503
26504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26505 $as_echo "found" >&6; }
26506
26507 else
26508
26509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26510 $as_echo "not found" >&6; }
26511
26512 fi
26513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26514 CFLAGS="$save_CFLAGS"
26515
26516 fi
26517 fi
26518
26519 if test "$wxUSE_OSX_CARBON" = 1; then
26520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26521 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26522 if test "$GCC" = yes; then
26523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26524 $as_echo "gcc" >&6; }
26525 CPPFLAGS_PASCAL="-fpascal-strings"
26526 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26528 $as_echo "xlc" >&6; }
26529 CPPFLAGS_PASCAL="-qmacpstr"
26530 else
26531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26532 $as_echo "none" >&6; }
26533 fi
26534
26535 if test "x$wxUSE_UNIX" = "xyes"; then
26536 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26537 else
26538 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26539 fi
26540
26541 TOOLKIT=OSX_CARBON
26542 GUIDIST=OSX_CARBON_DIST
26543 WXBASEPORT="_carbon"
26544
26545 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26546 fi
26547
26548 if test "$wxUSE_OSX_COCOA" = 1; then
26549 TOOLKIT=OSX_COCOA
26550 GUIDIST=OSX_COCOA_DIST
26551
26552 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26553 fi
26554
26555 if test "$wxUSE_OSX_IPHONE" = 1; then
26556 TOOLKIT=OSX_IPHONE
26557 fi
26558
26559 if test "$wxUSE_OLD_COCOA" = 1; then
26560 TOOLKIT=COCOA
26561 GUIDIST=COCOA_DIST
26562 fi
26563
26564 if test "$wxUSE_PM" = 1; then
26565 TOOLKIT=PM
26566 GUIDIST=PM_DIST
26567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26568 $as_echo_n "checking for type SPBCDATA... " >&6; }
26569 if ${wx_cv_spbcdata+:} false; then :
26570 $as_echo_n "(cached) " >&6
26571 else
26572
26573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26574 /* end confdefs.h. */
26575
26576 #define INCL_PM
26577 #include <os2.h>
26578
26579 int
26580 main ()
26581 {
26582
26583 SPBCDATA test;
26584
26585 ;
26586 return 0;
26587 }
26588 _ACEOF
26589 if ac_fn_c_try_compile "$LINENO"; then :
26590 wx_cv_spbcdata=yes
26591 else
26592 wx_cv_spbcdata=no
26593
26594 fi
26595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26596
26597
26598 fi
26599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26600 $as_echo "$wx_cv_spbcdata" >&6; }
26601
26602 if test $wx_cv_spbcdata = "yes"; then
26603 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26604
26605 fi
26606 fi
26607
26608 if test "$TOOLKIT" = "PM" ; then
26609 TOOLKIT_DIR="os2"
26610 else
26611 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26612 fi
26613
26614 if test "$wxUSE_UNIVERSAL" = "yes"; then
26615 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26616 WIDGET_SET=univ
26617 fi
26618
26619 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26620 DISTDIR="wx\$(TOOLKIT)"
26621 else
26622 USE_GUI=0
26623
26624 TOOLKIT_DIR="base"
26625
26626 if test "$USE_WIN32" = 1 ; then
26627 TOOLKIT="MSW"
26628 fi
26629
26630 GUIDIST="BASE_DIST"
26631 DISTDIR="wxBase"
26632 fi
26633
26634
26635
26636 if test "$wxUSE_GUI" = "yes"; then
26637 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26638 for ac_header in X11/Xlib.h
26639 do :
26640 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26641 "
26642 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
26643 cat >>confdefs.h <<_ACEOF
26644 #define HAVE_X11_XLIB_H 1
26645 _ACEOF
26646
26647 fi
26648
26649 done
26650
26651 for ac_header in X11/XKBlib.h
26652 do :
26653 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26654 #if HAVE_X11_XLIB_H
26655 #include <X11/Xlib.h>
26656 #endif
26657
26658 "
26659 if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
26660 cat >>confdefs.h <<_ACEOF
26661 #define HAVE_X11_XKBLIB_H 1
26662 _ACEOF
26663
26664 fi
26665
26666 done
26667
26668 fi
26669 fi
26670
26671
26672
26673 USE_XINERAMA=0
26674 if test "$wxUSE_DISPLAY" = "yes"; then
26675 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26676
26677 ac_find_libraries=
26678
26679 fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
26680
26681
26682 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26683 if test -n "$ac_tool_prefix"; then
26684 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26685 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26687 $as_echo_n "checking for $ac_word... " >&6; }
26688 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26689 $as_echo_n "(cached) " >&6
26690 else
26691 case $PKG_CONFIG in
26692 [\\/]* | ?:[\\/]*)
26693 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26694 ;;
26695 *)
26696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26697 for as_dir in $PATH
26698 do
26699 IFS=$as_save_IFS
26700 test -z "$as_dir" && as_dir=.
26701 for ac_exec_ext in '' $ac_executable_extensions; do
26702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26703 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26705 break 2
26706 fi
26707 done
26708 done
26709 IFS=$as_save_IFS
26710
26711 ;;
26712 esac
26713 fi
26714 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26715 if test -n "$PKG_CONFIG"; then
26716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26717 $as_echo "$PKG_CONFIG" >&6; }
26718 else
26719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26720 $as_echo "no" >&6; }
26721 fi
26722
26723
26724 fi
26725 if test -z "$ac_cv_path_PKG_CONFIG"; then
26726 ac_pt_PKG_CONFIG=$PKG_CONFIG
26727 # Extract the first word of "pkg-config", so it can be a program name with args.
26728 set dummy pkg-config; ac_word=$2
26729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26730 $as_echo_n "checking for $ac_word... " >&6; }
26731 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26732 $as_echo_n "(cached) " >&6
26733 else
26734 case $ac_pt_PKG_CONFIG in
26735 [\\/]* | ?:[\\/]*)
26736 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26737 ;;
26738 *)
26739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26740 for as_dir in $PATH
26741 do
26742 IFS=$as_save_IFS
26743 test -z "$as_dir" && as_dir=.
26744 for ac_exec_ext in '' $ac_executable_extensions; do
26745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26746 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26748 break 2
26749 fi
26750 done
26751 done
26752 IFS=$as_save_IFS
26753
26754 ;;
26755 esac
26756 fi
26757 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26758 if test -n "$ac_pt_PKG_CONFIG"; then
26759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26760 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26761 else
26762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26763 $as_echo "no" >&6; }
26764 fi
26765
26766 if test "x$ac_pt_PKG_CONFIG" = x; then
26767 PKG_CONFIG=""
26768 else
26769 case $cross_compiling:$ac_tool_warned in
26770 yes:)
26771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26773 ac_tool_warned=yes ;;
26774 esac
26775 PKG_CONFIG=$ac_pt_PKG_CONFIG
26776 fi
26777 else
26778 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26779 fi
26780
26781 fi
26782 if test -n "$PKG_CONFIG"; then
26783 _pkg_min_version=0.9.0
26784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26785 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26786 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26788 $as_echo "yes" >&6; }
26789 else
26790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26791 $as_echo "no" >&6; }
26792 PKG_CONFIG=""
26793 fi
26794
26795 fi 6> /dev/null
26796
26797 pkg_failed=no
26798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26799 $as_echo_n "checking for Xinerama... " >&6; }
26800
26801 if test -n "$PKG_CONFIG"; then
26802 if test -n "$Xinerama_CFLAGS"; then
26803 pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
26804 else
26805 if test -n "$PKG_CONFIG" && \
26806 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26807 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26808 ac_status=$?
26809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26810 test $ac_status = 0; }; then
26811 pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26812 else
26813 pkg_failed=yes
26814 fi
26815 fi
26816 else
26817 pkg_failed=untried
26818 fi
26819 if test -n "$PKG_CONFIG"; then
26820 if test -n "$Xinerama_LIBS"; then
26821 pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
26822 else
26823 if test -n "$PKG_CONFIG" && \
26824 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26825 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26826 ac_status=$?
26827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26828 test $ac_status = 0; }; then
26829 pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26830 else
26831 pkg_failed=yes
26832 fi
26833 fi
26834 else
26835 pkg_failed=untried
26836 fi
26837
26838
26839
26840 if test $pkg_failed = yes; then
26841
26842 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26843 _pkg_short_errors_supported=yes
26844 else
26845 _pkg_short_errors_supported=no
26846 fi
26847 if test $_pkg_short_errors_supported = yes; then
26848 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26849 else
26850 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26851 fi
26852 # Put the nasty error message in config.log where it belongs
26853 echo "$Xinerama_PKG_ERRORS" >&5
26854
26855
26856 if test "x$ac_find_libraries" = "x"; then
26857 if test "xXineramaQueryScreens" != "x"; then
26858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26859 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26860 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26861 $as_echo_n "(cached) " >&6
26862 else
26863 ac_check_lib_save_LIBS=$LIBS
26864 LIBS="-lXinerama $LIBS"
26865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26866 /* end confdefs.h. */
26867
26868 /* Override any GCC internal prototype to avoid an error.
26869 Use char because int might match the return type of a GCC
26870 builtin and then its argument prototype would still apply. */
26871 #ifdef __cplusplus
26872 extern "C"
26873 #endif
26874 char XineramaQueryScreens ();
26875 int
26876 main ()
26877 {
26878 return XineramaQueryScreens ();
26879 ;
26880 return 0;
26881 }
26882 _ACEOF
26883 if ac_fn_c_try_link "$LINENO"; then :
26884 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26885 else
26886 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26887 fi
26888 rm -f core conftest.err conftest.$ac_objext \
26889 conftest$ac_exeext conftest.$ac_ext
26890 LIBS=$ac_check_lib_save_LIBS
26891 fi
26892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26893 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26894 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26895 ac_find_libraries="std"
26896 fi
26897
26898 fi
26899 fi
26900
26901 if test "x$ac_find_libraries" = "x"; then
26902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26903 $as_echo_n "checking elsewhere... " >&6; }
26904
26905 ac_find_libraries=
26906 for ac_dir in $SEARCH_LIB
26907 do
26908 for ac_extension in a so sl dylib dll.a; do
26909 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26910 ac_find_libraries=$ac_dir
26911 break 2
26912 fi
26913 done
26914 done
26915
26916 if test "x$ac_find_libraries" != "x"; then
26917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26918 $as_echo "yes" >&6; }
26919 else
26920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26921 $as_echo "no" >&6; }
26922 fi
26923 fi
26924
26925 elif test $pkg_failed = untried; then
26926
26927 if test "x$ac_find_libraries" = "x"; then
26928 if test "xXineramaQueryScreens" != "x"; then
26929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26930 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26931 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26932 $as_echo_n "(cached) " >&6
26933 else
26934 ac_check_lib_save_LIBS=$LIBS
26935 LIBS="-lXinerama $LIBS"
26936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26937 /* end confdefs.h. */
26938
26939 /* Override any GCC internal prototype to avoid an error.
26940 Use char because int might match the return type of a GCC
26941 builtin and then its argument prototype would still apply. */
26942 #ifdef __cplusplus
26943 extern "C"
26944 #endif
26945 char XineramaQueryScreens ();
26946 int
26947 main ()
26948 {
26949 return XineramaQueryScreens ();
26950 ;
26951 return 0;
26952 }
26953 _ACEOF
26954 if ac_fn_c_try_link "$LINENO"; then :
26955 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26956 else
26957 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26958 fi
26959 rm -f core conftest.err conftest.$ac_objext \
26960 conftest$ac_exeext conftest.$ac_ext
26961 LIBS=$ac_check_lib_save_LIBS
26962 fi
26963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26964 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26965 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26966 ac_find_libraries="std"
26967 fi
26968
26969 fi
26970 fi
26971
26972 if test "x$ac_find_libraries" = "x"; then
26973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26974 $as_echo_n "checking elsewhere... " >&6; }
26975
26976 ac_find_libraries=
26977 for ac_dir in $SEARCH_LIB
26978 do
26979 for ac_extension in a so sl dylib dll.a; do
26980 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26981 ac_find_libraries=$ac_dir
26982 break 2
26983 fi
26984 done
26985 done
26986
26987 if test "x$ac_find_libraries" != "x"; then
26988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26989 $as_echo "yes" >&6; }
26990 else
26991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26992 $as_echo "no" >&6; }
26993 fi
26994 fi
26995
26996 else
26997 Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
26998 Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
26999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27000 $as_echo "yes" >&6; }
27001
27002 ac_find_libraries="std"
27003
27004 eval ac_find_cflags=\$Xinerama_CFLAGS
27005 eval fl_libs=\$Xinerama_LIBS
27006
27007 for fl_path in $fl_libs
27008 do
27009 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27010 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27011 fi
27012 done
27013
27014 fi
27015
27016 if test "$ac_find_libraries" != "" ; then
27017 if test "$ac_find_libraries" != "std" ; then
27018
27019 if test "$ac_find_libraries" = "default location"; then
27020 ac_path_to_link=""
27021 else
27022 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27023 result=$?
27024 if test $result = 0; then
27025 ac_path_to_link=""
27026 else
27027 ac_path_to_link=" -L$ac_find_libraries"
27028 fi
27029 fi
27030
27031 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27032 LDFLAGS="$LDFLAGS $ac_path_to_link"
27033 fi
27034 fi
27035 USE_XINERAMA=1
27036 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27037 else
27038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
27039 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27040 wxUSE_DISPLAY="no"
27041 fi
27042 elif test "$wxUSE_MSW" = 1; then
27043 ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
27044 "
27045 if test "x$ac_cv_header_ddraw_h" = xyes; then :
27046
27047 fi
27048
27049
27050 fi
27051 fi
27052
27053 if test "$wxUSE_DISPLAY" = "yes"; then
27054 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
27055
27056 ac_find_libraries=
27057
27058 fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
27059
27060
27061 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27062 if test -n "$ac_tool_prefix"; then
27063 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27064 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27066 $as_echo_n "checking for $ac_word... " >&6; }
27067 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27068 $as_echo_n "(cached) " >&6
27069 else
27070 case $PKG_CONFIG in
27071 [\\/]* | ?:[\\/]*)
27072 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27073 ;;
27074 *)
27075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27076 for as_dir in $PATH
27077 do
27078 IFS=$as_save_IFS
27079 test -z "$as_dir" && as_dir=.
27080 for ac_exec_ext in '' $ac_executable_extensions; do
27081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27082 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27084 break 2
27085 fi
27086 done
27087 done
27088 IFS=$as_save_IFS
27089
27090 ;;
27091 esac
27092 fi
27093 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27094 if test -n "$PKG_CONFIG"; then
27095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27096 $as_echo "$PKG_CONFIG" >&6; }
27097 else
27098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27099 $as_echo "no" >&6; }
27100 fi
27101
27102
27103 fi
27104 if test -z "$ac_cv_path_PKG_CONFIG"; then
27105 ac_pt_PKG_CONFIG=$PKG_CONFIG
27106 # Extract the first word of "pkg-config", so it can be a program name with args.
27107 set dummy pkg-config; ac_word=$2
27108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27109 $as_echo_n "checking for $ac_word... " >&6; }
27110 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27111 $as_echo_n "(cached) " >&6
27112 else
27113 case $ac_pt_PKG_CONFIG in
27114 [\\/]* | ?:[\\/]*)
27115 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27116 ;;
27117 *)
27118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27119 for as_dir in $PATH
27120 do
27121 IFS=$as_save_IFS
27122 test -z "$as_dir" && as_dir=.
27123 for ac_exec_ext in '' $ac_executable_extensions; do
27124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27125 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27127 break 2
27128 fi
27129 done
27130 done
27131 IFS=$as_save_IFS
27132
27133 ;;
27134 esac
27135 fi
27136 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27137 if test -n "$ac_pt_PKG_CONFIG"; then
27138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27139 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27140 else
27141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27142 $as_echo "no" >&6; }
27143 fi
27144
27145 if test "x$ac_pt_PKG_CONFIG" = x; then
27146 PKG_CONFIG=""
27147 else
27148 case $cross_compiling:$ac_tool_warned in
27149 yes:)
27150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27152 ac_tool_warned=yes ;;
27153 esac
27154 PKG_CONFIG=$ac_pt_PKG_CONFIG
27155 fi
27156 else
27157 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27158 fi
27159
27160 fi
27161 if test -n "$PKG_CONFIG"; then
27162 _pkg_min_version=0.9.0
27163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27164 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27165 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27167 $as_echo "yes" >&6; }
27168 else
27169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27170 $as_echo "no" >&6; }
27171 PKG_CONFIG=""
27172 fi
27173
27174 fi 6> /dev/null
27175
27176 pkg_failed=no
27177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
27178 $as_echo_n "checking for Xxf86vm... " >&6; }
27179
27180 if test -n "$PKG_CONFIG"; then
27181 if test -n "$Xxf86vm_CFLAGS"; then
27182 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
27183 else
27184 if test -n "$PKG_CONFIG" && \
27185 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27186 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27187 ac_status=$?
27188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27189 test $ac_status = 0; }; then
27190 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27191 else
27192 pkg_failed=yes
27193 fi
27194 fi
27195 else
27196 pkg_failed=untried
27197 fi
27198 if test -n "$PKG_CONFIG"; then
27199 if test -n "$Xxf86vm_LIBS"; then
27200 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
27201 else
27202 if test -n "$PKG_CONFIG" && \
27203 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27204 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27205 ac_status=$?
27206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27207 test $ac_status = 0; }; then
27208 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27209 else
27210 pkg_failed=yes
27211 fi
27212 fi
27213 else
27214 pkg_failed=untried
27215 fi
27216
27217
27218
27219 if test $pkg_failed = yes; then
27220
27221 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27222 _pkg_short_errors_supported=yes
27223 else
27224 _pkg_short_errors_supported=no
27225 fi
27226 if test $_pkg_short_errors_supported = yes; then
27227 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27228 else
27229 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27230 fi
27231 # Put the nasty error message in config.log where it belongs
27232 echo "$Xxf86vm_PKG_ERRORS" >&5
27233
27234
27235 if test "x$ac_find_libraries" = "x"; then
27236 if test "xXF86VidModeQueryExtension" != "x"; then
27237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27238 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27239 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27240 $as_echo_n "(cached) " >&6
27241 else
27242 ac_check_lib_save_LIBS=$LIBS
27243 LIBS="-lXxf86vm $LIBS"
27244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27245 /* end confdefs.h. */
27246
27247 /* Override any GCC internal prototype to avoid an error.
27248 Use char because int might match the return type of a GCC
27249 builtin and then its argument prototype would still apply. */
27250 #ifdef __cplusplus
27251 extern "C"
27252 #endif
27253 char XF86VidModeQueryExtension ();
27254 int
27255 main ()
27256 {
27257 return XF86VidModeQueryExtension ();
27258 ;
27259 return 0;
27260 }
27261 _ACEOF
27262 if ac_fn_c_try_link "$LINENO"; then :
27263 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27264 else
27265 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27266 fi
27267 rm -f core conftest.err conftest.$ac_objext \
27268 conftest$ac_exeext conftest.$ac_ext
27269 LIBS=$ac_check_lib_save_LIBS
27270 fi
27271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27272 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27273 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27274 ac_find_libraries="std"
27275 fi
27276
27277 fi
27278 fi
27279
27280 if test "x$ac_find_libraries" = "x"; then
27281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27282 $as_echo_n "checking elsewhere... " >&6; }
27283
27284 ac_find_libraries=
27285 for ac_dir in $SEARCH_LIB
27286 do
27287 for ac_extension in a so sl dylib dll.a; do
27288 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27289 ac_find_libraries=$ac_dir
27290 break 2
27291 fi
27292 done
27293 done
27294
27295 if test "x$ac_find_libraries" != "x"; then
27296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27297 $as_echo "yes" >&6; }
27298 else
27299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27300 $as_echo "no" >&6; }
27301 fi
27302 fi
27303
27304 elif test $pkg_failed = untried; then
27305
27306 if test "x$ac_find_libraries" = "x"; then
27307 if test "xXF86VidModeQueryExtension" != "x"; then
27308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27309 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27310 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27311 $as_echo_n "(cached) " >&6
27312 else
27313 ac_check_lib_save_LIBS=$LIBS
27314 LIBS="-lXxf86vm $LIBS"
27315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27316 /* end confdefs.h. */
27317
27318 /* Override any GCC internal prototype to avoid an error.
27319 Use char because int might match the return type of a GCC
27320 builtin and then its argument prototype would still apply. */
27321 #ifdef __cplusplus
27322 extern "C"
27323 #endif
27324 char XF86VidModeQueryExtension ();
27325 int
27326 main ()
27327 {
27328 return XF86VidModeQueryExtension ();
27329 ;
27330 return 0;
27331 }
27332 _ACEOF
27333 if ac_fn_c_try_link "$LINENO"; then :
27334 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27335 else
27336 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27337 fi
27338 rm -f core conftest.err conftest.$ac_objext \
27339 conftest$ac_exeext conftest.$ac_ext
27340 LIBS=$ac_check_lib_save_LIBS
27341 fi
27342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27343 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27344 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27345 ac_find_libraries="std"
27346 fi
27347
27348 fi
27349 fi
27350
27351 if test "x$ac_find_libraries" = "x"; then
27352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27353 $as_echo_n "checking elsewhere... " >&6; }
27354
27355 ac_find_libraries=
27356 for ac_dir in $SEARCH_LIB
27357 do
27358 for ac_extension in a so sl dylib dll.a; do
27359 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27360 ac_find_libraries=$ac_dir
27361 break 2
27362 fi
27363 done
27364 done
27365
27366 if test "x$ac_find_libraries" != "x"; then
27367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27368 $as_echo "yes" >&6; }
27369 else
27370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27371 $as_echo "no" >&6; }
27372 fi
27373 fi
27374
27375 else
27376 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
27377 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
27378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27379 $as_echo "yes" >&6; }
27380
27381 ac_find_libraries="std"
27382
27383 eval ac_find_cflags=\$Xxf86vm_CFLAGS
27384 eval fl_libs=\$Xxf86vm_LIBS
27385
27386 for fl_path in $fl_libs
27387 do
27388 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27389 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27390 fi
27391 done
27392
27393 fi
27394
27395 if test "$ac_find_libraries" != "" ; then
27396 for ac_header in X11/extensions/xf86vmode.h
27397 do :
27398 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27399 #if HAVE_X11_XLIB_H
27400 #include <X11/Xlib.h>
27401 #endif
27402
27403 "
27404 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes; then :
27405 cat >>confdefs.h <<_ACEOF
27406 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27407 _ACEOF
27408
27409 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27410
27411 fi
27412
27413 done
27414
27415 fi
27416 fi
27417 fi
27418
27419 if test "$wxUSE_DETECT_SM" = "yes"; then
27420 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27421
27422 ac_find_libraries=
27423
27424 fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
27425
27426
27427 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27428 if test -n "$ac_tool_prefix"; then
27429 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27430 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27432 $as_echo_n "checking for $ac_word... " >&6; }
27433 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27434 $as_echo_n "(cached) " >&6
27435 else
27436 case $PKG_CONFIG in
27437 [\\/]* | ?:[\\/]*)
27438 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27439 ;;
27440 *)
27441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27442 for as_dir in $PATH
27443 do
27444 IFS=$as_save_IFS
27445 test -z "$as_dir" && as_dir=.
27446 for ac_exec_ext in '' $ac_executable_extensions; do
27447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27448 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27450 break 2
27451 fi
27452 done
27453 done
27454 IFS=$as_save_IFS
27455
27456 ;;
27457 esac
27458 fi
27459 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27460 if test -n "$PKG_CONFIG"; then
27461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27462 $as_echo "$PKG_CONFIG" >&6; }
27463 else
27464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27465 $as_echo "no" >&6; }
27466 fi
27467
27468
27469 fi
27470 if test -z "$ac_cv_path_PKG_CONFIG"; then
27471 ac_pt_PKG_CONFIG=$PKG_CONFIG
27472 # Extract the first word of "pkg-config", so it can be a program name with args.
27473 set dummy pkg-config; ac_word=$2
27474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27475 $as_echo_n "checking for $ac_word... " >&6; }
27476 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27477 $as_echo_n "(cached) " >&6
27478 else
27479 case $ac_pt_PKG_CONFIG in
27480 [\\/]* | ?:[\\/]*)
27481 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27482 ;;
27483 *)
27484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27485 for as_dir in $PATH
27486 do
27487 IFS=$as_save_IFS
27488 test -z "$as_dir" && as_dir=.
27489 for ac_exec_ext in '' $ac_executable_extensions; do
27490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27491 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27493 break 2
27494 fi
27495 done
27496 done
27497 IFS=$as_save_IFS
27498
27499 ;;
27500 esac
27501 fi
27502 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27503 if test -n "$ac_pt_PKG_CONFIG"; then
27504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27505 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27506 else
27507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27508 $as_echo "no" >&6; }
27509 fi
27510
27511 if test "x$ac_pt_PKG_CONFIG" = x; then
27512 PKG_CONFIG=""
27513 else
27514 case $cross_compiling:$ac_tool_warned in
27515 yes:)
27516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27518 ac_tool_warned=yes ;;
27519 esac
27520 PKG_CONFIG=$ac_pt_PKG_CONFIG
27521 fi
27522 else
27523 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27524 fi
27525
27526 fi
27527 if test -n "$PKG_CONFIG"; then
27528 _pkg_min_version=0.9.0
27529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27530 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27531 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27533 $as_echo "yes" >&6; }
27534 else
27535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27536 $as_echo "no" >&6; }
27537 PKG_CONFIG=""
27538 fi
27539
27540 fi 6> /dev/null
27541
27542 pkg_failed=no
27543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27544 $as_echo_n "checking for SM... " >&6; }
27545
27546 if test -n "$PKG_CONFIG"; then
27547 if test -n "$SM_CFLAGS"; then
27548 pkg_cv_SM_CFLAGS="$SM_CFLAGS"
27549 else
27550 if test -n "$PKG_CONFIG" && \
27551 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27552 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27553 ac_status=$?
27554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27555 test $ac_status = 0; }; then
27556 pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27557 else
27558 pkg_failed=yes
27559 fi
27560 fi
27561 else
27562 pkg_failed=untried
27563 fi
27564 if test -n "$PKG_CONFIG"; then
27565 if test -n "$SM_LIBS"; then
27566 pkg_cv_SM_LIBS="$SM_LIBS"
27567 else
27568 if test -n "$PKG_CONFIG" && \
27569 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27570 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27571 ac_status=$?
27572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27573 test $ac_status = 0; }; then
27574 pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27575 else
27576 pkg_failed=yes
27577 fi
27578 fi
27579 else
27580 pkg_failed=untried
27581 fi
27582
27583
27584
27585 if test $pkg_failed = yes; then
27586
27587 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27588 _pkg_short_errors_supported=yes
27589 else
27590 _pkg_short_errors_supported=no
27591 fi
27592 if test $_pkg_short_errors_supported = yes; then
27593 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27594 else
27595 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27596 fi
27597 # Put the nasty error message in config.log where it belongs
27598 echo "$SM_PKG_ERRORS" >&5
27599
27600
27601 if test "x$ac_find_libraries" = "x"; then
27602 if test "xSmcOpenConnection" != "x"; then
27603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27604 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27605 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27606 $as_echo_n "(cached) " >&6
27607 else
27608 ac_check_lib_save_LIBS=$LIBS
27609 LIBS="-lSM $LIBS"
27610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27611 /* end confdefs.h. */
27612
27613 /* Override any GCC internal prototype to avoid an error.
27614 Use char because int might match the return type of a GCC
27615 builtin and then its argument prototype would still apply. */
27616 #ifdef __cplusplus
27617 extern "C"
27618 #endif
27619 char SmcOpenConnection ();
27620 int
27621 main ()
27622 {
27623 return SmcOpenConnection ();
27624 ;
27625 return 0;
27626 }
27627 _ACEOF
27628 if ac_fn_c_try_link "$LINENO"; then :
27629 ac_cv_lib_SM_SmcOpenConnection=yes
27630 else
27631 ac_cv_lib_SM_SmcOpenConnection=no
27632 fi
27633 rm -f core conftest.err conftest.$ac_objext \
27634 conftest$ac_exeext conftest.$ac_ext
27635 LIBS=$ac_check_lib_save_LIBS
27636 fi
27637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27638 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27639 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27640 ac_find_libraries="std"
27641 fi
27642
27643 fi
27644 fi
27645
27646 if test "x$ac_find_libraries" = "x"; then
27647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27648 $as_echo_n "checking elsewhere... " >&6; }
27649
27650 ac_find_libraries=
27651 for ac_dir in $SEARCH_LIB
27652 do
27653 for ac_extension in a so sl dylib dll.a; do
27654 if test -f "$ac_dir/libSM.$ac_extension"; then
27655 ac_find_libraries=$ac_dir
27656 break 2
27657 fi
27658 done
27659 done
27660
27661 if test "x$ac_find_libraries" != "x"; then
27662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27663 $as_echo "yes" >&6; }
27664 else
27665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27666 $as_echo "no" >&6; }
27667 fi
27668 fi
27669
27670 elif test $pkg_failed = untried; then
27671
27672 if test "x$ac_find_libraries" = "x"; then
27673 if test "xSmcOpenConnection" != "x"; then
27674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27675 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27676 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27677 $as_echo_n "(cached) " >&6
27678 else
27679 ac_check_lib_save_LIBS=$LIBS
27680 LIBS="-lSM $LIBS"
27681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27682 /* end confdefs.h. */
27683
27684 /* Override any GCC internal prototype to avoid an error.
27685 Use char because int might match the return type of a GCC
27686 builtin and then its argument prototype would still apply. */
27687 #ifdef __cplusplus
27688 extern "C"
27689 #endif
27690 char SmcOpenConnection ();
27691 int
27692 main ()
27693 {
27694 return SmcOpenConnection ();
27695 ;
27696 return 0;
27697 }
27698 _ACEOF
27699 if ac_fn_c_try_link "$LINENO"; then :
27700 ac_cv_lib_SM_SmcOpenConnection=yes
27701 else
27702 ac_cv_lib_SM_SmcOpenConnection=no
27703 fi
27704 rm -f core conftest.err conftest.$ac_objext \
27705 conftest$ac_exeext conftest.$ac_ext
27706 LIBS=$ac_check_lib_save_LIBS
27707 fi
27708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27709 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27710 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27711 ac_find_libraries="std"
27712 fi
27713
27714 fi
27715 fi
27716
27717 if test "x$ac_find_libraries" = "x"; then
27718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27719 $as_echo_n "checking elsewhere... " >&6; }
27720
27721 ac_find_libraries=
27722 for ac_dir in $SEARCH_LIB
27723 do
27724 for ac_extension in a so sl dylib dll.a; do
27725 if test -f "$ac_dir/libSM.$ac_extension"; then
27726 ac_find_libraries=$ac_dir
27727 break 2
27728 fi
27729 done
27730 done
27731
27732 if test "x$ac_find_libraries" != "x"; then
27733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27734 $as_echo "yes" >&6; }
27735 else
27736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27737 $as_echo "no" >&6; }
27738 fi
27739 fi
27740
27741 else
27742 SM_CFLAGS=$pkg_cv_SM_CFLAGS
27743 SM_LIBS=$pkg_cv_SM_LIBS
27744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27745 $as_echo "yes" >&6; }
27746
27747 ac_find_libraries="std"
27748
27749 eval ac_find_cflags=\$SM_CFLAGS
27750 eval fl_libs=\$SM_LIBS
27751
27752 for fl_path in $fl_libs
27753 do
27754 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27755 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27756 fi
27757 done
27758
27759 fi
27760
27761 if test "$ac_find_libraries" != "" ; then
27762 if test "$ac_find_libraries" != "std" ; then
27763
27764 if test "$ac_find_libraries" = "default location"; then
27765 ac_path_to_link=""
27766 else
27767 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27768 result=$?
27769 if test $result = 0; then
27770 ac_path_to_link=""
27771 else
27772 ac_path_to_link=" -L$ac_find_libraries"
27773 fi
27774 fi
27775
27776 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27777 LDFLAGS="$LDFLAGS $ac_path_to_link"
27778 fi
27779 fi
27780 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
27781 else
27782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27783 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27784 wxUSE_DETECT_SM="no"
27785 fi
27786 else
27787 wxUSE_DETECT_SM="no"
27788 fi
27789 fi
27790
27791
27792
27793 USE_OPENGL=0
27794 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27795
27796
27797 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27798 OPENGL_LIBS="-framework OpenGL -framework AGL"
27799 elif test "$wxUSE_MSW" = 1; then
27800 OPENGL_LIBS="-lopengl32 -lglu32"
27801 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27802
27803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27804 $as_echo_n "checking for OpenGL headers... " >&6; }
27805
27806 ac_find_includes=
27807 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
27808 do
27809 if test -f "$ac_dir/GL/gl.h"; then
27810 ac_find_includes=$ac_dir
27811 break
27812 fi
27813 done
27814
27815 if test "$ac_find_includes" != "" ; then
27816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27817 $as_echo "found in $ac_find_includes" >&6; }
27818
27819 if test "x$ac_find_includes" = "x/usr/include"; then
27820 ac_path_to_include=""
27821 else
27822 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27823 result=$?
27824 if test $result = 0; then
27825 ac_path_to_include=""
27826 else
27827 ac_path_to_include=" -I$ac_find_includes"
27828 fi
27829 fi
27830
27831 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
27832 else
27833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27834 $as_echo "not found" >&6; }
27835 fi
27836
27837 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27838 "
27839 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
27840
27841 ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27842 "
27843 if test "x$ac_cv_header_GL_glu_h" = xyes; then :
27844
27845 found_gl=0
27846
27847
27848 ac_find_libraries=
27849
27850 fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
27851
27852
27853 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27854 if test -n "$ac_tool_prefix"; then
27855 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27856 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27858 $as_echo_n "checking for $ac_word... " >&6; }
27859 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27860 $as_echo_n "(cached) " >&6
27861 else
27862 case $PKG_CONFIG in
27863 [\\/]* | ?:[\\/]*)
27864 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27865 ;;
27866 *)
27867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27868 for as_dir in $PATH
27869 do
27870 IFS=$as_save_IFS
27871 test -z "$as_dir" && as_dir=.
27872 for ac_exec_ext in '' $ac_executable_extensions; do
27873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27874 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27876 break 2
27877 fi
27878 done
27879 done
27880 IFS=$as_save_IFS
27881
27882 ;;
27883 esac
27884 fi
27885 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27886 if test -n "$PKG_CONFIG"; then
27887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27888 $as_echo "$PKG_CONFIG" >&6; }
27889 else
27890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27891 $as_echo "no" >&6; }
27892 fi
27893
27894
27895 fi
27896 if test -z "$ac_cv_path_PKG_CONFIG"; then
27897 ac_pt_PKG_CONFIG=$PKG_CONFIG
27898 # Extract the first word of "pkg-config", so it can be a program name with args.
27899 set dummy pkg-config; ac_word=$2
27900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27901 $as_echo_n "checking for $ac_word... " >&6; }
27902 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27903 $as_echo_n "(cached) " >&6
27904 else
27905 case $ac_pt_PKG_CONFIG in
27906 [\\/]* | ?:[\\/]*)
27907 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27908 ;;
27909 *)
27910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27911 for as_dir in $PATH
27912 do
27913 IFS=$as_save_IFS
27914 test -z "$as_dir" && as_dir=.
27915 for ac_exec_ext in '' $ac_executable_extensions; do
27916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27917 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27919 break 2
27920 fi
27921 done
27922 done
27923 IFS=$as_save_IFS
27924
27925 ;;
27926 esac
27927 fi
27928 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27929 if test -n "$ac_pt_PKG_CONFIG"; then
27930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27931 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27932 else
27933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27934 $as_echo "no" >&6; }
27935 fi
27936
27937 if test "x$ac_pt_PKG_CONFIG" = x; then
27938 PKG_CONFIG=""
27939 else
27940 case $cross_compiling:$ac_tool_warned in
27941 yes:)
27942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27943 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27944 ac_tool_warned=yes ;;
27945 esac
27946 PKG_CONFIG=$ac_pt_PKG_CONFIG
27947 fi
27948 else
27949 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27950 fi
27951
27952 fi
27953 if test -n "$PKG_CONFIG"; then
27954 _pkg_min_version=0.9.0
27955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27956 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27957 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27959 $as_echo "yes" >&6; }
27960 else
27961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27962 $as_echo "no" >&6; }
27963 PKG_CONFIG=""
27964 fi
27965
27966 fi 6> /dev/null
27967
27968 pkg_failed=no
27969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27970 $as_echo_n "checking for GL... " >&6; }
27971
27972 if test -n "$PKG_CONFIG"; then
27973 if test -n "$GL_CFLAGS"; then
27974 pkg_cv_GL_CFLAGS="$GL_CFLAGS"
27975 else
27976 if test -n "$PKG_CONFIG" && \
27977 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27978 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27979 ac_status=$?
27980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27981 test $ac_status = 0; }; then
27982 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27983 else
27984 pkg_failed=yes
27985 fi
27986 fi
27987 else
27988 pkg_failed=untried
27989 fi
27990 if test -n "$PKG_CONFIG"; then
27991 if test -n "$GL_LIBS"; then
27992 pkg_cv_GL_LIBS="$GL_LIBS"
27993 else
27994 if test -n "$PKG_CONFIG" && \
27995 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27996 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27997 ac_status=$?
27998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27999 test $ac_status = 0; }; then
28000 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28001 else
28002 pkg_failed=yes
28003 fi
28004 fi
28005 else
28006 pkg_failed=untried
28007 fi
28008
28009
28010
28011 if test $pkg_failed = yes; then
28012
28013 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28014 _pkg_short_errors_supported=yes
28015 else
28016 _pkg_short_errors_supported=no
28017 fi
28018 if test $_pkg_short_errors_supported = yes; then
28019 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28020 else
28021 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28022 fi
28023 # Put the nasty error message in config.log where it belongs
28024 echo "$GL_PKG_ERRORS" >&5
28025
28026
28027 if test "x$ac_find_libraries" = "x"; then
28028 if test "xglBegin" != "x"; then
28029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
28030 $as_echo_n "checking for glBegin in -lGL... " >&6; }
28031 if ${ac_cv_lib_GL_glBegin+:} false; then :
28032 $as_echo_n "(cached) " >&6
28033 else
28034 ac_check_lib_save_LIBS=$LIBS
28035 LIBS="-lGL $LIBS"
28036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28037 /* end confdefs.h. */
28038
28039 /* Override any GCC internal prototype to avoid an error.
28040 Use char because int might match the return type of a GCC
28041 builtin and then its argument prototype would still apply. */
28042 #ifdef __cplusplus
28043 extern "C"
28044 #endif
28045 char glBegin ();
28046 int
28047 main ()
28048 {
28049 return glBegin ();
28050 ;
28051 return 0;
28052 }
28053 _ACEOF
28054 if ac_fn_c_try_link "$LINENO"; then :
28055 ac_cv_lib_GL_glBegin=yes
28056 else
28057 ac_cv_lib_GL_glBegin=no
28058 fi
28059 rm -f core conftest.err conftest.$ac_objext \
28060 conftest$ac_exeext conftest.$ac_ext
28061 LIBS=$ac_check_lib_save_LIBS
28062 fi
28063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28064 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28065 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
28066 ac_find_libraries="std"
28067 fi
28068
28069 fi
28070 fi
28071
28072 if test "x$ac_find_libraries" = "x"; then
28073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28074 $as_echo_n "checking elsewhere... " >&6; }
28075
28076 ac_find_libraries=
28077 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28078 do
28079 for ac_extension in a so sl dylib dll.a; do
28080 if test -f "$ac_dir/libGL.$ac_extension"; then
28081 ac_find_libraries=$ac_dir
28082 break 2
28083 fi
28084 done
28085 done
28086
28087 if test "x$ac_find_libraries" != "x"; then
28088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28089 $as_echo "yes" >&6; }
28090 else
28091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28092 $as_echo "no" >&6; }
28093 fi
28094 fi
28095
28096 elif test $pkg_failed = untried; then
28097
28098 if test "x$ac_find_libraries" = "x"; then
28099 if test "xglBegin" != "x"; then
28100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
28101 $as_echo_n "checking for glBegin in -lGL... " >&6; }
28102 if ${ac_cv_lib_GL_glBegin+:} false; then :
28103 $as_echo_n "(cached) " >&6
28104 else
28105 ac_check_lib_save_LIBS=$LIBS
28106 LIBS="-lGL $LIBS"
28107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28108 /* end confdefs.h. */
28109
28110 /* Override any GCC internal prototype to avoid an error.
28111 Use char because int might match the return type of a GCC
28112 builtin and then its argument prototype would still apply. */
28113 #ifdef __cplusplus
28114 extern "C"
28115 #endif
28116 char glBegin ();
28117 int
28118 main ()
28119 {
28120 return glBegin ();
28121 ;
28122 return 0;
28123 }
28124 _ACEOF
28125 if ac_fn_c_try_link "$LINENO"; then :
28126 ac_cv_lib_GL_glBegin=yes
28127 else
28128 ac_cv_lib_GL_glBegin=no
28129 fi
28130 rm -f core conftest.err conftest.$ac_objext \
28131 conftest$ac_exeext conftest.$ac_ext
28132 LIBS=$ac_check_lib_save_LIBS
28133 fi
28134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28135 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28136 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
28137 ac_find_libraries="std"
28138 fi
28139
28140 fi
28141 fi
28142
28143 if test "x$ac_find_libraries" = "x"; then
28144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28145 $as_echo_n "checking elsewhere... " >&6; }
28146
28147 ac_find_libraries=
28148 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28149 do
28150 for ac_extension in a so sl dylib dll.a; do
28151 if test -f "$ac_dir/libGL.$ac_extension"; then
28152 ac_find_libraries=$ac_dir
28153 break 2
28154 fi
28155 done
28156 done
28157
28158 if test "x$ac_find_libraries" != "x"; then
28159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28160 $as_echo "yes" >&6; }
28161 else
28162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28163 $as_echo "no" >&6; }
28164 fi
28165 fi
28166
28167 else
28168 GL_CFLAGS=$pkg_cv_GL_CFLAGS
28169 GL_LIBS=$pkg_cv_GL_LIBS
28170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28171 $as_echo "yes" >&6; }
28172
28173 ac_find_libraries="std"
28174
28175 eval ac_find_cflags=\$GL_CFLAGS
28176 eval fl_libs=\$GL_LIBS
28177
28178 for fl_path in $fl_libs
28179 do
28180 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28181 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28182 fi
28183 done
28184
28185 fi
28186
28187 if test "$ac_find_libraries" != "" ; then
28188 if test "$ac_find_libraries" != "std" ; then
28189
28190 if test "$ac_find_libraries" = "default location"; then
28191 ac_path_to_link=""
28192 else
28193 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28194 result=$?
28195 if test $result = 0; then
28196 ac_path_to_link=""
28197 else
28198 ac_path_to_link=" -L$ac_find_libraries"
28199 fi
28200 fi
28201
28202 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28203 LDFLAGS_GL="$ac_path_to_link"
28204 fi
28205 fi
28206
28207
28208 ac_find_libraries=
28209
28210 fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
28211
28212
28213 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28214 if test -n "$ac_tool_prefix"; then
28215 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28216 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28218 $as_echo_n "checking for $ac_word... " >&6; }
28219 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28220 $as_echo_n "(cached) " >&6
28221 else
28222 case $PKG_CONFIG in
28223 [\\/]* | ?:[\\/]*)
28224 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28225 ;;
28226 *)
28227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28228 for as_dir in $PATH
28229 do
28230 IFS=$as_save_IFS
28231 test -z "$as_dir" && as_dir=.
28232 for ac_exec_ext in '' $ac_executable_extensions; do
28233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28234 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28236 break 2
28237 fi
28238 done
28239 done
28240 IFS=$as_save_IFS
28241
28242 ;;
28243 esac
28244 fi
28245 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28246 if test -n "$PKG_CONFIG"; then
28247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28248 $as_echo "$PKG_CONFIG" >&6; }
28249 else
28250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28251 $as_echo "no" >&6; }
28252 fi
28253
28254
28255 fi
28256 if test -z "$ac_cv_path_PKG_CONFIG"; then
28257 ac_pt_PKG_CONFIG=$PKG_CONFIG
28258 # Extract the first word of "pkg-config", so it can be a program name with args.
28259 set dummy pkg-config; ac_word=$2
28260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28261 $as_echo_n "checking for $ac_word... " >&6; }
28262 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28263 $as_echo_n "(cached) " >&6
28264 else
28265 case $ac_pt_PKG_CONFIG in
28266 [\\/]* | ?:[\\/]*)
28267 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28268 ;;
28269 *)
28270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28271 for as_dir in $PATH
28272 do
28273 IFS=$as_save_IFS
28274 test -z "$as_dir" && as_dir=.
28275 for ac_exec_ext in '' $ac_executable_extensions; do
28276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28277 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28279 break 2
28280 fi
28281 done
28282 done
28283 IFS=$as_save_IFS
28284
28285 ;;
28286 esac
28287 fi
28288 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28289 if test -n "$ac_pt_PKG_CONFIG"; then
28290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28291 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28292 else
28293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28294 $as_echo "no" >&6; }
28295 fi
28296
28297 if test "x$ac_pt_PKG_CONFIG" = x; then
28298 PKG_CONFIG=""
28299 else
28300 case $cross_compiling:$ac_tool_warned in
28301 yes:)
28302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28304 ac_tool_warned=yes ;;
28305 esac
28306 PKG_CONFIG=$ac_pt_PKG_CONFIG
28307 fi
28308 else
28309 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28310 fi
28311
28312 fi
28313 if test -n "$PKG_CONFIG"; then
28314 _pkg_min_version=0.9.0
28315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28316 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28317 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28319 $as_echo "yes" >&6; }
28320 else
28321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28322 $as_echo "no" >&6; }
28323 PKG_CONFIG=""
28324 fi
28325
28326 fi 6> /dev/null
28327
28328 pkg_failed=no
28329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28330 $as_echo_n "checking for GLU... " >&6; }
28331
28332 if test -n "$PKG_CONFIG"; then
28333 if test -n "$GLU_CFLAGS"; then
28334 pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
28335 else
28336 if test -n "$PKG_CONFIG" && \
28337 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28338 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28339 ac_status=$?
28340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28341 test $ac_status = 0; }; then
28342 pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28343 else
28344 pkg_failed=yes
28345 fi
28346 fi
28347 else
28348 pkg_failed=untried
28349 fi
28350 if test -n "$PKG_CONFIG"; then
28351 if test -n "$GLU_LIBS"; then
28352 pkg_cv_GLU_LIBS="$GLU_LIBS"
28353 else
28354 if test -n "$PKG_CONFIG" && \
28355 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28356 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28357 ac_status=$?
28358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28359 test $ac_status = 0; }; then
28360 pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28361 else
28362 pkg_failed=yes
28363 fi
28364 fi
28365 else
28366 pkg_failed=untried
28367 fi
28368
28369
28370
28371 if test $pkg_failed = yes; then
28372
28373 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28374 _pkg_short_errors_supported=yes
28375 else
28376 _pkg_short_errors_supported=no
28377 fi
28378 if test $_pkg_short_errors_supported = yes; then
28379 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28380 else
28381 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28382 fi
28383 # Put the nasty error message in config.log where it belongs
28384 echo "$GLU_PKG_ERRORS" >&5
28385
28386
28387 if test "x$ac_find_libraries" = "x"; then
28388 if test "xgluBeginCurve" != "x"; then
28389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28390 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28391 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28392 $as_echo_n "(cached) " >&6
28393 else
28394 ac_check_lib_save_LIBS=$LIBS
28395 LIBS="-lGLU $LIBS"
28396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28397 /* end confdefs.h. */
28398
28399 /* Override any GCC internal prototype to avoid an error.
28400 Use char because int might match the return type of a GCC
28401 builtin and then its argument prototype would still apply. */
28402 #ifdef __cplusplus
28403 extern "C"
28404 #endif
28405 char gluBeginCurve ();
28406 int
28407 main ()
28408 {
28409 return gluBeginCurve ();
28410 ;
28411 return 0;
28412 }
28413 _ACEOF
28414 if ac_fn_c_try_link "$LINENO"; then :
28415 ac_cv_lib_GLU_gluBeginCurve=yes
28416 else
28417 ac_cv_lib_GLU_gluBeginCurve=no
28418 fi
28419 rm -f core conftest.err conftest.$ac_objext \
28420 conftest$ac_exeext conftest.$ac_ext
28421 LIBS=$ac_check_lib_save_LIBS
28422 fi
28423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28424 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28425 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28426 ac_find_libraries="std"
28427 fi
28428
28429 fi
28430 fi
28431
28432 if test "x$ac_find_libraries" = "x"; then
28433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28434 $as_echo_n "checking elsewhere... " >&6; }
28435
28436 ac_find_libraries=
28437 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28438 do
28439 for ac_extension in a so sl dylib dll.a; do
28440 if test -f "$ac_dir/libGLU.$ac_extension"; then
28441 ac_find_libraries=$ac_dir
28442 break 2
28443 fi
28444 done
28445 done
28446
28447 if test "x$ac_find_libraries" != "x"; then
28448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28449 $as_echo "yes" >&6; }
28450 else
28451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28452 $as_echo "no" >&6; }
28453 fi
28454 fi
28455
28456 elif test $pkg_failed = untried; then
28457
28458 if test "x$ac_find_libraries" = "x"; then
28459 if test "xgluBeginCurve" != "x"; then
28460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28461 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28462 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28463 $as_echo_n "(cached) " >&6
28464 else
28465 ac_check_lib_save_LIBS=$LIBS
28466 LIBS="-lGLU $LIBS"
28467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28468 /* end confdefs.h. */
28469
28470 /* Override any GCC internal prototype to avoid an error.
28471 Use char because int might match the return type of a GCC
28472 builtin and then its argument prototype would still apply. */
28473 #ifdef __cplusplus
28474 extern "C"
28475 #endif
28476 char gluBeginCurve ();
28477 int
28478 main ()
28479 {
28480 return gluBeginCurve ();
28481 ;
28482 return 0;
28483 }
28484 _ACEOF
28485 if ac_fn_c_try_link "$LINENO"; then :
28486 ac_cv_lib_GLU_gluBeginCurve=yes
28487 else
28488 ac_cv_lib_GLU_gluBeginCurve=no
28489 fi
28490 rm -f core conftest.err conftest.$ac_objext \
28491 conftest$ac_exeext conftest.$ac_ext
28492 LIBS=$ac_check_lib_save_LIBS
28493 fi
28494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28495 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28496 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28497 ac_find_libraries="std"
28498 fi
28499
28500 fi
28501 fi
28502
28503 if test "x$ac_find_libraries" = "x"; then
28504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28505 $as_echo_n "checking elsewhere... " >&6; }
28506
28507 ac_find_libraries=
28508 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28509 do
28510 for ac_extension in a so sl dylib dll.a; do
28511 if test -f "$ac_dir/libGLU.$ac_extension"; then
28512 ac_find_libraries=$ac_dir
28513 break 2
28514 fi
28515 done
28516 done
28517
28518 if test "x$ac_find_libraries" != "x"; then
28519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28520 $as_echo "yes" >&6; }
28521 else
28522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28523 $as_echo "no" >&6; }
28524 fi
28525 fi
28526
28527 else
28528 GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
28529 GLU_LIBS=$pkg_cv_GLU_LIBS
28530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28531 $as_echo "yes" >&6; }
28532
28533 ac_find_libraries="std"
28534
28535 eval ac_find_cflags=\$GLU_CFLAGS
28536 eval fl_libs=\$GLU_LIBS
28537
28538 for fl_path in $fl_libs
28539 do
28540 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28541 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28542 fi
28543 done
28544
28545 fi
28546
28547 if test "$ac_find_libraries" != "" ; then
28548 if test "$ac_find_libraries" != "std" ; then
28549
28550 if test "$ac_find_libraries" = "default location"; then
28551 ac_path_to_link=""
28552 else
28553 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28554 result=$?
28555 if test $result = 0; then
28556 ac_path_to_link=""
28557 else
28558 ac_path_to_link=" -L$ac_find_libraries"
28559 fi
28560 fi
28561
28562 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28563 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28564 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28565 fi
28566 fi
28567
28568 found_gl=1
28569 OPENGL_LIBS="-lGL -lGLU"
28570 fi
28571 fi
28572
28573 if test "$found_gl" != 1; then
28574
28575 ac_find_libraries=
28576
28577 fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
28578
28579
28580 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28581 if test -n "$ac_tool_prefix"; then
28582 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28583 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28585 $as_echo_n "checking for $ac_word... " >&6; }
28586 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28587 $as_echo_n "(cached) " >&6
28588 else
28589 case $PKG_CONFIG in
28590 [\\/]* | ?:[\\/]*)
28591 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28592 ;;
28593 *)
28594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28595 for as_dir in $PATH
28596 do
28597 IFS=$as_save_IFS
28598 test -z "$as_dir" && as_dir=.
28599 for ac_exec_ext in '' $ac_executable_extensions; do
28600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28601 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28603 break 2
28604 fi
28605 done
28606 done
28607 IFS=$as_save_IFS
28608
28609 ;;
28610 esac
28611 fi
28612 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28613 if test -n "$PKG_CONFIG"; then
28614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28615 $as_echo "$PKG_CONFIG" >&6; }
28616 else
28617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28618 $as_echo "no" >&6; }
28619 fi
28620
28621
28622 fi
28623 if test -z "$ac_cv_path_PKG_CONFIG"; then
28624 ac_pt_PKG_CONFIG=$PKG_CONFIG
28625 # Extract the first word of "pkg-config", so it can be a program name with args.
28626 set dummy pkg-config; ac_word=$2
28627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28628 $as_echo_n "checking for $ac_word... " >&6; }
28629 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28630 $as_echo_n "(cached) " >&6
28631 else
28632 case $ac_pt_PKG_CONFIG in
28633 [\\/]* | ?:[\\/]*)
28634 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28635 ;;
28636 *)
28637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28638 for as_dir in $PATH
28639 do
28640 IFS=$as_save_IFS
28641 test -z "$as_dir" && as_dir=.
28642 for ac_exec_ext in '' $ac_executable_extensions; do
28643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28644 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28646 break 2
28647 fi
28648 done
28649 done
28650 IFS=$as_save_IFS
28651
28652 ;;
28653 esac
28654 fi
28655 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28656 if test -n "$ac_pt_PKG_CONFIG"; then
28657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28658 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28659 else
28660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28661 $as_echo "no" >&6; }
28662 fi
28663
28664 if test "x$ac_pt_PKG_CONFIG" = x; then
28665 PKG_CONFIG=""
28666 else
28667 case $cross_compiling:$ac_tool_warned in
28668 yes:)
28669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28671 ac_tool_warned=yes ;;
28672 esac
28673 PKG_CONFIG=$ac_pt_PKG_CONFIG
28674 fi
28675 else
28676 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28677 fi
28678
28679 fi
28680 if test -n "$PKG_CONFIG"; then
28681 _pkg_min_version=0.9.0
28682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28683 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28684 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28686 $as_echo "yes" >&6; }
28687 else
28688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28689 $as_echo "no" >&6; }
28690 PKG_CONFIG=""
28691 fi
28692
28693 fi 6> /dev/null
28694
28695 pkg_failed=no
28696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28697 $as_echo_n "checking for MesaGL... " >&6; }
28698
28699 if test -n "$PKG_CONFIG"; then
28700 if test -n "$MesaGL_CFLAGS"; then
28701 pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
28702 else
28703 if test -n "$PKG_CONFIG" && \
28704 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28705 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28706 ac_status=$?
28707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28708 test $ac_status = 0; }; then
28709 pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28710 else
28711 pkg_failed=yes
28712 fi
28713 fi
28714 else
28715 pkg_failed=untried
28716 fi
28717 if test -n "$PKG_CONFIG"; then
28718 if test -n "$MesaGL_LIBS"; then
28719 pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
28720 else
28721 if test -n "$PKG_CONFIG" && \
28722 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28723 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28724 ac_status=$?
28725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28726 test $ac_status = 0; }; then
28727 pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28728 else
28729 pkg_failed=yes
28730 fi
28731 fi
28732 else
28733 pkg_failed=untried
28734 fi
28735
28736
28737
28738 if test $pkg_failed = yes; then
28739
28740 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28741 _pkg_short_errors_supported=yes
28742 else
28743 _pkg_short_errors_supported=no
28744 fi
28745 if test $_pkg_short_errors_supported = yes; then
28746 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28747 else
28748 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28749 fi
28750 # Put the nasty error message in config.log where it belongs
28751 echo "$MesaGL_PKG_ERRORS" >&5
28752
28753
28754 if test "x$ac_find_libraries" = "x"; then
28755 if test "xglEnable" != "x"; then
28756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28757 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28758 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28759 $as_echo_n "(cached) " >&6
28760 else
28761 ac_check_lib_save_LIBS=$LIBS
28762 LIBS="-lMesaGL $LIBS"
28763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28764 /* end confdefs.h. */
28765
28766 /* Override any GCC internal prototype to avoid an error.
28767 Use char because int might match the return type of a GCC
28768 builtin and then its argument prototype would still apply. */
28769 #ifdef __cplusplus
28770 extern "C"
28771 #endif
28772 char glEnable ();
28773 int
28774 main ()
28775 {
28776 return glEnable ();
28777 ;
28778 return 0;
28779 }
28780 _ACEOF
28781 if ac_fn_c_try_link "$LINENO"; then :
28782 ac_cv_lib_MesaGL_glEnable=yes
28783 else
28784 ac_cv_lib_MesaGL_glEnable=no
28785 fi
28786 rm -f core conftest.err conftest.$ac_objext \
28787 conftest$ac_exeext conftest.$ac_ext
28788 LIBS=$ac_check_lib_save_LIBS
28789 fi
28790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28791 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28792 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28793 ac_find_libraries="std"
28794 fi
28795
28796 fi
28797 fi
28798
28799 if test "x$ac_find_libraries" = "x"; then
28800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28801 $as_echo_n "checking elsewhere... " >&6; }
28802
28803 ac_find_libraries=
28804 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28805 do
28806 for ac_extension in a so sl dylib dll.a; do
28807 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28808 ac_find_libraries=$ac_dir
28809 break 2
28810 fi
28811 done
28812 done
28813
28814 if test "x$ac_find_libraries" != "x"; then
28815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28816 $as_echo "yes" >&6; }
28817 else
28818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28819 $as_echo "no" >&6; }
28820 fi
28821 fi
28822
28823 elif test $pkg_failed = untried; then
28824
28825 if test "x$ac_find_libraries" = "x"; then
28826 if test "xglEnable" != "x"; then
28827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28828 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28829 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28830 $as_echo_n "(cached) " >&6
28831 else
28832 ac_check_lib_save_LIBS=$LIBS
28833 LIBS="-lMesaGL $LIBS"
28834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28835 /* end confdefs.h. */
28836
28837 /* Override any GCC internal prototype to avoid an error.
28838 Use char because int might match the return type of a GCC
28839 builtin and then its argument prototype would still apply. */
28840 #ifdef __cplusplus
28841 extern "C"
28842 #endif
28843 char glEnable ();
28844 int
28845 main ()
28846 {
28847 return glEnable ();
28848 ;
28849 return 0;
28850 }
28851 _ACEOF
28852 if ac_fn_c_try_link "$LINENO"; then :
28853 ac_cv_lib_MesaGL_glEnable=yes
28854 else
28855 ac_cv_lib_MesaGL_glEnable=no
28856 fi
28857 rm -f core conftest.err conftest.$ac_objext \
28858 conftest$ac_exeext conftest.$ac_ext
28859 LIBS=$ac_check_lib_save_LIBS
28860 fi
28861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28862 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28863 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28864 ac_find_libraries="std"
28865 fi
28866
28867 fi
28868 fi
28869
28870 if test "x$ac_find_libraries" = "x"; then
28871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28872 $as_echo_n "checking elsewhere... " >&6; }
28873
28874 ac_find_libraries=
28875 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28876 do
28877 for ac_extension in a so sl dylib dll.a; do
28878 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28879 ac_find_libraries=$ac_dir
28880 break 2
28881 fi
28882 done
28883 done
28884
28885 if test "x$ac_find_libraries" != "x"; then
28886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28887 $as_echo "yes" >&6; }
28888 else
28889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28890 $as_echo "no" >&6; }
28891 fi
28892 fi
28893
28894 else
28895 MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
28896 MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
28897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28898 $as_echo "yes" >&6; }
28899
28900 ac_find_libraries="std"
28901
28902 eval ac_find_cflags=\$MesaGL_CFLAGS
28903 eval fl_libs=\$MesaGL_LIBS
28904
28905 for fl_path in $fl_libs
28906 do
28907 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28908 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28909 fi
28910 done
28911
28912 fi
28913
28914 if test "$ac_find_libraries" != "" ; then
28915 if test "$ac_find_libraries" != "std" ; then
28916
28917 if test "$ac_find_libraries" = "default location"; then
28918 ac_path_to_link=""
28919 else
28920 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28921 result=$?
28922 if test $result = 0; then
28923 ac_path_to_link=""
28924 else
28925 ac_path_to_link=" -L$ac_find_libraries"
28926 fi
28927 fi
28928
28929 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28930 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28931 fi
28932 fi
28933 OPENGL_LIBS="-lMesaGL -lMesaGLU"
28934 fi
28935 fi
28936
28937 fi
28938
28939
28940
28941 fi
28942
28943
28944
28945 if test "x$OPENGL_LIBS" = "x"; then
28946 if test "$wxUSE_OPENGL" = "yes"; then
28947 as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
28948 else
28949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28950 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28951 wxUSE_OPENGL=no
28952 USE_OPENGL=0
28953 fi
28954 fi
28955 else
28956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28957 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28958 wxUSE_OPENGL="no"
28959 fi
28960
28961 if test "$wxUSE_OPENGL" = "auto"; then
28962 wxUSE_OPENGL=yes
28963 fi
28964
28965 if test "$wxUSE_OPENGL" = "yes"; then
28966 USE_OPENGL=1
28967 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28968
28969 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28970
28971 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28972 fi
28973 fi
28974
28975
28976 if test -n "$TOOLKIT" ; then
28977 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28978 fi
28979
28980
28981
28982 if test "$wxUSE_SHARED" = "yes"; then
28983 case "${host}" in
28984 *-pc-msdosdjgpp )
28985 wxUSE_SHARED=no
28986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28987 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28988 ;;
28989 esac
28990 fi
28991
28992 if test "$wxUSE_SHARED" = "yes"; then
28993
28994
28995 case "${host}" in
28996 *-*-cygwin* | *-*-mingw* )
28997 wx_cv_version_script=no
28998 ;;
28999
29000 *)
29001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
29002 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
29003 if ${wx_cv_version_script+:} false; then :
29004 $as_echo_n "(cached) " >&6
29005 else
29006
29007 echo "VER_1 { *; };" >conftest.sym
29008 echo "int main() { return 0; }" >conftest.cpp
29009
29010 if { ac_try='
29011 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29012 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29013 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29014 (eval $ac_try) 2>&5
29015 ac_status=$?
29016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29017 test $ac_status = 0; }; } ; then
29018 if test -s conftest.stderr ; then
29019 wx_cv_version_script=no
29020 else
29021 wx_cv_version_script=yes
29022 fi
29023 else
29024 wx_cv_version_script=no
29025 fi
29026
29027 if test $wx_cv_version_script = yes
29028 then
29029 echo "struct B { virtual ~B() { } }; \
29030 struct D : public B { }; \
29031 void F() { D d; }" > conftest.cpp
29032
29033 if { ac_try='
29034 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29035 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29036 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29037 (eval $ac_try) 2>&5
29038 ac_status=$?
29039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29040 test $ac_status = 0; }; } &&
29041 { ac_try='
29042 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29043 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29044 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29045 (eval $ac_try) 2>&5
29046 ac_status=$?
29047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29048 test $ac_status = 0; }; }
29049 then
29050 if { ac_try='
29051 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29052 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29053 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29054 (eval $ac_try) 2>&5
29055 ac_status=$?
29056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29057 test $ac_status = 0; }; }
29058 then
29059 wx_cv_version_script=yes
29060 else
29061 wx_cv_version_script=no
29062 fi
29063 fi
29064 fi
29065
29066 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29067 rm -f conftest1.output conftest2.output conftest3.output
29068
29069 fi
29070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
29071 $as_echo "$wx_cv_version_script" >&6; }
29072
29073 if test $wx_cv_version_script = yes ; then
29074 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
29075 fi
29076 ;;
29077 esac
29078
29079
29080 if test "$wxUSE_VISIBILITY" != "no"; then
29081
29082
29083 if test -n "$GCC"; then
29084 CFLAGS_VISIBILITY="-fvisibility=hidden"
29085 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
29086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
29087 $as_echo_n "checking for symbols visibility support... " >&6; }
29088 if ${wx_cv_cc_visibility+:} false; then :
29089 $as_echo_n "(cached) " >&6
29090 else
29091
29092 wx_save_CXXFLAGS="$CXXFLAGS"
29093 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29094 ac_ext=cpp
29095 ac_cpp='$CXXCPP $CPPFLAGS'
29096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29099
29100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29101 /* end confdefs.h. */
29102
29103 /* we need gcc >= 4.0, older versions with visibility support
29104 didn't have class visibility: */
29105 #if defined(__GNUC__) && __GNUC__ < 4
29106 error this gcc is too old;
29107 #endif
29108
29109 /* visibility only makes sense for ELF shared libs: */
29110 #if !defined(__ELF__) && !defined(__APPLE__)
29111 error this platform has no visibility;
29112 #endif
29113
29114 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
29115 #if defined(__clang__)
29116 clang compiler is still broken w.r.t. visibility;
29117 #endif
29118
29119 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
29120 extern __attribute__((__visibility__("default"))) int exportedvar;
29121 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
29122 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
29123 class __attribute__((__visibility__("default"))) Foo {
29124 Foo() {}
29125 };
29126
29127 int
29128 main ()
29129 {
29130
29131 ;
29132 return 0;
29133 }
29134 _ACEOF
29135 if ac_fn_cxx_try_compile "$LINENO"; then :
29136 wx_cv_cc_visibility=yes
29137 else
29138 wx_cv_cc_visibility=no
29139 fi
29140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29141 ac_ext=c
29142 ac_cpp='$CPP $CPPFLAGS'
29143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29146
29147 CXXFLAGS="$wx_save_CXXFLAGS"
29148 fi
29149
29150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
29151 $as_echo "$wx_cv_cc_visibility" >&6; }
29152 if test $wx_cv_cc_visibility = yes; then
29153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
29154 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
29155 if ${wx_cv_cc_broken_libstdcxx_visibility+:} false; then :
29156 $as_echo_n "(cached) " >&6
29157 else
29158
29159 wx_save_CXXFLAGS="$CXXFLAGS"
29160 wx_save_LDFLAGS="$LDFLAGS"
29161 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29162 LDFLAGS="$LDFLAGS -shared -fPIC"
29163 ac_ext=cpp
29164 ac_cpp='$CXXCPP $CPPFLAGS'
29165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29168
29169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29170 /* end confdefs.h. */
29171
29172 #include <string>
29173
29174 int
29175 main ()
29176 {
29177
29178 std::string s("hello");
29179 return s.length();
29180
29181 ;
29182 return 0;
29183 }
29184 _ACEOF
29185 if ac_fn_cxx_try_link "$LINENO"; then :
29186 wx_cv_cc_broken_libstdcxx_visibility=no
29187 else
29188 wx_cv_cc_broken_libstdcxx_visibility=yes
29189 fi
29190 rm -f core conftest.err conftest.$ac_objext \
29191 conftest$ac_exeext conftest.$ac_ext
29192 ac_ext=c
29193 ac_cpp='$CPP $CPPFLAGS'
29194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29197
29198 CXXFLAGS="$wx_save_CXXFLAGS"
29199 LDFLAGS="$wx_save_LDFLAGS"
29200 fi
29201
29202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29203 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29204
29205 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29207 $as_echo_n "checking whether we can work around it... " >&6; }
29208 if ${wx_cv_cc_visibility_workaround+:} false; then :
29209 $as_echo_n "(cached) " >&6
29210 else
29211
29212 ac_ext=cpp
29213 ac_cpp='$CXXCPP $CPPFLAGS'
29214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29217
29218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29219 /* end confdefs.h. */
29220
29221 #pragma GCC visibility push(default)
29222 #include <string>
29223 #pragma GCC visibility pop
29224
29225 int
29226 main ()
29227 {
29228
29229 std::string s("hello");
29230 return s.length();
29231
29232 ;
29233 return 0;
29234 }
29235 _ACEOF
29236 if ac_fn_cxx_try_link "$LINENO"; then :
29237 wx_cv_cc_visibility_workaround=no
29238 else
29239 wx_cv_cc_visibility_workaround=yes
29240 fi
29241 rm -f core conftest.err conftest.$ac_objext \
29242 conftest$ac_exeext conftest.$ac_ext
29243 ac_ext=c
29244 ac_cpp='$CPP $CPPFLAGS'
29245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29248
29249
29250 fi
29251
29252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29253 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29254
29255 if test $wx_cv_cc_visibility_workaround = no; then
29256 wx_cv_cc_visibility=no
29257 fi
29258 fi
29259 fi
29260
29261 if test $wx_cv_cc_visibility = yes; then
29262 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29263
29264 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29265 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29266
29267 fi
29268 else
29269 CFLAGS_VISIBILITY=""
29270 CXXFLAGS_VISIBILITY=""
29271 fi
29272
29273
29274 fi
29275
29276 fi
29277
29278 if test "x$SUNCXX" = xyes; then
29279 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
29280 WXCONFIG_RPATH="-R\$libdir"
29281 else
29282 case "${host}" in
29283 *-*-linux* | *-*-gnu* )
29284 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29285 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29286 ;;
29287
29288 *-*-solaris2* )
29289
29290 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
29291
29292 saveLdflags="$LDFLAGS"
29293 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29295 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29297 /* end confdefs.h. */
29298
29299 int
29300 main ()
29301 {
29302
29303 ;
29304 return 0;
29305 }
29306 _ACEOF
29307 if ac_fn_c_try_link "$LINENO"; then :
29308
29309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29310 $as_echo "yes" >&6; }
29311 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29312 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29313
29314 else
29315
29316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29317 $as_echo "no" >&6; }
29318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29319 $as_echo_n "checking if the linker accepts -R... " >&6; }
29320 LDFLAGS="$saveLdflags -Wl,-R,/"
29321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29322 /* end confdefs.h. */
29323
29324 int
29325 main ()
29326 {
29327
29328 ;
29329 return 0;
29330 }
29331 _ACEOF
29332 if ac_fn_c_try_link "$LINENO"; then :
29333
29334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29335 $as_echo "yes" >&6; }
29336 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
29337 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29338
29339 else
29340
29341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29342 $as_echo "no" >&6; }
29343
29344 fi
29345 rm -f core conftest.err conftest.$ac_objext \
29346 conftest$ac_exeext conftest.$ac_ext
29347
29348 fi
29349 rm -f core conftest.err conftest.$ac_objext \
29350 conftest$ac_exeext conftest.$ac_ext
29351 LDFLAGS="$saveLdflags"
29352 ;;
29353
29354 *-*-darwin* )
29355 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
29356 if test "$install_name_tool" -a -x "$install_name_tool"; then
29357 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29358 cat <<EOF >change-install-names
29359 #!/bin/sh
29360 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29361 for i in \${libnames} ; do
29362 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29363 for dep in \${libnames} ; do
29364 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29365 done
29366 done
29367 EOF
29368 chmod +x change-install-names
29369 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29370 fi
29371
29372 HEADER_PAD_OPTION="-headerpad_max_install_names"
29373 ;;
29374
29375 *-*-cygwin* | *-*-mingw32* )
29376 ;;
29377
29378 *-*-hpux* )
29379 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
29380 WXCONFIG_RPATH="-Wl,+b,\$libdir"
29381 ;;
29382
29383 esac
29384 fi
29385
29386 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29387
29388 if test $wxUSE_RPATH = "no"; then
29389 SAMPLES_RPATH_FLAG=''
29390 DYLIB_PATH_POSTLINK=''
29391 WXCONFIG_RPATH=''
29392 fi
29393
29394 SHARED=1
29395
29396 else
29397
29398 config_linkage_component="-static"
29399 SHARED=0
29400
29401 fi
29402
29403
29404 UNICODE=0
29405 lib_unicode_suffix=
29406 WX_CHARTYPE="ansi"
29407 if test "$wxUSE_UNICODE" = "yes"; then
29408 lib_unicode_suffix=u
29409 WX_CHARTYPE="unicode"
29410 UNICODE=1
29411 fi
29412
29413 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29414 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29415
29416 DEBUG_INFO=0
29417 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29418 DEBUG_INFO=1
29419 fi
29420
29421 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29422
29423 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29424
29425 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29426
29427
29428 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29429 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29430 else
29431 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29432 fi
29433 if test "${TOOLKIT_DIR}" = "os2"; then
29434 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29435 else
29436 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29437 fi
29438
29439
29440
29441 if test "$wxUSE_OLD_COCOA" = 1; then
29442
29443 ac_ext=c
29444 ac_cpp='$CPP $CPPFLAGS'
29445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29448
29449 ac_ext=m
29450
29451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29452 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29454 /* end confdefs.h. */
29455 #include <AppKit/NSEvent.h>
29456 #include <CoreFoundation/CoreFoundation.h>
29457
29458 int
29459 main ()
29460 {
29461
29462 ;
29463 return 0;
29464 }
29465 _ACEOF
29466 if ac_fn_c_try_compile "$LINENO"; then :
29467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29468 $as_echo "no" >&6; }
29469 else
29470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29471 $as_echo "yes" >&6; }
29472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29473 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29475 /* end confdefs.h. */
29476 #define __Point__ 1
29477 #include <AppKit/NSEvent.h>
29478 #include <CoreFoundation/CoreFoundation.h>
29479
29480 int
29481 main ()
29482 {
29483
29484 ;
29485 return 0;
29486 }
29487 _ACEOF
29488 if ac_fn_c_try_compile "$LINENO"; then :
29489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29490 $as_echo "yes" >&6; }
29491 $as_echo "#define __Point__ 1" >>confdefs.h
29492
29493
29494 else
29495 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29497 as_fn_error $? "no
29498 See \`config.log' for more details" "$LINENO" 5; }
29499
29500 fi
29501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29502
29503 fi
29504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29505 ac_ext=c
29506 ac_cpp='$CPP $CPPFLAGS'
29507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29510
29511 fi
29512
29513
29514 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29515 if test "x$ac_cv_type_mode_t" = xyes; then :
29516
29517 else
29518
29519 cat >>confdefs.h <<_ACEOF
29520 #define mode_t int
29521 _ACEOF
29522
29523 fi
29524
29525 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29526 if test "x$ac_cv_type_off_t" = xyes; then :
29527
29528 else
29529
29530 cat >>confdefs.h <<_ACEOF
29531 #define off_t long int
29532 _ACEOF
29533
29534 fi
29535
29536 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29537 if test "x$ac_cv_type_pid_t" = xyes; then :
29538
29539 else
29540
29541 cat >>confdefs.h <<_ACEOF
29542 #define pid_t int
29543 _ACEOF
29544
29545 fi
29546
29547 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29548 if test "x$ac_cv_type_size_t" = xyes; then :
29549
29550 else
29551
29552 cat >>confdefs.h <<_ACEOF
29553 #define size_t unsigned int
29554 _ACEOF
29555
29556 fi
29557
29558
29559 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29560 if test "x$ac_cv_type_ssize_t" = xyes; then :
29561
29562 cat >>confdefs.h <<_ACEOF
29563 #define HAVE_SSIZE_T 1
29564 _ACEOF
29565
29566
29567 fi
29568
29569
29570 ac_ext=cpp
29571 ac_cpp='$CXXCPP $CPPFLAGS'
29572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29576 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29577 if ${wx_cv_size_t_is_uint+:} false; then :
29578 $as_echo_n "(cached) " >&6
29579 else
29580
29581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29582 /* end confdefs.h. */
29583 #include <stddef.h>
29584 int
29585 main ()
29586 {
29587
29588 return 0; }
29589
29590 struct Foo { void foo(size_t); void foo(unsigned int); };
29591
29592 int bar() {
29593
29594 ;
29595 return 0;
29596 }
29597 _ACEOF
29598 if ac_fn_cxx_try_compile "$LINENO"; then :
29599 wx_cv_size_t_is_uint=no
29600 else
29601 wx_cv_size_t_is_uint=yes
29602
29603 fi
29604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29605
29606
29607 fi
29608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29609 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29610
29611 if test "$wx_cv_size_t_is_uint" = "yes"; then
29612 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29613
29614 else
29615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29616 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29617 if ${wx_cv_size_t_is_ulong+:} false; then :
29618 $as_echo_n "(cached) " >&6
29619 else
29620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29621 /* end confdefs.h. */
29622 #include <stddef.h>
29623 int
29624 main ()
29625 {
29626
29627 return 0; }
29628
29629 struct Foo { void foo(size_t); void foo(unsigned long); };
29630
29631 int bar() {
29632
29633 ;
29634 return 0;
29635 }
29636 _ACEOF
29637 if ac_fn_cxx_try_compile "$LINENO"; then :
29638 wx_cv_size_t_is_ulong=no
29639 else
29640 wx_cv_size_t_is_ulong=yes
29641
29642 fi
29643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29644
29645 fi
29646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29647 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29648
29649 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29650 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29651
29652 fi
29653 fi
29654
29655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29656 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29657 if ${wx_cv_wchar_t_is_separate_type+:} false; then :
29658 $as_echo_n "(cached) " >&6
29659 else
29660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29661 /* end confdefs.h. */
29662 #include <wchar.h>
29663 int
29664 main ()
29665 {
29666
29667 return 0; }
29668
29669 struct Foo { void foo(wchar_t);
29670 void foo(unsigned short);
29671 void foo(unsigned int);
29672 void foo(unsigned long); };
29673
29674 int bar() {
29675
29676 ;
29677 return 0;
29678 }
29679 _ACEOF
29680 if ac_fn_cxx_try_compile "$LINENO"; then :
29681 wx_cv_wchar_t_is_separate_type=yes
29682 else
29683 wx_cv_wchar_t_is_separate_type=no
29684
29685 fi
29686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29687
29688 fi
29689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29690 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29691
29692 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29693 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29694
29695 else
29696 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29697
29698 fi
29699
29700 ac_ext=c
29701 ac_cpp='$CPP $CPPFLAGS'
29702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29705
29706
29707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29708 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29709 if ${wx_cv_struct_pw_gecos+:} false; then :
29710 $as_echo_n "(cached) " >&6
29711 else
29712
29713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29714 /* end confdefs.h. */
29715 #include <pwd.h>
29716 int
29717 main ()
29718 {
29719
29720 char *p;
29721 struct passwd *pw;
29722 p = pw->pw_gecos;
29723
29724 ;
29725 return 0;
29726 }
29727 _ACEOF
29728 if ac_fn_c_try_compile "$LINENO"; then :
29729
29730 wx_cv_struct_pw_gecos=yes
29731
29732 else
29733
29734 wx_cv_struct_pw_gecos=no
29735
29736
29737 fi
29738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29739
29740
29741 fi
29742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29743 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29744
29745 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29746 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29747
29748 fi
29749
29750
29751 WCSLEN_FOUND=0
29752 WCHAR_LINK=
29753 for ac_func in wcslen
29754 do :
29755 ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
29756 if test "x$ac_cv_func_wcslen" = xyes; then :
29757 cat >>confdefs.h <<_ACEOF
29758 #define HAVE_WCSLEN 1
29759 _ACEOF
29760 WCSLEN_FOUND=1
29761 fi
29762 done
29763
29764
29765 if test "$WCSLEN_FOUND" = 0; then
29766 if test "$TOOLKIT" = "MSW"; then
29767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29768 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29769 if ${ac_cv_lib_msvcrt_wcslen+:} false; then :
29770 $as_echo_n "(cached) " >&6
29771 else
29772 ac_check_lib_save_LIBS=$LIBS
29773 LIBS="-lmsvcrt $LIBS"
29774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29775 /* end confdefs.h. */
29776
29777 /* Override any GCC internal prototype to avoid an error.
29778 Use char because int might match the return type of a GCC
29779 builtin and then its argument prototype would still apply. */
29780 #ifdef __cplusplus
29781 extern "C"
29782 #endif
29783 char wcslen ();
29784 int
29785 main ()
29786 {
29787 return wcslen ();
29788 ;
29789 return 0;
29790 }
29791 _ACEOF
29792 if ac_fn_c_try_link "$LINENO"; then :
29793 ac_cv_lib_msvcrt_wcslen=yes
29794 else
29795 ac_cv_lib_msvcrt_wcslen=no
29796 fi
29797 rm -f core conftest.err conftest.$ac_objext \
29798 conftest$ac_exeext conftest.$ac_ext
29799 LIBS=$ac_check_lib_save_LIBS
29800 fi
29801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29802 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29803 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes; then :
29804 WCHAR_OK=1
29805 fi
29806
29807 else
29808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29809 $as_echo_n "checking for wcslen in -lw... " >&6; }
29810 if ${ac_cv_lib_w_wcslen+:} false; then :
29811 $as_echo_n "(cached) " >&6
29812 else
29813 ac_check_lib_save_LIBS=$LIBS
29814 LIBS="-lw $LIBS"
29815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29816 /* end confdefs.h. */
29817
29818 /* Override any GCC internal prototype to avoid an error.
29819 Use char because int might match the return type of a GCC
29820 builtin and then its argument prototype would still apply. */
29821 #ifdef __cplusplus
29822 extern "C"
29823 #endif
29824 char wcslen ();
29825 int
29826 main ()
29827 {
29828 return wcslen ();
29829 ;
29830 return 0;
29831 }
29832 _ACEOF
29833 if ac_fn_c_try_link "$LINENO"; then :
29834 ac_cv_lib_w_wcslen=yes
29835 else
29836 ac_cv_lib_w_wcslen=no
29837 fi
29838 rm -f core conftest.err conftest.$ac_objext \
29839 conftest$ac_exeext conftest.$ac_ext
29840 LIBS=$ac_check_lib_save_LIBS
29841 fi
29842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29843 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29844 if test "x$ac_cv_lib_w_wcslen" = xyes; then :
29845
29846 WCHAR_LINK=" -lw"
29847 WCSLEN_FOUND=1
29848
29849 fi
29850
29851 fi
29852 fi
29853
29854 if test "$WCSLEN_FOUND" = 1; then
29855 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29856
29857 fi
29858
29859 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29860 do :
29861 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29862 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29863 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29864 cat >>confdefs.h <<_ACEOF
29865 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29866 _ACEOF
29867
29868 fi
29869 done
29870
29871
29872 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29873 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29874 fi
29875
29876 ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29877 "
29878 if test "x$ac_cv_type_mbstate_t" = xyes; then :
29879
29880 cat >>confdefs.h <<_ACEOF
29881 #define HAVE_MBSTATE_T 1
29882 _ACEOF
29883
29884 for ac_func in wcsrtombs
29885 do :
29886 ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29887 if test "x$ac_cv_func_wcsrtombs" = xyes; then :
29888 cat >>confdefs.h <<_ACEOF
29889 #define HAVE_WCSRTOMBS 1
29890 _ACEOF
29891
29892 fi
29893 done
29894
29895 fi
29896
29897
29898 for ac_func in snprintf vsnprintf vsscanf
29899 do :
29900 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29901 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29902 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29903 cat >>confdefs.h <<_ACEOF
29904 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29905 _ACEOF
29906
29907 fi
29908 done
29909
29910
29911 ac_ext=cpp
29912 ac_cpp='$CXXCPP $CPPFLAGS'
29913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29916
29917 if test "$ac_cv_func_vsnprintf" = "yes"; then
29918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29919 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29920 if ${wx_cv_func_vsnprintf_decl+:} false; then :
29921 $as_echo_n "(cached) " >&6
29922 else
29923
29924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29925 /* end confdefs.h. */
29926
29927 #include <stdio.h>
29928 #include <stdarg.h>
29929
29930 int
29931 main ()
29932 {
29933
29934 char *buf;
29935 va_list ap;
29936 vsnprintf(buf, 10u, "%s", ap);
29937
29938 ;
29939 return 0;
29940 }
29941 _ACEOF
29942 if ac_fn_cxx_try_compile "$LINENO"; then :
29943 wx_cv_func_vsnprintf_decl=yes
29944 else
29945 wx_cv_func_vsnprintf_decl=no
29946
29947 fi
29948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29949
29950
29951 fi
29952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29953 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29954
29955 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29956 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29957
29958
29959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29960 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29961 if ${wx_cv_func_broken_vsnprintf_decl+:} false; then :
29962 $as_echo_n "(cached) " >&6
29963 else
29964
29965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29966 /* end confdefs.h. */
29967
29968 #include <stdio.h>
29969 #include <stdarg.h>
29970 #ifdef __MSL__
29971 #if __MSL__ >= 0x6000
29972 namespace std {}
29973 using namespace std;
29974 #endif
29975 #endif
29976
29977 int
29978 main ()
29979 {
29980
29981 char *buf;
29982 va_list ap;
29983 const char *fmt = "%s";
29984 vsnprintf(buf, 10u, fmt, ap);
29985
29986 ;
29987 return 0;
29988 }
29989 _ACEOF
29990 if ac_fn_cxx_try_compile "$LINENO"; then :
29991 wx_cv_func_broken_vsnprintf_decl=no
29992 else
29993 wx_cv_func_broken_vsnprintf_decl=yes
29994
29995 fi
29996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29997
29998
29999 fi
30000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
30001 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
30002
30003 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
30004 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
30005
30006 fi
30007 fi
30008 fi
30009
30010 if test "$ac_cv_func_snprintf" = "yes"; then
30011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
30012 $as_echo_n "checking for snprintf declaration... " >&6; }
30013 if ${wx_cv_func_snprintf_decl+:} false; then :
30014 $as_echo_n "(cached) " >&6
30015 else
30016
30017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30018 /* end confdefs.h. */
30019
30020 #include <stdio.h>
30021 #include <stdarg.h>
30022 #ifdef __MSL__
30023 #if __MSL__ >= 0x6000
30024 namespace std {}
30025 using namespace std;
30026 #endif
30027 #endif
30028
30029 int
30030 main ()
30031 {
30032
30033 char *buf;
30034 snprintf(buf, 10u, "%s", "wx");
30035
30036 ;
30037 return 0;
30038 }
30039 _ACEOF
30040 if ac_fn_cxx_try_compile "$LINENO"; then :
30041 wx_cv_func_snprintf_decl=yes
30042 else
30043 wx_cv_func_snprintf_decl=no
30044
30045 fi
30046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30047
30048
30049 fi
30050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
30051 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
30052
30053 if test "$wx_cv_func_snprintf_decl" = "yes"; then
30054 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
30055
30056 fi
30057
30058 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
30059
30060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
30061 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
30062 if ${wx_cv_func_snprintf_pos_params+:} false; then :
30063 $as_echo_n "(cached) " >&6
30064 else
30065
30066 if test "$cross_compiling" = yes; then :
30067
30068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
30069 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
30070 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
30071 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
30072 wx_cv_func_snprintf_pos_params=no
30073
30074
30075 else
30076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30077 /* end confdefs.h. */
30078
30079 #include <stdio.h>
30080
30081 int main (void)
30082 {
30083 char buffer[128];
30084 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
30085 if (strcmp ("2 3 1", buffer) == 0)
30086 exit (0);
30087 exit (1);
30088 }
30089
30090 _ACEOF
30091 if ac_fn_cxx_try_run "$LINENO"; then :
30092 wx_cv_func_snprintf_pos_params=no
30093 else
30094 wx_cv_func_snprintf_pos_params=yes
30095 fi
30096 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30097 conftest.$ac_objext conftest.beam conftest.$ac_ext
30098 fi
30099
30100
30101
30102 fi
30103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
30104 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
30105
30106 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
30107 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
30108
30109 fi
30110 fi
30111 fi
30112
30113 if test "$ac_cv_func_vsscanf" = "yes"; then
30114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
30115 $as_echo_n "checking for vsscanf declaration... " >&6; }
30116 if ${wx_cv_func_vsscanf_decl+:} false; then :
30117 $as_echo_n "(cached) " >&6
30118 else
30119
30120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30121 /* end confdefs.h. */
30122
30123 #include <stdio.h>
30124 #include <stdarg.h>
30125 #ifdef __MSL__
30126 #if __MSL__ >= 0x6000
30127 namespace std {}
30128 using namespace std;
30129 #endif
30130 #endif
30131
30132 int
30133 main ()
30134 {
30135
30136 char *buf;
30137 va_list args;
30138 vsscanf(buf, "%s", args);
30139
30140 ;
30141 return 0;
30142 }
30143 _ACEOF
30144 if ac_fn_cxx_try_compile "$LINENO"; then :
30145 wx_cv_func_vsscanf_decl=yes
30146 else
30147 wx_cv_func_vsscanf_decl=no
30148
30149 fi
30150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30151
30152
30153 fi
30154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
30155 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
30156
30157 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
30158 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
30159
30160 fi
30161 fi
30162 ac_ext=c
30163 ac_cpp='$CPP $CPPFLAGS'
30164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30167
30168
30169 if test "$wxUSE_UNICODE" = yes; then
30170
30171 wchar_headers="#include <stdio.h>
30172 #include <wchar.h>"
30173 case "${host}" in
30174 *-*-solaris2* )
30175 for ac_header in widec.h
30176 do :
30177 ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
30178 "
30179 if test "x$ac_cv_header_widec_h" = xyes; then :
30180 cat >>confdefs.h <<_ACEOF
30181 #define HAVE_WIDEC_H 1
30182 _ACEOF
30183
30184 fi
30185
30186 done
30187
30188 if test "$ac_cv_header_widec_h" = "yes"; then
30189 wchar_headers="$wchar_headers
30190 #include <widec.h>"
30191 fi
30192 esac
30193
30194
30195 for wx_func in putws fputws wprintf vswprintf vswscanf
30196 do
30197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30198 $as_echo_n "checking for $wx_func... " >&6; }
30199 if eval \${wx_cv_func_$wx_func+:} false; then :
30200 $as_echo_n "(cached) " >&6
30201 else
30202
30203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30204 /* end confdefs.h. */
30205
30206
30207 $wchar_headers
30208 $ac_includes_default
30209
30210 int
30211 main ()
30212 {
30213
30214 #ifndef $wx_func
30215 &$wx_func;
30216 #endif
30217
30218
30219 ;
30220 return 0;
30221 }
30222
30223 _ACEOF
30224 if ac_fn_c_try_link "$LINENO"; then :
30225 eval wx_cv_func_$wx_func=yes
30226 else
30227 eval wx_cv_func_$wx_func=no
30228 fi
30229 rm -f core conftest.err conftest.$ac_objext \
30230 conftest$ac_exeext conftest.$ac_ext
30231
30232 fi
30233 eval ac_res=\$wx_cv_func_$wx_func
30234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30235 $as_echo "$ac_res" >&6; }
30236
30237 if eval test \$wx_cv_func_$wx_func = yes
30238 then
30239 cat >>confdefs.h <<_ACEOF
30240 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30241 _ACEOF
30242
30243
30244 else
30245 :
30246
30247 fi
30248 done
30249
30250
30251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30252 $as_echo_n "checking for _vsnwprintf... " >&6; }
30253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30254 /* end confdefs.h. */
30255 #include <wchar.h>
30256 int
30257 main ()
30258 {
30259 &_vsnwprintf;
30260 ;
30261 return 0;
30262 }
30263 _ACEOF
30264 if ac_fn_c_try_compile "$LINENO"; then :
30265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30266 $as_echo "yes" >&6; }
30267 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30268
30269 else
30270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30271 $as_echo "no" >&6; }
30272 fi
30273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
30274 fi
30275
30276 if test "$wxUSE_FILE" = "yes"; then
30277
30278 for wx_func in fsync
30279 do
30280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30281 $as_echo_n "checking for $wx_func... " >&6; }
30282 if eval \${wx_cv_func_$wx_func+:} false; then :
30283 $as_echo_n "(cached) " >&6
30284 else
30285
30286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30287 /* end confdefs.h. */
30288
30289
30290
30291 $ac_includes_default
30292
30293 int
30294 main ()
30295 {
30296
30297 #ifndef $wx_func
30298 &$wx_func;
30299 #endif
30300
30301
30302 ;
30303 return 0;
30304 }
30305
30306 _ACEOF
30307 if ac_fn_c_try_link "$LINENO"; then :
30308 eval wx_cv_func_$wx_func=yes
30309 else
30310 eval wx_cv_func_$wx_func=no
30311 fi
30312 rm -f core conftest.err conftest.$ac_objext \
30313 conftest$ac_exeext conftest.$ac_ext
30314
30315 fi
30316 eval ac_res=\$wx_cv_func_$wx_func
30317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30318 $as_echo "$ac_res" >&6; }
30319
30320 if eval test \$wx_cv_func_$wx_func = yes
30321 then
30322 cat >>confdefs.h <<_ACEOF
30323 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30324 _ACEOF
30325
30326
30327 else
30328 :
30329
30330 fi
30331 done
30332
30333 fi
30334
30335 ac_ext=cpp
30336 ac_cpp='$CXXCPP $CPPFLAGS'
30337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30340
30341
30342 for wx_func in round
30343 do
30344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30345 $as_echo_n "checking for $wx_func... " >&6; }
30346 if eval \${wx_cv_func_$wx_func+:} false; then :
30347 $as_echo_n "(cached) " >&6
30348 else
30349
30350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30351 /* end confdefs.h. */
30352
30353
30354 #include <math.h>
30355 $ac_includes_default
30356
30357 int
30358 main ()
30359 {
30360
30361 #ifndef $wx_func
30362 &$wx_func;
30363 #endif
30364
30365
30366 ;
30367 return 0;
30368 }
30369
30370 _ACEOF
30371 if ac_fn_cxx_try_link "$LINENO"; then :
30372 eval wx_cv_func_$wx_func=yes
30373 else
30374 eval wx_cv_func_$wx_func=no
30375 fi
30376 rm -f core conftest.err conftest.$ac_objext \
30377 conftest$ac_exeext conftest.$ac_ext
30378
30379 fi
30380 eval ac_res=\$wx_cv_func_$wx_func
30381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30382 $as_echo "$ac_res" >&6; }
30383
30384 if eval test \$wx_cv_func_$wx_func = yes
30385 then
30386 cat >>confdefs.h <<_ACEOF
30387 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30388 _ACEOF
30389
30390
30391 else
30392 :
30393
30394 fi
30395 done
30396
30397 ac_ext=c
30398 ac_cpp='$CPP $CPPFLAGS'
30399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30402
30403
30404 if test "$TOOLKIT" != "MSW"; then
30405
30406 if test "$wxUSE_LIBICONV" != "no" ; then
30407
30408
30409
30410 # Check whether --with-libiconv-prefix was given.
30411 if test "${with_libiconv_prefix+set}" = set; then :
30412 withval=$with_libiconv_prefix;
30413 for dir in `echo "$withval" | tr : ' '`; do
30414 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30415 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30416 done
30417
30418 fi
30419
30420
30421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30422 $as_echo_n "checking for iconv... " >&6; }
30423 if ${am_cv_func_iconv+:} false; then :
30424 $as_echo_n "(cached) " >&6
30425 else
30426
30427 am_cv_func_iconv="no, consider installing GNU libiconv"
30428 am_cv_lib_iconv=no
30429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30430 /* end confdefs.h. */
30431 #include <stdlib.h>
30432 #include <iconv.h>
30433 int
30434 main ()
30435 {
30436 iconv_t cd = iconv_open("","");
30437 iconv(cd,NULL,NULL,NULL,NULL);
30438 iconv_close(cd);
30439 ;
30440 return 0;
30441 }
30442 _ACEOF
30443 if ac_fn_c_try_link "$LINENO"; then :
30444 am_cv_func_iconv=yes
30445 fi
30446 rm -f core conftest.err conftest.$ac_objext \
30447 conftest$ac_exeext conftest.$ac_ext
30448 if test "$am_cv_func_iconv" != yes; then
30449 am_save_LIBS="$LIBS"
30450 LIBS="$LIBS -liconv"
30451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30452 /* end confdefs.h. */
30453 #include <stdlib.h>
30454 #include <iconv.h>
30455 int
30456 main ()
30457 {
30458 iconv_t cd = iconv_open("","");
30459 iconv(cd,NULL,NULL,NULL,NULL);
30460 iconv_close(cd);
30461 ;
30462 return 0;
30463 }
30464 _ACEOF
30465 if ac_fn_c_try_link "$LINENO"; then :
30466 am_cv_lib_iconv=yes
30467 am_cv_func_iconv=yes
30468 fi
30469 rm -f core conftest.err conftest.$ac_objext \
30470 conftest$ac_exeext conftest.$ac_ext
30471 LIBS="$am_save_LIBS"
30472 fi
30473
30474 fi
30475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30476 $as_echo "$am_cv_func_iconv" >&6; }
30477 if test "$am_cv_func_iconv" = yes; then
30478
30479 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30480
30481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30482 $as_echo_n "checking if iconv needs const... " >&6; }
30483 if ${wx_cv_func_iconv_const+:} false; then :
30484 $as_echo_n "(cached) " >&6
30485 else
30486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30487 /* end confdefs.h. */
30488
30489 #include <stdlib.h>
30490 #include <iconv.h>
30491 extern
30492 #ifdef __cplusplus
30493 "C"
30494 #endif
30495 #if defined(__STDC__) || defined(__cplusplus)
30496 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30497 #else
30498 size_t iconv();
30499 #endif
30500
30501 int
30502 main ()
30503 {
30504
30505 ;
30506 return 0;
30507 }
30508 _ACEOF
30509 if ac_fn_c_try_compile "$LINENO"; then :
30510 wx_cv_func_iconv_const="no"
30511 else
30512 wx_cv_func_iconv_const="yes"
30513
30514 fi
30515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30516
30517 fi
30518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30519 $as_echo "$wx_cv_func_iconv_const" >&6; }
30520
30521 iconv_const=
30522 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30523 iconv_const="const"
30524 fi
30525
30526
30527 cat >>confdefs.h <<_ACEOF
30528 #define ICONV_CONST $iconv_const
30529 _ACEOF
30530
30531 fi
30532 LIBICONV=
30533 if test "$am_cv_lib_iconv" = yes; then
30534 LIBICONV="-liconv"
30535 fi
30536
30537
30538 LIBS="$LIBICONV $LIBS"
30539 fi
30540
30541 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30542 for ac_func in sigaction
30543 do :
30544 ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
30545 if test "x$ac_cv_func_sigaction" = xyes; then :
30546 cat >>confdefs.h <<_ACEOF
30547 #define HAVE_SIGACTION 1
30548 _ACEOF
30549
30550 fi
30551 done
30552
30553
30554 if test "$ac_cv_func_sigaction" = "no"; then
30555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30556 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30557 wxUSE_ON_FATAL_EXCEPTION=no
30558 fi
30559
30560 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30562 $as_echo_n "checking for sa_handler type... " >&6; }
30563 if ${wx_cv_type_sa_handler+:} false; then :
30564 $as_echo_n "(cached) " >&6
30565 else
30566
30567 ac_ext=cpp
30568 ac_cpp='$CXXCPP $CPPFLAGS'
30569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30572
30573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30574 /* end confdefs.h. */
30575 #include <signal.h>
30576 int
30577 main ()
30578 {
30579
30580 extern void testSigHandler(int);
30581
30582 struct sigaction sa;
30583 sa.sa_handler = testSigHandler;
30584
30585 ;
30586 return 0;
30587 }
30588 _ACEOF
30589 if ac_fn_cxx_try_compile "$LINENO"; then :
30590
30591 wx_cv_type_sa_handler=int
30592
30593 else
30594
30595 wx_cv_type_sa_handler=void
30596
30597 fi
30598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30599 ac_ext=c
30600 ac_cpp='$CPP $CPPFLAGS'
30601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30604
30605
30606 fi
30607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30608 $as_echo "$wx_cv_type_sa_handler" >&6; }
30609
30610 cat >>confdefs.h <<_ACEOF
30611 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30612 _ACEOF
30613
30614 fi
30615 fi
30616
30617 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30619 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30620 if ${wx_cv_func_backtrace+:} false; then :
30621 $as_echo_n "(cached) " >&6
30622 else
30623
30624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
30625 $as_echo_n "checking for library containing backtrace... " >&6; }
30626 if ${ac_cv_search_backtrace+:} false; then :
30627 $as_echo_n "(cached) " >&6
30628 else
30629 ac_func_search_save_LIBS=$LIBS
30630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30631 /* end confdefs.h. */
30632
30633 /* Override any GCC internal prototype to avoid an error.
30634 Use char because int might match the return type of a GCC
30635 builtin and then its argument prototype would still apply. */
30636 #ifdef __cplusplus
30637 extern "C"
30638 #endif
30639 char backtrace ();
30640 int
30641 main ()
30642 {
30643 return backtrace ();
30644 ;
30645 return 0;
30646 }
30647 _ACEOF
30648 for ac_lib in '' execinfo; do
30649 if test -z "$ac_lib"; then
30650 ac_res="none required"
30651 else
30652 ac_res=-l$ac_lib
30653 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
30654 fi
30655 if ac_fn_c_try_link "$LINENO"; then :
30656 ac_cv_search_backtrace=$ac_res
30657 fi
30658 rm -f core conftest.err conftest.$ac_objext \
30659 conftest$ac_exeext
30660 if ${ac_cv_search_backtrace+:} false; then :
30661 break
30662 fi
30663 done
30664 if ${ac_cv_search_backtrace+:} false; then :
30665
30666 else
30667 ac_cv_search_backtrace=no
30668 fi
30669 rm conftest.$ac_ext
30670 LIBS=$ac_func_search_save_LIBS
30671 fi
30672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
30673 $as_echo "$ac_cv_search_backtrace" >&6; }
30674 ac_res=$ac_cv_search_backtrace
30675 if test "$ac_res" != no; then :
30676 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
30677
30678 ac_ext=cpp
30679 ac_cpp='$CXXCPP $CPPFLAGS'
30680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30683
30684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30685 /* end confdefs.h. */
30686 #include <execinfo.h>
30687 int
30688 main ()
30689 {
30690
30691 void *trace[1];
30692 char **messages;
30693 backtrace(trace, 1);
30694 messages = backtrace_symbols(trace, 1);
30695
30696 ;
30697 return 0;
30698 }
30699 _ACEOF
30700 if ac_fn_cxx_try_link "$LINENO"; then :
30701 wx_cv_func_backtrace=yes
30702 else
30703 wx_cv_func_backtrace=no
30704
30705 fi
30706 rm -f core conftest.err conftest.$ac_objext \
30707 conftest$ac_exeext conftest.$ac_ext
30708 ac_ext=c
30709 ac_cpp='$CPP $CPPFLAGS'
30710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30713
30714
30715 else
30716 wx_cv_func_backtrace=no
30717
30718 fi
30719
30720
30721
30722 fi
30723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30724 $as_echo "$wx_cv_func_backtrace" >&6; }
30725
30726 if test "$wx_cv_func_backtrace" = "no"; then
30727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30728 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30729 wxUSE_STACKWALKER=no
30730 else
30731 if test "$ac_cv_header_cxxabi_h" = "yes"; then
30732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30733 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30734 if ${wx_cv_func_cxa_demangle+:} false; then :
30735 $as_echo_n "(cached) " >&6
30736 else
30737
30738 ac_ext=cpp
30739 ac_cpp='$CXXCPP $CPPFLAGS'
30740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30743
30744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30745 /* end confdefs.h. */
30746 #include <cxxabi.h>
30747 int
30748 main ()
30749 {
30750
30751 int rc;
30752 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30753
30754 ;
30755 return 0;
30756 }
30757 _ACEOF
30758 if ac_fn_cxx_try_link "$LINENO"; then :
30759 wx_cv_func_cxa_demangle=yes
30760 else
30761 wx_cv_func_cxa_demangle=no
30762
30763 fi
30764 rm -f core conftest.err conftest.$ac_objext \
30765 conftest$ac_exeext conftest.$ac_ext
30766 ac_ext=c
30767 ac_cpp='$CPP $CPPFLAGS'
30768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30771
30772
30773
30774 fi
30775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30776 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30777 else
30778 wx_cv_func_cxa_demangle=no
30779 fi
30780
30781 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30782 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30783
30784 fi
30785 fi
30786 fi
30787
30788 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30790 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30791 wxUSE_STACKWALKER=no
30792 fi
30793
30794
30795 for ac_func in mkstemp mktemp
30796 do :
30797 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30798 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30799 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30800 cat >>confdefs.h <<_ACEOF
30801 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30802 _ACEOF
30803 break
30804 fi
30805 done
30806
30807
30808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30809 $as_echo_n "checking for statfs... " >&6; }
30810 if ${wx_cv_func_statfs+:} false; then :
30811 $as_echo_n "(cached) " >&6
30812 else
30813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30814 /* end confdefs.h. */
30815
30816 #if defined(__BSD__)
30817 #include <sys/param.h>
30818 #include <sys/mount.h>
30819 #else
30820 #include <sys/vfs.h>
30821 #endif
30822
30823 int
30824 main ()
30825 {
30826
30827 long l;
30828 struct statfs fs;
30829 statfs("/", &fs);
30830 l = fs.f_bsize;
30831 l += fs.f_blocks;
30832 l += fs.f_bavail;
30833
30834 ;
30835 return 0;
30836 }
30837 _ACEOF
30838 if ac_fn_c_try_compile "$LINENO"; then :
30839 wx_cv_func_statfs=yes
30840 else
30841 wx_cv_func_statfs=no
30842
30843 fi
30844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30845
30846 fi
30847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30848 $as_echo "$wx_cv_func_statfs" >&6; }
30849
30850 if test "$wx_cv_func_statfs" = "yes"; then
30851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30852 $as_echo_n "checking for statfs declaration... " >&6; }
30853 if ${wx_cv_func_statfs_decl+:} false; then :
30854 $as_echo_n "(cached) " >&6
30855 else
30856 ac_ext=cpp
30857 ac_cpp='$CXXCPP $CPPFLAGS'
30858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30861
30862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30863 /* end confdefs.h. */
30864
30865 #if defined(__BSD__)
30866 #include <sys/param.h>
30867 #include <sys/mount.h>
30868 #else
30869 #include <sys/vfs.h>
30870 #endif
30871
30872 int
30873 main ()
30874 {
30875
30876 struct statfs fs;
30877 statfs("", &fs);
30878
30879 ;
30880 return 0;
30881 }
30882 _ACEOF
30883 if ac_fn_cxx_try_compile "$LINENO"; then :
30884 wx_cv_func_statfs_decl=yes
30885 else
30886 wx_cv_func_statfs_decl=no
30887
30888 fi
30889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30890 ac_ext=c
30891 ac_cpp='$CPP $CPPFLAGS'
30892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30895
30896
30897 fi
30898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30899 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30900
30901 if test "$wx_cv_func_statfs_decl" = "yes"; then
30902 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30903
30904 fi
30905
30906 wx_cv_type_statvfs_t="struct statfs"
30907 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30908
30909 else
30910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30911 $as_echo_n "checking for statvfs... " >&6; }
30912 if ${wx_cv_func_statvfs+:} false; then :
30913 $as_echo_n "(cached) " >&6
30914 else
30915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30916 /* end confdefs.h. */
30917
30918 #include <stddef.h>
30919 #include <sys/statvfs.h>
30920
30921 int
30922 main ()
30923 {
30924
30925 statvfs("/", NULL);
30926
30927 ;
30928 return 0;
30929 }
30930 _ACEOF
30931 if ac_fn_c_try_compile "$LINENO"; then :
30932 wx_cv_func_statvfs=yes
30933 else
30934 wx_cv_func_statvfs=no
30935
30936 fi
30937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30938
30939 fi
30940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30941 $as_echo "$wx_cv_func_statvfs" >&6; }
30942
30943 if test "$wx_cv_func_statvfs" = "yes"; then
30944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30945 $as_echo_n "checking for statvfs argument type... " >&6; }
30946 if ${wx_cv_type_statvfs_t+:} false; then :
30947 $as_echo_n "(cached) " >&6
30948 else
30949 ac_ext=cpp
30950 ac_cpp='$CXXCPP $CPPFLAGS'
30951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30954
30955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30956 /* end confdefs.h. */
30957
30958 #include <sys/statvfs.h>
30959
30960 int
30961 main ()
30962 {
30963
30964 long l;
30965 statvfs_t fs;
30966 statvfs("/", &fs);
30967 l = fs.f_bsize;
30968 l += fs.f_blocks;
30969 l += fs.f_bavail;
30970
30971 ;
30972 return 0;
30973 }
30974 _ACEOF
30975 if ac_fn_cxx_try_compile "$LINENO"; then :
30976 wx_cv_type_statvfs_t=statvfs_t
30977 else
30978
30979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30980 /* end confdefs.h. */
30981
30982 #include <sys/statvfs.h>
30983
30984 int
30985 main ()
30986 {
30987
30988 long l;
30989 struct statvfs fs;
30990 statvfs("/", &fs);
30991 l = fs.f_bsize;
30992 l += fs.f_blocks;
30993 l += fs.f_bavail;
30994
30995 ;
30996 return 0;
30997 }
30998 _ACEOF
30999 if ac_fn_cxx_try_compile "$LINENO"; then :
31000 wx_cv_type_statvfs_t="struct statvfs"
31001 else
31002 wx_cv_type_statvfs_t="unknown"
31003
31004 fi
31005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31006
31007
31008 fi
31009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31010 ac_ext=c
31011 ac_cpp='$CPP $CPPFLAGS'
31012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31015
31016
31017 fi
31018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
31019 $as_echo "$wx_cv_type_statvfs_t" >&6; }
31020
31021 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31022 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
31023
31024 fi
31025 else
31026 wx_cv_type_statvfs_t="unknown"
31027 fi
31028 fi
31029
31030 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31031 cat >>confdefs.h <<_ACEOF
31032 #define WX_STATFS_T $wx_cv_type_statvfs_t
31033 _ACEOF
31034
31035 else
31036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31037 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31038 fi
31039
31040 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31041 for ac_func in fcntl flock
31042 do :
31043 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31044 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31045 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31046 cat >>confdefs.h <<_ACEOF
31047 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31048 _ACEOF
31049 break
31050 fi
31051 done
31052
31053
31054 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
31056 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31057 wxUSE_SNGLINST_CHECKER=no
31058 fi
31059 fi
31060
31061 for ac_func in setenv putenv
31062 do :
31063 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31064 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31065 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31066 cat >>confdefs.h <<_ACEOF
31067 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31068 _ACEOF
31069 break
31070 fi
31071 done
31072
31073 if test "$ac_cv_func_setenv" = "yes"; then
31074 for ac_func in unsetenv
31075 do :
31076 ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
31077 if test "x$ac_cv_func_unsetenv" = xyes; then :
31078 cat >>confdefs.h <<_ACEOF
31079 #define HAVE_UNSETENV 1
31080 _ACEOF
31081
31082 fi
31083 done
31084
31085 fi
31086
31087 HAVE_SOME_SLEEP_FUNC=0
31088 if test "$USE_BEOS" = 1; then
31089 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
31090
31091 HAVE_SOME_SLEEP_FUNC=1
31092 fi
31093
31094 if test "$USE_DARWIN" = 1; then
31095 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
31096
31097 HAVE_SOME_SLEEP_FUNC=1
31098 fi
31099
31100 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31101 POSIX4_LINK=
31102 for ac_func in nanosleep
31103 do :
31104 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
31105 if test "x$ac_cv_func_nanosleep" = xyes; then :
31106 cat >>confdefs.h <<_ACEOF
31107 #define HAVE_NANOSLEEP 1
31108 _ACEOF
31109 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31110
31111 else
31112
31113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
31114 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
31115 if ${ac_cv_lib_posix4_nanosleep+:} false; then :
31116 $as_echo_n "(cached) " >&6
31117 else
31118 ac_check_lib_save_LIBS=$LIBS
31119 LIBS="-lposix4 $LIBS"
31120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31121 /* end confdefs.h. */
31122
31123 /* Override any GCC internal prototype to avoid an error.
31124 Use char because int might match the return type of a GCC
31125 builtin and then its argument prototype would still apply. */
31126 #ifdef __cplusplus
31127 extern "C"
31128 #endif
31129 char nanosleep ();
31130 int
31131 main ()
31132 {
31133 return nanosleep ();
31134 ;
31135 return 0;
31136 }
31137 _ACEOF
31138 if ac_fn_c_try_link "$LINENO"; then :
31139 ac_cv_lib_posix4_nanosleep=yes
31140 else
31141 ac_cv_lib_posix4_nanosleep=no
31142 fi
31143 rm -f core conftest.err conftest.$ac_objext \
31144 conftest$ac_exeext conftest.$ac_ext
31145 LIBS=$ac_check_lib_save_LIBS
31146 fi
31147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
31148 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
31149 if test "x$ac_cv_lib_posix4_nanosleep" = xyes; then :
31150
31151 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31152
31153 POSIX4_LINK=" -lposix4"
31154
31155 else
31156
31157
31158 for wx_func in usleep
31159 do
31160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31161 $as_echo_n "checking for $wx_func... " >&6; }
31162 if eval \${wx_cv_func_$wx_func+:} false; then :
31163 $as_echo_n "(cached) " >&6
31164 else
31165
31166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31167 /* end confdefs.h. */
31168
31169
31170
31171 $ac_includes_default
31172
31173 int
31174 main ()
31175 {
31176
31177 #ifndef $wx_func
31178 &$wx_func;
31179 #endif
31180
31181
31182 ;
31183 return 0;
31184 }
31185
31186 _ACEOF
31187 if ac_fn_c_try_link "$LINENO"; then :
31188 eval wx_cv_func_$wx_func=yes
31189 else
31190 eval wx_cv_func_$wx_func=no
31191 fi
31192 rm -f core conftest.err conftest.$ac_objext \
31193 conftest$ac_exeext conftest.$ac_ext
31194
31195 fi
31196 eval ac_res=\$wx_cv_func_$wx_func
31197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31198 $as_echo "$ac_res" >&6; }
31199
31200 if eval test \$wx_cv_func_$wx_func = yes
31201 then
31202 cat >>confdefs.h <<_ACEOF
31203 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31204 _ACEOF
31205
31206
31207 else
31208 :
31209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
31210 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31211
31212 fi
31213 done
31214
31215
31216
31217 fi
31218
31219
31220
31221 fi
31222 done
31223
31224 fi
31225
31226
31227 for wx_func in uname
31228 do
31229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31230 $as_echo_n "checking for $wx_func... " >&6; }
31231 if eval \${wx_cv_func_$wx_func+:} false; then :
31232 $as_echo_n "(cached) " >&6
31233 else
31234
31235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31236 /* end confdefs.h. */
31237
31238
31239 #include <sys/utsname.h>
31240 $ac_includes_default
31241
31242 int
31243 main ()
31244 {
31245
31246 #ifndef $wx_func
31247 &$wx_func;
31248 #endif
31249
31250
31251 ;
31252 return 0;
31253 }
31254
31255 _ACEOF
31256 if ac_fn_c_try_link "$LINENO"; then :
31257 eval wx_cv_func_$wx_func=yes
31258 else
31259 eval wx_cv_func_$wx_func=no
31260 fi
31261 rm -f core conftest.err conftest.$ac_objext \
31262 conftest$ac_exeext conftest.$ac_ext
31263
31264 fi
31265 eval ac_res=\$wx_cv_func_$wx_func
31266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31267 $as_echo "$ac_res" >&6; }
31268
31269 if eval test \$wx_cv_func_$wx_func = yes
31270 then
31271 cat >>confdefs.h <<_ACEOF
31272 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31273 _ACEOF
31274
31275
31276 else
31277 :
31278
31279 fi
31280 done
31281
31282 if test "$wx_cv_func_uname" != yes; then
31283
31284 for wx_func in gethostname
31285 do
31286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31287 $as_echo_n "checking for $wx_func... " >&6; }
31288 if eval \${wx_cv_func_$wx_func+:} false; then :
31289 $as_echo_n "(cached) " >&6
31290 else
31291
31292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31293 /* end confdefs.h. */
31294
31295
31296
31297 $ac_includes_default
31298
31299 int
31300 main ()
31301 {
31302
31303 #ifndef $wx_func
31304 &$wx_func;
31305 #endif
31306
31307
31308 ;
31309 return 0;
31310 }
31311
31312 _ACEOF
31313 if ac_fn_c_try_link "$LINENO"; then :
31314 eval wx_cv_func_$wx_func=yes
31315 else
31316 eval wx_cv_func_$wx_func=no
31317 fi
31318 rm -f core conftest.err conftest.$ac_objext \
31319 conftest$ac_exeext conftest.$ac_ext
31320
31321 fi
31322 eval ac_res=\$wx_cv_func_$wx_func
31323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31324 $as_echo "$ac_res" >&6; }
31325
31326 if eval test \$wx_cv_func_$wx_func = yes
31327 then
31328 cat >>confdefs.h <<_ACEOF
31329 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31330 _ACEOF
31331
31332
31333 else
31334 :
31335
31336 fi
31337 done
31338
31339 fi
31340
31341
31342 for wx_func in strtok_r
31343 do
31344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31345 $as_echo_n "checking for $wx_func... " >&6; }
31346 if eval \${wx_cv_func_$wx_func+:} false; then :
31347 $as_echo_n "(cached) " >&6
31348 else
31349
31350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31351 /* end confdefs.h. */
31352
31353
31354 #define _REENTRANT
31355 $ac_includes_default
31356
31357 int
31358 main ()
31359 {
31360
31361 #ifndef $wx_func
31362 &$wx_func;
31363 #endif
31364
31365
31366 ;
31367 return 0;
31368 }
31369
31370 _ACEOF
31371 if ac_fn_c_try_link "$LINENO"; then :
31372 eval wx_cv_func_$wx_func=yes
31373 else
31374 eval wx_cv_func_$wx_func=no
31375 fi
31376 rm -f core conftest.err conftest.$ac_objext \
31377 conftest$ac_exeext conftest.$ac_ext
31378
31379 fi
31380 eval ac_res=\$wx_cv_func_$wx_func
31381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31382 $as_echo "$ac_res" >&6; }
31383
31384 if eval test \$wx_cv_func_$wx_func = yes
31385 then
31386 cat >>confdefs.h <<_ACEOF
31387 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31388 _ACEOF
31389
31390
31391 else
31392 :
31393
31394 fi
31395 done
31396
31397
31398 INET_LINK=
31399 for ac_func in inet_addr
31400 do :
31401 ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31402 if test "x$ac_cv_func_inet_addr" = xyes; then :
31403 cat >>confdefs.h <<_ACEOF
31404 #define HAVE_INET_ADDR 1
31405 _ACEOF
31406 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31407
31408 else
31409
31410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31411 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31412 if ${ac_cv_lib_nsl_inet_addr+:} false; then :
31413 $as_echo_n "(cached) " >&6
31414 else
31415 ac_check_lib_save_LIBS=$LIBS
31416 LIBS="-lnsl $LIBS"
31417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31418 /* end confdefs.h. */
31419
31420 /* Override any GCC internal prototype to avoid an error.
31421 Use char because int might match the return type of a GCC
31422 builtin and then its argument prototype would still apply. */
31423 #ifdef __cplusplus
31424 extern "C"
31425 #endif
31426 char inet_addr ();
31427 int
31428 main ()
31429 {
31430 return inet_addr ();
31431 ;
31432 return 0;
31433 }
31434 _ACEOF
31435 if ac_fn_c_try_link "$LINENO"; then :
31436 ac_cv_lib_nsl_inet_addr=yes
31437 else
31438 ac_cv_lib_nsl_inet_addr=no
31439 fi
31440 rm -f core conftest.err conftest.$ac_objext \
31441 conftest$ac_exeext conftest.$ac_ext
31442 LIBS=$ac_check_lib_save_LIBS
31443 fi
31444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31445 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31446 if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
31447 INET_LINK="nsl"
31448 else
31449
31450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31451 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31452 if ${ac_cv_lib_resolv_inet_addr+:} false; then :
31453 $as_echo_n "(cached) " >&6
31454 else
31455 ac_check_lib_save_LIBS=$LIBS
31456 LIBS="-lresolv $LIBS"
31457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31458 /* end confdefs.h. */
31459
31460 /* Override any GCC internal prototype to avoid an error.
31461 Use char because int might match the return type of a GCC
31462 builtin and then its argument prototype would still apply. */
31463 #ifdef __cplusplus
31464 extern "C"
31465 #endif
31466 char inet_addr ();
31467 int
31468 main ()
31469 {
31470 return inet_addr ();
31471 ;
31472 return 0;
31473 }
31474 _ACEOF
31475 if ac_fn_c_try_link "$LINENO"; then :
31476 ac_cv_lib_resolv_inet_addr=yes
31477 else
31478 ac_cv_lib_resolv_inet_addr=no
31479 fi
31480 rm -f core conftest.err conftest.$ac_objext \
31481 conftest$ac_exeext conftest.$ac_ext
31482 LIBS=$ac_check_lib_save_LIBS
31483 fi
31484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31485 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31486 if test "x$ac_cv_lib_resolv_inet_addr" = xyes; then :
31487 INET_LINK="resolv"
31488 else
31489
31490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31491 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31492 if ${ac_cv_lib_socket_inet_addr+:} false; then :
31493 $as_echo_n "(cached) " >&6
31494 else
31495 ac_check_lib_save_LIBS=$LIBS
31496 LIBS="-lsocket $LIBS"
31497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31498 /* end confdefs.h. */
31499
31500 /* Override any GCC internal prototype to avoid an error.
31501 Use char because int might match the return type of a GCC
31502 builtin and then its argument prototype would still apply. */
31503 #ifdef __cplusplus
31504 extern "C"
31505 #endif
31506 char inet_addr ();
31507 int
31508 main ()
31509 {
31510 return inet_addr ();
31511 ;
31512 return 0;
31513 }
31514 _ACEOF
31515 if ac_fn_c_try_link "$LINENO"; then :
31516 ac_cv_lib_socket_inet_addr=yes
31517 else
31518 ac_cv_lib_socket_inet_addr=no
31519 fi
31520 rm -f core conftest.err conftest.$ac_objext \
31521 conftest$ac_exeext conftest.$ac_ext
31522 LIBS=$ac_check_lib_save_LIBS
31523 fi
31524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31525 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31526 if test "x$ac_cv_lib_socket_inet_addr" = xyes; then :
31527 INET_LINK="socket"
31528
31529 fi
31530
31531
31532
31533 fi
31534
31535
31536
31537 fi
31538
31539
31540
31541 fi
31542 done
31543
31544
31545 for ac_func in inet_aton
31546 do :
31547 ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31548 if test "x$ac_cv_func_inet_aton" = xyes; then :
31549 cat >>confdefs.h <<_ACEOF
31550 #define HAVE_INET_ATON 1
31551 _ACEOF
31552 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31553
31554 else
31555
31556 as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31558 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31559 if eval \${$as_ac_Lib+:} false; then :
31560 $as_echo_n "(cached) " >&6
31561 else
31562 ac_check_lib_save_LIBS=$LIBS
31563 LIBS="-l$INET_LINK $LIBS"
31564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31565 /* end confdefs.h. */
31566
31567 /* Override any GCC internal prototype to avoid an error.
31568 Use char because int might match the return type of a GCC
31569 builtin and then its argument prototype would still apply. */
31570 #ifdef __cplusplus
31571 extern "C"
31572 #endif
31573 char inet_aton ();
31574 int
31575 main ()
31576 {
31577 return inet_aton ();
31578 ;
31579 return 0;
31580 }
31581 _ACEOF
31582 if ac_fn_c_try_link "$LINENO"; then :
31583 eval "$as_ac_Lib=yes"
31584 else
31585 eval "$as_ac_Lib=no"
31586 fi
31587 rm -f core conftest.err conftest.$ac_objext \
31588 conftest$ac_exeext conftest.$ac_ext
31589 LIBS=$ac_check_lib_save_LIBS
31590 fi
31591 eval ac_res=\$$as_ac_Lib
31592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31593 $as_echo "$ac_res" >&6; }
31594 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
31595 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31596
31597 fi
31598
31599
31600 fi
31601 done
31602
31603
31604 if test "x$INET_LINK" != "x"; then
31605 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31606
31607 INET_LINK=" -l$INET_LINK"
31608 fi
31609
31610
31611 for wx_func in fdopen
31612 do
31613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31614 $as_echo_n "checking for $wx_func... " >&6; }
31615 if eval \${wx_cv_func_$wx_func+:} false; then :
31616 $as_echo_n "(cached) " >&6
31617 else
31618
31619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31620 /* end confdefs.h. */
31621
31622
31623
31624 $ac_includes_default
31625
31626 int
31627 main ()
31628 {
31629
31630 #ifndef $wx_func
31631 &$wx_func;
31632 #endif
31633
31634
31635 ;
31636 return 0;
31637 }
31638
31639 _ACEOF
31640 if ac_fn_c_try_link "$LINENO"; then :
31641 eval wx_cv_func_$wx_func=yes
31642 else
31643 eval wx_cv_func_$wx_func=no
31644 fi
31645 rm -f core conftest.err conftest.$ac_objext \
31646 conftest$ac_exeext conftest.$ac_ext
31647
31648 fi
31649 eval ac_res=\$wx_cv_func_$wx_func
31650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31651 $as_echo "$ac_res" >&6; }
31652
31653 if eval test \$wx_cv_func_$wx_func = yes
31654 then
31655 cat >>confdefs.h <<_ACEOF
31656 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31657 _ACEOF
31658
31659
31660 else
31661 :
31662
31663 fi
31664 done
31665
31666
31667 if test "$wxUSE_TARSTREAM" = "yes"; then
31668
31669 for wx_func in sysconf
31670 do
31671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31672 $as_echo_n "checking for $wx_func... " >&6; }
31673 if eval \${wx_cv_func_$wx_func+:} false; then :
31674 $as_echo_n "(cached) " >&6
31675 else
31676
31677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31678 /* end confdefs.h. */
31679
31680
31681
31682 $ac_includes_default
31683
31684 int
31685 main ()
31686 {
31687
31688 #ifndef $wx_func
31689 &$wx_func;
31690 #endif
31691
31692
31693 ;
31694 return 0;
31695 }
31696
31697 _ACEOF
31698 if ac_fn_c_try_link "$LINENO"; then :
31699 eval wx_cv_func_$wx_func=yes
31700 else
31701 eval wx_cv_func_$wx_func=no
31702 fi
31703 rm -f core conftest.err conftest.$ac_objext \
31704 conftest$ac_exeext conftest.$ac_ext
31705
31706 fi
31707 eval ac_res=\$wx_cv_func_$wx_func
31708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31709 $as_echo "$ac_res" >&6; }
31710
31711 if eval test \$wx_cv_func_$wx_func = yes
31712 then
31713 cat >>confdefs.h <<_ACEOF
31714 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31715 _ACEOF
31716
31717
31718 else
31719 :
31720
31721 fi
31722 done
31723
31724
31725
31726 for wx_func in getpwuid_r
31727 do
31728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31729 $as_echo_n "checking for $wx_func... " >&6; }
31730 if eval \${wx_cv_func_$wx_func+:} false; then :
31731 $as_echo_n "(cached) " >&6
31732 else
31733
31734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31735 /* end confdefs.h. */
31736
31737
31738
31739 #define _REENTRANT
31740 #include <pwd.h>
31741
31742 $ac_includes_default
31743
31744 int
31745 main ()
31746 {
31747
31748 #ifndef $wx_func
31749 &$wx_func;
31750 #endif
31751
31752 struct passwd pw, *ppw;
31753 char buf[1024];
31754 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31755
31756
31757 ;
31758 return 0;
31759 }
31760
31761 _ACEOF
31762 if ac_fn_c_try_link "$LINENO"; then :
31763 eval wx_cv_func_$wx_func=yes
31764 else
31765 eval wx_cv_func_$wx_func=no
31766 fi
31767 rm -f core conftest.err conftest.$ac_objext \
31768 conftest$ac_exeext conftest.$ac_ext
31769
31770 fi
31771 eval ac_res=\$wx_cv_func_$wx_func
31772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31773 $as_echo "$ac_res" >&6; }
31774
31775 if eval test \$wx_cv_func_$wx_func = yes
31776 then
31777 cat >>confdefs.h <<_ACEOF
31778 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31779 _ACEOF
31780
31781
31782 else
31783 :
31784
31785 fi
31786 done
31787
31788
31789
31790 for wx_func in getgrgid_r
31791 do
31792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31793 $as_echo_n "checking for $wx_func... " >&6; }
31794 if eval \${wx_cv_func_$wx_func+:} false; then :
31795 $as_echo_n "(cached) " >&6
31796 else
31797
31798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31799 /* end confdefs.h. */
31800
31801
31802
31803 #define _REENTRANT
31804 #include <grp.h>
31805
31806 $ac_includes_default
31807
31808 int
31809 main ()
31810 {
31811
31812 #ifndef $wx_func
31813 &$wx_func;
31814 #endif
31815
31816 struct group grp, *pgrp;
31817 char buf[1024];
31818 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31819
31820
31821 ;
31822 return 0;
31823 }
31824
31825 _ACEOF
31826 if ac_fn_c_try_link "$LINENO"; then :
31827 eval wx_cv_func_$wx_func=yes
31828 else
31829 eval wx_cv_func_$wx_func=no
31830 fi
31831 rm -f core conftest.err conftest.$ac_objext \
31832 conftest$ac_exeext conftest.$ac_ext
31833
31834 fi
31835 eval ac_res=\$wx_cv_func_$wx_func
31836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31837 $as_echo "$ac_res" >&6; }
31838
31839 if eval test \$wx_cv_func_$wx_func = yes
31840 then
31841 cat >>confdefs.h <<_ACEOF
31842 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31843 _ACEOF
31844
31845
31846 else
31847 :
31848
31849 fi
31850 done
31851
31852 fi
31853
31854 fi
31855
31856
31857
31858 cat >confcache <<\_ACEOF
31859 # This file is a shell script that caches the results of configure
31860 # tests run on this system so they can be shared between configure
31861 # scripts and configure runs, see configure's option --config-cache.
31862 # It is not useful on other systems. If it contains results you don't
31863 # want to keep, you may remove or edit it.
31864 #
31865 # config.status only pays attention to the cache file if you give it
31866 # the --recheck option to rerun configure.
31867 #
31868 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31869 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31870 # following values.
31871
31872 _ACEOF
31873
31874 # The following way of writing the cache mishandles newlines in values,
31875 # but we know of no workaround that is simple, portable, and efficient.
31876 # So, we kill variables containing newlines.
31877 # Ultrix sh set writes to stderr and can't be redirected directly,
31878 # and sets the high bit in the cache file unless we assign to the vars.
31879 (
31880 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31881 eval ac_val=\$$ac_var
31882 case $ac_val in #(
31883 *${as_nl}*)
31884 case $ac_var in #(
31885 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31886 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31887 esac
31888 case $ac_var in #(
31889 _ | IFS | as_nl) ;; #(
31890 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31891 *) { eval $ac_var=; unset $ac_var;} ;;
31892 esac ;;
31893 esac
31894 done
31895
31896 (set) 2>&1 |
31897 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31898 *${as_nl}ac_space=\ *)
31899 # `set' does not quote correctly, so add quotes: double-quote
31900 # substitution turns \\\\ into \\, and sed turns \\ into \.
31901 sed -n \
31902 "s/'/'\\\\''/g;
31903 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31904 ;; #(
31905 *)
31906 # `set' quotes correctly as required by POSIX, so do not add quotes.
31907 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31908 ;;
31909 esac |
31910 sort
31911 ) |
31912 sed '
31913 /^ac_cv_env_/b end
31914 t clear
31915 :clear
31916 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31917 t end
31918 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31919 :end' >>confcache
31920 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31921 if test -w "$cache_file"; then
31922 if test "x$cache_file" != "x/dev/null"; then
31923 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31924 $as_echo "$as_me: updating cache $cache_file" >&6;}
31925 if test ! -f "$cache_file" || test -h "$cache_file"; then
31926 cat confcache >"$cache_file"
31927 else
31928 case $cache_file in #(
31929 */* | ?:*)
31930 mv -f confcache "$cache_file"$$ &&
31931 mv -f "$cache_file"$$ "$cache_file" ;; #(
31932 *)
31933 mv -f confcache "$cache_file" ;;
31934 esac
31935 fi
31936 fi
31937 else
31938 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31939 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31940 fi
31941 fi
31942 rm -f confcache
31943
31944
31945 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31946
31947
31948 THREADS_LINK=
31949 THREADS_CFLAGS=
31950
31951 if test "$wxUSE_THREADS" = "yes" ; then
31952 if test "$USE_BEOS" = 1; then
31953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31954 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31955 wxUSE_THREADS="no"
31956 fi
31957 fi
31958
31959 if test "$wxUSE_THREADS" = "yes" ; then
31960
31961
31962 THREAD_OPTS="-pthread"
31963 if test "x$SUNCXX" = xyes; then
31964 THREAD_OPTS="-mt lthread $THREAD_OPTS"
31965 fi
31966
31967 case "${host}" in
31968 *-*-solaris2* | *-*-sunos4* )
31969 if test "x$GCC" = "xyes"; then
31970 THREAD_OPTS="-pthreads $THREAD_OPTS"
31971 fi
31972 ;;
31973 *-*-freebsd*)
31974 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31975 ;;
31976 *-*-darwin* | *-*-cygwin* )
31977 THREAD_OPTS=""
31978 ;;
31979 *-*-aix*)
31980 THREAD_OPTS="pthreads"
31981 ;;
31982 *-hp-hpux* )
31983 if test "x$GCC" = "xyes"; then
31984 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
31985 THREAD_OPTS=""
31986 else
31987 THREAD_OPTS="-mt"
31988 fi
31989 ;;
31990
31991 *-*-irix* )
31992 if test "x$GCC" = "xyes"; then
31993 THREAD_OPTS=""
31994 fi
31995 ;;
31996
31997 *-*-qnx*)
31998 THREAD_OPTS=""
31999 ;;
32000
32001 *-*-*UnixWare*)
32002 if test "x$GCC" != "xyes"; then
32003 THREAD_OPTS="-Ethread"
32004 fi
32005 ;;
32006 esac
32007
32008 case "${host}" in
32009 *-*-qnx*)
32010 THREAD_OPTS="none pthread"
32011 ;;
32012
32013 *)
32014 THREAD_OPTS="$THREAD_OPTS pthread none"
32015 ;;
32016 esac
32017
32018 THREADS_OK=no
32019 for flag in $THREAD_OPTS; do
32020 case $flag in
32021 none)
32022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
32023 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
32024 ;;
32025
32026 -*)
32027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
32028 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
32029 THREADS_CFLAGS="$flag"
32030 ;;
32031
32032 *)
32033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
32034 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
32035 THREADS_LINK="-l$flag"
32036 ;;
32037 esac
32038
32039 save_LIBS="$LIBS"
32040 save_CFLAGS="$CFLAGS"
32041 LIBS="$THREADS_LINK $LIBS"
32042 CFLAGS="$THREADS_CFLAGS $CFLAGS"
32043
32044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32045 /* end confdefs.h. */
32046 #include <pthread.h>
32047 int
32048 main ()
32049 {
32050 pthread_create(0,0,0,0);
32051 ;
32052 return 0;
32053 }
32054 _ACEOF
32055 if ac_fn_c_try_link "$LINENO"; then :
32056 THREADS_OK=yes
32057 fi
32058 rm -f core conftest.err conftest.$ac_objext \
32059 conftest$ac_exeext conftest.$ac_ext
32060
32061 LIBS="$save_LIBS"
32062 CFLAGS="$save_CFLAGS"
32063
32064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
32065 $as_echo "$THREADS_OK" >&6; }
32066 if test "x$THREADS_OK" = "xyes"; then
32067 break;
32068 fi
32069
32070 THREADS_LINK=""
32071 THREADS_CFLAGS=""
32072 done
32073
32074 if test "x$THREADS_OK" != "xyes"; then
32075 wxUSE_THREADS=no
32076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
32077 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32078 else
32079 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
32080 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
32081 LIBS="$THREADS_LINK $LIBS"
32082
32083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
32084 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
32085 flag=no
32086 case "${host}" in
32087 *-aix*)
32088 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
32089 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
32090 flag="-D_THREAD_SAFE"
32091 ;;
32092 *-freebsd*)
32093 flag="-D_THREAD_SAFE"
32094 ;;
32095 *-hp-hpux* )
32096 flag="-D_REENTRANT"
32097 if test "x$GCC" != "xyes"; then
32098 flag="$flag -D_RWSTD_MULTI_THREAD"
32099 fi
32100 ;;
32101 *solaris* | alpha*-osf*)
32102 flag="-D_REENTRANT"
32103 ;;
32104 esac
32105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
32106 $as_echo "${flag}" >&6; }
32107 if test "x$flag" != xno; then
32108 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
32109 fi
32110
32111 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
32112 fi
32113 fi
32114
32115 if test "$wxUSE_THREADS" = "yes" ; then
32116 for ac_func in pthread_setconcurrency
32117 do :
32118 ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
32119 if test "x$ac_cv_func_pthread_setconcurrency" = xyes; then :
32120 cat >>confdefs.h <<_ACEOF
32121 #define HAVE_PTHREAD_SETCONCURRENCY 1
32122 _ACEOF
32123 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
32124
32125 else
32126
32127 for ac_func in thr_setconcurrency
32128 do :
32129 ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
32130 if test "x$ac_cv_func_thr_setconcurrency" = xyes; then :
32131 cat >>confdefs.h <<_ACEOF
32132 #define HAVE_THR_SETCONCURRENCY 1
32133 _ACEOF
32134 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
32135
32136 else
32137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
32138 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
32139 fi
32140 done
32141
32142
32143 fi
32144 done
32145
32146
32147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
32148 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
32149 if ${wx_cv_func_pthread_cleanup+:} false; then :
32150 $as_echo_n "(cached) " >&6
32151 else
32152
32153 ac_ext=cpp
32154 ac_cpp='$CXXCPP $CPPFLAGS'
32155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32158
32159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32160 /* end confdefs.h. */
32161 #include <pthread.h>
32162 void ThreadCleanupFunc(void *p);
32163
32164 int
32165 main ()
32166 {
32167
32168 void *p;
32169 pthread_cleanup_push(ThreadCleanupFunc, p);
32170 pthread_cleanup_pop(0);
32171
32172 ;
32173 return 0;
32174 }
32175 _ACEOF
32176 if ac_fn_cxx_try_compile "$LINENO"; then :
32177
32178 wx_cv_func_pthread_cleanup=yes
32179
32180 else
32181
32182 wx_cv_func_pthread_cleanup=no
32183
32184
32185 fi
32186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32187 ac_ext=c
32188 ac_cpp='$CPP $CPPFLAGS'
32189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32192
32193
32194 fi
32195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
32196 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
32197 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
32198 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
32199
32200 fi
32201
32202 for ac_header in sched.h
32203 do :
32204 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
32205 "
32206 if test "x$ac_cv_header_sched_h" = xyes; then :
32207 cat >>confdefs.h <<_ACEOF
32208 #define HAVE_SCHED_H 1
32209 _ACEOF
32210
32211 fi
32212
32213 done
32214
32215 if test "$ac_cv_header_sched_h" = "yes"; then
32216 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
32217 if test "x$ac_cv_func_sched_yield" = xyes; then :
32218 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32219
32220 else
32221
32222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
32223 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
32224 if ${ac_cv_lib_posix4_sched_yield+:} false; then :
32225 $as_echo_n "(cached) " >&6
32226 else
32227 ac_check_lib_save_LIBS=$LIBS
32228 LIBS="-lposix4 $LIBS"
32229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32230 /* end confdefs.h. */
32231
32232 /* Override any GCC internal prototype to avoid an error.
32233 Use char because int might match the return type of a GCC
32234 builtin and then its argument prototype would still apply. */
32235 #ifdef __cplusplus
32236 extern "C"
32237 #endif
32238 char sched_yield ();
32239 int
32240 main ()
32241 {
32242 return sched_yield ();
32243 ;
32244 return 0;
32245 }
32246 _ACEOF
32247 if ac_fn_c_try_link "$LINENO"; then :
32248 ac_cv_lib_posix4_sched_yield=yes
32249 else
32250 ac_cv_lib_posix4_sched_yield=no
32251 fi
32252 rm -f core conftest.err conftest.$ac_objext \
32253 conftest$ac_exeext conftest.$ac_ext
32254 LIBS=$ac_check_lib_save_LIBS
32255 fi
32256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
32257 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
32258 if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then :
32259 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32260 POSIX4_LINK=" -lposix4"
32261 else
32262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
32263 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32264
32265 fi
32266
32267
32268
32269 fi
32270
32271 fi
32272
32273 HAVE_PRIOR_FUNCS=0
32274 ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32275 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes; then :
32276 ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32277 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes; then :
32278 ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32279 if test "x$ac_cv_func_sched_get_priority_max" = xyes; then :
32280 HAVE_PRIOR_FUNCS=1
32281 else
32282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32283 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32284 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false; then :
32285 $as_echo_n "(cached) " >&6
32286 else
32287 ac_check_lib_save_LIBS=$LIBS
32288 LIBS="-lposix4 $LIBS"
32289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32290 /* end confdefs.h. */
32291
32292 /* Override any GCC internal prototype to avoid an error.
32293 Use char because int might match the return type of a GCC
32294 builtin and then its argument prototype would still apply. */
32295 #ifdef __cplusplus
32296 extern "C"
32297 #endif
32298 char sched_get_priority_max ();
32299 int
32300 main ()
32301 {
32302 return sched_get_priority_max ();
32303 ;
32304 return 0;
32305 }
32306 _ACEOF
32307 if ac_fn_c_try_link "$LINENO"; then :
32308 ac_cv_lib_posix4_sched_get_priority_max=yes
32309 else
32310 ac_cv_lib_posix4_sched_get_priority_max=no
32311 fi
32312 rm -f core conftest.err conftest.$ac_objext \
32313 conftest$ac_exeext conftest.$ac_ext
32314 LIBS=$ac_check_lib_save_LIBS
32315 fi
32316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32317 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32318 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes; then :
32319
32320 HAVE_PRIOR_FUNCS=1
32321 POSIX4_LINK=" -lposix4"
32322
32323 fi
32324
32325
32326 fi
32327
32328
32329 fi
32330
32331
32332 fi
32333
32334
32335 if test "$HAVE_PRIOR_FUNCS" = 1; then
32336 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32337
32338 else
32339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32340 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32341 fi
32342
32343 ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32344 if test "x$ac_cv_func_pthread_cancel" = xyes; then :
32345 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32346
32347 else
32348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32349 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32350 fi
32351
32352
32353 ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32354 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes; then :
32355 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32356
32357 else
32358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32359 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32360 fi
32361
32362
32363 ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32364 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes; then :
32365 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32366
32367 fi
32368
32369
32370
32371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32372 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32373 if ${wx_cv_type_pthread_mutexattr_t+:} false; then :
32374 $as_echo_n "(cached) " >&6
32375 else
32376
32377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32378 /* end confdefs.h. */
32379 #include <pthread.h>
32380 int
32381 main ()
32382 {
32383
32384 pthread_mutexattr_t attr;
32385 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32386
32387 ;
32388 return 0;
32389 }
32390 _ACEOF
32391 if ac_fn_c_try_compile "$LINENO"; then :
32392 wx_cv_type_pthread_mutexattr_t=yes
32393 else
32394 wx_cv_type_pthread_mutexattr_t=no
32395
32396 fi
32397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32398
32399 fi
32400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32401 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32402
32403 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32404 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32405
32406
32407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32408 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32409 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false; then :
32410 $as_echo_n "(cached) " >&6
32411 else
32412
32413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32414 /* end confdefs.h. */
32415 #include <pthread.h>
32416 int
32417 main ()
32418 {
32419
32420 pthread_mutexattr_t attr;
32421 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32422
32423 ;
32424 return 0;
32425 }
32426 _ACEOF
32427 if ac_fn_c_try_compile "$LINENO"; then :
32428 wx_cv_func_pthread_mutexattr_settype_decl=yes
32429 else
32430 wx_cv_func_pthread_mutexattr_settype_decl=no
32431
32432 fi
32433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32434
32435 fi
32436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32437 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32438 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32439 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32440
32441 fi
32442 else
32443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32444 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32445 if ${wx_cv_type_pthread_rec_mutex_init+:} false; then :
32446 $as_echo_n "(cached) " >&6
32447 else
32448
32449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32450 /* end confdefs.h. */
32451 #include <pthread.h>
32452 int
32453 main ()
32454 {
32455
32456 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32457
32458 ;
32459 return 0;
32460 }
32461 _ACEOF
32462 if ac_fn_c_try_compile "$LINENO"; then :
32463
32464 wx_cv_type_pthread_rec_mutex_init=yes
32465
32466 else
32467
32468 wx_cv_type_pthread_rec_mutex_init=no
32469
32470
32471 fi
32472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32473
32474 fi
32475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32476 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32477 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32478 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32479
32480 else
32481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32482 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32483 fi
32484 fi
32485
32486 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32487 if test "$USE_NETBSD" = 1; then
32488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32489 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32490 wxUSE_COMPILER_TLS=no
32491 else
32492 wxUSE_COMPILER_TLS=yes
32493 fi
32494 fi
32495
32496 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32498 $as_echo_n "checking for __thread keyword... " >&6; }
32499 if ${wx_cv_cc___thread+:} false; then :
32500 $as_echo_n "(cached) " >&6
32501 else
32502
32503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32504 /* end confdefs.h. */
32505 #include <pthread.h>
32506 int
32507 main ()
32508 {
32509
32510 static __thread int n = 0;
32511 static __thread int *p = 0;
32512
32513 ;
32514 return 0;
32515 }
32516 _ACEOF
32517 if ac_fn_c_try_compile "$LINENO"; then :
32518 wx_cv_cc___thread=yes
32519 else
32520 wx_cv_cc___thread=no
32521
32522 fi
32523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32524
32525
32526 fi
32527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32528 $as_echo "$wx_cv_cc___thread" >&6; }
32529
32530 if test "$wx_cv_cc___thread" = "yes"; then
32531
32532 GXX_VERSION=""
32533
32534
32535
32536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32537 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32538
32539 if test "x$GCC" = "xyes" ; then :
32540
32541 if test -z "" ; then :
32542
32543 ax_gcc_option_test="int main()
32544 {
32545 return 0;
32546 }"
32547
32548 else
32549
32550 ax_gcc_option_test=""
32551
32552 fi
32553
32554 # Dump the test program to file
32555 cat <<EOF > conftest.c
32556 $ax_gcc_option_test
32557 EOF
32558
32559 # Dump back the file to the log, useful for debugging purposes
32560 { ac_try='cat conftest.c 1>&5'
32561 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32562 (eval $ac_try) 2>&5
32563 ac_status=$?
32564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32565 test $ac_status = 0; }; }
32566
32567 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
32568 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32569 (eval $ac_try) 2>&5
32570 ac_status=$?
32571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32572 test $ac_status = 0; }; } ; then :
32573
32574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32575 $as_echo "yes" >&6; }
32576
32577 ax_gcc_version_option=yes
32578
32579
32580 else
32581
32582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32583 $as_echo "no" >&6; }
32584
32585 ax_gcc_version_option=no
32586
32587
32588 fi
32589
32590 else
32591
32592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32593 $as_echo "no gcc available" >&6; }
32594
32595 fi
32596
32597 if test "x$GXX" = "xyes"; then :
32598
32599 if test "x$ax_gxx_version_option" != "no"; then :
32600
32601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32602 $as_echo_n "checking gxx version... " >&6; }
32603 if ${ax_cv_gxx_version+:} false; then :
32604 $as_echo_n "(cached) " >&6
32605 else
32606
32607 ax_cv_gxx_version="`$CXX -dumpversion`"
32608 if test "x$ax_cv_gxx_version" = "x"; then :
32609
32610 ax_cv_gxx_version=""
32611
32612 fi
32613
32614 fi
32615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32616 $as_echo "$ax_cv_gxx_version" >&6; }
32617 GXX_VERSION=$ax_cv_gxx_version
32618
32619 fi
32620
32621 fi
32622
32623
32624 if test -n "$ax_cv_gxx_version"; then
32625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32626 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32627 case "$ax_cv_gxx_version" in
32628 1.* | 2.* | 3.* )
32629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32630 $as_echo "no, it's broken" >&6; }
32631 wx_cv_cc___thread=no
32632 ;;
32633 *)
32634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32635 $as_echo "yes, it works" >&6; }
32636 ;;
32637 esac
32638 fi
32639 fi
32640
32641 if test "$wx_cv_cc___thread" = "yes"; then
32642 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32643
32644 fi
32645 fi
32646
32647 if test "$ac_cv_header_cxxabi_h" = "yes"; then
32648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in <cxxabi.h>" >&5
32649 $as_echo_n "checking for abi::__forced_unwind() in <cxxabi.h>... " >&6; }
32650 if ${wx_cv_type_abi_forced_unwind+:} false; then :
32651 $as_echo_n "(cached) " >&6
32652 else
32653
32654 ac_ext=cpp
32655 ac_cpp='$CXXCPP $CPPFLAGS'
32656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32659
32660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32661 /* end confdefs.h. */
32662 #include <cxxabi.h>
32663 int
32664 main ()
32665 {
32666
32667 void foo(abi::__forced_unwind&);
32668
32669 ;
32670 return 0;
32671 }
32672 _ACEOF
32673 if ac_fn_cxx_try_compile "$LINENO"; then :
32674 wx_cv_type_abi_forced_unwind=yes
32675 else
32676 wx_cv_type_abi_forced_unwind=no
32677
32678 fi
32679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32680 ac_ext=c
32681 ac_cpp='$CPP $CPPFLAGS'
32682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32685
32686
32687
32688 fi
32689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5
32690 $as_echo "$wx_cv_type_abi_forced_unwind" >&6; }
32691 else
32692 wx_cv_type_abi_forced_unwind=no
32693 fi
32694
32695 if test "$wx_cv_type_abi_forced_unwind" = "yes"; then
32696 $as_echo "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h
32697
32698 fi
32699 fi
32700
32701 else
32702 if test "$wxUSE_THREADS" = "yes" ; then
32703 case "${host}" in
32704 x86_64-*-mingw32* )
32705 ;;
32706 *-*-mingw32* )
32707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32708 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32709 if ${wx_cv_cflags_mthread+:} false; then :
32710 $as_echo_n "(cached) " >&6
32711 else
32712
32713 CFLAGS_OLD="$CFLAGS"
32714 CFLAGS="-mthreads $CFLAGS"
32715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32716 /* end confdefs.h. */
32717
32718 int
32719 main ()
32720 {
32721
32722 ;
32723 return 0;
32724 }
32725 _ACEOF
32726 if ac_fn_c_try_compile "$LINENO"; then :
32727 wx_cv_cflags_mthread=yes
32728 else
32729 wx_cv_cflags_mthread=no
32730
32731 fi
32732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32733
32734
32735 fi
32736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32737 $as_echo "$wx_cv_cflags_mthread" >&6; }
32738
32739 if test "$wx_cv_cflags_mthread" = "yes"; then
32740 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
32741 LDFLAGS="$LDFLAGS -mthreads"
32742 else
32743 CFLAGS="$CFLAGS_OLD"
32744 fi
32745 ;;
32746 *-pc-os2*emx )
32747 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32748 LDFLAGS="$LDFLAGS -Zmt"
32749 ;;
32750 esac
32751 fi
32752 fi
32753
32754 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32755 if test "x$ac_cv_func_localtime_r" = xyes; then :
32756 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32757
32758 fi
32759
32760 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32761 if test "x$ac_cv_func_gmtime_r" = xyes; then :
32762 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32763
32764 fi
32765
32766
32767
32768
32769 ac_ext=c
32770 ac_cpp='$CPP $CPPFLAGS'
32771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32774
32775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32776 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32777
32778 if ${ac_cv_func_which_gethostbyname_r+:} false; then :
32779 $as_echo_n "(cached) " >&6
32780 else
32781
32782
32783 ################################################################
32784
32785 ac_cv_func_which_gethostbyname_r=unknown
32786
32787 #
32788 # ONE ARGUMENT (sanity check)
32789 #
32790
32791 # This should fail, as there is no variant of gethostbyname_r() that takes
32792 # a single argument. If it actually compiles, then we can assume that
32793 # netdb.h is not declaring the function, and the compiler is thereby
32794 # assuming an implicit prototype. In which case, we're out of luck.
32795 #
32796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32797 /* end confdefs.h. */
32798 #include <netdb.h>
32799 int
32800 main ()
32801 {
32802
32803 char *name = "www.gnu.org";
32804 (void)gethostbyname_r(name) /* ; */
32805
32806
32807 ;
32808 return 0;
32809 }
32810 _ACEOF
32811 if ac_fn_c_try_compile "$LINENO"; then :
32812 ac_cv_func_which_gethostbyname_r=no
32813
32814 fi
32815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32816
32817 #
32818 # SIX ARGUMENTS
32819 # (e.g. Linux)
32820 #
32821
32822 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32823
32824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32825 /* end confdefs.h. */
32826 #include <netdb.h>
32827 int
32828 main ()
32829 {
32830
32831 char *name = "www.gnu.org";
32832 struct hostent ret, *retp;
32833 char buf[1024];
32834 int buflen = 1024;
32835 int my_h_errno;
32836 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32837
32838
32839 ;
32840 return 0;
32841 }
32842 _ACEOF
32843 if ac_fn_c_try_compile "$LINENO"; then :
32844 ac_cv_func_which_gethostbyname_r=six
32845
32846 fi
32847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32848
32849 fi
32850
32851 #
32852 # FIVE ARGUMENTS
32853 # (e.g. Solaris)
32854 #
32855
32856 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32857
32858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32859 /* end confdefs.h. */
32860 #include <netdb.h>
32861 int
32862 main ()
32863 {
32864
32865 char *name = "www.gnu.org";
32866 struct hostent ret;
32867 char buf[1024];
32868 int buflen = 1024;
32869 int my_h_errno;
32870 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32871
32872
32873 ;
32874 return 0;
32875 }
32876 _ACEOF
32877 if ac_fn_c_try_compile "$LINENO"; then :
32878 ac_cv_func_which_gethostbyname_r=five
32879
32880 fi
32881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32882
32883 fi
32884
32885 #
32886 # THREE ARGUMENTS
32887 # (e.g. AIX, HP-UX, Tru64)
32888 #
32889
32890 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32891
32892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32893 /* end confdefs.h. */
32894 #include <netdb.h>
32895 int
32896 main ()
32897 {
32898
32899 char *name = "www.gnu.org";
32900 struct hostent ret;
32901 struct hostent_data data;
32902 (void)gethostbyname_r(name, &ret, &data) /* ; */
32903
32904
32905 ;
32906 return 0;
32907 }
32908 _ACEOF
32909 if ac_fn_c_try_compile "$LINENO"; then :
32910 ac_cv_func_which_gethostbyname_r=three
32911
32912 fi
32913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32914
32915 fi
32916
32917 ################################################################
32918
32919
32920 fi
32921
32922 case "$ac_cv_func_which_gethostbyname_r" in
32923 three)
32924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32925 $as_echo "three" >&6; }
32926 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32927
32928 ;;
32929
32930 five)
32931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32932 $as_echo "five" >&6; }
32933 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32934
32935 ;;
32936
32937 six)
32938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32939 $as_echo "six" >&6; }
32940 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32941
32942 ;;
32943
32944 no)
32945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32946 $as_echo "cannot find function declaration in netdb.h" >&6; }
32947 ;;
32948
32949 unknown)
32950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32951 $as_echo "can't tell" >&6; }
32952 ;;
32953
32954 *)
32955 as_fn_error $? "internal error" "$LINENO" 5
32956 ;;
32957 esac
32958
32959 ac_ext=c
32960 ac_cpp='$CPP $CPPFLAGS'
32961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32964
32965
32966
32967 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32968 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32969 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32970 if test "x$ac_cv_func_gethostbyname" = xyes; then :
32971 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32972
32973 fi
32974
32975 fi
32976
32977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32978 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32979 if ${ac_cv_func_which_getservbyname_r+:} false; then :
32980 $as_echo_n "(cached) " >&6
32981 else
32982
32983 ac_ext=cpp
32984 ac_cpp='$CXXCPP $CPPFLAGS'
32985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32988
32989
32990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32991 /* end confdefs.h. */
32992 #include <netdb.h>
32993 int
32994 main ()
32995 {
32996
32997 char *name;
32998 char *proto;
32999 struct servent *se, *res;
33000 char buffer[2048];
33001 int buflen = 2048;
33002 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
33003
33004 ;
33005 return 0;
33006 }
33007 _ACEOF
33008 if ac_fn_cxx_try_compile "$LINENO"; then :
33009 ac_cv_func_which_getservbyname_r=six
33010 else
33011
33012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33013 /* end confdefs.h. */
33014 #include <netdb.h>
33015 int
33016 main ()
33017 {
33018
33019 char *name;
33020 char *proto;
33021 struct servent *se;
33022 char buffer[2048];
33023 int buflen = 2048;
33024 (void) getservbyname_r(name, proto, se, buffer, buflen)
33025
33026 ;
33027 return 0;
33028 }
33029 _ACEOF
33030 if ac_fn_cxx_try_compile "$LINENO"; then :
33031 ac_cv_func_which_getservbyname_r=five
33032 else
33033
33034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33035 /* end confdefs.h. */
33036 #include <netdb.h>
33037 int
33038 main ()
33039 {
33040
33041 char *name;
33042 char *proto;
33043 struct servent *se;
33044 struct servent_data data;
33045 (void) getservbyname_r(name, proto, se, &data);
33046
33047 ;
33048 return 0;
33049 }
33050 _ACEOF
33051 if ac_fn_cxx_try_compile "$LINENO"; then :
33052 ac_cv_func_which_getservbyname_r=four
33053 else
33054 ac_cv_func_which_getservbyname_r=no
33055
33056 fi
33057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33058
33059
33060 fi
33061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33062
33063
33064 fi
33065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33066 ac_ext=c
33067 ac_cpp='$CPP $CPPFLAGS'
33068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33071
33072
33073
33074 fi
33075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
33076 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
33077
33078 if test $ac_cv_func_which_getservbyname_r = six; then
33079 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
33080
33081 elif test $ac_cv_func_which_getservbyname_r = five; then
33082 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
33083
33084 elif test $ac_cv_func_which_getservbyname_r = four; then
33085 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
33086
33087 fi
33088
33089
33090 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
33091 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
33092 for ac_func in getservbyname
33093 do :
33094 ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
33095 if test "x$ac_cv_func_getservbyname" = xyes; then :
33096 cat >>confdefs.h <<_ACEOF
33097 #define HAVE_GETSERVBYNAME 1
33098 _ACEOF
33099 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
33100
33101 fi
33102 done
33103
33104 fi
33105
33106 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
33107
33108
33109 if test "$wxUSE_THREADS" = "yes"; then
33110 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
33111
33112
33113 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33114 else
33115 if test "$wx_cv_func_strtok_r" = "yes"; then
33116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
33117 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
33118 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33119 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
33120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33121 $as_echo "yes" >&6; }
33122 else
33123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33124 $as_echo "no" >&6; }
33125 fi
33126 fi
33127 fi
33128
33129 if test "$WXGTK3" = 1 ; then
33130 cat >>confdefs.h <<_ACEOF
33131 #define __WXGTK3__ 1
33132 _ACEOF
33133
33134 WXGTK2=1
33135 fi
33136 if test "$WXGTK2" = 1 ; then
33137 cat >>confdefs.h <<_ACEOF
33138 #define __WXGTK20__ $WXGTK2
33139 _ACEOF
33140
33141 fi
33142
33143 if test "$WXGTK127" = 1 ; then
33144 cat >>confdefs.h <<_ACEOF
33145 #define __WXGTK127__ $WXGTK127
33146 _ACEOF
33147
33148 fi
33149
33150 if test "$WXGPE" = 1 ; then
33151 cat >>confdefs.h <<_ACEOF
33152 #define __WXGPE__ $WXGPE
33153 _ACEOF
33154
33155 fi
33156
33157 DEBUG_CFLAGS=
33158 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
33159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
33160 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
33161 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
33162 DEBUG_CFLAGS="-g"
33163 fi
33164
33165 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33166 wxUSE_DEBUG_INFO=yes
33167 if test "$GCC" = yes; then
33168 DEBUG_CFLAGS="-ggdb"
33169 fi
33170 fi
33171
33172 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
33173 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
33174
33175 if test "$wxUSE_GTK" = 1 ; then
33176 if test "$WXGTK2" = 1 ; then
33177 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
33178 else
33179 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
33180 fi
33181 fi
33182 fi
33183
33184 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33185 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
33186
33187 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
33188
33189 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
33190
33191 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33192 fi
33193
33194 if test "$wxUSE_DMALLOC" = "yes" ; then
33195 DMALLOC_LIBS="-ldmallocthcxx"
33196 fi
33197
33198 PROFILE_FLAGS=
33199 if test "$wxUSE_PROFILE" = "yes" ; then
33200 PROFILE_FLAGS=" -pg"
33201 fi
33202
33203 if test "$GCC" = "yes" ; then
33204 if test "$wxUSE_NO_RTTI" = "yes" ; then
33205 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
33206 fi
33207 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33208 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
33209 fi
33210 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33211 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
33212 fi
33213
33214 case "${host}" in
33215 powerpc*-*-aix* )
33216 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
33217 ;;
33218 *-hppa* )
33219 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
33220 ;;
33221 esac
33222 fi
33223
33224 OPTIMISE_CFLAGS=
33225 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
33226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
33227 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
33228 else
33229 if test "$wxUSE_OPTIMISE" = "no" ; then
33230 if test "$GCC" = yes ; then
33231 OPTIMISE_CFLAGS="-O0"
33232 fi
33233 else
33234 if test "$GCC" = yes ; then
33235 case "${host}" in
33236 *-pc-os2_emx | *-pc-os2-emx )
33237 OPTIMISE_CFLAGS="-O2"
33238 ;;
33239 *)
33240 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
33241 ;;
33242 esac
33243 else
33244 OPTIMISE_CFLAGS="-O"
33245 fi
33246 fi
33247 fi
33248
33249
33250 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
33251 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
33252
33253
33254 WXWIN_COMPATIBILITY_2_8="yes"
33255 fi
33256
33257 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
33258 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
33259
33260 fi
33261
33262
33263 if test "$wxUSE_GUI" = "yes"; then
33264 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
33265
33266
33267 fi
33268
33269
33270 if test "$wxUSE_UNIX" = "yes"; then
33271 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
33272
33273 fi
33274
33275
33276 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33277
33278 HAVE_DL_FUNCS=0
33279 HAVE_SHL_FUNCS=0
33280 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33281 if test "$USE_DOS" = 1; then
33282 HAVE_DL_FUNCS=0
33283 else
33284 for ac_func in dlopen
33285 do :
33286 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
33287 if test "x$ac_cv_func_dlopen" = xyes; then :
33288 cat >>confdefs.h <<_ACEOF
33289 #define HAVE_DLOPEN 1
33290 _ACEOF
33291
33292 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33293
33294 HAVE_DL_FUNCS=1
33295
33296 else
33297
33298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
33299 $as_echo_n "checking for dlopen in -ldl... " >&6; }
33300 if ${ac_cv_lib_dl_dlopen+:} false; then :
33301 $as_echo_n "(cached) " >&6
33302 else
33303 ac_check_lib_save_LIBS=$LIBS
33304 LIBS="-ldl $LIBS"
33305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33306 /* end confdefs.h. */
33307
33308 /* Override any GCC internal prototype to avoid an error.
33309 Use char because int might match the return type of a GCC
33310 builtin and then its argument prototype would still apply. */
33311 #ifdef __cplusplus
33312 extern "C"
33313 #endif
33314 char dlopen ();
33315 int
33316 main ()
33317 {
33318 return dlopen ();
33319 ;
33320 return 0;
33321 }
33322 _ACEOF
33323 if ac_fn_c_try_link "$LINENO"; then :
33324 ac_cv_lib_dl_dlopen=yes
33325 else
33326 ac_cv_lib_dl_dlopen=no
33327 fi
33328 rm -f core conftest.err conftest.$ac_objext \
33329 conftest$ac_exeext conftest.$ac_ext
33330 LIBS=$ac_check_lib_save_LIBS
33331 fi
33332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33333 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33334 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
33335
33336 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33337
33338 HAVE_DL_FUNCS=1
33339 DL_LINK=" -ldl$DL_LINK"
33340
33341 else
33342
33343 for ac_func in shl_load
33344 do :
33345 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
33346 if test "x$ac_cv_func_shl_load" = xyes; then :
33347 cat >>confdefs.h <<_ACEOF
33348 #define HAVE_SHL_LOAD 1
33349 _ACEOF
33350
33351 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33352
33353 HAVE_SHL_FUNCS=1
33354
33355 else
33356
33357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33358 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33359 if ${ac_cv_lib_shl_load_dld+:} false; then :
33360 $as_echo_n "(cached) " >&6
33361 else
33362 ac_check_lib_save_LIBS=$LIBS
33363 LIBS="-lshl_load $LIBS"
33364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33365 /* end confdefs.h. */
33366
33367 /* Override any GCC internal prototype to avoid an error.
33368 Use char because int might match the return type of a GCC
33369 builtin and then its argument prototype would still apply. */
33370 #ifdef __cplusplus
33371 extern "C"
33372 #endif
33373 char dld ();
33374 int
33375 main ()
33376 {
33377 return dld ();
33378 ;
33379 return 0;
33380 }
33381 _ACEOF
33382 if ac_fn_c_try_link "$LINENO"; then :
33383 ac_cv_lib_shl_load_dld=yes
33384 else
33385 ac_cv_lib_shl_load_dld=no
33386 fi
33387 rm -f core conftest.err conftest.$ac_objext \
33388 conftest$ac_exeext conftest.$ac_ext
33389 LIBS=$ac_check_lib_save_LIBS
33390 fi
33391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33392 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33393 if test "x$ac_cv_lib_shl_load_dld" = xyes; then :
33394
33395 HAVE_SHL_FUNCS=1
33396 DL_LINK=" -ldld$DL_LINK"
33397
33398 fi
33399
33400
33401 fi
33402 done
33403
33404
33405 fi
33406
33407
33408 fi
33409 done
33410
33411
33412 if test "$HAVE_DL_FUNCS" = 1; then
33413 for ac_func in dlerror
33414 do :
33415 ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
33416 if test "x$ac_cv_func_dlerror" = xyes; then :
33417 cat >>confdefs.h <<_ACEOF
33418 #define HAVE_DLERROR 1
33419 _ACEOF
33420 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33421
33422 else
33423
33424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33425 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33426 if ${ac_cv_lib_dl_dlerror+:} false; then :
33427 $as_echo_n "(cached) " >&6
33428 else
33429 ac_check_lib_save_LIBS=$LIBS
33430 LIBS="-ldl $LIBS"
33431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33432 /* end confdefs.h. */
33433
33434 /* Override any GCC internal prototype to avoid an error.
33435 Use char because int might match the return type of a GCC
33436 builtin and then its argument prototype would still apply. */
33437 #ifdef __cplusplus
33438 extern "C"
33439 #endif
33440 char dlerror ();
33441 int
33442 main ()
33443 {
33444 return dlerror ();
33445 ;
33446 return 0;
33447 }
33448 _ACEOF
33449 if ac_fn_c_try_link "$LINENO"; then :
33450 ac_cv_lib_dl_dlerror=yes
33451 else
33452 ac_cv_lib_dl_dlerror=no
33453 fi
33454 rm -f core conftest.err conftest.$ac_objext \
33455 conftest$ac_exeext conftest.$ac_ext
33456 LIBS=$ac_check_lib_save_LIBS
33457 fi
33458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33459 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33460 if test "x$ac_cv_lib_dl_dlerror" = xyes; then :
33461 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33462
33463 fi
33464
33465
33466
33467 fi
33468 done
33469
33470 fi
33471 fi
33472
33473 if test "$USE_DARWIN" = 1; then
33474 HAVE_DL_FUNCS=1
33475 fi
33476
33477 if test "$HAVE_DL_FUNCS" = 0; then
33478 if test "$HAVE_SHL_FUNCS" = 0; then
33479 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33481 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33482 wxUSE_DYNAMIC_LOADER=no
33483 wxUSE_DYNLIB_CLASS=no
33484 else
33485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33486 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33487 fi
33488 fi
33489 fi
33490 fi
33491 fi
33492
33493 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33494 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33495
33496 fi
33497 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33498 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33499
33500 fi
33501
33502
33503
33504 if test "$wxUSE_PLUGINS" = "yes" ; then
33505 if test "$wxUSE_SHARED" = "no" ; then
33506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33507 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33508 wxUSE_PLUGINS=no
33509 fi
33510 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33512 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33513 wxUSE_PLUGINS=no
33514 fi
33515 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33517 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33518 wxUSE_PLUGINS=no
33519 fi
33520 if test "$wxUSE_PLUGINS" = "yes" ; then
33521 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33522
33523 fi
33524 fi
33525
33526
33527 if test "$wxUSE_FSWATCHER" = "yes"; then
33528 if test "$wxUSE_MSW" != "1"; then
33529 if test "$wxUSE_UNIX" = "yes"; then
33530 for ac_header in sys/inotify.h
33531 do :
33532 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33533 "
33534 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
33535 cat >>confdefs.h <<_ACEOF
33536 #define HAVE_SYS_INOTIFY_H 1
33537 _ACEOF
33538
33539 fi
33540
33541 done
33542
33543 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33544 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33545
33546 else
33547 for ac_header in sys/event.h
33548 do :
33549 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33550 "
33551 if test "x$ac_cv_header_sys_event_h" = xyes; then :
33552 cat >>confdefs.h <<_ACEOF
33553 #define HAVE_SYS_EVENT_H 1
33554 _ACEOF
33555
33556 fi
33557
33558 done
33559
33560 if test "$ac_cv_header_sys_event_h" = "yes"; then
33561 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33562
33563 else
33564 wxUSE_FSWATCHER=no
33565 fi
33566 fi
33567 else
33568 wxUSE_FSWATCHER=no
33569 fi
33570 else
33571 if test "$wxUSE_THREADS" != "yes"; then
33572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33573 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33574 wxUSE_FSWATCHER=no
33575 fi
33576 fi
33577
33578 if test "$wxUSE_FSWATCHER" = "yes"; then
33579 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33580
33581 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
33582 else
33583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33584 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33585 fi
33586 fi
33587
33588
33589 if test "$wxUSE_STL" = "yes"; then
33590 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33591
33592 fi
33593
33594 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33595 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33596
33597 fi
33598
33599 if test "$wxUSE_ANY" = "yes"; then
33600 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33601
33602 fi
33603
33604 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33605 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33606
33607 fi
33608
33609 if test "$wxUSE_TIMER" = "yes"; then
33610 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33611
33612 fi
33613
33614 if test "$USE_UNIX" = 1 ; then
33615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33616 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33617 if ${ac_cv_header_sys_soundcard+:} false; then :
33618 $as_echo_n "(cached) " >&6
33619 else
33620
33621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33622 /* end confdefs.h. */
33623
33624 #include <sys/ioctl.h>
33625 #include <sys/soundcard.h>
33626
33627 int
33628 main ()
33629 {
33630
33631 ioctl(0, SNDCTL_DSP_SPEED, 0);
33632
33633 ;
33634 return 0;
33635 }
33636 _ACEOF
33637 if ac_fn_c_try_link "$LINENO"; then :
33638 ac_cv_header_sys_soundcard=yes
33639 else
33640
33641 saveLibs="$LIBS"
33642 LIBS="$saveLibs -lossaudio"
33643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33644 /* end confdefs.h. */
33645
33646 #include <sys/ioctl.h>
33647 #include <sys/soundcard.h>
33648
33649 int
33650 main ()
33651 {
33652
33653 ioctl(0, SNDCTL_DSP_SPEED, 0);
33654
33655 ;
33656 return 0;
33657 }
33658 _ACEOF
33659 if ac_fn_c_try_link "$LINENO"; then :
33660 ac_cv_header_sys_soundcard=yes
33661 else
33662
33663 LIBS="$saveLibs"
33664 ac_cv_header_sys_soundcard=no
33665
33666
33667 fi
33668 rm -f core conftest.err conftest.$ac_objext \
33669 conftest$ac_exeext conftest.$ac_ext
33670
33671
33672 fi
33673 rm -f core conftest.err conftest.$ac_objext \
33674 conftest$ac_exeext conftest.$ac_ext
33675
33676 fi
33677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33678 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33679
33680 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33681 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33682
33683 fi
33684 fi
33685
33686 WITH_PLUGIN_SDL=0
33687 if test "$wxUSE_SOUND" = "yes"; then
33688 if test "$USE_UNIX" = 1 ; then
33689 if test "$wxUSE_LIBSDL" != "no"; then
33690
33691 # Check whether --with-sdl-prefix was given.
33692 if test "${with_sdl_prefix+set}" = set; then :
33693 withval=$with_sdl_prefix; sdl_prefix="$withval"
33694 else
33695 sdl_prefix=""
33696 fi
33697
33698
33699 # Check whether --with-sdl-exec-prefix was given.
33700 if test "${with_sdl_exec_prefix+set}" = set; then :
33701 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
33702 else
33703 sdl_exec_prefix=""
33704 fi
33705
33706 # Check whether --enable-sdltest was given.
33707 if test "${enable_sdltest+set}" = set; then :
33708 enableval=$enable_sdltest;
33709 else
33710 enable_sdltest=yes
33711 fi
33712
33713
33714 if test x$sdl_exec_prefix != x ; then
33715 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33716 if test x${SDL_CONFIG+set} != xset ; then
33717 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33718 fi
33719 fi
33720 if test x$sdl_prefix != x ; then
33721 sdl_args="$sdl_args --prefix=$sdl_prefix"
33722 if test x${SDL_CONFIG+set} != xset ; then
33723 SDL_CONFIG=$sdl_prefix/bin/sdl-config
33724 fi
33725 fi
33726
33727 if test "x$prefix" != xNONE; then
33728 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33729 fi
33730 # Extract the first word of "sdl-config", so it can be a program name with args.
33731 set dummy sdl-config; ac_word=$2
33732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33733 $as_echo_n "checking for $ac_word... " >&6; }
33734 if ${ac_cv_path_SDL_CONFIG+:} false; then :
33735 $as_echo_n "(cached) " >&6
33736 else
33737 case $SDL_CONFIG in
33738 [\\/]* | ?:[\\/]*)
33739 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33740 ;;
33741 *)
33742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33743 for as_dir in $PATH
33744 do
33745 IFS=$as_save_IFS
33746 test -z "$as_dir" && as_dir=.
33747 for ac_exec_ext in '' $ac_executable_extensions; do
33748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33749 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33751 break 2
33752 fi
33753 done
33754 done
33755 IFS=$as_save_IFS
33756
33757 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33758 ;;
33759 esac
33760 fi
33761 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33762 if test -n "$SDL_CONFIG"; then
33763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33764 $as_echo "$SDL_CONFIG" >&6; }
33765 else
33766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33767 $as_echo "no" >&6; }
33768 fi
33769
33770
33771 min_sdl_version=1.2.0
33772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33773 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33774 no_sdl=""
33775 if test "$SDL_CONFIG" = "no" ; then
33776 no_sdl=yes
33777 else
33778 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33779 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33780
33781 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33782 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33783 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33784 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33785 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33786 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33787 if test "x$enable_sdltest" = "xyes" ; then
33788 ac_save_CFLAGS="$CFLAGS"
33789 ac_save_CXXFLAGS="$CXXFLAGS"
33790 ac_save_LIBS="$LIBS"
33791 CFLAGS="$CFLAGS $SDL_CFLAGS"
33792 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33793 LIBS="$LIBS $SDL_LIBS"
33794 rm -f conf.sdltest
33795 if test "$cross_compiling" = yes; then :
33796 echo $ac_n "cross compiling; assumed OK... $ac_c"
33797 else
33798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33799 /* end confdefs.h. */
33800
33801 #include <stdio.h>
33802 #include <stdlib.h>
33803 #include <string.h>
33804 #include "SDL.h"
33805
33806 char*
33807 my_strdup (char *str)
33808 {
33809 char *new_str;
33810
33811 if (str)
33812 {
33813 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33814 strcpy (new_str, str);
33815 }
33816 else
33817 new_str = NULL;
33818
33819 return new_str;
33820 }
33821
33822 int main (int argc, char *argv[])
33823 {
33824 int major, minor, micro;
33825 char *tmp_version;
33826
33827 /* This hangs on some systems (?)
33828 system ("touch conf.sdltest");
33829 */
33830 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33831
33832 /* HP/UX 9 (%@#!) writes to sscanf strings */
33833 tmp_version = my_strdup("$min_sdl_version");
33834 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33835 printf("%s, bad version string\n", "$min_sdl_version");
33836 exit(1);
33837 }
33838
33839 if (($sdl_major_version > major) ||
33840 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33841 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33842 {
33843 return 0;
33844 }
33845 else
33846 {
33847 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33848 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33849 printf("*** best to upgrade to the required version.\n");
33850 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33851 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33852 printf("*** config.cache before re-running configure\n");
33853 return 1;
33854 }
33855 }
33856
33857
33858 _ACEOF
33859 if ac_fn_c_try_run "$LINENO"; then :
33860
33861 else
33862 no_sdl=yes
33863 fi
33864 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33865 conftest.$ac_objext conftest.beam conftest.$ac_ext
33866 fi
33867
33868 CFLAGS="$ac_save_CFLAGS"
33869 CXXFLAGS="$ac_save_CXXFLAGS"
33870 LIBS="$ac_save_LIBS"
33871 fi
33872 fi
33873 if test "x$no_sdl" = x ; then
33874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33875 $as_echo "yes" >&6; }
33876
33877 EXTRALIBS_SDL="$SDL_LIBS"
33878 CFLAGS="$SDL_CFLAGS $CFLAGS"
33879 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
33880 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33881
33882
33883 else
33884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33885 $as_echo "no" >&6; }
33886 if test "$SDL_CONFIG" = "no" ; then
33887 echo "*** The sdl-config script installed by SDL could not be found"
33888 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33889 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33890 echo "*** full path to sdl-config."
33891 else
33892 if test -f conf.sdltest ; then
33893 :
33894 else
33895 echo "*** Could not run SDL test program, checking why..."
33896 CFLAGS="$CFLAGS $SDL_CFLAGS"
33897 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33898 LIBS="$LIBS $SDL_LIBS"
33899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33900 /* end confdefs.h. */
33901
33902 #include <stdio.h>
33903 #include "SDL.h"
33904
33905 int main(int argc, char *argv[])
33906 { return 0; }
33907 #undef main
33908 #define main K_and_R_C_main
33909
33910 int
33911 main ()
33912 {
33913 return 0;
33914 ;
33915 return 0;
33916 }
33917 _ACEOF
33918 if ac_fn_c_try_link "$LINENO"; then :
33919 echo "*** The test program compiled, but did not run. This usually means"
33920 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33921 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33922 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33923 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33924 echo "*** is required on your system"
33925 echo "***"
33926 echo "*** If you have an old version installed, it is best to remove it, although"
33927 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33928 else
33929 echo "*** The test program failed to compile or link. See the file config.log for the"
33930 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33931 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33932 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33933 fi
33934 rm -f core conftest.err conftest.$ac_objext \
33935 conftest$ac_exeext conftest.$ac_ext
33936 CFLAGS="$ac_save_CFLAGS"
33937 CXXFLAGS="$ac_save_CXXFLAGS"
33938 LIBS="$ac_save_LIBS"
33939 fi
33940 fi
33941 SDL_CFLAGS=""
33942 SDL_LIBS=""
33943 wxUSE_LIBSDL="no"
33944 fi
33945
33946
33947 rm -f conf.sdltest
33948
33949 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33950 WITH_PLUGIN_SDL=1
33951 fi
33952 fi
33953 fi
33954 fi
33955
33956 if test "$wxUSE_SOUND" = "yes"; then
33957 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33958
33959 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33960 fi
33961
33962 if test "$WXGTK2" = 1; then
33963
33964
33965 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33966 if test -n "$ac_tool_prefix"; then
33967 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33968 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33970 $as_echo_n "checking for $ac_word... " >&6; }
33971 if ${ac_cv_path_PKG_CONFIG+:} false; then :
33972 $as_echo_n "(cached) " >&6
33973 else
33974 case $PKG_CONFIG in
33975 [\\/]* | ?:[\\/]*)
33976 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33977 ;;
33978 *)
33979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33980 for as_dir in $PATH
33981 do
33982 IFS=$as_save_IFS
33983 test -z "$as_dir" && as_dir=.
33984 for ac_exec_ext in '' $ac_executable_extensions; do
33985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33986 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33988 break 2
33989 fi
33990 done
33991 done
33992 IFS=$as_save_IFS
33993
33994 ;;
33995 esac
33996 fi
33997 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33998 if test -n "$PKG_CONFIG"; then
33999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
34000 $as_echo "$PKG_CONFIG" >&6; }
34001 else
34002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34003 $as_echo "no" >&6; }
34004 fi
34005
34006
34007 fi
34008 if test -z "$ac_cv_path_PKG_CONFIG"; then
34009 ac_pt_PKG_CONFIG=$PKG_CONFIG
34010 # Extract the first word of "pkg-config", so it can be a program name with args.
34011 set dummy pkg-config; ac_word=$2
34012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
34013 $as_echo_n "checking for $ac_word... " >&6; }
34014 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
34015 $as_echo_n "(cached) " >&6
34016 else
34017 case $ac_pt_PKG_CONFIG in
34018 [\\/]* | ?:[\\/]*)
34019 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34020 ;;
34021 *)
34022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34023 for as_dir in $PATH
34024 do
34025 IFS=$as_save_IFS
34026 test -z "$as_dir" && as_dir=.
34027 for ac_exec_ext in '' $ac_executable_extensions; do
34028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34029 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34031 break 2
34032 fi
34033 done
34034 done
34035 IFS=$as_save_IFS
34036
34037 ;;
34038 esac
34039 fi
34040 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
34041 if test -n "$ac_pt_PKG_CONFIG"; then
34042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
34043 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
34044 else
34045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34046 $as_echo "no" >&6; }
34047 fi
34048
34049 if test "x$ac_pt_PKG_CONFIG" = x; then
34050 PKG_CONFIG=""
34051 else
34052 case $cross_compiling:$ac_tool_warned in
34053 yes:)
34054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
34055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
34056 ac_tool_warned=yes ;;
34057 esac
34058 PKG_CONFIG=$ac_pt_PKG_CONFIG
34059 fi
34060 else
34061 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
34062 fi
34063
34064 fi
34065 if test -n "$PKG_CONFIG"; then
34066 _pkg_min_version=0.9.0
34067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
34068 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
34069 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34071 $as_echo "yes" >&6; }
34072 else
34073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34074 $as_echo "no" >&6; }
34075 PKG_CONFIG=""
34076 fi
34077
34078 fi
34079
34080 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34081
34082 if test "$wxUSE_GTKPRINT" = "yes" ; then
34083 if test "$WXGTK3" = 1; then
34084 gtk_unix_print="gtk+-unix-print-3.0"
34085 else
34086 gtk_unix_print="gtk+-unix-print-2.0 >= 2.10"
34087 fi
34088
34089 pkg_failed=no
34090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
34091 $as_echo_n "checking for GTKPRINT... " >&6; }
34092
34093 if test -n "$PKG_CONFIG"; then
34094 if test -n "$GTKPRINT_CFLAGS"; then
34095 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
34096 else
34097 if test -n "$PKG_CONFIG" && \
34098 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34099 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34100 ac_status=$?
34101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34102 test $ac_status = 0; }; then
34103 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
34104 else
34105 pkg_failed=yes
34106 fi
34107 fi
34108 else
34109 pkg_failed=untried
34110 fi
34111 if test -n "$PKG_CONFIG"; then
34112 if test -n "$GTKPRINT_LIBS"; then
34113 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
34114 else
34115 if test -n "$PKG_CONFIG" && \
34116 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34117 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34118 ac_status=$?
34119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34120 test $ac_status = 0; }; then
34121 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
34122 else
34123 pkg_failed=yes
34124 fi
34125 fi
34126 else
34127 pkg_failed=untried
34128 fi
34129
34130
34131
34132 if test $pkg_failed = yes; then
34133
34134 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34135 _pkg_short_errors_supported=yes
34136 else
34137 _pkg_short_errors_supported=no
34138 fi
34139 if test $_pkg_short_errors_supported = yes; then
34140 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
34141 else
34142 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
34143 fi
34144 # Put the nasty error message in config.log where it belongs
34145 echo "$GTKPRINT_PKG_ERRORS" >&5
34146
34147
34148 { $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
34149 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34150 wxUSE_GTKPRINT="no"
34151
34152
34153 elif test $pkg_failed = untried; then
34154
34155 { $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
34156 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34157 wxUSE_GTKPRINT="no"
34158
34159
34160 else
34161 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
34162 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
34163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34164 $as_echo "yes" >&6; }
34165
34166 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
34167 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
34168 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
34169 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
34170
34171
34172 fi
34173 fi
34174
34175 if test "$WXGTK3" = 1; then
34176 wxUSE_LIBGNOMEPRINT=no
34177 fi
34178
34179 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34180
34181
34182 pkg_failed=no
34183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
34184 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
34185
34186 if test -n "$PKG_CONFIG"; then
34187 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
34188 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
34189 else
34190 if test -n "$PKG_CONFIG" && \
34191 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34192 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34193 ac_status=$?
34194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34195 test $ac_status = 0; }; then
34196 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34197 else
34198 pkg_failed=yes
34199 fi
34200 fi
34201 else
34202 pkg_failed=untried
34203 fi
34204 if test -n "$PKG_CONFIG"; then
34205 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
34206 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
34207 else
34208 if test -n "$PKG_CONFIG" && \
34209 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34210 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34211 ac_status=$?
34212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34213 test $ac_status = 0; }; then
34214 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34215 else
34216 pkg_failed=yes
34217 fi
34218 fi
34219 else
34220 pkg_failed=untried
34221 fi
34222
34223
34224
34225 if test $pkg_failed = yes; then
34226
34227 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34228 _pkg_short_errors_supported=yes
34229 else
34230 _pkg_short_errors_supported=no
34231 fi
34232 if test $_pkg_short_errors_supported = yes; then
34233 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34234 else
34235 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34236 fi
34237 # Put the nasty error message in config.log where it belongs
34238 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
34239
34240
34241 if test "$wxUSE_GTKPRINT" = yes; then
34242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34243 $as_echo "no" >&6; }
34244 else
34245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34246 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34247 fi
34248 wxUSE_LIBGNOMEPRINT="no"
34249
34250
34251 elif test $pkg_failed = untried; then
34252
34253 if test "$wxUSE_GTKPRINT" = yes; then
34254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34255 $as_echo "no" >&6; }
34256 else
34257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34258 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34259 fi
34260 wxUSE_LIBGNOMEPRINT="no"
34261
34262
34263 else
34264 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
34265 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
34266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34267 $as_echo "yes" >&6; }
34268
34269 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
34270 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
34271 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
34272 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
34273
34274
34275 fi
34276 fi
34277 fi
34278
34279 if test "$wxUSE_MIMETYPE" = "yes" ; then
34280 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
34281
34282
34283 pkg_failed=no
34284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
34285 $as_echo_n "checking for GNOMEVFS... " >&6; }
34286
34287 if test -n "$PKG_CONFIG"; then
34288 if test -n "$GNOMEVFS_CFLAGS"; then
34289 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
34290 else
34291 if test -n "$PKG_CONFIG" && \
34292 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34293 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34294 ac_status=$?
34295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34296 test $ac_status = 0; }; then
34297 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34298 else
34299 pkg_failed=yes
34300 fi
34301 fi
34302 else
34303 pkg_failed=untried
34304 fi
34305 if test -n "$PKG_CONFIG"; then
34306 if test -n "$GNOMEVFS_LIBS"; then
34307 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
34308 else
34309 if test -n "$PKG_CONFIG" && \
34310 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34311 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34312 ac_status=$?
34313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34314 test $ac_status = 0; }; then
34315 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34316 else
34317 pkg_failed=yes
34318 fi
34319 fi
34320 else
34321 pkg_failed=untried
34322 fi
34323
34324
34325
34326 if test $pkg_failed = yes; then
34327
34328 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34329 _pkg_short_errors_supported=yes
34330 else
34331 _pkg_short_errors_supported=no
34332 fi
34333 if test $_pkg_short_errors_supported = yes; then
34334 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34335 else
34336 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34337 fi
34338 # Put the nasty error message in config.log where it belongs
34339 echo "$GNOMEVFS_PKG_ERRORS" >&5
34340
34341
34342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34343 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34344 wxUSE_LIBGNOMEVFS="no"
34345
34346
34347 elif test $pkg_failed = untried; then
34348
34349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34350 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34351 wxUSE_LIBGNOMEVFS="no"
34352
34353
34354 else
34355 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
34356 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
34357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34358 $as_echo "yes" >&6; }
34359
34360 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34361 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
34362 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
34363 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34364
34365
34366 fi
34367 fi
34368 fi
34369
34370 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34371 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34372 HAVE_LIBNOTIFY=0
34373
34374 pkg_failed=no
34375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34376 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34377
34378 if test -n "$PKG_CONFIG"; then
34379 if test -n "$LIBNOTIFY_CFLAGS"; then
34380 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34381 else
34382 if test -n "$PKG_CONFIG" && \
34383 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34384 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34385 ac_status=$?
34386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34387 test $ac_status = 0; }; then
34388 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34389 else
34390 pkg_failed=yes
34391 fi
34392 fi
34393 else
34394 pkg_failed=untried
34395 fi
34396 if test -n "$PKG_CONFIG"; then
34397 if test -n "$LIBNOTIFY_LIBS"; then
34398 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34399 else
34400 if test -n "$PKG_CONFIG" && \
34401 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34402 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34403 ac_status=$?
34404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34405 test $ac_status = 0; }; then
34406 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34407 else
34408 pkg_failed=yes
34409 fi
34410 fi
34411 else
34412 pkg_failed=untried
34413 fi
34414
34415
34416
34417 if test $pkg_failed = yes; then
34418
34419 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34420 _pkg_short_errors_supported=yes
34421 else
34422 _pkg_short_errors_supported=no
34423 fi
34424 if test $_pkg_short_errors_supported = yes; then
34425 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34426 else
34427 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34428 fi
34429 # Put the nasty error message in config.log where it belongs
34430 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34431
34432
34433
34434 pkg_failed=no
34435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34436 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34437
34438 if test -n "$PKG_CONFIG"; then
34439 if test -n "$LIBNOTIFY_CFLAGS"; then
34440 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34441 else
34442 if test -n "$PKG_CONFIG" && \
34443 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34444 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34445 ac_status=$?
34446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34447 test $ac_status = 0; }; then
34448 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34449 else
34450 pkg_failed=yes
34451 fi
34452 fi
34453 else
34454 pkg_failed=untried
34455 fi
34456 if test -n "$PKG_CONFIG"; then
34457 if test -n "$LIBNOTIFY_LIBS"; then
34458 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34459 else
34460 if test -n "$PKG_CONFIG" && \
34461 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34462 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34463 ac_status=$?
34464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34465 test $ac_status = 0; }; then
34466 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34467 else
34468 pkg_failed=yes
34469 fi
34470 fi
34471 else
34472 pkg_failed=untried
34473 fi
34474
34475
34476
34477 if test $pkg_failed = yes; then
34478
34479 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34480 _pkg_short_errors_supported=yes
34481 else
34482 _pkg_short_errors_supported=no
34483 fi
34484 if test $_pkg_short_errors_supported = yes; then
34485 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34486 else
34487 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34488 fi
34489 # Put the nasty error message in config.log where it belongs
34490 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34491
34492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34493 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34494
34495 elif test $pkg_failed = untried; then
34496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34497 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34498
34499 else
34500 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34501 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34503 $as_echo "yes" >&6; }
34504 HAVE_LIBNOTIFY=1
34505 fi
34506
34507
34508 elif test $pkg_failed = untried; then
34509
34510
34511 pkg_failed=no
34512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34513 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34514
34515 if test -n "$PKG_CONFIG"; then
34516 if test -n "$LIBNOTIFY_CFLAGS"; then
34517 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34518 else
34519 if test -n "$PKG_CONFIG" && \
34520 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34521 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34522 ac_status=$?
34523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34524 test $ac_status = 0; }; then
34525 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34526 else
34527 pkg_failed=yes
34528 fi
34529 fi
34530 else
34531 pkg_failed=untried
34532 fi
34533 if test -n "$PKG_CONFIG"; then
34534 if test -n "$LIBNOTIFY_LIBS"; then
34535 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34536 else
34537 if test -n "$PKG_CONFIG" && \
34538 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34539 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34540 ac_status=$?
34541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34542 test $ac_status = 0; }; then
34543 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34544 else
34545 pkg_failed=yes
34546 fi
34547 fi
34548 else
34549 pkg_failed=untried
34550 fi
34551
34552
34553
34554 if test $pkg_failed = yes; then
34555
34556 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34557 _pkg_short_errors_supported=yes
34558 else
34559 _pkg_short_errors_supported=no
34560 fi
34561 if test $_pkg_short_errors_supported = yes; then
34562 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34563 else
34564 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34565 fi
34566 # Put the nasty error message in config.log where it belongs
34567 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34568
34569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34570 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34571
34572 elif test $pkg_failed = untried; then
34573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34574 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34575
34576 else
34577 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34578 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34580 $as_echo "yes" >&6; }
34581 HAVE_LIBNOTIFY=1
34582 fi
34583
34584
34585 else
34586 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34587 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34589 $as_echo "yes" >&6; }
34590
34591 HAVE_LIBNOTIFY=1
34592 $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34593
34594
34595 fi
34596
34597 if test "$HAVE_LIBNOTIFY" = "1" ; then
34598 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34599 CFLAGS="$LIBNOTIFY_CFLAGS $CFLAGS"
34600 CXXFLAGS="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34601 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34602
34603 fi
34604 fi
34605 fi
34606
34607 if test "$wxUSE_LIBHILDON" = "yes" ; then
34608
34609 pkg_failed=no
34610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34611 $as_echo_n "checking for HILDON... " >&6; }
34612
34613 if test -n "$PKG_CONFIG"; then
34614 if test -n "$HILDON_CFLAGS"; then
34615 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
34616 else
34617 if test -n "$PKG_CONFIG" && \
34618 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34619 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34620 ac_status=$?
34621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34622 test $ac_status = 0; }; then
34623 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34624 else
34625 pkg_failed=yes
34626 fi
34627 fi
34628 else
34629 pkg_failed=untried
34630 fi
34631 if test -n "$PKG_CONFIG"; then
34632 if test -n "$HILDON_LIBS"; then
34633 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
34634 else
34635 if test -n "$PKG_CONFIG" && \
34636 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34637 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34638 ac_status=$?
34639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34640 test $ac_status = 0; }; then
34641 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34642 else
34643 pkg_failed=yes
34644 fi
34645 fi
34646 else
34647 pkg_failed=untried
34648 fi
34649
34650
34651
34652 if test $pkg_failed = yes; then
34653
34654 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34655 _pkg_short_errors_supported=yes
34656 else
34657 _pkg_short_errors_supported=no
34658 fi
34659 if test $_pkg_short_errors_supported = yes; then
34660 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34661 else
34662 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34663 fi
34664 # Put the nasty error message in config.log where it belongs
34665 echo "$HILDON_PKG_ERRORS" >&5
34666
34667
34668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34669 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34670 wxUSE_LIBHILDON="no"
34671 ac_hildon_lgpl=0
34672
34673
34674 elif test $pkg_failed = untried; then
34675
34676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34677 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34678 wxUSE_LIBHILDON="no"
34679 ac_hildon_lgpl=0
34680
34681
34682 else
34683 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
34684 HILDON_LIBS=$pkg_cv_HILDON_LIBS
34685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34686 $as_echo "yes" >&6; }
34687
34688 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON_LIBS"
34689 CFLAGS="$CFLAGS $HILDON_CFLAGS"
34690 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
34691 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34692
34693 ac_hildon_lgpl=1
34694
34695 fi
34696
34697 if test "$ac_hildon_lgpl" = 0 ; then
34698
34699 pkg_failed=no
34700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34701 $as_echo_n "checking for HILDON2... " >&6; }
34702
34703 if test -n "$PKG_CONFIG"; then
34704 if test -n "$HILDON2_CFLAGS"; then
34705 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
34706 else
34707 if test -n "$PKG_CONFIG" && \
34708 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34709 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34710 ac_status=$?
34711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34712 test $ac_status = 0; }; then
34713 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34714 else
34715 pkg_failed=yes
34716 fi
34717 fi
34718 else
34719 pkg_failed=untried
34720 fi
34721 if test -n "$PKG_CONFIG"; then
34722 if test -n "$HILDON2_LIBS"; then
34723 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
34724 else
34725 if test -n "$PKG_CONFIG" && \
34726 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34727 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34728 ac_status=$?
34729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34730 test $ac_status = 0; }; then
34731 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34732 else
34733 pkg_failed=yes
34734 fi
34735 fi
34736 else
34737 pkg_failed=untried
34738 fi
34739
34740
34741
34742 if test $pkg_failed = yes; then
34743
34744 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34745 _pkg_short_errors_supported=yes
34746 else
34747 _pkg_short_errors_supported=no
34748 fi
34749 if test $_pkg_short_errors_supported = yes; then
34750 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34751 else
34752 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34753 fi
34754 # Put the nasty error message in config.log where it belongs
34755 echo "$HILDON2_PKG_ERRORS" >&5
34756
34757
34758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34759 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34760 wxUSE_LIBHILDON2="no"
34761
34762
34763 elif test $pkg_failed = untried; then
34764
34765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34766 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34767 wxUSE_LIBHILDON2="no"
34768
34769
34770 else
34771 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
34772 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
34773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34774 $as_echo "yes" >&6; }
34775
34776 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON2_LIBS"
34777 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
34778 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
34779 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34780
34781
34782 fi
34783 fi
34784 fi
34785 fi
34786
34787 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34788 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34789
34790 fi
34791
34792 if test "$wxUSE_STOPWATCH" = "yes"; then
34793 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34794
34795 fi
34796
34797 if test "$wxUSE_DATETIME" = "yes"; then
34798 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34799
34800 fi
34801
34802 if test "$wxUSE_FILE" = "yes"; then
34803 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34804
34805 fi
34806
34807 if test "$wxUSE_FFILE" = "yes"; then
34808 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34809
34810 fi
34811
34812 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34813 if test "$wxUSE_STREAMS" != yes; then
34814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34815 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34816 wxUSE_ARCHIVE_STREAMS=no
34817 else
34818 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34819
34820 fi
34821 fi
34822
34823 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34824 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34826 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34827 elif test "$wxUSE_ZLIB" = "no"; then
34828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34829 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34830 else
34831 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34832
34833 fi
34834 fi
34835
34836 if test "$wxUSE_TARSTREAM" = "yes"; then
34837 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34839 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34840 else
34841 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34842
34843 fi
34844 fi
34845
34846 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34847 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34848
34849 fi
34850
34851 if test "$wxUSE_FILESYSTEM" = "yes"; then
34852 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
34853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34854 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34855 wxUSE_FILESYSTEM=no
34856 else
34857 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34858
34859 fi
34860 fi
34861
34862 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34863 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34865 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34866 else
34867 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34868
34869 fi
34870 fi
34871
34872 if test "$wxUSE_FS_ZIP" = "yes"; then
34873 if test "$wxUSE_FS_ARCHIVE" != yes; then
34874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34875 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34876 else
34877 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34878
34879 fi
34880 fi
34881
34882 if test "$wxUSE_FSVOLUME" = "yes"; then
34883 $as_echo "#define wxUSE_FSVOLUME 1" >>confdefs.h
34884
34885 fi
34886
34887 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34888 if test "$USE_UNIX" != 1; then
34889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34890 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34891 wxUSE_ON_FATAL_EXCEPTION=no
34892 else
34893 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34894
34895 fi
34896 fi
34897
34898 if test "$wxUSE_STACKWALKER" = "yes"; then
34899 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34900
34901 fi
34902
34903 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34904 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34906 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34907 wxUSE_DEBUGREPORT=no
34908 else
34909 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34910
34911 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34912 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
34913 fi
34914 fi
34915 fi
34916
34917 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34918 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34919
34920 fi
34921
34922 if test "$wxUSE_BUSYINFO" = "yes"; then
34923 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34924
34925 fi
34926
34927 if test "$wxUSE_HOTKEY" = "yes"; then
34928 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34930 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34931 wxUSE_HOTKEY=no
34932 fi
34933 elif test "$wxUSE_HOTKEY" = "auto"; then
34934 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34935 wxUSE_HOTKEY=yes
34936 fi
34937 fi
34938 if test "$wxUSE_HOTKEY" = "yes"; then
34939 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34940
34941 fi
34942
34943 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34944 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34945
34946 fi
34947
34948 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34949 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34950
34951 fi
34952
34953 if test "$wxUSE_STD_STRING" = "yes"; then
34954 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34955
34956 fi
34957
34958 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34959 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34960
34961 fi
34962
34963 if test "$wxUSE_STDPATHS" = "yes"; then
34964 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34965
34966 fi
34967
34968 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34969 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34970
34971 fi
34972
34973 if test "$wxUSE_TEXTFILE" = "yes"; then
34974 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34976 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34977 else
34978 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34979
34980 fi
34981 fi
34982
34983 if test "$wxUSE_CONFIG" = "yes" ; then
34984 if test "$wxUSE_TEXTFILE" != "yes"; then
34985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34986 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34987 else
34988 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34989
34990 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34991
34992 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34993 fi
34994 fi
34995
34996 if test "$wxUSE_INTL" = "yes" ; then
34997 if test "$wxUSE_FILE" != "yes"; then
34998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34999 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35000 else
35001 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
35002
35003 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
35004 GUIDIST="$GUIDIST INTL_DIST"
35005 fi
35006 fi
35007
35008 if test "$wxUSE_XLOCALE" = "yes" ; then
35009 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
35010
35011 ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
35012 #include <locale.h>
35013 "
35014 if test "x$ac_cv_type_locale_t" = xyes; then :
35015
35016 cat >>confdefs.h <<_ACEOF
35017 #define HAVE_LOCALE_T 1
35018 _ACEOF
35019
35020
35021 fi
35022
35023 fi
35024
35025 if test "$wxUSE_LOG" = "yes"; then
35026 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
35027
35028
35029 if test "$wxUSE_LOGGUI" = "yes"; then
35030 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
35031
35032 fi
35033
35034 if test "$wxUSE_LOGWINDOW" = "yes"; then
35035 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
35036
35037 fi
35038
35039 if test "$wxUSE_LOGDIALOG" = "yes"; then
35040 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
35041
35042 fi
35043
35044 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
35045 fi
35046
35047 if test "$wxUSE_LONGLONG" = "yes"; then
35048 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
35049
35050 fi
35051
35052 if test "$wxUSE_GEOMETRY" = "yes"; then
35053 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
35054
35055 fi
35056
35057 if test "$wxUSE_BASE64" = "yes"; then
35058 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
35059
35060 fi
35061
35062 if test "$wxUSE_STREAMS" = "yes" ; then
35063 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
35064
35065 fi
35066
35067 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35068 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
35069
35070 fi
35071
35072 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
35073 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
35074
35075 fi
35076
35077
35078 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
35079 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
35080
35081
35082 if test "$wxUSE_UNIX" = "yes"; then
35083 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
35084 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
35085
35086 fi
35087
35088 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
35089 for ac_header in sys/epoll.h
35090 do :
35091 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
35092 "
35093 if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
35094 cat >>confdefs.h <<_ACEOF
35095 #define HAVE_SYS_EPOLL_H 1
35096 _ACEOF
35097
35098 fi
35099
35100 done
35101
35102 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
35103 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
35104
35105 else
35106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
35107 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
35108 fi
35109 fi
35110 fi
35111 fi
35112
35113
35114 for ac_func in gettimeofday ftime
35115 do :
35116 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35117 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35118 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
35119 cat >>confdefs.h <<_ACEOF
35120 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35121 _ACEOF
35122 break
35123 fi
35124 done
35125
35126
35127 if test "$ac_cv_func_gettimeofday" = "yes"; then
35128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
35129 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
35130 if ${wx_cv_func_gettimeofday_has_2_args+:} false; then :
35131 $as_echo_n "(cached) " >&6
35132 else
35133
35134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35135 /* end confdefs.h. */
35136
35137 #include <sys/time.h>
35138 #include <unistd.h>
35139
35140 int
35141 main ()
35142 {
35143
35144 struct timeval tv;
35145 gettimeofday(&tv, NULL);
35146
35147 ;
35148 return 0;
35149 }
35150 _ACEOF
35151 if ac_fn_c_try_compile "$LINENO"; then :
35152 wx_cv_func_gettimeofday_has_2_args=yes
35153 else
35154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35155 /* end confdefs.h. */
35156
35157 #include <sys/time.h>
35158 #include <unistd.h>
35159
35160 int
35161 main ()
35162 {
35163
35164 struct timeval tv;
35165 gettimeofday(&tv);
35166
35167 ;
35168 return 0;
35169 }
35170 _ACEOF
35171 if ac_fn_c_try_compile "$LINENO"; then :
35172 wx_cv_func_gettimeofday_has_2_args=no
35173 else
35174
35175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
35176 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35177 wx_cv_func_gettimeofday_has_2_args=unknown
35178
35179
35180 fi
35181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35182
35183 fi
35184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35185
35186 fi
35187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35188 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
35189
35190 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35191 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
35192
35193 fi
35194 fi
35195
35196 if test "$wxUSE_DATETIME" = "yes"; then
35197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
35198 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
35199 if ${wx_cv_var_timezone+:} false; then :
35200 $as_echo_n "(cached) " >&6
35201 else
35202
35203 ac_ext=cpp
35204 ac_cpp='$CXXCPP $CPPFLAGS'
35205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35208
35209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35210 /* end confdefs.h. */
35211
35212 #include <time.h>
35213
35214 int
35215 main ()
35216 {
35217
35218 int tz;
35219 tz = timezone;
35220
35221 ;
35222 return 0;
35223 }
35224 _ACEOF
35225 if ac_fn_cxx_try_compile "$LINENO"; then :
35226
35227 wx_cv_var_timezone=timezone
35228
35229 else
35230
35231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35232 /* end confdefs.h. */
35233
35234 #include <time.h>
35235
35236 int
35237 main ()
35238 {
35239
35240 int tz;
35241 tz = _timezone;
35242
35243 ;
35244 return 0;
35245 }
35246 _ACEOF
35247 if ac_fn_cxx_try_compile "$LINENO"; then :
35248
35249 wx_cv_var_timezone=_timezone
35250
35251 else
35252
35253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35254 /* end confdefs.h. */
35255
35256 #include <time.h>
35257
35258 int
35259 main ()
35260 {
35261
35262 int tz;
35263 tz = __timezone;
35264
35265 ;
35266 return 0;
35267 }
35268 _ACEOF
35269 if ac_fn_cxx_try_compile "$LINENO"; then :
35270
35271 wx_cv_var_timezone=__timezone
35272
35273 else
35274
35275 if test "$USE_DOS" = 0 ; then
35276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
35277 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
35278 fi
35279
35280
35281 fi
35282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35283
35284
35285 fi
35286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35287
35288
35289 fi
35290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35291 ac_ext=c
35292 ac_cpp='$CPP $CPPFLAGS'
35293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35296
35297
35298
35299 fi
35300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
35301 $as_echo "$wx_cv_var_timezone" >&6; }
35302
35303 if test "x$wx_cv_var_timezone" != x ; then
35304 cat >>confdefs.h <<_ACEOF
35305 #define WX_TIMEZONE $wx_cv_var_timezone
35306 _ACEOF
35307
35308 fi
35309
35310 for ac_func in localtime
35311 do :
35312 ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
35313 if test "x$ac_cv_func_localtime" = xyes; then :
35314 cat >>confdefs.h <<_ACEOF
35315 #define HAVE_LOCALTIME 1
35316 _ACEOF
35317
35318 fi
35319 done
35320
35321
35322 if test "$ac_cv_func_localtime" = "yes"; then
35323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
35324 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
35325 if ${wx_cv_struct_tm_has_gmtoff+:} false; then :
35326 $as_echo_n "(cached) " >&6
35327 else
35328
35329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35330 /* end confdefs.h. */
35331
35332 #include <time.h>
35333
35334 int
35335 main ()
35336 {
35337
35338 struct tm tm;
35339 tm.tm_gmtoff++;
35340
35341 ;
35342 return 0;
35343 }
35344 _ACEOF
35345 if ac_fn_c_try_compile "$LINENO"; then :
35346
35347 wx_cv_struct_tm_has_gmtoff=yes
35348
35349 else
35350 wx_cv_struct_tm_has_gmtoff=no
35351
35352 fi
35353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35354
35355 fi
35356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35357 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35358 fi
35359
35360 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35361 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35362
35363 fi
35364
35365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35366 fi
35367
35368
35369 for ac_func in setpriority
35370 do :
35371 ac_fn_c_check_func "$LINENO" "setpriority" "ac_cv_func_setpriority"
35372 if test "x$ac_cv_func_setpriority" = xyes; then :
35373 cat >>confdefs.h <<_ACEOF
35374 #define HAVE_SETPRIORITY 1
35375 _ACEOF
35376
35377 fi
35378 done
35379
35380
35381
35382 if test "$wxUSE_SOCKETS" = "yes"; then
35383 if test "$TOOLKIT" != "MSW"; then
35384 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
35385 if test "x$ac_cv_func_socket" = xyes; then :
35386
35387 else
35388
35389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35390 $as_echo_n "checking for socket in -lsocket... " >&6; }
35391 if ${ac_cv_lib_socket_socket+:} false; then :
35392 $as_echo_n "(cached) " >&6
35393 else
35394 ac_check_lib_save_LIBS=$LIBS
35395 LIBS="-lsocket $LIBS"
35396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35397 /* end confdefs.h. */
35398
35399 /* Override any GCC internal prototype to avoid an error.
35400 Use char because int might match the return type of a GCC
35401 builtin and then its argument prototype would still apply. */
35402 #ifdef __cplusplus
35403 extern "C"
35404 #endif
35405 char socket ();
35406 int
35407 main ()
35408 {
35409 return socket ();
35410 ;
35411 return 0;
35412 }
35413 _ACEOF
35414 if ac_fn_c_try_link "$LINENO"; then :
35415 ac_cv_lib_socket_socket=yes
35416 else
35417 ac_cv_lib_socket_socket=no
35418 fi
35419 rm -f core conftest.err conftest.$ac_objext \
35420 conftest$ac_exeext conftest.$ac_ext
35421 LIBS=$ac_check_lib_save_LIBS
35422 fi
35423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35424 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35425 if test "x$ac_cv_lib_socket_socket" = xyes; then :
35426 if test "$INET_LINK" != " -lsocket"; then
35427 INET_LINK="$INET_LINK -lsocket"
35428 fi
35429 else
35430
35431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35432 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35433 wxUSE_SOCKETS=no
35434
35435
35436 fi
35437
35438
35439
35440 fi
35441
35442 fi
35443 fi
35444
35445 if test "$wxUSE_SOCKETS" = "yes" ; then
35446 if test "$TOOLKIT" != "MSW"; then
35447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35448 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35449 if ${wx_cv_type_getsockname3+:} false; then :
35450 $as_echo_n "(cached) " >&6
35451 else
35452
35453 ac_ext=cpp
35454 ac_cpp='$CXXCPP $CPPFLAGS'
35455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35458
35459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35460 /* end confdefs.h. */
35461
35462 #include <sys/types.h>
35463 #include <sys/socket.h>
35464
35465 int
35466 main ()
35467 {
35468
35469 socklen_t len;
35470 getsockname(0, 0, &len);
35471
35472 ;
35473 return 0;
35474 }
35475 _ACEOF
35476 if ac_fn_cxx_try_compile "$LINENO"; then :
35477 wx_cv_type_getsockname3=socklen_t
35478 else
35479
35480 CFLAGS_OLD="$CFLAGS"
35481 if test "$GCC" = yes ; then
35482 CFLAGS="-Werror $CFLAGS"
35483 fi
35484
35485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35486 /* end confdefs.h. */
35487
35488 #include <sys/types.h>
35489 #include <sys/socket.h>
35490
35491 int
35492 main ()
35493 {
35494
35495 size_t len;
35496 getsockname(0, 0, &len);
35497
35498 ;
35499 return 0;
35500 }
35501 _ACEOF
35502 if ac_fn_cxx_try_compile "$LINENO"; then :
35503 wx_cv_type_getsockname3=size_t
35504 else
35505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35506 /* end confdefs.h. */
35507
35508 #include <sys/types.h>
35509 #include <sys/socket.h>
35510
35511 int
35512 main ()
35513 {
35514
35515 int len;
35516 getsockname(0, 0, &len);
35517
35518 ;
35519 return 0;
35520 }
35521 _ACEOF
35522 if ac_fn_cxx_try_compile "$LINENO"; then :
35523 wx_cv_type_getsockname3=int
35524 else
35525 wx_cv_type_getsockname3=unknown
35526
35527 fi
35528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35529
35530 fi
35531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35532
35533 CFLAGS="$CFLAGS_OLD"
35534
35535
35536 fi
35537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35538 ac_ext=c
35539 ac_cpp='$CPP $CPPFLAGS'
35540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35543
35544
35545 fi
35546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35547 $as_echo "$wx_cv_type_getsockname3" >&6; }
35548
35549 if test "$wx_cv_type_getsockname3" = "unknown"; then
35550 wxUSE_SOCKETS=no
35551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35552 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35553 else
35554 cat >>confdefs.h <<_ACEOF
35555 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35556 _ACEOF
35557
35558 fi
35559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35560 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35561 if ${wx_cv_type_getsockopt5+:} false; then :
35562 $as_echo_n "(cached) " >&6
35563 else
35564
35565 ac_ext=cpp
35566 ac_cpp='$CXXCPP $CPPFLAGS'
35567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35570
35571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35572 /* end confdefs.h. */
35573
35574 #include <sys/types.h>
35575 #include <sys/socket.h>
35576
35577 int
35578 main ()
35579 {
35580
35581 socklen_t len;
35582 getsockopt(0, 0, 0, 0, &len);
35583
35584 ;
35585 return 0;
35586 }
35587 _ACEOF
35588 if ac_fn_cxx_try_compile "$LINENO"; then :
35589 wx_cv_type_getsockopt5=socklen_t
35590 else
35591
35592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35593 /* end confdefs.h. */
35594
35595 #include <sys/types.h>
35596 #include <sys/socket.h>
35597
35598 int
35599 main ()
35600 {
35601
35602 size_t len;
35603 getsockopt(0, 0, 0, 0, &len);
35604
35605 ;
35606 return 0;
35607 }
35608 _ACEOF
35609 if ac_fn_cxx_try_compile "$LINENO"; then :
35610 wx_cv_type_getsockopt5=size_t
35611 else
35612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35613 /* end confdefs.h. */
35614
35615 #include <sys/types.h>
35616 #include <sys/socket.h>
35617
35618 int
35619 main ()
35620 {
35621
35622 int len;
35623 getsockopt(0, 0, 0, 0, &len);
35624
35625 ;
35626 return 0;
35627 }
35628 _ACEOF
35629 if ac_fn_cxx_try_compile "$LINENO"; then :
35630 wx_cv_type_getsockopt5=int
35631 else
35632 wx_cv_type_getsockopt5=unknown
35633
35634 fi
35635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35636
35637 fi
35638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35639
35640
35641 fi
35642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35643 ac_ext=c
35644 ac_cpp='$CPP $CPPFLAGS'
35645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35648
35649
35650 fi
35651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35652 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35653
35654 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35655 wxUSE_SOCKETS=no
35656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35657 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35658 else
35659 cat >>confdefs.h <<_ACEOF
35660 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35661 _ACEOF
35662
35663 fi
35664 fi
35665 fi
35666
35667 if test "$wxUSE_SOCKETS" = "yes" ; then
35668 if test "$wxUSE_IPV6" = "yes"; then
35669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35670 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35671 if ${wx_cv_type_sockaddr_in6+:} false; then :
35672 $as_echo_n "(cached) " >&6
35673 else
35674
35675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35676 /* end confdefs.h. */
35677
35678 #include <sys/types.h>
35679 #include <sys/socket.h>
35680 #include <netinet/in.h>
35681
35682 int
35683 main ()
35684 {
35685
35686 struct sockaddr_in6 sa6;
35687
35688 ;
35689 return 0;
35690 }
35691 _ACEOF
35692 if ac_fn_c_try_compile "$LINENO"; then :
35693 wx_cv_type_sockaddr_in6=yes
35694 else
35695 wx_cv_type_sockaddr_in6=no
35696
35697 fi
35698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35699
35700
35701 fi
35702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35703 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35704
35705 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35706 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35707
35708 else
35709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35710 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35711 fi
35712 fi
35713
35714 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35715
35716 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35717 fi
35718
35719 if test "$wxUSE_PROTOCOL" = "yes"; then
35720 if test "$wxUSE_SOCKETS" != "yes"; then
35721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35722 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35723 wxUSE_PROTOCOL=no
35724 fi
35725 fi
35726
35727 if test "$wxUSE_PROTOCOL" = "yes"; then
35728 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35729
35730
35731 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35732 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35733
35734 fi
35735 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35736 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35737
35738 fi
35739 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35740 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35741
35742 fi
35743 else
35744 if test "$wxUSE_FS_INET" = "yes"; then
35745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35746 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35747 wxUSE_FS_INET="no"
35748 fi
35749 fi
35750
35751 if test "$wxUSE_URL" = "yes"; then
35752 if test "$wxUSE_PROTOCOL" != "yes"; then
35753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35754 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35755 wxUSE_URL=no
35756 fi
35757 if test "$wxUSE_URL" = "yes"; then
35758 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35759
35760 fi
35761 fi
35762
35763 if test "$wxUSE_VARIANT" = "yes"; then
35764 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35765
35766 fi
35767
35768 if test "$wxUSE_FS_INET" = "yes"; then
35769 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35770
35771 fi
35772
35773
35774 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35775 wxUSE_JOYSTICK=no
35776
35777 if test "$TOOLKIT" = "MSW"; then
35778 wxUSE_JOYSTICK=yes
35779
35780 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35781 if test "$USE_DARWIN" = 1; then
35782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35783 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35784 ac_ext=cpp
35785 ac_cpp='$CXXCPP $CPPFLAGS'
35786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35789
35790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35791 /* end confdefs.h. */
35792 #include <IOKit/hid/IOHIDLib.h>
35793 int
35794 main ()
35795 {
35796 IOHIDQueueInterface *qi = NULL;
35797 IOHIDCallbackFunction cb = NULL;
35798 qi->setEventCallout(NULL, cb, NULL, NULL);
35799 ;
35800 return 0;
35801 }
35802 _ACEOF
35803 if ac_fn_cxx_try_compile "$LINENO"; then :
35804 wxUSE_JOYSTICK=yes
35805
35806 fi
35807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35808 ac_ext=c
35809 ac_cpp='$CPP $CPPFLAGS'
35810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35813
35814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35815 $as_echo "$wxUSE_JOYSTICK" >&6; }
35816 fi
35817
35818 else
35819 for ac_header in linux/joystick.h
35820 do :
35821 ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35822 "
35823 if test "x$ac_cv_header_linux_joystick_h" = xyes; then :
35824 cat >>confdefs.h <<_ACEOF
35825 #define HAVE_LINUX_JOYSTICK_H 1
35826 _ACEOF
35827 wxUSE_JOYSTICK=yes
35828 fi
35829
35830 done
35831
35832 fi
35833
35834 if test "$wxUSE_JOYSTICK" = "yes"; then
35835 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35836
35837 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35838 else
35839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35840 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35841 fi
35842 fi
35843
35844
35845
35846 if test "$wxUSE_FONTENUM" = "yes" ; then
35847 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35848
35849 fi
35850
35851 if test "$wxUSE_FONTMAP" = "yes" ; then
35852 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35853
35854 fi
35855
35856 if test "$wxUSE_UNICODE" = "yes" ; then
35857 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35858
35859
35860 if test "$USE_WIN32" != 1; then
35861 wxUSE_UNICODE_MSLU=no
35862 fi
35863
35864 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35866 $as_echo_n "checking for main in -lunicows... " >&6; }
35867 if ${ac_cv_lib_unicows_main+:} false; then :
35868 $as_echo_n "(cached) " >&6
35869 else
35870 ac_check_lib_save_LIBS=$LIBS
35871 LIBS="-lunicows $LIBS"
35872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35873 /* end confdefs.h. */
35874
35875
35876 int
35877 main ()
35878 {
35879 return main ();
35880 ;
35881 return 0;
35882 }
35883 _ACEOF
35884 if ac_fn_c_try_link "$LINENO"; then :
35885 ac_cv_lib_unicows_main=yes
35886 else
35887 ac_cv_lib_unicows_main=no
35888 fi
35889 rm -f core conftest.err conftest.$ac_objext \
35890 conftest$ac_exeext conftest.$ac_ext
35891 LIBS=$ac_check_lib_save_LIBS
35892 fi
35893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35894 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35895 if test "x$ac_cv_lib_unicows_main" = xyes; then :
35896
35897 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35898
35899
35900 else
35901
35902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35903 Applications will only run on Windows NT/2000/XP!" >&5
35904 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35905 Applications will only run on Windows NT/2000/XP!" >&2;}
35906 wxUSE_UNICODE_MSLU=no
35907
35908 fi
35909
35910 fi
35911 fi
35912
35913 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35914 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35915
35916
35917 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35918 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35919
35920 fi
35921 fi
35922
35923
35924 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35925 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35926
35927 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35928 fi
35929
35930 if test "$wxUSE_MDI" = "yes"; then
35931 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35932
35933
35934 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35935 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35936
35937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35938 fi
35939 fi
35940
35941 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35942 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35943
35944 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35945 fi
35946
35947 if test "$wxUSE_HELP" = "yes"; then
35948 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35949
35950 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35951
35952 if test "$wxUSE_MSW" = 1; then
35953 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35954 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35955
35956 fi
35957 fi
35958
35959 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35960 if test "$wxUSE_HTML" = "yes"; then
35961 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35962
35963 else
35964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35965 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35966 wxUSE_WXHTML_HELP=no
35967 fi
35968 fi
35969 fi
35970
35971 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35972 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35973
35974 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35975 fi
35976
35977 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35978 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35979
35980 fi
35981
35982 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35983
35984
35985 if test "$wxUSE_SVG" = "yes"; then
35986 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35987
35988 fi
35989
35990
35991 if test "$wxUSE_METAFILE" = "yes"; then
35992 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35994 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35995 wxUSE_METAFILE=no
35996 fi
35997 elif test "$wxUSE_METAFILE" = "auto"; then
35998 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35999 wxUSE_METAFILE=yes
36000 fi
36001 fi
36002
36003 if test "$wxUSE_METAFILE" = "yes"; then
36004 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
36005
36006 if test "$wxUSE_MSW" = 1; then
36007 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
36008
36009 fi
36010 fi
36011
36012
36013 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
36014 -o "$wxUSE_CLIPBOARD" = "yes" \
36015 -o "$wxUSE_OLE" = "yes" \
36016 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
36017 ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
36018 "
36019 if test "x$ac_cv_header_ole2_h" = xyes; then :
36020
36021 fi
36022
36023
36024
36025 if test "$ac_cv_header_ole2_h" = "yes" ; then
36026 if test "$GCC" = yes ; then
36027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
36028 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
36029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36030 /* end confdefs.h. */
36031 #include <windows.h>
36032 #include <ole2.h>
36033 int
36034 main ()
36035 {
36036
36037 ;
36038 return 0;
36039 }
36040 _ACEOF
36041 if ac_fn_c_try_compile "$LINENO"; then :
36042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36043 $as_echo "no" >&6; }
36044 else
36045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36046 $as_echo "yes" >&6; }
36047 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
36048 fi
36049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36050 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36051 if test "$wxUSE_OLE" = "yes" ; then
36052 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
36053
36054 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
36055
36056 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
36057
36058 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
36059 fi
36060 fi
36061
36062 if test "$wxUSE_DATAOBJ" = "yes" ; then
36063 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36064
36065 fi
36066 else
36067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
36068 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36069
36070 wxUSE_CLIPBOARD=no
36071 wxUSE_DRAG_AND_DROP=no
36072 wxUSE_DATAOBJ=no
36073 wxUSE_OLE=no
36074 fi
36075 fi
36076
36077 if test "$wxUSE_IPC" = "yes"; then
36078 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
36079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36080 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36081 wxUSE_IPC=no
36082 fi
36083
36084 if test "$wxUSE_IPC" = "yes"; then
36085 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
36086
36087 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
36088 fi
36089 fi
36090
36091 if test "$wxUSE_DATAOBJ" = "yes"; then
36092 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36093
36094 else
36095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
36096 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
36097 wxUSE_CLIPBOARD=no
36098 wxUSE_DRAG_AND_DROP=no
36099 fi
36100
36101 if test "$wxUSE_CLIPBOARD" = "yes"; then
36102 if test "$wxUSE_DFB" = 1; then
36103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
36104 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
36105 wxUSE_CLIPBOARD=no
36106 fi
36107
36108 if test "$wxUSE_CLIPBOARD" = "yes"; then
36109 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
36110
36111 fi
36112 fi
36113
36114 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36115 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
36116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
36117 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
36118 wxUSE_DRAG_AND_DROP=no
36119 fi
36120
36121 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36122 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
36123
36124 fi
36125
36126 fi
36127
36128 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36129 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36130 fi
36131
36132 if test "$wxUSE_CLIPBOARD" = "yes"; then
36133 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
36134 fi
36135
36136 if test "$wxUSE_SPLINES" = "yes" ; then
36137 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
36138
36139 fi
36140
36141 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
36142 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
36143
36144 fi
36145
36146 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
36147 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
36148
36149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
36150 fi
36151
36152 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
36153 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
36154
36155 fi
36156
36157
36158 USES_CONTROLS=0
36159 if test "$wxUSE_CONTROLS" = "yes"; then
36160 USES_CONTROLS=1
36161 fi
36162
36163 if test "$wxUSE_MARKUP" = "yes"; then
36164 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
36165
36166 fi
36167
36168 if test "$wxUSE_ACCEL" = "yes"; then
36169 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
36170
36171 USES_CONTROLS=1
36172 fi
36173
36174 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
36175 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
36176
36177 USES_CONTROLS=1
36178 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
36179 fi
36180
36181 if test "$wxUSE_BANNERWINDOW" = "yes"; then
36182 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
36183
36184 fi
36185
36186 if test "$wxUSE_BUTTON" = "yes"; then
36187 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
36188
36189 USES_CONTROLS=1
36190 fi
36191
36192 if test "$wxUSE_BMPBUTTON" = "yes"; then
36193 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
36194
36195 USES_CONTROLS=1
36196 fi
36197
36198 if test "$wxUSE_CALCTRL" = "yes"; then
36199 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
36200
36201 USES_CONTROLS=1
36202 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36203 fi
36204
36205 if test "$wxUSE_CARET" = "yes"; then
36206 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
36207
36208 USES_CONTROLS=1
36209 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36210 fi
36211
36212 if test "$wxUSE_COLLPANE" = "yes"; then
36213 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
36214
36215 USES_CONTROLS=1
36216 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
36217 fi
36218
36219 if test "$wxUSE_COMBOBOX" = "yes"; then
36220 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
36221
36222 USES_CONTROLS=1
36223 fi
36224
36225 if test "$wxUSE_COMBOCTRL" = "yes"; then
36226 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
36227
36228 USES_CONTROLS=1
36229 fi
36230
36231 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
36232 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
36233
36234 USES_CONTROLS=1
36235 fi
36236
36237 if test "$wxUSE_CHOICE" = "yes"; then
36238 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
36239
36240 USES_CONTROLS=1
36241 fi
36242
36243 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36244 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
36245
36246 USES_CONTROLS=1
36247 fi
36248
36249 if test "$wxUSE_CHECKBOX" = "yes"; then
36250 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
36251
36252 USES_CONTROLS=1
36253 fi
36254
36255 if test "$wxUSE_CHECKLST" = "yes"; then
36256 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
36257
36258 USES_CONTROLS=1
36259 fi
36260
36261 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
36262 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
36263
36264 USES_CONTROLS=1
36265 fi
36266
36267 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
36268 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
36269
36270 USES_CONTROLS=1
36271 fi
36272
36273 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
36274 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
36275
36276 USES_CONTROLS=1
36277 fi
36278
36279 if test "$wxUSE_FILECTRL" = "yes"; then
36280 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
36281
36282 USES_CONTROLS=1
36283 fi
36284
36285 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
36286 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
36287
36288 USES_CONTROLS=1
36289 fi
36290
36291 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
36292 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
36293
36294 USES_CONTROLS=1
36295 fi
36296
36297 if test "$wxUSE_DISPLAY" = "yes"; then
36298 if test "$wxUSE_DFB" = 1; then
36299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
36300 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
36301 wxUSE_DISPLAY=no
36302 else
36303 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
36304
36305 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36306 fi
36307 fi
36308
36309 if test "$wxUSE_DETECT_SM" = "yes"; then
36310 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
36311
36312 fi
36313
36314 if test "$wxUSE_GAUGE" = "yes"; then
36315 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
36316
36317 USES_CONTROLS=1
36318 fi
36319
36320 if test "$wxUSE_GRID" = "yes"; then
36321 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
36322
36323 USES_CONTROLS=1
36324 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36325 fi
36326
36327 if test "$wxUSE_HEADERCTRL" = "yes"; then
36328 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
36329
36330 USES_CONTROLS=1
36331 fi
36332
36333 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
36334 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
36335
36336 USES_CONTROLS=1
36337 fi
36338
36339 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
36340 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
36341
36342 USES_CONTROLS=1
36343 fi
36344
36345 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
36346 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
36347
36348 USES_CONTROLS=1
36349 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
36350 fi
36351
36352 if test "$wxUSE_IMAGLIST" = "yes"; then
36353 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
36354
36355 fi
36356
36357 if test "$wxUSE_INFOBAR" = "yes"; then
36358 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36359
36360 fi
36361
36362 if test "$wxUSE_LISTBOOK" = "yes"; then
36363 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36364
36365 USES_CONTROLS=1
36366 fi
36367
36368 if test "$wxUSE_LISTBOX" = "yes"; then
36369 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36370
36371 USES_CONTROLS=1
36372 fi
36373
36374 if test "$wxUSE_LISTCTRL" = "yes"; then
36375 if test "$wxUSE_IMAGLIST" = "yes"; then
36376 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36377
36378 USES_CONTROLS=1
36379 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36380 else
36381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36382 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36383 fi
36384 fi
36385
36386 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36387 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36388
36389 USES_CONTROLS=1
36390 fi
36391
36392 if test "$wxUSE_NOTEBOOK" = "yes"; then
36393 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36394
36395 USES_CONTROLS=1
36396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36397 fi
36398
36399 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36400 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36401
36402 fi
36403
36404 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36405 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36406
36407 USES_CONTROLS=1
36408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
36409 fi
36410
36411 if test "$wxUSE_RADIOBOX" = "yes"; then
36412 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36413
36414 USES_CONTROLS=1
36415 fi
36416
36417 if test "$wxUSE_RADIOBTN" = "yes"; then
36418 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36419
36420 USES_CONTROLS=1
36421 fi
36422
36423 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36424 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36425
36426 fi
36427
36428 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36429 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36430
36431 fi
36432
36433 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36434 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36435
36436 fi
36437
36438 if test "$wxUSE_SASH" = "yes"; then
36439 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36440
36441 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36442 fi
36443
36444 if test "$wxUSE_SCROLLBAR" = "yes"; then
36445 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36446
36447 USES_CONTROLS=1
36448 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
36449 fi
36450
36451 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36452 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36453
36454 USES_CONTROLS=1
36455 fi
36456
36457 if test "$wxUSE_SLIDER" = "yes"; then
36458 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36459
36460 USES_CONTROLS=1
36461 fi
36462
36463 if test "$wxUSE_SPINBTN" = "yes"; then
36464 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36465
36466 USES_CONTROLS=1
36467 fi
36468
36469 if test "$wxUSE_SPINCTRL" = "yes"; then
36470 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36471
36472 USES_CONTROLS=1
36473 fi
36474
36475 if test "$wxUSE_SPLITTER" = "yes"; then
36476 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36477
36478 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36479 fi
36480
36481 if test "$wxUSE_STATBMP" = "yes"; then
36482 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36483
36484 USES_CONTROLS=1
36485 fi
36486
36487 if test "$wxUSE_STATBOX" = "yes"; then
36488 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36489
36490 USES_CONTROLS=1
36491 fi
36492
36493 if test "$wxUSE_STATTEXT" = "yes"; then
36494 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36495
36496 USES_CONTROLS=1
36497 fi
36498
36499 if test "$wxUSE_STATLINE" = "yes"; then
36500 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36501
36502 USES_CONTROLS=1
36503 fi
36504
36505 if test "$wxUSE_STATUSBAR" = "yes"; then
36506 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36507
36508 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36509
36510 USES_CONTROLS=1
36511
36512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36513 fi
36514
36515 if test "$wxUSE_TEXTCTRL" = "yes"; then
36516 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36517
36518 USES_CONTROLS=1
36519 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36520
36521 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36522
36523 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36524
36525 fi
36526
36527 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36528 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36529
36530 USES_CONTROLS=1
36531 fi
36532
36533 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36534 if test "$wxUSE_OLD_COCOA" = 1 ; then
36535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36536 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36537 wxUSE_TOGGLEBTN=no
36538 fi
36539
36540 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36541 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36542
36543 USES_CONTROLS=1
36544 fi
36545 fi
36546
36547 if test "$wxUSE_TOOLBAR" = "yes"; then
36548 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36549
36550 USES_CONTROLS=1
36551
36552 if test "$wxUSE_UNIVERSAL" = "yes"; then
36553 wxUSE_TOOLBAR_NATIVE="no"
36554 else
36555 wxUSE_TOOLBAR_NATIVE="yes"
36556 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36557
36558 fi
36559
36560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36561 fi
36562
36563 if test "$wxUSE_TOOLTIPS" = "yes"; then
36564 if test "$wxUSE_MOTIF" = 1; then
36565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36566 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36567 else
36568 if test "$wxUSE_UNIVERSAL" = "yes"; then
36569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36570 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36571 else
36572 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36573
36574 fi
36575 fi
36576 fi
36577
36578 if test "$wxUSE_TREEBOOK" = "yes"; then
36579 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36580
36581 USES_CONTROLS=1
36582 fi
36583
36584 if test "$wxUSE_TOOLBOOK" = "yes"; then
36585 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36586
36587 USES_CONTROLS=1
36588 fi
36589
36590 if test "$wxUSE_TREECTRL" = "yes"; then
36591 if test "$wxUSE_IMAGLIST" = "yes"; then
36592 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36593
36594 USES_CONTROLS=1
36595 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36596 else
36597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36598 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36599 fi
36600 fi
36601
36602 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36603 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36604
36605 USES_CONTROLS=1
36606 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
36607 fi
36608
36609 if test "$wxUSE_POPUPWIN" = "yes"; then
36610 if test "$wxUSE_OLD_COCOA" = 1 ; then
36611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36612 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36613 else
36614 if test "$wxUSE_PM" = 1; then
36615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36616 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36617 else
36618 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36619
36620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
36621
36622 USES_CONTROLS=1
36623 fi
36624 fi
36625 fi
36626
36627 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36628 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36630 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36631 else
36632 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36633
36634 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
36635 fi
36636 fi
36637
36638 if test "$wxUSE_TIPWINDOW" = "yes"; then
36639 if test "$wxUSE_PM" = 1; then
36640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36641 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36642 else
36643 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36644
36645 fi
36646 fi
36647
36648 if test "$USES_CONTROLS" = 1; then
36649 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36650
36651 fi
36652
36653
36654 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36655 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36656
36657 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36658 fi
36659
36660 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36661 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36662
36663 fi
36664
36665 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36666 if test "$wxUSE_GTK" != 1; then
36667 if test "$wxUSE_LIBPNG" != no -a \
36668 "$wxUSE_IMAGE" = yes -a \
36669 "$wxUSE_STREAMS" = yes; then
36670 wxUSE_ARTPROVIDER_TANGO="yes"
36671 fi
36672 fi
36673 fi
36674
36675 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36676 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36677
36678 fi
36679
36680 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36681 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36682
36683 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36684 fi
36685
36686 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36687 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36689 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36690 else
36691 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36692
36693 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36694 fi
36695 fi
36696
36697 USE_HTML=0
36698 if test "$wxUSE_HTML" = "yes"; then
36699 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36700
36701 USE_HTML=1
36702 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36703 fi
36704 if test "$wxUSE_WEBKIT" = "yes"; then
36705 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36706 old_CPPFLAGS="$CPPFLAGS"
36707 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36708 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36709 #include <Carbon/Carbon.h>
36710 #include <WebKit/WebKit.h>
36711
36712 "
36713 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36714
36715 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36716
36717 WEBKIT_LINK="-framework WebKit"
36718
36719 else
36720
36721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36722 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36723 wxUSE_WEBKIT=no
36724
36725 fi
36726
36727
36728 CPPFLAGS="$old_CPPFLAGS"
36729 elif test "$wxUSE_OLD_COCOA" = 1; then
36730 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36731
36732 else
36733 wxUSE_WEBKIT=no
36734 fi
36735 if test "$wxUSE_WEBKIT" = "yes"; then
36736 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36737 fi
36738 fi
36739
36740 USE_XRC=0
36741 if test "$wxUSE_XRC" = "yes"; then
36742 if test "$wxUSE_XML" != "yes"; then
36743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36744 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36745 wxUSE_XRC=no
36746 else
36747 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36748
36749 USE_XRC=1
36750 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
36751 fi
36752 fi
36753
36754 USE_AUI=0
36755 if test "$wxUSE_AUI" = "yes"; then
36756 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36757
36758 USE_AUI=1
36759 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
36760 fi
36761
36762 USE_PROPGRID=0
36763 if test "$wxUSE_PROPGRID" = "yes"; then
36764 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36765
36766 USE_PROPGRID=1
36767 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
36768 fi
36769
36770 USE_RIBBON=0
36771 if test "$wxUSE_RIBBON" = "yes"; then
36772 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36773
36774 USE_RIBBON=1
36775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
36776 fi
36777
36778 USE_STC=0
36779 if test "$wxUSE_STC" = "yes"; then
36780 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36781
36782 USE_STC=1
36783 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
36784
36785 # Extract the first word of "python", so it can be a program name with args.
36786 set dummy python; ac_word=$2
36787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36788 $as_echo_n "checking for $ac_word... " >&6; }
36789 if ${ac_cv_path_PYTHON+:} false; then :
36790 $as_echo_n "(cached) " >&6
36791 else
36792 case $PYTHON in
36793 [\\/]* | ?:[\\/]*)
36794 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
36795 ;;
36796 *)
36797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36798 for as_dir in $PATH
36799 do
36800 IFS=$as_save_IFS
36801 test -z "$as_dir" && as_dir=.
36802 for ac_exec_ext in '' $ac_executable_extensions; do
36803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36804 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
36805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36806 break 2
36807 fi
36808 done
36809 done
36810 IFS=$as_save_IFS
36811
36812 ;;
36813 esac
36814 fi
36815 PYTHON=$ac_cv_path_PYTHON
36816 if test -n "$PYTHON"; then
36817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36818 $as_echo "$PYTHON" >&6; }
36819 else
36820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36821 $as_echo "no" >&6; }
36822 fi
36823
36824
36825 if test "x$PYTHON" = "x"; then
36826 COND_PYTHON="#"
36827 fi
36828
36829 fi
36830
36831 if test "$wxUSE_MENUS" = "yes"; then
36832 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36833
36834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36835 fi
36836
36837 if test "$wxUSE_MIMETYPE" = "yes"; then
36838 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36839
36840 fi
36841
36842 if test "$wxUSE_MINIFRAME" = "yes"; then
36843 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36844
36845 fi
36846
36847 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36848 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36849
36850 fi
36851
36852 if test "$wxUSE_TASKBARICON" = "yes"; then
36853 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36854
36855 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36856
36857 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36858 fi
36859
36860
36861 if test "$wxUSE_VALIDATORS" = "yes"; then
36862 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36863
36864 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36865 fi
36866
36867 if test "$wxUSE_PALETTE" = "yes" ; then
36868 if test "$wxUSE_DFB" = 1; then
36869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36870 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36871 wxUSE_PALETTE=no
36872 else
36873 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36874
36875 fi
36876 fi
36877
36878 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36879 LIBS=" -lunicows $LIBS"
36880 fi
36881
36882 USE_RICHTEXT=0
36883 if test "$wxUSE_RICHTEXT" = "yes"; then
36884 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36885
36886 USE_RICHTEXT=1
36887 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
36888 fi
36889
36890 if test "$wxUSE_WEBVIEW" = "yes"; then
36891 USE_WEBVIEW_WEBKIT=0
36892 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36893 if test "$wxUSE_GTK" = 1; then
36894 webkitgtk=webkit-1.0
36895 if test "$WXGTK3" = 1; then
36896 webkitgtk=webkitgtk-3.0
36897 fi
36898
36899 pkg_failed=no
36900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36901 $as_echo_n "checking for WEBKIT... " >&6; }
36902
36903 if test -n "$PKG_CONFIG"; then
36904 if test -n "$WEBKIT_CFLAGS"; then
36905 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
36906 else
36907 if test -n "$PKG_CONFIG" && \
36908 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36909 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36910 ac_status=$?
36911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36912 test $ac_status = 0; }; then
36913 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36914 else
36915 pkg_failed=yes
36916 fi
36917 fi
36918 else
36919 pkg_failed=untried
36920 fi
36921 if test -n "$PKG_CONFIG"; then
36922 if test -n "$WEBKIT_LIBS"; then
36923 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
36924 else
36925 if test -n "$PKG_CONFIG" && \
36926 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36927 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36928 ac_status=$?
36929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36930 test $ac_status = 0; }; then
36931 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36932 else
36933 pkg_failed=yes
36934 fi
36935 fi
36936 else
36937 pkg_failed=untried
36938 fi
36939
36940
36941
36942 if test $pkg_failed = yes; then
36943
36944 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36945 _pkg_short_errors_supported=yes
36946 else
36947 _pkg_short_errors_supported=no
36948 fi
36949 if test $_pkg_short_errors_supported = yes; then
36950 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36951 else
36952 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36953 fi
36954 # Put the nasty error message in config.log where it belongs
36955 echo "$WEBKIT_PKG_ERRORS" >&5
36956
36957
36958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36959 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36960
36961 elif test $pkg_failed = untried; then
36962
36963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36964 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36965
36966 else
36967 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
36968 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
36969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36970 $as_echo "yes" >&6; }
36971
36972 USE_WEBVIEW_WEBKIT=1
36973 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
36974 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36975
36976 fi
36977 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36978 old_CPPFLAGS="$CPPFLAGS"
36979 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36980 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36981 #include <Carbon/Carbon.h>
36982 #include <WebKit/WebKit.h>
36983
36984 "
36985 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36986
36987 USE_WEBVIEW_WEBKIT=1
36988 WEBKIT_LINK="-framework WebKit"
36989
36990 else
36991
36992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36993 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36994
36995 fi
36996
36997
36998 CPPFLAGS="$old_CPPFLAGS"
36999 fi
37000 fi
37001
37002 wxUSE_WEBVIEW="no"
37003 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
37004 if test "$USE_WEBVIEW_WEBKIT" = 1; then
37005 wxUSE_WEBVIEW="yes"
37006 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
37007
37008 else
37009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
37010 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
37011 fi
37012 elif test "$wxUSE_MSW" = 1; then
37013 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
37014 wxUSE_WEBVIEW="yes"
37015 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
37016
37017 fi
37018 fi
37019 fi
37020
37021 if test "$wxUSE_WEBVIEW" = "yes"; then
37022 USE_WEBVIEW=1
37023 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
37024
37025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
37026 else
37027 USE_WEBVIEW=0
37028 fi
37029
37030
37031 if test "$wxUSE_IMAGE" = "yes" ; then
37032 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
37033
37034
37035 if test "$wxUSE_GIF" = "yes" ; then
37036 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
37037
37038 fi
37039
37040 if test "$wxUSE_PCX" = "yes" ; then
37041 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
37042
37043 fi
37044
37045 if test "$wxUSE_TGA" = "yes" ; then
37046 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
37047
37048 fi
37049
37050 if test "$wxUSE_IFF" = "yes" ; then
37051 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
37052
37053 fi
37054
37055 if test "$wxUSE_PNM" = "yes" ; then
37056 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
37057
37058 fi
37059
37060 if test "$wxUSE_XPM" = "yes" ; then
37061 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
37062
37063 fi
37064
37065 if test "$wxUSE_ICO_CUR" = "yes" ; then
37066 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
37067
37068 fi
37069 fi
37070
37071
37072 if test "$wxUSE_ABOUTDLG" = "yes"; then
37073 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
37074
37075 fi
37076
37077 if test "$wxUSE_CHOICEDLG" = "yes"; then
37078 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
37079
37080 fi
37081
37082 if test "$wxUSE_COLOURDLG" = "yes"; then
37083 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
37084
37085 fi
37086
37087 if test "$wxUSE_FILEDLG" = "yes"; then
37088 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
37089
37090 fi
37091
37092 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37093 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
37094
37095 fi
37096
37097 if test "$wxUSE_FONTDLG" = "yes"; then
37098 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
37099
37100 fi
37101
37102 if test "$wxUSE_DIRDLG" = "yes"; then
37103 if test "$wxUSE_TREECTRL" != "yes"; then
37104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37105 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37106 else
37107 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
37108
37109 fi
37110 fi
37111
37112 if test "$wxUSE_MSGDLG" = "yes"; then
37113 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
37114
37115 fi
37116
37117 if test "$wxUSE_NUMBERDLG" = "yes"; then
37118 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
37119
37120 fi
37121
37122 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37123 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
37124
37125 fi
37126
37127 if test "$wxUSE_SPLASH" = "yes"; then
37128 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
37129
37130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
37131 fi
37132
37133 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37134 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
37135
37136 fi
37137
37138 if test "$wxUSE_TEXTDLG" = "yes"; then
37139 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
37140
37141 fi
37142
37143 if test "$wxUSE_WIZARDDLG" = "yes"; then
37144 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
37145
37146 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37147 fi
37148
37149
37150 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
37151 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
37152 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
37153
37154 fi
37155 fi
37156
37157
37158 if test "$wxUSE_MSW" = 1 ; then
37159
37160 if test "$wxUSE_DC_CACHEING" = "yes"; then
37161 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
37162
37163 fi
37164
37165 if test "$wxUSE_DIB" = "yes"; then
37166 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
37167
37168 fi
37169
37170 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
37171 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
37172
37173 fi
37174
37175 if test "$wxUSE_UXTHEME" = "yes"; then
37176 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
37177
37178 fi
37179
37180 fi
37181
37182 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
37183 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
37184
37185 fi
37186
37187 if test "$USE_WIN32" = 1 ; then
37188 if test "$wxUSE_INICONF" = "yes"; then
37189 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
37190
37191 fi
37192
37193 if test "$wxUSE_REGKEY" = "yes"; then
37194 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
37195
37196 fi
37197 fi
37198
37199
37200 if test "$wxUSE_MAC" = 1; then
37201 wxUSE_GRAPHICS_CONTEXT="yes"
37202 fi
37203
37204 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
37205 wx_has_graphics=0
37206 if test "$wxUSE_MSW" = 1; then
37207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
37208 $as_echo_n "checking if GDI+ is available... " >&6; }
37209 if ${wx_cv_lib_gdiplus+:} false; then :
37210 $as_echo_n "(cached) " >&6
37211 else
37212
37213 ac_ext=cpp
37214 ac_cpp='$CXXCPP $CPPFLAGS'
37215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37218
37219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37220 /* end confdefs.h. */
37221 #include <windows.h>
37222 #include <gdiplus.h>
37223 int
37224 main ()
37225 {
37226
37227 using namespace Gdiplus;
37228
37229 ;
37230 return 0;
37231 }
37232 _ACEOF
37233 if ac_fn_cxx_try_compile "$LINENO"; then :
37234 wx_cv_lib_gdiplus=yes
37235 else
37236 wx_cv_lib_gdiplus=no
37237
37238 fi
37239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37240 ac_ext=c
37241 ac_cpp='$CPP $CPPFLAGS'
37242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37245
37246
37247
37248 fi
37249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
37250 $as_echo "$wx_cv_lib_gdiplus" >&6; }
37251 if test "$wx_cv_lib_gdiplus" = "yes"; then
37252 wx_has_graphics=1
37253 fi
37254 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
37255
37256 pkg_failed=no
37257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
37258 $as_echo_n "checking for CAIRO... " >&6; }
37259
37260 if test -n "$PKG_CONFIG"; then
37261 if test -n "$CAIRO_CFLAGS"; then
37262 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
37263 else
37264 if test -n "$PKG_CONFIG" && \
37265 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37266 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37267 ac_status=$?
37268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37269 test $ac_status = 0; }; then
37270 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
37271 else
37272 pkg_failed=yes
37273 fi
37274 fi
37275 else
37276 pkg_failed=untried
37277 fi
37278 if test -n "$PKG_CONFIG"; then
37279 if test -n "$CAIRO_LIBS"; then
37280 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
37281 else
37282 if test -n "$PKG_CONFIG" && \
37283 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37284 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37285 ac_status=$?
37286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37287 test $ac_status = 0; }; then
37288 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
37289 else
37290 pkg_failed=yes
37291 fi
37292 fi
37293 else
37294 pkg_failed=untried
37295 fi
37296
37297
37298
37299 if test $pkg_failed = yes; then
37300
37301 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37302 _pkg_short_errors_supported=yes
37303 else
37304 _pkg_short_errors_supported=no
37305 fi
37306 if test $_pkg_short_errors_supported = yes; then
37307 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
37308 else
37309 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
37310 fi
37311 # Put the nasty error message in config.log where it belongs
37312 echo "$CAIRO_PKG_ERRORS" >&5
37313
37314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37315 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37316
37317 elif test $pkg_failed = untried; then
37318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37319 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37320
37321 else
37322 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
37323 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
37324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37325 $as_echo "yes" >&6; }
37326 wx_has_graphics=1
37327 fi
37328 if test "$wx_has_graphics" = 1; then
37329 save_LIBS="$LIBS"
37330 LIBS="$LIBS $CAIRO_LIBS"
37331 for ac_func in cairo_push_group
37332 do :
37333 ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
37334 if test "x$ac_cv_func_cairo_push_group" = xyes; then :
37335 cat >>confdefs.h <<_ACEOF
37336 #define HAVE_CAIRO_PUSH_GROUP 1
37337 _ACEOF
37338
37339 fi
37340 done
37341
37342 LIBS="$save_LIBS"
37343 if test "$ac_cv_func_cairo_push_group" = "no"; then
37344 wx_has_graphics=0
37345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
37346 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
37347 else
37348 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
37349
37350
37351 if test "$wxUSE_GTK" != 1; then
37352 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
37353 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
37354 fi
37355 fi
37356 fi
37357 else
37358 wx_has_graphics=1
37359 fi
37360
37361 if test "$wx_has_graphics" = 1; then
37362 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37363
37364 else
37365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37366 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37367 fi
37368 fi
37369
37370
37371 USE_MEDIA=0
37372
37373 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37374 USE_MEDIA=1
37375
37376 if test "$wxUSE_GTK" = 1; then
37377 wxUSE_GSTREAMER="no"
37378
37379 GST_VERSION_MAJOR=0
37380 GST_VERSION_MINOR=10
37381 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37382
37383 if test "$wxUSE_GSTREAMER8" = "no"; then
37384
37385 pkg_failed=no
37386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37387 $as_echo_n "checking for GST... " >&6; }
37388
37389 if test -n "$PKG_CONFIG"; then
37390 if test -n "$GST_CFLAGS"; then
37391 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37392 else
37393 if test -n "$PKG_CONFIG" && \
37394 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37395 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37396 ac_status=$?
37397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37398 test $ac_status = 0; }; then
37399 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37400 else
37401 pkg_failed=yes
37402 fi
37403 fi
37404 else
37405 pkg_failed=untried
37406 fi
37407 if test -n "$PKG_CONFIG"; then
37408 if test -n "$GST_LIBS"; then
37409 pkg_cv_GST_LIBS="$GST_LIBS"
37410 else
37411 if test -n "$PKG_CONFIG" && \
37412 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37413 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37414 ac_status=$?
37415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37416 test $ac_status = 0; }; then
37417 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37418 else
37419 pkg_failed=yes
37420 fi
37421 fi
37422 else
37423 pkg_failed=untried
37424 fi
37425
37426
37427
37428 if test $pkg_failed = yes; then
37429
37430 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37431 _pkg_short_errors_supported=yes
37432 else
37433 _pkg_short_errors_supported=no
37434 fi
37435 if test $_pkg_short_errors_supported = yes; then
37436 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37437 else
37438 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37439 fi
37440 # Put the nasty error message in config.log where it belongs
37441 echo "$GST_PKG_ERRORS" >&5
37442
37443
37444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37445 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37446 GST_VERSION_MINOR=8
37447
37448
37449 elif test $pkg_failed = untried; then
37450
37451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37452 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37453 GST_VERSION_MINOR=8
37454
37455
37456 else
37457 GST_CFLAGS=$pkg_cv_GST_CFLAGS
37458 GST_LIBS=$pkg_cv_GST_LIBS
37459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37460 $as_echo "yes" >&6; }
37461
37462 wxUSE_GSTREAMER="yes"
37463 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37464
37465 fi
37466 else
37467 GST_VERSION_MINOR=8
37468 fi
37469
37470 if test $GST_VERSION_MINOR = "8"; then
37471 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37472
37473 pkg_failed=no
37474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37475 $as_echo_n "checking for GST... " >&6; }
37476
37477 if test -n "$PKG_CONFIG"; then
37478 if test -n "$GST_CFLAGS"; then
37479 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37480 else
37481 if test -n "$PKG_CONFIG" && \
37482 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37483 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37484 ac_status=$?
37485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37486 test $ac_status = 0; }; then
37487 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37488 else
37489 pkg_failed=yes
37490 fi
37491 fi
37492 else
37493 pkg_failed=untried
37494 fi
37495 if test -n "$PKG_CONFIG"; then
37496 if test -n "$GST_LIBS"; then
37497 pkg_cv_GST_LIBS="$GST_LIBS"
37498 else
37499 if test -n "$PKG_CONFIG" && \
37500 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37501 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37502 ac_status=$?
37503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37504 test $ac_status = 0; }; then
37505 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37506 else
37507 pkg_failed=yes
37508 fi
37509 fi
37510 else
37511 pkg_failed=untried
37512 fi
37513
37514
37515
37516 if test $pkg_failed = yes; then
37517
37518 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37519 _pkg_short_errors_supported=yes
37520 else
37521 _pkg_short_errors_supported=no
37522 fi
37523 if test $_pkg_short_errors_supported = yes; then
37524 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37525 else
37526 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37527 fi
37528 # Put the nasty error message in config.log where it belongs
37529 echo "$GST_PKG_ERRORS" >&5
37530
37531
37532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37533 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37534
37535 elif test $pkg_failed = untried; then
37536
37537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37538 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37539
37540 else
37541 GST_CFLAGS=$pkg_cv_GST_CFLAGS
37542 GST_LIBS=$pkg_cv_GST_LIBS
37543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37544 $as_echo "yes" >&6; }
37545 wxUSE_GSTREAMER="yes"
37546 fi
37547 fi
37548
37549
37550 if test "$wxUSE_GSTREAMER" = "yes"; then
37551 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
37552 EXTRALIBS_MEDIA="$GST_LIBS"
37553
37554 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37555
37556 else
37557 USE_MEDIA=0
37558 fi
37559
37560 elif test "$wxUSE_MAC" = 1; then
37561 GST_LIBS="-framework QTKit"
37562 fi
37563
37564 if test $USE_MEDIA = 1; then
37565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
37566 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37567
37568 else
37569 if test "$wxUSE_MEDIACTRL" = "yes"; then
37570 as_fn_error $? "GStreamer not available" "$LINENO" 5
37571 else
37572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37573 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37574 fi
37575 fi
37576 fi
37577
37578
37579 if test "$cross_compiling" != "no"; then
37580 OSINFO="\"$host\""
37581 else
37582 OSINFO=`uname -s -r -m`
37583 OSINFO="\"$OSINFO\""
37584 fi
37585
37586 cat >>confdefs.h <<_ACEOF
37587 #define WXWIN_OS_DESCRIPTION $OSINFO
37588 _ACEOF
37589
37590
37591
37592 if test "x$prefix" != "xNONE"; then
37593 wxPREFIX=$prefix
37594 else
37595 wxPREFIX=$ac_default_prefix
37596 fi
37597
37598 cat >>confdefs.h <<_ACEOF
37599 #define wxINSTALL_PREFIX "$wxPREFIX"
37600 _ACEOF
37601
37602
37603
37604
37605 STD_BASE_LIBS="base"
37606 STD_GUI_LIBS=""
37607 BUILT_WX_LIBS="base"
37608 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
37609
37610 if test "$wxUSE_SOCKETS" = "yes" ; then
37611 STD_BASE_LIBS="net $STD_BASE_LIBS"
37612 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
37613 fi
37614 if test "$wxUSE_XML" = "yes" ; then
37615 STD_BASE_LIBS="xml $STD_BASE_LIBS"
37616 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
37617 fi
37618
37619 if test "$wxUSE_GUI" = "yes"; then
37620 STD_GUI_LIBS="adv core"
37621 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
37622
37623 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37624 STD_GUI_LIBS="qa $STD_GUI_LIBS"
37625 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
37626 fi
37627 if test "$wxUSE_HTML" = "yes" ; then
37628 STD_GUI_LIBS="html $STD_GUI_LIBS"
37629 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
37630 fi
37631 if test "$wxUSE_MEDIACTRL" = "yes" ; then
37632 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
37633 fi
37634 if test "$wxUSE_OPENGL" = "yes" ; then
37635 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
37636 fi
37637 if test "$wxUSE_AUI" = "yes" ; then
37638 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
37639 fi
37640 if test "$wxUSE_PROPGRID" = "yes" ; then
37641 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
37642 fi
37643 if test "$wxUSE_RIBBON" = "yes" ; then
37644 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
37645 fi
37646 if test "$wxUSE_RICHTEXT" = "yes" ; then
37647 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
37648 fi
37649 if test "$wxUSE_STC" = "yes" ; then
37650 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
37651 fi
37652 if test "$wxUSE_WEBVIEW" = "yes" ; then
37653 STD_GUI_LIBS="webview $STD_GUI_LIBS"
37654 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
37655 fi
37656 if test "$wxUSE_XRC" = "yes" ; then
37657 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
37658 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
37659 fi
37660 fi
37661
37662
37663
37664
37665
37666
37667
37668 EXTRA_FRAMEWORKS=
37669 if test "$wxUSE_MAC" = 1 ; then
37670 if test "$USE_DARWIN" = 1; then
37671 if test "$wxUSE_OSX_IPHONE" = 1; then
37672 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37673 else
37674 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37675
37676
37677 if test "$cross_compiling" != "no"; then
37678 wx_cv_target_x86_64=no
37679 else
37680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37681 $as_echo_n "checking if we target only x86_64... " >&6; }
37682 if ${wx_cv_target_x86_64+:} false; then :
37683 $as_echo_n "(cached) " >&6
37684 else
37685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37686 /* end confdefs.h. */
37687 int main() { return 0; }
37688 _ACEOF
37689 if ac_fn_c_try_link "$LINENO"; then :
37690 if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
37691 wx_cv_target_x86_64=no
37692 else
37693 wx_cv_target_x86_64=yes
37694 fi
37695
37696 fi
37697 rm -f core conftest.err conftest.$ac_objext \
37698 conftest$ac_exeext conftest.$ac_ext
37699
37700 fi
37701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37702 $as_echo "$wx_cv_target_x86_64" >&6; }
37703 fi
37704
37705 if test "$wx_cv_target_x86_64" != "yes"; then
37706 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37707 fi
37708 fi
37709 fi
37710 fi
37711 if test "$wxUSE_OLD_COCOA" = 1 ; then
37712 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
37713 if test "$wxUSE_MEDIACTRL" = "yes"; then
37714 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37715 fi
37716 fi
37717 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37718 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37719 fi
37720
37721 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
37722 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37723
37724 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37725
37726 if test "$wxUSE_GUI" = "yes"; then
37727
37728
37729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37730 erase event exec font image minimal preferences render \
37731 shaped svg taborder vscroll widgets wrapsizer"
37732
37733 if test "$wxUSE_MONOLITHIC" != "yes"; then
37734 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37735 fi
37736 if test "$TOOLKIT" = "MSW"; then
37737 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
37738 if test "$wxUSE_UNIVERSAL" != "yes"; then
37739 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37740 fi
37741 fi
37742 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37743 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
37744 fi
37745 else
37746 SAMPLES_SUBDIRS="console"
37747 if test "$wxUSE_SOCKETS" = "yes" ; then
37748 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37749 fi
37750 if test "$wxUSE_IPC" = "yes" ; then
37751 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
37752 fi
37753 fi
37754
37755
37756 if test "x$INTELCC" = "xyes" ; then
37757 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
37758 elif test "$GCC" = yes ; then
37759 CWARNINGS="-Wall -Wundef"
37760 fi
37761
37762 if test "x$INTELCXX" = "xyes" ; then
37763 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37764 elif test "$GXX" = yes ; then
37765 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37767 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37768 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false; then :
37769 $as_echo_n "(cached) " >&6
37770 else
37771 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
37772
37773 ac_ext=cpp
37774 ac_cpp='$CXXCPP $CPPFLAGS'
37775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37778
37779 ac_save_CXXFLAGS="$CXXFLAGS"
37780 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37781 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37783 /* end confdefs.h. */
37784
37785 int
37786 main ()
37787 {
37788 return 0;
37789 ;
37790 return 0;
37791 }
37792 _ACEOF
37793 if ac_fn_cxx_try_compile "$LINENO"; then :
37794 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37795 fi
37796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37797 done
37798 CXXFLAGS="$ac_save_CXXFLAGS"
37799 ac_ext=c
37800 ac_cpp='$CPP $CPPFLAGS'
37801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37804
37805
37806 fi
37807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37808 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37809 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37810 .ok|.ok,*) ;;
37811 .|.no|.no,*) ;;
37812 *)
37813 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
37814 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37815 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37816 ac_status=$?
37817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37818 test $ac_status = 0; }
37819 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37820 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37821 ac_status=$?
37822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37823 test $ac_status = 0; }
37824 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37825 fi
37826 ;;
37827 esac
37828
37829
37830 if test "$wxUSE_MAC" = 1 ; then
37831 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
37832 fi
37833 fi
37834
37835
37836 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
37837 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37838
37839
37840 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
37841 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37842 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37843 $CPPFLAGS `
37844
37845 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37846 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37847 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37848 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37849 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37850
37851 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37852
37853
37854 if test "x$MWCC" = "xyes"; then
37855
37856 CC="$CC -cwd source -I-"
37857 CXX="$CXX -cwd source -I-"
37858 fi
37859
37860
37861 LIBS=`echo $LIBS`
37862 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37863 EXTRALIBS_XML="$EXPAT_LINK"
37864 EXTRALIBS_HTML="$MSPACK_LINK"
37865 EXTRALIBS_MEDIA="$GST_LIBS"
37866 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37867 if test "$wxUSE_GUI" = "yes"; then
37868 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37869 fi
37870 if test "$wxUSE_OPENGL" = "yes"; then
37871 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37872 fi
37873
37874 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
37875
37876 WXCONFIG_LIBS="$LIBS"
37877
37878 if test "$wxUSE_REGEX" = "builtin" ; then
37879 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37880 fi
37881 if test "$wxUSE_EXPAT" = "builtin" ; then
37882 wxconfig_3rdparty="expat $wxconfig_3rdparty"
37883 fi
37884 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37885 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
37886 fi
37887 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37888 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
37889 fi
37890 if test "$wxUSE_LIBPNG" = "builtin" ; then
37891 wxconfig_3rdparty="png $wxconfig_3rdparty"
37892 fi
37893 if test "$wxUSE_ZLIB" = "builtin" ; then
37894 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
37895 fi
37896
37897 for i in $wxconfig_3rdparty ; do
37898 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37899 done
37900
37901
37902 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37903 WXUNIV=1
37904
37905 case "$wxUNIV_THEMES" in
37906 ''|all)
37907 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37908
37909 ;;
37910
37911 *)
37912 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37913 cat >>confdefs.h <<_ACEOF
37914 #define wxUSE_THEME_$t 1
37915 _ACEOF
37916
37917 done
37918 esac
37919 else
37920 WXUNIV=0
37921 fi
37922
37923
37924
37925
37926
37927
37928
37929
37930 if test $wxUSE_MONOLITHIC = "yes" ; then
37931 MONOLITHIC=1
37932 else
37933 MONOLITHIC=0
37934 fi
37935
37936 if test $wxUSE_PLUGINS = "yes" ; then
37937 USE_PLUGINS=1
37938 else
37939 USE_PLUGINS=0
37940 fi
37941
37942 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37943 USE_QA=1
37944 else
37945 USE_QA=0
37946 fi
37947
37948 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37949 OFFICIAL_BUILD=1
37950 else
37951 OFFICIAL_BUILD=0
37952 fi
37953
37954
37955
37956
37957
37958
37959
37960
37961
37962
37963
37964
37965
37966
37967
37968
37969
37970
37971
37972
37973
37974
37975
37976 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37977
37978
37979
37980
37981
37982
37983
37984
37985
37986
37987 case "$TOOLKIT" in
37988 GTK)
37989 TOOLKIT_DESC="GTK+"
37990 if test "$WXGTK2" = 1; then
37991 if test "$WXGTK3" = 1; then
37992 TOOLKIT_DESC="$TOOLKIT_DESC 3"
37993 else
37994 TOOLKIT_DESC="$TOOLKIT_DESC 2"
37995 fi
37996 if test "$wxUSE_GTKPRINT" = "yes" ; then
37997 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
37998 fi
37999 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
38000 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
38001 fi
38002 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
38003 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
38004 fi
38005 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
38006 TOOLKIT_EXTRA="$TOOLKIT_EXTRA libnotify"
38007 fi
38008 if test "$wxUSE_LIBHILDON" = "yes"; then
38009 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
38010 fi
38011 if test "$wxUSE_LIBHILDON2" = "yes"; then
38012 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
38013 fi
38014
38015 if test "$TOOLKIT_EXTRA" != ""; then
38016 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
38017 fi
38018 fi
38019 ;;
38020
38021 ?*)
38022 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
38023 ;;
38024
38025 *)
38026 TOOLKIT_DESC="base only"
38027 ;;
38028 esac
38029
38030 if test "$wxUSE_WINE" = "yes"; then
38031 BAKEFILE_FORCE_PLATFORM=win32
38032 fi
38033
38034 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
38035 then
38036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
38037 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
38038 if ${wx_cv_gcc_pch_bug+:} false; then :
38039 $as_echo_n "(cached) " >&6
38040 else
38041
38042 echo '#include <stdio.h>
38043 const wchar_t test_var[] = L"awidetest";' > conftest.h
38044
38045 echo '#include "conftest.h"
38046 int main()
38047 {
38048 printf("%ls", test_var);
38049 return 0;
38050 }' > conftest.cpp
38051
38052 wx_cv_gcc_pch_bug="pch not supported"
38053
38054 if $CXX conftest.h >/dev/null 2>&1
38055 then
38056 wx_cv_gcc_pch_bug=
38057
38058 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
38059 then
38060 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
38061 grep awidetest >/dev/null
38062 then
38063 wx_cv_gcc_pch_bug=no
38064 else
38065 wx_cv_gcc_pch_bug=yes
38066 fi
38067 fi
38068 fi
38069
38070 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
38071
38072 fi
38073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
38074 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
38075
38076 if test "$wx_cv_gcc_pch_bug" = yes; then
38077 bk_use_pch=no
38078 fi
38079 fi
38080
38081 # Find a good install program. We prefer a C program (faster),
38082 # so one script is as good as another. But avoid the broken or
38083 # incompatible versions:
38084 # SysV /etc/install, /usr/sbin/install
38085 # SunOS /usr/etc/install
38086 # IRIX /sbin/install
38087 # AIX /bin/install
38088 # AmigaOS /C/install, which installs bootblocks on floppy discs
38089 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38090 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38091 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38092 # OS/2's system install, which has a completely different semantic
38093 # ./install, which can be erroneously created by make from ./install.sh.
38094 # Reject install programs that cannot install multiple files.
38095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
38096 $as_echo_n "checking for a BSD-compatible install... " >&6; }
38097 if test -z "$INSTALL"; then
38098 if ${ac_cv_path_install+:} false; then :
38099 $as_echo_n "(cached) " >&6
38100 else
38101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38102 for as_dir in $PATH
38103 do
38104 IFS=$as_save_IFS
38105 test -z "$as_dir" && as_dir=.
38106 # Account for people who put trailing slashes in PATH elements.
38107 case $as_dir/ in #((
38108 ./ | .// | /[cC]/* | \
38109 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
38110 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
38111 /usr/ucb/* ) ;;
38112 *)
38113 # OSF1 and SCO ODT 3.0 have their own names for install.
38114 # Don't use installbsd from OSF since it installs stuff as root
38115 # by default.
38116 for ac_prog in ginstall scoinst install; do
38117 for ac_exec_ext in '' $ac_executable_extensions; do
38118 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38119 if test $ac_prog = install &&
38120 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38121 # AIX install. It has an incompatible calling convention.
38122 :
38123 elif test $ac_prog = install &&
38124 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38125 # program-specific install script used by HP pwplus--don't use.
38126 :
38127 else
38128 rm -rf conftest.one conftest.two conftest.dir
38129 echo one > conftest.one
38130 echo two > conftest.two
38131 mkdir conftest.dir
38132 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
38133 test -s conftest.one && test -s conftest.two &&
38134 test -s conftest.dir/conftest.one &&
38135 test -s conftest.dir/conftest.two
38136 then
38137 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
38138 break 3
38139 fi
38140 fi
38141 fi
38142 done
38143 done
38144 ;;
38145 esac
38146
38147 done
38148 IFS=$as_save_IFS
38149
38150 rm -rf conftest.one conftest.two conftest.dir
38151
38152 fi
38153 if test "${ac_cv_path_install+set}" = set; then
38154 INSTALL=$ac_cv_path_install
38155 else
38156 # As a last resort, use the slow shell script. Don't cache a
38157 # value for INSTALL within a source directory, because that will
38158 # break other packages using the cache if that directory is
38159 # removed, or if the value is a relative name.
38160 INSTALL=$ac_install_sh
38161 fi
38162 fi
38163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
38164 $as_echo "$INSTALL" >&6; }
38165
38166 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38167 # It thinks the first close brace ends the variable substitution.
38168 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
38169
38170 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
38171
38172 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38173
38174
38175
38176
38177
38178
38179
38180 if test "x$BAKEFILE_HOST" = "x"; then
38181 if test "x${host}" = "x" ; then
38182 as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
38183 fi
38184
38185 BAKEFILE_HOST="${host}"
38186 fi
38187
38188 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38189
38190 if test -n "$ac_tool_prefix"; then
38191 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38192 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
38193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38194 $as_echo_n "checking for $ac_word... " >&6; }
38195 if ${ac_cv_prog_RANLIB+:} false; then :
38196 $as_echo_n "(cached) " >&6
38197 else
38198 if test -n "$RANLIB"; then
38199 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
38200 else
38201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38202 for as_dir in $PATH
38203 do
38204 IFS=$as_save_IFS
38205 test -z "$as_dir" && as_dir=.
38206 for ac_exec_ext in '' $ac_executable_extensions; do
38207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38208 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
38209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38210 break 2
38211 fi
38212 done
38213 done
38214 IFS=$as_save_IFS
38215
38216 fi
38217 fi
38218 RANLIB=$ac_cv_prog_RANLIB
38219 if test -n "$RANLIB"; then
38220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
38221 $as_echo "$RANLIB" >&6; }
38222 else
38223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38224 $as_echo "no" >&6; }
38225 fi
38226
38227
38228 fi
38229 if test -z "$ac_cv_prog_RANLIB"; then
38230 ac_ct_RANLIB=$RANLIB
38231 # Extract the first word of "ranlib", so it can be a program name with args.
38232 set dummy ranlib; ac_word=$2
38233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38234 $as_echo_n "checking for $ac_word... " >&6; }
38235 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
38236 $as_echo_n "(cached) " >&6
38237 else
38238 if test -n "$ac_ct_RANLIB"; then
38239 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
38240 else
38241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38242 for as_dir in $PATH
38243 do
38244 IFS=$as_save_IFS
38245 test -z "$as_dir" && as_dir=.
38246 for ac_exec_ext in '' $ac_executable_extensions; do
38247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38248 ac_cv_prog_ac_ct_RANLIB="ranlib"
38249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38250 break 2
38251 fi
38252 done
38253 done
38254 IFS=$as_save_IFS
38255
38256 fi
38257 fi
38258 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
38259 if test -n "$ac_ct_RANLIB"; then
38260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
38261 $as_echo "$ac_ct_RANLIB" >&6; }
38262 else
38263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38264 $as_echo "no" >&6; }
38265 fi
38266
38267 if test "x$ac_ct_RANLIB" = x; then
38268 RANLIB=":"
38269 else
38270 case $cross_compiling:$ac_tool_warned in
38271 yes:)
38272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38274 ac_tool_warned=yes ;;
38275 esac
38276 RANLIB=$ac_ct_RANLIB
38277 fi
38278 else
38279 RANLIB="$ac_cv_prog_RANLIB"
38280 fi
38281
38282
38283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
38284 $as_echo_n "checking whether ln -s works... " >&6; }
38285 LN_S=$as_ln_s
38286 if test "$LN_S" = "ln -s"; then
38287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38288 $as_echo "yes" >&6; }
38289 else
38290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
38291 $as_echo "no, using $LN_S" >&6; }
38292 fi
38293
38294
38295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38296 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
38297 set x ${MAKE-make}
38298 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
38299 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
38300 $as_echo_n "(cached) " >&6
38301 else
38302 cat >conftest.make <<\_ACEOF
38303 SHELL = /bin/sh
38304 all:
38305 @echo '@@@%%%=$(MAKE)=@@@%%%'
38306 _ACEOF
38307 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
38308 case `${MAKE-make} -f conftest.make 2>/dev/null` in
38309 *@@@%%%=?*=@@@%%%*)
38310 eval ac_cv_prog_make_${ac_make}_set=yes;;
38311 *)
38312 eval ac_cv_prog_make_${ac_make}_set=no;;
38313 esac
38314 rm -f conftest.make
38315 fi
38316 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
38317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38318 $as_echo "yes" >&6; }
38319 SET_MAKE=
38320 else
38321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38322 $as_echo "no" >&6; }
38323 SET_MAKE="MAKE=${MAKE-make}"
38324 fi
38325
38326
38327
38328 if test "x$SUNCXX" = "xyes"; then
38329 AR=$CXX
38330 AROPTIONS="-xar -o"
38331
38332 elif test "x$SGICC" = "xyes"; then
38333 AR=$CXX
38334 AROPTIONS="-ar -o"
38335
38336 else
38337 if test -n "$ac_tool_prefix"; then
38338 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38339 set dummy ${ac_tool_prefix}ar; ac_word=$2
38340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38341 $as_echo_n "checking for $ac_word... " >&6; }
38342 if ${ac_cv_prog_AR+:} false; then :
38343 $as_echo_n "(cached) " >&6
38344 else
38345 if test -n "$AR"; then
38346 ac_cv_prog_AR="$AR" # Let the user override the test.
38347 else
38348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38349 for as_dir in $PATH
38350 do
38351 IFS=$as_save_IFS
38352 test -z "$as_dir" && as_dir=.
38353 for ac_exec_ext in '' $ac_executable_extensions; do
38354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38355 ac_cv_prog_AR="${ac_tool_prefix}ar"
38356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38357 break 2
38358 fi
38359 done
38360 done
38361 IFS=$as_save_IFS
38362
38363 fi
38364 fi
38365 AR=$ac_cv_prog_AR
38366 if test -n "$AR"; then
38367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38368 $as_echo "$AR" >&6; }
38369 else
38370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38371 $as_echo "no" >&6; }
38372 fi
38373
38374
38375 fi
38376 if test -z "$ac_cv_prog_AR"; then
38377 ac_ct_AR=$AR
38378 # Extract the first word of "ar", so it can be a program name with args.
38379 set dummy ar; ac_word=$2
38380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38381 $as_echo_n "checking for $ac_word... " >&6; }
38382 if ${ac_cv_prog_ac_ct_AR+:} false; then :
38383 $as_echo_n "(cached) " >&6
38384 else
38385 if test -n "$ac_ct_AR"; then
38386 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38387 else
38388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38389 for as_dir in $PATH
38390 do
38391 IFS=$as_save_IFS
38392 test -z "$as_dir" && as_dir=.
38393 for ac_exec_ext in '' $ac_executable_extensions; do
38394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38395 ac_cv_prog_ac_ct_AR="ar"
38396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38397 break 2
38398 fi
38399 done
38400 done
38401 IFS=$as_save_IFS
38402
38403 fi
38404 fi
38405 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38406 if test -n "$ac_ct_AR"; then
38407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38408 $as_echo "$ac_ct_AR" >&6; }
38409 else
38410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38411 $as_echo "no" >&6; }
38412 fi
38413
38414 if test "x$ac_ct_AR" = x; then
38415 AR="ar"
38416 else
38417 case $cross_compiling:$ac_tool_warned in
38418 yes:)
38419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38421 ac_tool_warned=yes ;;
38422 esac
38423 AR=$ac_ct_AR
38424 fi
38425 else
38426 AR="$ac_cv_prog_AR"
38427 fi
38428
38429 AROPTIONS=rcu
38430 fi
38431
38432
38433 if test -n "$ac_tool_prefix"; then
38434 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38435 set dummy ${ac_tool_prefix}strip; ac_word=$2
38436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38437 $as_echo_n "checking for $ac_word... " >&6; }
38438 if ${ac_cv_prog_STRIP+:} false; then :
38439 $as_echo_n "(cached) " >&6
38440 else
38441 if test -n "$STRIP"; then
38442 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38443 else
38444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38445 for as_dir in $PATH
38446 do
38447 IFS=$as_save_IFS
38448 test -z "$as_dir" && as_dir=.
38449 for ac_exec_ext in '' $ac_executable_extensions; do
38450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38451 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38453 break 2
38454 fi
38455 done
38456 done
38457 IFS=$as_save_IFS
38458
38459 fi
38460 fi
38461 STRIP=$ac_cv_prog_STRIP
38462 if test -n "$STRIP"; then
38463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38464 $as_echo "$STRIP" >&6; }
38465 else
38466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38467 $as_echo "no" >&6; }
38468 fi
38469
38470
38471 fi
38472 if test -z "$ac_cv_prog_STRIP"; then
38473 ac_ct_STRIP=$STRIP
38474 # Extract the first word of "strip", so it can be a program name with args.
38475 set dummy strip; ac_word=$2
38476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38477 $as_echo_n "checking for $ac_word... " >&6; }
38478 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
38479 $as_echo_n "(cached) " >&6
38480 else
38481 if test -n "$ac_ct_STRIP"; then
38482 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38483 else
38484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38485 for as_dir in $PATH
38486 do
38487 IFS=$as_save_IFS
38488 test -z "$as_dir" && as_dir=.
38489 for ac_exec_ext in '' $ac_executable_extensions; do
38490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38491 ac_cv_prog_ac_ct_STRIP="strip"
38492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38493 break 2
38494 fi
38495 done
38496 done
38497 IFS=$as_save_IFS
38498
38499 fi
38500 fi
38501 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38502 if test -n "$ac_ct_STRIP"; then
38503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38504 $as_echo "$ac_ct_STRIP" >&6; }
38505 else
38506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38507 $as_echo "no" >&6; }
38508 fi
38509
38510 if test "x$ac_ct_STRIP" = x; then
38511 STRIP=":"
38512 else
38513 case $cross_compiling:$ac_tool_warned in
38514 yes:)
38515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38516 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38517 ac_tool_warned=yes ;;
38518 esac
38519 STRIP=$ac_ct_STRIP
38520 fi
38521 else
38522 STRIP="$ac_cv_prog_STRIP"
38523 fi
38524
38525 if test -n "$ac_tool_prefix"; then
38526 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38527 set dummy ${ac_tool_prefix}nm; ac_word=$2
38528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38529 $as_echo_n "checking for $ac_word... " >&6; }
38530 if ${ac_cv_prog_NM+:} false; then :
38531 $as_echo_n "(cached) " >&6
38532 else
38533 if test -n "$NM"; then
38534 ac_cv_prog_NM="$NM" # Let the user override the test.
38535 else
38536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38537 for as_dir in $PATH
38538 do
38539 IFS=$as_save_IFS
38540 test -z "$as_dir" && as_dir=.
38541 for ac_exec_ext in '' $ac_executable_extensions; do
38542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38543 ac_cv_prog_NM="${ac_tool_prefix}nm"
38544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38545 break 2
38546 fi
38547 done
38548 done
38549 IFS=$as_save_IFS
38550
38551 fi
38552 fi
38553 NM=$ac_cv_prog_NM
38554 if test -n "$NM"; then
38555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38556 $as_echo "$NM" >&6; }
38557 else
38558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38559 $as_echo "no" >&6; }
38560 fi
38561
38562
38563 fi
38564 if test -z "$ac_cv_prog_NM"; then
38565 ac_ct_NM=$NM
38566 # Extract the first word of "nm", so it can be a program name with args.
38567 set dummy nm; ac_word=$2
38568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38569 $as_echo_n "checking for $ac_word... " >&6; }
38570 if ${ac_cv_prog_ac_ct_NM+:} false; then :
38571 $as_echo_n "(cached) " >&6
38572 else
38573 if test -n "$ac_ct_NM"; then
38574 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38575 else
38576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38577 for as_dir in $PATH
38578 do
38579 IFS=$as_save_IFS
38580 test -z "$as_dir" && as_dir=.
38581 for ac_exec_ext in '' $ac_executable_extensions; do
38582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38583 ac_cv_prog_ac_ct_NM="nm"
38584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38585 break 2
38586 fi
38587 done
38588 done
38589 IFS=$as_save_IFS
38590
38591 fi
38592 fi
38593 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38594 if test -n "$ac_ct_NM"; then
38595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38596 $as_echo "$ac_ct_NM" >&6; }
38597 else
38598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38599 $as_echo "no" >&6; }
38600 fi
38601
38602 if test "x$ac_ct_NM" = x; then
38603 NM=":"
38604 else
38605 case $cross_compiling:$ac_tool_warned in
38606 yes:)
38607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38608 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38609 ac_tool_warned=yes ;;
38610 esac
38611 NM=$ac_ct_NM
38612 fi
38613 else
38614 NM="$ac_cv_prog_NM"
38615 fi
38616
38617
38618 INSTALL_DIR="mkdir -p"
38619
38620
38621 LDFLAGS_GUI=
38622 case ${BAKEFILE_HOST} in
38623 *-*-cygwin* | *-*-mingw32* )
38624 LDFLAGS_GUI="-mwindows"
38625 esac
38626
38627
38628 fi
38629
38630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38631 $as_echo_n "checking if make is GNU make... " >&6; }
38632 if ${bakefile_cv_prog_makeisgnu+:} false; then :
38633 $as_echo_n "(cached) " >&6
38634 else
38635
38636 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38637 egrep -s GNU > /dev/null); then
38638 bakefile_cv_prog_makeisgnu="yes"
38639 else
38640 bakefile_cv_prog_makeisgnu="no"
38641 fi
38642
38643 fi
38644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38645 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38646
38647 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38648 IF_GNU_MAKE=""
38649 else
38650 IF_GNU_MAKE="#"
38651 fi
38652
38653
38654
38655 PLATFORM_UNIX=0
38656 PLATFORM_WIN32=0
38657 PLATFORM_MSDOS=0
38658 PLATFORM_MAC=0
38659 PLATFORM_MACOS=0
38660 PLATFORM_MACOSX=0
38661 PLATFORM_OS2=0
38662 PLATFORM_BEOS=0
38663
38664 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38665 case "${BAKEFILE_HOST}" in
38666 *-*-mingw32* )
38667 PLATFORM_WIN32=1
38668 ;;
38669 *-pc-msdosdjgpp )
38670 PLATFORM_MSDOS=1
38671 ;;
38672 *-pc-os2_emx | *-pc-os2-emx )
38673 PLATFORM_OS2=1
38674 ;;
38675 *-*-darwin* )
38676 PLATFORM_MAC=1
38677 PLATFORM_MACOSX=1
38678 ;;
38679 *-*-beos* )
38680 PLATFORM_BEOS=1
38681 ;;
38682 powerpc-apple-macos* )
38683 PLATFORM_MAC=1
38684 PLATFORM_MACOS=1
38685 ;;
38686 * )
38687 PLATFORM_UNIX=1
38688 ;;
38689 esac
38690 else
38691 case "$BAKEFILE_FORCE_PLATFORM" in
38692 win32 )
38693 PLATFORM_WIN32=1
38694 ;;
38695 msdos )
38696 PLATFORM_MSDOS=1
38697 ;;
38698 os2 )
38699 PLATFORM_OS2=1
38700 ;;
38701 darwin )
38702 PLATFORM_MAC=1
38703 PLATFORM_MACOSX=1
38704 ;;
38705 unix )
38706 PLATFORM_UNIX=1
38707 ;;
38708 beos )
38709 PLATFORM_BEOS=1
38710 ;;
38711 * )
38712 as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38713 ;;
38714 esac
38715 fi
38716
38717
38718
38719
38720
38721
38722
38723
38724
38725
38726
38727 # Check whether --enable-omf was given.
38728 if test "${enable_omf+set}" = set; then :
38729 enableval=$enable_omf; bk_os2_use_omf="$enableval"
38730 fi
38731
38732
38733 case "${BAKEFILE_HOST}" in
38734 *-*-darwin* )
38735 if test "x$GCC" = "xyes"; then
38736 CFLAGS="$CFLAGS -fno-common"
38737 CXXFLAGS="$CXXFLAGS -fno-common"
38738 fi
38739 if test "x$XLCC" = "xyes"; then
38740 CFLAGS="$CFLAGS -qnocommon"
38741 CXXFLAGS="$CXXFLAGS -qnocommon"
38742 fi
38743 ;;
38744
38745 *-pc-os2_emx | *-pc-os2-emx )
38746 if test "x$bk_os2_use_omf" = "xyes" ; then
38747 AR=emxomfar
38748 RANLIB=:
38749 LDFLAGS="-Zomf $LDFLAGS"
38750 CFLAGS="-Zomf $CFLAGS"
38751 CXXFLAGS="-Zomf $CXXFLAGS"
38752 OS2_LIBEXT="lib"
38753 else
38754 OS2_LIBEXT="a"
38755 fi
38756 ;;
38757
38758 i*86-*-beos* )
38759 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
38760 ;;
38761 esac
38762
38763
38764 SO_SUFFIX="so"
38765 SO_SUFFIX_MODULE="so"
38766 EXEEXT=""
38767 LIBPREFIX="lib"
38768 LIBEXT=".a"
38769 DLLPREFIX="lib"
38770 DLLPREFIX_MODULE=""
38771 DLLIMP_SUFFIX=""
38772 dlldir="$libdir"
38773
38774 case "${BAKEFILE_HOST}" in
38775 ia64-hp-hpux* )
38776 ;;
38777 *-hp-hpux* )
38778 SO_SUFFIX="sl"
38779 SO_SUFFIX_MODULE="sl"
38780 ;;
38781 *-*-aix* )
38782 SO_SUFFIX="a"
38783 SO_SUFFIX_MODULE="a"
38784 ;;
38785 *-*-cygwin* )
38786 SO_SUFFIX="dll"
38787 SO_SUFFIX_MODULE="dll"
38788 DLLIMP_SUFFIX="dll.a"
38789 EXEEXT=".exe"
38790 DLLPREFIX="cyg"
38791 dlldir="$bindir"
38792 ;;
38793 *-*-mingw32* )
38794 SO_SUFFIX="dll"
38795 SO_SUFFIX_MODULE="dll"
38796 DLLIMP_SUFFIX="dll.a"
38797 EXEEXT=".exe"
38798 DLLPREFIX=""
38799 dlldir="$bindir"
38800 ;;
38801 *-pc-msdosdjgpp )
38802 EXEEXT=".exe"
38803 DLLPREFIX=""
38804 dlldir="$bindir"
38805 ;;
38806 *-pc-os2_emx | *-pc-os2-emx )
38807 SO_SUFFIX="dll"
38808 SO_SUFFIX_MODULE="dll"
38809 DLLIMP_SUFFIX=$OS2_LIBEXT
38810 EXEEXT=".exe"
38811 DLLPREFIX=""
38812 LIBPREFIX=""
38813 LIBEXT=".$OS2_LIBEXT"
38814 dlldir="$bindir"
38815 ;;
38816 *-*-darwin* )
38817 SO_SUFFIX="dylib"
38818 SO_SUFFIX_MODULE="bundle"
38819 ;;
38820 esac
38821
38822 if test "x$DLLIMP_SUFFIX" = "x" ; then
38823 DLLIMP_SUFFIX="$SO_SUFFIX"
38824 fi
38825
38826
38827
38828
38829
38830
38831
38832
38833
38834
38835
38836
38837 PIC_FLAG=""
38838 if test "x$GCC" = "xyes"; then
38839 PIC_FLAG="-fPIC"
38840 fi
38841
38842 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
38843 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
38844 WINDOWS_IMPLIB=0
38845
38846 case "${BAKEFILE_HOST}" in
38847 *-hp-hpux* )
38848 if test "x$GCC" != "xyes"; then
38849 LDFLAGS="$LDFLAGS -L/usr/lib"
38850
38851 SHARED_LD_CC="${CC} -b -o"
38852 SHARED_LD_CXX="${CXX} -b -o"
38853 PIC_FLAG="+Z"
38854 fi
38855 ;;
38856
38857 *-*-linux* )
38858 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38859 PIC_FLAG="-KPIC"
38860 elif test "x$SUNCXX" = "xyes"; then
38861 SHARED_LD_CC="${CC} -G -o"
38862 SHARED_LD_CXX="${CXX} -G -o"
38863 PIC_FLAG="-KPIC"
38864 fi
38865 ;;
38866
38867 *-*-solaris2* )
38868 if test "x$SUNCXX" = xyes ; then
38869 SHARED_LD_CC="${CC} -G -o"
38870 SHARED_LD_CXX="${CXX} -G -o"
38871 PIC_FLAG="-KPIC"
38872 fi
38873 ;;
38874
38875 *-*-darwin* )
38876
38877 D='$'
38878 cat <<EOF >shared-ld-sh
38879 #!/bin/sh
38880 #-----------------------------------------------------------------------------
38881 #-- Name: distrib/mac/shared-ld-sh
38882 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38883 #-- Author: Gilles Depeyrot
38884 #-- Copyright: (c) 2002 Gilles Depeyrot
38885 #-- Licence: any use permitted
38886 #-----------------------------------------------------------------------------
38887
38888 verbose=0
38889 args=""
38890 objects=""
38891 linking_flag="-dynamiclib"
38892 ldargs="-r -keep_private_externs -nostdlib"
38893
38894 if test "x${D}CXX" = "x"; then
38895 CXX="c++"
38896 fi
38897
38898 while test ${D}# -gt 0; do
38899 case ${D}1 in
38900
38901 -v)
38902 verbose=1
38903 ;;
38904
38905 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38906 # collect these options and values
38907 args="${D}{args} ${D}1 ${D}2"
38908 shift
38909 ;;
38910
38911 -arch|-isysroot)
38912 # collect these options and values
38913 ldargs="${D}{ldargs} ${D}1 ${D}2"
38914 shift
38915 ;;
38916
38917 -s|-Wl,*)
38918 # collect these load args
38919 ldargs="${D}{ldargs} ${D}1"
38920 ;;
38921
38922 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38923 # collect these options
38924 args="${D}{args} ${D}1"
38925 ;;
38926
38927 -dynamiclib|-bundle)
38928 linking_flag="${D}1"
38929 ;;
38930
38931 -*)
38932 echo "shared-ld: unhandled option '${D}1'"
38933 exit 1
38934 ;;
38935
38936 *.o | *.a | *.dylib)
38937 # collect object files
38938 objects="${D}{objects} ${D}1"
38939 ;;
38940
38941 *)
38942 echo "shared-ld: unhandled argument '${D}1'"
38943 exit 1
38944 ;;
38945
38946 esac
38947 shift
38948 done
38949
38950 status=0
38951
38952 #
38953 # Link one module containing all the others
38954 #
38955 if test ${D}{verbose} = 1; then
38956 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38957 fi
38958 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38959 status=${D}?
38960
38961 #
38962 # Link the shared library from the single module created, but only if the
38963 # previous command didn't fail:
38964 #
38965 if test ${D}{status} = 0; then
38966 if test ${D}{verbose} = 1; then
38967 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38968 fi
38969 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38970 status=${D}?
38971 fi
38972
38973 #
38974 # Remove intermediate module
38975 #
38976 rm -f master.${D}${D}.o
38977
38978 exit ${D}status
38979 EOF
38980
38981 chmod +x shared-ld-sh
38982
38983 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38984 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38985
38986
38987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38988 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38989 if ${bakefile_cv_gcc31+:} false; then :
38990 $as_echo_n "(cached) " >&6
38991 else
38992
38993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38994 /* end confdefs.h. */
38995
38996 int
38997 main ()
38998 {
38999
39000 #if (__GNUC__ < 3) || \
39001 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39002 This is old gcc
39003 #endif
39004
39005 ;
39006 return 0;
39007 }
39008 _ACEOF
39009 if ac_fn_c_try_compile "$LINENO"; then :
39010
39011 bakefile_cv_gcc31=yes
39012
39013 else
39014
39015 bakefile_cv_gcc31=no
39016
39017
39018 fi
39019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39020
39021 fi
39022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
39023 $as_echo "$bakefile_cv_gcc31" >&6; }
39024 if test "$bakefile_cv_gcc31" = "no"; then
39025 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39026 SHARED_LD_CXX="$SHARED_LD_CC"
39027 else
39028 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39029 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39030 fi
39031
39032 if test "x$GCC" == "xyes"; then
39033 PIC_FLAG="-dynamic -fPIC"
39034 fi
39035 if test "x$XLCC" = "xyes"; then
39036 PIC_FLAG="-dynamic -DPIC"
39037 fi
39038 ;;
39039
39040 *-*-aix* )
39041 if test "x$GCC" = "xyes"; then
39042 PIC_FLAG=""
39043
39044 case "${BAKEFILE_HOST}" in
39045 *-*-aix5* )
39046 LD_EXPFULL="-Wl,-bexpfull"
39047 ;;
39048 esac
39049
39050 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
39051 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
39052 else
39053 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39054 set dummy makeC++SharedLib; ac_word=$2
39055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39056 $as_echo_n "checking for $ac_word... " >&6; }
39057 if ${ac_cv_prog_AIX_CXX_LD+:} false; then :
39058 $as_echo_n "(cached) " >&6
39059 else
39060 if test -n "$AIX_CXX_LD"; then
39061 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
39062 else
39063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39064 for as_dir in $PATH
39065 do
39066 IFS=$as_save_IFS
39067 test -z "$as_dir" && as_dir=.
39068 for ac_exec_ext in '' $ac_executable_extensions; do
39069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39070 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
39071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39072 break 2
39073 fi
39074 done
39075 done
39076 IFS=$as_save_IFS
39077
39078 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
39079 fi
39080 fi
39081 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
39082 if test -n "$AIX_CXX_LD"; then
39083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
39084 $as_echo "$AIX_CXX_LD" >&6; }
39085 else
39086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39087 $as_echo "no" >&6; }
39088 fi
39089
39090
39091 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
39092 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
39093 fi
39094 ;;
39095
39096 *-*-beos* )
39097 SHARED_LD_CC="${LD} -nostart -o"
39098 SHARED_LD_CXX="${LD} -nostart -o"
39099 ;;
39100
39101 *-*-irix* )
39102 if test "x$GCC" != "xyes"; then
39103 PIC_FLAG="-KPIC"
39104 fi
39105 ;;
39106
39107 *-*-cygwin* | *-*-mingw32* )
39108 PIC_FLAG=""
39109 SHARED_LD_CC="\$(CC) -shared -o"
39110 SHARED_LD_CXX="\$(CXX) -shared -o"
39111 WINDOWS_IMPLIB=1
39112 ;;
39113
39114 *-pc-os2_emx | *-pc-os2-emx )
39115 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39116 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39117 PIC_FLAG=""
39118
39119 D='$'
39120 cat <<EOF >dllar.sh
39121 #!/bin/sh
39122 #
39123 # dllar - a tool to build both a .dll and an .a file
39124 # from a set of object (.o) files for EMX/OS2.
39125 #
39126 # Written by Andrew Zabolotny, bit@freya.etu.ru
39127 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39128 #
39129 # This script will accept a set of files on the command line.
39130 # All the public symbols from the .o files will be exported into
39131 # a .DEF file, then linker will be run (through gcc) against them to
39132 # build a shared library consisting of all given .o files. All libraries
39133 # (.a) will be first decompressed into component .o files then act as
39134 # described above. You can optionally give a description (-d "description")
39135 # which will be put into .DLL. To see the list of accepted options (as well
39136 # as command-line format) simply run this program without options. The .DLL
39137 # is built to be imported by name (there is no guarantee that new versions
39138 # of the library you build will have same ordinals for same symbols).
39139 #
39140 # dllar is free software; you can redistribute it and/or modify
39141 # it under the terms of the GNU General Public License as published by
39142 # the Free Software Foundation; either version 2, or (at your option)
39143 # any later version.
39144 #
39145 # dllar is distributed in the hope that it will be useful,
39146 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39147 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39148 # GNU General Public License for more details.
39149 #
39150 # You should have received a copy of the GNU General Public License
39151 # along with dllar; see the file COPYING. If not, write to the Free
39152 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39153 # 02111-1307, USA.
39154
39155 # To successfuly run this program you will need:
39156 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39157 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39158 # - gcc
39159 # (used to build the .dll)
39160 # - emxexp
39161 # (used to create .def file from .o files)
39162 # - emximp
39163 # (used to create .a file from .def file)
39164 # - GNU text utilites (cat, sort, uniq)
39165 # used to process emxexp output
39166 # - GNU file utilities (mv, rm)
39167 # - GNU sed
39168 # - lxlite (optional, see flag below)
39169 # (used for general .dll cleanup)
39170 #
39171
39172 flag_USE_LXLITE=1;
39173
39174 #
39175 # helper functions
39176 # basnam, variant of basename, which does _not_ remove the path, _iff_
39177 # second argument (suffix to remove) is given
39178 basnam(){
39179 case ${D}# in
39180 1)
39181 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39182 ;;
39183 2)
39184 echo ${D}1 | sed 's/'${D}2'${D}//'
39185 ;;
39186 *)
39187 echo "error in basnam ${D}*"
39188 exit 8
39189 ;;
39190 esac
39191 }
39192
39193 # Cleanup temporary files and output
39194 CleanUp() {
39195 cd ${D}curDir
39196 for i in ${D}inputFiles ; do
39197 case ${D}i in
39198 *!)
39199 rm -rf \`basnam ${D}i !\`
39200 ;;
39201 *)
39202 ;;
39203 esac
39204 done
39205
39206 # Kill result in case of failure as there is just to many stupid make/nmake
39207 # things out there which doesn't do this.
39208 if [ ${D}# -eq 0 ]; then
39209 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39210 fi
39211 }
39212
39213 # Print usage and exit script with rc=1.
39214 PrintHelp() {
39215 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
39216 echo ' [-name-mangler-script script.sh]'
39217 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
39218 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
39219 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
39220 echo ' [*.o] [*.a]'
39221 echo '*> "output_file" should have no extension.'
39222 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39223 echo ' The import library name is derived from this and is set to "name".a,'
39224 echo ' unless overridden by -import'
39225 echo '*> "importlib_name" should have no extension.'
39226 echo ' If it has the .o, or .a extension, it is automatically removed.'
39227 echo ' This name is used as the import library name and may be longer and'
39228 echo ' more descriptive than the DLL name which has to follow the old '
39229 echo ' 8.3 convention of FAT.'
39230 echo '*> "script.sh may be given to override the output_file name by a'
39231 echo ' different name. It is mainly useful if the regular make process'
39232 echo ' of some package does not take into account OS/2 restriction of'
39233 echo ' DLL name lengths. It takes the importlib name as input and is'
39234 echo ' supposed to procude a shorter name as output. The script should'
39235 echo ' expect to get importlib_name without extension and should produce'
39236 echo ' a (max.) 8 letter name without extension.'
39237 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39238 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39239 echo ' These flags will be put at the start of GCC command line.'
39240 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
39241 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
39242 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39243 echo ' If the last character of a symbol is "*", all symbols beginning'
39244 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39245 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
39246 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39247 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
39248 echo ' C runtime DLLs.'
39249 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
39250 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39251 echo ' unchanged to GCC at the end of command line.'
39252 echo '*> If you create a DLL from a library and you do not specify -o,'
39253 echo ' the basename for DLL and import library will be set to library name,'
39254 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39255 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39256 echo ' library will be renamed into gcc_s.a.'
39257 echo '--------'
39258 echo 'Example:'
39259 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39260 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39261 CleanUp
39262 exit 1
39263 }
39264
39265 # Execute a command.
39266 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39267 # @Uses Whatever CleanUp() uses.
39268 doCommand() {
39269 echo "${D}*"
39270 eval ${D}*
39271 rcCmd=${D}?
39272
39273 if [ ${D}rcCmd -ne 0 ]; then
39274 echo "command failed, exit code="${D}rcCmd
39275 CleanUp
39276 exit ${D}rcCmd
39277 fi
39278 }
39279
39280 # main routine
39281 # setup globals
39282 cmdLine=${D}*
39283 outFile=""
39284 outimpFile=""
39285 inputFiles=""
39286 renameScript=""
39287 description=""
39288 CC=gcc.exe
39289 CFLAGS="-s -Zcrtdll"
39290 EXTRA_CFLAGS=""
39291 EXPORT_BY_ORDINALS=0
39292 exclude_symbols=""
39293 library_flags=""
39294 curDir=\`pwd\`
39295 curDirS=curDir
39296 case ${D}curDirS in
39297 */)
39298 ;;
39299 *)
39300 curDirS=${D}{curDirS}"/"
39301 ;;
39302 esac
39303 # Parse commandline
39304 libsToLink=0
39305 omfLinking=0
39306 while [ ${D}1 ]; do
39307 case ${D}1 in
39308 -ord*)
39309 EXPORT_BY_ORDINALS=1;
39310 ;;
39311 -o*)
39312 shift
39313 outFile=${D}1
39314 ;;
39315 -i*)
39316 shift
39317 outimpFile=${D}1
39318 ;;
39319 -name-mangler-script)
39320 shift
39321 renameScript=${D}1
39322 ;;
39323 -d*)
39324 shift
39325 description=${D}1
39326 ;;
39327 -f*)
39328 shift
39329 CFLAGS=${D}1
39330 ;;
39331 -c*)
39332 shift
39333 CC=${D}1
39334 ;;
39335 -h*)
39336 PrintHelp
39337 ;;
39338 -ex*)
39339 shift
39340 exclude_symbols=${D}{exclude_symbols}${D}1" "
39341 ;;
39342 -libf*)
39343 shift
39344 library_flags=${D}{library_flags}${D}1" "
39345 ;;
39346 -nocrt*)
39347 CFLAGS="-s"
39348 ;;
39349 -nolxl*)
39350 flag_USE_LXLITE=0
39351 ;;
39352 -* | /*)
39353 case ${D}1 in
39354 -L* | -l*)
39355 libsToLink=1
39356 ;;
39357 -Zomf)
39358 omfLinking=1
39359 ;;
39360 *)
39361 ;;
39362 esac
39363 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39364 ;;
39365 *.dll)
39366 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39367 if [ ${D}omfLinking -eq 1 ]; then
39368 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39369 else
39370 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39371 fi
39372 ;;
39373 *)
39374 found=0;
39375 if [ ${D}libsToLink -ne 0 ]; then
39376 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39377 else
39378 for file in ${D}1 ; do
39379 if [ -f ${D}file ]; then
39380 inputFiles="${D}{inputFiles} ${D}file"
39381 found=1
39382 fi
39383 done
39384 if [ ${D}found -eq 0 ]; then
39385 echo "ERROR: No file(s) found: "${D}1
39386 exit 8
39387 fi
39388 fi
39389 ;;
39390 esac
39391 shift
39392 done # iterate cmdline words
39393
39394 #
39395 if [ -z "${D}inputFiles" ]; then
39396 echo "dllar: no input files"
39397 PrintHelp
39398 fi
39399
39400 # Now extract all .o files from .a files
39401 newInputFiles=""
39402 for file in ${D}inputFiles ; do
39403 case ${D}file in
39404 *.a | *.lib)
39405 case ${D}file in
39406 *.a)
39407 suffix=".a"
39408 AR="ar"
39409 ;;
39410 *.lib)
39411 suffix=".lib"
39412 AR="emxomfar"
39413 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39414 ;;
39415 *)
39416 ;;
39417 esac
39418 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39419 mkdir ${D}dirname
39420 if [ ${D}? -ne 0 ]; then
39421 echo "Failed to create subdirectory ./${D}dirname"
39422 CleanUp
39423 exit 8;
39424 fi
39425 # Append '!' to indicate archive
39426 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39427 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39428 cd ${D}curDir
39429 found=0;
39430 for subfile in ${D}dirname/*.o* ; do
39431 if [ -f ${D}subfile ]; then
39432 found=1
39433 if [ -s ${D}subfile ]; then
39434 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39435 newInputFiles="${D}newInputFiles ${D}subfile"
39436 fi
39437 fi
39438 done
39439 if [ ${D}found -eq 0 ]; then
39440 echo "WARNING: there are no files in archive \\'${D}file\\'"
39441 fi
39442 ;;
39443 *)
39444 newInputFiles="${D}{newInputFiles} ${D}file"
39445 ;;
39446 esac
39447 done
39448 inputFiles="${D}newInputFiles"
39449
39450 # Output filename(s).
39451 do_backup=0;
39452 if [ -z ${D}outFile ]; then
39453 do_backup=1;
39454 set outFile ${D}inputFiles; outFile=${D}2
39455 fi
39456
39457 # If it is an archive, remove the '!' and the '_%' suffixes
39458 case ${D}outFile in
39459 *_%!)
39460 outFile=\`basnam ${D}outFile _%!\`
39461 ;;
39462 *)
39463 ;;
39464 esac
39465 case ${D}outFile in
39466 *.dll)
39467 outFile=\`basnam ${D}outFile .dll\`
39468 ;;
39469 *.DLL)
39470 outFile=\`basnam ${D}outFile .DLL\`
39471 ;;
39472 *.o)
39473 outFile=\`basnam ${D}outFile .o\`
39474 ;;
39475 *.obj)
39476 outFile=\`basnam ${D}outFile .obj\`
39477 ;;
39478 *.a)
39479 outFile=\`basnam ${D}outFile .a\`
39480 ;;
39481 *.lib)
39482 outFile=\`basnam ${D}outFile .lib\`
39483 ;;
39484 *)
39485 ;;
39486 esac
39487 case ${D}outimpFile in
39488 *.a)
39489 outimpFile=\`basnam ${D}outimpFile .a\`
39490 ;;
39491 *.lib)
39492 outimpFile=\`basnam ${D}outimpFile .lib\`
39493 ;;
39494 *)
39495 ;;
39496 esac
39497 if [ -z ${D}outimpFile ]; then
39498 outimpFile=${D}outFile
39499 fi
39500 defFile="${D}{outFile}.def"
39501 arcFile="${D}{outimpFile}.a"
39502 arcFile2="${D}{outimpFile}.lib"
39503
39504 #create ${D}dllFile as something matching 8.3 restrictions,
39505 if [ -z ${D}renameScript ] ; then
39506 dllFile="${D}outFile"
39507 else
39508 dllFile=\`${D}renameScript ${D}outimpFile\`
39509 fi
39510
39511 if [ ${D}do_backup -ne 0 ] ; then
39512 if [ -f ${D}arcFile ] ; then
39513 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39514 fi
39515 if [ -f ${D}arcFile2 ] ; then
39516 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39517 fi
39518 fi
39519
39520 # Extract public symbols from all the object files.
39521 tmpdefFile=${D}{defFile}_%
39522 rm -f ${D}tmpdefFile
39523 for file in ${D}inputFiles ; do
39524 case ${D}file in
39525 *!)
39526 ;;
39527 *)
39528 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39529 ;;
39530 esac
39531 done
39532
39533 # Create the def file.
39534 rm -f ${D}defFile
39535 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39536 dllFile="${D}{dllFile}.dll"
39537 if [ ! -z ${D}description ]; then
39538 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
39539 fi
39540 echo "EXPORTS" >> ${D}defFile
39541
39542 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39543 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39544
39545 # Checks if the export is ok or not.
39546 for word in ${D}exclude_symbols; do
39547 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39548 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39549 done
39550
39551
39552 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39553 sed "=" < ${D}tmpdefFile | \\
39554 sed '
39555 N
39556 : loop
39557 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39558 t loop
39559 ' > ${D}{tmpdefFile}%
39560 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39561 else
39562 rm -f ${D}{tmpdefFile}%
39563 fi
39564 cat ${D}tmpdefFile >> ${D}defFile
39565 rm -f ${D}tmpdefFile
39566
39567 # Do linking, create implib, and apply lxlite.
39568 gccCmdl="";
39569 for file in ${D}inputFiles ; do
39570 case ${D}file in
39571 *!)
39572 ;;
39573 *)
39574 gccCmdl="${D}gccCmdl ${D}file"
39575 ;;
39576 esac
39577 done
39578 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39579 touch "${D}{outFile}.dll"
39580
39581 doCommand "emximp -o ${D}arcFile ${D}defFile"
39582 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39583 add_flags="";
39584 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39585 add_flags="-ynd"
39586 fi
39587 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39588 fi
39589 doCommand "emxomf -s -l ${D}arcFile"
39590
39591 # Successful exit.
39592 CleanUp 1
39593 exit 0
39594 EOF
39595
39596 chmod +x dllar.sh
39597 ;;
39598
39599 powerpc-apple-macos* | \
39600 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
39601 *-*-mirbsd* | \
39602 *-*-sunos4* | \
39603 *-*-osf* | \
39604 *-*-dgux5* | \
39605 *-*-sysv5* | \
39606 *-pc-msdosdjgpp )
39607 ;;
39608
39609 *)
39610 as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
39611 esac
39612
39613 if test "x$PIC_FLAG" != "x" ; then
39614 PIC_FLAG="$PIC_FLAG -DPIC"
39615 fi
39616
39617 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39618 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39619 fi
39620 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39621 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39622 fi
39623
39624
39625
39626
39627
39628
39629
39630
39631
39632 USE_SOVERSION=0
39633 USE_SOVERLINUX=0
39634 USE_SOVERSOLARIS=0
39635 USE_SOVERCYGWIN=0
39636 USE_SOTWOSYMLINKS=0
39637 USE_MACVERSION=0
39638 SONAME_FLAG=
39639
39640 case "${BAKEFILE_HOST}" in
39641 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39642 *-*-k*bsd*-gnu | *-*-mirbsd* )
39643 if test "x$SUNCXX" = "xyes"; then
39644 SONAME_FLAG="-h "
39645 else
39646 SONAME_FLAG="-Wl,-soname,"
39647 fi
39648 USE_SOVERSION=1
39649 USE_SOVERLINUX=1
39650 USE_SOTWOSYMLINKS=1
39651 ;;
39652
39653 *-*-solaris2* )
39654 SONAME_FLAG="-h "
39655 USE_SOVERSION=1
39656 USE_SOVERSOLARIS=1
39657 ;;
39658
39659 *-*-darwin* )
39660 USE_MACVERSION=1
39661 USE_SOVERSION=1
39662 USE_SOTWOSYMLINKS=1
39663 ;;
39664
39665 *-*-cygwin* )
39666 USE_SOVERSION=1
39667 USE_SOVERCYGWIN=1
39668 ;;
39669 esac
39670
39671
39672
39673
39674
39675
39676
39677
39678
39679
39680 # Check whether --enable-dependency-tracking was given.
39681 if test "${enable_dependency_tracking+set}" = set; then :
39682 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
39683 fi
39684
39685
39686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39687 $as_echo_n "checking for dependency tracking method... " >&6; }
39688
39689 BK_DEPS=""
39690 if test "x$bk_use_trackdeps" = "xno" ; then
39691 DEPS_TRACKING=0
39692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39693 $as_echo "disabled" >&6; }
39694 else
39695 DEPS_TRACKING=1
39696
39697 if test "x$GCC" = "xyes"; then
39698 DEPSMODE=gcc
39699 DEPSFLAG="-MMD"
39700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39701 $as_echo "gcc" >&6; }
39702 elif test "x$MWCC" = "xyes"; then
39703 DEPSMODE=mwcc
39704 DEPSFLAG="-MM"
39705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39706 $as_echo "mwcc" >&6; }
39707 elif test "x$SUNCC" = "xyes"; then
39708 DEPSMODE=unixcc
39709 DEPSFLAG="-xM1"
39710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39711 $as_echo "Sun cc" >&6; }
39712 elif test "x$SGICC" = "xyes"; then
39713 DEPSMODE=unixcc
39714 DEPSFLAG="-M"
39715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39716 $as_echo "SGI cc" >&6; }
39717 elif test "x$HPCC" = "xyes"; then
39718 DEPSMODE=unixcc
39719 DEPSFLAG="+make"
39720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39721 $as_echo "HP cc" >&6; }
39722 elif test "x$COMPAQCC" = "xyes"; then
39723 DEPSMODE=gcc
39724 DEPSFLAG="-MD"
39725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39726 $as_echo "Compaq cc" >&6; }
39727 else
39728 DEPS_TRACKING=0
39729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39730 $as_echo "none" >&6; }
39731 fi
39732
39733 if test $DEPS_TRACKING = 1 ; then
39734
39735 D='$'
39736 cat <<EOF >bk-deps
39737 #!/bin/sh
39738
39739 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39740 # script. It is used to track C/C++ files dependencies in portable way.
39741 #
39742 # Permission is given to use this file in any way.
39743
39744 DEPSMODE=${DEPSMODE}
39745 DEPSFLAG="${DEPSFLAG}"
39746 DEPSDIRBASE=.deps
39747
39748 if test ${D}DEPSMODE = gcc ; then
39749 ${D}* ${D}{DEPSFLAG}
39750 status=${D}?
39751
39752 # determine location of created files:
39753 while test ${D}# -gt 0; do
39754 case "${D}1" in
39755 -o )
39756 shift
39757 objfile=${D}1
39758 ;;
39759 -* )
39760 ;;
39761 * )
39762 srcfile=${D}1
39763 ;;
39764 esac
39765 shift
39766 done
39767 objfilebase=\`basename ${D}objfile\`
39768 builddir=\`dirname ${D}objfile\`
39769 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39770 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39771 depsdir=${D}builddir/${D}DEPSDIRBASE
39772 mkdir -p ${D}depsdir
39773
39774 # if the compiler failed, we're done:
39775 if test ${D}{status} != 0 ; then
39776 rm -f ${D}depfile
39777 exit ${D}{status}
39778 fi
39779
39780 # move created file to the location we want it in:
39781 if test -f ${D}depfile ; then
39782 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39783 rm -f ${D}depfile
39784 else
39785 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39786 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39787 if test ! -f ${D}depfile ; then
39788 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39789 depfile="${D}objfile.d"
39790 fi
39791 if test -f ${D}depfile ; then
39792 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39793 rm -f ${D}depfile
39794 fi
39795 fi
39796 exit 0
39797
39798 elif test ${D}DEPSMODE = mwcc ; then
39799 ${D}* || exit ${D}?
39800 # Run mwcc again with -MM and redirect into the dep file we want
39801 # NOTE: We can't use shift here because we need ${D}* to be valid
39802 prevarg=
39803 for arg in ${D}* ; do
39804 if test "${D}prevarg" = "-o"; then
39805 objfile=${D}arg
39806 else
39807 case "${D}arg" in
39808 -* )
39809 ;;
39810 * )
39811 srcfile=${D}arg
39812 ;;
39813 esac
39814 fi
39815 prevarg="${D}arg"
39816 done
39817
39818 objfilebase=\`basename ${D}objfile\`
39819 builddir=\`dirname ${D}objfile\`
39820 depsdir=${D}builddir/${D}DEPSDIRBASE
39821 mkdir -p ${D}depsdir
39822
39823 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39824 exit 0
39825
39826 elif test ${D}DEPSMODE = unixcc; then
39827 ${D}* || exit ${D}?
39828 # Run compiler again with deps flag and redirect into the dep file.
39829 # It doesn't work if the '-o FILE' option is used, but without it the
39830 # dependency file will contain the wrong name for the object. So it is
39831 # removed from the command line, and the dep file is fixed with sed.
39832 cmd=""
39833 while test ${D}# -gt 0; do
39834 case "${D}1" in
39835 -o )
39836 shift
39837 objfile=${D}1
39838 ;;
39839 * )
39840 eval arg${D}#=\\${D}1
39841 cmd="${D}cmd \\${D}arg${D}#"
39842 ;;
39843 esac
39844 shift
39845 done
39846
39847 objfilebase=\`basename ${D}objfile\`
39848 builddir=\`dirname ${D}objfile\`
39849 depsdir=${D}builddir/${D}DEPSDIRBASE
39850 mkdir -p ${D}depsdir
39851
39852 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39853 exit 0
39854
39855 else
39856 ${D}*
39857 exit ${D}?
39858 fi
39859 EOF
39860
39861 chmod +x bk-deps
39862 BK_DEPS="`pwd`/bk-deps"
39863 fi
39864 fi
39865
39866
39867
39868
39869
39870 case ${BAKEFILE_HOST} in
39871 *-*-cygwin* | *-*-mingw32* )
39872 if test -n "$ac_tool_prefix"; then
39873 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39874 set dummy ${ac_tool_prefix}windres; ac_word=$2
39875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39876 $as_echo_n "checking for $ac_word... " >&6; }
39877 if ${ac_cv_prog_WINDRES+:} false; then :
39878 $as_echo_n "(cached) " >&6
39879 else
39880 if test -n "$WINDRES"; then
39881 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
39882 else
39883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39884 for as_dir in $PATH
39885 do
39886 IFS=$as_save_IFS
39887 test -z "$as_dir" && as_dir=.
39888 for ac_exec_ext in '' $ac_executable_extensions; do
39889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39890 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
39891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39892 break 2
39893 fi
39894 done
39895 done
39896 IFS=$as_save_IFS
39897
39898 fi
39899 fi
39900 WINDRES=$ac_cv_prog_WINDRES
39901 if test -n "$WINDRES"; then
39902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39903 $as_echo "$WINDRES" >&6; }
39904 else
39905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39906 $as_echo "no" >&6; }
39907 fi
39908
39909
39910 fi
39911 if test -z "$ac_cv_prog_WINDRES"; then
39912 ac_ct_WINDRES=$WINDRES
39913 # Extract the first word of "windres", so it can be a program name with args.
39914 set dummy windres; ac_word=$2
39915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39916 $as_echo_n "checking for $ac_word... " >&6; }
39917 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
39918 $as_echo_n "(cached) " >&6
39919 else
39920 if test -n "$ac_ct_WINDRES"; then
39921 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
39922 else
39923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39924 for as_dir in $PATH
39925 do
39926 IFS=$as_save_IFS
39927 test -z "$as_dir" && as_dir=.
39928 for ac_exec_ext in '' $ac_executable_extensions; do
39929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39930 ac_cv_prog_ac_ct_WINDRES="windres"
39931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39932 break 2
39933 fi
39934 done
39935 done
39936 IFS=$as_save_IFS
39937
39938 fi
39939 fi
39940 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
39941 if test -n "$ac_ct_WINDRES"; then
39942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39943 $as_echo "$ac_ct_WINDRES" >&6; }
39944 else
39945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39946 $as_echo "no" >&6; }
39947 fi
39948
39949 if test "x$ac_ct_WINDRES" = x; then
39950 WINDRES=""
39951 else
39952 case $cross_compiling:$ac_tool_warned in
39953 yes:)
39954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39955 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39956 ac_tool_warned=yes ;;
39957 esac
39958 WINDRES=$ac_ct_WINDRES
39959 fi
39960 else
39961 WINDRES="$ac_cv_prog_WINDRES"
39962 fi
39963
39964 ;;
39965
39966 *-*-darwin* | powerpc-apple-macos* )
39967 # Extract the first word of "Rez", so it can be a program name with args.
39968 set dummy Rez; ac_word=$2
39969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39970 $as_echo_n "checking for $ac_word... " >&6; }
39971 if ${ac_cv_prog_REZ+:} false; then :
39972 $as_echo_n "(cached) " >&6
39973 else
39974 if test -n "$REZ"; then
39975 ac_cv_prog_REZ="$REZ" # Let the user override the test.
39976 else
39977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39978 for as_dir in $PATH
39979 do
39980 IFS=$as_save_IFS
39981 test -z "$as_dir" && as_dir=.
39982 for ac_exec_ext in '' $ac_executable_extensions; do
39983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39984 ac_cv_prog_REZ="Rez"
39985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39986 break 2
39987 fi
39988 done
39989 done
39990 IFS=$as_save_IFS
39991
39992 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
39993 fi
39994 fi
39995 REZ=$ac_cv_prog_REZ
39996 if test -n "$REZ"; then
39997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39998 $as_echo "$REZ" >&6; }
39999 else
40000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40001 $as_echo "no" >&6; }
40002 fi
40003
40004
40005 # Extract the first word of "SetFile", so it can be a program name with args.
40006 set dummy SetFile; ac_word=$2
40007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40008 $as_echo_n "checking for $ac_word... " >&6; }
40009 if ${ac_cv_prog_SETFILE+:} false; then :
40010 $as_echo_n "(cached) " >&6
40011 else
40012 if test -n "$SETFILE"; then
40013 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
40014 else
40015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40016 for as_dir in $PATH
40017 do
40018 IFS=$as_save_IFS
40019 test -z "$as_dir" && as_dir=.
40020 for ac_exec_ext in '' $ac_executable_extensions; do
40021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40022 ac_cv_prog_SETFILE="SetFile"
40023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40024 break 2
40025 fi
40026 done
40027 done
40028 IFS=$as_save_IFS
40029
40030 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
40031 fi
40032 fi
40033 SETFILE=$ac_cv_prog_SETFILE
40034 if test -n "$SETFILE"; then
40035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
40036 $as_echo "$SETFILE" >&6; }
40037 else
40038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40039 $as_echo "no" >&6; }
40040 fi
40041
40042
40043 ;;
40044 esac
40045
40046
40047
40048
40049
40050
40051
40052
40053
40054 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
40055
40056
40057 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
40058
40059
40060
40061 # Check whether --enable-precomp-headers was given.
40062 if test "${enable_precomp_headers+set}" = set; then :
40063 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
40064 fi
40065
40066
40067 GCC_PCH=0
40068 ICC_PCH=0
40069 USE_PCH=0
40070 BK_MAKE_PCH=""
40071
40072 case ${BAKEFILE_HOST} in
40073 *-*-cygwin* )
40074 bk_use_pch="no"
40075 ;;
40076 esac
40077
40078 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40079 if test "x$GCC" = "xyes"; then
40080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
40081 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
40082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40083 /* end confdefs.h. */
40084
40085 int
40086 main ()
40087 {
40088
40089 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40090 There is no PCH support
40091 #endif
40092 #if (__GNUC__ < 3)
40093 There is no PCH support
40094 #endif
40095 #if (__GNUC__ == 3) && \
40096 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40097 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
40098 ( defined(__INTEL_COMPILER) )
40099 There is no PCH support
40100 #endif
40101
40102 ;
40103 return 0;
40104 }
40105 _ACEOF
40106 if ac_fn_c_try_compile "$LINENO"; then :
40107
40108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40109 $as_echo "yes" >&6; }
40110 GCC_PCH=1
40111
40112 else
40113
40114 if test "$INTELCXX8" = "yes"; then
40115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40116 $as_echo "yes" >&6; }
40117 ICC_PCH=1
40118 if test "$INTELCXX10" = "yes"; then
40119 ICC_PCH_CREATE_SWITCH="-pch-create"
40120 ICC_PCH_USE_SWITCH="-pch-use"
40121 else
40122 ICC_PCH_CREATE_SWITCH="-create-pch"
40123 ICC_PCH_USE_SWITCH="-use-pch"
40124 fi
40125 else
40126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40127 $as_echo "no" >&6; }
40128 fi
40129
40130 fi
40131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40132 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
40133 USE_PCH=1
40134
40135 D='$'
40136 cat <<EOF >bk-make-pch
40137 #!/bin/sh
40138
40139 # This script is part of Bakefile (http://www.bakefile.org) autoconf
40140 # script. It is used to generated precompiled headers.
40141 #
40142 # Permission is given to use this file in any way.
40143
40144 outfile="${D}{1}"
40145 header="${D}{2}"
40146 shift
40147 shift
40148
40149 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
40150
40151 compiler=""
40152 headerfile=""
40153
40154 while test ${D}{#} -gt 0; do
40155 add_to_cmdline=1
40156 case "${D}{1}" in
40157 -I* )
40158 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40159 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40160 headerfile="${D}{incdir}/${D}{header}"
40161 fi
40162 ;;
40163 -use-pch|-use_pch|-pch-use )
40164 shift
40165 add_to_cmdline=0
40166 ;;
40167 esac
40168 if test ${D}add_to_cmdline = 1 ; then
40169 compiler="${D}{compiler} ${D}{1}"
40170 fi
40171 shift
40172 done
40173
40174 if test "x${D}{headerfile}" = "x" ; then
40175 echo "error: can't find header ${D}{header} in include paths" >&2
40176 else
40177 if test -f ${D}{outfile} ; then
40178 rm -f ${D}{outfile}
40179 else
40180 mkdir -p \`dirname ${D}{outfile}\`
40181 fi
40182 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40183 mkdir -p ${D}{builddir}/.deps
40184 if test "x${GCC_PCH}" = "x1" ; then
40185 # can do this because gcc is >= 3.4:
40186 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40187 elif test "x${ICC_PCH}" = "x1" ; then
40188 filename=pch_gen-${D}${D}
40189 file=${D}{filename}.c
40190 dfile=${D}{filename}.d
40191 cat > ${D}file <<EOT
40192 #include "${D}header"
40193 EOT
40194 # using -MF icc complains about differing command lines in creation/use
40195 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
40196 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
40197 rm -f ${D}file ${D}dfile ${D}{filename}.o
40198 fi
40199 exit ${D}{?}
40200 fi
40201 EOF
40202
40203 chmod +x bk-make-pch
40204 BK_MAKE_PCH="`pwd`/bk-make-pch"
40205 fi
40206 fi
40207 fi
40208
40209
40210
40211
40212
40213
40214
40215 COND_BUILD_debug="#"
40216 if test "x$BUILD" = "xdebug" ; then
40217 COND_BUILD_debug=""
40218 fi
40219
40220 COND_BUILD_debug_DEBUG_INFO_default="#"
40221 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40222 COND_BUILD_debug_DEBUG_INFO_default=""
40223 fi
40224
40225 COND_BUILD_release="#"
40226 if test "x$BUILD" = "xrelease" ; then
40227 COND_BUILD_release=""
40228 fi
40229
40230 COND_BUILD_release_DEBUG_INFO_default="#"
40231 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40232 COND_BUILD_release_DEBUG_INFO_default=""
40233 fi
40234
40235 COND_DEBUG_FLAG_0="#"
40236 if test "x$DEBUG_FLAG" = "x0" ; then
40237 COND_DEBUG_FLAG_0=""
40238 fi
40239
40240 COND_DEBUG_INFO_0="#"
40241 if test "x$DEBUG_INFO" = "x0" ; then
40242 COND_DEBUG_INFO_0=""
40243 fi
40244
40245 COND_DEBUG_INFO_1="#"
40246 if test "x$DEBUG_INFO" = "x1" ; then
40247 COND_DEBUG_INFO_1=""
40248 fi
40249
40250 COND_DEPS_TRACKING_0="#"
40251 if test "x$DEPS_TRACKING" = "x0" ; then
40252 COND_DEPS_TRACKING_0=""
40253 fi
40254
40255 COND_DEPS_TRACKING_1="#"
40256 if test "x$DEPS_TRACKING" = "x1" ; then
40257 COND_DEPS_TRACKING_1=""
40258 fi
40259
40260 COND_GCC_PCH_1="#"
40261 if test "x$GCC_PCH" = "x1" ; then
40262 COND_GCC_PCH_1=""
40263 fi
40264
40265 COND_ICC_PCH_1="#"
40266 if test "x$ICC_PCH" = "x1" ; then
40267 COND_ICC_PCH_1=""
40268 fi
40269
40270 COND_MONOLITHIC_0="#"
40271 if test "x$MONOLITHIC" = "x0" ; then
40272 COND_MONOLITHIC_0=""
40273 fi
40274
40275 COND_MONOLITHIC_0_SHARED_0="#"
40276 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40277 COND_MONOLITHIC_0_SHARED_0=""
40278 fi
40279
40280 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
40281 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40282 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
40283 fi
40284
40285 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40286 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40287 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40288 fi
40289
40290 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
40291 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40292 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
40293 fi
40294
40295 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
40296 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40297 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
40298 fi
40299
40300 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
40301 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40302 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
40303 fi
40304
40305 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
40306 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40307 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
40308 fi
40309
40310 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
40311 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40312 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
40313 fi
40314
40315 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
40316 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40317 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
40318 fi
40319
40320 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
40321 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40322 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
40323 fi
40324
40325 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
40326 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40327 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
40328 fi
40329
40330 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40331 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40332 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40333 fi
40334
40335 COND_MONOLITHIC_0_SHARED_1="#"
40336 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40337 COND_MONOLITHIC_0_SHARED_1=""
40338 fi
40339
40340 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
40341 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40342 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
40343 fi
40344
40345 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40346 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40347 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40348 fi
40349
40350 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
40351 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40352 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
40353 fi
40354
40355 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
40356 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40357 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
40358 fi
40359
40360 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
40361 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40362 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
40363 fi
40364
40365 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
40366 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40367 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
40368 fi
40369
40370 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
40371 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40372 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
40373 fi
40374
40375 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
40376 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40377 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
40378 fi
40379
40380 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
40381 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40382 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
40383 fi
40384
40385 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
40386 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40387 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
40388 fi
40389
40390 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40391 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40392 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40393 fi
40394
40395 COND_MONOLITHIC_0_USE_AUI_1="#"
40396 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40397 COND_MONOLITHIC_0_USE_AUI_1=""
40398 fi
40399
40400 COND_MONOLITHIC_0_USE_GUI_1="#"
40401 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40402 COND_MONOLITHIC_0_USE_GUI_1=""
40403 fi
40404
40405 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
40406 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40407 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
40408 fi
40409
40410 COND_MONOLITHIC_0_USE_HTML_1="#"
40411 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40412 COND_MONOLITHIC_0_USE_HTML_1=""
40413 fi
40414
40415 COND_MONOLITHIC_0_USE_MEDIA_1="#"
40416 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40417 COND_MONOLITHIC_0_USE_MEDIA_1=""
40418 fi
40419
40420 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
40421 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40422 COND_MONOLITHIC_0_USE_PROPGRID_1=""
40423 fi
40424
40425 COND_MONOLITHIC_0_USE_QA_1="#"
40426 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40427 COND_MONOLITHIC_0_USE_QA_1=""
40428 fi
40429
40430 COND_MONOLITHIC_0_USE_RIBBON_1="#"
40431 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40432 COND_MONOLITHIC_0_USE_RIBBON_1=""
40433 fi
40434
40435 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
40436 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40437 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
40438 fi
40439
40440 COND_MONOLITHIC_0_USE_STC_1="#"
40441 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40442 COND_MONOLITHIC_0_USE_STC_1=""
40443 fi
40444
40445 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
40446 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40447 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
40448 fi
40449
40450 COND_MONOLITHIC_0_USE_XRC_1="#"
40451 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40452 COND_MONOLITHIC_0_USE_XRC_1=""
40453 fi
40454
40455 COND_MONOLITHIC_1="#"
40456 if test "x$MONOLITHIC" = "x1" ; then
40457 COND_MONOLITHIC_1=""
40458 fi
40459
40460 COND_MONOLITHIC_1_SHARED_0="#"
40461 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40462 COND_MONOLITHIC_1_SHARED_0=""
40463 fi
40464
40465 COND_MONOLITHIC_1_SHARED_1="#"
40466 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40467 COND_MONOLITHIC_1_SHARED_1=""
40468 fi
40469
40470 COND_MONOLITHIC_1_USE_STC_1="#"
40471 if test "x$MONOLITHIC" = "x1" -a "x$USE_STC" = "x1" ; then
40472 COND_MONOLITHIC_1_USE_STC_1=""
40473 fi
40474
40475 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40476 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40477 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40478 fi
40479
40480 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40481 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40482 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40483 fi
40484
40485 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
40486 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40487 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
40488 fi
40489
40490 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40491 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40492 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40493 fi
40494
40495 COND_PLATFORM_MACOSX_1="#"
40496 if test "x$PLATFORM_MACOSX" = "x1" ; then
40497 COND_PLATFORM_MACOSX_1=""
40498 fi
40499
40500 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
40501 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40502 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
40503 fi
40504
40505 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
40506 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40507 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
40508 fi
40509
40510 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40511 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40512 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40513 fi
40514
40515 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40516 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40517 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40518 fi
40519
40520 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40521 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40522 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40523 fi
40524
40525 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40526 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40527 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40528 fi
40529
40530 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40531 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40532 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40533 fi
40534
40535 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
40536 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40537 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
40538 fi
40539
40540 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40541 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40542 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40543 fi
40544
40545 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
40546 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40547 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
40548 fi
40549
40550 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40551 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40552 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40553 fi
40554
40555 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40556 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40557 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40558 fi
40559
40560 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40561 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40562 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40563 fi
40564
40565 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
40566 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40567 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
40568 fi
40569
40570 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40571 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40572 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40573 fi
40574
40575 COND_PLATFORM_MAC_0="#"
40576 if test "x$PLATFORM_MAC" = "x0" ; then
40577 COND_PLATFORM_MAC_0=""
40578 fi
40579
40580 COND_PLATFORM_MAC_1="#"
40581 if test "x$PLATFORM_MAC" = "x1" ; then
40582 COND_PLATFORM_MAC_1=""
40583 fi
40584
40585 COND_PLATFORM_MSDOS_0="#"
40586 if test "x$PLATFORM_MSDOS" = "x0" ; then
40587 COND_PLATFORM_MSDOS_0=""
40588 fi
40589
40590 COND_PLATFORM_MSDOS_1="#"
40591 if test "x$PLATFORM_MSDOS" = "x1" ; then
40592 COND_PLATFORM_MSDOS_1=""
40593 fi
40594
40595 COND_PLATFORM_OS2_1="#"
40596 if test "x$PLATFORM_OS2" = "x1" ; then
40597 COND_PLATFORM_OS2_1=""
40598 fi
40599
40600 COND_PLATFORM_UNIX_0="#"
40601 if test "x$PLATFORM_UNIX" = "x0" ; then
40602 COND_PLATFORM_UNIX_0=""
40603 fi
40604
40605 COND_PLATFORM_UNIX_1="#"
40606 if test "x$PLATFORM_UNIX" = "x1" ; then
40607 COND_PLATFORM_UNIX_1=""
40608 fi
40609
40610 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40611 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40612 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40613 fi
40614
40615 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40616 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40617 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40618 fi
40619
40620 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40621 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40622 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40623 fi
40624
40625 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40626 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40627 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40628 fi
40629
40630 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40631 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40632 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40633 fi
40634
40635 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40636 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40637 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40638 fi
40639
40640 COND_PLATFORM_WIN32_0="#"
40641 if test "x$PLATFORM_WIN32" = "x0" ; then
40642 COND_PLATFORM_WIN32_0=""
40643 fi
40644
40645 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40646 if test "x$PLATFORM_WIN32" = "x0" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40647 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40648 fi
40649
40650 COND_PLATFORM_WIN32_1="#"
40651 if test "x$PLATFORM_WIN32" = "x1" ; then
40652 COND_PLATFORM_WIN32_1=""
40653 fi
40654
40655 COND_PLATFORM_WIN32_1_SHARED_0="#"
40656 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40657 COND_PLATFORM_WIN32_1_SHARED_0=""
40658 fi
40659
40660 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40661 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40662 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40663 fi
40664
40665 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40666 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40667 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40668 fi
40669
40670 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40671 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40672 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40673 fi
40674
40675 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40676 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40677 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40678 fi
40679
40680 COND_SHARED_0="#"
40681 if test "x$SHARED" = "x0" ; then
40682 COND_SHARED_0=""
40683 fi
40684
40685 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40686 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40687 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40688 fi
40689
40690 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40691 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40692 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40693 fi
40694
40695 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40696 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40697 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40698 fi
40699
40700 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40701 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40702 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40703 fi
40704
40705 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40706 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40707 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40708 fi
40709
40710 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40711 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40712 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40713 fi
40714
40715 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40716 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40717 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40718 fi
40719
40720 COND_SHARED_0_USE_STC_1="#"
40721 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40722 COND_SHARED_0_USE_STC_1=""
40723 fi
40724
40725 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
40726 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40727 COND_SHARED_0_wxUSE_EXPAT_builtin=""
40728 fi
40729
40730 COND_SHARED_0_wxUSE_REGEX_builtin="#"
40731 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40732 COND_SHARED_0_wxUSE_REGEX_builtin=""
40733 fi
40734
40735 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
40736 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40737 COND_SHARED_0_wxUSE_ZLIB_builtin=""
40738 fi
40739
40740 COND_SHARED_1="#"
40741 if test "x$SHARED" = "x1" ; then
40742 COND_SHARED_1=""
40743 fi
40744
40745 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40746 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40747 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40748 fi
40749
40750 COND_TOOLKIT_="#"
40751 if test "x$TOOLKIT" = "x" ; then
40752 COND_TOOLKIT_=""
40753 fi
40754
40755 COND_TOOLKIT_COCOA="#"
40756 if test "x$TOOLKIT" = "xCOCOA" ; then
40757 COND_TOOLKIT_COCOA=""
40758 fi
40759
40760 COND_TOOLKIT_COCOA_USE_GUI_1="#"
40761 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40762 COND_TOOLKIT_COCOA_USE_GUI_1=""
40763 fi
40764
40765 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40766 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40767 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40768 fi
40769
40770 COND_TOOLKIT_DFB="#"
40771 if test "x$TOOLKIT" = "xDFB" ; then
40772 COND_TOOLKIT_DFB=""
40773 fi
40774
40775 COND_TOOLKIT_DFB_USE_GUI_1="#"
40776 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40777 COND_TOOLKIT_DFB_USE_GUI_1=""
40778 fi
40779
40780 COND_TOOLKIT_GTK="#"
40781 if test "x$TOOLKIT" = "xGTK" ; then
40782 COND_TOOLKIT_GTK=""
40783 fi
40784
40785 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
40786 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40787 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
40788 fi
40789
40790 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40791 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40792 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40793 fi
40794
40795 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40796 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40797 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40798 fi
40799
40800 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
40801 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40802 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
40803 fi
40804
40805 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
40806 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40807 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
40808 fi
40809
40810 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40811 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40812 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40813 fi
40814
40815 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40816 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40817 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40818 fi
40819
40820 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0="#"
40821 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40822 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0=""
40823 fi
40824
40825 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0="#"
40826 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40827 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0=""
40828 fi
40829
40830 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
40831 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40832 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
40833 fi
40834
40835 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
40836 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40837 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
40838 fi
40839
40840 COND_TOOLKIT_GTK_USE_GUI_1="#"
40841 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40842 COND_TOOLKIT_GTK_USE_GUI_1=""
40843 fi
40844
40845 COND_TOOLKIT_MAC="#"
40846 if test "x$TOOLKIT" = "xMAC" ; then
40847 COND_TOOLKIT_MAC=""
40848 fi
40849
40850 COND_TOOLKIT_MOTIF="#"
40851 if test "x$TOOLKIT" = "xMOTIF" ; then
40852 COND_TOOLKIT_MOTIF=""
40853 fi
40854
40855 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40856 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40857 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40858 fi
40859
40860 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40861 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40862 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40863 fi
40864
40865 COND_TOOLKIT_MSW="#"
40866 if test "x$TOOLKIT" = "xMSW" ; then
40867 COND_TOOLKIT_MSW=""
40868 fi
40869
40870 COND_TOOLKIT_MSW_USE_GUI_1="#"
40871 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40872 COND_TOOLKIT_MSW_USE_GUI_1=""
40873 fi
40874
40875 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40876 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40877 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40878 fi
40879
40880 COND_TOOLKIT_MSW_WXUNIV_0="#"
40881 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40882 COND_TOOLKIT_MSW_WXUNIV_0=""
40883 fi
40884
40885 COND_TOOLKIT_OSX_CARBON="#"
40886 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40887 COND_TOOLKIT_OSX_CARBON=""
40888 fi
40889
40890 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40891 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40892 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40893 fi
40894
40895 COND_TOOLKIT_OSX_COCOA="#"
40896 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40897 COND_TOOLKIT_OSX_COCOA=""
40898 fi
40899
40900 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40901 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40902 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40903 fi
40904
40905 COND_TOOLKIT_OSX_IPHONE="#"
40906 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40907 COND_TOOLKIT_OSX_IPHONE=""
40908 fi
40909
40910 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40911 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40912 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40913 fi
40914
40915 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40916 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40917 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40918 fi
40919
40920 COND_TOOLKIT_PM="#"
40921 if test "x$TOOLKIT" = "xPM" ; then
40922 COND_TOOLKIT_PM=""
40923 fi
40924
40925 COND_TOOLKIT_PM_USE_GUI_1="#"
40926 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40927 COND_TOOLKIT_PM_USE_GUI_1=""
40928 fi
40929
40930 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40931 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40932 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40933 fi
40934
40935 COND_TOOLKIT_WINCE="#"
40936 if test "x$TOOLKIT" = "xWINCE" ; then
40937 COND_TOOLKIT_WINCE=""
40938 fi
40939
40940 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40941 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40942 COND_TOOLKIT_WINCE_USE_GUI_1=""
40943 fi
40944
40945 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40946 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40947 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40948 fi
40949
40950 COND_TOOLKIT_WINCE_WXUNIV_0="#"
40951 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40952 COND_TOOLKIT_WINCE_WXUNIV_0=""
40953 fi
40954
40955 COND_TOOLKIT_X11="#"
40956 if test "x$TOOLKIT" = "xX11" ; then
40957 COND_TOOLKIT_X11=""
40958 fi
40959
40960 COND_TOOLKIT_X11_USE_GUI_1="#"
40961 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40962 COND_TOOLKIT_X11_USE_GUI_1=""
40963 fi
40964
40965 COND_UNICODE_1="#"
40966 if test "x$UNICODE" = "x1" ; then
40967 COND_UNICODE_1=""
40968 fi
40969
40970 COND_USE_CAIRO_1="#"
40971 if test "x$USE_CAIRO" = "x1" ; then
40972 COND_USE_CAIRO_1=""
40973 fi
40974
40975 COND_USE_EXCEPTIONS_0="#"
40976 if test "x$USE_EXCEPTIONS" = "x0" ; then
40977 COND_USE_EXCEPTIONS_0=""
40978 fi
40979
40980 COND_USE_EXCEPTIONS_1="#"
40981 if test "x$USE_EXCEPTIONS" = "x1" ; then
40982 COND_USE_EXCEPTIONS_1=""
40983 fi
40984
40985 COND_USE_GUI_0="#"
40986 if test "x$USE_GUI" = "x0" ; then
40987 COND_USE_GUI_0=""
40988 fi
40989
40990 COND_USE_GUI_1="#"
40991 if test "x$USE_GUI" = "x1" ; then
40992 COND_USE_GUI_1=""
40993 fi
40994
40995 COND_USE_GUI_1_USE_OPENGL_1="#"
40996 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40997 COND_USE_GUI_1_USE_OPENGL_1=""
40998 fi
40999
41000 COND_USE_GUI_1_WXUNIV_0="#"
41001 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41002 COND_USE_GUI_1_WXUNIV_0=""
41003 fi
41004
41005 COND_USE_GUI_1_WXUNIV_1="#"
41006 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41007 COND_USE_GUI_1_WXUNIV_1=""
41008 fi
41009
41010 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
41011 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41012 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
41013 fi
41014
41015 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
41016 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41017 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
41018 fi
41019
41020 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
41021 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41022 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
41023 fi
41024
41025 COND_USE_OPENGL_1="#"
41026 if test "x$USE_OPENGL" = "x1" ; then
41027 COND_USE_OPENGL_1=""
41028 fi
41029
41030 COND_USE_PCH_1="#"
41031 if test "x$USE_PCH" = "x1" ; then
41032 COND_USE_PCH_1=""
41033 fi
41034
41035 COND_USE_PLUGINS_0="#"
41036 if test "x$USE_PLUGINS" = "x0" ; then
41037 COND_USE_PLUGINS_0=""
41038 fi
41039
41040 COND_USE_RTTI_0="#"
41041 if test "x$USE_RTTI" = "x0" ; then
41042 COND_USE_RTTI_0=""
41043 fi
41044
41045 COND_USE_RTTI_1="#"
41046 if test "x$USE_RTTI" = "x1" ; then
41047 COND_USE_RTTI_1=""
41048 fi
41049
41050 COND_USE_SOTWOSYMLINKS_1="#"
41051 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
41052 COND_USE_SOTWOSYMLINKS_1=""
41053 fi
41054
41055 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
41056 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41057 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
41058 fi
41059
41060 COND_USE_SOVERLINUX_1="#"
41061 if test "x$USE_SOVERLINUX" = "x1" ; then
41062 COND_USE_SOVERLINUX_1=""
41063 fi
41064
41065 COND_USE_SOVERSION_0="#"
41066 if test "x$USE_SOVERSION" = "x0" ; then
41067 COND_USE_SOVERSION_0=""
41068 fi
41069
41070 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
41071 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
41072 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
41073 fi
41074
41075 COND_USE_SOVERSOLARIS_1="#"
41076 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41077 COND_USE_SOVERSOLARIS_1=""
41078 fi
41079
41080 COND_USE_STC_1="#"
41081 if test "x$USE_STC" = "x1" ; then
41082 COND_USE_STC_1=""
41083 fi
41084
41085 COND_USE_THREADS_0="#"
41086 if test "x$USE_THREADS" = "x0" ; then
41087 COND_USE_THREADS_0=""
41088 fi
41089
41090 COND_USE_THREADS_1="#"
41091 if test "x$USE_THREADS" = "x1" ; then
41092 COND_USE_THREADS_1=""
41093 fi
41094
41095 COND_USE_XRC_1="#"
41096 if test "x$USE_XRC" = "x1" ; then
41097 COND_USE_XRC_1=""
41098 fi
41099
41100 COND_WINDOWS_IMPLIB_1="#"
41101 if test "x$WINDOWS_IMPLIB" = "x1" ; then
41102 COND_WINDOWS_IMPLIB_1=""
41103 fi
41104
41105 COND_WITH_PLUGIN_SDL_1="#"
41106 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41107 COND_WITH_PLUGIN_SDL_1=""
41108 fi
41109
41110 COND_WXUNIV_0="#"
41111 if test "x$WXUNIV" = "x0" ; then
41112 COND_WXUNIV_0=""
41113 fi
41114
41115 COND_WXUNIV_1="#"
41116 if test "x$WXUNIV" = "x1" ; then
41117 COND_WXUNIV_1=""
41118 fi
41119
41120 COND_wxUSE_EXPAT_builtin="#"
41121 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41122 COND_wxUSE_EXPAT_builtin=""
41123 fi
41124
41125 COND_wxUSE_LIBJPEG_builtin="#"
41126 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41127 COND_wxUSE_LIBJPEG_builtin=""
41128 fi
41129
41130 COND_wxUSE_LIBPNG_builtin="#"
41131 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41132 COND_wxUSE_LIBPNG_builtin=""
41133 fi
41134
41135 COND_wxUSE_LIBTIFF_builtin="#"
41136 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41137 COND_wxUSE_LIBTIFF_builtin=""
41138 fi
41139
41140 COND_wxUSE_REGEX_builtin="#"
41141 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41142 COND_wxUSE_REGEX_builtin=""
41143 fi
41144
41145 COND_wxUSE_ZLIB_builtin="#"
41146 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41147 COND_wxUSE_ZLIB_builtin=""
41148 fi
41149
41150
41151
41152 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
41153 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
41154 fi
41155
41156 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41157 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
41158 fi
41159
41160
41161 case ${INSTALL} in
41162 /* ) # Absolute
41163 ;;
41164 ?:* ) # Drive letter, considered as absolute.
41165 ;;
41166 *)
41167 INSTALL=`pwd`/${INSTALL} ;;
41168 esac
41169
41170 if test "$wxUSE_GUI" = "yes"; then
41171
41172 if test "$wxUSE_MSW" = 1 ; then
41173 if test "x$WINDRES" = "x"; then
41174 as_fn_error $? "Required windres program not found" "$LINENO" 5
41175 fi
41176
41177 RESCOMP="$WINDRES"
41178 fi
41179
41180 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
41181 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
41182 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
41183
41184 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
41185
41186 # Extract the first word of "DeRez", so it can be a program name with args.
41187 set dummy DeRez; ac_word=$2
41188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41189 $as_echo_n "checking for $ac_word... " >&6; }
41190 if ${ac_cv_prog_DEREZ+:} false; then :
41191 $as_echo_n "(cached) " >&6
41192 else
41193 if test -n "$DEREZ"; then
41194 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
41195 else
41196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41197 for as_dir in $PATH
41198 do
41199 IFS=$as_save_IFS
41200 test -z "$as_dir" && as_dir=.
41201 for ac_exec_ext in '' $ac_executable_extensions; do
41202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41203 ac_cv_prog_DEREZ="DeRez"
41204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41205 break 2
41206 fi
41207 done
41208 done
41209 IFS=$as_save_IFS
41210
41211 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
41212 fi
41213 fi
41214 DEREZ=$ac_cv_prog_DEREZ
41215 if test -n "$DEREZ"; then
41216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
41217 $as_echo "$DEREZ" >&6; }
41218 else
41219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41220 $as_echo "no" >&6; }
41221 fi
41222
41223
41224
41225 MACSETFILE="\$(SETFILE)"
41226
41227 if test "$wxUSE_OSX_CARBON" = 1; then
41228 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
41229 RESCOMP="$REZ"
41230 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
41231 else
41232 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
41233 RESCOMP="cat /dev/null \| $REZ"
41234 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
41235 fi
41236
41237 else
41238 MACSETFILE="@true"
41239
41240 if test "$wxUSE_PM" = 1; then
41241 RESCOMP="emxbind"
41242 WXCONFIG_RESFLAGS="-ep"
41243
41244 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
41245 else
41246 POSTLINK_COMMAND="@true"
41247 fi
41248 fi
41249
41250 fi
41251
41252
41253 if test $GCC_PCH = 1
41254 then
41255 if test "$wx_cv_gcc_pch_bug" = yes; then
41256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
41257 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
41258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
41259 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41261 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41262 fi
41263
41264 # Our WX_PRECOMP flag does not make sense for any language except C++ because
41265 # the headers that benefit from precompilation are mostly C++ headers.
41266 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41267 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41268 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41269 fi
41270
41271
41272 if test "$wxUSE_MAC" = 1 ; then
41273 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41274 if test "x$disable_macosx_deps" = "xyes"; then
41275 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
41276 mv temp bk-deps
41277 chmod +x bk-deps
41278 fi
41279 fi
41280 fi
41281
41282 if test "$wxUSE_SHARED" = "yes"; then
41283 case "${host}" in
41284 *-pc-os2_emx | *-pc-os2-emx )
41285 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41286 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41287 cp -p ${srcdir}/src/os2/dllnames.sh .
41288 cp -p ${srcdir}/src/os2/dllar.sh .
41289 ;;
41290 esac
41291 fi
41292 if test "$wxUSE_OMF" = "yes"; then
41293 case "${host}" in
41294 *-pc-os2_emx | *-pc-os2-emx )
41295 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
41296 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41297 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41298 ;;
41299 esac
41300 fi
41301
41302 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41303
41304
41305 case "${host}" in
41306 *-*-solaris2* )
41307 if test "$GCC" = yes; then
41308 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
41309 LIBS=`echo $LIBS | sed 's/-mt//g'`
41310 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41311 fi
41312 ;;
41313
41314 *-*-linux* )
41315 if test "x$SUNCXX" = xyes; then
41316 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
41317 LIBS=`echo $LIBS | sed 's/-pthread//g'`
41318 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41319 fi
41320 ;;
41321 esac
41322
41323 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
41324 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41325 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
41326 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41327
41328 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41329
41330
41331
41332
41333
41334
41335
41336
41337
41338
41339
41340
41341
41342
41343
41344
41345
41346
41347
41348
41349
41350
41351
41352
41353
41354
41355
41356
41357
41358
41359
41360
41361
41362
41363
41364
41365
41366
41367
41368
41369
41370
41371
41372
41373
41374
41375
41376
41377
41378
41379
41380
41381
41382
41383
41384
41385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41386 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41387 set x ${MAKE-make}
41388 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41389 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
41390 $as_echo_n "(cached) " >&6
41391 else
41392 cat >conftest.make <<\_ACEOF
41393 SHELL = /bin/sh
41394 all:
41395 @echo '@@@%%%=$(MAKE)=@@@%%%'
41396 _ACEOF
41397 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41398 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41399 *@@@%%%=?*=@@@%%%*)
41400 eval ac_cv_prog_make_${ac_make}_set=yes;;
41401 *)
41402 eval ac_cv_prog_make_${ac_make}_set=no;;
41403 esac
41404 rm -f conftest.make
41405 fi
41406 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
41407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41408 $as_echo "yes" >&6; }
41409 SET_MAKE=
41410 else
41411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41412 $as_echo "no" >&6; }
41413 SET_MAKE="MAKE=${MAKE-make}"
41414 fi
41415
41416
41417
41418 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41419
41420
41421 if test "$USE_WIN32" = 1; then
41422 ac_config_commands="$ac_config_commands rcdefs.h"
41423
41424 fi
41425
41426 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41427
41428
41429 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41430
41431
41432 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
41433
41434
41435 if test "$wx_cv_version_script" = "yes"; then
41436 ac_config_files="$ac_config_files version-script"
41437
41438 fi
41439 ac_config_files="$ac_config_files Makefile"
41440
41441
41442 ac_config_commands="$ac_config_commands wx-config"
41443
41444
41445
41446 if test "$wxWITH_SUBDIRS" != "no"; then
41447 if test "$wxUSE_GUI" = "yes"; then
41448 SUBDIRS="samples demos utils"
41449 else
41450 SUBDIRS="samples utils"
41451 fi
41452
41453
41454
41455 # Check whether --with-cppunit-prefix was given.
41456 if test "${with_cppunit_prefix+set}" = set; then :
41457 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
41458 else
41459 cppunit_config_prefix=""
41460 fi
41461
41462
41463 # Check whether --with-cppunit-exec-prefix was given.
41464 if test "${with_cppunit_exec_prefix+set}" = set; then :
41465 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
41466 else
41467 cppunit_config_exec_prefix=""
41468 fi
41469
41470
41471 if test x$cppunit_config_exec_prefix != x ; then
41472 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41473 if test x${CPPUNIT_CONFIG+set} != xset ; then
41474 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41475 fi
41476 fi
41477 if test x$cppunit_config_prefix != x ; then
41478 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41479 if test x${CPPUNIT_CONFIG+set} != xset ; then
41480 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41481 fi
41482 fi
41483
41484 # Extract the first word of "cppunit-config", so it can be a program name with args.
41485 set dummy cppunit-config; ac_word=$2
41486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41487 $as_echo_n "checking for $ac_word... " >&6; }
41488 if ${ac_cv_path_CPPUNIT_CONFIG+:} false; then :
41489 $as_echo_n "(cached) " >&6
41490 else
41491 case $CPPUNIT_CONFIG in
41492 [\\/]* | ?:[\\/]*)
41493 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41494 ;;
41495 *)
41496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41497 for as_dir in $PATH
41498 do
41499 IFS=$as_save_IFS
41500 test -z "$as_dir" && as_dir=.
41501 for ac_exec_ext in '' $ac_executable_extensions; do
41502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41503 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41505 break 2
41506 fi
41507 done
41508 done
41509 IFS=$as_save_IFS
41510
41511 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41512 ;;
41513 esac
41514 fi
41515 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41516 if test -n "$CPPUNIT_CONFIG"; then
41517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41518 $as_echo "$CPPUNIT_CONFIG" >&6; }
41519 else
41520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41521 $as_echo "no" >&6; }
41522 fi
41523
41524
41525 cppunit_version_min=1.8.0
41526
41527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41528 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41529 no_cppunit=""
41530 if test "$CPPUNIT_CONFIG" = "no" ; then
41531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41532 $as_echo "no" >&6; }
41533 no_cppunit=yes
41534 else
41535 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41536 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41537 cppunit_version=`$CPPUNIT_CONFIG --version`
41538
41539 cppunit_major_version=`echo $cppunit_version | \
41540 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41541 cppunit_minor_version=`echo $cppunit_version | \
41542 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41543 cppunit_micro_version=`echo $cppunit_version | \
41544 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41545
41546 cppunit_major_min=`echo $cppunit_version_min | \
41547 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41548 cppunit_minor_min=`echo $cppunit_version_min | \
41549 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41550 cppunit_micro_min=`echo $cppunit_version_min | \
41551 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41552
41553 cppunit_version_proper=`expr \
41554 $cppunit_major_version \> $cppunit_major_min \| \
41555 $cppunit_major_version \= $cppunit_major_min \& \
41556 $cppunit_minor_version \> $cppunit_minor_min \| \
41557 $cppunit_major_version \= $cppunit_major_min \& \
41558 $cppunit_minor_version \= $cppunit_minor_min \& \
41559 $cppunit_micro_version \>= $cppunit_micro_min `
41560
41561 if test "$cppunit_version_proper" = "1" ; then
41562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41563 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41564 else
41565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41566 $as_echo "no" >&6; }
41567 no_cppunit=yes
41568 fi
41569 fi
41570
41571 if test "x$no_cppunit" = x ; then
41572 SUBDIRS="$SUBDIRS tests"
41573 else
41574 CPPUNIT_CFLAGS=""
41575 CPPUNIT_LIBS=""
41576 :
41577 fi
41578
41579
41580
41581
41582
41583 for subdir in $SUBDIRS; do
41584 if test -d ${srcdir}/${subdir} ; then
41585 if test "$wxUSE_GUI" = "yes"; then
41586 if test ${subdir} = "samples"; then
41587 makefiles="samples/Makefile.in $makefiles"
41588 for sample in $SAMPLES_SUBDIRS; do
41589 if test -d $srcdir/samples/$sample; then
41590 makefiles="samples/$sample/Makefile.in $makefiles"
41591 fi
41592 done
41593 else
41594 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
41595 eval "disabled=\$$disabled_var"
41596 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
41597 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41598 fi
41599 else
41600 if test ${subdir} = "samples"; then
41601 makefiles="samples/Makefile.in $makefiles"
41602 for sample in `echo $SAMPLES_SUBDIRS`; do
41603 if test -d $srcdir/samples/$sample; then
41604 makefiles="samples/$sample/Makefile.in $makefiles"
41605 fi
41606 done
41607 elif test ${subdir} = "utils"; then
41608 makefiles=""
41609 for util in ifacecheck ; do
41610 if test -d $srcdir/utils/$util ; then
41611 makefiles="utils/$util/src/Makefile.in \
41612 $makefiles"
41613 fi
41614 done
41615 else
41616 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41617 fi
41618 fi
41619
41620 for mkin in $makefiles ; do
41621 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41622 ac_config_files="$ac_config_files $mk"
41623
41624 done
41625 fi
41626 done
41627 fi
41628 cat >confcache <<\_ACEOF
41629 # This file is a shell script that caches the results of configure
41630 # tests run on this system so they can be shared between configure
41631 # scripts and configure runs, see configure's option --config-cache.
41632 # It is not useful on other systems. If it contains results you don't
41633 # want to keep, you may remove or edit it.
41634 #
41635 # config.status only pays attention to the cache file if you give it
41636 # the --recheck option to rerun configure.
41637 #
41638 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41639 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41640 # following values.
41641
41642 _ACEOF
41643
41644 # The following way of writing the cache mishandles newlines in values,
41645 # but we know of no workaround that is simple, portable, and efficient.
41646 # So, we kill variables containing newlines.
41647 # Ultrix sh set writes to stderr and can't be redirected directly,
41648 # and sets the high bit in the cache file unless we assign to the vars.
41649 (
41650 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41651 eval ac_val=\$$ac_var
41652 case $ac_val in #(
41653 *${as_nl}*)
41654 case $ac_var in #(
41655 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41656 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41657 esac
41658 case $ac_var in #(
41659 _ | IFS | as_nl) ;; #(
41660 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
41661 *) { eval $ac_var=; unset $ac_var;} ;;
41662 esac ;;
41663 esac
41664 done
41665
41666 (set) 2>&1 |
41667 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41668 *${as_nl}ac_space=\ *)
41669 # `set' does not quote correctly, so add quotes: double-quote
41670 # substitution turns \\\\ into \\, and sed turns \\ into \.
41671 sed -n \
41672 "s/'/'\\\\''/g;
41673 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41674 ;; #(
41675 *)
41676 # `set' quotes correctly as required by POSIX, so do not add quotes.
41677 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41678 ;;
41679 esac |
41680 sort
41681 ) |
41682 sed '
41683 /^ac_cv_env_/b end
41684 t clear
41685 :clear
41686 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41687 t end
41688 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41689 :end' >>confcache
41690 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41691 if test -w "$cache_file"; then
41692 if test "x$cache_file" != "x/dev/null"; then
41693 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41694 $as_echo "$as_me: updating cache $cache_file" >&6;}
41695 if test ! -f "$cache_file" || test -h "$cache_file"; then
41696 cat confcache >"$cache_file"
41697 else
41698 case $cache_file in #(
41699 */* | ?:*)
41700 mv -f confcache "$cache_file"$$ &&
41701 mv -f "$cache_file"$$ "$cache_file" ;; #(
41702 *)
41703 mv -f confcache "$cache_file" ;;
41704 esac
41705 fi
41706 fi
41707 else
41708 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41709 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41710 fi
41711 fi
41712 rm -f confcache
41713
41714 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41715 # Let make expand exec_prefix.
41716 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41717
41718 DEFS=-DHAVE_CONFIG_H
41719
41720 ac_libobjs=
41721 ac_ltlibobjs=
41722 U=
41723 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41724 # 1. Remove the extension, and $U if already installed.
41725 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41726 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
41727 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41728 # will be set to the directory where LIBOBJS objects are built.
41729 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41730 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
41731 done
41732 LIBOBJS=$ac_libobjs
41733
41734 LTLIBOBJS=$ac_ltlibobjs
41735
41736
41737
41738 : "${CONFIG_STATUS=./config.status}"
41739 ac_write_fail=0
41740 ac_clean_files_save=$ac_clean_files
41741 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41742 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41743 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41744 as_write_fail=0
41745 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41746 #! $SHELL
41747 # Generated by $as_me.
41748 # Run this file to recreate the current configuration.
41749 # Compiler output produced by configure, useful for debugging
41750 # configure, is in config.log if it exists.
41751
41752 debug=false
41753 ac_cs_recheck=false
41754 ac_cs_silent=false
41755
41756 SHELL=\${CONFIG_SHELL-$SHELL}
41757 export SHELL
41758 _ASEOF
41759 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
41760 ## -------------------- ##
41761 ## M4sh Initialization. ##
41762 ## -------------------- ##
41763
41764 # Be more Bourne compatible
41765 DUALCASE=1; export DUALCASE # for MKS sh
41766 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
41767 emulate sh
41768 NULLCMD=:
41769 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41770 # is contrary to our usage. Disable this feature.
41771 alias -g '${1+"$@"}'='"$@"'
41772 setopt NO_GLOB_SUBST
41773 else
41774 case `(set -o) 2>/dev/null` in #(
41775 *posix*) :
41776 set -o posix ;; #(
41777 *) :
41778 ;;
41779 esac
41780 fi
41781
41782
41783 as_nl='
41784 '
41785 export as_nl
41786 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41787 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41788 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41789 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41790 # Prefer a ksh shell builtin over an external printf program on Solaris,
41791 # but without wasting forks for bash or zsh.
41792 if test -z "$BASH_VERSION$ZSH_VERSION" \
41793 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41794 as_echo='print -r --'
41795 as_echo_n='print -rn --'
41796 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41797 as_echo='printf %s\n'
41798 as_echo_n='printf %s'
41799 else
41800 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41801 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
41802 as_echo_n='/usr/ucb/echo -n'
41803 else
41804 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41805 as_echo_n_body='eval
41806 arg=$1;
41807 case $arg in #(
41808 *"$as_nl"*)
41809 expr "X$arg" : "X\\(.*\\)$as_nl";
41810 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41811 esac;
41812 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41813 '
41814 export as_echo_n_body
41815 as_echo_n='sh -c $as_echo_n_body as_echo'
41816 fi
41817 export as_echo_body
41818 as_echo='sh -c $as_echo_body as_echo'
41819 fi
41820
41821 # The user is always right.
41822 if test "${PATH_SEPARATOR+set}" != set; then
41823 PATH_SEPARATOR=:
41824 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41825 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41826 PATH_SEPARATOR=';'
41827 }
41828 fi
41829
41830
41831 # IFS
41832 # We need space, tab and new line, in precisely that order. Quoting is
41833 # there to prevent editors from complaining about space-tab.
41834 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41835 # splitting by setting IFS to empty value.)
41836 IFS=" "" $as_nl"
41837
41838 # Find who we are. Look in the path if we contain no directory separator.
41839 as_myself=
41840 case $0 in #((
41841 *[\\/]* ) as_myself=$0 ;;
41842 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41843 for as_dir in $PATH
41844 do
41845 IFS=$as_save_IFS
41846 test -z "$as_dir" && as_dir=.
41847 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41848 done
41849 IFS=$as_save_IFS
41850
41851 ;;
41852 esac
41853 # We did not find ourselves, most probably we were run as `sh COMMAND'
41854 # in which case we are not to be found in the path.
41855 if test "x$as_myself" = x; then
41856 as_myself=$0
41857 fi
41858 if test ! -f "$as_myself"; then
41859 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41860 exit 1
41861 fi
41862
41863 # Unset variables that we do not need and which cause bugs (e.g. in
41864 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41865 # suppresses any "Segmentation fault" message there. '((' could
41866 # trigger a bug in pdksh 5.2.14.
41867 for as_var in BASH_ENV ENV MAIL MAILPATH
41868 do eval test x\${$as_var+set} = xset \
41869 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
41870 done
41871 PS1='$ '
41872 PS2='> '
41873 PS4='+ '
41874
41875 # NLS nuisances.
41876 LC_ALL=C
41877 export LC_ALL
41878 LANGUAGE=C
41879 export LANGUAGE
41880
41881 # CDPATH.
41882 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
41883
41884
41885 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41886 # ----------------------------------------
41887 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41888 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41889 # script with STATUS, using 1 if that was 0.
41890 as_fn_error ()
41891 {
41892 as_status=$1; test $as_status -eq 0 && as_status=1
41893 if test "$4"; then
41894 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41895 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41896 fi
41897 $as_echo "$as_me: error: $2" >&2
41898 as_fn_exit $as_status
41899 } # as_fn_error
41900
41901
41902 # as_fn_set_status STATUS
41903 # -----------------------
41904 # Set $? to STATUS, without forking.
41905 as_fn_set_status ()
41906 {
41907 return $1
41908 } # as_fn_set_status
41909
41910 # as_fn_exit STATUS
41911 # -----------------
41912 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41913 as_fn_exit ()
41914 {
41915 set +e
41916 as_fn_set_status $1
41917 exit $1
41918 } # as_fn_exit
41919
41920 # as_fn_unset VAR
41921 # ---------------
41922 # Portably unset VAR.
41923 as_fn_unset ()
41924 {
41925 { eval $1=; unset $1;}
41926 }
41927 as_unset=as_fn_unset
41928 # as_fn_append VAR VALUE
41929 # ----------------------
41930 # Append the text in VALUE to the end of the definition contained in VAR. Take
41931 # advantage of any shell optimizations that allow amortized linear growth over
41932 # repeated appends, instead of the typical quadratic growth present in naive
41933 # implementations.
41934 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
41935 eval 'as_fn_append ()
41936 {
41937 eval $1+=\$2
41938 }'
41939 else
41940 as_fn_append ()
41941 {
41942 eval $1=\$$1\$2
41943 }
41944 fi # as_fn_append
41945
41946 # as_fn_arith ARG...
41947 # ------------------
41948 # Perform arithmetic evaluation on the ARGs, and store the result in the
41949 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41950 # must be portable across $(()) and expr.
41951 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
41952 eval 'as_fn_arith ()
41953 {
41954 as_val=$(( $* ))
41955 }'
41956 else
41957 as_fn_arith ()
41958 {
41959 as_val=`expr "$@" || test $? -eq 1`
41960 }
41961 fi # as_fn_arith
41962
41963
41964 if expr a : '\(a\)' >/dev/null 2>&1 &&
41965 test "X`expr 00001 : '.*\(...\)'`" = X001; then
41966 as_expr=expr
41967 else
41968 as_expr=false
41969 fi
41970
41971 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41972 as_basename=basename
41973 else
41974 as_basename=false
41975 fi
41976
41977 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
41978 as_dirname=dirname
41979 else
41980 as_dirname=false
41981 fi
41982
41983 as_me=`$as_basename -- "$0" ||
41984 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41985 X"$0" : 'X\(//\)$' \| \
41986 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41987 $as_echo X/"$0" |
41988 sed '/^.*\/\([^/][^/]*\)\/*$/{
41989 s//\1/
41990 q
41991 }
41992 /^X\/\(\/\/\)$/{
41993 s//\1/
41994 q
41995 }
41996 /^X\/\(\/\).*/{
41997 s//\1/
41998 q
41999 }
42000 s/.*/./; q'`
42001
42002 # Avoid depending upon Character Ranges.
42003 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
42004 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42005 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
42006 as_cr_digits='0123456789'
42007 as_cr_alnum=$as_cr_Letters$as_cr_digits
42008
42009 ECHO_C= ECHO_N= ECHO_T=
42010 case `echo -n x` in #(((((
42011 -n*)
42012 case `echo 'xy\c'` in
42013 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
42014 xy) ECHO_C='\c';;
42015 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
42016 ECHO_T=' ';;
42017 esac;;
42018 *)
42019 ECHO_N='-n';;
42020 esac
42021
42022 rm -f conf$$ conf$$.exe conf$$.file
42023 if test -d conf$$.dir; then
42024 rm -f conf$$.dir/conf$$.file
42025 else
42026 rm -f conf$$.dir
42027 mkdir conf$$.dir 2>/dev/null
42028 fi
42029 if (echo >conf$$.file) 2>/dev/null; then
42030 if ln -s conf$$.file conf$$ 2>/dev/null; then
42031 as_ln_s='ln -s'
42032 # ... but there are two gotchas:
42033 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
42034 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
42035 # In both cases, we have to default to `cp -pR'.
42036 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
42037 as_ln_s='cp -pR'
42038 elif ln conf$$.file conf$$ 2>/dev/null; then
42039 as_ln_s=ln
42040 else
42041 as_ln_s='cp -pR'
42042 fi
42043 else
42044 as_ln_s='cp -pR'
42045 fi
42046 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
42047 rmdir conf$$.dir 2>/dev/null
42048
42049
42050 # as_fn_mkdir_p
42051 # -------------
42052 # Create "$as_dir" as a directory, including parents if necessary.
42053 as_fn_mkdir_p ()
42054 {
42055
42056 case $as_dir in #(
42057 -*) as_dir=./$as_dir;;
42058 esac
42059 test -d "$as_dir" || eval $as_mkdir_p || {
42060 as_dirs=
42061 while :; do
42062 case $as_dir in #(
42063 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
42064 *) as_qdir=$as_dir;;
42065 esac
42066 as_dirs="'$as_qdir' $as_dirs"
42067 as_dir=`$as_dirname -- "$as_dir" ||
42068 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42069 X"$as_dir" : 'X\(//\)[^/]' \| \
42070 X"$as_dir" : 'X\(//\)$' \| \
42071 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
42072 $as_echo X"$as_dir" |
42073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42074 s//\1/
42075 q
42076 }
42077 /^X\(\/\/\)[^/].*/{
42078 s//\1/
42079 q
42080 }
42081 /^X\(\/\/\)$/{
42082 s//\1/
42083 q
42084 }
42085 /^X\(\/\).*/{
42086 s//\1/
42087 q
42088 }
42089 s/.*/./; q'`
42090 test -d "$as_dir" && break
42091 done
42092 test -z "$as_dirs" || eval "mkdir $as_dirs"
42093 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
42094
42095
42096 } # as_fn_mkdir_p
42097 if mkdir -p . 2>/dev/null; then
42098 as_mkdir_p='mkdir -p "$as_dir"'
42099 else
42100 test -d ./-p && rmdir ./-p
42101 as_mkdir_p=false
42102 fi
42103
42104
42105 # as_fn_executable_p FILE
42106 # -----------------------
42107 # Test if FILE is an executable regular file.
42108 as_fn_executable_p ()
42109 {
42110 test -f "$1" && test -x "$1"
42111 } # as_fn_executable_p
42112 as_test_x='test -x'
42113 as_executable_p=as_fn_executable_p
42114
42115 # Sed expression to map a string onto a valid CPP name.
42116 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42117
42118 # Sed expression to map a string onto a valid variable name.
42119 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42120
42121
42122 exec 6>&1
42123 ## ----------------------------------- ##
42124 ## Main body of $CONFIG_STATUS script. ##
42125 ## ----------------------------------- ##
42126 _ASEOF
42127 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
42128
42129 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42130 # Save the log message, to keep $0 and so on meaningful, and to
42131 # report actual input values of CONFIG_FILES etc. instead of their
42132 # values after options handling.
42133 ac_log="
42134 This file was extended by wxWidgets $as_me 2.9.5, which was
42135 generated by GNU Autoconf 2.69. Invocation command line was
42136
42137 CONFIG_FILES = $CONFIG_FILES
42138 CONFIG_HEADERS = $CONFIG_HEADERS
42139 CONFIG_LINKS = $CONFIG_LINKS
42140 CONFIG_COMMANDS = $CONFIG_COMMANDS
42141 $ $0 $@
42142
42143 on `(hostname || uname -n) 2>/dev/null | sed 1q`
42144 "
42145
42146 _ACEOF
42147
42148 case $ac_config_files in *"
42149 "*) set x $ac_config_files; shift; ac_config_files=$*;;
42150 esac
42151
42152 case $ac_config_headers in *"
42153 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
42154 esac
42155
42156
42157 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42158 # Files that config.status was made for.
42159 config_files="$ac_config_files"
42160 config_headers="$ac_config_headers"
42161 config_commands="$ac_config_commands"
42162
42163 _ACEOF
42164
42165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42166 ac_cs_usage="\
42167 \`$as_me' instantiates files and other configuration actions
42168 from templates according to the current configuration. Unless the files
42169 and actions are specified as TAGs, all are instantiated by default.
42170
42171 Usage: $0 [OPTION]... [TAG]...
42172
42173 -h, --help print this help, then exit
42174 -V, --version print version number and configuration settings, then exit
42175 --config print configuration, then exit
42176 -q, --quiet, --silent
42177 do not print progress messages
42178 -d, --debug don't remove temporary files
42179 --recheck update $as_me by reconfiguring in the same conditions
42180 --file=FILE[:TEMPLATE]
42181 instantiate the configuration file FILE
42182 --header=FILE[:TEMPLATE]
42183 instantiate the configuration header FILE
42184
42185 Configuration files:
42186 $config_files
42187
42188 Configuration headers:
42189 $config_headers
42190
42191 Configuration commands:
42192 $config_commands
42193
42194 Report bugs to <wx-dev@lists.wxwidgets.org>."
42195
42196 _ACEOF
42197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42198 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
42199 ac_cs_version="\\
42200 wxWidgets config.status 2.9.5
42201 configured by $0, generated by GNU Autoconf 2.69,
42202 with options \\"\$ac_cs_config\\"
42203
42204 Copyright (C) 2012 Free Software Foundation, Inc.
42205 This config.status script is free software; the Free Software Foundation
42206 gives unlimited permission to copy, distribute and modify it."
42207
42208 ac_pwd='$ac_pwd'
42209 srcdir='$srcdir'
42210 INSTALL='$INSTALL'
42211 test -n "\$AWK" || AWK=awk
42212 _ACEOF
42213
42214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42215 # The default lists apply if the user does not specify any file.
42216 ac_need_defaults=:
42217 while test $# != 0
42218 do
42219 case $1 in
42220 --*=?*)
42221 ac_option=`expr "X$1" : 'X\([^=]*\)='`
42222 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
42223 ac_shift=:
42224 ;;
42225 --*=)
42226 ac_option=`expr "X$1" : 'X\([^=]*\)='`
42227 ac_optarg=
42228 ac_shift=:
42229 ;;
42230 *)
42231 ac_option=$1
42232 ac_optarg=$2
42233 ac_shift=shift
42234 ;;
42235 esac
42236
42237 case $ac_option in
42238 # Handling of the options.
42239 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42240 ac_cs_recheck=: ;;
42241 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42242 $as_echo "$ac_cs_version"; exit ;;
42243 --config | --confi | --conf | --con | --co | --c )
42244 $as_echo "$ac_cs_config"; exit ;;
42245 --debug | --debu | --deb | --de | --d | -d )
42246 debug=: ;;
42247 --file | --fil | --fi | --f )
42248 $ac_shift
42249 case $ac_optarg in
42250 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42251 '') as_fn_error $? "missing file argument" ;;
42252 esac
42253 as_fn_append CONFIG_FILES " '$ac_optarg'"
42254 ac_need_defaults=false;;
42255 --header | --heade | --head | --hea )
42256 $ac_shift
42257 case $ac_optarg in
42258 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42259 esac
42260 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
42261 ac_need_defaults=false;;
42262 --he | --h)
42263 # Conflict between --help and --header
42264 as_fn_error $? "ambiguous option: \`$1'
42265 Try \`$0 --help' for more information.";;
42266 --help | --hel | -h )
42267 $as_echo "$ac_cs_usage"; exit ;;
42268 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42269 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42270 ac_cs_silent=: ;;
42271
42272 # This is an error.
42273 -*) as_fn_error $? "unrecognized option: \`$1'
42274 Try \`$0 --help' for more information." ;;
42275
42276 *) as_fn_append ac_config_targets " $1"
42277 ac_need_defaults=false ;;
42278
42279 esac
42280 shift
42281 done
42282
42283 ac_configure_extra_args=
42284
42285 if $ac_cs_silent; then
42286 exec 6>/dev/null
42287 ac_configure_extra_args="$ac_configure_extra_args --silent"
42288 fi
42289
42290 _ACEOF
42291 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42292 if \$ac_cs_recheck; then
42293 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42294 shift
42295 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42296 CONFIG_SHELL='$SHELL'
42297 export CONFIG_SHELL
42298 exec "\$@"
42299 fi
42300
42301 _ACEOF
42302 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42303 exec 5>>config.log
42304 {
42305 echo
42306 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42307 ## Running $as_me. ##
42308 _ASBOX
42309 $as_echo "$ac_log"
42310 } >&5
42311
42312 _ACEOF
42313 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42314 #
42315 # INIT-COMMANDS
42316 #
42317
42318 CPP="$CPP"
42319 infile="$srcdir/include/wx/msw/genrcdefs.h"
42320 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42321
42322
42323 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42324 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42325 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42326 LN_S="${LN_S}"
42327
42328
42329 _ACEOF
42330
42331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42332
42333 # Handling of arguments.
42334 for ac_config_target in $ac_config_targets
42335 do
42336 case $ac_config_target in
42337 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42338 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
42339 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42340 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42341 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42342 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
42343 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42344 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
42345 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
42346
42347 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42348 esac
42349 done
42350
42351
42352 # If the user did not use the arguments to specify the items to instantiate,
42353 # then the envvar interface is used. Set only those that are not.
42354 # We use the long form for the default assignment because of an extremely
42355 # bizarre bug on SunOS 4.1.3.
42356 if $ac_need_defaults; then
42357 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42358 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42359 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42360 fi
42361
42362 # Have a temporary directory for convenience. Make it in the build tree
42363 # simply because there is no reason against having it here, and in addition,
42364 # creating and moving files from /tmp can sometimes cause problems.
42365 # Hook for its removal unless debugging.
42366 # Note that there is a small window in which the directory will not be cleaned:
42367 # after its creation but before its name has been assigned to `$tmp'.
42368 $debug ||
42369 {
42370 tmp= ac_tmp=
42371 trap 'exit_status=$?
42372 : "${ac_tmp:=$tmp}"
42373 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42374 ' 0
42375 trap 'as_fn_exit 1' 1 2 13 15
42376 }
42377 # Create a (secure) tmp directory for tmp files.
42378
42379 {
42380 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42381 test -d "$tmp"
42382 } ||
42383 {
42384 tmp=./conf$$-$RANDOM
42385 (umask 077 && mkdir "$tmp")
42386 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
42387 ac_tmp=$tmp
42388
42389 # Set up the scripts for CONFIG_FILES section.
42390 # No need to generate them if there are no CONFIG_FILES.
42391 # This happens for instance with `./config.status config.h'.
42392 if test -n "$CONFIG_FILES"; then
42393
42394
42395 ac_cr=`echo X | tr X '\015'`
42396 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42397 # But we know of no other shell where ac_cr would be empty at this
42398 # point, so we can use a bashism as a fallback.
42399 if test "x$ac_cr" = x; then
42400 eval ac_cr=\$\'\\r\'
42401 fi
42402 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42403 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42404 ac_cs_awk_cr='\\r'
42405 else
42406 ac_cs_awk_cr=$ac_cr
42407 fi
42408
42409 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42410 _ACEOF
42411
42412
42413 {
42414 echo "cat >conf$$subs.awk <<_ACEOF" &&
42415 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42416 echo "_ACEOF"
42417 } >conf$$subs.sh ||
42418 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42419 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42420 ac_delim='%!_!# '
42421 for ac_last_try in false false false false false :; do
42422 . ./conf$$subs.sh ||
42423 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42424
42425 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
42426 if test $ac_delim_n = $ac_delim_num; then
42427 break
42428 elif $ac_last_try; then
42429 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42430 else
42431 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42432 fi
42433 done
42434 rm -f conf$$subs.sh
42435
42436 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42437 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
42438 _ACEOF
42439 sed -n '
42440 h
42441 s/^/S["/; s/!.*/"]=/
42442 p
42443 g
42444 s/^[^!]*!//
42445 :repl
42446 t repl
42447 s/'"$ac_delim"'$//
42448 t delim
42449 :nl
42450 h
42451 s/\(.\{148\}\)..*/\1/
42452 t more1
42453 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
42454 p
42455 n
42456 b repl
42457 :more1
42458 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42459 p
42460 g
42461 s/.\{148\}//
42462 t nl
42463 :delim
42464 h
42465 s/\(.\{148\}\)..*/\1/
42466 t more2
42467 s/["\\]/\\&/g; s/^/"/; s/$/"/
42468 p
42469 b
42470 :more2
42471 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42472 p
42473 g
42474 s/.\{148\}//
42475 t delim
42476 ' <conf$$subs.awk | sed '
42477 /^[^""]/{
42478 N
42479 s/\n//
42480 }
42481 ' >>$CONFIG_STATUS || ac_write_fail=1
42482 rm -f conf$$subs.awk
42483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42484 _ACAWK
42485 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
42486 for (key in S) S_is_set[key] = 1
42487 FS = "\a"
42488
42489 }
42490 {
42491 line = $ 0
42492 nfields = split(line, field, "@")
42493 substed = 0
42494 len = length(field[1])
42495 for (i = 2; i < nfields; i++) {
42496 key = field[i]
42497 keylen = length(key)
42498 if (S_is_set[key]) {
42499 value = S[key]
42500 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42501 len += length(value) + length(field[++i])
42502 substed = 1
42503 } else
42504 len += 1 + keylen
42505 }
42506
42507 print line
42508 }
42509
42510 _ACAWK
42511 _ACEOF
42512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42513 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42514 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
42515 else
42516 cat
42517 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
42518 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
42519 _ACEOF
42520
42521 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42522 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
42523 # trailing colons and then remove the whole line if VPATH becomes empty
42524 # (actually we leave an empty line to preserve line numbers).
42525 if test "x$srcdir" = x.; then
42526 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
42527 h
42528 s///
42529 s/^/:/
42530 s/[ ]*$/:/
42531 s/:\$(srcdir):/:/g
42532 s/:\${srcdir}:/:/g
42533 s/:@srcdir@:/:/g
42534 s/^:*//
42535 s/:*$//
42536 x
42537 s/\(=[ ]*\).*/\1/
42538 G
42539 s/\n//
42540 s/^[^=]*=[ ]*$//
42541 }'
42542 fi
42543
42544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42545 fi # test -n "$CONFIG_FILES"
42546
42547 # Set up the scripts for CONFIG_HEADERS section.
42548 # No need to generate them if there are no CONFIG_HEADERS.
42549 # This happens for instance with `./config.status Makefile'.
42550 if test -n "$CONFIG_HEADERS"; then
42551 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
42552 BEGIN {
42553 _ACEOF
42554
42555 # Transform confdefs.h into an awk script `defines.awk', embedded as
42556 # here-document in config.status, that substitutes the proper values into
42557 # config.h.in to produce config.h.
42558
42559 # Create a delimiter string that does not exist in confdefs.h, to ease
42560 # handling of long lines.
42561 ac_delim='%!_!# '
42562 for ac_last_try in false false :; do
42563 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
42564 if test -z "$ac_tt"; then
42565 break
42566 elif $ac_last_try; then
42567 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
42568 else
42569 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42570 fi
42571 done
42572
42573 # For the awk script, D is an array of macro values keyed by name,
42574 # likewise P contains macro parameters if any. Preserve backslash
42575 # newline sequences.
42576
42577 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42578 sed -n '
42579 s/.\{148\}/&'"$ac_delim"'/g
42580 t rset
42581 :rset
42582 s/^[ ]*#[ ]*define[ ][ ]*/ /
42583 t def
42584 d
42585 :def
42586 s/\\$//
42587 t bsnl
42588 s/["\\]/\\&/g
42589 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42590 D["\1"]=" \3"/p
42591 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
42592 d
42593 :bsnl
42594 s/["\\]/\\&/g
42595 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42596 D["\1"]=" \3\\\\\\n"\\/p
42597 t cont
42598 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
42599 t cont
42600 d
42601 :cont
42602 n
42603 s/.\{148\}/&'"$ac_delim"'/g
42604 t clear
42605 :clear
42606 s/\\$//
42607 t bsnlc
42608 s/["\\]/\\&/g; s/^/"/; s/$/"/p
42609 d
42610 :bsnlc
42611 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
42612 b cont
42613 ' <confdefs.h | sed '
42614 s/'"$ac_delim"'/"\\\
42615 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42616
42617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42618 for (key in D) D_is_set[key] = 1
42619 FS = "\a"
42620 }
42621 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42622 line = \$ 0
42623 split(line, arg, " ")
42624 if (arg[1] == "#") {
42625 defundef = arg[2]
42626 mac1 = arg[3]
42627 } else {
42628 defundef = substr(arg[1], 2)
42629 mac1 = arg[2]
42630 }
42631 split(mac1, mac2, "(") #)
42632 macro = mac2[1]
42633 prefix = substr(line, 1, index(line, defundef) - 1)
42634 if (D_is_set[macro]) {
42635 # Preserve the white space surrounding the "#".
42636 print prefix "define", macro P[macro] D[macro]
42637 next
42638 } else {
42639 # Replace #undef with comments. This is necessary, for example,
42640 # in the case of _POSIX_SOURCE, which is predefined and required
42641 # on some systems where configure will not decide to define it.
42642 if (defundef == "undef") {
42643 print "/*", prefix defundef, macro, "*/"
42644 next
42645 }
42646 }
42647 }
42648 { print }
42649 _ACAWK
42650 _ACEOF
42651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42652 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
42653 fi # test -n "$CONFIG_HEADERS"
42654
42655
42656 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42657 shift
42658 for ac_tag
42659 do
42660 case $ac_tag in
42661 :[FHLC]) ac_mode=$ac_tag; continue;;
42662 esac
42663 case $ac_mode$ac_tag in
42664 :[FHL]*:*);;
42665 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
42666 :[FH]-) ac_tag=-:-;;
42667 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
42668 esac
42669 ac_save_IFS=$IFS
42670 IFS=:
42671 set x $ac_tag
42672 IFS=$ac_save_IFS
42673 shift
42674 ac_file=$1
42675 shift
42676
42677 case $ac_mode in
42678 :L) ac_source=$1;;
42679 :[FH])
42680 ac_file_inputs=
42681 for ac_f
42682 do
42683 case $ac_f in
42684 -) ac_f="$ac_tmp/stdin";;
42685 *) # Look for the file first in the build tree, then in the source tree
42686 # (if the path is not absolute). The absolute path cannot be DOS-style,
42687 # because $ac_f cannot contain `:'.
42688 test -f "$ac_f" ||
42689 case $ac_f in
42690 [\\/$]*) false;;
42691 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
42692 esac ||
42693 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42694 esac
42695 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42696 as_fn_append ac_file_inputs " '$ac_f'"
42697 done
42698
42699 # Let's still pretend it is `configure' which instantiates (i.e., don't
42700 # use $as_me), people would be surprised to read:
42701 # /* config.h. Generated by config.status. */
42702 configure_input='Generated from '`
42703 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42704 `' by configure.'
42705 if test x"$ac_file" != x-; then
42706 configure_input="$ac_file. $configure_input"
42707 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42708 $as_echo "$as_me: creating $ac_file" >&6;}
42709 fi
42710 # Neutralize special characters interpreted by sed in replacement strings.
42711 case $configure_input in #(
42712 *\&* | *\|* | *\\* )
42713 ac_sed_conf_input=`$as_echo "$configure_input" |
42714 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42715 *) ac_sed_conf_input=$configure_input;;
42716 esac
42717
42718 case $ac_tag in
42719 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42720 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
42721 esac
42722 ;;
42723 esac
42724
42725 ac_dir=`$as_dirname -- "$ac_file" ||
42726 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42727 X"$ac_file" : 'X\(//\)[^/]' \| \
42728 X"$ac_file" : 'X\(//\)$' \| \
42729 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42730 $as_echo X"$ac_file" |
42731 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42732 s//\1/
42733 q
42734 }
42735 /^X\(\/\/\)[^/].*/{
42736 s//\1/
42737 q
42738 }
42739 /^X\(\/\/\)$/{
42740 s//\1/
42741 q
42742 }
42743 /^X\(\/\).*/{
42744 s//\1/
42745 q
42746 }
42747 s/.*/./; q'`
42748 as_dir="$ac_dir"; as_fn_mkdir_p
42749 ac_builddir=.
42750
42751 case "$ac_dir" in
42752 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42753 *)
42754 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42755 # A ".." for each directory in $ac_dir_suffix.
42756 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42757 case $ac_top_builddir_sub in
42758 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42759 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42760 esac ;;
42761 esac
42762 ac_abs_top_builddir=$ac_pwd
42763 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42764 # for backward compatibility:
42765 ac_top_builddir=$ac_top_build_prefix
42766
42767 case $srcdir in
42768 .) # We are building in place.
42769 ac_srcdir=.
42770 ac_top_srcdir=$ac_top_builddir_sub
42771 ac_abs_top_srcdir=$ac_pwd ;;
42772 [\\/]* | ?:[\\/]* ) # Absolute name.
42773 ac_srcdir=$srcdir$ac_dir_suffix;
42774 ac_top_srcdir=$srcdir
42775 ac_abs_top_srcdir=$srcdir ;;
42776 *) # Relative name.
42777 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42778 ac_top_srcdir=$ac_top_build_prefix$srcdir
42779 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42780 esac
42781 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42782
42783
42784 case $ac_mode in
42785 :F)
42786 #
42787 # CONFIG_FILE
42788 #
42789
42790 case $INSTALL in
42791 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42792 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
42793 esac
42794 _ACEOF
42795
42796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42797 # If the template does not know about datarootdir, expand it.
42798 # FIXME: This hack should be removed a few years after 2.60.
42799 ac_datarootdir_hack=; ac_datarootdir_seen=
42800 ac_sed_dataroot='
42801 /datarootdir/ {
42802 p
42803 q
42804 }
42805 /@datadir@/p
42806 /@docdir@/p
42807 /@infodir@/p
42808 /@localedir@/p
42809 /@mandir@/p'
42810 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42811 *datarootdir*) ac_datarootdir_seen=yes;;
42812 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
42813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42814 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42815 _ACEOF
42816 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42817 ac_datarootdir_hack='
42818 s&@datadir@&$datadir&g
42819 s&@docdir@&$docdir&g
42820 s&@infodir@&$infodir&g
42821 s&@localedir@&$localedir&g
42822 s&@mandir@&$mandir&g
42823 s&\\\${datarootdir}&$datarootdir&g' ;;
42824 esac
42825 _ACEOF
42826
42827 # Neutralize VPATH when `$srcdir' = `.'.
42828 # Shell code in configure.ac might set extrasub.
42829 # FIXME: do we really want to maintain this feature?
42830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42831 ac_sed_extra="$ac_vpsub
42832 $extrasub
42833 _ACEOF
42834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42835 :t
42836 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42837 s|@configure_input@|$ac_sed_conf_input|;t t
42838 s&@top_builddir@&$ac_top_builddir_sub&;t t
42839 s&@top_build_prefix@&$ac_top_build_prefix&;t t
42840 s&@srcdir@&$ac_srcdir&;t t
42841 s&@abs_srcdir@&$ac_abs_srcdir&;t t
42842 s&@top_srcdir@&$ac_top_srcdir&;t t
42843 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42844 s&@builddir@&$ac_builddir&;t t
42845 s&@abs_builddir@&$ac_abs_builddir&;t t
42846 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42847 s&@INSTALL@&$ac_INSTALL&;t t
42848 $ac_datarootdir_hack
42849 "
42850 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
42851 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42852
42853 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42854 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
42855 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
42856 "$ac_tmp/out"`; test -z "$ac_out"; } &&
42857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42858 which seems to be undefined. Please make sure it is defined" >&5
42859 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42860 which seems to be undefined. Please make sure it is defined" >&2;}
42861
42862 rm -f "$ac_tmp/stdin"
42863 case $ac_file in
42864 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42865 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42866 esac \
42867 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42868 ;;
42869 :H)
42870 #
42871 # CONFIG_HEADER
42872 #
42873 if test x"$ac_file" != x-; then
42874 {
42875 $as_echo "/* $configure_input */" \
42876 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42877 } >"$ac_tmp/config.h" \
42878 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42879 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42880 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42881 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42882 else
42883 rm -f "$ac_file"
42884 mv "$ac_tmp/config.h" "$ac_file" \
42885 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42886 fi
42887 else
42888 $as_echo "/* $configure_input */" \
42889 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42890 || as_fn_error $? "could not create -" "$LINENO" 5
42891 fi
42892 ;;
42893
42894 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42895 $as_echo "$as_me: executing $ac_file commands" >&6;}
42896 ;;
42897 esac
42898
42899
42900 case $ac_file$ac_mode in
42901 "rcdefs.h":C)
42902 mkdir -p $outdir &&
42903 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42904 ;;
42905 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42906 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42907 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
42908 "wx-config":C) rm -f wx-config
42909 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42910 ;;
42911
42912 esac
42913 done # for ac_tag
42914
42915
42916 as_fn_exit 0
42917 _ACEOF
42918 ac_clean_files=$ac_clean_files_save
42919
42920 test $ac_write_fail = 0 ||
42921 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
42922
42923
42924 # configure is writing to config.log, and then calls config.status.
42925 # config.status does its own redirection, appending to config.log.
42926 # Unfortunately, on DOS this fails, as config.log is still kept open
42927 # by configure, so config.status won't be able to write to it; its
42928 # output is simply discarded. So we exec the FD to /dev/null,
42929 # effectively closing config.log, so it can be properly (re)opened and
42930 # appended to by config.status. When coming back to configure, we
42931 # need to make the FD available again.
42932 if test "$no_create" != yes; then
42933 ac_cs_success=:
42934 ac_config_status_args=
42935 test "$silent" = yes &&
42936 ac_config_status_args="$ac_config_status_args --quiet"
42937 exec 5>/dev/null
42938 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42939 exec 5>>config.log
42940 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42941 # would make configure fail if this is the last instruction.
42942 $ac_cs_success || as_fn_exit 1
42943 fi
42944
42945 #
42946 # CONFIG_SUBDIRS section.
42947 #
42948 if test "$no_recursion" != yes; then
42949
42950 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42951 # so they do not pile up.
42952 ac_sub_configure_args=
42953 ac_prev=
42954 eval "set x $ac_configure_args"
42955 shift
42956 for ac_arg
42957 do
42958 if test -n "$ac_prev"; then
42959 ac_prev=
42960 continue
42961 fi
42962 case $ac_arg in
42963 -cache-file | --cache-file | --cache-fil | --cache-fi \
42964 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42965 ac_prev=cache_file ;;
42966 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42967 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42968 | --c=*)
42969 ;;
42970 --config-cache | -C)
42971 ;;
42972 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42973 ac_prev=srcdir ;;
42974 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42975 ;;
42976 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42977 ac_prev=prefix ;;
42978 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42979 ;;
42980 --disable-option-checking)
42981 ;;
42982 *)
42983 case $ac_arg in
42984 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42985 esac
42986 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
42987 esac
42988 done
42989
42990 # Always prepend --prefix to ensure using the same prefix
42991 # in subdir configurations.
42992 ac_arg="--prefix=$prefix"
42993 case $ac_arg in
42994 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42995 esac
42996 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
42997
42998 # Pass --silent
42999 if test "$silent" = yes; then
43000 ac_sub_configure_args="--silent $ac_sub_configure_args"
43001 fi
43002
43003 # Always prepend --disable-option-checking to silence warnings, since
43004 # different subdirs can have different --enable and --with options.
43005 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
43006
43007 ac_popdir=`pwd`
43008 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
43009
43010 # Do not complain, so a configure script can configure whichever
43011 # parts of a large source tree are present.
43012 test -d "$srcdir/$ac_dir" || continue
43013
43014 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
43015 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
43016 $as_echo "$ac_msg" >&6
43017 as_dir="$ac_dir"; as_fn_mkdir_p
43018 ac_builddir=.
43019
43020 case "$ac_dir" in
43021 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
43022 *)
43023 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
43024 # A ".." for each directory in $ac_dir_suffix.
43025 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
43026 case $ac_top_builddir_sub in
43027 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
43028 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
43029 esac ;;
43030 esac
43031 ac_abs_top_builddir=$ac_pwd
43032 ac_abs_builddir=$ac_pwd$ac_dir_suffix
43033 # for backward compatibility:
43034 ac_top_builddir=$ac_top_build_prefix
43035
43036 case $srcdir in
43037 .) # We are building in place.
43038 ac_srcdir=.
43039 ac_top_srcdir=$ac_top_builddir_sub
43040 ac_abs_top_srcdir=$ac_pwd ;;
43041 [\\/]* | ?:[\\/]* ) # Absolute name.
43042 ac_srcdir=$srcdir$ac_dir_suffix;
43043 ac_top_srcdir=$srcdir
43044 ac_abs_top_srcdir=$srcdir ;;
43045 *) # Relative name.
43046 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
43047 ac_top_srcdir=$ac_top_build_prefix$srcdir
43048 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
43049 esac
43050 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
43051
43052
43053 cd "$ac_dir"
43054
43055 # Check for guested configure; otherwise get Cygnus style configure.
43056 if test -f "$ac_srcdir/configure.gnu"; then
43057 ac_sub_configure=$ac_srcdir/configure.gnu
43058 elif test -f "$ac_srcdir/configure"; then
43059 ac_sub_configure=$ac_srcdir/configure
43060 elif test -f "$ac_srcdir/configure.in"; then
43061 # This should be Cygnus configure.
43062 ac_sub_configure=$ac_aux_dir/configure
43063 else
43064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
43065 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43066 ac_sub_configure=
43067 fi
43068
43069 # The recursion is here.
43070 if test -n "$ac_sub_configure"; then
43071 # Make the cache file name correct relative to the subdirectory.
43072 case $cache_file in
43073 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
43074 *) # Relative name.
43075 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
43076 esac
43077
43078 { $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
43079 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43080 # The eval makes quoting arguments work.
43081 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
43082 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
43083 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
43084 fi
43085
43086 cd "$ac_popdir"
43087 done
43088 fi
43089 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
43090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
43091 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
43092 fi
43093
43094
43095 echo
43096 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43097 echo ""
43098 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
43099 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43100 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43101 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
43102 if test "$wxUSE_UNICODE" = "yes"; then
43103 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
43104 echo " (using UTF-8)"
43105 else
43106 echo " (using wchar_t)"
43107 fi
43108 else
43109 echo
43110 fi
43111
43112 echo " What level of wxWidgets compatibility should be enabled?"
43113 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
43114 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
43115
43116 echo " Which libraries should wxWidgets use?"
43117 echo " STL ${wxUSE_STL}"
43118 echo " jpeg ${wxUSE_LIBJPEG-none}"
43119 echo " png ${wxUSE_LIBPNG-none}"
43120 echo " regex ${wxUSE_REGEX}"
43121 echo " tiff ${wxUSE_LIBTIFF-none}"
43122 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43123 echo " xpm ${wxUSE_LIBXPM-none}"
43124 fi
43125 echo " zlib ${wxUSE_ZLIB}"
43126 echo " expat ${wxUSE_EXPAT}"
43127 echo " libmspack ${wxUSE_LIBMSPACK}"
43128 echo " sdl ${wxUSE_LIBSDL}"
43129
43130 echo ""
43131